rsuite 5.74.1 → 5.75.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 (576) hide show
  1. package/Accordion/styles/index.css +0 -2
  2. package/Animation/styles/index.css +0 -2
  3. package/AutoComplete/styles/index.css +0 -2
  4. package/Avatar/styles/index.css +0 -2
  5. package/AvatarGroup/styles/index.css +0 -2
  6. package/Badge/styles/index.css +0 -2
  7. package/Breadcrumb/styles/index.css +0 -2
  8. package/Button/styles/index.css +0 -2
  9. package/ButtonGroup/styles/index.css +0 -2
  10. package/ButtonToolbar/styles/index.css +0 -2
  11. package/CHANGELOG.md +28 -0
  12. package/Calendar/styles/index.css +0 -2
  13. package/Card/package.json +7 -0
  14. package/Card/styles/index.css +105 -0
  15. package/Card/styles/index.less +62 -0
  16. package/CardBody/package.json +7 -0
  17. package/CardFooter/package.json +7 -0
  18. package/CardGroup/package.json +7 -0
  19. package/CardGroup/styles/index.css +7 -0
  20. package/CardGroup/styles/index.less +8 -0
  21. package/CardHeader/package.json +7 -0
  22. package/Carousel/styles/index.css +0 -2
  23. package/CascadeTree/styles/index.css +0 -2
  24. package/Cascader/styles/index.css +0 -2
  25. package/CheckPicker/styles/index.css +0 -2
  26. package/CheckTree/styles/index.css +0 -2
  27. package/CheckTreePicker/styles/index.css +0 -2
  28. package/Checkbox/styles/index.css +0 -2
  29. package/CheckboxGroup/styles/index.css +0 -2
  30. package/Col/styles/index.css +0 -2
  31. package/Container/styles/index.css +0 -2
  32. package/Content/styles/index.css +0 -2
  33. package/DateInput/styles/index.css +0 -2
  34. package/DatePicker/styles/index.css +0 -2
  35. package/DateRangeInput/styles/index.css +0 -2
  36. package/DateRangePicker/styles/index.css +0 -2
  37. package/Divider/styles/index.css +0 -2
  38. package/Drawer/styles/index.css +0 -2
  39. package/Dropdown/styles/index.css +0 -2
  40. package/FlexboxGrid/styles/index.css +0 -2
  41. package/Footer/styles/index.css +0 -2
  42. package/Form/styles/index.css +0 -2
  43. package/FormControl/styles/index.css +0 -2
  44. package/FormControlLabel/styles/index.css +0 -2
  45. package/FormErrorMessage/styles/index.css +0 -2
  46. package/FormGroup/styles/index.css +0 -2
  47. package/FormHelpText/styles/index.css +0 -2
  48. package/Grid/styles/index.css +0 -2
  49. package/Header/styles/index.css +0 -2
  50. package/Heading/styles/index.css +0 -2
  51. package/HeadingGroup/styles/index.css +0 -2
  52. package/Highlight/styles/index.css +0 -2
  53. package/IconButton/styles/index.css +0 -2
  54. package/InlineEdit/styles/index.css +0 -2
  55. package/Input/styles/index.css +0 -2
  56. package/InputGroup/styles/index.css +0 -2
  57. package/InputNumber/styles/index.css +0 -2
  58. package/InputPicker/styles/index.css +0 -2
  59. package/List/styles/index.css +10 -14
  60. package/List/styles/index.less +12 -4
  61. package/Loader/styles/index.css +0 -2
  62. package/Message/styles/index.css +0 -2
  63. package/Modal/styles/index.css +0 -2
  64. package/MultiCascadeTree/styles/index.css +0 -2
  65. package/MultiCascader/styles/index.css +0 -2
  66. package/Nav/styles/index.css +0 -2
  67. package/Navbar/styles/index.css +0 -2
  68. package/Notification/styles/index.css +0 -2
  69. package/Pagination/styles/index.css +0 -2
  70. package/Panel/styles/index.css +0 -2
  71. package/PanelGroup/styles/index.css +0 -2
  72. package/Placeholder/styles/index.css +0 -2
  73. package/Popover/styles/index.css +0 -2
  74. package/Progress/styles/index.css +0 -2
  75. package/Radio/styles/index.css +0 -2
  76. package/RadioGroup/styles/index.css +0 -2
  77. package/RadioTile/styles/index.css +0 -2
  78. package/RadioTileGroup/styles/index.css +0 -2
  79. package/RangeSlider/styles/index.css +0 -2
  80. package/Rate/styles/index.css +0 -2
  81. package/Row/styles/index.css +0 -2
  82. package/SelectPicker/styles/index.css +0 -2
  83. package/Sidebar/styles/index.css +0 -2
  84. package/Sidenav/styles/index.css +0 -2
  85. package/Slider/styles/index.css +0 -2
  86. package/Stack/styles/index.css +0 -2
  87. package/Stat/package.json +7 -0
  88. package/Stat/styles/index.css +1749 -0
  89. package/Stat/styles/index.less +106 -0
  90. package/StatGroup/package.json +7 -0
  91. package/StatGroup/styles/index.css +7 -0
  92. package/StatGroup/styles/index.less +8 -0
  93. package/StatHelpText/package.json +7 -0
  94. package/StatLabel/package.json +7 -0
  95. package/StatTrend/package.json +7 -0
  96. package/StatValue/package.json +7 -0
  97. package/StatValueUnit/package.json +7 -0
  98. package/Steps/styles/index.css +0 -2
  99. package/Table/styles/index.css +0 -2
  100. package/Tabs/styles/index.css +0 -2
  101. package/Tag/styles/index.css +0 -2
  102. package/TagGroup/styles/index.css +0 -2
  103. package/TagInput/styles/index.css +0 -2
  104. package/TagPicker/styles/index.css +0 -2
  105. package/Text/styles/index.css +0 -2
  106. package/TimePicker/styles/index.css +0 -2
  107. package/TimeRangePicker/styles/index.css +0 -2
  108. package/Timeline/styles/index.css +0 -2
  109. package/Toggle/styles/index.css +0 -2
  110. package/Tooltip/styles/index.css +0 -2
  111. package/Tree/styles/index.css +0 -2
  112. package/TreePicker/styles/index.css +0 -2
  113. package/Uploader/styles/index.css +0 -2
  114. package/VisuallyHidden/styles/index.css +0 -2
  115. package/cjs/Affix/Affix.js +2 -2
  116. package/cjs/Animation/Transition.js +7 -7
  117. package/cjs/AutoComplete/AutoComplete.js +7 -7
  118. package/cjs/Avatar/useImage.js +1 -1
  119. package/cjs/Breadcrumb/Breadcrumb.js +1 -1
  120. package/cjs/Calendar/Calendar.js +3 -3
  121. package/cjs/Calendar/CalendarContainer.js +1 -1
  122. package/cjs/Calendar/Grid/GridRow.js +3 -3
  123. package/cjs/Calendar/MonthDropdown/MonthDropdownItem.js +1 -1
  124. package/cjs/Calendar/TimeDropdown/TimeDropdown.js +3 -3
  125. package/cjs/Calendar/hooks/useCalendarState.js +6 -6
  126. package/cjs/Card/Card.d.ts +33 -0
  127. package/cjs/Card/Card.js +63 -0
  128. package/cjs/Card/CardBody.d.ts +4 -0
  129. package/cjs/Card/CardBody.js +11 -0
  130. package/cjs/Card/CardFooter.d.ts +4 -0
  131. package/cjs/Card/CardFooter.js +11 -0
  132. package/cjs/Card/CardHeader.d.ts +4 -0
  133. package/cjs/Card/CardHeader.js +11 -0
  134. package/cjs/Card/index.d.ts +6 -0
  135. package/cjs/Card/index.js +8 -0
  136. package/cjs/CardGroup/CardGroup.d.ts +13 -0
  137. package/cjs/CardGroup/CardGroup.js +47 -0
  138. package/cjs/CardGroup/index.d.ts +3 -0
  139. package/cjs/CardGroup/index.js +8 -0
  140. package/cjs/Carousel/Carousel.js +4 -4
  141. package/cjs/CascadeTree/CascadeTree.js +1 -1
  142. package/cjs/CascadeTree/TreeView.js +1 -1
  143. package/cjs/CascadeTree/hooks/useSearch.js +4 -4
  144. package/cjs/CascadeTree/hooks/useSelect.js +2 -2
  145. package/cjs/Cascader/Cascader.js +13 -13
  146. package/cjs/Cascader/useActive.js +4 -4
  147. package/cjs/CheckPicker/CheckPicker.js +5 -5
  148. package/cjs/CheckTree/CheckTree.js +1 -1
  149. package/cjs/CheckTree/CheckTreeNode.js +3 -3
  150. package/cjs/CheckTree/CheckTreeView.js +7 -7
  151. package/cjs/CheckTree/utils.js +3 -3
  152. package/cjs/CheckTreePicker/CheckTreePicker.js +2 -2
  153. package/cjs/CheckTreePicker/hooks/useFocusState.js +3 -3
  154. package/cjs/Checkbox/Checkbox.js +2 -2
  155. package/cjs/CheckboxGroup/CheckboxGroup.js +1 -1
  156. package/cjs/CustomProvider/FormattedNumber.d.ts +7 -0
  157. package/cjs/CustomProvider/FormattedNumber.js +19 -0
  158. package/cjs/CustomProvider/index.d.ts +1 -0
  159. package/cjs/CustomProvider/index.js +3 -1
  160. package/cjs/CustomProvider/types.d.ts +8 -0
  161. package/cjs/CustomProvider/useCustom.d.ts +1 -0
  162. package/cjs/CustomProvider/useCustom.js +3 -1
  163. package/cjs/DateInput/DateField.js +2 -2
  164. package/cjs/DateInput/DateInput.js +2 -2
  165. package/cjs/DateInput/hooks/useDateInputState.js +2 -2
  166. package/cjs/DateInput/hooks/useIsFocused.js +2 -2
  167. package/cjs/DateInput/hooks/useKeyboardInputEvent.js +5 -5
  168. package/cjs/DatePicker/DatePicker.js +14 -14
  169. package/cjs/DatePicker/PredefinedRanges.js +1 -1
  170. package/cjs/DatePicker/hooks/useFocus.js +1 -1
  171. package/cjs/DatePicker/hooks/useMonthView.js +1 -1
  172. package/cjs/DateRangeInput/DateRangeInput.js +4 -4
  173. package/cjs/DateRangePicker/DateRangePicker.js +12 -9
  174. package/cjs/DateRangePicker/hooks/useCalendarHandlers.js +5 -5
  175. package/cjs/Dropdown/Dropdown.js +3 -3
  176. package/cjs/Dropdown/DropdownItem.js +2 -2
  177. package/cjs/Dropdown/DropdownMenu.js +1 -1
  178. package/cjs/Form/Form.js +8 -8
  179. package/cjs/Form/hooks/useFormValidate.js +19 -19
  180. package/cjs/FormControl/FormControl.js +5 -5
  181. package/cjs/FormControl/hooks/useField.js +1 -1
  182. package/cjs/FormControl/hooks/useRegisterModel.js +2 -2
  183. package/cjs/InlineEdit/renderChildren.js +1 -1
  184. package/cjs/InlineEdit/useEditState.js +7 -7
  185. package/cjs/InlineEdit/useFocusEvent.js +5 -5
  186. package/cjs/Input/Input.js +3 -3
  187. package/cjs/InputGroup/InputGroup.js +2 -2
  188. package/cjs/InputNumber/InputNumber.js +3 -3
  189. package/cjs/InputPicker/InputAutosize.js +1 -1
  190. package/cjs/InputPicker/InputPicker.js +13 -13
  191. package/cjs/InputPicker/InputSearch.js +1 -1
  192. package/cjs/InputPicker/hooks/useData.js +1 -1
  193. package/cjs/InputPicker/hooks/useInput.js +2 -2
  194. package/cjs/List/List.d.ts +19 -1
  195. package/cjs/List/List.js +11 -7
  196. package/cjs/List/ListItem.d.ts +1 -1
  197. package/cjs/List/helper/useSortHelper.js +10 -10
  198. package/cjs/MaskedInput/TextMask.js +3 -3
  199. package/cjs/Message/Message.js +1 -1
  200. package/cjs/Modal/Modal.js +6 -6
  201. package/cjs/Modal/utils.js +2 -2
  202. package/cjs/MultiCascadeTree/SearchView.js +1 -1
  203. package/cjs/MultiCascadeTree/TreeView.js +1 -1
  204. package/cjs/MultiCascadeTree/hooks/useCascadeValue.js +5 -5
  205. package/cjs/MultiCascadeTree/hooks/useSearch.js +1 -1
  206. package/cjs/MultiCascadeTree/hooks/useSelect.js +1 -1
  207. package/cjs/MultiCascadeTree/utils.js +9 -9
  208. package/cjs/MultiCascader/MultiCascader.js +5 -5
  209. package/cjs/Nav/Nav.js +2 -2
  210. package/cjs/Nav/NavDropdown.js +3 -3
  211. package/cjs/Nav/NavDropdownItem.js +2 -2
  212. package/cjs/Nav/NavDropdownMenu.js +1 -1
  213. package/cjs/Nav/NavItem.js +3 -3
  214. package/cjs/Navbar/NavbarDropdown.js +3 -3
  215. package/cjs/Navbar/NavbarDropdownItem.js +4 -4
  216. package/cjs/Navbar/NavbarItem.js +3 -3
  217. package/cjs/Notification/Notification.js +1 -1
  218. package/cjs/Pagination/PaginationButton.js +1 -1
  219. package/cjs/Pagination/PaginationGroup.js +3 -3
  220. package/cjs/Panel/AccordionButton.js +1 -0
  221. package/cjs/Panel/Panel.js +2 -2
  222. package/cjs/PanelGroup/PanelGroup.js +1 -1
  223. package/cjs/Placeholder/PlaceholderGrid.js +2 -2
  224. package/cjs/Placeholder/PlaceholderParagraph.js +1 -1
  225. package/cjs/Radio/Radio.js +2 -2
  226. package/cjs/RadioGroup/RadioGroup.js +1 -1
  227. package/cjs/RadioTile/RadioTile.js +2 -2
  228. package/cjs/RadioTileGroup/RadioTileGroup.js +1 -1
  229. package/cjs/RangeSlider/RangeSlider.js +5 -5
  230. package/cjs/Rate/Character.js +2 -2
  231. package/cjs/Rate/Rate.js +3 -3
  232. package/cjs/SafeAnchor/SafeAnchor.js +1 -1
  233. package/cjs/SelectPicker/SelectPicker.js +7 -7
  234. package/cjs/Sidebar/Sidebar.js +1 -1
  235. package/cjs/Sidenav/ExpandedSidenavDropdown.js +4 -4
  236. package/cjs/Sidenav/ExpandedSidenavDropdownItem.js +3 -3
  237. package/cjs/Sidenav/ExpandedSidenavDropdownMenu.js +2 -2
  238. package/cjs/Sidenav/Sidenav.js +1 -1
  239. package/cjs/Sidenav/SidenavDropdown.js +4 -4
  240. package/cjs/Sidenav/SidenavDropdownItem.js +2 -2
  241. package/cjs/Sidenav/SidenavDropdownMenu.js +1 -1
  242. package/cjs/Sidenav/SidenavItem.js +4 -4
  243. package/cjs/Sidenav/SidenavToggle.js +1 -1
  244. package/cjs/Slider/Graduated.js +1 -1
  245. package/cjs/Slider/Slider.js +3 -3
  246. package/cjs/Slider/useDrag.js +6 -6
  247. package/cjs/Stack/HStack.d.ts +6 -3
  248. package/cjs/Stack/HStack.js +1 -0
  249. package/cjs/Stack/Stack.d.ts +6 -2
  250. package/cjs/Stack/Stack.js +1 -1
  251. package/cjs/Stack/VStack.d.ts +6 -3
  252. package/cjs/Stack/VStack.js +1 -0
  253. package/cjs/Stat/Stat.d.ts +26 -0
  254. package/cjs/Stat/Stat.js +57 -0
  255. package/cjs/Stat/StatHelpText.d.ts +4 -0
  256. package/cjs/Stat/StatHelpText.js +11 -0
  257. package/cjs/Stat/StatLabel.d.ts +14 -0
  258. package/cjs/Stat/StatLabel.js +53 -0
  259. package/cjs/Stat/StatTrend.d.ts +7 -0
  260. package/cjs/Stat/StatTrend.js +68 -0
  261. package/cjs/Stat/StatValue.d.ts +7 -0
  262. package/cjs/Stat/StatValue.js +41 -0
  263. package/cjs/Stat/StatValueUnit.d.ts +4 -0
  264. package/cjs/Stat/StatValueUnit.js +11 -0
  265. package/cjs/Stat/index.d.ts +3 -0
  266. package/cjs/Stat/index.js +8 -0
  267. package/cjs/StatGroup/StatGroup.d.ts +13 -0
  268. package/cjs/StatGroup/StatGroup.js +47 -0
  269. package/cjs/StatGroup/index.d.ts +3 -0
  270. package/cjs/StatGroup/index.js +8 -0
  271. package/cjs/Table/Table.js +4 -2
  272. package/cjs/Tabs/Tabs.js +1 -1
  273. package/cjs/Timeline/Timeline.js +1 -1
  274. package/cjs/Toggle/Toggle.js +1 -1
  275. package/cjs/Tree/Tree.js +1 -1
  276. package/cjs/Tree/TreeNode.js +9 -9
  277. package/cjs/Tree/TreeView.js +7 -7
  278. package/cjs/Tree/hooks/useExpandTree.js +1 -1
  279. package/cjs/Tree/hooks/useFlattenTree.js +1 -1
  280. package/cjs/Tree/hooks/useFocusTree.js +6 -6
  281. package/cjs/Tree/hooks/useTreeDrag.js +17 -17
  282. package/cjs/Tree/hooks/useTreeSearch.js +1 -1
  283. package/cjs/Tree/utils/flattenTree.js +6 -6
  284. package/cjs/Tree/utils/focusableTree.js +6 -6
  285. package/cjs/Tree/utils/getNodeParentKeys.js +4 -4
  286. package/cjs/Tree/utils/treeKeyboardInteractions.js +2 -2
  287. package/cjs/TreePicker/TreePicker.js +5 -5
  288. package/cjs/TreePicker/hooks/useFocusState.js +4 -4
  289. package/cjs/Uploader/UploadFileItem.js +5 -5
  290. package/cjs/Uploader/UploadTrigger.js +11 -11
  291. package/cjs/Uploader/Uploader.js +16 -16
  292. package/cjs/Uploader/utils/ajaxUpload.js +5 -5
  293. package/cjs/index.d.ts +8 -0
  294. package/cjs/index.js +10 -2
  295. package/cjs/internals/Disclosure/Disclosure.js +3 -3
  296. package/cjs/internals/Disclosure/DisclosureButton.js +2 -2
  297. package/cjs/internals/Menu/Menu.js +3 -3
  298. package/cjs/internals/Menu/MenuItem.js +1 -1
  299. package/cjs/internals/Menu/Menubar.js +2 -2
  300. package/cjs/internals/Overlay/Modal.js +7 -7
  301. package/cjs/internals/Overlay/Overlay.js +1 -1
  302. package/cjs/internals/Overlay/OverlayTrigger.js +3 -3
  303. package/cjs/internals/Overlay/Position.js +5 -5
  304. package/cjs/internals/Picker/ListCheckItem.js +3 -3
  305. package/cjs/internals/Picker/ListItem.js +1 -1
  306. package/cjs/internals/Picker/Listbox.js +4 -4
  307. package/cjs/internals/Picker/PickerToggle.js +2 -2
  308. package/cjs/internals/Picker/SelectedElement.js +1 -1
  309. package/cjs/internals/Picker/hooks/useFocusItemValue.js +2 -2
  310. package/cjs/internals/Picker/hooks/usePickerRef.js +4 -4
  311. package/cjs/internals/Picker/hooks/useSearch.js +1 -1
  312. package/cjs/internals/Picker/hooks/useToggleKeyDownEvent.js +9 -9
  313. package/cjs/internals/Picker/utils.js +8 -8
  314. package/cjs/internals/Ripple/Ripple.js +2 -2
  315. package/cjs/internals/ScrollView/hooks/useScrollState.js +1 -1
  316. package/cjs/internals/Tree/utils/filterNodesOfTree.js +3 -3
  317. package/cjs/internals/Tree/utils/findNodeOfTree.js +3 -3
  318. package/cjs/internals/Tree/utils/getParentMap.js +3 -3
  319. package/cjs/internals/Windowing/AutoSizer.js +1 -1
  320. package/cjs/internals/Windowing/List.js +4 -4
  321. package/cjs/internals/hooks/useClickOutside.js +1 -1
  322. package/cjs/internals/hooks/useElementResize.js +1 -1
  323. package/cjs/internals/hooks/useEventListener.js +1 -1
  324. package/cjs/internals/hooks/useFocus.js +2 -2
  325. package/cjs/internals/hooks/useMount.js +1 -1
  326. package/cjs/internals/hooks/useRootClose.js +4 -4
  327. package/cjs/internals/hooks/useTimeout.js +1 -1
  328. package/cjs/internals/utils/stringifyReactNode.js +5 -5
  329. package/cjs/toaster/ToastContainer.d.ts +1 -0
  330. package/cjs/toaster/ToastContainer.js +19 -14
  331. package/cjs/toaster/hooks/useDelayedClosure.js +2 -2
  332. package/cjs/toaster/toaster.js +7 -7
  333. package/cjs/useToaster/useToaster.js +1 -1
  334. package/dist/rsuite-no-reset-rtl.css +240 -36
  335. package/dist/rsuite-no-reset-rtl.min.css +1 -1
  336. package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
  337. package/dist/rsuite-no-reset.css +240 -38
  338. package/dist/rsuite-no-reset.min.css +1 -1
  339. package/dist/rsuite-no-reset.min.css.map +1 -1
  340. package/dist/rsuite-rtl.css +240 -36
  341. package/dist/rsuite-rtl.min.css +1 -1
  342. package/dist/rsuite-rtl.min.css.map +1 -1
  343. package/dist/rsuite.css +240 -38
  344. package/dist/rsuite.js +386 -177
  345. package/dist/rsuite.js.map +1 -1
  346. package/dist/rsuite.min.css +1 -1
  347. package/dist/rsuite.min.css.map +1 -1
  348. package/dist/rsuite.min.js +1 -1
  349. package/dist/rsuite.min.js.map +1 -1
  350. package/esm/Affix/Affix.js +2 -2
  351. package/esm/Animation/Transition.js +7 -7
  352. package/esm/AutoComplete/AutoComplete.js +7 -7
  353. package/esm/Avatar/useImage.js +1 -1
  354. package/esm/Breadcrumb/Breadcrumb.js +1 -1
  355. package/esm/Calendar/Calendar.js +3 -3
  356. package/esm/Calendar/CalendarContainer.js +1 -1
  357. package/esm/Calendar/Grid/GridRow.js +3 -3
  358. package/esm/Calendar/MonthDropdown/MonthDropdownItem.js +1 -1
  359. package/esm/Calendar/TimeDropdown/TimeDropdown.js +3 -3
  360. package/esm/Calendar/hooks/useCalendarState.js +6 -6
  361. package/esm/Card/Card.d.ts +33 -0
  362. package/esm/Card/Card.js +58 -0
  363. package/esm/Card/CardBody.d.ts +4 -0
  364. package/esm/Card/CardBody.js +7 -0
  365. package/esm/Card/CardFooter.d.ts +4 -0
  366. package/esm/Card/CardFooter.js +7 -0
  367. package/esm/Card/CardHeader.d.ts +4 -0
  368. package/esm/Card/CardHeader.js +7 -0
  369. package/esm/Card/index.d.ts +6 -0
  370. package/esm/Card/index.js +3 -0
  371. package/esm/CardGroup/CardGroup.d.ts +13 -0
  372. package/esm/CardGroup/CardGroup.js +42 -0
  373. package/esm/CardGroup/index.d.ts +3 -0
  374. package/esm/CardGroup/index.js +3 -0
  375. package/esm/Carousel/Carousel.js +4 -4
  376. package/esm/CascadeTree/CascadeTree.js +1 -1
  377. package/esm/CascadeTree/TreeView.js +1 -1
  378. package/esm/CascadeTree/hooks/useSearch.js +4 -4
  379. package/esm/CascadeTree/hooks/useSelect.js +2 -2
  380. package/esm/Cascader/Cascader.js +13 -13
  381. package/esm/Cascader/useActive.js +4 -4
  382. package/esm/CheckPicker/CheckPicker.js +5 -5
  383. package/esm/CheckTree/CheckTree.js +1 -1
  384. package/esm/CheckTree/CheckTreeNode.js +3 -3
  385. package/esm/CheckTree/CheckTreeView.js +7 -7
  386. package/esm/CheckTree/utils.js +3 -3
  387. package/esm/CheckTreePicker/CheckTreePicker.js +2 -2
  388. package/esm/CheckTreePicker/hooks/useFocusState.js +3 -3
  389. package/esm/Checkbox/Checkbox.js +2 -2
  390. package/esm/CheckboxGroup/CheckboxGroup.js +1 -1
  391. package/esm/CustomProvider/FormattedNumber.d.ts +7 -0
  392. package/esm/CustomProvider/FormattedNumber.js +13 -0
  393. package/esm/CustomProvider/index.d.ts +1 -0
  394. package/esm/CustomProvider/index.js +1 -0
  395. package/esm/CustomProvider/types.d.ts +8 -0
  396. package/esm/CustomProvider/useCustom.d.ts +1 -0
  397. package/esm/CustomProvider/useCustom.js +3 -1
  398. package/esm/DateInput/DateField.js +2 -2
  399. package/esm/DateInput/DateInput.js +2 -2
  400. package/esm/DateInput/hooks/useDateInputState.js +2 -2
  401. package/esm/DateInput/hooks/useIsFocused.js +2 -2
  402. package/esm/DateInput/hooks/useKeyboardInputEvent.js +5 -5
  403. package/esm/DatePicker/DatePicker.js +14 -14
  404. package/esm/DatePicker/PredefinedRanges.js +1 -1
  405. package/esm/DatePicker/hooks/useFocus.js +1 -1
  406. package/esm/DatePicker/hooks/useMonthView.js +1 -1
  407. package/esm/DateRangeInput/DateRangeInput.js +4 -4
  408. package/esm/DateRangePicker/DateRangePicker.js +12 -9
  409. package/esm/DateRangePicker/hooks/useCalendarHandlers.js +5 -5
  410. package/esm/Dropdown/Dropdown.js +3 -3
  411. package/esm/Dropdown/DropdownItem.js +2 -2
  412. package/esm/Dropdown/DropdownMenu.js +1 -1
  413. package/esm/Form/Form.js +8 -8
  414. package/esm/Form/hooks/useFormValidate.js +19 -19
  415. package/esm/FormControl/FormControl.js +5 -5
  416. package/esm/FormControl/hooks/useField.js +1 -1
  417. package/esm/FormControl/hooks/useRegisterModel.js +2 -2
  418. package/esm/InlineEdit/renderChildren.js +1 -1
  419. package/esm/InlineEdit/useEditState.js +7 -7
  420. package/esm/InlineEdit/useFocusEvent.js +5 -5
  421. package/esm/Input/Input.js +3 -3
  422. package/esm/InputGroup/InputGroup.js +2 -2
  423. package/esm/InputNumber/InputNumber.js +3 -3
  424. package/esm/InputPicker/InputAutosize.js +1 -1
  425. package/esm/InputPicker/InputPicker.js +13 -13
  426. package/esm/InputPicker/InputSearch.js +1 -1
  427. package/esm/InputPicker/hooks/useData.js +1 -1
  428. package/esm/InputPicker/hooks/useInput.js +2 -2
  429. package/esm/List/List.d.ts +19 -1
  430. package/esm/List/List.js +11 -7
  431. package/esm/List/ListItem.d.ts +1 -1
  432. package/esm/List/helper/useSortHelper.js +10 -10
  433. package/esm/MaskedInput/TextMask.js +3 -3
  434. package/esm/Message/Message.js +1 -1
  435. package/esm/Modal/Modal.js +6 -6
  436. package/esm/Modal/utils.js +2 -2
  437. package/esm/MultiCascadeTree/SearchView.js +1 -1
  438. package/esm/MultiCascadeTree/TreeView.js +1 -1
  439. package/esm/MultiCascadeTree/hooks/useCascadeValue.js +5 -5
  440. package/esm/MultiCascadeTree/hooks/useSearch.js +1 -1
  441. package/esm/MultiCascadeTree/hooks/useSelect.js +1 -1
  442. package/esm/MultiCascadeTree/utils.js +13 -10
  443. package/esm/MultiCascader/MultiCascader.js +5 -5
  444. package/esm/Nav/Nav.js +2 -2
  445. package/esm/Nav/NavDropdown.js +3 -3
  446. package/esm/Nav/NavDropdownItem.js +2 -2
  447. package/esm/Nav/NavDropdownMenu.js +1 -1
  448. package/esm/Nav/NavItem.js +3 -3
  449. package/esm/Navbar/NavbarDropdown.js +3 -3
  450. package/esm/Navbar/NavbarDropdownItem.js +4 -4
  451. package/esm/Navbar/NavbarItem.js +3 -3
  452. package/esm/Notification/Notification.js +1 -1
  453. package/esm/Pagination/PaginationButton.js +1 -1
  454. package/esm/Pagination/PaginationGroup.js +3 -3
  455. package/esm/Panel/AccordionButton.js +1 -0
  456. package/esm/Panel/Panel.js +2 -2
  457. package/esm/PanelGroup/PanelGroup.js +1 -1
  458. package/esm/Placeholder/PlaceholderGrid.js +2 -2
  459. package/esm/Placeholder/PlaceholderParagraph.js +1 -1
  460. package/esm/Radio/Radio.js +2 -2
  461. package/esm/RadioGroup/RadioGroup.js +1 -1
  462. package/esm/RadioTile/RadioTile.js +2 -2
  463. package/esm/RadioTileGroup/RadioTileGroup.js +1 -1
  464. package/esm/RangeSlider/RangeSlider.js +5 -5
  465. package/esm/Rate/Character.js +2 -2
  466. package/esm/Rate/Rate.js +3 -3
  467. package/esm/SafeAnchor/SafeAnchor.js +1 -1
  468. package/esm/SelectPicker/SelectPicker.js +7 -7
  469. package/esm/Sidebar/Sidebar.js +1 -1
  470. package/esm/Sidenav/ExpandedSidenavDropdown.js +4 -4
  471. package/esm/Sidenav/ExpandedSidenavDropdownItem.js +3 -3
  472. package/esm/Sidenav/ExpandedSidenavDropdownMenu.js +2 -2
  473. package/esm/Sidenav/Sidenav.js +1 -1
  474. package/esm/Sidenav/SidenavDropdown.js +4 -4
  475. package/esm/Sidenav/SidenavDropdownItem.js +2 -2
  476. package/esm/Sidenav/SidenavDropdownMenu.js +1 -1
  477. package/esm/Sidenav/SidenavItem.js +4 -4
  478. package/esm/Sidenav/SidenavToggle.js +1 -1
  479. package/esm/Slider/Graduated.js +1 -1
  480. package/esm/Slider/Slider.js +3 -3
  481. package/esm/Slider/useDrag.js +6 -6
  482. package/esm/Stack/HStack.d.ts +6 -3
  483. package/esm/Stack/HStack.js +1 -0
  484. package/esm/Stack/Stack.d.ts +6 -2
  485. package/esm/Stack/Stack.js +1 -1
  486. package/esm/Stack/VStack.d.ts +6 -3
  487. package/esm/Stack/VStack.js +1 -0
  488. package/esm/Stat/Stat.d.ts +26 -0
  489. package/esm/Stat/Stat.js +52 -0
  490. package/esm/Stat/StatHelpText.d.ts +4 -0
  491. package/esm/Stat/StatHelpText.js +7 -0
  492. package/esm/Stat/StatLabel.d.ts +14 -0
  493. package/esm/Stat/StatLabel.js +48 -0
  494. package/esm/Stat/StatTrend.d.ts +7 -0
  495. package/esm/Stat/StatTrend.js +63 -0
  496. package/esm/Stat/StatValue.d.ts +7 -0
  497. package/esm/Stat/StatValue.js +36 -0
  498. package/esm/Stat/StatValueUnit.d.ts +4 -0
  499. package/esm/Stat/StatValueUnit.js +7 -0
  500. package/esm/Stat/index.d.ts +3 -0
  501. package/esm/Stat/index.js +3 -0
  502. package/esm/StatGroup/StatGroup.d.ts +13 -0
  503. package/esm/StatGroup/StatGroup.js +42 -0
  504. package/esm/StatGroup/index.d.ts +3 -0
  505. package/esm/StatGroup/index.js +3 -0
  506. package/esm/Table/Table.js +4 -2
  507. package/esm/Tabs/Tabs.js +1 -1
  508. package/esm/Timeline/Timeline.js +1 -1
  509. package/esm/Toggle/Toggle.js +1 -1
  510. package/esm/Tree/Tree.js +1 -1
  511. package/esm/Tree/TreeNode.js +9 -9
  512. package/esm/Tree/TreeView.js +7 -7
  513. package/esm/Tree/hooks/useExpandTree.js +1 -1
  514. package/esm/Tree/hooks/useFlattenTree.js +1 -1
  515. package/esm/Tree/hooks/useFocusTree.js +6 -6
  516. package/esm/Tree/hooks/useTreeDrag.js +17 -17
  517. package/esm/Tree/hooks/useTreeSearch.js +1 -1
  518. package/esm/Tree/utils/flattenTree.js +6 -6
  519. package/esm/Tree/utils/focusableTree.js +6 -6
  520. package/esm/Tree/utils/getNodeParentKeys.js +4 -4
  521. package/esm/Tree/utils/treeKeyboardInteractions.js +2 -2
  522. package/esm/TreePicker/TreePicker.js +5 -5
  523. package/esm/TreePicker/hooks/useFocusState.js +4 -4
  524. package/esm/Uploader/UploadFileItem.js +5 -5
  525. package/esm/Uploader/UploadTrigger.js +11 -11
  526. package/esm/Uploader/Uploader.js +16 -16
  527. package/esm/Uploader/utils/ajaxUpload.js +5 -5
  528. package/esm/index.d.ts +8 -0
  529. package/esm/index.js +4 -0
  530. package/esm/internals/Disclosure/Disclosure.js +3 -3
  531. package/esm/internals/Disclosure/DisclosureButton.js +2 -2
  532. package/esm/internals/Menu/Menu.js +3 -3
  533. package/esm/internals/Menu/MenuItem.js +1 -1
  534. package/esm/internals/Menu/Menubar.js +2 -2
  535. package/esm/internals/Overlay/Modal.js +7 -7
  536. package/esm/internals/Overlay/Overlay.js +1 -1
  537. package/esm/internals/Overlay/OverlayTrigger.js +3 -3
  538. package/esm/internals/Overlay/Position.js +5 -5
  539. package/esm/internals/Picker/ListCheckItem.js +3 -3
  540. package/esm/internals/Picker/ListItem.js +1 -1
  541. package/esm/internals/Picker/Listbox.js +4 -4
  542. package/esm/internals/Picker/PickerToggle.js +2 -2
  543. package/esm/internals/Picker/SelectedElement.js +1 -1
  544. package/esm/internals/Picker/hooks/useFocusItemValue.js +2 -2
  545. package/esm/internals/Picker/hooks/usePickerRef.js +4 -4
  546. package/esm/internals/Picker/hooks/useSearch.js +1 -1
  547. package/esm/internals/Picker/hooks/useToggleKeyDownEvent.js +9 -9
  548. package/esm/internals/Picker/utils.js +8 -8
  549. package/esm/internals/Ripple/Ripple.js +2 -2
  550. package/esm/internals/ScrollView/hooks/useScrollState.js +1 -1
  551. package/esm/internals/Tree/utils/filterNodesOfTree.js +3 -3
  552. package/esm/internals/Tree/utils/findNodeOfTree.js +3 -3
  553. package/esm/internals/Tree/utils/getParentMap.js +3 -3
  554. package/esm/internals/Windowing/AutoSizer.js +1 -1
  555. package/esm/internals/Windowing/List.js +4 -4
  556. package/esm/internals/hooks/useClickOutside.js +1 -1
  557. package/esm/internals/hooks/useElementResize.js +1 -1
  558. package/esm/internals/hooks/useEventListener.js +1 -1
  559. package/esm/internals/hooks/useFocus.js +2 -2
  560. package/esm/internals/hooks/useMount.js +1 -1
  561. package/esm/internals/hooks/useRootClose.js +4 -4
  562. package/esm/internals/hooks/useTimeout.js +1 -1
  563. package/esm/internals/utils/stringifyReactNode.js +5 -5
  564. package/esm/toaster/ToastContainer.d.ts +1 -0
  565. package/esm/toaster/ToastContainer.js +19 -14
  566. package/esm/toaster/hooks/useDelayedClosure.js +2 -2
  567. package/esm/toaster/toaster.js +7 -7
  568. package/esm/useToaster/useToaster.js +1 -1
  569. package/package.json +1 -1
  570. package/styles/color-modes/dark.less +6 -0
  571. package/styles/color-modes/high-contrast.less +6 -0
  572. package/styles/color-modes/light.less +6 -0
  573. package/styles/index.less +4 -0
  574. package/toaster/styles/index.css +24 -26
  575. package/toaster/styles/index.less +29 -29
  576. package/useToaster/styles/index.css +24 -26
