@qualtrics/ui-react 2.43.0 → 2.45.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 +34 -0
- package/dist/__shared/cjs/{index-136b6701.js → index-c817066f.js} +175 -157
- package/dist/__shared/cjs/{index-3ec2c62c.js → index-f8b54e99.js} +19 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Accordion/AccordionPanel.js +24 -3
- package/dist/components/Banner/Banner.css.ts.vanilla.js +2 -2
- 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 +3 -12
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/Icon/IconTypes.js +4 -0
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/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/components/DashboardSpotCheckIcon.js +6 -0
- package/dist/icons/components/EditTableViewIcon.js +6 -0
- package/dist/icons/components/PictureInAPictureIcon.js +6 -0
- package/dist/icons/components/WorkflowIcon.js +6 -0
- package/dist/icons/index.d.ts +8 -0
- package/dist/icons/index.es.js +4 -0
- package/dist/icons/index.js +5 -1
- package/dist/index.d.ts +16 -10
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +38 -12
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/ChatInput.css.js +4 -1
- package/dist/next/Chat/ChatInput.css.ts.vanilla.js +3 -3
- package/dist/next/Chat/ChatInput.js +46 -8
- 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/Tooltip/Tooltip.js +10 -0
- package/dist/next/Tooltip/index.js +1 -0
- package/dist/next/index.d.ts +68 -1
- package/dist/next/index.es.js +2 -0
- package/dist/next/index.js +142 -61
- package/dist/translations-en.js +2 -0
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +2 -2
- package/next/package.json +3 -3
- package/package.json +8 -5
package/dist/next/index.js
CHANGED
|
@@ -8,8 +8,8 @@ var classNames = require('classnames');
|
|
|
8
8
|
var reactDnd = require('react-dnd');
|
|
9
9
|
var reactDndHtml5Backend = require('react-dnd-html5-backend');
|
|
10
10
|
var useResizeObserver = require('@react-hook/resize-observer');
|
|
11
|
-
var index = require('../__shared/cjs/index-
|
|
12
|
-
var icons_index = require('../__shared/cjs/index-
|
|
11
|
+
var index = require('../__shared/cjs/index-c817066f.js');
|
|
12
|
+
var icons_index = require('../__shared/cjs/index-f8b54e99.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 = "._SXCUl{overflow:auto;position:relative;max-width:100%;max-height:100%}._3jeq2,._SXCUl{background-color:#fff}._3jeq2{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._2vfj2{margin-bottom:4px}._7JUMV{position:-webkit-sticky;position:sticky;top:0;z-index:100}._Q8k14{display:flex}._Q8k14:focus{outline:none}._Q8k14.focus-visible ._4pZJV:after,._Q8k14:focus-visible ._4pZJV: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}._Q8k14.focus-visible ._4pZJV:last-of-type:after,._Q8k14:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Q8k14.focus-visible ._4pZJV:first-of-type:after,._Q8k14:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Q8k14.focus-visible ._4pZJV._RwYq9:after,._Q8k14:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:1px}._Ima-N{padding-right:3px}._i3cpW{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._sgTcR{display:flex}._sgTcR._HAQLo ._4pZJV,._sgTcR._HAQLo ._zO19C{cursor:pointer}._sgTcR._G7E4D ._4pZJV,._sgTcR._G7E4D ._zO19C{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._sgTcR._G7E4D ._4pZJV._RwYq9,._sgTcR._G7E4D ._zO19C._RwYq9{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._sgTcR._G7E4D ._4pZJV._RwYq9 ._01fSe,._sgTcR._G7E4D ._4pZJV._RwYq9 ._tNeDl,._sgTcR._G7E4D ._4pZJV._RwYq9 ._zO19C,._sgTcR._G7E4D ._zO19C._RwYq9 ._01fSe,._sgTcR._G7E4D ._zO19C._RwYq9 ._tNeDl,._sgTcR._G7E4D ._zO19C._RwYq9 ._zO19C{background-color:rgba(11,110,208,.08)}._sgTcR._HAQLo:hover:not(._G7E4D) ._4pZJV,._sgTcR._HAQLo:hover:not(._G7E4D) ._zO19C{background-color:#f9f9f9}._sgTcR._HAQLo:active:not(._G7E4D):not(._sgTcR._HAQLo:active:not(._G7E4D):has(._01fSe:active)) ._4pZJV,._sgTcR._HAQLo:active:not(._G7E4D):not(._sgTcR._HAQLo:active:not(._G7E4D):has(._01fSe:active)) ._zO19C{background-color:#f3f3f3}._sgTcR:focus{outline:none}._sgTcR.focus-visible ._4pZJV:after,._sgTcR:focus-visible ._4pZJV: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}._sgTcR.focus-visible ._4pZJV:last-of-type:after,._sgTcR:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._sgTcR.focus-visible ._4pZJV:first-of-type:after,._sgTcR:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._sgTcR.focus-visible ._4pZJV._RwYq9:after,._sgTcR:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:0}._sgTcR:last-of-type:focus{outline:none}._sgTcR:last-of-type.focus-visible ._4pZJV:after,._sgTcR:last-of-type:focus-visible ._4pZJV: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}._sgTcR:last-of-type.focus-visible ._4pZJV:last-of-type:after,._sgTcR:last-of-type:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._sgTcR:last-of-type.focus-visible ._4pZJV:first-of-type:after,._sgTcR:last-of-type:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._sgTcR:last-of-type.focus-visible ._4pZJV._RwYq9:after,._sgTcR:last-of-type:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:1px}._sgTcR:last-of-type ._tNeDl:focus{outline:none}._sgTcR:last-of-type ._tNeDl._IOnhX.focus-visible:after,._sgTcR:last-of-type ._tNeDl._IOnhX:focus-visible:after,._sgTcR:last-of-type ._tNeDl.focus-visible:after,._sgTcR:last-of-type ._tNeDl: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}._sgTcR:first-of-type:focus{outline:none}._sgTcR:first-of-type.focus-visible ._4pZJV:after,._sgTcR:first-of-type:focus-visible ._4pZJV: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}._sgTcR:first-of-type.focus-visible ._4pZJV:last-of-type:after,._sgTcR:first-of-type:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._sgTcR:first-of-type.focus-visible ._4pZJV:first-of-type:after,._sgTcR:first-of-type:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._sgTcR:first-of-type.focus-visible ._4pZJV._RwYq9:after,._sgTcR:first-of-type:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:0}._sgTcR:first-of-type ._tNeDl:focus{outline:none}._sgTcR:first-of-type ._tNeDl._IOnhX.focus-visible:after,._sgTcR:first-of-type ._tNeDl._IOnhX:focus-visible:after,._sgTcR:first-of-type ._tNeDl.focus-visible:after,._sgTcR:first-of-type ._tNeDl: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}._Fqw4w{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}._Fqw4w._X6tWw{flex-grow:1}._Fqw4w._4yspY{cursor:pointer}._Fqw4w._4yspY:hover:not(._Gjcj9){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Fqw4w._4yspY:active:not(._Gjcj9){background-color:#f3f3f3}._Fqw4w._tWPgF:not(._Gjcj9){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Fqw4w._Gjcj9{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Fqw4w ._Iydk-{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Fqw4w ._Iydk-._OQUo6{left:-1px}._Fqw4w ._Iydk-._UAapX{right:0}._Fqw4w ._JBRHm{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Fqw4w ._JBRHm._OQUo6{left:-2px}._Fqw4w ._JBRHm._UAapX{right:-1px}._Fqw4w:first-of-type ._OQUo6._Iydk-{left:0;width:2px;border-left:1px solid #fff}._Fqw4w:first-of-type ._OQUo6._JBRHm{left:0}._Fqw4w:last-of-type ._UAapX._Iydk-{right:0;width:2px;border-right:1px solid #fff}._Fqw4w:last-of-type ._UAapX._JBRHm{right:0}._Fqw4w ._80pQL{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Fqw4w ._80pQL ._y4AzF{position:absolute;width:2px;right:2px;top:0;bottom:0}._Fqw4w ._80pQL ._y4AzF._EeUHO{background-color:#0a6ed1}._Fqw4w ._80pQL:hover ._y4AzF:not(._EeUHO){background-color:#d9d9d9}._Fqw4w ._xtMCE{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._Fqw4w ._xtMCE._VHVis{flex-direction:row-reverse;justify-content:flex-start}._Fqw4w ._xtMCE._VHVis ._Fl8h-{margin:1px 7px 1px 1px}._Fqw4w ._xtMCE ._tkkD-{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Fqw4w ._xtMCE ._Fl8h-{margin:1px 1px 1px 7px;flex-shrink:0}._Fqw4w ._lK0Kd{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._Fqw4w ._hb2Tl{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Fqw4w:focus{outline:none}._Fqw4w._IOnhX.focus-visible:after,._Fqw4w._IOnhX:focus-visible:after,._Fqw4w.focus-visible:after,._Fqw4w: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}._zO2XF{margin-right:6px}._RwYq9{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._RwYq9[focus-within]{z-index:30}._RwYq9:focus-within{z-index:30}._tNeDl{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}._tNeDl ._vFf8I{width:100%;padding:12px 12px 11px;overflow:hidden}._tNeDl._Gjcj9{background-color:#efefef;border-bottom-color:#dfdfe1}._tNeDl._X6tWw{flex-grow:1}._tNeDl:focus{outline:none}._tNeDl._IOnhX.focus-visible:after,._tNeDl._IOnhX:focus-visible:after,._tNeDl.focus-visible:after,._tNeDl: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}._zO19C{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._zO19C._GUt8b{border-bottom-color:#d9d9d9;background-color:#fff}._01fSe{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}._01fSe._GUt8b{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._01fSe:focus input~span,._01fSe:hover input~span{border-color:#0b6ed0}._R-Mnq{justify-content:flex-start}._L7Wll{justify-content:center;text-align:center}._VHVis{justify-content:flex-end;text-align:right}._-bpMA{display:none}._gcKOt{opacity:0;height:0;width:0;overflow:hidden}._gcKOt,._PJGqb{position:absolute}._PJGqb{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._8RCHB{max-width:250px;min-width:150px!important}";
|
|
36
|
+
var styles$b = {"advancedTable":"_SXCUl","advancedTablePaginationContainer":"_3jeq2","advancedTablePagination":"_2vfj2","advancedTableColumnHeadersRowGroup":"_7JUMV","advancedTableColumnHeaders":"_Q8k14","advancedTableRowChild":"_4pZJV","pinnedContainer":"_RwYq9","advancedTableRowGroup":"_Ima-N","advancedTableRowRestrictedWidth":"_i3cpW","advancedTableRow":"_sgTcR","hasRowAction":"_HAQLo","advancedTableExpandRowSpacer":"_zO19C","isSelected":"_G7E4D","advancedTableCheckbox":"_01fSe","advancedTableCell":"_tNeDl","showFocusRing":"_IOnhX","advancedTableColumnHeader":"_Fqw4w","fillRemainingSpace":"_X6tWw","isSortable":"_4yspY","isDragging":"_Gjcj9","isSorted":"_tWPgF","dropTargetLine":"_Iydk-","dropTargetLeft":"_OQUo6","dropTargetRight":"_UAapX","dropTargetMarker":"_JBRHm","resizeHandle":"_80pQL","resizeLine":"_y4AzF","isResizing":"_EeUHO","advancedTableColumnHeaderLabel":"_xtMCE","rightAligned":"_VHVis","sortIcon":"_Fl8h-","advancedTableColumnHeaderLabelText":"_tkkD-","advancedTableColumnHeaderMenu":"_lK0Kd","advancedTableColumnHeaderMenuHiddenAnchor":"_hb2Tl","advancedTableColumnHeaderMenuItemIcon":"_zO2XF","advancedTableCellContainer":"_vFf8I","header":"_GUt8b","leftAligned":"_R-Mnq","centerAligned":"_L7Wll","hiddenDescription":"_-bpMA","hiddenLiveRegion":"_gcKOt","dragPreview":"_PJGqb","rowActionMenuPane":"_8RCHB"};
|
|
37
|
+
var stylesheet$h="._SXCUl{overflow:auto;position:relative;max-width:100%;max-height:100%}._3jeq2,._SXCUl{background-color:#fff}._3jeq2{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._2vfj2{margin-bottom:4px}._7JUMV{position:-webkit-sticky;position:sticky;top:0;z-index:100}._Q8k14{display:flex}._Q8k14:focus{outline:none}._Q8k14.focus-visible ._4pZJV:after,._Q8k14:focus-visible ._4pZJV: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}._Q8k14.focus-visible ._4pZJV:last-of-type:after,._Q8k14:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Q8k14.focus-visible ._4pZJV:first-of-type:after,._Q8k14:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Q8k14.focus-visible ._4pZJV._RwYq9:after,._Q8k14:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:1px}._Ima-N{padding-right:3px}._i3cpW{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._sgTcR{display:flex}._sgTcR._HAQLo ._4pZJV,._sgTcR._HAQLo ._zO19C{cursor:pointer}._sgTcR._G7E4D ._4pZJV,._sgTcR._G7E4D ._zO19C{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._sgTcR._G7E4D ._4pZJV._RwYq9,._sgTcR._G7E4D ._zO19C._RwYq9{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._sgTcR._G7E4D ._4pZJV._RwYq9 ._01fSe,._sgTcR._G7E4D ._4pZJV._RwYq9 ._tNeDl,._sgTcR._G7E4D ._4pZJV._RwYq9 ._zO19C,._sgTcR._G7E4D ._zO19C._RwYq9 ._01fSe,._sgTcR._G7E4D ._zO19C._RwYq9 ._tNeDl,._sgTcR._G7E4D ._zO19C._RwYq9 ._zO19C{background-color:rgba(11,110,208,.08)}._sgTcR._HAQLo:hover:not(._G7E4D) ._4pZJV,._sgTcR._HAQLo:hover:not(._G7E4D) ._zO19C{background-color:#f9f9f9}._sgTcR._HAQLo:active:not(._G7E4D):not(._sgTcR._HAQLo:active:not(._G7E4D):has(._01fSe:active)) ._4pZJV,._sgTcR._HAQLo:active:not(._G7E4D):not(._sgTcR._HAQLo:active:not(._G7E4D):has(._01fSe:active)) ._zO19C{background-color:#f3f3f3}._sgTcR:focus{outline:none}._sgTcR.focus-visible ._4pZJV:after,._sgTcR:focus-visible ._4pZJV: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}._sgTcR.focus-visible ._4pZJV:last-of-type:after,._sgTcR:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._sgTcR.focus-visible ._4pZJV:first-of-type:after,._sgTcR:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._sgTcR.focus-visible ._4pZJV._RwYq9:after,._sgTcR:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:0}._sgTcR:last-of-type:focus{outline:none}._sgTcR:last-of-type.focus-visible ._4pZJV:after,._sgTcR:last-of-type:focus-visible ._4pZJV: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}._sgTcR:last-of-type.focus-visible ._4pZJV:last-of-type:after,._sgTcR:last-of-type:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._sgTcR:last-of-type.focus-visible ._4pZJV:first-of-type:after,._sgTcR:last-of-type:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._sgTcR:last-of-type.focus-visible ._4pZJV._RwYq9:after,._sgTcR:last-of-type:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:1px}._sgTcR:last-of-type ._tNeDl:focus{outline:none}._sgTcR:last-of-type ._tNeDl._IOnhX.focus-visible:after,._sgTcR:last-of-type ._tNeDl._IOnhX:focus-visible:after,._sgTcR:last-of-type ._tNeDl.focus-visible:after,._sgTcR:last-of-type ._tNeDl: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}._sgTcR:first-of-type:focus{outline:none}._sgTcR:first-of-type.focus-visible ._4pZJV:after,._sgTcR:first-of-type:focus-visible ._4pZJV: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}._sgTcR:first-of-type.focus-visible ._4pZJV:last-of-type:after,._sgTcR:first-of-type:focus-visible ._4pZJV:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._sgTcR:first-of-type.focus-visible ._4pZJV:first-of-type:after,._sgTcR:first-of-type:focus-visible ._4pZJV:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._sgTcR:first-of-type.focus-visible ._4pZJV._RwYq9:after,._sgTcR:first-of-type:focus-visible ._4pZJV._RwYq9:after{right:-3px;bottom:0}._sgTcR:first-of-type ._tNeDl:focus{outline:none}._sgTcR:first-of-type ._tNeDl._IOnhX.focus-visible:after,._sgTcR:first-of-type ._tNeDl._IOnhX:focus-visible:after,._sgTcR:first-of-type ._tNeDl.focus-visible:after,._sgTcR:first-of-type ._tNeDl: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}._Fqw4w{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}._Fqw4w._X6tWw{flex-grow:1}._Fqw4w._4yspY{cursor:pointer}._Fqw4w._4yspY:hover:not(._Gjcj9){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Fqw4w._4yspY:active:not(._Gjcj9){background-color:#f3f3f3}._Fqw4w._tWPgF:not(._Gjcj9){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Fqw4w._Gjcj9{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Fqw4w ._Iydk-{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Fqw4w ._Iydk-._OQUo6{left:-1px}._Fqw4w ._Iydk-._UAapX{right:0}._Fqw4w ._JBRHm{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Fqw4w ._JBRHm._OQUo6{left:-2px}._Fqw4w ._JBRHm._UAapX{right:-1px}._Fqw4w:first-of-type ._OQUo6._Iydk-{left:0;width:2px;border-left:1px solid #fff}._Fqw4w:first-of-type ._OQUo6._JBRHm{left:0}._Fqw4w:last-of-type ._UAapX._Iydk-{right:0;width:2px;border-right:1px solid #fff}._Fqw4w:last-of-type ._UAapX._JBRHm{right:0}._Fqw4w ._80pQL{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Fqw4w ._80pQL ._y4AzF{position:absolute;width:2px;right:2px;top:0;bottom:0}._Fqw4w ._80pQL ._y4AzF._EeUHO{background-color:#0a6ed1}._Fqw4w ._80pQL:hover ._y4AzF:not(._EeUHO){background-color:#d9d9d9}._Fqw4w ._xtMCE{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._Fqw4w ._xtMCE._VHVis{flex-direction:row-reverse;justify-content:flex-start}._Fqw4w ._xtMCE._VHVis ._Fl8h-{margin:1px 7px 1px 1px}._Fqw4w ._xtMCE ._tkkD-{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Fqw4w ._xtMCE ._Fl8h-{margin:1px 1px 1px 7px;flex-shrink:0}._Fqw4w ._lK0Kd{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._Fqw4w ._hb2Tl{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Fqw4w:focus{outline:none}._Fqw4w._IOnhX.focus-visible:after,._Fqw4w._IOnhX:focus-visible:after,._Fqw4w.focus-visible:after,._Fqw4w: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}._zO2XF{margin-right:6px}._RwYq9{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._RwYq9[focus-within]{z-index:30}._RwYq9:focus-within{z-index:30}._tNeDl{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}._tNeDl ._vFf8I{width:100%;padding:12px 12px 11px;overflow:hidden}._tNeDl._Gjcj9{background-color:#efefef;border-bottom-color:#dfdfe1}._tNeDl._X6tWw{flex-grow:1}._tNeDl:focus{outline:none}._tNeDl._IOnhX.focus-visible:after,._tNeDl._IOnhX:focus-visible:after,._tNeDl.focus-visible:after,._tNeDl: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}._zO19C{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._zO19C._GUt8b{border-bottom-color:#d9d9d9;background-color:#fff}._01fSe{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}._01fSe._GUt8b{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._01fSe:focus input~span,._01fSe:hover input~span{border-color:#0b6ed0}._R-Mnq{justify-content:flex-start}._L7Wll{justify-content:center;text-align:center}._VHVis{justify-content:flex-end;text-align:right}._-bpMA{display:none}._gcKOt{opacity:0;height:0;width:0;overflow:hidden}._gcKOt,._PJGqb{position:absolute}._PJGqb{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._8RCHB{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.
|
|
@@ -1177,20 +1177,21 @@ const AdvancedTable = _ref => {
|
|
|
1177
1177
|
} = _ref3;
|
|
1178
1178
|
return hasChildRows;
|
|
1179
1179
|
}), [rows]);
|
|
1180
|
-
const updateExpandedRowIds = (index,
|
|
1180
|
+
const updateExpandedRowIds = (index, isExpanded) => {
|
|
1181
1181
|
if (!rows || !rows[index]) {
|
|
1182
1182
|
return;
|
|
1183
1183
|
}
|
|
1184
1184
|
const {
|
|
1185
|
-
|
|
1186
|
-
|
|
1185
|
+
rowPropReference,
|
|
1186
|
+
id,
|
|
1187
|
+
depth
|
|
1187
1188
|
} = rows[index];
|
|
1188
|
-
|
|
1189
|
-
rowPropReference
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
onRowsChange === null || onRowsChange === void 0 || onRowsChange(
|
|
1189
|
+
const updatedRow = {
|
|
1190
|
+
...rowPropReference,
|
|
1191
|
+
isExpanded
|
|
1192
|
+
};
|
|
1193
|
+
const newRows = getExternalRowsWithUpdatedRow(rowsProp, id, depth, updatedRow);
|
|
1194
|
+
onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
|
|
1194
1195
|
};
|
|
1195
1196
|
const getLastToggledRowIndex = () => {
|
|
1196
1197
|
const index = rows === null || rows === void 0 ? void 0 : rows.findIndex(_ref4 => {
|
|
@@ -1438,7 +1439,7 @@ const AdvancedTable = _ref => {
|
|
|
1438
1439
|
onClick: e => {
|
|
1439
1440
|
e.stopPropagation(); // prevent onRowSelect
|
|
1440
1441
|
e.preventDefault();
|
|
1441
|
-
updateExpandedRowIds(rowIndex);
|
|
1442
|
+
updateExpandedRowIds(rowIndex, !isExpanded);
|
|
1442
1443
|
}
|
|
1443
1444
|
});
|
|
1444
1445
|
const getExpandableRowsSpacer = function (width, inHeader) {
|
|
@@ -1466,8 +1467,14 @@ const AdvancedTable = _ref => {
|
|
|
1466
1467
|
return {
|
|
1467
1468
|
value,
|
|
1468
1469
|
setValue: newValue => {
|
|
1469
|
-
const
|
|
1470
|
-
|
|
1470
|
+
const updatedRow = {
|
|
1471
|
+
...rowPropReference,
|
|
1472
|
+
data: {
|
|
1473
|
+
...rowPropReference.data,
|
|
1474
|
+
[columnId]: newValue
|
|
1475
|
+
}
|
|
1476
|
+
};
|
|
1477
|
+
const newRows = getExternalRowsWithUpdatedRow(rowsProp, rowId, depth, updatedRow);
|
|
1471
1478
|
onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
|
|
1472
1479
|
},
|
|
1473
1480
|
renderCellContent,
|
|
@@ -1827,12 +1834,31 @@ function mapExternalRowToInternalRows(row, depthSize, depthIndex, parentId) {
|
|
|
1827
1834
|
}
|
|
1828
1835
|
return mappedRows;
|
|
1829
1836
|
}
|
|
1837
|
+
function getExternalRowsWithUpdatedRow(extRows, rowId, depth, updatedRow) {
|
|
1838
|
+
if (depth === 0) {
|
|
1839
|
+
return extRows.map(row => {
|
|
1840
|
+
if (row.id === rowId) {
|
|
1841
|
+
return updatedRow;
|
|
1842
|
+
}
|
|
1843
|
+
return row;
|
|
1844
|
+
});
|
|
1845
|
+
}
|
|
1846
|
+
return extRows.map(row => {
|
|
1847
|
+
if (row.childRows) {
|
|
1848
|
+
return {
|
|
1849
|
+
...row,
|
|
1850
|
+
childRows: getExternalRowsWithUpdatedRow(row.childRows, rowId, depth - 1, updatedRow)
|
|
1851
|
+
};
|
|
1852
|
+
}
|
|
1853
|
+
return row;
|
|
1854
|
+
});
|
|
1855
|
+
}
|
|
1830
1856
|
|
|
1831
1857
|
/* eslint-disable import/prefer-default-export */
|
|
1832
1858
|
|
|
1833
|
-
var css_248z$g = ".
|
|
1834
|
-
var styles$a = {"collapsibleSearchInput":"
|
|
1835
|
-
var stylesheet$g=".
|
|
1859
|
+
var css_248z$g = "._HcsjR{display:inline-block;width:36px;transition:width .25s ease-out}._eF-AF{width:100%}._nKpy3>input{padding-right:0!important}._CUrdh>svg{fill:#515559}";
|
|
1860
|
+
var styles$a = {"collapsibleSearchInput":"_HcsjR","searchInput":"_eF-AF","searchInputCollapsed":"_nKpy3","iconButton":"_CUrdh"};
|
|
1861
|
+
var stylesheet$g="._HcsjR{display:inline-block;width:36px;transition:width .25s ease-out}._eF-AF{width:100%}._nKpy3>input{padding-right:0!important}._CUrdh>svg{fill:#515559}";
|
|
1836
1862
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$g);}
|
|
1837
1863
|
|
|
1838
1864
|
const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2599,6 +2625,7 @@ function Combobox(_ref) {
|
|
|
2599
2625
|
const flyoutId = index.useId();
|
|
2600
2626
|
const [isOpen, setIsOpen] = index.useControllableState(externalIsOpen !== null && externalIsOpen !== void 0 ? externalIsOpen : false, externalOnIsOpenChange, externalIsOpen);
|
|
2601
2627
|
const [hoveredOption, setHoveredOption] = React.useState(null);
|
|
2628
|
+
const [isSearchFilteringDisabled, setIsSearchFilteringDisabled] = React.useState(false);
|
|
2602
2629
|
const [inputFocusRef, isComponentFocused] = index.useIsFocused();
|
|
2603
2630
|
const {
|
|
2604
2631
|
rawInputValue,
|
|
@@ -2638,6 +2665,8 @@ function Combobox(_ref) {
|
|
|
2638
2665
|
setRawInputValue,
|
|
2639
2666
|
committedInputValue,
|
|
2640
2667
|
setCommittedInputValue,
|
|
2668
|
+
isSearchFilteringDisabled,
|
|
2669
|
+
setIsSearchFilteringDisabled,
|
|
2641
2670
|
onSubmit,
|
|
2642
2671
|
registerOption,
|
|
2643
2672
|
deregisterOption,
|
|
@@ -2653,9 +2682,9 @@ function Combobox(_ref) {
|
|
|
2653
2682
|
}, children);
|
|
2654
2683
|
}
|
|
2655
2684
|
|
|
2656
|
-
var css_248z$f = ".
|
|
2657
|
-
var styles$9 = {"loadingSpinner":"
|
|
2658
|
-
var stylesheet$f=".
|
|
2685
|
+
var css_248z$f = "._unJtf :after{background-color:#515559!important}._VgZ18>input:focus{box-shadow:none!important;border:1px solid #898989!important}._OG3Ba{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}._OG3Ba ._WQgqa ._I7jZX{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}._OG3Ba ._WQgqa:first-child ._m02O8{display:none}._OG3Ba ._CwAF-{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._OG3Ba ._CwAF-:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._OG3Ba ._CwAF-:hover._qIHw2{background-color:#e4effa}._OG3Ba ._CwAF-._qIHw2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._OG3Ba ._CwAF-:active:not(._qIHw2){background-color:#e8e9e9}";
|
|
2686
|
+
var styles$9 = {"loadingSpinner":"_unJtf","ignoreFocusStyle":"_VgZ18","flyout":"_OG3Ba","group":"_WQgqa","header":"_I7jZX","divider":"_m02O8","option":"_CwAF-","selected":"_qIHw2"};
|
|
2687
|
+
var stylesheet$f="._unJtf :after{background-color:#515559!important}._VgZ18>input:focus{box-shadow:none!important;border:1px solid #898989!important}._OG3Ba{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}._OG3Ba ._WQgqa ._I7jZX{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}._OG3Ba ._WQgqa:first-child ._m02O8{display:none}._OG3Ba ._CwAF-{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._OG3Ba ._CwAF-:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._OG3Ba ._CwAF-:hover._qIHw2{background-color:#e4effa}._OG3Ba ._CwAF-._qIHw2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._OG3Ba ._CwAF-:active:not(._qIHw2){background-color:#e8e9e9}";
|
|
2659
2688
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$f);}
|
|
2660
2689
|
|
|
2661
2690
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -2665,6 +2694,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2665
2694
|
className,
|
|
2666
2695
|
style,
|
|
2667
2696
|
id,
|
|
2697
|
+
isSearchFilteringDisabled = false,
|
|
2668
2698
|
'aria-label': ariaLabel,
|
|
2669
2699
|
'aria-labelledby': ariaLabelledBy,
|
|
2670
2700
|
'aria-describedby': ariaDescribedBy
|
|
@@ -2684,6 +2714,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2684
2714
|
rawInputValue,
|
|
2685
2715
|
setRawInputValue,
|
|
2686
2716
|
committedInputValue,
|
|
2717
|
+
setIsSearchFilteringDisabled,
|
|
2687
2718
|
setCommittedInputValue,
|
|
2688
2719
|
onSubmit,
|
|
2689
2720
|
activeDescendantElement,
|
|
@@ -2706,6 +2737,9 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2706
2737
|
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`.
|
|
2707
2738
|
}
|
|
2708
2739
|
}, [activeDescendantElement, setRawInputValue]);
|
|
2740
|
+
React.useEffect(() => {
|
|
2741
|
+
setIsSearchFilteringDisabled(isSearchFilteringDisabled);
|
|
2742
|
+
}, [isSearchFilteringDisabled, setIsSearchFilteringDisabled]);
|
|
2709
2743
|
|
|
2710
2744
|
// Handles the case when looping flyout focus ends up focusing the input (the input is included in the focus loop)
|
|
2711
2745
|
React.useEffect(() => {
|
|
@@ -2910,6 +2944,7 @@ function ComboboxOption(_ref) {
|
|
|
2910
2944
|
activeDescendantElement,
|
|
2911
2945
|
committedInputValue,
|
|
2912
2946
|
setCommittedInputValue,
|
|
2947
|
+
isSearchFilteringDisabled,
|
|
2913
2948
|
onSubmit,
|
|
2914
2949
|
rootDataTestId,
|
|
2915
2950
|
setHoveredOption
|
|
@@ -2919,7 +2954,7 @@ function ComboboxOption(_ref) {
|
|
|
2919
2954
|
deregisterOption: deregisterGroupOption
|
|
2920
2955
|
} = useComboboxGroupContext();
|
|
2921
2956
|
const lowercaseTrimmedCommittedInputValue = committedInputValue.trim().toLowerCase();
|
|
2922
|
-
const doesLabelMatchInputFilter = label.toLowerCase().startsWith(lowercaseTrimmedCommittedInputValue);
|
|
2957
|
+
const doesLabelMatchInputFilter = label.toLowerCase().startsWith(lowercaseTrimmedCommittedInputValue) || isSearchFilteringDisabled;
|
|
2923
2958
|
|
|
2924
2959
|
// Handles registration and deregistration of the option
|
|
2925
2960
|
React.useEffect(() => {
|
|
@@ -2963,9 +2998,9 @@ function ComboboxOption(_ref) {
|
|
|
2963
2998
|
}, label);
|
|
2964
2999
|
}
|
|
2965
3000
|
|
|
2966
|
-
var css_248z$e = ".
|
|
2967
|
-
var styles$8 = {"overlay":"
|
|
2968
|
-
var stylesheet$e=".
|
|
3001
|
+
var css_248z$e = "._gwQ1O{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}._0cmvJ{visibility:hidden}._pVnjR{position:fixed}._bcnFh{overflow:hidden!important}";
|
|
3002
|
+
var styles$8 = {"overlay":"_gwQ1O","hidden":"_0cmvJ","anchoredToBody":"_pVnjR","blockedScroll":"_bcnFh"};
|
|
3003
|
+
var stylesheet$e="._gwQ1O{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}._0cmvJ{visibility:hidden}._pVnjR{position:fixed}._bcnFh{overflow:hidden!important}";
|
|
2969
3004
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$e);}
|
|
2970
3005
|
|
|
2971
3006
|
/**
|
|
@@ -3033,9 +3068,9 @@ const useOverlay = _ref => {
|
|
|
3033
3068
|
}, [containerRef, isVisible, ignoreIds, overlayId]);
|
|
3034
3069
|
};
|
|
3035
3070
|
|
|
3036
|
-
var css_248z$d = ".
|
|
3037
|
-
var styles$7 = {"drawer":"
|
|
3038
|
-
var stylesheet$d=".
|
|
3071
|
+
var css_248z$d = "._zSC3h{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}._SF-AL{visibility:hidden}._N3YIp{position:fixed}._CYc1x{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._bFu6-{padding-top:8px}._mnIbt{margin-left:12px}";
|
|
3072
|
+
var styles$7 = {"drawer":"_zSC3h","hidden":"_SF-AL","anchoredToBody":"_N3YIp","header":"_CYc1x","title":"_bFu6-","closeButton":"_mnIbt"};
|
|
3073
|
+
var stylesheet$d="._zSC3h{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}._SF-AL{visibility:hidden}._N3YIp{position:fixed}._CYc1x{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._bFu6-{padding-top:8px}._mnIbt{margin-left:12px}";
|
|
3039
3074
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$d);}
|
|
3040
3075
|
|
|
3041
3076
|
const Drawer = _ref => {
|
|
@@ -3150,9 +3185,9 @@ const Drawer = _ref => {
|
|
|
3150
3185
|
}, children))), containerNode) : null;
|
|
3151
3186
|
};
|
|
3152
3187
|
|
|
3153
|
-
var css_248z$c = ".
|
|
3154
|
-
var styles$6 = {"button":"
|
|
3155
|
-
var stylesheet$c=".
|
|
3188
|
+
var css_248z$c = "._FMu4w{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}._FMu4w:hover:not(._x61DZ){background-color:rgba(50,54,58,.08)}._FMu4w:hover:not(._x61DZ)._C72PM{border-color:#085caf;background-color:rgba(11,110,208,.04)}._FMu4w:hover:not(._x61DZ)._C72PM ._a8jW9{color:#32363a}._FMu4w:hover:not(._x61DZ)._C72PM ._T5Qc-{fill:#32363a}._FMu4w:hover:not(._x61DZ)._C72PM ._AhOLg{fill:#085caf}._FMu4w:hover:not(._x61DZ)._C72PM ._NFlT6{background-color:rgba(11,110,208,.11)}._FMu4w:hover:not(._x61DZ)._C72PM ._NFlT6 ._FYGfU{color:#085caf}._FMu4w:active:not(._x61DZ){background-color:#e8e9e9}._FMu4w:active:not(._x61DZ)._C72PM{background-color:rgba(11,110,208,.11);border-color:#0854a1}._FMu4w:active:not(._x61DZ)._C72PM ._AhOLg{fill:#0854a1}._FMu4w:active:not(._x61DZ)._C72PM ._NFlT6{background-color:rgba(11,110,208,.11)}._FMu4w:active:not(._x61DZ)._C72PM ._NFlT6 ._FYGfU{color:#0854a1}._FMu4w._x61DZ{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._FMu4w._C72PM{border-color:#0b6ed0}._T5Qc-{fill:#515559;margin-right:4px}._a8jW9{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._a8jW9+._NFlT6{margin-left:6px}._a8jW9._x61DZ{color:#74777a}._NFlT6{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}._FYGfU{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._AhOLg{fill:#515559}._AhOLg._x61DZ,._AhOLg._x61DZ._C72PM{fill:rgba(116,119,122,.4)}._AhOLg._C72PM{fill:#0b6ed0}._AhOLg._Wg3j-{transform:rotate(-180deg)}._FMu4w.focus-visible,._FMu4w:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3189
|
+
var styles$6 = {"button":"_FMu4w","disabled":"_x61DZ","selected":"_C72PM","label":"_a8jW9","lockIcon":"_T5Qc-","chevronIcon":"_AhOLg","selectedFiltersContainer":"_NFlT6","selectedFilters":"_FYGfU","open":"_Wg3j-"};
|
|
3190
|
+
var stylesheet$c="._FMu4w{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}._FMu4w:hover:not(._x61DZ){background-color:rgba(50,54,58,.08)}._FMu4w:hover:not(._x61DZ)._C72PM{border-color:#085caf;background-color:rgba(11,110,208,.04)}._FMu4w:hover:not(._x61DZ)._C72PM ._a8jW9{color:#32363a}._FMu4w:hover:not(._x61DZ)._C72PM ._T5Qc-{fill:#32363a}._FMu4w:hover:not(._x61DZ)._C72PM ._AhOLg{fill:#085caf}._FMu4w:hover:not(._x61DZ)._C72PM ._NFlT6{background-color:rgba(11,110,208,.11)}._FMu4w:hover:not(._x61DZ)._C72PM ._NFlT6 ._FYGfU{color:#085caf}._FMu4w:active:not(._x61DZ){background-color:#e8e9e9}._FMu4w:active:not(._x61DZ)._C72PM{background-color:rgba(11,110,208,.11);border-color:#0854a1}._FMu4w:active:not(._x61DZ)._C72PM ._AhOLg{fill:#0854a1}._FMu4w:active:not(._x61DZ)._C72PM ._NFlT6{background-color:rgba(11,110,208,.11)}._FMu4w:active:not(._x61DZ)._C72PM ._NFlT6 ._FYGfU{color:#0854a1}._FMu4w._x61DZ{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._FMu4w._C72PM{border-color:#0b6ed0}._T5Qc-{fill:#515559;margin-right:4px}._a8jW9{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._a8jW9+._NFlT6{margin-left:6px}._a8jW9._x61DZ{color:#74777a}._NFlT6{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}._FYGfU{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._AhOLg{fill:#515559}._AhOLg._x61DZ,._AhOLg._x61DZ._C72PM{fill:rgba(116,119,122,.4)}._AhOLg._C72PM{fill:#0b6ed0}._AhOLg._Wg3j-{transform:rotate(-180deg)}._FMu4w.focus-visible,._FMu4w:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3156
3191
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
3157
3192
|
|
|
3158
3193
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -3738,9 +3773,9 @@ class PointerEvent extends Event {
|
|
|
3738
3773
|
}
|
|
3739
3774
|
}
|
|
3740
3775
|
|
|
3741
|
-
var css_248z$b = ".
|
|
3742
|
-
var styles$5 = {"buttonContainer":"
|
|
3743
|
-
var stylesheet$b=".
|
|
3776
|
+
var css_248z$b = "._lCmuS{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._lCmuS>._q26mf{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}._lCmuS>._q26mf:hover:not([aria-disabled=true]){background-color:#f5f5f5}._lCmuS>._q26mf.focus-visible,._lCmuS>._q26mf:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._lCmuS>._q26mf+._P1qbb{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._lCmuS>._q26mf[data-state=open]+._P1qbb{transform:rotate(-180deg) translateY(50%)}._lCmuS>._q26mf[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._lCmuS>._q26mf[aria-disabled=true]+._P1qbb{fill:#515559;opacity:.4}._fOYLp>[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}._fOYLp>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._-quMl{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)}._-quMl ._KW1ZJ{height:100%;overflow-y:scroll}._-quMl._yUKPs{margin-left:30px;opacity:0}._-quMl._R5OMs{margin-left:-30px}._Rkc-8{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%}._Rkc-8._D49Xy{cursor:unset}._Rkc-8 ._C4oRP{fill:#32363a;margin-right:4px}._Rkc-8:focus,._Rkc-8:hover:not(._Rkc-8._D49Xy){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._Rkc-8[aria-disabled=true]{cursor:not-allowed;opacity:.65}._Rkc-8._QFz22{padding-right:32px}._Rkc-8._QFz22 ._P1qbb{position:absolute;height:100%;right:3px;fill:#515559}._Rkc-8._w0ldO{pointer-events:none}._fpRCa{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._fpRCa._J3fk8{padding-top:52px}._iOoZJ{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._oNYu5{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._oNYu5._R5OMs{opacity:0}._oNYu5._R5OMs>._hy04G{margin-left:-30px}._oNYu5._yUKPs{opacity:0}._oNYu5._yUKPs>._hy04G{margin-left:30px}._oNYu5>._hy04G{transition:margin-left .35s;width:100%}._oNYu5._w0ldO{pointer-events:none}body.keyboard-user ._Rkc-8:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3777
|
+
var styles$5 = {"buttonContainer":"_lCmuS","button":"_q26mf","rightIcon":"_P1qbb","maskContainer":"_fOYLp","flyout":"_-quMl","scrollContainer":"_KW1ZJ","animatedRight":"_yUKPs","animatedLeft":"_R5OMs","menuItem":"_Rkc-8","noItems":"_D49Xy","backIcon":"_C4oRP","subMenu":"_QFz22","unresponsive":"_w0ldO","stickyBox":"_fpRCa","isSearchable":"_J3fk8","searchBoxesContainer":"_iOoZJ","searchBox":"_oNYu5","searchInput":"_hy04G"};
|
|
3778
|
+
var stylesheet$b="._lCmuS{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._lCmuS>._q26mf{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}._lCmuS>._q26mf:hover:not([aria-disabled=true]){background-color:#f5f5f5}._lCmuS>._q26mf.focus-visible,._lCmuS>._q26mf:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._lCmuS>._q26mf+._P1qbb{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._lCmuS>._q26mf[data-state=open]+._P1qbb{transform:rotate(-180deg) translateY(50%)}._lCmuS>._q26mf[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._lCmuS>._q26mf[aria-disabled=true]+._P1qbb{fill:#515559;opacity:.4}._fOYLp>[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}._fOYLp>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._-quMl{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)}._-quMl ._KW1ZJ{height:100%;overflow-y:scroll}._-quMl._yUKPs{margin-left:30px;opacity:0}._-quMl._R5OMs{margin-left:-30px}._Rkc-8{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%}._Rkc-8._D49Xy{cursor:unset}._Rkc-8 ._C4oRP{fill:#32363a;margin-right:4px}._Rkc-8:focus,._Rkc-8:hover:not(._Rkc-8._D49Xy){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._Rkc-8[aria-disabled=true]{cursor:not-allowed;opacity:.65}._Rkc-8._QFz22{padding-right:32px}._Rkc-8._QFz22 ._P1qbb{position:absolute;height:100%;right:3px;fill:#515559}._Rkc-8._w0ldO{pointer-events:none}._fpRCa{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._fpRCa._J3fk8{padding-top:52px}._iOoZJ{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._oNYu5{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._oNYu5._R5OMs{opacity:0}._oNYu5._R5OMs>._hy04G{margin-left:-30px}._oNYu5._yUKPs{opacity:0}._oNYu5._yUKPs>._hy04G{margin-left:30px}._oNYu5>._hy04G{transition:margin-left .35s;width:100%}._oNYu5._w0ldO{pointer-events:none}body.keyboard-user ._Rkc-8:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3744
3779
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
3745
3780
|
|
|
3746
3781
|
/* eslint-disable import/prefer-default-export */
|
|
@@ -4135,9 +4170,9 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4135
4170
|
}, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
|
|
4136
4171
|
});
|
|
4137
4172
|
|
|
4138
|
-
var css_248z$a = ".
|
|
4139
|
-
var styles$4 = {"isInvalid":"
|
|
4140
|
-
var stylesheet$a=".
|
|
4173
|
+
var css_248z$a = "._OqgA1{box-shadow:inset 0 0 0 1px #b00!important}._bAdPN{margin-right:7px}._kVKgB{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4174
|
+
var styles$4 = {"isInvalid":"_OqgA1","checkbox":"_bAdPN","selectedItem":"_kVKgB"};
|
|
4175
|
+
var stylesheet$a="._OqgA1{box-shadow:inset 0 0 0 1px #b00!important}._bAdPN{margin-right:7px}._kVKgB{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4141
4176
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
4142
4177
|
|
|
4143
4178
|
const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4596,7 +4631,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4596
4631
|
"data-testid": dataTestId,
|
|
4597
4632
|
ref: index.mergeRefs(ref, itemRef),
|
|
4598
4633
|
onKeyDown: e => {
|
|
4599
|
-
if (!isInteractive) {
|
|
4634
|
+
if (!isInteractive || e.key === 'Enter') {
|
|
4600
4635
|
e.preventDefault();
|
|
4601
4636
|
return;
|
|
4602
4637
|
}
|
|
@@ -5226,9 +5261,9 @@ const RowDisplayCount = _ref => {
|
|
|
5226
5261
|
}));
|
|
5227
5262
|
};
|
|
5228
5263
|
|
|
5229
|
-
var css_248z$8 = ".
|
|
5230
|
-
var styles$3 = {"input":"
|
|
5231
|
-
var stylesheet$8=".
|
|
5264
|
+
var css_248z$8 = "._-rFKZ input{padding-left:76px!important}._-STt5 input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._-STt5 input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._-STt5 input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._6WaAR{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._6WaAR,._6WaAR._-STt5:hover{background-color:transparent!important}._6WaAR:hover{background-color:rgba(50,54,58,.08)!important}._6WaAR:active{background-color:rgba(50,54,58,.11)!important}._6WaAR svg{top:2px!important}._184z4{position:relative}._Eeeyp{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5265
|
+
var styles$3 = {"input":"_-rFKZ","disabled":"_-STt5","dropdown":"_6WaAR","container":"_184z4","countryCode":"_Eeeyp"};
|
|
5266
|
+
var stylesheet$8="._-rFKZ input{padding-left:76px!important}._-STt5 input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._-STt5 input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._-STt5 input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._6WaAR{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._6WaAR,._6WaAR._-STt5:hover{background-color:transparent!important}._6WaAR:hover{background-color:rgba(50,54,58,.08)!important}._6WaAR:active{background-color:rgba(50,54,58,.11)!important}._6WaAR svg{top:2px!important}._184z4{position:relative}._Eeeyp{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5232
5267
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
5233
5268
|
|
|
5234
5269
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5338,9 +5373,9 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5338
5373
|
})));
|
|
5339
5374
|
});
|
|
5340
5375
|
|
|
5341
|
-
var css_248z$7 = ".
|
|
5342
|
-
var styles$2 = {"container":"
|
|
5343
|
-
var stylesheet$7=".
|
|
5376
|
+
var css_248z$7 = "._-waOc{display:flex}._ov0-q{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._ov0-q._LyNwN{background-color:#fff}._ov0-q._LyNwN._6SAek.focus-visible:not(._Z2CFS),._ov0-q._LyNwN._6SAek:focus-visible:not(._Z2CFS),._ov0-q._LyNwN._pcPH7:not(._ov0-q._LyNwN._j9KZR),._ov0-q._uEUwy{background-color:#0b6ed0}._ov0-q._uEUwy._j9KZR._pcPH7,._ov0-q._uEUwy._Z2CFS._6SAek,._ov0-q._uEUwy._Z2CFS._j9KZR{opacity:.4}._wPtOZ{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._wPtOZ:focus{z-index:1}._pBIJG{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}._pBIJG svg{margin-left:1px}._pBIJG._LyNwN{background-color:#0b6ed0;border-color:transparent}._pBIJG._LyNwN svg{fill:#fff!important}._pBIJG._LyNwN:not(._sERSc):hover{background-color:#085caf!important}._pBIJG._LyNwN:not(._sERSc):active{background-color:#0854a1!important}._pBIJG._LyNwN._sERSc{opacity:.4}._pBIJG._LyNwN._sERSc svg{background-color:transparent}._pBIJG._uEUwy{border-color:#0b6ed0;background-color:#fff}._pBIJG._uEUwy svg{fill:#0b6ed0!important}._pBIJG._uEUwy:not(._sERSc):hover{background-color:#eef5fc!important}._pBIJG._uEUwy:not(._sERSc):active{background-color:#e1edf9!important}._pBIJG._uEUwy._sERSc{opacity:.4}._pBIJG._uEUwy._sERSc svg{background-color:transparent}._qU1lS{width:260px}";
|
|
5377
|
+
var styles$2 = {"container":"_-waOc","divider":"_ov0-q","primary":"_LyNwN","mainButtonFocus":"_6SAek","mainButtonDisabled":"_Z2CFS","dropdownButtonFocus":"_pcPH7","dropdownButtonDisabled":"_j9KZR","secondary":"_uEUwy","mainButton":"_wPtOZ","dropdownButton":"_pBIJG","disabled":"_sERSc","dropdownOption":"_qU1lS"};
|
|
5378
|
+
var stylesheet$7="._-waOc{display:flex}._ov0-q{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._ov0-q._LyNwN{background-color:#fff}._ov0-q._LyNwN._6SAek.focus-visible:not(._Z2CFS),._ov0-q._LyNwN._6SAek:focus-visible:not(._Z2CFS),._ov0-q._LyNwN._pcPH7:not(._ov0-q._LyNwN._j9KZR),._ov0-q._uEUwy{background-color:#0b6ed0}._ov0-q._uEUwy._j9KZR._pcPH7,._ov0-q._uEUwy._Z2CFS._6SAek,._ov0-q._uEUwy._Z2CFS._j9KZR{opacity:.4}._wPtOZ{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._wPtOZ:focus{z-index:1}._pBIJG{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}._pBIJG svg{margin-left:1px}._pBIJG._LyNwN{background-color:#0b6ed0;border-color:transparent}._pBIJG._LyNwN svg{fill:#fff!important}._pBIJG._LyNwN:not(._sERSc):hover{background-color:#085caf!important}._pBIJG._LyNwN:not(._sERSc):active{background-color:#0854a1!important}._pBIJG._LyNwN._sERSc{opacity:.4}._pBIJG._LyNwN._sERSc svg{background-color:transparent}._pBIJG._uEUwy{border-color:#0b6ed0;background-color:#fff}._pBIJG._uEUwy svg{fill:#0b6ed0!important}._pBIJG._uEUwy:not(._sERSc):hover{background-color:#eef5fc!important}._pBIJG._uEUwy:not(._sERSc):active{background-color:#e1edf9!important}._pBIJG._uEUwy._sERSc{opacity:.4}._pBIJG._uEUwy._sERSc svg{background-color:transparent}._qU1lS{width:260px}";
|
|
5344
5379
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
5345
5380
|
|
|
5346
5381
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5561,9 +5596,9 @@ const StackItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5561
5596
|
}, children);
|
|
5562
5597
|
});
|
|
5563
5598
|
|
|
5564
|
-
var css_248z$6 = ".
|
|
5565
|
-
var styles$1 = {"timePickerContainer":"
|
|
5566
|
-
var stylesheet$6=".
|
|
5599
|
+
var css_248z$6 = "._xb1GX{display:inline-block;position:relative}._xb1GX ._bSlt4{width:120px}._xb1GX ._bSlt4 ._AJ0RD._fIlXf{transform:rotate(-180deg)}._xb1GX ._bSlt4 ._AJ0RD._qxfPX{fill:#9d9fa1;opacity:.4}._xb1GX ._Ltk1x>input:focus{box-shadow:none!important;border:1px solid #898989!important}._xb1GX ._AJ0RD{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._xb1GX ._AJ0RD._fIlXf{transform:rotate(-180deg)}._l67h1{width:120px}._l67h1 ._YT5Jr._pubdV{background-color:#efefef;border-radius:6px}";
|
|
5600
|
+
var styles$1 = {"timePickerContainer":"_xb1GX","input":"_bSlt4","icon":"_AJ0RD","open":"_fIlXf","disabled":"_qxfPX","ignoreFocusStyle":"_Ltk1x","timePickerFlyout":"_l67h1","option":"_YT5Jr","exactMatch":"_pubdV"};
|
|
5601
|
+
var stylesheet$6="._xb1GX{display:inline-block;position:relative}._xb1GX ._bSlt4{width:120px}._xb1GX ._bSlt4 ._AJ0RD._fIlXf{transform:rotate(-180deg)}._xb1GX ._bSlt4 ._AJ0RD._qxfPX{fill:#9d9fa1;opacity:.4}._xb1GX ._Ltk1x>input:focus{box-shadow:none!important;border:1px solid #898989!important}._xb1GX ._AJ0RD{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._xb1GX ._AJ0RD._fIlXf{transform:rotate(-180deg)}._l67h1{width:120px}._l67h1 ._YT5Jr._pubdV{background-color:#efefef;border-radius:6px}";
|
|
5567
5602
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
5568
5603
|
|
|
5569
5604
|
const TimeDropdown = _ref => {
|
|
@@ -6138,14 +6173,21 @@ const TimePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
6138
6173
|
}));
|
|
6139
6174
|
});
|
|
6140
6175
|
|
|
6176
|
+
// This type is not working with api extractor, the api used in documentation is coming from old tooltip, with a new prop `ignore`
|
|
6177
|
+
|
|
6178
|
+
const Tooltip = props =>
|
|
6179
|
+
/*#__PURE__*/
|
|
6180
|
+
// eslint-disable-next-line react/destructuring-assignment
|
|
6181
|
+
React__default["default"].createElement(Tooltip, props, props.children);
|
|
6182
|
+
|
|
6141
6183
|
const {
|
|
6142
6184
|
useContext: useToggleButtonGroupContext,
|
|
6143
6185
|
Provider: ToggleButtonGroupContextProvider
|
|
6144
6186
|
} = index.createContextUtilities(null);
|
|
6145
6187
|
|
|
6146
|
-
var css_248z$5 = ".
|
|
6147
|
-
var styles = {"default":"
|
|
6148
|
-
var stylesheet$5=".
|
|
6188
|
+
var css_248z$5 = "._rlSG-{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._Fv3Kj{background-color:rgba(50,54,58,.08)}._Yw0bF{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._wc6v-{color:rgba(81,85,89,.4);cursor:not-allowed}._MYe5p{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._kGeYh{color:#085caf;border-color:#085caf}._f0lBg,._kGeYh{background:rgba(11,110,208,.11)}._f0lBg{color:#0854a1;border-color:#0854a1}._RRiPc{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._VKWDE{position:relative;display:inline-grid}._VKWDE svg{fill:currentColor}._VKWDE ._EJa1z{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._VKWDE ._EJa1z+._iFcgc{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}._VKWDE ._EJa1z+._iFcgc._G5D-H{padding:5px;max-width:36px;min-width:36px}._VKWDE ._EJa1z+._iFcgc._iIphv{padding:0 16px}._VKWDE ._EJa1z+._iFcgc._AF1ap{padding:0 16px 0 12px}._VKWDE ._EJa1z:hover+._iFcgc{background-color:rgba(50,54,58,.08)}._VKWDE ._EJa1z:disabled+._iFcgc{color:rgba(81,85,89,.4);cursor:not-allowed}._VKWDE ._EJa1z:active+._iFcgc,._VKWDE ._EJa1z:focus:active+._iFcgc{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._VKWDE ._EJa1z:checked+._iFcgc{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._VKWDE ._EJa1z:checked:hover+._iFcgc{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._VKWDE ._EJa1z:checked:disabled+._iFcgc{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._VKWDE ._EJa1z:checked:active+._iFcgc,._VKWDE ._EJa1z:checked:focus:active+._iFcgc{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._QhQEb{display:inline-flex;position:relative}._QhQEb:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._QhQEb>*{flex-shrink:0;flex-grow:0}._G-6R0{border:none;margin:0;padding:0}._G-6R0 legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._VKWDE ._EJa1z.focus-visible,._VKWDE ._EJa1z:focus-visible{outline:none}._VKWDE ._EJa1z.focus-visible+._iFcgc,._VKWDE ._EJa1z:focus-visible+._iFcgc{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6189
|
+
var styles = {"default":"_rlSG-","hovered":"_Fv3Kj","pressed":"_Yw0bF","disabled":"_wc6v-","selectedDefault":"_MYe5p","selectedHovered":"_kGeYh","selectedPressed":"_f0lBg","selectedDisabled":"_RRiPc","toggleContainer":"_VKWDE","toggleInput":"_EJa1z","toggleButton":"_iFcgc","iconOnly":"_G5D-H","text":"_iIphv","iconText":"_AF1ap","toggleButtonGroup":"_QhQEb","toggleButtonGroupFieldset":"_G-6R0"};
|
|
6190
|
+
var stylesheet$5="._rlSG-{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._Fv3Kj{background-color:rgba(50,54,58,.08)}._Yw0bF{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._wc6v-{color:rgba(81,85,89,.4);cursor:not-allowed}._MYe5p{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._kGeYh{color:#085caf;border-color:#085caf}._f0lBg,._kGeYh{background:rgba(11,110,208,.11)}._f0lBg{color:#0854a1;border-color:#0854a1}._RRiPc{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._VKWDE{position:relative;display:inline-grid}._VKWDE svg{fill:currentColor}._VKWDE ._EJa1z{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._VKWDE ._EJa1z+._iFcgc{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}._VKWDE ._EJa1z+._iFcgc._G5D-H{padding:5px;max-width:36px;min-width:36px}._VKWDE ._EJa1z+._iFcgc._iIphv{padding:0 16px}._VKWDE ._EJa1z+._iFcgc._AF1ap{padding:0 16px 0 12px}._VKWDE ._EJa1z:hover+._iFcgc{background-color:rgba(50,54,58,.08)}._VKWDE ._EJa1z:disabled+._iFcgc{color:rgba(81,85,89,.4);cursor:not-allowed}._VKWDE ._EJa1z:active+._iFcgc,._VKWDE ._EJa1z:focus:active+._iFcgc{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._VKWDE ._EJa1z:checked+._iFcgc{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._VKWDE ._EJa1z:checked:hover+._iFcgc{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._VKWDE ._EJa1z:checked:disabled+._iFcgc{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._VKWDE ._EJa1z:checked:active+._iFcgc,._VKWDE ._EJa1z:checked:focus:active+._iFcgc{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._QhQEb{display:inline-flex;position:relative}._QhQEb:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._QhQEb>*{flex-shrink:0;flex-grow:0}._G-6R0{border:none;margin:0;padding:0}._G-6R0 legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._VKWDE ._EJa1z.focus-visible,._VKWDE ._EJa1z:focus-visible{outline:none}._VKWDE ._EJa1z.focus-visible+._iFcgc,._VKWDE ._EJa1z:focus-visible+._iFcgc{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6149
6191
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
6150
6192
|
|
|
6151
6193
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -6282,11 +6324,14 @@ const Chat = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6282
6324
|
}, children));
|
|
6283
6325
|
});
|
|
6284
6326
|
|
|
6285
|
-
var css_248z$3 = ".ChatInput_wrapper__1k9xlz90{flex:0 0;padding:20px 12px}.ChatInput_textAreaAndButtonContainer__1k9xlz91{position:relative;width:100%}.ChatInput_sizer__1k9xlz92{width:100%;max-height:187px;min-height:44px;padding:13px 58px 13px 14px!important;border:1px solid transparent;line-height:18px;font-size:14px;overflow-wrap:break-word;visibility:hidden}.ChatInput_textArea__1k9xlz93{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px!important;border:1px solid #085caf;resize:none;padding:13px 58px 13px 14px!important;line-height:18px!important}.ChatInput_textArea__1k9xlz93:disabled{border-color:#898989}.ChatInput_sendButton__1k9xlz94{position:absolute;right:5px;bottom:5px;fill:#fff!important;background-color:#0b6ed0!important}.ChatInput_sendButton__1k9xlz94[aria-disabled=true]{opacity:.4}.ChatInput_sendButton__1k9xlz94:hover:not([aria-disabled=true]){background-color:#085caf}";
|
|
6286
|
-
var ChatInput_css_ts_vanilla = {"ChatInput_wrapper__1k9xlz90":"ChatInput_wrapper__1k9xlz90","ChatInput_textAreaAndButtonContainer__1k9xlz91":"ChatInput_textAreaAndButtonContainer__1k9xlz91","ChatInput_sizer__1k9xlz92":"ChatInput_sizer__1k9xlz92","ChatInput_textArea__1k9xlz93":"ChatInput_textArea__1k9xlz93","ChatInput_sendButton__1k9xlz94":"ChatInput_sendButton__1k9xlz94"};
|
|
6287
|
-
var stylesheet$3=".ChatInput_wrapper__1k9xlz90{flex:0 0;padding:20px 12px}.ChatInput_textAreaAndButtonContainer__1k9xlz91{position:relative;width:100%}.ChatInput_sizer__1k9xlz92{width:100%;max-height:187px;min-height:44px;padding:13px 58px 13px 14px!important;border:1px solid transparent;line-height:18px;font-size:14px;overflow-wrap:break-word;visibility:hidden}.ChatInput_textArea__1k9xlz93{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px!important;border:1px solid #085caf;resize:none;padding:13px 58px 13px 14px!important;line-height:18px!important}.ChatInput_textArea__1k9xlz93:disabled{border-color:#898989}.ChatInput_sendButton__1k9xlz94{position:absolute;right:5px;bottom:5px;fill:#fff!important;background-color:#0b6ed0!important}.ChatInput_sendButton__1k9xlz94[aria-disabled=true]{opacity:.4}.ChatInput_sendButton__1k9xlz94:hover:not([aria-disabled=true]){background-color:#085caf}";
|
|
6327
|
+
var css_248z$3 = ".ChatInput_wrapper__1k9xlz90{flex:0 0;padding:20px 12px}.ChatInput_textAreaAndButtonContainer__1k9xlz91{position:relative;width:100%}.ChatInput_sizer__1k9xlz92{width:100%;max-height:187px;min-height:44px;padding:13px 58px 13px 14px!important;border:1px solid transparent;line-height:18px;font-size:14px;overflow-wrap:break-word;visibility:hidden}.ChatInput_textArea__1k9xlz93{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px!important;border:1px solid #085caf;resize:none;padding:13px 58px 13px 14px!important;line-height:18px!important}.ChatInput_textArea__1k9xlz93:disabled{border-color:#898989}.ChatInput_sendButton__1k9xlz94{position:absolute;right:5px;bottom:5px;fill:#fff!important;background-color:#0b6ed0!important}.ChatInput_sendButton__1k9xlz94[aria-disabled=true]{opacity:.4}.ChatInput_sendButton__1k9xlz94:hover:not([aria-disabled=true]){background-color:#085caf}.ChatInput_characterCountMessage__1k9xlz95{margin-top:6px}.ChatInput_characterCountMessage__1k9xlz95:first-child{margin-bottom:6px}.ChatInput_inputHelpInformationMessage__1k9xlz96{flex:1}.ChatInput_inputHelpInformationCounter__1k9xlz97{flex-shrink:0;margin-left:12px}";
|
|
6328
|
+
var ChatInput_css_ts_vanilla = {"ChatInput_wrapper__1k9xlz90":"ChatInput_wrapper__1k9xlz90","ChatInput_textAreaAndButtonContainer__1k9xlz91":"ChatInput_textAreaAndButtonContainer__1k9xlz91","ChatInput_sizer__1k9xlz92":"ChatInput_sizer__1k9xlz92","ChatInput_textArea__1k9xlz93":"ChatInput_textArea__1k9xlz93","ChatInput_sendButton__1k9xlz94":"ChatInput_sendButton__1k9xlz94","ChatInput_characterCountMessage__1k9xlz95":"ChatInput_characterCountMessage__1k9xlz95","ChatInput_inputHelpInformationMessage__1k9xlz96":"ChatInput_inputHelpInformationMessage__1k9xlz96","ChatInput_inputHelpInformationCounter__1k9xlz97":"ChatInput_inputHelpInformationCounter__1k9xlz97"};
|
|
6329
|
+
var stylesheet$3=".ChatInput_wrapper__1k9xlz90{flex:0 0;padding:20px 12px}.ChatInput_textAreaAndButtonContainer__1k9xlz91{position:relative;width:100%}.ChatInput_sizer__1k9xlz92{width:100%;max-height:187px;min-height:44px;padding:13px 58px 13px 14px!important;border:1px solid transparent;line-height:18px;font-size:14px;overflow-wrap:break-word;visibility:hidden}.ChatInput_textArea__1k9xlz93{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px!important;border:1px solid #085caf;resize:none;padding:13px 58px 13px 14px!important;line-height:18px!important}.ChatInput_textArea__1k9xlz93:disabled{border-color:#898989}.ChatInput_sendButton__1k9xlz94{position:absolute;right:5px;bottom:5px;fill:#fff!important;background-color:#0b6ed0!important}.ChatInput_sendButton__1k9xlz94[aria-disabled=true]{opacity:.4}.ChatInput_sendButton__1k9xlz94:hover:not([aria-disabled=true]){background-color:#085caf}.ChatInput_characterCountMessage__1k9xlz95{margin-top:6px}.ChatInput_characterCountMessage__1k9xlz95:first-child{margin-bottom:6px}.ChatInput_inputHelpInformationMessage__1k9xlz96{flex:1}.ChatInput_inputHelpInformationCounter__1k9xlz97{flex-shrink:0;margin-left:12px}";
|
|
6288
6330
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$3);}
|
|
6289
6331
|
|
|
6332
|
+
var characterCountMessage = 'ChatInput_characterCountMessage__1k9xlz95';
|
|
6333
|
+
var inputHelpInformationCounter = 'ChatInput_inputHelpInformationCounter__1k9xlz97';
|
|
6334
|
+
var inputHelpInformationMessage = 'ChatInput_inputHelpInformationMessage__1k9xlz96';
|
|
6290
6335
|
var sendButton = 'ChatInput_sendButton__1k9xlz94';
|
|
6291
6336
|
var sizer = 'ChatInput_sizer__1k9xlz92';
|
|
6292
6337
|
var textArea = 'ChatInput_textArea__1k9xlz93';
|
|
@@ -6313,22 +6358,35 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6313
6358
|
value: externalValue,
|
|
6314
6359
|
onChange: externalOnChange,
|
|
6315
6360
|
'data-testid': dataTestId,
|
|
6316
|
-
placeholderText
|
|
6361
|
+
placeholderText,
|
|
6362
|
+
characterLimit: externalCharacterLimit,
|
|
6363
|
+
helperText
|
|
6317
6364
|
} = _ref;
|
|
6365
|
+
const [isMaxCharactersExceeded, setIsMaxCharactersExceeded] = React.useState(false);
|
|
6318
6366
|
const {
|
|
6319
6367
|
translate
|
|
6320
6368
|
} = index.useTranslation();
|
|
6321
6369
|
const [value, setValue] = index.useControllableState('', externalOnChange, externalValue);
|
|
6370
|
+
const characterLimit = React.useMemo(() => {
|
|
6371
|
+
if (externalCharacterLimit && externalCharacterLimit > 0) {
|
|
6372
|
+
return externalCharacterLimit;
|
|
6373
|
+
}
|
|
6374
|
+
return undefined;
|
|
6375
|
+
}, [externalCharacterLimit]);
|
|
6322
6376
|
const handleChange = index.useEventCallback(e => {
|
|
6377
|
+
if (characterLimit) {
|
|
6378
|
+
setIsMaxCharactersExceeded(characterLimit < e.target.value.length);
|
|
6379
|
+
}
|
|
6323
6380
|
const newValue = e.target.value;
|
|
6324
6381
|
setValue(newValue);
|
|
6325
6382
|
});
|
|
6383
|
+
const helperIds = index.useId();
|
|
6326
6384
|
const {
|
|
6327
6385
|
isLoading,
|
|
6328
6386
|
chatInputRef
|
|
6329
6387
|
} = useChatContext();
|
|
6330
6388
|
const sendMessageAndClearInput = () => {
|
|
6331
|
-
if (!value || isDisabled || isLoading) return;
|
|
6389
|
+
if (!value || isDisabled || isLoading || isMaxCharactersExceeded) return;
|
|
6332
6390
|
onMessageSend === null || onMessageSend === void 0 || onMessageSend(value);
|
|
6333
6391
|
setValue('');
|
|
6334
6392
|
};
|
|
@@ -6356,8 +6414,10 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6356
6414
|
value: value,
|
|
6357
6415
|
onChange: handleChange,
|
|
6358
6416
|
"aria-label": inputLabel,
|
|
6417
|
+
"aria-describedby": characterLimit && isMaxCharactersExceeded ? "".concat(helperIds, "-error-text") : "".concat(helperIds, "-helper-text"),
|
|
6359
6418
|
placeholder: inputLabel,
|
|
6360
|
-
"data-testid": dataTestId ? "".concat(dataTestId, "-input") : undefined
|
|
6419
|
+
"data-testid": dataTestId ? "".concat(dataTestId, "-input") : undefined,
|
|
6420
|
+
invalid: isMaxCharactersExceeded
|
|
6361
6421
|
}), /*#__PURE__*/React__default["default"].createElement(index.Tooltip, {
|
|
6362
6422
|
content: translate('chat.sendMessageButtonLabel'),
|
|
6363
6423
|
delayMs: 500,
|
|
@@ -6366,9 +6426,29 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6366
6426
|
}, /*#__PURE__*/React__default["default"].createElement(index.IconButton, {
|
|
6367
6427
|
className: sendButton,
|
|
6368
6428
|
onClick: sendMessageAndClearInput,
|
|
6369
|
-
disabled: isDisabled || isLoading,
|
|
6370
|
-
"data-testid": dataTestId ? "".concat(dataTestId, "-button") : undefined
|
|
6371
|
-
|
|
6429
|
+
disabled: isDisabled || isLoading || isMaxCharactersExceeded,
|
|
6430
|
+
"data-testid": dataTestId ? "".concat(dataTestId, "-button") : undefined,
|
|
6431
|
+
"aria-label": translate('chat.sendMessageButtonLabel')
|
|
6432
|
+
}, /*#__PURE__*/React__default["default"].createElement(icons_index.SendIcon, null)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6433
|
+
className: characterCountMessage
|
|
6434
|
+
}, isMaxCharactersExceeded && /*#__PURE__*/React__default["default"].createElement(index.ErrorText, {
|
|
6435
|
+
id: "".concat(helperIds, "-error-text"),
|
|
6436
|
+
"data-testid": dataTestId && "".concat(dataTestId, "-input-error-text")
|
|
6437
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6438
|
+
className: inputHelpInformationMessage
|
|
6439
|
+
}, translate('chat.maxCharacterLimit')), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6440
|
+
className: inputHelpInformationCounter
|
|
6441
|
+
}, value.length, " / ", characterLimit)), characterLimit && /*#__PURE__*/React__default["default"].createElement(index.HelperText, {
|
|
6442
|
+
id: "".concat(helperIds, "-helper-text"),
|
|
6443
|
+
"data-testid": dataTestId && "".concat(dataTestId, "-input-helper-text")
|
|
6444
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6445
|
+
className: inputHelpInformationMessage
|
|
6446
|
+
}, helperText !== null && helperText !== void 0 ? helperText : translate('chat.inputHelperText', {
|
|
6447
|
+
max: characterLimit.toString()
|
|
6448
|
+
})), !isMaxCharactersExceeded && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6449
|
+
"data-testid": "".concat(dataTestId, "-input-character-counter"),
|
|
6450
|
+
className: inputHelpInformationCounter
|
|
6451
|
+
}, value.length, " / ", characterLimit))));
|
|
6372
6452
|
});
|
|
6373
6453
|
|
|
6374
6454
|
var css_248z$2 = ".ChatMessageList_wrapper__70ppzb0{flex:1;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden}.ChatMessageList_scrollableRegion__70ppzb1{overflow:auto}.ChatMessageList_messageList__70ppzb2{list-style-type:none;padding:0;margin:0}";
|
|
@@ -6644,5 +6724,6 @@ exports.SubSelect = SubSelect;
|
|
|
6644
6724
|
exports.TimePicker = TimePicker;
|
|
6645
6725
|
exports.ToggleButton = ToggleButton;
|
|
6646
6726
|
exports.ToggleButtonGroup = ToggleButtonGroup;
|
|
6727
|
+
exports.Tooltip = Tooltip;
|
|
6647
6728
|
exports.VStack = VStack;
|
|
6648
6729
|
exports.useForm = useForm;
|