@qualtrics/ui-react 2.36.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 +31 -0
- package/dist/__shared/cjs/{index-7baed296.js → index-73d9e179.js} +11 -3
- package/dist/__shared/cjs/{index-52d9f519.js → index-91e58b5f.js} +170 -150
- 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/Dropdown.js +3 -0
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +27 -11
- 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 +20 -14
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +2 -0
- 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/FormFieldWrapper.js +2 -0
- 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.d.ts +2 -1
- package/dist/next/index.js +98 -80
- 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',
|
|
@@ -779,6 +780,7 @@ const AdvancedTableColumnHeaders = /*#__PURE__*/React.forwardRef((_ref, ref) =>
|
|
|
779
780
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
780
781
|
const AdvancedTableCheckbox = _ref => {
|
|
781
782
|
let {
|
|
783
|
+
'data-testid': dataTestId,
|
|
782
784
|
state,
|
|
783
785
|
onClick,
|
|
784
786
|
variant = 'cell',
|
|
@@ -804,6 +806,7 @@ const AdvancedTableCheckbox = _ref => {
|
|
|
804
806
|
}
|
|
805
807
|
}, [isRowFocused, announceToScreenReader, label]);
|
|
806
808
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
809
|
+
"data-testid": dataTestId,
|
|
807
810
|
onClick: onClick,
|
|
808
811
|
className: classNames__default["default"](styles$b.advancedTableCheckbox, className, {
|
|
809
812
|
[styles$b.header]: variant === 'header'
|
|
@@ -923,7 +926,7 @@ const AdvancedTableRowExpandButton = _ref => {
|
|
|
923
926
|
};
|
|
924
927
|
|
|
925
928
|
const AdvancedTable = _ref => {
|
|
926
|
-
var _ref8;
|
|
929
|
+
var _ref8, _ref9;
|
|
927
930
|
let {
|
|
928
931
|
columnConfigs: externalColumnConfigs,
|
|
929
932
|
rows: rowsPropExternal,
|
|
@@ -1212,13 +1215,13 @@ const AdvancedTable = _ref => {
|
|
|
1212
1215
|
const columnHeaderCheckboxState = React.useMemo(() => {
|
|
1213
1216
|
const visibleRows = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows;
|
|
1214
1217
|
const checkedRows = visibleRows.filter(row => getCheckboxStateForRow(row) === true);
|
|
1218
|
+
if (!checkedRows.length) {
|
|
1219
|
+
return false;
|
|
1220
|
+
}
|
|
1215
1221
|
if (checkedRows.length === visibleRows.length) {
|
|
1216
1222
|
return true;
|
|
1217
1223
|
}
|
|
1218
|
-
|
|
1219
|
-
return 'mixed';
|
|
1220
|
-
}
|
|
1221
|
-
return false;
|
|
1224
|
+
return 'mixed';
|
|
1222
1225
|
}, [checkedRowIdsSet, paginatedRows, rows]);
|
|
1223
1226
|
const handleColumnHeaderCheckboxToggle = () => {
|
|
1224
1227
|
setLastToggledRowId('');
|
|
@@ -1358,6 +1361,7 @@ const AdvancedTable = _ref => {
|
|
|
1358
1361
|
break;
|
|
1359
1362
|
}
|
|
1360
1363
|
};
|
|
1364
|
+
const getColumnHeaderTestId = id => dataTestId && id ? "".concat(dataTestId, "-").concat(id) : undefined;
|
|
1361
1365
|
const getColumnHeaderProps = (columnConfig, columnIndex, isPinned) => {
|
|
1362
1366
|
var _columnWidths$id;
|
|
1363
1367
|
const rowIndex = headerRowIndex;
|
|
@@ -1372,7 +1376,7 @@ const AdvancedTable = _ref => {
|
|
|
1372
1376
|
return {
|
|
1373
1377
|
id,
|
|
1374
1378
|
isRowActionMenuColumn,
|
|
1375
|
-
'data-testid':
|
|
1379
|
+
'data-testid': getColumnHeaderTestId(id),
|
|
1376
1380
|
label: headerLabel,
|
|
1377
1381
|
width: (_columnWidths$id = columnWidths[id]) !== null && _columnWidths$id !== void 0 ? _columnWidths$id : width,
|
|
1378
1382
|
widthBuffer: columnIndex === 0 && maxRowDepth > 0 ? columnWidthBuffers[0] : undefined,
|
|
@@ -1536,8 +1540,10 @@ const AdvancedTable = _ref => {
|
|
|
1536
1540
|
className: classNames__default["default"](styles$b.pinnedContainer, styles$b.advancedTableRowChild),
|
|
1537
1541
|
ref: createPinnedContainerRef(headerRowIndex)
|
|
1538
1542
|
}, hasCheckboxColumn && /*#__PURE__*/React__default["default"].createElement(AdvancedTableCheckbox, {
|
|
1543
|
+
"data-testid": getColumnHeaderTestId('CheckboxColumnHeader'),
|
|
1539
1544
|
state: columnHeaderCheckboxState,
|
|
1540
1545
|
isRowFocused: headerRowIndex === focusedRowIndex,
|
|
1546
|
+
isDisabled: !((_ref8 = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows) !== null && _ref8 !== void 0 ? _ref8 : []).length,
|
|
1541
1547
|
onClick: handleColumnHeaderCheckboxToggle,
|
|
1542
1548
|
variant: "header"
|
|
1543
1549
|
}), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth, "px"), true) : undefined, pinnedColumnConfigs.map((columnConfigs, i) => {
|
|
@@ -1549,7 +1555,7 @@ const AdvancedTable = _ref => {
|
|
|
1549
1555
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1550
1556
|
role: "rowgroup",
|
|
1551
1557
|
className: styles$b.advancedTableRowGroup
|
|
1552
|
-
}, ((
|
|
1558
|
+
}, ((_ref9 = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows) !== null && _ref9 !== void 0 ? _ref9 : []).map((row, rowIndex) => {
|
|
1553
1559
|
const {
|
|
1554
1560
|
id: rowId,
|
|
1555
1561
|
data,
|
|
@@ -1577,11 +1583,13 @@ const AdvancedTable = _ref => {
|
|
|
1577
1583
|
onSelect(e);
|
|
1578
1584
|
}
|
|
1579
1585
|
};
|
|
1586
|
+
const rowDataTestId = dataTestId && rowId ? "".concat(dataTestId, "-row-").concat(rowId) : undefined;
|
|
1587
|
+
const checkboxDataTestId = rowDataTestId && "".concat(rowDataTestId, "-Checkbox");
|
|
1580
1588
|
return /*#__PURE__*/React__default["default"].createElement(AdvancedTableRow, _extends__default["default"]({}, rowProps, {
|
|
1581
1589
|
"aria-rowindex": hasExpandableRows ? undefined : paginatedRowIndex + 2 // aria-rowindex is one-indexed + the column headers row is the first row in the table
|
|
1582
1590
|
,
|
|
1583
1591
|
"aria-expanded": hasChildRows ? !!isExpanded : undefined,
|
|
1584
|
-
"data-testid":
|
|
1592
|
+
"data-testid": rowDataTestId,
|
|
1585
1593
|
hasOnRowSelect: hasOnRowSelect,
|
|
1586
1594
|
isFocusable: hasFocusableRows,
|
|
1587
1595
|
isFocused: paginatedRowIndex === focusedRowIndex && minColumnIndex === focusedColumnIndex,
|
|
@@ -1601,6 +1609,7 @@ const AdvancedTable = _ref => {
|
|
|
1601
1609
|
className: classNames__default["default"](styles$b.pinnedContainer, styles$b.advancedTableRowChild),
|
|
1602
1610
|
ref: createPinnedContainerRef(paginatedRowIndex)
|
|
1603
1611
|
}, hasCheckboxColumn && /*#__PURE__*/React__default["default"].createElement(AdvancedTableCheckbox, {
|
|
1612
|
+
"data-testid": checkboxDataTestId,
|
|
1604
1613
|
state: getCheckboxStateForRow(row),
|
|
1605
1614
|
isRowFocused: paginatedRowIndex === focusedRowIndex,
|
|
1606
1615
|
onClick: e => {
|
|
@@ -1639,13 +1648,13 @@ const AdvancedTable = _ref => {
|
|
|
1639
1648
|
};
|
|
1640
1649
|
|
|
1641
1650
|
// TODO: move hook to separate file
|
|
1642
|
-
function useSortedRows(
|
|
1651
|
+
function useSortedRows(_ref10) {
|
|
1643
1652
|
let {
|
|
1644
1653
|
columnConfigs,
|
|
1645
1654
|
onRowsChange,
|
|
1646
1655
|
selectedSortOption,
|
|
1647
1656
|
setCurrentPage
|
|
1648
|
-
} =
|
|
1657
|
+
} = _ref10;
|
|
1649
1658
|
const columnConfigsRef = index.useLatest(columnConfigs);
|
|
1650
1659
|
const onRowsChangeRef = index.useLatest(onRowsChange);
|
|
1651
1660
|
index.useDidUpdate(() => {
|
|
@@ -1654,10 +1663,10 @@ function useSortedRows(_ref9) {
|
|
|
1654
1663
|
columnId,
|
|
1655
1664
|
index
|
|
1656
1665
|
} = selectedSortOption;
|
|
1657
|
-
const sort = (_columnConfigsRef$cur = columnConfigsRef.current.find(
|
|
1666
|
+
const sort = (_columnConfigsRef$cur = columnConfigsRef.current.find(_ref11 => {
|
|
1658
1667
|
let {
|
|
1659
1668
|
id
|
|
1660
|
-
} =
|
|
1669
|
+
} = _ref11;
|
|
1661
1670
|
return id === columnId;
|
|
1662
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;
|
|
1663
1672
|
if (typeof sort === 'function' && onRowsChangeRef.current) {
|
|
@@ -1668,7 +1677,7 @@ function useSortedRows(_ref9) {
|
|
|
1668
1677
|
}
|
|
1669
1678
|
|
|
1670
1679
|
// TODO: move hook to separate file
|
|
1671
|
-
function useFocusState(
|
|
1680
|
+
function useFocusState(_ref12) {
|
|
1672
1681
|
let {
|
|
1673
1682
|
headerRowIndex,
|
|
1674
1683
|
maxRowIndex,
|
|
@@ -1678,7 +1687,7 @@ function useFocusState(_ref11) {
|
|
|
1678
1687
|
pinnedUnpinnedColumnOrder,
|
|
1679
1688
|
tableRef,
|
|
1680
1689
|
currentPage
|
|
1681
|
-
} =
|
|
1690
|
+
} = _ref12;
|
|
1682
1691
|
const cellRefs = React.useRef({});
|
|
1683
1692
|
const pinnedContainersRef = React.useRef({});
|
|
1684
1693
|
const [focusedRowIndex, setFocusedRowIndex] = React.useState(headerRowIndex);
|
|
@@ -1814,9 +1823,9 @@ function mapExternalRowToInternalRows(row, depthSize, depthIndex, parentId) {
|
|
|
1814
1823
|
|
|
1815
1824
|
/* eslint-disable import/prefer-default-export */
|
|
1816
1825
|
|
|
1817
|
-
var css_248z$g = ".
|
|
1818
|
-
var styles$a = {"collapsibleSearchInput":"
|
|
1819
|
-
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}";
|
|
1820
1829
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$g);}
|
|
1821
1830
|
|
|
1822
1831
|
const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2637,9 +2646,9 @@ function Combobox(_ref) {
|
|
|
2637
2646
|
}, children);
|
|
2638
2647
|
}
|
|
2639
2648
|
|
|
2640
|
-
var css_248z$f = ".
|
|
2641
|
-
var styles$9 = {"loadingSpinner":"
|
|
2642
|
-
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}";
|
|
2643
2652
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$f);}
|
|
2644
2653
|
|
|
2645
2654
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2947,9 +2956,9 @@ function ComboboxOption(_ref) {
|
|
|
2947
2956
|
}, label);
|
|
2948
2957
|
}
|
|
2949
2958
|
|
|
2950
|
-
var css_248z$e = ".
|
|
2951
|
-
var styles$8 = {"overlay":"
|
|
2952
|
-
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}";
|
|
2953
2962
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$e);}
|
|
2954
2963
|
|
|
2955
2964
|
/**
|
|
@@ -3015,9 +3024,9 @@ const useOverlay = _ref => {
|
|
|
3015
3024
|
}, [containerRef, isVisible, ignoreIds, overlayId]);
|
|
3016
3025
|
};
|
|
3017
3026
|
|
|
3018
|
-
var css_248z$d = ".
|
|
3019
|
-
var styles$7 = {"drawer":"
|
|
3020
|
-
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}";
|
|
3021
3030
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$d);}
|
|
3022
3031
|
|
|
3023
3032
|
const Drawer = _ref => {
|
|
@@ -3132,9 +3141,9 @@ const Drawer = _ref => {
|
|
|
3132
3141
|
}, children))), containerNode) : null;
|
|
3133
3142
|
};
|
|
3134
3143
|
|
|
3135
|
-
var css_248z$c = ".
|
|
3136
|
-
var styles$6 = {"button":"
|
|
3137
|
-
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}";
|
|
3138
3147
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
3139
3148
|
|
|
3140
3149
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -3720,9 +3729,9 @@ class PointerEvent extends Event {
|
|
|
3720
3729
|
}
|
|
3721
3730
|
}
|
|
3722
3731
|
|
|
3723
|
-
var css_248z$b = ".
|
|
3724
|
-
var styles$5 = {"buttonContainer":"
|
|
3725
|
-
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}";
|
|
3726
3735
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
3727
3736
|
|
|
3728
3737
|
/* eslint-disable import/prefer-default-export */
|
|
@@ -3804,7 +3813,8 @@ const MenuSearch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
3804
3813
|
dataTestId,
|
|
3805
3814
|
searchValue = '',
|
|
3806
3815
|
isInteractive = false,
|
|
3807
|
-
searchPlaceholder
|
|
3816
|
+
searchPlaceholder,
|
|
3817
|
+
inputRef
|
|
3808
3818
|
} = _ref;
|
|
3809
3819
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3810
3820
|
className: classNames__default["default"](styles$5.searchBox, {
|
|
@@ -3814,6 +3824,7 @@ const MenuSearch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
3814
3824
|
}),
|
|
3815
3825
|
ref: ref
|
|
3816
3826
|
}, /*#__PURE__*/React__default["default"].createElement(index.Input$1, {
|
|
3827
|
+
ref: inputRef,
|
|
3817
3828
|
"data-testid": dataTestId,
|
|
3818
3829
|
role: "searchbox",
|
|
3819
3830
|
value: searchValue,
|
|
@@ -3873,7 +3884,7 @@ function usePaneSearch(_ref) {
|
|
|
3873
3884
|
animatedRight,
|
|
3874
3885
|
menuParentDataTestId,
|
|
3875
3886
|
id,
|
|
3876
|
-
|
|
3887
|
+
flyoutNode,
|
|
3877
3888
|
children = [],
|
|
3878
3889
|
isSearchFilteringDisabled,
|
|
3879
3890
|
backButtonRef,
|
|
@@ -3911,12 +3922,11 @@ function usePaneSearch(_ref) {
|
|
|
3911
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
|
|
3912
3923
|
);
|
|
3913
3924
|
};
|
|
3914
|
-
index.useEventListener(
|
|
3925
|
+
index.useEventListener(flyoutNode, 'keydown', e => {
|
|
3915
3926
|
if (index.KEYS.NAVIGATE_UP.includes(e.key) && e.target === getFirstVisibleItem() || index.KEYS.NAVIGATE_DOWN.includes(e.key) && e.target === getLastVisibleItem()) {
|
|
3916
3927
|
searchInput === null || searchInput === void 0 || searchInput.focus();
|
|
3917
3928
|
}
|
|
3918
3929
|
}, {
|
|
3919
|
-
additionalDependencies: [flyoutRef.current],
|
|
3920
3930
|
isDisabled: !isSearchable
|
|
3921
3931
|
});
|
|
3922
3932
|
const lastestKeyPressedInSearchInput = React.useRef();
|
|
@@ -4115,9 +4125,9 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4115
4125
|
}, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
|
|
4116
4126
|
});
|
|
4117
4127
|
|
|
4118
|
-
var css_248z$a = ".
|
|
4119
|
-
var styles$4 = {"isInvalid":"
|
|
4120
|
-
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}";
|
|
4121
4131
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
4122
4132
|
|
|
4123
4133
|
const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4292,7 +4302,7 @@ const useMaskDimensions = (target, animatedLeft, paneDepth, children, isVirtuali
|
|
|
4292
4302
|
};
|
|
4293
4303
|
|
|
4294
4304
|
const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
4295
|
-
var
|
|
4305
|
+
var _flyoutNode$parentNod, _process$env;
|
|
4296
4306
|
let {
|
|
4297
4307
|
placement,
|
|
4298
4308
|
children,
|
|
@@ -4306,7 +4316,8 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4306
4316
|
...rest
|
|
4307
4317
|
} = _ref;
|
|
4308
4318
|
const [items, setItems] = React.useState([]);
|
|
4309
|
-
const
|
|
4319
|
+
const [flyoutNode, setFlyoutNode] = React.useState(null);
|
|
4320
|
+
const onRefChange = React.useCallback(node => setFlyoutNode(node), []);
|
|
4310
4321
|
const stickyBoxRef = React.useRef(null);
|
|
4311
4322
|
const selectContext = useSelectContext(true);
|
|
4312
4323
|
const withinSelect = selectContext !== null;
|
|
@@ -4335,8 +4346,8 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4335
4346
|
}
|
|
4336
4347
|
|
|
4337
4348
|
// check `className`
|
|
4338
|
-
if (!maxHeightString &&
|
|
4339
|
-
const computedString = window.getComputedStyle(
|
|
4349
|
+
if (!maxHeightString && flyoutNode) {
|
|
4350
|
+
const computedString = window.getComputedStyle(flyoutNode).maxHeight;
|
|
4340
4351
|
if (computedString !== 'none') {
|
|
4341
4352
|
maxHeightString = computedString;
|
|
4342
4353
|
}
|
|
@@ -4363,7 +4374,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4363
4374
|
const maskContainerId = index.useId();
|
|
4364
4375
|
const maskContainer = document.getElementById(maskContainerId);
|
|
4365
4376
|
const [transform, setTransform] = React.useState('');
|
|
4366
|
-
const target = (
|
|
4377
|
+
const target = (_flyoutNode$parentNod = flyoutNode === null || flyoutNode === void 0 ? void 0 : flyoutNode.parentNode) !== null && _flyoutNode$parentNod !== void 0 ? _flyoutNode$parentNod : undefined;
|
|
4367
4378
|
const {
|
|
4368
4379
|
dataTestId: rootDataTestId,
|
|
4369
4380
|
openPaneDepth,
|
|
@@ -4391,7 +4402,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4391
4402
|
animatedRight: false,
|
|
4392
4403
|
menuParentDataTestId: dataTestId,
|
|
4393
4404
|
id: index.useId(),
|
|
4394
|
-
|
|
4405
|
+
flyoutNode,
|
|
4395
4406
|
children,
|
|
4396
4407
|
isSearchFilteringDisabled,
|
|
4397
4408
|
isVirtualized
|
|
@@ -4400,10 +4411,15 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4400
4411
|
const {
|
|
4401
4412
|
isFocusVisible
|
|
4402
4413
|
} = interactions.useFocusVisible();
|
|
4403
|
-
const
|
|
4414
|
+
const menuSearchInputRef = React.useRef(null);
|
|
4415
|
+
const maskIsReady = useMaskDimensions(flyoutNode, animatedLeft, thisPanesDepth, children, isVirtualized, isVirtualizationReady);
|
|
4404
4416
|
index.useDidUpdate(() => {
|
|
4405
4417
|
if (maskIsReady && isFocusVisible) {
|
|
4406
|
-
items[0]
|
|
4418
|
+
if (items[0]) {
|
|
4419
|
+
items[0].element.current.focus();
|
|
4420
|
+
} else if (menuSearchInputRef.current) {
|
|
4421
|
+
menuSearchInputRef.current.focus();
|
|
4422
|
+
}
|
|
4407
4423
|
}
|
|
4408
4424
|
}, [maskIsReady]);
|
|
4409
4425
|
const defaultSide = React.useMemo(() => {
|
|
@@ -4452,7 +4468,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4452
4468
|
value: {
|
|
4453
4469
|
dataTestId,
|
|
4454
4470
|
isInteractive: !animatedLeft,
|
|
4455
|
-
|
|
4471
|
+
flyoutNode,
|
|
4456
4472
|
stickyBoxRef,
|
|
4457
4473
|
zIndex,
|
|
4458
4474
|
focusVirtualBoundary,
|
|
@@ -4480,7 +4496,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4480
4496
|
loop: !isSearchable,
|
|
4481
4497
|
side: side || defaultSide,
|
|
4482
4498
|
align: align || 'start',
|
|
4483
|
-
ref: index.mergeRefs(ref,
|
|
4499
|
+
ref: index.mergeRefs(ref, onRefChange),
|
|
4484
4500
|
"data-testid": dataTestId,
|
|
4485
4501
|
className: classNames__default["default"](className, {
|
|
4486
4502
|
[styles$5.animatedLeft]: animatedLeft
|
|
@@ -4499,7 +4515,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4499
4515
|
style: {
|
|
4500
4516
|
transform,
|
|
4501
4517
|
zIndex: zIndex + openPaneDepth,
|
|
4502
|
-
width:
|
|
4518
|
+
width: flyoutNode === null || flyoutNode === void 0 ? void 0 : flyoutNode.clientWidth
|
|
4503
4519
|
}
|
|
4504
4520
|
}, searchBarConfigs.length ? searchBarConfigs.map(_ref2 => {
|
|
4505
4521
|
let {
|
|
@@ -4508,7 +4524,9 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4508
4524
|
} = _ref2;
|
|
4509
4525
|
return /*#__PURE__*/React__default["default"].createElement(MenuSearch, _extends__default["default"]({
|
|
4510
4526
|
key: id
|
|
4511
|
-
}, config
|
|
4527
|
+
}, config, {
|
|
4528
|
+
inputRef: menuSearchInputRef
|
|
4529
|
+
}));
|
|
4512
4530
|
}) : null))));
|
|
4513
4531
|
});
|
|
4514
4532
|
|
|
@@ -4531,7 +4549,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4531
4549
|
childIndex,
|
|
4532
4550
|
isInteractive,
|
|
4533
4551
|
closeSubmenu,
|
|
4534
|
-
|
|
4552
|
+
flyoutNode,
|
|
4535
4553
|
stickyBoxRef,
|
|
4536
4554
|
focusVirtualBoundary,
|
|
4537
4555
|
isVirtualized: paneIsVirtualized,
|
|
@@ -4548,14 +4566,14 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4548
4566
|
});
|
|
4549
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));
|
|
4550
4568
|
const handleFocus = () => {
|
|
4551
|
-
if (itemRef.current &&
|
|
4569
|
+
if (itemRef.current && flyoutNode && isFocusVisible) {
|
|
4552
4570
|
var _stickyBoxRef$current, _stickyBoxRef$current2;
|
|
4553
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;
|
|
4554
4572
|
|
|
4555
4573
|
// if the top of the focused menu item is beneath the sticky box
|
|
4556
|
-
if (itemRef.current.offsetTop <
|
|
4574
|
+
if (itemRef.current.offsetTop < flyoutNode.scrollTop + stickyBoxHeight) {
|
|
4557
4575
|
// scroll down a little
|
|
4558
|
-
|
|
4576
|
+
flyoutNode.scrollTop = itemRef.current.offsetTop - stickyBoxHeight;
|
|
4559
4577
|
}
|
|
4560
4578
|
}
|
|
4561
4579
|
};
|
|
@@ -4631,7 +4649,8 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4631
4649
|
const [items, setItems] = React.useState([]);
|
|
4632
4650
|
const internalId = index.useId();
|
|
4633
4651
|
const triggerRef = React.useRef(null);
|
|
4634
|
-
const
|
|
4652
|
+
const [flyoutNode, setFlyoutNode] = React.useState(null);
|
|
4653
|
+
const onRefChange = React.useCallback(node => setFlyoutNode(node), []);
|
|
4635
4654
|
const stickyBoxRef = React.useRef(null);
|
|
4636
4655
|
const backButtonRef = React.useRef(null);
|
|
4637
4656
|
const {
|
|
@@ -4681,7 +4700,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4681
4700
|
animatedRight,
|
|
4682
4701
|
menuParentDataTestId: paneDataTestId,
|
|
4683
4702
|
id: internalId,
|
|
4684
|
-
|
|
4703
|
+
flyoutNode,
|
|
4685
4704
|
children,
|
|
4686
4705
|
isSearchFilteringDisabled: isSearchFilteringDisabledForChildren,
|
|
4687
4706
|
backButtonRef,
|
|
@@ -4705,9 +4724,8 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4705
4724
|
// Omitted dependencies because this should only run on unmount
|
|
4706
4725
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4707
4726
|
React.useEffect(() => () => registerSubmenu(internalId, false), []);
|
|
4708
|
-
useMaskDimensions(
|
|
4727
|
+
useMaskDimensions(flyoutNode, animatedLeft, thisPanesDepth, children, isVirtualized, true);
|
|
4709
4728
|
const handlePaneTransitionEnd = () => {
|
|
4710
|
-
var _flyoutRef$current;
|
|
4711
4729
|
if (animatedLeft) {
|
|
4712
4730
|
return;
|
|
4713
4731
|
}
|
|
@@ -4721,7 +4739,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4721
4739
|
}
|
|
4722
4740
|
|
|
4723
4741
|
// if the newly closed submenu doesn't place the focus on its trigger due to mouse events
|
|
4724
|
-
if (!(
|
|
4742
|
+
if (!(flyoutNode !== null && flyoutNode !== void 0 && flyoutNode.contains(document.activeElement)) && isFocusVisible) {
|
|
4725
4743
|
if (triggerRef.current && paneContainingTriggerIsInteractive) {
|
|
4726
4744
|
triggerRef.current.focus();
|
|
4727
4745
|
} else if (backButtonRef.current) {
|
|
@@ -4776,7 +4794,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4776
4794
|
dataTestId: paneDataTestId,
|
|
4777
4795
|
isInteractive: !isTransitioningFromRight && !animatedLeft && !animatedRight,
|
|
4778
4796
|
closeSubmenu: closeThisSubmenu,
|
|
4779
|
-
|
|
4797
|
+
flyoutNode,
|
|
4780
4798
|
stickyBoxRef,
|
|
4781
4799
|
zIndex,
|
|
4782
4800
|
focusVirtualBoundary: focusVirtualBoundaryInPane,
|
|
@@ -4786,7 +4804,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4786
4804
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.SubContent, _extends__default["default"]({}, rest, {
|
|
4787
4805
|
loop: !isSearchable,
|
|
4788
4806
|
"data-testid": paneDataTestId,
|
|
4789
|
-
ref: index.mergeRefs(ref,
|
|
4807
|
+
ref: index.mergeRefs(ref, onRefChange),
|
|
4790
4808
|
onInteractOutside: onInteractOutside,
|
|
4791
4809
|
className: classNames__default["default"](className, styles$5.flyout, {
|
|
4792
4810
|
[styles$5.animatedRight]: animatedRight,
|
|
@@ -5197,9 +5215,9 @@ const RowDisplayCount = _ref => {
|
|
|
5197
5215
|
}));
|
|
5198
5216
|
};
|
|
5199
5217
|
|
|
5200
|
-
var css_248z$8 = ".
|
|
5201
|
-
var styles$3 = {"input":"
|
|
5202
|
-
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}";
|
|
5203
5221
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
5204
5222
|
|
|
5205
5223
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5309,9 +5327,9 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5309
5327
|
})));
|
|
5310
5328
|
});
|
|
5311
5329
|
|
|
5312
|
-
var css_248z$7 = ".
|
|
5313
|
-
var styles$2 = {"container":"
|
|
5314
|
-
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}";
|
|
5315
5333
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
5316
5334
|
|
|
5317
5335
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5532,9 +5550,9 @@ const StackItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5532
5550
|
}, children);
|
|
5533
5551
|
});
|
|
5534
5552
|
|
|
5535
|
-
var css_248z$6 = ".
|
|
5536
|
-
var styles$1 = {"timePickerContainer":"
|
|
5537
|
-
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}";
|
|
5538
5556
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
5539
5557
|
|
|
5540
5558
|
const TimeDropdown = _ref => {
|
|
@@ -6114,9 +6132,9 @@ const {
|
|
|
6114
6132
|
Provider: ToggleButtonGroupContextProvider
|
|
6115
6133
|
} = index.createContextUtilities(null);
|
|
6116
6134
|
|
|
6117
|
-
var css_248z$5 = ".
|
|
6118
|
-
var styles = {"default":"
|
|
6119
|
-
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}";
|
|
6120
6138
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
6121
6139
|
|
|
6122
6140
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|