rsuite 6.0.0-canary-2025062016 → 6.0.0-canary-20250622
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/Accordion/styles/index.css +0 -78
- package/AutoComplete/styles/index.css +1 -79
- package/Avatar/styles/index.css +0 -78
- package/AvatarGroup/styles/index.css +0 -78
- package/Badge/styles/index.css +0 -78
- package/Box/styles/index.css +0 -78
- package/Breadcrumb/styles/index.css +0 -78
- package/Button/styles/index.css +0 -78
- package/ButtonGroup/styles/index.css +0 -78
- package/ButtonToolbar/styles/index.css +0 -82
- package/Calendar/styles/index.css +0 -78
- package/Card/styles/index.css +0 -78
- package/CardGroup/styles/index.css +0 -78
- package/Carousel/styles/index.css +0 -78
- package/CascadeTree/styles/index.css +0 -78
- package/Cascader/styles/index.css +1 -79
- package/Center/styles/index.css +0 -78
- package/CheckPicker/styles/index.css +1 -79
- package/CheckTree/styles/index.css +1 -79
- package/CheckTreePicker/styles/index.css +1 -79
- package/Checkbox/styles/index.css +0 -78
- package/CheckboxGroup/styles/index.css +0 -78
- package/Container/styles/index.css +0 -78
- package/Content/styles/index.css +0 -78
- package/DateInput/styles/index.css +0 -78
- package/DatePicker/styles/index.css +1 -79
- package/DateRangeInput/styles/index.css +0 -78
- package/DateRangePicker/styles/index.css +1 -79
- package/Divider/styles/index.css +0 -78
- package/Drawer/styles/index.css +0 -78
- package/Dropdown/styles/index.css +0 -78
- package/FlexboxGrid/styles/index.css +0 -78
- package/Footer/styles/index.css +0 -78
- package/Form/styles/index.css +0 -78
- package/FormControl/styles/index.css +0 -78
- package/FormControlLabel/styles/index.css +0 -78
- package/FormErrorMessage/styles/index.css +0 -78
- package/FormGroup/styles/index.css +0 -78
- package/FormHelpText/styles/index.css +0 -78
- package/FormStack/styles/index.css +0 -78
- package/Grid/styles/index.css +0 -78
- package/Header/styles/index.css +0 -78
- package/Heading/styles/index.css +0 -78
- package/HeadingGroup/styles/index.css +0 -78
- package/Highlight/styles/index.css +0 -78
- package/IconButton/styles/index.css +0 -78
- package/Image/styles/index.css +0 -78
- package/InlineEdit/styles/index.css +0 -78
- package/Input/styles/index.css +0 -78
- package/InputGroup/styles/index.css +1 -79
- package/InputNumber/styles/index.css +1 -79
- package/InputPicker/styles/index.css +1 -79
- package/Kbd/styles/index.css +0 -78
- package/Link/styles/index.css +0 -78
- package/List/styles/index.css +0 -78
- package/Loader/styles/index.css +0 -78
- package/Menu/styles/index.css +0 -78
- package/Message/styles/index.css +0 -78
- package/Modal/styles/index.css +0 -78
- package/MultiCascadeTree/styles/index.css +1 -79
- package/MultiCascader/styles/index.css +1 -79
- package/Nav/styles/index.css +0 -78
- package/Navbar/styles/index.css +0 -78
- package/Notification/styles/index.css +0 -78
- package/NumberInput/styles/index.css +1 -79
- package/Pagination/styles/index.css +1 -79
- package/Panel/styles/index.css +0 -78
- package/PanelGroup/styles/index.css +0 -78
- package/PasswordInput/styles/index.css +1 -79
- package/PasswordStrengthMeter/styles/index.css +0 -78
- package/PinInput/styles/index.css +0 -78
- package/Placeholder/styles/index.css +0 -78
- package/Popover/styles/index.css +0 -78
- package/Progress/styles/index.css +0 -78
- package/ProgressCircle/styles/index.css +0 -78
- package/Radio/styles/index.css +0 -78
- package/RadioGroup/styles/index.css +0 -78
- package/RadioTile/styles/index.css +0 -78
- package/RangeSlider/styles/index.css +0 -78
- package/Rate/styles/index.css +0 -78
- package/SegmentedControl/styles/index.css +2 -0
- package/SelectPicker/styles/index.css +1 -79
- package/Sidebar/styles/index.css +0 -78
- package/Sidenav/styles/index.css +0 -78
- package/Slider/styles/index.css +0 -78
- package/Stack/styles/index.css +0 -78
- package/Stat/styles/index.css +0 -78
- package/StatGroup/styles/index.css +0 -78
- package/Steps/styles/index.css +0 -78
- package/Table/styles/index.css +0 -78
- package/Tabs/styles/index.css +0 -78
- package/Tag/styles/index.css +0 -78
- package/TagGroup/styles/index.css +0 -78
- package/TagInput/styles/index.css +1 -79
- package/TagPicker/styles/index.css +1 -79
- package/Text/styles/index.css +0 -78
- package/Textarea/styles/index.css +0 -78
- package/TimePicker/styles/index.css +1 -79
- package/TimeRangePicker/styles/index.css +1 -79
- package/Timeline/styles/index.css +0 -78
- package/Toggle/styles/index.css +0 -78
- package/Tooltip/styles/index.css +0 -78
- package/Tree/styles/index.css +1 -79
- package/TreePicker/styles/index.css +1 -79
- package/Uploader/styles/index.css +0 -78
- package/cjs/ButtonToolbar/ButtonToolbar.js +2 -0
- package/cjs/InputPicker/utils.d.ts +1 -1
- package/cjs/Nav/Nav.d.ts +2 -3
- package/cjs/Stack/Stack.js +20 -5
- package/cjs/Stack/utils.d.ts +9 -0
- package/cjs/Stack/utils.js +38 -0
- package/cjs/Tabs/Tabs.d.ts +4 -2
- package/cjs/internals/Box/Box.d.ts +27 -27
- package/cjs/internals/Box/Box.js +13 -8
- package/cjs/internals/Box/utils.d.ts +4 -1
- package/cjs/internals/Box/utils.js +154 -13
- package/cjs/internals/constants/index.js +2 -2
- package/cjs/internals/hooks/useStyled.d.ts +60 -0
- package/cjs/internals/hooks/useStyled.js +257 -0
- package/cjs/internals/utils/colours.js +1 -1
- package/cjs/internals/utils/style-sheet/index.d.ts +1 -0
- package/cjs/internals/utils/style-sheet/index.js +6 -0
- package/cjs/internals/utils/style-sheet/style-manager.d.ts +50 -0
- package/cjs/internals/utils/style-sheet/style-manager.js +97 -0
- package/dist/rsuite-no-reset.css +3 -83
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite.css +3 -83
- package/dist/rsuite.js +42 -9
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/ButtonToolbar/ButtonToolbar.js +2 -0
- package/esm/InputPicker/utils.d.ts +1 -1
- package/esm/Nav/Nav.d.ts +2 -3
- package/esm/Stack/Stack.js +21 -6
- package/esm/Stack/utils.d.ts +9 -0
- package/esm/Stack/utils.js +35 -0
- package/esm/Tabs/Tabs.d.ts +4 -2
- package/esm/internals/Box/Box.d.ts +27 -27
- package/esm/internals/Box/Box.js +9 -4
- package/esm/internals/Box/utils.d.ts +4 -1
- package/esm/internals/Box/utils.js +153 -13
- package/esm/internals/constants/index.js +2 -2
- package/esm/internals/hooks/useStyled.d.ts +60 -0
- package/esm/internals/hooks/useStyled.js +251 -0
- package/esm/internals/utils/colours.js +1 -1
- package/esm/internals/utils/style-sheet/index.d.ts +1 -0
- package/esm/internals/utils/style-sheet/index.js +2 -1
- package/esm/internals/utils/style-sheet/style-manager.d.ts +50 -0
- package/esm/internals/utils/style-sheet/style-manager.js +93 -0
- package/package.json +1 -1
package/dist/rsuite.css
CHANGED
|
@@ -1592,84 +1592,6 @@ body{
|
|
|
1592
1592
|
--rs-box-shadow-lg:var(--rs-shadow-lg);
|
|
1593
1593
|
--rs-box-shadow-xl:var(--rs-shadow-xl);
|
|
1594
1594
|
}
|
|
1595
|
-
[data-rs=box][style*="--rs-box-p"]{
|
|
1596
|
-
padding:var(--rs-box-p);
|
|
1597
|
-
}
|
|
1598
|
-
[data-rs=box][style*="--rs-box-pt"]{
|
|
1599
|
-
padding-top:var(--rs-box-pt);
|
|
1600
|
-
}
|
|
1601
|
-
[data-rs=box][style*="--rs-box-pb"]{
|
|
1602
|
-
padding-bottom:var(--rs-box-pb);
|
|
1603
|
-
}
|
|
1604
|
-
[data-rs=box][style*="--rs-box-pl"]{
|
|
1605
|
-
padding-left:var(--rs-box-pl);
|
|
1606
|
-
}
|
|
1607
|
-
[data-rs=box][style*="--rs-box-pr"]{
|
|
1608
|
-
padding-right:var(--rs-box-pr);
|
|
1609
|
-
}
|
|
1610
|
-
[data-rs=box][style*="--rs-box-px"]{
|
|
1611
|
-
padding-inline:var(--rs-box-px);
|
|
1612
|
-
}
|
|
1613
|
-
[data-rs=box][style*="--rs-box-py"]{
|
|
1614
|
-
padding-block:var(--rs-box-py);
|
|
1615
|
-
}
|
|
1616
|
-
[data-rs=box][style*="--rs-box-m"]{
|
|
1617
|
-
margin:var(--rs-box-m);
|
|
1618
|
-
}
|
|
1619
|
-
[data-rs=box][style*="--rs-box-mt"]{
|
|
1620
|
-
margin-top:var(--rs-box-mt);
|
|
1621
|
-
}
|
|
1622
|
-
[data-rs=box][style*="--rs-box-mb"]{
|
|
1623
|
-
margin-bottom:var(--rs-box-mb);
|
|
1624
|
-
}
|
|
1625
|
-
[data-rs=box][style*="--rs-box-ml"]{
|
|
1626
|
-
margin-left:var(--rs-box-ml);
|
|
1627
|
-
}
|
|
1628
|
-
[data-rs=box][style*="--rs-box-mr"]{
|
|
1629
|
-
margin-right:var(--rs-box-mr);
|
|
1630
|
-
}
|
|
1631
|
-
[data-rs=box][style*="--rs-box-mx"]{
|
|
1632
|
-
margin-inline:var(--rs-box-mx);
|
|
1633
|
-
}
|
|
1634
|
-
[data-rs=box][style*="--rs-box-my"]{
|
|
1635
|
-
margin-block:var(--rs-box-my);
|
|
1636
|
-
}
|
|
1637
|
-
[data-rs=box][style*="--rs-box-w"]{
|
|
1638
|
-
width:var(--rs-box-w);
|
|
1639
|
-
}
|
|
1640
|
-
[data-rs=box][style*="--rs-box-h"]{
|
|
1641
|
-
height:var(--rs-box-h);
|
|
1642
|
-
}
|
|
1643
|
-
[data-rs=box][style*="--rs-box-maxw"]{
|
|
1644
|
-
max-width:var(--rs-box-maxw);
|
|
1645
|
-
}
|
|
1646
|
-
[data-rs=box][style*="--rs-box-maxh"]{
|
|
1647
|
-
max-height:var(--rs-box-maxh);
|
|
1648
|
-
}
|
|
1649
|
-
[data-rs=box][style*="--rs-box-minw"]{
|
|
1650
|
-
min-width:var(--rs-box-minw);
|
|
1651
|
-
}
|
|
1652
|
-
[data-rs=box][style*="--rs-box-minh"]{
|
|
1653
|
-
min-height:var(--rs-box-minh);
|
|
1654
|
-
}
|
|
1655
|
-
[data-rs=box][style*="--rs-box-c"]{
|
|
1656
|
-
color:var(--rs-box-c);
|
|
1657
|
-
}
|
|
1658
|
-
[data-rs=box][style*="--rs-box-bd"]{
|
|
1659
|
-
border:var(--rs-box-bd);
|
|
1660
|
-
}
|
|
1661
|
-
[data-rs=box][style*="--rs-box-rounded"]{
|
|
1662
|
-
border-radius:var(--rs-box-rounded);
|
|
1663
|
-
}
|
|
1664
|
-
[data-rs=box][style*="--rs-box-shadow"]{
|
|
1665
|
-
box-shadow:var(--rs-box-shadow);
|
|
1666
|
-
}
|
|
1667
|
-
[data-rs=box][style*="--rs-box-bg"]{
|
|
1668
|
-
background:var(--rs-box-bg);
|
|
1669
|
-
}
|
|
1670
|
-
[data-rs=box][style*="--rs-box-display"]{
|
|
1671
|
-
display:var(--rs-box-display);
|
|
1672
|
-
}
|
|
1673
1595
|
|
|
1674
1596
|
@media (max-width: calc(576px - 1px)){
|
|
1675
1597
|
[data-visible-from=xs]{
|
|
@@ -2482,7 +2404,7 @@ tbody.rs-anim-collapse.rs-anim-in{
|
|
|
2482
2404
|
--rs-input-group-font-size-sm:var(--rs-font-size-sm);
|
|
2483
2405
|
--rs-input-group-font-size-md:var(--rs-font-size-sm);
|
|
2484
2406
|
--rs-input-group-font-size-lg:var(--rs-font-size-md);
|
|
2485
|
-
--rs-input-group-width:
|
|
2407
|
+
--rs-input-group-width:100%;
|
|
2486
2408
|
position:relative;
|
|
2487
2409
|
display:flex;
|
|
2488
2410
|
border-radius:var(--rs-input-group-border-radius);
|
|
@@ -4249,10 +4171,6 @@ tbody.rs-anim-collapse.rs-anim-in{
|
|
|
4249
4171
|
.rs-btn-toolbar{
|
|
4250
4172
|
line-height:0;
|
|
4251
4173
|
}
|
|
4252
|
-
.rs-btn-toolbar.rs-stack{
|
|
4253
|
-
--rs-stack-spacing:calc(var(--rs-spacing) * 2);
|
|
4254
|
-
--rs-stack-wrap:wrap;
|
|
4255
|
-
}
|
|
4256
4174
|
|
|
4257
4175
|
:root{
|
|
4258
4176
|
--rs-calendar-cell-font-size:var(--rs-font-size-sm);
|
|
@@ -12822,6 +12740,8 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before{
|
|
|
12822
12740
|
.rs-segmented-control .rs-segmented-control-item .rs-segmented-control-label{
|
|
12823
12741
|
font-size:var(--rs-font-size-sm);
|
|
12824
12742
|
line-height:var(--rs-line-height-sm);
|
|
12743
|
+
display:flex;
|
|
12744
|
+
align-items:center;
|
|
12825
12745
|
}
|
|
12826
12746
|
.rs-segmented-control .rs-segmented-control-indicator{
|
|
12827
12747
|
position:absolute;
|
package/dist/rsuite.js
CHANGED
|
@@ -1489,7 +1489,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
1489
1489
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1490
1490
|
|
|
1491
1491
|
"use strict";
|
|
1492
|
-
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _Stack = _interopRequireDefault(__webpack_require__(/*! ../Stack */ \"./src/Stack/index.tsx\"));\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/ButtonToolbar/ButtonToolbar.tsx\";\n/**\n * The ButtonToolbar component is used to group a series of buttons together in a single line.\n * @see https://rsuitejs.com/components/button/#button-toolbar\n */\nconst ButtonToolbar = (0, _utils.forwardRef)((props, ref) => {\n const {\n propsWithDefaults\n } = (0, _hooks.useCustom)('ButtonToolbar', props);\n const {\n as,\n className,\n classPrefix = 'btn-toolbar',\n role = 'toolbar',\n ...rest\n } = propsWithDefaults;\n const {\n withPrefix,\n merge\n } = (0, _hooks.useStyles)(classPrefix);\n const classes = merge(className, withPrefix());\n return /*#__PURE__*/_react.default.createElement(_Stack.default, (0, _extends2.default)({\n as: as,\n role: role,\n ref: ref,\n className: classes\n }, rest, {\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 12\n }\n }));\n});\nButtonToolbar.displayName = 'ButtonToolbar';\nvar _default = exports[\"default\"] = ButtonToolbar;\n\n//# sourceURL=webpack://rsuite/./src/ButtonToolbar/ButtonToolbar.tsx?");
|
|
1492
|
+
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _Stack = _interopRequireDefault(__webpack_require__(/*! ../Stack */ \"./src/Stack/index.tsx\"));\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/ButtonToolbar/ButtonToolbar.tsx\";\n/**\n * The ButtonToolbar component is used to group a series of buttons together in a single line.\n * @see https://rsuitejs.com/components/button/#button-toolbar\n */\nconst ButtonToolbar = (0, _utils.forwardRef)((props, ref) => {\n const {\n propsWithDefaults\n } = (0, _hooks.useCustom)('ButtonToolbar', props);\n const {\n as,\n className,\n classPrefix = 'btn-toolbar',\n role = 'toolbar',\n ...rest\n } = propsWithDefaults;\n const {\n withPrefix,\n merge\n } = (0, _hooks.useStyles)(classPrefix);\n const classes = merge(className, withPrefix());\n return /*#__PURE__*/_react.default.createElement(_Stack.default, (0, _extends2.default)({\n wrap: true,\n spacing: 8,\n as: as,\n role: role,\n ref: ref,\n className: classes\n }, rest, {\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 12\n }\n }));\n});\nButtonToolbar.displayName = 'ButtonToolbar';\nvar _default = exports[\"default\"] = ButtonToolbar;\n\n//# sourceURL=webpack://rsuite/./src/ButtonToolbar/ButtonToolbar.tsx?");
|
|
1493
1493
|
|
|
1494
1494
|
/***/ }),
|
|
1495
1495
|
|
|
@@ -4261,7 +4261,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
4261
4261
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4262
4262
|
|
|
4263
4263
|
"use strict";
|
|
4264
|
-
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"react\"));\nvar _NavContext = _interopRequireDefault(__webpack_require__(/*! ./NavContext */ \"./src/Nav/NavContext.ts\"));\nvar _Menubar = _interopRequireDefault(__webpack_require__(/*! ../internals/Menu/Menubar */ \"./src/internals/Menu/Menubar.tsx\"));\nvar _NavDropdown = _interopRequireDefault(__webpack_require__(/*! ./NavDropdown */ \"./src/Nav/NavDropdown.tsx\"));\nvar _NavMenu = _interopRequireDefault(__webpack_require__(/*! ./NavMenu */ \"./src/Nav/NavMenu.tsx\"));\nvar _NavMegaMenu = _interopRequireDefault(__webpack_require__(/*! ./NavMegaMenu */ \"./src/Nav/NavMegaMenu.tsx\"));\nvar _NavDropdownItem = _interopRequireDefault(__webpack_require__(/*! ./NavDropdownItem */ \"./src/Nav/NavDropdownItem.tsx\"));\nvar _NavDropdownMenu = _interopRequireDefault(__webpack_require__(/*! ./NavDropdownMenu */ \"./src/Nav/NavDropdownMenu.tsx\"));\nvar _AdaptiveNavItem = _interopRequireDefault(__webpack_require__(/*! ./AdaptiveNavItem */ \"./src/Nav/AdaptiveNavItem.tsx\"));\nvar _Box = _interopRequireDefault(__webpack_require__(/*! ../internals/Box */ \"./src/internals/Box/index.tsx\"));\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _NavbarContext = __webpack_require__(/*! ../Navbar/NavbarContext */ \"./src/Navbar/NavbarContext.ts\");\nvar _SidenavContext = __webpack_require__(/*! ../Sidenav/SidenavContext */ \"./src/Sidenav/SidenavContext.tsx\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/Nav/Nav.tsx\";\nfunction _interopRequireWildcard(e, t) { if (\"function\" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) \"default\" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }\nconst DeprecatedNavDropdown = (0, _utils.deprecateComponent)(_NavDropdown.default, '<Nav.Dropdown> is deprecated, use <Nav.Menu> instead.');\nDeprecatedNavDropdown.Menu = (0, _utils.deprecateComponent)(_NavDropdownMenu.default, '<Nav.Dropdown.Menu> is deprecated, use <Nav.Menu> instead');\nDeprecatedNavDropdown.Item = (0, _utils.deprecateComponent)(_NavDropdownItem.default, '<Nav.Dropdown.Item> is deprecated, use <Nav.Item> instead');\nconst Subcomponents = {\n /**\n * @deprecated Use <Nav.Menu> instead.\n */\n Dropdown: DeprecatedNavDropdown,\n Item: _AdaptiveNavItem.default,\n Menu: _NavMenu.default,\n MegaMenu: _NavMegaMenu.default\n};\n\n/**\n * The `Nav` component is used to create navigation links.\n * @see https://rsuitejs.com/components/nav\n */\nconst Nav = (0, _utils.forwardRef)((props, ref) => {\n const {\n propsWithDefaults\n } = (0, _hooks.useCustom)('Nav', props);\n const {\n as,\n classPrefix = 'nav',\n appearance = 'default',\n vertical,\n justified,\n reversed,\n className,\n children,\n activeKey: activeKeyProp,\n defaultActiveKey,\n onSelect: onSelectProp,\n ...rest\n } = propsWithDefaults;\n const sidenav = (0, _react.useContext)(_SidenavContext.SidenavContext);\n\n // Whether inside a <Navbar>\n const navbar = (0, _react.useContext)(_NavbarContext.NavbarContext);\n const menubarRef = (0, _hooks.useEnsuredRef)(ref);\n const {\n withPrefix,\n merge,\n rootPrefix,\n prefix\n } = (0, _hooks.useStyles)(classPrefix);\n const classes = merge(className, rootPrefix({\n 'navbar-nav': navbar,\n 'sidenav-nav': sidenav\n }), withPrefix(appearance, {\n horizontal: (navbar || !sidenav) && !vertical,\n vertical: vertical || sidenav,\n justified,\n reversed\n }));\n const {\n activeKey: activeKeyFromSidenav,\n onSelect: onSelectFromSidenav\n } = sidenav || {};\n const [activeKey, setActiveKey] = (0, _hooks.useControlled)(activeKeyProp !== null && activeKeyProp !== void 0 ? activeKeyProp : activeKeyFromSidenav, defaultActiveKey);\n const contextValue = (0, _react.useMemo)(() => ({\n activeKey,\n onSelect: (eventKey, event) => {\n setActiveKey(eventKey);\n onSelectProp === null || onSelectProp === void 0 || onSelectProp(eventKey, event);\n onSelectFromSidenav === null || onSelectFromSidenav === void 0 || onSelectFromSidenav(eventKey, event);\n }\n }), [activeKey, onSelectFromSidenav, onSelectProp, setActiveKey]);\n if (sidenav !== null && sidenav !== void 0 && sidenav.expanded) {\n return /*#__PURE__*/_react.default.createElement(_NavContext.default.Provider, {\n value: contextValue,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber:
|
|
4264
|
+
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"react\"));\nvar _NavContext = _interopRequireDefault(__webpack_require__(/*! ./NavContext */ \"./src/Nav/NavContext.ts\"));\nvar _Menubar = _interopRequireDefault(__webpack_require__(/*! ../internals/Menu/Menubar */ \"./src/internals/Menu/Menubar.tsx\"));\nvar _NavDropdown = _interopRequireDefault(__webpack_require__(/*! ./NavDropdown */ \"./src/Nav/NavDropdown.tsx\"));\nvar _NavMenu = _interopRequireDefault(__webpack_require__(/*! ./NavMenu */ \"./src/Nav/NavMenu.tsx\"));\nvar _NavMegaMenu = _interopRequireDefault(__webpack_require__(/*! ./NavMegaMenu */ \"./src/Nav/NavMegaMenu.tsx\"));\nvar _NavDropdownItem = _interopRequireDefault(__webpack_require__(/*! ./NavDropdownItem */ \"./src/Nav/NavDropdownItem.tsx\"));\nvar _NavDropdownMenu = _interopRequireDefault(__webpack_require__(/*! ./NavDropdownMenu */ \"./src/Nav/NavDropdownMenu.tsx\"));\nvar _AdaptiveNavItem = _interopRequireDefault(__webpack_require__(/*! ./AdaptiveNavItem */ \"./src/Nav/AdaptiveNavItem.tsx\"));\nvar _Box = _interopRequireDefault(__webpack_require__(/*! ../internals/Box */ \"./src/internals/Box/index.tsx\"));\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _NavbarContext = __webpack_require__(/*! ../Navbar/NavbarContext */ \"./src/Navbar/NavbarContext.ts\");\nvar _SidenavContext = __webpack_require__(/*! ../Sidenav/SidenavContext */ \"./src/Sidenav/SidenavContext.tsx\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/Nav/Nav.tsx\";\nfunction _interopRequireWildcard(e, t) { if (\"function\" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) \"default\" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }\nconst DeprecatedNavDropdown = (0, _utils.deprecateComponent)(_NavDropdown.default, '<Nav.Dropdown> is deprecated, use <Nav.Menu> instead.');\nDeprecatedNavDropdown.Menu = (0, _utils.deprecateComponent)(_NavDropdownMenu.default, '<Nav.Dropdown.Menu> is deprecated, use <Nav.Menu> instead');\nDeprecatedNavDropdown.Item = (0, _utils.deprecateComponent)(_NavDropdownItem.default, '<Nav.Dropdown.Item> is deprecated, use <Nav.Item> instead');\nconst Subcomponents = {\n /**\n * @deprecated Use <Nav.Menu> instead.\n */\n Dropdown: DeprecatedNavDropdown,\n Item: _AdaptiveNavItem.default,\n Menu: _NavMenu.default,\n MegaMenu: _NavMegaMenu.default\n};\n\n/**\n * The `Nav` component is used to create navigation links.\n * @see https://rsuitejs.com/components/nav\n */\nconst Nav = (0, _utils.forwardRef)((props, ref) => {\n const {\n propsWithDefaults\n } = (0, _hooks.useCustom)('Nav', props);\n const {\n as,\n classPrefix = 'nav',\n appearance = 'default',\n vertical,\n justified,\n reversed,\n className,\n children,\n activeKey: activeKeyProp,\n defaultActiveKey,\n onSelect: onSelectProp,\n ...rest\n } = propsWithDefaults;\n const sidenav = (0, _react.useContext)(_SidenavContext.SidenavContext);\n\n // Whether inside a <Navbar>\n const navbar = (0, _react.useContext)(_NavbarContext.NavbarContext);\n const menubarRef = (0, _hooks.useEnsuredRef)(ref);\n const {\n withPrefix,\n merge,\n rootPrefix,\n prefix\n } = (0, _hooks.useStyles)(classPrefix);\n const classes = merge(className, rootPrefix({\n 'navbar-nav': navbar,\n 'sidenav-nav': sidenav\n }), withPrefix(appearance, {\n horizontal: (navbar || !sidenav) && !vertical,\n vertical: vertical || sidenav,\n justified,\n reversed\n }));\n const {\n activeKey: activeKeyFromSidenav,\n onSelect: onSelectFromSidenav\n } = sidenav || {};\n const [activeKey, setActiveKey] = (0, _hooks.useControlled)(activeKeyProp !== null && activeKeyProp !== void 0 ? activeKeyProp : activeKeyFromSidenav, defaultActiveKey);\n const contextValue = (0, _react.useMemo)(() => ({\n activeKey,\n onSelect: (eventKey, event) => {\n setActiveKey(eventKey);\n onSelectProp === null || onSelectProp === void 0 || onSelectProp(eventKey, event);\n onSelectFromSidenav === null || onSelectFromSidenav === void 0 || onSelectFromSidenav(eventKey, event);\n }\n }), [activeKey, onSelectFromSidenav, onSelectProp, setActiveKey]);\n if (sidenav !== null && sidenav !== void 0 && sidenav.expanded) {\n return /*#__PURE__*/_react.default.createElement(_NavContext.default.Provider, {\n value: contextValue,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 150,\n columnNumber: 7\n }\n }, /*#__PURE__*/_react.default.createElement(\"ul\", (0, _extends2.default)({\n ref: ref,\n className: classes\n }, rest, {\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 151,\n columnNumber: 9\n }\n }), children));\n }\n const hasWaterline = appearance !== 'default';\n\n // If inside a collapsed <Sidenav>, render an ARIA `menubar` (vertical)\n if (sidenav) {\n return /*#__PURE__*/_react.default.createElement(_NavContext.default.Provider, {\n value: contextValue,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 163,\n columnNumber: 7\n }\n }, /*#__PURE__*/_react.default.createElement(_Menubar.default, {\n vertical: !!sidenav,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 164,\n columnNumber: 9\n }\n }, (menubar, ref) => /*#__PURE__*/_react.default.createElement(_Box.default, (0, _extends2.default)({\n as: as,\n ref: ref\n }, rest, {\n className: classes\n }, menubar, {\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 166,\n columnNumber: 13\n }\n }), children)));\n }\n return /*#__PURE__*/_react.default.createElement(_NavContext.default.Provider, {\n value: contextValue,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 175,\n columnNumber: 5\n }\n }, /*#__PURE__*/_react.default.createElement(_Box.default, (0, _extends2.default)({\n as: as\n }, rest, {\n ref: menubarRef,\n className: classes,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 176,\n columnNumber: 7\n }\n }), children, hasWaterline && /*#__PURE__*/_react.default.createElement(\"div\", {\n className: prefix('bar'),\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 178,\n columnNumber: 26\n }\n })));\n}, Subcomponents);\nNav.displayName = 'Nav';\nvar _default = exports[\"default\"] = Nav;\n\n//# sourceURL=webpack://rsuite/./src/Nav/Nav.tsx?");
|
|
4265
4265
|
|
|
4266
4266
|
/***/ }),
|
|
4267
4267
|
|
|
@@ -5603,7 +5603,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
5603
5603
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5604
5604
|
|
|
5605
5605
|
"use strict";
|
|
5606
|
-
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _StackItem = _interopRequireDefault(__webpack_require__(/*! ./StackItem */ \"./src/Stack/StackItem.tsx\"));\nvar _Box = _interopRequireDefault(__webpack_require__(/*! ../internals/Box */ \"./src/internals/Box/index.tsx\"));\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/Stack/Stack.tsx\";\nconst Subcomponents = {\n Item: _StackItem.default\n};\n\n/**\n * The `Stack` component is a quick layout component through Flexbox,\n * supporting vertical and horizontal stacking, custom spacing and line wrapping.\n *\n * @see https://rsuitejs.com/components/stack\n */\nconst Stack = (0, _utils.forwardRef)((props, ref) => {\n const {\n propsWithDefaults\n } = (0, _hooks.useCustom)('Stack', props);\n const {\n as,\n alignItems,\n align = alignItems,\n classPrefix = 'stack',\n className,\n children,\n direction,\n justifyContent,\n justify = justifyContent,\n spacing,\n divider,\n style,\n wrap,\n ...rest\n } = propsWithDefaults;\n const {\n withPrefix,\n merge,\n
|
|
5606
|
+
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _StackItem = _interopRequireDefault(__webpack_require__(/*! ./StackItem */ \"./src/Stack/StackItem.tsx\"));\nvar _Box = _interopRequireDefault(__webpack_require__(/*! ../internals/Box */ \"./src/internals/Box/index.tsx\"));\nvar _useStyled = __webpack_require__(/*! ../internals/hooks/useStyled */ \"./src/internals/hooks/useStyled.ts\");\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _utils2 = __webpack_require__(/*! ./utils */ \"./src/Stack/utils.ts\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/Stack/Stack.tsx\";\nconst Subcomponents = {\n Item: _StackItem.default\n};\n\n/**\n * The `Stack` component is a quick layout component through Flexbox,\n * supporting vertical and horizontal stacking, custom spacing and line wrapping.\n *\n * @see https://rsuitejs.com/components/stack\n */\nconst Stack = (0, _utils.forwardRef)((props, ref) => {\n const {\n propsWithDefaults\n } = (0, _hooks.useCustom)('Stack', props);\n const {\n as,\n alignItems,\n align = alignItems,\n classPrefix = 'stack',\n className,\n children,\n direction,\n justifyContent,\n justify = justifyContent,\n spacing,\n divider,\n style,\n wrap,\n ...rest\n } = propsWithDefaults;\n const {\n withPrefix,\n merge,\n responsive\n } = (0, _hooks.useStyles)(classPrefix);\n const baseClasses = merge(className, withPrefix({\n wrap\n }), ...responsive(direction));\n\n // Generate CSS variables for Stack\n const cssVars = (0, _utils2.generateStackCssVars)({\n spacing,\n align,\n justify\n });\n\n // Use the useStyled hook to manage CSS variables\n const styled = (0, _useStyled.useStyled)({\n cssVars,\n className: baseClasses,\n style,\n prefix: classPrefix\n });\n const filteredChildren = _react.default.Children.toArray(children);\n const childCount = filteredChildren.length;\n return /*#__PURE__*/_react.default.createElement(_Box.default, (0, _extends2.default)({\n as: as,\n ref: ref,\n className: styled.className,\n style: styled.style\n }, rest, {\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 90,\n columnNumber: 5\n }\n }), filteredChildren.map((child, index) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {\n key: index,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 92,\n columnNumber: 9\n }\n }, child, index < childCount - 1 && divider)));\n}, Subcomponents);\nStack.displayName = 'Stack';\nvar _default = exports[\"default\"] = Stack;\n\n//# sourceURL=webpack://rsuite/./src/Stack/Stack.tsx?");
|
|
5607
5607
|
|
|
5608
5608
|
/***/ }),
|
|
5609
5609
|
|
|
@@ -5640,6 +5640,17 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
5640
5640
|
|
|
5641
5641
|
/***/ }),
|
|
5642
5642
|
|
|
5643
|
+
/***/ "./src/Stack/utils.ts":
|
|
5644
|
+
/*!****************************!*\
|
|
5645
|
+
!*** ./src/Stack/utils.ts ***!
|
|
5646
|
+
\****************************/
|
|
5647
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5648
|
+
|
|
5649
|
+
"use strict";
|
|
5650
|
+
eval("\n\nexports.__esModule = true;\nexports.generateStackCssVars = generateStackCssVars;\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\n/**\n * Generate CSS variables for Stack component\n */\nfunction generateStackCssVars({\n spacing,\n align,\n justify\n}) {\n const cssVars = {};\n const prefix = `--rs-stack-`;\n\n // Add spacing CSS variable\n if (spacing !== undefined) {\n // Handle array or single value for spacing\n if (Array.isArray(spacing)) {\n cssVars[`${prefix}spacing`] = spacing.map(s => (0, _utils.getCssValue)(s)).join(' ');\n } else {\n cssVars[`${prefix}spacing`] = (0, _utils.getCssValue)(spacing);\n }\n }\n\n // Add align CSS variable\n if (align !== undefined) {\n cssVars[`${prefix}align`] = align;\n }\n\n // Add justify CSS variable\n if (justify !== undefined) {\n cssVars[`${prefix}justify`] = justify;\n }\n return cssVars;\n}\n\n//# sourceURL=webpack://rsuite/./src/Stack/utils.ts?");
|
|
5651
|
+
|
|
5652
|
+
/***/ }),
|
|
5653
|
+
|
|
5643
5654
|
/***/ "./src/Stat/Stat.tsx":
|
|
5644
5655
|
/*!***************************!*\
|
|
5645
5656
|
!*** ./src/Stat/Stat.tsx ***!
|
|
@@ -5867,7 +5878,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
5867
5878
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5868
5879
|
|
|
5869
5880
|
"use strict";
|
|
5870
|
-
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _Nav = _interopRequireDefault(__webpack_require__(/*! ../Nav */ \"./src/Nav/index.tsx\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./Tab */ \"./src/Tabs/Tab.tsx\"));\nvar _TabPanel = _interopRequireDefault(__webpack_require__(/*! ./TabPanel */ \"./src/Tabs/TabPanel.tsx\"));\nvar _Box = _interopRequireDefault(__webpack_require__(/*! ../internals/Box */ \"./src/internals/Box/index.tsx\"));\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/Tabs/Tabs.tsx\";\n/**\n * Props for the Tabs component.\n */\n\nfunction getFocusableTabs(tablist) {\n const tabs = tablist === null || tablist === void 0 ? void 0 : tablist.querySelectorAll('[role=tab]');\n return Array.from(tabs).filter(tab => !(tab.getAttribute('aria-disabled') === 'true'));\n}\nfunction getFocusedTab(tablist) {\n const tabs = getFocusableTabs(tablist);\n return tabs.find(tab => tab.getAttribute('aria-selected'));\n}\nfunction nextItem(tablist) {\n if (!tablist) {\n return null;\n }\n const item = getFocusedTab(tablist);\n const items = getFocusableTabs(tablist);\n if (!item) {\n return items[0];\n }\n const nextItem = items[items.indexOf(item) + 1];\n if (!nextItem || nextItem.getAttribute('role') !== 'tab') {\n return items[0];\n }\n return nextItem;\n}\nfunction previousItem(tablist) {\n if (!tablist) {\n return null;\n }\n const item = getFocusedTab(tablist);\n const items = getFocusableTabs(tablist);\n if (!item) {\n return items[items.length - 1];\n }\n const previousItem = items[items.indexOf(item) - 1];\n if (!previousItem || previousItem.getAttribute('role') !== 'tab') {\n return items[items.length - 1];\n }\n return previousItem;\n}\nconst renderPanels = (children, tabProps) => {\n const {\n id,\n activeKey\n } = tabProps;\n return _utils.rch.map(children, child => {\n const {\n eventKey,\n children\n } = child.props;\n const selected = eventKey === activeKey;\n return /*#__PURE__*/_react.default.createElement(_TabPanel.default, {\n \"aria-labelledby\": `${id}-${eventKey}`,\n \"aria-hidden\": !selected,\n id: `${id}-panel-${eventKey}`,\n active: selected,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber:
|
|
5881
|
+
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _Nav = _interopRequireDefault(__webpack_require__(/*! ../Nav */ \"./src/Nav/index.tsx\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./Tab */ \"./src/Tabs/Tab.tsx\"));\nvar _TabPanel = _interopRequireDefault(__webpack_require__(/*! ./TabPanel */ \"./src/Tabs/TabPanel.tsx\"));\nvar _Box = _interopRequireDefault(__webpack_require__(/*! ../internals/Box */ \"./src/internals/Box/index.tsx\"));\nvar _utils = __webpack_require__(/*! ../internals/utils */ \"./src/internals/utils/index.ts\");\nvar _hooks = __webpack_require__(/*! ../internals/hooks */ \"./src/internals/hooks/index.ts\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/Tabs/Tabs.tsx\";\n/**\n * Props for the Tabs component.\n */\n\nfunction getFocusableTabs(tablist) {\n const tabs = tablist === null || tablist === void 0 ? void 0 : tablist.querySelectorAll('[role=tab]');\n return Array.from(tabs).filter(tab => !(tab.getAttribute('aria-disabled') === 'true'));\n}\nfunction getFocusedTab(tablist) {\n const tabs = getFocusableTabs(tablist);\n return tabs.find(tab => tab.getAttribute('aria-selected'));\n}\nfunction nextItem(tablist) {\n if (!tablist) {\n return null;\n }\n const item = getFocusedTab(tablist);\n const items = getFocusableTabs(tablist);\n if (!item) {\n return items[0];\n }\n const nextItem = items[items.indexOf(item) + 1];\n if (!nextItem || nextItem.getAttribute('role') !== 'tab') {\n return items[0];\n }\n return nextItem;\n}\nfunction previousItem(tablist) {\n if (!tablist) {\n return null;\n }\n const item = getFocusedTab(tablist);\n const items = getFocusableTabs(tablist);\n if (!item) {\n return items[items.length - 1];\n }\n const previousItem = items[items.indexOf(item) - 1];\n if (!previousItem || previousItem.getAttribute('role') !== 'tab') {\n return items[items.length - 1];\n }\n return previousItem;\n}\nconst renderPanels = (children, tabProps) => {\n const {\n id,\n activeKey\n } = tabProps;\n return _utils.rch.map(children, child => {\n const {\n eventKey,\n children\n } = child.props;\n const selected = eventKey === activeKey;\n return /*#__PURE__*/_react.default.createElement(_TabPanel.default, {\n \"aria-labelledby\": `${id}-${eventKey}`,\n \"aria-hidden\": !selected,\n id: `${id}-panel-${eventKey}`,\n active: selected,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 126,\n columnNumber: 7\n }\n }, children);\n });\n};\nconst renderTabs = (children, tabPanelProps) => {\n const {\n id,\n activeKey\n } = tabPanelProps;\n return _utils.rch.map(children, child => {\n const {\n eventKey,\n title,\n disabled,\n icon\n } = child.props;\n const selected = eventKey === activeKey;\n return /*#__PURE__*/_react.default.createElement(_Nav.default.Item, {\n role: \"tab\",\n as: \"button\",\n type: \"button\",\n \"aria-selected\": selected,\n \"aria-controls\": `${id}-panel-${eventKey}`,\n \"aria-disabled\": disabled,\n \"data-event-key\": eventKey,\n disabled: disabled,\n icon: icon,\n id: `${id}-${eventKey}`,\n tabIndex: selected ? undefined : -1,\n eventKey: eventKey,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 147,\n columnNumber: 7\n }\n }, title);\n });\n};\nconst Subcomponents = {\n Tab: _Tab.default\n};\n\n/**\n * Tabs are a set of layered sections of content, known as tab panels, that display one panel of content at a time.\n *\n * @version 5.53.0\n * @see https://rsuitejs.com/components/tabs\n */\nconst Tabs = (0, _utils.forwardRef)((props, ref) => {\n const {\n propsWithDefaults,\n rtl\n } = (0, _hooks.useCustom)('Tabs', props);\n const {\n as,\n classPrefix = 'tabs',\n appearance = 'tabs',\n className,\n children,\n activeKey: activeKeyProp,\n defaultActiveKey,\n id: idProp,\n reversed,\n vertical,\n onSelect,\n ...rest\n } = propsWithDefaults;\n const id = (0, _hooks.useUniqueId)('tab-', idProp);\n const [activeKey, setActiveKey] = (0, _hooks.useControlled)(activeKeyProp, defaultActiveKey);\n const {\n withPrefix,\n prefix,\n merge\n } = (0, _hooks.useStyles)(classPrefix);\n const tablistRef = _react.default.useRef(null);\n const handleSelect = (0, _hooks.useEventCallback)((eventKey, event) => {\n setActiveKey(eventKey);\n onSelect === null || onSelect === void 0 || onSelect(eventKey, event);\n });\n const handleKeyDown = (0, _hooks.useEventCallback)(event => {\n var _getFocusableTabs;\n const target = event.target;\n if (target.getAttribute('role') !== 'tab') {\n return;\n }\n let previousItemKey = vertical ? 'ArrowUp' : 'ArrowLeft';\n let nextItemKey = vertical ? 'ArrowDown' : 'ArrowRight';\n if (!vertical && rtl) {\n previousItemKey = 'ArrowRight';\n nextItemKey = 'ArrowLeft';\n }\n let item = null;\n switch (event.key) {\n case previousItemKey:\n item = previousItem(tablistRef.current);\n event.preventDefault();\n break;\n case nextItemKey:\n item = nextItem(tablistRef.current);\n event.preventDefault();\n break;\n case 'Home':\n item = (_getFocusableTabs = getFocusableTabs(tablistRef.current)) === null || _getFocusableTabs === void 0 ? void 0 : _getFocusableTabs[0];\n event.preventDefault();\n break;\n case 'End':\n {\n const tabs = getFocusableTabs(tablistRef.current);\n item = tabs[tabs.length - 1];\n event.preventDefault();\n break;\n }\n }\n if (item) {\n const eventKey = item ? item.dataset.eventKey : undefined;\n handleSelect(eventKey, event);\n item.focus();\n }\n });\n const hasChildren = _react.default.Children.toArray(children).some(child => /*#__PURE__*/_react.default.isValidElement(child) && child.props.children);\n return /*#__PURE__*/_react.default.createElement(_Box.default, (0, _extends2.default)({\n as: as,\n className: merge(className, withPrefix({\n reversed,\n vertical\n }))\n }, rest, {\n ref: ref,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 256,\n columnNumber: 5\n }\n }), /*#__PURE__*/_react.default.createElement(_Nav.default, {\n role: \"tablist\",\n \"aria-orientation\": vertical ? 'vertical' : 'horizontal',\n reversed: reversed,\n vertical: vertical,\n appearance: appearance,\n activeKey: activeKey,\n onSelect: handleSelect,\n onKeyDown: handleKeyDown,\n ref: tablistRef,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 262,\n columnNumber: 7\n }\n }, renderTabs(children, {\n id,\n activeKey\n })), hasChildren && /*#__PURE__*/_react.default.createElement(\"div\", {\n className: prefix`content`,\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 276,\n columnNumber: 9\n }\n }, renderPanels(children, {\n id,\n activeKey\n })));\n}, Subcomponents);\nTabs.displayName = 'Tabs';\nvar _default = exports[\"default\"] = Tabs;\n\n//# sourceURL=webpack://rsuite/./src/Tabs/Tabs.tsx?");
|
|
5871
5882
|
|
|
5872
5883
|
/***/ }),
|
|
5873
5884
|
|
|
@@ -6604,7 +6615,7 @@ eval("\n\nexports.__esModule = true;\nvar _Text = __webpack_require__(/*! ./Text
|
|
|
6604
6615
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6605
6616
|
|
|
6606
6617
|
"use strict";
|
|
6607
|
-
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _isEmpty = _interopRequireDefault(__webpack_require__(/*! lodash/isEmpty */ \"./node_modules/lodash/isEmpty.js\"));\nvar
|
|
6618
|
+
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"react\"));\nvar _isEmpty = _interopRequireDefault(__webpack_require__(/*! lodash/isEmpty */ \"./node_modules/lodash/isEmpty.js\"));\nvar _forwardRef = __webpack_require__(/*! ../utils/react/forwardRef */ \"./src/internals/utils/react/forwardRef.ts\");\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/internals/Box/utils.ts\");\nvar _useStyled = __webpack_require__(/*! ../hooks/useStyled */ \"./src/internals/hooks/useStyled.ts\");\nvar _jsxFileName = \"/Users/apple/workspace/rsuite/rsuite/src/internals/Box/Box.tsx\";\n/**\n * Box component is the base component for all components,\n * providing shorthand for style properties.\n *\n * @see https://rsuitejs.com/components/box\n */\nconst Box = (0, _forwardRef.forwardRef)((props, ref) => {\n const {\n as: Component = 'div',\n className,\n children,\n showFrom,\n hideFrom,\n style,\n ...rest\n } = props;\n const boxProps = (0, _utils.extractBoxProps)(rest);\n const domProps = (0, _utils.omitBoxProps)(rest);\n const boxCSSVars = (0, _utils.getBoxCSSVariables)(boxProps);\n const isBox = !(0, _isEmpty.default)(boxCSSVars) || showFrom || hideFrom;\n const styled = (0, _useStyled.useStyled)({\n cssVars: boxCSSVars,\n className,\n style,\n enabled: isBox\n });\n return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({\n ref: ref,\n \"data-rs\": isBox ? 'box' : undefined,\n \"data-visible-from\": showFrom,\n \"data-hidden-from\": hideFrom,\n className: styled.className,\n style: styled.style\n }, domProps, {\n __self: void 0,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 92,\n columnNumber: 5\n }\n }), children);\n});\nBox.displayName = 'Box';\nvar _default = exports[\"default\"] = Box;\n\n//# sourceURL=webpack://rsuite/./src/internals/Box/Box.tsx?");
|
|
6608
6619
|
|
|
6609
6620
|
/***/ }),
|
|
6610
6621
|
|
|
@@ -6626,7 +6637,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
6626
6637
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6627
6638
|
|
|
6628
6639
|
"use strict";
|
|
6629
|
-
eval("\n\nexports.__esModule = true;\nexports.omitBoxProps = exports.getBoxCSSVariables = exports.extractBoxProps = void 0;\nvar _utils = __webpack_require__(/*! ../utils */ \"./src/internals/utils/index.ts\");\n// Mapping for padding properties to their CSS style equivalents\nconst paddingStyleMap = {\n p: 'padding',\n pt: 'paddingTop',\n pb: 'paddingBottom',\n pl: 'paddingLeft',\n pr: 'paddingRight',\n px: 'paddingInline',\n py: 'paddingBlock'\n};\n\n// Mapping for margin properties to their CSS style equivalents\nconst marginStyleMap = {\n m: 'margin',\n mt: 'marginTop',\n mb: 'marginBottom',\n ml: 'marginLeft',\n mr: 'marginRight',\n mx: 'marginInline',\n my: 'marginBlock'\n};\n\n// Mapping for size properties to their CSS style equivalents\nconst sizeStyleMap = {\n w: 'width',\n h: 'height',\n minw: 'minWidth',\n maxw: 'maxWidth',\n minh: 'minHeight',\n maxh: 'maxHeight'\n};\n\n// Derive box property keys from style mappings\nconst boxPropKeys = [...Object.keys(paddingStyleMap), ...Object.keys(marginStyleMap), ...Object.keys(sizeStyleMap), 'bd', 'bg', 'c', 'display', 'rounded', 'shadow'];\n\n/**\n * Extract box properties from props\n * @param props Original props object\n * @returns Object containing only box properties\n */\nconst extractBoxProps = props => {\n const boxProps = {};\n\n // Extract only box related properties\n boxPropKeys.forEach(key => {\n if (key in props && props[key] !== undefined) {\n boxProps[key] = props[key];\n }\n });\n return boxProps;\n};\n\n/**\n * Filter out layout properties from props\n * @param props Original props object\n * @returns New object without layout properties\n */\nexports.extractBoxProps = extractBoxProps;\nconst omitBoxProps = props => {\n const filteredProps = {};\n\n // Copy all properties except box related ones\n Object.keys(props).forEach(key => {\n if (!boxPropKeys.includes(key)) {\n filteredProps[key] = props[key];\n }\n });\n return filteredProps;\n};\n\n/**\n * Converts layout properties to CSS variables with abbreviated names\n * @param props Object containing layout properties\n * @returns Object with CSS variables\n */\
|
|
6640
|
+
eval("\n\nexports.__esModule = true;\nexports.omitBoxProps = exports.getBoxCSSVariables = exports.extractBoxProps = void 0;\nvar _utils = __webpack_require__(/*! ../utils */ \"./src/internals/utils/index.ts\");\nvar _constants = __webpack_require__(/*! ../constants */ \"./src/internals/constants/index.ts\");\n// Mapping for padding properties to their CSS style equivalents\nconst paddingStyleMap = {\n p: 'padding',\n pt: 'paddingTop',\n pb: 'paddingBottom',\n pl: 'paddingLeft',\n pr: 'paddingRight',\n px: 'paddingInline',\n py: 'paddingBlock'\n};\n\n// Mapping for margin properties to their CSS style equivalents\nconst marginStyleMap = {\n m: 'margin',\n mt: 'marginTop',\n mb: 'marginBottom',\n ml: 'marginLeft',\n mr: 'marginRight',\n mx: 'marginInline',\n my: 'marginBlock'\n};\n\n// Mapping for size properties to their CSS style equivalents\nconst sizeStyleMap = {\n w: 'width',\n h: 'height',\n minw: 'minWidth',\n maxw: 'maxWidth',\n minh: 'minHeight',\n maxh: 'maxHeight'\n};\n\n// Derive box property keys from style mappings\nconst boxPropKeys = [...Object.keys(paddingStyleMap), ...Object.keys(marginStyleMap), ...Object.keys(sizeStyleMap), 'bd', 'bg', 'c', 'display', 'rounded', 'shadow'];\n\n/**\n * Extract box properties from props\n * @param props Original props object\n * @returns Object containing only box properties\n */\nconst extractBoxProps = props => {\n const boxProps = {};\n\n // Extract only box related properties\n boxPropKeys.forEach(key => {\n if (key in props && props[key] !== undefined) {\n boxProps[key] = props[key];\n }\n });\n return boxProps;\n};\n\n/**\n * Filter out layout properties from props\n * @param props Original props object\n * @returns New object without layout properties\n */\nexports.extractBoxProps = extractBoxProps;\nconst omitBoxProps = props => {\n const filteredProps = {};\n\n // Copy all properties except box related ones\n Object.keys(props).forEach(key => {\n if (!boxPropKeys.includes(key)) {\n filteredProps[key] = props[key];\n }\n });\n return filteredProps;\n};\n\n/**\n * Checks if a value is a responsive value object\n * @param value - Value to check\n * @returns True if the value is a responsive value object\n */\nexports.omitBoxProps = omitBoxProps;\nfunction isResponsiveValue(value) {\n return value !== null && typeof value === 'object' && !Array.isArray(value) && Object.keys(value).some(key => _constants.BREAKPOINTS.includes(key));\n}\n\n/**\n * Process a value that might be a responsive value\n * @param value - Value to process\n * @param processor - Function to process non-responsive values\n * @returns Processed value or responsive object with processed values\n */\nfunction processResponsiveValue(value, processor) {\n if (value === undefined) {\n return undefined;\n }\n if (isResponsiveValue(value)) {\n const result = {};\n Object.entries(value).forEach(([breakpoint, val]) => {\n if (val !== undefined) {\n const processed = processor(val);\n if (processed !== undefined) {\n result[breakpoint] = processed;\n }\n }\n });\n return Object.keys(result).length > 0 ? result : undefined;\n }\n return processor(value);\n}\n\n// Type for CSS variable values that can be string, number, or responsive values\n\n// Silence ESLint warnings for unused parameters in forEach callbacks\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/**\n * Converts layout properties to CSS variables with abbreviated names\n * @param props Object containing layout properties\n * @returns Object with CSS variables\n */\nconst getBoxCSSVariables = props => {\n const cssVars = {};\n const prefix = `--rs-box-`;\n\n // Process padding properties\n Object.keys(paddingStyleMap).forEach(propKey => {\n if (props[propKey] !== undefined) {\n cssVars[`${prefix}${propKey}`] = processResponsiveValue(props[propKey], val => (0, _utils.getCssValue)(val));\n }\n });\n\n // Process margin properties\n Object.keys(marginStyleMap).forEach(propKey => {\n if (props[propKey] !== undefined) {\n cssVars[`${prefix}${propKey}`] = processResponsiveValue(props[propKey], val => (0, _utils.getCssValue)(val));\n }\n });\n\n // Process size properties\n Object.keys(sizeStyleMap).forEach(propKey => {\n if (props[propKey] !== undefined) {\n cssVars[`${prefix}${propKey}`] = processResponsiveValue(props[propKey], val => (0, _utils.getCssValue)(val));\n }\n });\n if (props.bd !== undefined) {\n cssVars[`${prefix}bd`] = processResponsiveValue(props.bd, val => (0, _utils.getCssValue)(val));\n }\n if (props.display !== undefined) {\n cssVars[`${prefix}display`] = processResponsiveValue(props.display, val => val);\n }\n if (props.c !== undefined) {\n cssVars[`${prefix}c`] = processResponsiveValue(props.c, val => (0, _utils.getColorVar)(val));\n }\n if (props.bg !== undefined) {\n cssVars[`${prefix}bg`] = processResponsiveValue(props.bg, val => (0, _utils.getColorVar)(val));\n }\n\n // Handle special cases for rounded and shadow\n if (props.rounded !== undefined) {\n const processRounded = val => {\n const result = (0, _utils.getSizeStyle)(val, 'box', 'rounded');\n return result ? result : undefined;\n };\n if (isResponsiveValue(props.rounded)) {\n // Handle responsive rounded values\n const responsiveRounded = {};\n Object.entries(props.rounded).forEach(([breakpoint, val]) => {\n if (val !== undefined) {\n const styleObj = processRounded(val);\n if (styleObj) {\n responsiveRounded[breakpoint] = styleObj;\n }\n }\n });\n\n // For each CSS variable key in the rounded styles, create a responsive value\n const processedKeys = new Set();\n Object.entries(responsiveRounded).forEach(([_breakpoint, styleObj]) => {\n if (styleObj) {\n Object.entries(styleObj).forEach(([key, _value]) => {\n processedKeys.add(key);\n });\n }\n });\n processedKeys.forEach(key => {\n const responsiveValue = {};\n Object.entries(responsiveRounded).forEach(([breakpoint, styleObj]) => {\n if (styleObj && styleObj[key] !== undefined) {\n // Ensure we're only using string values for CSS variables\n const value = styleObj[key];\n if (typeof value === 'string' || typeof value === 'number') {\n responsiveValue[breakpoint] = value;\n }\n }\n });\n if (Object.keys(responsiveValue).length > 0) {\n cssVars[key] = responsiveValue;\n }\n });\n } else {\n // Handle non-responsive rounded value\n const styleObj = processRounded(props.rounded);\n if (styleObj) {\n Object.entries(styleObj).forEach(([key, value]) => {\n cssVars[key] = value;\n });\n }\n }\n }\n if (props.shadow !== undefined) {\n const processShadow = val => {\n const result = (0, _utils.getSizeStyle)(val, 'box', 'shadow');\n return result ? result : undefined;\n };\n if (isResponsiveValue(props.shadow)) {\n // Handle responsive shadow values\n const responsiveShadow = {};\n Object.entries(props.shadow).forEach(([breakpoint, val]) => {\n if (val !== undefined) {\n const styleObj = processShadow(val);\n if (styleObj) {\n responsiveShadow[breakpoint] = styleObj;\n }\n }\n });\n\n // For each CSS variable key in the shadow styles, create a responsive value\n const processedKeys = new Set();\n Object.entries(responsiveShadow).forEach(([_breakpoint, styleObj]) => {\n if (styleObj) {\n Object.entries(styleObj).forEach(([key, _value]) => {\n processedKeys.add(key);\n });\n }\n });\n processedKeys.forEach(key => {\n const responsiveValue = {};\n Object.entries(responsiveShadow).forEach(([breakpoint, styleObj]) => {\n if (styleObj && styleObj[key] !== undefined) {\n // Ensure we're only using string values for CSS variables\n const value = styleObj[key];\n if (typeof value === 'string' || typeof value === 'number') {\n responsiveValue[breakpoint] = value;\n }\n }\n });\n if (Object.keys(responsiveValue).length > 0) {\n cssVars[key] = responsiveValue;\n }\n });\n } else {\n // Handle non-responsive shadow value\n const styleObj = processShadow(props.shadow);\n if (styleObj) {\n Object.entries(styleObj).forEach(([key, value]) => {\n cssVars[key] = value;\n });\n }\n }\n }\n return cssVars;\n};\nexports.getBoxCSSVariables = getBoxCSSVariables;\n\n//# sourceURL=webpack://rsuite/./src/internals/Box/utils.ts?");
|
|
6630
6641
|
|
|
6631
6642
|
/***/ }),
|
|
6632
6643
|
|
|
@@ -7407,7 +7418,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
7407
7418
|
/***/ (function(__unused_webpack_module, exports) {
|
|
7408
7419
|
|
|
7409
7420
|
"use strict";
|
|
7410
|
-
eval("\n\nexports.__esModule = true;\nexports.TREE_NODE_DROP_POSITION = exports.STATUS = exports.SIZE = exports.PLACEMENT_AUTO = exports.PLACEMENT_8 = exports.PLACEMENT_4 = exports.PLACEMENT = exports.KEY_VALUES = exports.DATERANGE_DISABLED_TARGET = exports.COLOR = exports.CHECK_STATE = exports.BREAKPOINTS = void 0;\nconst SIZE = exports.SIZE = ['
|
|
7421
|
+
eval("\n\nexports.__esModule = true;\nexports.TREE_NODE_DROP_POSITION = exports.STATUS = exports.SIZE = exports.PLACEMENT_AUTO = exports.PLACEMENT_8 = exports.PLACEMENT_4 = exports.PLACEMENT = exports.KEY_VALUES = exports.DATERANGE_DISABLED_TARGET = exports.COLOR = exports.CHECK_STATE = exports.BREAKPOINTS = void 0;\nconst SIZE = exports.SIZE = ['xs', 'sm', 'md', 'lg'];\nconst BREAKPOINTS = exports.BREAKPOINTS = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nconst STATUS = exports.STATUS = ['success', 'warning', 'error', 'info'];\nconst COLOR = exports.COLOR = ['red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'violet'];\nconst PLACEMENT_4 = exports.PLACEMENT_4 = ['top', 'bottom', 'right', 'left'];\nconst PLACEMENT_8 = exports.PLACEMENT_8 = ['bottomStart', 'bottomEnd', 'topStart', 'topEnd', 'leftStart', 'rightStart', 'leftEnd', 'rightEnd'];\nconst PLACEMENT_AUTO = exports.PLACEMENT_AUTO = ['auto', 'autoVertical', 'autoVerticalStart', 'autoVerticalEnd', 'autoHorizontal', 'autoHorizontalStart', 'autoHorizontalEnd'];\nconst PLACEMENT = exports.PLACEMENT = [...PLACEMENT_4, ...PLACEMENT_8, ...PLACEMENT_AUTO];\n\n/**\n * Check Tree Node State\n */\nlet CHECK_STATE = exports.CHECK_STATE = /*#__PURE__*/function (CHECK_STATE) {\n CHECK_STATE[CHECK_STATE[\"UNCHECK\"] = 0] = \"UNCHECK\";\n CHECK_STATE[CHECK_STATE[\"CHECK\"] = 1] = \"CHECK\";\n CHECK_STATE[CHECK_STATE[\"INDETERMINATE\"] = 2] = \"INDETERMINATE\";\n return CHECK_STATE;\n}({});\n/**\n * Tree Node Drag Type\n */\nlet TREE_NODE_DROP_POSITION = exports.TREE_NODE_DROP_POSITION = /*#__PURE__*/function (TREE_NODE_DROP_POSITION) {\n TREE_NODE_DROP_POSITION[TREE_NODE_DROP_POSITION[\"DRAG_OVER\"] = 0] = \"DRAG_OVER\";\n TREE_NODE_DROP_POSITION[TREE_NODE_DROP_POSITION[\"DRAG_OVER_TOP\"] = 1] = \"DRAG_OVER_TOP\";\n TREE_NODE_DROP_POSITION[TREE_NODE_DROP_POSITION[\"DRAG_OVER_BOTTOM\"] = 2] = \"DRAG_OVER_BOTTOM\";\n return TREE_NODE_DROP_POSITION;\n}({});\n/**\n * UI Events KeyboardEvent key Values\n * https://www.w3.org/TR/uievents-key\n */\nconst KEY_VALUES = exports.KEY_VALUES = {\n // Navigation Keys\n LEFT: 'ArrowLeft',\n UP: 'ArrowUp',\n RIGHT: 'ArrowRight',\n DOWN: 'ArrowDown',\n END: 'End',\n HOME: 'Home',\n PAGE_DOWN: 'PageDown',\n PAGE_UP: 'PageUp',\n // Whitespace Keys\n ENTER: 'Enter',\n TAB: 'Tab',\n SPACE: ' ',\n // Editing Keys\n BACKSPACE: 'Backspace',\n DELETE: 'Delete',\n COMMA: ',',\n // UI Keys\n ESC: 'Escape'\n};\nlet DATERANGE_DISABLED_TARGET = exports.DATERANGE_DISABLED_TARGET = /*#__PURE__*/function (DATERANGE_DISABLED_TARGET) {\n DATERANGE_DISABLED_TARGET[\"CALENDAR\"] = \"CALENDAR\";\n DATERANGE_DISABLED_TARGET[\"TOOLBAR_BUTTON_OK\"] = \"TOOLBAR_BUTTON_OK\";\n DATERANGE_DISABLED_TARGET[\"TOOLBAR_SHORTCUT\"] = \"TOOLBAR_SHORTCUT\";\n DATERANGE_DISABLED_TARGET[\"INPUT\"] = \"INPUT\";\n return DATERANGE_DISABLED_TARGET;\n}({});\n\n//# sourceURL=webpack://rsuite/./src/internals/constants/index.ts?");
|
|
7411
7422
|
|
|
7412
7423
|
/***/ }),
|
|
7413
7424
|
|
|
@@ -7609,6 +7620,17 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
7609
7620
|
|
|
7610
7621
|
/***/ }),
|
|
7611
7622
|
|
|
7623
|
+
/***/ "./src/internals/hooks/useStyled.ts":
|
|
7624
|
+
/*!******************************************!*\
|
|
7625
|
+
!*** ./src/internals/hooks/useStyled.ts ***!
|
|
7626
|
+
\******************************************/
|
|
7627
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7628
|
+
|
|
7629
|
+
"use strict";
|
|
7630
|
+
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nexports.useStyled = useStyled;\nvar _react = __webpack_require__(/*! react */ \"react\");\nvar _isEmpty = _interopRequireDefault(__webpack_require__(/*! lodash/isEmpty */ \"./node_modules/lodash/isEmpty.js\"));\nvar _styleManager = __webpack_require__(/*! ../utils/style-sheet/style-manager */ \"./src/internals/utils/style-sheet/style-manager.ts\");\nvar _constants = __webpack_require__(/*! ../constants */ \"./src/internals/constants/index.ts\");\nvar _CustomContext = __webpack_require__(/*! ../Provider/CustomContext */ \"./src/internals/Provider/CustomContext.tsx\");\n// CSS Property Map\nconst propertyMap = {\n // Padding\n p: 'padding',\n pt: 'padding-top',\n pr: 'padding-right',\n pb: 'padding-bottom',\n pl: 'padding-left',\n px: 'padding-inline',\n py: 'padding-block',\n // Margin\n m: 'margin',\n mt: 'margin-top',\n mr: 'margin-right',\n mb: 'margin-bottom',\n ml: 'margin-left',\n mx: 'margin-inline',\n my: 'margin-block',\n // Size\n w: 'width',\n h: 'height',\n minw: 'min-width',\n maxw: 'max-width',\n minh: 'min-height',\n maxh: 'max-height',\n // Display\n display: 'display',\n // Color and Background\n c: 'color',\n bg: 'background',\n // Border\n bd: 'border',\n rounded: 'border-radius',\n // Shadow\n shadow: 'box-shadow',\n // Stack\n spacing: 'gap',\n align: 'align-items',\n justify: 'justify-content'\n};\n\n// Breakpoint values in pixels - matching SCSS variables\nconst breakpointValues = {\n xs: 0,\n // Base mobile first\n sm: 576,\n // $screen-sm\n md: 768,\n // $screen-md\n lg: 992,\n // $screen-lg\n xl: 1200,\n // $screen-xl\n xxl: 1400 // $screen-xxl\n};\n\n/**\n * Options for the useStyled hook\n */\n\n/**\n * Result of the useStyled hook\n */\n\n/**\n * Checks if a value is a responsive value object\n * @param value - Value to check\n * @returns True if the value is a responsive value object\n */\nfunction isResponsiveValue(value) {\n return value !== null && typeof value === 'object' && !Array.isArray(value) && Object.keys(value).some(key => _constants.BREAKPOINTS.includes(key));\n}\n\n/**\n * Custom hook for managing component styling with scoped CSS variables\n *\n * This hook handles:\n * 1. Generating a unique class name for the component\n * 2. Creating a scoped style rule to prevent CSS variable inheritance\n * 3. Managing the lifecycle of style rules\n * 4. Handling responsive values for different breakpoints\n *\n * @param options - Styling options\n * @returns Styling properties to apply to the component\n */\nfunction useStyled(options) {\n const {\n cssVars = {},\n className,\n style,\n enabled = true,\n prefix = 'box'\n } = options;\n\n // CSS Variable Prefix, e.g. --rs-box-\n const cssVarPrefix = `--rs-${prefix}-`;\n const {\n csp\n } = (0, _react.useContext)(_CustomContext.CustomContext);\n\n // Generate a unique ID for this component instance\n const uniqueId = (0, _react.useId)().replace(/:/g, '');\n const componentId = `rs-${prefix}-${uniqueId}`;\n\n // Only apply styling if enabled and there are CSS variables\n const shouldApplyStyles = enabled && !(0, _isEmpty.default)(cssVars);\n\n // Apply CSS variables through StyleManager\n (0, _react.useLayoutEffect)(() => {\n if (!shouldApplyStyles) return;\n\n // Create base CSS rules for the variables\n let baseVarRules = '';\n let basePropRules = '';\n\n // Track responsive variables to handle separately\n const responsiveVars = {};\n\n // Process CSS variables, separating responsive from non-responsive\n Object.entries(cssVars).forEach(([key, value]) => {\n if (value !== undefined) {\n if (isResponsiveValue(value)) {\n // Store responsive values for later processing\n responsiveVars[key] = value;\n\n // Add xs (mobile first) values to base styles if present\n const xsValue = value.xs;\n if (xsValue !== undefined) {\n baseVarRules += `${key}: ${xsValue}; `;\n }\n } else {\n // Add non-responsive values directly\n baseVarRules += `${key}: ${value}; `;\n }\n }\n });\n\n // Add actual style rules based on CSS variables\n Object.keys(cssVars).forEach(varName => {\n // Skip responsive values that don't have xs values\n if (responsiveVars[varName] && !responsiveVars[varName].xs) return;\n\n // Extract property name from variable name (remove prefix)\n const propName = varName.startsWith(cssVarPrefix) ? varName.substring(cssVarPrefix.length) : varName;\n\n // Check if the property has a corresponding CSS property mapping\n const cssProperty = propertyMap[propName];\n if (cssProperty) {\n basePropRules += `${cssProperty}: var(${varName}); `;\n }\n });\n\n // Combine variable definitions and property assignments\n const baseCssRules = baseVarRules + basePropRules;\n\n // Add the base rule to the style manager\n _styleManager.StyleManager.addRule(`.${componentId}`, baseCssRules, {\n nonce: csp === null || csp === void 0 ? void 0 : csp.nonce\n });\n\n // Process responsive variables\n if (!(0, _isEmpty.default)(responsiveVars)) {\n // Create media queries for each breakpoint\n const breakpointVarRules = {\n xs: '',\n // xs rules will be merged into base styles\n sm: '',\n md: '',\n lg: '',\n xl: '',\n xxl: ''\n };\n const breakpointPropRules = {\n xs: '',\n sm: '',\n md: '',\n lg: '',\n xl: '',\n xxl: ''\n };\n\n // Group styles by breakpoint\n Object.entries(responsiveVars).forEach(([varName, responsiveValue]) => {\n Object.entries(responsiveValue).forEach(([breakpoint, value]) => {\n const bp = breakpoint;\n if (value !== undefined && bp !== 'xs') {\n // Skip xs as it's already in base styles\n // Add the CSS variable definition for this breakpoint\n breakpointVarRules[bp] += `${varName}: ${value}; `;\n\n // Extract property name from variable name (remove prefix)\n const propName = varName.startsWith(cssVarPrefix) ? varName.substring(cssVarPrefix.length) : varName;\n\n // Check if the property has a corresponding CSS property mapping\n const cssProperty = propertyMap[propName];\n if (cssProperty) {\n breakpointPropRules[bp] += `${cssProperty}: var(${varName}); `;\n }\n }\n });\n });\n\n // Combine variable definitions and property assignments for each breakpoint\n const breakpointRules = {\n xs: '',\n sm: breakpointVarRules.sm + breakpointPropRules.sm,\n md: breakpointVarRules.md + breakpointPropRules.md,\n lg: breakpointVarRules.lg + breakpointPropRules.lg,\n xl: breakpointVarRules.xl + breakpointPropRules.xl,\n xxl: breakpointVarRules.xxl + breakpointPropRules.xxl\n };\n\n // Add media queries for each breakpoint with rules (skip xs)\n Object.entries(breakpointRules).forEach(([breakpoint, rules]) => {\n if (rules && breakpoint !== 'xs') {\n const bp = breakpoint;\n const minWidth = breakpointValues[bp];\n _styleManager.StyleManager.addRule(`@media (min-width: ${minWidth}px)`, `.${componentId} { ${rules} }`, {\n nonce: csp === null || csp === void 0 ? void 0 : csp.nonce\n });\n }\n });\n }\n return () => {\n // Clean up rules when component unmounts\n _styleManager.StyleManager.removeRule(`.${componentId}`);\n\n // Clean up media query rules\n Object.keys(breakpointValues).forEach(breakpoint => {\n const bp = breakpoint;\n const minWidth = breakpointValues[bp];\n _styleManager.StyleManager.removeRule(`@media (min-width: ${minWidth}px)`);\n });\n };\n }, [componentId, cssVars, shouldApplyStyles]);\n\n // Combine class names\n const combinedClassName = shouldApplyStyles ? `${className || ''} ${componentId}`.trim() : className;\n return {\n className: combinedClassName || undefined,\n style,\n id: componentId\n };\n}\nvar _default = exports[\"default\"] = useStyled;\n\n//# sourceURL=webpack://rsuite/./src/internals/hooks/useStyled.ts?");
|
|
7631
|
+
|
|
7632
|
+
/***/ }),
|
|
7633
|
+
|
|
7612
7634
|
/***/ "./src/internals/hooks/useStyles.ts":
|
|
7613
7635
|
/*!******************************************!*\
|
|
7614
7636
|
!*** ./src/internals/hooks/useStyles.ts ***!
|
|
@@ -7880,7 +7902,7 @@ eval("\n\nexports.__esModule = true;\nexports.attachParent = attachParent;\nexpo
|
|
|
7880
7902
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7881
7903
|
|
|
7882
7904
|
"use strict";
|
|
7883
|
-
eval("\n\nexports.__esModule = true;\nexports.isPresetColor = exports.getLuminance = exports.getContrastText = exports.getColorVar = exports.getColorStyle = exports.expandHexColor = exports.createColorVariables = void 0;\nvar _colours = __webpack_require__(/*! ../types/colours */ \"./src/internals/types/colours.ts\");\nvar _styleSheet = __webpack_require__(/*! ./style-sheet */ \"./src/internals/utils/style-sheet/index.ts\");\n/**\n * Checks if a color value matches the pattern like 'red', 'gray.50', etc.,\n * and returns the appropriate CSS variable format.\n * @param color The color value to check\n * @returns The CSS variable if it's a valid color type, or the original value\n */\nconst getColorVar = color => {\n if (!color) return undefined;\n\n // Check if color is a base color (e.g., 'red', 'blue')\n const baseColorRegex = /^(red|orange|yellow|green|cyan|blue|violet|gray)$/;\n if (baseColorRegex.test(color)) {\n return `var(--rs-color-${color})`;\n }\n\n // Check if color is a color with shade (e.g., 'red.50', 'gray.900')\n const colorWithShadeRegex = /^(red|orange|yellow|green|cyan|blue|violet|gray)\\.([1-9]00|50)$/;\n const match = color.match(colorWithShadeRegex);\n if (match) {\n const [, colorName, shade] = match;\n return `var(--rs-${colorName}-${shade})`;\n }\n\n // Return the original value if it's not a recognized color pattern\n return color;\n};\nexports.getColorVar = getColorVar;\nconst isPresetColor = color => {\n if (!color) {\n return false;\n }\n if (color === 'default') {\n return true;\n }\n return Object.values(_colours.Colours).includes(color);\n};\nexports.isPresetColor = isPresetColor;\nconst colorConfig = {\n prop: 'color',\n useGlobalVar: true,\n presetChecker: isPresetColor,\n valueTransformer: getColorVar\n};\nconst getColorStyle = exports.getColorStyle = (0, _styleSheet.createStyleGetter)(colorConfig);\n\n/**\n * Convert short hex color to full hex color\n * e.g. #fff -> #ffffff\n */\nconst expandHexColor = color => {\n const hex = color.toLowerCase().replace('#', '');\n if (hex.length === 3) {\n return `#${hex[0]}${hex[0]}${hex[1]}${hex[1]}${hex[2]}${hex[2]}`;\n }\n return `#${hex}`;\n};\n\n/**\n * Calculate relative luminance of a color\n * Using the formula from WCAG 2.0\n */\nexports.expandHexColor = expandHexColor;\nconst getLuminance = color => {\n // Convert hex to rgb\n const fullHex = expandHexColor(color);\n const hex = fullHex.replace('#', '');\n const r = parseInt(hex.substring(0, 2), 16) / 255;\n const g = parseInt(hex.substring(2, 4), 16) / 255;\n const b = parseInt(hex.substring(4, 6), 16) / 255;\n\n // Convert rgb to relative luminance\n const rs = r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);\n const gs = g <= 0.03928 ? g / 12.92 : Math.pow((g + 0.055) / 1.055, 2.4);\n const bs = b <= 0.03928 ? b / 12.92 : Math.pow((b + 0.055) / 1.055, 2.4);\n return 0.2126 * rs + 0.7152 * gs + 0.0722 * bs;\n};\n\n/**\n * Get contrasting text color (black or white) based on background color\n */\nexports.getLuminance = getLuminance;\nconst getContrastText = bgColor => {\n // For non-hex colors, return default dark text\n if (!bgColor.startsWith('#')) {\n return 'var(--rs-text-primary)';\n }\n const luminance = getLuminance(bgColor);\n return luminance > 0.5 ? '#000000' : '#ffffff';\n};\n\n/**\n * Create CSS color variables for custom colors\n * Returns background and optional text color variables\n */\nexports.getContrastText = getContrastText;\nconst createColorVariables = (color, bgFieldName = '--rs-color-bg', textFieldName) => {\n if (color && !isPresetColor(color)) {\n const colorStr = color.toString();\n // Only convert to hex if it's a hex color\n const bgColor = colorStr.startsWith('#') ? expandHexColor(colorStr) : colorStr;\n const styles = {\n [bgFieldName]: bgColor\n };\n if (textFieldName) {\n styles[textFieldName] = getContrastText(bgColor);\n }\n return styles;\n }\n return undefined;\n};\nexports.createColorVariables = createColorVariables;\n\n//# sourceURL=webpack://rsuite/./src/internals/utils/colours.ts?");
|
|
7905
|
+
eval("\n\nexports.__esModule = true;\nexports.isPresetColor = exports.getLuminance = exports.getContrastText = exports.getColorVar = exports.getColorStyle = exports.expandHexColor = exports.createColorVariables = void 0;\nvar _colours = __webpack_require__(/*! ../types/colours */ \"./src/internals/types/colours.ts\");\nvar _styleSheet = __webpack_require__(/*! ./style-sheet */ \"./src/internals/utils/style-sheet/index.ts\");\n/**\n * Checks if a color value matches the pattern like 'red', 'gray.50', etc.,\n * and returns the appropriate CSS variable format.\n * @param color The color value to check\n * @returns The CSS variable if it's a valid color type, or the original value\n */\nconst getColorVar = color => {\n if (!color) return undefined;\n\n // Check if color is a base color (e.g., 'red', 'blue')\n const baseColorRegex = /^(red|orange|yellow|green|cyan|blue|violet|gray)$/;\n if (baseColorRegex.test(color)) {\n return `var(--rs-color-${color})`;\n }\n\n // Check if color is a color with shade (e.g., 'red.50', 'gray.900')\n const colorWithShadeRegex = /^(red|orange|yellow|green|cyan|blue|violet|gray)\\.([1-9]00|50)$/;\n const match = color === null || color === void 0 ? void 0 : color.match(colorWithShadeRegex);\n if (match) {\n const [, colorName, shade] = match;\n return `var(--rs-${colorName}-${shade})`;\n }\n\n // Return the original value if it's not a recognized color pattern\n return color;\n};\nexports.getColorVar = getColorVar;\nconst isPresetColor = color => {\n if (!color) {\n return false;\n }\n if (color === 'default') {\n return true;\n }\n return Object.values(_colours.Colours).includes(color);\n};\nexports.isPresetColor = isPresetColor;\nconst colorConfig = {\n prop: 'color',\n useGlobalVar: true,\n presetChecker: isPresetColor,\n valueTransformer: getColorVar\n};\nconst getColorStyle = exports.getColorStyle = (0, _styleSheet.createStyleGetter)(colorConfig);\n\n/**\n * Convert short hex color to full hex color\n * e.g. #fff -> #ffffff\n */\nconst expandHexColor = color => {\n const hex = color.toLowerCase().replace('#', '');\n if (hex.length === 3) {\n return `#${hex[0]}${hex[0]}${hex[1]}${hex[1]}${hex[2]}${hex[2]}`;\n }\n return `#${hex}`;\n};\n\n/**\n * Calculate relative luminance of a color\n * Using the formula from WCAG 2.0\n */\nexports.expandHexColor = expandHexColor;\nconst getLuminance = color => {\n // Convert hex to rgb\n const fullHex = expandHexColor(color);\n const hex = fullHex.replace('#', '');\n const r = parseInt(hex.substring(0, 2), 16) / 255;\n const g = parseInt(hex.substring(2, 4), 16) / 255;\n const b = parseInt(hex.substring(4, 6), 16) / 255;\n\n // Convert rgb to relative luminance\n const rs = r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);\n const gs = g <= 0.03928 ? g / 12.92 : Math.pow((g + 0.055) / 1.055, 2.4);\n const bs = b <= 0.03928 ? b / 12.92 : Math.pow((b + 0.055) / 1.055, 2.4);\n return 0.2126 * rs + 0.7152 * gs + 0.0722 * bs;\n};\n\n/**\n * Get contrasting text color (black or white) based on background color\n */\nexports.getLuminance = getLuminance;\nconst getContrastText = bgColor => {\n // For non-hex colors, return default dark text\n if (!bgColor.startsWith('#')) {\n return 'var(--rs-text-primary)';\n }\n const luminance = getLuminance(bgColor);\n return luminance > 0.5 ? '#000000' : '#ffffff';\n};\n\n/**\n * Create CSS color variables for custom colors\n * Returns background and optional text color variables\n */\nexports.getContrastText = getContrastText;\nconst createColorVariables = (color, bgFieldName = '--rs-color-bg', textFieldName) => {\n if (color && !isPresetColor(color)) {\n const colorStr = color.toString();\n // Only convert to hex if it's a hex color\n const bgColor = colorStr.startsWith('#') ? expandHexColor(colorStr) : colorStr;\n const styles = {\n [bgFieldName]: bgColor\n };\n if (textFieldName) {\n styles[textFieldName] = getContrastText(bgColor);\n }\n return styles;\n }\n return undefined;\n};\nexports.createColorVariables = createColorVariables;\n\n//# sourceURL=webpack://rsuite/./src/internals/utils/colours.ts?");
|
|
7884
7906
|
|
|
7885
7907
|
/***/ }),
|
|
7886
7908
|
|
|
@@ -8320,7 +8342,7 @@ eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/he
|
|
|
8320
8342
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8321
8343
|
|
|
8322
8344
|
"use strict";
|
|
8323
|
-
eval("\n\nexports.__esModule = true;\nvar _styles = __webpack_require__(/*! ./styles */ \"./src/internals/utils/style-sheet/styles.ts\");\nObject.keys(_styles).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _styles[key]) return;\n exports[key] = _styles[key];\n});\nvar _css = __webpack_require__(/*! ./css */ \"./src/internals/utils/style-sheet/css.ts\");\nObject.keys(_css).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _css[key]) return;\n exports[key] = _css[key];\n});\nvar _prefix = __webpack_require__(/*! ./prefix */ \"./src/internals/utils/style-sheet/prefix.ts\");\nObject.keys(_prefix).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _prefix[key]) return;\n exports[key] = _prefix[key];\n});\nvar _responsive = __webpack_require__(/*! ./responsive */ \"./src/internals/utils/style-sheet/responsive.ts\");\nObject.keys(_responsive).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _responsive[key]) return;\n exports[key] = _responsive[key];\n});\n\n//# sourceURL=webpack://rsuite/./src/internals/utils/style-sheet/index.ts?");
|
|
8345
|
+
eval("\n\nexports.__esModule = true;\nvar _styles = __webpack_require__(/*! ./styles */ \"./src/internals/utils/style-sheet/styles.ts\");\nObject.keys(_styles).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _styles[key]) return;\n exports[key] = _styles[key];\n});\nvar _css = __webpack_require__(/*! ./css */ \"./src/internals/utils/style-sheet/css.ts\");\nObject.keys(_css).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _css[key]) return;\n exports[key] = _css[key];\n});\nvar _prefix = __webpack_require__(/*! ./prefix */ \"./src/internals/utils/style-sheet/prefix.ts\");\nObject.keys(_prefix).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _prefix[key]) return;\n exports[key] = _prefix[key];\n});\nvar _responsive = __webpack_require__(/*! ./responsive */ \"./src/internals/utils/style-sheet/responsive.ts\");\nObject.keys(_responsive).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _responsive[key]) return;\n exports[key] = _responsive[key];\n});\nvar _styleManager = __webpack_require__(/*! ./style-manager */ \"./src/internals/utils/style-sheet/style-manager.ts\");\nObject.keys(_styleManager).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _styleManager[key]) return;\n exports[key] = _styleManager[key];\n});\n\n//# sourceURL=webpack://rsuite/./src/internals/utils/style-sheet/index.ts?");
|
|
8324
8346
|
|
|
8325
8347
|
/***/ }),
|
|
8326
8348
|
|
|
@@ -8346,6 +8368,17 @@ eval("\n\nexports.__esModule = true;\nexports.getResponsiveClasses = void 0;\nva
|
|
|
8346
8368
|
|
|
8347
8369
|
/***/ }),
|
|
8348
8370
|
|
|
8371
|
+
/***/ "./src/internals/utils/style-sheet/style-manager.ts":
|
|
8372
|
+
/*!**********************************************************!*\
|
|
8373
|
+
!*** ./src/internals/utils/style-sheet/style-manager.ts ***!
|
|
8374
|
+
\**********************************************************/
|
|
8375
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
8376
|
+
|
|
8377
|
+
"use strict";
|
|
8378
|
+
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = exports.StyleManager = void 0;\n/**\n * StyleManager - A utility for managing CSS styles dynamically\n *\n * This manager creates and maintains a single style element in the document head\n * and provides methods to add, update, and remove CSS rules.\n * Supports CSP nonce for Content Security Policy compliance.\n */\n\n// Global style sheet manager\nconst StyleManager = exports.StyleManager = {\n styleElement: null,\n styleMap: new Map(),\n nonce: undefined,\n /**\n * Initialize the style element if it doesn't exist\n * @param options - Optional configuration options\n * @param options.nonce - CSP nonce to apply to the style element\n * @returns The style element\n */\n init(options) {\n if (!this.styleElement && typeof document !== 'undefined') {\n this.styleElement = document.createElement('style');\n this.styleElement.setAttribute('data-rs-style-manager', '');\n\n // Apply CSP nonce if provided\n const nonce = (options === null || options === void 0 ? void 0 : options.nonce) || this.nonce;\n if (nonce) {\n this.styleElement.setAttribute('nonce', nonce);\n this.nonce = nonce; // Store for future use\n }\n document.head.appendChild(this.styleElement);\n }\n return this.styleElement;\n },\n /**\n * Set the CSP nonce for the style element\n * @param nonce - CSP nonce value\n */\n setNonce(nonce) {\n this.nonce = nonce;\n\n // Apply to existing style element if it exists\n if (this.styleElement && nonce) {\n this.styleElement.setAttribute('nonce', nonce);\n }\n },\n /**\n * Add a CSS rule to the style sheet\n * @param selector - CSS selector\n * @param cssText - CSS properties and values\n * @param options - Optional configuration options\n * @param options.nonce - CSP nonce to apply to the style element\n */\n addRule(selector, cssText, options) {\n this.init(options);\n if (!this.styleMap.has(selector) || this.styleMap.get(selector) !== cssText) {\n this.styleMap.set(selector, cssText);\n this.updateStyles();\n }\n },\n /**\n * Remove a CSS rule from the style sheet\n * @param selector - CSS selector to remove\n */\n removeRule(selector) {\n if (this.styleMap.has(selector)) {\n this.styleMap.delete(selector);\n this.updateStyles();\n }\n },\n /**\n * Update the style element with all current rules\n */\n updateStyles() {\n if (!this.styleElement) return;\n let cssText = '';\n this.styleMap.forEach((rules, selector) => {\n cssText += `${selector} { ${rules} }\\n`;\n });\n this.styleElement.textContent = cssText;\n },\n /**\n * Clear all rules from the style sheet\n */\n clearRules() {\n this.styleMap.clear();\n if (this.styleElement) {\n this.styleElement.textContent = '';\n }\n }\n};\nvar _default = exports[\"default\"] = StyleManager;\n\n//# sourceURL=webpack://rsuite/./src/internals/utils/style-sheet/style-manager.ts?");
|
|
8379
|
+
|
|
8380
|
+
/***/ }),
|
|
8381
|
+
|
|
8349
8382
|
/***/ "./src/internals/utils/style-sheet/styles.ts":
|
|
8350
8383
|
/*!***************************************************!*\
|
|
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ack:///external umd {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\"}","webpack:///external umd {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\"}","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/before-startup","webpack:///webpack/startup","webpack:///webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"rsuite\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"rsuite\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__) {\nreturn ","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.tsx\");\n",""],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"rsuite.js","mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCzBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;;;;;UEJA;UACA;UACA;UACA","sources":["webpack:///webpack/universalModuleDefinition","webpack:///external umd {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\"}","webpack:///external umd {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\"}","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/before-startup","webpack:///webpack/startup","webpack:///webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"rsuite\"] = factory(require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"rsuite\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__) {\nreturn ","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.tsx\");\n",""],"names":[],"sourceRoot":""}
|