@qualtrics/ui-react 2.22.0 → 2.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/__shared/cjs/{index-41a013d2.js → index-75d9309a.js} +3 -3
- package/dist/__shared/cjs/{index-025620bf.js → index-a8c1a789.js} +191 -198
- package/dist/components/Accordion/Accordion.js +1 -2
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Accordion/AccordionHeader.js +1 -0
- package/dist/components/Accordion/AccordionSection.js +1 -2
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/ColorPicker/Palette.js +2 -2
- package/dist/components/Combobox/Combobox.js +14 -16
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +6 -6
- package/dist/components/Dropdown/DropdownOption.js +2 -6
- package/dist/components/Dropdown/DropdownSearch.js +2 -2
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/LogicEditor/utils.js +1 -1
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +14 -17
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +1 -1
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch.js +1 -1
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/components/deprecated_Toolbar/ToolbarPanels.js +2 -2
- package/dist/components/deprecated_Toolbar/ToolbarTabs.js +2 -2
- package/dist/hooks/useClickOutside/useClickOutside.js +1 -1
- package/dist/hooks/useOverlay/useOverlay.js +1 -2
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -4
- package/dist/next/AdvancedTable/AdvancedTable.js +13 -14
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableTypes.js +6 -6
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer.js +1 -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/MenuItem.js +2 -5
- package/dist/next/Menu/MenuPane.js +4 -4
- package/dist/next/Menu/SubMenu.js +4 -10
- package/dist/next/Menu/usePaneSearch.js +6 -8
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/TimePicker/utils.js +4 -18
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.js +80 -102
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/Translation/containsComponentOrElement.js +1 -3
- package/dist/utils/filterChildren/filterChildren.js +2 -2
- package/next/package.json +1 -1
- package/package.json +1 -1
|
@@ -62,9 +62,9 @@ const DropdownButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
62
62
|
helperTextId: formFieldHelperTextId,
|
|
63
63
|
errorTextId: formFieldErrorTextId
|
|
64
64
|
} = useFormFieldControl();
|
|
65
|
-
const ariaLabelledBy = (_ref2 = (_children$props$aria = children === null || children === void 0
|
|
66
|
-
const ariaLabel = (_ref3 = (_children$props$aria2 = children === null || children === void 0
|
|
67
|
-
const ariaDescribedby = concatIds((_ref4 = (_children$props$aria3 = children === null || children === void 0
|
|
65
|
+
const ariaLabelledBy = (_ref2 = (_children$props$aria = children === null || children === void 0 || (_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props['aria-labelledby']) !== null && _children$props$aria !== void 0 ? _children$props$aria : externalAriaLabelledBy) !== null && _ref2 !== void 0 ? _ref2 : dropdownAriaLabelledBy ? "".concat(dropdownAriaLabelledBy, " ").concat(buttonId) : undefined;
|
|
66
|
+
const ariaLabel = (_ref3 = (_children$props$aria2 = children === null || children === void 0 || (_children$props2 = children.props) === null || _children$props2 === void 0 ? void 0 : _children$props2['aria-label']) !== null && _children$props$aria2 !== void 0 ? _children$props$aria2 : externalAriaLabel) !== null && _ref3 !== void 0 ? _ref3 : dropdownAriaLabel && typeof label === 'string' ? "".concat(dropdownAriaLabel, " ").concat(label) : dropdownAriaLabel;
|
|
67
|
+
const ariaDescribedby = concatIds((_ref4 = (_children$props$aria3 = children === null || children === void 0 || (_children$props3 = children.props) === null || _children$props3 === void 0 ? void 0 : _children$props3['aria-describedby']) !== null && _children$props$aria3 !== void 0 ? _children$props$aria3 : externalAriaDescribedBy) !== null && _ref4 !== void 0 ? _ref4 : dropdownAriaDescribedby, formFieldHelperTextId, formFieldErrorTextId);
|
|
68
68
|
useEffect(() => {
|
|
69
69
|
const selectedLabels = [];
|
|
70
70
|
options.forEach(option => {
|
|
@@ -77,7 +77,7 @@ const DropdownButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
77
77
|
}, [setLabel, options, defaultLabel]);
|
|
78
78
|
useEffect(() => {
|
|
79
79
|
var _buttonRef$current;
|
|
80
|
-
setMinWidth(buttonRef === null || buttonRef === void 0
|
|
80
|
+
setMinWidth(buttonRef === null || buttonRef === void 0 || (_buttonRef$current = buttonRef.current) === null || _buttonRef$current === void 0 ? void 0 : _buttonRef$current.offsetWidth);
|
|
81
81
|
});
|
|
82
82
|
const isInvalid = isInvalidProp !== undefined ? isInvalidProp : dropdownIsInvalid;
|
|
83
83
|
const handleClick = e => {
|
|
@@ -110,12 +110,12 @@ const DropdownButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
110
110
|
id: buttonId,
|
|
111
111
|
onFocus: e => {
|
|
112
112
|
var _children$props5, _children$props5$onFo;
|
|
113
|
-
(_children$props5 = children.props) === null || _children$props5 === void 0
|
|
113
|
+
(_children$props5 = children.props) === null || _children$props5 === void 0 || (_children$props5$onFo = _children$props5.onFocus) === null || _children$props5$onFo === void 0 ? void 0 : _children$props5$onFo.call(_children$props5, e);
|
|
114
114
|
onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
|
|
115
115
|
},
|
|
116
116
|
onBlur: e => {
|
|
117
117
|
var _children$props6, _children$props6$onBl;
|
|
118
|
-
(_children$props6 = children.props) === null || _children$props6 === void 0
|
|
118
|
+
(_children$props6 = children.props) === null || _children$props6 === void 0 || (_children$props6$onBl = _children$props6.onBlur) === null || _children$props6$onBl === void 0 ? void 0 : _children$props6$onBl.call(_children$props6, e);
|
|
119
119
|
onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
|
|
120
120
|
},
|
|
121
121
|
onKeyDown: wrapEvent((_children$props7 = children.props) === null || _children$props7 === void 0 ? void 0 : _children$props7.onKeyDown, handleKeyDown),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
3
2
|
import React__default, { useRef, useMemo, useEffect, useCallback } from 'react';
|
|
4
3
|
import classNames from 'classnames';
|
|
5
4
|
import styles from './Dropdown2.js';
|
|
@@ -42,10 +41,7 @@ const DropdownOption = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
42
41
|
const {
|
|
43
42
|
setVisibleChildIds
|
|
44
43
|
} = useDropdownHeaderContext();
|
|
45
|
-
const isVisible = useMemo(() =>
|
|
46
|
-
var _context;
|
|
47
|
-
return isSearchFilteringDisabled || !label || !searchValue || typeof label === 'string' && _includesInstanceProperty(_context = label.toLowerCase()).call(_context, searchValue.toLowerCase());
|
|
48
|
-
}, [isSearchFilteringDisabled, label, searchValue]);
|
|
44
|
+
const isVisible = useMemo(() => isSearchFilteringDisabled || !label || !searchValue || typeof label === 'string' && label.toLowerCase().includes(searchValue.toLowerCase()), [isSearchFilteringDisabled, label, searchValue]);
|
|
49
45
|
useEffect(() => {
|
|
50
46
|
setVisibleChildIds === null || setVisibleChildIds === void 0 ? void 0 : setVisibleChildIds(visibleChildIds => {
|
|
51
47
|
const duplicateSet = new Set(visibleChildIds);
|
|
@@ -56,7 +52,7 @@ const DropdownOption = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
56
52
|
return duplicateSet;
|
|
57
53
|
});
|
|
58
54
|
}, [setVisibleChildIds, isVisible, value]);
|
|
59
|
-
const isSelected = Array.isArray(selectedValue) ?
|
|
55
|
+
const isSelected = Array.isArray(selectedValue) ? selectedValue.includes(value) : value === selectedValue;
|
|
60
56
|
const handleSelect = useCallback(e => {
|
|
61
57
|
if (!disabled) {
|
|
62
58
|
const handler = wrapEvent(onSelect, () => onOptionSelected(value));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
2
1
|
import React__default, { useRef, useMemo, useEffect } from 'react';
|
|
3
2
|
import styles from './Dropdown2.js';
|
|
4
3
|
import '../../utils/index.js';
|
|
@@ -12,6 +11,7 @@ import Input from '../../next/Input/Input.js';
|
|
|
12
11
|
import SearchIcon from '../../icons/components/SearchIcon.js';
|
|
13
12
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
14
13
|
|
|
14
|
+
/* eslint-disable no-nested-ternary */
|
|
15
15
|
const DropdownSearch = /*#__PURE__*/React__default.forwardRef((_, ref) => {
|
|
16
16
|
const {
|
|
17
17
|
translate
|
|
@@ -62,7 +62,7 @@ const DropdownSearch = /*#__PURE__*/React__default.forwardRef((_, ref) => {
|
|
|
62
62
|
}, [isOpen, setSearchHeight]);
|
|
63
63
|
const handleKeyDown = e => {
|
|
64
64
|
const keysToAllow = ['ArrowDown', 'Escape', 'Tab', 'PageUp', 'Home', 'PageDown', 'End'];
|
|
65
|
-
if (!
|
|
65
|
+
if (!keysToAllow.includes(e.key)) {
|
|
66
66
|
// `Dropdown` component listens for keystrokes to highlight options with matching labels. We want the focus to remain in the search bar.
|
|
67
67
|
e.stopPropagation();
|
|
68
68
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var filePickerStyles = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._xfGJ4{position:relative}._xfGJ4[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._xfGJ4:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._W0iEY{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._Gx29b{margin-left:16px;font-size:14px;color:#32363a}._Gx29b ._rB3uq{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_xfGJ4","fileInput":"_W0iEY","fileDetails":"_Gx29b","fileName":"_rB3uq"};
|
|
5
|
+
var stylesheet="._xfGJ4{position:relative}._xfGJ4[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._xfGJ4:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._W0iEY{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._Gx29b{margin-left:16px;font-size:14px;color:#32363a}._Gx29b ._rB3uq{margin-right:16px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { filePickerStyles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"caption":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._DWn8p{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._-L-ZS{color:#74777a;fill:#74777a}._EHEpy{color:#b00;fill:#b00}._2nEI3,._M7aMP{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_DWn8p","helperText":"_-L-ZS","errorText":"_EHEpy","errorIcon":"_M7aMP","readOnlyIcon":"_2nEI3"};
|
|
5
|
+
var stylesheet="._DWn8p{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._-L-ZS{color:#74777a;fill:#74777a}._EHEpy{color:#b00;fill:#b00}._2nEI3,._M7aMP{margin-left:-2px;margin-right:3px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"formField":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._PyakO{display:flex;flex-direction:column;align-items:flex-start}._cIThr{margin-top:6px;max-width:100%}._cIThr *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_PyakO","captionContainer":"_cIThr"};
|
|
5
|
+
var stylesheet="._PyakO{display:flex;flex-direction:column;align-items:flex-start}._cIThr{margin-top:6px;max-width:100%}._cIThr *+*{margin-top:4px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"dialog":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._ox5vY{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _QBFda{0%{transform:scale3d(.7,.7,.7);opacity:0}}._irDJp{animation:_QBFda both;animation-duration:.2s}@keyframes _LAwbO{to{transform:scale3d(.7,.7,.7);opacity:0}}._bkCOe{animation:_LAwbO both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"dialog":"_ox5vY","transitionIn":"_irDJp","showAnimation":"_QBFda","transitionOut":"_bkCOe","hideAnimation":"_LAwbO"};
|
|
5
|
+
var stylesheet="._ox5vY{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _QBFda{0%{transform:scale3d(.7,.7,.7);opacity:0}}._irDJp{animation:_QBFda both;animation-duration:.2s}@keyframes _LAwbO{to{transform:scale3d(.7,.7,.7);opacity:0}}._bkCOe{animation:_LAwbO both;animation-duration:.2s}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"button":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._oL-6j{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}._oL-6j:focus{outline:none}._oL-6j:hover:not(._jhdYU){background-color:rgba(50,54,58,.08)}._oL-6j:active:not(._jhdYU){background-color:rgba(50,54,58,.11);stroke-width:2}._oL-6j._jhdYU{cursor:not-allowed;fill:rgba(81,85,89,.6)}._oL-6j.focus-visible,._oL-6j:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"button":"_oL-6j","disabled":"_jhdYU"};
|
|
5
|
+
var stylesheet="._oL-6j{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}._oL-6j:focus{outline:none}._oL-6j:hover:not(._jhdYU){background-color:rgba(50,54,58,.08)}._oL-6j:active:not(._jhdYU){background-color:rgba(50,54,58,.11);stroke-width:2}._oL-6j._jhdYU{cursor:not-allowed;fill:rgba(81,85,89,.6)}._oL-6j.focus-visible,._oL-6j:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._vJ1Cu{display:inline-block}._pfxbp{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}._pfxbp::-moz-selection{background-color:rgba(11,110,208,.11)}._pfxbp::selection{background-color:rgba(11,110,208,.11)}._pfxbp:focus,._pfxbp:hover{background-color:#f5f5f5}._pfxbp:focus{border:2px solid #0a3f88;padding:3px}._pfxbp:focus._uVKuJ{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)}";
|
|
4
|
+
var styles = {"container":"_vJ1Cu","inlineInput":"_pfxbp","isEditing":"_uVKuJ"};
|
|
5
|
+
var stylesheet="._vJ1Cu{display:inline-block}._pfxbp{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}._pfxbp::-moz-selection{background-color:rgba(11,110,208,.11)}._pfxbp::selection{background-color:rgba(11,110,208,.11)}._pfxbp:focus,._pfxbp:hover{background-color:#f5f5f5}._pfxbp:focus{border:2px solid #0a3f88;padding:3px}._pfxbp:focus._uVKuJ{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)}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"input":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._UI-Q6{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}._UI-Q6::-moz-placeholder{color:#515559;opacity:1}._UI-Q6::placeholder{color:#515559;opacity:1}._UI-Q6:hover{cursor:pointer;background-color:#f5f5f5}._UI-Q6:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._UI-Q6._jTMbC{border-color:#b00}._UI-Q6._jTMbC:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._UI-Q6:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._UI-Q6:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._UI-Q6:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._UI-Q6._quq1x{height:auto}._UI-Q6._quq1x::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._UI-Q6._8ew-r{display:block;width:100%}._UI-Q6._rkpMg{padding:4px 8px}input._UI-Q6._rkpMg{height:26px;min-height:26px}[type=number]._UI-Q6{-moz-appearance:textfield}[type=number]._UI-Q6::-webkit-inner-spin-button,[type=number]._UI-Q6::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._9qSWw{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._9qSWw:hover{cursor:pointer}._9qSWw._TbI3j{color:#0b6ed0}._INB7-{margin-top:4px}";
|
|
4
|
+
var styles = {"input":"_UI-Q6","invalid":"_jTMbC","multiline":"_quq1x","full":"_8ew-r","small":"_rkpMg","label":"_9qSWw","focused":"_TbI3j","wrappedInput":"_INB7-"};
|
|
5
|
+
var stylesheet="._UI-Q6{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}._UI-Q6::-moz-placeholder{color:#515559;opacity:1}._UI-Q6::placeholder{color:#515559;opacity:1}._UI-Q6:hover{cursor:pointer;background-color:#f5f5f5}._UI-Q6:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._UI-Q6._jTMbC{border-color:#b00}._UI-Q6._jTMbC:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._UI-Q6:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._UI-Q6:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._UI-Q6:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._UI-Q6._quq1x{height:auto}._UI-Q6._quq1x::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._UI-Q6._8ew-r{display:block;width:100%}._UI-Q6._rkpMg{padding:4px 8px}input._UI-Q6._rkpMg{height:26px;min-height:26px}[type=number]._UI-Q6{-moz-appearance:textfield}[type=number]._UI-Q6::-webkit-inner-spin-button,[type=number]._UI-Q6::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._9qSWw{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._9qSWw:hover{cursor:pointer}._9qSWw._TbI3j{color:#0b6ed0}._INB7-{margin-top:4px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"addon":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._1mtQX{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}._1mtQX._dTgZc{height:26px;min-height:26px;padding:5px 8px}._qj0VK{display:flex;align-items:stretch}._qj0VK._NRjNC{width:100%}._qj0VK ._mhaVA{margin:0;position:relative;flex-shrink:0;z-index:10}._qj0VK ._mhaVA: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}._qj0VK ._mhaVA:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._qj0VK ._mhaVA:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._qj0VK ._mhaVA:last-child,._qj0VK ._mhaVA:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._qj0VK ._mhaVA:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._qj0VK ._mhaVA._6L0m5{flex-shrink:1;min-width:40px;z-index:0}._qj0VK ._mhaVA._6L0m5._NRjNC{flex-grow:1}._qj0VK ._mhaVA:focus{z-index:20}";
|
|
4
|
+
var styles = {"addon":"_1mtQX","small":"_dTgZc","inputGroup":"_qj0VK","full":"_NRjNC","inputGroupElement":"_mhaVA","input":"_6L0m5"};
|
|
5
|
+
var stylesheet="._1mtQX{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}._1mtQX._dTgZc{height:26px;min-height:26px;padding:5px 8px}._qj0VK{display:flex;align-items:stretch}._qj0VK._NRjNC{width:100%}._qj0VK ._mhaVA{margin:0;position:relative;flex-shrink:0;z-index:10}._qj0VK ._mhaVA: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}._qj0VK ._mhaVA:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._qj0VK ._mhaVA:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._qj0VK ._mhaVA:last-child,._qj0VK ._mhaVA:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._qj0VK ._mhaVA:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._qj0VK ._mhaVA._6L0m5{flex-shrink:1;min-width:40px;z-index:0}._qj0VK ._mhaVA._6L0m5._NRjNC{flex-grow:1}._qj0VK ._mhaVA:focus{z-index:20}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"label":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._BN4wB{font-size:14px}._Sa4fS{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._mQOHy{color:#0b6ed0}";
|
|
4
|
+
var styles = {"label":"_BN4wB","control":"_Sa4fS","focused":"_mQOHy"};
|
|
5
|
+
var stylesheet="._BN4wB{font-size:14px}._Sa4fS{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._mQOHy{color:#0b6ed0}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"link":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._7y-QP{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}._7y-QP:active:focus,._7y-QP:focus{outline:none}._7y-QP:visited{color:#0854a1}._7y-QP:hover{color:#085caf}._7y-QP:active{color:#0854a1}._7y-QP.focus-visible,._7y-QP:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"link":"_7y-QP"};
|
|
5
|
+
var stylesheet="._7y-QP{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}._7y-QP:active:focus,._7y-QP:focus{outline:none}._7y-QP:visited{color:#0854a1}._7y-QP:hover{color:#085caf}._7y-QP:active{color:#0854a1}._7y-QP.focus-visible,._7y-QP:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"spinnerContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._ceLzc{position:relative;display:inline-block}._ceLzc._ET3A1{min-height:20px;min-width:20px}._ceLzc._blrUV{min-height:25px;min-width:25px}._ceLzc._6JLvV{min-height:40px;min-width:40px}._ceLzc._6YPlz{min-height:64px;min-width:64px}._ceLzc ._nlfOD{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._ceLzc ._nlfOD._W9yKe{visibility:hidden}._ceLzc ._nlfOD div{position:absolute;transform:rotate(20deg)}._ceLzc ._nlfOD div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_nlfOD .8s linear infinite}._ceLzc ._nlfOD 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}._ceLzc ._nlfOD div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._ceLzc ._nlfOD div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._ceLzc ._nlfOD div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._ceLzc ._nlfOD div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._ceLzc ._nlfOD div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._ceLzc ._nlfOD div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._ceLzc ._nlfOD div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._ceLzc ._nlfOD div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._ceLzc ._nlfOD div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._ceLzc ._6YPlz div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._ceLzc ._ET3A1 div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._ceLzc ._blrUV div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._ceLzc ._412cV div div:nth-child(-n+9):after{background:#fff}._ceLzc ._-zYHC{width:100%;height:100%}._ceLzc ._-zYHC._zK519{pointer-events:none}._ceLzc ._-zYHC._W9yKe{opacity:0}._ceLzc ._-zYHC._lFu1R{opacity:.5}@keyframes _nlfOD{0%{opacity:1}to{opacity:0}}";
|
|
4
|
+
var styles = {"spinnerContainer":"_ceLzc","xs":"_ET3A1","small":"_blrUV","medium":"_6JLvV","large":"_6YPlz","spinnerComponent":"_nlfOD","hide":"_W9yKe","inverted":"_412cV","spinnerContent":"_-zYHC","disablePointerEvents":"_zK519","fade":"_lFu1R"};
|
|
5
|
+
var stylesheet="._ceLzc{position:relative;display:inline-block}._ceLzc._ET3A1{min-height:20px;min-width:20px}._ceLzc._blrUV{min-height:25px;min-width:25px}._ceLzc._6JLvV{min-height:40px;min-width:40px}._ceLzc._6YPlz{min-height:64px;min-width:64px}._ceLzc ._nlfOD{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._ceLzc ._nlfOD._W9yKe{visibility:hidden}._ceLzc ._nlfOD div{position:absolute;transform:rotate(20deg)}._ceLzc ._nlfOD div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_nlfOD .8s linear infinite}._ceLzc ._nlfOD 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}._ceLzc ._nlfOD div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._ceLzc ._nlfOD div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._ceLzc ._nlfOD div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._ceLzc ._nlfOD div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._ceLzc ._nlfOD div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._ceLzc ._nlfOD div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._ceLzc ._nlfOD div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._ceLzc ._nlfOD div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._ceLzc ._nlfOD div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._ceLzc ._6YPlz div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._ceLzc ._ET3A1 div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._ceLzc ._blrUV div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._ceLzc ._412cV div div:nth-child(-n+9):after{background:#fff}._ceLzc ._-zYHC{width:100%;height:100%}._ceLzc ._-zYHC._zK519{pointer-events:none}._ceLzc ._-zYHC._W9yKe{opacity:0}._ceLzc ._-zYHC._lFu1R{opacity:.5}@keyframes _nlfOD{0%{opacity:1}to{opacity:0}}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"set":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._iGozK{width:100%}._TZ4ly{display:flex;align-items:center}._lFiuN{display:flex;flex-wrap:wrap;grid-gap:4px}._lFiuN :nth-last-child(2){margin-right:42px}._8MBRW{position:relative;padding-left:32px;padding-top:16px;display:flex}._b3X1x ._8MBRW{padding-top:0;padding-left:16px}._b3X1x ._8MBRW+._8MBRW{margin-top:16px}._2-fxu{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}._b3X1x ._8MBRW:first-of-type ._2-fxu{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._b3X1x ._2-fxu{top:-16px;left:0}._b3X1x ._8MBRW:not(:first-of-type):not(:last-of-type) ._2-fxu{border-bottom-left-radius:0}._NPKGZ{margin-left:-46px}._XDdiV{margin:0 2px 0 4px}._XDdiV.focus-visible,._XDdiV:focus-visible{outline-width:2px}._2kFey{margin-left:4px}";
|
|
4
|
+
var styles = {"set":"_iGozK","setWrapper":"_TZ4ly","condition":"_lFiuN","branch":"_8MBRW","fixedSet":"_b3X1x","connection":"_2-fxu","conditionControlsContainer":"_NPKGZ","controls":"_XDdiV","controlMenuItem":"_2kFey"};
|
|
5
|
+
var stylesheet="._iGozK{width:100%}._TZ4ly{display:flex;align-items:center}._lFiuN{display:flex;flex-wrap:wrap;grid-gap:4px}._lFiuN :nth-last-child(2){margin-right:42px}._8MBRW{position:relative;padding-left:32px;padding-top:16px;display:flex}._b3X1x ._8MBRW{padding-top:0;padding-left:16px}._b3X1x ._8MBRW+._8MBRW{margin-top:16px}._2-fxu{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}._b3X1x ._8MBRW:first-of-type ._2-fxu{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._b3X1x ._2-fxu{top:-16px;left:0}._b3X1x ._8MBRW:not(:first-of-type):not(:last-of-type) ._2-fxu{border-bottom-left-radius:0}._NPKGZ{margin-left:-46px}._XDdiV{margin:0 2px 0 4px}._XDdiV.focus-visible,._XDdiV:focus-visible{outline-width:2px}._2kFey{margin-left:4px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -27,7 +27,7 @@ function constructValidDefaultState(_ref) {
|
|
|
27
27
|
}
|
|
28
28
|
function fixedSetHasNoConditions(defaultValue, fixedSet) {
|
|
29
29
|
var _defaultValue$conditi;
|
|
30
|
-
return fixedSet && defaultValue && (!(defaultValue !== null && defaultValue !== void 0 && defaultValue.conditions) || !((defaultValue === null || defaultValue === void 0
|
|
30
|
+
return fixedSet && defaultValue && (!(defaultValue !== null && defaultValue !== void 0 && defaultValue.conditions) || !((defaultValue === null || defaultValue === void 0 || (_defaultValue$conditi = defaultValue.conditions) === null || _defaultValue$conditi === void 0 ? void 0 : _defaultValue$conditi.length) >= 1));
|
|
31
31
|
}
|
|
32
32
|
function ensureFixedSetHasOneCondition(defaultValue, fixedSet) {
|
|
33
33
|
if (fixedSetHasNoConditions(defaultValue, fixedSet)) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"backdrop":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._zrinO{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._SV7-Z,._zrinO{display:flex;overflow:auto}._SV7-Z{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(._sY3Zh)._YfYJ0{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._YfYJ0{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._sY3Zh)._rCm6w{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._rCm6w{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._sY3Zh)._rCm6w{max-width:700px}}:not(._sY3Zh)._jTTSA{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._jTTSA{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._sY3Zh)._jTTSA{max-width:700px}}@media screen and (min-width:1024px){:not(._sY3Zh)._jTTSA{max-width:1000px}}:not(._sY3Zh)._HZYTJ{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._HZYTJ{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._sY3Zh)._HZYTJ{max-width:700px}}@media screen and (min-width:1024px){:not(._sY3Zh)._HZYTJ{max-width:1000px}}@media screen and (min-width:1632px){:not(._sY3Zh)._HZYTJ{max-width:1600px;max-height:calc(100vh - 32px)}}._sY3Zh{min-width:200px;width:calc(100% - 48px)}._sY3Zh,._sY3Zh._YfYJ0{max-height:calc(100vh - 80px)}._sY3Zh._YfYJ0{max-width:480px;border-radius:8px}._sY3Zh._rCm6w{max-width:700px}._sY3Zh._jTTSA{max-width:1000px}._sY3Zh._HZYTJ{max-width:1600px;max-height:calc(100vh - 32px)}._6IHZs{height:calc(100vh - 80px)}@media screen and (max-width:479px){._6IHZs{height:100vh}}@media screen and (min-width:1632px){._6IHZs{height:calc(100vh - 32px)}}._c2lE8{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}._RCVmW{padding-right:64px}._pyftg{position:absolute;top:14px;right:14px}._wZOk0{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._o5Ekf,._wZOk0{padding:20px 24px}._o5Ekf{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._o5Ekf>*{margin:0 4px}._o5Ekf>:first-child{margin-left:0}._o5Ekf>:last-child{margin-right:0}@keyframes _KFibi{0%{opacity:0}}._KFibi{animation:_KFibi ease-in both;animation-duration:.2s}@keyframes _IzlKW{to{opacity:0}}._IzlKW{animation:_IzlKW ease-out both;animation-duration:.2s}@keyframes _PXsr1{0%{transform:scale3d(.7,.7,.7);opacity:0}}._PXsr1{animation:_PXsr1 both;animation-duration:.2s}@keyframes _UvKnB{to{transform:scale3d(.7,.7,.7);opacity:0}}._UvKnB{animation:_UvKnB both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"backdrop":"_zrinO","modal":"_SV7-Z","responsive":"_sY3Zh","dialogSmall":"_YfYJ0","dialogMedium":"_rCm6w","dialogLarge":"_jTTSA","dialogExtraLarge":"_HZYTJ","growToMaxHeight":"_6IHZs","modalHeader":"_c2lE8","modalHeaderWithCloseButton":"_RCVmW","modalHeaderCloseButton":"_pyftg","modalBody":"_wZOk0","modalFooter":"_o5Ekf","fadeEnter":"_KFibi","fadeLeave":"_IzlKW","zoomEnter":"_PXsr1","zoomLeave":"_UvKnB"};
|
|
5
|
+
var stylesheet="._zrinO{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._SV7-Z,._zrinO{display:flex;overflow:auto}._SV7-Z{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(._sY3Zh)._YfYJ0{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._YfYJ0{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._sY3Zh)._rCm6w{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._rCm6w{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._sY3Zh)._rCm6w{max-width:700px}}:not(._sY3Zh)._jTTSA{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._jTTSA{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._sY3Zh)._jTTSA{max-width:700px}}@media screen and (min-width:1024px){:not(._sY3Zh)._jTTSA{max-width:1000px}}:not(._sY3Zh)._HZYTJ{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._sY3Zh)._HZYTJ{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._sY3Zh)._HZYTJ{max-width:700px}}@media screen and (min-width:1024px){:not(._sY3Zh)._HZYTJ{max-width:1000px}}@media screen and (min-width:1632px){:not(._sY3Zh)._HZYTJ{max-width:1600px;max-height:calc(100vh - 32px)}}._sY3Zh{min-width:200px;width:calc(100% - 48px)}._sY3Zh,._sY3Zh._YfYJ0{max-height:calc(100vh - 80px)}._sY3Zh._YfYJ0{max-width:480px;border-radius:8px}._sY3Zh._rCm6w{max-width:700px}._sY3Zh._jTTSA{max-width:1000px}._sY3Zh._HZYTJ{max-width:1600px;max-height:calc(100vh - 32px)}._6IHZs{height:calc(100vh - 80px)}@media screen and (max-width:479px){._6IHZs{height:100vh}}@media screen and (min-width:1632px){._6IHZs{height:calc(100vh - 32px)}}._c2lE8{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}._RCVmW{padding-right:64px}._pyftg{position:absolute;top:14px;right:14px}._wZOk0{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._o5Ekf,._wZOk0{padding:20px 24px}._o5Ekf{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._o5Ekf>*{margin:0 4px}._o5Ekf>:first-child{margin-left:0}._o5Ekf>:last-child{margin-right:0}@keyframes _KFibi{0%{opacity:0}}._KFibi{animation:_KFibi ease-in both;animation-duration:.2s}@keyframes _IzlKW{to{opacity:0}}._IzlKW{animation:_IzlKW ease-out both;animation-duration:.2s}@keyframes _PXsr1{0%{transform:scale3d(.7,.7,.7);opacity:0}}._PXsr1{animation:_PXsr1 both;animation-duration:.2s}@keyframes _UvKnB{to{transform:scale3d(.7,.7,.7);opacity:0}}._UvKnB{animation:_UvKnB both;animation-duration:.2s}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
3
2
|
import React__default, { useRef, useState, useEffect, useCallback, isValidElement } from 'react';
|
|
4
3
|
import classNames from 'classnames';
|
|
5
4
|
import styles from './NewMenu.js';
|
|
@@ -67,7 +66,7 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
67
66
|
private_isFirstElementHighlightedOnUserActivatedOpen = true,
|
|
68
67
|
...rest
|
|
69
68
|
} = _ref;
|
|
70
|
-
const anchorId = useId((_externalAnchor$props = externalAnchor === null || externalAnchor === void 0
|
|
69
|
+
const anchorId = useId((_externalAnchor$props = externalAnchor === null || externalAnchor === void 0 || (_externalAnchor$props2 = externalAnchor.props) === null || _externalAnchor$props2 === void 0 ? void 0 : _externalAnchor$props2.id) !== null && _externalAnchor$props !== void 0 ? _externalAnchor$props : externalId);
|
|
71
70
|
const arrowNavId = "".concat(anchorId, "-menu");
|
|
72
71
|
const parentCloseAndFocusAnchor = (_useMenuContext = useMenuContext()) === null || _useMenuContext === void 0 ? void 0 : _useMenuContext.closeAndFocusAnchor;
|
|
73
72
|
const isSubmenu = Boolean(parentCloseAndFocusAnchor);
|
|
@@ -120,13 +119,13 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
120
119
|
let arr = selectedValue || selectedValue === 0 ? [].concat(selectedValue) : [];
|
|
121
120
|
const i = arr.findIndex(v => {
|
|
122
121
|
var _item$props;
|
|
123
|
-
return v === (item === null || item === void 0
|
|
122
|
+
return v === (item === null || item === void 0 || (_item$props = item.props) === null || _item$props === void 0 ? void 0 : _item$props.value);
|
|
124
123
|
});
|
|
125
124
|
if (i !== -1) {
|
|
126
125
|
arr.splice(i, 1);
|
|
127
126
|
} else {
|
|
128
127
|
var _item$props2;
|
|
129
|
-
arr = union(arr, item === null || item === void 0
|
|
128
|
+
arr = union(arr, item === null || item === void 0 || (_item$props2 = item.props) === null || _item$props2 === void 0 ? void 0 : _item$props2.value);
|
|
130
129
|
}
|
|
131
130
|
setSelectedValue(arr, getLabelFromValue(children, arr), item);
|
|
132
131
|
};
|
|
@@ -144,7 +143,7 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
144
143
|
closeAndFocusAnchor();
|
|
145
144
|
return;
|
|
146
145
|
}
|
|
147
|
-
const value = item === null || item === void 0
|
|
146
|
+
const value = item === null || item === void 0 || (_item$props3 = item.props) === null || _item$props3 === void 0 ? void 0 : _item$props3.value;
|
|
148
147
|
if (!value && value !== 0) {
|
|
149
148
|
// eslint-disable-next-line no-console
|
|
150
149
|
console.warn('<MenuItem> should have a "value" prop when used in a <SelectMenu>', item);
|
|
@@ -211,11 +210,11 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
211
210
|
});
|
|
212
211
|
}
|
|
213
212
|
if ((child === null || child === void 0 ? void 0 : child.type) === MenuItem) {
|
|
214
|
-
var
|
|
213
|
+
var _child$props, _child$props2;
|
|
215
214
|
menuItemIndex += 1;
|
|
216
215
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
217
216
|
isHighlighted: actualIndex === highlightedIndex,
|
|
218
|
-
isSelected: selectable && typeof selectedValue !== 'undefined' && Array.isArray(selectedValue) ?
|
|
217
|
+
isSelected: selectable && typeof selectedValue !== 'undefined' && Array.isArray(selectedValue) ? selectedValue.includes(child === null || child === void 0 || (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.value) : (child === null || child === void 0 || (_child$props2 = child.props) === null || _child$props2 === void 0 ? void 0 : _child$props2.value) === selectedValue,
|
|
219
218
|
onSelect: wrapEvent(child.props.onSelect, () => {
|
|
220
219
|
handleItemSelected(child);
|
|
221
220
|
}),
|
|
@@ -228,8 +227,8 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
228
227
|
const anchorLabel = label !== null && label !== void 0 ? label : getLabelFromValue(children, selectedValue);
|
|
229
228
|
const menuAnchorLabel = anchorLabel !== null && anchorLabel !== void 0 ? anchorLabel : defaultLabel;
|
|
230
229
|
const announceToScreenReader = useScreenReaderAnnouncement('assertive');
|
|
231
|
-
const ariaLabelledBy = (_externalAnchor$props3 = externalAnchor === null || externalAnchor === void 0
|
|
232
|
-
const ariaLabel = (_externalAnchor$props5 = externalAnchor === null || externalAnchor === void 0
|
|
230
|
+
const ariaLabelledBy = (_externalAnchor$props3 = externalAnchor === null || externalAnchor === void 0 || (_externalAnchor$props4 = externalAnchor.props) === null || _externalAnchor$props4 === void 0 ? void 0 : _externalAnchor$props4['aria-labelledby']) !== null && _externalAnchor$props3 !== void 0 ? _externalAnchor$props3 : externalAriaLabelledBy ? "".concat(externalAriaLabelledBy, " ").concat(anchorId) : undefined;
|
|
231
|
+
const ariaLabel = (_externalAnchor$props5 = externalAnchor === null || externalAnchor === void 0 || (_externalAnchor$props6 = externalAnchor.props) === null || _externalAnchor$props6 === void 0 ? void 0 : _externalAnchor$props6['aria-label']) !== null && _externalAnchor$props5 !== void 0 ? _externalAnchor$props5 : externalAriaLabel && typeof menuAnchorLabel === 'string' ? "".concat(externalAriaLabel, " ").concat(menuAnchorLabel) : externalAriaLabel;
|
|
233
232
|
const ariaExpanded = (externalAnchor === null || externalAnchor === void 0 ? void 0 : externalAnchor.props['aria-expanded']) !== undefined ? externalAnchor.props['aria-expanded'] : isOpen ? true : undefined;
|
|
234
233
|
const actualAnchor = externalAnchor !== undefined ? /*#__PURE__*/React__default.cloneElement(externalAnchor, {
|
|
235
234
|
ref: mergeRefs(ref, anchorRef, externalAnchor.ref),
|
|
@@ -330,7 +329,7 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
330
329
|
className: classNames(styles.contentPane, flyoutClassName),
|
|
331
330
|
highlightedIndex: highlightedIndex,
|
|
332
331
|
maxHeight: maxHeight,
|
|
333
|
-
minWidth: isSubmenu ? undefined : Math.min(350, Math.max(160, anchorRef === null || anchorRef === void 0
|
|
332
|
+
minWidth: isSubmenu ? undefined : Math.min(350, Math.max(160, anchorRef === null || anchorRef === void 0 || (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.offsetWidth)),
|
|
334
333
|
searchable: searchable,
|
|
335
334
|
onHighlightedIndexChange: i => setHighlightedIndex(i),
|
|
336
335
|
searchTerm: searchTerm,
|
|
@@ -370,12 +369,10 @@ function filterItems(valueToFilterBy, items) {
|
|
|
370
369
|
const result = items.filter(item => {
|
|
371
370
|
const searchTermLowerCase = valueToFilterBy.toLowerCase();
|
|
372
371
|
if (typeof item.props.label === 'string') {
|
|
373
|
-
|
|
374
|
-
return _includesInstanceProperty(_context2 = item.props.label.toLowerCase()).call(_context2, searchTermLowerCase);
|
|
372
|
+
return item.props.label.toLowerCase().includes(searchTermLowerCase);
|
|
375
373
|
}
|
|
376
374
|
if (typeof item.props.children === 'string') {
|
|
377
|
-
|
|
378
|
-
return _includesInstanceProperty(_context3 = item.props.children.toLowerCase()).call(_context3, searchTermLowerCase);
|
|
375
|
+
return item.props.children.toLowerCase().includes(searchTermLowerCase);
|
|
379
376
|
}
|
|
380
377
|
// eslint-disable-next-line no-console
|
|
381
378
|
console.warn("<MenuItem> not included in search results!\n Ensure prop \"children\" is of type \"string\" or provide a \"label\" prop!", item);
|
|
@@ -399,7 +396,7 @@ function getDescendent(children, value) {
|
|
|
399
396
|
for (let i = 0; i < childArray.length; i += 1) {
|
|
400
397
|
var _child$props3, _child$props4;
|
|
401
398
|
const child = childArray[i];
|
|
402
|
-
if ((child === null || child === void 0 ? void 0 : child.type) === MenuItem && (child === null || child === void 0
|
|
399
|
+
if ((child === null || child === void 0 ? void 0 : child.type) === MenuItem && (child === null || child === void 0 || (_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.value) === value) {
|
|
403
400
|
return child;
|
|
404
401
|
}
|
|
405
402
|
if ((child === null || child === void 0 ? void 0 : child.type) !== MenuItem && child !== null && child !== void 0 && (_child$props4 = child.props) !== null && _child$props4 !== void 0 && _child$props4.children) {
|
|
@@ -413,12 +410,12 @@ function getDescendent(children, value) {
|
|
|
413
410
|
}
|
|
414
411
|
function getLabel(menuOptionNode) {
|
|
415
412
|
var _menuOptionNode$props;
|
|
416
|
-
if ( /*#__PURE__*/isValidElement(menuOptionNode)) return getLabel(menuOptionNode === null || menuOptionNode === void 0
|
|
413
|
+
if ( /*#__PURE__*/isValidElement(menuOptionNode)) return getLabel(menuOptionNode === null || menuOptionNode === void 0 || (_menuOptionNode$props = menuOptionNode.props) === null || _menuOptionNode$props === void 0 ? void 0 : _menuOptionNode$props.children);
|
|
417
414
|
return menuOptionNode;
|
|
418
415
|
}
|
|
419
416
|
function union(arr1, arr2) {
|
|
420
417
|
return [].concat(arr1).concat(arr2).reduce((result, current) => {
|
|
421
|
-
if (!
|
|
418
|
+
if (!result.includes(current)) {
|
|
422
419
|
result.push(current);
|
|
423
420
|
}
|
|
424
421
|
return result;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"menuBtn":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._-X5dV._-X5dV{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}._-X5dV._-X5dV,._-X5dV._-X5dV ._Hd8nM{display:inline-flex;align-items:center}._-X5dV._-X5dV ._Hd8nM{overflow:hidden;text-overflow:ellipsis}._-X5dV._-X5dV._k8ppd{min-height:26px;height:26px}._-X5dV._-X5dV._z1dcp{color:#32363a}._-X5dV._-X5dV:hover:not([aria-disabled=true]){background-color:#f5f5f5}._-X5dV._-X5dV:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-X5dV._-X5dV[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._-X5dV._-X5dV[aria-disabled=true]>svg{fill:#515559;opacity:.4}._-X5dV._-X5dV[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-X5dV._-X5dV._Ohktj{padding-left:0}._-X5dV._-X5dV._Tu3ND{margin-top:4px}._-X5dV._-X5dV ._rZzMy{fill:#515559}._-X5dV._-X5dV ._rZzMy._k8ppd{top:0}._-X5dV._-X5dV ._rZzMy._ZZNDf{transform:rotate(-180deg)}._z0ubf{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}._z0ubf::-webkit-scrollbar,._z0ubf::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._z0ubf::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._z0ubf::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._z0ubf:hover::-webkit-scrollbar,._z0ubf:hover::-webkit-scrollbar-thumb,._z0ubf[focus-within]::-webkit-scrollbar,._z0ubf[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._z0ubf:focus-within::-webkit-scrollbar,._z0ubf:focus-within::-webkit-scrollbar-thumb,._z0ubf:hover::-webkit-scrollbar,._z0ubf:hover::-webkit-scrollbar-thumb{visibility:visible}._7XyRp{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._7XyRp[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._7XyRp._lLmBE{background-color:#efefef}._7XyRp._VqvvX{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._7XyRp._z1dcp{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._7XyRp._z1dcp._lLmBE{background-color:#e4effa}._7XyRp._JIsXa{cursor:default}._7XyRp:active:not(._6D1JJ):not(._z1dcp):not([aria-disabled=true]):not(._JIsXa){background-color:#e8e9e9}._6D1JJ{padding-right:32px}._6D1JJ ._rZzMy{position:absolute;top:8px;right:3px;fill:#515559}._c5AR8{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}._btmT7{position:absolute;top:13px;left:13px}._5WOiA._5WOiA{padding-left:32px}._VZ9Zr{margin:2px 12px 2px 0;flex-shrink:0}._VZ9Zr._nLs1l>svg{border-color:#0b6ed0}._yo2jr{display:flex;justify-self:center;margin:8px}";
|
|
4
|
+
var styles = {"menuBtn":"_-X5dV","menuBtnLabel":"_Hd8nM","small":"_k8ppd","selected":"_z1dcp","unlabelledButton":"_Ohktj","formLabelled":"_Tu3ND","rightIcon":"_rZzMy","open":"_ZZNDf","contentPane":"_z0ubf","menuItem":"_7XyRp","active":"_lLmBE","focus":"_VqvvX","noMenuItems":"_JIsXa","subMenu":"_6D1JJ","searchBox":"_c5AR8","searchBoxIcon":"_btmT7","searchBoxInput":"_5WOiA","checkbox":"_VZ9Zr","highlighted":"_nLs1l","menuSpinner":"_yo2jr"};
|
|
5
|
+
var stylesheet="._-X5dV._-X5dV{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}._-X5dV._-X5dV,._-X5dV._-X5dV ._Hd8nM{display:inline-flex;align-items:center}._-X5dV._-X5dV ._Hd8nM{overflow:hidden;text-overflow:ellipsis}._-X5dV._-X5dV._k8ppd{min-height:26px;height:26px}._-X5dV._-X5dV._z1dcp{color:#32363a}._-X5dV._-X5dV:hover:not([aria-disabled=true]){background-color:#f5f5f5}._-X5dV._-X5dV:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-X5dV._-X5dV[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._-X5dV._-X5dV[aria-disabled=true]>svg{fill:#515559;opacity:.4}._-X5dV._-X5dV[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-X5dV._-X5dV._Ohktj{padding-left:0}._-X5dV._-X5dV._Tu3ND{margin-top:4px}._-X5dV._-X5dV ._rZzMy{fill:#515559}._-X5dV._-X5dV ._rZzMy._k8ppd{top:0}._-X5dV._-X5dV ._rZzMy._ZZNDf{transform:rotate(-180deg)}._z0ubf{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}._z0ubf::-webkit-scrollbar,._z0ubf::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._z0ubf::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._z0ubf::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._z0ubf:hover::-webkit-scrollbar,._z0ubf:hover::-webkit-scrollbar-thumb,._z0ubf[focus-within]::-webkit-scrollbar,._z0ubf[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._z0ubf:focus-within::-webkit-scrollbar,._z0ubf:focus-within::-webkit-scrollbar-thumb,._z0ubf:hover::-webkit-scrollbar,._z0ubf:hover::-webkit-scrollbar-thumb{visibility:visible}._7XyRp{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._7XyRp[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._7XyRp._lLmBE{background-color:#efefef}._7XyRp._VqvvX{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._7XyRp._z1dcp{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._7XyRp._z1dcp._lLmBE{background-color:#e4effa}._7XyRp._JIsXa{cursor:default}._7XyRp:active:not(._6D1JJ):not(._z1dcp):not([aria-disabled=true]):not(._JIsXa){background-color:#e8e9e9}._6D1JJ{padding-right:32px}._6D1JJ ._rZzMy{position:absolute;top:8px;right:3px;fill:#515559}._c5AR8{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}._btmT7{position:absolute;top:13px;left:13px}._5WOiA._5WOiA{padding-left:32px}._VZ9Zr{margin:2px 12px 2px 0;flex-shrink:0}._VZ9Zr._nLs1l>svg{border-color:#0b6ed0}._yo2jr{display:flex;justify-self:center;margin:8px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -93,7 +93,7 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
93
93
|
searchBoxRef === null || searchBoxRef === void 0 ? void 0 : searchBoxRef.current.focus();
|
|
94
94
|
} else {
|
|
95
95
|
var _anchorRef$current;
|
|
96
|
-
anchorRef === null || anchorRef === void 0
|
|
96
|
+
anchorRef === null || anchorRef === void 0 || (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.focus();
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
}, [highlightedIndex, refs, searchable, allChildren.length,
|