@qualtrics/ui-react 2.45.0 → 2.46.1
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 +24 -0
- package/dist/__shared/cjs/{index-f8b54e99.js → index-36ce50e9.js} +3 -3
- package/dist/__shared/cjs/{index-c817066f.js → index-5c3434da.js} +142 -136
- 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/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +5 -1
- 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/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 +2 -2
- 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 +6 -4
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- 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/Tooltip/Tooltip.js +6 -4
- package/dist/next/index.d.ts +20 -7
- package/dist/next/index.js +136 -126
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/next/package.json +1 -1
- package/package.json +1 -1
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-5c3434da.js');
|
|
12
|
+
var icons_index = require('../__shared/cjs/index-36ce50e9.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 = "._8pnr-{overflow:auto;position:relative;max-width:100%;max-height:100%}._8pnr-,._QdX9-{background-color:#fff}._QdX9-{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._fC8k3{margin-bottom:4px}._8oS7-{position:-webkit-sticky;position:sticky;top:0;z-index:100}._Aukpa{display:flex}._Aukpa:focus{outline:none}._Aukpa.focus-visible ._cvKwp:after,._Aukpa:focus-visible ._cvKwp: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}._Aukpa.focus-visible ._cvKwp:last-of-type:after,._Aukpa:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Aukpa.focus-visible ._cvKwp:first-of-type:after,._Aukpa:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Aukpa.focus-visible ._cvKwp._1REoQ:after,._Aukpa:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:1px}._8DLlD{padding-right:3px}._TcD-M{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._Xwdn1{display:flex}._Xwdn1._GtATN ._cvKwp,._Xwdn1._GtATN ._l2ku3{cursor:pointer}._Xwdn1._dKedg ._cvKwp,._Xwdn1._dKedg ._l2ku3{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._Xwdn1._dKedg ._cvKwp._1REoQ,._Xwdn1._dKedg ._l2ku3._1REoQ{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._Xwdn1._dKedg ._cvKwp._1REoQ ._ds3M9,._Xwdn1._dKedg ._cvKwp._1REoQ ._l2ku3,._Xwdn1._dKedg ._cvKwp._1REoQ ._sW9u9,._Xwdn1._dKedg ._l2ku3._1REoQ ._ds3M9,._Xwdn1._dKedg ._l2ku3._1REoQ ._l2ku3,._Xwdn1._dKedg ._l2ku3._1REoQ ._sW9u9{background-color:rgba(11,110,208,.08)}._Xwdn1._GtATN:hover:not(._dKedg) ._cvKwp,._Xwdn1._GtATN:hover:not(._dKedg) ._l2ku3{background-color:#f9f9f9}._Xwdn1._GtATN:active:not(._dKedg):not(._Xwdn1._GtATN:active:not(._dKedg):has(._sW9u9:active)) ._cvKwp,._Xwdn1._GtATN:active:not(._dKedg):not(._Xwdn1._GtATN:active:not(._dKedg):has(._sW9u9:active)) ._l2ku3{background-color:#f3f3f3}._Xwdn1:focus{outline:none}._Xwdn1.focus-visible ._cvKwp:after,._Xwdn1:focus-visible ._cvKwp: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}._Xwdn1.focus-visible ._cvKwp:last-of-type:after,._Xwdn1:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Xwdn1.focus-visible ._cvKwp:first-of-type:after,._Xwdn1:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Xwdn1.focus-visible ._cvKwp._1REoQ:after,._Xwdn1:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:0}._Xwdn1:last-of-type:focus{outline:none}._Xwdn1:last-of-type.focus-visible ._cvKwp:after,._Xwdn1:last-of-type:focus-visible ._cvKwp: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}._Xwdn1:last-of-type.focus-visible ._cvKwp:last-of-type:after,._Xwdn1:last-of-type:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Xwdn1:last-of-type.focus-visible ._cvKwp:first-of-type:after,._Xwdn1:last-of-type:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Xwdn1:last-of-type.focus-visible ._cvKwp._1REoQ:after,._Xwdn1:last-of-type:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:1px}._Xwdn1:last-of-type ._ds3M9:focus{outline:none}._Xwdn1:last-of-type ._ds3M9._aRG8q.focus-visible:after,._Xwdn1:last-of-type ._ds3M9._aRG8q:focus-visible:after,._Xwdn1:last-of-type ._ds3M9.focus-visible:after,._Xwdn1:last-of-type ._ds3M9: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}._Xwdn1:first-of-type:focus{outline:none}._Xwdn1:first-of-type.focus-visible ._cvKwp:after,._Xwdn1:first-of-type:focus-visible ._cvKwp: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}._Xwdn1:first-of-type.focus-visible ._cvKwp:last-of-type:after,._Xwdn1:first-of-type:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Xwdn1:first-of-type.focus-visible ._cvKwp:first-of-type:after,._Xwdn1:first-of-type:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Xwdn1:first-of-type.focus-visible ._cvKwp._1REoQ:after,._Xwdn1:first-of-type:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:0}._Xwdn1:first-of-type ._ds3M9:focus{outline:none}._Xwdn1:first-of-type ._ds3M9._aRG8q.focus-visible:after,._Xwdn1:first-of-type ._ds3M9._aRG8q:focus-visible:after,._Xwdn1:first-of-type ._ds3M9.focus-visible:after,._Xwdn1:first-of-type ._ds3M9: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}._-CExH{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}._-CExH._7bKVZ{flex-grow:1}._-CExH._jnUU0{cursor:pointer}._-CExH._jnUU0:hover:not(._r1rW4){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-CExH._jnUU0:active:not(._r1rW4){background-color:#f3f3f3}._-CExH._kESfM:not(._r1rW4){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-CExH._r1rW4{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-CExH ._TcvkN{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-CExH ._TcvkN._O9EEt{left:-1px}._-CExH ._TcvkN._-LGk7{right:0}._-CExH ._d2Mcb{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-CExH ._d2Mcb._O9EEt{left:-2px}._-CExH ._d2Mcb._-LGk7{right:-1px}._-CExH:first-of-type ._O9EEt._TcvkN{left:0;width:2px;border-left:1px solid #fff}._-CExH:first-of-type ._O9EEt._d2Mcb{left:0}._-CExH:last-of-type ._-LGk7._TcvkN{right:0;width:2px;border-right:1px solid #fff}._-CExH:last-of-type ._-LGk7._d2Mcb{right:0}._-CExH ._3eIul{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-CExH ._3eIul ._LhZvx{position:absolute;width:2px;right:2px;top:0;bottom:0}._-CExH ._3eIul ._LhZvx._jJcuy{background-color:#0a6ed1}._-CExH ._3eIul:hover ._LhZvx:not(._jJcuy){background-color:#d9d9d9}._-CExH ._O1lQk{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._-CExH ._O1lQk._xilee{flex-direction:row-reverse;justify-content:flex-start}._-CExH ._O1lQk._xilee ._vL-yC{margin:1px 7px 1px 1px}._-CExH ._O1lQk ._hwIMV{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-CExH ._O1lQk ._vL-yC{margin:1px 1px 1px 7px;flex-shrink:0}._-CExH ._WH-US{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._-CExH ._PUjVN{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-CExH:focus{outline:none}._-CExH._aRG8q.focus-visible:after,._-CExH._aRG8q:focus-visible:after,._-CExH.focus-visible:after,._-CExH: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}._gGK5T{margin-right:6px}._1REoQ{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._1REoQ[focus-within]{z-index:30}._1REoQ:focus-within{z-index:30}._ds3M9{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}._ds3M9 ._M23HQ{width:100%;padding:12px 12px 11px;overflow:hidden}._ds3M9._r1rW4{background-color:#efefef;border-bottom-color:#dfdfe1}._ds3M9._7bKVZ{flex-grow:1}._ds3M9:focus{outline:none}._ds3M9._aRG8q.focus-visible:after,._ds3M9._aRG8q:focus-visible:after,._ds3M9.focus-visible:after,._ds3M9: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}._l2ku3{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._l2ku3._RCgH3{border-bottom-color:#d9d9d9;background-color:#fff}._sW9u9{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}._sW9u9._RCgH3{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._sW9u9:focus input~span,._sW9u9:hover input~span{border-color:#0b6ed0}._Cyp76{justify-content:flex-start}._ntCSd{justify-content:center;text-align:center}._xilee{justify-content:flex-end;text-align:right}._vffUR{display:none}._3p74m{opacity:0;height:0;width:0;overflow:hidden}._3p74m,._jeXZp{position:absolute}._jeXZp{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._P9j-e{max-width:250px;min-width:150px!important}";
|
|
36
|
+
var styles$b = {"advancedTable":"_8pnr-","advancedTablePaginationContainer":"_QdX9-","advancedTablePagination":"_fC8k3","advancedTableColumnHeadersRowGroup":"_8oS7-","advancedTableColumnHeaders":"_Aukpa","advancedTableRowChild":"_cvKwp","pinnedContainer":"_1REoQ","advancedTableRowGroup":"_8DLlD","advancedTableRowRestrictedWidth":"_TcD-M","advancedTableRow":"_Xwdn1","hasRowAction":"_GtATN","advancedTableExpandRowSpacer":"_l2ku3","isSelected":"_dKedg","advancedTableCheckbox":"_sW9u9","advancedTableCell":"_ds3M9","showFocusRing":"_aRG8q","advancedTableColumnHeader":"_-CExH","fillRemainingSpace":"_7bKVZ","isSortable":"_jnUU0","isDragging":"_r1rW4","isSorted":"_kESfM","dropTargetLine":"_TcvkN","dropTargetLeft":"_O9EEt","dropTargetRight":"_-LGk7","dropTargetMarker":"_d2Mcb","resizeHandle":"_3eIul","resizeLine":"_LhZvx","isResizing":"_jJcuy","advancedTableColumnHeaderLabel":"_O1lQk","rightAligned":"_xilee","sortIcon":"_vL-yC","advancedTableColumnHeaderLabelText":"_hwIMV","advancedTableColumnHeaderMenu":"_WH-US","advancedTableColumnHeaderMenuHiddenAnchor":"_PUjVN","advancedTableColumnHeaderMenuItemIcon":"_gGK5T","advancedTableCellContainer":"_M23HQ","header":"_RCgH3","leftAligned":"_Cyp76","centerAligned":"_ntCSd","hiddenDescription":"_vffUR","hiddenLiveRegion":"_3p74m","dragPreview":"_jeXZp","rowActionMenuPane":"_P9j-e"};
|
|
37
|
+
var stylesheet$h="._8pnr-{overflow:auto;position:relative;max-width:100%;max-height:100%}._8pnr-,._QdX9-{background-color:#fff}._QdX9-{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._fC8k3{margin-bottom:4px}._8oS7-{position:-webkit-sticky;position:sticky;top:0;z-index:100}._Aukpa{display:flex}._Aukpa:focus{outline:none}._Aukpa.focus-visible ._cvKwp:after,._Aukpa:focus-visible ._cvKwp: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}._Aukpa.focus-visible ._cvKwp:last-of-type:after,._Aukpa:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Aukpa.focus-visible ._cvKwp:first-of-type:after,._Aukpa:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Aukpa.focus-visible ._cvKwp._1REoQ:after,._Aukpa:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:1px}._8DLlD{padding-right:3px}._TcD-M{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._Xwdn1{display:flex}._Xwdn1._GtATN ._cvKwp,._Xwdn1._GtATN ._l2ku3{cursor:pointer}._Xwdn1._dKedg ._cvKwp,._Xwdn1._dKedg ._l2ku3{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._Xwdn1._dKedg ._cvKwp._1REoQ,._Xwdn1._dKedg ._l2ku3._1REoQ{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._Xwdn1._dKedg ._cvKwp._1REoQ ._ds3M9,._Xwdn1._dKedg ._cvKwp._1REoQ ._l2ku3,._Xwdn1._dKedg ._cvKwp._1REoQ ._sW9u9,._Xwdn1._dKedg ._l2ku3._1REoQ ._ds3M9,._Xwdn1._dKedg ._l2ku3._1REoQ ._l2ku3,._Xwdn1._dKedg ._l2ku3._1REoQ ._sW9u9{background-color:rgba(11,110,208,.08)}._Xwdn1._GtATN:hover:not(._dKedg) ._cvKwp,._Xwdn1._GtATN:hover:not(._dKedg) ._l2ku3{background-color:#f9f9f9}._Xwdn1._GtATN:active:not(._dKedg):not(._Xwdn1._GtATN:active:not(._dKedg):has(._sW9u9:active)) ._cvKwp,._Xwdn1._GtATN:active:not(._dKedg):not(._Xwdn1._GtATN:active:not(._dKedg):has(._sW9u9:active)) ._l2ku3{background-color:#f3f3f3}._Xwdn1:focus{outline:none}._Xwdn1.focus-visible ._cvKwp:after,._Xwdn1:focus-visible ._cvKwp: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}._Xwdn1.focus-visible ._cvKwp:last-of-type:after,._Xwdn1:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Xwdn1.focus-visible ._cvKwp:first-of-type:after,._Xwdn1:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Xwdn1.focus-visible ._cvKwp._1REoQ:after,._Xwdn1:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:0}._Xwdn1:last-of-type:focus{outline:none}._Xwdn1:last-of-type.focus-visible ._cvKwp:after,._Xwdn1:last-of-type:focus-visible ._cvKwp: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}._Xwdn1:last-of-type.focus-visible ._cvKwp:last-of-type:after,._Xwdn1:last-of-type:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Xwdn1:last-of-type.focus-visible ._cvKwp:first-of-type:after,._Xwdn1:last-of-type:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Xwdn1:last-of-type.focus-visible ._cvKwp._1REoQ:after,._Xwdn1:last-of-type:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:1px}._Xwdn1:last-of-type ._ds3M9:focus{outline:none}._Xwdn1:last-of-type ._ds3M9._aRG8q.focus-visible:after,._Xwdn1:last-of-type ._ds3M9._aRG8q:focus-visible:after,._Xwdn1:last-of-type ._ds3M9.focus-visible:after,._Xwdn1:last-of-type ._ds3M9: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}._Xwdn1:first-of-type:focus{outline:none}._Xwdn1:first-of-type.focus-visible ._cvKwp:after,._Xwdn1:first-of-type:focus-visible ._cvKwp: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}._Xwdn1:first-of-type.focus-visible ._cvKwp:last-of-type:after,._Xwdn1:first-of-type:focus-visible ._cvKwp:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Xwdn1:first-of-type.focus-visible ._cvKwp:first-of-type:after,._Xwdn1:first-of-type:focus-visible ._cvKwp:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Xwdn1:first-of-type.focus-visible ._cvKwp._1REoQ:after,._Xwdn1:first-of-type:focus-visible ._cvKwp._1REoQ:after{right:-3px;bottom:0}._Xwdn1:first-of-type ._ds3M9:focus{outline:none}._Xwdn1:first-of-type ._ds3M9._aRG8q.focus-visible:after,._Xwdn1:first-of-type ._ds3M9._aRG8q:focus-visible:after,._Xwdn1:first-of-type ._ds3M9.focus-visible:after,._Xwdn1:first-of-type ._ds3M9: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}._-CExH{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}._-CExH._7bKVZ{flex-grow:1}._-CExH._jnUU0{cursor:pointer}._-CExH._jnUU0:hover:not(._r1rW4){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-CExH._jnUU0:active:not(._r1rW4){background-color:#f3f3f3}._-CExH._kESfM:not(._r1rW4){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-CExH._r1rW4{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-CExH ._TcvkN{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-CExH ._TcvkN._O9EEt{left:-1px}._-CExH ._TcvkN._-LGk7{right:0}._-CExH ._d2Mcb{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-CExH ._d2Mcb._O9EEt{left:-2px}._-CExH ._d2Mcb._-LGk7{right:-1px}._-CExH:first-of-type ._O9EEt._TcvkN{left:0;width:2px;border-left:1px solid #fff}._-CExH:first-of-type ._O9EEt._d2Mcb{left:0}._-CExH:last-of-type ._-LGk7._TcvkN{right:0;width:2px;border-right:1px solid #fff}._-CExH:last-of-type ._-LGk7._d2Mcb{right:0}._-CExH ._3eIul{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-CExH ._3eIul ._LhZvx{position:absolute;width:2px;right:2px;top:0;bottom:0}._-CExH ._3eIul ._LhZvx._jJcuy{background-color:#0a6ed1}._-CExH ._3eIul:hover ._LhZvx:not(._jJcuy){background-color:#d9d9d9}._-CExH ._O1lQk{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._-CExH ._O1lQk._xilee{flex-direction:row-reverse;justify-content:flex-start}._-CExH ._O1lQk._xilee ._vL-yC{margin:1px 7px 1px 1px}._-CExH ._O1lQk ._hwIMV{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-CExH ._O1lQk ._vL-yC{margin:1px 1px 1px 7px;flex-shrink:0}._-CExH ._WH-US{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._-CExH ._PUjVN{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-CExH:focus{outline:none}._-CExH._aRG8q.focus-visible:after,._-CExH._aRG8q:focus-visible:after,._-CExH.focus-visible:after,._-CExH: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}._gGK5T{margin-right:6px}._1REoQ{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._1REoQ[focus-within]{z-index:30}._1REoQ:focus-within{z-index:30}._ds3M9{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}._ds3M9 ._M23HQ{width:100%;padding:12px 12px 11px;overflow:hidden}._ds3M9._r1rW4{background-color:#efefef;border-bottom-color:#dfdfe1}._ds3M9._7bKVZ{flex-grow:1}._ds3M9:focus{outline:none}._ds3M9._aRG8q.focus-visible:after,._ds3M9._aRG8q:focus-visible:after,._ds3M9.focus-visible:after,._ds3M9: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}._l2ku3{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._l2ku3._RCgH3{border-bottom-color:#d9d9d9;background-color:#fff}._sW9u9{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}._sW9u9._RCgH3{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._sW9u9:focus input~span,._sW9u9:hover input~span{border-color:#0b6ed0}._Cyp76{justify-content:flex-start}._ntCSd{justify-content:center;text-align:center}._xilee{justify-content:flex-end;text-align:right}._vffUR{display:none}._3p74m{opacity:0;height:0;width:0;overflow:hidden}._3p74m,._jeXZp{position:absolute}._jeXZp{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._P9j-e{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 = "._3DJf0{display:inline-block;width:36px;transition:width .25s ease-out}._LJlPd{width:100%}._ah-0j>input{padding-right:0!important}._mhOU2>svg{fill:#515559}";
|
|
1868
|
+
var styles$a = {"collapsibleSearchInput":"_3DJf0","searchInput":"_LJlPd","searchInputCollapsed":"_ah-0j","iconButton":"_mhOU2"};
|
|
1869
|
+
var stylesheet$g="._3DJf0{display:inline-block;width:36px;transition:width .25s ease-out}._LJlPd{width:100%}._ah-0j>input{padding-right:0!important}._mhOU2>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) => {
|
|
@@ -2682,9 +2690,9 @@ function Combobox(_ref) {
|
|
|
2682
2690
|
}, children);
|
|
2683
2691
|
}
|
|
2684
2692
|
|
|
2685
|
-
var css_248z$f = ".
|
|
2686
|
-
var styles$9 = {"loadingSpinner":"
|
|
2687
|
-
var stylesheet$f=".
|
|
2693
|
+
var css_248z$f = "._fjBxB :after{background-color:#515559!important}._efrue>input:focus{box-shadow:none!important;border:1px solid #898989!important}._vndGh{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}._vndGh ._Ak-6b ._TEuFl{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}._vndGh ._Ak-6b:first-child ._Khke5{display:none}._vndGh ._pJtsE{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._vndGh ._pJtsE:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._vndGh ._pJtsE:hover._PFp10{background-color:#e4effa}._vndGh ._pJtsE._PFp10{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._vndGh ._pJtsE:active:not(._PFp10){background-color:#e8e9e9}";
|
|
2694
|
+
var styles$9 = {"loadingSpinner":"_fjBxB","ignoreFocusStyle":"_efrue","flyout":"_vndGh","group":"_Ak-6b","header":"_TEuFl","divider":"_Khke5","option":"_pJtsE","selected":"_PFp10"};
|
|
2695
|
+
var stylesheet$f="._fjBxB :after{background-color:#515559!important}._efrue>input:focus{box-shadow:none!important;border:1px solid #898989!important}._vndGh{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}._vndGh ._Ak-6b ._TEuFl{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}._vndGh ._Ak-6b:first-child ._Khke5{display:none}._vndGh ._pJtsE{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._vndGh ._pJtsE:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._vndGh ._pJtsE:hover._PFp10{background-color:#e4effa}._vndGh ._pJtsE._PFp10{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._vndGh ._pJtsE:active:not(._PFp10){background-color:#e8e9e9}";
|
|
2688
2696
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$f);}
|
|
2689
2697
|
|
|
2690
2698
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2998,9 +3006,9 @@ function ComboboxOption(_ref) {
|
|
|
2998
3006
|
}, label);
|
|
2999
3007
|
}
|
|
3000
3008
|
|
|
3001
|
-
var css_248z$e = ".
|
|
3002
|
-
var styles$8 = {"overlay":"
|
|
3003
|
-
var stylesheet$e=".
|
|
3009
|
+
var css_248z$e = "._-QTJc{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}._yUlWn{visibility:hidden}._EyPtL{position:fixed}._Gt802{overflow:hidden!important}";
|
|
3010
|
+
var styles$8 = {"overlay":"_-QTJc","hidden":"_yUlWn","anchoredToBody":"_EyPtL","blockedScroll":"_Gt802"};
|
|
3011
|
+
var stylesheet$e="._-QTJc{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}._yUlWn{visibility:hidden}._EyPtL{position:fixed}._Gt802{overflow:hidden!important}";
|
|
3004
3012
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$e);}
|
|
3005
3013
|
|
|
3006
3014
|
/**
|
|
@@ -3068,9 +3076,9 @@ const useOverlay = _ref => {
|
|
|
3068
3076
|
}, [containerRef, isVisible, ignoreIds, overlayId]);
|
|
3069
3077
|
};
|
|
3070
3078
|
|
|
3071
|
-
var css_248z$d = ".
|
|
3072
|
-
var styles$7 = {"drawer":"
|
|
3073
|
-
var stylesheet$d=".
|
|
3079
|
+
var css_248z$d = "._JleG0{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}._R6xJv{visibility:hidden}._7m-lc{position:fixed}._KGm7r{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._-U6HY{padding-top:8px}._XhBNq{margin-left:12px}";
|
|
3080
|
+
var styles$7 = {"drawer":"_JleG0","hidden":"_R6xJv","anchoredToBody":"_7m-lc","header":"_KGm7r","title":"_-U6HY","closeButton":"_XhBNq"};
|
|
3081
|
+
var stylesheet$d="._JleG0{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}._R6xJv{visibility:hidden}._7m-lc{position:fixed}._KGm7r{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._-U6HY{padding-top:8px}._XhBNq{margin-left:12px}";
|
|
3074
3082
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$d);}
|
|
3075
3083
|
|
|
3076
3084
|
const Drawer = _ref => {
|
|
@@ -3185,9 +3193,9 @@ const Drawer = _ref => {
|
|
|
3185
3193
|
}, children))), containerNode) : null;
|
|
3186
3194
|
};
|
|
3187
3195
|
|
|
3188
|
-
var css_248z$c = ".
|
|
3189
|
-
var styles$6 = {"button":"
|
|
3190
|
-
var stylesheet$c=".
|
|
3196
|
+
var css_248z$c = "._JH2Yc{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}._JH2Yc:hover:not(._wwSr1){background-color:rgba(50,54,58,.08)}._JH2Yc:hover:not(._wwSr1)._1yVJE{border-color:#085caf;background-color:rgba(11,110,208,.04)}._JH2Yc:hover:not(._wwSr1)._1yVJE ._1bcUk{color:#32363a}._JH2Yc:hover:not(._wwSr1)._1yVJE ._hjDjO{fill:#32363a}._JH2Yc:hover:not(._wwSr1)._1yVJE ._bJlTX{fill:#085caf}._JH2Yc:hover:not(._wwSr1)._1yVJE ._llaP4{background-color:rgba(11,110,208,.11)}._JH2Yc:hover:not(._wwSr1)._1yVJE ._llaP4 ._RoZhl{color:#085caf}._JH2Yc:active:not(._wwSr1){background-color:#e8e9e9}._JH2Yc:active:not(._wwSr1)._1yVJE{background-color:rgba(11,110,208,.11);border-color:#0854a1}._JH2Yc:active:not(._wwSr1)._1yVJE ._bJlTX{fill:#0854a1}._JH2Yc:active:not(._wwSr1)._1yVJE ._llaP4{background-color:rgba(11,110,208,.11)}._JH2Yc:active:not(._wwSr1)._1yVJE ._llaP4 ._RoZhl{color:#0854a1}._JH2Yc._wwSr1{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._JH2Yc._1yVJE{border-color:#0b6ed0}._hjDjO{fill:#515559;margin-right:4px}._1bcUk{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1bcUk+._llaP4{margin-left:6px}._1bcUk._wwSr1{color:#74777a}._llaP4{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}._RoZhl{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._bJlTX{fill:#515559}._bJlTX._wwSr1,._bJlTX._wwSr1._1yVJE{fill:rgba(116,119,122,.4)}._bJlTX._1yVJE{fill:#0b6ed0}._bJlTX._Dld8k{transform:rotate(-180deg)}._JH2Yc.focus-visible,._JH2Yc:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3197
|
+
var styles$6 = {"button":"_JH2Yc","disabled":"_wwSr1","selected":"_1yVJE","label":"_1bcUk","lockIcon":"_hjDjO","chevronIcon":"_bJlTX","selectedFiltersContainer":"_llaP4","selectedFilters":"_RoZhl","open":"_Dld8k"};
|
|
3198
|
+
var stylesheet$c="._JH2Yc{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}._JH2Yc:hover:not(._wwSr1){background-color:rgba(50,54,58,.08)}._JH2Yc:hover:not(._wwSr1)._1yVJE{border-color:#085caf;background-color:rgba(11,110,208,.04)}._JH2Yc:hover:not(._wwSr1)._1yVJE ._1bcUk{color:#32363a}._JH2Yc:hover:not(._wwSr1)._1yVJE ._hjDjO{fill:#32363a}._JH2Yc:hover:not(._wwSr1)._1yVJE ._bJlTX{fill:#085caf}._JH2Yc:hover:not(._wwSr1)._1yVJE ._llaP4{background-color:rgba(11,110,208,.11)}._JH2Yc:hover:not(._wwSr1)._1yVJE ._llaP4 ._RoZhl{color:#085caf}._JH2Yc:active:not(._wwSr1){background-color:#e8e9e9}._JH2Yc:active:not(._wwSr1)._1yVJE{background-color:rgba(11,110,208,.11);border-color:#0854a1}._JH2Yc:active:not(._wwSr1)._1yVJE ._bJlTX{fill:#0854a1}._JH2Yc:active:not(._wwSr1)._1yVJE ._llaP4{background-color:rgba(11,110,208,.11)}._JH2Yc:active:not(._wwSr1)._1yVJE ._llaP4 ._RoZhl{color:#0854a1}._JH2Yc._wwSr1{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._JH2Yc._1yVJE{border-color:#0b6ed0}._hjDjO{fill:#515559;margin-right:4px}._1bcUk{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1bcUk+._llaP4{margin-left:6px}._1bcUk._wwSr1{color:#74777a}._llaP4{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}._RoZhl{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._bJlTX{fill:#515559}._bJlTX._wwSr1,._bJlTX._wwSr1._1yVJE{fill:rgba(116,119,122,.4)}._bJlTX._1yVJE{fill:#0b6ed0}._bJlTX._Dld8k{transform:rotate(-180deg)}._JH2Yc.focus-visible,._JH2Yc:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3191
3199
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
3192
3200
|
|
|
3193
3201
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -3773,9 +3781,9 @@ class PointerEvent extends Event {
|
|
|
3773
3781
|
}
|
|
3774
3782
|
}
|
|
3775
3783
|
|
|
3776
|
-
var css_248z$b = ".
|
|
3777
|
-
var styles$5 = {"buttonContainer":"
|
|
3778
|
-
var stylesheet$b=".
|
|
3784
|
+
var css_248z$b = "._lKG-h{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._lKG-h>._Bf2-f{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}._lKG-h>._Bf2-f:hover:not([aria-disabled=true]){background-color:#f5f5f5}._lKG-h>._Bf2-f.focus-visible,._lKG-h>._Bf2-f:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._lKG-h>._Bf2-f+._m46MD{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._lKG-h>._Bf2-f[data-state=open]+._m46MD{transform:rotate(-180deg) translateY(50%)}._lKG-h>._Bf2-f[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._lKG-h>._Bf2-f[aria-disabled=true]+._m46MD{fill:#515559;opacity:.4}._JJygf>[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}._JJygf>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._tIoHO{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)}._tIoHO ._7yS8V{height:100%;overflow-y:scroll}._tIoHO._PE8Ce{margin-left:30px;opacity:0}._tIoHO._6Kh8Z{margin-left:-30px}._bKTFt{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%}._bKTFt._MPiGQ{cursor:unset}._bKTFt ._zjzBp{fill:#32363a;margin-right:4px}._bKTFt:focus,._bKTFt:hover:not(._bKTFt._MPiGQ){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._bKTFt[aria-disabled=true]{cursor:not-allowed;opacity:.65}._bKTFt._B5YWr{padding-right:32px}._bKTFt._B5YWr ._m46MD{position:absolute;height:100%;right:3px;fill:#515559}._bKTFt._3htvW{pointer-events:none}._Mu5kk{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._Mu5kk._v2YHd{padding-top:52px}._VIJ4Z{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._h2fUO{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._h2fUO._6Kh8Z{opacity:0}._h2fUO._6Kh8Z>._Dt2g1{margin-left:-30px}._h2fUO._PE8Ce{opacity:0}._h2fUO._PE8Ce>._Dt2g1{margin-left:30px}._h2fUO>._Dt2g1{transition:margin-left .35s;width:100%}._h2fUO._3htvW{pointer-events:none}body.keyboard-user ._bKTFt:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3785
|
+
var styles$5 = {"buttonContainer":"_lKG-h","button":"_Bf2-f","rightIcon":"_m46MD","maskContainer":"_JJygf","flyout":"_tIoHO","scrollContainer":"_7yS8V","animatedRight":"_PE8Ce","animatedLeft":"_6Kh8Z","menuItem":"_bKTFt","noItems":"_MPiGQ","backIcon":"_zjzBp","subMenu":"_B5YWr","unresponsive":"_3htvW","stickyBox":"_Mu5kk","isSearchable":"_v2YHd","searchBoxesContainer":"_VIJ4Z","searchBox":"_h2fUO","searchInput":"_Dt2g1"};
|
|
3786
|
+
var stylesheet$b="._lKG-h{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._lKG-h>._Bf2-f{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}._lKG-h>._Bf2-f:hover:not([aria-disabled=true]){background-color:#f5f5f5}._lKG-h>._Bf2-f.focus-visible,._lKG-h>._Bf2-f:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._lKG-h>._Bf2-f+._m46MD{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._lKG-h>._Bf2-f[data-state=open]+._m46MD{transform:rotate(-180deg) translateY(50%)}._lKG-h>._Bf2-f[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._lKG-h>._Bf2-f[aria-disabled=true]+._m46MD{fill:#515559;opacity:.4}._JJygf>[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}._JJygf>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._tIoHO{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)}._tIoHO ._7yS8V{height:100%;overflow-y:scroll}._tIoHO._PE8Ce{margin-left:30px;opacity:0}._tIoHO._6Kh8Z{margin-left:-30px}._bKTFt{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%}._bKTFt._MPiGQ{cursor:unset}._bKTFt ._zjzBp{fill:#32363a;margin-right:4px}._bKTFt:focus,._bKTFt:hover:not(._bKTFt._MPiGQ){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._bKTFt[aria-disabled=true]{cursor:not-allowed;opacity:.65}._bKTFt._B5YWr{padding-right:32px}._bKTFt._B5YWr ._m46MD{position:absolute;height:100%;right:3px;fill:#515559}._bKTFt._3htvW{pointer-events:none}._Mu5kk{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._Mu5kk._v2YHd{padding-top:52px}._VIJ4Z{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._h2fUO{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._h2fUO._6Kh8Z{opacity:0}._h2fUO._6Kh8Z>._Dt2g1{margin-left:-30px}._h2fUO._PE8Ce{opacity:0}._h2fUO._PE8Ce>._Dt2g1{margin-left:30px}._h2fUO>._Dt2g1{transition:margin-left .35s;width:100%}._h2fUO._3htvW{pointer-events:none}body.keyboard-user ._bKTFt:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3779
3787
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
3780
3788
|
|
|
3781
3789
|
/* eslint-disable import/prefer-default-export */
|
|
@@ -4170,9 +4178,9 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4170
4178
|
}, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
|
|
4171
4179
|
});
|
|
4172
4180
|
|
|
4173
|
-
var css_248z$a = ".
|
|
4174
|
-
var styles$4 = {"isInvalid":"
|
|
4175
|
-
var stylesheet$a=".
|
|
4181
|
+
var css_248z$a = "._O9WEY{box-shadow:inset 0 0 0 1px #b00!important}._ItMIp{margin-right:7px}._H1-d5{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4182
|
+
var styles$4 = {"isInvalid":"_O9WEY","checkbox":"_ItMIp","selectedItem":"_H1-d5"};
|
|
4183
|
+
var stylesheet$a="._O9WEY{box-shadow:inset 0 0 0 1px #b00!important}._ItMIp{margin-right:7px}._H1-d5{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4176
4184
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
4177
4185
|
|
|
4178
4186
|
const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -5261,9 +5269,9 @@ const RowDisplayCount = _ref => {
|
|
|
5261
5269
|
}));
|
|
5262
5270
|
};
|
|
5263
5271
|
|
|
5264
|
-
var css_248z$8 = ".
|
|
5265
|
-
var styles$3 = {"input":"
|
|
5266
|
-
var stylesheet$8=".
|
|
5272
|
+
var css_248z$8 = "._EsgH6 input{padding-left:76px!important}._5Ni3D input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._5Ni3D input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._5Ni3D input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._SXNX-{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._SXNX-,._SXNX-._5Ni3D:hover{background-color:transparent!important}._SXNX-:hover{background-color:rgba(50,54,58,.08)!important}._SXNX-:active{background-color:rgba(50,54,58,.11)!important}._SXNX- svg{top:2px!important}._BpdHS{position:relative}._p75oG{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":"_EsgH6","disabled":"_5Ni3D","dropdown":"_SXNX-","container":"_BpdHS","countryCode":"_p75oG"};
|
|
5274
|
+
var stylesheet$8="._EsgH6 input{padding-left:76px!important}._5Ni3D input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._5Ni3D input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._5Ni3D input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._SXNX-{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._SXNX-,._SXNX-._5Ni3D:hover{background-color:transparent!important}._SXNX-:hover{background-color:rgba(50,54,58,.08)!important}._SXNX-:active{background-color:rgba(50,54,58,.11)!important}._SXNX- svg{top:2px!important}._BpdHS{position:relative}._p75oG{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5267
5275
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
5268
5276
|
|
|
5269
5277
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5373,9 +5381,9 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5373
5381
|
})));
|
|
5374
5382
|
});
|
|
5375
5383
|
|
|
5376
|
-
var css_248z$7 = ".
|
|
5377
|
-
var styles$2 = {"container":"
|
|
5378
|
-
var stylesheet$7=".
|
|
5384
|
+
var css_248z$7 = "._jOPM5{display:flex}._zTwKA{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._zTwKA._bYGYM{background-color:#fff}._zTwKA._bYGYM._W1g0r.focus-visible:not(._7n27Z),._zTwKA._bYGYM._W1g0r:focus-visible:not(._7n27Z),._zTwKA._bYGYM._zTKRj:not(._zTwKA._bYGYM._Q2woQ),._zTwKA._tgS6L{background-color:#0b6ed0}._zTwKA._tgS6L._7n27Z._Q2woQ,._zTwKA._tgS6L._7n27Z._W1g0r,._zTwKA._tgS6L._Q2woQ._zTKRj{opacity:.4}._Z5T5T{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._Z5T5T:focus{z-index:1}._ut0cQ{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}._ut0cQ svg{margin-left:1px}._ut0cQ._bYGYM{background-color:#0b6ed0;border-color:transparent}._ut0cQ._bYGYM svg{fill:#fff!important}._ut0cQ._bYGYM:not(._W1Vx4):hover{background-color:#085caf!important}._ut0cQ._bYGYM:not(._W1Vx4):active{background-color:#0854a1!important}._ut0cQ._bYGYM._W1Vx4{opacity:.4}._ut0cQ._bYGYM._W1Vx4 svg{background-color:transparent}._ut0cQ._tgS6L{border-color:#0b6ed0;background-color:#fff}._ut0cQ._tgS6L svg{fill:#0b6ed0!important}._ut0cQ._tgS6L:not(._W1Vx4):hover{background-color:#eef5fc!important}._ut0cQ._tgS6L:not(._W1Vx4):active{background-color:#e1edf9!important}._ut0cQ._tgS6L._W1Vx4{opacity:.4}._ut0cQ._tgS6L._W1Vx4 svg{background-color:transparent}._3K-wH{width:260px}";
|
|
5385
|
+
var styles$2 = {"container":"_jOPM5","divider":"_zTwKA","primary":"_bYGYM","mainButtonFocus":"_W1g0r","mainButtonDisabled":"_7n27Z","dropdownButtonFocus":"_zTKRj","dropdownButtonDisabled":"_Q2woQ","secondary":"_tgS6L","mainButton":"_Z5T5T","dropdownButton":"_ut0cQ","disabled":"_W1Vx4","dropdownOption":"_3K-wH"};
|
|
5386
|
+
var stylesheet$7="._jOPM5{display:flex}._zTwKA{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._zTwKA._bYGYM{background-color:#fff}._zTwKA._bYGYM._W1g0r.focus-visible:not(._7n27Z),._zTwKA._bYGYM._W1g0r:focus-visible:not(._7n27Z),._zTwKA._bYGYM._zTKRj:not(._zTwKA._bYGYM._Q2woQ),._zTwKA._tgS6L{background-color:#0b6ed0}._zTwKA._tgS6L._7n27Z._Q2woQ,._zTwKA._tgS6L._7n27Z._W1g0r,._zTwKA._tgS6L._Q2woQ._zTKRj{opacity:.4}._Z5T5T{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._Z5T5T:focus{z-index:1}._ut0cQ{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}._ut0cQ svg{margin-left:1px}._ut0cQ._bYGYM{background-color:#0b6ed0;border-color:transparent}._ut0cQ._bYGYM svg{fill:#fff!important}._ut0cQ._bYGYM:not(._W1Vx4):hover{background-color:#085caf!important}._ut0cQ._bYGYM:not(._W1Vx4):active{background-color:#0854a1!important}._ut0cQ._bYGYM._W1Vx4{opacity:.4}._ut0cQ._bYGYM._W1Vx4 svg{background-color:transparent}._ut0cQ._tgS6L{border-color:#0b6ed0;background-color:#fff}._ut0cQ._tgS6L svg{fill:#0b6ed0!important}._ut0cQ._tgS6L:not(._W1Vx4):hover{background-color:#eef5fc!important}._ut0cQ._tgS6L:not(._W1Vx4):active{background-color:#e1edf9!important}._ut0cQ._tgS6L._W1Vx4{opacity:.4}._ut0cQ._tgS6L._W1Vx4 svg{background-color:transparent}._3K-wH{width:260px}";
|
|
5379
5387
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
5380
5388
|
|
|
5381
5389
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5596,9 +5604,9 @@ const StackItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5596
5604
|
}, children);
|
|
5597
5605
|
});
|
|
5598
5606
|
|
|
5599
|
-
var css_248z$6 = ".
|
|
5600
|
-
var styles$1 = {"timePickerContainer":"
|
|
5601
|
-
var stylesheet$6=".
|
|
5607
|
+
var css_248z$6 = "._DOKPW{display:inline-block;position:relative}._DOKPW ._yI02j{width:120px}._DOKPW ._yI02j ._hUICF._4Vb9p{transform:rotate(-180deg)}._DOKPW ._yI02j ._hUICF._kqsju{fill:#9d9fa1;opacity:.4}._DOKPW ._-ixWT>input:focus{box-shadow:none!important;border:1px solid #898989!important}._DOKPW ._hUICF{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._DOKPW ._hUICF._4Vb9p{transform:rotate(-180deg)}._PZEZi{width:120px}._PZEZi ._G5RcY._SQNP0{background-color:#efefef;border-radius:6px}";
|
|
5608
|
+
var styles$1 = {"timePickerContainer":"_DOKPW","input":"_yI02j","icon":"_hUICF","open":"_4Vb9p","disabled":"_kqsju","ignoreFocusStyle":"_-ixWT","timePickerFlyout":"_PZEZi","option":"_G5RcY","exactMatch":"_SQNP0"};
|
|
5609
|
+
var stylesheet$6="._DOKPW{display:inline-block;position:relative}._DOKPW ._yI02j{width:120px}._DOKPW ._yI02j ._hUICF._4Vb9p{transform:rotate(-180deg)}._DOKPW ._yI02j ._hUICF._kqsju{fill:#9d9fa1;opacity:.4}._DOKPW ._-ixWT>input:focus{box-shadow:none!important;border:1px solid #898989!important}._DOKPW ._hUICF{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._DOKPW ._hUICF._4Vb9p{transform:rotate(-180deg)}._PZEZi{width:120px}._PZEZi ._G5RcY._SQNP0{background-color:#efefef;border-radius:6px}";
|
|
5602
5610
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
5603
5611
|
|
|
5604
5612
|
const TimeDropdown = _ref => {
|
|
@@ -6175,19 +6183,19 @@ const TimePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
6175
6183
|
|
|
6176
6184
|
// This type is not working with api extractor, the api used in documentation is coming from old tooltip, with a new prop `ignore`
|
|
6177
6185
|
|
|
6178
|
-
const Tooltip = props =>
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6186
|
+
const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => /*#__PURE__*/React__default["default"].createElement(index.Tooltip, _extends__default["default"]({}, props, {
|
|
6187
|
+
ref: ref,
|
|
6188
|
+
lightTheme: true
|
|
6189
|
+
}), props.children));
|
|
6182
6190
|
|
|
6183
6191
|
const {
|
|
6184
6192
|
useContext: useToggleButtonGroupContext,
|
|
6185
6193
|
Provider: ToggleButtonGroupContextProvider
|
|
6186
6194
|
} = index.createContextUtilities(null);
|
|
6187
6195
|
|
|
6188
|
-
var css_248z$5 = ".
|
|
6189
|
-
var styles = {"default":"
|
|
6190
|
-
var stylesheet$5=".
|
|
6196
|
+
var css_248z$5 = "._pkCIN{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._ipOS0{background-color:rgba(50,54,58,.08)}._yeV7P{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._Rzrn0{color:rgba(81,85,89,.4);cursor:not-allowed}._oNzTK{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._Ap-bY{color:#085caf;border-color:#085caf}._Ap-bY,._XJdmY{background:rgba(11,110,208,.11)}._XJdmY{color:#0854a1;border-color:#0854a1}._tOCmg{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._umaFb{position:relative;display:inline-grid}._umaFb svg{fill:currentColor}._umaFb ._NnMtO{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._umaFb ._NnMtO+._3uyvL{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}._umaFb ._NnMtO+._3uyvL._ToBiU{padding:5px;max-width:36px;min-width:36px}._umaFb ._NnMtO+._3uyvL._QNCi6{padding:0 16px}._umaFb ._NnMtO+._3uyvL._2nNs1{padding:0 16px 0 12px}._umaFb ._NnMtO:hover+._3uyvL{background-color:rgba(50,54,58,.08)}._umaFb ._NnMtO:disabled+._3uyvL{color:rgba(81,85,89,.4);cursor:not-allowed}._umaFb ._NnMtO:active+._3uyvL,._umaFb ._NnMtO:focus:active+._3uyvL{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._umaFb ._NnMtO:checked+._3uyvL{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._umaFb ._NnMtO:checked:hover+._3uyvL{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._umaFb ._NnMtO:checked:disabled+._3uyvL{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._umaFb ._NnMtO:checked:active+._3uyvL,._umaFb ._NnMtO:checked:focus:active+._3uyvL{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._06uAs{display:inline-flex;position:relative}._06uAs:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._06uAs>*{flex-shrink:0;flex-grow:0}._Z2Pjo{border:none;margin:0;padding:0}._Z2Pjo legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._umaFb ._NnMtO.focus-visible,._umaFb ._NnMtO:focus-visible{outline:none}._umaFb ._NnMtO.focus-visible+._3uyvL,._umaFb ._NnMtO:focus-visible+._3uyvL{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6197
|
+
var styles = {"default":"_pkCIN","hovered":"_ipOS0","pressed":"_yeV7P","disabled":"_Rzrn0","selectedDefault":"_oNzTK","selectedHovered":"_Ap-bY","selectedPressed":"_XJdmY","selectedDisabled":"_tOCmg","toggleContainer":"_umaFb","toggleInput":"_NnMtO","toggleButton":"_3uyvL","iconOnly":"_ToBiU","text":"_QNCi6","iconText":"_2nNs1","toggleButtonGroup":"_06uAs","toggleButtonGroupFieldset":"_Z2Pjo"};
|
|
6198
|
+
var stylesheet$5="._pkCIN{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._ipOS0{background-color:rgba(50,54,58,.08)}._yeV7P{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._Rzrn0{color:rgba(81,85,89,.4);cursor:not-allowed}._oNzTK{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._Ap-bY{color:#085caf;border-color:#085caf}._Ap-bY,._XJdmY{background:rgba(11,110,208,.11)}._XJdmY{color:#0854a1;border-color:#0854a1}._tOCmg{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._umaFb{position:relative;display:inline-grid}._umaFb svg{fill:currentColor}._umaFb ._NnMtO{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._umaFb ._NnMtO+._3uyvL{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}._umaFb ._NnMtO+._3uyvL._ToBiU{padding:5px;max-width:36px;min-width:36px}._umaFb ._NnMtO+._3uyvL._QNCi6{padding:0 16px}._umaFb ._NnMtO+._3uyvL._2nNs1{padding:0 16px 0 12px}._umaFb ._NnMtO:hover+._3uyvL{background-color:rgba(50,54,58,.08)}._umaFb ._NnMtO:disabled+._3uyvL{color:rgba(81,85,89,.4);cursor:not-allowed}._umaFb ._NnMtO:active+._3uyvL,._umaFb ._NnMtO:focus:active+._3uyvL{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._umaFb ._NnMtO:checked+._3uyvL{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._umaFb ._NnMtO:checked:hover+._3uyvL{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._umaFb ._NnMtO:checked:disabled+._3uyvL{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._umaFb ._NnMtO:checked:active+._3uyvL,._umaFb ._NnMtO:checked:focus:active+._3uyvL{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._06uAs{display:inline-flex;position:relative}._06uAs:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._06uAs>*{flex-shrink:0;flex-grow:0}._Z2Pjo{border:none;margin:0;padding:0}._Z2Pjo legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._umaFb ._NnMtO.focus-visible,._umaFb ._NnMtO:focus-visible{outline:none}._umaFb ._NnMtO.focus-visible+._3uyvL,._umaFb ._NnMtO:focus-visible+._3uyvL{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6191
6199
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
6192
6200
|
|
|
6193
6201
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -6359,6 +6367,7 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6359
6367
|
onChange: externalOnChange,
|
|
6360
6368
|
'data-testid': dataTestId,
|
|
6361
6369
|
placeholderText,
|
|
6370
|
+
id,
|
|
6362
6371
|
characterLimit: externalCharacterLimit,
|
|
6363
6372
|
helperText
|
|
6364
6373
|
} = _ref;
|
|
@@ -6380,11 +6389,11 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6380
6389
|
const newValue = e.target.value;
|
|
6381
6390
|
setValue(newValue);
|
|
6382
6391
|
});
|
|
6383
|
-
const helperIds = index.useId();
|
|
6384
6392
|
const {
|
|
6385
6393
|
isLoading,
|
|
6386
6394
|
chatInputRef
|
|
6387
6395
|
} = useChatContext();
|
|
6396
|
+
const chatInputID = index.useId(id);
|
|
6388
6397
|
const sendMessageAndClearInput = () => {
|
|
6389
6398
|
if (!value || isDisabled || isLoading || isMaxCharactersExceeded) return;
|
|
6390
6399
|
onMessageSend === null || onMessageSend === void 0 || onMessageSend(value);
|
|
@@ -6407,6 +6416,7 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6407
6416
|
text: value
|
|
6408
6417
|
})), /*#__PURE__*/React__default["default"].createElement(index.Input, {
|
|
6409
6418
|
ref: index.mergeRefs(ref, chatInputRef),
|
|
6419
|
+
id: "".concat(chatInputID, "-chat-input"),
|
|
6410
6420
|
multiline: true,
|
|
6411
6421
|
className: textArea,
|
|
6412
6422
|
onKeyDown: handleKeyDown,
|
|
@@ -6414,7 +6424,7 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6414
6424
|
value: value,
|
|
6415
6425
|
onChange: handleChange,
|
|
6416
6426
|
"aria-label": inputLabel,
|
|
6417
|
-
"aria-describedby": characterLimit && isMaxCharactersExceeded ? "".concat(
|
|
6427
|
+
"aria-describedby": characterLimit && isMaxCharactersExceeded ? "".concat(chatInputID, "-error-text") : "".concat(chatInputID, "-helper-text"),
|
|
6418
6428
|
placeholder: inputLabel,
|
|
6419
6429
|
"data-testid": dataTestId ? "".concat(dataTestId, "-input") : undefined,
|
|
6420
6430
|
invalid: isMaxCharactersExceeded
|
|
@@ -6432,14 +6442,14 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6432
6442
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.SendIcon, null)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6433
6443
|
className: characterCountMessage
|
|
6434
6444
|
}, isMaxCharactersExceeded && /*#__PURE__*/React__default["default"].createElement(index.ErrorText, {
|
|
6435
|
-
id: "".concat(
|
|
6445
|
+
id: "".concat(chatInputID, "-error-text"),
|
|
6436
6446
|
"data-testid": dataTestId && "".concat(dataTestId, "-input-error-text")
|
|
6437
6447
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6438
6448
|
className: inputHelpInformationMessage
|
|
6439
6449
|
}, translate('chat.maxCharacterLimit')), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6440
6450
|
className: inputHelpInformationCounter
|
|
6441
6451
|
}, value.length, " / ", characterLimit)), characterLimit && /*#__PURE__*/React__default["default"].createElement(index.HelperText, {
|
|
6442
|
-
id: "".concat(
|
|
6452
|
+
id: "".concat(chatInputID, "-helper-text"),
|
|
6443
6453
|
"data-testid": dataTestId && "".concat(dataTestId, "-input-helper-text")
|
|
6444
6454
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6445
6455
|
className: inputHelpInformationMessage
|