@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
|
@@ -127,10 +127,14 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
127
127
|
preventScroll: true
|
|
128
128
|
});
|
|
129
129
|
} else if (highlightedIndex === 0 && searchable) {
|
|
130
|
-
searchBoxRef === null || searchBoxRef === void 0 || searchBoxRef.current.focus(
|
|
130
|
+
searchBoxRef === null || searchBoxRef === void 0 || searchBoxRef.current.focus({
|
|
131
|
+
preventScroll: true
|
|
132
|
+
});
|
|
131
133
|
} else {
|
|
132
134
|
var _anchorRef$current;
|
|
133
|
-
anchorRef === null || anchorRef === void 0 || (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 || _anchorRef$current.focus(
|
|
135
|
+
anchorRef === null || anchorRef === void 0 || (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 || _anchorRef$current.focus({
|
|
136
|
+
preventScroll: true
|
|
137
|
+
});
|
|
134
138
|
}
|
|
135
139
|
}
|
|
136
140
|
}, [highlightedIndex, childRefs, virtualRange, searchable, allChildren === null || allChildren === void 0 ? void 0 : allChildren.length,
|
|
@@ -201,8 +205,10 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
201
205
|
}
|
|
202
206
|
}, isVirtualized ? /*#__PURE__*/React__default.createElement(Virtuoso, _extends({
|
|
203
207
|
customScrollParent: (_containerRef$current3 = containerRef.current) !== null && _containerRef$current3 !== void 0 ? _containerRef$current3 : undefined,
|
|
204
|
-
data: React__default.Children.toArray(allChildren)
|
|
205
|
-
|
|
208
|
+
data: React__default.Children.toArray(allChildren)
|
|
209
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, react/no-unstable-nested-components
|
|
210
|
+
,
|
|
211
|
+
itemContent: (_, child) => ! /*#__PURE__*/React__default.isValidElement(child) ? null : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, child),
|
|
206
212
|
rangeChanged: setVirtualRange,
|
|
207
213
|
ref: virtuosoRef
|
|
208
214
|
}, VIRTUOSO_PROPS)) : allChildren))
|
|
@@ -25,7 +25,7 @@ const MenuItem = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
25
25
|
'aria-checked': ariaChecked,
|
|
26
26
|
...rest
|
|
27
27
|
} = _ref;
|
|
28
|
-
const itemRef = useRef();
|
|
28
|
+
const itemRef = useRef(null);
|
|
29
29
|
const defaultRole = isSelectable ? isMultiSelect ? 'menuitemcheckbox' : 'menuitemradio' : 'menuitem';
|
|
30
30
|
const handleSelect = useCallback(e => {
|
|
31
31
|
if (typeof onSelect === 'function' && !disabled) {
|
|
@@ -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 = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._wJ0xp{display:inline-flex;width:127px}._V8mP-{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._V8mP-:hover:not(._tbCeJ){cursor:pointer;background:#f5f5f5}._V8mP-._udjSs{border:1px solid #da1c3d}._V8mP-._udjSs:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._V8mP-._tbCeJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._V8mP-._tbCeJ>svg{opacity:.4}._V8mP-::-webkit-inner-spin-button,._V8mP-::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._V8mP-:focus{z-index:0;border:none;border-radius:4px}._V8mP-:focus:not(._udjSs){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._m1EI8,._V8mP-:focus:not(._tbCeJ){background:#fafafa}._m1EI8{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._m1EI8:hover:not(._tbCeJ){cursor:pointer;background:#f5f5f5}._m1EI8:active:not(._tbCeJ){background:#e5e5e5}._m1EI8._tbCeJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._m1EI8._tbCeJ>svg{opacity:.4}._sL7rQ{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._sL7rQ:hover:not(._tbCeJ){cursor:pointer;background:#f5f5f5}._sL7rQ:active:not(._tbCeJ){background:#e5e5e5}._sL7rQ._tbCeJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._sL7rQ._tbCeJ>svg{opacity:.4}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_wJ0xp","numberStepperInput":"_V8mP-","disabled":"_tbCeJ","invalid":"_udjSs","decrementBtn":"_m1EI8","incrementBtn":"_sL7rQ"};
|
|
5
|
+
var stylesheet="._wJ0xp{display:inline-flex;width:127px}._V8mP-{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._V8mP-:hover:not(._tbCeJ){cursor:pointer;background:#f5f5f5}._V8mP-._udjSs{border:1px solid #da1c3d}._V8mP-._udjSs:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._V8mP-._tbCeJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._V8mP-._tbCeJ>svg{opacity:.4}._V8mP-::-webkit-inner-spin-button,._V8mP-::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._V8mP-:focus{z-index:0;border:none;border-radius:4px}._V8mP-:focus:not(._udjSs){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._m1EI8,._V8mP-:focus:not(._tbCeJ){background:#fafafa}._m1EI8{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._m1EI8:hover:not(._tbCeJ){cursor:pointer;background:#f5f5f5}._m1EI8:active:not(._tbCeJ){background:#e5e5e5}._m1EI8._tbCeJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._m1EI8._tbCeJ>svg{opacity:.4}._sL7rQ{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._sL7rQ:hover:not(._tbCeJ){cursor:pointer;background:#f5f5f5}._sL7rQ:active:not(._tbCeJ){background:#e5e5e5}._sL7rQ._tbCeJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._sL7rQ._tbCeJ>svg{opacity:.4}";
|
|
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 = {"pageContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._fCgqo{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._1NR9e{grid-area:pageHeader}._fotE4{grid-area:mainContent;height:100%;overflow:auto}";
|
|
4
|
+
var styles = {"pageContainer":"_fCgqo","pageHeader":"_1NR9e","mainContent":"_fotE4"};
|
|
5
|
+
var stylesheet="._fCgqo{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._1NR9e{grid-area:pageHeader}._fotE4{grid-area:mainContent;height:100%;overflow:auto}";
|
|
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 = {"pagination":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._HM05a{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._GdHzI{margin-right:8px}._9Nlc2{margin-left:8px}._IwR9h{margin:-10px -15px}._VAxbY{width:100%;text-align:center}";
|
|
4
|
+
var styles = {"pagination":"_HM05a","previousButton":"_GdHzI","nextButton":"_9Nlc2","btnIcon":"_IwR9h","input":"_VAxbY"};
|
|
5
|
+
var stylesheet="._HM05a{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._GdHzI{margin-right:8px}._9Nlc2{margin-left:8px}._IwR9h{margin:-10px -15px}._VAxbY{width:100%;text-align:center}";
|
|
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 };
|
|
@@ -8,6 +8,7 @@ import useClickOutsidePortals from '../../hooks/useClickOutsidePortals/useClickO
|
|
|
8
8
|
import useId from '../../hooks/useId/useId.js';
|
|
9
9
|
import Popper from '../../utils/Popper/Popper.js';
|
|
10
10
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
11
|
+
import { offset, flip } from '@floating-ui/react-dom';
|
|
11
12
|
|
|
12
13
|
const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
13
14
|
let {
|
|
@@ -28,7 +29,7 @@ const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
28
29
|
...rest
|
|
29
30
|
} = _ref;
|
|
30
31
|
const classes = classNames(styles.popover, className);
|
|
31
|
-
const anchorRef = useRef();
|
|
32
|
+
const anchorRef = useRef(null);
|
|
32
33
|
const popperRef = useRef(null);
|
|
33
34
|
const preventClickOutside = useClickOutsidePortals(e => show && (onClickOutside === null || onClickOutside === void 0 ? void 0 : onClickOutside(e)));
|
|
34
35
|
const [isInDOM, setIsInDOM] = useState(false);
|
|
@@ -80,9 +81,9 @@ const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
80
81
|
'aria-expanded': show,
|
|
81
82
|
'aria-controls': show ? popoverId : undefined,
|
|
82
83
|
onMouseDown: e => {
|
|
83
|
-
var
|
|
84
|
+
var _onMouseDown, _ref2;
|
|
84
85
|
preventClickOutside();
|
|
85
|
-
(
|
|
86
|
+
(_onMouseDown = (_ref2 = children.props).onMouseDown) === null || _onMouseDown === void 0 || _onMouseDown.call(_ref2, e);
|
|
86
87
|
},
|
|
87
88
|
ref: mergeRefs(anchorRef, children === null || children === void 0 ? void 0 : children.ref)
|
|
88
89
|
}),
|
|
@@ -102,17 +103,10 @@ const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
102
103
|
,
|
|
103
104
|
"aria-modal": isFocusLockEnabled ? 'true' : undefined
|
|
104
105
|
}), content),
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
}, {
|
|
111
|
-
name: 'flip',
|
|
112
|
-
options: {
|
|
113
|
-
flipVariations: false
|
|
114
|
-
}
|
|
115
|
-
}],
|
|
106
|
+
middleware: [offset({
|
|
107
|
+
crossAxis: 0,
|
|
108
|
+
mainAxis: 7
|
|
109
|
+
}), flip()],
|
|
116
110
|
arrow: isArrowRemoved ? undefined : /*#__PURE__*/React__default.createElement("div", {
|
|
117
111
|
className: styles.arrow
|
|
118
112
|
}, /*#__PURE__*/React__default.createElement("div", null)),
|
|
@@ -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 = {"popover":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._z5mI8{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._z5mI8:focus{outline:none}._PVfm3,._PVfm3>div{position:absolute;width:8px;height:8px;background:inherit}._PVfm3{visibility:hidden;z-index:1000}._PVfm3>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._PVfm3{bottom:-4px}[data-popper-placement^=top]>._PVfm3>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._PVfm3{left:-5px}[data-popper-placement^=right]>._PVfm3>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._PVfm3{top:-5px}[data-popper-placement^=bottom]>._PVfm3>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._PVfm3{right:-4px}[data-popper-placement^=left]>._PVfm3>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
4
|
+
var styles = {"popover":"_z5mI8","arrow":"_PVfm3"};
|
|
5
|
+
var stylesheet="._z5mI8{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._z5mI8:focus{outline:none}._PVfm3,._PVfm3>div{position:absolute;width:8px;height:8px;background:inherit}._PVfm3{visibility:hidden;z-index:1000}._PVfm3>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._PVfm3{bottom:-4px}[data-popper-placement^=top]>._PVfm3>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._PVfm3{left:-5px}[data-popper-placement^=right]>._PVfm3>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._PVfm3{top:-5px}[data-popper-placement^=bottom]>._PVfm3>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._PVfm3{right:-4px}[data-popper-placement^=left]>._PVfm3>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
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 = {"loadingSpinner":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._VppHh{display:flex;height:32px}";
|
|
4
|
+
var styles = {"loadingSpinner":"_VppHh"};
|
|
5
|
+
var stylesheet="._VppHh{display:flex;height:32px}";
|
|
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 = {"radio":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._AZRo2{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._AZRo2,._Cv3Ik{cursor:pointer;height:16px;width:16px}._Cv3Ik{position:absolute;opacity:0;z-index:10}._Cv3Ik:disabled{cursor:not-allowed}._Cv3Ik:checked~._ICY0Z:after{content:\"\"}._ehsBB{color:#32363a;display:flex;align-items:center;cursor:pointer}._ehsBB:has(input:disabled){color:rgba(50,54,58,.4)}._5ysLD{margin-right:12px;flex-shrink:0}._IyG73{width:100%}._ICY0Z{position:relative;display:flex;align-items:center;justify-content:center;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._Cv3Ik:hover ._ICY0Z:not(._X-6tT)._9QBRa,._ICY0Z:not(._X-6tT):hover._9QBRa{background-color:#085caf}._Cv3Ik:hover ._ICY0Z:not(._X-6tT):not(._9QBRa),._ICY0Z:not(._X-6tT):hover:not(._9QBRa){border-color:#0b6ed0}._ICY0Z ._SLTzz{fill:#0b6ed0;fill-opacity:0}._ICY0Z._9QBRa ._SLTzz{fill-opacity:1}._ICY0Z._9QBRa:not(._X-6tT){border-color:transparent;background-color:#0b6ed0}._ICY0Z._9QBRa:not(._X-6tT) ._SLTzz{fill:#fff}._ICY0Z._X-6tT{opacity:.4}._ICY0Z ._lQ-kO{border-radius:2px}._ICY0Z ._lQ-kO,._ICY0Z:after{position:absolute;height:10px;width:10px;background-color:#0b6ed0}._ICY0Z:after{z-index:0;border-radius:50%;top:2px;left:2px}._-XXeA{border:none;padding:0;margin:0}._wmIVJ{padding:0;margin:0 0 14px;color:#01213f}._Cv3Ik.focus-visible~._ICY0Z,._Cv3Ik:focus-visible~._ICY0Z{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"radio":"_AZRo2","input":"_Cv3Ik","check":"_ICY0Z","label":"_ehsBB","wrappedInput":"_5ysLD","container":"_IyG73","disabled":"_X-6tT","checked":"_9QBRa","checkIcon":"_SLTzz","mixed":"_lQ-kO","radioGroup":"_-XXeA","legend":"_wmIVJ"};
|
|
5
|
+
var stylesheet="._AZRo2{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._AZRo2,._Cv3Ik{cursor:pointer;height:16px;width:16px}._Cv3Ik{position:absolute;opacity:0;z-index:10}._Cv3Ik:disabled{cursor:not-allowed}._Cv3Ik:checked~._ICY0Z:after{content:\"\"}._ehsBB{color:#32363a;display:flex;align-items:center;cursor:pointer}._ehsBB:has(input:disabled){color:rgba(50,54,58,.4)}._5ysLD{margin-right:12px;flex-shrink:0}._IyG73{width:100%}._ICY0Z{position:relative;display:flex;align-items:center;justify-content:center;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._Cv3Ik:hover ._ICY0Z:not(._X-6tT)._9QBRa,._ICY0Z:not(._X-6tT):hover._9QBRa{background-color:#085caf}._Cv3Ik:hover ._ICY0Z:not(._X-6tT):not(._9QBRa),._ICY0Z:not(._X-6tT):hover:not(._9QBRa){border-color:#0b6ed0}._ICY0Z ._SLTzz{fill:#0b6ed0;fill-opacity:0}._ICY0Z._9QBRa ._SLTzz{fill-opacity:1}._ICY0Z._9QBRa:not(._X-6tT){border-color:transparent;background-color:#0b6ed0}._ICY0Z._9QBRa:not(._X-6tT) ._SLTzz{fill:#fff}._ICY0Z._X-6tT{opacity:.4}._ICY0Z ._lQ-kO{border-radius:2px}._ICY0Z ._lQ-kO,._ICY0Z:after{position:absolute;height:10px;width:10px;background-color:#0b6ed0}._ICY0Z:after{z-index:0;border-radius:50%;top:2px;left:2px}._-XXeA{border:none;padding:0;margin:0}._wmIVJ{padding:0;margin:0 0 14px;color:#01213f}._Cv3Ik.focus-visible~._ICY0Z,._Cv3Ik:focus-visible~._ICY0Z{border-color:#0b6ed0;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 = {"searchInput":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._L2ZQb{display:inline-block;position:relative}._8qBPp._8qBPp{padding-left:36px;padding-right:36px;width:100%}._8qBPp._8qBPp:disabled+._OVLSB{fill-opacity:.6}._OVLSB{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._OVLSB._OKoAh{z-index:20}._qAq4u{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._qAq4u:hover{cursor:pointer}._qAq4u:hover>._EzUt2{fill:#32363a}._qAq4u:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._EzUt2{fill:#515559}";
|
|
4
|
+
var styles = {"searchInput":"_L2ZQb","searchInputInput":"_8qBPp","searchInputSearchIcon":"_OVLSB","usedWithinInputGroup":"_OKoAh","searchInputClearButton":"_qAq4u","searchInputClearButtonIcon":"_EzUt2"};
|
|
5
|
+
var stylesheet="._L2ZQb{display:inline-block;position:relative}._8qBPp._8qBPp{padding-left:36px;padding-right:36px;width:100%}._8qBPp._8qBPp:disabled+._OVLSB{fill-opacity:.6}._OVLSB{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._OVLSB._OKoAh{z-index:20}._qAq4u{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._qAq4u:hover{cursor:pointer}._qAq4u:hover>._EzUt2{fill:#32363a}._qAq4u:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._EzUt2{fill:#515559}";
|
|
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 = {"sideBarNav":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._wkbC2{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._wkbC2._6F4pP{width:69px;min-width:auto;max-width:none}._m-1Tp{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._ogPlN{margin-bottom:12px;background-color:transparent!important}._ogPlN:hover{background-color:#efefef!important}._ogPlN:hover ._mgHRe{fill:#32363a}._ogPlN:hover ._NX2gM{color:#32363a}._ogPlN:active{background-color:rgba(11,110,208,.12)!important}._ogPlN:active ._mgHRe{fill:#0854a1}._ogPlN:active ._NX2gM{color:#0854a1}._ogPlN._2uorP{background-color:rgba(11,110,208,.08)!important}._ogPlN._2uorP ._mgHRe{fill:#0b6ed0}._ogPlN._2uorP ._NX2gM{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._ogPlN._2uorP:hover{background-color:rgba(11,110,208,.15)!important}._ogPlN._2uorP:hover ._mgHRe{fill:#085caf}._ogPlN._2uorP:hover ._NX2gM{color:#085caf}._ogPlN._2uorP:active{background-color:rgba(11,110,208,.12)!important}._ogPlN._2uorP:active ._mgHRe{fill:#0854a1}._ogPlN._2uorP:active ._NX2gM{color:#0854a1}._rzdVR{border-radius:6px}._rzdVR ._mgHRe{display:block;fill:#515559}._Witl5{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._ThVmF,._Vq1O8{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._ThVmF ._mgHRe,._Vq1O8 ._mgHRe{fill:#515559}._ThVmF ._NX2gM,._Vq1O8 ._NX2gM{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._ogPlN.focus-visible,._ogPlN:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"sideBarNav":"_wkbC2","collapsed":"_6F4pP","navItems":"_m-1Tp","sidebarNavItem":"_ogPlN","icon":"_mgHRe","label":"_NX2gM","selected":"_2uorP","sidebarNavItemIconButton":"_rzdVR","expandCollapseButtonContainer":"_Witl5","navLink":"_ThVmF","iconButtonWithLabel":"_Vq1O8"};
|
|
5
|
+
var stylesheet="._wkbC2{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._wkbC2._6F4pP{width:69px;min-width:auto;max-width:none}._m-1Tp{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._ogPlN{margin-bottom:12px;background-color:transparent!important}._ogPlN:hover{background-color:#efefef!important}._ogPlN:hover ._mgHRe{fill:#32363a}._ogPlN:hover ._NX2gM{color:#32363a}._ogPlN:active{background-color:rgba(11,110,208,.12)!important}._ogPlN:active ._mgHRe{fill:#0854a1}._ogPlN:active ._NX2gM{color:#0854a1}._ogPlN._2uorP{background-color:rgba(11,110,208,.08)!important}._ogPlN._2uorP ._mgHRe{fill:#0b6ed0}._ogPlN._2uorP ._NX2gM{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._ogPlN._2uorP:hover{background-color:rgba(11,110,208,.15)!important}._ogPlN._2uorP:hover ._mgHRe{fill:#085caf}._ogPlN._2uorP:hover ._NX2gM{color:#085caf}._ogPlN._2uorP:active{background-color:rgba(11,110,208,.12)!important}._ogPlN._2uorP:active ._mgHRe{fill:#0854a1}._ogPlN._2uorP:active ._NX2gM{color:#0854a1}._rzdVR{border-radius:6px}._rzdVR ._mgHRe{display:block;fill:#515559}._Witl5{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._ThVmF,._Vq1O8{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._ThVmF ._mgHRe,._Vq1O8 ._mgHRe{fill:#515559}._ThVmF ._NX2gM,._Vq1O8 ._NX2gM{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._ogPlN.focus-visible,._ogPlN: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 = {"slider":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._8-8oq{height:auto;width:200px;padding:5px 10px}._u5Yc-{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._YflGY{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._I6gTs,._YflGY{position:absolute}._I6gTs{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._I6gTs:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._I6gTs.focus-visible,._I6gTs:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"slider":"_8-8oq","track":"_u5Yc-","fill":"_YflGY","button":"_I6gTs"};
|
|
5
|
+
var stylesheet="._8-8oq{height:auto;width:200px;padding:5px 10px}._u5Yc-{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._YflGY{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._I6gTs,._YflGY{position:absolute}._I6gTs{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._I6gTs:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._I6gTs.focus-visible,._I6gTs: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 = {"switch":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._RqZty{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._RqZty._Y9UmD{cursor:not-allowed}._TCEcO{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._TCEcO:disabled{cursor:not-allowed}._TCEcO:disabled~._qGjlh{opacity:.4}._TCEcO:checked~._qGjlh{background-color:#0b6ed0}._TCEcO:checked~._qGjlh:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._TCEcO:hover:not(:disabled):not(:checked)~._qGjlh{background-color:#6a6a6a}._TCEcO:hover:not(:disabled):checked~._qGjlh{background-color:#085caf}._TCEcO:hover:not(:disabled):checked~._qGjlh:before{border-color:#085caf}._qGjlh{width:32px;background-color:#898989;border-radius:34px}._qGjlh,._qGjlh:before{height:16px;transition:.2s}._qGjlh:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._ufLz1{color:#32363a;display:flex;align-items:center;cursor:pointer}._DXzih{cursor:auto;color:hsla(0,0%,53.7%,.4)}._deoLd{margin-right:12px;flex-shrink:0}._TCEcO.focus-visible~._qGjlh,._TCEcO:focus-visible~._qGjlh{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"switch":"_RqZty","disabled":"_Y9UmD","input":"_TCEcO","slider":"_qGjlh","label":"_ufLz1","labelDisabled":"_DXzih","wrappedInput":"_deoLd"};
|
|
5
|
+
var stylesheet="._RqZty{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._RqZty._Y9UmD{cursor:not-allowed}._TCEcO{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._TCEcO:disabled{cursor:not-allowed}._TCEcO:disabled~._qGjlh{opacity:.4}._TCEcO:checked~._qGjlh{background-color:#0b6ed0}._TCEcO:checked~._qGjlh:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._TCEcO:hover:not(:disabled):not(:checked)~._qGjlh{background-color:#6a6a6a}._TCEcO:hover:not(:disabled):checked~._qGjlh{background-color:#085caf}._TCEcO:hover:not(:disabled):checked~._qGjlh:before{border-color:#085caf}._qGjlh{width:32px;background-color:#898989;border-radius:34px}._qGjlh,._qGjlh:before{height:16px;transition:.2s}._qGjlh:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._ufLz1{color:#32363a;display:flex;align-items:center;cursor:pointer}._DXzih{cursor:auto;color:hsla(0,0%,53.7%,.4)}._deoLd{margin-right:12px;flex-shrink:0}._TCEcO.focus-visible~._qGjlh,._TCEcO:focus-visible~._qGjlh{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 = {"table":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._Kj1rK{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none;display:table;margin:0}._Kj1rK ._5jh9i:first-child,._Kj1rK ._mNk1-:first-child{padding-left:16px}._R94v7{font-size:12px}._mNk1-,._R94v7{background-color:#fff}._mNk1-{padding:12px 8px;text-align:left;font-weight:700;color:#32363a;border:none}._7rPKG ._ZwAt2{border-top:1px solid #ededed;background-color:#fff}._7rPKG ._ZwAt2:hover{background-color:#fafafa}._ZwAt2{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed;border-top:none}._5jh9i{padding:16px 8px;word-break:break-word;text-align:left;border:none;color:#32363a}";
|
|
4
|
+
var styles = {"table":"_Kj1rK","tableCell":"_5jh9i","tableHeaderCell":"_mNk1-","tableHead":"_R94v7","tableBody":"_7rPKG","tableRow":"_ZwAt2"};
|
|
5
|
+
var stylesheet="._Kj1rK{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none;display:table;margin:0}._Kj1rK ._5jh9i:first-child,._Kj1rK ._mNk1-:first-child{padding-left:16px}._R94v7{font-size:12px}._mNk1-,._R94v7{background-color:#fff}._mNk1-{padding:12px 8px;text-align:left;font-weight:700;color:#32363a;border:none}._7rPKG ._ZwAt2{border-top:1px solid #ededed;background-color:#fff}._7rPKG ._ZwAt2:hover{background-color:#fafafa}._ZwAt2{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed;border-top:none}._5jh9i{padding:16px 8px;word-break:break-word;text-align:left;border:none;color:#32363a}";
|
|
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 };
|
|
@@ -84,9 +84,10 @@ const TabsList = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
84
84
|
tabIndex: -1 // Needed to satisfy the jsx-a11y/interactive-supports-focus rule
|
|
85
85
|
}), React__default.Children.map(children, (child, index) => {
|
|
86
86
|
if ((child === null || child === void 0 ? void 0 : child.type) === Tab) {
|
|
87
|
-
var
|
|
87
|
+
var _childProps$value;
|
|
88
|
+
const childProps = child.props;
|
|
88
89
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
89
|
-
value: (
|
|
90
|
+
value: (_childProps$value = childProps.value) !== null && _childProps$value !== void 0 ? _childProps$value : index,
|
|
90
91
|
ref: mergeRefs(child === null || child === void 0 ? void 0 : child.ref, node => {
|
|
91
92
|
// Store a reverse node/index map for
|
|
92
93
|
// constant time index lookups from event handlers
|
|
@@ -8,8 +8,9 @@ const TabPanels = _ref => {
|
|
|
8
8
|
return /*#__PURE__*/React.createElement(React.Fragment, null, React.Children.map(children, (c, index) => {
|
|
9
9
|
const child = c;
|
|
10
10
|
if (child && child.type === TabPanel) {
|
|
11
|
+
const childProps = child.props;
|
|
11
12
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
12
|
-
value:
|
|
13
|
+
value: childProps.value || index
|
|
13
14
|
});
|
|
14
15
|
}
|
|
15
16
|
return child;
|
|
@@ -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 = {"tablist":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._zi6tp{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._zi6tp._bMBsW ._n5M-u{flex:1 1 0px;max-width:none}._n5M-u{background:inherit;font-family:inherit;font-size:14px;line-height:14px;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._n5M-u:hover{color:#32363a}._n5M-u._MbALp{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._yNEMj{padding-top:32px}._yNEMj._5cfdy{display:none}._n5M-u.focus-visible,._n5M-u:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tablist":"_zi6tp","grow":"_bMBsW","tab":"_n5M-u","selected":"_MbALp","tabpanel":"_yNEMj","inactive":"_5cfdy"};
|
|
5
|
+
var stylesheet="._zi6tp{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._zi6tp._bMBsW ._n5M-u{flex:1 1 0px;max-width:none}._n5M-u{background:inherit;font-family:inherit;font-size:14px;line-height:14px;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._n5M-u:hover{color:#32363a}._n5M-u._MbALp{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._yNEMj{padding-top:32px}._yNEMj._5cfdy{display:none}._n5M-u.focus-visible,._n5M-u: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 };
|
|
@@ -12,6 +12,7 @@ import useId from '../../hooks/useId/useId.js';
|
|
|
12
12
|
import useEventListener from '../../hooks/useEventListener/useEventListener.js';
|
|
13
13
|
import Popper from '../../utils/Popper/Popper.js';
|
|
14
14
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
15
|
+
import { offset, flip } from '@floating-ui/react-dom';
|
|
15
16
|
import { TOOLTIP_POPPER_OFFSET } from '../../utils/constants.js';
|
|
16
17
|
|
|
17
18
|
const FOCUSABLES_SELECTOR = 'button:not([tabindex="-1"]):not([aria-hidden="true"]), [href]:not([tabindex="-1"]):not([aria-hidden="true"]), input:not([tabindex="-1"]):not([aria-hidden="true"]), select:not([tabindex="-1"]):not([aria-hidden="true"]), textarea:not([tabindex="-1"]):not([aria-hidden="true"]), [tabindex]:not([tabindex="-1"]):not([aria-hidden="true"])';
|
|
@@ -47,7 +48,7 @@ const Tooltip = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
47
48
|
const anchorRef = useRef(null);
|
|
48
49
|
const flyoutRef = useRef(null);
|
|
49
50
|
const flyoutOffsetBackplateRef = useRef(null);
|
|
50
|
-
const timer = useRef();
|
|
51
|
+
const timer = useRef(undefined);
|
|
51
52
|
const flyoutContainerId = useId(id);
|
|
52
53
|
const {
|
|
53
54
|
isFocusVisible
|
|
@@ -213,17 +214,10 @@ const Tooltip = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
213
214
|
className: styles.offsetBackplate,
|
|
214
215
|
ref: flyoutOffsetBackplateRef
|
|
215
216
|
})),
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
}, {
|
|
222
|
-
name: 'flip',
|
|
223
|
-
options: {
|
|
224
|
-
flipVariations: false
|
|
225
|
-
}
|
|
226
|
-
}],
|
|
217
|
+
middleware: [offset({
|
|
218
|
+
crossAxis: TOOLTIP_POPPER_OFFSET[0],
|
|
219
|
+
mainAxis: TOOLTIP_POPPER_OFFSET[1]
|
|
220
|
+
}), flip()],
|
|
227
221
|
arrow: isArrowRemoved ? undefined : /*#__PURE__*/React__default.createElement("div", {
|
|
228
222
|
className: styles.arrow
|
|
229
223
|
}, /*#__PURE__*/React__default.createElement("div", null)),
|
|
@@ -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 = {"tooltip":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._3qDbc{position:absolute;z-index:2000;max-width:240px;padding:6px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._3qDbc._6wq9A{color:#32363a;background-color:#fff}._JA3E8{opacity:1;pointer-events:all}._3jYO5,._3jYO5>div{position:absolute;width:8px;height:8px;background:inherit}._3jYO5{visibility:hidden;z-index:2000}._3jYO5>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._3jYO5{bottom:-4px}[data-popper-placement^=top]>._3jYO5>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._3jYO5{left:-5px}[data-popper-placement^=right]>._3jYO5>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._3jYO5{top:-5px}[data-popper-placement^=bottom]>._3jYO5>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._3jYO5{right:-4px}[data-popper-placement^=left]>._3jYO5>div{border-bottom-color:transparent;border-left-color:transparent}._0JZAS{position:absolute}[data-popper-placement^=top]>._0JZAS{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._0JZAS{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._0JZAS{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._0JZAS{top:0;right:-13px;width:17px;height:100%}@media not print{._hazeM{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;left:-10000px!important;top:-10000px!important}}@media print{._hazeM{display:none}}";
|
|
4
|
+
var styles = {"tooltip":"_3qDbc","lightTheme":"_6wq9A","visible":"_JA3E8","arrow":"_3jYO5","offsetBackplate":"_0JZAS","srOnly":"_hazeM"};
|
|
5
|
+
var stylesheet="._3qDbc{position:absolute;z-index:2000;max-width:240px;padding:6px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._3qDbc._6wq9A{color:#32363a;background-color:#fff}._JA3E8{opacity:1;pointer-events:all}._3jYO5,._3jYO5>div{position:absolute;width:8px;height:8px;background:inherit}._3jYO5{visibility:hidden;z-index:2000}._3jYO5>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._3jYO5{bottom:-4px}[data-popper-placement^=top]>._3jYO5>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._3jYO5{left:-5px}[data-popper-placement^=right]>._3jYO5>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._3jYO5{top:-5px}[data-popper-placement^=bottom]>._3jYO5>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._3jYO5{right:-4px}[data-popper-placement^=left]>._3jYO5>div{border-bottom-color:transparent;border-left-color:transparent}._0JZAS{position:absolute}[data-popper-placement^=top]>._0JZAS{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._0JZAS{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._0JZAS{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._0JZAS{top:0;right:-13px;width:17px;height:100%}@media not print{._hazeM{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;left:-10000px!important;top:-10000px!important}}@media print{._hazeM{display:none}}";
|
|
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 };
|
|
@@ -15,6 +15,7 @@ import { DEFAULT_SWATCH_COLORS } from './DEFAULT_SWATCH_COLORS.js';
|
|
|
15
15
|
import useClickOutside from '../../hooks/useClickOutside/useClickOutside.js';
|
|
16
16
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
17
17
|
import Popper from '../../utils/Popper/Popper.js';
|
|
18
|
+
import { offset } from '@floating-ui/react-dom';
|
|
18
19
|
import { FLYOUT_POPPER_OFFSET } from '../../utils/constants.js';
|
|
19
20
|
import { Button } from '../Button/Button2.js';
|
|
20
21
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
@@ -101,12 +102,10 @@ const ColorPicker = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
101
102
|
open: show,
|
|
102
103
|
placement: "bottom-start",
|
|
103
104
|
popper: content,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
}],
|
|
105
|
+
middleware: [offset({
|
|
106
|
+
crossAxis: FLYOUT_POPPER_OFFSET[0],
|
|
107
|
+
mainAxis: FLYOUT_POPPER_OFFSET[1]
|
|
108
|
+
})],
|
|
110
109
|
anchor: /*#__PURE__*/React__default.createElement(Button, _extends({}, rest, {
|
|
111
110
|
"data-testid": dataTestId,
|
|
112
111
|
ref: mergeRefs(ref, anchorRef),
|
|
@@ -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 = {"colorPickerBtnColor":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._hINmF{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._TIBjC{margin-right:-12px;margin-left:4px}._7W6xa{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._-i0gO{margin:8px 8px 0;display:flex}._nDeId,._yPBHe{margin-left:4px}._C67Ax{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._1ZEaL{margin:0 4px 4px 0}._1ZEaL:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._RlsUu{margin:4px 8px 8px}._VvccV{position:relative;width:96px;height:96px;outline:0}._VvccV.focus-visible ._d8Eqk,._VvccV:focus-visible ._d8Eqk{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._uKMD8{background:linear-gradient(90deg,#fff,transparent)}._RUqAw,._uKMD8{position:absolute;top:0;right:0;bottom:0;left:0}._RUqAw{background:linear-gradient(0deg,#000,transparent)}._d8Eqk{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._9JlMn{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._9JlMn.focus-visible ._PzqeC,._9JlMn:focus-visible ._PzqeC{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PzqeC{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._Lv-HA{position:relative;width:16px;height:96px}._dtdKr{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._dtdKr,._iykFI{position:absolute}._iykFI{top:0;right:0;bottom:0;left:0;outline:0}._iykFI.focus-visible ._dtdKr,._iykFI:focus-visible ._dtdKr{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._mc0tr{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._6c72y{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._6c72y.focus-visible,._6c72y:focus-visible{outline:none}._6c72y.focus-visible,._6c72y:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._SOGRu{display:flex}._SOGRu ._gJMVD{position:relative;flex-shrink:0;width:26px;height:26px}._SOGRu ._JCJQd{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._SOGRu ._AQPNx{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
4
|
+
var styles = {"colorPickerBtnColor":"_hINmF","colorPickerBtnIcon":"_TIBjC","colorPicker":"_7W6xa","colorPickerSliderContainer":"_-i0gO","colorPickerHue":"_nDeId","colorPickerAlpha":"_yPBHe","colorPickerSwatches":"_C67Ax","colorPickerSwatch":"_1ZEaL","colorPickerHex":"_RlsUu","saturation":"_VvccV","saturationCircle":"_d8Eqk","saturationWhite":"_uKMD8","saturationBlack":"_RUqAw","hue":"_9JlMn","hueSlider":"_PzqeC","alpha":"_Lv-HA","alphaSlider":"_dtdKr","alphaGradient":"_iykFI","alphaCheckerboard":"_mc0tr","swatch":"_6c72y","hex":"_SOGRu","hexSwatch":"_gJMVD","hexSwatchColor":"_JCJQd","hexInput":"_AQPNx"};
|
|
5
|
+
var stylesheet="._hINmF{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._TIBjC{margin-right:-12px;margin-left:4px}._7W6xa{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._-i0gO{margin:8px 8px 0;display:flex}._nDeId,._yPBHe{margin-left:4px}._C67Ax{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._1ZEaL{margin:0 4px 4px 0}._1ZEaL:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._RlsUu{margin:4px 8px 8px}._VvccV{position:relative;width:96px;height:96px;outline:0}._VvccV.focus-visible ._d8Eqk,._VvccV:focus-visible ._d8Eqk{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._uKMD8{background:linear-gradient(90deg,#fff,transparent)}._RUqAw,._uKMD8{position:absolute;top:0;right:0;bottom:0;left:0}._RUqAw{background:linear-gradient(0deg,#000,transparent)}._d8Eqk{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._9JlMn{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._9JlMn.focus-visible ._PzqeC,._9JlMn:focus-visible ._PzqeC{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PzqeC{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._Lv-HA{position:relative;width:16px;height:96px}._dtdKr{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._dtdKr,._iykFI{position:absolute}._iykFI{top:0;right:0;bottom:0;left:0;outline:0}._iykFI.focus-visible ._dtdKr,._iykFI:focus-visible ._dtdKr{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._mc0tr{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._6c72y{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._6c72y.focus-visible,._6c72y:focus-visible{outline:none}._6c72y.focus-visible,._6c72y:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._SOGRu{display:flex}._SOGRu ._gJMVD{position:relative;flex-shrink:0;width:26px;height:26px}._SOGRu ._JCJQd{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._SOGRu ._AQPNx{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius: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 };
|
|
@@ -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 = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._sytai{display:inline-flex}._fzP3i{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._fzP3i:hover:not(._u7tFO){cursor:pointer;background:#f5f5f5}._fzP3i._zfitO{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._fzP3i._u7tFO{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._fzP3i._u7tFO>svg{opacity:.4}._fzP3i::-webkit-inner-spin-button,._fzP3i::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._fzP3i:focus{z-index:0;border:none;border-radius:4px}._fzP3i:focus:not(._zfitO){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._fzP3i:focus:not(._u7tFO),._zxnCI{background:#fafafa}._zxnCI{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._zxnCI:hover:not(._u7tFO){cursor:pointer;background:#f5f5f5}._zxnCI:active:not(._u7tFO){background:#e5e5e5}._zxnCI._u7tFO{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._zxnCI._u7tFO>svg{opacity:.4}._BZvkY{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._BZvkY:hover:not(._u7tFO){cursor:pointer;background:#f5f5f5}._BZvkY:active:not(._u7tFO){background:#e5e5e5}._BZvkY._u7tFO{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._BZvkY._u7tFO>svg{opacity:.4}._dv04O{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_sytai","numberStepperInput":"_fzP3i","disabled":"_u7tFO","invalid":"_zfitO","decrementBtn":"_zxnCI","incrementBtn":"_BZvkY","inputValueAlert":"_dv04O"};
|
|
5
|
+
var stylesheet="._sytai{display:inline-flex}._fzP3i{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._fzP3i:hover:not(._u7tFO){cursor:pointer;background:#f5f5f5}._fzP3i._zfitO{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._fzP3i._u7tFO{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._fzP3i._u7tFO>svg{opacity:.4}._fzP3i::-webkit-inner-spin-button,._fzP3i::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._fzP3i:focus{z-index:0;border:none;border-radius:4px}._fzP3i:focus:not(._zfitO){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._fzP3i:focus:not(._u7tFO),._zxnCI{background:#fafafa}._zxnCI{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._zxnCI:hover:not(._u7tFO){cursor:pointer;background:#f5f5f5}._zxnCI:active:not(._u7tFO){background:#e5e5e5}._zxnCI._u7tFO{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._zxnCI._u7tFO>svg{opacity:.4}._BZvkY{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._BZvkY:hover:not(._u7tFO){cursor:pointer;background:#f5f5f5}._BZvkY:active:not(._u7tFO){background:#e5e5e5}._BZvkY._u7tFO{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._BZvkY._u7tFO>svg{opacity:.4}._dv04O{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
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 };
|
|
@@ -82,12 +82,12 @@ const Tabs = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
82
82
|
}),
|
|
83
83
|
onKeyDown: event => {
|
|
84
84
|
var _child$props$onKeyDow, _child$props;
|
|
85
|
-
(_child$props$onKeyDow = (_child$props = child.props).onKeyDown) === null || _child$props$onKeyDow === void 0 || _child$props$onKeyDow.call(_child$props);
|
|
85
|
+
(_child$props$onKeyDow = (_child$props = child.props).onKeyDown) === null || _child$props$onKeyDow === void 0 || _child$props$onKeyDow.call(_child$props, event);
|
|
86
86
|
handleKeyDown(event, key, index);
|
|
87
87
|
},
|
|
88
|
-
onClick:
|
|
88
|
+
onClick: event => {
|
|
89
89
|
var _child$props$onClick, _child$props2;
|
|
90
|
-
(_child$props$onClick = (_child$props2 = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props2);
|
|
90
|
+
(_child$props$onClick = (_child$props2 = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props2, event);
|
|
91
91
|
handleSelect(key);
|
|
92
92
|
},
|
|
93
93
|
'aria-controls': tabPanelIdPrefix + key
|