Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1. 更新 0.3.10 版本的 changelog;2. 修复路径名错误导致打包分析失败的问题。 #37

Merged
merged 3 commits into from
Mar 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,35 @@
- 主版本号:含有破坏性更新和新特性,不在发布周期内。

---

## 0.3.10
`2020-3-15`
- Affix
- 🆕 新增 target 属性:设置 Affix 需要监听其滚动事件的元素。[#27](https://github.com/ecomfe/santd/pull/27)
- AutoComplete
- 🆕 新增 backfill 属性:使用键盘选择选项的时候把选中项回填到输入框中。[#24](https://github.com/ecomfe/santd/pull/24)
- Menu
- 🆕 新增 overflowedIndicator 属性:自定义 Menu 折叠时的图标。[#30](https://github.com/ecomfe/santd/pull/30)
- 🆕 新增菜单项过多而溢出时会自动折叠的功能。[#29](https://github.com/ecomfe/santd/pull/29)
- 💄 子菜单统一为垂直菜单。[#29](https://github.com/ecomfe/santd/pull/29)
- 🐞 修复展开收起箭头某些情况下会遮盖文字的问题。[#29](https://github.com/ecomfe/santd/pull/29)
- Select
- 🌟 默认根据 value 筛选改为默认同时根据 value 和内嵌内容筛选。[34](https://github.com/ecomfe/santd/pull/34)
- Space
- 🆕 新增 Space 组件:设置组件之间的间距。[#25](https://github.com/ecomfe/santd/pull/25)
- Tabs
- 🆕 新增 forceRender 属性:被隐藏时是否渲染 DOM 结构。[#28](https://github.com/ecomfe/santd/pull/28)
- 🆕 Tabpane 的内容支持 slot。[#32](https://github.com/ecomfe/santd/pull/32)
- Tree
- 🆕 新增 height 和 virtual 属性:支持虚拟滚动。[#35](https://github.com/ecomfe/santd/pull/35)
- 🐞 修复子节点是否可选的判断逻辑。[#35](https://github.com/ecomfe/santd/pull/35)
- TreeSelect
- 🆕 新增 showSearch 属性:支持搜索框。[#33](https://github.com/ecomfe/santd/pull/33)
- 🆕 新增 searchValue 属性:手动控制搜索框的值。[#33](https://github.com/ecomfe/santd/pull/33)
- 其它
- 🌟 使用内部实现用到 s-show 的组件要求 San 版本至少 3.9.3。[#29](https://github.com/ecomfe/santd/pull/29)
- 🛠 组件文件的命名统一为帕斯卡命名法。[#37](https://github.com/ecomfe/santd/pull/37)

## 0.2.9
`2020-10-10`
- 🐞 新增 Avatar支持gap设置字符距离左右两侧边界单位像素。
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/anchor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* @author [email protected]
**/

import Anchor from './anchor';
import Link from './link';
import Anchor from './Anchor';
import Link from './Link';

Anchor.Link = Link;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/breadcrumb/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import BreadcrumbItem from './item';
import BreadcrumbItem from './Item';
import './style/index';
const prefixCls = classCreator('breadcrumb')();

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @file san-button按钮
* @author [email protected]
*/
import Button from './button';
import ButtonGroup from './button-group';
import Button from './Button';
import ButtonGroup from './ButtonGroup';

Button.Group = ButtonGroup;

Expand Down
2 changes: 1 addition & 1 deletion src/card/card.js → src/card/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import './style/index.less';
import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import LoadingBlock from './loadingBlock';
import LoadingBlock from './LoadingBlock';
import Tabs from '../tabs';

const prefix = classCreator('card')();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* @author chenkai13 <[email protected]>
*/

import Card from './card';
import Meta from './meta';
import Grid from './grid';
import Card from './Card';
import Meta from './Meta';
import Grid from './Grid';

Card.Meta = Meta;
Card.Grid = Grid;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/carousel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import './style/index.less';
import san from 'san';
import {classCreator} from '../core/util';
import Track from './track';
import Track from './Track';

const prefixCls = classCreator('carousel')();

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/checkbox/group.js → src/checkbox/Group.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import Checkbox from './checkbox';
import Checkbox from './Checkbox';

const prefixCls = classCreator('checkbox')();

Expand Down
4 changes: 2 additions & 2 deletions src/checkbox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* @author jinzhan <[email protected]>
*/

import Checkbox from './checkbox';
import Group from './group';
import Checkbox from './Checkbox';
import Group from './Group';

Checkbox.Group = Group;

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/collapse/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* @author chenkai13 <[email protected]>
*/

import Collapse from './collapse';
import Panel from './panel';
import Collapse from './Collapse';
import Panel from './Panel';
import './style/index.less';

Collapse.Panel = Panel;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions src/date-picker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
*/

import './style/index';
import Calendar from '../calendar/src/calendar';
import MonthCalendar from '../calendar/src/monthCalendar';
import RangePicker from './rangePicker';
import createPicker from './createPicker';
import Calendar from '../calendar/src/Calendar';
import MonthCalendar from '../calendar/src/MonthCalendar';
import RangePicker from './RangePicker';
import createPicker from './CreatePicker';
import wrapPicker from './wrapPicker';
import WeekPicker from './weekPicker';
import WeekPicker from './WeekPicker';

const DatePicker = wrapPicker(createPicker(Calendar), 'date');

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author [email protected]
*/
import san, {DataTypes} from 'san';
import Dropdown from './dropdown';
import Dropdown from './Dropdown';
import {classCreator} from '../core/util';
import Icon from '../icon';
import Button from '../button';
Expand Down
4 changes: 2 additions & 2 deletions src/dropdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @file Santd dropdown index file
*/

import Dropdown from './dropdown';
import DropdownButton from './dropdownButton';
import Dropdown from './Dropdown';
import DropdownButton from './DropdownButton';

Dropdown.Button = DropdownButton;
export default Dropdown;
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* @author fuqiangqiang <[email protected]>
*/

import Form from './form';
import FormItem from './formItem';
import Form from './Form';
import FormItem from './FormItem';

Form.FormItem = FormItem;

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/icon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import san, {DataTypes} from 'san';
import './style/index.less';
import * as allIcons from '@ant-design/icons-svg';
import {classCreator} from '../core/util';
import sanicon from './icon';
import iconFont from './iconfont';
import sanicon from './Icon';
import iconFont from './Iconfont';
import {svgBaseProps, withThemeSuffix, removeTypeTheme, alias} from './utils';
import {getTwoToneColor, setTwoToneColor} from './twoTonePrimaryColor';

Expand Down
2 changes: 1 addition & 1 deletion src/icon/twoTonePrimaryColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author [email protected]
**/

import icon from './icon';
import icon from './Icon';

export function setTwoToneColor(primaryColor) {
return icon.setTwoToneColors({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/input-number/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import inputHandle from './inputHandler';
import inputHandle from './InputHandler';
import './style/index.less';
const prefixCls = classCreator('input-number')();

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/input/input.js → src/input/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import './style/index.less';
import BaseInput from './base';
import BaseInput from './Base';
import Icon from '../icon';
const prefixCls = classCreator('input')();

Expand Down
2 changes: 1 addition & 1 deletion src/input/input-password.js → src/input/InputPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import BaseInput from './base';
import BaseInput from './Base';
import Icon from '../icon';
const prefixCls = classCreator('input')();

Expand Down
2 changes: 1 addition & 1 deletion src/input/input-search.js → src/input/InputSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import Icon from '../icon';
import Button from '../button';
import BaseInput from './base';
import BaseInput from './Base';
import './style/index.less';
const prefixCls = classCreator('input')();

Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions src/input/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* @file input 入口文件
*/

import Input from './input';
import Search from './input-search';
import TextArea from './textarea';
import Group from './group';
import Password from './input-password';
import Input from './Input';
import Search from './InputSearch';
import TextArea from './Textarea';
import Group from './Group';
import Password from './InputPassword';

Input.Search = Search;
Input.TextArea = TextArea;
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @file Layout 入口文件
*/

import Layout from './layout';
import Sider from './sider';
import Layout from './Layout';
import Sider from './Sider';

Layout.Sider = Sider;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {classCreator} from '../core/util';
import Spin from '../spin';
import Pagination from '../pagination';
import Grid from '../grid';
import Item from './item';
import Item from './Item';

import './style/index';

Expand Down
4 changes: 2 additions & 2 deletions src/mention/mention.js → src/mention/Mention.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import './style/index.less';
import san, {DataTypes} from 'san';
import PlaceHolder from './placeHolder';
import Suggestions from './suggestions';
import PlaceHolder from './PlaceHolder';
import Suggestions from './Suggestions';
import {getRegExp, insertString, setCursorPosition, getSearchWordPos} from './utils/index';
import {classCreator} from '../core/util';

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/mention/suggestions.js → src/mention/Suggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import './style/index.less';
import san, {DataTypes} from 'san';
import Icon from '../icon';
import Nav from './nav';
import Nav from './Nav';
import {classCreator} from '../core/util';

const prefixCls = classCreator('suggestions')();
Expand Down
4 changes: 2 additions & 2 deletions src/mention/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file Santd metion component file
**/
import Mention from './mention';
import Nav from './nav';
import Mention from './Mention';
import Nav from './Nav';

Mention.Nav = Nav;
export default Mention;
File renamed without changes.
2 changes: 1 addition & 1 deletion src/menu/menu.js → src/menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import './style/index.less';
import {getOffset, on, off} from '../core/util/dom';
import SubMenu from './subMenu';
import SubMenu from './SubMenu';
import Icon from '../icon';
import {MENU_FOLDED_ITEM_ID} from '../core/constants';
import throttle from 'lodash/throttle';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions src/menu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* @file menu入口文件
* @author [email protected]
*/
import Menu from './menu';
import MenuSub from './subMenu';
import MenuItem from './menuItem';
import MenuItemGroup from './menuItemGroup';
import MenuDivider from './divider';
import Menu from './Menu';
import MenuSub from './SubMenu';
import MenuItem from './MenuItem';
import MenuItemGroup from './MenuItemGroup';
import MenuDivider from './Divider';

Menu.Sub = MenuSub;
Menu.Item = MenuItem;
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pagination/pagination.js → src/pagination/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import san, {DataTypes} from 'san';
import Input from '../input';
import KEYCODE from '../core/util/keyCode';
import Pager from './pager';
import Options from './options';
import Pager from './Pager';
import Options from './Options';

const prevTemplate = `
<li
Expand Down
2 changes: 1 addition & 1 deletion src/pagination/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './style/index';
import san from 'san';
import Icon from '../icon';
import {classCreator} from '../core/util';
import pagination from './pagination';
import pagination from './Pagination';
import localeReceiver from '../localeprovider/receiver';

const prefixCls = classCreator('pagination')();
Expand Down
2 changes: 1 addition & 1 deletion src/radio/group.js → src/radio/Group.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import san, {DataTypes} from 'san';
import {classCreator} from '../core/util';
import Radio from './radio';
import Radio from './Radio';

const prefixCls = classCreator('radio')();

Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/radio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* @author chenkai13 <[email protected]>
*/

import Radio from './radio';
import Group from './group';
import Button from './radioButton';
import Radio from './Radio';
import Group from './Group';
import Button from './RadioButton';

Radio.Group = Group;
Radio.Button = Button;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/rate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {classCreator} from '../core/util';
import {getOffset} from '../core/util/dom';
import icon from '../icon';
import tooltip from '../tooltip';
import star from './star';
import star from './Star';

const prefixCls = classCreator('rate')();

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/result/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import './style/index.less';
import san, {DataTypes} from 'san';
import Icon from '../icon';
import {classCreator} from '../core/util';
import noFound from './noFound';
import serverError from './serverError';
import unauthorized from './unauthorized';
import noFound from './NoFound';
import serverError from './ServerError';
import unauthorized from './Unauthorized';
const prefixCls = classCreator('result')();

export const IconMap = {
Expand Down
File renamed without changes.
Loading