@@ -322,5 +322,3 @@ tbody.rs-panel .rs-anim-collapse.rs-anim-in {
322
322
  transition: transform 0.3s linear;
323
323
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
324
324
  }
325
-
326
- /*# sourceMappingURL=index.css.map */
@@ -353,5 +353,3 @@ tbody.rs-anim-collapse.rs-anim-in {
353
353
  opacity: 1;
354
354
  pointer-events: auto;
355
355
  }
356
-
357
- /*# sourceMappingURL=index.css.map */
@@ -3233,5 +3233,3 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
3233
3233
  visibility: hidden;
3234
3234
  pointer-events: none;
3235
3235
  }
3236
-
3237
- /*# sourceMappingURL=index.css.map */
@@ -215,5 +215,3 @@
215
215
  --rs-avatar-bg: var(--rs-violet-500);
216
216
  --rs-avatar-ring-color: var(--rs-violet-500);
217
217
  }
218
-
219
- /*# sourceMappingURL=index.css.map */
@@ -36,5 +36,3 @@
36
36
  .rs-avatar-group-stack .rs-avatar:hover {
37
37
  margin-right: 0;
38
38
  }
39
-
40
- /*# sourceMappingURL=index.css.map */
@@ -115,5 +115,3 @@
115
115
  background-color: #673ab7;
