rsuite 5.20.0-beta.6 → 5.21.0

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 (398) hide show
  1. package/Animation/styles/animation.less +0 -0
  2. package/Animation/styles/index.less +0 -0
  3. package/Animation/styles/mixin.less +0 -0
  4. package/AutoComplete/styles/index.less +0 -0
  5. package/Avatar/styles/mixin.less +0 -0
  6. package/Badge/styles/index.less +0 -0
  7. package/Breadcrumb/styles/index.less +0 -0
  8. package/Button/styles/mixin.less +0 -0
  9. package/CHANGELOG.md +10 -0
  10. package/Cascader/styles/index.less +0 -0
  11. package/CheckPicker/styles/index.less +0 -0
  12. package/CheckTreePicker/styles/index.less +0 -25
  13. package/Checkbox/styles/index.less +0 -0
  14. package/Checkbox/styles/mixin.less +0 -0
  15. package/CheckboxGroup/styles/index.less +0 -0
  16. package/CloseButton/styles/index.less +0 -0
  17. package/Container/styles/index.less +0 -0
  18. package/Content/styles/index.less +0 -0
  19. package/Divider/styles/index.less +0 -0
  20. package/Drawer/styles/mixin.less +0 -0
  21. package/FlexboxGrid/styles/index.less +0 -0
  22. package/Footer/styles/index.less +0 -0
  23. package/Form/styles/index.less +0 -0
  24. package/FormControlLabel/styles/index.less +0 -0
  25. package/FormErrorMessage/styles/animation.less +0 -0
  26. package/FormErrorMessage/styles/index.less +0 -0
  27. package/FormGroup/styles/index.less +0 -0
  28. package/FormHelpText/styles/index.less +0 -0
  29. package/Grid/styles/grid-framework.less +0 -0
  30. package/Grid/styles/mixin.less +0 -0
  31. package/Header/styles/index.less +0 -0
  32. package/Input/styles/index.less +0 -0
  33. package/InputNumber/styles/index.less +0 -0
  34. package/InputNumber/styles/mixin.less +0 -0
  35. package/InputPicker/styles/index.less +0 -0
  36. package/LICENSE +0 -0
  37. package/List/styles/index.less +0 -0
  38. package/Loader/styles/index.less +0 -0
  39. package/Loader/styles/mixin.less +0 -0
  40. package/Message/styles/index.less +0 -0
  41. package/Message/styles/mixin.less +0 -0
  42. package/Modal/styles/animation.less +0 -0
  43. package/Notification/styles/index.less +0 -0
  44. package/Notification/styles/mixin.less +0 -0
  45. package/Pagination/styles/index.less +0 -0
  46. package/Pagination/styles/mixin.less +0 -0
  47. package/Pagination/styles/pagination-group.less +0 -0
  48. package/Panel/styles/index.less +0 -0
  49. package/Picker/styles/index.less +0 -10
  50. package/Picker/styles/mixin.less +0 -5
  51. package/Placeholder/styles/index.less +0 -0
  52. package/Popover/styles/index.less +0 -0
  53. package/Popover/styles/mixins.less +0 -0
  54. package/Progress/styles/animation.less +0 -0
  55. package/Progress/styles/index.less +0 -0
  56. package/README.md +4 -2
  57. package/Radio/styles/mixin.less +0 -0
  58. package/RadioGroup/styles/index.less +0 -0
  59. package/Rate/styles/index.less +0 -0
  60. package/Ripple/styles/index.less +0 -0
  61. package/Ripple/styles/mixins.less +0 -0
  62. package/Row/styles/index.less +0 -0
  63. package/SelectPicker/styles/index.less +0 -0
  64. package/Sidebar/styles/index.less +0 -0
  65. package/Sidenav/styles/mixin.less +0 -0
  66. package/Steps/styles/index.less +0 -0
  67. package/Table/styles/mixin.less +0 -0
  68. package/Tag/styles/index.less +0 -0
  69. package/TagInput/styles/index.less +0 -0
  70. package/TagPicker/styles/index.less +0 -0
  71. package/Timeline/styles/index.less +0 -0
  72. package/Timeline/styles/mixin.less +0 -0
  73. package/Tooltip/styles/mixins.less +0 -0
  74. package/TreePicker/styles/index.less +0 -19
  75. package/TreePicker/styles/mixin.less +0 -0
  76. package/Uploader/styles/mixin.less +0 -0
  77. package/cjs/@types/global.d.ts +0 -0
  78. package/cjs/Affix/index.js +0 -0
  79. package/cjs/Animation/Bounce.js +0 -0
  80. package/cjs/Animation/Fade.js +0 -0
  81. package/cjs/Animation/Slide.js +0 -0
  82. package/cjs/Animation/index.js +0 -0
  83. package/cjs/Animation/utils.js +0 -0
  84. package/cjs/AutoComplete/index.js +0 -0
  85. package/cjs/Avatar/index.js +0 -0
  86. package/cjs/Badge/index.js +0 -0
  87. package/cjs/Breadcrumb/index.js +0 -0
  88. package/cjs/Button/index.js +0 -0
  89. package/cjs/ButtonToolbar/ButtonToolbar.js +0 -0
  90. package/cjs/ButtonToolbar/index.js +0 -0
  91. package/cjs/Carousel/index.js +0 -0
  92. package/cjs/Cascader/index.js +0 -0
  93. package/cjs/CheckPicker/index.js +0 -0
  94. package/cjs/CheckTreePicker/CheckTreePicker.js +1 -3
  95. package/cjs/CheckTreePicker/index.js +0 -0
  96. package/cjs/Checkbox/index.js +0 -0
  97. package/cjs/CloseButton/CloseButton.js +0 -0
  98. package/cjs/CloseButton/index.js +0 -0
  99. package/cjs/Col/index.js +0 -0
  100. package/cjs/Container/index.js +0 -0
  101. package/cjs/Content/Content.js +0 -0
  102. package/cjs/Content/index.js +0 -0
  103. package/cjs/CustomProvider/CustomProvider.d.ts +1 -108
  104. package/cjs/CustomProvider/CustomProvider.js +2 -5
  105. package/cjs/CustomProvider/FormattedDate.js +0 -0
  106. package/cjs/CustomProvider/index.d.ts +2 -2
  107. package/cjs/CustomProvider/index.js +0 -1
  108. package/cjs/DatePicker/index.js +0 -0
  109. package/cjs/DateRangePicker/DateRangePicker.js +5 -5
  110. package/cjs/DateRangePicker/disabledDateUtils.js +0 -0
  111. package/cjs/Disclosure/index.js +0 -0
  112. package/cjs/Divider/index.js +0 -0
  113. package/cjs/Drawer/index.js +0 -0
  114. package/cjs/Dropdown/DropdownState.js +0 -0
  115. package/cjs/Dropdown/index.js +0 -0
  116. package/cjs/FlexboxGrid/index.js +0 -0
  117. package/cjs/Footer/Footer.js +0 -0
  118. package/cjs/Footer/index.js +0 -0
  119. package/cjs/FormControl/index.js +0 -0
  120. package/cjs/FormControlLabel/FormControlLabel.js +0 -0
  121. package/cjs/FormControlLabel/index.js +0 -0
  122. package/cjs/FormErrorMessage/FormErrorMessage.js +0 -0
  123. package/cjs/FormErrorMessage/index.js +0 -0
  124. package/cjs/FormGroup/index.js +0 -0
  125. package/cjs/FormHelpText/index.js +0 -0
  126. package/cjs/Grid/Grid.js +0 -0
  127. package/cjs/Grid/index.js +0 -0
  128. package/cjs/Header/Header.js +0 -0
  129. package/cjs/Header/index.js +0 -0
  130. package/cjs/IconButton/index.js +0 -0
  131. package/cjs/Input/index.js +0 -0
  132. package/cjs/InputGroup/InputGroupButton.js +0 -0
  133. package/cjs/InputGroup/index.js +0 -0
  134. package/cjs/InputNumber/index.js +0 -0
  135. package/cjs/InputPicker/index.js +0 -0
  136. package/cjs/List/index.js +0 -0
  137. package/cjs/Loader/index.js +0 -0
  138. package/cjs/Menu/MenuContext.js +0 -0
  139. package/cjs/Menu/index.js +0 -0
  140. package/cjs/Message/index.js +0 -0
  141. package/cjs/Modal/ModalBody.js +18 -17
  142. package/cjs/Modal/ModalFooter.js +0 -0
  143. package/cjs/Modal/index.js +0 -0
  144. package/cjs/MultiCascader/index.js +0 -0
  145. package/cjs/Nav/index.js +0 -0
  146. package/cjs/Navbar/NavbarBody.js +0 -0
  147. package/cjs/Navbar/NavbarBrand.js +0 -0
  148. package/cjs/Navbar/NavbarHeader.js +0 -0
  149. package/cjs/Notification/index.js +0 -0
  150. package/cjs/Overlay/index.js +0 -0
  151. package/cjs/Pagination/index.js +0 -0
  152. package/cjs/Panel/index.js +0 -0
  153. package/cjs/PanelGroup/index.js +0 -0
  154. package/cjs/Picker/DropdownMenu.js +1 -3
  155. package/cjs/Picker/PickerToggleTrigger.js +11 -10
  156. package/cjs/Placeholder/Placeholder.js +0 -0
  157. package/cjs/Placeholder/index.js +0 -0
  158. package/cjs/Plaintext/index.js +0 -0
  159. package/cjs/Popover/index.js +0 -0
  160. package/cjs/Progress/Progress.js +0 -0
  161. package/cjs/Progress/index.js +0 -0
  162. package/cjs/Radio/index.js +0 -0
  163. package/cjs/RadioGroup/index.js +0 -0
  164. package/cjs/RangeSlider/index.js +0 -0
  165. package/cjs/Rate/index.js +0 -0
  166. package/cjs/Ripple/index.js +0 -0
  167. package/cjs/Row/Row.js +0 -0
  168. package/cjs/Row/index.js +0 -0
  169. package/cjs/SafeAnchor/index.js +0 -0
  170. package/cjs/Schema/Schema.js +0 -0
  171. package/cjs/Schema/index.js +0 -0
  172. package/cjs/Sidebar/index.js +0 -0
  173. package/cjs/Sidenav/SidenavBody.js +0 -0
  174. package/cjs/Sidenav/SidenavHeader.js +0 -0
  175. package/cjs/Sidenav/index.js +0 -0
  176. package/cjs/Slider/index.js +0 -0
  177. package/cjs/Steps/index.js +0 -0
  178. package/cjs/Table/index.js +0 -0
  179. package/cjs/Tag/Tag.js +0 -0
  180. package/cjs/Tag/index.js +0 -0
  181. package/cjs/TagGroup/TagGroup.js +0 -0
  182. package/cjs/TagGroup/index.js +0 -0
  183. package/cjs/Timeline/index.js +0 -0
  184. package/cjs/Toggle/index.js +0 -0
  185. package/cjs/Tooltip/index.js +0 -0
  186. package/cjs/Tree/index.js +0 -0
  187. package/cjs/TreePicker/TreePicker.js +1 -3
  188. package/cjs/TreePicker/index.js +0 -0
  189. package/cjs/Whisper/Whisper.js +11 -10
  190. package/cjs/Whisper/index.js +0 -0
  191. package/cjs/locales/ar_EG.js +0 -0
  192. package/cjs/locales/da_DK.js +0 -0
  193. package/cjs/locales/de_DE.js +0 -0
  194. package/cjs/locales/default.js +0 -0
  195. package/cjs/locales/en_GB.js +0 -0
  196. package/cjs/locales/en_US.js +0 -0
  197. package/cjs/locales/es_AR.js +0 -0
  198. package/cjs/locales/es_ES.js +0 -0
  199. package/cjs/locales/fi_FI.js +0 -0
  200. package/cjs/locales/it_IT.js +0 -0
  201. package/cjs/locales/ko_KR.js +0 -0
  202. package/cjs/locales/pt_BR.js +0 -0
  203. package/cjs/locales/ru_RU.js +0 -0
  204. package/cjs/locales/sv_SE.js +0 -0
  205. package/cjs/locales/zh_CN.js +0 -0
  206. package/cjs/locales/zh_TW.js +0 -0
  207. package/cjs/utils/clone.js +0 -0
  208. package/cjs/utils/events.js +0 -0
  209. package/cjs/utils/getDOMNode.js +0 -0
  210. package/cjs/utils/getSafeRegExpString.js +0 -0
  211. package/cjs/utils/guid.js +0 -0
  212. package/cjs/utils/htmlPropsUtils.js +0 -0
  213. package/cjs/utils/isOneOf.js +0 -0
  214. package/cjs/utils/prefix.js +0 -0
  215. package/cjs/utils/shallowEqual.js +0 -0
  216. package/cjs/utils/shallowEqualArray.js +0 -0
  217. package/cjs/utils/statusIcons.js +0 -0
  218. package/cjs/utils/stringToObject.js +0 -0
  219. package/cjs/utils/tplTransform.js +0 -0
  220. package/cjs/utils/useClassNames.js +0 -0
  221. package/cjs/utils/useEnsuredRef.js +0 -0
  222. package/cjs/utils/useEventCallback.js +0 -0
  223. package/cjs/utils/useToggleCaret.js +0 -0
  224. package/cjs/utils/useUpdateEffect.js +0 -0
  225. package/cjs/utils/useUpdatedRef.js +0 -0
  226. package/cjs/utils/useWillUnmount.js +0 -0
  227. package/dist/rsuite-rtl.css +0 -67
  228. package/dist/rsuite-rtl.min.css +1 -1
  229. package/dist/rsuite-rtl.min.css.map +1 -1
  230. package/dist/rsuite.css +0 -67
  231. package/dist/rsuite.js +178 -178
  232. package/dist/rsuite.min.css +1 -1
  233. package/dist/rsuite.min.css.map +1 -1
  234. package/dist/rsuite.min.js +1 -1
  235. package/dist/rsuite.min.js.map +1 -1
  236. package/esm/@types/global.d.ts +0 -0
  237. package/esm/Affix/index.js +0 -0
  238. package/esm/Animation/Bounce.js +0 -0
  239. package/esm/Animation/Fade.js +0 -0
  240. package/esm/Animation/Slide.js +0 -0
  241. package/esm/Animation/index.js +0 -0
  242. package/esm/Animation/utils.js +0 -0
  243. package/esm/AutoComplete/index.js +0 -0
  244. package/esm/Avatar/index.js +0 -0
  245. package/esm/Badge/index.js +0 -0
  246. package/esm/Breadcrumb/index.js +0 -0
  247. package/esm/Button/index.js +0 -0
  248. package/esm/ButtonToolbar/ButtonToolbar.js +0 -0
  249. package/esm/ButtonToolbar/index.js +0 -0
  250. package/esm/Carousel/index.js +0 -0
  251. package/esm/Cascader/index.js +0 -0
  252. package/esm/CheckPicker/index.js +0 -0
  253. package/esm/CheckTreePicker/CheckTreePicker.js +1 -3
  254. package/esm/CheckTreePicker/index.js +0 -0
  255. package/esm/Checkbox/index.js +0 -0
  256. package/esm/CloseButton/CloseButton.js +0 -0
  257. package/esm/CloseButton/index.js +0 -0
  258. package/esm/Col/index.js +0 -0
  259. package/esm/Container/index.js +0 -0
  260. package/esm/Content/Content.js +0 -0
  261. package/esm/Content/index.js +0 -0
  262. package/esm/CustomProvider/CustomProvider.d.ts +1 -108
  263. package/esm/CustomProvider/CustomProvider.js +2 -4
  264. package/esm/CustomProvider/FormattedDate.js +0 -0
  265. package/esm/CustomProvider/index.d.ts +2 -2
  266. package/esm/CustomProvider/index.js +2 -2
  267. package/esm/DatePicker/index.js +0 -0
  268. package/esm/DateRangePicker/DateRangePicker.js +5 -5
  269. package/esm/DateRangePicker/disabledDateUtils.js +0 -0
  270. package/esm/Disclosure/index.js +0 -0
  271. package/esm/Divider/index.js +0 -0
  272. package/esm/Drawer/index.js +0 -0
  273. package/esm/Dropdown/DropdownState.js +0 -0
  274. package/esm/Dropdown/index.js +0 -0
  275. package/esm/FlexboxGrid/index.js +0 -0
  276. package/esm/Footer/Footer.js +0 -0
  277. package/esm/Footer/index.js +0 -0
  278. package/esm/FormControl/index.js +0 -0
  279. package/esm/FormControlLabel/FormControlLabel.js +0 -0
  280. package/esm/FormControlLabel/index.js +0 -0
  281. package/esm/FormErrorMessage/FormErrorMessage.js +0 -0
  282. package/esm/FormErrorMessage/index.js +0 -0
  283. package/esm/FormGroup/index.js +0 -0
  284. package/esm/FormHelpText/index.js +0 -0
  285. package/esm/Grid/Grid.js +0 -0
  286. package/esm/Grid/index.js +0 -0
  287. package/esm/Header/Header.js +0 -0
  288. package/esm/Header/index.js +0 -0
  289. package/esm/IconButton/index.js +0 -0
  290. package/esm/Input/index.js +0 -0
  291. package/esm/InputGroup/InputGroupButton.js +0 -0
  292. package/esm/InputGroup/index.js +0 -0
  293. package/esm/InputNumber/index.js +0 -0
  294. package/esm/InputPicker/index.js +0 -0
  295. package/esm/List/index.js +0 -0
  296. package/esm/Loader/index.js +0 -0
  297. package/esm/Menu/MenuContext.js +0 -0
  298. package/esm/Menu/index.js +0 -0
  299. package/esm/Message/index.js +0 -0
  300. package/esm/Modal/ModalBody.js +16 -17
  301. package/esm/Modal/ModalFooter.js +0 -0
  302. package/esm/Modal/index.js +0 -0
  303. package/esm/MultiCascader/index.js +0 -0
  304. package/esm/Nav/index.js +0 -0
  305. package/esm/Navbar/NavbarBody.js +0 -0
  306. package/esm/Navbar/NavbarBrand.js +0 -0
  307. package/esm/Navbar/NavbarHeader.js +0 -0
  308. package/esm/Notification/index.js +0 -0
  309. package/esm/Overlay/index.js +0 -0
  310. package/esm/Pagination/index.js +0 -0
  311. package/esm/Panel/index.js +0 -0
  312. package/esm/PanelGroup/index.js +0 -0
  313. package/esm/Picker/DropdownMenu.js +1 -3
  314. package/esm/Picker/PickerToggleTrigger.js +10 -11
  315. package/esm/Placeholder/Placeholder.js +0 -0
  316. package/esm/Placeholder/index.js +0 -0
  317. package/esm/Plaintext/index.js +0 -0
  318. package/esm/Popover/index.js +0 -0
  319. package/esm/Progress/Progress.js +0 -0
  320. package/esm/Progress/index.js +0 -0
  321. package/esm/Radio/index.js +0 -0
  322. package/esm/RadioGroup/index.js +0 -0
  323. package/esm/RangeSlider/index.js +0 -0
  324. package/esm/Rate/index.js +0 -0
  325. package/esm/Ripple/index.js +0 -0
  326. package/esm/Row/Row.js +0 -0
  327. package/esm/Row/index.js +0 -0
  328. package/esm/SafeAnchor/index.js +0 -0
  329. package/esm/Schema/Schema.js +0 -0
  330. package/esm/Schema/index.js +0 -0
  331. package/esm/Sidebar/index.js +0 -0
  332. package/esm/Sidenav/SidenavBody.js +0 -0
  333. package/esm/Sidenav/SidenavHeader.js +0 -0
  334. package/esm/Sidenav/index.js +0 -0
  335. package/esm/Slider/index.js +0 -0
  336. package/esm/Steps/index.js +0 -0
  337. package/esm/Table/index.js +0 -0
  338. package/esm/Tag/Tag.js +0 -0
  339. package/esm/Tag/index.js +0 -0
  340. package/esm/TagGroup/TagGroup.js +0 -0
  341. package/esm/TagGroup/index.js +0 -0
  342. package/esm/Timeline/index.js +0 -0
  343. package/esm/Toggle/index.js +0 -0
  344. package/esm/Tooltip/index.js +0 -0
  345. package/esm/Tree/index.js +0 -0
  346. package/esm/TreePicker/TreePicker.js +1 -3
  347. package/esm/TreePicker/index.js +0 -0
  348. package/esm/Whisper/Whisper.js +10 -11
  349. package/esm/Whisper/index.js +0 -0
  350. package/esm/locales/ar_EG.js +0 -0
  351. package/esm/locales/da_DK.js +0 -0
  352. package/esm/locales/de_DE.js +0 -0
  353. package/esm/locales/default.js +0 -0
  354. package/esm/locales/en_GB.js +0 -0
  355. package/esm/locales/en_US.js +0 -0
  356. package/esm/locales/es_AR.js +0 -0
  357. package/esm/locales/es_ES.js +0 -0
  358. package/esm/locales/fi_FI.js +0 -0
  359. package/esm/locales/it_IT.js +0 -0
  360. package/esm/locales/ko_KR.js +0 -0
  361. package/esm/locales/pt_BR.js +0 -0
  362. package/esm/locales/ru_RU.js +0 -0
  363. package/esm/locales/sv_SE.js +0 -0
  364. package/esm/locales/zh_CN.js +0 -0
  365. package/esm/locales/zh_TW.js +0 -0
  366. package/esm/utils/clone.js +0 -0
  367. package/esm/utils/events.js +0 -0
  368. package/esm/utils/getDOMNode.js +0 -0
  369. package/esm/utils/getSafeRegExpString.js +0 -0
  370. package/esm/utils/guid.js +0 -0
  371. package/esm/utils/htmlPropsUtils.js +0 -0
  372. package/esm/utils/isOneOf.js +0 -0
  373. package/esm/utils/prefix.js +0 -0
  374. package/esm/utils/shallowEqual.js +0 -0
  375. package/esm/utils/shallowEqualArray.js +0 -0
  376. package/esm/utils/statusIcons.js +0 -0
  377. package/esm/utils/stringToObject.js +0 -0
  378. package/esm/utils/tplTransform.js +0 -0
  379. package/esm/utils/useClassNames.js +0 -0
  380. package/esm/utils/useEnsuredRef.js +0 -0
  381. package/esm/utils/useEventCallback.js +0 -0
  382. package/esm/utils/useToggleCaret.js +0 -0
  383. package/esm/utils/useUpdateEffect.js +0 -0
  384. package/esm/utils/useUpdatedRef.js +0 -0
  385. package/esm/utils/useWillUnmount.js +0 -0
  386. package/package.json +1 -1
  387. package/styles/color-modes.less +0 -0
  388. package/styles/colors/light.less +0 -0
  389. package/styles/common.less +0 -0
  390. package/styles/mixins/color-modes.less +0 -0
  391. package/styles/mixins/hacks.less +0 -0
  392. package/styles/mixins/listbox.less +0 -5
  393. package/styles/mixins/menu.less +0 -0
  394. package/styles/normalize.less +0 -0
  395. package/styles/scaffolding.less +0 -0
  396. package/styles/typography.less +0 -0
  397. package/toaster/styles/animation.less +0 -0
  398. package/toaster/styles/index.less +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # [5.21.0](https://github.com/rsuite/rsuite/compare/v5.20.0...v5.21.0) (2022-10-27)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **DateRangePicker:** fix end time will change with the start time ([#2841](https://github.com/rsuite/rsuite/issues/2841)) ([7fb38dd](https://github.com/rsuite/rsuite/commit/7fb38dd6aaf84e018d4f3e06882fb92dfa20e5bd))
