@qualtrics/ui-react 2.48.0 → 2.49.1-alpha.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/__shared/cjs/{index-eb30b09e.js → index-43c0270d.js} +3 -3
- package/dist/__shared/cjs/{index-06b81ccf.js → index-65fe6015.js} +212 -213
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/Button2.js +9 -13
- 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/Palette.js +33 -39
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane.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 +7 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.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/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/BaseMenu.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/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/TabContextProvider.js +0 -2
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +1 -1
- package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +1 -1
- package/dist/components/deprecated_Tabs/Tabs.js +2 -2
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.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/index.d.ts +0 -2
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +8 -6
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +6 -1
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +31 -9
- package/dist/next/AdvancedTable/AdvancedTableDnDContext.js +32 -0
- package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +9 -11
- package/dist/next/AdvancedTable/AdvancedTableRow.js +6 -1
- package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +12 -3
- package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +30 -138
- package/dist/next/AdvancedTable/useDragAndDropConfig.js +191 -0
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer.js +1 -1
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Hooks/usePaneSearch.js +12 -7
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +1 -1
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -0
- 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/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +14 -12
- package/dist/next/index.js +312 -163
- package/dist/translations-en.js +2 -1
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/Text/Text.js +1 -1
- package/dist/utils/Translation/containsComponentOrElement.js +6 -3
- package/dist/utils/Translation/useTranslation.js +5 -1
- package/icons/package.json +9 -9
- package/next/package.json +10 -10
- package/package.json +42 -42
|
@@ -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 = "._gLkxN{width:100%;display:flex;flex-direction:column}._gLkxN._MaZwG{grid-gap:20px;gap:20px}._TqrBH{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._TqrBH ._9SwZ2{margin-top:-3px}._LQnoC{flex:1}._60NgD{padding:8px 0 16px 24px;font-size:14px;line-height:20px;display:flex}._60NgD :last-child{padding-right:16px}._gZ3zr ._TqrBH{border-radius:4px}._gZ3zr ._TqrBH:hover:not(._xeiyB){background-color:rgba(50,54,58,.08)}._gZ3zr ._TqrBH:active:not(._xeiyB){background-color:rgba(50,54,58,.11)}._i0cU4 ._TqrBH{font-weight:400;padding-left:12px;border-top:1px solid #eee}._i0cU4 ._TqrBH:hover:not(._xeiyB){background-color:rgba(50,54,58,.08)}._i0cU4 ._TqrBH:active:not(._xeiyB){background-color:rgba(50,54,58,.11)}._MaZwG ._gt9mz{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._MaZwG ._gt9mz._oiUyj{box-shadow:none}._MaZwG ._gt9mz._oiUyj ._TqrBH{border-radius:6px}._MaZwG ._TqrBH{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._MaZwG ._TqrBH ._LQnoC{padding-left:20px}._MaZwG ._TqrBH:hover:not(disabled){border:1px solid #c2c2c2}._MaZwG ._TqrBH:active:not(._xeiyB){border:1px solid #898989}._MaZwG ._60NgD{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._oiUyj ._60NgD{display:none}._xeiyB{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._TqrBH.focus-visible,._TqrBH:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._TqrBH.focus-visible:before,._TqrBH:focus-visible:before{z-index:1}._i0cU4 ._TqrBH.focus-visible,._i0cU4 ._TqrBH:focus-visible{border-color:transparent}";
|
|
4
|
+
var AccordionStyles = {"accordion":"_gLkxN","block-variant":"_MaZwG","header":"_TqrBH","headerIcon":"_9SwZ2","title":"_LQnoC","panel":"_60NgD","default-variant":"_gZ3zr","disabled":"_xeiyB","outlined-variant":"_i0cU4","section":"_gt9mz","closed":"_oiUyj"};
|
|
5
|
+
var stylesheet="._gLkxN{width:100%;display:flex;flex-direction:column}._gLkxN._MaZwG{grid-gap:20px;gap:20px}._TqrBH{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._TqrBH ._9SwZ2{margin-top:-3px}._LQnoC{flex:1}._60NgD{padding:8px 0 16px 24px;font-size:14px;line-height:20px;display:flex}._60NgD :last-child{padding-right:16px}._gZ3zr ._TqrBH{border-radius:4px}._gZ3zr ._TqrBH:hover:not(._xeiyB){background-color:rgba(50,54,58,.08)}._gZ3zr ._TqrBH:active:not(._xeiyB){background-color:rgba(50,54,58,.11)}._i0cU4 ._TqrBH{font-weight:400;padding-left:12px;border-top:1px solid #eee}._i0cU4 ._TqrBH:hover:not(._xeiyB){background-color:rgba(50,54,58,.08)}._i0cU4 ._TqrBH:active:not(._xeiyB){background-color:rgba(50,54,58,.11)}._MaZwG ._gt9mz{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._MaZwG ._gt9mz._oiUyj{box-shadow:none}._MaZwG ._gt9mz._oiUyj ._TqrBH{border-radius:6px}._MaZwG ._TqrBH{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._MaZwG ._TqrBH ._LQnoC{padding-left:20px}._MaZwG ._TqrBH:hover:not(disabled){border:1px solid #c2c2c2}._MaZwG ._TqrBH:active:not(._xeiyB){border:1px solid #898989}._MaZwG ._60NgD{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._oiUyj ._60NgD{display:none}._xeiyB{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._TqrBH.focus-visible,._TqrBH:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._TqrBH.focus-visible:before,._TqrBH:focus-visible:before{z-index:1}._i0cU4 ._TqrBH.focus-visible,._i0cU4 ._TqrBH: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,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var buttonStyles = {"btn":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._fGkB2{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;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._fGkB2._pEPWC{padding:0 8px;height:26px;min-height:26px}._fGkB2._JORX2{display:block;width:100%}._fGkB2._TVZKs{cursor:not-allowed}._fGkB2:active:focus,._fGkB2:focus{outline:none}._fGkB2._pE-kH{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._fGkB2._pE-kH:hover:not(._TVZKs){background-color:#eee}._fGkB2._pE-kH:active:not(._TVZKs){background-color:#e5e5e5}._fGkB2._pE-kH._TVZKs{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)}._fGkB2._X6uFW{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._fGkB2._X6uFW:hover:not(._TVZKs){background-color:#085caf;border-color:#085caf}._fGkB2._X6uFW:active:not(._TVZKs){background-color:#0854a1;border-color:#0854a1}._fGkB2._X6uFW._TVZKs{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._fGkB2._3q-AW{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._fGkB2._3q-AW:hover:not(._TVZKs){background-color:#eef5fc}._fGkB2._3q-AW:active:not(._TVZKs){background-color:#e1edf9}._fGkB2._3q-AW._TVZKs{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)}._fGkB2._KT0t1{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._fGkB2._KT0t1:hover:not(._TVZKs){background-color:#eef5fc;border-color:#eef5fc}._fGkB2._KT0t1:active:not(._TVZKs){background-color:#e1edf9;border-color:#e1edf9}._fGkB2._KT0t1._TVZKs{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)}._fGkB2._c02ub{color:#0b6ed0;fill:#0b6ed0;padding:0}._fGkB2._c02ub:hover:not(._TVZKs){color:#085caf}._fGkB2._c02ub:active:not(._TVZKs){color:#0854a1}._fGkB2._c02ub._TVZKs{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._fGkB2._bEJWN{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._fGkB2._bEJWN:hover:not(._TVZKs){background-color:#ffecec}._fGkB2._bEJWN:active:not(._TVZKs){background-color:#ffdbdb}._fGkB2._bEJWN._TVZKs{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)}._fGkB2.focus-visible,._fGkB2:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var buttonStyles = {"btn":"_fGkB2","small":"_pEPWC","full":"_JORX2","disabled":"_TVZKs","default":"_pE-kH","primary":"_X6uFW","secondary":"_3q-AW","tertiary":"_KT0t1","link":"_c02ub","danger":"_bEJWN"};
|
|
5
|
+
var stylesheet="._fGkB2{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;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._fGkB2._pEPWC{padding:0 8px;height:26px;min-height:26px}._fGkB2._JORX2{display:block;width:100%}._fGkB2._TVZKs{cursor:not-allowed}._fGkB2:active:focus,._fGkB2:focus{outline:none}._fGkB2._pE-kH{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._fGkB2._pE-kH:hover:not(._TVZKs){background-color:#eee}._fGkB2._pE-kH:active:not(._TVZKs){background-color:#e5e5e5}._fGkB2._pE-kH._TVZKs{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)}._fGkB2._X6uFW{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._fGkB2._X6uFW:hover:not(._TVZKs){background-color:#085caf;border-color:#085caf}._fGkB2._X6uFW:active:not(._TVZKs){background-color:#0854a1;border-color:#0854a1}._fGkB2._X6uFW._TVZKs{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._fGkB2._3q-AW{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._fGkB2._3q-AW:hover:not(._TVZKs){background-color:#eef5fc}._fGkB2._3q-AW:active:not(._TVZKs){background-color:#e1edf9}._fGkB2._3q-AW._TVZKs{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)}._fGkB2._KT0t1{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._fGkB2._KT0t1:hover:not(._TVZKs){background-color:#eef5fc;border-color:#eef5fc}._fGkB2._KT0t1:active:not(._TVZKs){background-color:#e1edf9;border-color:#e1edf9}._fGkB2._KT0t1._TVZKs{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)}._fGkB2._c02ub{color:#0b6ed0;fill:#0b6ed0;padding:0}._fGkB2._c02ub:hover:not(._TVZKs){color:#085caf}._fGkB2._c02ub:active:not(._TVZKs){color:#0854a1}._fGkB2._c02ub._TVZKs{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._fGkB2._bEJWN{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._fGkB2._bEJWN:hover:not(._TVZKs){background-color:#ffecec}._fGkB2._bEJWN:active:not(._TVZKs){background-color:#ffdbdb}._fGkB2._bEJWN._TVZKs{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)}._fGkB2.focus-visible,._fGkB2: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 { buttonStyles as default, stylesheet };
|
|
@@ -33,19 +33,15 @@ const Button = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
33
33
|
onClick === null || onClick === void 0 || onClick(e);
|
|
34
34
|
};
|
|
35
35
|
const keyDownHandler = disabled ? undefined : onKeyDown;
|
|
36
|
-
return (
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
onKeyDown: keyDownHandler
|
|
46
|
-
}), children)
|
|
47
|
-
/* eslint-disable react/button-has-type */
|
|
48
|
-
);
|
|
36
|
+
return /*#__PURE__*/ /* eslint-disable react/button-has-type */React__default.createElement("button", _extends({}, rest, {
|
|
37
|
+
"aria-disabled": ariaDisabled !== null && ariaDisabled !== void 0 ? ariaDisabled : disabled,
|
|
38
|
+
type: type,
|
|
39
|
+
className: classes,
|
|
40
|
+
ref: ref,
|
|
41
|
+
onClick: clickHandler,
|
|
42
|
+
onKeyDown: keyDownHandler
|
|
43
|
+
}), children)
|
|
44
|
+
/* eslint-disable react/button-has-type */;
|
|
49
45
|
});
|
|
50
46
|
|
|
51
47
|
export { Button };
|
|
@@ -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 = "._tQiqT{display:inline-flex;align-items:stretch}._tQiqT._OY-cS{width:100%}._tQiqT ._WD-uo{margin:0;min-width:0}._tQiqT ._WD-uo:focus{z-index:20}._tQiqT ._WD-uo:hover{z-index:10}._tQiqT ._WD-uo._bNopj{border:none}._tQiqT ._WD-uo._OY-cS{display:inline-flex;width:auto;flex-grow:1}._tQiqT ._WD-uo: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}._tQiqT ._WD-uo:first-child._bNopj{border-right:1px solid #fff}._tQiqT ._WD-uo:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._tQiqT ._WD-uo:not(:last-child):not(:first-child)._bNopj{border-left:1px solid #fff;border-right:1px solid #fff}._tQiqT ._WD-uo:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._tQiqT ._WD-uo:last-child._bNopj{border-left:1px solid #fff}._tQiqT ._WD-uo: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":"_tQiqT","full":"_OY-cS","buttonGroupElement":"_WD-uo","primary":"_bNopj"};
|
|
5
|
+
var stylesheet="._tQiqT{display:inline-flex;align-items:stretch}._tQiqT._OY-cS{width:100%}._tQiqT ._WD-uo{margin:0;min-width:0}._tQiqT ._WD-uo:focus{z-index:20}._tQiqT ._WD-uo:hover{z-index:10}._tQiqT ._WD-uo._bNopj{border:none}._tQiqT ._WD-uo._OY-cS{display:inline-flex;width:auto;flex-grow:1}._tQiqT ._WD-uo: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}._tQiqT ._WD-uo:first-child._bNopj{border-right:1px solid #fff}._tQiqT ._WD-uo:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._tQiqT ._WD-uo:not(:last-child):not(:first-child)._bNopj{border-left:1px solid #fff;border-right:1px solid #fff}._tQiqT ._WD-uo:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._tQiqT ._WD-uo:last-child._bNopj{border-left:1px solid #fff}._tQiqT ._WD-uo: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 = "._9VCOD{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._9VCOD,._ZWAjh{cursor:pointer;height:16px;width:16px}._ZWAjh{position:absolute;opacity:0;z-index:10}._ZWAjh:disabled{cursor:not-allowed}._UD-a4{color:#32363a;display:flex;align-items:center;cursor:pointer}._TTTGu{cursor:auto;color:hsla(0,0%,53.7%,.4)}._2EzDb{margin-right:12px;flex-shrink:0}._mR1iC{position:absolute;top:0;left:0}._Ovy09{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}._Ovy09:not(._E27ZI):hover._aAhlH,._ZWAjh:hover ._Ovy09:not(._E27ZI)._aAhlH{background-color:#085caf}._Ovy09:not(._E27ZI):hover:not(._aAhlH),._ZWAjh:hover ._Ovy09:not(._E27ZI):not(._aAhlH){border-color:#0b6ed0}._Ovy09 ._ZqFq2{fill:#0b6ed0;fill-opacity:0}._Ovy09._aAhlH ._ZqFq2{fill-opacity:1}._Ovy09._aAhlH:not(._E27ZI){border-color:transparent;background-color:#0b6ed0}._Ovy09._aAhlH:not(._E27ZI) ._ZqFq2{fill:#fff}._Ovy09._E27ZI{opacity:.4}._Ovy09 ._iobgI{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._Fiuij{color:#32363a;margin-left:12px}._-3BkH{display:flex;align-items:center}._-3BkH:has(input:disabled) ._Fiuij{color:rgba(50,54,58,.4)}._-3BkH:not(:has(input:disabled)) ._Fiuij{cursor:pointer}._ZWAjh.focus-visible~._mR1iC>._Ovy09,._ZWAjh:focus-visible~._mR1iC>._Ovy09{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"checkbox":"_9VCOD","input":"_ZWAjh","label":"_UD-a4","labelDisabled":"_TTTGu","wrappedInput":"_2EzDb","visualCheck":"_mR1iC","check":"_Ovy09","disabled":"_E27ZI","checked":"_aAhlH","checkIcon":"_ZqFq2","mixed":"_iobgI","checkboxLabel":"_Fiuij","checkboxField":"_-3BkH"};
|
|
5
|
+
var stylesheet="._9VCOD{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._9VCOD,._ZWAjh{cursor:pointer;height:16px;width:16px}._ZWAjh{position:absolute;opacity:0;z-index:10}._ZWAjh:disabled{cursor:not-allowed}._UD-a4{color:#32363a;display:flex;align-items:center;cursor:pointer}._TTTGu{cursor:auto;color:hsla(0,0%,53.7%,.4)}._2EzDb{margin-right:12px;flex-shrink:0}._mR1iC{position:absolute;top:0;left:0}._Ovy09{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}._Ovy09:not(._E27ZI):hover._aAhlH,._ZWAjh:hover ._Ovy09:not(._E27ZI)._aAhlH{background-color:#085caf}._Ovy09:not(._E27ZI):hover:not(._aAhlH),._ZWAjh:hover ._Ovy09:not(._E27ZI):not(._aAhlH){border-color:#0b6ed0}._Ovy09 ._ZqFq2{fill:#0b6ed0;fill-opacity:0}._Ovy09._aAhlH ._ZqFq2{fill-opacity:1}._Ovy09._aAhlH:not(._E27ZI){border-color:transparent;background-color:#0b6ed0}._Ovy09._aAhlH:not(._E27ZI) ._ZqFq2{fill:#fff}._Ovy09._E27ZI{opacity:.4}._Ovy09 ._iobgI{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._Fiuij{color:#32363a;margin-left:12px}._-3BkH{display:flex;align-items:center}._-3BkH:has(input:disabled) ._Fiuij{color:rgba(50,54,58,.4)}._-3BkH:not(:has(input:disabled)) ._Fiuij{cursor:pointer}._ZWAjh.focus-visible~._mR1iC>._Ovy09,._ZWAjh:focus-visible~._mR1iC>._Ovy09{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 = "._MVG1A{display:flex;line-height:1.15}._MVG1A ._8SKG8{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._MVG1A ._8SKG8:hover:not(._a4tPh){background-color:#f5f5f5}._MVG1A ._8SKG8._a4tPh{cursor:not-allowed;fill:rgba(81,85,89,.4)}._MVG1A ._8SKG8:active:not(._a4tPh){background-color:#eee}._MVG1A ._xSluV{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._MVG1A ._xSluV._a4tPh{border-color:#d9d9d9}._MVG1A ._ypmbs{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}._MVG1A ._t3tAG{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._MVG1A ._t3tAG._a4tPh{border-color:#d9d9d9}._MVG1A ._kdh0K{height:36px;border:1px solid #898989;border-width:1px 0}._MVG1A ._kdh0K._a4tPh{border-color:#d9d9d9}._MVG1A ._-SuKU{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._MVG1A ._aiouR{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}._MVG1A ._aiouR._JfwWz{color:#9d9fa1}._8SKG8.focus-visible,._8SKG8:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._cflgs{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}._cflgs ._h6QER{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}._cflgs ._bCIFm{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}._cflgs ._-rtMS{display:flex;justify-content:space-between;margin:12px 0}._cflgs ._-rtMS._PYPOW{margin-bottom:0}._cflgs ._GSjHR{display:flex}._cflgs ._AMa2J{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._cflgs ._APHLh{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._cflgs ._FJw9B{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}._cflgs ._-IWQc{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._cflgs ._-IWQc._nN4sG{height:16px;margin-bottom:6px}._cflgs ._KnWW4{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}._cflgs ._KnWW4._nN4sG{height:16px}._cflgs ._Y-Yid{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}._cflgs ._AwKqZ{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._cflgs ._HTETx{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}._cflgs ._wdIli{display:flex;justify-content:space-between}._cflgs ._-ovVl{display:flex;flex-direction:column;align-items:center}._cflgs ._-ovVl._f-ik1{margin-left:4px}._cflgs ._EgfjR{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}._cflgs ._hQdrT{padding:3px 4px 3px 13px!important;width:78px}._cflgs ._0CWKu{text-align:right;padding:3px 4px 3px 0!important;width:34px}._cflgs ._tw723{text-align:right;padding:3px 16px 3px 0!important;width:46px}._cflgs ._9JkmL{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}._cflgs ._sbvuq{line-height:22px}._cflgs ._oiER-{display:flex}._cflgs ._6jQO0{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._cflgs ._6jQO0._DsBUf{margin-top:0}._cflgs ._ENdNI{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._4Y-Yt{position:relative}._hybx8{display:none}._xglFi{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._bCIFm.focus-visible,._bCIFm: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}._ENdNI.focus-visible,._ENdNI:focus-visible,._HTETx.focus-visible,._HTETx:focus-visible,._KnWW4.focus-visible,._KnWW4:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"colorPicker":"_MVG1A","colorPickerButton":"_8SKG8","disabledButton":"_a4tPh","colorPickerButtonPreview":"_xSluV","alphaBackground":"_ypmbs","colorPickerButtonAlphaPreview":"_t3tAG","caretIcon":"_kdh0K","colorPickerInput":"_-SuKU","colorPickerInputDecoration":"_aiouR","disabledDecoration":"_JfwWz","colorPickerFlyout":"_cflgs","saturationGrid":"_h6QER","saturationLoop":"_bCIFm","sliderGroup":"_-rtMS","removeBottomMargin":"_PYPOW","sliderPreviewContainer":"_GSjHR","sliderPreview":"_AMa2J","sliderPreviewAlpha":"_APHLh","sliderPreviewAlphaBackground":"_FJw9B","hueSliderRail":"_-IWQc","alphaEnabled":"_nN4sG","hueSliderThumb":"_KnWW4","alphaSliderRailBackground":"_Y-Yid","alphaSliderRail":"_AwKqZ","alphaSliderThumb":"_HTETx","hexInputGroup":"_wdIli","hexInputContainer":"_-ovVl","rgbInputContainer":"_f-ik1","hexInputDecoration":"_EgfjR","hexInput":"_hQdrT","rgbInput":"_0CWKu","alphaInput":"_tw723","alphaInputDecoration":"_9JkmL","inputLabel":"_sbvuq","rgbContainer":"_oiER-","palette":"_6jQO0","removeUpperMargin":"_DsBUf","swatch":"_ENdNI","relativePositionContainer":"_4Y-Yt","hidden":"_hybx8","hiddenLiveRegion":"_xglFi"};
|
|
5
|
+
var stylesheet="._MVG1A{display:flex;line-height:1.15}._MVG1A ._8SKG8{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._MVG1A ._8SKG8:hover:not(._a4tPh){background-color:#f5f5f5}._MVG1A ._8SKG8._a4tPh{cursor:not-allowed;fill:rgba(81,85,89,.4)}._MVG1A ._8SKG8:active:not(._a4tPh){background-color:#eee}._MVG1A ._xSluV{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._MVG1A ._xSluV._a4tPh{border-color:#d9d9d9}._MVG1A ._ypmbs{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}._MVG1A ._t3tAG{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._MVG1A ._t3tAG._a4tPh{border-color:#d9d9d9}._MVG1A ._kdh0K{height:36px;border:1px solid #898989;border-width:1px 0}._MVG1A ._kdh0K._a4tPh{border-color:#d9d9d9}._MVG1A ._-SuKU{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._MVG1A ._aiouR{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}._MVG1A ._aiouR._JfwWz{color:#9d9fa1}._8SKG8.focus-visible,._8SKG8:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._cflgs{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}._cflgs ._h6QER{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}._cflgs ._bCIFm{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}._cflgs ._-rtMS{display:flex;justify-content:space-between;margin:12px 0}._cflgs ._-rtMS._PYPOW{margin-bottom:0}._cflgs ._GSjHR{display:flex}._cflgs ._AMa2J{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._cflgs ._APHLh{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._cflgs ._FJw9B{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}._cflgs ._-IWQc{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._cflgs ._-IWQc._nN4sG{height:16px;margin-bottom:6px}._cflgs ._KnWW4{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}._cflgs ._KnWW4._nN4sG{height:16px}._cflgs ._Y-Yid{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}._cflgs ._AwKqZ{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._cflgs ._HTETx{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}._cflgs ._wdIli{display:flex;justify-content:space-between}._cflgs ._-ovVl{display:flex;flex-direction:column;align-items:center}._cflgs ._-ovVl._f-ik1{margin-left:4px}._cflgs ._EgfjR{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}._cflgs ._hQdrT{padding:3px 4px 3px 13px!important;width:78px}._cflgs ._0CWKu{text-align:right;padding:3px 4px 3px 0!important;width:34px}._cflgs ._tw723{text-align:right;padding:3px 16px 3px 0!important;width:46px}._cflgs ._9JkmL{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}._cflgs ._sbvuq{line-height:22px}._cflgs ._oiER-{display:flex}._cflgs ._6jQO0{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._cflgs ._6jQO0._DsBUf{margin-top:0}._cflgs ._ENdNI{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._4Y-Yt{position:relative}._hybx8{display:none}._xglFi{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._bCIFm.focus-visible,._bCIFm: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}._ENdNI.focus-visible,._ENdNI:focus-visible,._HTETx.focus-visible,._HTETx:focus-visible,._KnWW4.focus-visible,._KnWW4: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 };
|
|
@@ -93,45 +93,39 @@ function Palette(_ref2) {
|
|
|
93
93
|
break;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
return (
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
React__default.createElement(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
swatchRefs.current[cellIndex] = swatch;
|
|
130
|
-
},
|
|
131
|
-
dataTestId: dataTestId
|
|
132
|
-
});
|
|
133
|
-
}))))
|
|
134
|
-
);
|
|
96
|
+
return /*#__PURE__*/ /* eslint-disable jsx-a11y/no-static-element-interactions */ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ /* eslint-disable jsx-a11y/interactive-supports-focus */React__default.createElement("div", {
|
|
97
|
+
role: "grid",
|
|
98
|
+
"aria-label": paletteAriaLabel,
|
|
99
|
+
className: classNames(styles.palette, {
|
|
100
|
+
[styles.removeUpperMargin]: removeUpperMargin
|
|
101
|
+
}),
|
|
102
|
+
onKeyDown: handleKeyDown,
|
|
103
|
+
"data-testid": getSubDataTestId(dataTestId, 'palette')
|
|
104
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
105
|
+
id: swatchDescriptionId,
|
|
106
|
+
className: styles.hidden
|
|
107
|
+
}, swatchAriaDesc), paletteRows.map((row, rowIndex) =>
|
|
108
|
+
/*#__PURE__*/
|
|
109
|
+
/* eslint-disable react/no-array-index-key */
|
|
110
|
+
React__default.createElement("div", {
|
|
111
|
+
role: "row",
|
|
112
|
+
key: rowIndex
|
|
113
|
+
}, row.map((color, index) => {
|
|
114
|
+
const cellIndex = rowIndex * rowLength + index;
|
|
115
|
+
return /*#__PURE__*/React__default.createElement(Swatch, {
|
|
116
|
+
key: color.hex,
|
|
117
|
+
color: color,
|
|
118
|
+
onColorSwatchClick: onColorSwatchClick,
|
|
119
|
+
focusedSwatchIndex: focusedSwatchIndex,
|
|
120
|
+
setFocusedSwatchIndex: setFocusedSwatchIndex,
|
|
121
|
+
cellIndex: cellIndex,
|
|
122
|
+
"aria-describedby": swatchDescriptionId,
|
|
123
|
+
ref: swatch => {
|
|
124
|
+
swatchRefs.current[cellIndex] = swatch;
|
|
125
|
+
},
|
|
126
|
+
dataTestId: dataTestId
|
|
127
|
+
});
|
|
128
|
+
}))));
|
|
135
129
|
}
|
|
136
130
|
|
|
137
131
|
export { Palette as default };
|
|
@@ -70,7 +70,7 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
70
70
|
|
|
71
71
|
// Gets the <ComboboxInput> and <ComboboxList> components from the children
|
|
72
72
|
React__default.Children.forEach(children, child => {
|
|
73
|
-
if (
|
|
73
|
+
if (/*#__PURE__*/React__default.isValidElement(child)) {
|
|
74
74
|
if ((child === null || child === void 0 ? void 0 : child.type) === ComboboxInput) {
|
|
75
75
|
comboboxInput = child;
|
|
76
76
|
} else if ((child === null || child === void 0 ? void 0 : child.type) === ComboboxList) {
|
|
@@ -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 = "._Dhu6j{position:relative;display:inline-block}._85SqC{padding-right:36px}._85SqC._zgVJJ{box-shadow:none!important;border:1px solid #898989!important}._ASwJ6{margin-top:4px}._cquTM{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._cquTM:hover{background-color:rgba(50,54,58,.08)}._cquTM:active{background-color:rgba(50,54,58,.11)}._cquTM._6lhIA{transform:rotate(-180deg)}._cquTM._aXMy9{opacity:.4}._jFU9o{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}._aXMy9{cursor:not-allowed}._aXMy9:hover{background-color:transparent}";
|
|
4
|
+
var styles = {"combobox":"_Dhu6j","comboboxInput":"_85SqC","ignoreFocusStyle":"_zgVJJ","labelledInput":"_ASwJ6","comboboxIcon":"_cquTM","open":"_6lhIA","disabled":"_aXMy9","comboboxEmpty":"_jFU9o"};
|
|
5
|
+
var stylesheet="._Dhu6j{position:relative;display:inline-block}._85SqC{padding-right:36px}._85SqC._zgVJJ{box-shadow:none!important;border:1px solid #898989!important}._ASwJ6{margin-top:4px}._cquTM{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._cquTM:hover{background-color:rgba(50,54,58,.08)}._cquTM:active{background-color:rgba(50,54,58,.11)}._cquTM._6lhIA{transform:rotate(-180deg)}._cquTM._aXMy9{opacity:.4}._jFU9o{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}._aXMy9{cursor:not-allowed}._aXMy9:hover{background-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 };
|
|
@@ -14,7 +14,6 @@ import ChevronLeftIcon from '../../icons/components/ChevronLeftIcon.js';
|
|
|
14
14
|
import ChevronRightIcon from '../../icons/components/ChevronRightIcon.js';
|
|
15
15
|
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
16
16
|
import useId from '../../hooks/useId/useId.js';
|
|
17
|
-
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
18
17
|
import useIsHovered from '../../hooks/useIsHovered/useIsHovered.js';
|
|
19
18
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
20
19
|
import IconButton from '../IconButton/IconButton.js';
|
|
@@ -94,15 +93,15 @@ const ConfigPane = _ref2 => {
|
|
|
94
93
|
const [isOpen, setIsOpen] = useControllableState(true, onIsOpenChange, externalIsOpen);
|
|
95
94
|
const [isPinned, setIsPinned] = useControllableState(true, onIsPinnedChange, externalIsPinned);
|
|
96
95
|
const panelId = useId(id);
|
|
97
|
-
useDidUpdate(() => {
|
|
98
|
-
setIsTransitioning(true);
|
|
99
|
-
}, [isOpen]);
|
|
100
96
|
const {
|
|
101
97
|
translate
|
|
102
98
|
} = useTranslation();
|
|
103
99
|
const pinPanelLabel = translate('configPane.pinPanel');
|
|
104
100
|
const unpinPanelLabel = translate('configPane.unpinPanel');
|
|
105
|
-
const toggleOpen = () =>
|
|
101
|
+
const toggleOpen = () => {
|
|
102
|
+
setIsTransitioning(true);
|
|
103
|
+
setIsOpen(currentIsOpen => !currentIsOpen);
|
|
104
|
+
};
|
|
106
105
|
const [isContainerHoveredRef, isContainerHovered] = useIsHovered();
|
|
107
106
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
108
107
|
className: classNames(styles.paneContainer, {
|
|
@@ -149,7 +148,7 @@ const ConfigPane = _ref2 => {
|
|
|
149
148
|
"data-testid": getSubDataTestId(dataTestId, DATA_TESTID_SUFFIXES.BODY)
|
|
150
149
|
}, children)))), !hideOpenButton &&
|
|
151
150
|
/*#__PURE__*/
|
|
152
|
-
/*
|
|
151
|
+
/*
|
|
153
152
|
the following element is clickable but doesn't need an accessible role since it is
|
|
154
153
|
purely a visual convenience for opening the panel. Keyboard users can use the
|
|
155
154
|
expand/collapse button to achieve the same functionality
|
|
@@ -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 = "._UNIwl{grid-area:configPane;position:relative;height:100%}._axPHl{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #eee;box-sizing:border-box}._wBi7r._fnAXo ._axPHl,._wBi7r:not(._hoe-I) ._axPHl{-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)}._hoe-I ._axPHl{width:0}._fnAXo._hoe-I ._axPHl{width:30px;cursor:pointer}._QY-w5{height:100%;position:relative;width:292px}._hoe-I ._QY-w5,._wBi7r ._QY-w5{width:0}._fnAXo._hoe-I ._QY-w5,._fnAXo._wBi7r ._QY-w5{width:30px}._jjNSZ ._QY-w5{transition:width .5s}._KDRBa{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._hoe-I ._KDRBa{visibility:hidden}._jjNSZ ._KDRBa{visibility:visible}._KDRBa ._aebbs{width:252px;margin-left:20px}._FtO50{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._SNAGN{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._SNAGN *{font-weight:400;font-size:16px;margin:0}._vYIGS{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._hoe-I ._vYIGS{left:0}._fnAXo._hoe-I ._vYIGS{left:30px}._vYIGS ._oj0cl{width:4px;height:100%}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._oj0cl,._vYIGS:hover ._oj0cl{background-color:#9dc5ed}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv>span,._vYIGS:hover ._Ldzwv>span{background-color:#0b6ed0;border-color:#0b6ed0}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv>span>svg,._vYIGS:hover ._Ldzwv>span>svg{fill:#fff}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv:active>span,._vYIGS:hover ._Ldzwv:active>span{background-color:#0854a1;border-color:#0854a1}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv:active>span>svg,._vYIGS:hover ._Ldzwv:active>span>svg{fill:#fff}._vYIGS ._Ldzwv{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._vYIGS ._Ldzwv:active>span{background-color:#0854a1;border-color:#0854a1}._vYIGS ._Ldzwv:active>span>svg{fill:#fff}._vYIGS ._Ldzwv>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._vYIGS ._Ldzwv>span>svg{fill:#515559;border-radius:50%}._Ldzwv.focus-visible,._Ldzwv:focus-visible{border-color:#0a3f88}";
|
|
4
|
+
var styles = {"paneContainer":"_UNIwl","paneContentContainer":"_axPHl","unpinned":"_wBi7r","hidden":"_hoe-I","preview":"_fnAXo","spacer":"_QY-w5","transitioning":"_jjNSZ","paneContent":"_KDRBa","paneContentInner":"_aebbs","header":"_FtO50","title":"_SNAGN","clickableArea":"_vYIGS","hoverBorder":"_oj0cl","toolbarPanelExpandCollapseButton":"_Ldzwv"};
|
|
5
|
+
var stylesheet="._UNIwl{grid-area:configPane;position:relative;height:100%}._axPHl{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #eee;box-sizing:border-box}._wBi7r._fnAXo ._axPHl,._wBi7r:not(._hoe-I) ._axPHl{-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)}._hoe-I ._axPHl{width:0}._fnAXo._hoe-I ._axPHl{width:30px;cursor:pointer}._QY-w5{height:100%;position:relative;width:292px}._hoe-I ._QY-w5,._wBi7r ._QY-w5{width:0}._fnAXo._hoe-I ._QY-w5,._fnAXo._wBi7r ._QY-w5{width:30px}._jjNSZ ._QY-w5{transition:width .5s}._KDRBa{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._hoe-I ._KDRBa{visibility:hidden}._jjNSZ ._KDRBa{visibility:visible}._KDRBa ._aebbs{width:252px;margin-left:20px}._FtO50{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._SNAGN{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._SNAGN *{font-weight:400;font-size:16px;margin:0}._vYIGS{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._hoe-I ._vYIGS{left:0}._fnAXo._hoe-I ._vYIGS{left:30px}._vYIGS ._oj0cl{width:4px;height:100%}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._oj0cl,._vYIGS:hover ._oj0cl{background-color:#9dc5ed}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv>span,._vYIGS:hover ._Ldzwv>span{background-color:#0b6ed0;border-color:#0b6ed0}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv>span>svg,._vYIGS:hover ._Ldzwv>span>svg{fill:#fff}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv:active>span,._vYIGS:hover ._Ldzwv:active>span{background-color:#0854a1;border-color:#0854a1}._fnAXo._hoe-I ._axPHl:hover+._vYIGS ._Ldzwv:active>span>svg,._vYIGS:hover ._Ldzwv:active>span>svg{fill:#fff}._vYIGS ._Ldzwv{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._vYIGS ._Ldzwv:active>span{background-color:#0854a1;border-color:#0854a1}._vYIGS ._Ldzwv:active>span>svg{fill:#fff}._vYIGS ._Ldzwv>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._vYIGS ._Ldzwv>span>svg{fill:#515559;border-radius:50%}._Ldzwv.focus-visible,._Ldzwv: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 = "._Gqs6R{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4
|
+
var styles = {"divider":"_Gqs6R"};
|
|
5
|
+
var stylesheet="._Gqs6R{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 };
|
|
@@ -69,7 +69,7 @@ const Dropdown = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
69
69
|
const [searchValue, setSearchValue] = useControllableState('', onSearchValueChange, externalSearchValue);
|
|
70
70
|
const [searchHeight, setSearchHeight] = useState();
|
|
71
71
|
React__default.Children.forEach(children, child => {
|
|
72
|
-
if (
|
|
72
|
+
if (/*#__PURE__*/React__default.isValidElement(child)) {
|
|
73
73
|
switch (child === null || child === void 0 ? void 0 : child.type) {
|
|
74
74
|
case DropdownButton:
|
|
75
75
|
dropdownButton = child;
|
|
@@ -218,6 +218,12 @@ const Dropdown = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
218
218
|
let newHighlightedIndex;
|
|
219
219
|
if (disabled) return;
|
|
220
220
|
switch (e.key) {
|
|
221
|
+
case 'Enter':
|
|
222
|
+
if (!isMultiSelect) {
|
|
223
|
+
selectHighlightedItem(e);
|
|
224
|
+
e.preventDefault();
|
|
225
|
+
}
|
|
226
|
+
break;
|
|
221
227
|
case ' ':
|
|
222
228
|
selectHighlightedItem(e);
|
|
223
229
|
e.preventDefault(); // prevent scroll/button click
|
|
@@ -279,8 +285,6 @@ const Dropdown = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
279
285
|
}
|
|
280
286
|
e.preventDefault(); // prevent scroll
|
|
281
287
|
break;
|
|
282
|
-
case 'Enter':
|
|
283
|
-
break;
|
|
284
288
|
default:
|
|
285
289
|
if (isSearchable) {
|
|
286
290
|
setHighlightedIndex(0);
|
|
@@ -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 = "._Bc-4V{max-width:100%;position:relative;display:inline-block}._5pACB{width:100%}._PjmqE{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}._PjmqE:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._PjmqE:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._PjmqE:disabled,._PjmqE[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._PjmqE._4heWJ{border-color:#b00}._PjmqE._4heWJ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._PjmqE._kNqEh{min-width:120px;padding:0 4px 0 12px}._PjmqE._rf4gj{margin-top:4px}._PjmqE._fBh0R:not([aria-disabled=true]):not(:disabled){color:#32363a}._PjmqE ._T4I4H{min-height:10px}._PjmqE ._T4I4H._y1xmV{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._PjmqE ._T4I4H._tDoKl{display:inline-flex;align-items:center}._PjmqE ._RfsPl{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._PjmqE ._RfsPl._E69iC{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._PjmqE ._RfsPl._5zByJ{transform:rotate(-180deg)}._CF9fh[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._xccVU{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}._R76CP{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}._Wk-5l{fill:#515559}._WSb2O{margin:2px 12px 2px 0}._WSb2O._WXjHc>svg{border-color:#0b6ed0}._gcdXd{width:100%}";
|
|
4
|
+
var styles = {"container":"_Bc-4V","formFieldWrapper":"_5pACB","button":"_PjmqE","invalid":"_4heWJ","hasText":"_kNqEh","labelled":"_rf4gj","selected":"_fBh0R","buttonLabel":"_T4I4H","isString":"_y1xmV","isNode":"_tDoKl","icon":"_RfsPl","disabled":"_E69iC","open":"_5zByJ","option":"_CF9fh","search":"_xccVU","emptyOption":"_R76CP","searchIcon":"_Wk-5l","checkbox":"_WSb2O","highlighted":"_WXjHc","searchInput":"_gcdXd"};
|
|
5
|
+
var stylesheet="._Bc-4V{max-width:100%;position:relative;display:inline-block}._5pACB{width:100%}._PjmqE{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}._PjmqE:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._PjmqE:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._PjmqE:disabled,._PjmqE[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._PjmqE._4heWJ{border-color:#b00}._PjmqE._4heWJ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._PjmqE._kNqEh{min-width:120px;padding:0 4px 0 12px}._PjmqE._rf4gj{margin-top:4px}._PjmqE._fBh0R:not([aria-disabled=true]):not(:disabled){color:#32363a}._PjmqE ._T4I4H{min-height:10px}._PjmqE ._T4I4H._y1xmV{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._PjmqE ._T4I4H._tDoKl{display:inline-flex;align-items:center}._PjmqE ._RfsPl{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._PjmqE ._RfsPl._E69iC{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._PjmqE ._RfsPl._5zByJ{transform:rotate(-180deg)}._CF9fh[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._xccVU{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}._R76CP{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}._Wk-5l{fill:#515559}._WSb2O{margin:2px 12px 2px 0}._WSb2O._WXjHc>svg{border-color:#0b6ed0}._gcdXd{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 };
|
|
@@ -113,7 +113,7 @@ const DropdownButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
113
113
|
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
114
114
|
onKeyDownButton(e);
|
|
115
115
|
};
|
|
116
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children ? (
|
|
116
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children ? (/*#__PURE__*/React__default.cloneElement(children, {
|
|
117
117
|
ref: mergeRefs(ref, children === null || children === void 0 ? void 0 : children.ref, buttonRef, dropdownButtonRef),
|
|
118
118
|
disabled: disabled || dropdownAriaDisabled,
|
|
119
119
|
'aria-disabled': dropdownAriaDisabled,
|
|
@@ -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 = "._vkvxv{position:relative}._vkvxv[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vkvxv:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._RMDQ2{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._L0W9u{margin-left:16px;font-size:14px;color:#32363a}._L0W9u ._YYwBQ{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_vkvxv","fileInput":"_RMDQ2","fileDetails":"_L0W9u","fileName":"_YYwBQ"};
|
|
5
|
+
var stylesheet="._vkvxv{position:relative}._vkvxv[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vkvxv:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._RMDQ2{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._L0W9u{margin-left:16px;font-size:14px;color:#32363a}._L0W9u ._YYwBQ{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 = "._aCt-w{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._oPW8z{color:#6a6d70;fill:#6a6d70}._IiwM1{color:#b00;fill:#b00}._ikjBk,._Yd7tL{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_aCt-w","helperText":"_oPW8z","errorText":"_IiwM1","errorIcon":"_Yd7tL","readOnlyIcon":"_ikjBk"};
|
|
5
|
+
var stylesheet="._aCt-w{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._oPW8z{color:#6a6d70;fill:#6a6d70}._IiwM1{color:#b00;fill:#b00}._ikjBk,._Yd7tL{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 = "._fUdHK{display:flex;flex-direction:column;align-items:flex-start}._5VXMD{margin-top:6px;max-width:100%}._5VXMD *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_fUdHK","captionContainer":"_5VXMD"};
|
|
5
|
+
var stylesheet="._fUdHK{display:flex;flex-direction:column;align-items:flex-start}._5VXMD{margin-top:6px;max-width:100%}._5VXMD *+*{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 };
|