116
116
  background-color: var(--rs-violet-500);
117
117
  }
118
-
119
- /*# sourceMappingURL=index.css.map */
@@ -66,5 +66,3 @@
66
66
  .rs-breadcrumb-separator {
67
67
  margin: 0 4px;
68
68
  }
69
-
70
- /*# sourceMappingURL=index.css.map */
@@ -1199,5 +1199,3 @@
1199
1199
  transform: rotate(360deg);
1200
1200
  }
1201
1201
  }
1202
-
1203
- /*# sourceMappingURL=index.css.map */
@@ -64,5 +64,3 @@
64
64
  text-overflow: ellipsis;
65
65
  white-space: nowrap;
66
66
  }
67
-
68
- /*# sourceMappingURL=index.css.map */
@@ -16,5 +16,3 @@
16
16
  .rs-btn-toolbar {
17
17
  line-height: 0;
18
18
  }
19
-
20
- /*# sourceMappingURL=index.css.map */
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ # [5.75.0](https://github.com/rsuite/rsuite/compare/v5.74.2...v5.75.0) (2024-12-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **useToaster:** fix the container parameter of `toaster.push` does not work ([#4057](https://github.com/rsuite/rsuite/issues/4057)) ([c0073c3](https://github.com/rsuite/rsuite/commit/c0073c37e087a15bfd5c7457418da2890b18b573))
7
+
8
+
9
+ ### Features
10
+
11
+ * **Card:** add support for Card ([#4061](https://github.com/rsuite/rsuite/issues/4061)) ([1c25622](https://github.com/rsuite/rsuite/commit/1c2562236d8be0b9a68862168e2bb4abd9e8b222))
12
+ * **List:** add support divider on List ([#4062](https://github.com/rsuite/rsuite/issues/4062)) ([7f170b7](https://github.com/rsuite/rsuite/commit/7f170b782c0c60ce9abafdcfae71feadb25c93c7))
13
+ * **Stat:** add support for Stat ([#4056](https://github.com/rsuite/rsuite/issues/4056)) ([c270e87](https://github.com/rsuite/rsuite/commit/c270e87f52d4881133eb73403102df5c9a5ad5a9))
14
+
15
+
16
+
17
+ ## [5.74.2](https://github.com/rsuite/rsuite/compare/v5.74.1...v5.74.2) (2024-11-08)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **CSS:** fix the problem of failing to load index.css.map ([#4041](https://github.com/rsuite/rsuite/issues/4041)) ([f7ac0a9](https://github.com/rsuite/rsuite/commit/f7ac0a92773406a6a134b6db2e10eb2f8b1284f8))
23
+ * **DateRangePicker:** fix the date range is not restored after deselecting ([#4039](https://github.com/rsuite/rsuite/issues/4039)) ([ecc71fa](https://github.com/rsuite/rsuite/commit/ecc71fa2dd54fa089f07a9803c1a967a91dabade))
24
+ * **Panel:** fix AccordionButton missing type causing form submission ([#4044](https://github.com/rsuite/rsuite/issues/4044)) ([56672fd](https://github.com/rsuite/rsuite/commit/56672fd6243517b3a057c4f5ddf874f3c3c2b44c))
25
+ * **Table:** fix the problem that the global locale configuration cannot be overridden ([#4037](https://github.com/rsuite/rsuite/issues/4037)) ([31d5b99](https://github.com/rsuite/rsuite/commit/31d5b991bad22522247848dec4478c3f44e420fc))
26
+
27
+
28
+
1
29
  ## [5.74.1](https://github.com/rsuite/rsuite/compare/v5.74.0...v5.74.1) (2024-11-01)
2
30
 
3
31
 
@@ -2064,5 +2064,3 @@
2064
2064
  transform: translateY(0);
2065
2065
  }
2066
2066
  }
2067
-
2068
- /*# sourceMappingURL=index.css.map */
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "rsuite/Card",
3
+ "private": true,
4
+ "main": "../cjs/Card/index.js",
5
+ "module": "../esm/Card/index.js",
6
+ "types": "../esm/Card/index.d.ts"
7
+ }
@@ -0,0 +1,105 @@
1
+ :root,
2
+ .rs-theme-light {
3
+ --rs-gray-0: #fff;
4
+ --rs-gray-100: #f2f2f5;
5
+ --rs-gray-200: #e5e5ea;
6
+ --rs-gray-600: #717273;
7
+ --rs-gray-900: #121212;
8
+ --rs-border-primary: var(--rs-gray-200);
9
+ --rs-card-bg: var(--rs-gray-0);
10
+ --rs-panel-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
11
+ }
12
+ .rs-theme-dark {
13
+ --rs-gray-0: #fff;
14
+ --rs-gray-100: #cbced4;
15
+ --rs-gray-200: #a4a9b3;
16
+ --rs-gray-600: #3c3f43;
17
+ --rs-gray-900: #0f131a;
18
+ --rs-border-primary: var(--rs-gray-600);
19
+ --rs-card-bg: var(--rs-gray-900);
20
+ --rs-panel-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
21
+ }
22
+ .rs-theme-high-contrast {
23
+ --rs-gray-0: #fff;
24
+ --rs-gray-100: #cbced4;
25
+ --rs-gray-200: #a4a9b3;
26
+ --rs-gray-600: #3c3f43;
27
+ --rs-gray-900: #0f131a;
28
+ --rs-border-primary: var(--rs-gray-100);
29
+ --rs-card-bg: var(--rs-gray-900);
30
+ --rs-panel-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
31
+ }
32
+ /* stylelint-disable */
33
+ *[class*='rs-'] {
34
+ -webkit-box-sizing: border-box;
35
+ box-sizing: border-box;
36
+ }
37
+ *[class*='rs-']::before,
38
+ *[class*='rs-']::after {
39
+ -webkit-box-sizing: border-box;
40
+ box-sizing: border-box;
41
+ }
42
+ .rs-card {
43
+ --rs-card-width: 100%;
44
+ --rs-card-padding: 16px;
45
+ display: -webkit-box;
46
+ display: -ms-flexbox;
47
+ display: flex;
48
+ -webkit-box-orient: vertical;
49
+ -webkit-box-direction: normal;
50
+ -ms-flex-direction: column;
51
+ flex-direction: column;
52
+ border-radius: 6px;
53
+ overflow: hidden;
54
+ -webkit-box-sizing: border-box;
55
+ box-sizing: border-box;
56
+ position: relative;
57
+ width: var(--rs-card-width);
58
+ }
59
+ .rs-card-bordered {
60
+ border: 1px solid #e5e5ea;
61
+ border: 1px solid var(--rs-border-primary);
62
+ background-color: #fff;
63
+ background-color: var(--rs-card-bg);
64
+ }
65
+ .rs-card-shaded {
66
+ -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
67
+ -webkit-box-shadow: var(--rs-panel-shadow);
68
+ box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
69
+ box-shadow: var(--rs-panel-shadow);
70
+ }
71
+ .rs-card-shaded-hover:hover {
72
+ -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
73
+ -webkit-box-shadow: var(--rs-panel-shadow);
74
+ box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.06);
75
+ box-shadow: var(--rs-panel-shadow);
76
+ cursor: pointer;
77
+ }
78
+ .rs-card-sm {
79
+ --rs-card-padding: 8px;
80
+ }
81
+ .rs-card-md {
82
+ --rs-card-padding: 16px;
83
+ }
84
+ .rs-card-lg {
85
+ --rs-card-padding: 24px;
86
+ }
87
+ .rs-card-row {
88
+ -webkit-box-orient: horizontal;
89
+ -webkit-box-direction: normal;
90
+ -ms-flex-direction: row;
91
+ flex-direction: row;
92
+ }
93
+ .rs-card-header {
94
+ padding: var(--rs-card-padding) var(--rs-card-padding) 0 var(--rs-card-padding);
95
+ }
96
+ .rs-card-body {
97
+ padding: var(--rs-card-padding);
98
+ }
99
+ .rs-card-footer {
100
+ display: -webkit-box;
101
+ display: -ms-flexbox;
102
+ display: flex;
103
+ gap: 8px;
104
+ padding: 0 var(--rs-card-padding) var(--rs-card-padding) var(--rs-card-padding);
105
+ }
@@ -0,0 +1,62 @@
1
+ @import '../../styles/common.less';
2
+
3
+ //
4
+ // Card
5
+ // --------------------------------------------------
6
+
7
+ .rs-card {
8
+ --rs-card-width: 100%;
9
+ --rs-card-padding: 16px;
10
+
11
+ display: flex;
12
+ flex-direction: column;
13
+ border-radius: 6px;
14
+ overflow: hidden;
15
+ box-sizing: border-box;
16
+ position: relative;
17
+ width: var(--rs-card-width);
18
+
19
+ &-bordered {
20
+ border: 1px solid var(--rs-border-primary);
21
+ background-color: var(--rs-card-bg);
22
+ }
23
+
24
+ &-shaded {
25
+ box-shadow: var(--rs-panel-shadow);
26
+ }
27
+
28
+ &-shaded-hover:hover {
29
+ box-shadow: var(--rs-panel-shadow);
30
+ cursor: pointer;
31
+ }
32
+
33
+ &-sm {
34
+ --rs-card-padding: 8px;
35
+ }
36
+
37
+ &-md {
38
+ --rs-card-padding: 16px;
39
+ }
40
+
41
+ &-lg {
42
+ --rs-card-padding: 24px;
43
+ }
44
+
45
+ &-row {
46
+ flex-direction: row;
47
+ }
48
+
49
+ &-header {
50
+ padding: var(--rs-card-padding) var(--rs-card-padding) 0 var(--rs-card-padding);
51
+ }
52
+
53
+ &-body {
54
+ padding: var(--rs-card-padding);
55
+ }
56
+
57
+ &-footer {
58
+ display: flex;
59
+ gap: 8px;
60
+ padding: 0 var(--rs-card-padding) var(--rs-card-padding) var(--rs-card-padding);
61
+ }
62
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "rsuite/CardBody",
3
+ "private": true,
4
+ "main": "../cjs/Card/CardBody.js",
5
+ "module": "../esm/Card/CardBody.js",
6
+ "types": "../esm/Card/CardBody.d.ts"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "rsuite/CardFooter",
3
+ "private": true,
4
+ "main": "../cjs/Card/CardFooter.js",
5
+ "module": "../esm/Card/CardFooter.js",
6
+ "types": "../esm/Card/CardFooter.d.ts"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "rsuite/CardGroup",
3
+ "private": true,
4
+ "main": "../cjs/CardGroup/index.js",
5
+ "module": "../esm/CardGroup/index.js",
6
+ "types": "../esm/CardGroup/index.d.ts"
7
+ }
@@ -0,0 +1,7 @@
1
+ .rs-card-group {
2
+ --rs-columns: 4;
3
+ --rs-spacing: 20px;
4
+ display: grid;
5
+ grid-template-columns: repeat(var(--rs-columns), 1fr);
6
+ grid-gap: var(--rs-spacing);
7
+ }
@@ -0,0 +1,8 @@
1
+ .rs-card-group {
2
+ --rs-columns: 4;
3
+ --rs-spacing: 20px;
4
+
5
+ display: grid;
6
+ grid-template-columns: repeat(var(--rs-columns), 1fr);
7
+ grid-gap: var(--rs-spacing);
8
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "rsuite/CardHeader",
3
+ "private": true,
4
+ "main": "../cjs/Card/CardHeader.js",
5
+ "module": "../esm/Card/CardHeader.js",
6
+ "types": "../esm/Card/CardHeader.d.ts"
7
+ }
@@ -266,5 +266,3 @@
266
266
  transform: translateY(-50%);
267
267
  }
268
268
  }
269
-
270
- /*# sourceMappingURL=index.css.map */
@@ -272,5 +272,3 @@
272
272
  font-size: 12px;
273
273
  font-size: 14px;
274
274
  }
275
-
276
- /*# sourceMappingURL=index.css.map */
@@ -3377,5 +3377,3 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
3377
3377
  text-overflow: ellipsis;
3378
3378
  white-space: nowrap;
3379
3379
  }
3380
-
3381
- /*# sourceMappingURL=index.css.map */
@@ -3530,5 +3530,3 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
3530
3530
  .rs-picker-check-menu-items.rs-picker-check-menu-grouped .rs-check-item .rs-checkbox-checker .rs-checkbox-control {
3531
3531
  left: 26px;
3532
3532
  }
3533
-
3534
- /*# sourceMappingURL=index.css.map */
@@ -3656,5 +3656,3 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
3656
3656
  display: inline-block;
3657
3657
  vertical-align: top;
3658
3658
  }
3659
-
3660
- /*# sourceMappingURL=index.css.map */
@@ -3674,5 +3674,3 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
3674
3674
  .rs-picker-popup .rs-check-tree-view {
3675
3675
  padding: 2px 4px;
3676
3676
  }
3677
-
3678
- /*# sourceMappingURL=index.css.map */
@@ -383,5 +383,3 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
383
383
  background-color: #673ab7;
384
384
  background-color: var(--rs-violet-500);
385
385
  }
386
-
387
- /*# sourceMappingURL=index.css.map */
@@ -26,5 +26,3 @@
26
26
  -ms-flex-direction: row;
27
27
  flex-direction: row;
28
28
  }
29
-
30
- /*# sourceMappingURL=index.css.map */
@@ -15,5 +15,3 @@
15
15
  padding-left: 5px;
16
16
  padding-right: 5px;
17
17
  }
