@qualtrics/ui-react 2.31.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/__shared/cjs/{index-c13fc74c.js → index-1c5b62c1.js} +39 -3
- package/dist/__shared/cjs/{index-434a3b72.js → index-95ae1cca.js} +294 -203
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Banner/Banner.css.js +12 -13
- package/dist/components/Banner/Banner.css.ts.vanilla.js +3 -3
- package/dist/components/Banner/Banner.js +2 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +2 -2
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/Icon/IconTypes.js +9 -0
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +13 -6
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +81 -38
- package/dist/components/NewMenu/parts/MenuItem.js +16 -4
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/AIEntityIcon.js +6 -0
- package/dist/icons/components/AISparkIcon.js +6 -0
- package/dist/icons/components/ButtonSelectorIcon.js +6 -0
- package/dist/icons/components/DropListSelectorIcon.js +6 -0
- package/dist/icons/components/HeatMapDiscoverIcon.js +6 -0
- package/dist/icons/components/HighlightPenSwatchIcon.js +6 -0
- package/dist/icons/components/HighlightSwatchIcon.js +6 -0
- package/dist/icons/components/MetricWidgetIcon.js +6 -0
- package/dist/icons/components/SearchSelectorIcon.js +6 -0
- package/dist/icons/index.d.ts +18 -0
- package/dist/icons/index.es.js +9 -0
- package/dist/icons/index.js +10 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +5 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Hooks/useCSSVariable.js +5 -5
- package/dist/next/Menu/Hooks/useMaskDimensions.js +10 -12
- package/dist/next/Menu/Hooks/usePaneSearch.js +2 -4
- package/dist/next/Menu/Menu.js +21 -8
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuPane.js +55 -18
- package/dist/next/Menu/PaneChildren.js +6 -3
- package/dist/next/Menu/SubMenu.js +11 -7
- package/dist/next/Menu/constants.js +4 -1
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.js +167 -134
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/Text/Text.js +2 -2
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +3 -3
package/dist/next/index.js
CHANGED
|
@@ -8,8 +8,8 @@ var classNames = require('classnames');
|
|
|
8
8
|
var reactDnd = require('react-dnd');
|
|
9
9
|
var reactDndHtml5Backend = require('react-dnd-html5-backend');
|
|
10
10
|
var useResizeObserver = require('@react-hook/resize-observer');
|
|
11
|
-
var index = require('../__shared/cjs/index-
|
|
12
|
-
var icons_index = require('../__shared/cjs/index-
|
|
11
|
+
var index = require('../__shared/cjs/index-95ae1cca.js');
|
|
12
|
+
var icons_index = require('../__shared/cjs/index-1c5b62c1.js');
|
|
13
13
|
var ReactDOM = require('react-dom');
|
|
14
14
|
var reactDropdownMenu = require('@radix-ui/react-dropdown-menu');
|
|
15
15
|
var resizeObserver = require('@juggle/resize-observer');
|
|
@@ -32,9 +32,9 @@ var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
|
32
32
|
var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver);
|
|
33
33
|
var InputMask__default = /*#__PURE__*/_interopDefaultLegacy(InputMask);
|
|
34
34
|
|
|
35
|
-
var css_248z$c = ".
|
|
36
|
-
var styles$b = {"advancedTable":"
|
|
37
|
-
var stylesheet$c=".
|
|
35
|
+
var css_248z$c = "._udstL{overflow:auto;position:relative;max-width:100%;max-height:100%}._hrGut,._udstL{background-color:#fff}._hrGut{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._gen94{margin-bottom:4px}._ie05J{position:-webkit-sticky;position:sticky;top:0;z-index:100}._vqvfG{display:flex}._vqvfG:focus{outline:none}._vqvfG.focus-visible ._MDRV2:after,._vqvfG:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._vqvfG.focus-visible ._MDRV2:last-of-type:after,._vqvfG:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._vqvfG.focus-visible ._MDRV2:first-of-type:after,._vqvfG:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._vqvfG.focus-visible ._MDRV2._cg4FL:after,._vqvfG:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:1px}._o7gtF{padding-right:3px}._O3-y-{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._9z4nK{display:flex}._9z4nK._6g0up ._MDRV2,._9z4nK._6g0up ._VG9vk{cursor:pointer}._9z4nK._dK45A ._MDRV2,._9z4nK._dK45A ._VG9vk{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._9z4nK._dK45A ._MDRV2._cg4FL,._9z4nK._dK45A ._VG9vk._cg4FL{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._9z4nK._dK45A ._MDRV2._cg4FL ._jzayj,._9z4nK._dK45A ._MDRV2._cg4FL ._QmveY,._9z4nK._dK45A ._MDRV2._cg4FL ._VG9vk,._9z4nK._dK45A ._VG9vk._cg4FL ._jzayj,._9z4nK._dK45A ._VG9vk._cg4FL ._QmveY,._9z4nK._dK45A ._VG9vk._cg4FL ._VG9vk{background-color:rgba(11,110,208,.08)}._9z4nK._6g0up:hover:not(._dK45A) ._MDRV2,._9z4nK._6g0up:hover:not(._dK45A) ._VG9vk{background-color:#f9f9f9}._9z4nK._6g0up:active:not(._dK45A):not(._9z4nK._6g0up:active:not(._dK45A):has(._QmveY:active)) ._MDRV2,._9z4nK._6g0up:active:not(._dK45A):not(._9z4nK._6g0up:active:not(._dK45A):has(._QmveY:active)) ._VG9vk{background-color:#f3f3f3}._9z4nK:focus{outline:none}._9z4nK.focus-visible ._MDRV2:after,._9z4nK:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._9z4nK.focus-visible ._MDRV2:last-of-type:after,._9z4nK:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._9z4nK.focus-visible ._MDRV2:first-of-type:after,._9z4nK:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._9z4nK.focus-visible ._MDRV2._cg4FL:after,._9z4nK:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:0}._9z4nK:last-of-type:focus{outline:none}._9z4nK:last-of-type.focus-visible ._MDRV2:after,._9z4nK:last-of-type:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._9z4nK:last-of-type.focus-visible ._MDRV2:last-of-type:after,._9z4nK:last-of-type:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._9z4nK:last-of-type.focus-visible ._MDRV2:first-of-type:after,._9z4nK:last-of-type:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._9z4nK:last-of-type.focus-visible ._MDRV2._cg4FL:after,._9z4nK:last-of-type:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:1px}._9z4nK:last-of-type ._jzayj:focus{outline:none}._9z4nK:last-of-type ._jzayj._-wUHA.focus-visible:after,._9z4nK:last-of-type ._jzayj._-wUHA:focus-visible:after,._9z4nK:last-of-type ._jzayj.focus-visible:after,._9z4nK:last-of-type ._jzayj:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._9z4nK:first-of-type:focus{outline:none}._9z4nK:first-of-type.focus-visible ._MDRV2:after,._9z4nK:first-of-type:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._9z4nK:first-of-type.focus-visible ._MDRV2:last-of-type:after,._9z4nK:first-of-type:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._9z4nK:first-of-type.focus-visible ._MDRV2:first-of-type:after,._9z4nK:first-of-type:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._9z4nK:first-of-type.focus-visible ._MDRV2._cg4FL:after,._9z4nK:first-of-type:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:0}._9z4nK:first-of-type ._jzayj:focus{outline:none}._9z4nK:first-of-type ._jzayj._-wUHA.focus-visible:after,._9z4nK:first-of-type ._jzayj._-wUHA:focus-visible:after,._9z4nK:first-of-type ._jzayj.focus-visible:after,._9z4nK:first-of-type ._jzayj:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._Qp7zN{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._Qp7zN._V-ZBF{flex-grow:1}._Qp7zN._SYXwo{cursor:pointer}._Qp7zN._SYXwo:hover:not(._hOUm2){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Qp7zN._SYXwo:active:not(._hOUm2){background-color:#f3f3f3}._Qp7zN._LBqYg:not(._hOUm2){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Qp7zN._hOUm2{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Qp7zN ._ra8eL{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Qp7zN ._ra8eL._MsidO{left:-1px}._Qp7zN ._ra8eL._jm7RJ{right:0}._Qp7zN ._P-nt8{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Qp7zN ._P-nt8._MsidO{left:-2px}._Qp7zN ._P-nt8._jm7RJ{right:-1px}._Qp7zN:first-of-type ._MsidO._ra8eL{left:0;width:2px;border-left:1px solid #fff}._Qp7zN:first-of-type ._MsidO._P-nt8{left:0}._Qp7zN:last-of-type ._jm7RJ._ra8eL{right:0;width:2px;border-right:1px solid #fff}._Qp7zN:last-of-type ._jm7RJ._P-nt8{right:0}._Qp7zN ._wiUo7{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Qp7zN ._wiUo7 ._k-IC4{position:absolute;width:2px;right:2px;top:0;bottom:0}._Qp7zN ._wiUo7 ._k-IC4._BOwPy{background-color:#0a6ed1}._Qp7zN ._wiUo7:hover ._k-IC4:not(._BOwPy){background-color:#d9d9d9}._Qp7zN ._AYWpu{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._Qp7zN ._AYWpu._4incK{flex-direction:row-reverse;justify-content:flex-start}._Qp7zN ._AYWpu._4incK ._sKx6g{margin:1px 7px 1px 1px}._Qp7zN ._AYWpu ._0Mn4p{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Qp7zN ._AYWpu ._sKx6g{margin:1px 1px 1px 7px;flex-shrink:0}._Qp7zN ._KeUS5{margin-left:6px;margin-right:4px;flex-shrink:0}._Qp7zN ._iY-Pg{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Qp7zN:focus{outline:none}._Qp7zN._-wUHA.focus-visible:after,._Qp7zN._-wUHA:focus-visible:after,._Qp7zN.focus-visible:after,._Qp7zN:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._9MDID{margin-right:6px}._cg4FL{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._cg4FL[focus-within]{z-index:30}._cg4FL:focus-within{z-index:30}._jzayj{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._jzayj ._6qejl{width:100%;padding:12px 12px 11px;overflow:hidden}._jzayj._hOUm2{background-color:#efefef;border-bottom-color:#dfdfe1}._jzayj._V-ZBF{flex-grow:1}._jzayj:focus{outline:none}._jzayj._-wUHA.focus-visible:after,._jzayj._-wUHA:focus-visible:after,._jzayj.focus-visible:after,._jzayj:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._VG9vk{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._VG9vk._i9sF8{border-bottom-color:#d9d9d9;background-color:#fff}._QmveY{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._QmveY._i9sF8{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._QmveY:focus input~span,._QmveY:hover input~span{border-color:#0b6ed0}._z6YM8{justify-content:flex-start}._V6BqC{justify-content:center;text-align:center}._4incK{justify-content:flex-end;text-align:right}._iJBQY{display:none}._lNqE-{opacity:0;height:0;width:0;overflow:hidden}._lNqE-,._NhOnv{position:absolute}._NhOnv{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._SyIHy{max-width:250px;min-width:150px!important}";
|
|
36
|
+
var styles$b = {"advancedTable":"_udstL","advancedTablePaginationContainer":"_hrGut","advancedTablePagination":"_gen94","advancedTableColumnHeadersRowGroup":"_ie05J","advancedTableColumnHeaders":"_vqvfG","advancedTableRowChild":"_MDRV2","pinnedContainer":"_cg4FL","advancedTableRowGroup":"_o7gtF","advancedTableRowRestrictedWidth":"_O3-y-","advancedTableRow":"_9z4nK","hasRowAction":"_6g0up","advancedTableExpandRowSpacer":"_VG9vk","isSelected":"_dK45A","advancedTableCheckbox":"_QmveY","advancedTableCell":"_jzayj","showFocusRing":"_-wUHA","advancedTableColumnHeader":"_Qp7zN","fillRemainingSpace":"_V-ZBF","isSortable":"_SYXwo","isDragging":"_hOUm2","isSorted":"_LBqYg","dropTargetLine":"_ra8eL","dropTargetLeft":"_MsidO","dropTargetRight":"_jm7RJ","dropTargetMarker":"_P-nt8","resizeHandle":"_wiUo7","resizeLine":"_k-IC4","isResizing":"_BOwPy","advancedTableColumnHeaderLabel":"_AYWpu","rightAligned":"_4incK","sortIcon":"_sKx6g","advancedTableColumnHeaderLabelText":"_0Mn4p","advancedTableColumnHeaderMenu":"_KeUS5","advancedTableColumnHeaderMenuHiddenAnchor":"_iY-Pg","advancedTableColumnHeaderMenuItemIcon":"_9MDID","advancedTableCellContainer":"_6qejl","header":"_i9sF8","leftAligned":"_z6YM8","centerAligned":"_V6BqC","hiddenDescription":"_iJBQY","hiddenLiveRegion":"_lNqE-","dragPreview":"_NhOnv","rowActionMenuPane":"_SyIHy"};
|
|
37
|
+
var stylesheet$c="._udstL{overflow:auto;position:relative;max-width:100%;max-height:100%}._hrGut,._udstL{background-color:#fff}._hrGut{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._gen94{margin-bottom:4px}._ie05J{position:-webkit-sticky;position:sticky;top:0;z-index:100}._vqvfG{display:flex}._vqvfG:focus{outline:none}._vqvfG.focus-visible ._MDRV2:after,._vqvfG:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._vqvfG.focus-visible ._MDRV2:last-of-type:after,._vqvfG:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._vqvfG.focus-visible ._MDRV2:first-of-type:after,._vqvfG:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._vqvfG.focus-visible ._MDRV2._cg4FL:after,._vqvfG:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:1px}._o7gtF{padding-right:3px}._O3-y-{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._9z4nK{display:flex}._9z4nK._6g0up ._MDRV2,._9z4nK._6g0up ._VG9vk{cursor:pointer}._9z4nK._dK45A ._MDRV2,._9z4nK._dK45A ._VG9vk{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._9z4nK._dK45A ._MDRV2._cg4FL,._9z4nK._dK45A ._VG9vk._cg4FL{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._9z4nK._dK45A ._MDRV2._cg4FL ._jzayj,._9z4nK._dK45A ._MDRV2._cg4FL ._QmveY,._9z4nK._dK45A ._MDRV2._cg4FL ._VG9vk,._9z4nK._dK45A ._VG9vk._cg4FL ._jzayj,._9z4nK._dK45A ._VG9vk._cg4FL ._QmveY,._9z4nK._dK45A ._VG9vk._cg4FL ._VG9vk{background-color:rgba(11,110,208,.08)}._9z4nK._6g0up:hover:not(._dK45A) ._MDRV2,._9z4nK._6g0up:hover:not(._dK45A) ._VG9vk{background-color:#f9f9f9}._9z4nK._6g0up:active:not(._dK45A):not(._9z4nK._6g0up:active:not(._dK45A):has(._QmveY:active)) ._MDRV2,._9z4nK._6g0up:active:not(._dK45A):not(._9z4nK._6g0up:active:not(._dK45A):has(._QmveY:active)) ._VG9vk{background-color:#f3f3f3}._9z4nK:focus{outline:none}._9z4nK.focus-visible ._MDRV2:after,._9z4nK:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._9z4nK.focus-visible ._MDRV2:last-of-type:after,._9z4nK:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._9z4nK.focus-visible ._MDRV2:first-of-type:after,._9z4nK:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._9z4nK.focus-visible ._MDRV2._cg4FL:after,._9z4nK:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:0}._9z4nK:last-of-type:focus{outline:none}._9z4nK:last-of-type.focus-visible ._MDRV2:after,._9z4nK:last-of-type:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._9z4nK:last-of-type.focus-visible ._MDRV2:last-of-type:after,._9z4nK:last-of-type:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._9z4nK:last-of-type.focus-visible ._MDRV2:first-of-type:after,._9z4nK:last-of-type:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._9z4nK:last-of-type.focus-visible ._MDRV2._cg4FL:after,._9z4nK:last-of-type:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:1px}._9z4nK:last-of-type ._jzayj:focus{outline:none}._9z4nK:last-of-type ._jzayj._-wUHA.focus-visible:after,._9z4nK:last-of-type ._jzayj._-wUHA:focus-visible:after,._9z4nK:last-of-type ._jzayj.focus-visible:after,._9z4nK:last-of-type ._jzayj:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._9z4nK:first-of-type:focus{outline:none}._9z4nK:first-of-type.focus-visible ._MDRV2:after,._9z4nK:first-of-type:focus-visible ._MDRV2:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._9z4nK:first-of-type.focus-visible ._MDRV2:last-of-type:after,._9z4nK:first-of-type:focus-visible ._MDRV2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._9z4nK:first-of-type.focus-visible ._MDRV2:first-of-type:after,._9z4nK:first-of-type:focus-visible ._MDRV2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._9z4nK:first-of-type.focus-visible ._MDRV2._cg4FL:after,._9z4nK:first-of-type:focus-visible ._MDRV2._cg4FL:after{right:-3px;bottom:0}._9z4nK:first-of-type ._jzayj:focus{outline:none}._9z4nK:first-of-type ._jzayj._-wUHA.focus-visible:after,._9z4nK:first-of-type ._jzayj._-wUHA:focus-visible:after,._9z4nK:first-of-type ._jzayj.focus-visible:after,._9z4nK:first-of-type ._jzayj:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._Qp7zN{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._Qp7zN._V-ZBF{flex-grow:1}._Qp7zN._SYXwo{cursor:pointer}._Qp7zN._SYXwo:hover:not(._hOUm2){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Qp7zN._SYXwo:active:not(._hOUm2){background-color:#f3f3f3}._Qp7zN._LBqYg:not(._hOUm2){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Qp7zN._hOUm2{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Qp7zN ._ra8eL{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Qp7zN ._ra8eL._MsidO{left:-1px}._Qp7zN ._ra8eL._jm7RJ{right:0}._Qp7zN ._P-nt8{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Qp7zN ._P-nt8._MsidO{left:-2px}._Qp7zN ._P-nt8._jm7RJ{right:-1px}._Qp7zN:first-of-type ._MsidO._ra8eL{left:0;width:2px;border-left:1px solid #fff}._Qp7zN:first-of-type ._MsidO._P-nt8{left:0}._Qp7zN:last-of-type ._jm7RJ._ra8eL{right:0;width:2px;border-right:1px solid #fff}._Qp7zN:last-of-type ._jm7RJ._P-nt8{right:0}._Qp7zN ._wiUo7{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Qp7zN ._wiUo7 ._k-IC4{position:absolute;width:2px;right:2px;top:0;bottom:0}._Qp7zN ._wiUo7 ._k-IC4._BOwPy{background-color:#0a6ed1}._Qp7zN ._wiUo7:hover ._k-IC4:not(._BOwPy){background-color:#d9d9d9}._Qp7zN ._AYWpu{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._Qp7zN ._AYWpu._4incK{flex-direction:row-reverse;justify-content:flex-start}._Qp7zN ._AYWpu._4incK ._sKx6g{margin:1px 7px 1px 1px}._Qp7zN ._AYWpu ._0Mn4p{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Qp7zN ._AYWpu ._sKx6g{margin:1px 1px 1px 7px;flex-shrink:0}._Qp7zN ._KeUS5{margin-left:6px;margin-right:4px;flex-shrink:0}._Qp7zN ._iY-Pg{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Qp7zN:focus{outline:none}._Qp7zN._-wUHA.focus-visible:after,._Qp7zN._-wUHA:focus-visible:after,._Qp7zN.focus-visible:after,._Qp7zN:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._9MDID{margin-right:6px}._cg4FL{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._cg4FL[focus-within]{z-index:30}._cg4FL:focus-within{z-index:30}._jzayj{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._jzayj ._6qejl{width:100%;padding:12px 12px 11px;overflow:hidden}._jzayj._hOUm2{background-color:#efefef;border-bottom-color:#dfdfe1}._jzayj._V-ZBF{flex-grow:1}._jzayj:focus{outline:none}._jzayj._-wUHA.focus-visible:after,._jzayj._-wUHA:focus-visible:after,._jzayj.focus-visible:after,._jzayj:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._VG9vk{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._VG9vk._i9sF8{border-bottom-color:#d9d9d9;background-color:#fff}._QmveY{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._QmveY._i9sF8{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._QmveY:focus input~span,._QmveY:hover input~span{border-color:#0b6ed0}._z6YM8{justify-content:flex-start}._V6BqC{justify-content:center;text-align:center}._4incK{justify-content:flex-end;text-align:right}._iJBQY{display:none}._lNqE-{opacity:0;height:0;width:0;overflow:hidden}._lNqE-,._NhOnv{position:absolute}._NhOnv{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._SyIHy{max-width:250px;min-width:150px!important}";
|
|
38
38
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
39
39
|
|
|
40
40
|
// TODO: Move the imported types into this file to avoid a ciruclar dependency warning.
|
|
@@ -1843,9 +1843,9 @@ function mapExternalRowToInternalRows(row, depthSize, depthIndex, parentId) {
|
|
|
1843
1843
|
|
|
1844
1844
|
/* eslint-disable import/prefer-default-export */
|
|
1845
1845
|
|
|
1846
|
-
var css_248z$b = ".
|
|
1847
|
-
var styles$a = {"collapsibleSearchInput":"
|
|
1848
|
-
var stylesheet$b=".
|
|
1846
|
+
var css_248z$b = "._BAtzb{display:inline-block;width:36px;transition:width .25s ease-out}._uQf7X{width:100%}._zp-23>input{padding-right:0!important}._xdCOk>svg{fill:#515559}";
|
|
1847
|
+
var styles$a = {"collapsibleSearchInput":"_BAtzb","searchInput":"_uQf7X","searchInputCollapsed":"_zp-23","iconButton":"_xdCOk"};
|
|
1848
|
+
var stylesheet$b="._BAtzb{display:inline-block;width:36px;transition:width .25s ease-out}._uQf7X{width:100%}._zp-23>input{padding-right:0!important}._xdCOk>svg{fill:#515559}";
|
|
1849
1849
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
1850
1850
|
|
|
1851
1851
|
const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2667,9 +2667,9 @@ function Combobox(_ref) {
|
|
|
2667
2667
|
}, children);
|
|
2668
2668
|
}
|
|
2669
2669
|
|
|
2670
|
-
var css_248z$a = ".
|
|
2671
|
-
var styles$9 = {"loadingSpinner":"
|
|
2672
|
-
var stylesheet$a=".
|
|
2670
|
+
var css_248z$a = "._bpm57 :after{background-color:#515559!important}._z5DeP>input:focus{box-shadow:none!important;border:1px solid #898989!important}._cwol7{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._cwol7 ._I8Xpd ._zZNCq{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._cwol7 ._I8Xpd:first-child ._VIAY8{display:none}._cwol7 ._QsfgN{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._cwol7 ._QsfgN:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._cwol7 ._QsfgN:hover._AWU-Z{background-color:#e4effa}._cwol7 ._QsfgN._AWU-Z{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._cwol7 ._QsfgN:active:not(._AWU-Z){background-color:#e8e9e9}";
|
|
2671
|
+
var styles$9 = {"loadingSpinner":"_bpm57","ignoreFocusStyle":"_z5DeP","flyout":"_cwol7","group":"_I8Xpd","header":"_zZNCq","divider":"_VIAY8","option":"_QsfgN","selected":"_AWU-Z"};
|
|
2672
|
+
var stylesheet$a="._bpm57 :after{background-color:#515559!important}._z5DeP>input:focus{box-shadow:none!important;border:1px solid #898989!important}._cwol7{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._cwol7 ._I8Xpd ._zZNCq{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._cwol7 ._I8Xpd:first-child ._VIAY8{display:none}._cwol7 ._QsfgN{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._cwol7 ._QsfgN:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._cwol7 ._QsfgN:hover._AWU-Z{background-color:#e4effa}._cwol7 ._QsfgN._AWU-Z{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._cwol7 ._QsfgN:active:not(._AWU-Z){background-color:#e8e9e9}";
|
|
2673
2673
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
2674
2674
|
|
|
2675
2675
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2979,9 +2979,9 @@ function ComboboxOption(_ref) {
|
|
|
2979
2979
|
}, label);
|
|
2980
2980
|
}
|
|
2981
2981
|
|
|
2982
|
-
var css_248z$9 = ".
|
|
2983
|
-
var styles$8 = {"overlay":"
|
|
2984
|
-
var stylesheet$9=".
|
|
2982
|
+
var css_248z$9 = "._QbmvV{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._Y5-Kq{visibility:hidden}._110HO{position:fixed}";
|
|
2983
|
+
var styles$8 = {"overlay":"_QbmvV","hidden":"_Y5-Kq","anchoredToBody":"_110HO"};
|
|
2984
|
+
var stylesheet$9="._QbmvV{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._Y5-Kq{visibility:hidden}._110HO{position:fixed}";
|
|
2985
2985
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$9);}
|
|
2986
2986
|
|
|
2987
2987
|
/**
|
|
@@ -3047,9 +3047,9 @@ const useOverlay = _ref => {
|
|
|
3047
3047
|
}, [containerRef, isVisible, ignoreIds, overlayId]);
|
|
3048
3048
|
};
|
|
3049
3049
|
|
|
3050
|
-
var css_248z$8 = ".
|
|
3051
|
-
var styles$7 = {"drawer":"
|
|
3052
|
-
var stylesheet$8=".
|
|
3050
|
+
var css_248z$8 = "._Jtzgt{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._cz501{visibility:hidden}._E5F28{position:fixed}._OG3mb{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._DH7MG{padding-top:8px}._yt9sO{margin-left:12px}";
|
|
3051
|
+
var styles$7 = {"drawer":"_Jtzgt","hidden":"_cz501","anchoredToBody":"_E5F28","header":"_OG3mb","title":"_DH7MG","closeButton":"_yt9sO"};
|
|
3052
|
+
var stylesheet$8="._Jtzgt{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._cz501{visibility:hidden}._E5F28{position:fixed}._OG3mb{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._DH7MG{padding-top:8px}._yt9sO{margin-left:12px}";
|
|
3053
3053
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
3054
3054
|
|
|
3055
3055
|
const Drawer = _ref => {
|
|
@@ -3165,9 +3165,9 @@ const Drawer = _ref => {
|
|
|
3165
3165
|
}, children))), containerNode) : null;
|
|
3166
3166
|
};
|
|
3167
3167
|
|
|
3168
|
-
var css_248z$7 = ".
|
|
3169
|
-
var styles$6 = {"button":"
|
|
3170
|
-
var stylesheet$7=".
|
|
3168
|
+
var css_248z$7 = "._5iUaw{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._5iUaw:hover:not(._FhtYh){background-color:rgba(50,54,58,.08)}._5iUaw:hover:not(._FhtYh)._RZWir{border-color:#085caf;background-color:rgba(11,110,208,.04)}._5iUaw:hover:not(._FhtYh)._RZWir ._EZ-D3{color:#32363a}._5iUaw:hover:not(._FhtYh)._RZWir ._vxE-Q{fill:#32363a}._5iUaw:hover:not(._FhtYh)._RZWir ._jVvrt{fill:#085caf}._5iUaw:hover:not(._FhtYh)._RZWir ._lYQvG{background-color:rgba(11,110,208,.11)}._5iUaw:hover:not(._FhtYh)._RZWir ._lYQvG ._8q5iP{color:#085caf}._5iUaw:active:not(._FhtYh){background-color:#e8e9e9}._5iUaw:active:not(._FhtYh)._RZWir{background-color:rgba(11,110,208,.11);border-color:#0854a1}._5iUaw:active:not(._FhtYh)._RZWir ._jVvrt{fill:#0854a1}._5iUaw:active:not(._FhtYh)._RZWir ._lYQvG{background-color:rgba(11,110,208,.11)}._5iUaw:active:not(._FhtYh)._RZWir ._lYQvG ._8q5iP{color:#0854a1}._5iUaw._FhtYh{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._5iUaw._RZWir{border-color:#0b6ed0}._vxE-Q{fill:#515559;margin-right:4px}._EZ-D3{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._EZ-D3+._lYQvG{margin-left:6px}._EZ-D3._FhtYh{color:#74777a}._lYQvG{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._8q5iP{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._jVvrt{fill:#515559}._jVvrt._FhtYh,._jVvrt._FhtYh._RZWir{fill:rgba(116,119,122,.4)}._jVvrt._RZWir{fill:#0b6ed0}._jVvrt._p-QKd{transform:rotate(-180deg)}._5iUaw.focus-visible,._5iUaw:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3169
|
+
var styles$6 = {"button":"_5iUaw","disabled":"_FhtYh","selected":"_RZWir","label":"_EZ-D3","lockIcon":"_vxE-Q","chevronIcon":"_jVvrt","selectedFiltersContainer":"_lYQvG","selectedFilters":"_8q5iP","open":"_p-QKd"};
|
|
3170
|
+
var stylesheet$7="._5iUaw{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._5iUaw:hover:not(._FhtYh){background-color:rgba(50,54,58,.08)}._5iUaw:hover:not(._FhtYh)._RZWir{border-color:#085caf;background-color:rgba(11,110,208,.04)}._5iUaw:hover:not(._FhtYh)._RZWir ._EZ-D3{color:#32363a}._5iUaw:hover:not(._FhtYh)._RZWir ._vxE-Q{fill:#32363a}._5iUaw:hover:not(._FhtYh)._RZWir ._jVvrt{fill:#085caf}._5iUaw:hover:not(._FhtYh)._RZWir ._lYQvG{background-color:rgba(11,110,208,.11)}._5iUaw:hover:not(._FhtYh)._RZWir ._lYQvG ._8q5iP{color:#085caf}._5iUaw:active:not(._FhtYh){background-color:#e8e9e9}._5iUaw:active:not(._FhtYh)._RZWir{background-color:rgba(11,110,208,.11);border-color:#0854a1}._5iUaw:active:not(._FhtYh)._RZWir ._jVvrt{fill:#0854a1}._5iUaw:active:not(._FhtYh)._RZWir ._lYQvG{background-color:rgba(11,110,208,.11)}._5iUaw:active:not(._FhtYh)._RZWir ._lYQvG ._8q5iP{color:#0854a1}._5iUaw._FhtYh{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._5iUaw._RZWir{border-color:#0b6ed0}._vxE-Q{fill:#515559;margin-right:4px}._EZ-D3{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._EZ-D3+._lYQvG{margin-left:6px}._EZ-D3._FhtYh{color:#74777a}._lYQvG{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._8q5iP{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._jVvrt{fill:#515559}._jVvrt._FhtYh,._jVvrt._FhtYh._RZWir{fill:rgba(116,119,122,.4)}._jVvrt._RZWir{fill:#0b6ed0}._jVvrt._p-QKd{transform:rotate(-180deg)}._5iUaw.focus-visible,._5iUaw:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3171
3171
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
3172
3172
|
|
|
3173
3173
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -3681,15 +3681,19 @@ const Menu = _ref => {
|
|
|
3681
3681
|
const virtuoso = React.useRef(null);
|
|
3682
3682
|
const [maskHeight, setMaskHeight] = React.useState(null);
|
|
3683
3683
|
const [maskWidth, setMaskWidth] = React.useState(null);
|
|
3684
|
-
const [
|
|
3684
|
+
const [submenuDepths, setSubmenuDepths] = React.useState({});
|
|
3685
3685
|
const triggerRef = React.useRef(null);
|
|
3686
|
-
const registerSubmenu = (submenuId, submenuIsOpen) => {
|
|
3687
|
-
|
|
3688
|
-
const clone =
|
|
3686
|
+
const registerSubmenu = (submenuId, submenuIsOpen, parentSubmenuId) => {
|
|
3687
|
+
setSubmenuDepths(subs => {
|
|
3688
|
+
const clone = {
|
|
3689
|
+
...subs
|
|
3690
|
+
};
|
|
3689
3691
|
if (submenuIsOpen) {
|
|
3690
|
-
clone
|
|
3692
|
+
const parentDepth = clone[parentSubmenuId];
|
|
3693
|
+
const submenuDepth = parentDepth ? parentDepth + 1 : 2;
|
|
3694
|
+
clone[submenuId] = submenuDepth;
|
|
3691
3695
|
} else {
|
|
3692
|
-
clone
|
|
3696
|
+
delete clone[submenuId];
|
|
3693
3697
|
}
|
|
3694
3698
|
return clone;
|
|
3695
3699
|
});
|
|
@@ -3704,7 +3708,15 @@ const Menu = _ref => {
|
|
|
3704
3708
|
e.preventDefault();
|
|
3705
3709
|
}
|
|
3706
3710
|
});
|
|
3707
|
-
const openPaneDepth = React.useMemo(() =>
|
|
3711
|
+
const openPaneDepth = React.useMemo(() => {
|
|
3712
|
+
if (Object.values(submenuDepths).length) {
|
|
3713
|
+
return Math.max(...Object.values(submenuDepths));
|
|
3714
|
+
}
|
|
3715
|
+
if (open) {
|
|
3716
|
+
return 1;
|
|
3717
|
+
}
|
|
3718
|
+
return 0;
|
|
3719
|
+
}, [submenuDepths, open]);
|
|
3708
3720
|
const [searchBarConfigs, setSearchBarConfigs] = React.useState([]);
|
|
3709
3721
|
return /*#__PURE__*/React__default["default"].createElement(MenuContextProvider, {
|
|
3710
3722
|
value: {
|
|
@@ -3721,7 +3733,8 @@ const Menu = _ref => {
|
|
|
3721
3733
|
maskWidth,
|
|
3722
3734
|
setMaskWidth,
|
|
3723
3735
|
virtuoso,
|
|
3724
|
-
isVirtualizationDisabled
|
|
3736
|
+
isVirtualizationDisabled,
|
|
3737
|
+
submenuDepths
|
|
3725
3738
|
}
|
|
3726
3739
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Root, {
|
|
3727
3740
|
open: open,
|
|
@@ -3740,29 +3753,11 @@ class PointerEvent extends Event {
|
|
|
3740
3753
|
}
|
|
3741
3754
|
}
|
|
3742
3755
|
|
|
3743
|
-
var css_248z$6 = ".
|
|
3744
|
-
var styles$5 = {"buttonContainer":"
|
|
3745
|
-
var stylesheet$6=".
|
|
3756
|
+
var css_248z$6 = "._LlswR{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._LlswR>._AvNSN{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._LlswR>._AvNSN:hover:not([aria-disabled=true]){background-color:#f5f5f5}._LlswR>._AvNSN.focus-visible,._LlswR>._AvNSN:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LlswR>._AvNSN+._SJSam{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._LlswR>._AvNSN[data-state=open]+._SJSam{transform:rotate(-180deg) translateY(50%)}._LlswR>._AvNSN[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._LlswR>._AvNSN[aria-disabled=true]+._SJSam{fill:#515559;opacity:.4}._HEhyL>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._HEhyL>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._86MOw{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._86MOw ._ittJ4{height:100%;overflow-y:scroll}._86MOw._P-55v{margin-left:30px;opacity:0}._86MOw._nl0QJ{margin-left:-30px}._zd75j{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._zd75j._RMJIu{cursor:unset}._zd75j ._PFGit{fill:#32363a;margin-right:4px}._zd75j:focus,._zd75j:hover:not(._zd75j._RMJIu){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._zd75j[aria-disabled=true]{cursor:not-allowed;opacity:.65}._zd75j._mbr2V{padding-right:32px}._zd75j._mbr2V ._SJSam{position:absolute;height:100%;right:3px;fill:#515559}._zd75j._0N8-d{pointer-events:none}._UW3EA{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._UW3EA._ljFwC{padding-top:52px}._3J1dN{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._v-jxO{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._v-jxO._nl0QJ{opacity:0}._v-jxO._nl0QJ>._JfT3o{margin-left:-30px}._v-jxO._P-55v{opacity:0}._v-jxO._P-55v>._JfT3o{margin-left:30px}._v-jxO>._JfT3o{transition:margin-left .35s;width:100%}._v-jxO._0N8-d{pointer-events:none}body.keyboard-user ._zd75j:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3757
|
+
var styles$5 = {"buttonContainer":"_LlswR","button":"_AvNSN","rightIcon":"_SJSam","maskContainer":"_HEhyL","flyout":"_86MOw","scrollContainer":"_ittJ4","animatedRight":"_P-55v","animatedLeft":"_nl0QJ","menuItem":"_zd75j","noItems":"_RMJIu","backIcon":"_PFGit","subMenu":"_mbr2V","unresponsive":"_0N8-d","stickyBox":"_UW3EA","isSearchable":"_ljFwC","searchBoxesContainer":"_3J1dN","searchBox":"_v-jxO","searchInput":"_JfT3o"};
|
|
3758
|
+
var stylesheet$6="._LlswR{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._LlswR>._AvNSN{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._LlswR>._AvNSN:hover:not([aria-disabled=true]){background-color:#f5f5f5}._LlswR>._AvNSN.focus-visible,._LlswR>._AvNSN:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LlswR>._AvNSN+._SJSam{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._LlswR>._AvNSN[data-state=open]+._SJSam{transform:rotate(-180deg) translateY(50%)}._LlswR>._AvNSN[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._LlswR>._AvNSN[aria-disabled=true]+._SJSam{fill:#515559;opacity:.4}._HEhyL>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._HEhyL>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._86MOw{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._86MOw ._ittJ4{height:100%;overflow-y:scroll}._86MOw._P-55v{margin-left:30px;opacity:0}._86MOw._nl0QJ{margin-left:-30px}._zd75j{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._zd75j._RMJIu{cursor:unset}._zd75j ._PFGit{fill:#32363a;margin-right:4px}._zd75j:focus,._zd75j:hover:not(._zd75j._RMJIu){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._zd75j[aria-disabled=true]{cursor:not-allowed;opacity:.65}._zd75j._mbr2V{padding-right:32px}._zd75j._mbr2V ._SJSam{position:absolute;height:100%;right:3px;fill:#515559}._zd75j._0N8-d{pointer-events:none}._UW3EA{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._UW3EA._ljFwC{padding-top:52px}._3J1dN{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._v-jxO{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._v-jxO._nl0QJ{opacity:0}._v-jxO._nl0QJ>._JfT3o{margin-left:-30px}._v-jxO._P-55v{opacity:0}._v-jxO._P-55v>._JfT3o{margin-left:30px}._v-jxO>._JfT3o{transition:margin-left .35s;width:100%}._v-jxO._0N8-d{pointer-events:none}body.keyboard-user ._zd75j:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3746
3759
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
3747
3760
|
|
|
3748
|
-
/* eslint-disable import/prefer-default-export */
|
|
3749
|
-
const DATA_TESTID_SUFFIXES$1 = {
|
|
3750
|
-
MENU_PANE: 'menupane',
|
|
3751
|
-
MENU_ITEM: 'menuitem',
|
|
3752
|
-
MENU_BUTTON: 'menubutton',
|
|
3753
|
-
MENU_SEARCH: 'menusearch',
|
|
3754
|
-
MENU_BACK: 'menuback'
|
|
3755
|
-
};
|
|
3756
|
-
const KEYS$1 = {
|
|
3757
|
-
OPEN_SUBMENU: ['ArrowRight', 'Enter', ' '],
|
|
3758
|
-
CLOSE_SUBMENU: ['ArrowLeft'],
|
|
3759
|
-
NAVIGATE_UP: ['ArrowUp'],
|
|
3760
|
-
NAVIGATE_DOWN: ['ArrowDown'],
|
|
3761
|
-
NAVIGATE_TOP: ['Home'],
|
|
3762
|
-
NAVIIGATE_BOTTOM: ['End'],
|
|
3763
|
-
IGNORED_BY_SEARCH_INPUT: ['Tab']
|
|
3764
|
-
};
|
|
3765
|
-
|
|
3766
3761
|
/* eslint-disable import/prefer-default-export */
|
|
3767
3762
|
const DATA_TESTID_SUFFIXES = {
|
|
3768
3763
|
SELECT_PANE: 'selectpane',
|
|
@@ -3827,7 +3822,7 @@ const MenuButton = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
|
|
|
3827
3822
|
}),
|
|
3828
3823
|
asChild: asChild,
|
|
3829
3824
|
ref: index.mergeRefs(triggerRef, ref),
|
|
3830
|
-
"data-testid": index.getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_BUTTON : DATA_TESTID_SUFFIXES
|
|
3825
|
+
"data-testid": index.getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_BUTTON : index.DATA_TESTID_SUFFIXES.MENU_BUTTON)
|
|
3831
3826
|
}), children), !asChild && /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronDownIcon, {
|
|
3832
3827
|
className: styles$5.rightIcon,
|
|
3833
3828
|
"aria-hidden": "true"
|
|
@@ -3920,7 +3915,6 @@ function usePaneSearch(_ref) {
|
|
|
3920
3915
|
} = _ref;
|
|
3921
3916
|
const withinSelect = useSelectContext(true) !== null;
|
|
3922
3917
|
const [internalSearchValue, setSearchValue] = index.useControllableState(externalSearchValue, onSearchValueChange, externalSearchValue);
|
|
3923
|
-
const [zeroSearchResults, setZeroSearchResults] = React.useState();
|
|
3924
3918
|
const {
|
|
3925
3919
|
translate
|
|
3926
3920
|
} = index.useTranslation();
|
|
@@ -3938,7 +3932,6 @@ function usePaneSearch(_ref) {
|
|
|
3938
3932
|
return searchMatcher === null || searchMatcher === void 0 || (_searchMatcher$toLowe = searchMatcher.toLowerCase) === null || _searchMatcher$toLowe === void 0 ? void 0 : _searchMatcher$toLowe.call(searchMatcher).includes(internalSearchValue.toLowerCase());
|
|
3939
3933
|
}), [internalSearchValue, children, isSearchFilteringDisabled]);
|
|
3940
3934
|
const focusVirtualBoundary = useFocusVirtualBoundary(items, backButtonRef);
|
|
3941
|
-
React.useEffect(() => setZeroSearchResults((items === null || items === void 0 ? void 0 : items.filter(item => item.element.current).length) === 0), [items, internalSearchValue]);
|
|
3942
3935
|
const searchRef = React.useRef(null);
|
|
3943
3936
|
const searchInput = (_searchRef$current$qu = (_searchRef$current = searchRef.current) === null || _searchRef$current === void 0 ? void 0 : _searchRef$current.querySelector('input')) !== null && _searchRef$current$qu !== void 0 ? _searchRef$current$qu : null;
|
|
3944
3937
|
const getFirstVisibleItem = () => {
|
|
@@ -3952,7 +3945,7 @@ function usePaneSearch(_ref) {
|
|
|
3952
3945
|
);
|
|
3953
3946
|
};
|
|
3954
3947
|
index.useEventListener(flyoutRef, 'keydown', e => {
|
|
3955
|
-
if (KEYS
|
|
3948
|
+
if (index.KEYS.NAVIGATE_UP.includes(e.key) && e.target === getFirstVisibleItem() || index.KEYS.NAVIGATE_DOWN.includes(e.key) && e.target === getLastVisibleItem()) {
|
|
3956
3949
|
searchInput === null || searchInput === void 0 || searchInput.focus();
|
|
3957
3950
|
}
|
|
3958
3951
|
}, {
|
|
@@ -3963,7 +3956,7 @@ function usePaneSearch(_ref) {
|
|
|
3963
3956
|
index.useEventListener(searchInput, 'keydown', e => {
|
|
3964
3957
|
var _e$target;
|
|
3965
3958
|
lastestKeyPressedInSearchInput.current = e.key;
|
|
3966
|
-
if ([...KEYS
|
|
3959
|
+
if ([...index.KEYS.NAVIGATE_DOWN, ...index.KEYS.NAVIGATE_TOP].includes(e.key)) {
|
|
3967
3960
|
// prevent scrolling
|
|
3968
3961
|
e.preventDefault();
|
|
3969
3962
|
if (isVirtualized) {
|
|
@@ -3972,7 +3965,7 @@ function usePaneSearch(_ref) {
|
|
|
3972
3965
|
var _getFirstVisibleItem;
|
|
3973
3966
|
(_getFirstVisibleItem = getFirstVisibleItem()) === null || _getFirstVisibleItem === void 0 || _getFirstVisibleItem.focus();
|
|
3974
3967
|
}
|
|
3975
|
-
} else if ([...KEYS
|
|
3968
|
+
} else if ([...index.KEYS.NAVIGATE_UP, ...index.KEYS.NAVIIGATE_BOTTOM].includes(e.key)) {
|
|
3976
3969
|
// prevent scrolling
|
|
3977
3970
|
e.preventDefault();
|
|
3978
3971
|
if (isVirtualized) {
|
|
@@ -3981,14 +3974,14 @@ function usePaneSearch(_ref) {
|
|
|
3981
3974
|
var _getLastVisibleItem;
|
|
3982
3975
|
(_getLastVisibleItem = getLastVisibleItem()) === null || _getLastVisibleItem === void 0 || _getLastVisibleItem.focus();
|
|
3983
3976
|
}
|
|
3984
|
-
} else if (KEYS
|
|
3977
|
+
} else if (index.KEYS.CLOSE_SUBMENU.includes(e.key) && ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.selectionStart) === 0) {
|
|
3985
3978
|
closeSubmenu === null || closeSubmenu === void 0 || closeSubmenu(e);
|
|
3986
|
-
} else if (KEYS
|
|
3979
|
+
} else if (index.KEYS.IGNORED_BY_SEARCH_INPUT.includes(e.key)) {
|
|
3987
3980
|
e.preventDefault();
|
|
3988
3981
|
}
|
|
3989
3982
|
});
|
|
3990
3983
|
index.useEventListener(searchInput, 'blur', () => {
|
|
3991
|
-
const refocus = ![...KEYS
|
|
3984
|
+
const refocus = ![...index.KEYS.NAVIGATE_DOWN, ...index.KEYS.NAVIGATE_UP, ...index.KEYS.NAVIGATE_TOP, ...index.KEYS.NAVIIGATE_BOTTOM].includes(lastestKeyPressedInSearchInput.current) && !animatedLeft && !animatedRight && searchInput;
|
|
3992
3985
|
lastestKeyPressedInSearchInput.current = undefined;
|
|
3993
3986
|
if (refocus) {
|
|
3994
3987
|
searchInput.focus();
|
|
@@ -4013,7 +4006,7 @@ function usePaneSearch(_ref) {
|
|
|
4013
4006
|
isInteractive: !animatedLeft && !animatedRight,
|
|
4014
4007
|
animatedLeft,
|
|
4015
4008
|
animatedRight,
|
|
4016
|
-
dataTestId: menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES
|
|
4009
|
+
dataTestId: menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : index.DATA_TESTID_SUFFIXES.MENU_PANE, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_SEARCH : index.DATA_TESTID_SUFFIXES.MENU_SEARCH),
|
|
4017
4010
|
setSearchValue,
|
|
4018
4011
|
ref: searchRef,
|
|
4019
4012
|
id,
|
|
@@ -4040,7 +4033,7 @@ function usePaneSearch(_ref) {
|
|
|
4040
4033
|
// Omitted dependencies because we only want this to run on unmount
|
|
4041
4034
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4042
4035
|
[]);
|
|
4043
|
-
const noSearchResultsNode =
|
|
4036
|
+
const noSearchResultsNode = filteredChildren.length === 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4044
4037
|
className: classNames__default["default"](styles$5.menuItem, styles$5.noItems),
|
|
4045
4038
|
"aria-live": "assertive"
|
|
4046
4039
|
}, noMatchesText);
|
|
@@ -4066,11 +4059,11 @@ const useMutationObserver = (target, options, onMutate) => React.useEffect(() =>
|
|
|
4066
4059
|
return () => observer.disconnect();
|
|
4067
4060
|
}, [target, options, onMutate]);
|
|
4068
4061
|
|
|
4069
|
-
const useCSSVariable = function (name, value) {
|
|
4070
|
-
let
|
|
4071
|
-
React.useEffect(() => {
|
|
4072
|
-
|
|
4073
|
-
}, [value, name, ...
|
|
4062
|
+
const useCSSVariable = function (name, value, scope) {
|
|
4063
|
+
let additionalDependencies = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
|
|
4064
|
+
return React.useEffect(() => {
|
|
4065
|
+
scope === null || scope === void 0 || scope.style.setProperty(name, value !== null && value !== void 0 ? value : null);
|
|
4066
|
+
}, [value, name, scope, ...additionalDependencies]);
|
|
4074
4067
|
};
|
|
4075
4068
|
|
|
4076
4069
|
const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4155,9 +4148,9 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4155
4148
|
}, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
|
|
4156
4149
|
});
|
|
4157
4150
|
|
|
4158
|
-
var css_248z$5 = ".
|
|
4159
|
-
var styles$4 = {"isInvalid":"
|
|
4160
|
-
var stylesheet$5=".
|
|
4151
|
+
var css_248z$5 = "._JEVrK{box-shadow:inset 0 0 0 1px #b00!important}._gWGm3{margin-right:7px}._3EKx-{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4152
|
+
var styles$4 = {"isInvalid":"_JEVrK","checkbox":"_gWGm3","selectedItem":"_3EKx-"};
|
|
4153
|
+
var stylesheet$5="._JEVrK{box-shadow:inset 0 0 0 1px #b00!important}._gWGm3{margin-right:7px}._3EKx-{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4161
4154
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
4162
4155
|
|
|
4163
4156
|
const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4247,6 +4240,7 @@ const PaneChildren = _ref => {
|
|
|
4247
4240
|
} = (_useSelectContext = useSelectContext(true)) !== null && _useSelectContext !== void 0 ? _useSelectContext : {};
|
|
4248
4241
|
const {
|
|
4249
4242
|
closeSubmenu: containedWithinSubpane,
|
|
4243
|
+
setIsVirtualizationReady,
|
|
4250
4244
|
isVirtualized
|
|
4251
4245
|
} = usePaneContext();
|
|
4252
4246
|
const containerRef = React.useRef(null);
|
|
@@ -4256,9 +4250,9 @@ const PaneChildren = _ref => {
|
|
|
4256
4250
|
style: {
|
|
4257
4251
|
maxHeight: "calc(var(--flyout-max-height) -\n ".concat((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.offsetTop, "px -\n var(--flyout-bottom-padding))")
|
|
4258
4252
|
}
|
|
4259
|
-
}, isVirtualized ? /*#__PURE__*/React__default["default"].createElement(reactVirtuoso.Virtuoso, {
|
|
4253
|
+
}, isVirtualized ? /*#__PURE__*/React__default["default"].createElement(reactVirtuoso.Virtuoso, _extends__default["default"]({
|
|
4260
4254
|
ref: virtuoso,
|
|
4261
|
-
|
|
4255
|
+
startReached: () => setIsVirtualizationReady === null || setIsVirtualizationReady === void 0 ? void 0 : setIsVirtualizationReady(true),
|
|
4262
4256
|
customScrollParent: (_containerRef$current2 = containerRef.current) !== null && _containerRef$current2 !== void 0 ? _containerRef$current2 : undefined,
|
|
4263
4257
|
data: Array.isArray(children) ? children : [children],
|
|
4264
4258
|
itemContent: (index, child) => ! /*#__PURE__*/React__default["default"].isValidElement(child) ? null : /*#__PURE__*/React__default["default"].createElement(ItemContextProvider, {
|
|
@@ -4266,7 +4260,7 @@ const PaneChildren = _ref => {
|
|
|
4266
4260
|
virtualIndex: index + (multiselect && showSelectedItemsPane && !containedWithinSubpane ? 1 : 0)
|
|
4267
4261
|
}
|
|
4268
4262
|
}, child)
|
|
4269
|
-
}) : /*#__PURE__*/React__default["default"].createElement(ItemContextProvider, {
|
|
4263
|
+
}, index.VIRTUOSO_PROPS)) : /*#__PURE__*/React__default["default"].createElement(ItemContextProvider, {
|
|
4270
4264
|
value: {
|
|
4271
4265
|
virtualIndex: undefined
|
|
4272
4266
|
}
|
|
@@ -4278,7 +4272,7 @@ const useIsVirtualized = function (children) {
|
|
|
4278
4272
|
return React.useMemo(() => !isVirtualizationDisabled && React__default["default"].Children.count(children) >= 25, [children, isVirtualizationDisabled]);
|
|
4279
4273
|
};
|
|
4280
4274
|
|
|
4281
|
-
const useMaskDimensions = (target, animatedLeft, paneDepth, children) => {
|
|
4275
|
+
const useMaskDimensions = (target, animatedLeft, paneDepth, children, isVirtualized, isVirtualizationReady) => {
|
|
4282
4276
|
var _process$env;
|
|
4283
4277
|
const {
|
|
4284
4278
|
setMaskHeight,
|
|
@@ -4287,21 +4281,19 @@ const useMaskDimensions = (target, animatedLeft, paneDepth, children) => {
|
|
|
4287
4281
|
openPaneDepth,
|
|
4288
4282
|
open
|
|
4289
4283
|
} = useMenuContext();
|
|
4290
|
-
const
|
|
4284
|
+
const auto = 'auto';
|
|
4285
|
+
const updateMaskDimensions = function () {
|
|
4286
|
+
let reset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
4291
4287
|
if (target) {
|
|
4292
|
-
setMaskHeight(target.clientHeight);
|
|
4293
|
-
setMaskWidth(target.clientWidth);
|
|
4288
|
+
setMaskHeight(reset ? auto : target.clientHeight);
|
|
4289
|
+
setMaskWidth(reset ? auto : target.clientWidth);
|
|
4294
4290
|
}
|
|
4295
4291
|
};
|
|
4296
|
-
const auto = 'auto';
|
|
4297
4292
|
|
|
4298
|
-
// resets dimensions on menu close
|
|
4293
|
+
// resets dimensions on menu close so that the top-level pane reopens immediately, rather than animating
|
|
4299
4294
|
React.useEffect(() => {
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
setMaskWidth(auto);
|
|
4303
|
-
}
|
|
4304
|
-
}, [open, setMaskHeight, setMaskWidth]);
|
|
4295
|
+
updateMaskDimensions(!open);
|
|
4296
|
+
}, [open]);
|
|
4305
4297
|
|
|
4306
4298
|
// handles async children adjustments by consumer
|
|
4307
4299
|
index.useDidUpdate(() => {
|
|
@@ -4327,11 +4319,11 @@ const useMaskDimensions = (target, animatedLeft, paneDepth, children) => {
|
|
|
4327
4319
|
});
|
|
4328
4320
|
|
|
4329
4321
|
// determines if the mask is ready
|
|
4330
|
-
return maskHeight !== auto || typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test';
|
|
4322
|
+
return (maskHeight !== auto || typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test') && (isVirtualized ? isVirtualizationReady : true);
|
|
4331
4323
|
};
|
|
4332
4324
|
|
|
4333
4325
|
const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
4334
|
-
var _flyoutRef$current$pa, _flyoutRef$current, _flyoutRef$current2;
|
|
4326
|
+
var _flyoutRef$current$pa, _flyoutRef$current, _process$env, _flyoutRef$current2;
|
|
4335
4327
|
let {
|
|
4336
4328
|
placement,
|
|
4337
4329
|
children,
|
|
@@ -4341,6 +4333,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4341
4333
|
isSearchFilteringDisabled = false,
|
|
4342
4334
|
className,
|
|
4343
4335
|
zIndex = 1000,
|
|
4336
|
+
style,
|
|
4344
4337
|
...rest
|
|
4345
4338
|
} = _ref;
|
|
4346
4339
|
const [items, setItems] = React.useState([]);
|
|
@@ -4358,9 +4351,48 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4358
4351
|
return (_placement$split = placement === null || placement === void 0 || (_placement$split2 = placement.split) === null || _placement$split2 === void 0 ? void 0 : _placement$split2.call(placement, '-')) !== null && _placement$split !== void 0 ? _placement$split : [];
|
|
4359
4352
|
}, [placement]);
|
|
4360
4353
|
const thisPanesDepth = 1;
|
|
4361
|
-
const paneMaxHeight =
|
|
4354
|
+
const paneMaxHeight = React.useMemo(() => {
|
|
4355
|
+
let maxHeightString = '';
|
|
4356
|
+
const defaultPaneMaxHeight = 350;
|
|
4357
|
+
|
|
4358
|
+
// check `style`
|
|
4359
|
+
if (style !== null && style !== void 0 && style.maxHeight) {
|
|
4360
|
+
if (typeof style.maxHeight === 'number') {
|
|
4361
|
+
return style.maxHeight;
|
|
4362
|
+
}
|
|
4363
|
+
if (typeof style.maxHeight === 'string') {
|
|
4364
|
+
maxHeightString = style.maxHeight;
|
|
4365
|
+
}
|
|
4366
|
+
}
|
|
4367
|
+
|
|
4368
|
+
// check `className`
|
|
4369
|
+
if (!maxHeightString && flyoutRef.current) {
|
|
4370
|
+
const computedString = window.getComputedStyle(flyoutRef.current).maxHeight;
|
|
4371
|
+
if (computedString !== 'none') {
|
|
4372
|
+
maxHeightString = computedString;
|
|
4373
|
+
}
|
|
4374
|
+
}
|
|
4375
|
+
if (!maxHeightString) {
|
|
4376
|
+
return defaultPaneMaxHeight;
|
|
4377
|
+
}
|
|
4378
|
+
const maxHeightStringAsNumber = Number(maxHeightString);
|
|
4379
|
+
|
|
4380
|
+
// if it's not suffixed
|
|
4381
|
+
if (!Number.isNaN(maxHeightStringAsNumber)) {
|
|
4382
|
+
return maxHeightStringAsNumber;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
// if it is suffixed
|
|
4386
|
+
if (maxHeightString.slice(-2) === 'px' && !Number.isNaN(Number(maxHeightString.slice(0, -2)))) {
|
|
4387
|
+
return Number(maxHeightString.slice(0, -2));
|
|
4388
|
+
}
|
|
4389
|
+
return defaultPaneMaxHeight;
|
|
4390
|
+
// `className` impacts computed style
|
|
4391
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4392
|
+
}, [style, className]);
|
|
4362
4393
|
const paneBottomPadding = 4;
|
|
4363
4394
|
const maskContainerId = index.useId();
|
|
4395
|
+
const maskContainer = document.getElementById(maskContainerId);
|
|
4364
4396
|
const [transform, setTransform] = React.useState('');
|
|
4365
4397
|
const target = (_flyoutRef$current$pa = (_flyoutRef$current = flyoutRef.current) === null || _flyoutRef$current === void 0 ? void 0 : _flyoutRef$current.parentNode) !== null && _flyoutRef$current$pa !== void 0 ? _flyoutRef$current$pa : undefined;
|
|
4366
4398
|
const {
|
|
@@ -4374,8 +4406,9 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4374
4406
|
isVirtualizationDisabled
|
|
4375
4407
|
} = useMenuContext();
|
|
4376
4408
|
const isVirtualized = useIsVirtualized(children, isVirtualizationDisabled);
|
|
4409
|
+
const [isVirtualizationReady, setIsVirtualizationReady] = React.useState(typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test');
|
|
4377
4410
|
const animatedLeft = React.useMemo(() => openPaneDepth > thisPanesDepth, [openPaneDepth]);
|
|
4378
|
-
const dataTestId = index.getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES
|
|
4411
|
+
const dataTestId = index.getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : index.DATA_TESTID_SUFFIXES.MENU_PANE);
|
|
4379
4412
|
const {
|
|
4380
4413
|
noSearchResultsNode,
|
|
4381
4414
|
onInteractOutside,
|
|
@@ -4398,7 +4431,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4398
4431
|
const {
|
|
4399
4432
|
isFocusVisible
|
|
4400
4433
|
} = interactions.useFocusVisible();
|
|
4401
|
-
const maskIsReady = useMaskDimensions(flyoutRef.current, animatedLeft, thisPanesDepth, children);
|
|
4434
|
+
const maskIsReady = useMaskDimensions(flyoutRef.current, animatedLeft, thisPanesDepth, children, isVirtualized, isVirtualizationReady);
|
|
4402
4435
|
index.useDidUpdate(() => {
|
|
4403
4436
|
if (maskIsReady && isFocusVisible) {
|
|
4404
4437
|
items[0].element.current.focus();
|
|
@@ -4410,19 +4443,13 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4410
4443
|
if (!rect) {
|
|
4411
4444
|
return 'bottom';
|
|
4412
4445
|
}
|
|
4413
|
-
let maxHeight = paneMaxHeight;
|
|
4414
|
-
if (flyoutRef.current) {
|
|
4415
|
-
const computedString = window.getComputedStyle(flyoutRef.current).maxHeight.slice(0, -2);
|
|
4416
|
-
if (computedString !== '' && !Number.isNaN(+computedString)) {
|
|
4417
|
-
maxHeight = +computedString;
|
|
4418
|
-
}
|
|
4419
|
-
}
|
|
4420
4446
|
const distanceToBottom = window.innerHeight - rect.bottom;
|
|
4421
4447
|
const distanceToTop = rect.top;
|
|
4422
|
-
|
|
4448
|
+
const paddedMaxHeight = paneMaxHeight + paneBottomPadding * 2;
|
|
4449
|
+
if (distanceToBottom > paddedMaxHeight) {
|
|
4423
4450
|
return 'bottom';
|
|
4424
4451
|
}
|
|
4425
|
-
if (distanceToTop >
|
|
4452
|
+
if (distanceToTop > paddedMaxHeight) {
|
|
4426
4453
|
return 'top';
|
|
4427
4454
|
}
|
|
4428
4455
|
return 'bottom';
|
|
@@ -4433,11 +4460,11 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4433
4460
|
|
|
4434
4461
|
// We use the top-level Radix container as a mask. Radix does not expose this container to consumers, except through CSS.
|
|
4435
4462
|
// These hooks dynamically update the style of that container using CSS variables.
|
|
4436
|
-
useCSSVariable('--mask-z-index', String(zIndex),
|
|
4437
|
-
useCSSVariable('--mask-width', Number.isNaN(Number(maskWidth)) ? "".concat(maskWidth) : "".concat(maskWidth, "px"));
|
|
4438
|
-
useCSSVariable('--mask-height', Number.isNaN(Number(maskHeight)) ? "".concat(maskHeight) : "".concat(maskHeight, "px"));
|
|
4439
|
-
useCSSVariable('--flyout-max-height', "".concat(paneMaxHeight, "px"));
|
|
4440
|
-
useCSSVariable('--flyout-bottom-padding', "".concat(paneBottomPadding, "px"));
|
|
4463
|
+
useCSSVariable('--mask-z-index', String(zIndex), maskContainer);
|
|
4464
|
+
useCSSVariable('--mask-width', Number.isNaN(Number(maskWidth)) ? "".concat(maskWidth) : "".concat(maskWidth, "px"), maskContainer);
|
|
4465
|
+
useCSSVariable('--mask-height', Number.isNaN(Number(maskHeight)) ? "".concat(maskHeight) : "".concat(maskHeight, "px"), maskContainer);
|
|
4466
|
+
useCSSVariable('--flyout-max-height', "".concat(paneMaxHeight, "px"), maskContainer);
|
|
4467
|
+
useCSSVariable('--flyout-bottom-padding', "".concat(paneBottomPadding, "px"), maskContainer);
|
|
4441
4468
|
useOverlay({
|
|
4442
4469
|
isVisible: open,
|
|
4443
4470
|
ignoreIds: [maskContainerId],
|
|
@@ -4461,7 +4488,8 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4461
4488
|
zIndex,
|
|
4462
4489
|
focusVirtualBoundary,
|
|
4463
4490
|
isVirtualized,
|
|
4464
|
-
maskIsReady
|
|
4491
|
+
maskIsReady,
|
|
4492
|
+
setIsVirtualizationReady
|
|
4465
4493
|
}
|
|
4466
4494
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Portal, {
|
|
4467
4495
|
container: portalTarget || undefined
|
|
@@ -4474,6 +4502,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4474
4502
|
opacity: maskIsReady ? 1 : 0
|
|
4475
4503
|
}
|
|
4476
4504
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Content, _extends__default["default"]({}, rest, {
|
|
4505
|
+
style: style,
|
|
4477
4506
|
onCloseAutoFocus: () => {
|
|
4478
4507
|
var _triggerRef$current2;
|
|
4479
4508
|
return triggerRef === null || triggerRef === void 0 || (_triggerRef$current2 = triggerRef.current) === null || _triggerRef$current2 === void 0 ? void 0 : _triggerRef$current2.focus();
|
|
@@ -4548,7 +4577,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4548
4577
|
} = interactions.useFocusVisible({
|
|
4549
4578
|
isTextInput: true
|
|
4550
4579
|
});
|
|
4551
|
-
const dataTestId = index.getSubDataTestId(menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES
|
|
4580
|
+
const dataTestId = index.getSubDataTestId(menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : index.DATA_TESTID_SUFFIXES.MENU_PANE, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_ITEM : index.DATA_TESTID_SUFFIXES.MENU_ITEM), String(index$1));
|
|
4552
4581
|
const handleFocus = () => {
|
|
4553
4582
|
if (itemRef.current && flyoutRef.current && isFocusVisible) {
|
|
4554
4583
|
var _stickyBoxRef$current, _stickyBoxRef$current2;
|
|
@@ -4574,12 +4603,12 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4574
4603
|
e.preventDefault();
|
|
4575
4604
|
return;
|
|
4576
4605
|
}
|
|
4577
|
-
if (KEYS
|
|
4606
|
+
if (index.KEYS.CLOSE_SUBMENU.includes(e.key)) {
|
|
4578
4607
|
closeSubmenu === null || closeSubmenu === void 0 || closeSubmenu(e);
|
|
4579
|
-
} else if (paneIsVirtualized && KEYS
|
|
4608
|
+
} else if (paneIsVirtualized && index.KEYS.NAVIGATE_TOP.includes(e.key)) {
|
|
4580
4609
|
e.preventDefault();
|
|
4581
4610
|
focusVirtualBoundary('top');
|
|
4582
|
-
} else if (paneIsVirtualized && KEYS
|
|
4611
|
+
} else if (paneIsVirtualized && index.KEYS.NAVIIGATE_BOTTOM.includes(e.key)) {
|
|
4583
4612
|
e.preventDefault();
|
|
4584
4613
|
focusVirtualBoundary('bottom');
|
|
4585
4614
|
}
|
|
@@ -4603,6 +4632,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4603
4632
|
var MenuItem$1 = MenuItem;
|
|
4604
4633
|
|
|
4605
4634
|
const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
4635
|
+
var _submenuDepths$intern;
|
|
4606
4636
|
let {
|
|
4607
4637
|
children,
|
|
4608
4638
|
label,
|
|
@@ -4642,19 +4672,21 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4642
4672
|
closeSubmenu: closeSubmenuContainingTrigger,
|
|
4643
4673
|
zIndex: paneContainingTriggerZIndex,
|
|
4644
4674
|
focusVirtualBoundary: focusVirtualBoundaryWithinPaneContainingTrigger,
|
|
4645
|
-
isVirtualized: paneContainingTriggerIsVirtualized
|
|
4675
|
+
isVirtualized: paneContainingTriggerIsVirtualized,
|
|
4676
|
+
internalId: parentId
|
|
4646
4677
|
} = usePaneContext(triggerRef);
|
|
4647
4678
|
const triggerIndex = React.useMemo(() => virtualIndex !== null && virtualIndex !== void 0 ? virtualIndex : childIndex, [childIndex, virtualIndex]);
|
|
4648
4679
|
const {
|
|
4649
4680
|
openPaneDepth: totalOpenPaneDepth,
|
|
4650
4681
|
registerSubmenu,
|
|
4651
|
-
isVirtualizationDisabled
|
|
4682
|
+
isVirtualizationDisabled,
|
|
4683
|
+
submenuDepths
|
|
4652
4684
|
} = useMenuContext();
|
|
4653
4685
|
const {
|
|
4654
4686
|
isFocusVisible
|
|
4655
4687
|
} = interactions.useFocusVisible();
|
|
4656
4688
|
const zIndex = React.useMemo(() => paneContainingTriggerZIndex + 1, [paneContainingTriggerZIndex]);
|
|
4657
|
-
const thisPanesDepth =
|
|
4689
|
+
const thisPanesDepth = (_submenuDepths$intern = submenuDepths[internalId]) !== null && _submenuDepths$intern !== void 0 ? _submenuDepths$intern : Number.MAX_SAFE_INTEGER;
|
|
4658
4690
|
const [isPaneInDOM, setIsPaneInDOM] = React.useState(false);
|
|
4659
4691
|
const [isFrameAfterPaneAddedToDOM, setIsFrameAfterPaneAddedToDOM] = React.useState(false);
|
|
4660
4692
|
const [isTransitioningFromRight, setIsTransitioningFromRight] = React.useState(false);
|
|
@@ -4664,7 +4696,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4664
4696
|
const closeThisSubmenu = e => {
|
|
4665
4697
|
// prevent closing the entire menu, and Radix keyboard navigation
|
|
4666
4698
|
e.preventDefault();
|
|
4667
|
-
registerSubmenu(internalId, false);
|
|
4699
|
+
registerSubmenu(internalId, false, parentId);
|
|
4668
4700
|
};
|
|
4669
4701
|
const isVirtualized = useIsVirtualized(children, isVirtualizationDisabled);
|
|
4670
4702
|
const {
|
|
@@ -4688,8 +4720,8 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4688
4720
|
isVirtualized
|
|
4689
4721
|
});
|
|
4690
4722
|
const focusVirtualBoundaryInPane = useFocusVirtualBoundary(items, backButtonRef);
|
|
4691
|
-
const backButtonDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES
|
|
4692
|
-
const triggerDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES
|
|
4723
|
+
const backButtonDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : index.DATA_TESTID_SUFFIXES.MENU_PANE, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_BACK : index.DATA_TESTID_SUFFIXES.MENU_BACK);
|
|
4724
|
+
const triggerDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : index.DATA_TESTID_SUFFIXES.MENU_PANE, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_ITEM : index.DATA_TESTID_SUFFIXES.MENU_ITEM);
|
|
4693
4725
|
index.useDidUpdate(() => {
|
|
4694
4726
|
if (isPaneInDOM) {
|
|
4695
4727
|
setIsTransitioningFromRight(true);
|
|
@@ -4697,14 +4729,14 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4697
4729
|
setIsFrameAfterPaneAddedToDOM(true);
|
|
4698
4730
|
window.requestAnimationFrame(() => setIsFrameAfterPaneAddedToDOM(false));
|
|
4699
4731
|
}
|
|
4700
|
-
registerSubmenu(internalId, isPaneInDOM);
|
|
4732
|
+
registerSubmenu(internalId, isPaneInDOM, parentId);
|
|
4701
4733
|
onIsOpenChange === null || onIsOpenChange === void 0 || onIsOpenChange(isPaneInDOM);
|
|
4702
4734
|
}, [isPaneInDOM]);
|
|
4703
4735
|
|
|
4704
4736
|
// Omitted dependencies because this should only run on unmount
|
|
4705
4737
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4706
4738
|
React.useEffect(() => () => registerSubmenu(internalId, false), []);
|
|
4707
|
-
useMaskDimensions(flyoutRef.current, animatedLeft, thisPanesDepth, children);
|
|
4739
|
+
useMaskDimensions(flyoutRef.current, animatedLeft, thisPanesDepth, children, isVirtualized, true);
|
|
4708
4740
|
const handlePaneTransitionEnd = () => {
|
|
4709
4741
|
var _flyoutRef$current;
|
|
4710
4742
|
if (animatedLeft) {
|
|
@@ -4749,14 +4781,14 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4749
4781
|
onTriggerCheckboxSelect === null || onTriggerCheckboxSelect === void 0 || onTriggerCheckboxSelect();
|
|
4750
4782
|
return;
|
|
4751
4783
|
}
|
|
4752
|
-
if (!isDisabled && KEYS
|
|
4784
|
+
if (!isDisabled && index.KEYS.OPEN_SUBMENU.includes(e.key)) {
|
|
4753
4785
|
setIsPaneInDOM(true);
|
|
4754
|
-
} else if (KEYS
|
|
4786
|
+
} else if (index.KEYS.CLOSE_SUBMENU.includes(e.key)) {
|
|
4755
4787
|
closeSubmenuContainingTrigger === null || closeSubmenuContainingTrigger === void 0 || closeSubmenuContainingTrigger(e);
|
|
4756
|
-
} else if (paneContainingTriggerIsVirtualized && KEYS
|
|
4788
|
+
} else if (paneContainingTriggerIsVirtualized && index.KEYS.NAVIGATE_TOP.includes(e.key)) {
|
|
4757
4789
|
e.preventDefault();
|
|
4758
4790
|
focusVirtualBoundaryWithinPaneContainingTrigger('top');
|
|
4759
|
-
} else if (paneContainingTriggerIsVirtualized && KEYS
|
|
4791
|
+
} else if (paneContainingTriggerIsVirtualized && index.KEYS.NAVIIGATE_BOTTOM.includes(e.key)) {
|
|
4760
4792
|
e.preventDefault();
|
|
4761
4793
|
focusVirtualBoundaryWithinPaneContainingTrigger('bottom');
|
|
4762
4794
|
}
|
|
@@ -4779,7 +4811,8 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4779
4811
|
stickyBoxRef,
|
|
4780
4812
|
zIndex,
|
|
4781
4813
|
focusVirtualBoundary: focusVirtualBoundaryInPane,
|
|
4782
|
-
isVirtualized
|
|
4814
|
+
isVirtualized,
|
|
4815
|
+
internalId
|
|
4783
4816
|
}
|
|
4784
4817
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.SubContent, _extends__default["default"]({}, rest, {
|
|
4785
4818
|
loop: !isSearchable,
|
|
@@ -4811,12 +4844,12 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4811
4844
|
onSelect: closeThisSubmenu,
|
|
4812
4845
|
ref: backButtonRef,
|
|
4813
4846
|
onKeyDown: e => {
|
|
4814
|
-
if (KEYS
|
|
4847
|
+
if (index.KEYS.CLOSE_SUBMENU.includes(e.key)) {
|
|
4815
4848
|
closeThisSubmenu(e);
|
|
4816
|
-
} else if (isVirtualized && KEYS
|
|
4849
|
+
} else if (isVirtualized && index.KEYS.NAVIGATE_TOP.includes(e.key)) {
|
|
4817
4850
|
e.preventDefault();
|
|
4818
4851
|
focusVirtualBoundaryInPane('top');
|
|
4819
|
-
} else if (isVirtualized && KEYS
|
|
4852
|
+
} else if (isVirtualized && index.KEYS.NAVIIGATE_BOTTOM.includes(e.key)) {
|
|
4820
4853
|
e.preventDefault();
|
|
4821
4854
|
focusVirtualBoundaryInPane('bottom');
|
|
4822
4855
|
}
|
|
@@ -5195,9 +5228,9 @@ const RowDisplayCount = _ref => {
|
|
|
5195
5228
|
}));
|
|
5196
5229
|
};
|
|
5197
5230
|
|
|
5198
|
-
var css_248z$3 = ".
|
|
5199
|
-
var styles$3 = {"input":"
|
|
5200
|
-
var stylesheet$3=".
|
|
5231
|
+
var css_248z$3 = "._gc-c4 input{padding-left:76px!important}._h7TrK input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._h7TrK input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._h7TrK input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._5xhxR{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._5xhxR,._5xhxR._h7TrK:hover{background-color:transparent!important}._5xhxR:hover{background-color:rgba(50,54,58,.08)!important}._5xhxR:active{background-color:rgba(50,54,58,.11)!important}._5xhxR svg{top:2px!important}._KQyDw{position:relative}._DrPuX{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5232
|
+
var styles$3 = {"input":"_gc-c4","disabled":"_h7TrK","dropdown":"_5xhxR","container":"_KQyDw","countryCode":"_DrPuX"};
|
|
5233
|
+
var stylesheet$3="._gc-c4 input{padding-left:76px!important}._h7TrK input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._h7TrK input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._h7TrK input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._5xhxR{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._5xhxR,._5xhxR._h7TrK:hover{background-color:transparent!important}._5xhxR:hover{background-color:rgba(50,54,58,.08)!important}._5xhxR:active{background-color:rgba(50,54,58,.11)!important}._5xhxR svg{top:2px!important}._KQyDw{position:relative}._DrPuX{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5201
5234
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$3);}
|
|
5202
5235
|
|
|
5203
5236
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5307,9 +5340,9 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5307
5340
|
})));
|
|
5308
5341
|
});
|
|
5309
5342
|
|
|
5310
|
-
var css_248z$2 = ".
|
|
5311
|
-
var styles$2 = {"container":"
|
|
5312
|
-
var stylesheet$2=".
|
|
5343
|
+
var css_248z$2 = "._SyiJe{display:flex}._uODpB{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._uODpB._4d7Tj{background-color:#fff}._uODpB._4d7Tj._5YdqW.focus-visible:not(._n-eaM),._uODpB._4d7Tj._5YdqW:focus-visible:not(._n-eaM),._uODpB._4d7Tj._9ZdWk:not(._uODpB._4d7Tj._M1xC8),._uODpB._MSvcj{background-color:#0b6ed0}._uODpB._MSvcj._M1xC8._9ZdWk,._uODpB._MSvcj._n-eaM._5YdqW,._uODpB._MSvcj._n-eaM._M1xC8{opacity:.4}._v00Q4{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._v00Q4:focus{z-index:1}._WZ6Dr{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._WZ6Dr svg{margin-left:1px}._WZ6Dr._4d7Tj{background-color:#0b6ed0;border-color:transparent}._WZ6Dr._4d7Tj svg{fill:#fff!important}._WZ6Dr._4d7Tj:not(._4-Mxw):hover{background-color:#085caf!important}._WZ6Dr._4d7Tj:not(._4-Mxw):active{background-color:#0854a1!important}._WZ6Dr._4d7Tj._4-Mxw{opacity:.4}._WZ6Dr._4d7Tj._4-Mxw svg{background-color:transparent}._WZ6Dr._MSvcj{border-color:#0b6ed0;background-color:#fff}._WZ6Dr._MSvcj svg{fill:#0b6ed0!important}._WZ6Dr._MSvcj:not(._4-Mxw):hover{background-color:#eef5fc!important}._WZ6Dr._MSvcj:not(._4-Mxw):active{background-color:#e1edf9!important}._WZ6Dr._MSvcj._4-Mxw{opacity:.4}._WZ6Dr._MSvcj._4-Mxw svg{background-color:transparent}._GuNYG{width:260px}";
|
|
5344
|
+
var styles$2 = {"container":"_SyiJe","divider":"_uODpB","primary":"_4d7Tj","mainButtonFocus":"_5YdqW","mainButtonDisabled":"_n-eaM","dropdownButtonFocus":"_9ZdWk","dropdownButtonDisabled":"_M1xC8","secondary":"_MSvcj","mainButton":"_v00Q4","dropdownButton":"_WZ6Dr","disabled":"_4-Mxw","dropdownOption":"_GuNYG"};
|
|
5345
|
+
var stylesheet$2="._SyiJe{display:flex}._uODpB{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._uODpB._4d7Tj{background-color:#fff}._uODpB._4d7Tj._5YdqW.focus-visible:not(._n-eaM),._uODpB._4d7Tj._5YdqW:focus-visible:not(._n-eaM),._uODpB._4d7Tj._9ZdWk:not(._uODpB._4d7Tj._M1xC8),._uODpB._MSvcj{background-color:#0b6ed0}._uODpB._MSvcj._M1xC8._9ZdWk,._uODpB._MSvcj._n-eaM._5YdqW,._uODpB._MSvcj._n-eaM._M1xC8{opacity:.4}._v00Q4{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._v00Q4:focus{z-index:1}._WZ6Dr{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._WZ6Dr svg{margin-left:1px}._WZ6Dr._4d7Tj{background-color:#0b6ed0;border-color:transparent}._WZ6Dr._4d7Tj svg{fill:#fff!important}._WZ6Dr._4d7Tj:not(._4-Mxw):hover{background-color:#085caf!important}._WZ6Dr._4d7Tj:not(._4-Mxw):active{background-color:#0854a1!important}._WZ6Dr._4d7Tj._4-Mxw{opacity:.4}._WZ6Dr._4d7Tj._4-Mxw svg{background-color:transparent}._WZ6Dr._MSvcj{border-color:#0b6ed0;background-color:#fff}._WZ6Dr._MSvcj svg{fill:#0b6ed0!important}._WZ6Dr._MSvcj:not(._4-Mxw):hover{background-color:#eef5fc!important}._WZ6Dr._MSvcj:not(._4-Mxw):active{background-color:#e1edf9!important}._WZ6Dr._MSvcj._4-Mxw{opacity:.4}._WZ6Dr._MSvcj._4-Mxw svg{background-color:transparent}._GuNYG{width:260px}";
|
|
5313
5346
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$2);}
|
|
5314
5347
|
|
|
5315
5348
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5530,9 +5563,9 @@ const StackItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5530
5563
|
}, children);
|
|
5531
5564
|
});
|
|
5532
5565
|
|
|
5533
|
-
var css_248z$1 = ".
|
|
5534
|
-
var styles$1 = {"timePickerContainer":"
|
|
5535
|
-
var stylesheet$1=".
|
|
5566
|
+
var css_248z$1 = "._-lEnn{display:inline-block;position:relative}._-lEnn ._30lp3{width:120px}._-lEnn ._30lp3 ._2ANmP._ti-c-{transform:rotate(-180deg)}._-lEnn ._30lp3 ._2ANmP._fE-b2{fill:#9d9fa1;opacity:.4}._-lEnn ._m0WX->input:focus{box-shadow:none!important;border:1px solid #898989!important}._-lEnn ._2ANmP{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._-lEnn ._2ANmP._ti-c-{transform:rotate(-180deg)}._98--V{width:120px}._98--V ._M3hcn._s0ABi{background-color:#efefef;border-radius:6px}";
|
|
5567
|
+
var styles$1 = {"timePickerContainer":"_-lEnn","input":"_30lp3","icon":"_2ANmP","open":"_ti-c-","disabled":"_fE-b2","ignoreFocusStyle":"_m0WX-","timePickerFlyout":"_98--V","option":"_M3hcn","exactMatch":"_s0ABi"};
|
|
5568
|
+
var stylesheet$1="._-lEnn{display:inline-block;position:relative}._-lEnn ._30lp3{width:120px}._-lEnn ._30lp3 ._2ANmP._ti-c-{transform:rotate(-180deg)}._-lEnn ._30lp3 ._2ANmP._fE-b2{fill:#9d9fa1;opacity:.4}._-lEnn ._m0WX->input:focus{box-shadow:none!important;border:1px solid #898989!important}._-lEnn ._2ANmP{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._-lEnn ._2ANmP._ti-c-{transform:rotate(-180deg)}._98--V{width:120px}._98--V ._M3hcn._s0ABi{background-color:#efefef;border-radius:6px}";
|
|
5536
5569
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$1);}
|
|
5537
5570
|
|
|
5538
5571
|
const TimeDropdown = _ref => {
|
|
@@ -6112,9 +6145,9 @@ const {
|
|
|
6112
6145
|
Provider: ToggleButtonGroupContextProvider
|
|
6113
6146
|
} = index.createContextUtilities(null);
|
|
6114
6147
|
|
|
6115
|
-
var css_248z = ".
|
|
6116
|
-
var styles = {"default":"
|
|
6117
|
-
var stylesheet=".
|
|
6148
|
+
var css_248z = "._MFr6-{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._ZnQ6C{background-color:rgba(50,54,58,.08)}._O11pZ{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._I02vF{color:rgba(81,85,89,.4);cursor:not-allowed}._U0-WH{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._xE-13{color:#085caf;border-color:#085caf}._JH8oO,._xE-13{background:rgba(11,110,208,.11)}._JH8oO{color:#0854a1;border-color:#0854a1}._LFfqC{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._QmNNG{position:relative;display:inline-grid}._QmNNG svg{fill:currentColor}._QmNNG ._iWo9M{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._QmNNG ._iWo9M+._TivfQ{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._QmNNG ._iWo9M+._TivfQ._XcD1f{padding:5px;max-width:36px;min-width:36px}._QmNNG ._iWo9M+._TivfQ._owpPB{padding:0 16px}._QmNNG ._iWo9M+._TivfQ._SbIku{padding:0 16px 0 12px}._QmNNG ._iWo9M:hover+._TivfQ{background-color:rgba(50,54,58,.08)}._QmNNG ._iWo9M:disabled+._TivfQ{color:rgba(81,85,89,.4);cursor:not-allowed}._QmNNG ._iWo9M:active+._TivfQ,._QmNNG ._iWo9M:focus:active+._TivfQ{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._QmNNG ._iWo9M:checked+._TivfQ{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._QmNNG ._iWo9M:checked:hover+._TivfQ{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._QmNNG ._iWo9M:checked:disabled+._TivfQ{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._QmNNG ._iWo9M:checked:active+._TivfQ,._QmNNG ._iWo9M:checked:focus:active+._TivfQ{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._zPOFw{display:inline-flex;position:relative}._zPOFw:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._zPOFw>*{flex-shrink:0;flex-grow:0}._-eiys{border:none;margin:0;padding:0}._-eiys legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._QmNNG ._iWo9M.focus-visible+._TivfQ,._QmNNG ._iWo9M:focus-visible+._TivfQ{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6149
|
+
var styles = {"default":"_MFr6-","hovered":"_ZnQ6C","pressed":"_O11pZ","disabled":"_I02vF","selectedDefault":"_U0-WH","selectedHovered":"_xE-13","selectedPressed":"_JH8oO","selectedDisabled":"_LFfqC","toggleContainer":"_QmNNG","toggleInput":"_iWo9M","toggleButton":"_TivfQ","iconOnly":"_XcD1f","text":"_owpPB","iconText":"_SbIku","toggleButtonGroup":"_zPOFw","toggleButtonGroupFieldset":"_-eiys"};
|
|
6150
|
+
var stylesheet="._MFr6-{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._ZnQ6C{background-color:rgba(50,54,58,.08)}._O11pZ{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._I02vF{color:rgba(81,85,89,.4);cursor:not-allowed}._U0-WH{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._xE-13{color:#085caf;border-color:#085caf}._JH8oO,._xE-13{background:rgba(11,110,208,.11)}._JH8oO{color:#0854a1;border-color:#0854a1}._LFfqC{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._QmNNG{position:relative;display:inline-grid}._QmNNG svg{fill:currentColor}._QmNNG ._iWo9M{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._QmNNG ._iWo9M+._TivfQ{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._QmNNG ._iWo9M+._TivfQ._XcD1f{padding:5px;max-width:36px;min-width:36px}._QmNNG ._iWo9M+._TivfQ._owpPB{padding:0 16px}._QmNNG ._iWo9M+._TivfQ._SbIku{padding:0 16px 0 12px}._QmNNG ._iWo9M:hover+._TivfQ{background-color:rgba(50,54,58,.08)}._QmNNG ._iWo9M:disabled+._TivfQ{color:rgba(81,85,89,.4);cursor:not-allowed}._QmNNG ._iWo9M:active+._TivfQ,._QmNNG ._iWo9M:focus:active+._TivfQ{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._QmNNG ._iWo9M:checked+._TivfQ{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._QmNNG ._iWo9M:checked:hover+._TivfQ{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._QmNNG ._iWo9M:checked:disabled+._TivfQ{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._QmNNG ._iWo9M:checked:active+._TivfQ,._QmNNG ._iWo9M:checked:focus:active+._TivfQ{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._zPOFw{display:inline-flex;position:relative}._zPOFw:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._zPOFw>*{flex-shrink:0;flex-grow:0}._-eiys{border:none;margin:0;padding:0}._-eiys legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._QmNNG ._iWo9M.focus-visible+._TivfQ,._QmNNG ._iWo9M:focus-visible+._TivfQ{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6118
6151
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z);}
|
|
6119
6152
|
|
|
6120
6153
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|