@qualtrics/ui-react 2.85.4 → 2.85.5
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 +8 -0
- package/dist/__node_modules/@radix-ui/react-arrow/dist/index.js +2 -2
- package/dist/__node_modules/@radix-ui/react-collection/dist/index.js +209 -118
- package/dist/__node_modules/@radix-ui/react-direction/dist/index.js +6 -3
- package/dist/__node_modules/@radix-ui/react-dismissable-layer/dist/index.js +1 -3
- package/dist/__node_modules/@radix-ui/react-dropdown-menu/dist/index.js +18 -34
- package/dist/__node_modules/@radix-ui/react-focus-scope/dist/index.js +78 -21
- package/dist/__node_modules/@radix-ui/react-menu/dist/index.js +127 -120
- package/dist/__node_modules/@radix-ui/react-popper/dist/index.js +35 -21
- package/dist/__node_modules/@radix-ui/react-portal/dist/index.js +1 -2
- package/dist/__node_modules/@radix-ui/react-presence/dist/index.js +1 -2
- package/dist/__node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
- package/dist/__node_modules/@radix-ui/react-roving-focus/dist/index.js +16 -6
- package/dist/__node_modules/@radix-ui/react-slot/dist/index.js +28 -7
- package/dist/__node_modules/@radix-ui/react-use-callback-ref/dist/index.js +11 -3
- package/dist/__node_modules/@radix-ui/react-use-size/dist/index.js +22 -15
- package/dist/__shared/cjs/{index-08198ff4.js → index-bd03241f.js} +206 -205
- package/dist/__shared/cjs/{index-e51bbd75.js → index-ccb5282a.js} +12 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +52 -6
- package/dist/components/Button/Button2.js +6 -52
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/ColorPicker/ColorPickerFlyout.js +1 -1
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker.js +1 -1
- 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/Icon/IconTypes.js +1 -0
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Pagination/PaginationNextButton.js +1 -1
- package/dist/components/Pagination/PaginationPreviousButton.js +1 -1
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch.js +1 -1
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker.js +1 -1
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/design-tokens/less/typography.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/PulseIcon.js +11 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.es.js +1 -0
- package/dist/icons/index.js +2 -1
- package/dist/index.d.ts +72 -71
- package/dist/index.es.js +2 -2
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/Loader.js +1 -1
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/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/Menu.js +2 -2
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +2 -2
- package/dist/next/Menu/MenuItem.js +2 -2
- package/dist/next/Menu/MenuPane.js +3 -3
- package/dist/next/Menu/SubMenu.js +5 -5
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton.js +1 -1
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/ToggleButton.js +1 -1
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.js +598 -403
- package/dist/translations-en.js +71 -71
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +2 -2
- package/next/package.json +3 -3
- package/package.json +6 -6
|
@@ -39,9 +39,9 @@ function styleInject(css, ref) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
var css_248z = ".
|
|
43
|
-
var styles = {"icon":"
|
|
44
|
-
var stylesheet=".
|
|
42
|
+
var css_248z = "._fYzxB{flex-shrink:0}";
|
|
43
|
+
var styles = {"icon":"_fYzxB"};
|
|
44
|
+
var stylesheet="._fYzxB{flex-shrink:0}";
|
|
45
45
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
46
46
|
|
|
47
47
|
const _excluded = ["size", "className", "aria-hidden"];
|
|
@@ -7251,6 +7251,14 @@ var PublishIcon = /*#__PURE__*/createIconComponent('Publish', [{
|
|
|
7251
7251
|
}
|
|
7252
7252
|
}]);
|
|
7253
7253
|
|
|
7254
|
+
/* THIS FILE IS AUTO-GENERATED */
|
|
7255
|
+
var PulseIcon = /*#__PURE__*/createIconComponent('Pulse', [{
|
|
7256
|
+
tag: 'path',
|
|
7257
|
+
props: {
|
|
7258
|
+
d: 'M5.19164 3.16256C7.12132 2.0724 8.99607 2.04051 10.4271 2.56564C11.0401 2.79067 11.5786 3.12137 11.9995 3.52022C12.4203 3.12133 12.9591 2.79194 13.572 2.56687C15.0029 2.04158 16.8776 2.07237 18.8074 3.16256L18.8124 3.16503C19.4827 3.54919 20.53 4.38625 21.242 5.81172C21.9647 7.25882 22.3043 9.2387 21.6539 11.8192C20.5174 16.3277 16.5433 20.3622 12.2881 21.7203C12.1008 21.78 11.8995 21.78 11.7122 21.7203C7.45672 20.3624 3.483 16.3279 2.34638 11.8192C1.69598 9.23872 2.03471 7.25883 2.75707 5.81172C3.46872 4.38625 4.51624 3.54925 5.18671 3.16503L5.19164 3.16256ZM14.9583 10.1283C14.8168 9.96921 14.5611 9.99275 14.4514 10.1752L12.5064 13.4163C11.7028 14.7558 9.80178 14.8618 8.85459 13.6198L7.95427 12.4396C7.89458 12.3613 7.80108 12.3151 7.70267 12.315H4.47878C5.70137 15.6812 8.75524 18.6686 11.9995 19.8172C15.2441 18.6687 18.2988 15.6814 19.5215 12.315H17.8911C17.2588 12.315 16.6567 12.0444 16.2372 11.5713L14.9583 10.1283ZM9.77464 4.34408C8.88325 4.01691 7.58718 3.98401 6.12649 4.80781L6.12773 4.80904C5.71611 5.045 4.96682 5.6286 4.45288 6.65778C4.02452 7.51592 3.7332 8.73843 3.99409 10.4268C4.03081 10.4225 4.06843 10.4206 4.10632 10.4206H7.70267C8.39182 10.4207 9.04211 10.7422 9.46014 11.2901L10.3605 12.4716C10.4958 12.6489 10.7674 12.6333 10.8822 12.442L12.8271 9.20087C13.5953 7.9208 15.3862 7.75443 16.3766 8.87158L17.6543 10.3146C17.7142 10.3822 17.8008 10.4206 17.8911 10.4206H19.8928C19.9308 10.4206 19.9682 10.4237 20.005 10.428C20.2661 8.7396 19.976 7.51736 19.5474 6.65901C19.0333 5.62954 18.2832 5.04515 17.8714 4.80904V4.80781C16.411 3.98458 15.1153 4.01827 14.2244 4.34531C13.7703 4.51217 13.428 4.75193 13.2119 4.98787C12.9869 5.23352 12.9468 5.41628 12.9467 5.48119C12.9464 6.00405 12.5224 6.42833 11.9995 6.42838C11.4769 6.4281 11.0526 6.00391 11.0524 5.48119V5.47996C11.0522 5.4148 11.013 5.23303 10.7884 4.98787C10.5721 4.75173 10.2293 4.511 9.77464 4.34408Z'
|
|
7259
|
+
}
|
|
7260
|
+
}]);
|
|
7261
|
+
|
|
7254
7262
|
/* THIS FILE IS AUTO-GENERATED */
|
|
7255
7263
|
var PxLogoIcon = /*#__PURE__*/createIconComponent('PxLogo', [{
|
|
7256
7264
|
tag: 'path',
|
|
@@ -11113,6 +11121,7 @@ exports.ProgramIcon = ProgramIcon;
|
|
|
11113
11121
|
exports.ProjectBarIcon = ProjectBarIcon;
|
|
11114
11122
|
exports.ProjectIcon = ProjectIcon;
|
|
11115
11123
|
exports.PublishIcon = PublishIcon;
|
|
11124
|
+
exports.PulseIcon = PulseIcon;
|
|
11116
11125
|
exports.PxLogoIcon = PxLogoIcon;
|
|
11117
11126
|
exports.QRCodeIcon = QRCodeIcon;
|
|
11118
11127
|
exports.QualitativeIcon = QualitativeIcon;
|
|
@@ -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 AccordionStyles = {"accordion":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._rJiNU{width:100%;display:flex;flex-direction:column}._rJiNU._f4wOl{gap:20px}._MKcuA{display:flex;width:100%;border:none;outline:none;background-color:initial;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._MKcuA ._NmLSJ{margin-top:-3px}._3AQiD{flex:1}._kd529{padding:8px 16px 16px 24px;font-size:14px;line-height:20px;overflow:var(--accordion-panel-overflow,auto)}._atnHh ._MKcuA{border-radius:4px}._atnHh ._MKcuA:hover:not(._2Jhli){background-color:rgba(50,54,58,.08)}._atnHh ._MKcuA:active:not(._2Jhli){background-color:rgba(50,54,58,.11)}._IETt- ._MKcuA{font-weight:400;padding-left:12px;border-top:1px solid #eee}._IETt- ._MKcuA:hover:not(._2Jhli){background-color:rgba(50,54,58,.08)}._IETt- ._MKcuA:active:not(._2Jhli){background-color:rgba(50,54,58,.11)}._f4wOl ._yQDZ9{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._f4wOl ._yQDZ9._zhG5d{box-shadow:none}._f4wOl ._yQDZ9._zhG5d ._MKcuA{border-radius:6px}._f4wOl ._MKcuA{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._f4wOl ._MKcuA ._3AQiD{padding-left:20px}._f4wOl ._MKcuA:hover:not(disabled){border:1px solid #c2c2c2}._f4wOl ._MKcuA:active:not(._2Jhli){border:1px solid #898989}._f4wOl ._kd529{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._zhG5d ._kd529{display:none}._2Jhli{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._MKcuA:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._MKcuA:focus-visible:before{z-index:1}._IETt- ._MKcuA:focus-visible{border-color:transparent}";
|
|
4
|
+
var AccordionStyles = {"accordion":"_rJiNU","block-variant":"_f4wOl","header":"_MKcuA","headerIcon":"_NmLSJ","title":"_3AQiD","panel":"_kd529","default-variant":"_atnHh","disabled":"_2Jhli","outlined-variant":"_IETt-","section":"_yQDZ9","closed":"_zhG5d"};
|
|
5
|
+
var stylesheet="._rJiNU{width:100%;display:flex;flex-direction:column}._rJiNU._f4wOl{gap:20px}._MKcuA{display:flex;width:100%;border:none;outline:none;background-color:initial;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._MKcuA ._NmLSJ{margin-top:-3px}._3AQiD{flex:1}._kd529{padding:8px 16px 16px 24px;font-size:14px;line-height:20px;overflow:var(--accordion-panel-overflow,auto)}._atnHh ._MKcuA{border-radius:4px}._atnHh ._MKcuA:hover:not(._2Jhli){background-color:rgba(50,54,58,.08)}._atnHh ._MKcuA:active:not(._2Jhli){background-color:rgba(50,54,58,.11)}._IETt- ._MKcuA{font-weight:400;padding-left:12px;border-top:1px solid #eee}._IETt- ._MKcuA:hover:not(._2Jhli){background-color:rgba(50,54,58,.08)}._IETt- ._MKcuA:active:not(._2Jhli){background-color:rgba(50,54,58,.11)}._f4wOl ._yQDZ9{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._f4wOl ._yQDZ9._zhG5d{box-shadow:none}._f4wOl ._yQDZ9._zhG5d ._MKcuA{border-radius:6px}._f4wOl ._MKcuA{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._f4wOl ._MKcuA ._3AQiD{padding-left:20px}._f4wOl ._MKcuA:hover:not(disabled){border:1px solid #c2c2c2}._f4wOl ._MKcuA:active:not(._2Jhli){border:1px solid #898989}._f4wOl ._kd529{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._zhG5d ._kd529{display:none}._2Jhli{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._MKcuA:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._MKcuA:focus-visible:before{z-index:1}._IETt- ._MKcuA:focus-visible{border-color:transparent}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { AccordionStyles as default, stylesheet };
|
|
@@ -1,8 +1,54 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import buttonStyles from './Button2.js';
|
|
6
|
+
import { useInputGroupContext } from '../InputGroup/InputGroupProvider.js';
|
|
2
7
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
const _excluded = ["children", "kind", "disabled", "small", "full", "className", "type", "onClick", "onKeyDown", "aria-disabled"];
|
|
9
|
+
const Button = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
10
|
+
let children = _ref.children,
|
|
11
|
+
_ref$kind = _ref.kind,
|
|
12
|
+
kind = _ref$kind === void 0 ? 'default' : _ref$kind,
|
|
13
|
+
_ref$disabled = _ref.disabled,
|
|
14
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15
|
+
_ref$small = _ref.small,
|
|
16
|
+
small = _ref$small === void 0 ? false : _ref$small,
|
|
17
|
+
_ref$full = _ref.full,
|
|
18
|
+
full = _ref$full === void 0 ? false : _ref$full,
|
|
19
|
+
_ref$className = _ref.className,
|
|
20
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
21
|
+
_ref$type = _ref.type,
|
|
22
|
+
type = _ref$type === void 0 ? 'button' : _ref$type,
|
|
23
|
+
onClick = _ref.onClick,
|
|
24
|
+
onKeyDown = _ref.onKeyDown,
|
|
25
|
+
ariaDisabled = _ref['aria-disabled'],
|
|
26
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
27
|
+
const inputGroupContext = useInputGroupContext();
|
|
28
|
+
const classes = classNames(className, buttonStyles.btn, inputGroupContext.className, {
|
|
29
|
+
[buttonStyles[kind]]: kind,
|
|
30
|
+
[buttonStyles.disabled]: disabled,
|
|
31
|
+
[buttonStyles.small]: inputGroupContext.applySmall(small),
|
|
32
|
+
[buttonStyles.full]: inputGroupContext.applyFull(full)
|
|
33
|
+
});
|
|
34
|
+
const clickHandler = e => {
|
|
35
|
+
if (disabled) {
|
|
36
|
+
// stops form submission for type="submit"
|
|
37
|
+
return e.preventDefault();
|
|
38
|
+
}
|
|
39
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
40
|
+
};
|
|
41
|
+
const keyDownHandler = disabled ? undefined : onKeyDown;
|
|
42
|
+
return /*#__PURE__*/ /* eslint-disable react/button-has-type */React__default.createElement("button", _extends({}, rest, {
|
|
43
|
+
"aria-disabled": ariaDisabled !== null && ariaDisabled !== void 0 ? ariaDisabled : disabled,
|
|
44
|
+
type: type,
|
|
45
|
+
className: classes,
|
|
46
|
+
ref: ref,
|
|
47
|
+
onClick: clickHandler,
|
|
48
|
+
onKeyDown: keyDownHandler
|
|
49
|
+
}), children)
|
|
50
|
+
/* eslint-disable react/button-has-type */;
|
|
51
|
+
});
|
|
52
|
+
Button.displayName = 'Button';
|
|
7
53
|
|
|
8
|
-
export {
|
|
54
|
+
export { Button };
|
|
@@ -1,54 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import buttonStyles from './Button.js';
|
|
6
|
-
import { useInputGroupContext } from '../InputGroup/InputGroupProvider.js';
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
7
2
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
kind = _ref$kind === void 0 ? 'default' : _ref$kind,
|
|
13
|
-
_ref$disabled = _ref.disabled,
|
|
14
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15
|
-
_ref$small = _ref.small,
|
|
16
|
-
small = _ref$small === void 0 ? false : _ref$small,
|
|
17
|
-
_ref$full = _ref.full,
|
|
18
|
-
full = _ref$full === void 0 ? false : _ref$full,
|
|
19
|
-
_ref$className = _ref.className,
|
|
20
|
-
className = _ref$className === void 0 ? '' : _ref$className,
|
|
21
|
-
_ref$type = _ref.type,
|
|
22
|
-
type = _ref$type === void 0 ? 'button' : _ref$type,
|
|
23
|
-
onClick = _ref.onClick,
|
|
24
|
-
onKeyDown = _ref.onKeyDown,
|
|
25
|
-
ariaDisabled = _ref['aria-disabled'],
|
|
26
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
27
|
-
const inputGroupContext = useInputGroupContext();
|
|
28
|
-
const classes = classNames(className, buttonStyles.btn, inputGroupContext.className, {
|
|
29
|
-
[buttonStyles[kind]]: kind,
|
|
30
|
-
[buttonStyles.disabled]: disabled,
|
|
31
|
-
[buttonStyles.small]: inputGroupContext.applySmall(small),
|
|
32
|
-
[buttonStyles.full]: inputGroupContext.applyFull(full)
|
|
33
|
-
});
|
|
34
|
-
const clickHandler = e => {
|
|
35
|
-
if (disabled) {
|
|
36
|
-
// stops form submission for type="submit"
|
|
37
|
-
return e.preventDefault();
|
|
38
|
-
}
|
|
39
|
-
onClick === null || onClick === void 0 || onClick(e);
|
|
40
|
-
};
|
|
41
|
-
const keyDownHandler = disabled ? undefined : onKeyDown;
|
|
42
|
-
return /*#__PURE__*/ /* eslint-disable react/button-has-type */React__default.createElement("button", _extends({}, rest, {
|
|
43
|
-
"aria-disabled": ariaDisabled !== null && ariaDisabled !== void 0 ? ariaDisabled : disabled,
|
|
44
|
-
type: type,
|
|
45
|
-
className: classes,
|
|
46
|
-
ref: ref,
|
|
47
|
-
onClick: clickHandler,
|
|
48
|
-
onKeyDown: keyDownHandler
|
|
49
|
-
}), children)
|
|
50
|
-
/* eslint-disable react/button-has-type */;
|
|
51
|
-
});
|
|
52
|
-
Button.displayName = 'Button';
|
|
3
|
+
var css_248z = "._MklU3{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;-webkit-text-decoration:none;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._MklU3._WMmb2{padding:0 8px;height:26px;min-height:26px}._MklU3._Z53FF{display:block;width:100%}._MklU3._fg6S-{cursor:not-allowed}._MklU3:active:focus,._MklU3:focus{outline:none}._MklU3._-iW70{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._MklU3._-iW70:hover:not(._fg6S-){background-color:#eee}._MklU3._-iW70:active:not(._fg6S-){background-color:#e5e5e5}._MklU3._-iW70._fg6S-{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._MklU3._6-c0l{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._MklU3._6-c0l:hover:not(._fg6S-){background-color:#085caf;border-color:#085caf}._MklU3._6-c0l:active:not(._fg6S-){background-color:#0854a1;border-color:#0854a1}._MklU3._6-c0l._fg6S-{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._MklU3._rUkgN{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._MklU3._rUkgN:hover:not(._fg6S-){background-color:#eef5fc}._MklU3._rUkgN:active:not(._fg6S-){background-color:#e1edf9}._MklU3._rUkgN._fg6S-{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._MklU3._5TzFr{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._MklU3._5TzFr:hover:not(._fg6S-){background-color:#eef5fc;border-color:#eef5fc}._MklU3._5TzFr:active:not(._fg6S-){background-color:#e1edf9;border-color:#e1edf9}._MklU3._5TzFr._fg6S-{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._MklU3._SobjV{color:#0b6ed0;fill:#0b6ed0;padding:0}._MklU3._SobjV:hover:not(._fg6S-){color:#085caf}._MklU3._SobjV:active:not(._fg6S-){color:#0854a1}._MklU3._SobjV._fg6S-{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._MklU3._I-dce{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._MklU3._I-dce:hover:not(._fg6S-){background-color:#ffecec}._MklU3._I-dce:active:not(._fg6S-){background-color:#ffdbdb}._MklU3._I-dce._fg6S-{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._MklU3:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var buttonStyles = {"btn":"_MklU3","small":"_WMmb2","full":"_Z53FF","disabled":"_fg6S-","default":"_-iW70","primary":"_6-c0l","secondary":"_rUkgN","tertiary":"_5TzFr","link":"_SobjV","danger":"_I-dce"};
|
|
5
|
+
var stylesheet="._MklU3{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;-webkit-text-decoration:none;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._MklU3._WMmb2{padding:0 8px;height:26px;min-height:26px}._MklU3._Z53FF{display:block;width:100%}._MklU3._fg6S-{cursor:not-allowed}._MklU3:active:focus,._MklU3:focus{outline:none}._MklU3._-iW70{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._MklU3._-iW70:hover:not(._fg6S-){background-color:#eee}._MklU3._-iW70:active:not(._fg6S-){background-color:#e5e5e5}._MklU3._-iW70._fg6S-{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._MklU3._6-c0l{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._MklU3._6-c0l:hover:not(._fg6S-){background-color:#085caf;border-color:#085caf}._MklU3._6-c0l:active:not(._fg6S-){background-color:#0854a1;border-color:#0854a1}._MklU3._6-c0l._fg6S-{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._MklU3._rUkgN{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._MklU3._rUkgN:hover:not(._fg6S-){background-color:#eef5fc}._MklU3._rUkgN:active:not(._fg6S-){background-color:#e1edf9}._MklU3._rUkgN._fg6S-{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._MklU3._5TzFr{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._MklU3._5TzFr:hover:not(._fg6S-){background-color:#eef5fc;border-color:#eef5fc}._MklU3._5TzFr:active:not(._fg6S-){background-color:#e1edf9;border-color:#e1edf9}._MklU3._5TzFr._fg6S-{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._MklU3._SobjV{color:#0b6ed0;fill:#0b6ed0;padding:0}._MklU3._SobjV:hover:not(._fg6S-){color:#085caf}._MklU3._SobjV:active:not(._fg6S-){color:#0854a1}._MklU3._SobjV._fg6S-{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._MklU3._I-dce{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._MklU3._I-dce:hover:not(._fg6S-){background-color:#ffecec}._MklU3._I-dce:active:not(._fg6S-){background-color:#ffdbdb}._MklU3._I-dce._fg6S-{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._MklU3:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
53
7
|
|
|
54
|
-
export {
|
|
8
|
+
export { buttonStyles as default, stylesheet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Button } from './
|
|
1
|
+
export { Button } from './Button.js';
|
|
@@ -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 = {"buttonGroup":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._rhL2W{display:inline-flex;align-items:stretch}._rhL2W._AIirk{width:100%}._rhL2W ._zamy0{margin:0;min-width:0}._rhL2W ._zamy0:focus{z-index:20}._rhL2W ._zamy0:hover{z-index:10}._rhL2W ._zamy0._SfKVO{border:none}._rhL2W ._zamy0._AIirk{display:inline-flex;width:auto;flex-grow:1}._rhL2W ._zamy0: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}._rhL2W ._zamy0:first-child._SfKVO{border-right:1px solid #fff}._rhL2W ._zamy0:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._rhL2W ._zamy0:not(:last-child):not(:first-child)._SfKVO{border-left:1px solid #fff;border-right:1px solid #fff}._rhL2W ._zamy0:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._rhL2W ._zamy0:last-child._SfKVO{border-left:1px solid #fff}._rhL2W ._zamy0:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
|
|
4
|
+
var styles = {"buttonGroup":"_rhL2W","full":"_AIirk","buttonGroupElement":"_zamy0","primary":"_SfKVO"};
|
|
5
|
+
var stylesheet="._rhL2W{display:inline-flex;align-items:stretch}._rhL2W._AIirk{width:100%}._rhL2W ._zamy0{margin:0;min-width:0}._rhL2W ._zamy0:focus{z-index:20}._rhL2W ._zamy0:hover{z-index:10}._rhL2W ._zamy0._SfKVO{border:none}._rhL2W ._zamy0._AIirk{display:inline-flex;width:auto;flex-grow:1}._rhL2W ._zamy0: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}._rhL2W ._zamy0:first-child._SfKVO{border-right:1px solid #fff}._rhL2W ._zamy0:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._rhL2W ._zamy0:not(:last-child):not(:first-child)._SfKVO{border-left:1px solid #fff;border-right:1px solid #fff}._rhL2W ._zamy0:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._rhL2W ._zamy0:last-child._SfKVO{border-left:1px solid #fff}._rhL2W ._zamy0:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius: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 = {"checkbox":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._3JClD{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._3JClD,._k6D0Z{cursor:pointer;height:16px;width:16px}._k6D0Z{position:absolute;opacity:0;z-index:10}._k6D0Z:disabled{cursor:not-allowed}._JzuJx{color:#32363a;display:flex;align-items:center;cursor:pointer}._Ezt9-{cursor:auto;color:hsla(0,0%,53.7%,.4)}._rWCAo{margin-right:12px;flex-shrink:0}._oP3mZ{position:absolute;top:0;left:0}._rJDEd{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}._k6D0Z:hover ._rJDEd:not(._z21R0)._RK6Bu,._rJDEd:not(._z21R0):hover._RK6Bu{background-color:#085caf}._k6D0Z:hover ._rJDEd:not(._z21R0):not(._RK6Bu),._rJDEd:not(._z21R0):hover:not(._RK6Bu){border-color:#0b6ed0}._rJDEd ._fDlKe{fill:#0b6ed0;fill-opacity:0}._rJDEd._RK6Bu ._fDlKe{fill-opacity:1}._rJDEd._RK6Bu:not(._z21R0){border-color:transparent;background-color:#0b6ed0}._rJDEd._RK6Bu:not(._z21R0) ._fDlKe{fill:#fff}._rJDEd._z21R0{opacity:.4}._rJDEd ._qgUoT{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._DICR3{color:#32363a;margin-left:12px}._zfzeN{display:flex;align-items:center}._zfzeN:has(input:disabled) ._DICR3{color:rgba(50,54,58,.4)}._zfzeN:not(:has(input:disabled)) ._DICR3{cursor:pointer}._k6D0Z:focus-visible~._oP3mZ>._rJDEd{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"checkbox":"_3JClD","input":"_k6D0Z","label":"_JzuJx","labelDisabled":"_Ezt9-","wrappedInput":"_rWCAo","visualCheck":"_oP3mZ","check":"_rJDEd","disabled":"_z21R0","checked":"_RK6Bu","checkIcon":"_fDlKe","mixed":"_qgUoT","checkboxLabel":"_DICR3","checkboxField":"_zfzeN"};
|
|
5
|
+
var stylesheet="._3JClD{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._3JClD,._k6D0Z{cursor:pointer;height:16px;width:16px}._k6D0Z{position:absolute;opacity:0;z-index:10}._k6D0Z:disabled{cursor:not-allowed}._JzuJx{color:#32363a;display:flex;align-items:center;cursor:pointer}._Ezt9-{cursor:auto;color:hsla(0,0%,53.7%,.4)}._rWCAo{margin-right:12px;flex-shrink:0}._oP3mZ{position:absolute;top:0;left:0}._rJDEd{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}._k6D0Z:hover ._rJDEd:not(._z21R0)._RK6Bu,._rJDEd:not(._z21R0):hover._RK6Bu{background-color:#085caf}._k6D0Z:hover ._rJDEd:not(._z21R0):not(._RK6Bu),._rJDEd:not(._z21R0):hover:not(._RK6Bu){border-color:#0b6ed0}._rJDEd ._fDlKe{fill:#0b6ed0;fill-opacity:0}._rJDEd._RK6Bu ._fDlKe{fill-opacity:1}._rJDEd._RK6Bu:not(._z21R0){border-color:transparent;background-color:#0b6ed0}._rJDEd._RK6Bu:not(._z21R0) ._fDlKe{fill:#fff}._rJDEd._z21R0{opacity:.4}._rJDEd ._qgUoT{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._DICR3{color:#32363a;margin-left:12px}._zfzeN{display:flex;align-items:center}._zfzeN:has(input:disabled) ._DICR3{color:rgba(50,54,58,.4)}._zfzeN:not(:has(input:disabled)) ._DICR3{cursor:pointer}._k6D0Z:focus-visible~._oP3mZ>._rJDEd{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 = {"colorPicker":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._BLRdE{display:flex;line-height:1.15}._BLRdE ._ahauG{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._BLRdE ._ahauG:hover:not(._4LZrR){background-color:#f5f5f5}._BLRdE ._ahauG._4LZrR{cursor:not-allowed;fill:rgba(81,85,89,.4)}._BLRdE ._ahauG:active:not(._4LZrR){background-color:#eee}._BLRdE ._09UEJ{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._BLRdE ._09UEJ._4LZrR{border-color:#d9d9d9}._BLRdE ._MhbKL{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._BLRdE ._YYBGH{width:36px;height:36px;border:1px solid #898989;border-right-width:0}._BLRdE ._YYBGH._4LZrR{border-color:#d9d9d9}._BLRdE ._t1Z-X{height:36px;border:1px solid #898989;border-width:1px 0}._BLRdE ._t1Z-X._4LZrR{border-color:#d9d9d9}._BLRdE ._77j4p{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._BLRdE ._VIJG1{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._BLRdE ._VIJG1._8neE3{color:#9d9fa1}._ahauG:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._JDd11{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._JDd11 ._Z800t{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._JDd11 ._-26Xy{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._JDd11 ._CQ8R-{display:flex;justify-content:space-between;margin:12px 0}._JDd11 ._CQ8R-._soJJj{margin-bottom:0}._JDd11 ._gQGBl{display:flex}._JDd11 ._qF98L{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._JDd11 ._8qyev{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._JDd11 ._3Mq-S{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._JDd11 ._8h6HU{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red 0,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._JDd11 ._8h6HU._7UP3m{height:16px;margin-bottom:6px}._JDd11 ._rpiIz{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._JDd11 ._rpiIz._7UP3m{height:16px}._JDd11 ._F1ISz{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._JDd11 ._vSfKO{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._JDd11 ._stqBp{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._JDd11 ._4OOqe{display:flex;justify-content:space-between}._JDd11 ._zi4MG{display:flex;flex-direction:column;align-items:center}._JDd11 ._zi4MG._-R5I-{margin-left:4px}._JDd11 ._I0VYZ{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._JDd11 ._SIMxC{padding:3px 4px 3px 13px!important;width:78px}._JDd11 ._-zpOv{text-align:right;padding:3px 4px 3px 0!important;width:34px}._JDd11 ._MGpta{text-align:right;padding:3px 16px 3px 0!important;width:46px}._JDd11 ._VPgzW{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._JDd11 ._ahkbo{line-height:22px}._JDd11 ._LEqx9{display:flex}._JDd11 ._j65ac{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._JDd11 ._j65ac._QBOwY{margin-top:0}._JDd11 ._P7K-M{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._JDd11 ._9oyFe,._JDd11 ._K57Gc{margin-top:12px}._6mTdD{position:relative}._R6Aov{display:none}._u12gg{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._-26Xy:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._P7K-M:focus-visible,._rpiIz:focus-visible,._stqBp:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"colorPicker":"_BLRdE","colorPickerButton":"_ahauG","disabledButton":"_4LZrR","colorPickerButtonPreview":"_09UEJ","alphaBackground":"_MhbKL","colorPickerButtonAlphaPreview":"_YYBGH","caretIcon":"_t1Z-X","colorPickerInput":"_77j4p","colorPickerInputDecoration":"_VIJG1","disabledDecoration":"_8neE3","colorPickerFlyout":"_JDd11","saturationGrid":"_Z800t","saturationLoop":"_-26Xy","sliderGroup":"_CQ8R-","removeBottomMargin":"_soJJj","sliderPreviewContainer":"_gQGBl","sliderPreview":"_qF98L","sliderPreviewAlpha":"_8qyev","sliderPreviewAlphaBackground":"_3Mq-S","hueSliderRail":"_8h6HU","alphaEnabled":"_7UP3m","hueSliderThumb":"_rpiIz","alphaSliderRailBackground":"_F1ISz","alphaSliderRail":"_vSfKO","alphaSliderThumb":"_stqBp","hexInputGroup":"_4OOqe","hexInputContainer":"_zi4MG","rgbInputContainer":"_-R5I-","hexInputDecoration":"_I0VYZ","hexInput":"_SIMxC","rgbInput":"_-zpOv","alphaInput":"_MGpta","alphaInputDecoration":"_VPgzW","inputLabel":"_ahkbo","rgbContainer":"_LEqx9","palette":"_j65ac","removeUpperMargin":"_QBOwY","swatch":"_P7K-M","noColorButton":"_9oyFe","clearSelectionButton":"_K57Gc","relativePositionContainer":"_6mTdD","hidden":"_R6Aov","hiddenLiveRegion":"_u12gg"};
|
|
5
|
+
var stylesheet="._BLRdE{display:flex;line-height:1.15}._BLRdE ._ahauG{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._BLRdE ._ahauG:hover:not(._4LZrR){background-color:#f5f5f5}._BLRdE ._ahauG._4LZrR{cursor:not-allowed;fill:rgba(81,85,89,.4)}._BLRdE ._ahauG:active:not(._4LZrR){background-color:#eee}._BLRdE ._09UEJ{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._BLRdE ._09UEJ._4LZrR{border-color:#d9d9d9}._BLRdE ._MhbKL{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._BLRdE ._YYBGH{width:36px;height:36px;border:1px solid #898989;border-right-width:0}._BLRdE ._YYBGH._4LZrR{border-color:#d9d9d9}._BLRdE ._t1Z-X{height:36px;border:1px solid #898989;border-width:1px 0}._BLRdE ._t1Z-X._4LZrR{border-color:#d9d9d9}._BLRdE ._77j4p{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._BLRdE ._VIJG1{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._BLRdE ._VIJG1._8neE3{color:#9d9fa1}._ahauG:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._JDd11{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._JDd11 ._Z800t{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._JDd11 ._-26Xy{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._JDd11 ._CQ8R-{display:flex;justify-content:space-between;margin:12px 0}._JDd11 ._CQ8R-._soJJj{margin-bottom:0}._JDd11 ._gQGBl{display:flex}._JDd11 ._qF98L{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._JDd11 ._8qyev{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._JDd11 ._3Mq-S{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._JDd11 ._8h6HU{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red 0,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._JDd11 ._8h6HU._7UP3m{height:16px;margin-bottom:6px}._JDd11 ._rpiIz{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._JDd11 ._rpiIz._7UP3m{height:16px}._JDd11 ._F1ISz{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._JDd11 ._vSfKO{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._JDd11 ._stqBp{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._JDd11 ._4OOqe{display:flex;justify-content:space-between}._JDd11 ._zi4MG{display:flex;flex-direction:column;align-items:center}._JDd11 ._zi4MG._-R5I-{margin-left:4px}._JDd11 ._I0VYZ{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._JDd11 ._SIMxC{padding:3px 4px 3px 13px!important;width:78px}._JDd11 ._-zpOv{text-align:right;padding:3px 4px 3px 0!important;width:34px}._JDd11 ._MGpta{text-align:right;padding:3px 16px 3px 0!important;width:46px}._JDd11 ._VPgzW{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._JDd11 ._ahkbo{line-height:22px}._JDd11 ._LEqx9{display:flex}._JDd11 ._j65ac{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._JDd11 ._j65ac._QBOwY{margin-top:0}._JDd11 ._P7K-M{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._JDd11 ._9oyFe,._JDd11 ._K57Gc{margin-top:12px}._6mTdD{position:relative}._R6Aov{display:none}._u12gg{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._-26Xy:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._P7K-M:focus-visible,._rpiIz:focus-visible,._stqBp: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 };
|
|
@@ -15,7 +15,7 @@ import '../Button/index.js';
|
|
|
15
15
|
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
16
16
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
17
17
|
import hexToRgbaString from './utils/hexToRgbaString.js';
|
|
18
|
-
import { Button } from '../Button/
|
|
18
|
+
import { Button } from '../Button/Button.js';
|
|
19
19
|
|
|
20
20
|
const _excluded = ["color", "hsv", "isAlphaEnabled", "className", "containerId", "palette", "onSaturationChange", "onHueChange", "onAlphaChange", "onHexBlur", "style", "onColorSwatchClick", "zIndex", "dataTestId", "hideHSVSelector", "hideFlyoutInputs", "hasSelection", "noColorHandlers"];
|
|
21
21
|
const ColorPickerFlyout = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -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 = {"combobox":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._qVtIz{position:relative;display:inline-block}._j9MHJ{padding-right:36px}._j9MHJ._fhllt{box-shadow:none!important;border:1px solid #898989!important}._hjxwF{margin-top:4px}._cAhjR{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._cAhjR:hover{background-color:rgba(50,54,58,.08)}._cAhjR:active{background-color:rgba(50,54,58,.11)}._cAhjR._259v-{transform:rotate(-180deg)}._cAhjR._g5ipX{opacity:.4}._EbN6H{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._g5ipX{cursor:not-allowed}._g5ipX:hover{background-color:initial}";
|
|
4
|
+
var styles = {"combobox":"_qVtIz","comboboxInput":"_j9MHJ","ignoreFocusStyle":"_fhllt","labelledInput":"_hjxwF","comboboxIcon":"_cAhjR","open":"_259v-","disabled":"_g5ipX","comboboxEmpty":"_EbN6H"};
|
|
5
|
+
var stylesheet="._qVtIz{position:relative;display:inline-block}._j9MHJ{padding-right:36px}._j9MHJ._fhllt{box-shadow:none!important;border:1px solid #898989!important}._hjxwF{margin-top:4px}._cAhjR{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._cAhjR:hover{background-color:rgba(50,54,58,.08)}._cAhjR:active{background-color:rgba(50,54,58,.11)}._cAhjR._259v-{transform:rotate(-180deg)}._cAhjR._g5ipX{opacity:.4}._EbN6H{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._g5ipX{cursor:not-allowed}._g5ipX:hover{background-color:initial}";
|
|
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 = {"paneContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._FWCqQ{grid-area:configPane;position:relative;height:100%}._u0Bro{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;width:292px;border-right:1px solid #eee;box-sizing:border-box}@media (prefers-reduced-motion:no-preference){._u0Bro{transition:width .5s}}._C2Xij._Um5qk ._u0Bro,._C2Xij:not(._v0JjD) ._u0Bro{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._v0JjD ._u0Bro{width:0}._Um5qk._v0JjD ._u0Bro{width:30px;cursor:pointer}._wun-2{height:100%;position:relative;width:292px}._C2Xij ._wun-2,._v0JjD ._wun-2{width:0}._Um5qk._C2Xij ._wun-2,._Um5qk._v0JjD ._wun-2{width:30px}@media (prefers-reduced-motion:no-preference){._lOKNK ._wun-2{transition:width .5s}}._qJdMA{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._v0JjD ._qJdMA{visibility:hidden}._lOKNK ._qJdMA{visibility:visible}._qJdMA ._Zxx3y{width:252px;margin-left:20px}._3Mw-f{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._ryCa3{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._ryCa3 *{font-weight:400;font-size:16px;margin:0}._hwpmb{position:absolute;top:0;left:290px;width:12px;cursor:pointer;height:100%}@media (prefers-reduced-motion:no-preference){._hwpmb{transition:left .5s}}._v0JjD ._hwpmb{left:0}._Um5qk._v0JjD ._hwpmb{left:30px}._hwpmb ._V5BTY{width:4px;height:100%}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._V5BTY,._hwpmb:hover ._V5BTY{background-color:#9dc5ed}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF>span,._hwpmb:hover ._oZLpF>span{background-color:#0b6ed0;border-color:#0b6ed0}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF>span>svg,._hwpmb:hover ._oZLpF>span>svg{fill:#fff}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF:active>span,._hwpmb:hover ._oZLpF:active>span{background-color:#0854a1;border-color:#0854a1}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF:active>span>svg,._hwpmb:hover ._oZLpF:active>span>svg{fill:#fff}._hwpmb ._oZLpF{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:initial;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._hwpmb ._oZLpF:active>span{background-color:#0854a1;border-color:#0854a1}._hwpmb ._oZLpF:active>span>svg{fill:#fff}._hwpmb ._oZLpF>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._hwpmb ._oZLpF>span>svg{fill:#515559;border-radius:50%}._oZLpF:focus-visible{border-color:#0a3f88}";
|
|
4
|
+
var styles = {"paneContainer":"_FWCqQ","paneContentContainer":"_u0Bro","unpinned":"_C2Xij","hidden":"_v0JjD","preview":"_Um5qk","spacer":"_wun-2","transitioning":"_lOKNK","paneContent":"_qJdMA","paneContentInner":"_Zxx3y","header":"_3Mw-f","title":"_ryCa3","clickableArea":"_hwpmb","hoverBorder":"_V5BTY","toolbarPanelExpandCollapseButton":"_oZLpF"};
|
|
5
|
+
var stylesheet="._FWCqQ{grid-area:configPane;position:relative;height:100%}._u0Bro{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;width:292px;border-right:1px solid #eee;box-sizing:border-box}@media (prefers-reduced-motion:no-preference){._u0Bro{transition:width .5s}}._C2Xij._Um5qk ._u0Bro,._C2Xij:not(._v0JjD) ._u0Bro{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._v0JjD ._u0Bro{width:0}._Um5qk._v0JjD ._u0Bro{width:30px;cursor:pointer}._wun-2{height:100%;position:relative;width:292px}._C2Xij ._wun-2,._v0JjD ._wun-2{width:0}._Um5qk._C2Xij ._wun-2,._Um5qk._v0JjD ._wun-2{width:30px}@media (prefers-reduced-motion:no-preference){._lOKNK ._wun-2{transition:width .5s}}._qJdMA{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._v0JjD ._qJdMA{visibility:hidden}._lOKNK ._qJdMA{visibility:visible}._qJdMA ._Zxx3y{width:252px;margin-left:20px}._3Mw-f{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._ryCa3{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._ryCa3 *{font-weight:400;font-size:16px;margin:0}._hwpmb{position:absolute;top:0;left:290px;width:12px;cursor:pointer;height:100%}@media (prefers-reduced-motion:no-preference){._hwpmb{transition:left .5s}}._v0JjD ._hwpmb{left:0}._Um5qk._v0JjD ._hwpmb{left:30px}._hwpmb ._V5BTY{width:4px;height:100%}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._V5BTY,._hwpmb:hover ._V5BTY{background-color:#9dc5ed}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF>span,._hwpmb:hover ._oZLpF>span{background-color:#0b6ed0;border-color:#0b6ed0}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF>span>svg,._hwpmb:hover ._oZLpF>span>svg{fill:#fff}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF:active>span,._hwpmb:hover ._oZLpF:active>span{background-color:#0854a1;border-color:#0854a1}._Um5qk._v0JjD ._u0Bro:hover+._hwpmb ._oZLpF:active>span>svg,._hwpmb:hover ._oZLpF:active>span>svg{fill:#fff}._hwpmb ._oZLpF{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:initial;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._hwpmb ._oZLpF:active>span{background-color:#0854a1;border-color:#0854a1}._hwpmb ._oZLpF:active>span>svg{fill:#fff}._hwpmb ._oZLpF>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._hwpmb ._oZLpF>span>svg{fill:#515559;border-radius:50%}._oZLpF:focus-visible{border-color:#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 = {"divider":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._EX9sS{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4
|
+
var styles = {"divider":"_EX9sS"};
|
|
5
|
+
var stylesheet="._EX9sS{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
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 = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._EP1t1{max-width:100%;position:relative;display:inline-block}._k4rs7{width:100%}._mcJyz{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._mcJyz:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._mcJyz:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._mcJyz:disabled,._mcJyz[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._mcJyz._qwhvf{border-color:#b00}._mcJyz._qwhvf:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._mcJyz._QRsH5{min-width:120px;padding:0 4px 0 12px}._mcJyz._hjjC1{margin-top:4px}._mcJyz._h2I-1:not([aria-disabled=true]):not(:disabled){color:#32363a}._mcJyz ._IGfXD{min-height:10px}._mcJyz ._IGfXD._tIINf{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._mcJyz ._IGfXD._LAlDD{display:inline-flex;align-items:center}._mcJyz ._YLPJ9{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._mcJyz ._YLPJ9._VMR-4{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._mcJyz ._YLPJ9._83T5D{transform:rotate(-180deg)}._Qjxvt[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._DMoYC{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._XILKu{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._F8uCP{fill:#515559}._NvO2R{margin:2px 12px 2px 0}._NvO2R._-pKe9>svg{border-color:#0b6ed0}._O4HR3{width:100%}";
|
|
4
|
+
var styles = {"container":"_EP1t1","formFieldWrapper":"_k4rs7","button":"_mcJyz","invalid":"_qwhvf","hasText":"_QRsH5","labelled":"_hjjC1","selected":"_h2I-1","buttonLabel":"_IGfXD","isString":"_tIINf","isNode":"_LAlDD","icon":"_YLPJ9","disabled":"_VMR-4","open":"_83T5D","option":"_Qjxvt","search":"_DMoYC","emptyOption":"_XILKu","searchIcon":"_F8uCP","checkbox":"_NvO2R","highlighted":"_-pKe9","searchInput":"_O4HR3"};
|
|
5
|
+
var stylesheet="._EP1t1{max-width:100%;position:relative;display:inline-block}._k4rs7{width:100%}._mcJyz{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._mcJyz:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._mcJyz:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._mcJyz:disabled,._mcJyz[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._mcJyz._qwhvf{border-color:#b00}._mcJyz._qwhvf:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._mcJyz._QRsH5{min-width:120px;padding:0 4px 0 12px}._mcJyz._hjjC1{margin-top:4px}._mcJyz._h2I-1:not([aria-disabled=true]):not(:disabled){color:#32363a}._mcJyz ._IGfXD{min-height:10px}._mcJyz ._IGfXD._tIINf{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._mcJyz ._IGfXD._LAlDD{display:inline-flex;align-items:center}._mcJyz ._YLPJ9{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._mcJyz ._YLPJ9._VMR-4{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._mcJyz ._YLPJ9._83T5D{transform:rotate(-180deg)}._Qjxvt[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._DMoYC{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._XILKu{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._F8uCP{fill:#515559}._NvO2R{margin:2px 12px 2px 0}._NvO2R._-pKe9>svg{border-color:#0b6ed0}._O4HR3{width:100%}";
|
|
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 };
|
|
@@ -13,7 +13,7 @@ import useControllableState from '../../hooks/useControllableState/useControllab
|
|
|
13
13
|
import useId from '../../hooks/useId/useId.js';
|
|
14
14
|
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
15
15
|
import concatIds from '../../utils/concatIds/concatIds.js';
|
|
16
|
-
import { Button } from '../Button/
|
|
16
|
+
import { Button } from '../Button/Button.js';
|
|
17
17
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
18
18
|
|
|
19
19
|
const _excluded = ["className", "disabled", "files", "multiple", "onChange", "aria-label", "aria-labelledby", "aria-describedby", "id"];
|
|
@@ -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 = "._qd3Pj{position:relative}._qd3Pj:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._tzs9Y{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._sB-xn{margin-left:16px;font-size:14px;color:#32363a}._sB-xn ._ocPD-{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_qd3Pj","fileInput":"_tzs9Y","fileDetails":"_sB-xn","fileName":"_ocPD-"};
|
|
5
|
+
var stylesheet="._qd3Pj{position:relative}._qd3Pj:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._tzs9Y{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._sB-xn{margin-left:16px;font-size:14px;color:#32363a}._sB-xn ._ocPD-{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 = "._hOE-N{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._iSDDF{color:#6a6d70;fill:#6a6d70}._qagyH{color:#b00;fill:#b00}._ASijm,._xtMlw{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_hOE-N","helperText":"_iSDDF","errorText":"_qagyH","errorIcon":"_ASijm","readOnlyIcon":"_xtMlw"};
|
|
5
|
+
var stylesheet="._hOE-N{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._iSDDF{color:#6a6d70;fill:#6a6d70}._qagyH{color:#b00;fill:#b00}._ASijm,._xtMlw{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 = "._aTZa-{display:flex;flex-direction:column;align-items:flex-start}._qLzVa{margin-top:6px;max-width:100%}._qLzVa *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_aTZa-","captionContainer":"_qLzVa"};
|
|
5
|
+
var stylesheet="._aTZa-{display:flex;flex-direction:column;align-items:flex-start}._qLzVa{margin-top:6px;max-width:100%}._qLzVa *+*{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 = "._aQnPd{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _eaTx8{0%{transform:scale3d(.7,.7,.7);opacity:0}}._-On5I{animation:_eaTx8 both;animation-duration:.2s}@keyframes _WZalS{to{transform:scale3d(.7,.7,.7);opacity:0}}._blPS7{animation:_WZalS both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"dialog":"_aQnPd","transitionIn":"_-On5I","showAnimation":"_eaTx8","transitionOut":"_blPS7","hideAnimation":"_WZalS"};
|
|
5
|
+
var stylesheet="._aQnPd{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _eaTx8{0%{transform:scale3d(.7,.7,.7);opacity:0}}._-On5I{animation:_eaTx8 both;animation-duration:.2s}@keyframes _WZalS{to{transform:scale3d(.7,.7,.7);opacity:0}}._blPS7{animation:_WZalS 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 = "._flBIG{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:initial;transition:background .2s,color .2s}._flBIG:focus{outline:none}._flBIG:hover:not(._XhFEh){background-color:rgba(50,54,58,.08)}._flBIG._gT1Ue:not(._XhFEh),._flBIG:active:not(._XhFEh){background-color:rgba(50,54,58,.11);stroke-width:2}._flBIG._XhFEh{cursor:not-allowed;fill:rgba(81,85,89,.6)}._flBIG:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var iconButtonStyles = {"button":"_flBIG","disabled":"_XhFEh","active":"_gT1Ue"};
|
|
5
|
+
var stylesheet="._flBIG{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:initial;transition:background .2s,color .2s}._flBIG:focus{outline:none}._flBIG:hover:not(._XhFEh){background-color:rgba(50,54,58,.08)}._flBIG._gT1Ue:not(._XhFEh),._flBIG:active:not(._XhFEh){background-color:rgba(50,54,58,.11);stroke-width:2}._flBIG._XhFEh{cursor:not-allowed;fill:rgba(81,85,89,.6)}._flBIG: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 };
|