18
-
19
- /*# sourceMappingURL=index.css.map */
@@ -26,5 +26,3 @@
26
26
  -ms-flex-direction: row;
27
27
  flex-direction: row;
28
28
  }
29
-
30
- /*# sourceMappingURL=index.css.map */
@@ -13,5 +13,3 @@
13
13
  -ms-flex: 1 1 auto;
14
14
  flex: 1 1 auto;
15
15
  }
16
-
17
- /*# sourceMappingURL=index.css.map */
@@ -194,5 +194,3 @@ textarea.rs-input-lg {
194
194
  textarea.rs-input-sm {
195
195
  height: auto;
196
196
  }
197
-
198
- /*# sourceMappingURL=index.css.map */
@@ -4152,5 +4152,3 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
4152
4152
  .rs-picker-popup .rs-calendar.rs-calendar-only-time .rs-calendar-time-dropdown-column > ul {
4153
4153
  height: 240px;
4154
4154
  }
4155
-
4156
- /*# sourceMappingURL=index.css.map */
@@ -194,5 +194,3 @@ textarea.rs-input-lg {
194
194
  textarea.rs-input-sm {
195
195
  height: auto;
196
196
  }
197
-
198
- /*# sourceMappingURL=index.css.map */
@@ -4252,5 +4252,3 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
4252
4252
  .rs-picker-daterange-predefined .rs-btn {
4253
4253
  display: block;
4254
4254
  }
4255
-
4256
- /*# sourceMappingURL=index.css.map */
@@ -70,5 +70,3 @@
70
70
  -ms-flex: 0 0 auto;
71
71
  flex: 0 0 auto;
72
72
  }
73
-
74
- /*# sourceMappingURL=index.css.map */
@@ -345,5 +345,3 @@
345
345
  .rs-drawer-footer .rs-btn-block + .rs-btn-block {
346
346
  margin-left: 0;
347
347
  }
348
-
349
- /*# sourceMappingURL=index.css.map */
@@ -1612,5 +1612,3 @@
1612
1612
  transform: scaleY(1);
1613
1613
  }
