@qualtrics/ui-react 2.66.0 → 2.67.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 +23 -0
- package/dist/__shared/cjs/{index-0ead2d6c.js → index-66facd16.js} +3 -3
- package/dist/__shared/cjs/{index-a1e50518.js → index-efb32636.js} +137 -135
- 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/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/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/Controls.js +4 -2
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/design-tokens/css/colors.css +2 -2
- package/dist/design-tokens/less/colors.less +2 -2
- package/dist/design-tokens/less/typography.js +3 -3
- package/dist/design-tokens/scss/colors.scss +2 -2
- 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 +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +3 -1
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Indicator/Indicator.js +38 -0
- package/dist/next/Indicator/Indicator2.js +8 -0
- package/dist/next/Indicator/index.js +1 -0
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LoadingSpinner/LoadingSpinner2.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/index.d.ts +16 -0
- package/dist/next/index.es.js +2 -0
- package/dist/next/index.js +289 -254
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/next/package.json +1 -1
- package/package.json +3 -3
package/dist/next/index.js
CHANGED
|
@@ -6,8 +6,8 @@ var _extends = require('@babel/runtime-corejs3/helpers/extends');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var classNames = require('classnames');
|
|
8
8
|
var useResizeObserver = require('@react-hook/resize-observer');
|
|
9
|
-
var index = require('../__shared/cjs/index-
|
|
10
|
-
var icons_index = require('../__shared/cjs/index-
|
|
9
|
+
var index = require('../__shared/cjs/index-efb32636.js');
|
|
10
|
+
var icons_index = require('../__shared/cjs/index-66facd16.js');
|
|
11
11
|
var core = require('@dnd-kit/core');
|
|
12
12
|
var modifiers = require('@dnd-kit/modifiers');
|
|
13
13
|
var ReactDOM = require('react-dom');
|
|
@@ -32,10 +32,10 @@ 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$
|
|
36
|
-
var styles$
|
|
37
|
-
var stylesheet$
|
|
38
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
35
|
+
var css_248z$k = "._WwdVr{overflow:auto;position:relative;max-width:100%;max-height:100%}._uzHeN,._WwdVr{background-color:#fff}._uzHeN{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._eU5yc{margin-bottom:4px}._gUdzO{position:-webkit-sticky;position:sticky;top:0;z-index:100}._QksmH{display:flex}._QksmH:focus{outline:none}._QksmH.focus-visible ._NL7jw:after,._QksmH:focus-visible ._NL7jw: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}._QksmH.focus-visible ._NL7jw:last-of-type:after,._QksmH:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._QksmH.focus-visible ._NL7jw:first-of-type:after,._QksmH:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._QksmH.focus-visible ._NL7jw._vY49G:after,._QksmH:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:1px}._ukmKC{padding-right:3px}._SwuGL{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._yKhLz{display:flex}._yKhLz._L-OyR ._gQrQq,._yKhLz._L-OyR ._NL7jw{cursor:pointer}._yKhLz._fgzeB ._gQrQq,._yKhLz._fgzeB ._NL7jw{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._yKhLz._fgzeB ._gQrQq._vY49G,._yKhLz._fgzeB ._NL7jw._vY49G{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._yKhLz._fgzeB ._gQrQq._vY49G ._A6sEV,._yKhLz._fgzeB ._gQrQq._vY49G ._gkjFx,._yKhLz._fgzeB ._gQrQq._vY49G ._gQrQq,._yKhLz._fgzeB ._NL7jw._vY49G ._A6sEV,._yKhLz._fgzeB ._NL7jw._vY49G ._gkjFx,._yKhLz._fgzeB ._NL7jw._vY49G ._gQrQq{background-color:rgba(11,110,208,.08)}._yKhLz._L-OyR:hover:not(._fgzeB) ._gQrQq,._yKhLz._L-OyR:hover:not(._fgzeB) ._NL7jw{background-color:#f9f9f9}._yKhLz._L-OyR:active:not(._fgzeB):not(._yKhLz._L-OyR:active:not(._fgzeB):has(._A6sEV:active)) ._gQrQq,._yKhLz._L-OyR:active:not(._fgzeB):not(._yKhLz._L-OyR:active:not(._fgzeB):has(._A6sEV:active)) ._NL7jw{background-color:#f3f3f3}._yKhLz:focus{outline:none}._yKhLz.focus-visible ._NL7jw:after,._yKhLz:focus-visible ._NL7jw: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}._yKhLz.focus-visible ._NL7jw:last-of-type:after,._yKhLz:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._yKhLz.focus-visible ._NL7jw:first-of-type:after,._yKhLz:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._yKhLz.focus-visible ._NL7jw._vY49G:after,._yKhLz:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:0}._yKhLz:last-of-type:focus{outline:none}._yKhLz:last-of-type.focus-visible ._NL7jw:after,._yKhLz:last-of-type:focus-visible ._NL7jw: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}._yKhLz:last-of-type.focus-visible ._NL7jw:last-of-type:after,._yKhLz:last-of-type:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._yKhLz:last-of-type.focus-visible ._NL7jw:first-of-type:after,._yKhLz:last-of-type:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._yKhLz:last-of-type.focus-visible ._NL7jw._vY49G:after,._yKhLz:last-of-type:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:1px}._yKhLz:last-of-type ._gkjFx:focus{outline:none}._yKhLz:last-of-type ._gkjFx._iTb-a.focus-visible:after,._yKhLz:last-of-type ._gkjFx._iTb-a:focus-visible:after,._yKhLz:last-of-type ._gkjFx.focus-visible:after,._yKhLz:last-of-type ._gkjFx: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}._yKhLz:first-of-type:focus{outline:none}._yKhLz:first-of-type.focus-visible ._NL7jw:after,._yKhLz:first-of-type:focus-visible ._NL7jw: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}._yKhLz:first-of-type.focus-visible ._NL7jw:last-of-type:after,._yKhLz:first-of-type:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._yKhLz:first-of-type.focus-visible ._NL7jw:first-of-type:after,._yKhLz:first-of-type:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._yKhLz:first-of-type.focus-visible ._NL7jw._vY49G:after,._yKhLz:first-of-type:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:0}._yKhLz:first-of-type ._gkjFx:focus{outline:none}._yKhLz:first-of-type ._gkjFx._iTb-a.focus-visible:after,._yKhLz:first-of-type ._gkjFx._iTb-a:focus-visible:after,._yKhLz:first-of-type ._gkjFx.focus-visible:after,._yKhLz:first-of-type ._gkjFx: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}._nyyxa{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}._nyyxa._y74AG{flex-grow:1}._nyyxa._souDK{cursor:pointer}._nyyxa._souDK:hover:not(._qH0oG){background-color:#f9f9f9;border-bottom-color:#6a6d70}._nyyxa._souDK:active:not(._qH0oG){background-color:#f3f3f3}._nyyxa._nZxeK:not(._qH0oG){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._nyyxa._qH0oG{cursor:move!important;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._nyyxa ._yqnpB{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._nyyxa ._yqnpB._tyeNQ{left:-1px}._nyyxa ._yqnpB._cuMBK{right:0}._nyyxa ._xrqg9{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._nyyxa ._xrqg9._tyeNQ{left:-2px}._nyyxa ._xrqg9._cuMBK{right:-1px}._nyyxa:first-of-type ._tyeNQ._yqnpB{left:0;width:2px;border-left:1px solid #fff}._nyyxa:first-of-type ._tyeNQ._xrqg9{left:0}._nyyxa:last-of-type ._cuMBK._yqnpB{right:0;width:2px;border-right:1px solid #fff}._nyyxa:last-of-type ._cuMBK._xrqg9{right:0}._nyyxa ._xSrzH{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._nyyxa ._xSrzH ._JR3ju{position:absolute;width:2px;right:2px;top:0;bottom:0}._nyyxa ._xSrzH ._JR3ju._USckP{background-color:#0a6ed1}._nyyxa ._xSrzH:hover ._JR3ju:not(._USckP){background-color:#d9d9d9}._nyyxa ._rpmBX{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._nyyxa ._rpmBX._wgl1C{flex-direction:row-reverse;justify-content:flex-start}._nyyxa ._rpmBX._wgl1C ._x3Epd{margin:1px 7px 1px 1px}._nyyxa ._rpmBX ._VF4yr{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._nyyxa ._rpmBX ._x3Epd{margin:1px 1px 1px 7px;flex-shrink:0}._nyyxa ._7eo16{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._nyyxa ._vmBz3{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._nyyxa:focus{outline:none}._nyyxa._iTb-a.focus-visible:after,._nyyxa._iTb-a:focus-visible:after,._nyyxa.focus-visible:after,._nyyxa: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}._HXSPj{margin-right:6px}._vY49G{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._vY49G[focus-within]{z-index:30}._vY49G:focus-within{z-index:30}._gkjFx{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}._gkjFx ._exy4s{width:100%;padding:12px 12px 11px;overflow:hidden}._gkjFx._qH0oG{background-color:#efefef;border-bottom-color:#dfdfe1}._gkjFx._y74AG{flex-grow:1}._gkjFx:focus{outline:none}._gkjFx._iTb-a.focus-visible:after,._gkjFx._iTb-a:focus-visible:after,._gkjFx.focus-visible:after,._gkjFx: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}._gQrQq{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._gQrQq._RH2yD{border-bottom-color:#d9d9d9;background-color:#fff}._A6sEV{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}._A6sEV._RH2yD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._A6sEV:focus input~span,._A6sEV:hover input~span{border-color:#0b6ed0}._-c6Hx{justify-content:flex-start}._snYd2{justify-content:center;text-align:center}._wgl1C{justify-content:flex-end;text-align:right}._J-PWs{display:none}._NFm39{opacity:0;height:0;width:0;overflow:hidden}._NELWS,._NFm39{position:absolute}._NELWS{background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000}._NELWS,._s4IBN{cursor:move;pointer-events:none}._9h9cQ{max-width:250px;min-width:150px!important}";
|
|
36
|
+
var styles$e = {"advancedTable":"_WwdVr","advancedTablePaginationContainer":"_uzHeN","advancedTablePagination":"_eU5yc","advancedTableColumnHeadersRowGroup":"_gUdzO","advancedTableColumnHeaders":"_QksmH","advancedTableRowChild":"_NL7jw","pinnedContainer":"_vY49G","advancedTableRowGroup":"_ukmKC","advancedTableRowRestrictedWidth":"_SwuGL","advancedTableRow":"_yKhLz","hasRowAction":"_L-OyR","advancedTableExpandRowSpacer":"_gQrQq","isSelected":"_fgzeB","advancedTableCheckbox":"_A6sEV","advancedTableCell":"_gkjFx","showFocusRing":"_iTb-a","advancedTableColumnHeader":"_nyyxa","fillRemainingSpace":"_y74AG","isSortable":"_souDK","isDragging":"_qH0oG","isSorted":"_nZxeK","dropTargetLine":"_yqnpB","dropTargetLeft":"_tyeNQ","dropTargetRight":"_cuMBK","dropTargetMarker":"_xrqg9","resizeHandle":"_xSrzH","resizeLine":"_JR3ju","isResizing":"_USckP","advancedTableColumnHeaderLabel":"_rpmBX","rightAligned":"_wgl1C","sortIcon":"_x3Epd","advancedTableColumnHeaderLabelText":"_VF4yr","advancedTableColumnHeaderMenu":"_7eo16","advancedTableColumnHeaderMenuHiddenAnchor":"_vmBz3","advancedTableColumnHeaderMenuItemIcon":"_HXSPj","advancedTableCellContainer":"_exy4s","header":"_RH2yD","leftAligned":"_-c6Hx","centerAligned":"_snYd2","hiddenDescription":"_J-PWs","hiddenLiveRegion":"_NFm39","dragPreview":"_NELWS","isColumnDragging":"_s4IBN","rowActionMenuPane":"_9h9cQ"};
|
|
37
|
+
var stylesheet$k="._WwdVr{overflow:auto;position:relative;max-width:100%;max-height:100%}._uzHeN,._WwdVr{background-color:#fff}._uzHeN{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._eU5yc{margin-bottom:4px}._gUdzO{position:-webkit-sticky;position:sticky;top:0;z-index:100}._QksmH{display:flex}._QksmH:focus{outline:none}._QksmH.focus-visible ._NL7jw:after,._QksmH:focus-visible ._NL7jw: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}._QksmH.focus-visible ._NL7jw:last-of-type:after,._QksmH:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._QksmH.focus-visible ._NL7jw:first-of-type:after,._QksmH:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._QksmH.focus-visible ._NL7jw._vY49G:after,._QksmH:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:1px}._ukmKC{padding-right:3px}._SwuGL{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._yKhLz{display:flex}._yKhLz._L-OyR ._gQrQq,._yKhLz._L-OyR ._NL7jw{cursor:pointer}._yKhLz._fgzeB ._gQrQq,._yKhLz._fgzeB ._NL7jw{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._yKhLz._fgzeB ._gQrQq._vY49G,._yKhLz._fgzeB ._NL7jw._vY49G{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._yKhLz._fgzeB ._gQrQq._vY49G ._A6sEV,._yKhLz._fgzeB ._gQrQq._vY49G ._gkjFx,._yKhLz._fgzeB ._gQrQq._vY49G ._gQrQq,._yKhLz._fgzeB ._NL7jw._vY49G ._A6sEV,._yKhLz._fgzeB ._NL7jw._vY49G ._gkjFx,._yKhLz._fgzeB ._NL7jw._vY49G ._gQrQq{background-color:rgba(11,110,208,.08)}._yKhLz._L-OyR:hover:not(._fgzeB) ._gQrQq,._yKhLz._L-OyR:hover:not(._fgzeB) ._NL7jw{background-color:#f9f9f9}._yKhLz._L-OyR:active:not(._fgzeB):not(._yKhLz._L-OyR:active:not(._fgzeB):has(._A6sEV:active)) ._gQrQq,._yKhLz._L-OyR:active:not(._fgzeB):not(._yKhLz._L-OyR:active:not(._fgzeB):has(._A6sEV:active)) ._NL7jw{background-color:#f3f3f3}._yKhLz:focus{outline:none}._yKhLz.focus-visible ._NL7jw:after,._yKhLz:focus-visible ._NL7jw: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}._yKhLz.focus-visible ._NL7jw:last-of-type:after,._yKhLz:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._yKhLz.focus-visible ._NL7jw:first-of-type:after,._yKhLz:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._yKhLz.focus-visible ._NL7jw._vY49G:after,._yKhLz:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:0}._yKhLz:last-of-type:focus{outline:none}._yKhLz:last-of-type.focus-visible ._NL7jw:after,._yKhLz:last-of-type:focus-visible ._NL7jw: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}._yKhLz:last-of-type.focus-visible ._NL7jw:last-of-type:after,._yKhLz:last-of-type:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._yKhLz:last-of-type.focus-visible ._NL7jw:first-of-type:after,._yKhLz:last-of-type:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._yKhLz:last-of-type.focus-visible ._NL7jw._vY49G:after,._yKhLz:last-of-type:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:1px}._yKhLz:last-of-type ._gkjFx:focus{outline:none}._yKhLz:last-of-type ._gkjFx._iTb-a.focus-visible:after,._yKhLz:last-of-type ._gkjFx._iTb-a:focus-visible:after,._yKhLz:last-of-type ._gkjFx.focus-visible:after,._yKhLz:last-of-type ._gkjFx: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}._yKhLz:first-of-type:focus{outline:none}._yKhLz:first-of-type.focus-visible ._NL7jw:after,._yKhLz:first-of-type:focus-visible ._NL7jw: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}._yKhLz:first-of-type.focus-visible ._NL7jw:last-of-type:after,._yKhLz:first-of-type:focus-visible ._NL7jw:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._yKhLz:first-of-type.focus-visible ._NL7jw:first-of-type:after,._yKhLz:first-of-type:focus-visible ._NL7jw:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._yKhLz:first-of-type.focus-visible ._NL7jw._vY49G:after,._yKhLz:first-of-type:focus-visible ._NL7jw._vY49G:after{right:-3px;bottom:0}._yKhLz:first-of-type ._gkjFx:focus{outline:none}._yKhLz:first-of-type ._gkjFx._iTb-a.focus-visible:after,._yKhLz:first-of-type ._gkjFx._iTb-a:focus-visible:after,._yKhLz:first-of-type ._gkjFx.focus-visible:after,._yKhLz:first-of-type ._gkjFx: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}._nyyxa{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}._nyyxa._y74AG{flex-grow:1}._nyyxa._souDK{cursor:pointer}._nyyxa._souDK:hover:not(._qH0oG){background-color:#f9f9f9;border-bottom-color:#6a6d70}._nyyxa._souDK:active:not(._qH0oG){background-color:#f3f3f3}._nyyxa._nZxeK:not(._qH0oG){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._nyyxa._qH0oG{cursor:move!important;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._nyyxa ._yqnpB{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._nyyxa ._yqnpB._tyeNQ{left:-1px}._nyyxa ._yqnpB._cuMBK{right:0}._nyyxa ._xrqg9{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._nyyxa ._xrqg9._tyeNQ{left:-2px}._nyyxa ._xrqg9._cuMBK{right:-1px}._nyyxa:first-of-type ._tyeNQ._yqnpB{left:0;width:2px;border-left:1px solid #fff}._nyyxa:first-of-type ._tyeNQ._xrqg9{left:0}._nyyxa:last-of-type ._cuMBK._yqnpB{right:0;width:2px;border-right:1px solid #fff}._nyyxa:last-of-type ._cuMBK._xrqg9{right:0}._nyyxa ._xSrzH{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._nyyxa ._xSrzH ._JR3ju{position:absolute;width:2px;right:2px;top:0;bottom:0}._nyyxa ._xSrzH ._JR3ju._USckP{background-color:#0a6ed1}._nyyxa ._xSrzH:hover ._JR3ju:not(._USckP){background-color:#d9d9d9}._nyyxa ._rpmBX{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._nyyxa ._rpmBX._wgl1C{flex-direction:row-reverse;justify-content:flex-start}._nyyxa ._rpmBX._wgl1C ._x3Epd{margin:1px 7px 1px 1px}._nyyxa ._rpmBX ._VF4yr{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._nyyxa ._rpmBX ._x3Epd{margin:1px 1px 1px 7px;flex-shrink:0}._nyyxa ._7eo16{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._nyyxa ._vmBz3{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._nyyxa:focus{outline:none}._nyyxa._iTb-a.focus-visible:after,._nyyxa._iTb-a:focus-visible:after,._nyyxa.focus-visible:after,._nyyxa: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}._HXSPj{margin-right:6px}._vY49G{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._vY49G[focus-within]{z-index:30}._vY49G:focus-within{z-index:30}._gkjFx{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}._gkjFx ._exy4s{width:100%;padding:12px 12px 11px;overflow:hidden}._gkjFx._qH0oG{background-color:#efefef;border-bottom-color:#dfdfe1}._gkjFx._y74AG{flex-grow:1}._gkjFx:focus{outline:none}._gkjFx._iTb-a.focus-visible:after,._gkjFx._iTb-a:focus-visible:after,._gkjFx.focus-visible:after,._gkjFx: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}._gQrQq{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._gQrQq._RH2yD{border-bottom-color:#d9d9d9;background-color:#fff}._A6sEV{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}._A6sEV._RH2yD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._A6sEV:focus input~span,._A6sEV:hover input~span{border-color:#0b6ed0}._-c6Hx{justify-content:flex-start}._snYd2{justify-content:center;text-align:center}._wgl1C{justify-content:flex-end;text-align:right}._J-PWs{display:none}._NFm39{opacity:0;height:0;width:0;overflow:hidden}._NELWS,._NFm39{position:absolute}._NELWS{background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000}._NELWS,._s4IBN{cursor:move;pointer-events:none}._9h9cQ{max-width:250px;min-width:150px!important}";
|
|
38
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$k);}
|
|
39
39
|
|
|
40
40
|
// TODO: Move the imported types into this file to avoid a ciruclar dependency warning.
|
|
41
41
|
// Also Alignment, etc can be defined directly and have AdvancedTableColumnConfig use them instead of the reverse like now.
|
|
@@ -89,7 +89,7 @@ const AdvancedTableColumnHeaderMenu = _ref => {
|
|
|
89
89
|
"data-testid": menuItemDataTestId
|
|
90
90
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
91
91
|
size: "small",
|
|
92
|
-
className: styles$
|
|
92
|
+
className: styles$e.advancedTableColumnHeaderMenuItemIcon,
|
|
93
93
|
"aria-hidden": "true"
|
|
94
94
|
}), label);
|
|
95
95
|
};
|
|
@@ -131,7 +131,7 @@ const AdvancedTableColumnHeaderMenu = _ref => {
|
|
|
131
131
|
className: isSelected ? index.menuStyles.selected : ''
|
|
132
132
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
133
133
|
size: "small",
|
|
134
|
-
className: styles$
|
|
134
|
+
className: styles$e.advancedTableColumnHeaderMenuItemIcon,
|
|
135
135
|
"aria-hidden": "true"
|
|
136
136
|
}), label);
|
|
137
137
|
};
|
|
@@ -491,7 +491,7 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
491
491
|
const selectedSortIcon = isSorted ? /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
492
492
|
"aria-hidden": "true",
|
|
493
493
|
focusable: "false",
|
|
494
|
-
className: styles$
|
|
494
|
+
className: styles$e.sortIcon,
|
|
495
495
|
width: "10",
|
|
496
496
|
height: "10",
|
|
497
497
|
viewBox: "0 0 10 10",
|
|
@@ -678,7 +678,9 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
678
678
|
const content = isLabelFunction ? /*#__PURE__*/React__default["default"].createElement(label, {
|
|
679
679
|
sortIndicator: selectedSortIcon,
|
|
680
680
|
focusSource,
|
|
681
|
-
contentId
|
|
681
|
+
contentId,
|
|
682
|
+
shouldShowTooltip: focusSource === 'keyboard' && !(isMenuOpen || isHiddenMenuOpen),
|
|
683
|
+
isMenuOpen: isMenuOpen || isHiddenMenuOpen
|
|
682
684
|
}) : label;
|
|
683
685
|
const tooltipContent = isLabelFunction ? undefined : label;
|
|
684
686
|
return /*#__PURE__*/React__default["default"].createElement(index.Tooltip, {
|
|
@@ -707,15 +709,15 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
707
709
|
setFocusSource(null);
|
|
708
710
|
},
|
|
709
711
|
tabIndex: isFocused ? 0 : -1,
|
|
710
|
-
className: classNames__default["default"](styles$
|
|
711
|
-
[styles$
|
|
712
|
+
className: classNames__default["default"](styles$e.advancedTableColumnHeader, {
|
|
713
|
+
[styles$e.advancedTableRowChild]: !isPinned,
|
|
712
714
|
// if nested inside of pinned container, not a direct row child
|
|
713
|
-
[styles$
|
|
714
|
-
[styles$
|
|
715
|
-
[styles$
|
|
716
|
-
[styles$
|
|
717
|
-
[styles$
|
|
718
|
-
[styles$
|
|
715
|
+
[styles$e.isSortable]: isSortable,
|
|
716
|
+
[styles$e.isSorted]: isSorted,
|
|
717
|
+
[styles$e.showFocusRing]: isHiddenMenuOpen,
|
|
718
|
+
[styles$e.isDragging]: isDragging,
|
|
719
|
+
[styles$e.fillRemainingSpace]: width === undefined,
|
|
720
|
+
[styles$e.isColumnDragging]: isUserDragging
|
|
719
721
|
}),
|
|
720
722
|
style: {
|
|
721
723
|
width: computedWidth
|
|
@@ -724,14 +726,14 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
724
726
|
draggable: hasDraggableColumns
|
|
725
727
|
}, listeners), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
726
728
|
role: isSortable ? 'button' : undefined,
|
|
727
|
-
className: classNames__default["default"](styles$
|
|
728
|
-
[styles$
|
|
729
|
-
[styles$
|
|
730
|
-
[styles$
|
|
729
|
+
className: classNames__default["default"](styles$e.advancedTableColumnHeaderLabel, {
|
|
730
|
+
[styles$e.leftAligned]: alignment === 'left',
|
|
731
|
+
[styles$e.centerAligned]: alignment === 'center',
|
|
732
|
+
[styles$e.rightAligned]: alignment === 'right'
|
|
731
733
|
}),
|
|
732
734
|
ref: labelContainerRef
|
|
733
735
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
734
|
-
className: styles$
|
|
736
|
+
className: styles$e.advancedTableColumnHeaderLabelText,
|
|
735
737
|
style: {
|
|
736
738
|
WebkitLineClamp: headerMaxLines
|
|
737
739
|
},
|
|
@@ -743,8 +745,8 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
743
745
|
anchor: /*#__PURE__*/React__default["default"].createElement(index.IconButton, {
|
|
744
746
|
tabIndex: -1,
|
|
745
747
|
"aria-hidden": "true",
|
|
746
|
-
className: classNames__default["default"](styles$
|
|
747
|
-
[styles$
|
|
748
|
+
className: classNames__default["default"](styles$e.advancedTableColumnHeaderMenu, {
|
|
749
|
+
[styles$e.isColumnDragging]: isUserDragging
|
|
748
750
|
})
|
|
749
751
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronDownIcon, null))
|
|
750
752
|
})), /*#__PURE__*/React__default["default"].createElement(AdvancedTableColumnHeaderMenu, _extends__default["default"]({}, commonMenuProps, {
|
|
@@ -759,31 +761,31 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
759
761
|
var _columnHeaderRef$curr5;
|
|
760
762
|
(_columnHeaderRef$curr5 = columnHeaderRef.current) === null || _columnHeaderRef$curr5 === void 0 || _columnHeaderRef$curr5.focus();
|
|
761
763
|
},
|
|
762
|
-
className: styles$
|
|
764
|
+
className: styles$e.advancedTableColumnHeaderMenuHiddenAnchor
|
|
763
765
|
})
|
|
764
766
|
}))), dropTargetSide && !isRowActionMenuColumn && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
765
|
-
className: classNames__default["default"](styles$
|
|
766
|
-
[styles$
|
|
767
|
-
[styles$
|
|
767
|
+
className: classNames__default["default"](styles$e.dropTargetLine, {
|
|
768
|
+
[styles$e.dropTargetLeft]: dropTargetSide === 'left',
|
|
769
|
+
[styles$e.dropTargetRight]: dropTargetSide === 'right'
|
|
768
770
|
}),
|
|
769
771
|
style: {
|
|
770
772
|
height: tableHeight
|
|
771
773
|
}
|
|
772
774
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
773
|
-
className: classNames__default["default"](styles$
|
|
774
|
-
[styles$
|
|
775
|
-
[styles$
|
|
775
|
+
className: classNames__default["default"](styles$e.dropTargetMarker, {
|
|
776
|
+
[styles$e.dropTargetLeft]: dropTargetSide === 'left',
|
|
777
|
+
[styles$e.dropTargetRight]: dropTargetSide === 'right'
|
|
776
778
|
})
|
|
777
779
|
})), onWidthChange && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
778
780
|
"aria-hidden": true,
|
|
779
|
-
className: styles$
|
|
781
|
+
className: styles$e.resizeHandle,
|
|
780
782
|
style: {
|
|
781
783
|
height: tableHeight
|
|
782
784
|
},
|
|
783
785
|
onMouseDown: handleMouseDown
|
|
784
786
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
785
|
-
className: classNames__default["default"](styles$
|
|
786
|
-
[styles$
|
|
787
|
+
className: classNames__default["default"](styles$e.resizeLine, {
|
|
788
|
+
[styles$e.isResizing]: isResizing
|
|
787
789
|
})
|
|
788
790
|
}))));
|
|
789
791
|
});
|
|
@@ -879,19 +881,19 @@ const AdvancedTableCell = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
879
881
|
onFocus: handleFocus,
|
|
880
882
|
onBlur: handleBlur,
|
|
881
883
|
tabIndex: isFocused && !isEditing ? 0 : -1,
|
|
882
|
-
className: classNames__default["default"](className, styles$
|
|
883
|
-
[styles$
|
|
884
|
-
[styles$
|
|
885
|
-
[styles$
|
|
886
|
-
[styles$
|
|
887
|
-
[styles$
|
|
884
|
+
className: classNames__default["default"](className, styles$e.advancedTableCell, {
|
|
885
|
+
[styles$e.leftAligned]: alignment === Alignments.Left,
|
|
886
|
+
[styles$e.centerAligned]: alignment === Alignments.Center,
|
|
887
|
+
[styles$e.rightAligned]: alignment === Alignments.Right,
|
|
888
|
+
[styles$e.isDragging]: isDragging,
|
|
889
|
+
[styles$e.fillRemainingSpace]: width === undefined
|
|
888
890
|
}),
|
|
889
891
|
style: {
|
|
890
892
|
width: computedWidth
|
|
891
893
|
},
|
|
892
894
|
ref: index.mergeRefs(ref, cellRef)
|
|
893
895
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
894
|
-
className: styles$
|
|
896
|
+
className: styles$e.advancedTableCellContainer
|
|
895
897
|
}, cellContent));
|
|
896
898
|
});
|
|
897
899
|
|
|
@@ -920,11 +922,11 @@ const AdvancedTableRow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
920
922
|
onKeyDown: isFocusable ? onKeyDown : undefined,
|
|
921
923
|
onFocus: isFocusable ? onFocus : undefined,
|
|
922
924
|
onClick: hasOnRowSelect ? onClick : undefined,
|
|
923
|
-
className: classNames__default["default"](styles$
|
|
924
|
-
[styles$
|
|
925
|
-
[styles$
|
|
926
|
-
[styles$
|
|
927
|
-
[styles$
|
|
925
|
+
className: classNames__default["default"](styles$e.advancedTableRow, {
|
|
926
|
+
[styles$e.hasRowAction]: hasOnRowSelect,
|
|
927
|
+
[styles$e.isSelected]: hasOnRowSelect && isSelected,
|
|
928
|
+
[styles$e.advancedTableRowRestrictedWidth]: restrictedWidth,
|
|
929
|
+
[styles$e.isColumnDragging]: isDragging
|
|
928
930
|
}),
|
|
929
931
|
ref: isFocusable ? ref : undefined
|
|
930
932
|
}), children);
|
|
@@ -945,8 +947,8 @@ const AdvancedTableColumnHeaders = /*#__PURE__*/React.forwardRef((_ref, ref) =>
|
|
|
945
947
|
tabIndex: isFocusable ? isFocused ? 0 : -1 : undefined,
|
|
946
948
|
onKeyDown: isFocusable ? onKeyDown : undefined,
|
|
947
949
|
onFocus: isFocusable ? onFocus : undefined,
|
|
948
|
-
className: classNames__default["default"](styles$
|
|
949
|
-
[styles$
|
|
950
|
+
className: classNames__default["default"](styles$e.advancedTableColumnHeaders, {
|
|
951
|
+
[styles$e.advancedTableRowRestrictedWidth]: restrictedWidth
|
|
950
952
|
}),
|
|
951
953
|
ref: ref
|
|
952
954
|
}), children);
|
|
@@ -986,13 +988,13 @@ const AdvancedTableCheckbox = _ref => {
|
|
|
986
988
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
987
989
|
"data-testid": dataTestId,
|
|
988
990
|
onClick: onClick,
|
|
989
|
-
className: classNames__default["default"](styles$
|
|
990
|
-
[styles$
|
|
991
|
-
[styles$
|
|
991
|
+
className: classNames__default["default"](styles$e.advancedTableCheckbox, className, {
|
|
992
|
+
[styles$e.header]: variant === 'header',
|
|
993
|
+
[styles$e.isColumnDragging]: isDragging
|
|
992
994
|
}),
|
|
993
995
|
role: "presentation"
|
|
994
996
|
}, /*#__PURE__*/React__default["default"].createElement(index.Check, {
|
|
995
|
-
className: styles$
|
|
997
|
+
className: styles$e.checkbox,
|
|
996
998
|
checked: state,
|
|
997
999
|
disabled: isDisabled
|
|
998
1000
|
}));
|
|
@@ -1007,7 +1009,7 @@ const AdvancedTableHiddenDescription = _ref => {
|
|
|
1007
1009
|
translate
|
|
1008
1010
|
} = index.useTranslation();
|
|
1009
1011
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1010
|
-
className: styles$
|
|
1012
|
+
className: styles$e.hiddenDescription,
|
|
1011
1013
|
id: id
|
|
1012
1014
|
}, translate(messageKey));
|
|
1013
1015
|
};
|
|
@@ -1028,7 +1030,7 @@ const AdvancedTableDragPreview = _ref => {
|
|
|
1028
1030
|
const top = ((position === null || position === void 0 ? void 0 : position.top) || 0) + window.scrollY;
|
|
1029
1031
|
const left = ((position === null || position === void 0 ? void 0 : position.left) || 0) + window.scrollX;
|
|
1030
1032
|
return /*#__PURE__*/React__default["default"].createElement(index.Portal, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1031
|
-
className: styles$
|
|
1033
|
+
className: styles$e.dragPreview,
|
|
1032
1034
|
style: {
|
|
1033
1035
|
height,
|
|
1034
1036
|
width,
|
|
@@ -1074,9 +1076,9 @@ const AdvancedTablePagination = _ref => {
|
|
|
1074
1076
|
}, [rows]);
|
|
1075
1077
|
const visibleRows = React.useMemo(() => rows.length + getExpandedChildren(), [getExpandedChildren, rows]);
|
|
1076
1078
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1077
|
-
className: styles$
|
|
1079
|
+
className: styles$e.advancedTablePaginationContainer
|
|
1078
1080
|
}, /*#__PURE__*/React__default["default"].createElement(index.Pagination, {
|
|
1079
|
-
className: styles$
|
|
1081
|
+
className: styles$e.advancedTablePagination,
|
|
1080
1082
|
"aria-label": ariaLabel,
|
|
1081
1083
|
numPages: Math.max(Math.ceil(visibleRows / rowsPerPage), 1),
|
|
1082
1084
|
currentPage: currentPage,
|
|
@@ -1246,7 +1248,7 @@ const AdvancedTable = _ref => {
|
|
|
1246
1248
|
},
|
|
1247
1249
|
"data-testid": index.getSubDataTestId(rowDataTestId, 'RowActionButton')
|
|
1248
1250
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default["default"].createElement(index.DropdownList, {
|
|
1249
|
-
className: styles$
|
|
1251
|
+
className: styles$e.rowActionMenuPane,
|
|
1250
1252
|
placement: rowActionsPlacement,
|
|
1251
1253
|
"data-testid": rowActionMenuDataTestId,
|
|
1252
1254
|
"aria-label": rowActionsButtonAriaLabel
|
|
@@ -1665,8 +1667,8 @@ const AdvancedTable = _ref => {
|
|
|
1665
1667
|
const getExpandableRowsSpacer = function (width, inHeader) {
|
|
1666
1668
|
let children = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
1667
1669
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1668
|
-
className: classNames__default["default"](styles$
|
|
1669
|
-
[styles$
|
|
1670
|
+
className: classNames__default["default"](styles$e.advancedTableExpandRowSpacer, styles$e.advancedTableRowChild, {
|
|
1671
|
+
[styles$e.header]: inHeader
|
|
1670
1672
|
}),
|
|
1671
1673
|
style: {
|
|
1672
1674
|
width
|
|
@@ -1727,7 +1729,7 @@ const AdvancedTable = _ref => {
|
|
|
1727
1729
|
setPinnedColumns: setPinnedColumns,
|
|
1728
1730
|
dropTargetSide: dropTargetSide
|
|
1729
1731
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1730
|
-
className: styles$
|
|
1732
|
+
className: styles$e.advancedTable,
|
|
1731
1733
|
ref: tableRef
|
|
1732
1734
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1733
1735
|
role: hasExpandableRows ? 'treegrid' : 'grid',
|
|
@@ -1752,7 +1754,7 @@ const AdvancedTable = _ref => {
|
|
|
1752
1754
|
messageKey: "advancedTable.rowCheckboxDescription"
|
|
1753
1755
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1754
1756
|
role: "rowgroup",
|
|
1755
|
-
className: classNames__default["default"](styles$
|
|
1757
|
+
className: classNames__default["default"](styles$e.advancedTableColumnHeadersRowGroup, styles$e.advancedTableRowGroup)
|
|
1756
1758
|
}, /*#__PURE__*/React__default["default"].createElement(AdvancedTableColumnHeaders, {
|
|
1757
1759
|
"aria-rowindex": hasExpandableRows ? undefined : 1,
|
|
1758
1760
|
"aria-level": hasExpandableRows ? 1 : undefined // aria-level is one-indexed
|
|
@@ -1768,7 +1770,7 @@ const AdvancedTable = _ref => {
|
|
|
1768
1770
|
ref: createRef(headerRowIndex, -1)
|
|
1769
1771
|
}, hasCheckboxColumn || pinnedColumnConfigs.length ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1770
1772
|
role: "presentation",
|
|
1771
|
-
className: classNames__default["default"](styles$
|
|
1773
|
+
className: classNames__default["default"](styles$e.pinnedContainer, styles$e.advancedTableRowChild),
|
|
1772
1774
|
ref: createPinnedContainerRef(headerRowIndex)
|
|
1773
1775
|
}, hasCheckboxColumn && /*#__PURE__*/React__default["default"].createElement(AdvancedTableCheckbox, {
|
|
1774
1776
|
"data-testid": getColumnHeaderTestId('CheckboxColumnHeader'),
|
|
@@ -1785,7 +1787,7 @@ const AdvancedTable = _ref => {
|
|
|
1785
1787
|
return /*#__PURE__*/React__default["default"].createElement(AdvancedTableColumnHeader, props);
|
|
1786
1788
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1787
1789
|
role: "rowgroup",
|
|
1788
|
-
className: styles$
|
|
1790
|
+
className: styles$e.advancedTableRowGroup
|
|
1789
1791
|
}, ((_ref9 = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows) !== null && _ref9 !== void 0 ? _ref9 : []).map((row, rowIndex) => {
|
|
1790
1792
|
const {
|
|
1791
1793
|
id: rowId,
|
|
@@ -1837,7 +1839,7 @@ const AdvancedTable = _ref => {
|
|
|
1837
1839
|
,
|
|
1838
1840
|
restrictedWidth: restrictedWidth
|
|
1839
1841
|
}), hasCheckboxColumn || pinnedColumnConfigs.length ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1840
|
-
className: classNames__default["default"](styles$
|
|
1842
|
+
className: classNames__default["default"](styles$e.pinnedContainer, styles$e.advancedTableRowChild),
|
|
1841
1843
|
ref: createPinnedContainerRef(paginatedRowIndex)
|
|
1842
1844
|
}, hasCheckboxColumn && /*#__PURE__*/React__default["default"].createElement(AdvancedTableCheckbox, {
|
|
1843
1845
|
"data-testid": checkboxDataTestId,
|
|
@@ -1861,7 +1863,7 @@ const AdvancedTable = _ref => {
|
|
|
1861
1863
|
})) : undefined, hasExpandableRows && !pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth * (depth + 1), "px"), false, hasChildRows ? getAdvancedTableRowExpandButton(rowId, isExpanded, rowIndex) : undefined) : undefined, unpinnedColumnConfigs.map((c, i) => {
|
|
1862
1864
|
const props = getCellProps(c, i + pinnedColumnConfigs.length, data, paginatedRowIndex, rowId, depth, rowPropReference);
|
|
1863
1865
|
return /*#__PURE__*/React__default["default"].createElement(AdvancedTableCell, _extends__default["default"]({}, props, {
|
|
1864
|
-
className: styles$
|
|
1866
|
+
className: styles$e.advancedTableRowChild,
|
|
1865
1867
|
"aria-rowindex": hasExpandableRows ? undefined : rowIndex + 2 // aria-rowindex is one-indexed + the column headers row is the first row in the table
|
|
1866
1868
|
,
|
|
1867
1869
|
"aria-colindex": i + 1 // aria-colindex is one-indexed
|
|
@@ -2073,10 +2075,10 @@ function getExternalRowsWithUpdatedRow(extRows, rowId, depth, updatedRow) {
|
|
|
2073
2075
|
|
|
2074
2076
|
/* eslint-disable import/prefer-default-export */
|
|
2075
2077
|
|
|
2076
|
-
var css_248z$
|
|
2077
|
-
var styles$
|
|
2078
|
-
var stylesheet$
|
|
2079
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
2078
|
+
var css_248z$j = "._HjS2b{display:inline-block;width:36px;transition:width .25s ease-out}._rJrDL{width:100%}._aY7Su>input{padding-right:0!important}._ykNuD>svg{fill:#515559}";
|
|
2079
|
+
var styles$d = {"collapsibleSearchInput":"_HjS2b","searchInput":"_rJrDL","searchInputCollapsed":"_aY7Su","iconButton":"_ykNuD"};
|
|
2080
|
+
var stylesheet$j="._HjS2b{display:inline-block;width:36px;transition:width .25s ease-out}._rJrDL{width:100%}._aY7Su>input{padding-right:0!important}._ykNuD>svg{fill:#515559}";
|
|
2081
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$j);}
|
|
2080
2082
|
|
|
2081
2083
|
const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
2082
2084
|
let {
|
|
@@ -2089,7 +2091,7 @@ const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, re
|
|
|
2089
2091
|
} = index.useTranslation();
|
|
2090
2092
|
const label = translate('collapsibleSearchInput.openSearchField');
|
|
2091
2093
|
return /*#__PURE__*/React__default["default"].createElement(index.IconButton, _extends__default["default"]({}, rest, {
|
|
2092
|
-
className: styles$
|
|
2094
|
+
className: styles$d.iconButton,
|
|
2093
2095
|
"aria-label": label,
|
|
2094
2096
|
tooltipContent: tooltipContent !== null && tooltipContent !== void 0 ? tooltipContent : label,
|
|
2095
2097
|
tooltipPlacement: tooltipPlacement,
|
|
@@ -2190,7 +2192,7 @@ const CollapsibleSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2190
2192
|
onFocus: handleContainerFocus,
|
|
2191
2193
|
onBlur: handleContainerBlur,
|
|
2192
2194
|
onTransitionEnd: handleContainerTransitionEnd,
|
|
2193
|
-
className: styles$
|
|
2195
|
+
className: styles$d.collapsibleSearchInput,
|
|
2194
2196
|
style: {
|
|
2195
2197
|
width: externalIsExpanded ? widthWhenExpanded : undefined
|
|
2196
2198
|
},
|
|
@@ -2204,8 +2206,8 @@ const CollapsibleSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2204
2206
|
"aria-label": searchInputAriaLabel,
|
|
2205
2207
|
"aria-labelledby": searchInputAriaLabelledBy,
|
|
2206
2208
|
"aria-describedby": searchInputAriaDescribedBy,
|
|
2207
|
-
className: classNames__default["default"](styles$
|
|
2208
|
-
[styles$
|
|
2209
|
+
className: classNames__default["default"](styles$d.searchInput, {
|
|
2210
|
+
[styles$d.searchInputCollapsed]: internalExpandedState !== expandedStates.EXPANDED
|
|
2209
2211
|
}),
|
|
2210
2212
|
"data-testid": index.getSubDataTestId(dataTestId, 'SearchInput'),
|
|
2211
2213
|
ref: searchInputRef
|
|
@@ -2899,10 +2901,10 @@ function Combobox(_ref) {
|
|
|
2899
2901
|
}, children);
|
|
2900
2902
|
}
|
|
2901
2903
|
|
|
2902
|
-
var css_248z$
|
|
2903
|
-
var styles$
|
|
2904
|
-
var stylesheet$
|
|
2905
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
2904
|
+
var css_248z$i = "._Zp2vh :after{background-color:#515559!important}._9ZITg>input:focus{box-shadow:none!important;border:1px solid #898989!important}._D-pJT{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}._D-pJT ._kviNO ._bZ9Mx{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}._D-pJT ._kviNO:first-child ._OvGBx{display:none}._D-pJT ._6YreY{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._D-pJT ._6YreY:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._D-pJT ._6YreY:hover._73rLr{background-color:#e4effa}._D-pJT ._6YreY._73rLr{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._D-pJT ._6YreY:active:not(._73rLr){background-color:#e8e9e9}";
|
|
2905
|
+
var styles$c = {"loadingSpinner":"_Zp2vh","ignoreFocusStyle":"_9ZITg","flyout":"_D-pJT","group":"_kviNO","header":"_bZ9Mx","divider":"_OvGBx","option":"_6YreY","selected":"_73rLr"};
|
|
2906
|
+
var stylesheet$i="._Zp2vh :after{background-color:#515559!important}._9ZITg>input:focus{box-shadow:none!important;border:1px solid #898989!important}._D-pJT{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}._D-pJT ._kviNO ._bZ9Mx{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}._D-pJT ._kviNO:first-child ._OvGBx{display:none}._D-pJT ._6YreY{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._D-pJT ._6YreY:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._D-pJT ._6YreY:hover._73rLr{background-color:#e4effa}._D-pJT ._6YreY._73rLr{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._D-pJT ._6YreY:active:not(._73rLr){background-color:#e8e9e9}";
|
|
2907
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$i);}
|
|
2906
2908
|
|
|
2907
2909
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
2908
2910
|
let {
|
|
@@ -3012,7 +3014,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3012
3014
|
return /*#__PURE__*/React__default["default"].createElement(index.Input$1, {
|
|
3013
3015
|
role: "combobox",
|
|
3014
3016
|
className: classNames__default["default"](className, {
|
|
3015
|
-
[styles$
|
|
3017
|
+
[styles$c.ignoreFocusStyle]: hoveredOption || activeDescendantElement
|
|
3016
3018
|
}),
|
|
3017
3019
|
style: style,
|
|
3018
3020
|
id: id,
|
|
@@ -3025,7 +3027,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3025
3027
|
},
|
|
3026
3028
|
leftAddOn: leftAddOn,
|
|
3027
3029
|
rightAddOn: isLoading ? /*#__PURE__*/React__default["default"].createElement(index.LoadingSpinner, {
|
|
3028
|
-
className: styles$
|
|
3030
|
+
className: styles$c.loadingSpinner,
|
|
3029
3031
|
size: "xs",
|
|
3030
3032
|
show: isLoading,
|
|
3031
3033
|
"aria-hidden": true
|
|
@@ -3081,7 +3083,7 @@ const ComboboxFlyout = _ref => {
|
|
|
3081
3083
|
popper: /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3082
3084
|
role: "listbox",
|
|
3083
3085
|
id: flyoutId,
|
|
3084
|
-
className: styles$
|
|
3086
|
+
className: styles$c.flyout,
|
|
3085
3087
|
style: flyoutDimensions,
|
|
3086
3088
|
"aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : rootAriaLabel,
|
|
3087
3089
|
"aria-labelledby": ariaLabelledBy !== null && ariaLabelledBy !== void 0 ? ariaLabelledBy : rootAriaLabelledBy,
|
|
@@ -3133,16 +3135,16 @@ function ComboboxGroup(_ref) {
|
|
|
3133
3135
|
}, children);
|
|
3134
3136
|
return hasFilteredOptions ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3135
3137
|
role: "group",
|
|
3136
|
-
className: styles$
|
|
3138
|
+
className: styles$c.group,
|
|
3137
3139
|
"aria-labelledby": headerElementId,
|
|
3138
3140
|
"aria-describedby": ariaDescribedBy,
|
|
3139
3141
|
"data-testid": index.getSubDataTestId(rootDataTestId, "group-".concat(label))
|
|
3140
3142
|
}, /*#__PURE__*/React__default["default"].createElement(index.Divider, {
|
|
3141
|
-
className: styles$
|
|
3143
|
+
className: styles$c.divider
|
|
3142
3144
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3143
3145
|
"aria-hidden": "true",
|
|
3144
3146
|
id: headerElementId,
|
|
3145
|
-
className: styles$
|
|
3147
|
+
className: styles$c.header
|
|
3146
3148
|
}, label), childrenWithContext) : childrenWithContext // Even if the group currently has no filtered children, the children (i.e. options) still need the context so that they can register themselves later on if the input value changes
|
|
3147
3149
|
;
|
|
3148
3150
|
}
|
|
@@ -3196,8 +3198,8 @@ function ComboboxOption(_ref) {
|
|
|
3196
3198
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3197
3199
|
role: "option",
|
|
3198
3200
|
id: containerId,
|
|
3199
|
-
className: classNames__default["default"](styles$
|
|
3200
|
-
[styles$
|
|
3201
|
+
className: classNames__default["default"](styles$c.option, {
|
|
3202
|
+
[styles$c.selected]: isOptionSelected
|
|
3201
3203
|
}),
|
|
3202
3204
|
onClick: () => {
|
|
3203
3205
|
setCommittedInputValue(label);
|
|
@@ -3215,10 +3217,10 @@ function ComboboxOption(_ref) {
|
|
|
3215
3217
|
}, label);
|
|
3216
3218
|
}
|
|
3217
3219
|
|
|
3218
|
-
var css_248z$
|
|
3219
|
-
var styles$
|
|
3220
|
-
var stylesheet$
|
|
3221
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
3220
|
+
var css_248z$h = "._KQevD{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}._kLGMN{visibility:hidden}._okJ2l{position:fixed}._W5wEI{overflow:hidden!important}";
|
|
3221
|
+
var styles$b = {"overlay":"_KQevD","hidden":"_kLGMN","anchoredToBody":"_okJ2l","blockedScroll":"_W5wEI"};
|
|
3222
|
+
var stylesheet$h="._KQevD{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}._kLGMN{visibility:hidden}._okJ2l{position:fixed}._W5wEI{overflow:hidden!important}";
|
|
3223
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$h);}
|
|
3222
3224
|
|
|
3223
3225
|
/**
|
|
3224
3226
|
* Adds an overlay to an area that obscures visibility and disables background elements.
|
|
@@ -3245,12 +3247,12 @@ const useOverlay = _ref => {
|
|
|
3245
3247
|
var _containerRef$current;
|
|
3246
3248
|
const containerNode = (_containerRef$current = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) !== null && _containerRef$current !== void 0 ? _containerRef$current : document.body;
|
|
3247
3249
|
const overlay = document.createElement('div');
|
|
3248
|
-
if (containerNode === document.body) overlay.classList.add(styles$
|
|
3250
|
+
if (containerNode === document.body) overlay.classList.add(styles$b.anchoredToBody);
|
|
3249
3251
|
overlay.id = overlayId;
|
|
3250
|
-
overlay.classList.add(styles$
|
|
3252
|
+
overlay.classList.add(styles$b.overlay);
|
|
3251
3253
|
if (onClick) overlay.addEventListener('click', onClick);
|
|
3252
3254
|
if (dataTestId) overlay.dataset.testid = dataTestId;
|
|
3253
|
-
if (!isVisible) overlay.classList.add(styles$
|
|
3255
|
+
if (!isVisible) overlay.classList.add(styles$b.hidden);
|
|
3254
3256
|
if (zIndex || zIndex === 0) overlay.style.zIndex = zIndex.toString();
|
|
3255
3257
|
if (opacity || opacity === 0) overlay.style.opacity = opacity.toString();
|
|
3256
3258
|
containerNode.appendChild(overlay);
|
|
@@ -3265,17 +3267,17 @@ const useOverlay = _ref => {
|
|
|
3265
3267
|
const containerNode = (_containerRef$current2 = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) !== null && _containerRef$current2 !== void 0 ? _containerRef$current2 : document.body;
|
|
3266
3268
|
const overlayNode = document.getElementById(overlayId);
|
|
3267
3269
|
if (isVisible) {
|
|
3268
|
-
containerNode.classList.add(styles$
|
|
3270
|
+
containerNode.classList.add(styles$b.blockedScroll);
|
|
3269
3271
|
Array.from(containerNode.children).forEach(child => {
|
|
3270
3272
|
if (!ignoreIds.includes(child.id) && child.id !== overlayId) child.setAttribute('inert', '');
|
|
3271
3273
|
});
|
|
3272
|
-
overlayNode === null || overlayNode === void 0 || overlayNode.classList.remove(styles$
|
|
3274
|
+
overlayNode === null || overlayNode === void 0 || overlayNode.classList.remove(styles$b.hidden);
|
|
3273
3275
|
} else {
|
|
3274
|
-
containerNode.classList.remove(styles$
|
|
3276
|
+
containerNode.classList.remove(styles$b.blockedScroll);
|
|
3275
3277
|
Array.from(containerNode.children).forEach(child => {
|
|
3276
3278
|
child.removeAttribute('inert');
|
|
3277
3279
|
});
|
|
3278
|
-
overlayNode === null || overlayNode === void 0 || overlayNode.classList.add(styles$
|
|
3280
|
+
overlayNode === null || overlayNode === void 0 || overlayNode.classList.add(styles$b.hidden);
|
|
3279
3281
|
}
|
|
3280
3282
|
return () => {
|
|
3281
3283
|
Array.from(containerNode.children).forEach(child => {
|
|
@@ -3285,10 +3287,10 @@ const useOverlay = _ref => {
|
|
|
3285
3287
|
}, [containerRef, isVisible, ignoreIds, overlayId]);
|
|
3286
3288
|
};
|
|
3287
3289
|
|
|
3288
|
-
var css_248z$
|
|
3289
|
-
var styles$
|
|
3290
|
-
var stylesheet$
|
|
3291
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
3290
|
+
var css_248z$g = "._0u-UL{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}._x2fQg{visibility:hidden}._kMQUx{position:fixed}._8P3M3{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._2Usgt{padding-top:8px}._mYoWB{margin-left:12px}";
|
|
3291
|
+
var styles$a = {"drawer":"_0u-UL","hidden":"_x2fQg","anchoredToBody":"_kMQUx","header":"_8P3M3","title":"_2Usgt","closeButton":"_mYoWB"};
|
|
3292
|
+
var stylesheet$g="._0u-UL{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}._x2fQg{visibility:hidden}._kMQUx{position:fixed}._8P3M3{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._2Usgt{padding-top:8px}._mYoWB{margin-left:12px}";
|
|
3293
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$g);}
|
|
3292
3294
|
|
|
3293
3295
|
const Drawer = _ref => {
|
|
3294
3296
|
var _containerRef$current;
|
|
@@ -3368,9 +3370,9 @@ const Drawer = _ref => {
|
|
|
3368
3370
|
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
|
3369
3371
|
return domReady ? /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/React__default["default"].createElement("aside", {
|
|
3370
3372
|
id: drawerId,
|
|
3371
|
-
className: classNames__default["default"](styles$
|
|
3372
|
-
[styles$
|
|
3373
|
-
[styles$
|
|
3373
|
+
className: classNames__default["default"](styles$a.drawer, {
|
|
3374
|
+
[styles$a.hidden]: isHidden,
|
|
3375
|
+
[styles$a.anchoredToBody]: containerNode === document.body
|
|
3374
3376
|
}),
|
|
3375
3377
|
style: {
|
|
3376
3378
|
width,
|
|
@@ -3387,12 +3389,12 @@ const Drawer = _ref => {
|
|
|
3387
3389
|
}, /*#__PURE__*/React__default["default"].createElement(index.PortalTargetProvider, {
|
|
3388
3390
|
target: drawerRef.current
|
|
3389
3391
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3390
|
-
className: styles$
|
|
3392
|
+
className: styles$a.header
|
|
3391
3393
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3392
|
-
className: styles$
|
|
3394
|
+
className: styles$a.title,
|
|
3393
3395
|
"data-testid": index.getSubDataTestId(dataTestId, 'title')
|
|
3394
3396
|
}, title), /*#__PURE__*/React__default["default"].createElement(index.IconButton, {
|
|
3395
|
-
className: styles$
|
|
3397
|
+
className: styles$a.closeButton,
|
|
3396
3398
|
onClick: close,
|
|
3397
3399
|
ref: closeButtonRef,
|
|
3398
3400
|
"data-testid": index.getSubDataTestId(dataTestId, 'close-button'),
|
|
@@ -3402,10 +3404,10 @@ const Drawer = _ref => {
|
|
|
3402
3404
|
}, children))), containerNode) : null;
|
|
3403
3405
|
};
|
|
3404
3406
|
|
|
3405
|
-
var css_248z$
|
|
3406
|
-
var styles$
|
|
3407
|
-
var stylesheet$
|
|
3408
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
3407
|
+
var css_248z$f = "._H2UA-{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}._H2UA-:hover:not(._PRWPd){background-color:rgba(50,54,58,.08)}._H2UA-:hover:not(._PRWPd)._8IotZ{border-color:#085caf;background-color:rgba(11,110,208,.04)}._H2UA-:hover:not(._PRWPd)._8IotZ ._137c-{color:#32363a}._H2UA-:hover:not(._PRWPd)._8IotZ ._Vsn-Q{fill:#32363a}._H2UA-:hover:not(._PRWPd)._8IotZ ._IsWxc{fill:#085caf}._H2UA-:hover:not(._PRWPd)._8IotZ ._J5hbo{background-color:rgba(11,110,208,.11)}._H2UA-:hover:not(._PRWPd)._8IotZ ._J5hbo ._ijyVZ{color:#085caf}._H2UA-:active:not(._PRWPd){background-color:#e8e9e9}._H2UA-:active:not(._PRWPd)._8IotZ{background-color:rgba(11,110,208,.11);border-color:#0854a1}._H2UA-:active:not(._PRWPd)._8IotZ ._IsWxc{fill:#0854a1}._H2UA-:active:not(._PRWPd)._8IotZ ._J5hbo{background-color:rgba(11,110,208,.11)}._H2UA-:active:not(._PRWPd)._8IotZ ._J5hbo ._ijyVZ{color:#0854a1}._H2UA-._PRWPd{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._H2UA-._8IotZ{border-color:#0b6ed0}._Vsn-Q{fill:#515559;margin-right:4px}._137c-{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._137c-+._J5hbo{margin-left:6px}._137c-._PRWPd{color:#74777a}._J5hbo{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}._ijyVZ{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._IsWxc{fill:#515559}._IsWxc._PRWPd,._IsWxc._PRWPd._8IotZ{fill:rgba(116,119,122,.4)}._IsWxc._8IotZ{fill:#0b6ed0}._IsWxc._-3f69{transform:rotate(-180deg)}._H2UA-.focus-visible,._H2UA-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3408
|
+
var styles$9 = {"button":"_H2UA-","disabled":"_PRWPd","selected":"_8IotZ","label":"_137c-","lockIcon":"_Vsn-Q","chevronIcon":"_IsWxc","selectedFiltersContainer":"_J5hbo","selectedFilters":"_ijyVZ","open":"_-3f69"};
|
|
3409
|
+
var stylesheet$f="._H2UA-{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}._H2UA-:hover:not(._PRWPd){background-color:rgba(50,54,58,.08)}._H2UA-:hover:not(._PRWPd)._8IotZ{border-color:#085caf;background-color:rgba(11,110,208,.04)}._H2UA-:hover:not(._PRWPd)._8IotZ ._137c-{color:#32363a}._H2UA-:hover:not(._PRWPd)._8IotZ ._Vsn-Q{fill:#32363a}._H2UA-:hover:not(._PRWPd)._8IotZ ._IsWxc{fill:#085caf}._H2UA-:hover:not(._PRWPd)._8IotZ ._J5hbo{background-color:rgba(11,110,208,.11)}._H2UA-:hover:not(._PRWPd)._8IotZ ._J5hbo ._ijyVZ{color:#085caf}._H2UA-:active:not(._PRWPd){background-color:#e8e9e9}._H2UA-:active:not(._PRWPd)._8IotZ{background-color:rgba(11,110,208,.11);border-color:#0854a1}._H2UA-:active:not(._PRWPd)._8IotZ ._IsWxc{fill:#0854a1}._H2UA-:active:not(._PRWPd)._8IotZ ._J5hbo{background-color:rgba(11,110,208,.11)}._H2UA-:active:not(._PRWPd)._8IotZ ._J5hbo ._ijyVZ{color:#0854a1}._H2UA-._PRWPd{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._H2UA-._8IotZ{border-color:#0b6ed0}._Vsn-Q{fill:#515559;margin-right:4px}._137c-{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._137c-+._J5hbo{margin-left:6px}._137c-._PRWPd{color:#74777a}._J5hbo{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}._ijyVZ{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._IsWxc{fill:#515559}._IsWxc._PRWPd,._IsWxc._PRWPd._8IotZ{fill:rgba(116,119,122,.4)}._IsWxc._8IotZ{fill:#0b6ed0}._IsWxc._-3f69{transform:rotate(-180deg)}._H2UA-.focus-visible,._H2UA-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3410
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$f);}
|
|
3409
3411
|
|
|
3410
3412
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
3411
3413
|
let {
|
|
@@ -3430,9 +3432,9 @@ const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3430
3432
|
} = index.useTranslation();
|
|
3431
3433
|
return /*#__PURE__*/React__default["default"].createElement("button", _extends__default["default"]({}, rest, {
|
|
3432
3434
|
type: "button",
|
|
3433
|
-
className: classNames__default["default"](className, styles$
|
|
3434
|
-
[styles$
|
|
3435
|
-
[styles$
|
|
3435
|
+
className: classNames__default["default"](className, styles$9.button, {
|
|
3436
|
+
[styles$9.disabled]: isDisabled,
|
|
3437
|
+
[styles$9.selected]: !!selectedFilters
|
|
3436
3438
|
}),
|
|
3437
3439
|
onClick: e => {
|
|
3438
3440
|
if (isDisabled) {
|
|
@@ -3458,7 +3460,7 @@ const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3458
3460
|
}), isLocked && /*#__PURE__*/React__default["default"].createElement(icons_index.LockIcon, {
|
|
3459
3461
|
size: "small",
|
|
3460
3462
|
id: lockIconElementId,
|
|
3461
|
-
className: styles$
|
|
3463
|
+
className: styles$9.lockIcon
|
|
3462
3464
|
// @ts-ignore - 'locked' is not in the current list of translations
|
|
3463
3465
|
,
|
|
3464
3466
|
"aria-label": translate('locked')
|
|
@@ -3466,26 +3468,26 @@ const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3466
3468
|
lightTheme: true
|
|
3467
3469
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3468
3470
|
id: labelElementId,
|
|
3469
|
-
className: classNames__default["default"](styles$
|
|
3470
|
-
[styles$
|
|
3471
|
+
className: classNames__default["default"](styles$9.label, {
|
|
3472
|
+
[styles$9.disabled]: isDisabled
|
|
3471
3473
|
})
|
|
3472
3474
|
}, label)), isLoading ? /*#__PURE__*/React__default["default"].createElement(index.LoadingSpinner, {
|
|
3473
3475
|
show: true,
|
|
3474
3476
|
size: "xs",
|
|
3475
3477
|
"aria-label": loadingSpinnerAriaLabel !== null && loadingSpinnerAriaLabel !== void 0 ? loadingSpinnerAriaLabel : translate('loading')
|
|
3476
3478
|
}) : selectedFilters && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3477
|
-
className: styles$
|
|
3479
|
+
className: styles$9.selectedFiltersContainer
|
|
3478
3480
|
}, /*#__PURE__*/React__default["default"].createElement(index.TextOverflowTooltip, {
|
|
3479
3481
|
lightTheme: true
|
|
3480
3482
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3481
3483
|
id: selectedFiltersElementId,
|
|
3482
|
-
className: styles$
|
|
3484
|
+
className: styles$9.selectedFilters
|
|
3483
3485
|
}, selectedFilters))), /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronDownIcon, {
|
|
3484
3486
|
size: "medium",
|
|
3485
|
-
className: classNames__default["default"](styles$
|
|
3486
|
-
[styles$
|
|
3487
|
-
[styles$
|
|
3488
|
-
[styles$
|
|
3487
|
+
className: classNames__default["default"](styles$9.chevronIcon, {
|
|
3488
|
+
[styles$9.disabled]: isDisabled,
|
|
3489
|
+
[styles$9.selected]: !!selectedFilters,
|
|
3490
|
+
[styles$9.open]: isOpen
|
|
3489
3491
|
}),
|
|
3490
3492
|
"aria-hidden": true
|
|
3491
3493
|
}));
|
|
@@ -3861,10 +3863,10 @@ const LayoutGridItem = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3861
3863
|
}, children);
|
|
3862
3864
|
});
|
|
3863
3865
|
|
|
3864
|
-
var css_248z$
|
|
3865
|
-
var styles$
|
|
3866
|
-
var stylesheet$
|
|
3867
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
3866
|
+
var css_248z$e = "._I2wj7{position:relative;display:inline-block}._I2wj7._z6HyE{min-height:20px;min-width:20px}._I2wj7._tbkhv{min-height:25px;min-width:25px}._I2wj7._c2KZa{min-height:40px;min-width:40px}._I2wj7._fVnAT{min-height:64px;min-width:64px}._I2wj7 ._--YD3{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._I2wj7 ._--YD3._vws04{display:none}._I2wj7 ._--YD3 div{position:absolute;transform:rotate(20deg)}._I2wj7 ._--YD3 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_--YD3 .9s linear infinite}._I2wj7 ._--YD3 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._I2wj7 ._--YD3 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._I2wj7 ._--YD3 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._I2wj7 ._--YD3 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._I2wj7 ._--YD3 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._I2wj7 ._--YD3 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._I2wj7 ._--YD3 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._I2wj7 ._--YD3 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._I2wj7 ._--YD3 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._I2wj7 ._--YD3 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._I2wj7 ._fVnAT div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._I2wj7 ._z6HyE div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._I2wj7 ._tbkhv div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._I2wj7 ._JTM-I div div:nth-child(-n+9):after{background:#fff}._I2wj7 ._I6SY7{width:100%;height:100%}._I2wj7 ._I6SY7._Rgn3q{pointer-events:none}._I2wj7 ._I6SY7._vws04{opacity:0}._I2wj7 ._I6SY7._R9XB9{opacity:.8}@keyframes _--YD3{0%{opacity:1}to{opacity:0}}";
|
|
3867
|
+
var styles$8 = {"spinnerContainer":"_I2wj7","xs":"_z6HyE","small":"_tbkhv","medium":"_c2KZa","large":"_fVnAT","spinnerComponent":"_--YD3","hide":"_vws04","inverted":"_JTM-I","spinnerContent":"_I6SY7","disablePointerEvents":"_Rgn3q","fade":"_R9XB9"};
|
|
3868
|
+
var stylesheet$e="._I2wj7{position:relative;display:inline-block}._I2wj7._z6HyE{min-height:20px;min-width:20px}._I2wj7._tbkhv{min-height:25px;min-width:25px}._I2wj7._c2KZa{min-height:40px;min-width:40px}._I2wj7._fVnAT{min-height:64px;min-width:64px}._I2wj7 ._--YD3{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._I2wj7 ._--YD3._vws04{display:none}._I2wj7 ._--YD3 div{position:absolute;transform:rotate(20deg)}._I2wj7 ._--YD3 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_--YD3 .9s linear infinite}._I2wj7 ._--YD3 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._I2wj7 ._--YD3 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._I2wj7 ._--YD3 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._I2wj7 ._--YD3 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._I2wj7 ._--YD3 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._I2wj7 ._--YD3 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._I2wj7 ._--YD3 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._I2wj7 ._--YD3 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._I2wj7 ._--YD3 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._I2wj7 ._--YD3 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._I2wj7 ._fVnAT div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._I2wj7 ._z6HyE div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._I2wj7 ._tbkhv div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._I2wj7 ._JTM-I div div:nth-child(-n+9):after{background:#fff}._I2wj7 ._I6SY7{width:100%;height:100%}._I2wj7 ._I6SY7._Rgn3q{pointer-events:none}._I2wj7 ._I6SY7._vws04{opacity:0}._I2wj7 ._I6SY7._R9XB9{opacity:.8}@keyframes _--YD3{0%{opacity:1}to{opacity:0}}";
|
|
3869
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$e);}
|
|
3868
3870
|
|
|
3869
3871
|
const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
3870
3872
|
let {
|
|
@@ -3888,8 +3890,8 @@ const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3888
3890
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3889
3891
|
role: "alert",
|
|
3890
3892
|
"aria-live": ariaLive,
|
|
3891
|
-
className: classNames__default["default"](className, styles$
|
|
3892
|
-
[styles$
|
|
3893
|
+
className: classNames__default["default"](className, styles$8.spinnerContainer, {
|
|
3894
|
+
[styles$8[size]]: !children
|
|
3893
3895
|
})
|
|
3894
3896
|
}, /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
3895
3897
|
ref: ref,
|
|
@@ -3898,16 +3900,16 @@ const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3898
3900
|
"aria-hidden": ariaHidden,
|
|
3899
3901
|
"aria-busy": show
|
|
3900
3902
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3901
|
-
className: classNames__default["default"](styles$
|
|
3902
|
-
[styles$
|
|
3903
|
-
[styles$
|
|
3903
|
+
className: classNames__default["default"](styles$8.spinnerComponent, styles$8[size], {
|
|
3904
|
+
[styles$8.inverted]: inverted,
|
|
3905
|
+
[styles$8.hide]: !show
|
|
3904
3906
|
}),
|
|
3905
3907
|
"data-loadingspinner": show || undefined,
|
|
3906
3908
|
role: role
|
|
3907
3909
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3908
|
-
className: classNames__default["default"](styles$
|
|
3909
|
-
[styles$
|
|
3910
|
-
[styles$
|
|
3910
|
+
className: classNames__default["default"](styles$8.spinnerContent, {
|
|
3911
|
+
[styles$8[background]]: show,
|
|
3912
|
+
[styles$8.disablePointerEvents]: show
|
|
3911
3913
|
})
|
|
3912
3914
|
}, children)));
|
|
3913
3915
|
});
|
|
@@ -4041,10 +4043,10 @@ class PointerEvent extends Event {
|
|
|
4041
4043
|
}
|
|
4042
4044
|
}
|
|
4043
4045
|
|
|
4044
|
-
var css_248z$
|
|
4045
|
-
var styles$
|
|
4046
|
-
var stylesheet$
|
|
4047
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
4046
|
+
var css_248z$d = "._HPe4w{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._HPe4w>._TudT0{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}._HPe4w>._TudT0:hover:not([aria-disabled=true]){background-color:#f5f5f5}._HPe4w>._TudT0.focus-visible,._HPe4w>._TudT0:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._HPe4w>._TudT0+._IhnkO{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._HPe4w>._TudT0[data-state=open]+._IhnkO{transform:rotate(-180deg) translateY(50%)}._HPe4w>._TudT0[aria-disabled=true]{color:#74777a;cursor:not-allowed}._HPe4w>._TudT0[aria-disabled=true]+._IhnkO{fill:#515559;opacity:.4}._Vp73o>[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}._Vp73o>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._-DkiC{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)}._-DkiC ._mNFEf{height:100%;overflow-y:scroll}._-DkiC._ZB0GR{margin-left:30px;opacity:0}._-DkiC._RFAEV{margin-left:-30px}._3pxvK{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%}._3pxvK._ICjbw{cursor:unset}._3pxvK ._ulHJW{fill:#32363a;margin-right:4px}._3pxvK:focus,._3pxvK:hover:not(._3pxvK._ICjbw){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._3pxvK[aria-disabled=true]{cursor:not-allowed;opacity:.65}._3pxvK._Tb7xb{padding-right:32px}._3pxvK._Tb7xb ._IhnkO{position:absolute;height:100%;right:3px;fill:#515559}._3pxvK._xSM-m{pointer-events:none}._--SB1{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._--SB1._yS2Vc{padding-top:52px}._-XmWt{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._tSc50{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._tSc50._RFAEV{opacity:0}._tSc50._RFAEV>._N3Jw1{margin-left:-30px}._tSc50._ZB0GR{opacity:0}._tSc50._ZB0GR>._N3Jw1{margin-left:30px}._tSc50>._N3Jw1{transition:margin-left .35s;width:100%}._tSc50._xSM-m{pointer-events:none}body.keyboard-user ._3pxvK:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
4047
|
+
var styles$7 = {"buttonContainer":"_HPe4w","button":"_TudT0","rightIcon":"_IhnkO","maskContainer":"_Vp73o","flyout":"_-DkiC","scrollContainer":"_mNFEf","animatedRight":"_ZB0GR","animatedLeft":"_RFAEV","menuItem":"_3pxvK","noItems":"_ICjbw","backIcon":"_ulHJW","subMenu":"_Tb7xb","unresponsive":"_xSM-m","stickyBox":"_--SB1","isSearchable":"_yS2Vc","searchBoxesContainer":"_-XmWt","searchBox":"_tSc50","searchInput":"_N3Jw1"};
|
|
4048
|
+
var stylesheet$d="._HPe4w{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._HPe4w>._TudT0{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}._HPe4w>._TudT0:hover:not([aria-disabled=true]){background-color:#f5f5f5}._HPe4w>._TudT0.focus-visible,._HPe4w>._TudT0:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._HPe4w>._TudT0+._IhnkO{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._HPe4w>._TudT0[data-state=open]+._IhnkO{transform:rotate(-180deg) translateY(50%)}._HPe4w>._TudT0[aria-disabled=true]{color:#74777a;cursor:not-allowed}._HPe4w>._TudT0[aria-disabled=true]+._IhnkO{fill:#515559;opacity:.4}._Vp73o>[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}._Vp73o>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._-DkiC{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)}._-DkiC ._mNFEf{height:100%;overflow-y:scroll}._-DkiC._ZB0GR{margin-left:30px;opacity:0}._-DkiC._RFAEV{margin-left:-30px}._3pxvK{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%}._3pxvK._ICjbw{cursor:unset}._3pxvK ._ulHJW{fill:#32363a;margin-right:4px}._3pxvK:focus,._3pxvK:hover:not(._3pxvK._ICjbw){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._3pxvK[aria-disabled=true]{cursor:not-allowed;opacity:.65}._3pxvK._Tb7xb{padding-right:32px}._3pxvK._Tb7xb ._IhnkO{position:absolute;height:100%;right:3px;fill:#515559}._3pxvK._xSM-m{pointer-events:none}._--SB1{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._--SB1._yS2Vc{padding-top:52px}._-XmWt{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._tSc50{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._tSc50._RFAEV{opacity:0}._tSc50._RFAEV>._N3Jw1{margin-left:-30px}._tSc50._ZB0GR{opacity:0}._tSc50._ZB0GR>._N3Jw1{margin-left:30px}._tSc50>._N3Jw1{transition:margin-left .35s;width:100%}._tSc50._xSM-m{pointer-events:none}body.keyboard-user ._3pxvK:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
4049
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$d);}
|
|
4048
4050
|
|
|
4049
4051
|
/* eslint-disable import/prefer-default-export */
|
|
4050
4052
|
const DATA_TESTID_SUFFIXES = {
|
|
@@ -4082,7 +4084,7 @@ const AsChildWrapper = _ref => {
|
|
|
4082
4084
|
content: tooltipContent,
|
|
4083
4085
|
delayMs: 250
|
|
4084
4086
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4085
|
-
className: styles$
|
|
4087
|
+
className: styles$7.buttonContainer
|
|
4086
4088
|
}, children));
|
|
4087
4089
|
};
|
|
4088
4090
|
const MenuButton = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref) => {
|
|
@@ -4106,13 +4108,13 @@ const MenuButton = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
|
|
|
4106
4108
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Trigger, _extends__default["default"]({}, rest, {
|
|
4107
4109
|
"aria-disabled": isDisabled,
|
|
4108
4110
|
className: classNames__default["default"](className, {
|
|
4109
|
-
[styles$
|
|
4111
|
+
[styles$7.button]: !asChild
|
|
4110
4112
|
}),
|
|
4111
4113
|
asChild: asChild,
|
|
4112
4114
|
ref: index.mergeRefs(triggerRef, ref),
|
|
4113
4115
|
"data-testid": index.getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_BUTTON : index.DATA_TESTID_SUFFIXES.MENU_BUTTON)
|
|
4114
4116
|
}), children), !asChild && /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronDownIcon, {
|
|
4115
|
-
className: styles$
|
|
4117
|
+
className: styles$7.rightIcon,
|
|
4116
4118
|
"aria-hidden": "true"
|
|
4117
4119
|
}));
|
|
4118
4120
|
});
|
|
@@ -4129,10 +4131,10 @@ const MenuSearch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4129
4131
|
inputRef
|
|
4130
4132
|
} = _ref;
|
|
4131
4133
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4132
|
-
className: classNames__default["default"](styles$
|
|
4133
|
-
[styles$
|
|
4134
|
-
[styles$
|
|
4135
|
-
[styles$
|
|
4134
|
+
className: classNames__default["default"](styles$7.searchBox, {
|
|
4135
|
+
[styles$7.unresponsive]: !isInteractive,
|
|
4136
|
+
[styles$7.animatedLeft]: animatedLeft,
|
|
4137
|
+
[styles$7.animatedRight]: animatedRight
|
|
4136
4138
|
}),
|
|
4137
4139
|
ref: ref
|
|
4138
4140
|
}, /*#__PURE__*/React__default["default"].createElement(index.Input$1, {
|
|
@@ -4143,7 +4145,7 @@ const MenuSearch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4143
4145
|
onChange: e => setSearchValue(e.target.value),
|
|
4144
4146
|
placeholder: searchPlaceholder,
|
|
4145
4147
|
leftAddOn: /*#__PURE__*/React__default["default"].createElement(icons_index.SearchIcon, null),
|
|
4146
|
-
className: styles$
|
|
4148
|
+
className: styles$7.searchInput
|
|
4147
4149
|
}));
|
|
4148
4150
|
});
|
|
4149
4151
|
|
|
@@ -4328,7 +4330,7 @@ function usePaneSearch(_ref) {
|
|
|
4328
4330
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4329
4331
|
[]);
|
|
4330
4332
|
const noSearchResultsNode = filteredChildren.length === 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4331
|
-
className: classNames__default["default"](styles$
|
|
4333
|
+
className: classNames__default["default"](styles$7.menuItem, styles$7.noItems),
|
|
4332
4334
|
"aria-live": "assertive",
|
|
4333
4335
|
role: "menuitem"
|
|
4334
4336
|
}, noMatchesText);
|
|
@@ -4443,10 +4445,10 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4443
4445
|
}, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
|
|
4444
4446
|
});
|
|
4445
4447
|
|
|
4446
|
-
var css_248z$
|
|
4447
|
-
var styles$
|
|
4448
|
-
var stylesheet$
|
|
4449
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
4448
|
+
var css_248z$c = "._6fijJ{box-shadow:inset 0 0 0 1px #b00!important}._JJhkf{margin-right:7px}._9mq2Q{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4449
|
+
var styles$6 = {"isInvalid":"_6fijJ","checkbox":"_JJhkf","selectedItem":"_9mq2Q"};
|
|
4450
|
+
var stylesheet$c="._6fijJ{box-shadow:inset 0 0 0 1px #b00!important}._JJhkf{margin-right:7px}._9mq2Q{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4451
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
4450
4452
|
|
|
4451
4453
|
const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
4452
4454
|
let {
|
|
@@ -4470,7 +4472,7 @@ const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4470
4472
|
};
|
|
4471
4473
|
return /*#__PURE__*/React__default["default"].createElement(MenuItem$1, _extends__default["default"]({}, rest, sharedMenuItemProps, {
|
|
4472
4474
|
className: classNames__default["default"](className, {
|
|
4473
|
-
[styles$
|
|
4475
|
+
[styles$6.selectedItem]: isSelected
|
|
4474
4476
|
}),
|
|
4475
4477
|
asChild: true,
|
|
4476
4478
|
onSelect: () => onItemSelect === null || onItemSelect === void 0 ? void 0 : onItemSelect(value, !isSelected)
|
|
@@ -4479,7 +4481,7 @@ const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4479
4481
|
role: "treeitem"
|
|
4480
4482
|
}, multiselect ? /*#__PURE__*/React__default["default"].createElement(index.Check, {
|
|
4481
4483
|
checked: isSelected,
|
|
4482
|
-
className: styles$
|
|
4484
|
+
className: styles$6.checkbox,
|
|
4483
4485
|
disabled: isDisabled
|
|
4484
4486
|
}) : null, children !== null && children !== void 0 ? children : label));
|
|
4485
4487
|
});
|
|
@@ -4541,7 +4543,7 @@ const PaneChildren = _ref => {
|
|
|
4541
4543
|
const containerRef = React.useRef(null);
|
|
4542
4544
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4543
4545
|
ref: containerRef,
|
|
4544
|
-
className: styles$
|
|
4546
|
+
className: styles$7.scrollContainer,
|
|
4545
4547
|
style: {
|
|
4546
4548
|
maxHeight: "calc(var(--flyout-max-height) -\n ".concat((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.offsetTop, "px -\n var(--flyout-bottom-padding))")
|
|
4547
4549
|
}
|
|
@@ -4797,7 +4799,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4797
4799
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Portal, {
|
|
4798
4800
|
container: portalTarget || undefined
|
|
4799
4801
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4800
|
-
className: styles$
|
|
4802
|
+
className: styles$7.maskContainer,
|
|
4801
4803
|
id: maskContainerId,
|
|
4802
4804
|
style: {
|
|
4803
4805
|
// virtuoso and radix both do funny things with window.requestAnimationFrame that cause unpredictable resizing.
|
|
@@ -4817,19 +4819,19 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4817
4819
|
ref: index.mergeRefs(ref, onRefChange),
|
|
4818
4820
|
"data-testid": dataTestId,
|
|
4819
4821
|
className: classNames__default["default"](className, {
|
|
4820
|
-
[styles$
|
|
4821
|
-
}, styles$
|
|
4822
|
+
[styles$7.animatedLeft]: animatedLeft
|
|
4823
|
+
}, styles$7.flyout),
|
|
4822
4824
|
onInteractOutside: onInteractOutside
|
|
4823
4825
|
}), (isSearchable || multiselect && showSelectedItemsPane) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4824
|
-
className: classNames__default["default"](styles$
|
|
4825
|
-
[styles$
|
|
4826
|
+
className: classNames__default["default"](styles$7.stickyBox, {
|
|
4827
|
+
[styles$7.isSearchable]: isSearchable
|
|
4826
4828
|
}),
|
|
4827
4829
|
ref: stickyBoxRef,
|
|
4828
4830
|
style: {
|
|
4829
4831
|
zIndex
|
|
4830
4832
|
}
|
|
4831
4833
|
}, showSelectedItemsPane && multiselect && /*#__PURE__*/React__default["default"].createElement(SelectedItems, null)), noSearchResultsNode, /*#__PURE__*/React__default["default"].createElement(PaneChildren, null, filteredChildren)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4832
|
-
className: styles$
|
|
4834
|
+
className: styles$7.searchBoxesContainer,
|
|
4833
4835
|
style: {
|
|
4834
4836
|
transform,
|
|
4835
4837
|
zIndex: zIndex + openPaneDepth,
|
|
@@ -4898,8 +4900,8 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4898
4900
|
tabIndex: 0,
|
|
4899
4901
|
asChild: asChild,
|
|
4900
4902
|
"aria-disabled": isDisabled,
|
|
4901
|
-
className: classNames__default["default"](className, styles$
|
|
4902
|
-
[styles$
|
|
4903
|
+
className: classNames__default["default"](className, styles$7.menuItem, {
|
|
4904
|
+
[styles$7.unresponsive]: !isInteractive
|
|
4903
4905
|
}),
|
|
4904
4906
|
"data-testid": dataTestId,
|
|
4905
4907
|
ref: index.mergeRefs(ref, itemRef),
|
|
@@ -5069,9 +5071,9 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
5069
5071
|
return /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Sub, {
|
|
5070
5072
|
open: isPaneInDOM
|
|
5071
5073
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.SubTrigger, _extends__default["default"]({
|
|
5072
|
-
className: classNames__default["default"](styles$
|
|
5073
|
-
[styles$
|
|
5074
|
-
[styles$
|
|
5074
|
+
className: classNames__default["default"](styles$7.menuItem, styles$7.subMenu, {
|
|
5075
|
+
[styles$7.unresponsive]: !paneContainingTriggerIsInteractive,
|
|
5076
|
+
[styles$6.selectedItem]: triggerCheckedState === true && !isSelectedItems
|
|
5075
5077
|
}),
|
|
5076
5078
|
"data-testid": triggerDataTestId,
|
|
5077
5079
|
"aria-disabled": isDisabled,
|
|
@@ -5101,11 +5103,11 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
5101
5103
|
}
|
|
5102
5104
|
}, subSelectTriggerProps), multiselect && !isSelectedItems ? /*#__PURE__*/React__default["default"].createElement(index.Check, {
|
|
5103
5105
|
checked: triggerCheckedState,
|
|
5104
|
-
className: styles$
|
|
5106
|
+
className: styles$6.checkbox,
|
|
5105
5107
|
onClick: onTriggerCheckboxSelect,
|
|
5106
5108
|
disabled: isDisabled
|
|
5107
5109
|
}) : null, label, /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronRightIcon, {
|
|
5108
|
-
className: styles$
|
|
5110
|
+
className: styles$7.rightIcon
|
|
5109
5111
|
})), /*#__PURE__*/React__default["default"].createElement(PaneContextProvider, {
|
|
5110
5112
|
items: items,
|
|
5111
5113
|
setItems: setItems,
|
|
@@ -5125,9 +5127,9 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
5125
5127
|
"data-testid": paneDataTestId,
|
|
5126
5128
|
ref: index.mergeRefs(ref, onRefChange),
|
|
5127
5129
|
onInteractOutside: onInteractOutside,
|
|
5128
|
-
className: classNames__default["default"](className, styles$
|
|
5129
|
-
[styles$
|
|
5130
|
-
[styles$
|
|
5130
|
+
className: classNames__default["default"](className, styles$7.flyout, {
|
|
5131
|
+
[styles$7.animatedRight]: animatedRight,
|
|
5132
|
+
[styles$7.animatedLeft]: animatedLeft
|
|
5131
5133
|
}),
|
|
5132
5134
|
onTransitionEnd: handlePaneTransitionEnd,
|
|
5133
5135
|
style: {
|
|
@@ -5135,16 +5137,16 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
5135
5137
|
zIndex
|
|
5136
5138
|
}
|
|
5137
5139
|
}, subSelectPaneProps), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5138
|
-
className: classNames__default["default"](styles$
|
|
5139
|
-
[styles$
|
|
5140
|
+
className: classNames__default["default"](styles$7.stickyBox, {
|
|
5141
|
+
[styles$7.isSearchable]: isSearchable
|
|
5140
5142
|
}),
|
|
5141
5143
|
ref: stickyBoxRef,
|
|
5142
5144
|
style: {
|
|
5143
5145
|
zIndex
|
|
5144
5146
|
}
|
|
5145
5147
|
}, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Item, {
|
|
5146
|
-
className: classNames__default["default"](styles$
|
|
5147
|
-
[styles$
|
|
5148
|
+
className: classNames__default["default"](styles$7.menuItem, {
|
|
5149
|
+
[styles$7.unresponsive]: isTransitioningFromRight || animatedLeft || animatedRight
|
|
5148
5150
|
}),
|
|
5149
5151
|
"data-testid": backButtonDataTestId,
|
|
5150
5152
|
onSelect: closeThisSubmenu,
|
|
@@ -5162,15 +5164,15 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
5162
5164
|
}
|
|
5163
5165
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.ArrowLeftIcon, {
|
|
5164
5166
|
size: "small",
|
|
5165
|
-
className: styles$
|
|
5167
|
+
className: styles$7.backIcon
|
|
5166
5168
|
}), label)), noSearchResultsNode, /*#__PURE__*/React__default["default"].createElement(PaneChildren, null, filteredChildren))));
|
|
5167
5169
|
});
|
|
5168
5170
|
var SubMenu$1 = index.conditionalA11yHelpersWrapper(SubMenu);
|
|
5169
5171
|
|
|
5170
|
-
var css_248z$
|
|
5172
|
+
var css_248z$b = ".Pagination_pagination__1iropsc0{display:flex;align-items:center}.Pagination_pageNumber__1iropsc1{display:inline-flex;align-items:center;font-size:14px;grid-gap:6px;gap:6px;padding:0 6px;color:#32363a;text-align:center}.Pagination_growingInput__1iropsc2{position:relative;display:inline-flex}.Pagination_hidden__1iropsc3{position:absolute;visibility:hidden;padding:8px 12px;border:1px solid transparent}.Pagination_rowCount__1iropsc4{display:inline-flex;align-items:center;grid-gap:6px;gap:6px;font-size:14px;padding:0 6px;color:#32363a}";
|
|
5171
5173
|
var Pagination_css_ts_vanilla = {"Pagination_pagination__1iropsc0":"Pagination_pagination__1iropsc0","Pagination_pageNumber__1iropsc1":"Pagination_pageNumber__1iropsc1","Pagination_growingInput__1iropsc2":"Pagination_growingInput__1iropsc2","Pagination_hidden__1iropsc3":"Pagination_hidden__1iropsc3","Pagination_rowCount__1iropsc4":"Pagination_rowCount__1iropsc4"};
|
|
5172
|
-
var stylesheet$
|
|
5173
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
5174
|
+
var stylesheet$b=".Pagination_pagination__1iropsc0{display:flex;align-items:center}.Pagination_pageNumber__1iropsc1{display:inline-flex;align-items:center;font-size:14px;grid-gap:6px;gap:6px;padding:0 6px;color:#32363a;text-align:center}.Pagination_growingInput__1iropsc2{position:relative;display:inline-flex}.Pagination_hidden__1iropsc3{position:absolute;visibility:hidden;padding:8px 12px;border:1px solid transparent}.Pagination_rowCount__1iropsc4{display:inline-flex;align-items:center;grid-gap:6px;gap:6px;font-size:14px;padding:0 6px;color:#32363a}";
|
|
5175
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
5174
5176
|
|
|
5175
5177
|
var growingInput = 'Pagination_growingInput__1iropsc2';
|
|
5176
5178
|
var hidden = 'Pagination_hidden__1iropsc3';
|
|
@@ -5495,7 +5497,7 @@ const SelectButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
5495
5497
|
"aria-haspopup": "tree",
|
|
5496
5498
|
role: "combobox",
|
|
5497
5499
|
className: classNames__default["default"]({
|
|
5498
|
-
[styles$
|
|
5500
|
+
[styles$6.isInvalid]: isInvalid
|
|
5499
5501
|
})
|
|
5500
5502
|
}), children !== null && children !== void 0 ? children : selectedSelectItems !== null && selectedSelectItems !== void 0 && selectedSelectItems.size ? selectedItemsString : placeholder);
|
|
5501
5503
|
});
|
|
@@ -5534,10 +5536,10 @@ const RowDisplayCount = _ref => {
|
|
|
5534
5536
|
}));
|
|
5535
5537
|
};
|
|
5536
5538
|
|
|
5537
|
-
var css_248z$
|
|
5538
|
-
var styles$
|
|
5539
|
-
var stylesheet$
|
|
5540
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
5539
|
+
var css_248z$a = "._pClKx input{padding-left:76px!important}._XUnLx input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._XUnLx input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._XUnLx input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._YqoZU{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._YqoZU,._YqoZU._XUnLx:hover{background-color:transparent!important}._YqoZU:hover{background-color:rgba(50,54,58,.08)!important}._YqoZU:active{background-color:rgba(50,54,58,.11)!important}._YqoZU svg{top:2px!important}._c82-d{position:relative}._1Ruf6{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5540
|
+
var styles$5 = {"input":"_pClKx","disabled":"_XUnLx","dropdown":"_YqoZU","container":"_c82-d","countryCode":"_1Ruf6"};
|
|
5541
|
+
var stylesheet$a="._pClKx input{padding-left:76px!important}._XUnLx input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._XUnLx input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._XUnLx input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._YqoZU{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._YqoZU,._YqoZU._XUnLx:hover{background-color:transparent!important}._YqoZU:hover{background-color:rgba(50,54,58,.08)!important}._YqoZU:active{background-color:rgba(50,54,58,.11)!important}._YqoZU svg{top:2px!important}._c82-d{position:relative}._1Ruf6{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
5542
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
5541
5543
|
|
|
5542
5544
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
5543
5545
|
let {
|
|
@@ -5598,21 +5600,21 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5598
5600
|
}
|
|
5599
5601
|
onChange === null || onChange === void 0 || onChange(internationalNumber, isValidLength, countryCode, value);
|
|
5600
5602
|
};
|
|
5601
|
-
const inputClassNames = classNames__default["default"](styles$
|
|
5602
|
-
[styles$
|
|
5603
|
+
const inputClassNames = classNames__default["default"](styles$5.input, {
|
|
5604
|
+
[styles$5.disabled]: isDisabled
|
|
5603
5605
|
});
|
|
5604
5606
|
const dropdownLabel = React.useMemo(() => countryCode ? "+".concat(libphonenumberJs.getCountryCallingCode(countryCode)) : undefined, [countryCode]);
|
|
5605
5607
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5606
|
-
className: styles$
|
|
5608
|
+
className: styles$5.container,
|
|
5607
5609
|
"data-testid": dataTestId
|
|
5608
5610
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5609
|
-
className: styles$
|
|
5611
|
+
className: styles$5.countryCode
|
|
5610
5612
|
}, dropdownLabel), /*#__PURE__*/React__default["default"].createElement(index.SelectMenu, {
|
|
5611
5613
|
label: " ",
|
|
5612
5614
|
defaultValue: countryCode,
|
|
5613
5615
|
onChange: value => setCountryCode(value),
|
|
5614
|
-
className: classNames__default["default"](styles$
|
|
5615
|
-
[styles$
|
|
5616
|
+
className: classNames__default["default"](styles$5.dropdown, {
|
|
5617
|
+
[styles$5.disabled]: isDisabled
|
|
5616
5618
|
}),
|
|
5617
5619
|
searchable: true,
|
|
5618
5620
|
disabled: isDisabled,
|
|
@@ -5647,10 +5649,10 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5647
5649
|
})));
|
|
5648
5650
|
});
|
|
5649
5651
|
|
|
5650
|
-
var css_248z$
|
|
5651
|
-
var styles$
|
|
5652
|
-
var stylesheet$
|
|
5653
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
5652
|
+
var css_248z$9 = "._jfBnW{display:flex}._M2qq8{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._M2qq8._fwZPM{background-color:#fff}._M2qq8._fwZPM._BiGsK.focus-visible:not(._6fReT),._M2qq8._fwZPM._BiGsK:focus-visible:not(._6fReT),._M2qq8._fwZPM._qyhYA:not(._M2qq8._fwZPM._qYylu),._M2qq8._Pg1iS{background-color:#0b6ed0}._M2qq8._Pg1iS._6fReT._BiGsK,._M2qq8._Pg1iS._6fReT._qYylu,._M2qq8._Pg1iS._qYylu._qyhYA{opacity:.4}._97UeR{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._97UeR:focus{z-index:1}._xzEpS{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}._xzEpS svg{margin-left:1px}._xzEpS._fwZPM{background-color:#0b6ed0;border-color:transparent}._xzEpS._fwZPM svg{fill:#fff!important}._xzEpS._fwZPM:not(._dZs2s):hover{background-color:#085caf!important}._xzEpS._fwZPM:not(._dZs2s):active{background-color:#0854a1!important}._xzEpS._fwZPM._dZs2s{opacity:.4}._xzEpS._fwZPM._dZs2s svg{background-color:transparent}._xzEpS._Pg1iS{border-color:#0b6ed0;background-color:#fff}._xzEpS._Pg1iS svg{fill:#0b6ed0!important}._xzEpS._Pg1iS:not(._dZs2s):hover{background-color:#eef5fc!important}._xzEpS._Pg1iS:not(._dZs2s):active{background-color:#e1edf9!important}._xzEpS._Pg1iS._dZs2s{opacity:.4}._xzEpS._Pg1iS._dZs2s svg{background-color:transparent}._8VpeO{width:260px}";
|
|
5653
|
+
var styles$4 = {"container":"_jfBnW","divider":"_M2qq8","primary":"_fwZPM","mainButtonFocus":"_BiGsK","mainButtonDisabled":"_6fReT","dropdownButtonFocus":"_qyhYA","dropdownButtonDisabled":"_qYylu","secondary":"_Pg1iS","mainButton":"_97UeR","dropdownButton":"_xzEpS","disabled":"_dZs2s","dropdownOption":"_8VpeO"};
|
|
5654
|
+
var stylesheet$9="._jfBnW{display:flex}._M2qq8{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._M2qq8._fwZPM{background-color:#fff}._M2qq8._fwZPM._BiGsK.focus-visible:not(._6fReT),._M2qq8._fwZPM._BiGsK:focus-visible:not(._6fReT),._M2qq8._fwZPM._qyhYA:not(._M2qq8._fwZPM._qYylu),._M2qq8._Pg1iS{background-color:#0b6ed0}._M2qq8._Pg1iS._6fReT._BiGsK,._M2qq8._Pg1iS._6fReT._qYylu,._M2qq8._Pg1iS._qYylu._qyhYA{opacity:.4}._97UeR{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._97UeR:focus{z-index:1}._xzEpS{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}._xzEpS svg{margin-left:1px}._xzEpS._fwZPM{background-color:#0b6ed0;border-color:transparent}._xzEpS._fwZPM svg{fill:#fff!important}._xzEpS._fwZPM:not(._dZs2s):hover{background-color:#085caf!important}._xzEpS._fwZPM:not(._dZs2s):active{background-color:#0854a1!important}._xzEpS._fwZPM._dZs2s{opacity:.4}._xzEpS._fwZPM._dZs2s svg{background-color:transparent}._xzEpS._Pg1iS{border-color:#0b6ed0;background-color:#fff}._xzEpS._Pg1iS svg{fill:#0b6ed0!important}._xzEpS._Pg1iS:not(._dZs2s):hover{background-color:#eef5fc!important}._xzEpS._Pg1iS:not(._dZs2s):active{background-color:#e1edf9!important}._xzEpS._Pg1iS._dZs2s{opacity:.4}._xzEpS._Pg1iS._dZs2s svg{background-color:transparent}._8VpeO{width:260px}";
|
|
5655
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$9);}
|
|
5654
5656
|
|
|
5655
5657
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
5656
5658
|
let {
|
|
@@ -5700,15 +5702,15 @@ const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5700
5702
|
const announce = index.useScreenReaderAnnouncement('polite');
|
|
5701
5703
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5702
5704
|
"data-testid": dataTestId,
|
|
5703
|
-
className: classNames__default["default"](styles$
|
|
5705
|
+
className: classNames__default["default"](styles$4.container, className),
|
|
5704
5706
|
ref: ref,
|
|
5705
5707
|
role: "application"
|
|
5706
5708
|
}, /*#__PURE__*/React__default["default"].createElement(index.Button, _extends__default["default"]({}, mainButtonProps, {
|
|
5707
5709
|
kind: kind,
|
|
5708
5710
|
"data-testid": index.getSubDataTestId(dataTestId, 'button'),
|
|
5709
|
-
className: classNames__default["default"](styles$
|
|
5710
|
-
[styles$
|
|
5711
|
-
[styles$
|
|
5711
|
+
className: classNames__default["default"](styles$4.mainButton, {
|
|
5712
|
+
[styles$4.disabled]: isButtonDisabled,
|
|
5713
|
+
[styles$4.primary]: kind === 'primary'
|
|
5712
5714
|
}),
|
|
5713
5715
|
onClick: onClick,
|
|
5714
5716
|
disabled: isButtonDisabled,
|
|
@@ -5728,13 +5730,13 @@ const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5728
5730
|
mainButtonProps === null || mainButtonProps === void 0 || (_mainButtonProps$onBl = mainButtonProps.onBlur) === null || _mainButtonProps$onBl === void 0 || _mainButtonProps$onBl.call(mainButtonProps, e);
|
|
5729
5731
|
}
|
|
5730
5732
|
}), label), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5731
|
-
className: classNames__default["default"](styles$
|
|
5732
|
-
[styles$
|
|
5733
|
-
[styles$
|
|
5734
|
-
[styles$
|
|
5735
|
-
[styles$
|
|
5736
|
-
[styles$
|
|
5737
|
-
[styles$
|
|
5733
|
+
className: classNames__default["default"](styles$4.divider, {
|
|
5734
|
+
[styles$4.primary]: kind === 'primary',
|
|
5735
|
+
[styles$4.secondary]: kind === 'secondary',
|
|
5736
|
+
[styles$4.mainButtonFocus]: mainButtonHasFocus,
|
|
5737
|
+
[styles$4.dropdownButtonFocus]: dropdownButtonHasFocus,
|
|
5738
|
+
[styles$4.mainButtonDisabled]: isButtonDisabled,
|
|
5739
|
+
[styles$4.dropdownButtonDisabled]: isDropdownDisabled
|
|
5738
5740
|
})
|
|
5739
5741
|
}), /*#__PURE__*/React__default["default"].createElement(index.Dropdown, {
|
|
5740
5742
|
"data-testid": index.getSubDataTestId(dataTestId, 'dropdown'),
|
|
@@ -5745,10 +5747,10 @@ const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5745
5747
|
}, /*#__PURE__*/React__default["default"].createElement(index.DropdownButton, _extends__default["default"]({}, dropdownAnchorProps, {
|
|
5746
5748
|
// `label` of type `string` adds Dropdown's `isString` class, which causes a css bug in Safari
|
|
5747
5749
|
label: /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null),
|
|
5748
|
-
className: classNames__default["default"](styles$
|
|
5749
|
-
[styles$
|
|
5750
|
-
[styles$
|
|
5751
|
-
[styles$
|
|
5750
|
+
className: classNames__default["default"](styles$4.dropdownButton, {
|
|
5751
|
+
[styles$4.disabled]: isDropdownDisabled,
|
|
5752
|
+
[styles$4.primary]: kind === 'primary',
|
|
5753
|
+
[styles$4.secondary]: kind === 'secondary'
|
|
5752
5754
|
}),
|
|
5753
5755
|
ref: dropdownButtonRef,
|
|
5754
5756
|
tabIndex: -1,
|
|
@@ -5779,7 +5781,7 @@ const SplitButtonOption = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5779
5781
|
label: "",
|
|
5780
5782
|
disabled: isDisabled,
|
|
5781
5783
|
onSelect: onClick,
|
|
5782
|
-
className: styles$
|
|
5784
|
+
className: styles$4.dropdownOption,
|
|
5783
5785
|
ref: ref
|
|
5784
5786
|
}, children);
|
|
5785
5787
|
});
|
|
@@ -5905,10 +5907,10 @@ const StackItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5905
5907
|
}, children);
|
|
5906
5908
|
});
|
|
5907
5909
|
|
|
5908
|
-
var css_248z$
|
|
5909
|
-
var styles$
|
|
5910
|
-
var stylesheet$
|
|
5911
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
5910
|
+
var css_248z$8 = "._TYtc-{display:inline-block;position:relative}._TYtc- ._d2vlL{width:120px}._TYtc- ._d2vlL ._Fd5oF._BaSQV{transform:rotate(-180deg)}._TYtc- ._d2vlL ._Fd5oF._bOKRT{fill:#9d9fa1;opacity:.4}._TYtc- ._zTWYy>input:focus{box-shadow:none!important;border:1px solid #898989!important}._TYtc- ._Fd5oF{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._TYtc- ._Fd5oF._BaSQV{transform:rotate(-180deg)}._coPJy{width:120px}._coPJy ._1gN8l._-Zy78{background-color:#efefef;border-radius:6px}";
|
|
5911
|
+
var styles$3 = {"timePickerContainer":"_TYtc-","input":"_d2vlL","icon":"_Fd5oF","open":"_BaSQV","disabled":"_bOKRT","ignoreFocusStyle":"_zTWYy","timePickerFlyout":"_coPJy","option":"_1gN8l","exactMatch":"_-Zy78"};
|
|
5912
|
+
var stylesheet$8="._TYtc-{display:inline-block;position:relative}._TYtc- ._d2vlL{width:120px}._TYtc- ._d2vlL ._Fd5oF._BaSQV{transform:rotate(-180deg)}._TYtc- ._d2vlL ._Fd5oF._bOKRT{fill:#9d9fa1;opacity:.4}._TYtc- ._zTWYy>input:focus{box-shadow:none!important;border:1px solid #898989!important}._TYtc- ._Fd5oF{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._TYtc- ._Fd5oF._BaSQV{transform:rotate(-180deg)}._coPJy{width:120px}._coPJy ._1gN8l._-Zy78{background-color:#efefef;border-radius:6px}";
|
|
5913
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
5912
5914
|
|
|
5913
5915
|
const TimeDropdown = _ref => {
|
|
5914
5916
|
let {
|
|
@@ -5954,7 +5956,7 @@ const TimeDropdown = _ref => {
|
|
|
5954
5956
|
"aria-labelledby": ariaLabelledBy,
|
|
5955
5957
|
"aria-describedby": ariaDescribedBy,
|
|
5956
5958
|
"data-testid": dataTestId && "".concat(dataTestId, "-dropdown"),
|
|
5957
|
-
className: styles$
|
|
5959
|
+
className: styles$3.timePickerFlyout,
|
|
5958
5960
|
onMouseOver: () => setIsOptionHovered(true),
|
|
5959
5961
|
onMouseLeave: () => setIsOptionHovered(false)
|
|
5960
5962
|
}, items.map((item, index$1) => /*#__PURE__*/React__default["default"].createElement(index.FlyoutOption, {
|
|
@@ -5970,8 +5972,8 @@ const TimeDropdown = _ref => {
|
|
|
5970
5972
|
},
|
|
5971
5973
|
onClick: () => onClick(index$1),
|
|
5972
5974
|
"data-testid": dataTestId && "".concat(dataTestId, "-option-").concat(index$1),
|
|
5973
|
-
className: classNames__default["default"](styles$
|
|
5974
|
-
[styles$
|
|
5975
|
+
className: classNames__default["default"](styles$3.option, {
|
|
5976
|
+
[styles$3.exactMatch]: (scrolledToItem === null || scrolledToItem === void 0 ? void 0 : scrolledToItem.index) === index$1 && scrolledToItem.isExactMatch && !isOptionHovered
|
|
5975
5977
|
})
|
|
5976
5978
|
}, item.label))),
|
|
5977
5979
|
anchorNode: inputRef.current,
|
|
@@ -6222,8 +6224,8 @@ const TimeInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6222
6224
|
"aria-expanded": ariaExpanded,
|
|
6223
6225
|
"aria-controls": ariaControls,
|
|
6224
6226
|
ref: ref,
|
|
6225
|
-
className: classNames__default["default"](styles$
|
|
6226
|
-
[styles$
|
|
6227
|
+
className: classNames__default["default"](styles$3.input, {
|
|
6228
|
+
[styles$3.ignoreFocusStyle]: !!ariaActiveDescendant || isOptionHovered
|
|
6227
6229
|
}),
|
|
6228
6230
|
"aria-invalid": isInvalid,
|
|
6229
6231
|
onKeyDown: handleKeyDown,
|
|
@@ -6248,8 +6250,8 @@ const TimePickerIcon = _ref => {
|
|
|
6248
6250
|
"aria-hidden": "true",
|
|
6249
6251
|
tabIndex: -1,
|
|
6250
6252
|
disabled: isDisabled,
|
|
6251
|
-
className: classNames__default["default"](styles$
|
|
6252
|
-
[styles$
|
|
6253
|
+
className: classNames__default["default"](styles$3.icon, {
|
|
6254
|
+
[styles$3.open]: isOpen
|
|
6253
6255
|
})
|
|
6254
6256
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronDownIcon, {
|
|
6255
6257
|
onClick: !isDisabled ? () => {
|
|
@@ -6439,7 +6441,7 @@ const TimePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
6439
6441
|
};
|
|
6440
6442
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6441
6443
|
id: timePickerId,
|
|
6442
|
-
className: styles$
|
|
6444
|
+
className: styles$3.timePickerContainer,
|
|
6443
6445
|
"data-testid": dataTestId
|
|
6444
6446
|
}, /*#__PURE__*/React__default["default"].createElement(TimeInput, {
|
|
6445
6447
|
id: inputId,
|
|
@@ -6502,10 +6504,10 @@ const {
|
|
|
6502
6504
|
Provider: ToggleButtonGroupContextProvider
|
|
6503
6505
|
} = index.createContextUtilities(null);
|
|
6504
6506
|
|
|
6505
|
-
var css_248z$
|
|
6506
|
-
var styles$
|
|
6507
|
-
var stylesheet$
|
|
6508
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
6507
|
+
var css_248z$7 = "._P3rEc{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._ESdpK{background-color:rgba(50,54,58,.08)}._OS60Z{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._8Uqsl{color:rgba(81,85,89,.4);cursor:not-allowed}._7GA8W{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._lCUq3{color:#085caf;border-color:#085caf}._lCUq3,._XOa7S{background:rgba(11,110,208,.11)}._XOa7S{color:#0854a1;border-color:#0854a1}._CMCRg{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._B3L-E{position:relative;display:inline-grid}._B3L-E svg{fill:currentColor}._B3L-E ._N1OEn{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._B3L-E ._N1OEn+._HvZuH{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}._B3L-E ._N1OEn+._HvZuH._8n8MY{padding:5px;max-width:36px;min-width:36px}._B3L-E ._N1OEn+._HvZuH._-Fi-3{padding:0 16px}._B3L-E ._N1OEn+._HvZuH._CkT58{padding:0 16px 0 12px}._B3L-E ._N1OEn:hover+._HvZuH{background-color:rgba(50,54,58,.08)}._B3L-E ._N1OEn:disabled+._HvZuH{color:rgba(81,85,89,.4);cursor:not-allowed}._B3L-E ._N1OEn:active+._HvZuH,._B3L-E ._N1OEn:focus:active+._HvZuH{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._B3L-E ._N1OEn:checked+._HvZuH{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._B3L-E ._N1OEn:checked:hover+._HvZuH{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._B3L-E ._N1OEn:checked:disabled+._HvZuH{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._B3L-E ._N1OEn:checked:active+._HvZuH,._B3L-E ._N1OEn:checked:focus:active+._HvZuH{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._b0EEG{display:inline-flex;position:relative}._b0EEG:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._b0EEG>*{flex-shrink:0;flex-grow:0}._pRHKj{border:none;margin:0;padding:0}._pRHKj legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._B3L-E ._N1OEn.focus-visible,._B3L-E ._N1OEn:focus-visible{outline:none}._B3L-E ._N1OEn.focus-visible+._HvZuH,._B3L-E ._N1OEn:focus-visible+._HvZuH{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6508
|
+
var styles$2 = {"default":"_P3rEc","hovered":"_ESdpK","pressed":"_OS60Z","disabled":"_8Uqsl","selectedDefault":"_7GA8W","selectedHovered":"_lCUq3","selectedPressed":"_XOa7S","selectedDisabled":"_CMCRg","toggleContainer":"_B3L-E","toggleInput":"_N1OEn","toggleButton":"_HvZuH","iconOnly":"_8n8MY","text":"_-Fi-3","iconText":"_CkT58","toggleButtonGroup":"_b0EEG","toggleButtonGroupFieldset":"_pRHKj"};
|
|
6509
|
+
var stylesheet$7="._P3rEc{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._ESdpK{background-color:rgba(50,54,58,.08)}._OS60Z{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._8Uqsl{color:rgba(81,85,89,.4);cursor:not-allowed}._7GA8W{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._lCUq3{color:#085caf;border-color:#085caf}._lCUq3,._XOa7S{background:rgba(11,110,208,.11)}._XOa7S{color:#0854a1;border-color:#0854a1}._CMCRg{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._B3L-E{position:relative;display:inline-grid}._B3L-E svg{fill:currentColor}._B3L-E ._N1OEn{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._B3L-E ._N1OEn+._HvZuH{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}._B3L-E ._N1OEn+._HvZuH._8n8MY{padding:5px;max-width:36px;min-width:36px}._B3L-E ._N1OEn+._HvZuH._-Fi-3{padding:0 16px}._B3L-E ._N1OEn+._HvZuH._CkT58{padding:0 16px 0 12px}._B3L-E ._N1OEn:hover+._HvZuH{background-color:rgba(50,54,58,.08)}._B3L-E ._N1OEn:disabled+._HvZuH{color:rgba(81,85,89,.4);cursor:not-allowed}._B3L-E ._N1OEn:active+._HvZuH,._B3L-E ._N1OEn:focus:active+._HvZuH{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._B3L-E ._N1OEn:checked+._HvZuH{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._B3L-E ._N1OEn:checked:hover+._HvZuH{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._B3L-E ._N1OEn:checked:disabled+._HvZuH{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._B3L-E ._N1OEn:checked:active+._HvZuH,._B3L-E ._N1OEn:checked:focus:active+._HvZuH{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._b0EEG{display:inline-flex;position:relative}._b0EEG:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._b0EEG>*{flex-shrink:0;flex-grow:0}._pRHKj{border:none;margin:0;padding:0}._pRHKj legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._B3L-E ._N1OEn.focus-visible,._B3L-E ._N1OEn:focus-visible{outline:none}._B3L-E ._N1OEn.focus-visible+._HvZuH,._B3L-E ._N1OEn:focus-visible+._HvZuH{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6510
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
6509
6511
|
|
|
6510
6512
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
6511
6513
|
let {
|
|
@@ -6527,7 +6529,7 @@ const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6527
6529
|
isDisabled
|
|
6528
6530
|
}
|
|
6529
6531
|
}, /*#__PURE__*/React__default["default"].createElement("fieldset", {
|
|
6530
|
-
className: styles$
|
|
6532
|
+
className: styles$2.toggleButtonGroupFieldset,
|
|
6531
6533
|
disabled: isDisabled
|
|
6532
6534
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-to-interactive-role
|
|
6533
6535
|
,
|
|
@@ -6536,7 +6538,7 @@ const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6536
6538
|
"aria-labelledby": ariaLabelledby,
|
|
6537
6539
|
ref: ref
|
|
6538
6540
|
}, label && /*#__PURE__*/React__default["default"].createElement("legend", null, label), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6539
|
-
className: styles$
|
|
6541
|
+
className: styles$2.toggleButtonGroup
|
|
6540
6542
|
}, children)));
|
|
6541
6543
|
});
|
|
6542
6544
|
|
|
@@ -6577,7 +6579,7 @@ const ToggleButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
6577
6579
|
}
|
|
6578
6580
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6579
6581
|
ref: ref,
|
|
6580
|
-
className: styles$
|
|
6582
|
+
className: styles$2.toggleContainer
|
|
6581
6583
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
6582
6584
|
type: inGroup ? 'radio' : 'checkbox',
|
|
6583
6585
|
name: name,
|
|
@@ -6586,7 +6588,7 @@ const ToggleButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
6586
6588
|
id: id,
|
|
6587
6589
|
disabled: disabled,
|
|
6588
6590
|
value: value,
|
|
6589
|
-
className: styles$
|
|
6591
|
+
className: styles$2.toggleInput,
|
|
6590
6592
|
"data-testid": index.getSubDataTestId(dataTestId, 'input'),
|
|
6591
6593
|
role: inGroup ? undefined : 'button',
|
|
6592
6594
|
"aria-pressed": inGroup ? undefined : checked,
|
|
@@ -6594,19 +6596,19 @@ const ToggleButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
6594
6596
|
"aria-labelledby": ariaLabelledby
|
|
6595
6597
|
}), /*#__PURE__*/React__default["default"].createElement("label", {
|
|
6596
6598
|
htmlFor: id,
|
|
6597
|
-
className: classNames__default["default"]([index.buttonStyles.btn, styles$
|
|
6598
|
-
[styles$
|
|
6599
|
-
[styles$
|
|
6600
|
-
[styles$
|
|
6599
|
+
className: classNames__default["default"]([index.buttonStyles.btn, styles$2.toggleButton], {
|
|
6600
|
+
[styles$2.iconOnly]: kind === 'icon',
|
|
6601
|
+
[styles$2.textOnly]: kind === 'text',
|
|
6602
|
+
[styles$2.iconText]: kind === 'icon-text'
|
|
6601
6603
|
}),
|
|
6602
6604
|
"data-testid": index.getSubDataTestId(dataTestId, 'label')
|
|
6603
6605
|
}, children));
|
|
6604
6606
|
});
|
|
6605
6607
|
|
|
6606
|
-
var css_248z$
|
|
6608
|
+
var css_248z$6 = ".Chat_default__5suibh0{width:100%;height:100%;display:flex;flex-direction:column}";
|
|
6607
6609
|
var Chat_css_ts_vanilla = {"Chat_default__5suibh0":"Chat_default__5suibh0"};
|
|
6608
|
-
var stylesheet$
|
|
6609
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
6610
|
+
var stylesheet$6=".Chat_default__5suibh0{width:100%;height:100%;display:flex;flex-direction:column}";
|
|
6611
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
6610
6612
|
|
|
6611
6613
|
var __default__ = 'Chat_default__5suibh0';
|
|
6612
6614
|
|
|
@@ -6641,10 +6643,10 @@ const Chat = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6641
6643
|
}, children));
|
|
6642
6644
|
});
|
|
6643
6645
|
|
|
6644
|
-
var css_248z$
|
|
6646
|
+
var css_248z$5 = ".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}";
|
|
6645
6647
|
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"};
|
|
6646
|
-
var stylesheet$
|
|
6647
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
6648
|
+
var stylesheet$5=".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}";
|
|
6649
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
6648
6650
|
|
|
6649
6651
|
var characterCountMessage = 'ChatInput_characterCountMessage__1k9xlz95';
|
|
6650
6652
|
var inputHelpInformationCounter = 'ChatInput_inputHelpInformationCounter__1k9xlz97';
|
|
@@ -6774,15 +6776,15 @@ const ChatInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6774
6776
|
}, value.length, " / ", characterLimit))));
|
|
6775
6777
|
});
|
|
6776
6778
|
|
|
6777
|
-
var css_248z$
|
|
6779
|
+
var css_248z$4 = ".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}";
|
|
6778
6780
|
var ChatMessageList_css_ts_vanilla = {"ChatMessageList_wrapper__70ppzb0":"ChatMessageList_wrapper__70ppzb0","ChatMessageList_scrollableRegion__70ppzb1":"ChatMessageList_scrollableRegion__70ppzb1","ChatMessageList_messageList__70ppzb2":"ChatMessageList_messageList__70ppzb2"};
|
|
6779
|
-
var stylesheet$
|
|
6780
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
6781
|
+
var stylesheet$4=".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}";
|
|
6782
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$4);}
|
|
6781
6783
|
|
|
6782
|
-
var css_248z$
|
|
6784
|
+
var css_248z$3 = ".ChatMessage_message__t6bzr50{outline:none;display:flex;padding:20px;flex-direction:column;align-items:flex-start;color:#515559;font-family:\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:21px;grid-gap:8px;gap:8px;border-top:1px solid #e5e5e5}.ChatMessage_message__t6bzr50:focus{box-shadow:inset 0 0 0 2px #0a3f88;border-color:transparent}.ChatMessageList_messageList__70ppzb2>li+.ChatMessage_message__t6bzr50{margin-top:0}.ChatMessage_message__t6bzr50:last-child{border-bottom:1px solid #e5e5e5}.ChatMessage_messageLabelContainer__t6bzr51{display:flex;grid-gap:8px;gap:8px;align-items:center}.ChatMessage_messageLabel__t6bzr52{font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}.ChatMessage_userIcon__t6bzr53{fill:#515559}.ChatMessage_errorIcon__t6bzr54{fill:#da1c3d}.ChatMessage_content__t6bzr55{width:100%;padding-top:2px}.ChatMessage_messageVariant_bot__t6bzr56{background-color:#fafafa}.ChatMessage_messageVariant_user__t6bzr57{background-color:#fff}.ChatMessage_messageLevel_info__t6bzr58{background-color:#f1f7fd}.ChatMessage_messageLevel_error__t6bzr59{background-color:#fff4f3}";
|
|
6783
6785
|
var ChatMessage_css_ts_vanilla = {"ChatMessage_message__t6bzr50":"ChatMessage_message__t6bzr50","ChatMessageList_messageList__70ppzb2":"ChatMessageList_messageList__70ppzb2","ChatMessage_messageLabelContainer__t6bzr51":"ChatMessage_messageLabelContainer__t6bzr51","ChatMessage_messageLabel__t6bzr52":"ChatMessage_messageLabel__t6bzr52","ChatMessage_userIcon__t6bzr53":"ChatMessage_userIcon__t6bzr53","ChatMessage_errorIcon__t6bzr54":"ChatMessage_errorIcon__t6bzr54","ChatMessage_content__t6bzr55":"ChatMessage_content__t6bzr55","ChatMessage_messageVariant_bot__t6bzr56":"ChatMessage_messageVariant_bot__t6bzr56","ChatMessage_messageVariant_user__t6bzr57":"ChatMessage_messageVariant_user__t6bzr57","ChatMessage_messageLevel_info__t6bzr58":"ChatMessage_messageLevel_info__t6bzr58","ChatMessage_messageLevel_error__t6bzr59":"ChatMessage_messageLevel_error__t6bzr59"};
|
|
6784
|
-
var stylesheet$
|
|
6785
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
6786
|
+
var stylesheet$3=".ChatMessage_message__t6bzr50{outline:none;display:flex;padding:20px;flex-direction:column;align-items:flex-start;color:#515559;font-family:\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:21px;grid-gap:8px;gap:8px;border-top:1px solid #e5e5e5}.ChatMessage_message__t6bzr50:focus{box-shadow:inset 0 0 0 2px #0a3f88;border-color:transparent}.ChatMessageList_messageList__70ppzb2>li+.ChatMessage_message__t6bzr50{margin-top:0}.ChatMessage_message__t6bzr50:last-child{border-bottom:1px solid #e5e5e5}.ChatMessage_messageLabelContainer__t6bzr51{display:flex;grid-gap:8px;gap:8px;align-items:center}.ChatMessage_messageLabel__t6bzr52{font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}.ChatMessage_userIcon__t6bzr53{fill:#515559}.ChatMessage_errorIcon__t6bzr54{fill:#da1c3d}.ChatMessage_content__t6bzr55{width:100%;padding-top:2px}.ChatMessage_messageVariant_bot__t6bzr56{background-color:#fafafa}.ChatMessage_messageVariant_user__t6bzr57{background-color:#fff}.ChatMessage_messageLevel_info__t6bzr58{background-color:#f1f7fd}.ChatMessage_messageLevel_error__t6bzr59{background-color:#fff4f3}";
|
|
6787
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$3);}
|
|
6786
6788
|
|
|
6787
6789
|
var content = 'ChatMessage_content__t6bzr55';
|
|
6788
6790
|
var errorIcon = 'ChatMessage_errorIcon__t6bzr54';
|
|
@@ -6904,10 +6906,10 @@ var messageList = 'ChatMessageList_messageList__70ppzb2';
|
|
|
6904
6906
|
var scrollableRegion = 'ChatMessageList_scrollableRegion__70ppzb1';
|
|
6905
6907
|
var wrapper = 'ChatMessageList_wrapper__70ppzb0';
|
|
6906
6908
|
|
|
6907
|
-
var css_248z$
|
|
6909
|
+
var css_248z$2 = "@keyframes Loader_rotate__1e3i2yh3{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes Loader_fadeOut__1e3i2yh4{0%{opacity:0}to{opacity:1}}.Loader_container__1e3i2yh0{display:flex;flex-direction:column;grid-gap:2px;gap:2px;padding-top:20px;padding-bottom:4px;align-items:center}.Loader_cancelButton__1e3i2yh1{display:flex;flex-direction:row;align-items:center}.Loader_combinedSpinner__1e3i2yh2{min-height:24px;position:relative;display:flex;justify-content:center}.Loader_innerSpinner__1e3i2yh5{animation:Loader_rotate__1e3i2yh3 2s linear infinite;position:absolute}.Loader_fullPulsingSpinner__1e3i2yh6{animation:Loader_rotate__1e3i2yh3 2s linear infinite,Loader_fadeOut__1e3i2yh4 .8s linear infinite alternate;position:absolute}";
|
|
6908
6910
|
var Loader_css_ts_vanilla = {"Loader_container__1e3i2yh0":"Loader_container__1e3i2yh0","Loader_cancelButton__1e3i2yh1":"Loader_cancelButton__1e3i2yh1","Loader_combinedSpinner__1e3i2yh2":"Loader_combinedSpinner__1e3i2yh2","Loader_innerSpinner__1e3i2yh5":"Loader_innerSpinner__1e3i2yh5","Loader_rotate__1e3i2yh3":"Loader_rotate__1e3i2yh3","Loader_fullPulsingSpinner__1e3i2yh6":"Loader_fullPulsingSpinner__1e3i2yh6","Loader_fadeOut__1e3i2yh4":"Loader_fadeOut__1e3i2yh4"};
|
|
6909
|
-
var stylesheet$
|
|
6910
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$
|
|
6911
|
+
var stylesheet$2="@keyframes Loader_rotate__1e3i2yh3{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes Loader_fadeOut__1e3i2yh4{0%{opacity:0}to{opacity:1}}.Loader_container__1e3i2yh0{display:flex;flex-direction:column;grid-gap:2px;gap:2px;padding-top:20px;padding-bottom:4px;align-items:center}.Loader_cancelButton__1e3i2yh1{display:flex;flex-direction:row;align-items:center}.Loader_combinedSpinner__1e3i2yh2{min-height:24px;position:relative;display:flex;justify-content:center}.Loader_innerSpinner__1e3i2yh5{animation:Loader_rotate__1e3i2yh3 2s linear infinite;position:absolute}.Loader_fullPulsingSpinner__1e3i2yh6{animation:Loader_rotate__1e3i2yh3 2s linear infinite,Loader_fadeOut__1e3i2yh4 .8s linear infinite alternate;position:absolute}";
|
|
6912
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$2);}
|
|
6911
6913
|
|
|
6912
6914
|
var cancelButton = 'Loader_cancelButton__1e3i2yh1';
|
|
6913
6915
|
var combinedSpinner = 'Loader_combinedSpinner__1e3i2yh2';
|
|
@@ -7050,10 +7052,10 @@ const ChatMessageList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
7050
7052
|
})));
|
|
7051
7053
|
});
|
|
7052
7054
|
|
|
7053
|
-
var css_248z = ".
|
|
7054
|
-
var styles = {"font-size-12":"
|
|
7055
|
-
var stylesheet=".
|
|
7056
|
-
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z);}
|
|
7055
|
+
var css_248z$1 = "._vbQha{font-size:.75rem!important}._Ihdgl{font-size:.875rem!important}._OgIEI{font-size:1rem!important}._GYR4P{font-size:1.125rem!important}._nIEUQ{font-size:1.25rem!important}._MY0Vp{font-size:1.5rem!important}._fAM9g{font-size:1.75rem!important}._lK33e{font-size:2.25rem!important}._hvbzU{font-size:2.5rem!important}._uI5Ih{font-size:3rem!important}._iwMyX{font-size:4rem!important}._bLEia{font-size:4.5rem!important}._Lz2Zb{line-height:1rem!important}._IQ4NB{line-height:1.25rem!important}._sJNNi{line-height:1.5rem!important}._C-lUl{line-height:1.75rem!important}._uGotB{line-height:2rem!important}._ie08T{line-height:2.188rem!important}._73eSh{line-height:2.5rem!important}._Sjbf9{line-height:2.75rem!important}._L--yT{line-height:3.125rem!important}._w6BrV{line-height:4.25rem!important}._1AMUU{line-height:4.5rem!important}._gPNT-{font-weight:100!important}._nv3NY{font-weight:200!important}._5tL-g{font-weight:300!important}._iSda3{font-weight:400!important}._vg1Uj{font-weight:500!important}._yHEWT{font-weight:600!important}._lJKsO{font-weight:700!important}._aE6Bn{font-weight:800!important}._WxuRF{font-weight:900!important}._2HfgU{font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._vlP8m{font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._Kyfeh{font-family:\"72Condensed\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._jmwgo{font-family:\"72Mono\",monospace!important}._S9HuV{font-weight:700!important}._S9HuV,._T7YKR{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._T7YKR{font-weight:400!important}._YOIrj{font-weight:300!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._8s9dL,._YOIrj{font-size:4.5rem!important;line-height:4.5rem!important;color:#2a2a2a!important}._8s9dL{font-weight:700!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._1NqJY{font-weight:400!important}._1NqJY,._RlQZw{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._RlQZw{font-weight:700!important}._B1X9a{font-weight:400!important}._B1X9a,._Rsp4I{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._Rsp4I{font-weight:700!important}._rmSo8{font-weight:400!important}._eI9jG,._rmSo8{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._eI9jG{font-weight:700!important}._8QsgW{font-weight:400!important}._8QsgW,._xMcbv{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._xMcbv{font-weight:700!important}._EqMBA{font-weight:400!important}._5I1-t,._EqMBA{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._5I1-t{font-weight:700!important}._3-5wY{font-weight:400!important}._3-5wY,._eTH3r{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._eTH3r{font-weight:700!important}._pPzeC{font-weight:400!important}._ehxv-,._pPzeC{font-size:2.25rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._ehxv-{font-weight:700!important}._MopE2{font-weight:400!important}._MopE2,._tCf2x{font-size:1.75rem!important;line-height:2.188rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._tCf2x{font-weight:700!important}._dx1MW{font-weight:400!important}._aF6fx,._dx1MW{font-size:1.5rem!important;line-height:2rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._aF6fx{font-weight:700!important}._IZI05{font-weight:400!important}._-7CK-,._IZI05{font-size:1.25rem!important;line-height:1.75rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._-7CK-{font-weight:700!important}._rwxvh{font-weight:400!important}._rwxvh,._X-sj6{font-size:1.125rem!important;line-height:1.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._X-sj6{font-weight:700!important}._Q4xYU{font-weight:400!important}._Q4xYU,._QsgLa{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._QsgLa{font-weight:700!important}._H7KFw{font-weight:400!important}._H7KFw,._O1rKN{font-size:.75rem!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#595959!important}._MnDtz,._O1rKN{font-weight:700!important}._MnDtz{font-size:.875rem!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._MnDtz,._Niczj{line-height:1.25rem!important;color:#2a2a2a!important}._Niczj{font-size:1rem!important;font-weight:400!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._bI2Ju{color:#ba4f0d!important}._bI2Ju,._VreHw{font-size:.75rem!important;font-weight:400!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._VreHw{color:#da1c3d!important}";
|
|
7056
|
+
var styles$1 = {"font-size-12":"_vbQha","font-size-14":"_Ihdgl","font-size-16":"_OgIEI","font-size-18":"_GYR4P","font-size-20":"_nIEUQ","font-size-24":"_MY0Vp","font-size-28":"_fAM9g","font-size-36":"_lK33e","font-size-40":"_hvbzU","font-size-48":"_uI5Ih","font-size-64":"_iwMyX","font-size-72":"_bLEia","line-height-16":"_Lz2Zb","line-height-20":"_IQ4NB","line-height-24":"_sJNNi","line-height-28":"_C-lUl","line-height-32":"_uGotB","line-height-35":"_ie08T","line-height-40":"_73eSh","line-height-44":"_Sjbf9","line-height-50":"_L--yT","line-height-68":"_w6BrV","line-height-72":"_1AMUU","font-weight-thin":"_gPNT-","font-weight-extralight":"_nv3NY","font-weight-light":"_5tL-g","font-weight-regular":"_iSda3","font-weight-medium":"_vg1Uj","font-weight-demibold":"_yHEWT","font-weight-bold":"_lJKsO","font-weight-extrabold":"_aE6Bn","font-weight-black":"_WxuRF","font-family-default":"_2HfgU","font-family-default-duplex":"_vlP8m","font-family-default-condensed":"_Kyfeh","font-family-code":"_jmwgo","body-text-bold":"_S9HuV","body-text-regular":"_T7YKR","data-viz-large-number-light":"_YOIrj","data-viz-large-number-semibold":"_8s9dL","display-body-primary-regular":"_1NqJY","display-body-primary-bold":"_RlQZw","display-body-secondary-regular":"_B1X9a","display-body-secondary-bold":"_Rsp4I","display-body-tertiary-regular":"_rmSo8","display-body-tertiary-bold":"_eI9jG","display-heading-primary-regular":"_8QsgW","display-heading-primary-bold":"_xMcbv","display-heading-secondary-regular":"_EqMBA","display-heading-secondary-bold":"_5I1-t","display-heading-tertiary-regular":"_3-5wY","display-heading-tertiary-bold":"_eTH3r","heading-1-regular":"_pPzeC","heading-1-bold":"_ehxv-","heading-2-regular":"_MopE2","heading-2-bold":"_tCf2x","heading-3-regular":"_dx1MW","heading-3-bold":"_aF6fx","heading-4-regular":"_IZI05","heading-4-bold":"_-7CK-","heading-5-regular":"_rwxvh","heading-5-bold":"_X-sj6","heading-6-regular":"_Q4xYU","heading-6-bold":"_QsgLa","helper-text-regular":"_H7KFw","helper-text-bold":"_O1rKN","input-label-bold":"_MnDtz","input-label-regular":"_Niczj","warning-text-regular":"_bI2Ju","error-text-regular":"_VreHw"};
|
|
7057
|
+
var stylesheet$1="._vbQha{font-size:.75rem!important}._Ihdgl{font-size:.875rem!important}._OgIEI{font-size:1rem!important}._GYR4P{font-size:1.125rem!important}._nIEUQ{font-size:1.25rem!important}._MY0Vp{font-size:1.5rem!important}._fAM9g{font-size:1.75rem!important}._lK33e{font-size:2.25rem!important}._hvbzU{font-size:2.5rem!important}._uI5Ih{font-size:3rem!important}._iwMyX{font-size:4rem!important}._bLEia{font-size:4.5rem!important}._Lz2Zb{line-height:1rem!important}._IQ4NB{line-height:1.25rem!important}._sJNNi{line-height:1.5rem!important}._C-lUl{line-height:1.75rem!important}._uGotB{line-height:2rem!important}._ie08T{line-height:2.188rem!important}._73eSh{line-height:2.5rem!important}._Sjbf9{line-height:2.75rem!important}._L--yT{line-height:3.125rem!important}._w6BrV{line-height:4.25rem!important}._1AMUU{line-height:4.5rem!important}._gPNT-{font-weight:100!important}._nv3NY{font-weight:200!important}._5tL-g{font-weight:300!important}._iSda3{font-weight:400!important}._vg1Uj{font-weight:500!important}._yHEWT{font-weight:600!important}._lJKsO{font-weight:700!important}._aE6Bn{font-weight:800!important}._WxuRF{font-weight:900!important}._2HfgU{font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._vlP8m{font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._Kyfeh{font-family:\"72Condensed\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._jmwgo{font-family:\"72Mono\",monospace!important}._S9HuV{font-weight:700!important}._S9HuV,._T7YKR{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._T7YKR{font-weight:400!important}._YOIrj{font-weight:300!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._8s9dL,._YOIrj{font-size:4.5rem!important;line-height:4.5rem!important;color:#2a2a2a!important}._8s9dL{font-weight:700!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._1NqJY{font-weight:400!important}._1NqJY,._RlQZw{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._RlQZw{font-weight:700!important}._B1X9a{font-weight:400!important}._B1X9a,._Rsp4I{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._Rsp4I{font-weight:700!important}._rmSo8{font-weight:400!important}._eI9jG,._rmSo8{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._eI9jG{font-weight:700!important}._8QsgW{font-weight:400!important}._8QsgW,._xMcbv{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._xMcbv{font-weight:700!important}._EqMBA{font-weight:400!important}._5I1-t,._EqMBA{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._5I1-t{font-weight:700!important}._3-5wY{font-weight:400!important}._3-5wY,._eTH3r{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._eTH3r{font-weight:700!important}._pPzeC{font-weight:400!important}._ehxv-,._pPzeC{font-size:2.25rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._ehxv-{font-weight:700!important}._MopE2{font-weight:400!important}._MopE2,._tCf2x{font-size:1.75rem!important;line-height:2.188rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._tCf2x{font-weight:700!important}._dx1MW{font-weight:400!important}._aF6fx,._dx1MW{font-size:1.5rem!important;line-height:2rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._aF6fx{font-weight:700!important}._IZI05{font-weight:400!important}._-7CK-,._IZI05{font-size:1.25rem!important;line-height:1.75rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._-7CK-{font-weight:700!important}._rwxvh{font-weight:400!important}._rwxvh,._X-sj6{font-size:1.125rem!important;line-height:1.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._X-sj6{font-weight:700!important}._Q4xYU{font-weight:400!important}._Q4xYU,._QsgLa{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._QsgLa{font-weight:700!important}._H7KFw{font-weight:400!important}._H7KFw,._O1rKN{font-size:.75rem!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#595959!important}._MnDtz,._O1rKN{font-weight:700!important}._MnDtz{font-size:.875rem!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._MnDtz,._Niczj{line-height:1.25rem!important;color:#2a2a2a!important}._Niczj{font-size:1rem!important;font-weight:400!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._bI2Ju{color:#ba4f0d!important}._bI2Ju,._VreHw{font-size:.75rem!important;font-weight:400!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._VreHw{color:#da1c3d!important}";
|
|
7058
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$1);}
|
|
7057
7059
|
|
|
7058
7060
|
const TypographyTypesMapper = {
|
|
7059
7061
|
h1: {
|
|
@@ -7105,10 +7107,42 @@ const Typography = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
7105
7107
|
}, [baseStyle, fontWeight, variant]);
|
|
7106
7108
|
return /*#__PURE__*/React__default["default"].createElement(Element, _extends__default["default"]({
|
|
7107
7109
|
ref: ref,
|
|
7108
|
-
className: classNames__default["default"](styles[classNameGenerated], props.className)
|
|
7110
|
+
className: classNames__default["default"](styles$1[classNameGenerated], props.className)
|
|
7109
7111
|
}, props), children);
|
|
7110
7112
|
});
|
|
7111
7113
|
|
|
7114
|
+
var css_248z = "._UdSvJ{background-color:#f6f6f8;color:#2a2a2a;fill:#2a2a2a;border:1px solid #2a2a2a;border-radius:4px;position:relative;display:inline-flex;grid-gap:4px;gap:4px;align-items:center;padding:4px 8px;font-family:\"72\";font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}._UdSvJ._N-VKJ{background-color:#fff4ef;border-color:#ba4f0d;color:#ba4f0d;fill:#ba4f0d}._UdSvJ._JrlY3{background-color:#fff4f3;border-color:#da1c3d;color:#da1c3d;fill:#da1c3d}._UdSvJ._mqgy9{background-color:#f3f8ef;border-color:#457d25;color:#457d25;fill:#457d25}._UdSvJ._lGMzs{background-color:#f1f7fd;border-color:#006fd3;color:#006fd3;fill:#006fd3}";
|
|
7115
|
+
var styles = {"indicator":"_UdSvJ","warning":"_N-VKJ","error":"_JrlY3","success":"_mqgy9","informational":"_lGMzs"};
|
|
7116
|
+
var stylesheet="._UdSvJ{background-color:#f6f6f8;color:#2a2a2a;fill:#2a2a2a;border:1px solid #2a2a2a;border-radius:4px;position:relative;display:inline-flex;grid-gap:4px;gap:4px;align-items:center;padding:4px 8px;font-family:\"72\";font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}._UdSvJ._N-VKJ{background-color:#fff4ef;border-color:#ba4f0d;color:#ba4f0d;fill:#ba4f0d}._UdSvJ._JrlY3{background-color:#fff4f3;border-color:#da1c3d;color:#da1c3d;fill:#da1c3d}._UdSvJ._mqgy9{background-color:#f3f8ef;border-color:#457d25;color:#457d25;fill:#457d25}._UdSvJ._lGMzs{background-color:#f1f7fd;border-color:#006fd3;color:#006fd3;fill:#006fd3}";
|
|
7117
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z);}
|
|
7118
|
+
|
|
7119
|
+
const variantIcons = {
|
|
7120
|
+
warning: icons_index.WarningIcon,
|
|
7121
|
+
error: icons_index.ErrorIcon,
|
|
7122
|
+
success: icons_index.SuccessIcon,
|
|
7123
|
+
informational: icons_index.InformationIcon
|
|
7124
|
+
};
|
|
7125
|
+
const Indicator = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
7126
|
+
let {
|
|
7127
|
+
children,
|
|
7128
|
+
variant = 'generic',
|
|
7129
|
+
className = '',
|
|
7130
|
+
hideIcon = false,
|
|
7131
|
+
...rest
|
|
7132
|
+
} = _ref;
|
|
7133
|
+
const showIcon = React.useMemo(() => variantIcons[variant] && !hideIcon, [hideIcon, variant]);
|
|
7134
|
+
const Icon = variantIcons[variant];
|
|
7135
|
+
const classes = classNames__default["default"](className, styles.indicator, {
|
|
7136
|
+
[styles[variant]]: variant
|
|
7137
|
+
});
|
|
7138
|
+
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
|
|
7139
|
+
className: classes,
|
|
7140
|
+
ref: ref
|
|
7141
|
+
}, rest), showIcon && /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7142
|
+
size: "small"
|
|
7143
|
+
}), children);
|
|
7144
|
+
});
|
|
7145
|
+
|
|
7112
7146
|
/* eslint-disable camelcase */
|
|
7113
7147
|
|
|
7114
7148
|
exports.Input = index.Input$1;
|
|
@@ -7129,6 +7163,7 @@ exports.ComboboxOption = ComboboxOption;
|
|
|
7129
7163
|
exports.Drawer = Drawer;
|
|
7130
7164
|
exports.FilterAnchor = FilterAnchor;
|
|
7131
7165
|
exports.HStack = HStack;
|
|
7166
|
+
exports.Indicator = Indicator;
|
|
7132
7167
|
exports.LayoutGrid = LayoutGrid;
|
|
7133
7168
|
exports.LayoutGridItem = LayoutGridItem;
|
|
7134
7169
|
exports.LoadingSpinner = LoadingSpinner;
|