@qualtrics/ui-react 2.44.0 → 2.46.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 +33 -0
- package/dist/__shared/cjs/{index-c4cfd8bd.js → index-235c4662.js} +3 -3
- package/dist/__shared/cjs/{index-b20c6dcb.js → index-a294bba7.js} +155 -155
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Banner/Banner.js +10 -6
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +8 -13
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +3 -1
- 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/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/PageContainer.js +1 -1
- 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/Tooltip.js +1 -1
- 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/index.js +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +59 -65
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCell.js +32 -17
- package/dist/next/Chat/ChatInput.js +8 -5
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox.js +3 -0
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxInput.js +5 -0
- package/dist/next/Combobox/ComboboxOption.js +2 -1
- 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/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +1 -1
- package/dist/next/Menu/constants.js +1 -1
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +19 -4
- package/dist/next/index.js +145 -125
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +2 -2
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-a294bba7.js');
|
|
12
|
+
var icons_index = require('../__shared/cjs/index-235c4662.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 = "._8StAJ{overflow:auto;position:relative;max-width:100%;max-height:100%}._8StAJ,._9TNl8{background-color:#fff}._9TNl8{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._NsqMx{margin-bottom:4px}._vJ1-u{position:-webkit-sticky;position:sticky;top:0;z-index:100}._pWBcl{display:flex}._pWBcl:focus{outline:none}._pWBcl.focus-visible ._HqhXi:after,._pWBcl:focus-visible ._HqhXi: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}._pWBcl.focus-visible ._HqhXi:last-of-type:after,._pWBcl:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi:first-of-type:after,._pWBcl:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi._Hdgdk:after,._pWBcl:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._-A9Pq{padding-right:3px}._SF20a{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._ZHTsZ{display:flex}._ZHTsZ._clvHU ._H8Ixq,._ZHTsZ._clvHU ._HqhXi{cursor:pointer}._ZHTsZ._di5wj ._H8Ixq,._ZHTsZ._di5wj ._HqhXi{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk,._ZHTsZ._di5wj ._HqhXi._Hdgdk{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._xhe9b,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._xhe9b{background-color:rgba(11,110,208,.08)}._ZHTsZ._clvHU:hover:not(._di5wj) ._H8Ixq,._ZHTsZ._clvHU:hover:not(._di5wj) ._HqhXi{background-color:#f9f9f9}._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._H8Ixq,._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._HqhXi{background-color:#f3f3f3}._ZHTsZ:focus{outline:none}._ZHTsZ.focus-visible ._HqhXi:after,._ZHTsZ:focus-visible ._HqhXi: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}._ZHTsZ.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:last-of-type:focus{outline:none}._ZHTsZ:last-of-type.focus-visible ._HqhXi:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi: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}._ZHTsZ:last-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._ZHTsZ:last-of-type ._qoIp4:focus{outline:none}._ZHTsZ:last-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:last-of-type ._qoIp4.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4: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}._ZHTsZ:first-of-type:focus{outline:none}._ZHTsZ:first-of-type.focus-visible ._HqhXi:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi: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}._ZHTsZ:first-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:first-of-type ._qoIp4:focus{outline:none}._ZHTsZ:first-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:first-of-type ._qoIp4.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4: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}._Q3ZW2{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}._Q3ZW2._mubdL{flex-grow:1}._Q3ZW2._ZMY1g{cursor:pointer}._Q3ZW2._ZMY1g:hover:not(._7lcB4){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Q3ZW2._ZMY1g:active:not(._7lcB4){background-color:#f3f3f3}._Q3ZW2._kn-rs:not(._7lcB4){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Q3ZW2._7lcB4{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Q3ZW2 ._Cw8fo{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Q3ZW2 ._Cw8fo._7gsSB{left:-1px}._Q3ZW2 ._Cw8fo._f6296{right:0}._Q3ZW2 ._x2SvC{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Q3ZW2 ._x2SvC._7gsSB{left:-2px}._Q3ZW2 ._x2SvC._f6296{right:-1px}._Q3ZW2:first-of-type ._7gsSB._Cw8fo{left:0;width:2px;border-left:1px solid #fff}._Q3ZW2:first-of-type ._7gsSB._x2SvC{left:0}._Q3ZW2:last-of-type ._f6296._Cw8fo{right:0;width:2px;border-right:1px solid #fff}._Q3ZW2:last-of-type ._f6296._x2SvC{right:0}._Q3ZW2 ._7PlgN{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Q3ZW2 ._7PlgN ._4m-5B{position:absolute;width:2px;right:2px;top:0;bottom:0}._Q3ZW2 ._7PlgN ._4m-5B._9LfzU{background-color:#0a6ed1}._Q3ZW2 ._7PlgN:hover ._4m-5B:not(._9LfzU){background-color:#d9d9d9}._Q3ZW2 ._2VTjY{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._Q3ZW2 ._2VTjY._jT93m{flex-direction:row-reverse;justify-content:flex-start}._Q3ZW2 ._2VTjY._jT93m ._jQsdJ{margin:1px 7px 1px 1px}._Q3ZW2 ._2VTjY ._ekPE9{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Q3ZW2 ._2VTjY ._jQsdJ{margin:1px 1px 1px 7px;flex-shrink:0}._Q3ZW2 ._hHacL{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._Q3ZW2 ._-HdYi{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Q3ZW2:focus{outline:none}._Q3ZW2._HFXDK.focus-visible:after,._Q3ZW2._HFXDK:focus-visible:after,._Q3ZW2.focus-visible:after,._Q3ZW2: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}._dcGVu{margin-right:6px}._Hdgdk{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._Hdgdk[focus-within]{z-index:30}._Hdgdk:focus-within{z-index:30}._qoIp4{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}._qoIp4 ._Phdi-{width:100%;padding:12px 12px 11px;overflow:hidden}._qoIp4._7lcB4{background-color:#efefef;border-bottom-color:#dfdfe1}._qoIp4._mubdL{flex-grow:1}._qoIp4:focus{outline:none}._qoIp4._HFXDK.focus-visible:after,._qoIp4._HFXDK:focus-visible:after,._qoIp4.focus-visible:after,._qoIp4: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}._H8Ixq{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._H8Ixq._RgxgU{border-bottom-color:#d9d9d9;background-color:#fff}._xhe9b{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}._xhe9b._RgxgU{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._xhe9b:focus input~span,._xhe9b:hover input~span{border-color:#0b6ed0}._iUQzy{justify-content:flex-start}._AcZIH{justify-content:center;text-align:center}._jT93m{justify-content:flex-end;text-align:right}._c-C-a{display:none}._Wnrsm{opacity:0;height:0;width:0;overflow:hidden}._8U91N,._Wnrsm{position:absolute}._8U91N{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._NjjBj{max-width:250px;min-width:150px!important}";
|
|
36
|
+
var styles$b = {"advancedTable":"_8StAJ","advancedTablePaginationContainer":"_9TNl8","advancedTablePagination":"_NsqMx","advancedTableColumnHeadersRowGroup":"_vJ1-u","advancedTableColumnHeaders":"_pWBcl","advancedTableRowChild":"_HqhXi","pinnedContainer":"_Hdgdk","advancedTableRowGroup":"_-A9Pq","advancedTableRowRestrictedWidth":"_SF20a","advancedTableRow":"_ZHTsZ","hasRowAction":"_clvHU","advancedTableExpandRowSpacer":"_H8Ixq","isSelected":"_di5wj","advancedTableCheckbox":"_xhe9b","advancedTableCell":"_qoIp4","showFocusRing":"_HFXDK","advancedTableColumnHeader":"_Q3ZW2","fillRemainingSpace":"_mubdL","isSortable":"_ZMY1g","isDragging":"_7lcB4","isSorted":"_kn-rs","dropTargetLine":"_Cw8fo","dropTargetLeft":"_7gsSB","dropTargetRight":"_f6296","dropTargetMarker":"_x2SvC","resizeHandle":"_7PlgN","resizeLine":"_4m-5B","isResizing":"_9LfzU","advancedTableColumnHeaderLabel":"_2VTjY","rightAligned":"_jT93m","sortIcon":"_jQsdJ","advancedTableColumnHeaderLabelText":"_ekPE9","advancedTableColumnHeaderMenu":"_hHacL","advancedTableColumnHeaderMenuHiddenAnchor":"_-HdYi","advancedTableColumnHeaderMenuItemIcon":"_dcGVu","advancedTableCellContainer":"_Phdi-","header":"_RgxgU","leftAligned":"_iUQzy","centerAligned":"_AcZIH","hiddenDescription":"_c-C-a","hiddenLiveRegion":"_Wnrsm","dragPreview":"_8U91N","rowActionMenuPane":"_NjjBj"};
|
|
37
|
+
var stylesheet$h="._8StAJ{overflow:auto;position:relative;max-width:100%;max-height:100%}._8StAJ,._9TNl8{background-color:#fff}._9TNl8{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._NsqMx{margin-bottom:4px}._vJ1-u{position:-webkit-sticky;position:sticky;top:0;z-index:100}._pWBcl{display:flex}._pWBcl:focus{outline:none}._pWBcl.focus-visible ._HqhXi:after,._pWBcl:focus-visible ._HqhXi: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}._pWBcl.focus-visible ._HqhXi:last-of-type:after,._pWBcl:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi:first-of-type:after,._pWBcl:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi._Hdgdk:after,._pWBcl:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._-A9Pq{padding-right:3px}._SF20a{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._ZHTsZ{display:flex}._ZHTsZ._clvHU ._H8Ixq,._ZHTsZ._clvHU ._HqhXi{cursor:pointer}._ZHTsZ._di5wj ._H8Ixq,._ZHTsZ._di5wj ._HqhXi{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk,._ZHTsZ._di5wj ._HqhXi._Hdgdk{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._xhe9b,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._xhe9b{background-color:rgba(11,110,208,.08)}._ZHTsZ._clvHU:hover:not(._di5wj) ._H8Ixq,._ZHTsZ._clvHU:hover:not(._di5wj) ._HqhXi{background-color:#f9f9f9}._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._H8Ixq,._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._HqhXi{background-color:#f3f3f3}._ZHTsZ:focus{outline:none}._ZHTsZ.focus-visible ._HqhXi:after,._ZHTsZ:focus-visible ._HqhXi: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}._ZHTsZ.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:last-of-type:focus{outline:none}._ZHTsZ:last-of-type.focus-visible ._HqhXi:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi: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}._ZHTsZ:last-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._ZHTsZ:last-of-type ._qoIp4:focus{outline:none}._ZHTsZ:last-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:last-of-type ._qoIp4.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4: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}._ZHTsZ:first-of-type:focus{outline:none}._ZHTsZ:first-of-type.focus-visible ._HqhXi:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi: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}._ZHTsZ:first-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:first-of-type ._qoIp4:focus{outline:none}._ZHTsZ:first-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:first-of-type ._qoIp4.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4: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}._Q3ZW2{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}._Q3ZW2._mubdL{flex-grow:1}._Q3ZW2._ZMY1g{cursor:pointer}._Q3ZW2._ZMY1g:hover:not(._7lcB4){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Q3ZW2._ZMY1g:active:not(._7lcB4){background-color:#f3f3f3}._Q3ZW2._kn-rs:not(._7lcB4){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Q3ZW2._7lcB4{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Q3ZW2 ._Cw8fo{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Q3ZW2 ._Cw8fo._7gsSB{left:-1px}._Q3ZW2 ._Cw8fo._f6296{right:0}._Q3ZW2 ._x2SvC{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Q3ZW2 ._x2SvC._7gsSB{left:-2px}._Q3ZW2 ._x2SvC._f6296{right:-1px}._Q3ZW2:first-of-type ._7gsSB._Cw8fo{left:0;width:2px;border-left:1px solid #fff}._Q3ZW2:first-of-type ._7gsSB._x2SvC{left:0}._Q3ZW2:last-of-type ._f6296._Cw8fo{right:0;width:2px;border-right:1px solid #fff}._Q3ZW2:last-of-type ._f6296._x2SvC{right:0}._Q3ZW2 ._7PlgN{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Q3ZW2 ._7PlgN ._4m-5B{position:absolute;width:2px;right:2px;top:0;bottom:0}._Q3ZW2 ._7PlgN ._4m-5B._9LfzU{background-color:#0a6ed1}._Q3ZW2 ._7PlgN:hover ._4m-5B:not(._9LfzU){background-color:#d9d9d9}._Q3ZW2 ._2VTjY{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._Q3ZW2 ._2VTjY._jT93m{flex-direction:row-reverse;justify-content:flex-start}._Q3ZW2 ._2VTjY._jT93m ._jQsdJ{margin:1px 7px 1px 1px}._Q3ZW2 ._2VTjY ._ekPE9{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Q3ZW2 ._2VTjY ._jQsdJ{margin:1px 1px 1px 7px;flex-shrink:0}._Q3ZW2 ._hHacL{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._Q3ZW2 ._-HdYi{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Q3ZW2:focus{outline:none}._Q3ZW2._HFXDK.focus-visible:after,._Q3ZW2._HFXDK:focus-visible:after,._Q3ZW2.focus-visible:after,._Q3ZW2: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}._dcGVu{margin-right:6px}._Hdgdk{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._Hdgdk[focus-within]{z-index:30}._Hdgdk:focus-within{z-index:30}._qoIp4{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}._qoIp4 ._Phdi-{width:100%;padding:12px 12px 11px;overflow:hidden}._qoIp4._7lcB4{background-color:#efefef;border-bottom-color:#dfdfe1}._qoIp4._mubdL{flex-grow:1}._qoIp4:focus{outline:none}._qoIp4._HFXDK.focus-visible:after,._qoIp4._HFXDK:focus-visible:after,._qoIp4.focus-visible:after,._qoIp4: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}._H8Ixq{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._H8Ixq._RgxgU{border-bottom-color:#d9d9d9;background-color:#fff}._xhe9b{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}._xhe9b._RgxgU{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._xhe9b:focus input~span,._xhe9b:hover input~span{border-color:#0b6ed0}._iUQzy{justify-content:flex-start}._AcZIH{justify-content:center;text-align:center}._jT93m{justify-content:flex-end;text-align:right}._c-C-a{display:none}._Wnrsm{opacity:0;height:0;width:0;overflow:hidden}._8U91N,._Wnrsm{position:absolute}._8U91N{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._NjjBj{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.
|
|
@@ -634,7 +634,6 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
634
634
|
const AdvancedTableCell = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
635
635
|
let {
|
|
636
636
|
value,
|
|
637
|
-
setValue,
|
|
638
637
|
renderCellContent,
|
|
639
638
|
isCellContentInteractive = true,
|
|
640
639
|
width,
|
|
@@ -651,6 +650,10 @@ const AdvancedTableCell = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
651
650
|
onFocus,
|
|
652
651
|
isDragging,
|
|
653
652
|
className,
|
|
653
|
+
rowPropReference,
|
|
654
|
+
rowsProp,
|
|
655
|
+
depth,
|
|
656
|
+
onRowsChange,
|
|
654
657
|
...rest
|
|
655
658
|
} = _ref;
|
|
656
659
|
const cellRef = React.useRef(null);
|
|
@@ -685,11 +688,32 @@ const AdvancedTableCell = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
685
688
|
setIsEditing(false);
|
|
686
689
|
}
|
|
687
690
|
} : undefined;
|
|
688
|
-
const
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
691
|
+
const setValue = React.useCallback(newValue => {
|
|
692
|
+
const updatedRow = {
|
|
693
|
+
...rowPropReference,
|
|
694
|
+
data: {
|
|
695
|
+
...rowPropReference.data,
|
|
696
|
+
[columnId]: newValue
|
|
697
|
+
}
|
|
698
|
+
};
|
|
699
|
+
const newRows = getExternalRowsWithUpdatedRow(rowsProp, rowId, depth, updatedRow);
|
|
700
|
+
onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
|
|
701
|
+
}, [columnId, depth, onRowsChange, rowId, rowPropReference, rowsProp]);
|
|
692
702
|
const computedWidth = useComputedWidth(widthBuffer, width);
|
|
703
|
+
const cellContent = React.useMemo(() => typeof renderCellContent === 'function' ? renderCellContent({
|
|
704
|
+
value,
|
|
705
|
+
setValue,
|
|
706
|
+
focusCell: () => {
|
|
707
|
+
var _cellRef$current;
|
|
708
|
+
return (_cellRef$current = cellRef.current) === null || _cellRef$current === void 0 ? void 0 : _cellRef$current.focus();
|
|
709
|
+
},
|
|
710
|
+
focusableElementRef,
|
|
711
|
+
isEditing,
|
|
712
|
+
rowId,
|
|
713
|
+
columnId,
|
|
714
|
+
rowIndex,
|
|
715
|
+
columnIndex
|
|
716
|
+
}) : value, [columnId, columnIndex, isEditing, renderCellContent, rowId, rowIndex, setValue, value]);
|
|
693
717
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
694
718
|
role: "gridcell",
|
|
695
719
|
"data-testid": dataTestId,
|
|
@@ -711,17 +735,7 @@ const AdvancedTableCell = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
711
735
|
ref: index.mergeRefs(ref, cellRef)
|
|
712
736
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
713
737
|
className: styles$b.advancedTableCellContainer
|
|
714
|
-
},
|
|
715
|
-
value,
|
|
716
|
-
setValue,
|
|
717
|
-
focusCell,
|
|
718
|
-
focusableElementRef,
|
|
719
|
-
isEditing,
|
|
720
|
-
rowId,
|
|
721
|
-
columnId,
|
|
722
|
-
rowIndex,
|
|
723
|
-
columnIndex
|
|
724
|
-
}) : value));
|
|
738
|
+
}, cellContent));
|
|
725
739
|
});
|
|
726
740
|
|
|
727
741
|
const AdvancedTableRow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -1002,63 +1016,64 @@ const AdvancedTable = _ref => {
|
|
|
1002
1016
|
if (currentPage > pageCount) setCurrentPage(Math.max(pageCount, 1));
|
|
1003
1017
|
}
|
|
1004
1018
|
}, [rows, rowsPerPage, paginatedRows, currentPage]);
|
|
1019
|
+
const renderRowActionCellContent = React.useCallback(_ref2 => {
|
|
1020
|
+
let {
|
|
1021
|
+
rowIndex,
|
|
1022
|
+
isEditing,
|
|
1023
|
+
focusCell,
|
|
1024
|
+
focusableElementRef,
|
|
1025
|
+
rowId
|
|
1026
|
+
} = _ref2;
|
|
1027
|
+
const rowDataTestId = getRowTestId(dataTestId, rowId);
|
|
1028
|
+
const rowActionMenuDataTestId = index.getSubDataTestId(rowDataTestId, 'RowActionMenu');
|
|
1029
|
+
return /*#__PURE__*/React__default["default"].createElement(index.Dropdown, {
|
|
1030
|
+
value: 0
|
|
1031
|
+
}, /*#__PURE__*/React__default["default"].createElement(index.DropdownButton, null, /*#__PURE__*/React__default["default"].createElement(index.IconButton, {
|
|
1032
|
+
"aria-label": rowActionsButtonAriaLabel,
|
|
1033
|
+
tabIndex: isEditing ? 0 : -1,
|
|
1034
|
+
ref: focusableElementRef,
|
|
1035
|
+
onKeyDown: e => {
|
|
1036
|
+
if (e.key === 'Escape') {
|
|
1037
|
+
focusCell();
|
|
1038
|
+
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"data-testid": index.getSubDataTestId(rowDataTestId, 'RowActionButton')
|
|
1042
|
+
}, /*#__PURE__*/React__default["default"].createElement(icons_index.EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default["default"].createElement(index.DropdownList, {
|
|
1043
|
+
className: styles$b.rowActionMenuPane,
|
|
1044
|
+
placement: rowActionsPlacement,
|
|
1045
|
+
"data-testid": rowActionMenuDataTestId
|
|
1046
|
+
}, !rows ? [] : rowActions === null || rowActions === void 0 ? void 0 : rowActions.map((actionGroup, groupIndex) => {
|
|
1047
|
+
var _actionGroup$actions;
|
|
1048
|
+
const row = rows[rowIndex];
|
|
1049
|
+
const actions = !row ? [] : (_actionGroup$actions = actionGroup.actions) === null || _actionGroup$actions === void 0 ? void 0 : _actionGroup$actions.map((action, actionIndex) => /*#__PURE__*/React__default["default"].createElement(index.DropdownOption
|
|
1050
|
+
// React Docs: "We don't recommend using indexes for keys if the order of items may change." These will not change; the alternative is to require an id from the consumer.
|
|
1051
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
1052
|
+
, {
|
|
1053
|
+
key: "".concat(groupIndex, "-").concat(actionIndex),
|
|
1054
|
+
disabled: typeof action.isDisabled === 'function' ? action.isDisabled(row && row.rowPropReference) : action.isDisabled,
|
|
1055
|
+
onSelect: () => action.action(row && row.rowPropReference),
|
|
1056
|
+
value: "",
|
|
1057
|
+
label: "",
|
|
1058
|
+
"data-testid": action.actionId && index.getSubDataTestId(rowActionMenuDataTestId, "action-".concat(action.actionId))
|
|
1059
|
+
}, typeof action.label === 'function' ? action.label(row.rowPropReference) : action.label));
|
|
1060
|
+
if (actionGroup.header) {
|
|
1061
|
+
return /*#__PURE__*/React__default["default"].createElement(index.DropdownHeader
|
|
1062
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
1063
|
+
, {
|
|
1064
|
+
key: groupIndex,
|
|
1065
|
+
title: actionGroup.header
|
|
1066
|
+
}, actions);
|
|
1067
|
+
}
|
|
1068
|
+
return actions;
|
|
1069
|
+
})));
|
|
1070
|
+
}, [dataTestId, rowActions, rowActionsButtonAriaLabel, rowActionsPlacement, rows]);
|
|
1005
1071
|
if (rowActions && columnConfigs[columnConfigs.length - 1].id !== rowActionsColumnConfigId) {
|
|
1006
1072
|
rowActionsColumnConfig = {
|
|
1007
1073
|
id: rowActionsColumnConfigId,
|
|
1008
1074
|
width: '44px',
|
|
1009
1075
|
alignment: 'center',
|
|
1010
|
-
renderCellContent:
|
|
1011
|
-
let {
|
|
1012
|
-
rowIndex,
|
|
1013
|
-
isEditing,
|
|
1014
|
-
focusCell,
|
|
1015
|
-
focusableElementRef,
|
|
1016
|
-
rowId
|
|
1017
|
-
} = _ref2;
|
|
1018
|
-
const rowDataTestId = getRowTestId(dataTestId, rowId);
|
|
1019
|
-
const rowActionMenuDataTestId = index.getSubDataTestId(rowDataTestId, 'RowActionMenu');
|
|
1020
|
-
return /*#__PURE__*/React__default["default"].createElement(index.Dropdown, {
|
|
1021
|
-
value: 0
|
|
1022
|
-
}, /*#__PURE__*/React__default["default"].createElement(index.DropdownButton, null, /*#__PURE__*/React__default["default"].createElement(index.IconButton, {
|
|
1023
|
-
"aria-label": rowActionsButtonAriaLabel,
|
|
1024
|
-
tabIndex: isEditing ? 0 : -1,
|
|
1025
|
-
ref: focusableElementRef,
|
|
1026
|
-
onKeyDown: e => {
|
|
1027
|
-
if (e.key === 'Escape') {
|
|
1028
|
-
focusCell();
|
|
1029
|
-
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
1030
|
-
}
|
|
1031
|
-
},
|
|
1032
|
-
"data-testid": index.getSubDataTestId(rowDataTestId, 'RowActionButton')
|
|
1033
|
-
}, /*#__PURE__*/React__default["default"].createElement(icons_index.EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default["default"].createElement(index.DropdownList, {
|
|
1034
|
-
className: styles$b.rowActionMenuPane,
|
|
1035
|
-
placement: rowActionsPlacement,
|
|
1036
|
-
"data-testid": rowActionMenuDataTestId
|
|
1037
|
-
}, !rows ? [] : rowActions === null || rowActions === void 0 ? void 0 : rowActions.map((actionGroup, groupIndex) => {
|
|
1038
|
-
var _actionGroup$actions;
|
|
1039
|
-
const row = rows[rowIndex];
|
|
1040
|
-
const actions = !row ? [] : (_actionGroup$actions = actionGroup.actions) === null || _actionGroup$actions === void 0 ? void 0 : _actionGroup$actions.map((action, actionIndex) => /*#__PURE__*/React__default["default"].createElement(index.DropdownOption
|
|
1041
|
-
// React Docs: "We don't recommend using indexes for keys if the order of items may change." These will not change; the alternative is to require an id from the consumer.
|
|
1042
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
1043
|
-
, {
|
|
1044
|
-
key: "".concat(groupIndex, "-").concat(actionIndex),
|
|
1045
|
-
disabled: typeof action.isDisabled === 'function' ? action.isDisabled(row && row.rowPropReference) : action.isDisabled,
|
|
1046
|
-
onSelect: () => action.action(row && row.rowPropReference),
|
|
1047
|
-
value: "",
|
|
1048
|
-
label: "",
|
|
1049
|
-
"data-testid": action.actionId && index.getSubDataTestId(rowActionMenuDataTestId, "action-".concat(action.actionId))
|
|
1050
|
-
}, typeof action.label === 'function' ? action.label(row.rowPropReference) : action.label));
|
|
1051
|
-
if (actionGroup.header) {
|
|
1052
|
-
return /*#__PURE__*/React__default["default"].createElement(index.DropdownHeader
|
|
1053
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
1054
|
-
, {
|
|
1055
|
-
key: groupIndex,
|
|
1056
|
-
title: actionGroup.header
|
|
1057
|
-
}, actions);
|
|
1058
|
-
}
|
|
1059
|
-
return actions;
|
|
1060
|
-
})));
|
|
1061
|
-
},
|
|
1076
|
+
renderCellContent: renderRowActionCellContent,
|
|
1062
1077
|
headerLabel: ''
|
|
1063
1078
|
};
|
|
1064
1079
|
columnConfigs.push(rowActionsColumnConfig);
|
|
@@ -1466,17 +1481,6 @@ const AdvancedTable = _ref => {
|
|
|
1466
1481
|
const value = data[columnId];
|
|
1467
1482
|
return {
|
|
1468
1483
|
value,
|
|
1469
|
-
setValue: newValue => {
|
|
1470
|
-
const updatedRow = {
|
|
1471
|
-
...rowPropReference,
|
|
1472
|
-
data: {
|
|
1473
|
-
...rowPropReference.data,
|
|
1474
|
-
[columnId]: newValue
|
|
1475
|
-
}
|
|
1476
|
-
};
|
|
1477
|
-
const newRows = getExternalRowsWithUpdatedRow(rowsProp, rowId, depth, updatedRow);
|
|
1478
|
-
onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
|
|
1479
|
-
},
|
|
1480
1484
|
renderCellContent,
|
|
1481
1485
|
isCellContentInteractive,
|
|
1482
1486
|
width: (_columnWidths$columnI = columnWidths[columnId]) !== null && _columnWidths$columnI !== void 0 ? _columnWidths$columnI : width,
|
|
@@ -1492,7 +1496,11 @@ const AdvancedTable = _ref => {
|
|
|
1492
1496
|
onKeyDown: onKeyDown(rowIndex),
|
|
1493
1497
|
isDragging: columnId === dragSource,
|
|
1494
1498
|
key: columnId,
|
|
1495
|
-
ref: createRef(rowIndex, columnIndex)
|
|
1499
|
+
ref: createRef(rowIndex, columnIndex),
|
|
1500
|
+
rowPropReference,
|
|
1501
|
+
rowsProp,
|
|
1502
|
+
depth,
|
|
1503
|
+
onRowsChange
|
|
1496
1504
|
};
|
|
1497
1505
|
};
|
|
1498
1506
|
|
|
@@ -1856,9 +1864,9 @@ function getExternalRowsWithUpdatedRow(extRows, rowId, depth, updatedRow) {
|
|
|
1856
1864
|
|
|
1857
1865
|
/* eslint-disable import/prefer-default-export */
|
|
1858
1866
|
|
|
1859
|
-
var css_248z$g = "._-
|
|
1860
|
-
var styles$a = {"collapsibleSearchInput":"_-
|
|
1861
|
-
var stylesheet$g="._-
|
|
1867
|
+
var css_248z$g = "._-sBEd{display:inline-block;width:36px;transition:width .25s ease-out}._rszjO{width:100%}._z9f83>input{padding-right:0!important}._RNrSr>svg{fill:#515559}";
|
|
1868
|
+
var styles$a = {"collapsibleSearchInput":"_-sBEd","searchInput":"_rszjO","searchInputCollapsed":"_z9f83","iconButton":"_RNrSr"};
|
|
1869
|
+
var stylesheet$g="._-sBEd{display:inline-block;width:36px;transition:width .25s ease-out}._rszjO{width:100%}._z9f83>input{padding-right:0!important}._RNrSr>svg{fill:#515559}";
|
|
1862
1870
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$g);}
|
|
1863
1871
|
|
|
1864
1872
|
const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2625,6 +2633,7 @@ function Combobox(_ref) {
|
|
|
2625
2633
|
const flyoutId = index.useId();
|
|
2626
2634
|
const [isOpen, setIsOpen] = index.useControllableState(externalIsOpen !== null && externalIsOpen !== void 0 ? externalIsOpen : false, externalOnIsOpenChange, externalIsOpen);
|
|
2627
2635
|
const [hoveredOption, setHoveredOption] = React.useState(null);
|
|
2636
|
+
const [isSearchFilteringDisabled, setIsSearchFilteringDisabled] = React.useState(false);
|
|
2628
2637
|
const [inputFocusRef, isComponentFocused] = index.useIsFocused();
|
|
2629
2638
|
const {
|
|
2630
2639
|
rawInputValue,
|
|
@@ -2664,6 +2673,8 @@ function Combobox(_ref) {
|
|
|
2664
2673
|
setRawInputValue,
|
|
2665
2674
|
committedInputValue,
|
|
2666
2675
|
setCommittedInputValue,
|
|
2676
|
+
isSearchFilteringDisabled,
|
|
2677
|
+
setIsSearchFilteringDisabled,
|
|
2667
2678
|
onSubmit,
|
|
2668
2679
|
registerOption,
|
|
2669
2680
|
deregisterOption,
|
|
@@ -2679,9 +2690,9 @@ function Combobox(_ref) {
|
|
|
2679
2690
|
}, children);
|
|
2680
2691
|
}
|
|
2681
2692
|
|
|
2682
|
-
var css_248z$f = ".
|
|
2683
|
-
var styles$9 = {"loadingSpinner":"
|
|
2684
|
-
var stylesheet$f=".
|
|
2693
|
+
var css_248z$f = "._ntxbh :after{background-color:#515559!important}._LrEKD>input:focus{box-shadow:none!important;border:1px solid #898989!important}._f9YHE{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}._f9YHE ._ZFef4 ._083Tw{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}._f9YHE ._ZFef4:first-child ._EiPll{display:none}._f9YHE ._-0wQu{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._f9YHE ._-0wQu:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._f9YHE ._-0wQu:hover._AASt2{background-color:#e4effa}._f9YHE ._-0wQu._AASt2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._f9YHE ._-0wQu:active:not(._AASt2){background-color:#e8e9e9}";
|
|
2694
|
+
var styles$9 = {"loadingSpinner":"_ntxbh","ignoreFocusStyle":"_LrEKD","flyout":"_f9YHE","group":"_ZFef4","header":"_083Tw","divider":"_EiPll","option":"_-0wQu","selected":"_AASt2"};
|
|
2695
|
+
var stylesheet$f="._ntxbh :after{background-color:#515559!important}._LrEKD>input:focus{box-shadow:none!important;border:1px solid #898989!important}._f9YHE{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}._f9YHE ._ZFef4 ._083Tw{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}._f9YHE ._ZFef4:first-child ._EiPll{display:none}._f9YHE ._-0wQu{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._f9YHE ._-0wQu:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._f9YHE ._-0wQu:hover._AASt2{background-color:#e4effa}._f9YHE ._-0wQu._AASt2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._f9YHE ._-0wQu:active:not(._AASt2){background-color:#e8e9e9}";
|
|
2685
2696
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$f);}
|
|
2686
2697
|
|
|
2687
2698
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2691,6 +2702,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2691
2702
|
className,
|
|
2692
2703
|
style,
|
|
2693
2704
|
id,
|
|
2705
|
+
isSearchFilteringDisabled = false,
|
|
2694
2706
|
'aria-label': ariaLabel,
|
|
2695
2707
|
'aria-labelledby': ariaLabelledBy,
|
|
2696
2708
|
'aria-describedby': ariaDescribedBy
|
|
@@ -2710,6 +2722,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2710
2722
|
rawInputValue,
|
|
2711
2723
|
setRawInputValue,
|
|
2712
2724
|
committedInputValue,
|
|
2725
|
+
setIsSearchFilteringDisabled,
|
|
2713
2726
|
setCommittedInputValue,
|
|
2714
2727
|
onSubmit,
|
|
2715
2728
|
activeDescendantElement,
|
|
@@ -2732,6 +2745,9 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2732
2745
|
setRawInputValue(activeDescendantElement.innerHTML); // In a future version of Combobox, if we decide to allow custom children inside of `ComboboxOption`s, we can pass the `ComboboxOption`'s `label` to a `data-*` attribute and then access that attribute's value here instead of `innerHTML`.
|
|
2733
2746
|
}
|
|
2734
2747
|
}, [activeDescendantElement, setRawInputValue]);
|
|
2748
|
+
React.useEffect(() => {
|
|
2749
|
+
setIsSearchFilteringDisabled(isSearchFilteringDisabled);
|
|
2750
|
+
}, [isSearchFilteringDisabled, setIsSearchFilteringDisabled]);
|
|
2735
2751
|
|
|
2736
2752
|
// Handles the case when looping flyout focus ends up focusing the input (the input is included in the focus loop)
|
|
2737
2753
|
React.useEffect(() => {
|
|
@@ -2936,6 +2952,7 @@ function ComboboxOption(_ref) {
|
|
|
2936
2952
|
activeDescendantElement,
|
|
2937
2953
|
committedInputValue,
|
|
2938
2954
|
setCommittedInputValue,
|
|
2955
|
+
isSearchFilteringDisabled,
|
|
2939
2956
|
onSubmit,
|
|
2940
2957
|
rootDataTestId,
|
|
2941
2958
|
setHoveredOption
|
|
@@ -2945,7 +2962,7 @@ function ComboboxOption(_ref) {
|
|
|
2945
2962
|
deregisterOption: deregisterGroupOption
|
|
2946
2963
|
} = useComboboxGroupContext();
|
|
2947
2964
|
const lowercaseTrimmedCommittedInputValue = committedInputValue.trim().toLowerCase();
|
|
2948
|
-
const doesLabelMatchInputFilter = label.toLowerCase().startsWith(lowercaseTrimmedCommittedInputValue);
|
|
2965
|
+
const doesLabelMatchInputFilter = label.toLowerCase().startsWith(lowercaseTrimmedCommittedInputValue) || isSearchFilteringDisabled;
|
|
2949
2966
|
|
|
2950
2967
|
// Handles registration and deregistration of the option
|
|
2951
2968
|
React.useEffect(() => {
|
|
@@ -2989,9 +3006,9 @@ function ComboboxOption(_ref) {
|
|
|
2989
3006
|
}, label);
|
|
2990
3007
|
}
|
|
2991
3008
|
|
|
2992
|
-
var css_248z$e = ".
|
|
2993
|
-
var styles$8 = {"overlay":"
|
|
2994
|
-
var stylesheet$e=".
|
|
3009
|
+
var css_248z$e = "._Ji6OK{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}._Fn5XN{visibility:hidden}._1mXox{position:fixed}._xa9G5{overflow:hidden!important}";
|
|
3010
|
+
var styles$8 = {"overlay":"_Ji6OK","hidden":"_Fn5XN","anchoredToBody":"_1mXox","blockedScroll":"_xa9G5"};
|
|
3011
|
+
var stylesheet$e="._Ji6OK{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}._Fn5XN{visibility:hidden}._1mXox{position:fixed}._xa9G5{overflow:hidden!important}";
|
|
2995
3012
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$e);}
|
|
2996
3013
|
|
|
2997
3014
|
/**
|
|
@@ -3059,9 +3076,9 @@ const useOverlay = _ref => {
|
|
|
3059
3076
|
}, [containerRef, isVisible, ignoreIds, overlayId]);
|
|
3060
3077
|
};
|
|
3061
3078
|
|
|
3062
|
-
var css_248z$d = ".
|
|
3063
|
-
var styles$7 = {"drawer":"
|
|
3064
|
-
var stylesheet$d=".
|
|
3079
|
+
var css_248z$d = "._J6PeS{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}._nFmEc{visibility:hidden}._dLfpO{position:fixed}._szRIE{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._pMgq8{padding-top:8px}._k-6QU{margin-left:12px}";
|
|
3080
|
+
var styles$7 = {"drawer":"_J6PeS","hidden":"_nFmEc","anchoredToBody":"_dLfpO","header":"_szRIE","title":"_pMgq8","closeButton":"_k-6QU"};
|
|
3081
|
+
var stylesheet$d="._J6PeS{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}._nFmEc{visibility:hidden}._dLfpO{position:fixed}._szRIE{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._pMgq8{padding-top:8px}._k-6QU{margin-left:12px}";
|
|
3065
3082
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$d);}
|
|
3066
3083
|
|
|
3067
3084
|
const Drawer = _ref => {
|
|
@@ -3176,9 +3193,9 @@ const Drawer = _ref => {
|
|
|
3176
3193
|
}, children))), containerNode) : null;
|
|
3177
3194
|
};
|
|
3178
3195
|
|
|
3179
|
-
var css_248z$c = ".
|
|
3180
|
-
var styles$6 = {"button":"
|
|
3181
|
-
var stylesheet$c=".
|
|
3196
|
+
var css_248z$c = "._y50NS{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}._y50NS:hover:not(._YRboa){background-color:rgba(50,54,58,.08)}._y50NS:hover:not(._YRboa)._lHvc8{border-color:#085caf;background-color:rgba(11,110,208,.04)}._y50NS:hover:not(._YRboa)._lHvc8 ._W8sti{color:#32363a}._y50NS:hover:not(._YRboa)._lHvc8 ._qnEQk{fill:#32363a}._y50NS:hover:not(._YRboa)._lHvc8 ._CHdIp{fill:#085caf}._y50NS:hover:not(._YRboa)._lHvc8 ._Vhgzq{background-color:rgba(11,110,208,.11)}._y50NS:hover:not(._YRboa)._lHvc8 ._Vhgzq ._mkkRp{color:#085caf}._y50NS:active:not(._YRboa){background-color:#e8e9e9}._y50NS:active:not(._YRboa)._lHvc8{background-color:rgba(11,110,208,.11);border-color:#0854a1}._y50NS:active:not(._YRboa)._lHvc8 ._CHdIp{fill:#0854a1}._y50NS:active:not(._YRboa)._lHvc8 ._Vhgzq{background-color:rgba(11,110,208,.11)}._y50NS:active:not(._YRboa)._lHvc8 ._Vhgzq ._mkkRp{color:#0854a1}._y50NS._YRboa{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._y50NS._lHvc8{border-color:#0b6ed0}._qnEQk{fill:#515559;margin-right:4px}._W8sti{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._W8sti+._Vhgzq{margin-left:6px}._W8sti._YRboa{color:#74777a}._Vhgzq{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}._mkkRp{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._CHdIp{fill:#515559}._CHdIp._YRboa,._CHdIp._YRboa._lHvc8{fill:rgba(116,119,122,.4)}._CHdIp._lHvc8{fill:#0b6ed0}._CHdIp._01vm5{transform:rotate(-180deg)}._y50NS.focus-visible,._y50NS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3197
|
+
var styles$6 = {"button":"_y50NS","disabled":"_YRboa","selected":"_lHvc8","label":"_W8sti","lockIcon":"_qnEQk","chevronIcon":"_CHdIp","selectedFiltersContainer":"_Vhgzq","selectedFilters":"_mkkRp","open":"_01vm5"};
|
|
3198
|
+
var stylesheet$c="._y50NS{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}._y50NS:hover:not(._YRboa){background-color:rgba(50,54,58,.08)}._y50NS:hover:not(._YRboa)._lHvc8{border-color:#085caf;background-color:rgba(11,110,208,.04)}._y50NS:hover:not(._YRboa)._lHvc8 ._W8sti{color:#32363a}._y50NS:hover:not(._YRboa)._lHvc8 ._qnEQk{fill:#32363a}._y50NS:hover:not(._YRboa)._lHvc8 ._CHdIp{fill:#085caf}._y50NS:hover:not(._YRboa)._lHvc8 ._Vhgzq{background-color:rgba(11,110,208,.11)}._y50NS:hover:not(._YRboa)._lHvc8 ._Vhgzq ._mkkRp{color:#085caf}._y50NS:active:not(._YRboa){background-color:#e8e9e9}._y50NS:active:not(._YRboa)._lHvc8{background-color:rgba(11,110,208,.11);border-color:#0854a1}._y50NS:active:not(._YRboa)._lHvc8 ._CHdIp{fill:#0854a1}._y50NS:active:not(._YRboa)._lHvc8 ._Vhgzq{background-color:rgba(11,110,208,.11)}._y50NS:active:not(._YRboa)._lHvc8 ._Vhgzq ._mkkRp{color:#0854a1}._y50NS._YRboa{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._y50NS._lHvc8{border-color:#0b6ed0}._qnEQk{fill:#515559;margin-right:4px}._W8sti{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._W8sti+._Vhgzq{margin-left:6px}._W8sti._YRboa{color:#74777a}._Vhgzq{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}._mkkRp{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._CHdIp{fill:#515559}._CHdIp._YRboa,._CHdIp._YRboa._lHvc8{fill:rgba(116,119,122,.4)}._CHdIp._lHvc8{fill:#0b6ed0}._CHdIp._01vm5{transform:rotate(-180deg)}._y50NS.focus-visible,._y50NS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3182
3199
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
3183
3200
|
|
|
3184
3201
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -3764,9 +3781,9 @@ class PointerEvent extends Event {
|
|
|
3764
3781
|
}
|
|
3765
3782
|
}
|
|
3766
3783
|
|
|
3767
|
-
var css_248z$b = ".
|
|
3768
|
-
var styles$5 = {"buttonContainer":"
|
|
3769
|
-
var stylesheet$b=".
|
|
3784
|
+
var css_248z$b = "._NBYI1{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._NBYI1>._Zzf89{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}._NBYI1>._Zzf89:hover:not([aria-disabled=true]){background-color:#f5f5f5}._NBYI1>._Zzf89.focus-visible,._NBYI1>._Zzf89:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._NBYI1>._Zzf89+._lQI-6{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._NBYI1>._Zzf89[data-state=open]+._lQI-6{transform:rotate(-180deg) translateY(50%)}._NBYI1>._Zzf89[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._NBYI1>._Zzf89[aria-disabled=true]+._lQI-6{fill:#515559;opacity:.4}._Rov0S>[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}._Rov0S>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._IQmr-{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)}._IQmr- ._BLk6l{height:100%;overflow-y:scroll}._IQmr-._1URGs{margin-left:30px;opacity:0}._IQmr-._xCaUg{margin-left:-30px}._WTZVU{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%}._WTZVU._2EiEx{cursor:unset}._WTZVU ._kkQoo{fill:#32363a;margin-right:4px}._WTZVU:focus,._WTZVU:hover:not(._WTZVU._2EiEx){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._WTZVU[aria-disabled=true]{cursor:not-allowed;opacity:.65}._WTZVU._sFBH1{padding-right:32px}._WTZVU._sFBH1 ._lQI-6{position:absolute;height:100%;right:3px;fill:#515559}._WTZVU._gMrqq{pointer-events:none}._0jkQ5{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._0jkQ5._W13FM{padding-top:52px}._R3o4z{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._x9-hH{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._x9-hH._xCaUg{opacity:0}._x9-hH._xCaUg>._TvOOf{margin-left:-30px}._x9-hH._1URGs{opacity:0}._x9-hH._1URGs>._TvOOf{margin-left:30px}._x9-hH>._TvOOf{transition:margin-left .35s;width:100%}._x9-hH._gMrqq{pointer-events:none}body.keyboard-user ._WTZVU:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3785
|
+
var styles$5 = {"buttonContainer":"_NBYI1","button":"_Zzf89","rightIcon":"_lQI-6","maskContainer":"_Rov0S","flyout":"_IQmr-","scrollContainer":"_BLk6l","animatedRight":"_1URGs","animatedLeft":"_xCaUg","menuItem":"_WTZVU","noItems":"_2EiEx","backIcon":"_kkQoo","subMenu":"_sFBH1","unresponsive":"_gMrqq","stickyBox":"_0jkQ5","isSearchable":"_W13FM","searchBoxesContainer":"_R3o4z","searchBox":"_x9-hH","searchInput":"_TvOOf"};
|
|
3786
|
+
var stylesheet$b="._NBYI1{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._NBYI1>._Zzf89{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}._NBYI1>._Zzf89:hover:not([aria-disabled=true]){background-color:#f5f5f5}._NBYI1>._Zzf89.focus-visible,._NBYI1>._Zzf89:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._NBYI1>._Zzf89+._lQI-6{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._NBYI1>._Zzf89[data-state=open]+._lQI-6{transform:rotate(-180deg) translateY(50%)}._NBYI1>._Zzf89[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._NBYI1>._Zzf89[aria-disabled=true]+._lQI-6{fill:#515559;opacity:.4}._Rov0S>[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}._Rov0S>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._IQmr-{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)}._IQmr- ._BLk6l{height:100%;overflow-y:scroll}._IQmr-._1URGs{margin-left:30px;opacity:0}._IQmr-._xCaUg{margin-left:-30px}._WTZVU{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%}._WTZVU._2EiEx{cursor:unset}._WTZVU ._kkQoo{fill:#32363a;margin-right:4px}._WTZVU:focus,._WTZVU:hover:not(._WTZVU._2EiEx){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._WTZVU[aria-disabled=true]{cursor:not-allowed;opacity:.65}._WTZVU._sFBH1{padding-right:32px}._WTZVU._sFBH1 ._lQI-6{position:absolute;height:100%;right:3px;fill:#515559}._WTZVU._gMrqq{pointer-events:none}._0jkQ5{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._0jkQ5._W13FM{padding-top:52px}._R3o4z{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._x9-hH{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._x9-hH._xCaUg{opacity:0}._x9-hH._xCaUg>._TvOOf{margin-left:-30px}._x9-hH._1URGs{opacity:0}._x9-hH._1URGs>._TvOOf{margin-left:30px}._x9-hH>._TvOOf{transition:margin-left .35s;width:100%}._x9-hH._gMrqq{pointer-events:none}body.keyboard-user ._WTZVU:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3770
3787
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
3771
3788
|
|
|
3772
3789
|
/* eslint-disable import/prefer-default-export */
|
|
@@ -4161,9 +4178,9 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4161
4178
|
}, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
|
|
4162
4179
|
});
|
|
4163
4180
|
|
|
4164
|
-
var css_248z$a = ".
|
|
4165
|
-
var styles$4 = {"isInvalid":"
|
|
4166
|
-
var stylesheet$a=".
|
|
4181
|
+
var css_248z$a = "._wyqXt{box-shadow:inset 0 0 0 1px #b00!important}._X6jEN{margin-right:7px}._klQBl{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4182
|
+
var styles$4 = {"isInvalid":"_wyqXt","checkbox":"_X6jEN","selectedItem":"_klQBl"};
|
|
4183
|
+
var stylesheet$a="._wyqXt{box-shadow:inset 0 0 0 1px #b00!important}._X6jEN{margin-right:7px}._klQBl{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4167
4184
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
4168
4185
|
|
|
4169
4186
|
const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4622,7 +4639,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4622
4639
|
"data-testid": dataTestId,
|
|
4623
4640
|
ref: index.mergeRefs(ref, itemRef),
|
|
4624
4641
|
onKeyDown: e => {
|
|
4625
|
-
if (!isInteractive) {
|
|
4642
|
+
if (!isInteractive || e.key === 'Enter') {
|
|
4626
4643
|
e.preventDefault();
|
|
4627
4644
|
return;
|
|
4628
4645
|
}
|
|
@@ -5252,9 +5269,9 @@ const RowDisplayCount = _ref => {
|
|
|
5252
5269
|
}));
|
|
5253
5270
|
};
|
|
5254
5271
|
|
|
5255
|
-
var css_248z$8 = ".
|
|
5256
|
-
var styles$3 = {"input":"
|
|
5257
|
-
var stylesheet$8=".
|
|
5272
|
+
var css_248z$8 = "._BM1EI input{padding-left:76px!important}._-aRyY input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._-aRyY input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._-aRyY input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._fqsOZ{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._fqsOZ,._fqsOZ._-aRyY:hover{background-color:transparent!important}._fqsOZ:hover{background-color:rgba(50,54,58,.08)!important}._fqsOZ:active{background-color:rgba(50,54,58,.11)!important}._fqsOZ svg{top:2px!important}._iowDL{position:relative}._vpqkd{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5273
|
+
var styles$3 = {"input":"_BM1EI","disabled":"_-aRyY","dropdown":"_fqsOZ","container":"_iowDL","countryCode":"_vpqkd"};
|
|
5274
|
+
var stylesheet$8="._BM1EI input{padding-left:76px!important}._-aRyY input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._-aRyY input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._-aRyY input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._fqsOZ{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._fqsOZ,._fqsOZ._-aRyY:hover{background-color:transparent!important}._fqsOZ:hover{background-color:rgba(50,54,58,.08)!important}._fqsOZ:active{background-color:rgba(50,54,58,.11)!important}._fqsOZ svg{top:2px!important}._iowDL{position:relative}._vpqkd{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5258
5275
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
5259
5276
|
|
|
5260
5277
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5364,9 +5381,9 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5364
5381
|
})));
|
|
5365
5382
|
});
|
|
5366
5383
|
|
|
5367
|
-
var css_248z$7 = ".
|
|
5368
|
-
var styles$2 = {"container":"
|
|
5369
|
-
var stylesheet$7=".
|
|
5384
|
+
var css_248z$7 = "._qev-O{display:flex}._ctVQp{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._ctVQp._N9RrP{background-color:#fff}._ctVQp._5z77H,._ctVQp._N9RrP._6nPtd:not(._ctVQp._N9RrP._v6Won),._ctVQp._N9RrP._Q7m3o.focus-visible:not(._DwTjm),._ctVQp._N9RrP._Q7m3o:focus-visible:not(._DwTjm){background-color:#0b6ed0}._ctVQp._5z77H._DwTjm._Q7m3o,._ctVQp._5z77H._DwTjm._v6Won,._ctVQp._5z77H._v6Won._6nPtd{opacity:.4}._Qlk-q{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._Qlk-q:focus{z-index:1}._ObQ02{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}._ObQ02 svg{margin-left:1px}._ObQ02._N9RrP{background-color:#0b6ed0;border-color:transparent}._ObQ02._N9RrP svg{fill:#fff!important}._ObQ02._N9RrP:not(._q8Mqi):hover{background-color:#085caf!important}._ObQ02._N9RrP:not(._q8Mqi):active{background-color:#0854a1!important}._ObQ02._N9RrP._q8Mqi{opacity:.4}._ObQ02._N9RrP._q8Mqi svg{background-color:transparent}._ObQ02._5z77H{border-color:#0b6ed0;background-color:#fff}._ObQ02._5z77H svg{fill:#0b6ed0!important}._ObQ02._5z77H:not(._q8Mqi):hover{background-color:#eef5fc!important}._ObQ02._5z77H:not(._q8Mqi):active{background-color:#e1edf9!important}._ObQ02._5z77H._q8Mqi{opacity:.4}._ObQ02._5z77H._q8Mqi svg{background-color:transparent}._ps54O{width:260px}";
|
|
5385
|
+
var styles$2 = {"container":"_qev-O","divider":"_ctVQp","primary":"_N9RrP","mainButtonFocus":"_Q7m3o","mainButtonDisabled":"_DwTjm","dropdownButtonFocus":"_6nPtd","dropdownButtonDisabled":"_v6Won","secondary":"_5z77H","mainButton":"_Qlk-q","dropdownButton":"_ObQ02","disabled":"_q8Mqi","dropdownOption":"_ps54O"};
|
|
5386
|
+
var stylesheet$7="._qev-O{display:flex}._ctVQp{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._ctVQp._N9RrP{background-color:#fff}._ctVQp._5z77H,._ctVQp._N9RrP._6nPtd:not(._ctVQp._N9RrP._v6Won),._ctVQp._N9RrP._Q7m3o.focus-visible:not(._DwTjm),._ctVQp._N9RrP._Q7m3o:focus-visible:not(._DwTjm){background-color:#0b6ed0}._ctVQp._5z77H._DwTjm._Q7m3o,._ctVQp._5z77H._DwTjm._v6Won,._ctVQp._5z77H._v6Won._6nPtd{opacity:.4}._Qlk-q{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._Qlk-q:focus{z-index:1}._ObQ02{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}._ObQ02 svg{margin-left:1px}._ObQ02._N9RrP{background-color:#0b6ed0;border-color:transparent}._ObQ02._N9RrP svg{fill:#fff!important}._ObQ02._N9RrP:not(._q8Mqi):hover{background-color:#085caf!important}._ObQ02._N9RrP:not(._q8Mqi):active{background-color:#0854a1!important}._ObQ02._N9RrP._q8Mqi{opacity:.4}._ObQ02._N9RrP._q8Mqi svg{background-color:transparent}._ObQ02._5z77H{border-color:#0b6ed0;background-color:#fff}._ObQ02._5z77H svg{fill:#0b6ed0!important}._ObQ02._5z77H:not(._q8Mqi):hover{background-color:#eef5fc!important}._ObQ02._5z77H:not(._q8Mqi):active{background-color:#e1edf9!important}._ObQ02._5z77H._q8Mqi{opacity:.4}._ObQ02._5z77H._q8Mqi svg{background-color:transparent}._ps54O{width:260px}";
|
|
5370
5387
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
5371
5388
|
|
|
5372
5389
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5587,9 +5604,9 @@ const StackItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5587
5604
|
}, children);
|
|
5588
5605
|
});
|
|
5589
5606
|
|
|
5590
|
-
var css_248z$6 = ".
|
|
5591
|
-
var styles$1 = {"timePickerContainer":"
|
|
5592
|
-
var stylesheet$6=".
|
|
5607
|
+
var css_248z$6 = "._43IBy{display:inline-block;position:relative}._43IBy ._UYMHv{width:120px}._43IBy ._UYMHv ._EjbVJ._R3GLp{transform:rotate(-180deg)}._43IBy ._UYMHv ._EjbVJ._wN6Em{fill:#9d9fa1;opacity:.4}._43IBy ._Au-p0>input:focus{box-shadow:none!important;border:1px solid #898989!important}._43IBy ._EjbVJ{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._43IBy ._EjbVJ._R3GLp{transform:rotate(-180deg)}._P3RN5{width:120px}._P3RN5 ._umtnG._2AOjK{background-color:#efefef;border-radius:6px}";
|
|
5608
|
+
var styles$1 = {"timePickerContainer":"_43IBy","input":"_UYMHv","icon":"_EjbVJ","open":"_R3GLp","disabled":"_wN6Em","ignoreFocusStyle":"_Au-p0","timePickerFlyout":"_P3RN5","option":"_umtnG","exactMatch":"_2AOjK"};
|
|
5609
|
+
var stylesheet$6="._43IBy{display:inline-block;position:relative}._43IBy ._UYMHv{width:120px}._43IBy ._UYMHv ._EjbVJ._R3GLp{transform:rotate(-180deg)}._43IBy ._UYMHv ._EjbVJ._wN6Em{fill:#9d9fa1;opacity:.4}._43IBy ._Au-p0>input:focus{box-shadow:none!important;border:1px solid #898989!important}._43IBy ._EjbVJ{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._43IBy ._EjbVJ._R3GLp{transform:rotate(-180deg)}._P3RN5{width:120px}._P3RN5 ._umtnG._2AOjK{background-color:#efefef;border-radius:6px}";
|
|
5593
5610
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
5594
5611
|
|
|
5595
5612
|
const TimeDropdown = _ref => {
|
|
@@ -6176,9 +6193,9 @@ const {
|
|
|
6176
6193
|
Provider: ToggleButtonGroupContextProvider
|
|
6177
6194
|
} = index.createContextUtilities(null);
|
|
6178
6195
|
|
|
6179
|
-
var css_248z$5 = ".
|
|
6180
|
-
var styles = {"default":"
|
|
6181
|
-
var stylesheet$5=".
|
|
6196
|
+
var css_248z$5 = "._E2vyu{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._-mPHR{background-color:rgba(50,54,58,.08)}._W1x4L{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._2Rm0x{color:rgba(81,85,89,.4);cursor:not-allowed}._wUYUt{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._PAo9o{color:#085caf;border-color:#085caf}._PAo9o,._WeSbI{background:rgba(11,110,208,.11)}._WeSbI{color:#0854a1;border-color:#0854a1}._ppk2l{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gXeU0{position:relative;display:inline-grid}._gXeU0 svg{fill:currentColor}._gXeU0 ._vwHTz{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._gXeU0 ._vwHTz+._PCgVg{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}._gXeU0 ._vwHTz+._PCgVg._G7HoK{padding:5px;max-width:36px;min-width:36px}._gXeU0 ._vwHTz+._PCgVg._at3ur{padding:0 16px}._gXeU0 ._vwHTz+._PCgVg._uJoJ6{padding:0 16px 0 12px}._gXeU0 ._vwHTz:hover+._PCgVg{background-color:rgba(50,54,58,.08)}._gXeU0 ._vwHTz:disabled+._PCgVg{color:rgba(81,85,89,.4);cursor:not-allowed}._gXeU0 ._vwHTz:active+._PCgVg,._gXeU0 ._vwHTz:focus:active+._PCgVg{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._gXeU0 ._vwHTz:checked+._PCgVg{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._gXeU0 ._vwHTz:checked:hover+._PCgVg{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._gXeU0 ._vwHTz:checked:disabled+._PCgVg{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gXeU0 ._vwHTz:checked:active+._PCgVg,._gXeU0 ._vwHTz:checked:focus:active+._PCgVg{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._IrbhD{display:inline-flex;position:relative}._IrbhD:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._IrbhD>*{flex-shrink:0;flex-grow:0}._2Sc85{border:none;margin:0;padding:0}._2Sc85 legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._gXeU0 ._vwHTz.focus-visible,._gXeU0 ._vwHTz:focus-visible{outline:none}._gXeU0 ._vwHTz.focus-visible+._PCgVg,._gXeU0 ._vwHTz:focus-visible+._PCgVg{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6197
|
+
var styles = {"default":"_E2vyu","hovered":"_-mPHR","pressed":"_W1x4L","disabled":"_2Rm0x","selectedDefault":"_wUYUt","selectedHovered":"_PAo9o","selectedPressed":"_WeSbI","selectedDisabled":"_ppk2l","toggleContainer":"_gXeU0","toggleInput":"_vwHTz","toggleButton":"_PCgVg","iconOnly":"_G7HoK","text":"_at3ur","iconText":"_uJoJ6","toggleButtonGroup":"_IrbhD","toggleButtonGroupFieldset":"_2Sc85"};
|
|
6198
|
+
var stylesheet$5="._E2vyu{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._-mPHR{background-color:rgba(50,54,58,.08)}._W1x4L{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._2Rm0x{color:rgba(81,85,89,.4);cursor:not-allowed}._wUYUt{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._PAo9o{color:#085caf;border-color:#085caf}._PAo9o,._WeSbI{background:rgba(11,110,208,.11)}._WeSbI{color:#0854a1;border-color:#0854a1}._ppk2l{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gXeU0{position:relative;display:inline-grid}._gXeU0 svg{fill:currentColor}._gXeU0 ._vwHTz{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._gXeU0 ._vwHTz+._PCgVg{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}._gXeU0 ._vwHTz+._PCgVg._G7HoK{padding:5px;max-width:36px;min-width:36px}._gXeU0 ._vwHTz+._PCgVg._at3ur{padding:0 16px}._gXeU0 ._vwHTz+._PCgVg._uJoJ6{padding:0 16px 0 12px}._gXeU0 ._vwHTz:hover+._PCgVg{background-color:rgba(50,54,58,.08)}._gXeU0 ._vwHTz:disabled+._PCgVg{color:rgba(81,85,89,.4);cursor:not-allowed}._gXeU0 ._vwHTz:active+._PCgVg,._gXeU0 ._vwHTz:focus:active+._PCgVg{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._gXeU0 ._vwHTz:checked+._PCgVg{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._gXeU0 ._vwHTz:checked:hover+._PCgVg{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._gXeU0 ._vwHTz:checked:disabled+._PCgVg{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._gXeU0 ._vwHTz:checked:active+._PCgVg,._gXeU0 ._vwHTz:checked:focus:active+._PCgVg{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._IrbhD{display:inline-flex;position:relative}._IrbhD:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._IrbhD>*{flex-shrink:0;flex-grow:0}._2Sc85{border:none;margin:0;padding:0}._2Sc85 legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._gXeU0 ._vwHTz.focus-visible,._gXeU0 ._vwHTz:focus-visible{outline:none}._gXeU0 ._vwHTz.focus-visible+._PCgVg,._gXeU0 ._vwHTz:focus-visible+._PCgVg{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6182
6199
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
6183
6200
|
|
|
6184
6201
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -6350,6 +6367,7 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6350
6367
|
onChange: externalOnChange,
|
|
6351
6368
|
'data-testid': dataTestId,
|
|
6352
6369
|
placeholderText,
|
|
6370
|
+
id,
|
|
6353
6371
|
characterLimit: externalCharacterLimit,
|
|
6354
6372
|
helperText
|
|
6355
6373
|
} = _ref;
|
|
@@ -6371,11 +6389,11 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6371
6389
|
const newValue = e.target.value;
|
|
6372
6390
|
setValue(newValue);
|
|
6373
6391
|
});
|
|
6374
|
-
const helperIds = index.useId();
|
|
6375
6392
|
const {
|
|
6376
6393
|
isLoading,
|
|
6377
6394
|
chatInputRef
|
|
6378
6395
|
} = useChatContext();
|
|
6396
|
+
const chatInputID = index.useId(id);
|
|
6379
6397
|
const sendMessageAndClearInput = () => {
|
|
6380
6398
|
if (!value || isDisabled || isLoading || isMaxCharactersExceeded) return;
|
|
6381
6399
|
onMessageSend === null || onMessageSend === void 0 || onMessageSend(value);
|
|
@@ -6398,6 +6416,7 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6398
6416
|
text: value
|
|
6399
6417
|
})), /*#__PURE__*/React__default["default"].createElement(index.Input, {
|
|
6400
6418
|
ref: index.mergeRefs(ref, chatInputRef),
|
|
6419
|
+
id: "".concat(chatInputID, "-chat-input"),
|
|
6401
6420
|
multiline: true,
|
|
6402
6421
|
className: textArea,
|
|
6403
6422
|
onKeyDown: handleKeyDown,
|
|
@@ -6405,7 +6424,7 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6405
6424
|
value: value,
|
|
6406
6425
|
onChange: handleChange,
|
|
6407
6426
|
"aria-label": inputLabel,
|
|
6408
|
-
"aria-describedby": characterLimit && isMaxCharactersExceeded ? "".concat(
|
|
6427
|
+
"aria-describedby": characterLimit && isMaxCharactersExceeded ? "".concat(chatInputID, "-error-text") : "".concat(chatInputID, "-helper-text"),
|
|
6409
6428
|
placeholder: inputLabel,
|
|
6410
6429
|
"data-testid": dataTestId ? "".concat(dataTestId, "-input") : undefined,
|
|
6411
6430
|
invalid: isMaxCharactersExceeded
|
|
@@ -6418,18 +6437,19 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6418
6437
|
className: sendButton,
|
|
6419
6438
|
onClick: sendMessageAndClearInput,
|
|
6420
6439
|
disabled: isDisabled || isLoading || isMaxCharactersExceeded,
|
|
6421
|
-
"data-testid": dataTestId ? "".concat(dataTestId, "-button") : undefined
|
|
6440
|
+
"data-testid": dataTestId ? "".concat(dataTestId, "-button") : undefined,
|
|
6441
|
+
"aria-label": translate('chat.sendMessageButtonLabel')
|
|
6422
6442
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.SendIcon, null)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6423
6443
|
className: characterCountMessage
|
|
6424
6444
|
}, isMaxCharactersExceeded && /*#__PURE__*/React__default["default"].createElement(index.ErrorText, {
|
|
6425
|
-
id: "".concat(
|
|
6445
|
+
id: "".concat(chatInputID, "-error-text"),
|
|
6426
6446
|
"data-testid": dataTestId && "".concat(dataTestId, "-input-error-text")
|
|
6427
6447
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6428
6448
|
className: inputHelpInformationMessage
|
|
6429
6449
|
}, translate('chat.maxCharacterLimit')), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6430
6450
|
className: inputHelpInformationCounter
|
|
6431
6451
|
}, value.length, " / ", characterLimit)), characterLimit && /*#__PURE__*/React__default["default"].createElement(index.HelperText, {
|
|
6432
|
-
id: "".concat(
|
|
6452
|
+
id: "".concat(chatInputID, "-helper-text"),
|
|
6433
6453
|
"data-testid": dataTestId && "".concat(dataTestId, "-input-helper-text")
|
|
6434
6454
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6435
6455
|
className: inputHelpInformationMessage
|