1614
1614
  }
1615
-
1616
- /*# sourceMappingURL=index.css.map */
@@ -325,5 +325,3 @@
325
325
  -ms-flex-order: 24;
326
326
  order: 24;
327
327
  }
328
-
329
- /*# sourceMappingURL=index.css.map */
@@ -31,5 +31,3 @@
31
31
  -ms-flex: 0 0 auto;
32
32
  flex: 0 0 auto;
33
33
  }
34
-
35
- /*# sourceMappingURL=index.css.map */
@@ -21,5 +21,3 @@
21
21
  margin-top: 8px;
22
22
  display: inline-block;
23
23
  }
24
-
25
- /*# sourceMappingURL=index.css.map */
@@ -52,5 +52,3 @@
52
52
  .rs-form-inline .rs-form-group .rs-sr-only + .rs-form-control-wrapper {
53
53
  margin-left: 0;
54
54
  }
55
-
56
- /*# sourceMappingURL=index.css.map */
@@ -31,5 +31,3 @@
31
31
  color: #717273;
32
32
  color: var(--rs-text-secondary);
33
33
  }
34
-
35
- /*# sourceMappingURL=index.css.map */
@@ -327,5 +327,3 @@
327
327
  bottom: 4px;
328
328
  }
329
329
  /* rtl:end:ignore */
330
-
331
- /*# sourceMappingURL=index.css.map */
@@ -64,5 +64,3 @@
64
64
  .rs-form-inline .rs-form-group {
65
65
  display: inline-block;
66
66
  }
67
-
68
- /*# sourceMappingURL=index.css.map */
@@ -42,5 +42,3 @@
42
42
  margin-left: 10px;
43
43
  margin-top: 8px;
44
44
  }
45
-
46
- /*# sourceMappingURL=index.css.map */
@@ -1865,5 +1865,3 @@
1865
1865
  display: none;
1866
1866
  }
1867
1867
  }
1868
-
1869
- /*# sourceMappingURL=index.css.map */
@@ -31,5 +31,3 @@
31
31
  -ms-flex: 0 0 auto;
32
32
  flex: 0 0 auto;
33
33
  }
34
-
35
- /*# sourceMappingURL=index.css.map */
@@ -38,5 +38,3 @@
38
38
  font-size: 16px;
39
39
  line-height: 22px;
40
40
  }
41
-
42
- /*# sourceMappingURL=index.css.map */
@@ -1,5 +1,3 @@
1
1
  .rs-heading-group {
2
2
  margin-bottom: 1rem;
3
3
  }
4
-
5
- /*# sourceMappingURL=index.css.map */
@@ -4,5 +4,3 @@
4
4
  font-weight: bolder;
5
5
  border-radius: 4px;
6
6
  }
7
-
8
- /*# sourceMappingURL=index.css.map */
@@ -1343,5 +1343,3 @@
1343
1343
  .rs-btn-icon-circle {
1344
1344
  border-radius: 50% !important;
1345
1345
  }
1346
-
1347
- /*# sourceMappingURL=index.css.map */
@@ -108,5 +108,3 @@ textarea.rs-inline-edit-lg .rs-plaintext {
108
108
  textarea.rs-inline-edit-sm .rs-plaintext {
109
109
  height: auto;
110
110
  }
111
-
112
- /*# sourceMappingURL=index.css.map */
@@ -194,5 +194,3 @@ textarea.rs-input-lg {
194
194
  textarea.rs-input-sm {
195
195
  height: auto;
196
196
  }
197
-
198
- /*# sourceMappingURL=index.css.map */
@@ -1777,5 +1777,3 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
1777
1777
  .rs-input-group-btn:last-child > .rs-btn-group {
1778
1778
  margin-left: -1px;
1779
1779
  }
1780
-
1781
- /*# sourceMappingURL=index.css.map */
@@ -2000,5 +2000,3 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
2000
2000
  /* stylelint-disable */
2001
2001
  -webkit-appearance: none;
2002
2002
  }
2003
-
2004
- /*# sourceMappingURL=index.css.map */
@@ -3403,5 +3403,3 @@ textarea.rs-picker-search-input {
3403
3403
  .rs-picker-input-xs .rs-picker-textbox {
3404
3404
  min-height: 22px;
3405
3405
  }
3406
-
3407
- /*# sourceMappingURL=index.css.map */