6
+
7
+ ### Features
8
+
9
+ - support React 18 ([#2595](https://github.com/rsuite/rsuite/issues/2595)) ([a071214](https://github.com/rsuite/rsuite/commit/a071214e4cffb2f9607887e776a52af42aed58cb)), closes [#2646](https://github.com/rsuite/rsuite/issues/2646) [#2661](https://github.com/rsuite/rsuite/issues/2661) [#2681](https://github.com/rsuite/rsuite/issues/2681) [#2776](https://github.com/rsuite/rsuite/issues/2776) [#2806](https://github.com/rsuite/rsuite/issues/2806) [#2826](https://github.com/rsuite/rsuite/issues/2826) [#2825](https://github.com/rsuite/rsuite/issues/2825)
10
+
1
11
  # [5.20.0](https://github.com/rsuite/rsuite/compare/v5.19.1...v5.20.0) (2022-10-21)
2
12
 
3
13
  ### Bug Fixes
File without changes
File without changes
@@ -14,15 +14,6 @@
14
14
 
15
15
  &.rs-check-tree-virtualized {
16
16
  overflow: hidden;
17
-
18
- /* stylelint-disable-next-line */ // **This class name provide by Virtualized.
19
- .ReactVirtualized__Grid.ReactVirtualized__List {
20
- padding: 0 @picker-menu-padding @picker-menu-padding 0;
21
-
22
- &:focus {
23
- outline: none;
24
- }
25
- }
26
17
  }
27
18
 
28
19
  .rs-check-item .rs-checkbox-checker {
@@ -178,10 +169,6 @@
178
169
  .rs-check-tree {
179
170
  padding: 0 @picker-menu-padding @picker-menu-padding 0;
180
171
 
181
- &.rs-check-tree-virtualized {
182
- padding: 0;
183
- }
184
-
185
172
  &-node > .rs-check-tree-node-label .rs-check-tree-node-text-wrapper {
186
173
  .ellipsis();
187
174
 
@@ -198,16 +185,4 @@
198
185
  padding-right: inherit;
199
186
  }
200
187
 
201
- /* stylelint-disable-next-line */
202
- .rs-check-tree {
203
- /* stylelint-disable-next-line */
204
- &-node > &-node-label .rs-check-item .rs-checkbox-checker > label::before {
205
- /* stylelint-disable-next-line */
206
- [dir='rtl'] .ReactVirtualized__Grid__innerScrollContainer & {
207
- padding-right: inherit;
208
- right: 46px;
209
- }
210
- }
211
- }
212
-
213
188
  /* rtl:end:ignore */
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/LICENSE CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -337,11 +337,6 @@
337
337
  }
338
338
  }
339
339
 
340
- /* stylelint-disable-next-line */ // This class name provide by Virtualized.
341
- .ReactVirtualized__Grid.ReactVirtualized__List:focus {
342
- outline: none;
343
- }
344
-
345
340
  &.rs-picker-inline {
346
341
  position: relative;
347
342
  box-shadow: none;
@@ -402,11 +397,6 @@
402
397
  });
403
398
  }
