UNPKG

rsuite

Version:

A suite of react components

287 lines (246 loc) 16.9 kB
# 4.1.0 - **Feature**: Add support for `<Carousel>`. ([#716]) - **Feature**: Added Right-to-left supported. ([#715]) - **Feature**: Add support for `renderItem` on the navigation component. ([#713]) - **Feature**: Added for `fileListVisible` on `<Uploader>`. ([#709]) - **Feature**: Added `shaded` props for `<Panel>`. ([#677]) - **Feature**: Added support for `<Affix>` . ([#701]) - **Feature**: Supported show mode and customizing time for `<Timeline>`. ([#666]) - **Bugfix**: Fixed sideEffects configuration. ([#706]) - **Bugfix**: Fixed when setting `sticky` and all options were selected to not render the menu. ([#710]) --- - **Feature**: 支持 `<Carousel>` 组件。 ([#716]) - **Feature**: 支持 Right-to-left。 ([#715]) - **Feature**: 导航相关组件添加 `renderItem` 属性。 ([#713]) - **Feature**: `<Uploader>` 组件上,添加支持 `fileListVisible` 属性,默认为 `true`, 设置 `false` 则不显示文件列表。 ([#709]) - **Feature**: `<Panel>`组件上,添加支持 `shaded`属性,用于显示阴影。 ([#677]) - **Feature**: 支持 `<Affix>` 组件。 ([#701]) - **Feature**: `<Timeline>` 组件添加了更多显示模式。 ([#666]) - **Bugfix**: 修复 sideEffects 配置错误导致样式文件丢失的问题。 ([#706]) - **Bugfix**: 修复了当设置`sticky`并选择了所有选项的时候,不渲染菜单的问题。([#710]) [#716]: https://github.com/rsuite/rsuite/pull/716 [#715]: https://github.com/rsuite/rsuite/pull/715 [#713]: https://github.com/rsuite/rsuite/pull/713 [#710]: https://github.com/rsuite/rsuite/pull/710 [#709]: https://github.com/rsuite/rsuite/pull/709 [#706]: https://github.com/rsuite/rsuite/pull/706 [#701]: https://github.com/rsuite/rsuite/pull/701 [#677]: https://github.com/rsuite/rsuite/pull/677 [#666]: https://github.com/rsuite/rsuite/pull/666 # 4.0.5 > October 31, 2019 - **Improve**: Use context to refactor the logic of partial arguments. ([#695]) - **Improve**: Adjust the implementation logic of `preventOverflow` in all Picker. ([rsuite-utils#14]) - **Bugfix**: Fix `<Alert>` font color problem under dark theme. ([#697]) - **Bugfix**: Fix the problem that can't extends in the ie10 browser. ([#694]) --- - **Improve**: 使用 context API 重构部分子父组件传参的逻辑。 ([#695]) - **Improve**: 调整了所有 `Picker`组件的 `preventOverflow` 属性的实现方式。 ([rsuite-utils#14]) - **Bugfix**: 修复 `<Alert>` 组件在 dark 主题下字体颜色问题。 ([#697]) - **Bugfix**: 修复 ie10 兼容性问题,context API 在高价函数中未继承。 ([#694]) [#697]: https://github.com/rsuite/rsuite/pull/697 [#695]: https://github.com/rsuite/rsuite/pull/695 [#694]: https://github.com/rsuite/rsuite/pull/694 [rsuite-utils#14]: https://github.com/rsuite/rsuite-utils/pull/14 # 4.0.4 > October 17, 2019 - **Bugfix**: Fixed a problem with the `Dropdown` and `Button`, the `ButtonGroup` is vertically aligned. ([#682]) - **Bugfix**: Fixed an error when `CheckTreePicker` changed data. ([#681]) - **Bugfix**: Fixed an issue where `isOneOf` was not valid in `Schema.Types.StringType`. ([schema-typed#18]) - **Bugfix**: Fixed a misalignment of scroll position after `Table` data update. ([rsuite-table#100]) - **Bugfix**: [TS] Fixed an issue with type definition errors in `List`. ([#678]) --- - **Bugfix**: 修复了 `Dropdown`, `Button` `ButtonGroup` 垂直对齐的问题。 ([#682]) - **Bugfix**: 修复了 `CheckTreePicker` 数据改变后出现错误的问题 ([#681]) - **Bugfix**: 修复了 `Schema.Types.StringType` 中的 `isOneOf` 方法无效的问题。 ([schema-typed#18]) - **Bugfix**: 修复了 `Table` 数据更新后滚动位置出现偏移。 ([rsuite-table#100]) - **Bugfix**: [TS] 修复了 `List` 中类型定义错误的问题。 ([#678]) [#682]: https://github.com/rsuite/rsuite/pull/682 [#681]: https://github.com/rsuite/rsuite/pull/681 [#678]: https://github.com/rsuite/rsuite/pull/678 [schema-typed#18]: https://github.com/rsuite/schema-typed/pull/18 [rsuite-table#100]: https://github.com/rsuite/rsuite-table/pull/100 # 4.0.3 > October 10, 2019 - **Feature**: Added support for Korean ([#675]) - **Improve**: The corresponding format date is displayed on the calendar according to different regional languages. ([#668]) - **Bugfix**: Add the babel plugin for `lodash` and `date-fns`. ([#674]) - **Bugfix**: Change the sm breakpoint to 480px in the Grid ([#671]) - **Bugfix**: Fix the precision of floating point arithmetic in Slider. ([#660]) - **Bugfix**: Fixed an issue with type definition errors in `List`. ([#676]) --- - **Feature**: 添加对韩语/朝鲜语的支持。 ([#675]) - **Improve**: 根据不同地域语言在日历上显示对应格式日期。([#668]) - **Bugfix**: `lodash` `date-fns` 添加 babel 插件,按需加载代码。 ([#674]) - **Bugfix**: `<Grid>` 中将 `sm` 断点更改为 `480px`。 ([#671]) - **Bugfix**: 修复`<Slider>` 中浮点运算的精度问题。 ([#660]) - **Bugfix**: [TS] 修复了 `List` 中类型定义错误的问题。 ([#676]) [#676]: https://github.com/rsuite/rsuite/pull/676 [#675]: https://github.com/rsuite/rsuite/pull/675 [#674]: https://github.com/rsuite/rsuite/pull/674 [#671]: https://github.com/rsuite/rsuite/pull/671 [#668]: https://github.com/rsuite/rsuite/pull/668 [#660]: https://github.com/rsuite/rsuite/pull/660 # 4.0.2 > September 29, 2019 - **Feature**: Added language Traditional Chinese. ([#652]) - **Feature**: Fixed an issue where the CheckTreePicker and TreePicker keyboard operations were invalid. - **Bugfix**: Fixed `<Cascader>` search styles ([#651]) - **Bugfix**: Fixed uncontrolled issues with `<Cascader>` and `<MultiCascader>` ([#650]) - **Bugfix**: Fixed `<Cascader>` crash while search RegExp special_characters. ([#648]) - **Bugfix**: Fixed `<Panel>` title font size.([#644]) - **Bugfix**: Fixed item styles when set active and disable. ([#641]) - **Bugfix**: Fixed `<Sidebar>` can't collapse on Firefox browser ([#638]) - **Bugfix**: Fixed `<Tree>` rendering error on the server side.([#637]) - **Bugfix**: Fixed `<CheckTreePicker>` setting root node uncheckable error.([#637]) - **Bugfix**: Fixed IE browser compatibility issue. ([#631],[#632]) - **Bugfix**: Fixed a rendering error when the column in the `<Table>` was null. ([rsuite/rsuite-table#99]) - **Bugfix**: Fixed a problem with scrolling white screen after changing height on `<Table>`. ([rsuite/rsuite-table#97]) - **Bugfix**: [TS] Fixed type definitions for missing `Notification` and `Alert`. ([#633]) - **Bugfix**: [TS] Fixed `List` component not exported. ([#625]) --- - **Feature**: 添加组件对繁体中文的支持。 ([#652]) - **Bugfix**: 修复了 CheckTreePicker TreePicker 键盘操作无效的问题。 - **Bugfix**: 修复了 `<Cascader>` 搜索列表样式问题。 ([#651]) - **Bugfix**: 修复了 `<Cascader>` `<MultiCascader>` 不受控的问题。 ([#650]) - **Bugfix**: 修复了 `<Cascader>` 搜索正则表达元字符报错的问题。 ([#648]) - **Bugfix**: 修复了 `<Panel>` 标题字体大小与设计不符的问题。([#644]) - **Bugfix**: 修复了选项在设置 `active` 或者 `disable` 后的样式问题。 ([#641]) - **Bugfix**: 修复了 `<Sidebar>`在 Firefox 浏览器不能收缩的问题。 ([#638]) - **Bugfix**: 修复了 `<Tree>` 在服务端渲染报错的问。([#637]) - **Bugfix**: 修复了 `<CheckTreePicker>` 设置根节点不可点击后出现的渲染问题。([#637]) - **Bugfix**: 修复了 IE 浏览器兼容性问题。 ([#631],[#632]) - **Bugfix**: 修复了 `<Table>` 的列设置中存在 `null` 时候,导致的渲染出错问题。 ([rsuite/rsuite-table#99]) - **Bugfix**: 修复了 `<Table>` 在改变高度后出现白屏的问题。 ([rsuite/rsuite-table#97]) - **Bugfix**: [TS] 修复了 `Notification` `Alert` 中缺少的方法定义。 ([#633]) - **Bugfix**: [TS] 修复了 `List` 组件找不到定义。 ([#625]) [#653]: https://github.com/rsuite/rsuite/pull/653 [#652]: https://github.com/rsuite/rsuite/pull/652 [#651]: https://github.com/rsuite/rsuite/pull/651 [#650]: https://github.com/rsuite/rsuite/pull/650 [#648]: https://github.com/rsuite/rsuite/pull/648 [#644]: https://github.com/rsuite/rsuite/pull/644 [#641]: https://github.com/rsuite/rsuite/pull/641 [#638]: https://github.com/rsuite/rsuite/pull/638 [#637]: https://github.com/rsuite/rsuite/pull/637 [#633]: https://github.com/rsuite/rsuite/pull/633 [#632]: https://github.com/rsuite/rsuite/pull/632 [#631]: https://github.com/rsuite/rsuite/pull/631 [#625]: https://github.com/rsuite/rsuite/pull/625 [rsuite/rsuite-table#99]: https://github.com/rsuite/rsuite-table/pull/99 [rsuite/rsuite-table#97]: https://github.com/rsuite/rsuite-table/pull/97 # 4.0.1 > September 19, 2019 - **Feature**: Support `defaultCalendarValue` on `<DateRangePicker>` ([#610]) - **Improve**: Add ARIA for accessibility ([#612],[#613]) - **Improve**: Use grab cursors for sortable List.Item ([#617]) - **Bugfix**: Fixed ESM build error ([#611]) - **Bugfix**: Fixed component not re-rendered after `sortType` update on `<Table>`. ([rsuite/rsuite-table#96]) - **Bugfix**: Fixed the position of the scroll bar when the height of the `<Table>` changes. ([rsuite/rsuite-table#95]) - **Bugfix**: Fixed validation of merged cells for custom children in `<Table>` ([rsuite/rsuite-table#94]) - **Bugfix**: Fixed unable to find node on an unmounted component in `<Dropdown>` ([rsuite/rsuite-utils@f205799]) --- - **Feature**: `<DateRangePicker>` 支持 `defaultCalendarValue` 属性。([#610]) - **Improve**: 为可访问性添加 ARIA。 ([#612],[#613]) - **Improve**: 调整 List.Item 拖拽时候的光标为 grab。 ([#617]) - **Bugfix**: 修复 ESM 构建时候报错。 ([#611]) - **Bugfix**: 修复在 `<Table>` `sortType` 更新后没有重新渲染的组件。 ([rsuite/rsuite-table#96]) - **Bugfix**: 修复 `<Table>` 高度变化后更新滚动条位置 ([rsuite/rsuite-table#95]) - **Bugfix**: 修复 `<Table>` 中自定义 `children` 后,合并单元格的校验逻辑 ([rsuite/rsuite-table#94]) - **Bugfix**: 修复 `<Dropdown>` 中报错"无法在已卸载组件上找到节点"([rsuite/rsuite-utils@f205799]) [#617]: https://github.com/rsuite/rsuite/pull/617 [#613]: https://github.com/rsuite/rsuite/pull/613 [#612]: https://github.com/rsuite/rsuite/pull/612 [#611]: https://github.com/rsuite/rsuite/pull/611 [#610]: https://github.com/rsuite/rsuite/pull/610 [rsuite/rsuite-table#96]: https://github.com/rsuite/rsuite-table/pull/96 [rsuite/rsuite-table#95]: https://github.com/rsuite/rsuite-table/pull/95 [rsuite/rsuite-table#94]: https://github.com/rsuite/rsuite-table/pull/94 [rsuite/rsuite-utils@f205799]: https://github.com/rsuite/rsuite-utils/commit/f205799796595d78dff990b0f740c8c4a9e3d581 # 4.0.0 > September 9, 2019 - **Feature**: Add `<Placeholder>`. ([#418],[#420],[#423]) - **Feature**: Add `<List>`. ([#451]) - **Feature**: Add `<Calendar>`. ([#492]) - **Feature**: Add `<Avatar>`.([#486]) - **Feature**: Add `<Badge>`.([#484]) - **Feature**: Support `size` on all `Picker`.([#494]) - **Feature**: Support dark theme.([#544]) - **Feature**: Support for asynchronous validation in `<Form>`, based on Schema. ([#570]) - **Feature**: Support for expandItemValues on `<TreePicker>` and `<CheckTreePicker>`.([#569]) - **Feature**: Support `readOnly` prop on `<FormControl>`. ([#432]) - **Feature**: Support `plaintext` prop on `<FormControl>`. ([#448],[#449]) - **Feature**: `<Whisper>` and all `Picker` components support the `preventOverfow` property to prevent overflow. ([#443]) - **Improve**: Adjust swatch algorithm to adjust font color contrast. ([#433]) - **Improve**: Migrate from Flow to Typescript. ([#531]) - **Improve**: Support showWeekNumbers on <DatePicker> and <DateRangePicker>. ([#526] @viart) - **Breaking**: Adjust the value of `<Whisper>` with all `Picker` components `placement` properties.([#443]) - **Bugfix**: Fixed an issue where the `<Uploader>` upload file was larger than 1GB.([#536]) - **Bugfix**: Fixed compatibility issue with `<Input>` on IE browser display. ([#507]) - **Bugfix**: Fixed `<InputPicker>` on the keyboard Delete key will clear the input worthy question. ([#577]) - **Bugfix**: Fixed an issue where `<Dropdown>` set `toggleComponentClass={Button}` background style error.([#525]) - **Bugfix**: Fixed an issue where styles were missing when introduced on demand.([#567]) - **Bugfix**: Fixed an issue where `<DatePicker>` disabled day and inactive month were inconsistent.([#595]) - **Bugfix**: Fixed an issue where the scrollbar position was not updated after the `<Table>` data was updated.([#table-92]) - **Bugfix**: Fixed `<Table>` property `expandedRowKeys` The update value is not controlled. ([#table-90]) - **Bugfix**: Fixed callback `<Table>` property `onRowClick`'s callback parameter is missing `event`. ([#table-89]) - **Bugfix**: Fixed support for `focus` events by the `<Form>` component.([#566]) - **Bugfix**: Modified the default separator for `<Breadcrumb>`.([#543]) - **Bugfix**: Fixed an issue where `<Slider>` did not update the position of the handle after the change from hidden to display state.([#542]) --- - **Feature**: 支持 `<Placeholder>` 组件。 ([#418],[#420],[#423]) - **Feature**: 支持 `<List>` 组件。 ([#451]) - **Feature**: 支持 `<Calendar>` 组件。([#492]) - **Feature**: 支持 `<Avatar>` 组件。([#486]) - **Feature**: 支持 `<Badge>` 组件。([#484]) - **Feature**: `<Picker>` 组件支持 `size` 属性。([#494]) - **Feature**: 支持 dark 主题。([#544]) - **Feature**: `<Form>`组件基于 Schema 支持异步校验。([#570]) - **Feature**: `<TreePicker>` `<CheckTreePicker>` 支持 expandItemValues 属性。([#569]) - **Feature**: `<FormControl>` 组件支持 `readOnly` 属性。 ([#432]) - **Feature**: `<FormControl>` 组件支持 `plaintext` 属性。 ([#448],[#449]) - **Feature**: `<Whisper>` 组件与所有的 `Picker` 组件支持 `preventOverfow` 属性,防止溢出。 - **Improve**: 调整色板算法,调整字体颜色对比度。 ([#433]) - **Improve**: Flow 迁移到 Typescript。 ([#531]) - **Improve**: `<DatePicker>`和`<DateRangePicker>`组件支持 showWeekNumbers 属性,显示周数 。([#526] @viart) - **Breaking**: 调整 `<Whisper>` 组件与所有的 `<Picker>` 组件 `placement` 属性的值。([#443]) - **Bugfix**: 修复了 `<Uploader>` 上传文件大于 1GB 显示问题。([#536]) - **Bugfix**: 修复了 `<Input>` IE 浏览器显示上的兼容性问题。 ([#507]) - **Bugfix**: 修复了 `<InputPicker>` 在键盘 Delete 键会清除输入值得问题。([#577]) - **Bugfix**: 修复了 `<Dropdown>` 设置 `toggleComponentClass={Button}` 背景样式错误的问题。([#525]) - **Bugfix**: 修复了按需引入时候样式缺失的问题。 ([#567]) - **Bugfix**: 修复了 `<DatePicker>` 禁用日与禁用月不一致的问题。([#595]) - **Bugfix**: 修复了 `<Table>` 数据更新后滚动条位置不更新的问题。([#table-92]) - **Bugfix**: 修复了 `<Table>` 属性 `expandedRowKeys` 更新值不受控。 ([#table-90]) - **Bugfix**: 修复了 `<Table>` 属性 `onRowClick` 的回调参数缺少 `event`。 ([#table-89]) - **Bugfix**: 修复了 `<Form>` 组件对 `focus` 事件的支持。([#566]) - **Bugfix**: 修改了 `<Breadcrumb>` 的默认分隔符。([#543]) - **Bugfix**: 修复了 `<Slider>` 在从隐藏到显示状态变化后,手柄的位置不更新的问题。([#542]) [#595]: https://github.com/rsuite/rsuite/pull/595 [#577]: https://github.com/rsuite/rsuite/pull/577 [#570]: https://github.com/rsuite/rsuite/pull/570 [#569]: https://github.com/rsuite/rsuite/pull/569 [#567]: https://github.com/rsuite/rsuite/pull/567 [#566]: https://github.com/rsuite/rsuite/pull/566 [#544]: https://github.com/rsuite/rsuite/pull/544 [#543]: https://github.com/rsuite/rsuite/pull/543 [#542]: https://github.com/rsuite/rsuite/pull/542 [#536]: https://github.com/rsuite/rsuite/pull/536 [#525]: https://github.com/rsuite/rsuite/pull/525 [#507]: https://github.com/rsuite/rsuite/pull/507 [#494]: https://github.com/rsuite/rsuite/pull/494 [#492]: https://github.com/rsuite/rsuite/pull/492 [#486]: https://github.com/rsuite/rsuite/pull/486 [#484]: https://github.com/rsuite/rsuite/pull/484 [#451]: https://github.com/rsuite/rsuite/pull/451 [#449]: https://github.com/rsuite/rsuite/pull/449 [#448]: https://github.com/rsuite/rsuite/pull/448 [#443]: https://github.com/rsuite/rsuite/pull/443 [#433]: https://github.com/rsuite/rsuite/pull/433 [#432]: https://github.com/rsuite/rsuite/pull/432 [#423]: https://github.com/rsuite/rsuite/pull/423 [#420]: https://github.com/rsuite/rsuite/pull/420 [#418]: https://github.com/rsuite/rsuite/pull/418 [#table-92]: https://github.com/rsuite/rsuite-table/pull/92 [#table-90]: https://github.com/rsuite/rsuite-table/pull/90 [#table-89]: https://github.com/rsuite/rsuite-table/pull/89