@qualtrics/ui-react 2.75.0 → 2.76.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 +9 -0
- package/dist/__node_modules/@radix-ui/primitive/dist/index.js +54 -0
- package/dist/__node_modules/@radix-ui/react-arrow/dist/index.js +28 -0
- package/dist/__node_modules/@radix-ui/react-collection/dist/index.js +605 -0
- package/dist/__node_modules/@radix-ui/react-compose-refs/dist/index.js +45 -0
- package/dist/__node_modules/@radix-ui/react-context/dist/index.js +108 -0
- package/dist/__node_modules/@radix-ui/react-direction/dist/index.js +21 -0
- package/dist/__node_modules/@radix-ui/react-dismissable-layer/dist/index.js +223 -0
- package/dist/__node_modules/@radix-ui/react-dropdown-menu/dist/index.js +350 -0
- package/dist/__node_modules/@radix-ui/react-focus-guards/dist/index.js +35 -0
- package/dist/__node_modules/@radix-ui/react-focus-scope/dist/index.js +248 -0
- package/dist/__node_modules/@radix-ui/react-id/dist/index.js +15 -0
- package/dist/__node_modules/@radix-ui/react-menu/dist/index.js +911 -0
- package/dist/__node_modules/@radix-ui/react-popper/dist/index.js +325 -0
- package/dist/__node_modules/@radix-ui/react-portal/dist/index.js +25 -0
- package/dist/__node_modules/@radix-ui/react-presence/dist/index.js +141 -0
- package/dist/__node_modules/@radix-ui/react-primitive/dist/index.js +34 -0
- package/dist/__node_modules/@radix-ui/react-roving-focus/dist/index.js +216 -0
- package/dist/__node_modules/@radix-ui/react-slot/dist/index.js +127 -0
- package/dist/__node_modules/@radix-ui/react-use-callback-ref/dist/index.js +18 -0
- package/dist/__node_modules/@radix-ui/react-use-controllable-state/dist/index.js +141 -0
- package/dist/__node_modules/@radix-ui/react-use-effect-event/dist/index.js +32 -0
- package/dist/__node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +23 -0
- package/dist/__node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/__node_modules/@radix-ui/react-use-size/dist/index.js +48 -0
- package/dist/__node_modules/aria-hidden/dist/es2015/index.js +169 -0
- package/dist/__node_modules/detect-node-es/esm/node.js +4 -0
- package/dist/__node_modules/get-nonce/dist/es2015/index.js +15 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/Combination.js +9 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/SideEffect.js +169 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +21 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/index.js +1 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
- package/dist/__node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
- package/dist/__node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
- package/dist/__node_modules/react-remove-scroll-bar/dist/es2015/constants.js +10 -0
- package/dist/__node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
- package/dist/__node_modules/react-remove-scroll-bar/dist/es2015/utils.js +31 -0
- package/dist/__node_modules/react-style-singleton/dist/es2015/component.js +19 -0
- package/dist/__node_modules/react-style-singleton/dist/es2015/hook.js +25 -0
- package/dist/__node_modules/react-style-singleton/dist/es2015/index.js +3 -0
- package/dist/__node_modules/react-style-singleton/dist/es2015/singleton.js +51 -0
- package/dist/__node_modules/tslib/tslib.es6.js +403 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/assignRef.js +24 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/createRef.js +25 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/index.js +8 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/mergeRef.js +21 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/refToCallback.js +50 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/transformRef.js +17 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/useMergeRef.js +48 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
- package/dist/__node_modules/use-callback-ref/dist/es2015/useTransformRef.js +21 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/config.js +8 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/env.js +8 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/exports.js +21 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/hoc.js +18 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/hook.js +44 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/index.js +6 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/medium.js +81 -0
- package/dist/__node_modules/use-sidecar/dist/es2015/renderProp.js +38 -0
- package/dist/__shared/cjs/{index-9f6415a6.js → index-87207072.js} +422 -371
- package/dist/__shared/cjs/{index-98bc748b.js → index-b569963c.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/BreakpointSwitch/BreakpointSwitch.js +3 -2
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup.js +3 -2
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker.js +7 -8
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +9 -8
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/Combobox/ComboboxList.js +5 -6
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +10 -9
- package/dist/components/Dropdown/DropdownList.js +6 -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/ConditionSet.js +2 -2
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +4 -2
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +31 -25
- package/dist/components/NewMenu/Menu/Menu.js +1 -0
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/SelectMenu/SelectMenu.js +3 -1
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +10 -4
- package/dist/components/NewMenu/parts/MenuItem.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/Popover.js +8 -14
- 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/TabList.js +3 -2
- package/dist/components/Tabs/TabPanels.js +2 -1
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +6 -12
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker.js +5 -6
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/design-tokens/less/typography.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/usePrevious/usePrevious.js +1 -1
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +2 -2
- 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 +18 -17
- package/dist/index.es.js +1 -1
- package/dist/index.js +4 -5
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxFlyout.js +6 -6
- package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +1 -1
- package/dist/next/Combobox/hooks/useComboboxLoadingState/useComboboxLoadingState.js +1 -1
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Indicator/Indicator2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/next/Menu/Hooks/usePaneSearch.js +1 -1
- package/dist/next/Menu/Menu.js +2 -2
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +1 -1
- package/dist/next/Menu/MenuItem.js +2 -2
- package/dist/next/Menu/MenuPane.js +4 -3
- package/dist/next/Menu/SubMenu.js +8 -6
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +90 -41
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimeDropdown.js +5 -6
- package/dist/next/TimePicker/TimeInput.js +104 -37
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +15 -13
- package/dist/next/index.js +5601 -324
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/GridChildrenWrapper/GridChildrenWrapper.js +2 -1
- package/dist/utils/Popper/Popper.js +162 -114
- package/dist/utils/Portal/Portal.js +3 -2
- package/dist/utils/Text/Text.js +3 -2
- package/dist/utils/filterChildren/filterChildren.js +3 -2
- package/dist/utils/index.js +1 -0
- package/icons/package.json +3 -4
- package/next/package.json +4 -5
- package/package.json +15 -16
|
@@ -10,6 +10,7 @@ import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
|
10
10
|
import useScreenReaderAnnouncement from '../../hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js';
|
|
11
11
|
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
12
12
|
import Popper from '../../utils/Popper/Popper.js';
|
|
13
|
+
import { offset } from '@floating-ui/react-dom';
|
|
13
14
|
import { Flyout } from '../../utils/Flyout/Flyout.js';
|
|
14
15
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
15
16
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
@@ -21,7 +22,7 @@ const DropdownList = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
21
22
|
placement = 'bottom-start',
|
|
22
23
|
onKeyDown,
|
|
23
24
|
portalTarget,
|
|
24
|
-
private_offset:
|
|
25
|
+
private_offset: popperOffset = FLYOUT_POPPER_OFFSET,
|
|
25
26
|
// TODO: Delete or stabilize since no longer used by AdvancedTable
|
|
26
27
|
style = {},
|
|
27
28
|
'aria-label': externalAriaLabel,
|
|
@@ -66,12 +67,10 @@ const DropdownList = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
66
67
|
placement: placement,
|
|
67
68
|
anchorNode: buttonRef.current,
|
|
68
69
|
portalTarget: portalTarget,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
}],
|
|
70
|
+
middleware: [offset({
|
|
71
|
+
crossAxis: popperOffset[0],
|
|
72
|
+
mainAxis: popperOffset[1]
|
|
73
|
+
})],
|
|
75
74
|
popper: /*#__PURE__*/React__default.createElement(Flyout, _extends({}, rest, {
|
|
76
75
|
ref: mergeRefs(ref, listRef),
|
|
77
76
|
anchorRef: buttonRef,
|
|
@@ -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 = "._G-XAp{position:relative}._G-XAp[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._G-XAp:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DXbhh{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._YjAN-{margin-left:16px;font-size:14px;color:#32363a}._YjAN- ._A-dWc{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_G-XAp","fileInput":"_DXbhh","fileDetails":"_YjAN-","fileName":"_A-dWc"};
|
|
5
|
+
var stylesheet="._G-XAp{position:relative}._G-XAp[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._G-XAp:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DXbhh{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._YjAN-{margin-left:16px;font-size:14px;color:#32363a}._YjAN- ._A-dWc{margin-right:16px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._ef6zR{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._O7UFj{color:#6a6d70;fill:#6a6d70}._IqtKl{color:#b00;fill:#b00}._QNPAd,._s70RM{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_ef6zR","helperText":"_O7UFj","errorText":"_IqtKl","errorIcon":"_QNPAd","readOnlyIcon":"_s70RM"};
|
|
5
|
+
var stylesheet="._ef6zR{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._O7UFj{color:#6a6d70;fill:#6a6d70}._IqtKl{color:#b00;fill:#b00}._QNPAd,._s70RM{margin-left:-2px;margin-right:3px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._Oa1e-{display:flex;flex-direction:column;align-items:flex-start}._TuSSB{margin-top:6px;max-width:100%}._TuSSB *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_Oa1e-","captionContainer":"_TuSSB"};
|
|
5
|
+
var stylesheet="._Oa1e-{display:flex;flex-direction:column;align-items:flex-start}._TuSSB{margin-top:6px;max-width:100%}._TuSSB *+*{margin-top:4px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._q-Ruz{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _UtHF5{0%{transform:scale3d(.7,.7,.7);opacity:0}}._LCXYS{animation:_UtHF5 both;animation-duration:.2s}@keyframes _hifTf{to{transform:scale3d(.7,.7,.7);opacity:0}}._Zqo9-{animation:_hifTf both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"dialog":"_q-Ruz","transitionIn":"_LCXYS","showAnimation":"_UtHF5","transitionOut":"_Zqo9-","hideAnimation":"_hifTf"};
|
|
5
|
+
var stylesheet="._q-Ruz{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _UtHF5{0%{transform:scale3d(.7,.7,.7);opacity:0}}._LCXYS{animation:_UtHF5 both;animation-duration:.2s}@keyframes _hifTf{to{transform:scale3d(.7,.7,.7);opacity:0}}._Zqo9-{animation:_hifTf both;animation-duration:.2s}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 iconButtonStyles = {"button":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._RYv3I{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}._RYv3I:focus{outline:none}._RYv3I:hover:not(._bJWMZ){background-color:rgba(50,54,58,.08)}._RYv3I._9ddYW:not(._bJWMZ),._RYv3I:active:not(._bJWMZ){background-color:rgba(50,54,58,.11);stroke-width:2}._RYv3I._bJWMZ{cursor:not-allowed;fill:rgba(81,85,89,.6)}._RYv3I.focus-visible,._RYv3I:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var iconButtonStyles = {"button":"_RYv3I","disabled":"_bJWMZ","active":"_9ddYW"};
|
|
5
|
+
var stylesheet="._RYv3I{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}._RYv3I:focus{outline:none}._RYv3I:hover:not(._bJWMZ){background-color:rgba(50,54,58,.08)}._RYv3I._9ddYW:not(._bJWMZ),._RYv3I:active:not(._bJWMZ){background-color:rgba(50,54,58,.11);stroke-width:2}._RYv3I._bJWMZ{cursor:not-allowed;fill:rgba(81,85,89,.6)}._RYv3I.focus-visible,._RYv3I:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { iconButtonStyles 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 = "._TiIr-{display:inline-block}._PhiwL{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}._PhiwL::-moz-selection{background-color:rgba(11,110,208,.11)}._PhiwL::selection{background-color:rgba(11,110,208,.11)}._PhiwL:focus,._PhiwL:hover{background-color:#f5f5f5}._PhiwL:focus{border:2px solid #0a3f88;padding:3px}._PhiwL:focus._Yujl-{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":"_TiIr-","inlineInput":"_PhiwL","isEditing":"_Yujl-"};
|
|
5
|
+
var stylesheet="._TiIr-{display:inline-block}._PhiwL{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}._PhiwL::-moz-selection{background-color:rgba(11,110,208,.11)}._PhiwL::selection{background-color:rgba(11,110,208,.11)}._PhiwL:focus,._PhiwL:hover{background-color:#f5f5f5}._PhiwL:focus{border:2px solid #0a3f88;padding:3px}._PhiwL:focus._Yujl-{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
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._66QSP{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}._66QSP::-moz-placeholder{color:#515559;opacity:1}._66QSP::placeholder{color:#515559;opacity:1}._66QSP:hover{cursor:pointer;background-color:#f5f5f5}._66QSP:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._66QSP._9h-Ln{border-color:#b00}._66QSP._9h-Ln:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._66QSP:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._66QSP:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._66QSP:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._66QSP._yHZIL{height:auto}._66QSP._yHZIL::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._66QSP._2tTXx{display:block;width:100%}._66QSP._dr77N{padding:4px 8px}input._66QSP._dr77N{height:26px;min-height:26px}[type=number]._66QSP{-moz-appearance:textfield}[type=number]._66QSP::-webkit-inner-spin-button,[type=number]._66QSP::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._LYxSf{line-height:20px;color:#515559;display:flex;flex-direction:column;align-items:flex-start}._LYxSf:hover{cursor:pointer}._LYxSf._lbogJ{color:#0b6ed0}._RtrRC{margin-top:4px}";
|
|
4
|
+
var styles = {"input":"_66QSP","invalid":"_9h-Ln","multiline":"_yHZIL","full":"_2tTXx","small":"_dr77N","label":"_LYxSf","focused":"_lbogJ","wrappedInput":"_RtrRC"};
|
|
5
|
+
var stylesheet="._66QSP{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}._66QSP::-moz-placeholder{color:#515559;opacity:1}._66QSP::placeholder{color:#515559;opacity:1}._66QSP:hover{cursor:pointer;background-color:#f5f5f5}._66QSP:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._66QSP._9h-Ln{border-color:#b00}._66QSP._9h-Ln:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._66QSP:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._66QSP:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._66QSP:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._66QSP._yHZIL{height:auto}._66QSP._yHZIL::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._66QSP._2tTXx{display:block;width:100%}._66QSP._dr77N{padding:4px 8px}input._66QSP._dr77N{height:26px;min-height:26px}[type=number]._66QSP{-moz-appearance:textfield}[type=number]._66QSP::-webkit-inner-spin-button,[type=number]._66QSP::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._LYxSf{line-height:20px;color:#515559;display:flex;flex-direction:column;align-items:flex-start}._LYxSf:hover{cursor:pointer}._LYxSf._lbogJ{color:#0b6ed0}._RtrRC{margin-top:4px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._FOPyT{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}._FOPyT._hz4c5{height:26px;min-height:26px;padding:5px 8px}._xmSmy{display:flex;align-items:stretch}._xmSmy._jhxpb{width:100%}._xmSmy ._zKnYN{margin:0;position:relative;flex-shrink:0;z-index:10}._xmSmy ._zKnYN: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}._xmSmy ._zKnYN:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._xmSmy ._zKnYN:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._xmSmy ._zKnYN:last-child,._xmSmy ._zKnYN:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._xmSmy ._zKnYN:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._xmSmy ._zKnYN._VBdtj{flex-shrink:1;min-width:40px;z-index:0}._xmSmy ._zKnYN._VBdtj._jhxpb{flex-grow:1}._xmSmy ._zKnYN:focus{z-index:20}";
|
|
4
|
+
var styles = {"addon":"_FOPyT","small":"_hz4c5","inputGroup":"_xmSmy","full":"_jhxpb","inputGroupElement":"_zKnYN","input":"_VBdtj"};
|
|
5
|
+
var stylesheet="._FOPyT{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}._FOPyT._hz4c5{height:26px;min-height:26px;padding:5px 8px}._xmSmy{display:flex;align-items:stretch}._xmSmy._jhxpb{width:100%}._xmSmy ._zKnYN{margin:0;position:relative;flex-shrink:0;z-index:10}._xmSmy ._zKnYN: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}._xmSmy ._zKnYN:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._xmSmy ._zKnYN:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._xmSmy ._zKnYN:last-child,._xmSmy ._zKnYN:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._xmSmy ._zKnYN:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._xmSmy ._zKnYN._VBdtj{flex-shrink:1;min-width:40px;z-index:0}._xmSmy ._zKnYN._VBdtj._jhxpb{flex-grow:1}._xmSmy ._zKnYN:focus{z-index:20}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._1mCJd{font-size:14px}._OAqhB{color:#515559;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._HXpgk{color:#0b6ed0}";
|
|
4
|
+
var styles = {"label":"_1mCJd","control":"_OAqhB","focused":"_HXpgk"};
|
|
5
|
+
var stylesheet="._1mCJd{font-size:14px}._OAqhB{color:#515559;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._HXpgk{color:#0b6ed0}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._Ew8d3{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}._Ew8d3:active:focus,._Ew8d3:focus{outline:none}._Ew8d3:visited{color:#0854a1}._Ew8d3:hover{color:#085caf}._Ew8d3:active{color:#0854a1}._Ew8d3.focus-visible,._Ew8d3:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"link":"_Ew8d3"};
|
|
5
|
+
var stylesheet="._Ew8d3{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}._Ew8d3:active:focus,._Ew8d3:focus{outline:none}._Ew8d3:visited{color:#0854a1}._Ew8d3:hover{color:#085caf}._Ew8d3:active{color:#0854a1}._Ew8d3.focus-visible,._Ew8d3:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){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 = "._0g2JX{position:relative;display:inline-block}._0g2JX._3uPus{min-height:20px;min-width:20px}._0g2JX._cH-5H{min-height:25px;min-width:25px}._0g2JX._gJccO{min-height:40px;min-width:40px}._0g2JX._fQlQv{min-height:64px;min-width:64px}._0g2JX ._5FDr2{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._0g2JX ._5FDr2._Pi-9c{display:none}._0g2JX ._5FDr2 div{position:absolute;transform:rotate(20deg)}._0g2JX ._5FDr2 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_5FDr2 .9s linear infinite}._0g2JX ._5FDr2 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}._0g2JX ._5FDr2 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._0g2JX ._5FDr2 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._0g2JX ._5FDr2 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._0g2JX ._5FDr2 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._0g2JX ._5FDr2 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._0g2JX ._5FDr2 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._0g2JX ._5FDr2 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._0g2JX ._5FDr2 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._0g2JX ._5FDr2 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._0g2JX ._fQlQv div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._0g2JX ._3uPus div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._0g2JX ._cH-5H div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._0g2JX ._-7-yQ div div:nth-child(-n+9):after{background:#fff}._0g2JX ._KUvk1{width:100%;height:100%}._0g2JX ._KUvk1._z8lsc{pointer-events:none}._0g2JX ._KUvk1._Pi-9c{opacity:0}._0g2JX ._KUvk1._3Asdi{opacity:.5}@keyframes _5FDr2{0%{opacity:1}to{opacity:0}}";
|
|
4
|
+
var styles = {"spinnerContainer":"_0g2JX","xs":"_3uPus","small":"_cH-5H","medium":"_gJccO","large":"_fQlQv","spinnerComponent":"_5FDr2","hide":"_Pi-9c","inverted":"_-7-yQ","spinnerContent":"_KUvk1","disablePointerEvents":"_z8lsc","fade":"_3Asdi"};
|
|
5
|
+
var stylesheet="._0g2JX{position:relative;display:inline-block}._0g2JX._3uPus{min-height:20px;min-width:20px}._0g2JX._cH-5H{min-height:25px;min-width:25px}._0g2JX._gJccO{min-height:40px;min-width:40px}._0g2JX._fQlQv{min-height:64px;min-width:64px}._0g2JX ._5FDr2{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._0g2JX ._5FDr2._Pi-9c{display:none}._0g2JX ._5FDr2 div{position:absolute;transform:rotate(20deg)}._0g2JX ._5FDr2 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_5FDr2 .9s linear infinite}._0g2JX ._5FDr2 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}._0g2JX ._5FDr2 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._0g2JX ._5FDr2 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._0g2JX ._5FDr2 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._0g2JX ._5FDr2 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._0g2JX ._5FDr2 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._0g2JX ._5FDr2 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._0g2JX ._5FDr2 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._0g2JX ._5FDr2 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._0g2JX ._5FDr2 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._0g2JX ._fQlQv div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._0g2JX ._3uPus div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._0g2JX ._cH-5H div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._0g2JX ._-7-yQ div div:nth-child(-n+9):after{background:#fff}._0g2JX ._KUvk1{width:100%;height:100%}._0g2JX ._KUvk1._z8lsc{pointer-events:none}._0g2JX ._KUvk1._Pi-9c{opacity:0}._0g2JX ._KUvk1._3Asdi{opacity:.5}@keyframes _5FDr2{0%{opacity:1}to{opacity:0}}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -36,8 +36,8 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
36
36
|
index
|
|
37
37
|
}), [parent, index]);
|
|
38
38
|
const conditionRef = React__default.useRef(null);
|
|
39
|
-
const lastConnectionRef = React__default.useRef();
|
|
40
|
-
const lastItemRef = React__default.useRef();
|
|
39
|
+
const lastConnectionRef = React__default.useRef(null);
|
|
40
|
+
const lastItemRef = React__default.useRef(null);
|
|
41
41
|
function setupLastLine() {
|
|
42
42
|
if (lastConnectionRef.current && conditionRef.current && lastItemRef.current) {
|
|
43
43
|
let {
|
|
@@ -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 = "._bVbsy{width:100%}._Br3hx{display:flex;align-items:center}._Kl-UM{display:flex;flex-wrap:wrap;grid-gap:4px}._Kl-UM._G36-S>:nth-last-child(2){margin-right:42px;max-width:calc(100% - 42px)}._eWuEp{position:relative;padding-left:32px;padding-top:16px}._qOm0N ._eWuEp{padding-top:0;padding-left:16px}._qOm0N ._eWuEp+._eWuEp{margin-top:16px}._zXnXu{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}._qOm0N ._eWuEp:first-of-type ._zXnXu{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._qOm0N ._zXnXu{top:-16px;left:0}._qOm0N ._eWuEp:not(:first-of-type):not(:last-of-type) ._zXnXu{border-bottom-left-radius:0}._iZDQa{margin-left:-46px}._hhHgu{margin:0 2px 0 4px}._hhHgu.focus-visible,._hhHgu:focus-visible{outline-width:2px}._sEdDX{margin-left:4px}";
|
|
4
|
+
var styles = {"set":"_bVbsy","setWrapper":"_Br3hx","condition":"_Kl-UM","readOnly":"_G36-S","branch":"_eWuEp","fixedSet":"_qOm0N","connection":"_zXnXu","conditionControlsContainer":"_iZDQa","controls":"_hhHgu","controlMenuItem":"_sEdDX"};
|
|
5
|
+
var stylesheet="._bVbsy{width:100%}._Br3hx{display:flex;align-items:center}._Kl-UM{display:flex;flex-wrap:wrap;grid-gap:4px}._Kl-UM._G36-S>:nth-last-child(2){margin-right:42px;max-width:calc(100% - 42px)}._eWuEp{position:relative;padding-left:32px;padding-top:16px}._qOm0N ._eWuEp{padding-top:0;padding-left:16px}._qOm0N ._eWuEp+._eWuEp{margin-top:16px}._zXnXu{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}._qOm0N ._eWuEp:first-of-type ._zXnXu{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._qOm0N ._zXnXu{top:-16px;left:0}._qOm0N ._eWuEp:not(:first-of-type):not(:last-of-type) ._zXnXu{border-bottom-left-radius:0}._iZDQa{margin-left:-46px}._hhHgu{margin:0 2px 0 4px}._hhHgu.focus-visible,._hhHgu:focus-visible{outline-width:2px}._sEdDX{margin-left:4px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -39,7 +39,7 @@ const Overlay = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
|
39
39
|
const {
|
|
40
40
|
onClose
|
|
41
41
|
} = useModalContext();
|
|
42
|
-
const mouseDownTarget = React__default.useRef();
|
|
42
|
+
const mouseDownTarget = React__default.useRef(null);
|
|
43
43
|
const handleMouseDown = e => {
|
|
44
44
|
mouseDownTarget.current = e.target;
|
|
45
45
|
};
|
|
@@ -68,7 +68,9 @@ const Overlay = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
|
68
68
|
useEventListener(document.body, 'keydown', handleBodyKeyDown);
|
|
69
69
|
return /*#__PURE__*/React__default.createElement(ReactFocusLock, {
|
|
70
70
|
disabled: disabledFocusLock,
|
|
71
|
-
autoFocus: false
|
|
71
|
+
autoFocus: false
|
|
72
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
73
|
+
,
|
|
72
74
|
as: OverlayContainer,
|
|
73
75
|
className: classes,
|
|
74
76
|
ref: mergeRefs(ref, overlay)
|
|
@@ -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 = "._Ww1dL{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._-TUFR,._Ww1dL{display:flex;overflow:auto}._-TUFR{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(._6uizT)._0eO8k{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._0eO8k{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._6uizT)._d9eso{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._d9eso{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._6uizT)._d9eso{max-width:700px}}:not(._6uizT)._ICaLO{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._ICaLO{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._6uizT)._ICaLO{max-width:700px}}@media screen and (min-width:1024px){:not(._6uizT)._ICaLO{max-width:1000px}}:not(._6uizT)._3LmNZ{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._3LmNZ{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._6uizT)._3LmNZ{max-width:700px}}@media screen and (min-width:1024px){:not(._6uizT)._3LmNZ{max-width:1000px}}@media screen and (min-width:1632px){:not(._6uizT)._3LmNZ{max-width:1600px;max-height:calc(100vh - 32px)}}._6uizT{min-width:200px;width:calc(100% - 48px)}._6uizT,._6uizT._0eO8k{max-height:calc(100vh - 80px)}._6uizT._0eO8k{max-width:480px;border-radius:8px}._6uizT._d9eso{max-width:700px}._6uizT._ICaLO{max-width:1000px}._6uizT._3LmNZ{max-width:1600px;max-height:calc(100vh - 32px)}._H0H8r{height:calc(100vh - 80px)}@media screen and (max-width:479px){._H0H8r{height:100vh}}@media screen and (min-width:1632px){._H0H8r{height:calc(100vh - 32px)}}._3bsQs{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}._UzNG2{padding-right:64px}._xxQP8{position:absolute;top:14px;right:14px}._tEvEW{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._tEvEW,._Y2mn0{padding:20px 24px}._Y2mn0{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._Y2mn0>*{margin:0 4px}._Y2mn0>:first-child{margin-left:0}._Y2mn0>:last-child{margin-right:0}@keyframes _0FU0q{0%{opacity:0}}._0FU0q{animation:_0FU0q ease-in both;animation-duration:.2s}@keyframes _m-PpP{to{opacity:0}}._m-PpP{animation:_m-PpP ease-out both;animation-duration:.2s}@keyframes _XhsLF{0%{transform:scale3d(.7,.7,.7);opacity:0}}._XhsLF{animation:_XhsLF both;animation-duration:.2s}@keyframes _XNFTQ{to{transform:scale3d(.7,.7,.7);opacity:0}}._XNFTQ{animation:_XNFTQ both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"backdrop":"_Ww1dL","modal":"_-TUFR","responsive":"_6uizT","dialogSmall":"_0eO8k","dialogMedium":"_d9eso","dialogLarge":"_ICaLO","dialogExtraLarge":"_3LmNZ","growToMaxHeight":"_H0H8r","modalHeader":"_3bsQs","modalHeaderWithCloseButton":"_UzNG2","modalHeaderCloseButton":"_xxQP8","modalBody":"_tEvEW","modalFooter":"_Y2mn0","fadeEnter":"_0FU0q","fadeLeave":"_m-PpP","zoomEnter":"_XhsLF","zoomLeave":"_XNFTQ"};
|
|
5
|
+
var stylesheet="._Ww1dL{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._-TUFR,._Ww1dL{display:flex;overflow:auto}._-TUFR{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(._6uizT)._0eO8k{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._0eO8k{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._6uizT)._d9eso{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._d9eso{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._6uizT)._d9eso{max-width:700px}}:not(._6uizT)._ICaLO{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._ICaLO{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._6uizT)._ICaLO{max-width:700px}}@media screen and (min-width:1024px){:not(._6uizT)._ICaLO{max-width:1000px}}:not(._6uizT)._3LmNZ{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._6uizT)._3LmNZ{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._6uizT)._3LmNZ{max-width:700px}}@media screen and (min-width:1024px){:not(._6uizT)._3LmNZ{max-width:1000px}}@media screen and (min-width:1632px){:not(._6uizT)._3LmNZ{max-width:1600px;max-height:calc(100vh - 32px)}}._6uizT{min-width:200px;width:calc(100% - 48px)}._6uizT,._6uizT._0eO8k{max-height:calc(100vh - 80px)}._6uizT._0eO8k{max-width:480px;border-radius:8px}._6uizT._d9eso{max-width:700px}._6uizT._ICaLO{max-width:1000px}._6uizT._3LmNZ{max-width:1600px;max-height:calc(100vh - 32px)}._H0H8r{height:calc(100vh - 80px)}@media screen and (max-width:479px){._H0H8r{height:100vh}}@media screen and (min-width:1632px){._H0H8r{height:calc(100vh - 32px)}}._3bsQs{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}._UzNG2{padding-right:64px}._xxQP8{position:absolute;top:14px;right:14px}._tEvEW{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._tEvEW,._Y2mn0{padding:20px 24px}._Y2mn0{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._Y2mn0>*{margin:0 4px}._Y2mn0>:first-child{margin-left:0}._Y2mn0>:last-child{margin-right:0}@keyframes _0FU0q{0%{opacity:0}}._0FU0q{animation:_0FU0q ease-in both;animation-duration:.2s}@keyframes _m-PpP{to{opacity:0}}._m-PpP{animation:_m-PpP ease-out both;animation-duration:.2s}@keyframes _XhsLF{0%{transform:scale3d(.7,.7,.7);opacity:0}}._XhsLF{animation:_XhsLF both;animation-duration:.2s}@keyframes _XNFTQ{to{transform:scale3d(.7,.7,.7);opacity:0}}._XNFTQ{animation:_XNFTQ both;animation-duration:.2s}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -21,11 +21,12 @@ import MenuAnchor from './parts/MenuAnchor.js';
|
|
|
21
21
|
import MenuSpinner from './parts/MenuSpinner.js';
|
|
22
22
|
import MenuSearchBox from './parts/MenuSearchBox.js';
|
|
23
23
|
import Popper from '../../utils/Popper/Popper.js';
|
|
24
|
+
import { offset } from '@floating-ui/react-dom';
|
|
24
25
|
import { SUBMENU_POPPER_OFFSET, FLYOUT_POPPER_OFFSET } from '../../utils/constants.js';
|
|
25
26
|
import ArrowNav from './parts/ArrowNav/ArrowNav.js';
|
|
26
27
|
|
|
27
28
|
const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
28
|
-
var
|
|
29
|
+
var _anchorProps$id, _useMenuContext, _anchorProps$ariaLab, _anchorProps$ariaLab2, _anchorProps$tabIndex, _anchorProps$role, _anchorProps$ariaDis, _anchorRef$current;
|
|
29
30
|
let {
|
|
30
31
|
anchor: externalAnchor,
|
|
31
32
|
'aria-label': externalAriaLabel,
|
|
@@ -67,7 +68,8 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
67
68
|
private_isFirstElementHighlightedOnUserActivatedOpen = true,
|
|
68
69
|
...rest
|
|
69
70
|
} = _ref;
|
|
70
|
-
const
|
|
71
|
+
const anchorProps = externalAnchor === null || externalAnchor === void 0 ? void 0 : externalAnchor.props;
|
|
72
|
+
const anchorId = useId((_anchorProps$id = anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps.id) !== null && _anchorProps$id !== void 0 ? _anchorProps$id : externalId);
|
|
71
73
|
const arrowNavId = "".concat(anchorId, "-menu");
|
|
72
74
|
const parentCloseAndFocusAnchor = (_useMenuContext = useMenuContext()) === null || _useMenuContext === void 0 ? void 0 : _useMenuContext.closeAndFocusAnchor;
|
|
73
75
|
const isSubmenu = Boolean(parentCloseAndFocusAnchor);
|
|
@@ -228,23 +230,23 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
228
230
|
const anchorLabel = label !== null && label !== void 0 ? label : getLabelFromValue(children, selectedValue);
|
|
229
231
|
const menuAnchorLabel = anchorLabel !== null && anchorLabel !== void 0 ? anchorLabel : defaultLabel;
|
|
230
232
|
const announceToScreenReader = useScreenReaderAnnouncement('assertive');
|
|
231
|
-
const ariaLabelledBy = (
|
|
232
|
-
const ariaLabel = (
|
|
233
|
-
const ariaExpanded = (
|
|
233
|
+
const ariaLabelledBy = (_anchorProps$ariaLab = anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps['aria-labelledby']) !== null && _anchorProps$ariaLab !== void 0 ? _anchorProps$ariaLab : externalAriaLabelledBy ? selectable ? externalAriaLabelledBy : "".concat(externalAriaLabelledBy, " ").concat(anchorId) : undefined;
|
|
234
|
+
const ariaLabel = (_anchorProps$ariaLab2 = anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps['aria-label']) !== null && _anchorProps$ariaLab2 !== void 0 ? _anchorProps$ariaLab2 : externalAriaLabel && typeof menuAnchorLabel === 'string' ? "".concat(externalAriaLabel, " ").concat(menuAnchorLabel) : externalAriaLabel;
|
|
235
|
+
const ariaExpanded = (anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps['aria-expanded']) !== undefined ? anchorProps['aria-expanded'] : isOpen;
|
|
234
236
|
const actualAnchor = externalAnchor !== undefined ? (/*#__PURE__*/React__default.cloneElement(externalAnchor, {
|
|
235
237
|
ref: mergeRefs(ref, anchorRef, externalAnchor.ref),
|
|
236
|
-
tabIndex: (
|
|
237
|
-
role: (
|
|
238
|
+
tabIndex: (_anchorProps$tabIndex = anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps.tabIndex) !== null && _anchorProps$tabIndex !== void 0 ? _anchorProps$tabIndex : 0,
|
|
239
|
+
role: (_anchorProps$role = anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps.role) !== null && _anchorProps$role !== void 0 ? _anchorProps$role : 'button',
|
|
238
240
|
id: anchorId,
|
|
239
241
|
'aria-controls': arrowNavId,
|
|
240
242
|
'aria-expanded': ariaExpanded,
|
|
241
243
|
'aria-haspopup': 'menu',
|
|
242
|
-
'aria-disabled': (
|
|
244
|
+
'aria-disabled': (_anchorProps$ariaDis = anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps['aria-disabled']) !== null && _anchorProps$ariaDis !== void 0 ? _anchorProps$ariaDis : disabled,
|
|
243
245
|
'aria-labelledby': ariaLabelledBy,
|
|
244
246
|
'aria-label': ariaLabel,
|
|
245
247
|
onMouseDown: preventClickOutside,
|
|
246
|
-
onClick: wrapEvent(
|
|
247
|
-
onKeyDown: wrapEvent(
|
|
248
|
+
onClick: wrapEvent(anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps.onClick, handleAnchorClick),
|
|
249
|
+
onKeyDown: wrapEvent(anchorProps === null || anchorProps === void 0 ? void 0 : anchorProps.onKeyDown, handleAnchorKeyDown)
|
|
248
250
|
})) : isSubmenu ? /*#__PURE__*/React__default.createElement(SubmenuAnchor, _extends({
|
|
249
251
|
ref: mergeRefs(ref, anchorRef),
|
|
250
252
|
label: label,
|
|
@@ -275,7 +277,9 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
275
277
|
}));
|
|
276
278
|
const closeAndFocusAnchor = useCallback(() => {
|
|
277
279
|
closeMenu();
|
|
278
|
-
anchorRef.current && anchorRef.current.focus(
|
|
280
|
+
anchorRef.current && anchorRef.current.focus({
|
|
281
|
+
preventScroll: true
|
|
282
|
+
});
|
|
279
283
|
parentCloseAndFocusAnchor && parentCloseAndFocusAnchor();
|
|
280
284
|
}, [closeMenu, parentCloseAndFocusAnchor]);
|
|
281
285
|
const menuItems = unstable_isLoading ? [/*#__PURE__*/React__default.createElement(MenuSpinner, {
|
|
@@ -297,7 +301,7 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
297
301
|
announceToScreenReader(noMenuItemsToDisplayText);
|
|
298
302
|
}
|
|
299
303
|
}, [noResults, popperIsOpen, announceToScreenReader, noMenuItemsToDisplayText]);
|
|
300
|
-
const searchBoxRef = useRef();
|
|
304
|
+
const searchBoxRef = useRef(null);
|
|
301
305
|
const arrowNavRef = useRef(null);
|
|
302
306
|
const handleHighlightedIndexChange = useCallback(i => setHighlightedIndex(i), [setHighlightedIndex]);
|
|
303
307
|
const isNavItem = useCallback(child => (child === null || child === void 0 ? void 0 : child.type) === MenuItem || (child === null || child === void 0 ? void 0 : child.type) === MenuSearchBox || isType(child, menuType), [menuType]);
|
|
@@ -314,12 +318,10 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
314
318
|
placement: placement,
|
|
315
319
|
portalTarget: portalTarget,
|
|
316
320
|
anchor: actualAnchor,
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
}
|
|
322
|
-
}],
|
|
321
|
+
middleware: [offset({
|
|
322
|
+
crossAxis: isSubmenu ? SUBMENU_POPPER_OFFSET[0] : FLYOUT_POPPER_OFFSET[0],
|
|
323
|
+
mainAxis: isSubmenu ? SUBMENU_POPPER_OFFSET[1] : FLYOUT_POPPER_OFFSET[1]
|
|
324
|
+
})],
|
|
323
325
|
popper: /*#__PURE__*/React__default.createElement(ArrowNav, {
|
|
324
326
|
id: arrowNavId,
|
|
325
327
|
role: "menu",
|
|
@@ -359,7 +361,9 @@ const BaseMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
359
361
|
if ((_arrowNavRef$current = arrowNavRef.current) !== null && _arrowNavRef$current !== void 0 && _arrowNavRef$current.contains(e.target) && e.target !== searchBoxRef.current) {
|
|
360
362
|
var _anchorRef$current2;
|
|
361
363
|
setHighlightedIndex(-1);
|
|
362
|
-
(_anchorRef$current2 = anchorRef.current) === null || _anchorRef$current2 === void 0 || _anchorRef$current2.focus(
|
|
364
|
+
(_anchorRef$current2 = anchorRef.current) === null || _anchorRef$current2 === void 0 || _anchorRef$current2.focus({
|
|
365
|
+
preventScroll: true
|
|
366
|
+
});
|
|
363
367
|
}
|
|
364
368
|
}
|
|
365
369
|
},
|
|
@@ -404,13 +408,13 @@ function getDescendent(children, value) {
|
|
|
404
408
|
if (value === undefined) return null;
|
|
405
409
|
const childArray = React__default.Children.toArray(children);
|
|
406
410
|
for (let i = 0; i < childArray.length; i += 1) {
|
|
407
|
-
var _child$props3, _child$props4;
|
|
408
411
|
const child = childArray[i];
|
|
409
|
-
|
|
412
|
+
const childProps = child === null || child === void 0 ? void 0 : child.props;
|
|
413
|
+
if ((child === null || child === void 0 ? void 0 : child.type) === MenuItem && (childProps === null || childProps === void 0 ? void 0 : childProps.value) === value) {
|
|
410
414
|
return child;
|
|
411
415
|
}
|
|
412
|
-
if ((child === null || child === void 0 ? void 0 : child.type) !== MenuItem &&
|
|
413
|
-
const descendent = getDescendent(
|
|
416
|
+
if ((child === null || child === void 0 ? void 0 : child.type) !== MenuItem && childProps !== null && childProps !== void 0 && childProps.children) {
|
|
417
|
+
const descendent = getDescendent(childProps.children, value);
|
|
414
418
|
if (descendent) {
|
|
415
419
|
return descendent;
|
|
416
420
|
}
|
|
@@ -419,8 +423,10 @@ function getDescendent(children, value) {
|
|
|
419
423
|
return null;
|
|
420
424
|
}
|
|
421
425
|
function getLabel(menuOptionNode) {
|
|
422
|
-
|
|
423
|
-
|
|
426
|
+
if (/*#__PURE__*/isValidElement(menuOptionNode)) {
|
|
427
|
+
const nodeProps = menuOptionNode === null || menuOptionNode === void 0 ? void 0 : menuOptionNode.props;
|
|
428
|
+
return getLabel(nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps.children);
|
|
429
|
+
}
|
|
424
430
|
return menuOptionNode;
|
|
425
431
|
}
|
|
426
432
|
function union(arr1, arr2) {
|
|
@@ -15,6 +15,7 @@ const Menu = /*#__PURE__*/React__default.forwardRef(function Menu(_ref, ref) {
|
|
|
15
15
|
// Throw away since it's only part of SelectMenu
|
|
16
16
|
...rest
|
|
17
17
|
} = _ref;
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18
19
|
return /*#__PURE__*/React__default.createElement(BaseMenu, _extends({
|
|
19
20
|
ref: ref,
|
|
20
21
|
menuType: Menu
|
|
@@ -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 menuStyles = {"menuBtn":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._230WO._230WO{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}._230WO._230WO,._230WO._230WO ._zvM7r{display:inline-flex;align-items:center}._230WO._230WO ._zvM7r{overflow:hidden;text-overflow:ellipsis}._230WO._230WO._Hczpi{min-height:26px;height:26px}._230WO._230WO._voyJg{color:#32363a}._230WO._230WO:hover:not([aria-disabled=true]){background-color:#f5f5f5}._230WO._230WO:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._230WO._230WO[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._230WO._230WO[aria-disabled=true]>svg{fill:#515559;opacity:.4}._230WO._230WO[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._230WO._230WO._hfUWL{padding-left:0}._230WO._230WO._7NCRL{margin-top:4px}._230WO._230WO ._wmCc-{fill:#515559}._230WO._230WO ._wmCc-._Hczpi{top:0}._230WO._230WO ._wmCc-._sGxF3{transform:rotate(-180deg)}._1Yoo1{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}._1Yoo1::-webkit-scrollbar,._1Yoo1::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._1Yoo1::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._1Yoo1::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._1Yoo1:hover::-webkit-scrollbar,._1Yoo1:hover::-webkit-scrollbar-thumb,._1Yoo1[focus-within]::-webkit-scrollbar,._1Yoo1[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._1Yoo1:focus-within::-webkit-scrollbar,._1Yoo1:focus-within::-webkit-scrollbar-thumb,._1Yoo1:hover::-webkit-scrollbar,._1Yoo1:hover::-webkit-scrollbar-thumb{visibility:visible}._Nspxc{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._Nspxc[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._Nspxc._38krD{background-color:#efefef}._Nspxc._3I15H{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._Nspxc._voyJg{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._Nspxc._voyJg._38krD{background-color:#e4effa}._Nspxc._-H5Aj{cursor:default}._Nspxc:active:not(._RLYhn):not(._voyJg):not([aria-disabled=true]):not(._-H5Aj){background-color:#e8e9e9}._RLYhn{padding-right:32px}._RLYhn ._wmCc-{position:absolute;top:8px;right:3px;fill:#515559}._CJrbY{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}._xytsX{position:absolute;top:13px;left:13px}._mUXjv._mUXjv{padding-left:32px}._G0v7N{margin:2px 12px 2px 0;flex-shrink:0}._G0v7N._w491z>svg{border-color:#0b6ed0}._dQSNm{display:flex;justify-self:center;margin:8px}";
|
|
4
|
+
var menuStyles = {"menuBtn":"_230WO","menuBtnLabel":"_zvM7r","small":"_Hczpi","selected":"_voyJg","unlabelledButton":"_hfUWL","formLabelled":"_7NCRL","rightIcon":"_wmCc-","open":"_sGxF3","contentPane":"_1Yoo1","menuItem":"_Nspxc","active":"_38krD","focus":"_3I15H","noMenuItems":"_-H5Aj","subMenu":"_RLYhn","searchBox":"_CJrbY","searchBoxIcon":"_xytsX","searchBoxInput":"_mUXjv","checkbox":"_G0v7N","highlighted":"_w491z","menuSpinner":"_dQSNm"};
|
|
5
|
+
var stylesheet="._230WO._230WO{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}._230WO._230WO,._230WO._230WO ._zvM7r{display:inline-flex;align-items:center}._230WO._230WO ._zvM7r{overflow:hidden;text-overflow:ellipsis}._230WO._230WO._Hczpi{min-height:26px;height:26px}._230WO._230WO._voyJg{color:#32363a}._230WO._230WO:hover:not([aria-disabled=true]){background-color:#f5f5f5}._230WO._230WO:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._230WO._230WO[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._230WO._230WO[aria-disabled=true]>svg{fill:#515559;opacity:.4}._230WO._230WO[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._230WO._230WO._hfUWL{padding-left:0}._230WO._230WO._7NCRL{margin-top:4px}._230WO._230WO ._wmCc-{fill:#515559}._230WO._230WO ._wmCc-._Hczpi{top:0}._230WO._230WO ._wmCc-._sGxF3{transform:rotate(-180deg)}._1Yoo1{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}._1Yoo1::-webkit-scrollbar,._1Yoo1::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._1Yoo1::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._1Yoo1::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._1Yoo1:hover::-webkit-scrollbar,._1Yoo1:hover::-webkit-scrollbar-thumb,._1Yoo1[focus-within]::-webkit-scrollbar,._1Yoo1[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._1Yoo1:focus-within::-webkit-scrollbar,._1Yoo1:focus-within::-webkit-scrollbar-thumb,._1Yoo1:hover::-webkit-scrollbar,._1Yoo1:hover::-webkit-scrollbar-thumb{visibility:visible}._Nspxc{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._Nspxc[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._Nspxc._38krD{background-color:#efefef}._Nspxc._3I15H{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._Nspxc._voyJg{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._Nspxc._voyJg._38krD{background-color:#e4effa}._Nspxc._-H5Aj{cursor:default}._Nspxc:active:not(._RLYhn):not(._voyJg):not([aria-disabled=true]):not(._-H5Aj){background-color:#e8e9e9}._RLYhn{padding-right:32px}._RLYhn ._wmCc-{position:absolute;top:8px;right:3px;fill:#515559}._CJrbY{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}._xytsX{position:absolute;top:13px;left:13px}._mUXjv._mUXjv{padding-left:32px}._G0v7N{margin:2px 12px 2px 0;flex-shrink:0}._G0v7N._w491z>svg{border-color:#0b6ed0}._dQSNm{display:flex;justify-self:center;margin:8px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { menuStyles as default, stylesheet };
|
|
@@ -11,7 +11,9 @@ const SelectMenu = /*#__PURE__*/React__default.forwardRef(function SelectMenu(_r
|
|
|
11
11
|
...rest
|
|
12
12
|
} = _ref;
|
|
13
13
|
return /*#__PURE__*/React__default.createElement(BaseMenu, _extends({
|
|
14
|
-
ref: ref
|
|
14
|
+
ref: ref
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16
|
+
,
|
|
15
17
|
menuType: SelectMenu,
|
|
16
18
|
selectable: true,
|
|
17
19
|
onSelectedValueChange: function (value) {
|