rsuite 5.74.0-beta.0 → 5.74.1

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 (305) hide show
  1. package/Animation/styles/animation.less +0 -0
  2. package/Animation/styles/mixin.less +0 -0
  3. package/AutoComplete/styles/index.css +1 -0
  4. package/Badge/styles/index.css +0 -0
  5. package/Badge/styles/index.less +0 -0
  6. package/ButtonGroup/styles/index.css +0 -0
  7. package/ButtonGroup/styles/index.less +0 -0
  8. package/CHANGELOG.md +39 -0
  9. package/Carousel/styles/index.css +0 -0
  10. package/Carousel/styles/index.less +0 -0
  11. package/CascadeTree/styles/index.css +1 -0
  12. package/CascadeTree/styles/index.less +2 -0
  13. package/Cascader/styles/index.css +2 -0
  14. package/CheckPicker/styles/index.css +1 -0
  15. package/CheckTree/styles/index.css +1 -0
  16. package/CheckTreePicker/styles/index.css +1 -0
  17. package/Container/styles/index.css +0 -0
  18. package/Container/styles/index.less +0 -0
  19. package/Content/styles/index.css +0 -0
  20. package/Content/styles/index.less +0 -0
  21. package/DatePicker/styles/index.css +1 -0
  22. package/DatePicker/styles/mixin.less +0 -0
  23. package/DateRangePicker/styles/index.css +1 -0
  24. package/Drawer/styles/mixin.less +0 -0
  25. package/FlexboxGrid/styles/index.css +0 -0
  26. package/FlexboxGrid/styles/index.less +0 -0
  27. package/Footer/styles/index.css +0 -0
  28. package/Footer/styles/index.less +0 -0
  29. package/Form/styles/index.css +0 -0
  30. package/Form/styles/index.less +0 -0
  31. package/FormControl/styles/index.css +0 -0
  32. package/FormControl/styles/index.less +0 -0
  33. package/FormControlLabel/styles/index.css +0 -0
  34. package/FormControlLabel/styles/index.less +0 -0
  35. package/FormErrorMessage/styles/animation.less +0 -0
  36. package/FormErrorMessage/styles/index.css +0 -0
  37. package/FormErrorMessage/styles/index.less +0 -0
  38. package/FormHelpText/styles/index.css +0 -0
  39. package/FormHelpText/styles/index.less +0 -0
  40. package/Grid/styles/grid-framework.less +0 -0
  41. package/Grid/styles/mixin.less +0 -0
  42. package/Header/styles/index.css +0 -0
  43. package/Header/styles/index.less +0 -0
  44. package/IconButton/styles/index.css +0 -0
  45. package/IconButton/styles/index.less +0 -0
  46. package/Input/styles/index.css +0 -0
  47. package/Input/styles/index.less +0 -0
  48. package/InputNumber/styles/index.css +8 -0
  49. package/InputNumber/styles/index.less +0 -0
  50. package/InputNumber/styles/mixin.less +1 -0
  51. package/InputPicker/styles/index.css +1 -0
  52. package/List/styles/index.css +0 -0
  53. package/List/styles/index.less +0 -0
  54. package/Modal/styles/animation.less +0 -0
  55. package/Modal/styles/mixin.less +0 -0
  56. package/MultiCascadeTree/styles/index.css +2 -0
  57. package/MultiCascader/styles/index.css +2 -0
  58. package/Notification/styles/mixin.less +0 -0
  59. package/Pagination/styles/index.css +1 -0
  60. package/Pagination/styles/mixin.less +0 -0
  61. package/PanelGroup/styles/index.css +0 -0
  62. package/PanelGroup/styles/index.less +0 -0
  63. package/Popover/styles/mixins.less +0 -0
  64. package/Progress/styles/animation.less +0 -0
  65. package/Radio/styles/mixin.less +0 -0
  66. package/Row/styles/index.css +0 -0
  67. package/Row/styles/index.less +0 -0
  68. package/SelectPicker/styles/index.css +1 -0
  69. package/Sidebar/styles/index.css +0 -0
  70. package/Sidebar/styles/index.less +0 -0
  71. package/Sidenav/styles/mixin.less +0 -0
  72. package/Stack/styles/index.css +0 -0
  73. package/Stack/styles/index.less +0 -0
  74. package/Table/styles/mixin.less +0 -0
  75. package/TagInput/styles/index.css +1 -0
  76. package/TagPicker/styles/index.css +1 -0
  77. package/TimePicker/styles/index.css +1 -0
  78. package/TimeRangePicker/styles/index.css +1 -0
  79. package/Timeline/styles/mixin.less +0 -0
  80. package/Tooltip/styles/index.css +0 -0
  81. package/Tooltip/styles/index.less +0 -0
  82. package/Tooltip/styles/mixins.less +0 -0
  83. package/Uploader/styles/mixin.less +0 -0
  84. package/cjs/Affix/index.js +0 -0
  85. package/cjs/Animation/index.js +0 -0
  86. package/cjs/Animation/utils.js +0 -0
  87. package/cjs/AutoComplete/index.js +0 -0
  88. package/cjs/Avatar/index.js +0 -0
  89. package/cjs/AvatarGroup/index.js +0 -0
  90. package/cjs/Badge/index.js +0 -0
  91. package/cjs/Breadcrumb/index.js +0 -0
  92. package/cjs/Button/index.js +0 -0
  93. package/cjs/ButtonGroup/index.js +0 -0
  94. package/cjs/ButtonToolbar/index.js +0 -0
  95. package/cjs/Carousel/index.js +0 -0
  96. package/cjs/CascadeTree/TreeView.js +4 -4
  97. package/cjs/Cascader/index.js +0 -0
  98. package/cjs/CheckPicker/index.js +0 -0
  99. package/cjs/CheckTreePicker/index.js +0 -0
  100. package/cjs/Checkbox/index.js +0 -0
  101. package/cjs/CheckboxGroup/CheckboxGroupContext.js +0 -0
  102. package/cjs/CheckboxGroup/index.js +0 -0
  103. package/cjs/Col/index.js +0 -0
  104. package/cjs/Container/index.js +0 -0
  105. package/cjs/Content/index.js +0 -0
  106. package/cjs/CustomProvider/FormattedDate.d.ts +1 -1
  107. package/cjs/CustomProvider/FormattedDate.js +1 -0
  108. package/cjs/CustomProvider/index.d.ts +4 -3
  109. package/cjs/CustomProvider/index.js +3 -4
  110. package/cjs/DOMHelper/isElement.js +0 -0
  111. package/cjs/DatePicker/DatePicker.js +2 -2
  112. package/cjs/Divider/index.js +0 -0
  113. package/cjs/Drawer/index.js +0 -0
  114. package/cjs/Dropdown/DropdownContext.js +0 -0
  115. package/cjs/Dropdown/DropdownState.js +0 -0
  116. package/cjs/Dropdown/index.js +0 -0
  117. package/cjs/Dropdown/useRenderDropdownItem.js +0 -0
  118. package/cjs/FlexboxGrid/index.js +0 -0
  119. package/cjs/Footer/index.js +0 -0
  120. package/cjs/Form/Form.js +1 -1
  121. package/cjs/FormControl/index.js +0 -0
  122. package/cjs/FormControlLabel/index.js +0 -0
  123. package/cjs/FormErrorMessage/index.js +0 -0
  124. package/cjs/FormHelpText/index.js +0 -0
  125. package/cjs/Grid/index.js +0 -0
  126. package/cjs/Header/index.js +0 -0
  127. package/cjs/IconButton/index.js +0 -0
  128. package/cjs/Input/index.js +0 -0
  129. package/cjs/InputGroup/index.js +0 -0
  130. package/cjs/InputNumber/InputNumber.js +4 -4
  131. package/cjs/InputNumber/index.js +0 -0
  132. package/cjs/List/helper/AutoScroller.js +0 -0
  133. package/cjs/List/index.js +0 -0
  134. package/cjs/Loader/index.js +0 -0
  135. package/cjs/MaskedInput/adjustCaretPosition.js +0 -0
  136. package/cjs/MaskedInput/conformToMask.js +0 -0
  137. package/cjs/MaskedInput/index.js +0 -0
  138. package/cjs/MaskedInput/types.js +0 -0
  139. package/cjs/MaskedInput/utilities.js +0 -0
  140. package/cjs/Message/index.js +0 -0
  141. package/cjs/MultiCascadeTree/TreeView.js +4 -4
  142. package/cjs/MultiCascader/index.js +0 -0
  143. package/cjs/Nav/index.js +0 -0
  144. package/cjs/Navbar/index.js +0 -0
  145. package/cjs/Notification/index.js +0 -0
  146. package/cjs/Pagination/index.js +0 -0
  147. package/cjs/Panel/AccordionButton.js +2 -2
  148. package/cjs/Panel/index.js +0 -0
  149. package/cjs/PanelGroup/index.js +0 -0
  150. package/cjs/Placeholder/index.js +0 -0
  151. package/cjs/Popover/index.js +0 -0
  152. package/cjs/Progress/index.js +0 -0
  153. package/cjs/Radio/index.js +0 -0
  154. package/cjs/RadioGroup/index.js +0 -0
  155. package/cjs/RangeSlider/index.js +0 -0
  156. package/cjs/Rate/Rate.js +1 -1
  157. package/cjs/Rate/index.js +0 -0
  158. package/cjs/Rate/utils.js +0 -0
  159. package/cjs/Row/index.js +0 -0
  160. package/cjs/SafeAnchor/index.js +0 -0
  161. package/cjs/Schema/index.js +0 -0
  162. package/cjs/SelectPicker/index.js +0 -0
  163. package/cjs/Sidebar/index.js +0 -0
  164. package/cjs/Sidenav/Node.js +0 -0
  165. package/cjs/Sidenav/index.js +0 -0
  166. package/cjs/Slider/Input.js +0 -0
  167. package/cjs/Slider/index.js +0 -0
  168. package/cjs/Steps/index.js +0 -0
  169. package/cjs/Tag/index.js +0 -0
  170. package/cjs/TagGroup/index.js +0 -0
  171. package/cjs/Timeline/index.js +0 -0
  172. package/cjs/Toggle/index.js +0 -0
  173. package/cjs/Tooltip/index.js +0 -0
  174. package/cjs/Tree/TreeNodeToggle.js +1 -1
  175. package/cjs/Tree/index.js +0 -0
  176. package/cjs/TreePicker/index.js +0 -0
  177. package/cjs/Uploader/UploadFileItem.js +1 -1
  178. package/cjs/Uploader/index.js +0 -0
  179. package/cjs/Whisper/index.js +0 -0
  180. package/cjs/internals/Picker/PickerIndicator.js +2 -1
  181. package/cjs/internals/hooks/useToggleCaret.js +8 -8
  182. package/cjs/useToaster/useToaster.js +4 -1
  183. package/dist/rsuite-no-reset-rtl.css +10 -0
  184. package/dist/rsuite-no-reset-rtl.min.css +1 -1
  185. package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
  186. package/dist/rsuite-no-reset.css +10 -0
  187. package/dist/rsuite-no-reset.min.css +1 -1
  188. package/dist/rsuite-no-reset.min.css.map +1 -1
  189. package/dist/rsuite-rtl.css +10 -0
  190. package/dist/rsuite-rtl.min.css +1 -1
  191. package/dist/rsuite-rtl.min.css.map +1 -1
  192. package/dist/rsuite.css +10 -0
  193. package/dist/rsuite.js +552 -596
  194. package/dist/rsuite.js.map +1 -1
  195. package/dist/rsuite.min.css +1 -1
  196. package/dist/rsuite.min.css.map +1 -1
  197. package/dist/rsuite.min.js +1 -1
  198. package/dist/rsuite.min.js.map +1 -1
  199. package/esm/Affix/index.js +0 -0
  200. package/esm/Animation/index.js +0 -0
  201. package/esm/Animation/utils.js +0 -0
  202. package/esm/AutoComplete/index.js +0 -0
  203. package/esm/Avatar/index.js +0 -0
  204. package/esm/AvatarGroup/index.js +0 -0
  205. package/esm/Badge/index.js +0 -0
  206. package/esm/Breadcrumb/index.js +0 -0
  207. package/esm/Button/index.js +0 -0
  208. package/esm/ButtonGroup/index.js +0 -0
  209. package/esm/ButtonToolbar/index.js +0 -0
  210. package/esm/Carousel/index.js +0 -0
  211. package/esm/CascadeTree/TreeView.js +4 -4
  212. package/esm/Cascader/index.js +0 -0
  213. package/esm/CheckPicker/index.js +0 -0
  214. package/esm/CheckTreePicker/index.js +0 -0
  215. package/esm/Checkbox/index.js +0 -0
  216. package/esm/CheckboxGroup/CheckboxGroupContext.js +0 -0
  217. package/esm/CheckboxGroup/index.js +0 -0
  218. package/esm/Col/index.js +0 -0
  219. package/esm/Container/index.js +0 -0
  220. package/esm/Content/index.js +0 -0
  221. package/esm/CustomProvider/FormattedDate.d.ts +1 -1
  222. package/esm/CustomProvider/FormattedDate.js +1 -1
  223. package/esm/CustomProvider/index.d.ts +4 -3
  224. package/esm/CustomProvider/index.js +3 -3
  225. package/esm/DOMHelper/isElement.js +0 -0
  226. package/esm/DatePicker/DatePicker.js +2 -2
  227. package/esm/Divider/index.js +0 -0
  228. package/esm/Drawer/index.js +0 -0
  229. package/esm/Dropdown/DropdownContext.js +0 -0
  230. package/esm/Dropdown/DropdownState.js +0 -0
  231. package/esm/Dropdown/index.js +0 -0
  232. package/esm/Dropdown/useRenderDropdownItem.js +0 -0
  233. package/esm/FlexboxGrid/index.js +0 -0
  234. package/esm/Footer/index.js +0 -0
  235. package/esm/Form/Form.js +1 -1
  236. package/esm/FormControl/index.js +0 -0
  237. package/esm/FormControlLabel/index.js +0 -0
  238. package/esm/FormErrorMessage/index.js +0 -0
  239. package/esm/FormHelpText/index.js +0 -0
  240. package/esm/Grid/index.js +0 -0
  241. package/esm/Header/index.js +0 -0
  242. package/esm/IconButton/index.js +0 -0
  243. package/esm/Input/index.js +0 -0
  244. package/esm/InputGroup/index.js +0 -0
  245. package/esm/InputNumber/InputNumber.js +4 -4
  246. package/esm/InputNumber/index.js +0 -0
  247. package/esm/List/helper/AutoScroller.js +0 -0
  248. package/esm/List/index.js +0 -0
  249. package/esm/Loader/index.js +0 -0
  250. package/esm/MaskedInput/adjustCaretPosition.js +0 -0
  251. package/esm/MaskedInput/conformToMask.js +0 -0
  252. package/esm/MaskedInput/index.js +0 -0
  253. package/esm/MaskedInput/types.js +0 -0
  254. package/esm/MaskedInput/utilities.js +0 -0
  255. package/esm/Message/index.js +0 -0
  256. package/esm/MultiCascadeTree/TreeView.js +4 -4
  257. package/esm/MultiCascader/index.js +0 -0
  258. package/esm/Nav/index.js +0 -0
  259. package/esm/Navbar/index.js +0 -0
  260. package/esm/Notification/index.js +0 -0
  261. package/esm/Pagination/index.js +0 -0
  262. package/esm/Panel/AccordionButton.js +2 -2
  263. package/esm/Panel/index.js +0 -0
  264. package/esm/PanelGroup/index.js +0 -0
  265. package/esm/Placeholder/index.js +0 -0
  266. package/esm/Popover/index.js +0 -0
  267. package/esm/Progress/index.js +0 -0
  268. package/esm/Radio/index.js +0 -0
  269. package/esm/RadioGroup/index.js +0 -0
  270. package/esm/RangeSlider/index.js +0 -0
  271. package/esm/Rate/Rate.js +1 -1
  272. package/esm/Rate/index.js +0 -0
  273. package/esm/Rate/utils.js +0 -0
  274. package/esm/Row/index.js +0 -0
  275. package/esm/SafeAnchor/index.js +0 -0
  276. package/esm/Schema/index.js +0 -0
  277. package/esm/SelectPicker/index.js +0 -0
  278. package/esm/Sidebar/index.js +0 -0
  279. package/esm/Sidenav/Node.js +0 -0
  280. package/esm/Sidenav/index.js +0 -0
  281. package/esm/Slider/Input.js +0 -0
  282. package/esm/Slider/index.js +0 -0
  283. package/esm/Steps/index.js +0 -0
  284. package/esm/Tag/index.js +0 -0
  285. package/esm/TagGroup/index.js +0 -0
  286. package/esm/Timeline/index.js +0 -0
  287. package/esm/Toggle/index.js +0 -0
  288. package/esm/Tooltip/index.js +0 -0
  289. package/esm/Tree/TreeNodeToggle.js +1 -1
  290. package/esm/Tree/index.js +0 -0
  291. package/esm/TreePicker/index.js +0 -0
  292. package/esm/Uploader/UploadFileItem.js +1 -1
  293. package/esm/Uploader/index.js +0 -0
  294. package/esm/Whisper/index.js +0 -0
  295. package/esm/internals/Picker/PickerIndicator.js +2 -1
  296. package/esm/internals/hooks/useToggleCaret.js +8 -8
  297. package/esm/useToaster/useToaster.js +3 -1
  298. package/internals/Picker/styles/index.less +1 -0
  299. package/package.json +3 -2
  300. package/styles/mixins/hacks.less +0 -0
  301. package/styles/mixins/menu.less +0 -0
  302. package/styles/mixins/utilities.less +0 -0
  303. package/styles/scaffolding.less +0 -0
  304. package/styles/typography.less +0 -0
  305. package/toaster/styles/animation.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
