@qualtrics/ui-react 2.37.0 → 2.38.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-dce807fa.js → index-73d9e179.js} +11 -3
- package/dist/__shared/cjs/{index-d7e45b96.js → index-91e58b5f.js} +138 -139
- package/dist/components/Accordion/Accordion2.js +3 -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/ConfigPane.js +1 -4
- 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/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 +3 -1
- 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/NewMenu.js +3 -3
- 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/ZoomInIcon.js +6 -0
- package/dist/icons/components/ZoomOutIcon.js +6 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.es.js +2 -0
- package/dist/icons/index.js +3 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +13 -12
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +2 -1
- 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/usePaneSearch.js +2 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +4 -4
- package/dist/next/Menu/MenuPane.js +21 -13
- package/dist/next/Menu/MenuSearch.js +3 -1
- package/dist/next/Menu/SubMenu.js +8 -8
- 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 +89 -78
- package/dist/translations-en.js +1 -1
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +5 -5
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-91e58b5f.js');
|
|
12
|
+
var icons_index = require('../__shared/cjs/index-73d9e179.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$h = ".
|
|
36
|
-
var styles$b = {"advancedTable":"
|
|
37
|
-
var stylesheet$h=".
|
|
35
|
+
var css_248z$h = "._ihnFy{overflow:auto;position:relative;max-width:100%;max-height:100%}._ihnFy,._yhNIb{background-color:#fff}._yhNIb{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._6DRoW{margin-bottom:4px}._YZiNE{position:-webkit-sticky;position:sticky;top:0;z-index:100}._WmdVQ{display:flex}._WmdVQ:focus{outline:none}._WmdVQ.focus-visible ._o2b6D:after,._WmdVQ:focus-visible ._o2b6D: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}._WmdVQ.focus-visible ._o2b6D:last-of-type:after,._WmdVQ:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._WmdVQ.focus-visible ._o2b6D:first-of-type:after,._WmdVQ:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._WmdVQ.focus-visible ._o2b6D._vOJCT:after,._WmdVQ:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:1px}._Vv88B{padding-right:3px}._NDahX{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._0vWQK{display:flex}._0vWQK._mijZr ._btD-k,._0vWQK._mijZr ._o2b6D{cursor:pointer}._0vWQK._CSIH7 ._btD-k,._0vWQK._CSIH7 ._o2b6D{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._0vWQK._CSIH7 ._btD-k._vOJCT,._0vWQK._CSIH7 ._o2b6D._vOJCT{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._0vWQK._CSIH7 ._btD-k._vOJCT ._-os75,._0vWQK._CSIH7 ._btD-k._vOJCT ._btD-k,._0vWQK._CSIH7 ._btD-k._vOJCT ._qAzUM,._0vWQK._CSIH7 ._o2b6D._vOJCT ._-os75,._0vWQK._CSIH7 ._o2b6D._vOJCT ._btD-k,._0vWQK._CSIH7 ._o2b6D._vOJCT ._qAzUM{background-color:rgba(11,110,208,.08)}._0vWQK._mijZr:hover:not(._CSIH7) ._btD-k,._0vWQK._mijZr:hover:not(._CSIH7) ._o2b6D{background-color:#f9f9f9}._0vWQK._mijZr:active:not(._CSIH7):not(._0vWQK._mijZr:active:not(._CSIH7):has(._qAzUM:active)) ._btD-k,._0vWQK._mijZr:active:not(._CSIH7):not(._0vWQK._mijZr:active:not(._CSIH7):has(._qAzUM:active)) ._o2b6D{background-color:#f3f3f3}._0vWQK:focus{outline:none}._0vWQK.focus-visible ._o2b6D:after,._0vWQK:focus-visible ._o2b6D: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}._0vWQK.focus-visible ._o2b6D:last-of-type:after,._0vWQK:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._0vWQK.focus-visible ._o2b6D:first-of-type:after,._0vWQK:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._0vWQK.focus-visible ._o2b6D._vOJCT:after,._0vWQK:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:0}._0vWQK:last-of-type:focus{outline:none}._0vWQK:last-of-type.focus-visible ._o2b6D:after,._0vWQK:last-of-type:focus-visible ._o2b6D: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}._0vWQK:last-of-type.focus-visible ._o2b6D:last-of-type:after,._0vWQK:last-of-type:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._0vWQK:last-of-type.focus-visible ._o2b6D:first-of-type:after,._0vWQK:last-of-type:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._0vWQK:last-of-type.focus-visible ._o2b6D._vOJCT:after,._0vWQK:last-of-type:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:1px}._0vWQK:last-of-type ._-os75:focus{outline:none}._0vWQK:last-of-type ._-os75._clDjD.focus-visible:after,._0vWQK:last-of-type ._-os75._clDjD:focus-visible:after,._0vWQK:last-of-type ._-os75.focus-visible:after,._0vWQK:last-of-type ._-os75: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}._0vWQK:first-of-type:focus{outline:none}._0vWQK:first-of-type.focus-visible ._o2b6D:after,._0vWQK:first-of-type:focus-visible ._o2b6D: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}._0vWQK:first-of-type.focus-visible ._o2b6D:last-of-type:after,._0vWQK:first-of-type:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._0vWQK:first-of-type.focus-visible ._o2b6D:first-of-type:after,._0vWQK:first-of-type:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._0vWQK:first-of-type.focus-visible ._o2b6D._vOJCT:after,._0vWQK:first-of-type:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:0}._0vWQK:first-of-type ._-os75:focus{outline:none}._0vWQK:first-of-type ._-os75._clDjD.focus-visible:after,._0vWQK:first-of-type ._-os75._clDjD:focus-visible:after,._0vWQK:first-of-type ._-os75.focus-visible:after,._0vWQK:first-of-type ._-os75: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}._nGuhE{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}._nGuhE._6e8i7{flex-grow:1}._nGuhE._CuvLu{cursor:pointer}._nGuhE._CuvLu:hover:not(._cry2Y){background-color:#f9f9f9;border-bottom-color:#6a6d70}._nGuhE._CuvLu:active:not(._cry2Y){background-color:#f3f3f3}._nGuhE._89E0D:not(._cry2Y){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._nGuhE._cry2Y{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._nGuhE ._wH96H{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._nGuhE ._wH96H._a-0-V{left:-1px}._nGuhE ._wH96H._uwUbc{right:0}._nGuhE ._Wvehq{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._nGuhE ._Wvehq._a-0-V{left:-2px}._nGuhE ._Wvehq._uwUbc{right:-1px}._nGuhE:first-of-type ._a-0-V._wH96H{left:0;width:2px;border-left:1px solid #fff}._nGuhE:first-of-type ._a-0-V._Wvehq{left:0}._nGuhE:last-of-type ._uwUbc._wH96H{right:0;width:2px;border-right:1px solid #fff}._nGuhE:last-of-type ._uwUbc._Wvehq{right:0}._nGuhE ._SJEXS{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._nGuhE ._SJEXS ._Hsh38{position:absolute;width:2px;right:2px;top:0;bottom:0}._nGuhE ._SJEXS ._Hsh38._uYrde{background-color:#0a6ed1}._nGuhE ._SJEXS:hover ._Hsh38:not(._uYrde){background-color:#d9d9d9}._nGuhE ._5ezNV{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._nGuhE ._5ezNV._pTi69{flex-direction:row-reverse;justify-content:flex-start}._nGuhE ._5ezNV._pTi69 ._EqStZ{margin:1px 7px 1px 1px}._nGuhE ._5ezNV ._nWX0A{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._nGuhE ._5ezNV ._EqStZ{margin:1px 1px 1px 7px;flex-shrink:0}._nGuhE ._fpQyR{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._nGuhE ._5ov83{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._nGuhE:focus{outline:none}._nGuhE._clDjD.focus-visible:after,._nGuhE._clDjD:focus-visible:after,._nGuhE.focus-visible:after,._nGuhE: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}._VEN0J{margin-right:6px}._vOJCT{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._vOJCT[focus-within]{z-index:30}._vOJCT:focus-within{z-index:30}._-os75{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}._-os75 ._KcNVf{width:100%;padding:12px 12px 11px;overflow:hidden}._-os75._cry2Y{background-color:#efefef;border-bottom-color:#dfdfe1}._-os75._6e8i7{flex-grow:1}._-os75:focus{outline:none}._-os75._clDjD.focus-visible:after,._-os75._clDjD:focus-visible:after,._-os75.focus-visible:after,._-os75: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}._btD-k{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._btD-k._Mo5Y0{border-bottom-color:#d9d9d9;background-color:#fff}._qAzUM{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}._qAzUM._Mo5Y0{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._qAzUM:focus input~span,._qAzUM:hover input~span{border-color:#0b6ed0}._a2e-M{justify-content:flex-start}._WfD13{justify-content:center;text-align:center}._pTi69{justify-content:flex-end;text-align:right}._lCwlC{display:none}._NFPQ-{opacity:0;height:0;width:0;overflow:hidden}._eXsi7,._NFPQ-{position:absolute}._eXsi7{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._-qb1x{max-width:250px;min-width:150px!important}";
|
|
36
|
+
var styles$b = {"advancedTable":"_ihnFy","advancedTablePaginationContainer":"_yhNIb","advancedTablePagination":"_6DRoW","advancedTableColumnHeadersRowGroup":"_YZiNE","advancedTableColumnHeaders":"_WmdVQ","advancedTableRowChild":"_o2b6D","pinnedContainer":"_vOJCT","advancedTableRowGroup":"_Vv88B","advancedTableRowRestrictedWidth":"_NDahX","advancedTableRow":"_0vWQK","hasRowAction":"_mijZr","advancedTableExpandRowSpacer":"_btD-k","isSelected":"_CSIH7","advancedTableCheckbox":"_qAzUM","advancedTableCell":"_-os75","showFocusRing":"_clDjD","advancedTableColumnHeader":"_nGuhE","fillRemainingSpace":"_6e8i7","isSortable":"_CuvLu","isDragging":"_cry2Y","isSorted":"_89E0D","dropTargetLine":"_wH96H","dropTargetLeft":"_a-0-V","dropTargetRight":"_uwUbc","dropTargetMarker":"_Wvehq","resizeHandle":"_SJEXS","resizeLine":"_Hsh38","isResizing":"_uYrde","advancedTableColumnHeaderLabel":"_5ezNV","rightAligned":"_pTi69","sortIcon":"_EqStZ","advancedTableColumnHeaderLabelText":"_nWX0A","advancedTableColumnHeaderMenu":"_fpQyR","advancedTableColumnHeaderMenuHiddenAnchor":"_5ov83","advancedTableColumnHeaderMenuItemIcon":"_VEN0J","advancedTableCellContainer":"_KcNVf","header":"_Mo5Y0","leftAligned":"_a2e-M","centerAligned":"_WfD13","hiddenDescription":"_lCwlC","hiddenLiveRegion":"_NFPQ-","dragPreview":"_eXsi7","rowActionMenuPane":"_-qb1x"};
|
|
37
|
+
var stylesheet$h="._ihnFy{overflow:auto;position:relative;max-width:100%;max-height:100%}._ihnFy,._yhNIb{background-color:#fff}._yhNIb{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._6DRoW{margin-bottom:4px}._YZiNE{position:-webkit-sticky;position:sticky;top:0;z-index:100}._WmdVQ{display:flex}._WmdVQ:focus{outline:none}._WmdVQ.focus-visible ._o2b6D:after,._WmdVQ:focus-visible ._o2b6D: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}._WmdVQ.focus-visible ._o2b6D:last-of-type:after,._WmdVQ:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._WmdVQ.focus-visible ._o2b6D:first-of-type:after,._WmdVQ:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._WmdVQ.focus-visible ._o2b6D._vOJCT:after,._WmdVQ:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:1px}._Vv88B{padding-right:3px}._NDahX{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._0vWQK{display:flex}._0vWQK._mijZr ._btD-k,._0vWQK._mijZr ._o2b6D{cursor:pointer}._0vWQK._CSIH7 ._btD-k,._0vWQK._CSIH7 ._o2b6D{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._0vWQK._CSIH7 ._btD-k._vOJCT,._0vWQK._CSIH7 ._o2b6D._vOJCT{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._0vWQK._CSIH7 ._btD-k._vOJCT ._-os75,._0vWQK._CSIH7 ._btD-k._vOJCT ._btD-k,._0vWQK._CSIH7 ._btD-k._vOJCT ._qAzUM,._0vWQK._CSIH7 ._o2b6D._vOJCT ._-os75,._0vWQK._CSIH7 ._o2b6D._vOJCT ._btD-k,._0vWQK._CSIH7 ._o2b6D._vOJCT ._qAzUM{background-color:rgba(11,110,208,.08)}._0vWQK._mijZr:hover:not(._CSIH7) ._btD-k,._0vWQK._mijZr:hover:not(._CSIH7) ._o2b6D{background-color:#f9f9f9}._0vWQK._mijZr:active:not(._CSIH7):not(._0vWQK._mijZr:active:not(._CSIH7):has(._qAzUM:active)) ._btD-k,._0vWQK._mijZr:active:not(._CSIH7):not(._0vWQK._mijZr:active:not(._CSIH7):has(._qAzUM:active)) ._o2b6D{background-color:#f3f3f3}._0vWQK:focus{outline:none}._0vWQK.focus-visible ._o2b6D:after,._0vWQK:focus-visible ._o2b6D: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}._0vWQK.focus-visible ._o2b6D:last-of-type:after,._0vWQK:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._0vWQK.focus-visible ._o2b6D:first-of-type:after,._0vWQK:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._0vWQK.focus-visible ._o2b6D._vOJCT:after,._0vWQK:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:0}._0vWQK:last-of-type:focus{outline:none}._0vWQK:last-of-type.focus-visible ._o2b6D:after,._0vWQK:last-of-type:focus-visible ._o2b6D: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}._0vWQK:last-of-type.focus-visible ._o2b6D:last-of-type:after,._0vWQK:last-of-type:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._0vWQK:last-of-type.focus-visible ._o2b6D:first-of-type:after,._0vWQK:last-of-type:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._0vWQK:last-of-type.focus-visible ._o2b6D._vOJCT:after,._0vWQK:last-of-type:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:1px}._0vWQK:last-of-type ._-os75:focus{outline:none}._0vWQK:last-of-type ._-os75._clDjD.focus-visible:after,._0vWQK:last-of-type ._-os75._clDjD:focus-visible:after,._0vWQK:last-of-type ._-os75.focus-visible:after,._0vWQK:last-of-type ._-os75: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}._0vWQK:first-of-type:focus{outline:none}._0vWQK:first-of-type.focus-visible ._o2b6D:after,._0vWQK:first-of-type:focus-visible ._o2b6D: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}._0vWQK:first-of-type.focus-visible ._o2b6D:last-of-type:after,._0vWQK:first-of-type:focus-visible ._o2b6D:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._0vWQK:first-of-type.focus-visible ._o2b6D:first-of-type:after,._0vWQK:first-of-type:focus-visible ._o2b6D:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._0vWQK:first-of-type.focus-visible ._o2b6D._vOJCT:after,._0vWQK:first-of-type:focus-visible ._o2b6D._vOJCT:after{right:-3px;bottom:0}._0vWQK:first-of-type ._-os75:focus{outline:none}._0vWQK:first-of-type ._-os75._clDjD.focus-visible:after,._0vWQK:first-of-type ._-os75._clDjD:focus-visible:after,._0vWQK:first-of-type ._-os75.focus-visible:after,._0vWQK:first-of-type ._-os75: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}._nGuhE{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}._nGuhE._6e8i7{flex-grow:1}._nGuhE._CuvLu{cursor:pointer}._nGuhE._CuvLu:hover:not(._cry2Y){background-color:#f9f9f9;border-bottom-color:#6a6d70}._nGuhE._CuvLu:active:not(._cry2Y){background-color:#f3f3f3}._nGuhE._89E0D:not(._cry2Y){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._nGuhE._cry2Y{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._nGuhE ._wH96H{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._nGuhE ._wH96H._a-0-V{left:-1px}._nGuhE ._wH96H._uwUbc{right:0}._nGuhE ._Wvehq{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._nGuhE ._Wvehq._a-0-V{left:-2px}._nGuhE ._Wvehq._uwUbc{right:-1px}._nGuhE:first-of-type ._a-0-V._wH96H{left:0;width:2px;border-left:1px solid #fff}._nGuhE:first-of-type ._a-0-V._Wvehq{left:0}._nGuhE:last-of-type ._uwUbc._wH96H{right:0;width:2px;border-right:1px solid #fff}._nGuhE:last-of-type ._uwUbc._Wvehq{right:0}._nGuhE ._SJEXS{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._nGuhE ._SJEXS ._Hsh38{position:absolute;width:2px;right:2px;top:0;bottom:0}._nGuhE ._SJEXS ._Hsh38._uYrde{background-color:#0a6ed1}._nGuhE ._SJEXS:hover ._Hsh38:not(._uYrde){background-color:#d9d9d9}._nGuhE ._5ezNV{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._nGuhE ._5ezNV._pTi69{flex-direction:row-reverse;justify-content:flex-start}._nGuhE ._5ezNV._pTi69 ._EqStZ{margin:1px 7px 1px 1px}._nGuhE ._5ezNV ._nWX0A{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._nGuhE ._5ezNV ._EqStZ{margin:1px 1px 1px 7px;flex-shrink:0}._nGuhE ._fpQyR{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._nGuhE ._5ov83{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._nGuhE:focus{outline:none}._nGuhE._clDjD.focus-visible:after,._nGuhE._clDjD:focus-visible:after,._nGuhE.focus-visible:after,._nGuhE: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}._VEN0J{margin-right:6px}._vOJCT{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._vOJCT[focus-within]{z-index:30}._vOJCT:focus-within{z-index:30}._-os75{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}._-os75 ._KcNVf{width:100%;padding:12px 12px 11px;overflow:hidden}._-os75._cry2Y{background-color:#efefef;border-bottom-color:#dfdfe1}._-os75._6e8i7{flex-grow:1}._-os75:focus{outline:none}._-os75._clDjD.focus-visible:after,._-os75._clDjD:focus-visible:after,._-os75.focus-visible:after,._-os75: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}._btD-k{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._btD-k._Mo5Y0{border-bottom-color:#d9d9d9;background-color:#fff}._qAzUM{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}._qAzUM._Mo5Y0{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._qAzUM:focus input~span,._qAzUM:hover input~span{border-color:#0b6ed0}._a2e-M{justify-content:flex-start}._WfD13{justify-content:center;text-align:center}._pTi69{justify-content:flex-end;text-align:right}._lCwlC{display:none}._NFPQ-{opacity:0;height:0;width:0;overflow:hidden}._eXsi7,._NFPQ-{position:absolute}._eXsi7{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._-qb1x{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$h);}
|
|
39
39
|
|
|
40
40
|
// TODO: Move the imported types into this file to avoid a ciruclar dependency warning.
|
|
@@ -551,9 +551,9 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
551
551
|
"aria-colindex": columnIndex + 1 // aria-colindex is one-indexed
|
|
552
552
|
,
|
|
553
553
|
"aria-sort": isSortable ? isSorted ? selectedSortOption.direction : 'none' : undefined,
|
|
554
|
+
onClick: isSortable ? handleClick : undefined,
|
|
554
555
|
onKeyDown: handleKeyDown,
|
|
555
556
|
onFocus: onFocus,
|
|
556
|
-
onClick: isSortable ? handleClick : undefined,
|
|
557
557
|
tabIndex: isFocused ? 0 : -1,
|
|
558
558
|
className: classNames__default["default"](styles$b.advancedTableColumnHeader, {
|
|
559
559
|
[styles$b.advancedTableRowChild]: !isPinned,
|
|
@@ -569,6 +569,7 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
569
569
|
},
|
|
570
570
|
ref: index.mergeRefs(columnHeaderRef, dragRef, dropRef, ref)
|
|
571
571
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
572
|
+
role: isSortable ? 'button' : undefined,
|
|
572
573
|
className: classNames__default["default"](styles$b.advancedTableColumnHeaderLabel, {
|
|
573
574
|
[styles$b.leftAligned]: alignment === 'left',
|
|
574
575
|
[styles$b.centerAligned]: alignment === 'center',
|
|
@@ -925,7 +926,7 @@ const AdvancedTableRowExpandButton = _ref => {
|
|
|
925
926
|
};
|
|
926
927
|
|
|
927
928
|
const AdvancedTable = _ref => {
|
|
928
|
-
var _ref8;
|
|
929
|
+
var _ref8, _ref9;
|
|
929
930
|
let {
|
|
930
931
|
columnConfigs: externalColumnConfigs,
|
|
931
932
|
rows: rowsPropExternal,
|
|
@@ -1214,13 +1215,13 @@ const AdvancedTable = _ref => {
|
|
|
1214
1215
|
const columnHeaderCheckboxState = React.useMemo(() => {
|
|
1215
1216
|
const visibleRows = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows;
|
|
1216
1217
|
const checkedRows = visibleRows.filter(row => getCheckboxStateForRow(row) === true);
|
|
1218
|
+
if (!checkedRows.length) {
|
|
1219
|
+
return false;
|
|
1220
|
+
}
|
|
1217
1221
|
if (checkedRows.length === visibleRows.length) {
|
|
1218
1222
|
return true;
|
|
1219
1223
|
}
|
|
1220
|
-
|
|
1221
|
-
return 'mixed';
|
|
1222
|
-
}
|
|
1223
|
-
return false;
|
|
1224
|
+
return 'mixed';
|
|
1224
1225
|
}, [checkedRowIdsSet, paginatedRows, rows]);
|
|
1225
1226
|
const handleColumnHeaderCheckboxToggle = () => {
|
|
1226
1227
|
setLastToggledRowId('');
|
|
@@ -1542,6 +1543,7 @@ const AdvancedTable = _ref => {
|
|
|
1542
1543
|
"data-testid": getColumnHeaderTestId('CheckboxColumnHeader'),
|
|
1543
1544
|
state: columnHeaderCheckboxState,
|
|
1544
1545
|
isRowFocused: headerRowIndex === focusedRowIndex,
|
|
1546
|
+
isDisabled: !((_ref8 = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows) !== null && _ref8 !== void 0 ? _ref8 : []).length,
|
|
1545
1547
|
onClick: handleColumnHeaderCheckboxToggle,
|
|
1546
1548
|
variant: "header"
|
|
1547
1549
|
}), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth, "px"), true) : undefined, pinnedColumnConfigs.map((columnConfigs, i) => {
|
|
@@ -1553,7 +1555,7 @@ const AdvancedTable = _ref => {
|
|
|
1553
1555
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1554
1556
|
role: "rowgroup",
|
|
1555
1557
|
className: styles$b.advancedTableRowGroup
|
|
1556
|
-
}, ((
|
|
1558
|
+
}, ((_ref9 = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows) !== null && _ref9 !== void 0 ? _ref9 : []).map((row, rowIndex) => {
|
|
1557
1559
|
const {
|
|
1558
1560
|
id: rowId,
|
|
1559
1561
|
data,
|
|
@@ -1646,13 +1648,13 @@ const AdvancedTable = _ref => {
|
|
|
1646
1648
|
};
|
|
1647
1649
|
|
|
1648
1650
|
// TODO: move hook to separate file
|
|
1649
|
-
function useSortedRows(
|
|
1651
|
+
function useSortedRows(_ref10) {
|
|
1650
1652
|
let {
|
|
1651
1653
|
columnConfigs,
|
|
1652
1654
|
onRowsChange,
|
|
1653
1655
|
selectedSortOption,
|
|
1654
1656
|
setCurrentPage
|
|
1655
|
-
} =
|
|
1657
|
+
} = _ref10;
|
|
1656
1658
|
const columnConfigsRef = index.useLatest(columnConfigs);
|
|
1657
1659
|
const onRowsChangeRef = index.useLatest(onRowsChange);
|
|
1658
1660
|
index.useDidUpdate(() => {
|
|
@@ -1661,10 +1663,10 @@ function useSortedRows(_ref9) {
|
|
|
1661
1663
|
columnId,
|
|
1662
1664
|
index
|
|
1663
1665
|
} = selectedSortOption;
|
|
1664
|
-
const sort = (_columnConfigsRef$cur = columnConfigsRef.current.find(
|
|
1666
|
+
const sort = (_columnConfigsRef$cur = columnConfigsRef.current.find(_ref11 => {
|
|
1665
1667
|
let {
|
|
1666
1668
|
id
|
|
1667
|
-
} =
|
|
1669
|
+
} = _ref11;
|
|
1668
1670
|
return id === columnId;
|
|
1669
1671
|
})) === null || _columnConfigsRef$cur === void 0 || (_columnConfigsRef$cur = _columnConfigsRef$cur.sortOptions) === null || _columnConfigsRef$cur === void 0 || (_columnConfigsRef$cur = _columnConfigsRef$cur[index]) === null || _columnConfigsRef$cur === void 0 ? void 0 : _columnConfigsRef$cur.sort;
|
|
1670
1672
|
if (typeof sort === 'function' && onRowsChangeRef.current) {
|
|
@@ -1675,7 +1677,7 @@ function useSortedRows(_ref9) {
|
|
|
1675
1677
|
}
|
|
1676
1678
|
|
|
1677
1679
|
// TODO: move hook to separate file
|
|
1678
|
-
function useFocusState(
|
|
1680
|
+
function useFocusState(_ref12) {
|
|
1679
1681
|
let {
|
|
1680
1682
|
headerRowIndex,
|
|
1681
1683
|
maxRowIndex,
|
|
@@ -1685,7 +1687,7 @@ function useFocusState(_ref11) {
|
|
|
1685
1687
|
pinnedUnpinnedColumnOrder,
|
|
1686
1688
|
tableRef,
|
|
1687
1689
|
currentPage
|
|
1688
|
-
} =
|
|
1690
|
+
} = _ref12;
|
|
1689
1691
|
const cellRefs = React.useRef({});
|
|
1690
1692
|
const pinnedContainersRef = React.useRef({});
|
|
1691
1693
|
const [focusedRowIndex, setFocusedRowIndex] = React.useState(headerRowIndex);
|
|
@@ -1821,9 +1823,9 @@ function mapExternalRowToInternalRows(row, depthSize, depthIndex, parentId) {
|
|
|
1821
1823
|
|
|
1822
1824
|
/* eslint-disable import/prefer-default-export */
|
|
1823
1825
|
|
|
1824
|
-
var css_248z$g = ".
|
|
1825
|
-
var styles$a = {"collapsibleSearchInput":"
|
|
1826
|
-
var stylesheet$g=".
|
|
1826
|
+
var css_248z$g = "._XXNJk{display:inline-block;width:36px;transition:width .25s ease-out}._rZ2zN{width:100%}._EeEqq>input{padding-right:0!important}._RQx3x>svg{fill:#515559}";
|
|
1827
|
+
var styles$a = {"collapsibleSearchInput":"_XXNJk","searchInput":"_rZ2zN","searchInputCollapsed":"_EeEqq","iconButton":"_RQx3x"};
|
|
1828
|
+
var stylesheet$g="._XXNJk{display:inline-block;width:36px;transition:width .25s ease-out}._rZ2zN{width:100%}._EeEqq>input{padding-right:0!important}._RQx3x>svg{fill:#515559}";
|
|
1827
1829
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$g);}
|
|
1828
1830
|
|
|
1829
1831
|
const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2644,9 +2646,9 @@ function Combobox(_ref) {
|
|
|
2644
2646
|
}, children);
|
|
2645
2647
|
}
|
|
2646
2648
|
|
|
2647
|
-
var css_248z$f = ".
|
|
2648
|
-
var styles$9 = {"loadingSpinner":"
|
|
2649
|
-
var stylesheet$f=".
|
|
2649
|
+
var css_248z$f = "._ovqRG :after{background-color:#515559!important}._yMJVU>input:focus{box-shadow:none!important;border:1px solid #898989!important}._KRz1A{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}._KRz1A ._8G1w- ._NlhCz{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}._KRz1A ._8G1w-:first-child ._3vJzl{display:none}._KRz1A ._k1rne{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._KRz1A ._k1rne:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._KRz1A ._k1rne:hover._WgcrD{background-color:#e4effa}._KRz1A ._k1rne._WgcrD{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._KRz1A ._k1rne:active:not(._WgcrD){background-color:#e8e9e9}";
|
|
2650
|
+
var styles$9 = {"loadingSpinner":"_ovqRG","ignoreFocusStyle":"_yMJVU","flyout":"_KRz1A","group":"_8G1w-","header":"_NlhCz","divider":"_3vJzl","option":"_k1rne","selected":"_WgcrD"};
|
|
2651
|
+
var stylesheet$f="._ovqRG :after{background-color:#515559!important}._yMJVU>input:focus{box-shadow:none!important;border:1px solid #898989!important}._KRz1A{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}._KRz1A ._8G1w- ._NlhCz{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}._KRz1A ._8G1w-:first-child ._3vJzl{display:none}._KRz1A ._k1rne{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._KRz1A ._k1rne:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._KRz1A ._k1rne:hover._WgcrD{background-color:#e4effa}._KRz1A ._k1rne._WgcrD{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._KRz1A ._k1rne:active:not(._WgcrD){background-color:#e8e9e9}";
|
|
2650
2652
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$f);}
|
|
2651
2653
|
|
|
2652
2654
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2954,9 +2956,9 @@ function ComboboxOption(_ref) {
|
|
|
2954
2956
|
}, label);
|
|
2955
2957
|
}
|
|
2956
2958
|
|
|
2957
|
-
var css_248z$e = ".
|
|
2958
|
-
var styles$8 = {"overlay":"
|
|
2959
|
-
var stylesheet$e=".
|
|
2959
|
+
var css_248z$e = "._YC7z7{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}._GDJnr{visibility:hidden}._a-8vm{position:fixed}";
|
|
2960
|
+
var styles$8 = {"overlay":"_YC7z7","hidden":"_GDJnr","anchoredToBody":"_a-8vm"};
|
|
2961
|
+
var stylesheet$e="._YC7z7{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}._GDJnr{visibility:hidden}._a-8vm{position:fixed}";
|
|
2960
2962
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$e);}
|
|
2961
2963
|
|
|
2962
2964
|
/**
|
|
@@ -3022,9 +3024,9 @@ const useOverlay = _ref => {
|
|
|
3022
3024
|
}, [containerRef, isVisible, ignoreIds, overlayId]);
|
|
3023
3025
|
};
|
|
3024
3026
|
|
|
3025
|
-
var css_248z$d = ".
|
|
3026
|
-
var styles$7 = {"drawer":"
|
|
3027
|
-
var stylesheet$d=".
|
|
3027
|
+
var css_248z$d = "._Xy-Qj{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}._kSqET{visibility:hidden}._zKm9d{position:fixed}._YrsuO{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._xPZB0{padding-top:8px}._nIubh{margin-left:12px}";
|
|
3028
|
+
var styles$7 = {"drawer":"_Xy-Qj","hidden":"_kSqET","anchoredToBody":"_zKm9d","header":"_YrsuO","title":"_xPZB0","closeButton":"_nIubh"};
|
|
3029
|
+
var stylesheet$d="._Xy-Qj{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}._kSqET{visibility:hidden}._zKm9d{position:fixed}._YrsuO{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._xPZB0{padding-top:8px}._nIubh{margin-left:12px}";
|
|
3028
3030
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$d);}
|
|
3029
3031
|
|
|
3030
3032
|
const Drawer = _ref => {
|
|
@@ -3139,9 +3141,9 @@ const Drawer = _ref => {
|
|
|
3139
3141
|
}, children))), containerNode) : null;
|
|
3140
3142
|
};
|
|
3141
3143
|
|
|
3142
|
-
var css_248z$c = ".
|
|
3143
|
-
var styles$6 = {"button":"
|
|
3144
|
-
var stylesheet$c=".
|
|
3144
|
+
var css_248z$c = "._wmczl{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}._wmczl:hover:not(._4E4Xr){background-color:rgba(50,54,58,.08)}._wmczl:hover:not(._4E4Xr)._azEjj{border-color:#085caf;background-color:rgba(11,110,208,.04)}._wmczl:hover:not(._4E4Xr)._azEjj ._p1dPG{color:#32363a}._wmczl:hover:not(._4E4Xr)._azEjj ._Bpn9E{fill:#32363a}._wmczl:hover:not(._4E4Xr)._azEjj ._0LxCZ{fill:#085caf}._wmczl:hover:not(._4E4Xr)._azEjj ._IcQl6{background-color:rgba(11,110,208,.11)}._wmczl:hover:not(._4E4Xr)._azEjj ._IcQl6 ._dIKG1{color:#085caf}._wmczl:active:not(._4E4Xr){background-color:#e8e9e9}._wmczl:active:not(._4E4Xr)._azEjj{background-color:rgba(11,110,208,.11);border-color:#0854a1}._wmczl:active:not(._4E4Xr)._azEjj ._0LxCZ{fill:#0854a1}._wmczl:active:not(._4E4Xr)._azEjj ._IcQl6{background-color:rgba(11,110,208,.11)}._wmczl:active:not(._4E4Xr)._azEjj ._IcQl6 ._dIKG1{color:#0854a1}._wmczl._4E4Xr{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._wmczl._azEjj{border-color:#0b6ed0}._Bpn9E{fill:#515559;margin-right:4px}._p1dPG{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._p1dPG+._IcQl6{margin-left:6px}._p1dPG._4E4Xr{color:#74777a}._IcQl6{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}._dIKG1{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._0LxCZ{fill:#515559}._0LxCZ._4E4Xr,._0LxCZ._4E4Xr._azEjj{fill:rgba(116,119,122,.4)}._0LxCZ._azEjj{fill:#0b6ed0}._0LxCZ._kIAx-{transform:rotate(-180deg)}._wmczl.focus-visible,._wmczl:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3145
|
+
var styles$6 = {"button":"_wmczl","disabled":"_4E4Xr","selected":"_azEjj","label":"_p1dPG","lockIcon":"_Bpn9E","chevronIcon":"_0LxCZ","selectedFiltersContainer":"_IcQl6","selectedFilters":"_dIKG1","open":"_kIAx-"};
|
|
3146
|
+
var stylesheet$c="._wmczl{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}._wmczl:hover:not(._4E4Xr){background-color:rgba(50,54,58,.08)}._wmczl:hover:not(._4E4Xr)._azEjj{border-color:#085caf;background-color:rgba(11,110,208,.04)}._wmczl:hover:not(._4E4Xr)._azEjj ._p1dPG{color:#32363a}._wmczl:hover:not(._4E4Xr)._azEjj ._Bpn9E{fill:#32363a}._wmczl:hover:not(._4E4Xr)._azEjj ._0LxCZ{fill:#085caf}._wmczl:hover:not(._4E4Xr)._azEjj ._IcQl6{background-color:rgba(11,110,208,.11)}._wmczl:hover:not(._4E4Xr)._azEjj ._IcQl6 ._dIKG1{color:#085caf}._wmczl:active:not(._4E4Xr){background-color:#e8e9e9}._wmczl:active:not(._4E4Xr)._azEjj{background-color:rgba(11,110,208,.11);border-color:#0854a1}._wmczl:active:not(._4E4Xr)._azEjj ._0LxCZ{fill:#0854a1}._wmczl:active:not(._4E4Xr)._azEjj ._IcQl6{background-color:rgba(11,110,208,.11)}._wmczl:active:not(._4E4Xr)._azEjj ._IcQl6 ._dIKG1{color:#0854a1}._wmczl._4E4Xr{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._wmczl._azEjj{border-color:#0b6ed0}._Bpn9E{fill:#515559;margin-right:4px}._p1dPG{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._p1dPG+._IcQl6{margin-left:6px}._p1dPG._4E4Xr{color:#74777a}._IcQl6{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}._dIKG1{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._0LxCZ{fill:#515559}._0LxCZ._4E4Xr,._0LxCZ._4E4Xr._azEjj{fill:rgba(116,119,122,.4)}._0LxCZ._azEjj{fill:#0b6ed0}._0LxCZ._kIAx-{transform:rotate(-180deg)}._wmczl.focus-visible,._wmczl:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3145
3147
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
3146
3148
|
|
|
3147
3149
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -3727,9 +3729,9 @@ class PointerEvent extends Event {
|
|
|
3727
3729
|
}
|
|
3728
3730
|
}
|
|
3729
3731
|
|
|
3730
|
-
var css_248z$b = ".
|
|
3731
|
-
var styles$5 = {"buttonContainer":"
|
|
3732
|
-
var stylesheet$b=".
|
|
3732
|
+
var css_248z$b = "._-BtUi{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._-BtUi>._OtxVJ{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}._-BtUi>._OtxVJ:hover:not([aria-disabled=true]){background-color:#f5f5f5}._-BtUi>._OtxVJ.focus-visible,._-BtUi>._OtxVJ:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-BtUi>._OtxVJ+._KMQ5-{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._-BtUi>._OtxVJ[data-state=open]+._KMQ5-{transform:rotate(-180deg) translateY(50%)}._-BtUi>._OtxVJ[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._-BtUi>._OtxVJ[aria-disabled=true]+._KMQ5-{fill:#515559;opacity:.4}._XbDby>[data-radix-popper-content-wrapper]{overflow:hidden;min-width:auto!important;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}._XbDby>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._v5w00{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)}._v5w00 ._cO-co{height:100%;overflow-y:scroll}._v5w00._GJaH3{margin-left:30px;opacity:0}._v5w00._ZniY3{margin-left:-30px}._C85LH{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%}._C85LH._k4hQc{cursor:unset}._C85LH ._H3cLf{fill:#32363a;margin-right:4px}._C85LH:focus,._C85LH:hover:not(._C85LH._k4hQc){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._C85LH[aria-disabled=true]{cursor:not-allowed;opacity:.65}._C85LH._h8HBL{padding-right:32px}._C85LH._h8HBL ._KMQ5-{position:absolute;height:100%;right:3px;fill:#515559}._C85LH._YYuf-{pointer-events:none}._AzXaN{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._AzXaN._gbWoR{padding-top:52px}._bEbg9{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._UUEcu{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._UUEcu._ZniY3{opacity:0}._UUEcu._ZniY3>._U18kE{margin-left:-30px}._UUEcu._GJaH3{opacity:0}._UUEcu._GJaH3>._U18kE{margin-left:30px}._UUEcu>._U18kE{transition:margin-left .35s;width:100%}._UUEcu._YYuf-{pointer-events:none}body.keyboard-user ._C85LH:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3733
|
+
var styles$5 = {"buttonContainer":"_-BtUi","button":"_OtxVJ","rightIcon":"_KMQ5-","maskContainer":"_XbDby","flyout":"_v5w00","scrollContainer":"_cO-co","animatedRight":"_GJaH3","animatedLeft":"_ZniY3","menuItem":"_C85LH","noItems":"_k4hQc","backIcon":"_H3cLf","subMenu":"_h8HBL","unresponsive":"_YYuf-","stickyBox":"_AzXaN","isSearchable":"_gbWoR","searchBoxesContainer":"_bEbg9","searchBox":"_UUEcu","searchInput":"_U18kE"};
|
|
3734
|
+
var stylesheet$b="._-BtUi{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._-BtUi>._OtxVJ{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}._-BtUi>._OtxVJ:hover:not([aria-disabled=true]){background-color:#f5f5f5}._-BtUi>._OtxVJ.focus-visible,._-BtUi>._OtxVJ:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-BtUi>._OtxVJ+._KMQ5-{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._-BtUi>._OtxVJ[data-state=open]+._KMQ5-{transform:rotate(-180deg) translateY(50%)}._-BtUi>._OtxVJ[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._-BtUi>._OtxVJ[aria-disabled=true]+._KMQ5-{fill:#515559;opacity:.4}._XbDby>[data-radix-popper-content-wrapper]{overflow:hidden;min-width:auto!important;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}._XbDby>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._v5w00{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)}._v5w00 ._cO-co{height:100%;overflow-y:scroll}._v5w00._GJaH3{margin-left:30px;opacity:0}._v5w00._ZniY3{margin-left:-30px}._C85LH{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%}._C85LH._k4hQc{cursor:unset}._C85LH ._H3cLf{fill:#32363a;margin-right:4px}._C85LH:focus,._C85LH:hover:not(._C85LH._k4hQc){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._C85LH[aria-disabled=true]{cursor:not-allowed;opacity:.65}._C85LH._h8HBL{padding-right:32px}._C85LH._h8HBL ._KMQ5-{position:absolute;height:100%;right:3px;fill:#515559}._C85LH._YYuf-{pointer-events:none}._AzXaN{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._AzXaN._gbWoR{padding-top:52px}._bEbg9{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._UUEcu{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._UUEcu._ZniY3{opacity:0}._UUEcu._ZniY3>._U18kE{margin-left:-30px}._UUEcu._GJaH3{opacity:0}._UUEcu._GJaH3>._U18kE{margin-left:30px}._UUEcu>._U18kE{transition:margin-left .35s;width:100%}._UUEcu._YYuf-{pointer-events:none}body.keyboard-user ._C85LH:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3733
3735
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
3734
3736
|
|
|
3735
3737
|
/* eslint-disable import/prefer-default-export */
|
|
@@ -3811,7 +3813,8 @@ const MenuSearch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
3811
3813
|
dataTestId,
|
|
3812
3814
|
searchValue = '',
|
|
3813
3815
|
isInteractive = false,
|
|
3814
|
-
searchPlaceholder
|
|
3816
|
+
searchPlaceholder,
|
|
3817
|
+
inputRef
|
|
3815
3818
|
} = _ref;
|
|
3816
3819
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3817
3820
|
className: classNames__default["default"](styles$5.searchBox, {
|
|
@@ -3821,6 +3824,7 @@ const MenuSearch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
3821
3824
|
}),
|
|
3822
3825
|
ref: ref
|
|
3823
3826
|
}, /*#__PURE__*/React__default["default"].createElement(index.Input$1, {
|
|
3827
|
+
ref: inputRef,
|
|
3824
3828
|
"data-testid": dataTestId,
|
|
3825
3829
|
role: "searchbox",
|
|
3826
3830
|
value: searchValue,
|
|
@@ -3880,7 +3884,7 @@ function usePaneSearch(_ref) {
|
|
|
3880
3884
|
animatedRight,
|
|
3881
3885
|
menuParentDataTestId,
|
|
3882
3886
|
id,
|
|
3883
|
-
|
|
3887
|
+
flyoutNode,
|
|
3884
3888
|
children = [],
|
|
3885
3889
|
isSearchFilteringDisabled,
|
|
3886
3890
|
backButtonRef,
|
|
@@ -3918,12 +3922,11 @@ function usePaneSearch(_ref) {
|
|
|
3918
3922
|
(_findLast$element$cur = (_findLast = items.findLast(item => item.element.current)) === null || _findLast === void 0 ? void 0 : _findLast.element.current) !== null && _findLast$element$cur !== void 0 ? _findLast$element$cur : backButtonRef === null || backButtonRef === void 0 ? void 0 : backButtonRef.current
|
|
3919
3923
|
);
|
|
3920
3924
|
};
|
|
3921
|
-
index.useEventListener(
|
|
3925
|
+
index.useEventListener(flyoutNode, 'keydown', e => {
|
|
3922
3926
|
if (index.KEYS.NAVIGATE_UP.includes(e.key) && e.target === getFirstVisibleItem() || index.KEYS.NAVIGATE_DOWN.includes(e.key) && e.target === getLastVisibleItem()) {
|
|
3923
3927
|
searchInput === null || searchInput === void 0 || searchInput.focus();
|
|
3924
3928
|
}
|
|
3925
3929
|
}, {
|
|
3926
|
-
additionalDependencies: [flyoutRef.current],
|
|
3927
3930
|
isDisabled: !isSearchable
|
|
3928
3931
|
});
|
|
3929
3932
|
const lastestKeyPressedInSearchInput = React.useRef();
|
|
@@ -4122,9 +4125,9 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4122
4125
|
}, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
|
|
4123
4126
|
});
|
|
4124
4127
|
|
|
4125
|
-
var css_248z$a = ".
|
|
4126
|
-
var styles$4 = {"isInvalid":"
|
|
4127
|
-
var stylesheet$a=".
|
|
4128
|
+
var css_248z$a = "._goZpV{box-shadow:inset 0 0 0 1px #b00!important}._gsllK{margin-right:7px}._ULhQM{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4129
|
+
var styles$4 = {"isInvalid":"_goZpV","checkbox":"_gsllK","selectedItem":"_ULhQM"};
|
|
4130
|
+
var stylesheet$a="._goZpV{box-shadow:inset 0 0 0 1px #b00!important}._gsllK{margin-right:7px}._ULhQM{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4128
4131
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
4129
4132
|
|
|
4130
4133
|
const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4299,7 +4302,7 @@ const useMaskDimensions = (target, animatedLeft, paneDepth, children, isVirtuali
|
|
|
4299
4302
|
};
|
|
4300
4303
|
|
|
4301
4304
|
const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
4302
|
-
var
|
|
4305
|
+
var _flyoutNode$parentNod, _process$env;
|
|
4303
4306
|
let {
|
|
4304
4307
|
placement,
|
|
4305
4308
|
children,
|
|
@@ -4313,7 +4316,8 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4313
4316
|
...rest
|
|
4314
4317
|
} = _ref;
|
|
4315
4318
|
const [items, setItems] = React.useState([]);
|
|
4316
|
-
const
|
|
4319
|
+
const [flyoutNode, setFlyoutNode] = React.useState(null);
|
|
4320
|
+
const onRefChange = React.useCallback(node => setFlyoutNode(node), []);
|
|
4317
4321
|
const stickyBoxRef = React.useRef(null);
|
|
4318
4322
|
const selectContext = useSelectContext(true);
|
|
4319
4323
|
const withinSelect = selectContext !== null;
|
|
@@ -4342,8 +4346,8 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4342
4346
|
}
|
|
4343
4347
|
|
|
4344
4348
|
// check `className`
|
|
4345
|
-
if (!maxHeightString &&
|
|
4346
|
-
const computedString = window.getComputedStyle(
|
|
4349
|
+
if (!maxHeightString && flyoutNode) {
|
|
4350
|
+
const computedString = window.getComputedStyle(flyoutNode).maxHeight;
|
|
4347
4351
|
if (computedString !== 'none') {
|
|
4348
4352
|
maxHeightString = computedString;
|
|
4349
4353
|
}
|
|
@@ -4370,7 +4374,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4370
4374
|
const maskContainerId = index.useId();
|
|
4371
4375
|
const maskContainer = document.getElementById(maskContainerId);
|
|
4372
4376
|
const [transform, setTransform] = React.useState('');
|
|
4373
|
-
const target = (
|
|
4377
|
+
const target = (_flyoutNode$parentNod = flyoutNode === null || flyoutNode === void 0 ? void 0 : flyoutNode.parentNode) !== null && _flyoutNode$parentNod !== void 0 ? _flyoutNode$parentNod : undefined;
|
|
4374
4378
|
const {
|
|
4375
4379
|
dataTestId: rootDataTestId,
|
|
4376
4380
|
openPaneDepth,
|
|
@@ -4398,7 +4402,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4398
4402
|
animatedRight: false,
|
|
4399
4403
|
menuParentDataTestId: dataTestId,
|
|
4400
4404
|
id: index.useId(),
|
|
4401
|
-
|
|
4405
|
+
flyoutNode,
|
|
4402
4406
|
children,
|
|
4403
4407
|
isSearchFilteringDisabled,
|
|
4404
4408
|
isVirtualized
|
|
@@ -4407,10 +4411,15 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4407
4411
|
const {
|
|
4408
4412
|
isFocusVisible
|
|
4409
4413
|
} = interactions.useFocusVisible();
|
|
4410
|
-
const
|
|
4414
|
+
const menuSearchInputRef = React.useRef(null);
|
|
4415
|
+
const maskIsReady = useMaskDimensions(flyoutNode, animatedLeft, thisPanesDepth, children, isVirtualized, isVirtualizationReady);
|
|
4411
4416
|
index.useDidUpdate(() => {
|
|
4412
4417
|
if (maskIsReady && isFocusVisible) {
|
|
4413
|
-
items[0]
|
|
4418
|
+
if (items[0]) {
|
|
4419
|
+
items[0].element.current.focus();
|
|
4420
|
+
} else if (menuSearchInputRef.current) {
|
|
4421
|
+
menuSearchInputRef.current.focus();
|
|
4422
|
+
}
|
|
4414
4423
|
}
|
|
4415
4424
|
}, [maskIsReady]);
|
|
4416
4425
|
const defaultSide = React.useMemo(() => {
|
|
@@ -4459,7 +4468,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4459
4468
|
value: {
|
|
4460
4469
|
dataTestId,
|
|
4461
4470
|
isInteractive: !animatedLeft,
|
|
4462
|
-
|
|
4471
|
+
flyoutNode,
|
|
4463
4472
|
stickyBoxRef,
|
|
4464
4473
|
zIndex,
|
|
4465
4474
|
focusVirtualBoundary,
|
|
@@ -4487,7 +4496,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4487
4496
|
loop: !isSearchable,
|
|
4488
4497
|
side: side || defaultSide,
|
|
4489
4498
|
align: align || 'start',
|
|
4490
|
-
ref: index.mergeRefs(ref,
|
|
4499
|
+
ref: index.mergeRefs(ref, onRefChange),
|
|
4491
4500
|
"data-testid": dataTestId,
|
|
4492
4501
|
className: classNames__default["default"](className, {
|
|
4493
4502
|
[styles$5.animatedLeft]: animatedLeft
|
|
@@ -4506,7 +4515,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4506
4515
|
style: {
|
|
4507
4516
|
transform,
|
|
4508
4517
|
zIndex: zIndex + openPaneDepth,
|
|
4509
|
-
width:
|
|
4518
|
+
width: flyoutNode === null || flyoutNode === void 0 ? void 0 : flyoutNode.clientWidth
|
|
4510
4519
|
}
|
|
4511
4520
|
}, searchBarConfigs.length ? searchBarConfigs.map(_ref2 => {
|
|
4512
4521
|
let {
|
|
@@ -4515,7 +4524,9 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4515
4524
|
} = _ref2;
|
|
4516
4525
|
return /*#__PURE__*/React__default["default"].createElement(MenuSearch, _extends__default["default"]({
|
|
4517
4526
|
key: id
|
|
4518
|
-
}, config
|
|
4527
|
+
}, config, {
|
|
4528
|
+
inputRef: menuSearchInputRef
|
|
4529
|
+
}));
|
|
4519
4530
|
}) : null))));
|
|
4520
4531
|
});
|
|
4521
4532
|
|
|
@@ -4538,7 +4549,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4538
4549
|
childIndex,
|
|
4539
4550
|
isInteractive,
|
|
4540
4551
|
closeSubmenu,
|
|
4541
|
-
|
|
4552
|
+
flyoutNode,
|
|
4542
4553
|
stickyBoxRef,
|
|
4543
4554
|
focusVirtualBoundary,
|
|
4544
4555
|
isVirtualized: paneIsVirtualized,
|
|
@@ -4555,14 +4566,14 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4555
4566
|
});
|
|
4556
4567
|
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));
|
|
4557
4568
|
const handleFocus = () => {
|
|
4558
|
-
if (itemRef.current &&
|
|
4569
|
+
if (itemRef.current && flyoutNode && isFocusVisible) {
|
|
4559
4570
|
var _stickyBoxRef$current, _stickyBoxRef$current2;
|
|
4560
4571
|
const stickyBoxHeight = (_stickyBoxRef$current = (_stickyBoxRef$current2 = stickyBoxRef.current) === null || _stickyBoxRef$current2 === void 0 ? void 0 : _stickyBoxRef$current2.clientHeight) !== null && _stickyBoxRef$current !== void 0 ? _stickyBoxRef$current : 0;
|
|
4561
4572
|
|
|
4562
4573
|
// if the top of the focused menu item is beneath the sticky box
|
|
4563
|
-
if (itemRef.current.offsetTop <
|
|
4574
|
+
if (itemRef.current.offsetTop < flyoutNode.scrollTop + stickyBoxHeight) {
|
|
4564
4575
|
// scroll down a little
|
|
4565
|
-
|
|
4576
|
+
flyoutNode.scrollTop = itemRef.current.offsetTop - stickyBoxHeight;
|
|
4566
4577
|
}
|
|
4567
4578
|
}
|
|
4568
4579
|
};
|
|
@@ -4638,7 +4649,8 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4638
4649
|
const [items, setItems] = React.useState([]);
|
|
4639
4650
|
const internalId = index.useId();
|
|
4640
4651
|
const triggerRef = React.useRef(null);
|
|
4641
|
-
const
|
|
4652
|
+
const [flyoutNode, setFlyoutNode] = React.useState(null);
|
|
4653
|
+
const onRefChange = React.useCallback(node => setFlyoutNode(node), []);
|
|
4642
4654
|
const stickyBoxRef = React.useRef(null);
|
|
4643
4655
|
const backButtonRef = React.useRef(null);
|
|
4644
4656
|
const {
|
|
@@ -4688,7 +4700,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4688
4700
|
animatedRight,
|
|
4689
4701
|
menuParentDataTestId: paneDataTestId,
|
|
4690
4702
|
id: internalId,
|
|
4691
|
-
|
|
4703
|
+
flyoutNode,
|
|
4692
4704
|
children,
|
|
4693
4705
|
isSearchFilteringDisabled: isSearchFilteringDisabledForChildren,
|
|
4694
4706
|
backButtonRef,
|
|
@@ -4712,9 +4724,8 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4712
4724
|
// Omitted dependencies because this should only run on unmount
|
|
4713
4725
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4714
4726
|
React.useEffect(() => () => registerSubmenu(internalId, false), []);
|
|
4715
|
-
useMaskDimensions(
|
|
4727
|
+
useMaskDimensions(flyoutNode, animatedLeft, thisPanesDepth, children, isVirtualized, true);
|
|
4716
4728
|
const handlePaneTransitionEnd = () => {
|
|
4717
|
-
var _flyoutRef$current;
|
|
4718
4729
|
if (animatedLeft) {
|
|
4719
4730
|
return;
|
|
4720
4731
|
}
|
|
@@ -4728,7 +4739,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4728
4739
|
}
|
|
4729
4740
|
|
|
4730
4741
|
// if the newly closed submenu doesn't place the focus on its trigger due to mouse events
|
|
4731
|
-
if (!(
|
|
4742
|
+
if (!(flyoutNode !== null && flyoutNode !== void 0 && flyoutNode.contains(document.activeElement)) && isFocusVisible) {
|
|
4732
4743
|
if (triggerRef.current && paneContainingTriggerIsInteractive) {
|
|
4733
4744
|
triggerRef.current.focus();
|
|
4734
4745
|
} else if (backButtonRef.current) {
|
|
@@ -4783,7 +4794,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4783
4794
|
dataTestId: paneDataTestId,
|
|
4784
4795
|
isInteractive: !isTransitioningFromRight && !animatedLeft && !animatedRight,
|
|
4785
4796
|
closeSubmenu: closeThisSubmenu,
|
|
4786
|
-
|
|
4797
|
+
flyoutNode,
|
|
4787
4798
|
stickyBoxRef,
|
|
4788
4799
|
zIndex,
|
|
4789
4800
|
focusVirtualBoundary: focusVirtualBoundaryInPane,
|
|
@@ -4793,7 +4804,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4793
4804
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.SubContent, _extends__default["default"]({}, rest, {
|
|
4794
4805
|
loop: !isSearchable,
|
|
4795
4806
|
"data-testid": paneDataTestId,
|
|
4796
|
-
ref: index.mergeRefs(ref,
|
|
4807
|
+
ref: index.mergeRefs(ref, onRefChange),
|
|
4797
4808
|
onInteractOutside: onInteractOutside,
|
|
4798
4809
|
className: classNames__default["default"](className, styles$5.flyout, {
|
|
4799
4810
|
[styles$5.animatedRight]: animatedRight,
|
|
@@ -5204,9 +5215,9 @@ const RowDisplayCount = _ref => {
|
|
|
5204
5215
|
}));
|
|
5205
5216
|
};
|
|
5206
5217
|
|
|
5207
|
-
var css_248z$8 = ".
|
|
5208
|
-
var styles$3 = {"input":"
|
|
5209
|
-
var stylesheet$8=".
|
|
5218
|
+
var css_248z$8 = "._S2iLZ input{padding-left:76px!important}._eYfFf input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._eYfFf input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._eYfFf input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._yQtZe{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._yQtZe,._yQtZe._eYfFf:hover{background-color:transparent!important}._yQtZe:hover{background-color:rgba(50,54,58,.08)!important}._yQtZe:active{background-color:rgba(50,54,58,.11)!important}._yQtZe svg{top:2px!important}._9r0PX{position:relative}._9g4wU{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5219
|
+
var styles$3 = {"input":"_S2iLZ","disabled":"_eYfFf","dropdown":"_yQtZe","container":"_9r0PX","countryCode":"_9g4wU"};
|
|
5220
|
+
var stylesheet$8="._S2iLZ input{padding-left:76px!important}._eYfFf input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._eYfFf input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._eYfFf input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._yQtZe{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._yQtZe,._yQtZe._eYfFf:hover{background-color:transparent!important}._yQtZe:hover{background-color:rgba(50,54,58,.08)!important}._yQtZe:active{background-color:rgba(50,54,58,.11)!important}._yQtZe svg{top:2px!important}._9r0PX{position:relative}._9g4wU{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5210
5221
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
5211
5222
|
|
|
5212
5223
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5316,9 +5327,9 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5316
5327
|
})));
|
|
5317
5328
|
});
|
|
5318
5329
|
|
|
5319
|
-
var css_248z$7 = ".
|
|
5320
|
-
var styles$2 = {"container":"
|
|
5321
|
-
var stylesheet$7=".
|
|
5330
|
+
var css_248z$7 = "._UnpVx{display:flex}._4TYTh{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._4TYTh._t-H-3{background-color:#fff}._4TYTh._6PgGb,._4TYTh._t-H-3._r6aUk.focus-visible:not(._wSct2),._4TYTh._t-H-3._r6aUk:focus-visible:not(._wSct2),._4TYTh._t-H-3._rFwoy:not(._4TYTh._t-H-3._TUNwm){background-color:#0b6ed0}._4TYTh._6PgGb._TUNwm._rFwoy,._4TYTh._6PgGb._wSct2._r6aUk,._4TYTh._6PgGb._wSct2._TUNwm{opacity:.4}._8hQdc{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._8hQdc:focus{z-index:1}._B3MMN{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}._B3MMN svg{margin-left:1px}._B3MMN._t-H-3{background-color:#0b6ed0;border-color:transparent}._B3MMN._t-H-3 svg{fill:#fff!important}._B3MMN._t-H-3:not(._iYRSq):hover{background-color:#085caf!important}._B3MMN._t-H-3:not(._iYRSq):active{background-color:#0854a1!important}._B3MMN._t-H-3._iYRSq{opacity:.4}._B3MMN._t-H-3._iYRSq svg{background-color:transparent}._B3MMN._6PgGb{border-color:#0b6ed0;background-color:#fff}._B3MMN._6PgGb svg{fill:#0b6ed0!important}._B3MMN._6PgGb:not(._iYRSq):hover{background-color:#eef5fc!important}._B3MMN._6PgGb:not(._iYRSq):active{background-color:#e1edf9!important}._B3MMN._6PgGb._iYRSq{opacity:.4}._B3MMN._6PgGb._iYRSq svg{background-color:transparent}._RIZ3i{width:260px}";
|
|
5331
|
+
var styles$2 = {"container":"_UnpVx","divider":"_4TYTh","primary":"_t-H-3","mainButtonFocus":"_r6aUk","mainButtonDisabled":"_wSct2","dropdownButtonFocus":"_rFwoy","dropdownButtonDisabled":"_TUNwm","secondary":"_6PgGb","mainButton":"_8hQdc","dropdownButton":"_B3MMN","disabled":"_iYRSq","dropdownOption":"_RIZ3i"};
|
|
5332
|
+
var stylesheet$7="._UnpVx{display:flex}._4TYTh{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._4TYTh._t-H-3{background-color:#fff}._4TYTh._6PgGb,._4TYTh._t-H-3._r6aUk.focus-visible:not(._wSct2),._4TYTh._t-H-3._r6aUk:focus-visible:not(._wSct2),._4TYTh._t-H-3._rFwoy:not(._4TYTh._t-H-3._TUNwm){background-color:#0b6ed0}._4TYTh._6PgGb._TUNwm._rFwoy,._4TYTh._6PgGb._wSct2._r6aUk,._4TYTh._6PgGb._wSct2._TUNwm{opacity:.4}._8hQdc{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._8hQdc:focus{z-index:1}._B3MMN{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}._B3MMN svg{margin-left:1px}._B3MMN._t-H-3{background-color:#0b6ed0;border-color:transparent}._B3MMN._t-H-3 svg{fill:#fff!important}._B3MMN._t-H-3:not(._iYRSq):hover{background-color:#085caf!important}._B3MMN._t-H-3:not(._iYRSq):active{background-color:#0854a1!important}._B3MMN._t-H-3._iYRSq{opacity:.4}._B3MMN._t-H-3._iYRSq svg{background-color:transparent}._B3MMN._6PgGb{border-color:#0b6ed0;background-color:#fff}._B3MMN._6PgGb svg{fill:#0b6ed0!important}._B3MMN._6PgGb:not(._iYRSq):hover{background-color:#eef5fc!important}._B3MMN._6PgGb:not(._iYRSq):active{background-color:#e1edf9!important}._B3MMN._6PgGb._iYRSq{opacity:.4}._B3MMN._6PgGb._iYRSq svg{background-color:transparent}._RIZ3i{width:260px}";
|
|
5322
5333
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
5323
5334
|
|
|
5324
5335
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5539,9 +5550,9 @@ const StackItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5539
5550
|
}, children);
|
|
5540
5551
|
});
|
|
5541
5552
|
|
|
5542
|
-
var css_248z$6 = ".
|
|
5543
|
-
var styles$1 = {"timePickerContainer":"
|
|
5544
|
-
var stylesheet$6=".
|
|
5553
|
+
var css_248z$6 = "._PuGv8{display:inline-block;position:relative}._PuGv8 ._bpipn{width:120px}._PuGv8 ._bpipn ._F864c._B0-vr{transform:rotate(-180deg)}._PuGv8 ._bpipn ._F864c._g4xrI{fill:#9d9fa1;opacity:.4}._PuGv8 ._hl5bw>input:focus{box-shadow:none!important;border:1px solid #898989!important}._PuGv8 ._F864c{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._PuGv8 ._F864c._B0-vr{transform:rotate(-180deg)}._a-ptd{width:120px}._a-ptd ._XWI3l._M-3JI{background-color:#efefef;border-radius:6px}";
|
|
5554
|
+
var styles$1 = {"timePickerContainer":"_PuGv8","input":"_bpipn","icon":"_F864c","open":"_B0-vr","disabled":"_g4xrI","ignoreFocusStyle":"_hl5bw","timePickerFlyout":"_a-ptd","option":"_XWI3l","exactMatch":"_M-3JI"};
|
|
5555
|
+
var stylesheet$6="._PuGv8{display:inline-block;position:relative}._PuGv8 ._bpipn{width:120px}._PuGv8 ._bpipn ._F864c._B0-vr{transform:rotate(-180deg)}._PuGv8 ._bpipn ._F864c._g4xrI{fill:#9d9fa1;opacity:.4}._PuGv8 ._hl5bw>input:focus{box-shadow:none!important;border:1px solid #898989!important}._PuGv8 ._F864c{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._PuGv8 ._F864c._B0-vr{transform:rotate(-180deg)}._a-ptd{width:120px}._a-ptd ._XWI3l._M-3JI{background-color:#efefef;border-radius:6px}";
|
|
5545
5556
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
5546
5557
|
|
|
5547
5558
|
const TimeDropdown = _ref => {
|
|
@@ -6121,9 +6132,9 @@ const {
|
|
|
6121
6132
|
Provider: ToggleButtonGroupContextProvider
|
|
6122
6133
|
} = index.createContextUtilities(null);
|
|
6123
6134
|
|
|
6124
|
-
var css_248z$5 = ".
|
|
6125
|
-
var styles = {"default":"
|
|
6126
|
-
var stylesheet$5=".
|
|
6135
|
+
var css_248z$5 = "._aMi93{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._dnF6M{background-color:rgba(50,54,58,.08)}._-FpqK{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._u64dA{color:rgba(81,85,89,.4);cursor:not-allowed}._xQvE8{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._BK0Dg{color:#085caf;border-color:#085caf}._BK0Dg,._PWRfo{background:rgba(11,110,208,.11)}._PWRfo{color:#0854a1;border-color:#0854a1}._-uRtI{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gK2m4{position:relative;display:inline-grid}._gK2m4 svg{fill:currentColor}._gK2m4 ._STGav{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._gK2m4 ._STGav+._UF9Zv{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}._gK2m4 ._STGav+._UF9Zv._5d9ys{padding:5px;max-width:36px;min-width:36px}._gK2m4 ._STGav+._UF9Zv._wB8Og{padding:0 16px}._gK2m4 ._STGav+._UF9Zv._Qtiaa{padding:0 16px 0 12px}._gK2m4 ._STGav:hover+._UF9Zv{background-color:rgba(50,54,58,.08)}._gK2m4 ._STGav:disabled+._UF9Zv{color:rgba(81,85,89,.4);cursor:not-allowed}._gK2m4 ._STGav:active+._UF9Zv,._gK2m4 ._STGav:focus:active+._UF9Zv{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._gK2m4 ._STGav:checked+._UF9Zv{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._gK2m4 ._STGav:checked:hover+._UF9Zv{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._gK2m4 ._STGav:checked:disabled+._UF9Zv{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gK2m4 ._STGav:checked:active+._UF9Zv,._gK2m4 ._STGav:checked:focus:active+._UF9Zv{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._lsoDD{display:inline-flex;position:relative}._lsoDD:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._lsoDD>*{flex-shrink:0;flex-grow:0}._dOaYM{border:none;margin:0;padding:0}._dOaYM legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._gK2m4 ._STGav.focus-visible,._gK2m4 ._STGav:focus-visible{outline:none}._gK2m4 ._STGav.focus-visible+._UF9Zv,._gK2m4 ._STGav:focus-visible+._UF9Zv{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6136
|
+
var styles = {"default":"_aMi93","hovered":"_dnF6M","pressed":"_-FpqK","disabled":"_u64dA","selectedDefault":"_xQvE8","selectedHovered":"_BK0Dg","selectedPressed":"_PWRfo","selectedDisabled":"_-uRtI","toggleContainer":"_gK2m4","toggleInput":"_STGav","toggleButton":"_UF9Zv","iconOnly":"_5d9ys","text":"_wB8Og","iconText":"_Qtiaa","toggleButtonGroup":"_lsoDD","toggleButtonGroupFieldset":"_dOaYM"};
|
|
6137
|
+
var stylesheet$5="._aMi93{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._dnF6M{background-color:rgba(50,54,58,.08)}._-FpqK{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._u64dA{color:rgba(81,85,89,.4);cursor:not-allowed}._xQvE8{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._BK0Dg{color:#085caf;border-color:#085caf}._BK0Dg,._PWRfo{background:rgba(11,110,208,.11)}._PWRfo{color:#0854a1;border-color:#0854a1}._-uRtI{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gK2m4{position:relative;display:inline-grid}._gK2m4 svg{fill:currentColor}._gK2m4 ._STGav{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._gK2m4 ._STGav+._UF9Zv{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}._gK2m4 ._STGav+._UF9Zv._5d9ys{padding:5px;max-width:36px;min-width:36px}._gK2m4 ._STGav+._UF9Zv._wB8Og{padding:0 16px}._gK2m4 ._STGav+._UF9Zv._Qtiaa{padding:0 16px 0 12px}._gK2m4 ._STGav:hover+._UF9Zv{background-color:rgba(50,54,58,.08)}._gK2m4 ._STGav:disabled+._UF9Zv{color:rgba(81,85,89,.4);cursor:not-allowed}._gK2m4 ._STGav:active+._UF9Zv,._gK2m4 ._STGav:focus:active+._UF9Zv{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._gK2m4 ._STGav:checked+._UF9Zv{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._gK2m4 ._STGav:checked:hover+._UF9Zv{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._gK2m4 ._STGav:checked:disabled+._UF9Zv{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gK2m4 ._STGav:checked:active+._UF9Zv,._gK2m4 ._STGav:checked:focus:active+._UF9Zv{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._lsoDD{display:inline-flex;position:relative}._lsoDD:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._lsoDD>*{flex-shrink:0;flex-grow:0}._dOaYM{border:none;margin:0;padding:0}._dOaYM legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._gK2m4 ._STGav.focus-visible,._gK2m4 ._STGav:focus-visible{outline:none}._gK2m4 ._STGav.focus-visible+._UF9Zv,._gK2m4 ._STGav:focus-visible+._UF9Zv{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6127
6138
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
6128
6139
|
|
|
6129
6140
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|