rsuite 4.10.2 → 4.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/rsuite.js +75 -158
  3. package/dist/rsuite.min.js +10 -2
  4. package/dist/rsuite.min.js.map +1 -1
  5. package/es/AutoComplete/AutoComplete.js +1 -1
  6. package/es/Avatar/Avatar.js +1 -2
  7. package/es/Breadcrumb/Breadcrumb.js +1 -2
  8. package/es/Button/Button.js +1 -2
  9. package/es/ButtonGroup/ButtonGroup.js +1 -2
  10. package/es/Calendar/TimeDropdown.js +3 -3
  11. package/es/Cascader/Cascader.js +23 -6
  12. package/es/Drawer/index.js +1 -2
  13. package/es/Dropdown/Dropdown.js +1 -2
  14. package/es/FlexboxGrid/FlexboxGrid.js +1 -2
  15. package/es/FormGroup/FormGroup.js +1 -2
  16. package/es/Input/Input.js +1 -2
  17. package/es/InputGroup/InputGroup.js +1 -2
  18. package/es/IntlProvider/withLocale.js +1 -1
  19. package/es/List/List.js +1 -2
  20. package/es/List/ListItem.js +1 -2
  21. package/es/Loader/Loader.js +1 -2
  22. package/es/Modal/BaseModal.js +24 -4
  23. package/es/Modal/Modal.js +1 -2
  24. package/es/Modal/ModalDialog.js +2 -2
  25. package/es/MultiCascader/MultiCascader.js +14 -1
  26. package/es/Nav/Nav.js +1 -2
  27. package/es/Navbar/Navbar.js +1 -2
  28. package/es/Pagination/Pagination.js +1 -2
  29. package/es/Rate/Rate.js +1 -2
  30. package/es/Sidenav/Sidenav.js +1 -2
  31. package/es/Slider/Slider.d.ts +4 -11
  32. package/es/Steps/Steps.js +1 -2
  33. package/es/Table/Table.js +1 -2
  34. package/es/Table/TablePagination.js +1 -2
  35. package/es/Tag/Tag.js +1 -2
  36. package/es/TagPicker/index.js +1 -2
  37. package/es/Timeline/Timeline.js +1 -2
  38. package/es/Timeline/TimelineItem.js +1 -2
  39. package/es/Toggle/Toggle.js +1 -2
  40. package/es/Uploader/Uploader.js +2 -3
  41. package/es/utils/defaultProps.js +1 -1
  42. package/es/utils/index.js +1 -0
  43. package/es/utils/recompose.js +42 -0
  44. package/es/utils/withStyleProps.js +1 -1
  45. package/lib/AutoComplete/AutoComplete.js +2 -4
  46. package/lib/Avatar/Avatar.js +1 -3
  47. package/lib/Breadcrumb/Breadcrumb.js +1 -3
  48. package/lib/Button/Button.js +1 -3
  49. package/lib/ButtonGroup/ButtonGroup.js +1 -3
  50. package/lib/Calendar/TimeDropdown.js +3 -3
  51. package/lib/Cascader/Cascader.js +23 -6
  52. package/lib/Drawer/index.js +4 -6
  53. package/lib/Dropdown/Dropdown.js +2 -4
  54. package/lib/FlexboxGrid/FlexboxGrid.js +1 -3
  55. package/lib/FormGroup/FormGroup.js +1 -3
  56. package/lib/Input/Input.js +1 -3
  57. package/lib/InputGroup/InputGroup.js +3 -5
  58. package/lib/IntlProvider/withLocale.js +3 -3
  59. package/lib/List/List.js +1 -3
  60. package/lib/List/ListItem.js +1 -3
  61. package/lib/Loader/Loader.js +1 -3
  62. package/lib/Modal/BaseModal.js +24 -4
  63. package/lib/Modal/Modal.js +5 -7
  64. package/lib/Modal/ModalDialog.js +2 -3
  65. package/lib/MultiCascader/MultiCascader.js +14 -1
  66. package/lib/Nav/Nav.js +1 -3
  67. package/lib/Navbar/Navbar.js +2 -4
  68. package/lib/Pagination/Pagination.js +1 -3
  69. package/lib/Rate/Rate.js +1 -3
  70. package/lib/Sidenav/Sidenav.js +3 -5
  71. package/lib/Slider/Slider.d.ts +4 -11
  72. package/lib/Steps/Steps.js +1 -3
  73. package/lib/Table/Table.js +6 -8
  74. package/lib/Table/TablePagination.js +1 -3
  75. package/lib/Tag/Tag.js +1 -3
  76. package/lib/TagPicker/index.js +1 -3
  77. package/lib/Timeline/Timeline.js +1 -3
  78. package/lib/Timeline/TimelineItem.js +1 -3
  79. package/lib/Toggle/Toggle.js +1 -3
  80. package/lib/Uploader/Uploader.js +2 -4
  81. package/lib/utils/defaultProps.js +1 -1
  82. package/lib/utils/index.js +8 -0
  83. package/lib/utils/recompose.js +57 -0
  84. package/lib/utils/withStyleProps.js +1 -1
  85. package/package.json +5 -6
  86. package/src/AutoComplete/AutoComplete.tsx +1 -1
  87. package/src/Avatar/Avatar.tsx +1 -2
  88. package/src/Breadcrumb/Breadcrumb.tsx +1 -2
  89. package/src/Button/Button.tsx +8 -2
  90. package/src/ButtonGroup/ButtonGroup.tsx +1 -2
  91. package/src/Calendar/TimeDropdown.tsx +2 -3
  92. package/src/Cascader/Cascader.tsx +24 -5
  93. package/src/Cascader/test/CascaderSpec.js +56 -1
  94. package/src/DatePicker/test/DatePickerSpec.js +20 -0
  95. package/src/Drawer/index.tsx +1 -3
  96. package/src/Dropdown/Dropdown.tsx +1 -1
  97. package/src/FlexboxGrid/FlexboxGrid.tsx +1 -2
  98. package/src/FormGroup/FormGroup.tsx +1 -2
  99. package/src/Input/Input.tsx +1 -1
  100. package/src/InputGroup/InputGroup.tsx +1 -2
  101. package/src/IntlProvider/withLocale.tsx +1 -1
  102. package/src/List/List.tsx +1 -2
  103. package/src/List/ListItem.tsx +1 -2
  104. package/src/Loader/Loader.tsx +1 -2
  105. package/src/Modal/BaseModal.tsx +26 -4
  106. package/src/Modal/Modal.tsx +1 -2
  107. package/src/Modal/ModalDialog.tsx +2 -2
  108. package/src/Modal/test/ModalSpec.js +5 -0
  109. package/src/MultiCascader/MultiCascader.tsx +17 -1
  110. package/src/Nav/Nav.tsx +1 -1
  111. package/src/Navbar/Navbar.tsx +1 -2
  112. package/src/Pagination/Pagination.tsx +1 -2
  113. package/src/Rate/Rate.tsx +1 -2
  114. package/src/Sidenav/Sidenav.tsx +1 -2
  115. package/src/Slider/Slider.d.ts +4 -11
  116. package/src/Steps/Steps.tsx +1 -2
  117. package/src/Table/Table.tsx +1 -2
  118. package/src/Table/TablePagination.tsx +1 -2
  119. package/src/Tag/Tag.tsx +1 -2
  120. package/src/TagPicker/index.tsx +1 -3
  121. package/src/Timeline/Timeline.tsx +1 -2
  122. package/src/Timeline/TimelineItem.tsx +1 -2
  123. package/src/Toggle/Toggle.tsx +1 -2
  124. package/src/Uploader/Uploader.tsx +2 -3
  125. package/src/utils/defaultProps.ts +1 -1
  126. package/src/utils/index.ts +1 -0
  127. package/src/utils/recompose.ts +52 -0
  128. package/src/utils/test/recomposeSpec.js +107 -0
  129. package/src/utils/withStyleProps.tsx +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,48 @@
1
+ <a name="4.10.6"></a>
2
+ ## [4.10.6](https://github.com/rsuite/rsuite/compare/v4.10.5...v4.10.6) (2021-12-17)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **Modal:** fix Modal not focused when opened ([#2221](https://github.com/rsuite/rsuite/issues/2221)) ([25cf056](https://github.com/rsuite/rsuite/commit/25cf056))
8
+ * **Table:** bump rsuite-table 3.16.0 ([#2232](https://github.com/rsuite/rsuite/issues/2232)) ([ff6ae0f](https://github.com/rsuite/rsuite/commit/ff6ae0f))
9
+
10
+
11
+
12
+ <a name="4.10.5"></a>
13
+ ## [4.10.5](https://github.com/rsuite/rsuite/compare/v4.10.4...v4.10.5) (2021-11-26)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **Uploader:** uploader fileMap is not updated when status is error ([#2158](https://github.com/rsuite/rsuite/issues/2158)) ([7d80b55](https://github.com/rsuite/rsuite/commit/7d80b55))
19
+
20
+
21
+
22
+ <a name="4.10.4"></a>
23
+ ## [4.10.4](https://github.com/rsuite/rsuite/compare/4.10.3...4.10.4) (2021-10-22)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **cascader:** search not working with custom childreKey ([#2020](https://github.com/rsuite/rsuite/issues/2020)) ([ef957c3](https://github.com/rsuite/rsuite/commit/ef957c3))
29
+ * **Slider:** fix onChange argument types ([#2021](https://github.com/rsuite/rsuite/issues/2021)) ([4707d8b](https://github.com/rsuite/rsuite/commit/4707d8b))
30
+
31
+
32
+
33
+ <a name="4.10.3"></a>
34
+ ## [4.10.3](https://github.com/rsuite/rsuite/compare/4.10.2...4.10.3) (2021-09-13)
35
+
36
+
37
+ ### Bug Fixes
38
+
39
+ * **deps:** remove recompose dep ([#1864](https://github.com/rsuite/rsuite/issues/1864)) ([d293e9d](https://github.com/rsuite/rsuite/commit/d293e9d))
40
+ * fix some issues of docs styles ([#1846](https://github.com/rsuite/rsuite/issues/1846)) ([a8c4262](https://github.com/rsuite/rsuite/commit/a8c4262))
41
+ * **cascader:** update the position after the overlay size is changed ([#1779](https://github.com/rsuite/rsuite/issues/1779)) ([d073f22](https://github.com/rsuite/rsuite/commit/d073f22))
42
+ * **date-picker:** fix AM/PM display incorrect issue when switching hours ([#1822](https://github.com/rsuite/rsuite/issues/1822)) ([1e67b89](https://github.com/rsuite/rsuite/commit/1e67b89))
43
+
44
+
45
+
1
46
  <a name="4.10.2"></a>
2
47
 
3
48
  ## [4.10.2](https://github.com/rsuite/rsuite/compare/4.10.1...4.10.2) (2021-06-03)