@qualtrics/ui-react 2.20.0 → 2.21.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 +10 -38
- package/dist/__shared/cjs/{index-579c4690.js → index-0ae99de2.js} +3 -3
- package/dist/__shared/cjs/{index-90d4069b.js → index-201e8786.js} +188 -260
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/Alpha.js +0 -7
- package/dist/components/ColorPicker/ColorPicker.js +5 -1
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/ColorPicker/ColorPickerFlyout.js +9 -4
- package/dist/components/ColorPicker/Hue.js +0 -7
- package/dist/components/ColorPicker/Palette.js +6 -4
- package/dist/components/ColorPicker/Saturation.js +0 -9
- package/dist/components/Combobox/Combobox.js +8 -6
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +0 -5
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownOption.js +2 -5
- package/dist/components/Dropdown/DropdownSearch.js +2 -5
- package/dist/components/FilePicker/FilePicker.js +0 -7
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +9 -8
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +6 -4
- 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 +0 -27
- package/dist/hooks/useEventListener/useEventListener.js +3 -0
- package/dist/hooks/useOverlay/useOverlay.js +5 -2
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +1 -7
- package/dist/index.js +4 -7
- package/dist/next/AdvancedTable/AdvancedTable.js +33 -45
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +1 -2
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu.js +6 -2
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +10 -4
- package/dist/next/Menu/MenuPane.js +55 -37
- package/dist/next/Menu/MenuSearch.js +16 -71
- package/dist/next/Menu/SubMenu.js +54 -41
- package/dist/next/Menu/constants.js +5 -1
- package/dist/next/Menu/useMutationObserver.js +17 -0
- package/dist/next/Menu/usePaneSearch.js +97 -7
- 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/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +1 -0
- package/dist/next/index.js +374 -284
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/index.js +0 -1
- package/icons/package.json +1 -0
- package/next/package.json +2 -1
- package/package.json +3 -3
- package/dist/utils/keyboardUser/index.js +0 -1
- package/dist/utils/keyboardUser/keyboardUser.js +0 -30
|
@@ -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 = {"divider":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._-x7N4{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4
|
+
var styles = {"divider":"_-x7N4"};
|
|
5
|
+
var stylesheet="._-x7N4{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -65,7 +65,6 @@ const Dropdown = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
65
65
|
const listboxId = `${containerId}-listbox`;
|
|
66
66
|
const [isOpen, setIsOpen] = useControllableState(false, onIsOpenChange, externalIsOpen);
|
|
67
67
|
const [value, setValue] = useControllableState(defaultValue, onChange, externalValue);
|
|
68
|
-
const [isKeyboardUser, setIsKeyboardUser] = useState(false);
|
|
69
68
|
const [selectedIndex, setSelectedIndex] = useState(0);
|
|
70
69
|
const [highlightedIndex, setHighlightedIndex] = useControllableState(-1, onHighlightedIndexChange, externalHighlightedIndex);
|
|
71
70
|
const [minWidth, setMinWidth] = useState();
|
|
@@ -126,7 +125,6 @@ const Dropdown = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
126
125
|
}
|
|
127
126
|
}, [isMultiSelect, handleClose, setValue]);
|
|
128
127
|
const onKeyDownButton = e => {
|
|
129
|
-
setIsKeyboardUser(true);
|
|
130
128
|
let newHighlightedIndex;
|
|
131
129
|
if (disabled) return;
|
|
132
130
|
switch (e.key) {
|
|
@@ -162,7 +160,6 @@ const Dropdown = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
162
160
|
}
|
|
163
161
|
};
|
|
164
162
|
const onKeyDownList = e => {
|
|
165
|
-
setIsKeyboardUser(true);
|
|
166
163
|
let newHighlightedIndex;
|
|
167
164
|
if (disabled) return;
|
|
168
165
|
switch (e.key) {
|
|
@@ -260,8 +257,6 @@ const Dropdown = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
260
257
|
ariaLabelledBy,
|
|
261
258
|
ariaLabel,
|
|
262
259
|
ariaDescribedby,
|
|
263
|
-
isKeyboardUser,
|
|
264
|
-
setIsKeyboardUser,
|
|
265
260
|
isSearchable,
|
|
266
261
|
isSearchFilteringDisabled,
|
|
267
262
|
searchValue,
|
|
@@ -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 = "._BSYkr{max-width:100%;position:relative;display:inline-block}._4emIY{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}._4emIY:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._4emIY:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._4emIY:disabled,._4emIY[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._4emIY._ocVXW{border-color:#b00}._4emIY._ocVXW:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._4emIY._n4EPy{min-width:120px;padding:0 4px 0 12px}._4emIY._ys9sA{margin-top:4px}._4emIY._1aHUW:not([aria-disabled=true]):not(:disabled){color:#32363a}._4emIY ._fYR7A{display:inline-flex;align-items:center;min-height:10px}._4emIY ._fYR7A._MsQoT{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._4emIY ._fS5xr{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._4emIY ._fS5xr._4HoKQ{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._4emIY ._fS5xr._7J0aq{transform:rotate(-180deg)}._6TuyD[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._UVgDb{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}._MxwY2{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}._DQ0Zm{fill:#515559}._f1uzS{margin:2px 12px 2px 0}._f1uzS._wCQED>svg{border-color:#0b6ed0}._WEsSL{width:100%}";
|
|
4
|
+
var styles = {"container":"_BSYkr","button":"_4emIY","invalid":"_ocVXW","hasText":"_n4EPy","labelled":"_ys9sA","selected":"_1aHUW","buttonLabel":"_fYR7A","isString":"_MsQoT","icon":"_fS5xr","disabled":"_4HoKQ","open":"_7J0aq","option":"_6TuyD","search":"_UVgDb","emptyOption":"_MxwY2","searchIcon":"_DQ0Zm","checkbox":"_f1uzS","highlighted":"_wCQED","searchInput":"_WEsSL"};
|
|
5
|
+
var stylesheet="._BSYkr{max-width:100%;position:relative;display:inline-block}._4emIY{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}._4emIY:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._4emIY:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._4emIY:disabled,._4emIY[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._4emIY._ocVXW{border-color:#b00}._4emIY._ocVXW:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._4emIY._n4EPy{min-width:120px;padding:0 4px 0 12px}._4emIY._ys9sA{margin-top:4px}._4emIY._1aHUW:not([aria-disabled=true]):not(:disabled){color:#32363a}._4emIY ._fYR7A{display:inline-flex;align-items:center;min-height:10px}._4emIY ._fYR7A._MsQoT{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._4emIY ._fS5xr{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._4emIY ._fS5xr._4HoKQ{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._4emIY ._fS5xr._7J0aq{transform:rotate(-180deg)}._6TuyD[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._UVgDb{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}._MxwY2{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}._DQ0Zm{fill:#515559}._f1uzS{margin:2px 12px 2px 0}._f1uzS._wCQED>svg{border-color:#0b6ed0}._WEsSL{width:100%}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -34,8 +34,6 @@ const DropdownOption = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
34
34
|
onOptionSelected,
|
|
35
35
|
setHighlightedIndex,
|
|
36
36
|
listRef,
|
|
37
|
-
isKeyboardUser,
|
|
38
|
-
setIsKeyboardUser,
|
|
39
37
|
searchValue,
|
|
40
38
|
isSearchFilteringDisabled,
|
|
41
39
|
isSearchable,
|
|
@@ -76,7 +74,7 @@ const DropdownOption = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
76
74
|
const isHighlighted = highlightedIndex === myIndex && myIndex !== -1;
|
|
77
75
|
useEffect(() => {
|
|
78
76
|
if (isHighlighted) {
|
|
79
|
-
if (
|
|
77
|
+
if (isOpen && internalRef?.current && listRef?.current && listRef.current?.scrollHeight > listRef.current?.clientHeight) {
|
|
80
78
|
const scrollBottom = listRef.current.clientHeight + listRef.current.scrollTop;
|
|
81
79
|
const elementBottom = internalRef.current.offsetTop + internalRef.current.offsetHeight;
|
|
82
80
|
if (elementBottom > scrollBottom) {
|
|
@@ -89,7 +87,7 @@ const DropdownOption = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
89
87
|
preventScroll: true
|
|
90
88
|
});
|
|
91
89
|
}
|
|
92
|
-
}, [isHighlighted,
|
|
90
|
+
}, [isHighlighted, isOpen, listRef, isSearchable, searchHeight]);
|
|
93
91
|
return isOpen && isVisible ? /*#__PURE__*/React__default.createElement(FlyoutOption, _extends({}, rest, {
|
|
94
92
|
className: classNames(className, styles.option),
|
|
95
93
|
ref: mergeRefs(internalRef, ref),
|
|
@@ -100,7 +98,6 @@ const DropdownOption = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
100
98
|
"aria-disabled": disabled,
|
|
101
99
|
onMouseDown: wrapEvent(onMouseDown, e => e.preventDefault()),
|
|
102
100
|
onMouseEnter: wrapEvent(onMouseEnter, () => {
|
|
103
|
-
setIsKeyboardUser(false);
|
|
104
101
|
setHighlightedIndex(myIndex);
|
|
105
102
|
}),
|
|
106
103
|
onMouseLeave: wrapEvent(onMouseLeave, () => setHighlightedIndex(-1))
|
|
@@ -22,11 +22,9 @@ const DropdownSearch = /*#__PURE__*/React__default.forwardRef((_, ref) => {
|
|
|
22
22
|
const {
|
|
23
23
|
isOpen,
|
|
24
24
|
highlightedIndex,
|
|
25
|
-
setIsKeyboardUser,
|
|
26
25
|
setHighlightedIndex,
|
|
27
26
|
searchValue,
|
|
28
27
|
setSearchValue,
|
|
29
|
-
isKeyboardUser,
|
|
30
28
|
setSearchHeight,
|
|
31
29
|
dataTestId,
|
|
32
30
|
listboxId
|
|
@@ -39,10 +37,10 @@ const DropdownSearch = /*#__PURE__*/React__default.forwardRef((_, ref) => {
|
|
|
39
37
|
const isHighlighted = useMemo(() => highlightedIndex === myIndex && myIndex !== -1, [highlightedIndex, myIndex]);
|
|
40
38
|
useEffect(() => {
|
|
41
39
|
// for keyboard navigation
|
|
42
|
-
if (isHighlighted
|
|
40
|
+
if (isHighlighted) {
|
|
43
41
|
inputRef.current?.focus();
|
|
44
42
|
}
|
|
45
|
-
}, [isHighlighted
|
|
43
|
+
}, [isHighlighted]);
|
|
46
44
|
useEffect(() => {
|
|
47
45
|
// for initial open with mouse
|
|
48
46
|
if (isHighlighted && isOpen) {
|
|
@@ -69,7 +67,6 @@ const DropdownSearch = /*#__PURE__*/React__default.forwardRef((_, ref) => {
|
|
|
69
67
|
};
|
|
70
68
|
const handleMouseEnter = () => {
|
|
71
69
|
setHighlightedIndex(myIndex);
|
|
72
|
-
setIsKeyboardUser(false);
|
|
73
70
|
};
|
|
74
71
|
const handleMouseLeave = () => {
|
|
75
72
|
setHighlightedIndex(-1);
|
|
@@ -2,7 +2,6 @@ import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
|
2
2
|
import React__default, { useState, useRef } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import filePickerStyles from './FilePicker2.js';
|
|
5
|
-
import buttonStyles from '../Button/Button.js';
|
|
6
5
|
import '../Button/index.js';
|
|
7
6
|
import '../../utils/index.js';
|
|
8
7
|
import '../../hooks/index.js';
|
|
@@ -47,7 +46,6 @@ const FilePicker = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
|
47
46
|
const {
|
|
48
47
|
translate
|
|
49
48
|
} = useTranslation();
|
|
50
|
-
const [isInputFocused, setIsInputFocused] = useState(false);
|
|
51
49
|
const [filesChanged, setFilesChanged] = useState(false);
|
|
52
50
|
const [files, setFiles] = useControllableState(undefined, undefined, externalFiles);
|
|
53
51
|
const fileInputId = useId(externalId);
|
|
@@ -89,9 +87,6 @@ const FilePicker = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
|
89
87
|
kind: "secondary",
|
|
90
88
|
onClick: () => fileInputRef.current?.click(),
|
|
91
89
|
tabIndex: -1,
|
|
92
|
-
className: classNames({
|
|
93
|
-
[buttonStyles.keyboardFocused]: isInputFocused
|
|
94
|
-
}),
|
|
95
90
|
ref: buttonRef,
|
|
96
91
|
onFocus: () => fileInputRef.current?.focus(),
|
|
97
92
|
id: buttonId,
|
|
@@ -104,8 +99,6 @@ const FilePicker = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
|
104
99
|
onChange: disabled ? undefined : handleChange,
|
|
105
100
|
ref: mergeRefs(fileInputRef, ref),
|
|
106
101
|
type: "file",
|
|
107
|
-
onFocus: () => setIsInputFocused(true),
|
|
108
|
-
onBlur: () => setIsInputFocused(false),
|
|
109
102
|
"aria-label": ariaLabel,
|
|
110
103
|
id: fileInputId,
|
|
111
104
|
"aria-labelledby": ariaLabelledBy,
|
|
@@ -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 = "._mWCUe{position:relative}._mWCUe[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._mWCUe:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._rM0kL{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._u-LwL{margin-left:16px;font-size:14px;color:#32363a}._u-LwL ._ustr9{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_mWCUe","fileInput":"_rM0kL","fileDetails":"_u-LwL","fileName":"_ustr9"};
|
|
5
|
+
var stylesheet="._mWCUe{position:relative}._mWCUe[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._mWCUe:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._rM0kL{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._u-LwL{margin-left:16px;font-size:14px;color:#32363a}._u-LwL ._ustr9{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 = "._9oPUg{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._ZhB2U{color:#74777a;fill:#74777a}._cb7dD{color:#b00;fill:#b00}._1uK-s,._reONt{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_9oPUg","helperText":"_ZhB2U","errorText":"_cb7dD","errorIcon":"_reONt","readOnlyIcon":"_1uK-s"};
|
|
5
|
+
var stylesheet="._9oPUg{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._ZhB2U{color:#74777a;fill:#74777a}._cb7dD{color:#b00;fill:#b00}._1uK-s,._reONt{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 = "._JMovs{display:flex;flex-direction:column;align-items:flex-start}._Q6O5B{margin-top:6px;max-width:100%}._Q6O5B *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_JMovs","captionContainer":"_Q6O5B"};
|
|
5
|
+
var stylesheet="._JMovs{display:flex;flex-direction:column;align-items:flex-start}._Q6O5B{margin-top:6px;max-width:100%}._Q6O5B *+*{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 = "._SsxNM{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _NNj0j{0%{transform:scale3d(.7,.7,.7);opacity:0}}._RONaF{animation:_NNj0j both;animation-duration:.2s}@keyframes _NW1Td{to{transform:scale3d(.7,.7,.7);opacity:0}}._bREyj{animation:_NW1Td both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"dialog":"_SsxNM","transitionIn":"_RONaF","showAnimation":"_NNj0j","transitionOut":"_bREyj","hideAnimation":"_NW1Td"};
|
|
5
|
+
var stylesheet="._SsxNM{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _NNj0j{0%{transform:scale3d(.7,.7,.7);opacity:0}}._RONaF{animation:_NNj0j both;animation-duration:.2s}@keyframes _NW1Td{to{transform:scale3d(.7,.7,.7);opacity:0}}._bREyj{animation:_NW1Td 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 = "._Fwx36{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}._Fwx36:focus{outline:none}._Fwx36:hover:not(._PkKRL){background-color:rgba(50,54,58,.08)}._Fwx36:active:not(._PkKRL){background-color:rgba(50,54,58,.11);stroke-width:2}._Fwx36._PkKRL{cursor:not-allowed;fill:rgba(81,85,89,.6)}._Fwx36.focus-visible,._Fwx36:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"button":"_Fwx36","disabled":"_PkKRL"};
|
|
5
|
+
var stylesheet="._Fwx36{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}._Fwx36:focus{outline:none}._Fwx36:hover:not(._PkKRL){background-color:rgba(50,54,58,.08)}._Fwx36:active:not(._PkKRL){background-color:rgba(50,54,58,.11);stroke-width:2}._Fwx36._PkKRL{cursor:not-allowed;fill:rgba(81,85,89,.6)}._Fwx36.focus-visible,._Fwx36: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 = "._4IRGC{display:inline-block}._tWQ7L{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}._tWQ7L::-moz-selection{background-color:rgba(11,110,208,.11)}._tWQ7L::selection{background-color:rgba(11,110,208,.11)}._tWQ7L:focus,._tWQ7L:hover{background-color:#f5f5f5}._tWQ7L:focus{border:2px solid #0a3f88;padding:3px}._tWQ7L:focus._XwGyQ{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":"_4IRGC","inlineInput":"_tWQ7L","isEditing":"_XwGyQ"};
|
|
5
|
+
var stylesheet="._4IRGC{display:inline-block}._tWQ7L{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}._tWQ7L::-moz-selection{background-color:rgba(11,110,208,.11)}._tWQ7L::selection{background-color:rgba(11,110,208,.11)}._tWQ7L:focus,._tWQ7L:hover{background-color:#f5f5f5}._tWQ7L:focus{border:2px solid #0a3f88;padding:3px}._tWQ7L:focus._XwGyQ{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 = "._HG8me{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}._HG8me::-moz-placeholder{color:#515559;opacity:1}._HG8me::placeholder{color:#515559;opacity:1}._HG8me:hover{cursor:pointer;background-color:#f5f5f5}._HG8me:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._HG8me._oUFP0{border-color:#b00}._HG8me._oUFP0:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._HG8me:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._HG8me:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._HG8me:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._HG8me._fFjFg{height:auto}._HG8me._fFjFg::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._HG8me._UUJxm{display:block;width:100%}._HG8me._Rxplq{padding:4px 8px}input._HG8me._Rxplq{height:26px;min-height:26px}[type=number]._HG8me{-moz-appearance:textfield}[type=number]._HG8me::-webkit-inner-spin-button,[type=number]._HG8me::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._pZTao{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._pZTao:hover{cursor:pointer}._pZTao._db3mK{color:#0b6ed0}._2o60R{margin-top:4px}";
|
|
4
|
+
var styles = {"input":"_HG8me","invalid":"_oUFP0","multiline":"_fFjFg","full":"_UUJxm","small":"_Rxplq","label":"_pZTao","focused":"_db3mK","wrappedInput":"_2o60R"};
|
|
5
|
+
var stylesheet="._HG8me{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}._HG8me::-moz-placeholder{color:#515559;opacity:1}._HG8me::placeholder{color:#515559;opacity:1}._HG8me:hover{cursor:pointer;background-color:#f5f5f5}._HG8me:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._HG8me._oUFP0{border-color:#b00}._HG8me._oUFP0:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._HG8me:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._HG8me:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._HG8me:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._HG8me._fFjFg{height:auto}._HG8me._fFjFg::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._HG8me._UUJxm{display:block;width:100%}._HG8me._Rxplq{padding:4px 8px}input._HG8me._Rxplq{height:26px;min-height:26px}[type=number]._HG8me{-moz-appearance:textfield}[type=number]._HG8me::-webkit-inner-spin-button,[type=number]._HG8me::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._pZTao{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._pZTao:hover{cursor:pointer}._pZTao._db3mK{color:#0b6ed0}._2o60R{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 = "._6MGtb{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}._6MGtb._4KVRy{height:26px;min-height:26px;padding:5px 8px}._samka{display:flex;align-items:stretch}._samka._V-5RE{width:100%}._samka ._Rd5uz{margin:0;position:relative;flex-shrink:0;z-index:10}._samka ._Rd5uz: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}._samka ._Rd5uz:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._samka ._Rd5uz:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._samka ._Rd5uz:last-child,._samka ._Rd5uz:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._samka ._Rd5uz:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._samka ._Rd5uz._tia3j{flex-shrink:1;min-width:40px;z-index:0}._samka ._Rd5uz._tia3j._V-5RE{flex-grow:1}._samka ._Rd5uz:focus{z-index:20}";
|
|
4
|
+
var styles = {"addon":"_6MGtb","small":"_4KVRy","inputGroup":"_samka","full":"_V-5RE","inputGroupElement":"_Rd5uz","input":"_tia3j"};
|
|
5
|
+
var stylesheet="._6MGtb{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}._6MGtb._4KVRy{height:26px;min-height:26px;padding:5px 8px}._samka{display:flex;align-items:stretch}._samka._V-5RE{width:100%}._samka ._Rd5uz{margin:0;position:relative;flex-shrink:0;z-index:10}._samka ._Rd5uz: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}._samka ._Rd5uz:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._samka ._Rd5uz:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._samka ._Rd5uz:last-child,._samka ._Rd5uz:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._samka ._Rd5uz:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._samka ._Rd5uz._tia3j{flex-shrink:1;min-width:40px;z-index:0}._samka ._Rd5uz._tia3j._V-5RE{flex-grow:1}._samka ._Rd5uz: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 = "._Vc93O{font-size:14px}._UuNp6{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._-LyAl{color:#0b6ed0}";
|
|
4
|
+
var styles = {"label":"_Vc93O","control":"_UuNp6","focused":"_-LyAl"};
|
|
5
|
+
var stylesheet="._Vc93O{font-size:14px}._UuNp6{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._-LyAl{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 = "._xbt6W{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}._xbt6W:active:focus,._xbt6W:focus{outline:none}._xbt6W:visited{color:#0854a1}._xbt6W:hover{color:#085caf}._xbt6W:active{color:#0854a1}._xbt6W.focus-visible,._xbt6W:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"link":"_xbt6W"};
|
|
5
|
+
var stylesheet="._xbt6W{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}._xbt6W:active:focus,._xbt6W:focus{outline:none}._xbt6W:visited{color:#0854a1}._xbt6W:hover{color:#085caf}._xbt6W:active{color:#0854a1}._xbt6W.focus-visible,._xbt6W: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 = "._V69Ap{position:relative;display:inline-block}._V69Ap._kXjg1{min-height:20px;min-width:20px}._V69Ap._yB5Dp{min-height:25px;min-width:25px}._V69Ap._G5Ifk{min-height:40px;min-width:40px}._V69Ap._0dCb1{min-height:64px;min-width:64px}._V69Ap ._kfkPc{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._V69Ap ._kfkPc._lSiVS{visibility:hidden}._V69Ap ._kfkPc div{position:absolute;transform:rotate(20deg)}._V69Ap ._kfkPc div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_kfkPc .8s linear infinite}._V69Ap ._kfkPc 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}._V69Ap ._kfkPc div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._V69Ap ._kfkPc div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._V69Ap ._kfkPc div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._V69Ap ._kfkPc div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._V69Ap ._kfkPc div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._V69Ap ._kfkPc div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._V69Ap ._kfkPc div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._V69Ap ._kfkPc div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._V69Ap ._kfkPc div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._V69Ap ._0dCb1 div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._V69Ap ._kXjg1 div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._V69Ap ._yB5Dp div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._V69Ap ._Q3xrZ div div:nth-child(-n+9):after{background:#fff}._V69Ap ._emU-m{width:100%;height:100%}._V69Ap ._emU-m._MMYCR{pointer-events:none}._V69Ap ._emU-m._lSiVS{opacity:0}._V69Ap ._emU-m._XG2P9{opacity:.5}@keyframes _kfkPc{0%{opacity:1}to{opacity:0}}";
|
|
4
|
+
var styles = {"spinnerContainer":"_V69Ap","xs":"_kXjg1","small":"_yB5Dp","medium":"_G5Ifk","large":"_0dCb1","spinnerComponent":"_kfkPc","hide":"_lSiVS","inverted":"_Q3xrZ","spinnerContent":"_emU-m","disablePointerEvents":"_MMYCR","fade":"_XG2P9"};
|
|
5
|
+
var stylesheet="._V69Ap{position:relative;display:inline-block}._V69Ap._kXjg1{min-height:20px;min-width:20px}._V69Ap._yB5Dp{min-height:25px;min-width:25px}._V69Ap._G5Ifk{min-height:40px;min-width:40px}._V69Ap._0dCb1{min-height:64px;min-width:64px}._V69Ap ._kfkPc{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._V69Ap ._kfkPc._lSiVS{visibility:hidden}._V69Ap ._kfkPc div{position:absolute;transform:rotate(20deg)}._V69Ap ._kfkPc div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_kfkPc .8s linear infinite}._V69Ap ._kfkPc 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}._V69Ap ._kfkPc div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._V69Ap ._kfkPc div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._V69Ap ._kfkPc div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._V69Ap ._kfkPc div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._V69Ap ._kfkPc div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._V69Ap ._kfkPc div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._V69Ap ._kfkPc div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._V69Ap ._kfkPc div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._V69Ap ._kfkPc div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._V69Ap ._0dCb1 div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._V69Ap ._kXjg1 div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._V69Ap ._yB5Dp div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._V69Ap ._Q3xrZ div div:nth-child(-n+9):after{background:#fff}._V69Ap ._emU-m{width:100%;height:100%}._V69Ap ._emU-m._MMYCR{pointer-events:none}._V69Ap ._emU-m._lSiVS{opacity:0}._V69Ap ._emU-m._XG2P9{opacity:.5}@keyframes _kfkPc{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 = "._KAXQL{width:100%}._WJMBM{display:flex;align-items:center}._vCXfc{display:flex;flex-wrap:wrap;grid-gap:4px}._vCXfc :nth-last-child(2){margin-right:42px}._4eITM{position:relative;padding-left:32px;padding-top:16px;display:flex}._sP0ko ._4eITM{padding-top:0;padding-left:16px}._sP0ko ._4eITM+._4eITM{margin-top:16px}._x02Sf{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}._sP0ko ._4eITM:first-of-type ._x02Sf{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._sP0ko ._x02Sf{top:-16px;left:0}._sP0ko ._4eITM:not(:first-of-type):not(:last-of-type) ._x02Sf{border-bottom-left-radius:0}._189qw{margin-left:-46px}._qiqve{margin:0 2px 0 4px}._qiqve.focus-visible,._qiqve:focus-visible{outline-width:2px}._jzrDd{margin-left:4px}";
|
|
4
|
+
var styles = {"set":"_KAXQL","setWrapper":"_WJMBM","condition":"_vCXfc","branch":"_4eITM","fixedSet":"_sP0ko","connection":"_x02Sf","conditionControlsContainer":"_189qw","controls":"_qiqve","controlMenuItem":"_jzrDd"};
|
|
5
|
+
var stylesheet="._KAXQL{width:100%}._WJMBM{display:flex;align-items:center}._vCXfc{display:flex;flex-wrap:wrap;grid-gap:4px}._vCXfc :nth-last-child(2){margin-right:42px}._4eITM{position:relative;padding-left:32px;padding-top:16px;display:flex}._sP0ko ._4eITM{padding-top:0;padding-left:16px}._sP0ko ._4eITM+._4eITM{margin-top:16px}._x02Sf{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}._sP0ko ._4eITM:first-of-type ._x02Sf{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._sP0ko ._x02Sf{top:-16px;left:0}._sP0ko ._4eITM:not(:first-of-type):not(:last-of-type) ._x02Sf{border-bottom-left-radius:0}._189qw{margin-left:-46px}._qiqve{margin:0 2px 0 4px}._qiqve.focus-visible,._qiqve:focus-visible{outline-width:2px}._jzrDd{margin-left: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 = {"backdrop":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._ybmls{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._vvieR,._ybmls{display:flex;overflow:auto}._vvieR{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(._4LmzX)._12EtH{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._12EtH{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._4LmzX)._O8oYp{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._O8oYp{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._4LmzX)._O8oYp{max-width:700px}}:not(._4LmzX)._-Sfvs{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._-Sfvs{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._4LmzX)._-Sfvs{max-width:700px}}@media screen and (min-width:1024px){:not(._4LmzX)._-Sfvs{max-width:1000px}}:not(._4LmzX)._9NcLI{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._9NcLI{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._4LmzX)._9NcLI{max-width:700px}}@media screen and (min-width:1024px){:not(._4LmzX)._9NcLI{max-width:1000px}}@media screen and (min-width:1632px){:not(._4LmzX)._9NcLI{max-width:1600px;max-height:calc(100vh - 32px)}}._4LmzX{min-width:200px;width:calc(100% - 48px)}._4LmzX,._4LmzX._12EtH{max-height:calc(100vh - 80px)}._4LmzX._12EtH{max-width:480px;border-radius:8px}._4LmzX._O8oYp{max-width:700px}._4LmzX._-Sfvs{max-width:1000px}._4LmzX._9NcLI{max-width:1600px;max-height:calc(100vh - 32px)}._lcSlA{height:calc(100vh - 80px)}@media screen and (max-width:479px){._lcSlA{height:100vh}}@media screen and (min-width:1632px){._lcSlA{height:calc(100vh - 32px)}}._lNxPg{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}._nXcSW{padding-right:64px}._H9Npd{position:absolute;top:14px;right:14px}._6SEnj{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._6SEnj,._vlHoJ{padding:20px 24px}._vlHoJ{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._vlHoJ>*{margin:0 4px}._vlHoJ>:first-child{margin-left:0}._vlHoJ>:last-child{margin-right:0}@keyframes _p35Xe{0%{opacity:0}}._p35Xe{animation:_p35Xe ease-in both;animation-duration:.2s}@keyframes _-L4us{to{opacity:0}}._-L4us{animation:_-L4us ease-out both;animation-duration:.2s}@keyframes _Fqouq{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Fqouq{animation:_Fqouq both;animation-duration:.2s}@keyframes _vve8M{to{transform:scale3d(.7,.7,.7);opacity:0}}._vve8M{animation:_vve8M both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"backdrop":"_ybmls","modal":"_vvieR","responsive":"_4LmzX","dialogSmall":"_12EtH","dialogMedium":"_O8oYp","dialogLarge":"_-Sfvs","dialogExtraLarge":"_9NcLI","growToMaxHeight":"_lcSlA","modalHeader":"_lNxPg","modalHeaderWithCloseButton":"_nXcSW","modalHeaderCloseButton":"_H9Npd","modalBody":"_6SEnj","modalFooter":"_vlHoJ","fadeEnter":"_p35Xe","fadeLeave":"_-L4us","zoomEnter":"_Fqouq","zoomLeave":"_vve8M"};
|
|
5
|
+
var stylesheet="._ybmls{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._vvieR,._ybmls{display:flex;overflow:auto}._vvieR{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(._4LmzX)._12EtH{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._12EtH{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._4LmzX)._O8oYp{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._O8oYp{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._4LmzX)._O8oYp{max-width:700px}}:not(._4LmzX)._-Sfvs{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._-Sfvs{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._4LmzX)._-Sfvs{max-width:700px}}@media screen and (min-width:1024px){:not(._4LmzX)._-Sfvs{max-width:1000px}}:not(._4LmzX)._9NcLI{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._4LmzX)._9NcLI{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._4LmzX)._9NcLI{max-width:700px}}@media screen and (min-width:1024px){:not(._4LmzX)._9NcLI{max-width:1000px}}@media screen and (min-width:1632px){:not(._4LmzX)._9NcLI{max-width:1600px;max-height:calc(100vh - 32px)}}._4LmzX{min-width:200px;width:calc(100% - 48px)}._4LmzX,._4LmzX._12EtH{max-height:calc(100vh - 80px)}._4LmzX._12EtH{max-width:480px;border-radius:8px}._4LmzX._O8oYp{max-width:700px}._4LmzX._-Sfvs{max-width:1000px}._4LmzX._9NcLI{max-width:1600px;max-height:calc(100vh - 32px)}._lcSlA{height:calc(100vh - 80px)}@media screen and (max-width:479px){._lcSlA{height:100vh}}@media screen and (min-width:1632px){._lcSlA{height:calc(100vh - 32px)}}._lNxPg{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}._nXcSW{padding-right:64px}._H9Npd{position:absolute;top:14px;right:14px}._6SEnj{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._6SEnj,._vlHoJ{padding:20px 24px}._vlHoJ{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._vlHoJ>*{margin:0 4px}._vlHoJ>:first-child{margin-left:0}._vlHoJ>:last-child{margin-right:0}@keyframes _p35Xe{0%{opacity:0}}._p35Xe{animation:_p35Xe ease-in both;animation-duration:.2s}@keyframes _-L4us{to{opacity:0}}._-L4us{animation:_-L4us ease-out both;animation-duration:.2s}@keyframes _Fqouq{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Fqouq{animation:_Fqouq both;animation-duration:.2s}@keyframes _vve8M{to{transform:scale3d(.7,.7,.7);opacity:0}}._vve8M{animation:_vve8M 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 = {"menuBtn":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._SVPqA._SVPqA{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}._SVPqA._SVPqA,._SVPqA._SVPqA ._LlDd8{display:inline-flex;align-items:center}._SVPqA._SVPqA ._LlDd8{overflow:hidden;text-overflow:ellipsis}._SVPqA._SVPqA._bgf3e{min-height:26px;height:26px}._SVPqA._SVPqA._i4lj8{color:#32363a}._SVPqA._SVPqA:hover:not([aria-disabled=true]){background-color:#f5f5f5}._SVPqA._SVPqA:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._SVPqA._SVPqA[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._SVPqA._SVPqA[aria-disabled=true]>svg{fill:#515559;opacity:.4}._SVPqA._SVPqA[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._SVPqA._SVPqA._mEG6Q{padding-left:0}._SVPqA._SVPqA._AvPIT{margin-top:4px}._SVPqA._SVPqA ._c5Si1{fill:#515559}._SVPqA._SVPqA ._c5Si1._bgf3e{top:0}._SVPqA._SVPqA ._c5Si1._DO9Oy{transform:rotate(-180deg)}._89zKk{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}._89zKk::-webkit-scrollbar,._89zKk::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._89zKk::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._89zKk::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._89zKk:hover::-webkit-scrollbar,._89zKk:hover::-webkit-scrollbar-thumb,._89zKk[focus-within]::-webkit-scrollbar,._89zKk[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._89zKk:focus-within::-webkit-scrollbar,._89zKk:focus-within::-webkit-scrollbar-thumb,._89zKk:hover::-webkit-scrollbar,._89zKk:hover::-webkit-scrollbar-thumb{visibility:visible}._fxd8W{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._fxd8W[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._fxd8W._K4zBy{background-color:#efefef}._fxd8W._BXfpj{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._fxd8W._i4lj8{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._fxd8W._i4lj8._K4zBy{background-color:#e4effa}._fxd8W._j5bA4{cursor:default}._fxd8W:active:not(._ExdSR):not(._i4lj8):not([aria-disabled=true]):not(._j5bA4){background-color:#e8e9e9}._ExdSR{padding-right:32px}._ExdSR ._c5Si1{position:absolute;top:8px;right:3px;fill:#515559}._A2j-i{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:sticky;top:0;z-index:20;background-color:#fff}._DeOQv{position:absolute;top:13px;left:13px}._eFcTI._eFcTI{padding-left:32px}._gweEK{margin:2px 12px 2px 0;flex-shrink:0}._gweEK._SPmYR>svg{border-color:#0b6ed0}._M0-vM{display:flex;justify-self:center;margin:8px}";
|
|
4
|
+
var styles = {"menuBtn":"_SVPqA","menuBtnLabel":"_LlDd8","small":"_bgf3e","selected":"_i4lj8","unlabelledButton":"_mEG6Q","formLabelled":"_AvPIT","rightIcon":"_c5Si1","open":"_DO9Oy","contentPane":"_89zKk","menuItem":"_fxd8W","active":"_K4zBy","focus":"_BXfpj","noMenuItems":"_j5bA4","subMenu":"_ExdSR","searchBox":"_A2j-i","searchBoxIcon":"_DeOQv","searchBoxInput":"_eFcTI","checkbox":"_gweEK","highlighted":"_SPmYR","menuSpinner":"_M0-vM"};
|
|
5
|
+
var stylesheet="._SVPqA._SVPqA{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}._SVPqA._SVPqA,._SVPqA._SVPqA ._LlDd8{display:inline-flex;align-items:center}._SVPqA._SVPqA ._LlDd8{overflow:hidden;text-overflow:ellipsis}._SVPqA._SVPqA._bgf3e{min-height:26px;height:26px}._SVPqA._SVPqA._i4lj8{color:#32363a}._SVPqA._SVPqA:hover:not([aria-disabled=true]){background-color:#f5f5f5}._SVPqA._SVPqA:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._SVPqA._SVPqA[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._SVPqA._SVPqA[aria-disabled=true]>svg{fill:#515559;opacity:.4}._SVPqA._SVPqA[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._SVPqA._SVPqA._mEG6Q{padding-left:0}._SVPqA._SVPqA._AvPIT{margin-top:4px}._SVPqA._SVPqA ._c5Si1{fill:#515559}._SVPqA._SVPqA ._c5Si1._bgf3e{top:0}._SVPqA._SVPqA ._c5Si1._DO9Oy{transform:rotate(-180deg)}._89zKk{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}._89zKk::-webkit-scrollbar,._89zKk::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._89zKk::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._89zKk::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._89zKk:hover::-webkit-scrollbar,._89zKk:hover::-webkit-scrollbar-thumb,._89zKk[focus-within]::-webkit-scrollbar,._89zKk[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._89zKk:focus-within::-webkit-scrollbar,._89zKk:focus-within::-webkit-scrollbar-thumb,._89zKk:hover::-webkit-scrollbar,._89zKk:hover::-webkit-scrollbar-thumb{visibility:visible}._fxd8W{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._fxd8W[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._fxd8W._K4zBy{background-color:#efefef}._fxd8W._BXfpj{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._fxd8W._i4lj8{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._fxd8W._i4lj8._K4zBy{background-color:#e4effa}._fxd8W._j5bA4{cursor:default}._fxd8W:active:not(._ExdSR):not(._i4lj8):not([aria-disabled=true]):not(._j5bA4){background-color:#e8e9e9}._ExdSR{padding-right:32px}._ExdSR ._c5Si1{position:absolute;top:8px;right:3px;fill:#515559}._A2j-i{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:sticky;top:0;z-index:20;background-color:#fff}._DeOQv{position:absolute;top:13px;left:13px}._eFcTI._eFcTI{padding-left:32px}._gweEK{margin:2px 12px 2px 0;flex-shrink:0}._gweEK._SPmYR>svg{border-color:#0b6ed0}._M0-vM{display:flex;justify-self:center;margin:8px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import React__default, { useRef,
|
|
2
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
3
|
+
import { useFocusVisible } from '@react-aria/interactions';
|
|
3
4
|
import '../../../../utils/index.js';
|
|
4
5
|
import MenuSearchBox from '../MenuSearchBox.js';
|
|
5
6
|
import '../../../../hooks/index.js';
|
|
6
7
|
import mergeRefs from '../../../../utils/mergeRefs/mergeRefs.js';
|
|
7
8
|
import useId from '../../../../hooks/useId/useId.js';
|
|
8
9
|
import wrapEvent from '../../../../utils/wrapEvent/wrapEvent.js';
|
|
9
|
-
import useLatest from '../../../../hooks/useLatest/useLatest.js';
|
|
10
10
|
import { SUBMENU_POPPER_OFFSET, FLYOUT_POPPER_OFFSET } from '../../../../utils/constants.js';
|
|
11
11
|
|
|
12
12
|
function useChildrenRefs(children, getAdditionalProps, isNavItem, searchable) {
|
|
@@ -52,17 +52,19 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
52
52
|
'aria-labelledby': ariaLabelledBy,
|
|
53
53
|
...rest
|
|
54
54
|
} = _ref;
|
|
55
|
-
const [isKeyboardUser, setIsKeyboardUser] = useState(false);
|
|
56
55
|
const containerRef = useRef(null);
|
|
57
56
|
const menuId = useId();
|
|
57
|
+
const {
|
|
58
|
+
isFocusVisible
|
|
59
|
+
} = useFocusVisible({
|
|
60
|
+
isTextInput: true
|
|
61
|
+
});
|
|
58
62
|
const [refs, allChildren] = useChildrenRefs(children, (child, index) => ({
|
|
59
63
|
tabIndex: -1,
|
|
60
64
|
onMouseEnter: wrapEvent(child.props.onMouseEnter, () => {
|
|
61
|
-
setIsKeyboardUser(false);
|
|
62
65
|
onHighlightedIndexChange(index);
|
|
63
66
|
})
|
|
64
67
|
}), isNavItem, searchable);
|
|
65
|
-
const isKeyboardUserRef = useLatest(isKeyboardUser);
|
|
66
68
|
|
|
67
69
|
// Update the focused menu item when the highlighted index changes
|
|
68
70
|
useEffect(() => {
|
|
@@ -71,7 +73,7 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
71
73
|
// Scroll the item into view when navigating with a keyboard
|
|
72
74
|
const element = refs.current[highlightedIndex];
|
|
73
75
|
const searchInputSize = searchable ? 53 : 0;
|
|
74
|
-
if (
|
|
76
|
+
if (containerRef.current && isFocusVisible) {
|
|
75
77
|
const scrollBottom = containerRef.current.clientHeight + containerRef.current.scrollTop;
|
|
76
78
|
const elementBottom = element.offsetTop + element.offsetHeight;
|
|
77
79
|
if (elementBottom > scrollBottom) {
|
|
@@ -95,10 +97,9 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
95
97
|
}
|
|
96
98
|
}, [highlightedIndex, refs, searchable, allChildren.length,
|
|
97
99
|
// Needed to prevent QuickSearch from losing focus in some cases when items are loaded asynchronously while the user is navigating
|
|
98
|
-
isPopperReady,
|
|
100
|
+
isPopperReady, searchBoxRef, anchorRef]);
|
|
99
101
|
const numChildren = refs.current.length;
|
|
100
102
|
const handleKeyDown = e => {
|
|
101
|
-
setIsKeyboardUser(true);
|
|
102
103
|
if (e.key === 'ArrowDown') {
|
|
103
104
|
e.preventDefault(); // prevent scroll
|
|
104
105
|
if (highlightedIndex !== -1) {
|