rsuite 5.74.0-beta.0 → 5.74.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.
- package/Animation/styles/animation.less +0 -0
- package/Animation/styles/mixin.less +0 -0
- package/AutoComplete/styles/index.css +1 -0
- package/Badge/styles/index.css +0 -0
- package/Badge/styles/index.less +0 -0
- package/ButtonGroup/styles/index.css +0 -0
- package/ButtonGroup/styles/index.less +0 -0
- package/CHANGELOG.md +30 -0
- package/Carousel/styles/index.css +0 -0
- package/Carousel/styles/index.less +0 -0
- package/CascadeTree/styles/index.css +1 -0
- package/CascadeTree/styles/index.less +2 -0
- package/Cascader/styles/index.css +2 -0
- package/CheckPicker/styles/index.css +1 -0
- package/CheckTree/styles/index.css +1 -0
- package/CheckTreePicker/styles/index.css +1 -0
- package/Container/styles/index.css +0 -0
- package/Container/styles/index.less +0 -0
- package/Content/styles/index.css +0 -0
- package/Content/styles/index.less +0 -0
- package/DatePicker/styles/index.css +1 -0
- package/DatePicker/styles/mixin.less +0 -0
- package/DateRangePicker/styles/index.css +1 -0
- package/Drawer/styles/mixin.less +0 -0
- package/FlexboxGrid/styles/index.css +0 -0
- package/FlexboxGrid/styles/index.less +0 -0
- package/Footer/styles/index.css +0 -0
- package/Footer/styles/index.less +0 -0
- package/Form/styles/index.css +0 -0
- package/Form/styles/index.less +0 -0
- package/FormControl/styles/index.css +0 -0
- package/FormControl/styles/index.less +0 -0
- package/FormControlLabel/styles/index.css +0 -0
- package/FormControlLabel/styles/index.less +0 -0
- package/FormErrorMessage/styles/animation.less +0 -0
- package/FormErrorMessage/styles/index.css +0 -0
- package/FormErrorMessage/styles/index.less +0 -0
- package/FormHelpText/styles/index.css +0 -0
- package/FormHelpText/styles/index.less +0 -0
- package/Grid/styles/grid-framework.less +0 -0
- package/Grid/styles/mixin.less +0 -0
- package/Header/styles/index.css +0 -0
- package/Header/styles/index.less +0 -0
- package/IconButton/styles/index.css +0 -0
- package/IconButton/styles/index.less +0 -0
- package/Input/styles/index.css +0 -0
- package/Input/styles/index.less +0 -0
- package/InputNumber/styles/index.css +8 -0
- package/InputNumber/styles/index.less +0 -0
- package/InputNumber/styles/mixin.less +1 -0
- package/InputPicker/styles/index.css +1 -0
- package/List/styles/index.css +0 -0
- package/List/styles/index.less +0 -0
- package/Modal/styles/animation.less +0 -0
- package/Modal/styles/mixin.less +0 -0
- package/MultiCascadeTree/styles/index.css +2 -0
- package/MultiCascader/styles/index.css +2 -0
- package/Notification/styles/mixin.less +0 -0
- package/Pagination/styles/index.css +1 -0
- package/Pagination/styles/mixin.less +0 -0
- package/PanelGroup/styles/index.css +0 -0
- package/PanelGroup/styles/index.less +0 -0
- package/Popover/styles/mixins.less +0 -0
- package/Progress/styles/animation.less +0 -0
- package/Radio/styles/mixin.less +0 -0
- package/Row/styles/index.css +0 -0
- package/Row/styles/index.less +0 -0
- package/SelectPicker/styles/index.css +1 -0
- package/Sidebar/styles/index.css +0 -0
- package/Sidebar/styles/index.less +0 -0
- package/Sidenav/styles/mixin.less +0 -0
- package/Stack/styles/index.css +0 -0
- package/Stack/styles/index.less +0 -0
- package/Table/styles/mixin.less +0 -0
- package/TagInput/styles/index.css +1 -0
- package/TagPicker/styles/index.css +1 -0
- package/TimePicker/styles/index.css +1 -0
- package/TimeRangePicker/styles/index.css +1 -0
- package/Timeline/styles/mixin.less +0 -0
- package/Tooltip/styles/index.css +0 -0
- package/Tooltip/styles/index.less +0 -0
- package/Tooltip/styles/mixins.less +0 -0
- package/Uploader/styles/mixin.less +0 -0
- package/cjs/Affix/index.js +0 -0
- package/cjs/Animation/index.js +0 -0
- package/cjs/Animation/utils.js +0 -0
- package/cjs/AutoComplete/index.js +0 -0
- package/cjs/Avatar/index.js +0 -0
- package/cjs/AvatarGroup/index.js +0 -0
- package/cjs/Badge/index.js +0 -0
- package/cjs/Breadcrumb/index.js +0 -0
- package/cjs/Button/index.js +0 -0
- package/cjs/ButtonGroup/index.js +0 -0
- package/cjs/ButtonToolbar/index.js +0 -0
- package/cjs/Carousel/index.js +0 -0
- package/cjs/CascadeTree/TreeView.js +4 -4
- package/cjs/Cascader/index.js +0 -0
- package/cjs/CheckPicker/index.js +0 -0
- package/cjs/CheckTreePicker/index.js +0 -0
- package/cjs/Checkbox/index.js +0 -0
- package/cjs/CheckboxGroup/CheckboxGroupContext.js +0 -0
- package/cjs/CheckboxGroup/index.js +0 -0
- package/cjs/Col/index.js +0 -0
- package/cjs/Container/index.js +0 -0
- package/cjs/Content/index.js +0 -0
- package/cjs/CustomProvider/index.d.ts +1 -0
- package/cjs/DOMHelper/isElement.js +0 -0
- package/cjs/DatePicker/DatePicker.js +2 -2
- package/cjs/Divider/index.js +0 -0
- package/cjs/Drawer/index.js +0 -0
- package/cjs/Dropdown/DropdownContext.js +0 -0
- package/cjs/Dropdown/DropdownState.js +0 -0
- package/cjs/Dropdown/index.js +0 -0
- package/cjs/Dropdown/useRenderDropdownItem.js +0 -0
- package/cjs/FlexboxGrid/index.js +0 -0
- package/cjs/Footer/index.js +0 -0
- package/cjs/Form/Form.js +1 -1
- package/cjs/FormControl/index.js +0 -0
- package/cjs/FormControlLabel/index.js +0 -0
- package/cjs/FormErrorMessage/index.js +0 -0
- package/cjs/FormHelpText/index.js +0 -0
- package/cjs/Grid/index.js +0 -0
- package/cjs/Header/index.js +0 -0
- package/cjs/IconButton/index.js +0 -0
- package/cjs/Input/index.js +0 -0
- package/cjs/InputGroup/index.js +0 -0
- package/cjs/InputNumber/InputNumber.js +4 -4
- package/cjs/InputNumber/index.js +0 -0
- package/cjs/List/helper/AutoScroller.js +0 -0
- package/cjs/List/index.js +0 -0
- package/cjs/Loader/index.js +0 -0
- package/cjs/MaskedInput/adjustCaretPosition.js +0 -0
- package/cjs/MaskedInput/conformToMask.js +0 -0
- package/cjs/MaskedInput/index.js +0 -0
- package/cjs/MaskedInput/types.js +0 -0
- package/cjs/MaskedInput/utilities.js +0 -0
- package/cjs/Message/index.js +0 -0
- package/cjs/MultiCascadeTree/TreeView.js +4 -4
- package/cjs/MultiCascader/index.js +0 -0
- package/cjs/Nav/index.js +0 -0
- package/cjs/Navbar/index.js +0 -0
- package/cjs/Notification/index.js +0 -0
- package/cjs/Pagination/index.js +0 -0
- package/cjs/Panel/AccordionButton.js +2 -2
- package/cjs/Panel/index.js +0 -0
- package/cjs/PanelGroup/index.js +0 -0
- package/cjs/Placeholder/index.js +0 -0
- package/cjs/Popover/index.js +0 -0
- package/cjs/Progress/index.js +0 -0
- package/cjs/Radio/index.js +0 -0
- package/cjs/RadioGroup/index.js +0 -0
- package/cjs/RangeSlider/index.js +0 -0
- package/cjs/Rate/Rate.js +1 -1
- package/cjs/Rate/index.js +0 -0
- package/cjs/Rate/utils.js +0 -0
- package/cjs/Row/index.js +0 -0
- package/cjs/SafeAnchor/index.js +0 -0
- package/cjs/Schema/index.js +0 -0
- package/cjs/SelectPicker/index.js +0 -0
- package/cjs/Sidebar/index.js +0 -0
- package/cjs/Sidenav/Node.js +0 -0
- package/cjs/Sidenav/index.js +0 -0
- package/cjs/Slider/Input.js +0 -0
- package/cjs/Slider/index.js +0 -0
- package/cjs/Steps/index.js +0 -0
- package/cjs/Tag/index.js +0 -0
- package/cjs/TagGroup/index.js +0 -0
- package/cjs/Timeline/index.js +0 -0
- package/cjs/Toggle/index.js +0 -0
- package/cjs/Tooltip/index.js +0 -0
- package/cjs/Tree/TreeNodeToggle.js +1 -1
- package/cjs/Tree/index.js +0 -0
- package/cjs/TreePicker/index.js +0 -0
- package/cjs/Uploader/UploadFileItem.js +1 -1
- package/cjs/Uploader/index.js +0 -0
- package/cjs/Whisper/index.js +0 -0
- package/cjs/internals/Picker/PickerIndicator.js +2 -1
- package/cjs/internals/hooks/useToggleCaret.js +8 -8
- package/dist/rsuite-no-reset-rtl.css +10 -0
- package/dist/rsuite-no-reset-rtl.min.css +1 -1
- package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
- package/dist/rsuite-no-reset.css +10 -0
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +10 -0
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +10 -0
- package/dist/rsuite.js +550 -594
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Affix/index.js +0 -0
- package/esm/Animation/index.js +0 -0
- package/esm/Animation/utils.js +0 -0
- package/esm/AutoComplete/index.js +0 -0
- package/esm/Avatar/index.js +0 -0
- package/esm/AvatarGroup/index.js +0 -0
- package/esm/Badge/index.js +0 -0
- package/esm/Breadcrumb/index.js +0 -0
- package/esm/Button/index.js +0 -0
- package/esm/ButtonGroup/index.js +0 -0
- package/esm/ButtonToolbar/index.js +0 -0
- package/esm/Carousel/index.js +0 -0
- package/esm/CascadeTree/TreeView.js +4 -4
- package/esm/Cascader/index.js +0 -0
- package/esm/CheckPicker/index.js +0 -0
- package/esm/CheckTreePicker/index.js +0 -0
- package/esm/Checkbox/index.js +0 -0
- package/esm/CheckboxGroup/CheckboxGroupContext.js +0 -0
- package/esm/CheckboxGroup/index.js +0 -0
- package/esm/Col/index.js +0 -0
- package/esm/Container/index.js +0 -0
- package/esm/Content/index.js +0 -0
- package/esm/CustomProvider/index.d.ts +1 -0
- package/esm/DOMHelper/isElement.js +0 -0
- package/esm/DatePicker/DatePicker.js +2 -2
- package/esm/Divider/index.js +0 -0
- package/esm/Drawer/index.js +0 -0
- package/esm/Dropdown/DropdownContext.js +0 -0
- package/esm/Dropdown/DropdownState.js +0 -0
- package/esm/Dropdown/index.js +0 -0
- package/esm/Dropdown/useRenderDropdownItem.js +0 -0
- package/esm/FlexboxGrid/index.js +0 -0
- package/esm/Footer/index.js +0 -0
- package/esm/Form/Form.js +1 -1
- package/esm/FormControl/index.js +0 -0
- package/esm/FormControlLabel/index.js +0 -0
- package/esm/FormErrorMessage/index.js +0 -0
- package/esm/FormHelpText/index.js +0 -0
- package/esm/Grid/index.js +0 -0
- package/esm/Header/index.js +0 -0
- package/esm/IconButton/index.js +0 -0
- package/esm/Input/index.js +0 -0
- package/esm/InputGroup/index.js +0 -0
- package/esm/InputNumber/InputNumber.js +4 -4
- package/esm/InputNumber/index.js +0 -0
- package/esm/List/helper/AutoScroller.js +0 -0
- package/esm/List/index.js +0 -0
- package/esm/Loader/index.js +0 -0
- package/esm/MaskedInput/adjustCaretPosition.js +0 -0
- package/esm/MaskedInput/conformToMask.js +0 -0
- package/esm/MaskedInput/index.js +0 -0
- package/esm/MaskedInput/types.js +0 -0
- package/esm/MaskedInput/utilities.js +0 -0
- package/esm/Message/index.js +0 -0
- package/esm/MultiCascadeTree/TreeView.js +4 -4
- package/esm/MultiCascader/index.js +0 -0
- package/esm/Nav/index.js +0 -0
- package/esm/Navbar/index.js +0 -0
- package/esm/Notification/index.js +0 -0
- package/esm/Pagination/index.js +0 -0
- package/esm/Panel/AccordionButton.js +2 -2
- package/esm/Panel/index.js +0 -0
- package/esm/PanelGroup/index.js +0 -0
- package/esm/Placeholder/index.js +0 -0
- package/esm/Popover/index.js +0 -0
- package/esm/Progress/index.js +0 -0
- package/esm/Radio/index.js +0 -0
- package/esm/RadioGroup/index.js +0 -0
- package/esm/RangeSlider/index.js +0 -0
- package/esm/Rate/Rate.js +1 -1
- package/esm/Rate/index.js +0 -0
- package/esm/Rate/utils.js +0 -0
- package/esm/Row/index.js +0 -0
- package/esm/SafeAnchor/index.js +0 -0
- package/esm/Schema/index.js +0 -0
- package/esm/SelectPicker/index.js +0 -0
- package/esm/Sidebar/index.js +0 -0
- package/esm/Sidenav/Node.js +0 -0
- package/esm/Sidenav/index.js +0 -0
- package/esm/Slider/Input.js +0 -0
- package/esm/Slider/index.js +0 -0
- package/esm/Steps/index.js +0 -0
- package/esm/Tag/index.js +0 -0
- package/esm/TagGroup/index.js +0 -0
- package/esm/Timeline/index.js +0 -0
- package/esm/Toggle/index.js +0 -0
- package/esm/Tooltip/index.js +0 -0
- package/esm/Tree/TreeNodeToggle.js +1 -1
- package/esm/Tree/index.js +0 -0
- package/esm/TreePicker/index.js +0 -0
- package/esm/Uploader/UploadFileItem.js +1 -1
- package/esm/Uploader/index.js +0 -0
- package/esm/Whisper/index.js +0 -0
- package/esm/internals/Picker/PickerIndicator.js +2 -1
- package/esm/internals/hooks/useToggleCaret.js +8 -8
- package/internals/Picker/styles/index.less +1 -0
- package/package.json +3 -2
- package/styles/mixins/hacks.less +0 -0
- package/styles/mixins/menu.less +0 -0
- package/styles/mixins/utilities.less +0 -0
- package/styles/scaffolding.less +0 -0
- package/styles/typography.less +0 -0
- package/toaster/styles/animation.less +0 -0
package/cjs/List/index.js
CHANGED
|
File without changes
|
package/cjs/Loader/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/cjs/MaskedInput/index.js
CHANGED
|
File without changes
|
package/cjs/MaskedInput/types.js
CHANGED
|
File without changes
|
|
File without changes
|
package/cjs/Message/index.js
CHANGED
|
File without changes
|
|
@@ -7,9 +7,9 @@ exports.default = void 0;
|
|
|
7
7
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
8
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _Spinner = _interopRequireDefault(require("@rsuite/icons/
|
|
11
|
-
var
|
|
12
|
-
var
|
|
10
|
+
var _Spinner = _interopRequireDefault(require("@rsuite/icons/Spinner"));
|
|
11
|
+
var _ArrowLeftLine = _interopRequireDefault(require("@rsuite/icons/ArrowLeftLine"));
|
|
12
|
+
var _ArrowRightLine = _interopRequireDefault(require("@rsuite/icons/ArrowRightLine"));
|
|
13
13
|
var _hooks = require("../internals/hooks");
|
|
14
14
|
var _utils = require("../internals/utils");
|
|
15
15
|
var _Picker = require("../internals/Picker");
|
|
@@ -90,7 +90,7 @@ var TreeView = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
90
90
|
|
|
91
91
|
// Use `value` in keys when If `value` is string or number
|
|
92
92
|
var onlyKey = typeof value === 'number' || typeof value === 'string' ? value : index;
|
|
93
|
-
var Icon = node.loading ? _Spinner.default : rtl ?
|
|
93
|
+
var Icon = node.loading ? _Spinner.default : rtl ? _ArrowLeftLine.default : _ArrowRightLine.default;
|
|
94
94
|
var active = value.some(function (v) {
|
|
95
95
|
return v === nodeValue;
|
|
96
96
|
});
|
|
File without changes
|
package/cjs/Nav/index.js
CHANGED
|
File without changes
|
package/cjs/Navbar/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/cjs/Pagination/index.js
CHANGED
|
File without changes
|
|
@@ -9,7 +9,7 @@ var _taggedTemplateLiteralLoose2 = _interopRequireDefault(require("@babel/runtim
|
|
|
9
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _Icon = _interopRequireDefault(require("@rsuite/icons/Icon"));
|
|
12
|
-
var
|
|
12
|
+
var _ArrowDownLine = _interopRequireDefault(require("@rsuite/icons/ArrowDownLine"));
|
|
13
13
|
var _hooks = require("../internals/hooks");
|
|
14
14
|
var _templateObject;
|
|
15
15
|
var _excluded = ["classPrefix", "expanded", "id", "className", "controlId", "children", "disabled", "caretAs"];
|
|
@@ -23,7 +23,7 @@ var AccordionButton = function AccordionButton(props) {
|
|
|
23
23
|
children = props.children,
|
|
24
24
|
disabled = props.disabled,
|
|
25
25
|
_props$caretAs = props.caretAs,
|
|
26
|
-
caretAs = _props$caretAs === void 0 ?
|
|
26
|
+
caretAs = _props$caretAs === void 0 ? _ArrowDownLine.default : _props$caretAs,
|
|
27
27
|
rest = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
28
28
|
var _useClassNames = (0, _hooks.useClassNames)(classPrefix),
|
|
29
29
|
prefix = _useClassNames.prefix,
|
package/cjs/Panel/index.js
CHANGED
|
File without changes
|
package/cjs/PanelGroup/index.js
CHANGED
|
File without changes
|
package/cjs/Placeholder/index.js
CHANGED
|
File without changes
|
package/cjs/Popover/index.js
CHANGED
|
File without changes
|
package/cjs/Progress/index.js
CHANGED
|
File without changes
|
package/cjs/Radio/index.js
CHANGED
|
File without changes
|
package/cjs/RadioGroup/index.js
CHANGED
|
File without changes
|
package/cjs/RangeSlider/index.js
CHANGED
|
File without changes
|
package/cjs/Rate/Rate.js
CHANGED
|
@@ -9,7 +9,7 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
var _isNil = _interopRequireDefault(require("lodash/isNil"));
|
|
12
|
-
var _Star = _interopRequireDefault(require("@rsuite/icons/
|
|
12
|
+
var _Star = _interopRequireDefault(require("@rsuite/icons/Star"));
|
|
13
13
|
var _Character = _interopRequireDefault(require("./Character"));
|
|
14
14
|
var _Plaintext = _interopRequireDefault(require("../internals/Plaintext"));
|
|
15
15
|
var _propTypes2 = require("../internals/propTypes");
|
package/cjs/Rate/index.js
CHANGED
|
File without changes
|
package/cjs/Rate/utils.js
CHANGED
|
File without changes
|
package/cjs/Row/index.js
CHANGED
|
File without changes
|
package/cjs/SafeAnchor/index.js
CHANGED
|
File without changes
|
package/cjs/Schema/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/cjs/Sidebar/index.js
CHANGED
|
File without changes
|
package/cjs/Sidenav/Node.js
CHANGED
|
File without changes
|
package/cjs/Sidenav/index.js
CHANGED
|
File without changes
|
package/cjs/Slider/Input.js
CHANGED
|
File without changes
|
package/cjs/Slider/index.js
CHANGED
|
File without changes
|
package/cjs/Steps/index.js
CHANGED
|
File without changes
|
package/cjs/Tag/index.js
CHANGED
|
File without changes
|
package/cjs/TagGroup/index.js
CHANGED
|
File without changes
|
package/cjs/Timeline/index.js
CHANGED
|
File without changes
|
package/cjs/Toggle/index.js
CHANGED
|
File without changes
|
package/cjs/Tooltip/index.js
CHANGED
|
File without changes
|
|
@@ -10,7 +10,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _ArrowDown = _interopRequireDefault(require("@rsuite/icons/ArrowDown"));
|
|
11
11
|
var _ArrowRight = _interopRequireDefault(require("@rsuite/icons/ArrowRight"));
|
|
12
12
|
var _ArrowLeft = _interopRequireDefault(require("@rsuite/icons/ArrowLeft"));
|
|
13
|
-
var _Spinner = _interopRequireDefault(require("@rsuite/icons/
|
|
13
|
+
var _Spinner = _interopRequireDefault(require("@rsuite/icons/Spinner"));
|
|
14
14
|
var _hooks = require("../internals/hooks");
|
|
15
15
|
var _TreeProvider = require("../internals/Tree/TreeProvider");
|
|
16
16
|
var _CustomProvider = require("../CustomProvider");
|
package/cjs/Tree/index.js
CHANGED
|
File without changes
|
package/cjs/TreePicker/index.js
CHANGED
|
File without changes
|
|
@@ -8,7 +8,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
8
8
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
var _Attachment = _interopRequireDefault(require("@rsuite/icons/
|
|
11
|
+
var _Attachment = _interopRequireDefault(require("@rsuite/icons/Attachment"));
|
|
12
12
|
var _Reload = _interopRequireDefault(require("@rsuite/icons/Reload"));
|
|
13
13
|
var _CloseButton = _interopRequireDefault(require("../internals/CloseButton"));
|
|
14
14
|
var _propTypes2 = require("../internals/propTypes");
|
package/cjs/Uploader/index.js
CHANGED
|
File without changes
|
package/cjs/Whisper/index.js
CHANGED
|
File without changes
|
|
@@ -44,7 +44,8 @@ var PickerIndicator = function PickerIndicator(_ref) {
|
|
|
44
44
|
}
|
|
45
45
|
return caretAs && /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
46
46
|
as: caretAs,
|
|
47
|
-
className: prefix('caret-icon')
|
|
47
|
+
className: prefix('caret-icon'),
|
|
48
|
+
"data-testid": "caret"
|
|
48
49
|
});
|
|
49
50
|
};
|
|
50
51
|
var props = Component === _InputGroup.default.Addon ? {
|
|
@@ -6,10 +6,10 @@ exports.__esModule = true;
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
exports.useToggleCaret = useToggleCaret;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
9
|
+
var _ArrowUpLine = _interopRequireDefault(require("@rsuite/icons/ArrowUpLine"));
|
|
10
|
+
var _ArrowDownLine = _interopRequireDefault(require("@rsuite/icons/ArrowDownLine"));
|
|
11
|
+
var _ArrowLeftLine = _interopRequireDefault(require("@rsuite/icons/ArrowLeftLine"));
|
|
12
|
+
var _ArrowRightLine = _interopRequireDefault(require("@rsuite/icons/ArrowRightLine"));
|
|
13
13
|
var _CustomProvider = require("../../CustomProvider");
|
|
14
14
|
function useToggleCaret(placement) {
|
|
15
15
|
var _useCustom = (0, _CustomProvider.useCustom)(),
|
|
@@ -17,14 +17,14 @@ function useToggleCaret(placement) {
|
|
|
17
17
|
return (0, _react.useMemo)(function () {
|
|
18
18
|
switch (true) {
|
|
19
19
|
case /^top/.test(placement):
|
|
20
|
-
return
|
|
20
|
+
return _ArrowUpLine.default;
|
|
21
21
|
case /^right/.test(placement):
|
|
22
|
-
return rtl ?
|
|
22
|
+
return rtl ? _ArrowLeftLine.default : _ArrowRightLine.default;
|
|
23
23
|
case /^left/.test(placement):
|
|
24
|
-
return rtl ?
|
|
24
|
+
return rtl ? _ArrowRightLine.default : _ArrowLeftLine.default;
|
|
25
25
|
case /^bottom/.test(placement):
|
|
26
26
|
default:
|
|
27
|
-
return
|
|
27
|
+
return _ArrowDownLine.default;
|
|
28
28
|
}
|
|
29
29
|
}, [placement, rtl]);
|
|
30
30
|
}
|
|
@@ -4002,6 +4002,7 @@ tbody.rs-anim-collapse.rs-anim-in {
|
|
|
4002
4002
|
left: 12px;
|
|
4003
4003
|
height: 20px;
|
|
4004
4004
|
font-size: 12px;
|
|
4005
|
+
font-size: 14px;
|
|
4005
4006
|
}
|
|
4006
4007
|
.rs-checkbox {
|
|
4007
4008
|
position: relative;
|
|
@@ -8881,6 +8882,8 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
8881
8882
|
.rs-input-number-touchspin-up > .rs-icon,
|
|
8882
8883
|
.rs-input-number-touchspin-down > .rs-icon {
|
|
8883
8884
|
height: 17px;
|
|
8885
|
+
color: #717273;
|
|
8886
|
+
color: var(--rs-text-secondary);
|
|
8884
8887
|
}
|
|
8885
8888
|
.rs-input-group-lg .rs-input-number-touchspin-up,
|
|
8886
8889
|
.rs-input-group-lg .rs-input-number-touchspin-down {
|
|
@@ -8889,6 +8892,8 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
8889
8892
|
.rs-input-group-lg .rs-input-number-touchspin-up > .rs-icon,
|
|
8890
8893
|
.rs-input-group-lg .rs-input-number-touchspin-down > .rs-icon {
|
|
8891
8894
|
height: 20px;
|
|
8895
|
+
color: #717273;
|
|
8896
|
+
color: var(--rs-text-secondary);
|
|
8892
8897
|
}
|
|
8893
8898
|
.rs-input-group-sm .rs-input-number-touchspin-up,
|
|
8894
8899
|
.rs-input-group-sm .rs-input-number-touchspin-down {
|
|
@@ -8897,6 +8902,8 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
8897
8902
|
.rs-input-group-sm .rs-input-number-touchspin-up > .rs-icon,
|
|
8898
8903
|
.rs-input-group-sm .rs-input-number-touchspin-down > .rs-icon {
|
|
8899
8904
|
height: 14px;
|
|
8905
|
+
color: #717273;
|
|
8906
|
+
color: var(--rs-text-secondary);
|
|
8900
8907
|
}
|
|
8901
8908
|
.rs-input-group-xs .rs-input-number-touchspin-up,
|
|
8902
8909
|
.rs-input-group-xs .rs-input-number-touchspin-down {
|
|
@@ -8905,6 +8912,8 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
8905
8912
|
.rs-input-group-xs .rs-input-number-touchspin-up > .rs-icon,
|
|
8906
8913
|
.rs-input-group-xs .rs-input-number-touchspin-down > .rs-icon {
|
|
8907
8914
|
height: 11px;
|
|
8915
|
+
color: #717273;
|
|
8916
|
+
color: var(--rs-text-secondary);
|
|
8908
8917
|
}
|
|
8909
8918
|
.rs-input-number-touchspin-up > .rs-icon,
|
|
8910
8919
|
.rs-input-number-touchspin-down > .rs-icon {
|
|
@@ -17433,6 +17442,7 @@ kbd.rs-text {
|
|
|
17433
17442
|
left: 12px;
|
|
17434
17443
|
height: 20px;
|
|
17435
17444
|
font-size: 12px;
|
|
17445
|
+
font-size: 16px;
|
|
17436
17446
|
color: #717273;
|
|
17437
17447
|
color: var(--rs-text-secondary);
|
|
17438
17448
|
}
|