File without changes
File without changes
File without changes
File without changes
@@ -3,13 +3,13 @@ import _extends from "@babel/runtime/helpers/esm/extends";
3
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
4
  var _excluded = ["as", "activeItemValue", "classPrefix", "className", "childrenKey", "disabledItemValues", "columnWidth", "columnHeight", "valueKey", "data", "cascadePaths", "loadingItemsSet", "labelKey", "style", "renderColumn", "renderTreeNode", "onSelect"];
5
5
  import React, { useEffect, useRef } from 'react';
6
- import SpinnerIcon from '@rsuite/icons/legacy/Spinner';
7
6
  import isUndefined from 'lodash/isUndefined';
8
7
  import isNil from 'lodash/isNil';
9
- import PagePreviousIcon from '@rsuite/icons/PagePrevious';
10
- import PageNextIcon from '@rsuite/icons/PageNext';
11
8
  import getPosition from 'dom-lib/getPosition';
12
9
  import scrollTop from 'dom-lib/scrollTop';
10
+ import SpinnerIcon from '@rsuite/icons/Spinner';
11
+ import ArrowLeftLineIcon from '@rsuite/icons/ArrowLeftLine';
12
+ import ArrowRightLineIcon from '@rsuite/icons/ArrowRightLine';
13
13
  import { shallowEqual, mergeRefs } from "../internals/utils/index.js";
