@qualtrics/ui-react 2.22.1 → 2.23.1-alpha.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 +24 -0
- package/dist/__shared/cjs/{index-75d9309a.js → index-7f78e01b.js} +115 -3
- package/dist/__shared/cjs/{index-a8c1a789.js → index-cf860ea0.js} +548 -348
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Banner/Banner.css.js +21 -0
- package/dist/components/Banner/Banner.css.ts.vanilla.js +8 -0
- package/dist/components/Banner/Banner.js +105 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Check.js +1 -1
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox.js +2 -2
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane.js +2 -0
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider.js +2 -1
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +1 -0
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownList.js +4 -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/FullScreenTakeover.js +6 -1
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/Icon/IconTypes.js +28 -0
- package/dist/components/IconButton/IconButton.js +5 -4
- package/dist/components/IconButton/IconButton2.js +4 -4
- 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/ConditionSet.js +10 -11
- package/dist/components/LogicEditor/Controls.js +28 -14
- package/dist/components/LogicEditor/LogicEditor.js +51 -40
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +3 -1
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +1 -0
- 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/Popover.js +2 -1
- 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/SearchInput.js +1 -0
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +4 -2
- 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/components/deprecated_Toolbar/ToolbarPanels.js +2 -0
- package/dist/components/index.js +1 -0
- package/dist/hooks/useIsTruncated/useIsTruncated.js +6 -0
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/AgentLeftIcon.js +6 -0
- package/dist/icons/components/AgentRightIcon.js +6 -0
- package/dist/icons/components/ChevronSetIcon.js +6 -0
- package/dist/icons/components/ChevronSkipBackIcon.js +6 -0
- package/dist/icons/components/ChevronSkipForwardIcon.js +6 -0
- package/dist/icons/components/ColumnsIcon.js +6 -0
- package/dist/icons/components/CustomerLeftIcon.js +6 -0
- package/dist/icons/components/CustomerRightIcon.js +6 -0
- package/dist/icons/components/DetectedIcon.js +6 -0
- package/dist/icons/components/EffortEasyIcon.js +6 -0
- package/dist/icons/components/EffortHardIcon.js +6 -0
- package/dist/icons/components/EffortMixedIcon.js +6 -0
- package/dist/icons/components/EffortNeutralIcon.js +6 -0
- package/dist/icons/components/EffortVeryEasyIcon.js +6 -0
- package/dist/icons/components/EffortVeryHardIcon.js +6 -0
- package/dist/icons/components/IgnoredIcon.js +6 -0
- package/dist/icons/components/InsertLineIcon.js +6 -0
- package/dist/icons/components/IntensityHighIcon.js +6 -0
- package/dist/icons/components/IntensityLowIcon.js +6 -0
- package/dist/icons/components/IntensityMediumIcon.js +6 -0
- package/dist/icons/components/RaiseHandIcon.js +6 -0
- package/dist/icons/components/SentimentMixedIcon.js +6 -0
- package/dist/icons/components/SentimentNegativeIcon.js +6 -0
- package/dist/icons/components/SentimentNeutralIcon.js +6 -0
- package/dist/icons/components/SentimentPositiveIcon.js +6 -0
- package/dist/icons/components/SentimentVeryNegativeIcon.js +6 -0
- package/dist/icons/components/SentimentVeryPositiveIcon.js +6 -0
- package/dist/icons/components/UndetectedIcon.js +6 -0
- package/dist/icons/index.d.ts +56 -0
- package/dist/icons/index.es.js +28 -0
- package/dist/icons/index.js +29 -1
- package/dist/index.d.ts +77 -0
- package/dist/index.es.js +2 -1
- package/dist/index.js +7 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +44 -50
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +21 -27
- package/dist/next/AdvancedTable/AdvancedTableRow.js +1 -3
- package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +10 -15
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxInput.js +1 -1
- package/dist/next/Drawer/Drawer.js +5 -1
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +16 -3
- package/dist/next/Menu/MenuPane.js +10 -2
- package/dist/next/Menu/SubMenu.js +10 -4
- package/dist/next/Menu/useCSSVariable.js +10 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker.js +8 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +1 -0
- package/dist/next/index.js +156 -140
- package/dist/translations-en.js +3 -0
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/Flyout/FlyoutHeader.js +1 -1
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +11 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classNames = require('classnames');
|
|
5
|
-
var icons_index = require('./index-
|
|
5
|
+
var icons_index = require('./index-7f78e01b.js');
|
|
6
6
|
var _extends = require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
var reactPopper = require('react-popper');
|
|
8
8
|
var core = require('@popperjs/core');
|
|
@@ -42,10 +42,10 @@ var ReactFocusLock__default = /*#__PURE__*/_interopDefaultLegacy(ReactFocusLock)
|
|
|
42
42
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
43
43
|
var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver$1);
|
|
44
44
|
|
|
45
|
-
var css_248z$
|
|
46
|
-
var AccordionStyles = {"accordion":"
|
|
47
|
-
var stylesheet$
|
|
48
|
-
icons_index.styleInject(css_248z$
|
|
45
|
+
var css_248z$J = "._HP-Fo{width:100%;display:flex;flex-direction:column}._HP-Fo._hJXUB{grid-gap:20px;gap:20px}._0cN0C{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._0cN0C ._MKTWY{margin-top:-3px}._FQcSm{flex:1}._bvOZK{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._Fo-hE ._0cN0C{border-radius:4px}._Fo-hE ._0cN0C:hover:not(._a6h18){background-color:rgba(50,54,58,.08)}._Fo-hE ._0cN0C:active:not(._a6h18){background-color:rgba(50,54,58,.11)}._-xUAS ._0cN0C{font-weight:400;padding-left:12px;border-top:1px solid #eee}._-xUAS ._0cN0C:hover:not(._a6h18){background-color:rgba(50,54,58,.08)}._-xUAS ._0cN0C:active:not(._a6h18){background-color:rgba(50,54,58,.11)}._hJXUB ._-iQjk{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._hJXUB ._-iQjk._z6A-G{box-shadow:none}._hJXUB ._-iQjk._z6A-G ._0cN0C{border-radius:6px}._hJXUB ._0cN0C{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._hJXUB ._0cN0C ._FQcSm{padding-left:20px}._hJXUB ._0cN0C:hover:not(disabled){border:1px solid #c2c2c2}._hJXUB ._0cN0C:active:not(._a6h18){border:1px solid #898989}._hJXUB ._bvOZK{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._z6A-G ._bvOZK{display:none}._a6h18{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._0cN0C.focus-visible,._0cN0C:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._0cN0C.focus-visible:before,._0cN0C:focus-visible:before{z-index:1}._-xUAS ._0cN0C.focus-visible,._-xUAS ._0cN0C:focus-visible{border-color:transparent}";
|
|
46
|
+
var AccordionStyles = {"accordion":"_HP-Fo","block-variant":"_hJXUB","header":"_0cN0C","headerIcon":"_MKTWY","title":"_FQcSm","panel":"_bvOZK","default-variant":"_Fo-hE","disabled":"_a6h18","outlined-variant":"_-xUAS","section":"_-iQjk","closed":"_z6A-G"};
|
|
47
|
+
var stylesheet$J="._HP-Fo{width:100%;display:flex;flex-direction:column}._HP-Fo._hJXUB{grid-gap:20px;gap:20px}._0cN0C{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._0cN0C ._MKTWY{margin-top:-3px}._FQcSm{flex:1}._bvOZK{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._Fo-hE ._0cN0C{border-radius:4px}._Fo-hE ._0cN0C:hover:not(._a6h18){background-color:rgba(50,54,58,.08)}._Fo-hE ._0cN0C:active:not(._a6h18){background-color:rgba(50,54,58,.11)}._-xUAS ._0cN0C{font-weight:400;padding-left:12px;border-top:1px solid #eee}._-xUAS ._0cN0C:hover:not(._a6h18){background-color:rgba(50,54,58,.08)}._-xUAS ._0cN0C:active:not(._a6h18){background-color:rgba(50,54,58,.11)}._hJXUB ._-iQjk{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._hJXUB ._-iQjk._z6A-G{box-shadow:none}._hJXUB ._-iQjk._z6A-G ._0cN0C{border-radius:6px}._hJXUB ._0cN0C{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._hJXUB ._0cN0C ._FQcSm{padding-left:20px}._hJXUB ._0cN0C:hover:not(disabled){border:1px solid #c2c2c2}._hJXUB ._0cN0C:active:not(._a6h18){border:1px solid #898989}._hJXUB ._bvOZK{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._z6A-G ._bvOZK{display:none}._a6h18{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._0cN0C.focus-visible,._0cN0C:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._0cN0C.focus-visible:before,._0cN0C:focus-visible:before{z-index:1}._-xUAS ._0cN0C.focus-visible,._-xUAS ._0cN0C:focus-visible{border-color:transparent}";
|
|
48
|
+
icons_index.styleInject(css_248z$J);
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Determinines if DOM functions are available. Typically used to determine if rendering is happening client-side or server-side.
|
|
@@ -117,15 +117,15 @@ function filterChildren(children, queries) {
|
|
|
117
117
|
return [_filterChildren(children, queries, matchesList), matchesList];
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
var css_248z$
|
|
121
|
-
var styles$
|
|
122
|
-
var stylesheet$
|
|
123
|
-
icons_index.styleInject(css_248z$
|
|
120
|
+
var css_248z$I = "._cCUHT{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._I2n56{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._I2n56._9tFGg,._I2n56._dEAlt._I2n56:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._I2n56._2hWs3{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._I2n56._2hWs3._9tFGg,._I2n56._2hWs3._dEAlt._I2n56._2hWs3:hover{background-color:#e4effa}._I2n56:active:not(._2hWs3):not([aria-disabled=true]){background-color:#e8e9e9}._Akvdv ._Gqk5K{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._Akvdv ._HTPLp{display:none}._Akvdv:not(:first-child) ._HTPLp{display:block;margin:3.5px 0}._KtEJ2{width:100%;height:40px}";
|
|
121
|
+
var styles$B = {"flyout":"_cCUHT","flyoutOption":"_I2n56","highlighted":"_9tFGg","hoverHighlight":"_dEAlt","selected":"_2hWs3","flyoutHeader":"_Akvdv","headerContent":"_Gqk5K","headerDivider":"_HTPLp","flyoutSpinner":"_KtEJ2"};
|
|
122
|
+
var stylesheet$I="._cCUHT{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._I2n56{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._I2n56._9tFGg,._I2n56._dEAlt._I2n56:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._I2n56._2hWs3{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._I2n56._2hWs3._9tFGg,._I2n56._2hWs3._dEAlt._I2n56._2hWs3:hover{background-color:#e4effa}._I2n56:active:not(._2hWs3):not([aria-disabled=true]){background-color:#e8e9e9}._Akvdv ._Gqk5K{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._Akvdv ._HTPLp{display:none}._Akvdv:not(:first-child) ._HTPLp{display:block;margin:3.5px 0}._KtEJ2{width:100%;height:40px}";
|
|
123
|
+
icons_index.styleInject(css_248z$I);
|
|
124
124
|
|
|
125
|
-
var css_248z$
|
|
126
|
-
var styles$
|
|
127
|
-
var stylesheet$
|
|
128
|
-
icons_index.styleInject(css_248z$
|
|
125
|
+
var css_248z$H = "._VJaBL{position:relative;display:inline-block}._VJaBL._ZArMM{min-height:20px;min-width:20px}._VJaBL._lYElI{min-height:25px;min-width:25px}._VJaBL._mCqWR{min-height:40px;min-width:40px}._VJaBL._E6k-m{min-height:64px;min-width:64px}._VJaBL ._VEPxj{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._VJaBL ._VEPxj._4BTJY{visibility:hidden}._VJaBL ._VEPxj div{position:absolute;transform:rotate(20deg)}._VJaBL ._VEPxj div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_VEPxj .8s linear infinite}._VJaBL ._VEPxj 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}._VJaBL ._VEPxj div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._VJaBL ._VEPxj div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._VJaBL ._VEPxj div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._VJaBL ._VEPxj div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._VJaBL ._VEPxj div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._VJaBL ._VEPxj div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._VJaBL ._VEPxj div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._VJaBL ._VEPxj div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._VJaBL ._VEPxj div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._VJaBL ._E6k-m div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._VJaBL ._ZArMM div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._VJaBL ._lYElI div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._VJaBL ._RVYaq div div:nth-child(-n+9):after{background:#fff}._VJaBL ._wM5dY{width:100%;height:100%}._VJaBL ._wM5dY._5BLtd{pointer-events:none}._VJaBL ._wM5dY._4BTJY{opacity:0}._VJaBL ._wM5dY._-3-iC{opacity:.5}@keyframes _VEPxj{0%{opacity:1}to{opacity:0}}";
|
|
126
|
+
var styles$A = {"spinnerContainer":"_VJaBL","xs":"_ZArMM","small":"_lYElI","medium":"_mCqWR","large":"_E6k-m","spinnerComponent":"_VEPxj","hide":"_4BTJY","inverted":"_RVYaq","spinnerContent":"_wM5dY","disablePointerEvents":"_5BLtd","fade":"_-3-iC"};
|
|
127
|
+
var stylesheet$H="._VJaBL{position:relative;display:inline-block}._VJaBL._ZArMM{min-height:20px;min-width:20px}._VJaBL._lYElI{min-height:25px;min-width:25px}._VJaBL._mCqWR{min-height:40px;min-width:40px}._VJaBL._E6k-m{min-height:64px;min-width:64px}._VJaBL ._VEPxj{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._VJaBL ._VEPxj._4BTJY{visibility:hidden}._VJaBL ._VEPxj div{position:absolute;transform:rotate(20deg)}._VJaBL ._VEPxj div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_VEPxj .8s linear infinite}._VJaBL ._VEPxj 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}._VJaBL ._VEPxj div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._VJaBL ._VEPxj div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._VJaBL ._VEPxj div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._VJaBL ._VEPxj div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._VJaBL ._VEPxj div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._VJaBL ._VEPxj div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._VJaBL ._VEPxj div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._VJaBL ._VEPxj div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._VJaBL ._VEPxj div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._VJaBL ._E6k-m div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._VJaBL ._ZArMM div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._VJaBL ._lYElI div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._VJaBL ._RVYaq div div:nth-child(-n+9):after{background:#fff}._VJaBL ._wM5dY{width:100%;height:100%}._VJaBL ._wM5dY._5BLtd{pointer-events:none}._VJaBL ._wM5dY._4BTJY{opacity:0}._VJaBL ._wM5dY._-3-iC{opacity:.5}@keyframes _VEPxj{0%{opacity:1}to{opacity:0}}";
|
|
128
|
+
icons_index.styleInject(css_248z$H);
|
|
129
129
|
|
|
130
130
|
/* DO NOT MODIFY - THIS IS AN AUTO-GENERATED FILE */
|
|
131
131
|
var FALLBACK_LOCALIZED_TEXT = {
|
|
@@ -153,6 +153,9 @@ var FALLBACK_LOCALIZED_TEXT = {
|
|
|
153
153
|
"decrement": "Decrement",
|
|
154
154
|
"collapsibleSearchInput.openSearchField": "Open Search Field",
|
|
155
155
|
"toolbar.showToolbar": "Show Toolbar",
|
|
156
|
+
"selectOne": "Select one",
|
|
157
|
+
"selectOneOrMore": "Select one or more",
|
|
158
|
+
"selectedItems": "Selected items",
|
|
156
159
|
"toolbar.hideToolbar": "Hide Toolbar",
|
|
157
160
|
"showPanel": "Show Panel",
|
|
158
161
|
"hidePanel": "Hide Panel",
|
|
@@ -383,13 +386,13 @@ const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
383
386
|
const defaultAriaLabel = translate('loading');
|
|
384
387
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
385
388
|
ref: ref,
|
|
386
|
-
className: classNames__default["default"](className, styles$
|
|
387
|
-
[styles$
|
|
389
|
+
className: classNames__default["default"](className, styles$A.spinnerContainer, {
|
|
390
|
+
[styles$A[size]]: !children
|
|
388
391
|
})
|
|
389
392
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
390
|
-
className: classNames__default["default"](styles$
|
|
391
|
-
[styles$
|
|
392
|
-
[styles$
|
|
393
|
+
className: classNames__default["default"](styles$A.spinnerComponent, styles$A[size], {
|
|
394
|
+
[styles$A.inverted]: inverted,
|
|
395
|
+
[styles$A.hide]: !show
|
|
393
396
|
}),
|
|
394
397
|
"data-loadingspinner": show || undefined,
|
|
395
398
|
role: role,
|
|
@@ -398,9 +401,9 @@ const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
398
401
|
"aria-live": ariaLive,
|
|
399
402
|
"aria-hidden": ariaHidden
|
|
400
403
|
}, /*#__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", {
|
|
401
|
-
className: classNames__default["default"](styles$
|
|
402
|
-
[styles$
|
|
403
|
-
[styles$
|
|
404
|
+
className: classNames__default["default"](styles$A.spinnerContent, {
|
|
405
|
+
[styles$A[background]]: show,
|
|
406
|
+
[styles$A.disablePointerEvents]: show
|
|
404
407
|
})
|
|
405
408
|
}, children));
|
|
406
409
|
});
|
|
@@ -452,7 +455,7 @@ const Flyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
452
455
|
role: "option" // `aria-selected` is omitted because this option is not selectable
|
|
453
456
|
}, /*#__PURE__*/React__default["default"].createElement(LoadingSpinner, {
|
|
454
457
|
"aria-label": translate('loading'),
|
|
455
|
-
className: styles$
|
|
458
|
+
className: styles$B.flyoutSpinner,
|
|
456
459
|
show: true,
|
|
457
460
|
size: "small"
|
|
458
461
|
}));
|
|
@@ -462,7 +465,7 @@ const Flyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
462
465
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
463
466
|
id: id,
|
|
464
467
|
className: classNames__default["default"](className, {
|
|
465
|
-
[styles$
|
|
468
|
+
[styles$B.flyout]: !!content
|
|
466
469
|
}),
|
|
467
470
|
ref: ref,
|
|
468
471
|
role: role,
|
|
@@ -485,12 +488,12 @@ const FlyoutHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
485
488
|
} = _ref;
|
|
486
489
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
487
490
|
ref: ref,
|
|
488
|
-
className: classNames__default["default"](className, styles$
|
|
491
|
+
className: classNames__default["default"](className, styles$B.flyoutHeader),
|
|
489
492
|
role: "group",
|
|
490
493
|
"aria-label": title
|
|
491
494
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
492
|
-
|
|
493
|
-
className: styles$
|
|
495
|
+
role: "presentation",
|
|
496
|
+
className: styles$B.headerContent
|
|
494
497
|
}, title), children);
|
|
495
498
|
});
|
|
496
499
|
|
|
@@ -508,10 +511,10 @@ const FlyoutOption = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
508
511
|
// eslint-disable-next-line jsx-a11y/interactive-supports-focus
|
|
509
512
|
React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
510
513
|
ref: ref,
|
|
511
|
-
className: classNames__default["default"](className, styles$
|
|
512
|
-
[styles$
|
|
513
|
-
[styles$
|
|
514
|
-
[styles$
|
|
514
|
+
className: classNames__default["default"](className, styles$B.flyoutOption, {
|
|
515
|
+
[styles$B.hoverHighlight]: isHighlightedOnHover,
|
|
516
|
+
[styles$B.highlighted]: isHighlighted,
|
|
517
|
+
[styles$B.selected]: isSelected
|
|
515
518
|
}),
|
|
516
519
|
role: "option",
|
|
517
520
|
"aria-selected": isSelected
|
|
@@ -558,10 +561,10 @@ function mergeRefs() {
|
|
|
558
561
|
};
|
|
559
562
|
}
|
|
560
563
|
|
|
561
|
-
var css_248z$
|
|
564
|
+
var css_248z$G = "[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
|
|
562
565
|
var Popper$1 = {};
|
|
563
|
-
var stylesheet$
|
|
564
|
-
icons_index.styleInject(css_248z$
|
|
566
|
+
var stylesheet$G="[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
|
|
567
|
+
icons_index.styleInject(css_248z$G);
|
|
565
568
|
|
|
566
569
|
const {
|
|
567
570
|
Provider,
|
|
@@ -822,10 +825,10 @@ function wrapEvent(theirHandler, ourHandler) {
|
|
|
822
825
|
};
|
|
823
826
|
}
|
|
824
827
|
|
|
825
|
-
var css_248z$
|
|
826
|
-
var styles$
|
|
827
|
-
var stylesheet$
|
|
828
|
-
icons_index.styleInject(css_248z$
|
|
828
|
+
var css_248z$F = "._vuV2e{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._vuV2e._Ah2Xh{color:#32363a;background-color:#fff}._s-bw9{opacity:1;pointer-events:all}._qBdgN,._qBdgN>div{position:absolute;width:8px;height:8px;background:inherit}._qBdgN{visibility:hidden;z-index:2000}._qBdgN>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._qBdgN{bottom:-4px}[data-popper-placement^=top]>._qBdgN>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._qBdgN{left:-5px}[data-popper-placement^=right]>._qBdgN>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._qBdgN{top:-5px}[data-popper-placement^=bottom]>._qBdgN>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._qBdgN{right:-4px}[data-popper-placement^=left]>._qBdgN>div{border-bottom-color:transparent;border-left-color:transparent}._hOFGH{position:absolute}[data-popper-placement^=top]>._hOFGH{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._hOFGH{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._hOFGH{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._hOFGH{top:0;right:-13px;width:17px;height:100%}";
|
|
829
|
+
var styles$z = {"tooltip":"_vuV2e","lightTheme":"_Ah2Xh","visible":"_s-bw9","arrow":"_qBdgN","offsetBackplate":"_hOFGH"};
|
|
830
|
+
var stylesheet$F="._vuV2e{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._vuV2e._Ah2Xh{color:#32363a;background-color:#fff}._s-bw9{opacity:1;pointer-events:all}._qBdgN,._qBdgN>div{position:absolute;width:8px;height:8px;background:inherit}._qBdgN{visibility:hidden;z-index:2000}._qBdgN>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._qBdgN{bottom:-4px}[data-popper-placement^=top]>._qBdgN>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._qBdgN{left:-5px}[data-popper-placement^=right]>._qBdgN>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._qBdgN{top:-5px}[data-popper-placement^=bottom]>._qBdgN>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._qBdgN{right:-4px}[data-popper-placement^=left]>._qBdgN>div{border-bottom-color:transparent;border-left-color:transparent}._hOFGH{position:absolute}[data-popper-placement^=top]>._hOFGH{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._hOFGH{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._hOFGH{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._hOFGH{top:0;right:-13px;width:17px;height:100%}";
|
|
831
|
+
icons_index.styleInject(css_248z$F);
|
|
829
832
|
|
|
830
833
|
const useSSRLayoutEffect = function () {
|
|
831
834
|
const effectFunc = React.useMemo(() => canUseDOM() ? React.useLayoutEffect : React.useEffect, []);
|
|
@@ -1216,10 +1219,10 @@ function usePrevious(value) {
|
|
|
1216
1219
|
return ref.current;
|
|
1217
1220
|
}
|
|
1218
1221
|
|
|
1219
|
-
var css_248z$
|
|
1220
|
-
var classes = {"ariaLiveElement":"
|
|
1221
|
-
var stylesheet$
|
|
1222
|
-
icons_index.styleInject(css_248z$
|
|
1222
|
+
var css_248z$E = "._8XkUD{position:absolute;top:-10000px;left:-10000px}";
|
|
1223
|
+
var classes = {"ariaLiveElement":"_8XkUD"};
|
|
1224
|
+
var stylesheet$E="._8XkUD{position:absolute;top:-10000px;left:-10000px}";
|
|
1225
|
+
icons_index.styleInject(css_248z$E);
|
|
1223
1226
|
|
|
1224
1227
|
/**
|
|
1225
1228
|
* Sets up a live region in order to make screen reader announcements.
|
|
@@ -1348,6 +1351,9 @@ Due to rounding, `scrollWidth` and `clientWidth` do not always accurately repres
|
|
|
1348
1351
|
const useIsTruncated = target => {
|
|
1349
1352
|
const [isTruncated, setIsTruncated] = React.useState(false);
|
|
1350
1353
|
React.useLayoutEffect(() => {
|
|
1354
|
+
if (!target) {
|
|
1355
|
+
return;
|
|
1356
|
+
}
|
|
1351
1357
|
const {
|
|
1352
1358
|
clientWidth,
|
|
1353
1359
|
scrollWidth
|
|
@@ -1357,6 +1363,9 @@ const useIsTruncated = target => {
|
|
|
1357
1363
|
setIsTruncated(clientWidth < scrollWidth);
|
|
1358
1364
|
}, [target]);
|
|
1359
1365
|
useResizeObserver__default["default"](target, entry => {
|
|
1366
|
+
if (!target) {
|
|
1367
|
+
return;
|
|
1368
|
+
}
|
|
1360
1369
|
const {
|
|
1361
1370
|
clientWidth,
|
|
1362
1371
|
scrollWidth
|
|
@@ -1607,7 +1616,8 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1607
1616
|
const handleKeyDown = event => {
|
|
1608
1617
|
if (event.key === 'Escape') {
|
|
1609
1618
|
if (isVisible) {
|
|
1610
|
-
event.stopPropagation(); //
|
|
1619
|
+
event.stopPropagation(); // Prevent event from closing modals or popovers
|
|
1620
|
+
event.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
1611
1621
|
}
|
|
1612
1622
|
|
|
1613
1623
|
triggerHideTooltip();
|
|
@@ -1631,7 +1641,8 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1631
1641
|
// Allows the user to press the `Escape` key to close the flyout even if the anchor element is not focused
|
|
1632
1642
|
// handle in capture so that it runs before modal or popover event handlers
|
|
1633
1643
|
useEventListener(document, 'keydown', handleKeyDown, {
|
|
1634
|
-
isCaptureEvent: true
|
|
1644
|
+
isCaptureEvent: true,
|
|
1645
|
+
isDisabled: !isInDOM
|
|
1635
1646
|
});
|
|
1636
1647
|
useEventListener(anchorRef, 'mouseenter', handleMouseEnter);
|
|
1637
1648
|
useEventListener(anchorRef, 'mouseleave', handleMouseLeave);
|
|
@@ -1654,9 +1665,9 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1654
1665
|
id: flyoutContainerId,
|
|
1655
1666
|
key: contentKey,
|
|
1656
1667
|
ref: mergeRefs(ref, flyoutRef),
|
|
1657
|
-
className: classNames__default["default"](className, styles$
|
|
1658
|
-
[styles$
|
|
1659
|
-
[styles$
|
|
1668
|
+
className: classNames__default["default"](className, styles$z.tooltip, {
|
|
1669
|
+
[styles$z.visible]: isVisible,
|
|
1670
|
+
[styles$z.lightTheme]: lightTheme
|
|
1660
1671
|
}),
|
|
1661
1672
|
style: {
|
|
1662
1673
|
zIndex,
|
|
@@ -1666,7 +1677,7 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1666
1677
|
"aria-hidden": ariaHidden
|
|
1667
1678
|
}), content, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1668
1679
|
"aria-hidden": true,
|
|
1669
|
-
className: styles$
|
|
1680
|
+
className: styles$z.offsetBackplate,
|
|
1670
1681
|
ref: flyoutOffsetBackplateRef
|
|
1671
1682
|
})),
|
|
1672
1683
|
modifiers: [{
|
|
@@ -1681,7 +1692,7 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1681
1692
|
}
|
|
1682
1693
|
}],
|
|
1683
1694
|
arrow: isArrowRemoved ? undefined : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1684
|
-
className: styles$
|
|
1695
|
+
className: styles$z.arrow
|
|
1685
1696
|
}, /*#__PURE__*/React__default["default"].createElement("div", null)),
|
|
1686
1697
|
portalTarget: portalTarget
|
|
1687
1698
|
});
|
|
@@ -1961,6 +1972,118 @@ const AccordionPanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
1961
1972
|
}, children);
|
|
1962
1973
|
});
|
|
1963
1974
|
|
|
1975
|
+
var css_248z$D = ".Banner_bannerContainer__1dfrm4q1{container-type:inline-size;container-name:Banner_bannerContainerName__1dfrm4q0}.Banner_banner__1dfrm4q2{background-color:#fff;border:1px solid #d9d9d9;border-radius:8px;padding:20px;display:flex;flex-direction:column;grid-gap:20px;gap:20px;fill:#0b6ed0;position:relative}.Banner_noIcon__1dfrm4q3{padding-top:58px}.Banner_bannerVariant_info__1dfrm4q6{background-color:#f7fafd;border-color:#0b6ed0;fill:#0b6ed0;padding:16px;grid-gap:16px;gap:16px}.Banner_bannerVariant_warn__1dfrm4q7{background-color:#fefaf7;border-color:#e9730c;fill:#e9730c;padding:16px;grid-gap:16px;gap:16px}.Banner_bannerVariant_error__1dfrm4q8{background-color:#fdf7f7;border-color:#b00;fill:#b00;padding:16px;grid-gap:16px;gap:16px}.Banner_bannerVariant_success__1dfrm4q9{background-color:#f7fbf9;border-color:#107e3e;fill:#107e3e;padding:16px;grid-gap:16px;gap:16px}.Banner_copy__1dfrm4qa{flex:1}.Banner_icon__1dfrm4qb{width:46px;height:46px;background-color:rgba(11,110,208,.1);border-radius:46px;flex:0 0 auto;display:flex;align-items:center;justify-content:center}.Banner_bannerVariant_error__1dfrm4q8 .Banner_icon__1dfrm4qb,.Banner_bannerVariant_info__1dfrm4q6 .Banner_icon__1dfrm4qb,.Banner_bannerVariant_success__1dfrm4q9 .Banner_icon__1dfrm4qb,.Banner_bannerVariant_warn__1dfrm4q7 .Banner_icon__1dfrm4qb{width:24px;height:24px;background-color:transparent;border-radius:0}.Banner_title__1dfrm4qc{font-weight:700;font-size:16px;color:#32363a;max-width:800px;text-align:left;margin-bottom:8px;line-height:20px}.Banner_description__1dfrm4qd{font-size:14px;color:#515559;max-width:800px;text-align:left;line-height:19px}.Banner_bannerFooter__1dfrm4qe{margin-top:16px;display:flex;flex-direction:column;grid-gap:12px;gap:12px}.Banner_closeButton__1dfrm4qf{position:absolute;top:12px;right:12px}.Banner_noTitle__1dfrm4q4 .Banner_closeButton__1dfrm4qf{top:10px;right:10px}@container Banner_bannerContainerName__1dfrm4q0 (min-width: 481px){.Banner_banner__1dfrm4q2{flex-direction:row;padding-right:24px}.Banner_noIcon__1dfrm4q3{padding-top:20px}.Banner_dismissible__1dfrm4q5{padding-right:48px}.Banner_copy__1dfrm4qa{align-self:center}.Banner_bannerFooter__1dfrm4qe{flex-direction:row}}";
|
|
1976
|
+
var Banner_css_ts_vanilla = {"Banner_bannerContainer__1dfrm4q1":"Banner_bannerContainer__1dfrm4q1","Banner_banner__1dfrm4q2":"Banner_banner__1dfrm4q2","Banner_noIcon__1dfrm4q3":"Banner_noIcon__1dfrm4q3","Banner_bannerVariant_info__1dfrm4q6":"Banner_bannerVariant_info__1dfrm4q6","Banner_bannerVariant_warn__1dfrm4q7":"Banner_bannerVariant_warn__1dfrm4q7","Banner_bannerVariant_error__1dfrm4q8":"Banner_bannerVariant_error__1dfrm4q8","Banner_bannerVariant_success__1dfrm4q9":"Banner_bannerVariant_success__1dfrm4q9","Banner_copy__1dfrm4qa":"Banner_copy__1dfrm4qa","Banner_icon__1dfrm4qb":"Banner_icon__1dfrm4qb","Banner_title__1dfrm4qc":"Banner_title__1dfrm4qc","Banner_description__1dfrm4qd":"Banner_description__1dfrm4qd","Banner_bannerFooter__1dfrm4qe":"Banner_bannerFooter__1dfrm4qe","Banner_closeButton__1dfrm4qf":"Banner_closeButton__1dfrm4qf","Banner_noTitle__1dfrm4q4":"Banner_noTitle__1dfrm4q4","Banner_dismissible__1dfrm4q5":"Banner_dismissible__1dfrm4q5"};
|
|
1977
|
+
var stylesheet$D=".Banner_bannerContainer__1dfrm4q1{container-type:inline-size;container-name:Banner_bannerContainerName__1dfrm4q0}.Banner_banner__1dfrm4q2{background-color:#fff;border:1px solid #d9d9d9;border-radius:8px;padding:20px;display:flex;flex-direction:column;grid-gap:20px;gap:20px;fill:#0b6ed0;position:relative}.Banner_noIcon__1dfrm4q3{padding-top:58px}.Banner_bannerVariant_info__1dfrm4q6{background-color:#f7fafd;border-color:#0b6ed0;fill:#0b6ed0;padding:16px;grid-gap:16px;gap:16px}.Banner_bannerVariant_warn__1dfrm4q7{background-color:#fefaf7;border-color:#e9730c;fill:#e9730c;padding:16px;grid-gap:16px;gap:16px}.Banner_bannerVariant_error__1dfrm4q8{background-color:#fdf7f7;border-color:#b00;fill:#b00;padding:16px;grid-gap:16px;gap:16px}.Banner_bannerVariant_success__1dfrm4q9{background-color:#f7fbf9;border-color:#107e3e;fill:#107e3e;padding:16px;grid-gap:16px;gap:16px}.Banner_copy__1dfrm4qa{flex:1}.Banner_icon__1dfrm4qb{width:46px;height:46px;background-color:rgba(11,110,208,.1);border-radius:46px;flex:0 0 auto;display:flex;align-items:center;justify-content:center}.Banner_bannerVariant_error__1dfrm4q8 .Banner_icon__1dfrm4qb,.Banner_bannerVariant_info__1dfrm4q6 .Banner_icon__1dfrm4qb,.Banner_bannerVariant_success__1dfrm4q9 .Banner_icon__1dfrm4qb,.Banner_bannerVariant_warn__1dfrm4q7 .Banner_icon__1dfrm4qb{width:24px;height:24px;background-color:transparent;border-radius:0}.Banner_title__1dfrm4qc{font-weight:700;font-size:16px;color:#32363a;max-width:800px;text-align:left;margin-bottom:8px;line-height:20px}.Banner_description__1dfrm4qd{font-size:14px;color:#515559;max-width:800px;text-align:left;line-height:19px}.Banner_bannerFooter__1dfrm4qe{margin-top:16px;display:flex;flex-direction:column;grid-gap:12px;gap:12px}.Banner_closeButton__1dfrm4qf{position:absolute;top:12px;right:12px}.Banner_noTitle__1dfrm4q4 .Banner_closeButton__1dfrm4qf{top:10px;right:10px}@container Banner_bannerContainerName__1dfrm4q0 (min-width: 481px){.Banner_banner__1dfrm4q2{flex-direction:row;padding-right:24px}.Banner_noIcon__1dfrm4q3{padding-top:20px}.Banner_dismissible__1dfrm4q5{padding-right:48px}.Banner_copy__1dfrm4qa{align-self:center}.Banner_bannerFooter__1dfrm4qe{flex-direction:row}}";
|
|
1978
|
+
icons_index.styleInject(css_248z$D);
|
|
1979
|
+
|
|
1980
|
+
var banner = 'Banner_banner__1dfrm4q2';
|
|
1981
|
+
var bannerContainer = 'Banner_bannerContainer__1dfrm4q1';
|
|
1982
|
+
var bannerFooter = 'Banner_bannerFooter__1dfrm4qe';
|
|
1983
|
+
var bannerVariant = {
|
|
1984
|
+
info: 'Banner_bannerVariant_info__1dfrm4q6 Banner_banner__1dfrm4q2',
|
|
1985
|
+
warn: 'Banner_bannerVariant_warn__1dfrm4q7 Banner_banner__1dfrm4q2',
|
|
1986
|
+
error: 'Banner_bannerVariant_error__1dfrm4q8 Banner_banner__1dfrm4q2',
|
|
1987
|
+
success: 'Banner_bannerVariant_success__1dfrm4q9 Banner_banner__1dfrm4q2'
|
|
1988
|
+
};
|
|
1989
|
+
var closeButton = 'Banner_closeButton__1dfrm4qf';
|
|
1990
|
+
var copy = 'Banner_copy__1dfrm4qa';
|
|
1991
|
+
var description = 'Banner_description__1dfrm4qd';
|
|
1992
|
+
var dismissible = 'Banner_dismissible__1dfrm4q5';
|
|
1993
|
+
var icon = 'Banner_icon__1dfrm4qb';
|
|
1994
|
+
var noIcon = 'Banner_noIcon__1dfrm4q3';
|
|
1995
|
+
var noTitle = 'Banner_noTitle__1dfrm4q4';
|
|
1996
|
+
var title = 'Banner_title__1dfrm4qc';
|
|
1997
|
+
|
|
1998
|
+
const BannerTitle = _ref => {
|
|
1999
|
+
let {
|
|
2000
|
+
children
|
|
2001
|
+
} = _ref;
|
|
2002
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children);
|
|
2003
|
+
};
|
|
2004
|
+
const BannerBody = _ref2 => {
|
|
2005
|
+
let {
|
|
2006
|
+
children
|
|
2007
|
+
} = _ref2;
|
|
2008
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children);
|
|
2009
|
+
};
|
|
2010
|
+
const BannerFooter = _ref3 => {
|
|
2011
|
+
let {
|
|
2012
|
+
children
|
|
2013
|
+
} = _ref3;
|
|
2014
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children);
|
|
2015
|
+
};
|
|
2016
|
+
const statusIconMap = {
|
|
2017
|
+
info: icons_index.InformationIcon,
|
|
2018
|
+
warn: icons_index.WarningIcon,
|
|
2019
|
+
error: icons_index.ErrorIcon,
|
|
2020
|
+
success: icons_index.SuccessIcon
|
|
2021
|
+
};
|
|
2022
|
+
const Banner = _ref4 => {
|
|
2023
|
+
let {
|
|
2024
|
+
onClose,
|
|
2025
|
+
icon: icon$1,
|
|
2026
|
+
status,
|
|
2027
|
+
'data-testid': dataTestId,
|
|
2028
|
+
children
|
|
2029
|
+
} = _ref4;
|
|
2030
|
+
let title$1;
|
|
2031
|
+
let footer;
|
|
2032
|
+
let content;
|
|
2033
|
+
let IconUsed = icon$1;
|
|
2034
|
+
const {
|
|
2035
|
+
translate
|
|
2036
|
+
} = useTranslation();
|
|
2037
|
+
React__default["default"].Children.forEach(children, child => {
|
|
2038
|
+
if (! /*#__PURE__*/React__default["default"].isValidElement(child)) return;
|
|
2039
|
+
if (child.type === BannerTitle) {
|
|
2040
|
+
title$1 = child;
|
|
2041
|
+
} else if (child.type === BannerFooter) {
|
|
2042
|
+
footer = child;
|
|
2043
|
+
} else if (child.type === BannerBody) {
|
|
2044
|
+
content = child;
|
|
2045
|
+
}
|
|
2046
|
+
});
|
|
2047
|
+
if (status && !icon$1) {
|
|
2048
|
+
IconUsed = statusIconMap[status];
|
|
2049
|
+
}
|
|
2050
|
+
const variant = status ? bannerVariant[status] : false;
|
|
2051
|
+
const handleClose = onClose ? () => {
|
|
2052
|
+
onClose();
|
|
2053
|
+
} : () => {};
|
|
2054
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2055
|
+
className: bannerContainer,
|
|
2056
|
+
"data-testid": dataTestId
|
|
2057
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2058
|
+
className: classNames__default["default"](banner, variant, {
|
|
2059
|
+
[noIcon]: !status && !icon$1,
|
|
2060
|
+
[dismissible]: !!onClose,
|
|
2061
|
+
[noTitle]: !title$1
|
|
2062
|
+
})
|
|
2063
|
+
}, !!onClose && /*#__PURE__*/React__default["default"].createElement(IconButton$1, {
|
|
2064
|
+
className: closeButton,
|
|
2065
|
+
onClick: handleClose,
|
|
2066
|
+
"aria-label": translate('close'),
|
|
2067
|
+
"data-testid": getSubDataTestId(dataTestId, 'close')
|
|
2068
|
+
}, /*#__PURE__*/React__default["default"].createElement(icons_index.CloseIcon, null)), !!IconUsed && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2069
|
+
className: icon
|
|
2070
|
+
}, /*#__PURE__*/React__default["default"].createElement(IconUsed, {
|
|
2071
|
+
"data-testid": getSubDataTestId(dataTestId, 'icon'),
|
|
2072
|
+
"aria-hidden": true
|
|
2073
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2074
|
+
className: copy
|
|
2075
|
+
}, !!title$1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2076
|
+
className: title,
|
|
2077
|
+
"data-testid": getSubDataTestId(dataTestId, 'title')
|
|
2078
|
+
}, title$1), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2079
|
+
className: description,
|
|
2080
|
+
"data-testid": getSubDataTestId(dataTestId, 'body')
|
|
2081
|
+
}, content), !!footer && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2082
|
+
className: bannerFooter,
|
|
2083
|
+
"data-testid": getSubDataTestId(dataTestId, 'footer')
|
|
2084
|
+
}, footer))));
|
|
2085
|
+
};
|
|
2086
|
+
|
|
1964
2087
|
const {
|
|
1965
2088
|
useContext: useBreakpointContext,
|
|
1966
2089
|
Provider: BreakpointContextProvider
|
|
@@ -2006,9 +2129,9 @@ function BreakpointSwitch(_ref) {
|
|
|
2006
2129
|
}, useResponsiveValue(childList));
|
|
2007
2130
|
}
|
|
2008
2131
|
|
|
2009
|
-
var css_248z$C = ".
|
|
2010
|
-
var buttonStyles = {"btn":"
|
|
2011
|
-
var stylesheet$C=".
|
|
2132
|
+
var css_248z$C = "._AgqSK{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._AgqSK._ww4qC{padding:0 8px;height:26px;min-height:26px}._AgqSK._9mIke{display:block;width:100%}._AgqSK._lC90m{cursor:not-allowed}._AgqSK:active:focus,._AgqSK:focus{outline:none}._AgqSK._GC3-p{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._AgqSK._GC3-p:hover:not(._lC90m){background-color:#eee}._AgqSK._GC3-p:active:not(._lC90m){background-color:#e5e5e5}._AgqSK._GC3-p._lC90m{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._AgqSK._mUzQp{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._AgqSK._mUzQp:hover:not(._lC90m){background-color:#085caf;border-color:#085caf}._AgqSK._mUzQp:active:not(._lC90m){background-color:#0854a1;border-color:#0854a1}._AgqSK._mUzQp._lC90m{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._AgqSK._CktPt{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._AgqSK._CktPt:hover:not(._lC90m){background-color:#eef5fc}._AgqSK._CktPt:active:not(._lC90m){background-color:#e1edf9}._AgqSK._CktPt._lC90m{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._AgqSK._pp0JY{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._AgqSK._pp0JY:hover:not(._lC90m){background-color:#eef5fc;border-color:#eef5fc}._AgqSK._pp0JY:active:not(._lC90m){background-color:#e1edf9;border-color:#e1edf9}._AgqSK._pp0JY._lC90m{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._AgqSK._ZQKHP{color:#0b6ed0;fill:#0b6ed0;padding:0}._AgqSK._ZQKHP:hover:not(._lC90m){color:#085caf}._AgqSK._ZQKHP:active:not(._lC90m){color:#0854a1}._AgqSK._ZQKHP._lC90m{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._AgqSK._GpEeJ{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._AgqSK._GpEeJ:hover:not(._lC90m){background-color:#ffecec}._AgqSK._GpEeJ:active:not(._lC90m){background-color:#ffdbdb}._AgqSK._GpEeJ._lC90m{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._AgqSK.focus-visible,._AgqSK:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2133
|
+
var buttonStyles = {"btn":"_AgqSK","small":"_ww4qC","full":"_9mIke","disabled":"_lC90m","default":"_GC3-p","primary":"_mUzQp","secondary":"_CktPt","tertiary":"_pp0JY","link":"_ZQKHP","danger":"_GpEeJ"};
|
|
2134
|
+
var stylesheet$C="._AgqSK{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._AgqSK._ww4qC{padding:0 8px;height:26px;min-height:26px}._AgqSK._9mIke{display:block;width:100%}._AgqSK._lC90m{cursor:not-allowed}._AgqSK:active:focus,._AgqSK:focus{outline:none}._AgqSK._GC3-p{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._AgqSK._GC3-p:hover:not(._lC90m){background-color:#eee}._AgqSK._GC3-p:active:not(._lC90m){background-color:#e5e5e5}._AgqSK._GC3-p._lC90m{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._AgqSK._mUzQp{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._AgqSK._mUzQp:hover:not(._lC90m){background-color:#085caf;border-color:#085caf}._AgqSK._mUzQp:active:not(._lC90m){background-color:#0854a1;border-color:#0854a1}._AgqSK._mUzQp._lC90m{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._AgqSK._CktPt{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._AgqSK._CktPt:hover:not(._lC90m){background-color:#eef5fc}._AgqSK._CktPt:active:not(._lC90m){background-color:#e1edf9}._AgqSK._CktPt._lC90m{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._AgqSK._pp0JY{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._AgqSK._pp0JY:hover:not(._lC90m){background-color:#eef5fc;border-color:#eef5fc}._AgqSK._pp0JY:active:not(._lC90m){background-color:#e1edf9;border-color:#e1edf9}._AgqSK._pp0JY._lC90m{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._AgqSK._ZQKHP{color:#0b6ed0;fill:#0b6ed0;padding:0}._AgqSK._ZQKHP:hover:not(._lC90m){color:#085caf}._AgqSK._ZQKHP:active:not(._lC90m){color:#0854a1}._AgqSK._ZQKHP._lC90m{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._AgqSK._GpEeJ{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._AgqSK._GpEeJ:hover:not(._lC90m){background-color:#ffecec}._AgqSK._GpEeJ:active:not(._lC90m){background-color:#ffdbdb}._AgqSK._GpEeJ._lC90m{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._AgqSK.focus-visible,._AgqSK:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2012
2135
|
icons_index.styleInject(css_248z$C);
|
|
2013
2136
|
|
|
2014
2137
|
function createContextValue(value) {
|
|
@@ -2083,9 +2206,9 @@ const Button = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
2083
2206
|
);
|
|
2084
2207
|
});
|
|
2085
2208
|
|
|
2086
|
-
var css_248z$B = ".
|
|
2087
|
-
var styles$
|
|
2088
|
-
var stylesheet$B=".
|
|
2209
|
+
var css_248z$B = "._8XG42{display:inline-flex;align-items:stretch}._8XG42._Obne8{width:100%}._8XG42 ._xsRu-{margin:0;min-width:0}._8XG42 ._xsRu-:focus{z-index:20}._8XG42 ._xsRu-:hover{z-index:10}._8XG42 ._xsRu-._BmWUW{border:none}._8XG42 ._xsRu-._Obne8{display:inline-flex;width:auto;flex-grow:1}._8XG42 ._xsRu-:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._8XG42 ._xsRu-:first-child._BmWUW{border-right:1px solid #fff}._8XG42 ._xsRu-:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._8XG42 ._xsRu-:not(:last-child):not(:first-child)._BmWUW{border-left:1px solid #fff;border-right:1px solid #fff}._8XG42 ._xsRu-:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._8XG42 ._xsRu-:last-child._BmWUW{border-left:1px solid #fff}._8XG42 ._xsRu-:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
|
|
2210
|
+
var styles$y = {"buttonGroup":"_8XG42","full":"_Obne8","buttonGroupElement":"_xsRu-","primary":"_BmWUW"};
|
|
2211
|
+
var stylesheet$B="._8XG42{display:inline-flex;align-items:stretch}._8XG42._Obne8{width:100%}._8XG42 ._xsRu-{margin:0;min-width:0}._8XG42 ._xsRu-:focus{z-index:20}._8XG42 ._xsRu-:hover{z-index:10}._8XG42 ._xsRu-._BmWUW{border:none}._8XG42 ._xsRu-._Obne8{display:inline-flex;width:auto;flex-grow:1}._8XG42 ._xsRu-:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._8XG42 ._xsRu-:first-child._BmWUW{border-right:1px solid #fff}._8XG42 ._xsRu-:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._8XG42 ._xsRu-:not(:last-child):not(:first-child)._BmWUW{border-left:1px solid #fff;border-right:1px solid #fff}._8XG42 ._xsRu-:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._8XG42 ._xsRu-:last-child._BmWUW{border-left:1px solid #fff}._8XG42 ._xsRu-:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
|
|
2089
2212
|
icons_index.styleInject(css_248z$B);
|
|
2090
2213
|
|
|
2091
2214
|
const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2100,8 +2223,8 @@ const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
2100
2223
|
role: "group"
|
|
2101
2224
|
}, rest, {
|
|
2102
2225
|
ref: ref,
|
|
2103
|
-
className: classNames__default["default"](className, styles$
|
|
2104
|
-
[styles$
|
|
2226
|
+
className: classNames__default["default"](className, styles$y.buttonGroup, {
|
|
2227
|
+
[styles$y.full]: full
|
|
2105
2228
|
})
|
|
2106
2229
|
}), React__default["default"].Children.map(children, child => {
|
|
2107
2230
|
if (! /*#__PURE__*/React__default["default"].isValidElement(child)) {
|
|
@@ -2109,9 +2232,9 @@ const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
2109
2232
|
console.warn("Warning: \"".concat(child, "\" is invalid child of ButtonGroup!"));
|
|
2110
2233
|
return null;
|
|
2111
2234
|
}
|
|
2112
|
-
const buttonElementClasses = classNames__default["default"](child.props.className, styles$
|
|
2113
|
-
[styles$
|
|
2114
|
-
[styles$
|
|
2235
|
+
const buttonElementClasses = classNames__default["default"](child.props.className, styles$y.buttonGroupElement, {
|
|
2236
|
+
[styles$y.full]: full,
|
|
2237
|
+
[styles$y.primary]: child.props.kind === 'primary'
|
|
2115
2238
|
});
|
|
2116
2239
|
const buttonElementProps = {
|
|
2117
2240
|
className: buttonElementClasses,
|
|
@@ -2122,16 +2245,16 @@ const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
2122
2245
|
}));
|
|
2123
2246
|
});
|
|
2124
2247
|
|
|
2125
|
-
var css_248z$A = ".
|
|
2126
|
-
var styles$
|
|
2127
|
-
var stylesheet$A=".
|
|
2248
|
+
var css_248z$A = "._vBjYL{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._jYKw-,._vBjYL{cursor:pointer;height:16px;width:16px}._jYKw-{position:absolute;opacity:0;z-index:10}._jYKw-:checked~._mIX2N>._GYv1J{fill-opacity:1}._jYKw-:checked:enabled~._mIX2N{border-color:transparent;background-color:#0b6ed0}._jYKw-:checked:enabled~._mIX2N>._GYv1J{fill:#fff}._jYKw-:checked:enabled:hover~._mIX2N{background-color:#085caf}._jYKw-:not(:checked):enabled:hover~._mIX2N{border-color:#0b6ed0}._jYKw-:disabled{cursor:not-allowed}._jYKw-:disabled~._mIX2N{opacity:.4}._VTFRR{color:#32363a;display:flex;align-items:center;cursor:pointer}._zjMYe{cursor:auto;color:hsla(0,0%,53.7%,.4)}._8-E5o{margin-right:12px;flex-shrink:0}._mIX2N{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._GYv1J{fill:#0b6ed0;fill-opacity:0}._jYKw-.focus-visible~._mIX2N,._jYKw-:focus-visible~._mIX2N{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2249
|
+
var styles$x = {"checkbox":"_vBjYL","input":"_jYKw-","check":"_mIX2N","checkIcon":"_GYv1J","label":"_VTFRR","labelDisabled":"_zjMYe","wrappedInput":"_8-E5o"};
|
|
2250
|
+
var stylesheet$A="._vBjYL{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._jYKw-,._vBjYL{cursor:pointer;height:16px;width:16px}._jYKw-{position:absolute;opacity:0;z-index:10}._jYKw-:checked~._mIX2N>._GYv1J{fill-opacity:1}._jYKw-:checked:enabled~._mIX2N{border-color:transparent;background-color:#0b6ed0}._jYKw-:checked:enabled~._mIX2N>._GYv1J{fill:#fff}._jYKw-:checked:enabled:hover~._mIX2N{background-color:#085caf}._jYKw-:not(:checked):enabled:hover~._mIX2N{border-color:#0b6ed0}._jYKw-:disabled{cursor:not-allowed}._jYKw-:disabled~._mIX2N{opacity:.4}._VTFRR{color:#32363a;display:flex;align-items:center;cursor:pointer}._zjMYe{cursor:auto;color:hsla(0,0%,53.7%,.4)}._8-E5o{margin-right:12px;flex-shrink:0}._mIX2N{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._GYv1J{fill:#0b6ed0;fill-opacity:0}._jYKw-.focus-visible~._mIX2N,._jYKw-:focus-visible~._mIX2N{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2128
2251
|
icons_index.styleInject(css_248z$A);
|
|
2129
2252
|
|
|
2130
2253
|
const Check = props => /*#__PURE__*/React__default["default"].createElement("svg", _extends__default["default"]({}, props, {
|
|
2131
2254
|
width: "16",
|
|
2132
2255
|
height: "16",
|
|
2133
2256
|
focusable: "false",
|
|
2134
|
-
|
|
2257
|
+
role: "presentation",
|
|
2135
2258
|
viewBox: "0 0 16 16",
|
|
2136
2259
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2137
2260
|
"data-icontype": "Check"
|
|
@@ -2199,10 +2322,10 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
2199
2322
|
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
|
|
2200
2323
|
return /*#__PURE__*/React__default["default"].createElement("span", _extends__default["default"]({}, rest, {
|
|
2201
2324
|
ref: ref,
|
|
2202
|
-
className: classNames__default["default"](className, styles$
|
|
2325
|
+
className: classNames__default["default"](className, styles$x.checkbox)
|
|
2203
2326
|
}), /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({}, inputProps, {
|
|
2204
2327
|
name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
|
|
2205
|
-
className: classNames__default["default"](styles$
|
|
2328
|
+
className: classNames__default["default"](styles$x.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
|
|
2206
2329
|
type: "checkbox",
|
|
2207
2330
|
id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
|
|
2208
2331
|
checked: checked !== null && checked !== void 0 ? checked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked,
|
|
@@ -2214,15 +2337,15 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
2214
2337
|
"aria-labelledby": externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
|
|
2215
2338
|
"aria-describedby": internalAriaDescribedby
|
|
2216
2339
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2217
|
-
className: styles$
|
|
2340
|
+
className: styles$x.check
|
|
2218
2341
|
}, /*#__PURE__*/React__default["default"].createElement(Check, {
|
|
2219
|
-
className: styles$
|
|
2342
|
+
className: styles$x.checkIcon
|
|
2220
2343
|
})));
|
|
2221
2344
|
});
|
|
2222
2345
|
|
|
2223
|
-
var css_248z$z = ".
|
|
2224
|
-
var styles$
|
|
2225
|
-
var stylesheet$z=".
|
|
2346
|
+
var css_248z$z = "._jfwgH{font-size:14px}._zw-Ib{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._aAMaL{color:#0b6ed0}";
|
|
2347
|
+
var styles$w = {"label":"_jfwgH","control":"_zw-Ib","focused":"_aAMaL"};
|
|
2348
|
+
var stylesheet$z="._jfwgH{font-size:14px}._zw-Ib{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._aAMaL{color:#0b6ed0}";
|
|
2226
2349
|
icons_index.styleInject(css_248z$z);
|
|
2227
2350
|
|
|
2228
2351
|
const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2235,9 +2358,9 @@ const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
2235
2358
|
isFocused,
|
|
2236
2359
|
hasControl
|
|
2237
2360
|
} = useFormFieldLabel();
|
|
2238
|
-
const classes = classNames__default["default"](styles$
|
|
2239
|
-
[styles$
|
|
2240
|
-
[styles$
|
|
2361
|
+
const classes = classNames__default["default"](styles$w.label, className, {
|
|
2362
|
+
[styles$w.control]: hasControl,
|
|
2363
|
+
[styles$w.focused]: isFocused
|
|
2241
2364
|
});
|
|
2242
2365
|
return /*#__PURE__*/React__default["default"].createElement("label", _extends__default["default"]({}, rest, {
|
|
2243
2366
|
ref: ref,
|
|
@@ -2262,12 +2385,12 @@ const CheckboxField = /*#__PURE__*/React__default["default"].forwardRef((_ref, r
|
|
|
2262
2385
|
return /*#__PURE__*/React__default["default"].createElement(Label, _extends__default["default"]({}, rest, {
|
|
2263
2386
|
ref: ref,
|
|
2264
2387
|
htmlFor: id,
|
|
2265
|
-
className: classNames__default["default"](className, styles$
|
|
2266
|
-
[styles$
|
|
2388
|
+
className: classNames__default["default"](className, styles$x.label, {
|
|
2389
|
+
[styles$x.labelDisabled]: disabled
|
|
2267
2390
|
})
|
|
2268
2391
|
}), /*#__PURE__*/React__default["default"].createElement(Checkbox, {
|
|
2269
2392
|
inputProps: inputProps,
|
|
2270
|
-
className: styles$
|
|
2393
|
+
className: styles$x.wrappedInput,
|
|
2271
2394
|
id: id,
|
|
2272
2395
|
checked: checked,
|
|
2273
2396
|
defaultChecked: defaultChecked,
|
|
@@ -2278,9 +2401,9 @@ const CheckboxField = /*#__PURE__*/React__default["default"].forwardRef((_ref, r
|
|
|
2278
2401
|
}), label);
|
|
2279
2402
|
});
|
|
2280
2403
|
|
|
2281
|
-
var css_248z$y = ".
|
|
2282
|
-
var styles$
|
|
2283
|
-
var stylesheet$y=".
|
|
2404
|
+
var css_248z$y = "._dBcAQ{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._dBcAQ::-moz-placeholder{color:#515559;opacity:1}._dBcAQ::placeholder{color:#515559;opacity:1}._dBcAQ:hover{cursor:pointer;background-color:#f5f5f5}._dBcAQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._dBcAQ._sasde{border-color:#b00}._dBcAQ._sasde:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._dBcAQ:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._dBcAQ:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._dBcAQ:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._dBcAQ._oAwJ4{height:auto}._dBcAQ._oAwJ4::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._dBcAQ._Ed5IZ{display:block;width:100%}._dBcAQ._4V75M{padding:4px 8px}input._dBcAQ._4V75M{height:26px;min-height:26px}[type=number]._dBcAQ{-moz-appearance:textfield}[type=number]._dBcAQ::-webkit-inner-spin-button,[type=number]._dBcAQ::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._rTC96{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._rTC96:hover{cursor:pointer}._rTC96._4lf4c{color:#0b6ed0}._oxOIL{margin-top:4px}";
|
|
2405
|
+
var styles$v = {"input":"_dBcAQ","invalid":"_sasde","multiline":"_oAwJ4","full":"_Ed5IZ","small":"_4V75M","label":"_rTC96","focused":"_4lf4c","wrappedInput":"_oxOIL"};
|
|
2406
|
+
var stylesheet$y="._dBcAQ{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._dBcAQ::-moz-placeholder{color:#515559;opacity:1}._dBcAQ::placeholder{color:#515559;opacity:1}._dBcAQ:hover{cursor:pointer;background-color:#f5f5f5}._dBcAQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._dBcAQ._sasde{border-color:#b00}._dBcAQ._sasde:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._dBcAQ:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._dBcAQ:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._dBcAQ:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._dBcAQ._oAwJ4{height:auto}._dBcAQ._oAwJ4::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._dBcAQ._Ed5IZ{display:block;width:100%}._dBcAQ._4V75M{padding:4px 8px}input._dBcAQ._4V75M{height:26px;min-height:26px}[type=number]._dBcAQ{-moz-appearance:textfield}[type=number]._dBcAQ::-webkit-inner-spin-button,[type=number]._dBcAQ::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._rTC96{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._rTC96:hover{cursor:pointer}._rTC96._4lf4c{color:#0b6ed0}._oxOIL{margin-top:4px}";
|
|
2284
2407
|
icons_index.styleInject(css_248z$y);
|
|
2285
2408
|
|
|
2286
2409
|
const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2307,11 +2430,11 @@ const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
2307
2430
|
isReadOnly: formFieldIsReadOnly
|
|
2308
2431
|
} = useFormFieldContext();
|
|
2309
2432
|
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
|
|
2310
|
-
const classes = classNames__default["default"](styles$
|
|
2311
|
-
[styles$
|
|
2312
|
-
[styles$
|
|
2313
|
-
[styles$
|
|
2314
|
-
[styles$
|
|
2433
|
+
const classes = classNames__default["default"](styles$v.input, inputGroupContext.className, inputGroupContext.inputClassName, {
|
|
2434
|
+
[styles$v.full]: inputGroupContext.applyFull(full),
|
|
2435
|
+
[styles$v.invalid]: invalid,
|
|
2436
|
+
[styles$v.small]: inputGroupContext.applySmall(small),
|
|
2437
|
+
[styles$v.multiline]: multiline
|
|
2315
2438
|
}, className);
|
|
2316
2439
|
const commonProps = {
|
|
2317
2440
|
...rest,
|
|
@@ -2366,22 +2489,22 @@ const InputField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2366
2489
|
return /*#__PURE__*/React__default["default"].createElement(Label, _extends__default["default"]({
|
|
2367
2490
|
htmlFor: id,
|
|
2368
2491
|
"data-testid": dataTestId,
|
|
2369
|
-
className: classNames__default["default"](className, styles$
|
|
2370
|
-
[styles$
|
|
2492
|
+
className: classNames__default["default"](className, styles$v.label, labelClassName, {
|
|
2493
|
+
[styles$v.focused]: focused
|
|
2371
2494
|
}),
|
|
2372
2495
|
style: style
|
|
2373
2496
|
}, labelPropsWithoutClass), label, /*#__PURE__*/React__default["default"].createElement(Input$1, _extends__default["default"]({
|
|
2374
2497
|
id: id,
|
|
2375
2498
|
ref: ref,
|
|
2376
|
-
className: classNames__default["default"](styles$
|
|
2499
|
+
className: classNames__default["default"](styles$v.wrappedInput, inputClassName),
|
|
2377
2500
|
onBlur: handleBlur,
|
|
2378
2501
|
onFocus: handleFocus
|
|
2379
2502
|
}, rest, inputPropsWithoutClass)));
|
|
2380
2503
|
});
|
|
2381
2504
|
|
|
2382
|
-
var css_248z$x = ".
|
|
2383
|
-
var styles$
|
|
2384
|
-
var stylesheet$x=".
|
|
2505
|
+
var css_248z$x = "._5Dipe{display:flex;line-height:1.15}._5Dipe ._CpUpZ{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._5Dipe ._CpUpZ:hover:not(._ndNE-){background-color:#f5f5f5}._5Dipe ._CpUpZ._ndNE-{cursor:not-allowed;fill:rgba(81,85,89,.4)}._5Dipe ._CpUpZ:active:not(._ndNE-){background-color:#eee}._5Dipe ._FQrBu{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._5Dipe ._FQrBu._ndNE-{border-color:#d9d9d9}._5Dipe ._PWpU3{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._5Dipe ._BgXd9{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._5Dipe ._BgXd9._ndNE-{border-color:#d9d9d9}._5Dipe ._NACcE{height:36px;border:1px solid #898989;border-width:1px 0}._5Dipe ._NACcE._ndNE-{border-color:#d9d9d9}._5Dipe ._wQz1Y{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._5Dipe ._oqG25{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._5Dipe ._oqG25._NJwB5{color:#9d9fa1}._CpUpZ.focus-visible,._CpUpZ:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._Z0-ZG{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._Z0-ZG ._phMPv{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._Z0-ZG ._0EihH{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._Z0-ZG ._JTXBc{display:flex;justify-content:space-between;margin:12px 0}._Z0-ZG ._JTXBc._357M8{margin-bottom:0}._Z0-ZG ._7ga00{display:flex}._Z0-ZG ._oH-Ok{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._Z0-ZG ._QFcA6{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._Z0-ZG ._Mr7-v{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._Z0-ZG ._0GNH1{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._Z0-ZG ._0GNH1._DABfi{height:16px;margin-bottom:6px}._Z0-ZG ._owMEI{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._Z0-ZG ._owMEI._DABfi{height:16px}._Z0-ZG ._9Ni7S{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._Z0-ZG ._oZJ7P{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._Z0-ZG ._DAvnm{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._Z0-ZG ._Gec-3{display:flex;justify-content:space-between}._Z0-ZG ._SB-2v{display:flex;flex-direction:column;align-items:center}._Z0-ZG ._SB-2v._4ZI0-{margin-left:4px}._Z0-ZG ._IyWEY{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._Z0-ZG ._xTtw1{padding:3px 4px 3px 13px!important;width:78px}._Z0-ZG ._MtYQw{text-align:right;padding:3px 4px 3px 0!important;width:34px}._Z0-ZG ._Yxtqv{text-align:right;padding:3px 16px 3px 0!important;width:46px}._Z0-ZG ._dcNZm{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._Z0-ZG ._Xhwvi{line-height:22px}._Z0-ZG ._uEq7p{display:flex}._Z0-ZG ._0MLL3{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._Z0-ZG ._0MLL3._xLRZN{margin-top:0}._Z0-ZG ._xKUA5{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._pphZN{position:relative}._2V8Vj{display:none}._699ZZ{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._0EihH.focus-visible,._0EihH:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._DAvnm.focus-visible,._DAvnm:focus-visible,._owMEI.focus-visible,._owMEI:focus-visible,._xKUA5.focus-visible,._xKUA5:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2506
|
+
var styles$u = {"colorPicker":"_5Dipe","colorPickerButton":"_CpUpZ","disabledButton":"_ndNE-","colorPickerButtonPreview":"_FQrBu","alphaBackground":"_PWpU3","colorPickerButtonAlphaPreview":"_BgXd9","caretIcon":"_NACcE","colorPickerInput":"_wQz1Y","colorPickerInputDecoration":"_oqG25","disabledDecoration":"_NJwB5","colorPickerFlyout":"_Z0-ZG","saturationGrid":"_phMPv","saturationLoop":"_0EihH","sliderGroup":"_JTXBc","removeBottomMargin":"_357M8","sliderPreviewContainer":"_7ga00","sliderPreview":"_oH-Ok","sliderPreviewAlpha":"_QFcA6","sliderPreviewAlphaBackground":"_Mr7-v","hueSliderRail":"_0GNH1","alphaEnabled":"_DABfi","hueSliderThumb":"_owMEI","alphaSliderRailBackground":"_9Ni7S","alphaSliderRail":"_oZJ7P","alphaSliderThumb":"_DAvnm","hexInputGroup":"_Gec-3","hexInputContainer":"_SB-2v","rgbInputContainer":"_4ZI0-","hexInputDecoration":"_IyWEY","hexInput":"_xTtw1","rgbInput":"_MtYQw","alphaInput":"_Yxtqv","alphaInputDecoration":"_dcNZm","inputLabel":"_Xhwvi","rgbContainer":"_uEq7p","palette":"_0MLL3","removeUpperMargin":"_xLRZN","swatch":"_xKUA5","relativePositionContainer":"_pphZN","hidden":"_2V8Vj","hiddenLiveRegion":"_699ZZ"};
|
|
2507
|
+
var stylesheet$x="._5Dipe{display:flex;line-height:1.15}._5Dipe ._CpUpZ{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._5Dipe ._CpUpZ:hover:not(._ndNE-){background-color:#f5f5f5}._5Dipe ._CpUpZ._ndNE-{cursor:not-allowed;fill:rgba(81,85,89,.4)}._5Dipe ._CpUpZ:active:not(._ndNE-){background-color:#eee}._5Dipe ._FQrBu{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._5Dipe ._FQrBu._ndNE-{border-color:#d9d9d9}._5Dipe ._PWpU3{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._5Dipe ._BgXd9{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._5Dipe ._BgXd9._ndNE-{border-color:#d9d9d9}._5Dipe ._NACcE{height:36px;border:1px solid #898989;border-width:1px 0}._5Dipe ._NACcE._ndNE-{border-color:#d9d9d9}._5Dipe ._wQz1Y{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._5Dipe ._oqG25{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._5Dipe ._oqG25._NJwB5{color:#9d9fa1}._CpUpZ.focus-visible,._CpUpZ:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._Z0-ZG{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._Z0-ZG ._phMPv{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._Z0-ZG ._0EihH{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._Z0-ZG ._JTXBc{display:flex;justify-content:space-between;margin:12px 0}._Z0-ZG ._JTXBc._357M8{margin-bottom:0}._Z0-ZG ._7ga00{display:flex}._Z0-ZG ._oH-Ok{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._Z0-ZG ._QFcA6{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._Z0-ZG ._Mr7-v{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._Z0-ZG ._0GNH1{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._Z0-ZG ._0GNH1._DABfi{height:16px;margin-bottom:6px}._Z0-ZG ._owMEI{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._Z0-ZG ._owMEI._DABfi{height:16px}._Z0-ZG ._9Ni7S{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._Z0-ZG ._oZJ7P{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._Z0-ZG ._DAvnm{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._Z0-ZG ._Gec-3{display:flex;justify-content:space-between}._Z0-ZG ._SB-2v{display:flex;flex-direction:column;align-items:center}._Z0-ZG ._SB-2v._4ZI0-{margin-left:4px}._Z0-ZG ._IyWEY{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._Z0-ZG ._xTtw1{padding:3px 4px 3px 13px!important;width:78px}._Z0-ZG ._MtYQw{text-align:right;padding:3px 4px 3px 0!important;width:34px}._Z0-ZG ._Yxtqv{text-align:right;padding:3px 16px 3px 0!important;width:46px}._Z0-ZG ._dcNZm{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._Z0-ZG ._Xhwvi{line-height:22px}._Z0-ZG ._uEq7p{display:flex}._Z0-ZG ._0MLL3{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._Z0-ZG ._0MLL3._xLRZN{margin-top:0}._Z0-ZG ._xKUA5{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._pphZN{position:relative}._2V8Vj{display:none}._699ZZ{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._0EihH.focus-visible,._0EihH:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._DAvnm.focus-visible,._DAvnm:focus-visible,._owMEI.focus-visible,._owMEI:focus-visible,._xKUA5.focus-visible,._xKUA5:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2385
2508
|
icons_index.styleInject(css_248z$x);
|
|
2386
2509
|
|
|
2387
2510
|
function getMousePosition(e, containerRef) {
|
|
@@ -2742,7 +2865,7 @@ function Saturation$1(_ref) {
|
|
|
2742
2865
|
}
|
|
2743
2866
|
}
|
|
2744
2867
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2745
|
-
className: styles$
|
|
2868
|
+
className: styles$u.saturationGrid,
|
|
2746
2869
|
style: {
|
|
2747
2870
|
backgroundColor: "".concat(hsvToHex({
|
|
2748
2871
|
h: hsv.h,
|
|
@@ -2761,15 +2884,15 @@ function Saturation$1(_ref) {
|
|
|
2761
2884
|
ref: gridRef
|
|
2762
2885
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2763
2886
|
id: "".concat(saturationId, "-saturation-desc"),
|
|
2764
|
-
className: styles$
|
|
2887
|
+
className: styles$u.hidden
|
|
2765
2888
|
}, saturationAriaDesc), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2766
2889
|
"aria-live": loopRef.current === document.activeElement ? 'assertive' : 'off',
|
|
2767
|
-
className: styles$
|
|
2890
|
+
className: styles$u.hiddenLiveRegion
|
|
2768
2891
|
}, saturationAriaLive), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2769
2892
|
"aria-live": loopRef.current === document.activeElement ? 'assertive' : 'off',
|
|
2770
|
-
className: styles$
|
|
2893
|
+
className: styles$u.hiddenLiveRegion
|
|
2771
2894
|
}, valueAriaLive), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2772
|
-
className: styles$
|
|
2895
|
+
className: styles$u.saturationLoop,
|
|
2773
2896
|
style: {
|
|
2774
2897
|
left: "calc(".concat(hsv.s * 100, "% - ").concat(hsv.s * 12, "px)"),
|
|
2775
2898
|
bottom: "calc(".concat(hsv.v * 100, "% - ").concat(hsv.v * 12, "px)")
|
|
@@ -2843,8 +2966,8 @@ function Hue$1(_ref) {
|
|
|
2843
2966
|
}
|
|
2844
2967
|
}
|
|
2845
2968
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2846
|
-
className: classNames__default["default"](styles$
|
|
2847
|
-
[styles$
|
|
2969
|
+
className: classNames__default["default"](styles$u.hueSliderRail, {
|
|
2970
|
+
[styles$u.alphaEnabled]: isAlphaEnabled
|
|
2848
2971
|
}),
|
|
2849
2972
|
onMouseDown: e => {
|
|
2850
2973
|
var _thumbRef$current;
|
|
@@ -2857,8 +2980,8 @@ function Hue$1(_ref) {
|
|
|
2857
2980
|
ref: railRef
|
|
2858
2981
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2859
2982
|
role: "slider",
|
|
2860
|
-
className: classNames__default["default"](styles$
|
|
2861
|
-
[styles$
|
|
2983
|
+
className: classNames__default["default"](styles$u.hueSliderThumb, {
|
|
2984
|
+
[styles$u.alphaEnabled]: isAlphaEnabled
|
|
2862
2985
|
}),
|
|
2863
2986
|
style: {
|
|
2864
2987
|
left: "calc(".concat(hue / 359 * 100, "% - 4px)")
|
|
@@ -2935,9 +3058,9 @@ function Alpha$1(_ref) {
|
|
|
2935
3058
|
}
|
|
2936
3059
|
}
|
|
2937
3060
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2938
|
-
className: styles$
|
|
3061
|
+
className: styles$u.alphaSliderRailBackground
|
|
2939
3062
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2940
|
-
className: styles$
|
|
3063
|
+
className: styles$u.alphaSliderRail,
|
|
2941
3064
|
style: {
|
|
2942
3065
|
background: "linear-gradient(90deg, ".concat(color.hex, ", transparent)")
|
|
2943
3066
|
},
|
|
@@ -2952,7 +3075,7 @@ function Alpha$1(_ref) {
|
|
|
2952
3075
|
ref: railRef
|
|
2953
3076
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2954
3077
|
role: "slider",
|
|
2955
|
-
className: styles$
|
|
3078
|
+
className: styles$u.alphaSliderThumb,
|
|
2956
3079
|
style: {
|
|
2957
3080
|
left: "calc(".concat(MAX_ALPHA - ((_color$alpha5 = color.alpha) !== null && _color$alpha5 !== void 0 ? _color$alpha5 : MAX_ALPHA), "% - 4px)")
|
|
2958
3081
|
},
|
|
@@ -2987,7 +3110,7 @@ const Swatch$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
2987
3110
|
role: "gridcell"
|
|
2988
3111
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2989
3112
|
type: "button",
|
|
2990
|
-
className: styles$
|
|
3113
|
+
className: styles$u.swatch,
|
|
2991
3114
|
style: {
|
|
2992
3115
|
backgroundColor: "".concat(color.hex)
|
|
2993
3116
|
},
|
|
@@ -3061,14 +3184,14 @@ function Palette(_ref2) {
|
|
|
3061
3184
|
React__default["default"].createElement("div", {
|
|
3062
3185
|
role: "grid",
|
|
3063
3186
|
"aria-label": paletteAriaLabel,
|
|
3064
|
-
className: classNames__default["default"](styles$
|
|
3065
|
-
[styles$
|
|
3187
|
+
className: classNames__default["default"](styles$u.palette, {
|
|
3188
|
+
[styles$u.removeUpperMargin]: removeUpperMargin
|
|
3066
3189
|
}),
|
|
3067
3190
|
onKeyDown: handleKeyDown,
|
|
3068
3191
|
"data-testid": getSubDataTestId(dataTestId, 'palette')
|
|
3069
3192
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3070
3193
|
id: swatchDescriptionId,
|
|
3071
|
-
className: styles$
|
|
3194
|
+
className: styles$u.hidden
|
|
3072
3195
|
}, swatchAriaDesc), paletteRows.map((row, rowIndex) =>
|
|
3073
3196
|
/*#__PURE__*/
|
|
3074
3197
|
/* eslint-disable react/no-array-index-key */
|
|
@@ -3109,11 +3232,11 @@ function RGBInput(_ref) {
|
|
|
3109
3232
|
setInternalValue(externalValue);
|
|
3110
3233
|
}, [externalValue]);
|
|
3111
3234
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3112
|
-
className: classNames__default["default"](styles$
|
|
3235
|
+
className: classNames__default["default"](styles$u.hexInputContainer, styles$u.rgbInputContainer)
|
|
3113
3236
|
}, /*#__PURE__*/React__default["default"].createElement(Input$1, {
|
|
3114
3237
|
id: inputId,
|
|
3115
3238
|
type: "number",
|
|
3116
|
-
className: styles$
|
|
3239
|
+
className: styles$u.rgbInput,
|
|
3117
3240
|
small: true,
|
|
3118
3241
|
min: 0,
|
|
3119
3242
|
max: 255,
|
|
@@ -3124,7 +3247,7 @@ function RGBInput(_ref) {
|
|
|
3124
3247
|
"data-testid": getSubDataTestId(dataTestId, "".concat(label, "-channel"))
|
|
3125
3248
|
}), /*#__PURE__*/React__default["default"].createElement(Label, {
|
|
3126
3249
|
htmlFor: inputId,
|
|
3127
|
-
className: styles$
|
|
3250
|
+
className: styles$u.inputLabel
|
|
3128
3251
|
}, label));
|
|
3129
3252
|
}
|
|
3130
3253
|
const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
|
|
@@ -3177,17 +3300,17 @@ const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
|
|
|
3177
3300
|
setInternalAlpha(parseInt(newAlpha, 10));
|
|
3178
3301
|
}
|
|
3179
3302
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3180
|
-
className: styles$
|
|
3303
|
+
className: styles$u.hexInputGroup
|
|
3181
3304
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3182
|
-
className: styles$
|
|
3305
|
+
className: styles$u.hexInputContainer
|
|
3183
3306
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3184
|
-
className: styles$
|
|
3307
|
+
className: styles$u.relativePositionContainer
|
|
3185
3308
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3186
|
-
className: styles$
|
|
3309
|
+
className: styles$u.hexInputDecoration,
|
|
3187
3310
|
"aria-hidden": true
|
|
3188
3311
|
}, "#"), /*#__PURE__*/React__default["default"].createElement(Input$1, {
|
|
3189
3312
|
id: hexInputId,
|
|
3190
|
-
className: styles$
|
|
3313
|
+
className: styles$u.hexInput,
|
|
3191
3314
|
small: true,
|
|
3192
3315
|
value: internalHex.toUpperCase(),
|
|
3193
3316
|
onChange: handleHexInputChange,
|
|
@@ -3196,9 +3319,9 @@ const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
|
|
|
3196
3319
|
"data-testid": getSubDataTestId(dataTestId, 'flyout-hex-input')
|
|
3197
3320
|
})), /*#__PURE__*/React__default["default"].createElement(Label, {
|
|
3198
3321
|
htmlFor: hexInputId,
|
|
3199
|
-
className: styles$
|
|
3322
|
+
className: styles$u.inputLabel
|
|
3200
3323
|
}, "Hex")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3201
|
-
className: styles$
|
|
3324
|
+
className: styles$u.rgbContainer
|
|
3202
3325
|
}, /*#__PURE__*/React__default["default"].createElement(RGBInput
|
|
3203
3326
|
// if hex is incomplete, fill color channel value with 0
|
|
3204
3327
|
, {
|
|
@@ -3257,13 +3380,13 @@ const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
|
|
|
3257
3380
|
containerId: containerId,
|
|
3258
3381
|
dataTestId: dataTestId
|
|
3259
3382
|
}), isAlphaEnabled && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3260
|
-
className: classNames__default["default"](styles$
|
|
3383
|
+
className: classNames__default["default"](styles$u.hexInputContainer, styles$u.rgbInputContainer)
|
|
3261
3384
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3262
|
-
className: styles$
|
|
3385
|
+
className: styles$u.relativePositionContainer
|
|
3263
3386
|
}, /*#__PURE__*/React__default["default"].createElement(Input$1, {
|
|
3264
3387
|
type: "number",
|
|
3265
3388
|
small: true,
|
|
3266
|
-
className: styles$
|
|
3389
|
+
className: styles$u.alphaInput,
|
|
3267
3390
|
id: alphaInputId,
|
|
3268
3391
|
value: internalAlpha,
|
|
3269
3392
|
onChange: handleInternalAlphaChange,
|
|
@@ -3273,11 +3396,11 @@ const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
|
|
|
3273
3396
|
"aria-label": alphaInputAriaLabel,
|
|
3274
3397
|
"data-testid": getSubDataTestId(dataTestId, 'alpha-channel')
|
|
3275
3398
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3276
|
-
className: styles$
|
|
3399
|
+
className: styles$u.alphaInputDecoration,
|
|
3277
3400
|
"aria-hidden": true
|
|
3278
3401
|
}, "%")), /*#__PURE__*/React__default["default"].createElement(Label, {
|
|
3279
3402
|
htmlFor: alphaInputId,
|
|
3280
|
-
className: styles$
|
|
3403
|
+
className: styles$u.inputLabel
|
|
3281
3404
|
}, "A"))));
|
|
3282
3405
|
};
|
|
3283
3406
|
|
|
@@ -3308,7 +3431,7 @@ const ColorPickerFlyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3308
3431
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
3309
3432
|
role: "dialog",
|
|
3310
3433
|
"aria-label": flyoutAriaLabel,
|
|
3311
|
-
className: classNames__default["default"](className, styles$
|
|
3434
|
+
className: classNames__default["default"](className, styles$u.colorPickerFlyout),
|
|
3312
3435
|
ref: ref,
|
|
3313
3436
|
style: {
|
|
3314
3437
|
...style,
|
|
@@ -3321,21 +3444,21 @@ const ColorPickerFlyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3321
3444
|
containerId: containerId,
|
|
3322
3445
|
dataTestId: dataTestId
|
|
3323
3446
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3324
|
-
className: classNames__default["default"](styles$
|
|
3325
|
-
[styles$
|
|
3447
|
+
className: classNames__default["default"](styles$u.sliderGroup, {
|
|
3448
|
+
[styles$u.removeBottomMargin]: hideFlyoutInputs && !palette.length
|
|
3326
3449
|
})
|
|
3327
3450
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3328
|
-
className: styles$
|
|
3451
|
+
className: styles$u.sliderPreviewContainer,
|
|
3329
3452
|
"data-testid": getSubDataTestId(dataTestId, 'flyout-color-preview')
|
|
3330
3453
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3331
|
-
className: styles$
|
|
3454
|
+
className: styles$u.sliderPreview,
|
|
3332
3455
|
style: {
|
|
3333
3456
|
backgroundColor: color.hex
|
|
3334
3457
|
}
|
|
3335
3458
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3336
|
-
className: styles$
|
|
3459
|
+
className: styles$u.sliderPreviewAlphaBackground
|
|
3337
3460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3338
|
-
className: styles$
|
|
3461
|
+
className: styles$u.sliderPreviewAlpha,
|
|
3339
3462
|
style: {
|
|
3340
3463
|
backgroundColor: isAlphaEnabled ? hexToRgbaString(color) : color.hex
|
|
3341
3464
|
}
|
|
@@ -3548,7 +3671,7 @@ function ColorPicker$1(_ref) {
|
|
|
3548
3671
|
}
|
|
3549
3672
|
}
|
|
3550
3673
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3551
|
-
className: styles$
|
|
3674
|
+
className: styles$u.colorPicker,
|
|
3552
3675
|
id: containerId,
|
|
3553
3676
|
role: "group",
|
|
3554
3677
|
"data-testid": dataTestId
|
|
@@ -3580,8 +3703,8 @@ function ColorPicker$1(_ref) {
|
|
|
3580
3703
|
}),
|
|
3581
3704
|
anchor: /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3582
3705
|
type: "button",
|
|
3583
|
-
className: classNames__default["default"](styles$
|
|
3584
|
-
[styles$
|
|
3706
|
+
className: classNames__default["default"](styles$u.colorPickerButton, {
|
|
3707
|
+
[styles$u.disabledButton]: isDisabled
|
|
3585
3708
|
}),
|
|
3586
3709
|
disabled: isDisabled,
|
|
3587
3710
|
onClick: handleAnchorClick,
|
|
@@ -3594,24 +3717,24 @@ function ColorPicker$1(_ref) {
|
|
|
3594
3717
|
ref: mergeRefs(anchorRef, externalButtonRef !== null && externalButtonRef !== void 0 ? externalButtonRef : null),
|
|
3595
3718
|
"data-testid": getSubDataTestId(dataTestId, 'anchor-button')
|
|
3596
3719
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3597
|
-
className: classNames__default["default"](styles$
|
|
3598
|
-
[styles$
|
|
3720
|
+
className: classNames__default["default"](styles$u.colorPickerButtonPreview, {
|
|
3721
|
+
[styles$u.disabledButton]: isDisabled
|
|
3599
3722
|
}),
|
|
3600
3723
|
style: {
|
|
3601
3724
|
backgroundColor: color.hex
|
|
3602
3725
|
}
|
|
3603
3726
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3604
|
-
className: styles$
|
|
3727
|
+
className: styles$u.alphaBackground
|
|
3605
3728
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3606
|
-
className: classNames__default["default"](styles$
|
|
3607
|
-
[styles$
|
|
3729
|
+
className: classNames__default["default"](styles$u.colorPickerButtonAlphaPreview, {
|
|
3730
|
+
[styles$u.disabledButton]: isDisabled
|
|
3608
3731
|
}),
|
|
3609
3732
|
style: {
|
|
3610
3733
|
backgroundColor: isAlphaEnabled ? hexToRgbaString(color) : color.hex
|
|
3611
3734
|
}
|
|
3612
3735
|
})), /*#__PURE__*/React__default["default"].createElement(icons_index.CaretDownIcon, {
|
|
3613
|
-
className: classNames__default["default"](styles$
|
|
3614
|
-
[styles$
|
|
3736
|
+
className: classNames__default["default"](styles$u.caretIcon, {
|
|
3737
|
+
[styles$u.disabledButton]: isDisabled
|
|
3615
3738
|
}),
|
|
3616
3739
|
size: "small"
|
|
3617
3740
|
})),
|
|
@@ -3622,14 +3745,14 @@ function ColorPicker$1(_ref) {
|
|
|
3622
3745
|
}
|
|
3623
3746
|
}]
|
|
3624
3747
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3625
|
-
className: styles$
|
|
3748
|
+
className: styles$u.relativePositionContainer
|
|
3626
3749
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3627
|
-
className: classNames__default["default"](styles$
|
|
3628
|
-
[styles$
|
|
3750
|
+
className: classNames__default["default"](styles$u.colorPickerInputDecoration, {
|
|
3751
|
+
[styles$u.disabledDecoration]: isDisabled
|
|
3629
3752
|
}),
|
|
3630
3753
|
"aria-hidden": true
|
|
3631
3754
|
}, "#"), /*#__PURE__*/React__default["default"].createElement(Input$1, {
|
|
3632
|
-
className: styles$
|
|
3755
|
+
className: styles$u.colorPickerInput,
|
|
3633
3756
|
"aria-label": inputAriaLabel,
|
|
3634
3757
|
value: inputHex.toUpperCase(),
|
|
3635
3758
|
onChange: handleInputHexChange,
|
|
@@ -3640,9 +3763,9 @@ function ColorPicker$1(_ref) {
|
|
|
3640
3763
|
})));
|
|
3641
3764
|
}
|
|
3642
3765
|
|
|
3643
|
-
var css_248z$w = ".
|
|
3644
|
-
var styles$
|
|
3645
|
-
var stylesheet$w=".
|
|
3766
|
+
var css_248z$w = "._hZ0fz{position:relative;display:inline-block}._DoMPa{padding-right:36px}._DoMPa._ha6t9{box-shadow:none!important;border:1px solid #898989!important}._7aDdD{margin-top:4px}._vaAKv{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._vaAKv:hover{background-color:rgba(50,54,58,.08)}._vaAKv:active{background-color:rgba(50,54,58,.11)}._vaAKv._vTqib{transform:rotate(-180deg)}._vaAKv._uwm7Y{opacity:.4}._lJfFF{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._uwm7Y{cursor:not-allowed}._uwm7Y:hover{background-color:transparent}";
|
|
3767
|
+
var styles$t = {"combobox":"_hZ0fz","comboboxInput":"_DoMPa","ignoreFocusStyle":"_ha6t9","labelledInput":"_7aDdD","comboboxIcon":"_vaAKv","open":"_vTqib","disabled":"_uwm7Y","comboboxEmpty":"_lJfFF"};
|
|
3768
|
+
var stylesheet$w="._hZ0fz{position:relative;display:inline-block}._DoMPa{padding-right:36px}._DoMPa._ha6t9{box-shadow:none!important;border:1px solid #898989!important}._7aDdD{margin-top:4px}._vaAKv{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._vaAKv:hover{background-color:rgba(50,54,58,.08)}._vaAKv:active{background-color:rgba(50,54,58,.11)}._vaAKv._vTqib{transform:rotate(-180deg)}._vaAKv._uwm7Y{opacity:.4}._lJfFF{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._uwm7Y{cursor:not-allowed}._uwm7Y:hover{background-color:transparent}";
|
|
3646
3769
|
icons_index.styleInject(css_248z$w);
|
|
3647
3770
|
|
|
3648
3771
|
const {
|
|
@@ -3698,9 +3821,9 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3698
3821
|
full: full,
|
|
3699
3822
|
autoComplete: autoComplete,
|
|
3700
3823
|
value: inputValue,
|
|
3701
|
-
className: classNames__default["default"](className, styles$
|
|
3702
|
-
[styles$
|
|
3703
|
-
[styles$
|
|
3824
|
+
className: classNames__default["default"](className, styles$t.comboboxInput, {
|
|
3825
|
+
[styles$t.labelledInput]: hasLabel,
|
|
3826
|
+
[styles$t.ignoreFocusStyle]: highlightedIndex !== -1
|
|
3704
3827
|
}),
|
|
3705
3828
|
disabled: externalDisabled === undefined ? disabled : externalDisabled,
|
|
3706
3829
|
invalid: externalInvalid === undefined ? isInvalid : externalInvalid,
|
|
@@ -3823,9 +3946,9 @@ const ComboboxIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3823
3946
|
} = useComboboxContext();
|
|
3824
3947
|
return /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronDownIcon, _extends__default["default"]({}, rest, {
|
|
3825
3948
|
size: size,
|
|
3826
|
-
className: classNames__default["default"](styles$
|
|
3827
|
-
[styles$
|
|
3828
|
-
[styles$
|
|
3949
|
+
className: classNames__default["default"](styles$t.comboboxIcon, className, {
|
|
3950
|
+
[styles$t.open]: isOpen,
|
|
3951
|
+
[styles$t.disabled]: disabled
|
|
3829
3952
|
}),
|
|
3830
3953
|
onClick: !disabled ? wrapEvent(onClick, () => {
|
|
3831
3954
|
if (inputRef.current === document.activeElement) {
|
|
@@ -4262,10 +4385,10 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4262
4385
|
ariaLabelledby
|
|
4263
4386
|
}
|
|
4264
4387
|
}, /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
4265
|
-
className: classNames__default["default"](styles$
|
|
4388
|
+
className: classNames__default["default"](styles$t.combobox, className),
|
|
4266
4389
|
ref: ref
|
|
4267
4390
|
}), comboboxInput, /*#__PURE__*/React__default["default"].createElement(ComboboxIcon, null), /*#__PURE__*/React__default["default"].cloneElement(comboboxList, {}, filteredOptions.length === 0 ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4268
|
-
className: styles$
|
|
4391
|
+
className: styles$t.comboboxEmpty,
|
|
4269
4392
|
id: noMatchesFoundContainerId
|
|
4270
4393
|
// eslint-disable-next-line jsx-a11y/role-has-required-aria-props
|
|
4271
4394
|
,
|
|
@@ -4275,14 +4398,14 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4275
4398
|
}, translate('noMatchesFound')) : listChildrenFilteredOptionsAndHeaders)));
|
|
4276
4399
|
});
|
|
4277
4400
|
|
|
4278
|
-
var css_248z$v = ".
|
|
4279
|
-
var styles$
|
|
4280
|
-
var stylesheet$v=".
|
|
4401
|
+
var css_248z$v = "._E2GIe{grid-area:configPane;position:relative;height:100%}._vuJmA{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._4qVIz._ZJXIG ._vuJmA,._4qVIz:not(._P1Yh4) ._vuJmA{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._P1Yh4 ._vuJmA{width:0}._ZJXIG._P1Yh4 ._vuJmA{width:30px;cursor:pointer}._eVUlX ._vuJmA{border-right-color:#eee}._N5Rpk{height:100%;position:relative;width:292px}._4qVIz ._N5Rpk,._P1Yh4 ._N5Rpk{width:0}._ZJXIG._4qVIz ._N5Rpk,._ZJXIG._P1Yh4 ._N5Rpk{width:30px}._XhiCy ._N5Rpk{transition:width .5s}._Ka6Wn{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._P1Yh4 ._Ka6Wn{visibility:hidden}._XhiCy ._Ka6Wn{visibility:visible}._Ka6Wn ._XrvX4{width:252px;margin-left:20px}._aIUXR{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._LaAU4{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._LaAU4 *{font-weight:400;font-size:16px;margin:0}._Dhg74{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._P1Yh4 ._Dhg74{left:0}._ZJXIG._P1Yh4 ._Dhg74{left:30px}._Dhg74 ._cncQ4{width:4px;height:100%}._Dhg74:hover ._cncQ4,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._cncQ4{background-color:#9dc5ed}._Dhg74:hover ._kqMgw>span,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw>span{background-color:#0b6ed0;border-color:#0b6ed0}._Dhg74:hover ._kqMgw>span>svg,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw>span>svg{fill:#fff}._Dhg74:hover ._kqMgw:active>span,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw:active>span{background-color:#0854a1;border-color:#0854a1}._Dhg74:hover ._kqMgw:active>span>svg,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw:active>span>svg{fill:#fff}._Dhg74 ._kqMgw{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._Dhg74 ._kqMgw._r6PkM._r6PkM._r6PkM{opacity:1}._Dhg74 ._kqMgw._kkWEP._kkWEP._kkWEP{opacity:0}._Dhg74 ._kqMgw:active>span{background-color:#0854a1;border-color:#0854a1}._Dhg74 ._kqMgw:active>span>svg{fill:#fff}._Dhg74 ._kqMgw>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Dhg74 ._kqMgw>span>svg{fill:#515559;border-radius:50%}._Dhg74:hover ._kqMgw,._P1Yh4 ._Dhg74 ._kqMgw,._vuJmA:hover+._Dhg74 ._kqMgw{opacity:1}._kqMgw.focus-visible,._kqMgw:focus-visible{opacity:1;border-color:#0a3f88}";
|
|
4402
|
+
var styles$s = {"paneContainer":"_E2GIe","paneContentContainer":"_vuJmA","unpinned":"_4qVIz","hidden":"_P1Yh4","preview":"_ZJXIG","openHidden":"_eVUlX","spacer":"_N5Rpk","transitioning":"_XhiCy","paneContent":"_Ka6Wn","paneContentInner":"_XrvX4","header":"_aIUXR","title":"_LaAU4","clickableArea":"_Dhg74","hoverBorder":"_cncQ4","toolbarPanelExpandCollapseButton":"_kqMgw","overrideShow":"_r6PkM","overrideHide":"_kkWEP"};
|
|
4403
|
+
var stylesheet$v="._E2GIe{grid-area:configPane;position:relative;height:100%}._vuJmA{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._4qVIz._ZJXIG ._vuJmA,._4qVIz:not(._P1Yh4) ._vuJmA{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._P1Yh4 ._vuJmA{width:0}._ZJXIG._P1Yh4 ._vuJmA{width:30px;cursor:pointer}._eVUlX ._vuJmA{border-right-color:#eee}._N5Rpk{height:100%;position:relative;width:292px}._4qVIz ._N5Rpk,._P1Yh4 ._N5Rpk{width:0}._ZJXIG._4qVIz ._N5Rpk,._ZJXIG._P1Yh4 ._N5Rpk{width:30px}._XhiCy ._N5Rpk{transition:width .5s}._Ka6Wn{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._P1Yh4 ._Ka6Wn{visibility:hidden}._XhiCy ._Ka6Wn{visibility:visible}._Ka6Wn ._XrvX4{width:252px;margin-left:20px}._aIUXR{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._LaAU4{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._LaAU4 *{font-weight:400;font-size:16px;margin:0}._Dhg74{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._P1Yh4 ._Dhg74{left:0}._ZJXIG._P1Yh4 ._Dhg74{left:30px}._Dhg74 ._cncQ4{width:4px;height:100%}._Dhg74:hover ._cncQ4,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._cncQ4{background-color:#9dc5ed}._Dhg74:hover ._kqMgw>span,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw>span{background-color:#0b6ed0;border-color:#0b6ed0}._Dhg74:hover ._kqMgw>span>svg,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw>span>svg{fill:#fff}._Dhg74:hover ._kqMgw:active>span,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw:active>span{background-color:#0854a1;border-color:#0854a1}._Dhg74:hover ._kqMgw:active>span>svg,._ZJXIG._P1Yh4 ._vuJmA:hover+._Dhg74 ._kqMgw:active>span>svg{fill:#fff}._Dhg74 ._kqMgw{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._Dhg74 ._kqMgw._r6PkM._r6PkM._r6PkM{opacity:1}._Dhg74 ._kqMgw._kkWEP._kkWEP._kkWEP{opacity:0}._Dhg74 ._kqMgw:active>span{background-color:#0854a1;border-color:#0854a1}._Dhg74 ._kqMgw:active>span>svg{fill:#fff}._Dhg74 ._kqMgw>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Dhg74 ._kqMgw>span>svg{fill:#515559;border-radius:50%}._Dhg74:hover ._kqMgw,._P1Yh4 ._Dhg74 ._kqMgw,._vuJmA:hover+._Dhg74 ._kqMgw{opacity:1}._kqMgw.focus-visible,._kqMgw:focus-visible{opacity:1;border-color:#0a3f88}";
|
|
4281
4404
|
icons_index.styleInject(css_248z$v);
|
|
4282
4405
|
|
|
4283
|
-
var css_248z$u = ".
|
|
4284
|
-
var
|
|
4285
|
-
var stylesheet$u=".
|
|
4406
|
+
var css_248z$u = "._X5ZnV{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._X5ZnV:focus{outline:none}._X5ZnV:hover:not(._quipx){background-color:rgba(50,54,58,.08)}._X5ZnV:active:not(._quipx){background-color:rgba(50,54,58,.11);stroke-width:2}._X5ZnV._quipx{cursor:not-allowed;fill:rgba(81,85,89,.6)}._X5ZnV.focus-visible,._X5ZnV:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4407
|
+
var iconButtonStyles = {"button":"_X5ZnV","disabled":"_quipx"};
|
|
4408
|
+
var stylesheet$u="._X5ZnV{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._X5ZnV:focus{outline:none}._X5ZnV:hover:not(._quipx){background-color:rgba(50,54,58,.08)}._X5ZnV:active:not(._quipx){background-color:rgba(50,54,58,.11);stroke-width:2}._X5ZnV._quipx{cursor:not-allowed;fill:rgba(81,85,89,.6)}._X5ZnV.focus-visible,._X5ZnV:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4286
4409
|
icons_index.styleInject(css_248z$u);
|
|
4287
4410
|
|
|
4288
4411
|
const sizePropInIconErrorMessage = 'Warning: The `Icon` prop `size` is invalid when used as a child of `IconButton`.';
|
|
@@ -4300,8 +4423,8 @@ const IconButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4300
4423
|
onKeyDown,
|
|
4301
4424
|
...rest
|
|
4302
4425
|
} = _ref;
|
|
4303
|
-
const classes = classNames__default["default"](className,
|
|
4304
|
-
[
|
|
4426
|
+
const classes = classNames__default["default"](className, iconButtonStyles.button, {
|
|
4427
|
+
[iconButtonStyles.disabled]: disabled
|
|
4305
4428
|
});
|
|
4306
4429
|
if (children.props.size) {
|
|
4307
4430
|
// eslint-disable-next-line no-console
|
|
@@ -4333,6 +4456,7 @@ const IconButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4333
4456
|
}
|
|
4334
4457
|
return iconButtonComponent;
|
|
4335
4458
|
});
|
|
4459
|
+
var IconButton$1 = IconButton;
|
|
4336
4460
|
|
|
4337
4461
|
/* eslint-disable import/prefer-default-export */
|
|
4338
4462
|
|
|
@@ -4362,6 +4486,8 @@ const ExpandCollapseButton$2 = _ref => {
|
|
|
4362
4486
|
const [isHiddenByEscape, setIsHiddenByEscape] = React.useState(false);
|
|
4363
4487
|
const handleKeyDown = event => {
|
|
4364
4488
|
if (event.key === 'Escape' && isOpen) {
|
|
4489
|
+
// Prevent Safari from exiting full-screen mode
|
|
4490
|
+
if (!isHiddenByEscape) event.preventDefault();
|
|
4365
4491
|
setIsHiddenByEscape(true);
|
|
4366
4492
|
}
|
|
4367
4493
|
};
|
|
@@ -4380,9 +4506,9 @@ const ExpandCollapseButton$2 = _ref => {
|
|
|
4380
4506
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4381
4507
|
type: "button",
|
|
4382
4508
|
"aria-label": isOpen ? hidePanelLabel : showPanelLabel,
|
|
4383
|
-
className: classNames__default["default"](styles$
|
|
4384
|
-
[styles$
|
|
4385
|
-
[styles$
|
|
4509
|
+
className: classNames__default["default"](styles$s.toolbarPanelExpandCollapseButton, {
|
|
4510
|
+
[styles$s.overrideShow]: isTooltipVisible,
|
|
4511
|
+
[styles$s.overrideHide]: isHiddenByEscape
|
|
4386
4512
|
}),
|
|
4387
4513
|
"aria-expanded": isOpen,
|
|
4388
4514
|
"aria-controls": panelId,
|
|
@@ -4429,19 +4555,19 @@ const ConfigPane = _ref2 => {
|
|
|
4429
4555
|
const toggleOpen = () => setIsOpen(currentIsOpen => !currentIsOpen);
|
|
4430
4556
|
const [isContainerHoveredRef, isContainerHovered] = useIsHovered();
|
|
4431
4557
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4432
|
-
className: classNames__default["default"](styles$
|
|
4433
|
-
[styles$
|
|
4434
|
-
[styles$
|
|
4435
|
-
[styles$
|
|
4436
|
-
[styles$
|
|
4437
|
-
[styles$
|
|
4558
|
+
className: classNames__default["default"](styles$s.paneContainer, {
|
|
4559
|
+
[styles$s.hidden]: !isOpen,
|
|
4560
|
+
[styles$s.unpinned]: !isPinned,
|
|
4561
|
+
[styles$s.transitioning]: isTransitioning,
|
|
4562
|
+
[styles$s.preview]: shouldShowPanelPreview,
|
|
4563
|
+
[styles$s.openHidden]: hideOpenButton
|
|
4438
4564
|
}),
|
|
4439
4565
|
onTransitionEnd: () => setIsTransitioning(false),
|
|
4440
4566
|
ref: isContainerHoveredRef
|
|
4441
4567
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4442
|
-
className: styles$
|
|
4568
|
+
className: styles$s.spacer
|
|
4443
4569
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4444
|
-
className: styles$
|
|
4570
|
+
className: styles$s.paneContentContainer,
|
|
4445
4571
|
onClick: shouldShowPanelPreview && !isOpen ? toggleOpen : undefined
|
|
4446
4572
|
}, /*#__PURE__*/React__default["default"].createElement("aside", {
|
|
4447
4573
|
"aria-label": ariaLabel,
|
|
@@ -4449,27 +4575,27 @@ const ConfigPane = _ref2 => {
|
|
|
4449
4575
|
"aria-describedby": ariaDescribedBy,
|
|
4450
4576
|
"data-testid": dataTestId,
|
|
4451
4577
|
id: panelId,
|
|
4452
|
-
className: styles$
|
|
4578
|
+
className: styles$s.paneContent
|
|
4453
4579
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4454
|
-
className: styles$
|
|
4580
|
+
className: styles$s.paneContentInner
|
|
4455
4581
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4456
|
-
className: styles$
|
|
4582
|
+
className: styles$s.header
|
|
4457
4583
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4458
|
-
className: styles$
|
|
4584
|
+
className: styles$s.title,
|
|
4459
4585
|
"data-testid": getSubDataTestId(dataTestId, DATA_TESTID_SUFFIXES$1.TITLE)
|
|
4460
4586
|
}, title), !hidePinButton && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4461
|
-
className: styles$
|
|
4587
|
+
className: styles$s.pinButton
|
|
4462
4588
|
}, /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
4463
4589
|
content: isPinned ? unpinPanelLabel : pinPanelLabel,
|
|
4464
4590
|
delayMs: 500,
|
|
4465
4591
|
lightTheme: true,
|
|
4466
4592
|
"aria-hidden": true
|
|
4467
|
-
}, /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
4593
|
+
}, /*#__PURE__*/React__default["default"].createElement(IconButton$1, {
|
|
4468
4594
|
"aria-label": isPinned ? unpinPanelLabel : pinPanelLabel,
|
|
4469
4595
|
onClick: () => setIsPinned(currentIsPinned => !currentIsPinned),
|
|
4470
4596
|
"data-testid": getSubDataTestId(dataTestId, DATA_TESTID_SUFFIXES$1.PIN_UNPIN_BUTTON)
|
|
4471
4597
|
}, isPinned ? /*#__PURE__*/React__default["default"].createElement(icons_index.UnpinIcon, null) : /*#__PURE__*/React__default["default"].createElement(icons_index.PinIcon, null))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4472
|
-
className: styles$
|
|
4598
|
+
className: styles$s.body,
|
|
4473
4599
|
"data-testid": getSubDataTestId(dataTestId, DATA_TESTID_SUFFIXES$1.BODY)
|
|
4474
4600
|
}, children)))), !hideOpenButton &&
|
|
4475
4601
|
/*#__PURE__*/
|
|
@@ -4480,10 +4606,10 @@ const ConfigPane = _ref2 => {
|
|
|
4480
4606
|
*/
|
|
4481
4607
|
/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */
|
|
4482
4608
|
React__default["default"].createElement("div", {
|
|
4483
|
-
className: styles$
|
|
4609
|
+
className: styles$s.clickableArea,
|
|
4484
4610
|
onClick: toggleOpen
|
|
4485
4611
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4486
|
-
className: styles$
|
|
4612
|
+
className: styles$s.hoverBorder
|
|
4487
4613
|
}), /*#__PURE__*/React__default["default"].createElement(ExpandCollapseButton$2, {
|
|
4488
4614
|
isOpen: isOpen,
|
|
4489
4615
|
onClick: toggleOpen,
|
|
@@ -4494,9 +4620,9 @@ const ConfigPane = _ref2 => {
|
|
|
4494
4620
|
})));
|
|
4495
4621
|
};
|
|
4496
4622
|
|
|
4497
|
-
var css_248z$t = ".
|
|
4498
|
-
var styles$r = {"divider":"
|
|
4499
|
-
var stylesheet$t=".
|
|
4623
|
+
var css_248z$t = "._rcZjV{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4624
|
+
var styles$r = {"divider":"_rcZjV"};
|
|
4625
|
+
var stylesheet$t="._rcZjV{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4500
4626
|
icons_index.styleInject(css_248z$t);
|
|
4501
4627
|
|
|
4502
4628
|
const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4506,13 +4632,14 @@ const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4506
4632
|
} = _ref;
|
|
4507
4633
|
return /*#__PURE__*/React__default["default"].createElement("hr", _extends__default["default"]({
|
|
4508
4634
|
ref: ref,
|
|
4509
|
-
className: classNames__default["default"](className, styles$r.divider)
|
|
4635
|
+
className: classNames__default["default"](className, styles$r.divider),
|
|
4636
|
+
role: "presentation"
|
|
4510
4637
|
}, rest));
|
|
4511
4638
|
});
|
|
4512
4639
|
|
|
4513
|
-
var css_248z$s = ".
|
|
4514
|
-
var styles$q = {"container":"
|
|
4515
|
-
var stylesheet$s=".
|
|
4640
|
+
var css_248z$s = "._n-FsM{max-width:100%;position:relative;display:inline-block}._07cIq{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._07cIq:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._07cIq:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._07cIq:disabled,._07cIq[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._07cIq._bBU0u{border-color:#b00}._07cIq._bBU0u:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._07cIq._AwhnA{min-width:120px;padding:0 4px 0 12px}._07cIq._SB6J1{margin-top:4px}._07cIq._07-R-:not([aria-disabled=true]):not(:disabled){color:#32363a}._07cIq ._4fvg6{display:inline-flex;align-items:center;min-height:10px}._07cIq ._4fvg6._5MHCz{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._07cIq ._LV1Gn{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._07cIq ._LV1Gn._GlGux{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._07cIq ._LV1Gn._naSk7{transform:rotate(-180deg)}._nJ7le[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._xFrfc{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._eqgLM{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._caQJ0{fill:#515559}._I1n-e{margin:2px 12px 2px 0}._I1n-e._SyHZL>svg{border-color:#0b6ed0}._a1zeJ{width:100%}";
|
|
4641
|
+
var styles$q = {"container":"_n-FsM","button":"_07cIq","invalid":"_bBU0u","hasText":"_AwhnA","labelled":"_SB6J1","selected":"_07-R-","buttonLabel":"_4fvg6","isString":"_5MHCz","icon":"_LV1Gn","disabled":"_GlGux","open":"_naSk7","option":"_nJ7le","search":"_xFrfc","emptyOption":"_eqgLM","searchIcon":"_caQJ0","checkbox":"_I1n-e","highlighted":"_SyHZL","searchInput":"_a1zeJ"};
|
|
4642
|
+
var stylesheet$s="._n-FsM{max-width:100%;position:relative;display:inline-block}._07cIq{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._07cIq:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._07cIq:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._07cIq:disabled,._07cIq[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._07cIq._bBU0u{border-color:#b00}._07cIq._bBU0u:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._07cIq._AwhnA{min-width:120px;padding:0 4px 0 12px}._07cIq._SB6J1{margin-top:4px}._07cIq._07-R-:not([aria-disabled=true]):not(:disabled){color:#32363a}._07cIq ._4fvg6{display:inline-flex;align-items:center;min-height:10px}._07cIq ._4fvg6._5MHCz{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._07cIq ._LV1Gn{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._07cIq ._LV1Gn._GlGux{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._07cIq ._LV1Gn._naSk7{transform:rotate(-180deg)}._nJ7le[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._xFrfc{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._eqgLM{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._caQJ0{fill:#515559}._I1n-e{margin:2px 12px 2px 0}._I1n-e._SyHZL>svg{border-color:#0b6ed0}._a1zeJ{width:100%}";
|
|
4516
4643
|
icons_index.styleInject(css_248z$s);
|
|
4517
4644
|
|
|
4518
4645
|
const {
|
|
@@ -4866,9 +4993,9 @@ function useChildIndex(_ref2) {
|
|
|
4866
4993
|
}, ChildIndexContext);
|
|
4867
4994
|
}
|
|
4868
4995
|
|
|
4869
|
-
var css_248z$r = ".
|
|
4870
|
-
var inputClasses = {"container":"
|
|
4871
|
-
var stylesheet$r=".
|
|
4996
|
+
var css_248z$r = "._JDeHL{position:relative;display:inline-block;height:36px}._AaP5W{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._AaP5W:hover{cursor:pointer;background-color:#f5f5f5}._AaP5W:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._AaP5W:disabled,._AaP5W[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._AaP5W:disabled::-moz-placeholder,._AaP5W[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._AaP5W:disabled::placeholder,._AaP5W[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._AaP5W:invalid,._AaP5W[aria-invalid=true]{border-color:#b00}._AaP5W:invalid:focus,._AaP5W[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._AaP5W[type=number]{-moz-appearance:textfield}._AaP5W[type=number]::-webkit-inner-spin-button,._AaP5W[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._AaP5W::-moz-placeholder{color:#515559;opacity:1}._AaP5W::placeholder{color:#515559;opacity:1}._7-6ik{pointer-events:none;color:#515559;fill:#515559}._VCCAZ{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._YIrws{color:#515559;font-size:16px}._1xgc0{left:0;margin-left:6px}._1xgc0,._58rYC{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._58rYC{right:0;margin-right:6px}";
|
|
4997
|
+
var inputClasses = {"container":"_JDeHL","input":"_AaP5W","addOn":"_7-6ik","addOnVerticalCenter":"_VCCAZ","addOnTextNode":"_YIrws","leftAddOn":"_1xgc0","rightAddOn":"_58rYC"};
|
|
4998
|
+
var stylesheet$r="._JDeHL{position:relative;display:inline-block;height:36px}._AaP5W{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._AaP5W:hover{cursor:pointer;background-color:#f5f5f5}._AaP5W:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._AaP5W:disabled,._AaP5W[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._AaP5W:disabled::-moz-placeholder,._AaP5W[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._AaP5W:disabled::placeholder,._AaP5W[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._AaP5W:invalid,._AaP5W[aria-invalid=true]{border-color:#b00}._AaP5W:invalid:focus,._AaP5W[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._AaP5W[type=number]{-moz-appearance:textfield}._AaP5W[type=number]::-webkit-inner-spin-button,._AaP5W[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._AaP5W::-moz-placeholder{color:#515559;opacity:1}._AaP5W::placeholder{color:#515559;opacity:1}._7-6ik{pointer-events:none;color:#515559;fill:#515559}._VCCAZ{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._YIrws{color:#515559;font-size:16px}._1xgc0{left:0;margin-left:6px}._1xgc0,._58rYC{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._58rYC{right:0;margin-right:6px}";
|
|
4872
4999
|
icons_index.styleInject(css_248z$r);
|
|
4873
5000
|
|
|
4874
5001
|
const getAddOnComponent = (addOn, containerClassName, containerRef) => {
|
|
@@ -5033,6 +5160,7 @@ const DropdownSearch = /*#__PURE__*/React__default["default"].forwardRef((_, ref
|
|
|
5033
5160
|
});
|
|
5034
5161
|
|
|
5035
5162
|
const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
5163
|
+
var _ref2;
|
|
5036
5164
|
let {
|
|
5037
5165
|
children,
|
|
5038
5166
|
placement = 'bottom-start',
|
|
@@ -5049,6 +5177,7 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
5049
5177
|
const {
|
|
5050
5178
|
isOpen,
|
|
5051
5179
|
buttonRef,
|
|
5180
|
+
buttonId,
|
|
5052
5181
|
minWidth,
|
|
5053
5182
|
listRef,
|
|
5054
5183
|
dialogId,
|
|
@@ -5065,7 +5194,7 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
5065
5194
|
translate
|
|
5066
5195
|
} = useTranslation();
|
|
5067
5196
|
const noMatchesText = React.useMemo(() => isSearchable && translate('noMatchesFound'), [isSearchable, translate]);
|
|
5068
|
-
const ariaLabelledby = externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : ariaLabelledByFromContext;
|
|
5197
|
+
const ariaLabelledby = (_ref2 = externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : ariaLabelledByFromContext) !== null && _ref2 !== void 0 ? _ref2 : buttonId;
|
|
5069
5198
|
const ariaLabel = externalAriaLabel !== null && externalAriaLabel !== void 0 ? externalAriaLabel : ariaLabelFromContext;
|
|
5070
5199
|
const announceToScreenReader = useScreenReaderAnnouncement('assertive');
|
|
5071
5200
|
const showNoResults = React.useMemo(() => options.filter(option => option.isVisible).length === 1,
|
|
@@ -5109,8 +5238,7 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
5109
5238
|
id: listboxId,
|
|
5110
5239
|
role: "listbox",
|
|
5111
5240
|
"aria-multiselectable": isMultiSelect || undefined,
|
|
5112
|
-
"aria-label": ariaLabel
|
|
5113
|
-
"aria-labelledby": ariaLabelledby
|
|
5241
|
+
"aria-label": ariaLabel
|
|
5114
5242
|
}, children), isSearchable && showNoResults && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5115
5243
|
className: styles$q.emptyOption
|
|
5116
5244
|
// eslint-disable-next-line jsx-a11y/role-has-required-aria-props
|
|
@@ -5314,6 +5442,7 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
5314
5442
|
e.stopPropagation();
|
|
5315
5443
|
handleClose();
|
|
5316
5444
|
(_buttonRef$current2 = buttonRef.current) === null || _buttonRef$current2 === void 0 ? void 0 : _buttonRef$current2.focus();
|
|
5445
|
+
e.preventDefault(); // prevent Safari from exiting full-screen mode
|
|
5317
5446
|
break;
|
|
5318
5447
|
case 'Tab':
|
|
5319
5448
|
// close and focus next focusable element
|
|
@@ -5418,9 +5547,9 @@ const DropdownHeader = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
5418
5547
|
}, commonProps), children) : /*#__PURE__*/React__default["default"].createElement("div", commonProps, children));
|
|
5419
5548
|
});
|
|
5420
5549
|
|
|
5421
|
-
var css_248z$q = ".
|
|
5422
|
-
var styles$p = {"checkbox":"
|
|
5423
|
-
var stylesheet$q=".
|
|
5550
|
+
var css_248z$q = "._z9P7M{display:inline-flex;position:relative}._wSBSo,._z9P7M{cursor:pointer;height:16px;width:16px}._wSBSo{position:absolute;opacity:0;z-index:10}._wSBSo._035fS~._h5vg3>._kqvv9{fill-opacity:1}._wSBSo._035fS~._h5vg3{border-color:transparent;background-color:#0b6ed0}._wSBSo._035fS~._h5vg3>._kqvv9{fill:#fff}._wSBSo._035fS:hover~._h5vg3{background-color:#085caf}._wSBSo:not(._035fS):hover~._h5vg3{border-color:#0b6ed0}._wSBSo._-wcPj{cursor:not-allowed}._wSBSo._-wcPj~._h5vg3{opacity:.4}._h5vg3{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._kqvv9{fill:#0b6ed0;fill-opacity:0}";
|
|
5551
|
+
var styles$p = {"checkbox":"_z9P7M","input":"_wSBSo","checked":"_035fS","check":"_h5vg3","checkIcon":"_kqvv9","disabled":"_-wcPj"};
|
|
5552
|
+
var stylesheet$q="._z9P7M{display:inline-flex;position:relative}._wSBSo,._z9P7M{cursor:pointer;height:16px;width:16px}._wSBSo{position:absolute;opacity:0;z-index:10}._wSBSo._035fS~._h5vg3>._kqvv9{fill-opacity:1}._wSBSo._035fS~._h5vg3{border-color:transparent;background-color:#0b6ed0}._wSBSo._035fS~._h5vg3>._kqvv9{fill:#fff}._wSBSo._035fS:hover~._h5vg3{background-color:#085caf}._wSBSo:not(._035fS):hover~._h5vg3{border-color:#0b6ed0}._wSBSo._-wcPj{cursor:not-allowed}._wSBSo._-wcPj~._h5vg3{opacity:.4}._h5vg3{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._kqvv9{fill:#0b6ed0;fill-opacity:0}";
|
|
5424
5553
|
icons_index.styleInject(css_248z$q);
|
|
5425
5554
|
|
|
5426
5555
|
// Internal only component, used with Dropdown and SelectMenu multiselects.
|
|
@@ -5431,11 +5560,11 @@ const VisualCheckbox = _ref => {
|
|
|
5431
5560
|
let {
|
|
5432
5561
|
className,
|
|
5433
5562
|
checked,
|
|
5434
|
-
disabled
|
|
5563
|
+
disabled = false
|
|
5435
5564
|
} = _ref;
|
|
5436
5565
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5437
5566
|
className: classNames__default["default"](className, styles$p.checkbox),
|
|
5438
|
-
"
|
|
5567
|
+
role: "presentation"
|
|
5439
5568
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5440
5569
|
className: classNames__default["default"](styles$p.input, {
|
|
5441
5570
|
[styles$p.checked]: checked,
|
|
@@ -5546,9 +5675,9 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
5546
5675
|
});
|
|
5547
5676
|
});
|
|
5548
5677
|
|
|
5549
|
-
var css_248z$p = ".
|
|
5550
|
-
var filePickerStyles = {"container":"
|
|
5551
|
-
var stylesheet$p=".
|
|
5678
|
+
var css_248z$p = "._xqwh9{position:relative}._xqwh9[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._xqwh9:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LdbYO{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._jHYie{margin-left:16px;font-size:14px;color:#32363a}._jHYie ._xHRnz{margin-right:16px}";
|
|
5679
|
+
var filePickerStyles = {"container":"_xqwh9","fileInput":"_LdbYO","fileDetails":"_jHYie","fileName":"_xHRnz"};
|
|
5680
|
+
var stylesheet$p="._xqwh9{position:relative}._xqwh9[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._xqwh9:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LdbYO{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._jHYie{margin-left:16px;font-size:14px;color:#32363a}._jHYie ._xHRnz{margin-right:16px}";
|
|
5552
5681
|
icons_index.styleInject(css_248z$p);
|
|
5553
5682
|
|
|
5554
5683
|
const FileDetails = _ref => {
|
|
@@ -5653,14 +5782,14 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
|
|
|
5653
5782
|
}));
|
|
5654
5783
|
});
|
|
5655
5784
|
|
|
5656
|
-
var css_248z$o = ".
|
|
5657
|
-
var styles$o = {"formField":"
|
|
5658
|
-
var stylesheet$o=".
|
|
5785
|
+
var css_248z$o = "._ji-Z6{display:flex;flex-direction:column;align-items:flex-start}._HkC49{margin-top:6px;max-width:100%}._HkC49 *+*{margin-top:4px}";
|
|
5786
|
+
var styles$o = {"formField":"_ji-Z6","captionContainer":"_HkC49"};
|
|
5787
|
+
var stylesheet$o="._ji-Z6{display:flex;flex-direction:column;align-items:flex-start}._HkC49{margin-top:6px;max-width:100%}._HkC49 *+*{margin-top:4px}";
|
|
5659
5788
|
icons_index.styleInject(css_248z$o);
|
|
5660
5789
|
|
|
5661
|
-
var css_248z$n = ".
|
|
5662
|
-
var styles$n = {"caption":"
|
|
5663
|
-
var stylesheet$n=".
|
|
5790
|
+
var css_248z$n = "._4cqiW{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._4vMGv{color:#6a6d70;fill:#6a6d70}._u2Mst{color:#b00;fill:#b00}._hpn-z,._SpH8b{margin-left:-2px;margin-right:3px}";
|
|
5791
|
+
var styles$n = {"caption":"_4cqiW","helperText":"_4vMGv","errorText":"_u2Mst","errorIcon":"_SpH8b","readOnlyIcon":"_hpn-z"};
|
|
5792
|
+
var stylesheet$n="._4cqiW{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._4vMGv{color:#6a6d70;fill:#6a6d70}._u2Mst{color:#b00;fill:#b00}._hpn-z,._SpH8b{margin-left:-2px;margin-right:3px}";
|
|
5664
5793
|
icons_index.styleInject(css_248z$n);
|
|
5665
5794
|
|
|
5666
5795
|
const HelperText = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -5759,9 +5888,9 @@ const FormField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
5759
5888
|
}, errorText)) : null);
|
|
5760
5889
|
});
|
|
5761
5890
|
|
|
5762
|
-
var css_248z$m = ".
|
|
5763
|
-
var styles$m = {"dialog":"
|
|
5764
|
-
var stylesheet$m=".
|
|
5891
|
+
var css_248z$m = "._fxvx7{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _74hdw{0%{transform:scale3d(.7,.7,.7);opacity:0}}._GcEyB{animation:_74hdw both;animation-duration:.2s}@keyframes _GyNUZ{to{transform:scale3d(.7,.7,.7);opacity:0}}._Sxy9o{animation:_GyNUZ both;animation-duration:.2s}";
|
|
5892
|
+
var styles$m = {"dialog":"_fxvx7","transitionIn":"_GcEyB","showAnimation":"_74hdw","transitionOut":"_Sxy9o","hideAnimation":"_GyNUZ"};
|
|
5893
|
+
var stylesheet$m="._fxvx7{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _74hdw{0%{transform:scale3d(.7,.7,.7);opacity:0}}._GcEyB{animation:_74hdw both;animation-duration:.2s}@keyframes _GyNUZ{to{transform:scale3d(.7,.7,.7);opacity:0}}._Sxy9o{animation:_GyNUZ both;animation-duration:.2s}";
|
|
5765
5894
|
icons_index.styleInject(css_248z$m);
|
|
5766
5895
|
|
|
5767
5896
|
const FullScreenTakeover = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5784,7 +5913,12 @@ const FullScreenTakeover = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5784
5913
|
[styles$m.transitionIn]: isOpen,
|
|
5785
5914
|
[styles$m.transitionOut]: !isOpen
|
|
5786
5915
|
});
|
|
5787
|
-
useEventListener(document, 'keydown', e =>
|
|
5916
|
+
useEventListener(document, 'keydown', e => {
|
|
5917
|
+
if (e.key === 'Escape') {
|
|
5918
|
+
if (isOpen) e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
5919
|
+
onClose(e);
|
|
5920
|
+
}
|
|
5921
|
+
});
|
|
5788
5922
|
React.useEffect(() => {
|
|
5789
5923
|
if (isOpen) {
|
|
5790
5924
|
setFocusedElementWhenDialogOpened(document.activeElement);
|
|
@@ -5887,7 +6021,9 @@ var IconTypes = {
|
|
|
5887
6021
|
AddItem: 'AddItem',
|
|
5888
6022
|
Addons: 'Addons',
|
|
5889
6023
|
AdminGears: 'AdminGears',
|
|
6024
|
+
AgentLeft: 'AgentLeft',
|
|
5890
6025
|
AgentPerformance: 'AgentPerformance',
|
|
6026
|
+
AgentRight: 'AgentRight',
|
|
5891
6027
|
AggregateFunction: 'AggregateFunction',
|
|
5892
6028
|
AlignImageBottom: 'AlignImageBottom',
|
|
5893
6029
|
AlignImageCenter: 'AlignImageCenter',
|
|
@@ -5956,6 +6092,9 @@ var IconTypes = {
|
|
|
5956
6092
|
ChevronDown: 'ChevronDown',
|
|
5957
6093
|
ChevronLeft: 'ChevronLeft',
|
|
5958
6094
|
ChevronRight: 'ChevronRight',
|
|
6095
|
+
ChevronSet: 'ChevronSet',
|
|
6096
|
+
ChevronSkipBack: 'ChevronSkipBack',
|
|
6097
|
+
ChevronSkipForward: 'ChevronSkipForward',
|
|
5959
6098
|
ChevronUp: 'ChevronUp',
|
|
5960
6099
|
Class: 'Class',
|
|
5961
6100
|
ClearFormatting: 'ClearFormatting',
|
|
@@ -5970,6 +6109,7 @@ var IconTypes = {
|
|
|
5970
6109
|
CodeBrackets: 'CodeBrackets',
|
|
5971
6110
|
Coffee: 'Coffee',
|
|
5972
6111
|
ColumnFilter: 'ColumnFilter',
|
|
6112
|
+
Columns: 'Columns',
|
|
5973
6113
|
Comments: 'Comments',
|
|
5974
6114
|
Condition: 'Condition',
|
|
5975
6115
|
ConstantSum: 'ConstantSum',
|
|
@@ -5985,6 +6125,8 @@ var IconTypes = {
|
|
|
5985
6125
|
CreditCard: 'CreditCard',
|
|
5986
6126
|
CrossAnalytics: 'CrossAnalytics',
|
|
5987
6127
|
CustomMetric: 'CustomMetric',
|
|
6128
|
+
CustomerLeft: 'CustomerLeft',
|
|
6129
|
+
CustomerRight: 'CustomerRight',
|
|
5988
6130
|
CxLogo: 'CxLogo',
|
|
5989
6131
|
Dashboard: 'Dashboard',
|
|
5990
6132
|
DataAnalysis: 'DataAnalysis',
|
|
@@ -5997,6 +6139,7 @@ var IconTypes = {
|
|
|
5997
6139
|
Denied: 'Denied',
|
|
5998
6140
|
DescriptiveText: 'DescriptiveText',
|
|
5999
6141
|
Desktop: 'Desktop',
|
|
6142
|
+
Detected: 'Detected',
|
|
6000
6143
|
Diamond: 'Diamond',
|
|
6001
6144
|
Directory: 'Directory',
|
|
6002
6145
|
DisplayLogic: 'DisplayLogic',
|
|
@@ -6016,8 +6159,14 @@ var IconTypes = {
|
|
|
6016
6159
|
EXCOVIDSolution: 'EXCOVIDSolution',
|
|
6017
6160
|
EditorGeneric: 'EditorGeneric',
|
|
6018
6161
|
Effort: 'Effort',
|
|
6162
|
+
EffortEasy: 'EffortEasy',
|
|
6163
|
+
EffortHard: 'EffortHard',
|
|
6164
|
+
EffortMixed: 'EffortMixed',
|
|
6019
6165
|
EffortNegative: 'EffortNegative',
|
|
6166
|
+
EffortNeutral: 'EffortNeutral',
|
|
6020
6167
|
EffortPositive: 'EffortPositive',
|
|
6168
|
+
EffortVeryEasy: 'EffortVeryEasy',
|
|
6169
|
+
EffortVeryHard: 'EffortVeryHard',
|
|
6021
6170
|
EllipsisHorizontal: 'EllipsisHorizontal',
|
|
6022
6171
|
EllipsisVertical: 'EllipsisVertical',
|
|
6023
6172
|
EmojiColorAngry: 'EmojiColorAngry',
|
|
@@ -6088,6 +6237,7 @@ var IconTypes = {
|
|
|
6088
6237
|
Hotspot: 'Hotspot',
|
|
6089
6238
|
Hyperlink: 'Hyperlink',
|
|
6090
6239
|
IceCream: 'IceCream',
|
|
6240
|
+
Ignored: 'Ignored',
|
|
6091
6241
|
Image: 'Image',
|
|
6092
6242
|
ImportedData: 'ImportedData',
|
|
6093
6243
|
Inactive: 'Inactive',
|
|
@@ -6095,8 +6245,12 @@ var IconTypes = {
|
|
|
6095
6245
|
IndentMore: 'IndentMore',
|
|
6096
6246
|
Information: 'Information',
|
|
6097
6247
|
InlineQuestion: 'InlineQuestion',
|
|
6248
|
+
InsertLine: 'InsertLine',
|
|
6098
6249
|
Integer: 'Integer',
|
|
6099
6250
|
Integration: 'Integration',
|
|
6251
|
+
IntensityHigh: 'IntensityHigh',
|
|
6252
|
+
IntensityLow: 'IntensityLow',
|
|
6253
|
+
IntensityMedium: 'IntensityMedium',
|
|
6100
6254
|
Intercept: 'Intercept',
|
|
6101
6255
|
JoinInner: 'JoinInner',
|
|
6102
6256
|
JoinLeftOuter: 'JoinLeftOuter',
|
|
@@ -6199,6 +6353,7 @@ var IconTypes = {
|
|
|
6199
6353
|
RSS: 'RSS',
|
|
6200
6354
|
RageClick: 'RageClick',
|
|
6201
6355
|
Rainy: 'Rainy',
|
|
6356
|
+
RaiseHand: 'RaiseHand',
|
|
6202
6357
|
RecodedValues: 'RecodedValues',
|
|
6203
6358
|
Record: 'Record',
|
|
6204
6359
|
Redo: 'Redo',
|
|
@@ -6231,6 +6386,12 @@ var IconTypes = {
|
|
|
6231
6386
|
SelectColumn: 'SelectColumn',
|
|
6232
6387
|
Send: 'Send',
|
|
6233
6388
|
SentenceCase: 'SentenceCase',
|
|
6389
|
+
SentimentMixed: 'SentimentMixed',
|
|
6390
|
+
SentimentNegative: 'SentimentNegative',
|
|
6391
|
+
SentimentNeutral: 'SentimentNeutral',
|
|
6392
|
+
SentimentPositive: 'SentimentPositive',
|
|
6393
|
+
SentimentVeryNegative: 'SentimentVeryNegative',
|
|
6394
|
+
SentimentVeryPositive: 'SentimentVeryPositive',
|
|
6234
6395
|
Settings: 'Settings',
|
|
6235
6396
|
Share: 'Share',
|
|
6236
6397
|
SharedFolder: 'SharedFolder',
|
|
@@ -6311,6 +6472,7 @@ var IconTypes = {
|
|
|
6311
6472
|
Transaction: 'Transaction',
|
|
6312
6473
|
Translation: 'Translation',
|
|
6313
6474
|
Trash: 'Trash',
|
|
6475
|
+
Undetected: 'Undetected',
|
|
6314
6476
|
Undo: 'Undo',
|
|
6315
6477
|
Union: 'Union',
|
|
6316
6478
|
UniqueLink: 'UniqueLink',
|
|
@@ -6344,9 +6506,9 @@ var IconTypes = {
|
|
|
6344
6506
|
WorkingFromHome: 'WorkingFromHome'
|
|
6345
6507
|
};
|
|
6346
6508
|
|
|
6347
|
-
var css_248z$l = ".
|
|
6348
|
-
var styles$l = {"container":"
|
|
6349
|
-
var stylesheet$l=".
|
|
6509
|
+
var css_248z$l = "._1TFaI{display:inline-block}._zJIuj{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._zJIuj::-moz-selection{background-color:rgba(11,110,208,.11)}._zJIuj::selection{background-color:rgba(11,110,208,.11)}._zJIuj:focus,._zJIuj:hover{background-color:#f5f5f5}._zJIuj:focus{border:2px solid #0a3f88;padding:3px}._zJIuj:focus._bgmkn{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
6510
|
+
var styles$l = {"container":"_1TFaI","inlineInput":"_zJIuj","isEditing":"_bgmkn"};
|
|
6511
|
+
var stylesheet$l="._1TFaI{display:inline-block}._zJIuj{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._zJIuj::-moz-selection{background-color:rgba(11,110,208,.11)}._zJIuj::selection{background-color:rgba(11,110,208,.11)}._zJIuj:focus,._zJIuj:hover{background-color:#f5f5f5}._zJIuj:focus{border:2px solid #0a3f88;padding:3px}._zJIuj:focus._bgmkn{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
6350
6512
|
icons_index.styleInject(css_248z$l);
|
|
6351
6513
|
|
|
6352
6514
|
const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -6467,9 +6629,9 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6467
6629
|
}), defaultValue));
|
|
6468
6630
|
});
|
|
6469
6631
|
|
|
6470
|
-
var css_248z$k = ".
|
|
6471
|
-
var styles$k = {"addon":"
|
|
6472
|
-
var stylesheet$k=".
|
|
6632
|
+
var css_248z$k = "._f1Ei9{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._f1Ei9._FAD-h{height:26px;min-height:26px;padding:5px 8px}._tWlwG{display:flex;align-items:stretch}._tWlwG._3YMdT{width:100%}._tWlwG ._l6dOW{margin:0;position:relative;flex-shrink:0;z-index:10}._tWlwG ._l6dOW:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._tWlwG ._l6dOW:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._tWlwG ._l6dOW:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._tWlwG ._l6dOW:last-child,._tWlwG ._l6dOW:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._tWlwG ._l6dOW:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._tWlwG ._l6dOW._jvJy4{flex-shrink:1;min-width:40px;z-index:0}._tWlwG ._l6dOW._jvJy4._3YMdT{flex-grow:1}._tWlwG ._l6dOW:focus{z-index:20}";
|
|
6633
|
+
var styles$k = {"addon":"_f1Ei9","small":"_FAD-h","inputGroup":"_tWlwG","full":"_3YMdT","inputGroupElement":"_l6dOW","input":"_jvJy4"};
|
|
6634
|
+
var stylesheet$k="._f1Ei9{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._f1Ei9._FAD-h{height:26px;min-height:26px;padding:5px 8px}._tWlwG{display:flex;align-items:stretch}._tWlwG._3YMdT{width:100%}._tWlwG ._l6dOW{margin:0;position:relative;flex-shrink:0;z-index:10}._tWlwG ._l6dOW:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._tWlwG ._l6dOW:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._tWlwG ._l6dOW:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._tWlwG ._l6dOW:last-child,._tWlwG ._l6dOW:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._tWlwG ._l6dOW:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._tWlwG ._l6dOW._jvJy4{flex-shrink:1;min-width:40px;z-index:0}._tWlwG ._l6dOW._jvJy4._3YMdT{flex-grow:1}._tWlwG ._l6dOW:focus{z-index:20}";
|
|
6473
6635
|
icons_index.styleInject(css_248z$k);
|
|
6474
6636
|
|
|
6475
6637
|
const InputGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -6514,9 +6676,9 @@ const InputGroupAddon = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
6514
6676
|
}), children);
|
|
6515
6677
|
});
|
|
6516
6678
|
|
|
6517
|
-
var css_248z$j = ".
|
|
6518
|
-
var styles$j = {"link":"
|
|
6519
|
-
var stylesheet$j=".
|
|
6679
|
+
var css_248z$j = "._Ponxb{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._Ponxb:active:focus,._Ponxb:focus{outline:none}._Ponxb:visited{color:#0854a1}._Ponxb:hover{color:#085caf}._Ponxb:active{color:#0854a1}._Ponxb.focus-visible,._Ponxb:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6680
|
+
var styles$j = {"link":"_Ponxb"};
|
|
6681
|
+
var stylesheet$j="._Ponxb{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._Ponxb:active:focus,._Ponxb:focus{outline:none}._Ponxb:visited{color:#0854a1}._Ponxb:hover{color:#085caf}._Ponxb:active{color:#0854a1}._Ponxb.focus-visible,._Ponxb:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6520
6682
|
icons_index.styleInject(css_248z$j);
|
|
6521
6683
|
|
|
6522
6684
|
const Link = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -6538,9 +6700,9 @@ const Link = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
6538
6700
|
}), children);
|
|
6539
6701
|
});
|
|
6540
6702
|
|
|
6541
|
-
var css_248z$i = ".
|
|
6542
|
-
var styles$i = {"set":"
|
|
6543
|
-
var stylesheet$i=".
|
|
6703
|
+
var css_248z$i = "._lHaOQ{width:100%}._oKKB5{display:flex;align-items:center}._i98h0{display:flex;flex-wrap:wrap;grid-gap:4px}._i98h0 :nth-last-child(2){margin-right:42px}._mu8Am{position:relative;padding-left:32px;padding-top:16px;display:flex}._oh1v2 ._mu8Am{padding-top:0;padding-left:16px}._oh1v2 ._mu8Am+._mu8Am{margin-top:16px}._65YmE{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._oh1v2 ._mu8Am:first-of-type ._65YmE{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._oh1v2 ._65YmE{top:-16px;left:0}._oh1v2 ._mu8Am:not(:first-of-type):not(:last-of-type) ._65YmE{border-bottom-left-radius:0}._gw--7{margin-left:-46px}._as-xm{margin:0 2px 0 4px}._as-xm.focus-visible,._as-xm:focus-visible{outline-width:2px}._j7FsK{margin-left:4px}";
|
|
6704
|
+
var styles$i = {"set":"_lHaOQ","setWrapper":"_oKKB5","condition":"_i98h0","branch":"_mu8Am","fixedSet":"_oh1v2","connection":"_65YmE","conditionControlsContainer":"_gw--7","controls":"_as-xm","controlMenuItem":"_j7FsK"};
|
|
6705
|
+
var stylesheet$i="._lHaOQ{width:100%}._oKKB5{display:flex;align-items:center}._i98h0{display:flex;flex-wrap:wrap;grid-gap:4px}._i98h0 :nth-last-child(2){margin-right:42px}._mu8Am{position:relative;padding-left:32px;padding-top:16px;display:flex}._oh1v2 ._mu8Am{padding-top:0;padding-left:16px}._oh1v2 ._mu8Am+._mu8Am{margin-top:16px}._65YmE{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._oh1v2 ._mu8Am:first-of-type ._65YmE{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._oh1v2 ._65YmE{top:-16px;left:0}._oh1v2 ._mu8Am:not(:first-of-type):not(:last-of-type) ._65YmE{border-bottom-left-radius:0}._gw--7{margin-left:-46px}._as-xm{margin:0 2px 0 4px}._as-xm.focus-visible,._as-xm:focus-visible{outline-width:2px}._j7FsK{margin-left:4px}";
|
|
6544
6706
|
icons_index.styleInject(css_248z$i);
|
|
6545
6707
|
|
|
6546
6708
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -6714,9 +6876,9 @@ const ConditionContainer = function ConditionContainer(_ref) {
|
|
|
6714
6876
|
}), conditionControls);
|
|
6715
6877
|
};
|
|
6716
6878
|
|
|
6717
|
-
var css_248z$h = ".
|
|
6718
|
-
var styles$h = {"menuBtn":"
|
|
6719
|
-
var stylesheet$h=".
|
|
6879
|
+
var css_248z$h = "._D-dQb._D-dQb{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._D-dQb._D-dQb,._D-dQb._D-dQb ._a2ALp{display:inline-flex;align-items:center}._D-dQb._D-dQb ._a2ALp{overflow:hidden;text-overflow:ellipsis}._D-dQb._D-dQb._RxsnT{min-height:26px;height:26px}._D-dQb._D-dQb._jWGrc{color:#32363a}._D-dQb._D-dQb:hover:not([aria-disabled=true]){background-color:#f5f5f5}._D-dQb._D-dQb:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._D-dQb._D-dQb[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._D-dQb._D-dQb[aria-disabled=true]>svg{fill:#515559;opacity:.4}._D-dQb._D-dQb[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._D-dQb._D-dQb._ZSakV{padding-left:0}._D-dQb._D-dQb._5ZbB5{margin-top:4px}._D-dQb._D-dQb ._ffwqA{fill:#515559}._D-dQb._D-dQb ._ffwqA._RxsnT{top:0}._D-dQb._D-dQb ._ffwqA._NijW9{transform:rotate(-180deg)}._TX7oK{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._TX7oK::-webkit-scrollbar,._TX7oK::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._TX7oK::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._TX7oK::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._TX7oK:hover::-webkit-scrollbar,._TX7oK:hover::-webkit-scrollbar-thumb,._TX7oK[focus-within]::-webkit-scrollbar,._TX7oK[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._TX7oK:focus-within::-webkit-scrollbar,._TX7oK:focus-within::-webkit-scrollbar-thumb,._TX7oK:hover::-webkit-scrollbar,._TX7oK:hover::-webkit-scrollbar-thumb{visibility:visible}._iTaz2{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._iTaz2[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._iTaz2._UAcBN{background-color:#efefef}._iTaz2._IGEST{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._iTaz2._jWGrc{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._iTaz2._jWGrc._UAcBN{background-color:#e4effa}._iTaz2._KOm4C{cursor:default}._iTaz2:active:not(._VdBdL):not(._jWGrc):not([aria-disabled=true]):not(._KOm4C){background-color:#e8e9e9}._VdBdL{padding-right:32px}._VdBdL ._ffwqA{position:absolute;top:8px;right:3px;fill:#515559}._J0Xwr{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._oNYyE{position:absolute;top:13px;left:13px}._IOJ1b._IOJ1b{padding-left:32px}._JqMSv{margin:2px 12px 2px 0;flex-shrink:0}._JqMSv._Ovehu>svg{border-color:#0b6ed0}._FRzu6{display:flex;justify-self:center;margin:8px}";
|
|
6880
|
+
var styles$h = {"menuBtn":"_D-dQb","menuBtnLabel":"_a2ALp","small":"_RxsnT","selected":"_jWGrc","unlabelledButton":"_ZSakV","formLabelled":"_5ZbB5","rightIcon":"_ffwqA","open":"_NijW9","contentPane":"_TX7oK","menuItem":"_iTaz2","active":"_UAcBN","focus":"_IGEST","noMenuItems":"_KOm4C","subMenu":"_VdBdL","searchBox":"_J0Xwr","searchBoxIcon":"_oNYyE","searchBoxInput":"_IOJ1b","checkbox":"_JqMSv","highlighted":"_Ovehu","menuSpinner":"_FRzu6"};
|
|
6881
|
+
var stylesheet$h="._D-dQb._D-dQb{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._D-dQb._D-dQb,._D-dQb._D-dQb ._a2ALp{display:inline-flex;align-items:center}._D-dQb._D-dQb ._a2ALp{overflow:hidden;text-overflow:ellipsis}._D-dQb._D-dQb._RxsnT{min-height:26px;height:26px}._D-dQb._D-dQb._jWGrc{color:#32363a}._D-dQb._D-dQb:hover:not([aria-disabled=true]){background-color:#f5f5f5}._D-dQb._D-dQb:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._D-dQb._D-dQb[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._D-dQb._D-dQb[aria-disabled=true]>svg{fill:#515559;opacity:.4}._D-dQb._D-dQb[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._D-dQb._D-dQb._ZSakV{padding-left:0}._D-dQb._D-dQb._5ZbB5{margin-top:4px}._D-dQb._D-dQb ._ffwqA{fill:#515559}._D-dQb._D-dQb ._ffwqA._RxsnT{top:0}._D-dQb._D-dQb ._ffwqA._NijW9{transform:rotate(-180deg)}._TX7oK{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._TX7oK::-webkit-scrollbar,._TX7oK::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._TX7oK::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._TX7oK::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._TX7oK:hover::-webkit-scrollbar,._TX7oK:hover::-webkit-scrollbar-thumb,._TX7oK[focus-within]::-webkit-scrollbar,._TX7oK[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._TX7oK:focus-within::-webkit-scrollbar,._TX7oK:focus-within::-webkit-scrollbar-thumb,._TX7oK:hover::-webkit-scrollbar,._TX7oK:hover::-webkit-scrollbar-thumb{visibility:visible}._iTaz2{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._iTaz2[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._iTaz2._UAcBN{background-color:#efefef}._iTaz2._IGEST{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._iTaz2._jWGrc{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._iTaz2._jWGrc._UAcBN{background-color:#e4effa}._iTaz2._KOm4C{cursor:default}._iTaz2:active:not(._VdBdL):not(._jWGrc):not([aria-disabled=true]):not(._KOm4C){background-color:#e8e9e9}._VdBdL{padding-right:32px}._VdBdL ._ffwqA{position:absolute;top:8px;right:3px;fill:#515559}._J0Xwr{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._oNYyE{position:absolute;top:13px;left:13px}._IOJ1b._IOJ1b{padding-left:32px}._JqMSv{margin:2px 12px 2px 0;flex-shrink:0}._JqMSv._Ovehu>svg{border-color:#0b6ed0}._FRzu6{display:flex;justify-self:center;margin:8px}";
|
|
6720
6882
|
icons_index.styleInject(css_248z$h);
|
|
6721
6883
|
|
|
6722
6884
|
const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -7338,6 +7500,7 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
7338
7500
|
onKeyDown: e => {
|
|
7339
7501
|
if (e.key === 'Escape') {
|
|
7340
7502
|
e.stopPropagation(); // Prevent Escape key event from bubbling up
|
|
7503
|
+
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
7341
7504
|
if (isSubmenu) {
|
|
7342
7505
|
// Only update the highlighted index for the current menu
|
|
7343
7506
|
setHighlightedIndex(-1);
|
|
@@ -7470,9 +7633,8 @@ const SelectMenu = /*#__PURE__*/React__default["default"].forwardRef(function Se
|
|
|
7470
7633
|
const Controls = function Controls(_ref) {
|
|
7471
7634
|
let {
|
|
7472
7635
|
handleNewLogicItem,
|
|
7473
|
-
level,
|
|
7474
7636
|
itemType,
|
|
7475
|
-
|
|
7637
|
+
parent,
|
|
7476
7638
|
itemIndex,
|
|
7477
7639
|
itemLevel,
|
|
7478
7640
|
itemId,
|
|
@@ -7488,12 +7650,15 @@ const Controls = function Controls(_ref) {
|
|
|
7488
7650
|
maxConditions,
|
|
7489
7651
|
controlsRef
|
|
7490
7652
|
} = useLogicEditorContext();
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7653
|
+
const canAddNewSet = React.useMemo(() => {
|
|
7654
|
+
// If "insert condition set below" is clicked on a logic item's control, it's added at the same level.
|
|
7655
|
+
// If "insert condition set below" is clicked on a logic set's control, it's added a level deeper.
|
|
7656
|
+
const levelOfNewSet = itemType === LOGIC_TYPE_CONDITION ? itemLevel : itemLevel + 1;
|
|
7657
|
+
return !fixedSet && levelOfNewSet <= maxNestedSets;
|
|
7658
|
+
}, [fixedSet, itemLevel, maxNestedSets, itemType]);
|
|
7659
|
+
const indexOfNewItem = React.useMemo(() => itemType === LOGIC_TYPE_SET ? 0 : itemIndex + 1, [itemType, itemIndex]);
|
|
7660
|
+
const menu = React.useMemo(() => /*#__PURE__*/React__default["default"].createElement(Menu, {
|
|
7661
|
+
anchor: /*#__PURE__*/React__default["default"].createElement(IconButton$1, {
|
|
7497
7662
|
"aria-label": translations.conditionActions,
|
|
7498
7663
|
className: styles$i.controls,
|
|
7499
7664
|
"data-testid": dataTestId
|
|
@@ -7507,14 +7672,14 @@ const Controls = function Controls(_ref) {
|
|
|
7507
7672
|
}
|
|
7508
7673
|
}, !(fixedSet && maxConditions && numberOfSetItems >= maxConditions) && /*#__PURE__*/React__default["default"].createElement(MenuItem, {
|
|
7509
7674
|
value: "add-condition",
|
|
7510
|
-
onSelect: handleNewLogicItem(newCondition(),
|
|
7675
|
+
onSelect: () => handleNewLogicItem(newCondition(), indexOfNewItem)
|
|
7511
7676
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.AddItemIcon, {
|
|
7512
7677
|
"aria-hidden": "true"
|
|
7513
7678
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7514
7679
|
className: styles$i.controlMenuItem
|
|
7515
|
-
}, translations.insertConditionBelow)),
|
|
7680
|
+
}, translations.insertConditionBelow)), canAddNewSet && /*#__PURE__*/React__default["default"].createElement(MenuItem, {
|
|
7516
7681
|
value: "add-set",
|
|
7517
|
-
onSelect: handleNewLogicItem(newConditionSet(defaultSetValue),
|
|
7682
|
+
onSelect: () => handleNewLogicItem(newConditionSet(defaultSetValue), indexOfNewItem)
|
|
7518
7683
|
}, /*#__PURE__*/React__default["default"].createElement(icons_index.FilterIcon, {
|
|
7519
7684
|
"aria-hidden": "true"
|
|
7520
7685
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -7522,7 +7687,10 @@ const Controls = function Controls(_ref) {
|
|
|
7522
7687
|
}, translations.insertSetBelow)), (fixedSet && numberOfSetItems > 1 || !fixedSet && itemLevel > 0) && /*#__PURE__*/React__default["default"].createElement(MenuItem, {
|
|
7523
7688
|
value: "delete",
|
|
7524
7689
|
onSelect: e => {
|
|
7525
|
-
onDelete(
|
|
7690
|
+
onDelete({
|
|
7691
|
+
parent,
|
|
7692
|
+
index: itemIndex
|
|
7693
|
+
});
|
|
7526
7694
|
// We want to move focus to the previous control
|
|
7527
7695
|
// item when this one is deleted, so we need to
|
|
7528
7696
|
// prevent Menu's default focus behavior
|
|
@@ -7532,7 +7700,16 @@ const Controls = function Controls(_ref) {
|
|
|
7532
7700
|
"aria-hidden": "true"
|
|
7533
7701
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7534
7702
|
className: styles$i.controlMenuItem
|
|
7535
|
-
}, translations.delete)))
|
|
7703
|
+
}, translations.delete))), [
|
|
7704
|
+
// context
|
|
7705
|
+
translations, fixedSet, onDelete, defaultSetValue, maxConditions, controlsRef,
|
|
7706
|
+
// props
|
|
7707
|
+
handleNewLogicItem, parent, itemIndex, itemLevel, itemId, numberOfSetItems, dataTestId, canAddNewSet, indexOfNewItem]);
|
|
7708
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7709
|
+
className: classNames__default["default"]({
|
|
7710
|
+
[styles$i.conditionControlsContainer]: itemType === LOGIC_TYPE_CONDITION
|
|
7711
|
+
})
|
|
7712
|
+
}, menu);
|
|
7536
7713
|
};
|
|
7537
7714
|
|
|
7538
7715
|
const ConditionSet = function ConditionSet(_ref) {
|
|
@@ -7551,10 +7728,10 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
7551
7728
|
readOnly,
|
|
7552
7729
|
rootDataTestId
|
|
7553
7730
|
} = useLogicEditorContext();
|
|
7554
|
-
const position = {
|
|
7731
|
+
const position = React.useMemo(() => ({
|
|
7555
7732
|
parent,
|
|
7556
7733
|
index
|
|
7557
|
-
};
|
|
7734
|
+
}), [parent, index]);
|
|
7558
7735
|
const conditionRef = React__default["default"].useRef(null);
|
|
7559
7736
|
const lastConnectionRef = React__default["default"].useRef();
|
|
7560
7737
|
const lastItemRef = React__default["default"].useRef();
|
|
@@ -7583,12 +7760,12 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
7583
7760
|
}
|
|
7584
7761
|
useEventListener(window, 'resize', setupLastLine);
|
|
7585
7762
|
React__default["default"].useLayoutEffect(setupLastLine);
|
|
7586
|
-
const handleNewLogicItem = (item, newItemIndex) =>
|
|
7763
|
+
const handleNewLogicItem = React.useCallback((item, newItemIndex) => {
|
|
7587
7764
|
onNewLogicItem(item, {
|
|
7588
7765
|
parent: position,
|
|
7589
7766
|
index: newItemIndex
|
|
7590
7767
|
});
|
|
7591
|
-
};
|
|
7768
|
+
}, [position, onNewLogicItem]);
|
|
7592
7769
|
|
|
7593
7770
|
/**
|
|
7594
7771
|
* Returns a data-testid unique to the current position in the tree.
|
|
@@ -7609,13 +7786,12 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
7609
7786
|
}
|
|
7610
7787
|
return getSubDataTestId(rootDataTestId, "".concat(prefix, "-").concat(indices.join('-')));
|
|
7611
7788
|
}, [fixedSet, rootDataTestId]);
|
|
7612
|
-
function renderControls(itemType, itemPosition,
|
|
7789
|
+
function renderControls(itemType, itemPosition, itemLevel, numberOfSetItems, itemId) {
|
|
7613
7790
|
return /*#__PURE__*/React__default["default"].createElement(Controls, {
|
|
7614
7791
|
handleNewLogicItem: handleNewLogicItem,
|
|
7615
|
-
level: level,
|
|
7616
7792
|
itemType: itemType,
|
|
7617
|
-
|
|
7618
|
-
itemIndex:
|
|
7793
|
+
parent: itemPosition.parent,
|
|
7794
|
+
itemIndex: itemPosition.index,
|
|
7619
7795
|
itemLevel: itemLevel,
|
|
7620
7796
|
numberOfSetItems: numberOfSetItems,
|
|
7621
7797
|
itemId: itemId,
|
|
@@ -7651,7 +7827,7 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
7651
7827
|
position: conditionPosition,
|
|
7652
7828
|
condition: item,
|
|
7653
7829
|
firstFocusableElementRef: fixedSet && firstFocusableElementRef && i === 0 ? firstFocusableElementRef : undefined,
|
|
7654
|
-
conditionControls: !readOnly ? renderControls(LOGIC_TYPE_CONDITION, conditionPosition,
|
|
7830
|
+
conditionControls: !readOnly ? renderControls(LOGIC_TYPE_CONDITION, conditionPosition, level + 1, value.conditions.length, item.id) : undefined
|
|
7655
7831
|
}));
|
|
7656
7832
|
}
|
|
7657
7833
|
if (item.logicType === LOGIC_TYPE_SET) {
|
|
@@ -7693,7 +7869,7 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
7693
7869
|
}), /*#__PURE__*/React__default["default"].createElement(DropdownOption, {
|
|
7694
7870
|
value: SET_VALUE_ALL,
|
|
7695
7871
|
label: String(translations.all)
|
|
7696
|
-
}))), !readOnly && renderControls(LOGIC_TYPE_SET, position,
|
|
7872
|
+
}))), !readOnly && renderControls(LOGIC_TYPE_SET, position, level, value.conditions.length, value.id)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7697
7873
|
role: "group",
|
|
7698
7874
|
ref: conditionRef
|
|
7699
7875
|
}, renderSetChildren()));
|
|
@@ -7717,63 +7893,74 @@ const LogicEditor = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
7717
7893
|
const {
|
|
7718
7894
|
translate
|
|
7719
7895
|
} = useTranslation();
|
|
7720
|
-
const translations = {
|
|
7896
|
+
const translations = React.useMemo(() => ({
|
|
7721
7897
|
any: translate('logicEditor.any'),
|
|
7722
7898
|
all: translate('logicEditor.all'),
|
|
7723
7899
|
insertConditionBelow: translate('logicEditor.insertConditionBelow'),
|
|
7724
7900
|
insertSetBelow: translate('logicEditor.insertSetBelow'),
|
|
7725
7901
|
delete: translate('logicEditor.delete'),
|
|
7726
7902
|
conditionActions: translate('logicEditor.conditionActions')
|
|
7727
|
-
};
|
|
7728
|
-
const [state, setState] =
|
|
7903
|
+
}), [translate]);
|
|
7904
|
+
const [state, setState] = React.useState(constructValidDefaultState({
|
|
7729
7905
|
defaultValue,
|
|
7730
7906
|
defaultSetValue,
|
|
7731
7907
|
fixedSet,
|
|
7732
7908
|
maxNestedSets
|
|
7733
7909
|
}));
|
|
7734
7910
|
const classes = classNames__default["default"](className, styles$i.editor);
|
|
7735
|
-
|
|
7736
|
-
setState(
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
update(
|
|
7744
|
-
|
|
7911
|
+
const update = React.useCallback(setStateCallback => {
|
|
7912
|
+
setState(prevState => {
|
|
7913
|
+
const newState = setStateCallback(prevState);
|
|
7914
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newState);
|
|
7915
|
+
return newState;
|
|
7916
|
+
});
|
|
7917
|
+
}, [onChange]);
|
|
7918
|
+
const handleNewLogicItem = React.useCallback((item, position) => {
|
|
7919
|
+
update(prevState => {
|
|
7920
|
+
const newState = shallowCopy(prevState);
|
|
7921
|
+
const parent = getParentSet(newState, position);
|
|
7922
|
+
parent.conditions.splice(position.index, 0, item);
|
|
7923
|
+
return newState;
|
|
7924
|
+
});
|
|
7925
|
+
}, [update]);
|
|
7745
7926
|
const handleSetChange = (newSetValue, position) => {
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7927
|
+
update(prevState => {
|
|
7928
|
+
const rootState = shallowCopy(prevState);
|
|
7929
|
+
const parent = getParentSet(rootState, position);
|
|
7930
|
+
if (!position.parent) {
|
|
7931
|
+
// root set
|
|
7932
|
+
parent.value = newSetValue;
|
|
7933
|
+
} else {
|
|
7934
|
+
parent.conditions[position.index].value = newSetValue;
|
|
7935
|
+
}
|
|
7936
|
+
return rootState;
|
|
7937
|
+
});
|
|
7755
7938
|
};
|
|
7756
7939
|
const handleConditionChange = (newCondition, position) => {
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7940
|
+
update(prevState => {
|
|
7941
|
+
const newState = shallowCopy(prevState);
|
|
7942
|
+
const parent = getParentSet(newState, position);
|
|
7943
|
+
parent.conditions[position.index] = newCondition;
|
|
7944
|
+
return newState;
|
|
7945
|
+
});
|
|
7761
7946
|
};
|
|
7762
7947
|
const controlsRef = React.useRef({});
|
|
7763
|
-
const handleDelete = position => {
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7948
|
+
const handleDelete = React.useCallback(position => {
|
|
7949
|
+
update(prevState => {
|
|
7950
|
+
let previousItemId = getPreviousItemId(prevState, position);
|
|
7951
|
+
const newState = shallowCopy(prevState);
|
|
7952
|
+
const parent = getParentSet(newState, position);
|
|
7953
|
+
parent.conditions.splice(position.index, 1);
|
|
7954
|
+
|
|
7955
|
+
// If the last condition in a set was deleted, also delete the set.
|
|
7956
|
+
if (parent.conditions.length === 0) {
|
|
7957
|
+
previousItemId = getPreviousItemId(newState, position.parent);
|
|
7958
|
+
getParentSet(newState, position.parent).conditions.splice(position.parent.index, 1);
|
|
7959
|
+
}
|
|
7960
|
+
controlsRef.current[previousItemId].focus();
|
|
7961
|
+
return newState;
|
|
7962
|
+
});
|
|
7963
|
+
}, [update, controlsRef]);
|
|
7777
7964
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
7778
7965
|
role: "group",
|
|
7779
7966
|
className: classes,
|
|
@@ -7803,9 +7990,9 @@ const LogicEditor = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
7803
7990
|
})));
|
|
7804
7991
|
});
|
|
7805
7992
|
|
|
7806
|
-
var css_248z$g = ".
|
|
7807
|
-
var styles$g = {"backdrop":"
|
|
7808
|
-
var stylesheet$g=".
|
|
7993
|
+
var css_248z$g = "._0o3V2{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._0o3V2,._ARUXS{display:flex;overflow:auto}._ARUXS{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._pFZhH)._-SDIo{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._-SDIo{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._pFZhH)._olo1k{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._olo1k{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._pFZhH)._olo1k{max-width:700px}}:not(._pFZhH)._-TGr2{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._-TGr2{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._pFZhH)._-TGr2{max-width:700px}}@media screen and (min-width:1024px){:not(._pFZhH)._-TGr2{max-width:1000px}}:not(._pFZhH)._NhjPK{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._NhjPK{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._pFZhH)._NhjPK{max-width:700px}}@media screen and (min-width:1024px){:not(._pFZhH)._NhjPK{max-width:1000px}}@media screen and (min-width:1632px){:not(._pFZhH)._NhjPK{max-width:1600px;max-height:calc(100vh - 32px)}}._pFZhH{min-width:200px;width:calc(100% - 48px)}._pFZhH,._pFZhH._-SDIo{max-height:calc(100vh - 80px)}._pFZhH._-SDIo{max-width:480px;border-radius:8px}._pFZhH._olo1k{max-width:700px}._pFZhH._-TGr2{max-width:1000px}._pFZhH._NhjPK{max-width:1600px;max-height:calc(100vh - 32px)}._uRtGp{height:calc(100vh - 80px)}@media screen and (max-width:479px){._uRtGp{height:100vh}}@media screen and (min-width:1632px){._uRtGp{height:calc(100vh - 32px)}}._R5Z1K{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._6cjo6{padding-right:64px}._QMXp9{position:absolute;top:14px;right:14px}._YlAbZ{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._qTaqD,._YlAbZ{padding:20px 24px}._qTaqD{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._qTaqD>*{margin:0 4px}._qTaqD>:first-child{margin-left:0}._qTaqD>:last-child{margin-right:0}@keyframes _IyKCp{0%{opacity:0}}._IyKCp{animation:_IyKCp ease-in both;animation-duration:.2s}@keyframes _Yjayr{to{opacity:0}}._Yjayr{animation:_Yjayr ease-out both;animation-duration:.2s}@keyframes _Dkye4{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Dkye4{animation:_Dkye4 both;animation-duration:.2s}@keyframes _T6iRW{to{transform:scale3d(.7,.7,.7);opacity:0}}._T6iRW{animation:_T6iRW both;animation-duration:.2s}";
|
|
7994
|
+
var styles$g = {"backdrop":"_0o3V2","modal":"_ARUXS","responsive":"_pFZhH","dialogSmall":"_-SDIo","dialogMedium":"_olo1k","dialogLarge":"_-TGr2","dialogExtraLarge":"_NhjPK","growToMaxHeight":"_uRtGp","modalHeader":"_R5Z1K","modalHeaderWithCloseButton":"_6cjo6","modalHeaderCloseButton":"_QMXp9","modalBody":"_YlAbZ","modalFooter":"_qTaqD","fadeEnter":"_IyKCp","fadeLeave":"_Yjayr","zoomEnter":"_Dkye4","zoomLeave":"_T6iRW"};
|
|
7995
|
+
var stylesheet$g="._0o3V2{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._0o3V2,._ARUXS{display:flex;overflow:auto}._ARUXS{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._pFZhH)._-SDIo{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._-SDIo{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._pFZhH)._olo1k{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._olo1k{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._pFZhH)._olo1k{max-width:700px}}:not(._pFZhH)._-TGr2{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._-TGr2{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._pFZhH)._-TGr2{max-width:700px}}@media screen and (min-width:1024px){:not(._pFZhH)._-TGr2{max-width:1000px}}:not(._pFZhH)._NhjPK{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._pFZhH)._NhjPK{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._pFZhH)._NhjPK{max-width:700px}}@media screen and (min-width:1024px){:not(._pFZhH)._NhjPK{max-width:1000px}}@media screen and (min-width:1632px){:not(._pFZhH)._NhjPK{max-width:1600px;max-height:calc(100vh - 32px)}}._pFZhH{min-width:200px;width:calc(100% - 48px)}._pFZhH,._pFZhH._-SDIo{max-height:calc(100vh - 80px)}._pFZhH._-SDIo{max-width:480px;border-radius:8px}._pFZhH._olo1k{max-width:700px}._pFZhH._-TGr2{max-width:1000px}._pFZhH._NhjPK{max-width:1600px;max-height:calc(100vh - 32px)}._uRtGp{height:calc(100vh - 80px)}@media screen and (max-width:479px){._uRtGp{height:100vh}}@media screen and (min-width:1632px){._uRtGp{height:calc(100vh - 32px)}}._R5Z1K{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._6cjo6{padding-right:64px}._QMXp9{position:absolute;top:14px;right:14px}._YlAbZ{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._qTaqD,._YlAbZ{padding:20px 24px}._qTaqD{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._qTaqD>*{margin:0 4px}._qTaqD>:first-child{margin-left:0}._qTaqD>:last-child{margin-right:0}@keyframes _IyKCp{0%{opacity:0}}._IyKCp{animation:_IyKCp ease-in both;animation-duration:.2s}@keyframes _Yjayr{to{opacity:0}}._Yjayr{animation:_Yjayr ease-out both;animation-duration:.2s}@keyframes _Dkye4{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Dkye4{animation:_Dkye4 both;animation-duration:.2s}@keyframes _T6iRW{to{transform:scale3d(.7,.7,.7);opacity:0}}._T6iRW{animation:_T6iRW both;animation-duration:.2s}";
|
|
7809
7996
|
icons_index.styleInject(css_248z$g);
|
|
7810
7997
|
|
|
7811
7998
|
const {
|
|
@@ -7853,11 +8040,13 @@ const Overlay = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref) =
|
|
|
7853
8040
|
};
|
|
7854
8041
|
const handleKeyDown = e => {
|
|
7855
8042
|
if (e.key === 'Escape') {
|
|
7856
|
-
e.stopPropagation(); //
|
|
8043
|
+
e.stopPropagation(); // Prevent event from closing modals or popovers
|
|
7857
8044
|
onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss(e);
|
|
7858
8045
|
onClose === null || onClose === void 0 ? void 0 : onClose(e);
|
|
8046
|
+
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
7859
8047
|
}
|
|
7860
8048
|
};
|
|
8049
|
+
|
|
7861
8050
|
const handleBodyKeyDown = e => {
|
|
7862
8051
|
// ignore bubbled events
|
|
7863
8052
|
if (e.target === e.currentTarget) {
|
|
@@ -8031,7 +8220,7 @@ const ModalHeader = /*#__PURE__*/React__default["default"].forwardRef((_ref5, re
|
|
|
8031
8220
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
8032
8221
|
ref: ref,
|
|
8033
8222
|
className: classes
|
|
8034
|
-
}), children, typeof onClose === 'function' ? /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
8223
|
+
}), children, typeof onClose === 'function' ? /*#__PURE__*/React__default["default"].createElement(IconButton$1, {
|
|
8035
8224
|
className: styles$g.modalHeaderCloseButton,
|
|
8036
8225
|
onClick: onClose,
|
|
8037
8226
|
"aria-label": translate('close'),
|
|
@@ -8063,9 +8252,9 @@ const ModalFooter = /*#__PURE__*/React__default["default"].forwardRef((_ref7, re
|
|
|
8063
8252
|
}), children);
|
|
8064
8253
|
});
|
|
8065
8254
|
|
|
8066
|
-
var css_248z$f = ".
|
|
8067
|
-
var styles$f = {"numberStepperContainer":"
|
|
8068
|
-
var stylesheet$f=".
|
|
8255
|
+
var css_248z$f = "._wMZTI{display:inline-flex;width:127px}._vy1rI{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._vy1rI:hover:not(._nk5d6){cursor:pointer;background:#f5f5f5}._vy1rI._O4Jqk{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._vy1rI._nk5d6{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._vy1rI._nk5d6>svg{opacity:.4}._vy1rI::-webkit-inner-spin-button,._vy1rI::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._vy1rI:focus{z-index:0;border:none;border-radius:4px}._vy1rI:focus:not(._O4Jqk){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._bYoMk,._vy1rI:focus:not(._nk5d6){background:#fafafa}._bYoMk{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._bYoMk:hover:not(._nk5d6){cursor:pointer;background:#f5f5f5}._bYoMk:active:not(._nk5d6){background:#e5e5e5}._bYoMk._nk5d6{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._bYoMk._nk5d6>svg{opacity:.4}._uFFkw{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._uFFkw:hover:not(._nk5d6){cursor:pointer;background:#f5f5f5}._uFFkw:active:not(._nk5d6){background:#e5e5e5}._uFFkw._nk5d6{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._uFFkw._nk5d6>svg{opacity:.4}";
|
|
8256
|
+
var styles$f = {"numberStepperContainer":"_wMZTI","numberStepperInput":"_vy1rI","disabled":"_nk5d6","invalid":"_O4Jqk","decrementBtn":"_bYoMk","incrementBtn":"_uFFkw"};
|
|
8257
|
+
var stylesheet$f="._wMZTI{display:inline-flex;width:127px}._vy1rI{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._vy1rI:hover:not(._nk5d6){cursor:pointer;background:#f5f5f5}._vy1rI._O4Jqk{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._vy1rI._nk5d6{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._vy1rI._nk5d6>svg{opacity:.4}._vy1rI::-webkit-inner-spin-button,._vy1rI::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._vy1rI:focus{z-index:0;border:none;border-radius:4px}._vy1rI:focus:not(._O4Jqk){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._bYoMk,._vy1rI:focus:not(._nk5d6){background:#fafafa}._bYoMk{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._bYoMk:hover:not(._nk5d6){cursor:pointer;background:#f5f5f5}._bYoMk:active:not(._nk5d6){background:#e5e5e5}._bYoMk._nk5d6{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._bYoMk._nk5d6>svg{opacity:.4}._uFFkw{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._uFFkw:hover:not(._nk5d6){cursor:pointer;background:#f5f5f5}._uFFkw:active:not(._nk5d6){background:#e5e5e5}._uFFkw._nk5d6{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._uFFkw._nk5d6>svg{opacity:.4}";
|
|
8069
8258
|
icons_index.styleInject(css_248z$f);
|
|
8070
8259
|
|
|
8071
8260
|
const {
|
|
@@ -8576,9 +8765,9 @@ function clampMinMax$1(value, _ref2) {
|
|
|
8576
8765
|
return value;
|
|
8577
8766
|
}
|
|
8578
8767
|
|
|
8579
|
-
var css_248z$e = ".
|
|
8580
|
-
var styles$e = {"pageContainer":"
|
|
8581
|
-
var stylesheet$e=".
|
|
8768
|
+
var css_248z$e = "._Y0ENl{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._uQkJE{grid-area:pageHeader}._KLQc5{grid-area:mainContent;height:100%;overflow:auto}";
|
|
8769
|
+
var styles$e = {"pageContainer":"_Y0ENl","pageHeader":"_uQkJE","mainContent":"_KLQc5"};
|
|
8770
|
+
var stylesheet$e="._Y0ENl{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._uQkJE{grid-area:pageHeader}._KLQc5{grid-area:mainContent;height:100%;overflow:auto}";
|
|
8582
8771
|
icons_index.styleInject(css_248z$e);
|
|
8583
8772
|
|
|
8584
8773
|
const PageContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -8614,9 +8803,9 @@ const MainContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
8614
8803
|
}));
|
|
8615
8804
|
});
|
|
8616
8805
|
|
|
8617
|
-
var css_248z$d = ".
|
|
8618
|
-
var styles$d = {"pagination":"
|
|
8619
|
-
var stylesheet$d=".
|
|
8806
|
+
var css_248z$d = "._vLiay{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._rulyr{margin-right:8px}._hP9ZY{margin-left:8px}._pgUhE{margin:-10px -15px}._uADRT{width:100%;text-align:center}";
|
|
8807
|
+
var styles$d = {"pagination":"_vLiay","previousButton":"_rulyr","nextButton":"_hP9ZY","btnIcon":"_pgUhE","input":"_uADRT"};
|
|
8808
|
+
var stylesheet$d="._vLiay{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._rulyr{margin-right:8px}._hP9ZY{margin-left:8px}._pgUhE{margin:-10px -15px}._uADRT{width:100%;text-align:center}";
|
|
8620
8809
|
icons_index.styleInject(css_248z$d);
|
|
8621
8810
|
|
|
8622
8811
|
const {
|
|
@@ -8912,9 +9101,9 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
8912
9101
|
}, children || /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(PaginationPreviousButton, null), Number(numPages) > 0 ? /*#__PURE__*/React__default["default"].createElement(PaginationPageInput, null) : null, /*#__PURE__*/React__default["default"].createElement(PaginationNextButton, null))));
|
|
8913
9102
|
});
|
|
8914
9103
|
|
|
8915
|
-
var css_248z$c = ".
|
|
8916
|
-
var styles$c = {"popover":"
|
|
8917
|
-
var stylesheet$c=".
|
|
9104
|
+
var css_248z$c = "._sXOHD{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._sXOHD:focus{outline:none}._P-Gwi,._P-Gwi>div{position:absolute;width:8px;height:8px;background:inherit}._P-Gwi{visibility:hidden;z-index:1000}._P-Gwi>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._P-Gwi{bottom:-4px}[data-popper-placement^=top]>._P-Gwi>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._P-Gwi{left:-5px}[data-popper-placement^=right]>._P-Gwi>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._P-Gwi{top:-5px}[data-popper-placement^=bottom]>._P-Gwi>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._P-Gwi{right:-4px}[data-popper-placement^=left]>._P-Gwi>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
9105
|
+
var styles$c = {"popover":"_sXOHD","arrow":"_P-Gwi"};
|
|
9106
|
+
var stylesheet$c="._sXOHD{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._sXOHD:focus{outline:none}._P-Gwi,._P-Gwi>div{position:absolute;width:8px;height:8px;background:inherit}._P-Gwi{visibility:hidden;z-index:1000}._P-Gwi>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._P-Gwi{bottom:-4px}[data-popper-placement^=top]>._P-Gwi>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._P-Gwi{left:-5px}[data-popper-placement^=right]>._P-Gwi>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._P-Gwi{top:-5px}[data-popper-placement^=bottom]>._P-Gwi>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._P-Gwi{right:-4px}[data-popper-placement^=left]>._P-Gwi>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
8918
9107
|
icons_index.styleInject(css_248z$c);
|
|
8919
9108
|
|
|
8920
9109
|
const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -8968,7 +9157,8 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
8968
9157
|
};
|
|
8969
9158
|
const handlePopoverContainerKeyDown = e => {
|
|
8970
9159
|
if (e.key === 'Escape') {
|
|
8971
|
-
e.stopPropagation(); //
|
|
9160
|
+
e.stopPropagation(); // Prevent event from closing modals or popovers
|
|
9161
|
+
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
8972
9162
|
onClose === null || onClose === void 0 ? void 0 : onClose(e);
|
|
8973
9163
|
}
|
|
8974
9164
|
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
|
|
@@ -9030,9 +9220,9 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
9030
9220
|
});
|
|
9031
9221
|
});
|
|
9032
9222
|
|
|
9033
|
-
var css_248z$b = ".
|
|
9034
|
-
var styles$b = {"loadingSpinner":"
|
|
9035
|
-
var stylesheet$b=".
|
|
9223
|
+
var css_248z$b = "._1m0l9{display:flex;height:32px}";
|
|
9224
|
+
var styles$b = {"loadingSpinner":"_1m0l9"};
|
|
9225
|
+
var stylesheet$b="._1m0l9{display:flex;height:32px}";
|
|
9036
9226
|
icons_index.styleInject(css_248z$b);
|
|
9037
9227
|
|
|
9038
9228
|
const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -9208,9 +9398,9 @@ const QuickSearch = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9208
9398
|
}));
|
|
9209
9399
|
});
|
|
9210
9400
|
|
|
9211
|
-
var css_248z$a = ".
|
|
9212
|
-
var styles$a = {"radio":"
|
|
9213
|
-
var stylesheet$a=".
|
|
9401
|
+
var css_248z$a = "._cLPHq{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._BvI5g,._cLPHq{cursor:pointer;height:16px;width:16px}._BvI5g{position:absolute;opacity:0;z-index:10}._BvI5g:checked~._wd-Xt>._NwpD9{fill-opacity:1}._BvI5g:checked:enabled~._wd-Xt{border-color:transparent;background-color:#0b6ed0}._BvI5g:checked:enabled~._wd-Xt>._NwpD9{fill:#fff}._BvI5g:checked:enabled:hover~._wd-Xt{background-color:#085caf}._BvI5g:not(:checked):enabled:hover~._wd-Xt{border-color:#0b6ed0}._BvI5g:disabled{cursor:not-allowed}._BvI5g:disabled~._wd-Xt{opacity:.4}._BvI5g:checked~._wd-Xt:after{content:\"\"}._XlhMr{color:#32363a;display:flex;align-items:center;cursor:pointer}._zFpFV{cursor:auto;color:hsla(0,0%,53.7%,.4)}._VtICd{margin-right:12px;flex-shrink:0}._wd-Xt{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._NwpD9{fill:#0b6ed0;fill-opacity:0}._wd-Xt:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._fWEMK{border:none;padding:0;margin:0}._vSol-{padding:0;margin:0 0 14px;color:#01213f}._BvI5g.focus-visible~._wd-Xt,._BvI5g:focus-visible~._wd-Xt{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9402
|
+
var styles$a = {"radio":"_cLPHq","input":"_BvI5g","check":"_wd-Xt","checkIcon":"_NwpD9","label":"_XlhMr","labelDisabled":"_zFpFV","wrappedInput":"_VtICd","radioGroup":"_fWEMK","legend":"_vSol-"};
|
|
9403
|
+
var stylesheet$a="._cLPHq{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._BvI5g,._cLPHq{cursor:pointer;height:16px;width:16px}._BvI5g{position:absolute;opacity:0;z-index:10}._BvI5g:checked~._wd-Xt>._NwpD9{fill-opacity:1}._BvI5g:checked:enabled~._wd-Xt{border-color:transparent;background-color:#0b6ed0}._BvI5g:checked:enabled~._wd-Xt>._NwpD9{fill:#fff}._BvI5g:checked:enabled:hover~._wd-Xt{background-color:#085caf}._BvI5g:not(:checked):enabled:hover~._wd-Xt{border-color:#0b6ed0}._BvI5g:disabled{cursor:not-allowed}._BvI5g:disabled~._wd-Xt{opacity:.4}._BvI5g:checked~._wd-Xt:after{content:\"\"}._XlhMr{color:#32363a;display:flex;align-items:center;cursor:pointer}._zFpFV{cursor:auto;color:hsla(0,0%,53.7%,.4)}._VtICd{margin-right:12px;flex-shrink:0}._wd-Xt{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._NwpD9{fill:#0b6ed0;fill-opacity:0}._wd-Xt:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._fWEMK{border:none;padding:0;margin:0}._vSol-{padding:0;margin:0 0 14px;color:#01213f}._BvI5g.focus-visible~._wd-Xt,._BvI5g:focus-visible~._wd-Xt{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9214
9404
|
icons_index.styleInject(css_248z$a);
|
|
9215
9405
|
|
|
9216
9406
|
const {
|
|
@@ -9323,9 +9513,9 @@ const RadioGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
9323
9513
|
}, label), children));
|
|
9324
9514
|
});
|
|
9325
9515
|
|
|
9326
|
-
var css_248z$9 = ".
|
|
9327
|
-
var styles$9 = {"searchInput":"
|
|
9328
|
-
var stylesheet$9=".
|
|
9516
|
+
var css_248z$9 = "._1TLfG{display:inline-block;position:relative}._5CPvM._5CPvM{padding-left:36px;padding-right:36px;width:100%}._5CPvM._5CPvM:disabled+._aM2zV{fill-opacity:.6}._aM2zV{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._aM2zV._AFlO2{z-index:20}._C7qw6{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._C7qw6:hover{cursor:pointer}._C7qw6:hover>._aWxSi{fill:#32363a}._C7qw6:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._aWxSi{fill:#515559}";
|
|
9517
|
+
var styles$9 = {"searchInput":"_1TLfG","searchInputInput":"_5CPvM","searchInputSearchIcon":"_aM2zV","usedWithinInputGroup":"_AFlO2","searchInputClearButton":"_C7qw6","searchInputClearButtonIcon":"_aWxSi"};
|
|
9518
|
+
var stylesheet$9="._1TLfG{display:inline-block;position:relative}._5CPvM._5CPvM{padding-left:36px;padding-right:36px;width:100%}._5CPvM._5CPvM:disabled+._aM2zV{fill-opacity:.6}._aM2zV{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._aM2zV._AFlO2{z-index:20}._C7qw6{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._C7qw6:hover{cursor:pointer}._C7qw6:hover>._aWxSi{fill:#32363a}._C7qw6:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._aWxSi{fill:#515559}";
|
|
9329
9519
|
icons_index.styleInject(css_248z$9);
|
|
9330
9520
|
|
|
9331
9521
|
const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -9375,6 +9565,7 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9375
9565
|
if (e.key === 'Escape') {
|
|
9376
9566
|
if (inputValue) {
|
|
9377
9567
|
e.stopPropagation(); // prevent event from closing modals or popovers
|
|
9568
|
+
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
9378
9569
|
}
|
|
9379
9570
|
|
|
9380
9571
|
clearInputText();
|
|
@@ -9426,9 +9617,9 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9426
9617
|
|
|
9427
9618
|
/* eslint-disable import/prefer-default-export */
|
|
9428
9619
|
|
|
9429
|
-
var css_248z$8 = ".
|
|
9430
|
-
var styles$8 = {"sideBarNav":"
|
|
9431
|
-
var stylesheet$8=".
|
|
9620
|
+
var css_248z$8 = "._2vv6G{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._2vv6G._BPA97{width:69px;min-width:auto;max-width:none}._WvzRA{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._YJM2-{margin-bottom:12px;background-color:transparent!important}._YJM2-:hover{background-color:rgba(11,110,208,.08)!important}._YJM2-:hover ._9-wbj{fill:#085caf}._YJM2-:hover ._dx47j{color:#085caf}._YJM2-:active{background-color:rgba(11,110,208,.12)!important}._YJM2-:active ._9-wbj{fill:#0854a1}._YJM2-:active ._dx47j{color:#0854a1}._YJM2-._3kEyg{background-color:rgba(11,110,208,.08)!important}._YJM2-._3kEyg ._9-wbj{fill:#0b6ed0}._YJM2-._3kEyg ._dx47j{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._YJM2-._3kEyg:hover{background-color:rgba(11,110,208,.08)!important}._YJM2-._3kEyg:hover ._9-wbj{fill:#085caf}._YJM2-._3kEyg:hover ._dx47j{color:#085caf}._YJM2-._3kEyg:active{background-color:rgba(11,110,208,.12)!important}._YJM2-._3kEyg:active ._9-wbj{fill:#0854a1}._YJM2-._3kEyg:active ._dx47j{color:#0854a1}._Na2kh{border-radius:6px}._Na2kh ._9-wbj{display:block;fill:#515559}._osPRU{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._kYDwX,._NDmbg{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._kYDwX ._9-wbj,._NDmbg ._9-wbj{fill:#515559}._kYDwX ._dx47j,._NDmbg ._dx47j{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._YJM2-.focus-visible,._YJM2-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9621
|
+
var styles$8 = {"sideBarNav":"_2vv6G","collapsed":"_BPA97","navItems":"_WvzRA","sidebarNavItem":"_YJM2-","icon":"_9-wbj","label":"_dx47j","selected":"_3kEyg","sidebarNavItemIconButton":"_Na2kh","expandCollapseButtonContainer":"_osPRU","navLink":"_NDmbg","iconButtonWithLabel":"_kYDwX"};
|
|
9622
|
+
var stylesheet$8="._2vv6G{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._2vv6G._BPA97{width:69px;min-width:auto;max-width:none}._WvzRA{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._YJM2-{margin-bottom:12px;background-color:transparent!important}._YJM2-:hover{background-color:rgba(11,110,208,.08)!important}._YJM2-:hover ._9-wbj{fill:#085caf}._YJM2-:hover ._dx47j{color:#085caf}._YJM2-:active{background-color:rgba(11,110,208,.12)!important}._YJM2-:active ._9-wbj{fill:#0854a1}._YJM2-:active ._dx47j{color:#0854a1}._YJM2-._3kEyg{background-color:rgba(11,110,208,.08)!important}._YJM2-._3kEyg ._9-wbj{fill:#0b6ed0}._YJM2-._3kEyg ._dx47j{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._YJM2-._3kEyg:hover{background-color:rgba(11,110,208,.08)!important}._YJM2-._3kEyg:hover ._9-wbj{fill:#085caf}._YJM2-._3kEyg:hover ._dx47j{color:#085caf}._YJM2-._3kEyg:active{background-color:rgba(11,110,208,.12)!important}._YJM2-._3kEyg:active ._9-wbj{fill:#0854a1}._YJM2-._3kEyg:active ._dx47j{color:#0854a1}._Na2kh{border-radius:6px}._Na2kh ._9-wbj{display:block;fill:#515559}._osPRU{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._kYDwX,._NDmbg{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._kYDwX ._9-wbj,._NDmbg ._9-wbj{fill:#515559}._kYDwX ._dx47j,._NDmbg ._dx47j{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._YJM2-.focus-visible,._YJM2-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9432
9623
|
icons_index.styleInject(css_248z$8);
|
|
9433
9624
|
|
|
9434
9625
|
const {
|
|
@@ -9459,7 +9650,7 @@ const ExpandCollapseButton$1 = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
9459
9650
|
lightTheme: true,
|
|
9460
9651
|
delayMs: 500,
|
|
9461
9652
|
"aria-hidden": true
|
|
9462
|
-
}, /*#__PURE__*/React__default["default"].createElement(IconButton, _extends__default["default"]({}, props, {
|
|
9653
|
+
}, /*#__PURE__*/React__default["default"].createElement(IconButton$1, _extends__default["default"]({}, props, {
|
|
9463
9654
|
className: classNames__default["default"](styles$8.sidebarNavItem, styles$8.sidebarNavItemIconButton, styles$8.expandCollapseButton),
|
|
9464
9655
|
"aria-label": expandSidebarLabel,
|
|
9465
9656
|
ref: ref
|
|
@@ -9583,9 +9774,9 @@ const SidebarNavLink = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9583
9774
|
return link;
|
|
9584
9775
|
});
|
|
9585
9776
|
|
|
9586
|
-
var css_248z$7 = ".
|
|
9587
|
-
var styles$7 = {"slider":"
|
|
9588
|
-
var stylesheet$7=".
|
|
9777
|
+
var css_248z$7 = "._dGP5a{height:auto;width:200px;padding:5px 10px}._8qrQb{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._Uis-t{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._OXmST,._Uis-t{position:absolute}._OXmST{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._OXmST:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._OXmST.focus-visible,._OXmST:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9778
|
+
var styles$7 = {"slider":"_dGP5a","track":"_8qrQb","fill":"_Uis-t","button":"_OXmST"};
|
|
9779
|
+
var stylesheet$7="._dGP5a{height:auto;width:200px;padding:5px 10px}._8qrQb{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._Uis-t{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._OXmST,._Uis-t{position:absolute}._OXmST{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._OXmST:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._OXmST.focus-visible,._OXmST:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9589
9780
|
icons_index.styleInject(css_248z$7);
|
|
9590
9781
|
|
|
9591
9782
|
const buttonOffset = -10;
|
|
@@ -9913,9 +10104,9 @@ const RangeSlider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
9913
10104
|
}))));
|
|
9914
10105
|
});
|
|
9915
10106
|
|
|
9916
|
-
var css_248z$6 = ".
|
|
9917
|
-
var styles$6 = {"switch":"
|
|
9918
|
-
var stylesheet$6=".
|
|
10107
|
+
var css_248z$6 = "._PFXdh{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._PFXdh._mmMON{cursor:not-allowed}._FK9jW{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._FK9jW:disabled{cursor:not-allowed}._FK9jW:disabled~._lHJqB{opacity:.4}._FK9jW:checked~._lHJqB{background-color:#0b6ed0}._FK9jW:checked~._lHJqB:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._FK9jW:hover:not(:disabled):not(:checked)~._lHJqB{background-color:#6a6a6a}._FK9jW:hover:not(:disabled):checked~._lHJqB{background-color:#085caf}._FK9jW:hover:not(:disabled):checked~._lHJqB:before{border-color:#085caf}._lHJqB{width:32px;background-color:#898989;border-radius:34px}._lHJqB,._lHJqB:before{height:16px;transition:.2s}._lHJqB:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._1dDF4{color:#32363a;display:flex;align-items:center;cursor:pointer}._ugYcj{cursor:auto;color:hsla(0,0%,53.7%,.4)}._6IaqV{margin-right:12px;flex-shrink:0}._FK9jW.focus-visible~._lHJqB,._FK9jW:focus-visible~._lHJqB{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
10108
|
+
var styles$6 = {"switch":"_PFXdh","disabled":"_mmMON","input":"_FK9jW","slider":"_lHJqB","label":"_1dDF4","labelDisabled":"_ugYcj","wrappedInput":"_6IaqV"};
|
|
10109
|
+
var stylesheet$6="._PFXdh{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._PFXdh._mmMON{cursor:not-allowed}._FK9jW{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._FK9jW:disabled{cursor:not-allowed}._FK9jW:disabled~._lHJqB{opacity:.4}._FK9jW:checked~._lHJqB{background-color:#0b6ed0}._FK9jW:checked~._lHJqB:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._FK9jW:hover:not(:disabled):not(:checked)~._lHJqB{background-color:#6a6a6a}._FK9jW:hover:not(:disabled):checked~._lHJqB{background-color:#085caf}._FK9jW:hover:not(:disabled):checked~._lHJqB:before{border-color:#085caf}._lHJqB{width:32px;background-color:#898989;border-radius:34px}._lHJqB,._lHJqB:before{height:16px;transition:.2s}._lHJqB:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._1dDF4{color:#32363a;display:flex;align-items:center;cursor:pointer}._ugYcj{cursor:auto;color:hsla(0,0%,53.7%,.4)}._6IaqV{margin-right:12px;flex-shrink:0}._FK9jW.focus-visible~._lHJqB,._FK9jW:focus-visible~._lHJqB{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9919
10110
|
icons_index.styleInject(css_248z$6);
|
|
9920
10111
|
|
|
9921
10112
|
const Switch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -9996,9 +10187,9 @@ const SwitchField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
9996
10187
|
}), label);
|
|
9997
10188
|
});
|
|
9998
10189
|
|
|
9999
|
-
var css_248z$5 = ".
|
|
10000
|
-
var styles$5 = {"table":"
|
|
10001
|
-
var stylesheet$5=".
|
|
10190
|
+
var css_248z$5 = "._5jGIX{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._5jGIX ._HUqcs:first-child,._5jGIX ._uDNt4:first-child{padding-left:16px}._-HKRE{font-size:12px}._uDNt4{padding:12px 8px;text-align:left;font-weight:700}._rNkVW ._pIEUJ{border-top:1px solid #ededed}._rNkVW ._pIEUJ:hover{background-color:#fafafa}._pIEUJ{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._HUqcs{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
10191
|
+
var styles$5 = {"table":"_5jGIX","tableCell":"_HUqcs","tableHeaderCell":"_uDNt4","tableHead":"_-HKRE","tableBody":"_rNkVW","tableRow":"_pIEUJ"};
|
|
10192
|
+
var stylesheet$5="._5jGIX{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._5jGIX ._HUqcs:first-child,._5jGIX ._uDNt4:first-child{padding-left:16px}._-HKRE{font-size:12px}._uDNt4{padding:12px 8px;text-align:left;font-weight:700}._rNkVW ._pIEUJ{border-top:1px solid #ededed}._rNkVW ._pIEUJ:hover{background-color:#fafafa}._pIEUJ{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._HUqcs{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
10002
10193
|
icons_index.styleInject(css_248z$5);
|
|
10003
10194
|
|
|
10004
10195
|
const Table = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -10130,9 +10321,9 @@ const Tabs$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
10130
10321
|
}, children));
|
|
10131
10322
|
});
|
|
10132
10323
|
|
|
10133
|
-
var css_248z$4 = ".
|
|
10134
|
-
var styles$4 = {"tablist":"
|
|
10135
|
-
var stylesheet$4=".
|
|
10324
|
+
var css_248z$4 = "._tnCE-{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._tnCE-._FXLXe ._m-1O0{flex:1 1 0px;max-width:none}._m-1O0{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._m-1O0:hover{color:#32363a}._m-1O0._8IpDK{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._QLF9t{padding-top:32px}._QLF9t._2go-V{display:none}._m-1O0.focus-visible,._m-1O0:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
10325
|
+
var styles$4 = {"tablist":"_tnCE-","grow":"_FXLXe","tab":"_m-1O0","selected":"_8IpDK","tabpanel":"_QLF9t","inactive":"_2go-V"};
|
|
10326
|
+
var stylesheet$4="._tnCE-{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._tnCE-._FXLXe ._m-1O0{flex:1 1 0px;max-width:none}._m-1O0{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._m-1O0:hover{color:#32363a}._m-1O0._8IpDK{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._QLF9t{padding-top:32px}._QLF9t._2go-V{display:none}._m-1O0.focus-visible,._m-1O0:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
10136
10327
|
icons_index.styleInject(css_248z$4);
|
|
10137
10328
|
|
|
10138
10329
|
const Tab$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -10326,9 +10517,9 @@ const UIProvider = _ref => {
|
|
|
10326
10517
|
}, children));
|
|
10327
10518
|
};
|
|
10328
10519
|
|
|
10329
|
-
var css_248z$3 = ".
|
|
10330
|
-
var styles$3 = {"colorPickerBtnColor":"
|
|
10331
|
-
var stylesheet$3=".
|
|
10520
|
+
var css_248z$3 = "._muKul{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._pjGkw{margin-right:-12px;margin-left:4px}._Pj1gL{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._bupQC{margin:8px 8px 0;display:flex}._2aalx,._uXmPy{margin-left:4px}._Tv8LA{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._5Qfpo{margin:0 4px 4px 0}._5Qfpo:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._CBtZ5{margin:4px 8px 8px}._Trrfk{position:relative;width:96px;height:96px;outline:0}._Trrfk.focus-visible ._ds03L,._Trrfk:focus-visible ._ds03L{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._iNze7{background:linear-gradient(90deg,#fff,transparent)}._fn6My,._iNze7{position:absolute;top:0;right:0;bottom:0;left:0}._fn6My{background:linear-gradient(0deg,#000,transparent)}._ds03L{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._G7FwD{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._G7FwD.focus-visible ._LwH57,._G7FwD:focus-visible ._LwH57{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LwH57{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._7NscZ{position:relative;width:16px;height:96px}._XVBlG{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._Lx4D4,._XVBlG{position:absolute}._Lx4D4{top:0;right:0;bottom:0;left:0;outline:0}._Lx4D4.focus-visible ._XVBlG,._Lx4D4:focus-visible ._XVBlG{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DWdT0{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._aB8W6{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._aB8W6.focus-visible,._aB8W6:focus-visible{outline:none}._aB8W6.focus-visible,._aB8W6:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zYos6{display:flex}._zYos6 ._v-WLJ{position:relative;flex-shrink:0;width:26px;height:26px}._zYos6 ._Y7yqR{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._zYos6 ._QD6Em{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
10521
|
+
var styles$3 = {"colorPickerBtnColor":"_muKul","colorPickerBtnIcon":"_pjGkw","colorPicker":"_Pj1gL","colorPickerSliderContainer":"_bupQC","colorPickerHue":"_2aalx","colorPickerAlpha":"_uXmPy","colorPickerSwatches":"_Tv8LA","colorPickerSwatch":"_5Qfpo","colorPickerHex":"_CBtZ5","saturation":"_Trrfk","saturationCircle":"_ds03L","saturationWhite":"_iNze7","saturationBlack":"_fn6My","hue":"_G7FwD","hueSlider":"_LwH57","alpha":"_7NscZ","alphaSlider":"_XVBlG","alphaGradient":"_Lx4D4","alphaCheckerboard":"_DWdT0","swatch":"_aB8W6","hex":"_zYos6","hexSwatch":"_v-WLJ","hexSwatchColor":"_Y7yqR","hexInput":"_QD6Em"};
|
|
10522
|
+
var stylesheet$3="._muKul{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._pjGkw{margin-right:-12px;margin-left:4px}._Pj1gL{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._bupQC{margin:8px 8px 0;display:flex}._2aalx,._uXmPy{margin-left:4px}._Tv8LA{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._5Qfpo{margin:0 4px 4px 0}._5Qfpo:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._CBtZ5{margin:4px 8px 8px}._Trrfk{position:relative;width:96px;height:96px;outline:0}._Trrfk.focus-visible ._ds03L,._Trrfk:focus-visible ._ds03L{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._iNze7{background:linear-gradient(90deg,#fff,transparent)}._fn6My,._iNze7{position:absolute;top:0;right:0;bottom:0;left:0}._fn6My{background:linear-gradient(0deg,#000,transparent)}._ds03L{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._G7FwD{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._G7FwD.focus-visible ._LwH57,._G7FwD:focus-visible ._LwH57{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LwH57{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._7NscZ{position:relative;width:16px;height:96px}._XVBlG{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._Lx4D4,._XVBlG{position:absolute}._Lx4D4{top:0;right:0;bottom:0;left:0;outline:0}._Lx4D4.focus-visible ._XVBlG,._Lx4D4:focus-visible ._XVBlG{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DWdT0{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._aB8W6{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._aB8W6.focus-visible,._aB8W6:focus-visible{outline:none}._aB8W6.focus-visible,._aB8W6:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zYos6{display:flex}._zYos6 ._v-WLJ{position:relative;flex-shrink:0;width:26px;height:26px}._zYos6 ._Y7yqR{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._zYos6 ._QD6Em{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
10332
10523
|
icons_index.styleInject(css_248z$3);
|
|
10333
10524
|
|
|
10334
10525
|
function useMouseDrag(handleChange) {
|
|
@@ -11087,9 +11278,9 @@ const ColorPicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
11087
11278
|
|
|
11088
11279
|
/* eslint-disable camelcase */
|
|
11089
11280
|
|
|
11090
|
-
var css_248z$2 = ".
|
|
11091
|
-
var styles$2 = {"numberStepperContainer":"
|
|
11092
|
-
var stylesheet$2=".
|
|
11281
|
+
var css_248z$2 = "._Zind7{display:inline-flex}._xX7Vl{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._xX7Vl:hover:not(._uRtBI){cursor:pointer;background:#f5f5f5}._xX7Vl._L9PEB{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._xX7Vl._uRtBI{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._xX7Vl._uRtBI>svg{opacity:.4}._xX7Vl::-webkit-inner-spin-button,._xX7Vl::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._xX7Vl:focus{z-index:0;border:none;border-radius:4px}._xX7Vl:focus:not(._L9PEB){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._K4pg6,._xX7Vl:focus:not(._uRtBI){background:#fafafa}._K4pg6{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._K4pg6:hover:not(._uRtBI){cursor:pointer;background:#f5f5f5}._K4pg6:active:not(._uRtBI){background:#e5e5e5}._K4pg6._uRtBI{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._K4pg6._uRtBI>svg{opacity:.4}._N1B0c{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._N1B0c:hover:not(._uRtBI){cursor:pointer;background:#f5f5f5}._N1B0c:active:not(._uRtBI){background:#e5e5e5}._N1B0c._uRtBI{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._N1B0c._uRtBI>svg{opacity:.4}._6f7eC{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
11282
|
+
var styles$2 = {"numberStepperContainer":"_Zind7","numberStepperInput":"_xX7Vl","disabled":"_uRtBI","invalid":"_L9PEB","decrementBtn":"_K4pg6","incrementBtn":"_N1B0c","inputValueAlert":"_6f7eC"};
|
|
11283
|
+
var stylesheet$2="._Zind7{display:inline-flex}._xX7Vl{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._xX7Vl:hover:not(._uRtBI){cursor:pointer;background:#f5f5f5}._xX7Vl._L9PEB{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._xX7Vl._uRtBI{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._xX7Vl._uRtBI>svg{opacity:.4}._xX7Vl::-webkit-inner-spin-button,._xX7Vl::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._xX7Vl:focus{z-index:0;border:none;border-radius:4px}._xX7Vl:focus:not(._L9PEB){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._K4pg6,._xX7Vl:focus:not(._uRtBI){background:#fafafa}._K4pg6{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._K4pg6:hover:not(._uRtBI){cursor:pointer;background:#f5f5f5}._K4pg6:active:not(._uRtBI){background:#e5e5e5}._K4pg6._uRtBI{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._K4pg6._uRtBI>svg{opacity:.4}._N1B0c{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._N1B0c:hover:not(._uRtBI){cursor:pointer;background:#f5f5f5}._N1B0c:active:not(._uRtBI){background:#e5e5e5}._N1B0c._uRtBI{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._N1B0c._uRtBI>svg{opacity:.4}._6f7eC{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
11093
11284
|
icons_index.styleInject(css_248z$2);
|
|
11094
11285
|
|
|
11095
11286
|
const {
|
|
@@ -11536,9 +11727,9 @@ function clampMinMax(value, _ref2) {
|
|
|
11536
11727
|
|
|
11537
11728
|
/* eslint-disable camelcase */
|
|
11538
11729
|
|
|
11539
|
-
var css_248z$1 = ".
|
|
11540
|
-
var styles$1 = {"tabs":"
|
|
11541
|
-
var stylesheet$1=".
|
|
11730
|
+
var css_248z$1 = "._FlvE5{display:block}._vUSzR{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._PV7z1{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._PV7z1:hover{color:#32363a}._PV7z1:focus{outline:none}._PV7z1._uREPN{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._au2Fl{padding-top:32px}._au2Fl._evtbV{display:none}._PV7z1.focus-visible,._PV7z1:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
11731
|
+
var styles$1 = {"tabs":"_FlvE5","bar":"_vUSzR","tab":"_PV7z1","active":"_uREPN","panel":"_au2Fl","inactive":"_evtbV"};
|
|
11732
|
+
var stylesheet$1="._FlvE5{display:block}._vUSzR{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._PV7z1{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._PV7z1:hover{color:#32363a}._PV7z1:focus{outline:none}._PV7z1._uREPN{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._au2Fl{padding-top:32px}._au2Fl._evtbV{display:none}._PV7z1.focus-visible,._PV7z1:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
11542
11733
|
icons_index.styleInject(css_248z$1);
|
|
11543
11734
|
|
|
11544
11735
|
const {
|
|
@@ -11695,9 +11886,9 @@ const Tab = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
11695
11886
|
|
|
11696
11887
|
/* eslint-disable camelcase */
|
|
11697
11888
|
|
|
11698
|
-
var css_248z = ".
|
|
11699
|
-
var styles = {"toolbar":"
|
|
11700
|
-
var stylesheet=".
|
|
11889
|
+
var css_248z = "._LMQCd,._vDzOR{display:flex}._vDzOR{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._2Latd{width:69px;min-width:auto;max-width:none}._ZaVo5{width:100%}._E68ZB{margin-bottom:12px;background-color:transparent!important}._E68ZB:hover{background-color:rgba(11,110,208,.08)!important}._E68ZB:hover>svg{fill:#085caf}._E68ZB:hover>span{color:#085caf}._E68ZB:active{background-color:rgba(11,110,208,.12)!important}._E68ZB:active>svg{fill:#0854a1}._E68ZB:active>span{color:#0854a1}._E68ZB._UPAm-{background-color:rgba(11,110,208,.08)!important}._E68ZB._UPAm->svg{fill:#0b6ed0}._E68ZB._UPAm->span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._E68ZB._UPAm-:hover{background-color:rgba(11,110,208,.08)!important}._E68ZB._UPAm-:hover>svg{fill:#085caf}._E68ZB._UPAm-:hover>span{color:#085caf}._E68ZB._UPAm-:active{background-color:rgba(11,110,208,.12)!important}._E68ZB._UPAm-:active>svg{fill:#0854a1}._E68ZB._UPAm-:active>span{color:#0854a1}._AIJcB{border-radius:6px}._AIJcB>._Dvf3U{display:block;fill:#515559}._u6Nm2{margin-top:auto;margin-bottom:0}._qGjsf{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._qGjsf:hover>._uc0mY{opacity:1}._CZDrh{width:0;border-width:0;padding:0}._8hnAb{border-radius:4px;min-width:100%;min-height:100%;outline:none}._hVJHB{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._uc0mY{opacity:0}._hVJHB._8heXX._8heXX,._uc0mY:hover,._Vs3z5{opacity:1}._hVJHB._f5aHc._f5aHc{opacity:0}._hVJHB>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._hVJHB>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._hVJHB>span:hover>svg{fill:#fff}._hVJHB>span:active{background-color:#0854a1;border-color:#0854a1}._hVJHB>span:active>svg{fill:#fff}._hVJHB>span>svg{fill:#515559;border-radius:50%}._8hnAb._SHoPR{display:none!important}._cAnbm{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._4TfZP{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._C5Vqf{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._cSIHs{fill:#515559}._cCOxb{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._8hnAb.focus-visible,._8hnAb:focus-visible,._C5Vqf.focus-visible,._C5Vqf:focus-visible,._cAnbm.focus-visible,._cAnbm:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._hVJHB.focus-visible,._hVJHB:focus-visible{border-color:#0a3f88}._hVJHB:active>span{background-color:#0854a1;border-color:#0854a1}._hVJHB:active>span>svg{fill:#fff}._uc0mY.focus-visible,._uc0mY:focus-visible{opacity:1}";
|
|
11890
|
+
var styles = {"toolbar":"_LMQCd","toolbarNav":"_vDzOR","toolbarNavCollapsed":"_2Latd","toolbarTabs":"_ZaVo5","toolbarTab":"_E68ZB","selected":"_UPAm-","toolbarTabIconButton":"_AIJcB","icon":"_Dvf3U","tabsExpandCollapseButton":"_u6Nm2","toolbarPanels":"_qGjsf","toolbarPanelExpandCollapseButtonDefaultHidden":"_uc0mY","toolbarPanelsCollapsed":"_CZDrh","toolbarPanel":"_8hnAb","toolbarPanelExpandCollapseButton":"_hVJHB","toolbarPanelExpandCollapseButtonDefaultShown":"_Vs3z5","overrideShow":"_8heXX","overrideHide":"_f5aHc","notSelected":"_SHoPR","buttonWithLabel":"_cAnbm","buttonWithLabelLabel":"_4TfZP","iconButtonWithLabel":"_C5Vqf","iconButtonWithLabelIcon":"_cSIHs","iconButtonWithLabelLabel":"_cCOxb"};
|
|
11891
|
+
var stylesheet="._LMQCd,._vDzOR{display:flex}._vDzOR{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._2Latd{width:69px;min-width:auto;max-width:none}._ZaVo5{width:100%}._E68ZB{margin-bottom:12px;background-color:transparent!important}._E68ZB:hover{background-color:rgba(11,110,208,.08)!important}._E68ZB:hover>svg{fill:#085caf}._E68ZB:hover>span{color:#085caf}._E68ZB:active{background-color:rgba(11,110,208,.12)!important}._E68ZB:active>svg{fill:#0854a1}._E68ZB:active>span{color:#0854a1}._E68ZB._UPAm-{background-color:rgba(11,110,208,.08)!important}._E68ZB._UPAm->svg{fill:#0b6ed0}._E68ZB._UPAm->span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._E68ZB._UPAm-:hover{background-color:rgba(11,110,208,.08)!important}._E68ZB._UPAm-:hover>svg{fill:#085caf}._E68ZB._UPAm-:hover>span{color:#085caf}._E68ZB._UPAm-:active{background-color:rgba(11,110,208,.12)!important}._E68ZB._UPAm-:active>svg{fill:#0854a1}._E68ZB._UPAm-:active>span{color:#0854a1}._AIJcB{border-radius:6px}._AIJcB>._Dvf3U{display:block;fill:#515559}._u6Nm2{margin-top:auto;margin-bottom:0}._qGjsf{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._qGjsf:hover>._uc0mY{opacity:1}._CZDrh{width:0;border-width:0;padding:0}._8hnAb{border-radius:4px;min-width:100%;min-height:100%;outline:none}._hVJHB{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._uc0mY{opacity:0}._hVJHB._8heXX._8heXX,._uc0mY:hover,._Vs3z5{opacity:1}._hVJHB._f5aHc._f5aHc{opacity:0}._hVJHB>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._hVJHB>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._hVJHB>span:hover>svg{fill:#fff}._hVJHB>span:active{background-color:#0854a1;border-color:#0854a1}._hVJHB>span:active>svg{fill:#fff}._hVJHB>span>svg{fill:#515559;border-radius:50%}._8hnAb._SHoPR{display:none!important}._cAnbm{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._4TfZP{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._C5Vqf{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._cSIHs{fill:#515559}._cCOxb{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._8hnAb.focus-visible,._8hnAb:focus-visible,._C5Vqf.focus-visible,._C5Vqf:focus-visible,._cAnbm.focus-visible,._cAnbm:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._hVJHB.focus-visible,._hVJHB:focus-visible{border-color:#0a3f88}._hVJHB:active>span{background-color:#0854a1;border-color:#0854a1}._hVJHB:active>span>svg{fill:#fff}._uc0mY.focus-visible,._uc0mY:focus-visible{opacity:1}";
|
|
11701
11892
|
icons_index.styleInject(css_248z);
|
|
11702
11893
|
|
|
11703
11894
|
const {
|
|
@@ -11828,7 +12019,7 @@ const ToolbarTabs = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
11828
12019
|
if (isCollapsible) {
|
|
11829
12020
|
if (isCollapsed) {
|
|
11830
12021
|
const expandToolbarTabsLabel = translate('showLabels');
|
|
11831
|
-
expandCollapseButton = /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
12022
|
+
expandCollapseButton = /*#__PURE__*/React__default["default"].createElement(IconButton$1, {
|
|
11832
12023
|
className: classNames__default["default"](styles.toolbarTab, styles.toolbarTabIconButton, styles.tabsExpandCollapseButton),
|
|
11833
12024
|
"aria-label": expandToolbarTabsLabel,
|
|
11834
12025
|
tooltipContent: expandToolbarTabsLabel,
|
|
@@ -11988,7 +12179,7 @@ const ToolbarTab = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
11988
12179
|
});
|
|
11989
12180
|
let tabComponent;
|
|
11990
12181
|
if (isCollapsed) {
|
|
11991
|
-
tabComponent = /*#__PURE__*/React__default["default"].createElement(IconButton, _extends__default["default"]({}, commonProps, {
|
|
12182
|
+
tabComponent = /*#__PURE__*/React__default["default"].createElement(IconButton$1, _extends__default["default"]({}, commonProps, {
|
|
11992
12183
|
className: iconButtonClassName,
|
|
11993
12184
|
tooltipContent: label,
|
|
11994
12185
|
tooltipPlacement: "right",
|
|
@@ -12034,6 +12225,8 @@ const ExpandCollapseButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
12034
12225
|
const [isHiddenByEscape, setIsHiddenByEscape] = React.useState(false);
|
|
12035
12226
|
const handleKeyDown = event => {
|
|
12036
12227
|
if (event.key === 'Escape' && !isCollapsed) {
|
|
12228
|
+
// Prevent Safari from exiting full-screen mode
|
|
12229
|
+
if (!isHiddenByEscape) event.preventDefault();
|
|
12037
12230
|
setIsHiddenByEscape(true);
|
|
12038
12231
|
}
|
|
12039
12232
|
};
|
|
@@ -12178,6 +12371,10 @@ exports.Accordion = Accordion;
|
|
|
12178
12371
|
exports.AccordionHeader = AccordionHeader;
|
|
12179
12372
|
exports.AccordionPanel = AccordionPanel;
|
|
12180
12373
|
exports.AccordionSection = AccordionSection;
|
|
12374
|
+
exports.Banner = Banner;
|
|
12375
|
+
exports.BannerBody = BannerBody;
|
|
12376
|
+
exports.BannerFooter = BannerFooter;
|
|
12377
|
+
exports.BannerTitle = BannerTitle;
|
|
12181
12378
|
exports.Breakpoint = Breakpoint;
|
|
12182
12379
|
exports.BreakpointSwitch = BreakpointSwitch;
|
|
12183
12380
|
exports.Button = Button;
|
|
@@ -12211,7 +12408,7 @@ exports.FormField = FormField;
|
|
|
12211
12408
|
exports.FullScreenTakeover = FullScreenTakeover;
|
|
12212
12409
|
exports.HelperText = HelperText;
|
|
12213
12410
|
exports.Icon = Icon;
|
|
12214
|
-
exports.IconButton = IconButton;
|
|
12411
|
+
exports.IconButton = IconButton$1;
|
|
12215
12412
|
exports.IconTypes = IconTypes;
|
|
12216
12413
|
exports.InlineInput = InlineInput;
|
|
12217
12414
|
exports.Input = Input$1;
|
|
@@ -12281,10 +12478,12 @@ exports.ToolbarTab = ToolbarTab;
|
|
|
12281
12478
|
exports.ToolbarTabs = ToolbarTabs;
|
|
12282
12479
|
exports.Tooltip = Tooltip;
|
|
12283
12480
|
exports.UIProvider = UIProvider;
|
|
12481
|
+
exports.VisualCheckbox = VisualCheckbox;
|
|
12284
12482
|
exports.buttonStyles = buttonStyles;
|
|
12285
12483
|
exports.concatIds = concatIds;
|
|
12286
12484
|
exports.createContextUtilities = createContextUtilities;
|
|
12287
12485
|
exports.getSubDataTestId = getSubDataTestId;
|
|
12486
|
+
exports.iconButtonStyles = iconButtonStyles;
|
|
12288
12487
|
exports.mergeRefs = mergeRefs;
|
|
12289
12488
|
exports.useBreakpoints = useBreakpoints;
|
|
12290
12489
|
exports.useChildIndex = useChildIndex;
|
|
@@ -12295,6 +12494,7 @@ exports.useEventCallback = useEventCallback;
|
|
|
12295
12494
|
exports.useEventListener = useEventListener;
|
|
12296
12495
|
exports.useId = useId;
|
|
12297
12496
|
exports.useIsFocused = useIsFocused;
|
|
12497
|
+
exports.useIsTruncated = useIsTruncated;
|
|
12298
12498
|
exports.useLatest = useLatest;
|
|
12299
12499
|
exports.usePortalTarget = usePortalTarget;
|
|
12300
12500
|
exports.usePrevious = usePrevious;
|