404
399
 
405
- /* stylelint-disable-next-line */ // This class name provide by Virtualized.
406
- .ReactVirtualized__Grid & {
407
- .ellipsis-basic();
408
- }
409
-
410
400
  .rs-checkbox-disabled& {
411
401
  cursor: not-allowed;
412
402
  }
@@ -71,11 +71,6 @@
71
71
  transition: @picker-item-transition;
72
72
  text-decoration: none;
73
73
  width: 100%;
74
-
75
- /* stylelint-disable-next-line */ // This class name provide by Virtualized.
76
- .ReactVirtualized__Grid & {
77
- .ellipsis-basic();
78
- }
79
74
  }
80
75
 
81
76
  .picker-item-hover() {
File without changes
File without changes
File without changes
File without changes
File without changes
package/README.md CHANGED
@@ -59,11 +59,13 @@ yarn add rsuite
59
59
 
60
60
  Here's a simple example
61
61
 
62
- ```js
62
+ ```jsx
63
63
  import { Button } from 'rsuite';
64
64
  import 'rsuite/styles/index.less'; // or 'rsuite/dist/rsuite.min.css'
65
65
 
66
- ReactDOM.render(<Button>Button</Button>, mountNode);
66
+ function App() {
67
+ return <Button appearance="primary">Hello World</Button>;
68
+ }
67
69
  ```
68
70
 
69
71
  [**Live preview on CodeSandbox**][live-preview-on-codesandbox]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -15,15 +15,6 @@
15
15
 
16
16
  &.rs-tree-virtualized {
17
17
  overflow: hidden;
18
-
19
- /* stylelint-disable-next-line */ // This class name provide by Virtualized.
20
- .ReactVirtualized__Grid.ReactVirtualized__List {
21
- padding: 0 @picker-menu-padding @picker-menu-padding 0;
22
-
23
- &:focus {
24
- outline: none;
25
- }
26
- }
27
18
  }
28
19
  }
29
20
 
@@ -242,14 +233,4 @@
242
233
  padding-right: inherit;
243
234
  }
244
235
 
245
- /* stylelint-disable */
246
- [dir='rtl']
247
- .ReactVirtualized__Grid__innerScrollContainer
248
- .rs-tree-node
249
- > .rs-tree-node-label::before {
250
- display: none;
251
- }
252
-
253
- /* stylelint-enable */
254
-
255
236
  /* rtl:end:ignore */
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -693,11 +693,9 @@ var CheckTreePicker = /*#__PURE__*/_react.default.forwardRef(function (props, re
693
693
  height: 'auto'
694
694
  }
695
695
  }, function (_ref5) {
696
- var height = _ref5.height,
697
- width = _ref5.width;
696
+ var height = _ref5.height;
698
697
  return /*#__PURE__*/_react.default.createElement(_Windowing.List, (0, _extends2.default)({
699
698
  ref: listRef,
700
- width: width,
701
699
  height: height,
702
700
  itemSize: itemSize,
703
701
  itemCount: formattedNodes.length,
File without changes
File without changes
File without changes
File without changes
package/cjs/Col/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -156,113 +156,6 @@ declare const CustomContext: React.Context<CustomProviderProps<{
156
156
  off: string;
157
157
  } | undefined;
158
158
  }>>;
159
- declare const Consumer: React.Consumer<CustomProviderProps<{
160
- common?: {
161
- loading: string;
162
- emptyMessage: string;
163
- } | undefined;
164
- Plaintext?: {
165
- unfilled: string;
166
- notSelected: string;
167
- notUploaded: string;
168
- } | undefined;
169
- Pagination?: {
170
- more: string;
171
- prev: string;
172
- next: string;
173
- first: string;
174
- last: string;
175
- limit: string;
176
- total: string;
177
- skip: string;
178
- } | undefined;
179
- Calendar?: {
180
- sunday: string;
181
- monday: string;
182
- tuesday: string;
183
- wednesday: string;
184
- thursday: string;
185
- friday: string;
186
- saturday: string;
187
- ok: string;
188
- today: string;
189
- yesterday: string;
190
- hours: string;
191
- minutes: string;
192
- seconds: string;
193
- formattedMonthPattern: string;
194
- formattedDayPattern: string;
195
- dateLocale: any;
196
- } | undefined;
197
- DatePicker?: {
198
- sunday: string;
199
- monday: string;
200
- tuesday: string;
201
- wednesday: string;
202
- thursday: string;
203
- friday: string;
204
- saturday: string;
205
- ok: string;
206
- today: string;
207
- yesterday: string;
208
- hours: string;
209
- minutes: string;
210
- seconds: string;
211
- formattedMonthPattern: string;
212
- formattedDayPattern: string;
213
- dateLocale: any;
214
- } | undefined;
215
- DateRangePicker?: {
216
- last7Days: string;
217
- sunday: string;
218
- monday: string;
219
- tuesday: string;
220
- wednesday: string;
221
- thursday: string;
222
- friday: string;
223
- saturday: string;
224
- ok: string;
225
- today: string;
226
- yesterday: string;
227
- hours: string;
228
- minutes: string;
229
- seconds: string;
230
- formattedMonthPattern: string;
231
- formattedDayPattern: string;
232
- dateLocale: any;
233
- } | undefined;
234
- Picker?: {
235
- noResultsText: string;
236
- placeholder: string;
237
- searchPlaceholder: string;
238
- checkAll: string;
239
- } | undefined;
240
- InputPicker?: {
241
- newItem: string;
242
- /**
243
- * A Map of toast containers
244
- */
245
- createOption: string;
246
- } | undefined;
247
- Uploader?: {
248
- inited: string;
249
- progress: string;
250
- error: string;
251
- complete: string;
252
- emptyFile: string;
253
- upload: string;
254
- } | undefined;
255
- CloseButton?: {
256
- closeLabel: string;
257
- } | undefined;
258
- Breadcrumb?: {
259
- expandText: string;
260
- } | undefined;
261
- Toggle?: {
262
- on: string;
263
- off: string;
264
- } | undefined;
265
- }>>;
266
159
  declare const CustomProvider: (props: Omit<CustomProviderProps, 'toasters'>) => JSX.Element;
267
- export { CustomContext, Consumer as CustomConsumer };
160
+ export { CustomContext };
268
161
  export default CustomProvider;
@@ -5,7 +5,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
5
5
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
6
6
 
7
7
  exports.__esModule = true;
8
- exports.default = exports.CustomConsumer = exports.CustomContext = void 0;
8
+ exports.default = exports.CustomContext = void 0;
9
9
 
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
 
@@ -24,9 +24,6 @@ var _utils = require("../utils");
24
24
  var CustomContext = /*#__PURE__*/_react.default.createContext({});
25
25
 
26
26
  exports.CustomContext = CustomContext;
27
- var Consumer = CustomContext.Consumer,
28
- Provider = CustomContext.Provider;
29
- exports.CustomConsumer = Consumer;
30
27
  var themes = ['light', 'dark', 'high-contrast'];
31
28
 
32
29
  var CustomProvider = function CustomProvider(props) {
@@ -64,7 +61,7 @@ var CustomProvider = function CustomProvider(props) {
64
61
  });
65
62
  }
66
63
  }, [classPrefix, theme]);
67
- return /*#__PURE__*/_react.default.createElement(Provider, {
64
+ return /*#__PURE__*/_react.default.createElement(CustomContext.Provider, {
68
65
  value: value
69
66
  }, children, /*#__PURE__*/_react.default.createElement(Portal, null, /*#__PURE__*/_react.default.createElement("div", {
70
67
  className: "rs-toast-provider"
File without changes
@@ -1,5 +1,5 @@
1
- import CustomProvider, { CustomContext, CustomConsumer } from './CustomProvider';
1
+ import CustomProvider, { CustomContext } from './CustomProvider';
2
2
  import FormattedDate from './FormattedDate';
3
- export { CustomContext, CustomConsumer, FormattedDate };
3
+ export { CustomContext, FormattedDate };
4
4
  export type { CustomProviderProps } from './CustomProvider';
5
5
  export default CustomProvider;
@@ -10,7 +10,6 @@ exports.default = void 0;
10
10
  var _CustomProvider = _interopRequireWildcard(require("./CustomProvider"));
11
11
 
12
12
  exports.CustomContext = _CustomProvider.CustomContext;
13
- exports.CustomConsumer = _CustomProvider.CustomConsumer;
14
13
 
15
14
  var _FormattedDate = _interopRequireDefault(require("./FormattedDate"));
16
15
 
File without changes
@@ -166,17 +166,17 @@ var DateRangePicker = /*#__PURE__*/_react.default.forwardRef(function (props, re
166
166
  * If params `value` is not passed, it defaults to [new Date(), addMonth(new Date(), 1)].
167
167
  */
168
168
 
169
- var updateCalendarDateRange = (0, _react.useCallback)(function (value, calendarKey) {
170
- var nextValue = value;
169
+ var updateCalendarDateRange = (0, _react.useCallback)(function (selectedDate, calendarKey) {
170
+ var nextValue = selectedDate;
171
171
  var shouldRenderTime = _utils.DateUtils.shouldRenderTime,
172
172
  getHours = _utils.DateUtils.getHours,
173
173
  getMinutes = _utils.DateUtils.getMinutes,
174
174
  getSeconds = _utils.DateUtils.getSeconds,
175
175
  set = _utils.DateUtils.set;
176
176
 
177
- if (shouldRenderTime(formatStr) && calendarKey === undefined && (value === null || value === void 0 ? void 0 : value.length) === 1 && (defaultCalendarValue === null || defaultCalendarValue === void 0 ? void 0 : defaultCalendarValue.length) === 2) {
178
- var calendarEndDate = (calendarDate === null || calendarDate === void 0 ? void 0 : calendarDate[1]) || defaultCalendarValue[1];
179
- var _startDate = value[0]; // When updating the start date, the time of the end date should keep the time set by the user by default.
177
+ if (shouldRenderTime(formatStr) && calendarKey === undefined && (selectedDate === null || selectedDate === void 0 ? void 0 : selectedDate.length) === 1) {
178
+ var calendarEndDate = (calendarDate === null || calendarDate === void 0 ? void 0 : calendarDate[1]) || (defaultCalendarValue === null || defaultCalendarValue === void 0 ? void 0 : defaultCalendarValue[1]);
179
+ var _startDate = selectedDate[0]; // When updating the start date, the time of the end date should keep the time set by the user by default.
180
180
 
181
181
  var _endDate = set((0, _dateUtils.addMonths)(_startDate, 1), {
182
182
  hours: getHours(calendarEndDate),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/cjs/Grid/Grid.js CHANGED
File without changes