14
14
  import { useClassNames, useEventCallback } from "../internals/hooks/index.js";
15
15
  import { ListItem, useCombobox } from "../internals/Picker/index.js";
@@ -111,7 +111,7 @@ var TreeView = /*#__PURE__*/React.forwardRef(function (props, ref) {
111
111
 
112
112
  // Use `value` in keys when If `value` is string or number
113
113
  var onlyKey = typeof value === 'number' || typeof value === 'string' ? value : index;
114
- var Icon = loading ? SpinnerIcon : rtl ? PagePreviousIcon : PageNextIcon;
114
+ var Icon = loading ? SpinnerIcon : rtl ? ArrowLeftLineIcon : ArrowRightLineIcon;
115
115
  return /*#__PURE__*/React.createElement(ListItem, {
116
116
  as: 'li',
117
117
  role: "treeitem",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/esm/Col/index.js CHANGED
File without changes
File without changes
File without changes
@@ -3,5 +3,5 @@ interface FormattedDateProps {
3
3
  date: Date;
4
4
  formatStr: string;
5
5
  }
6
- declare function FormattedDate({ date, formatStr }: FormattedDateProps): React.JSX.Element;
6
+ export declare function FormattedDate({ date, formatStr }: FormattedDateProps): React.JSX.Element;
7
7
  export default FormattedDate;
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import React from 'react';
3
3
  import { useCustom } from "./useCustom.js";
4
- function FormattedDate(_ref) {
4
+ export function FormattedDate(_ref) {
5
5
  var date = _ref.date,
6
6
  formatStr = _ref.formatStr;
7
7
  var _useCustom = useCustom('Calendar'),
@@ -1,6 +1,7 @@
1
- import CustomProvider, { CustomContext } from './CustomProvider';
2
- import FormattedDate from './FormattedDate';
3
- export { CustomContext, FormattedDate };
1
+ import CustomProvider from './CustomProvider';
2
+ export { FormattedDate } from './FormattedDate';
4
3
  export { useCustom } from './useCustom';
4
+ export { CustomContext } from './CustomProvider';
5
5
  export type { CustomProviderProps } from './CustomProvider';
6
+ export type { ReactSuiteComponents } from './types';
6
7
  export default CustomProvider;
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import CustomProvider, { CustomContext } from "./CustomProvider.js";
3
- import FormattedDate from "./FormattedDate.js";
4
- export { CustomContext, FormattedDate };
2
+ import CustomProvider from "./CustomProvider.js";
3
+ export { FormattedDate } from "./FormattedDate.js";
5
4
  export { useCustom } from "./useCustom.js";
5
+ export { CustomContext } from "./CustomProvider.js";
6
6
  export default CustomProvider;
File without changes
@@ -8,7 +8,7 @@ import React, { useMemo } from 'react';
8
8
  import PropTypes from 'prop-types';
9
9
  import mapValues from 'lodash/mapValues';
10
10
  import pick from 'lodash/pick';
11
- import CalendarIcon from '@rsuite/icons/Calendar';
11
+ import CalenderSimpleIcon from '@rsuite/icons/CalenderSimple';
12
12
  import TimeIcon from '@rsuite/icons/Time';
13
13
  import CalendarContainer from "../Calendar/CalendarContainer.js";
14
14
  import { useCalendarDate } from "../Calendar/hooks/index.js";
@@ -442,7 +442,7 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (props, ref) {
442
442
  if (caretAsProp === null) {
443
443
  return null;
444
444
  }
445
- return caretAsProp || (mode === DateMode.Time ? TimeIcon : CalendarIcon);
445
+ return caretAsProp || (mode === DateMode.Time ? TimeIcon : CalenderSimpleIcon);
446
446
  }, [caretAsProp, mode]);
447
447
  var handleTriggerClose = useEventCallback(function (cause) {
448
448
  var _props$onClose;
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/esm/Form/Form.js CHANGED
@@ -115,7 +115,7 @@ var Form = /*#__PURE__*/React.forwardRef(function (props, ref) {
115
115
  if (disabled || readOnly || plaintext) {
116
116
  return;
117
117
  }
118
- submit();
118
+ submit(event);
119
119
  });
120
120
  var handleReset = useEventCallback(function (event) {
121
121
  var _event$preventDefault2, _event$stopPropagatio2;
File without changes
File without changes
File without changes
File without changes
package/esm/Grid/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -5,9 +5,9 @@ var _excluded = ["as", "className", "classPrefix", "disabled", "decimalSeparator
5
5
  import React, { useEffect, useRef, useState, useMemo, useCallback } from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import isNil from 'lodash/isNil';
8
- import AngleUpIcon from '@rsuite/icons/legacy/AngleUp';
9
- import AngleDownIcon from '@rsuite/icons/legacy/AngleDown';
10
8
  import on from 'dom-lib/on';
9
+ import ArrowUpLineIcon from '@rsuite/icons/ArrowUpLine';
10
+ import ArrowDownLineIcon from '@rsuite/icons/ArrowDownLine';
11
11
  import InputGroup from "../InputGroup/InputGroup.js";
12
12
  import InputGroupAddon from "../InputGroup/InputGroupAddon.js";
13
13
  import Input from "../Input/index.js";
@@ -290,14 +290,14 @@ var InputNumber = /*#__PURE__*/React.forwardRef(function (props, ref) {
290
290
  onClick: handleStepUp,
291
291
  disabled: stepUpDisabled,
292
292
  "aria-label": "Increment"
293
- }, /*#__PURE__*/React.createElement(AngleUpIcon, null)), /*#__PURE__*/React.createElement(Button, {
293
+ }, /*#__PURE__*/React.createElement(ArrowUpLineIcon, null)), /*#__PURE__*/React.createElement(Button, {
294
294
  tabIndex: -1,
295
295
  appearance: buttonAppearance,
296
296
  className: prefix('touchspin-down'),
297
297
  onClick: handleStepDown,
298
298
  disabled: stepDownDisabled,
299
299
  "aria-label": "Decrement"
300
- }, /*#__PURE__*/React.createElement(AngleDownIcon, null))), postfix && /*#__PURE__*/React.createElement(InputGroupAddon, null, postfix));
300
+ }, /*#__PURE__*/React.createElement(ArrowDownLineIcon, null))), postfix && /*#__PURE__*/React.createElement(InputGroupAddon, null, postfix));
301
301
  });
302
302
  InputNumber.displayName = 'InputNumber';
303
303
  InputNumber.propTypes = {
File without changes
File without changes
package/esm/List/index.js 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
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
3
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
4
  var _excluded = ["as", "classPrefix", "className", "cascade", "cascadeData", "cascadePaths", "childrenKey", "disabledItemValues", "columnWidth", "columnHeight", "uncheckableItemValues", "value", "valueKey", "labelKey", "style", "renderTreeNode", "renderColumn", "onCheck", "onSelect"];
5
5
  import React from 'react';
6
- import SpinnerIcon from '@rsuite/icons/legacy/Spinner';
7
- import PagePreviousIcon from '@rsuite/icons/PagePrevious';
8
- import PageNextIcon from '@rsuite/icons/PageNext';
6
+ import SpinnerIcon from '@rsuite/icons/Spinner';
7
+ import ArrowLeftLineIcon from '@rsuite/icons/ArrowLeftLine';
8
+ import ArrowRightLineIcon from '@rsuite/icons/ArrowRightLine';
9
9
  import { useClassNames, useEventCallback } from "../internals/hooks/index.js";
10
10
  import { shallowEqual } from "../internals/utils/index.js";
11
11
  import { ListCheckItem, useCombobox } from "../internals/Picker/index.js";
@@ -85,7 +85,7 @@ var TreeView = /*#__PURE__*/React.forwardRef(function (props, ref) {
85
85
 
86
86
  // Use `value` in keys when If `value` is string or number
87
87
  var onlyKey = typeof value === 'number' || typeof value === 'string' ? value : index;
88
- var Icon = node.loading ? SpinnerIcon : rtl ? PagePreviousIcon : PageNextIcon;
88
+ var Icon = node.loading ? SpinnerIcon : rtl ? ArrowLeftLineIcon : ArrowRightLineIcon;
89
89
  var active = value.some(function (v) {
90
90
  return v === nodeValue;
91
91
  });
File without changes
package/esm/Nav/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -6,7 +6,7 @@ var _templateObject;
6
6
  var _excluded = ["classPrefix", "expanded", "id", "className", "controlId", "children", "disabled", "caretAs"];
7
7
  import React from 'react';
8
8
  import Icon from '@rsuite/icons/Icon';
9
- import AngleDownIcon from '@rsuite/icons/legacy/AngleDown';
9
+ import ArrowDownLineIcon from '@rsuite/icons/ArrowDownLine';
10
10
  import { useClassNames } from "../internals/hooks/index.js";
11
11
  var AccordionButton = function AccordionButton(props) {
12
12
  var _props$classPrefix = props.classPrefix,
@@ -18,7 +18,7 @@ var AccordionButton = function AccordionButton(props) {
18
18
  children = props.children,
19
19
  disabled = props.disabled,
20
20
  _props$caretAs = props.caretAs,
21
- caretAs = _props$caretAs === void 0 ? AngleDownIcon : _props$caretAs,
21
+ caretAs = _props$caretAs === void 0 ? ArrowDownLineIcon : _props$caretAs,
22
22
  rest = _objectWithoutPropertiesLoose(props, _excluded);
23
23
  var _useClassNames = useClassNames(classPrefix),
24
24
  prefix = _useClassNames.prefix,
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/esm/Rate/Rate.js CHANGED
@@ -5,7 +5,7 @@ var _excluded = ["as", "character", "className", "classPrefix", "disabled", "max
5
5
  import React, { useCallback, useEffect, useState } from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import isNil from 'lodash/isNil';
8
- import Star from '@rsuite/icons/legacy/Star';
8
+ import Star from '@rsuite/icons/Star';
9
9
  import Character from "./Character.js";
10
10
  import Plaintext from "../internals/Plaintext/index.js";
11
11
  import { oneOf } from "../internals/propTypes/index.js";
package/esm/Rate/index.js CHANGED
File without changes
package/esm/Rate/utils.js CHANGED
File without changes
package/esm/Row/index.js 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
package/esm/Tag/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,7 +6,7 @@ import React from 'react';
6
6
  import ArrowDownIcon from '@rsuite/icons/ArrowDown';
7
7
  import ArrowRightIcon from '@rsuite/icons/ArrowRight';
8
8
  import ArrowLeftIcon from '@rsuite/icons/ArrowLeft';
9
- import Spinner from '@rsuite/icons/legacy/Spinner';
9
+ import Spinner from '@rsuite/icons/Spinner';
10
10
  import { useClassNames } from "../internals/hooks/index.js";
11
11
  import { useTreeCustomRenderer } from "../internals/Tree/TreeProvider.js";
12
12
  import { useCustom } from "../CustomProvider/index.js";
package/esm/Tree/index.js CHANGED
File without changes
File without changes
@@ -4,7 +4,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
4
4
  var _excluded = ["as", "disabled", "allowReupload", "file", "classPrefix", "listType", "className", "removable", "maxPreviewFileSize", "locale", "renderFileInfo", "renderThumbnail", "onPreview", "onCancel", "onReupload"];
5
5
  import React, { useCallback, useEffect, useState } from 'react';
6
6
  import PropTypes from 'prop-types';
7
- import Attachment from '@rsuite/icons/legacy/Attachment';
7
+ import Attachment from '@rsuite/icons/Attachment';
8
8
  import Reload from '@rsuite/icons/Reload';
9
9
  import CloseButton from "../internals/CloseButton/index.js";
10
10
  import { oneOf } from "../internals/propTypes/index.js";
File without changes
File without changes
@@ -39,7 +39,8 @@ var PickerIndicator = function PickerIndicator(_ref) {
39
39
  }
40
40
  return caretAs && /*#__PURE__*/React.createElement(Icon, {
41
41
  as: caretAs,
42
- className: prefix('caret-icon')
42
+ className: prefix('caret-icon'),
43
+ "data-testid": "caret"
43
44
  });
44
45
  };
45
46
  var props = Component === InputGroup.Addon ? {
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  import { useMemo } from 'react';
3
- import AngleDownIcon from '@rsuite/icons/legacy/AngleDown';
4
- import AngleUpIcon from '@rsuite/icons/legacy/AngleUp';
5
- import AngleLeftIcon from '@rsuite/icons/legacy/AngleLeft';
6
- import AngleRightIcon from '@rsuite/icons/legacy/AngleRight';
3
+ import ArrowUpLineIcon from '@rsuite/icons/ArrowUpLine';
4
+ import ArrowDownLineIcon from '@rsuite/icons/ArrowDownLine';
5
+ import ArrowLeftLineIcon from '@rsuite/icons/ArrowLeftLine';
6
+ import ArrowRightLineIcon from '@rsuite/icons/ArrowRightLine';
7
7
  import { useCustom } from "../../CustomProvider/index.js";
8
8
  export function useToggleCaret(placement) {
9
9
  var _useCustom = useCustom(),
@@ -11,14 +11,14 @@ export function useToggleCaret(placement) {
11
11
  return useMemo(function () {
12
12
  switch (true) {
13
13
  case /^top/.test(placement):
14
- return AngleUpIcon;
14
+ return ArrowUpLineIcon;
15
15
  case /^right/.test(placement):
16
- return rtl ? AngleLeftIcon : AngleRightIcon;
16
+ return rtl ? ArrowLeftLineIcon : ArrowRightLineIcon;
17
17
  case /^left/.test(placement):
18
- return rtl ? AngleRightIcon : AngleLeftIcon;
18
+ return rtl ? ArrowRightLineIcon : ArrowLeftLineIcon;
19
19
  case /^bottom/.test(placement):
20
20
  default:
21
- return AngleDownIcon;
21
+ return ArrowDownLineIcon;
22
22
  }
23
23
  }, [placement, rtl]);
24
24
  }
@@ -1,7 +1,9 @@
1
1
  'use client';
2
2
  import { useMemo, useContext } from 'react';
3
3
  import toaster from "../toaster/index.js";
4
- import { CustomContext } from "../CustomProvider/index.js";
4
+ // From CustomProvider/CustomProvider.tsx import CustomContext instead of directly from 'CustomProvider/index.ts'
5
+ // because babel compiles commonjs, which causes CustomContext to be undefined
6
+ import { CustomContext } from "../CustomProvider/CustomProvider.js";
5
7
  /**
6
8
  * Toaster display brief, temporary notifications of actions, errors, or other events in an application.
7
9
  * It is often used with the Message and Notification components.
@@ -296,6 +296,7 @@
296
296
  // Extend Dropdown toggle caret style
297
297
  .combobox-indicator-icon();
298
298
 
299
+ font-size: 16px;
299
300
  color: var(--rs-text-secondary);
300
301
  }
301
302
 
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "rsuite",
3
- "version": "5.74.0-beta.0",
3
+ "version": "5.74.1",
4
4
  "description": "A suite of react components",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
7
7
  "typings": "esm/index.d.ts",
8
+ "homepage": "https://rsuitejs.com",
8
9
  "directories": {
9
10
  "lib": "cjs/"
10
11
  },
@@ -26,7 +27,7 @@
26
27
  "dependencies": {
27
28
  "@babel/runtime": "^7.20.1",
28
29
  "@juggle/resize-observer": "^3.4.0",
29
- "@rsuite/icons": "^1.2.0",
30
+ "@rsuite/icons": "^1.3.0",
30
31
  "@types/lodash": "^4.14.184",
31
32
  "@types/prop-types": "^15.7.5",
32
33
  "@types/react-window": "^1.8.5",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes