@qualtrics/ui-react 2.30.0 → 2.31.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 +13 -0
- package/dist/__shared/cjs/{index-30cc916b.js → index-434a3b72.js} +372 -374
- package/dist/__shared/cjs/{index-e0e97b93.js → index-c13fc74c.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Check.js +32 -13
- package/dist/components/Checkbox/Checkbox.js +35 -23
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- 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/Dropdown/DropdownOption.js +2 -2
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/MenuItem.js +2 -2
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +30 -16
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +5 -9
- package/dist/next/AdvancedTable/AdvancedTableColumnHeaders.js +5 -1
- package/dist/next/AdvancedTable/AdvancedTableRow.js +3 -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/Input/Input2.js +3 -3
- package/dist/next/Menu/Hooks/usePaneSearch.js +1 -1
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/SubMenu.js +6 -6
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/Select/SelectItem.js +4 -4
- package/dist/next/Select/SubSelect.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.js +91 -76
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/next/package.json +1 -1
- package/package.json +1 -1
- package/dist/components/Checkbox/VisualCheckbox.js +0 -31
- package/dist/components/Checkbox/VisualCheckbox2.js +0 -8
|
@@ -37,9 +37,9 @@ function styleInject(css, ref) {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
var css_248z = ".
|
|
41
|
-
var styles = {"icon":"
|
|
42
|
-
var stylesheet=".
|
|
40
|
+
var css_248z = "._Uo6AT{flex-shrink:0}";
|
|
41
|
+
var styles = {"icon":"_Uo6AT"};
|
|
42
|
+
var stylesheet="._Uo6AT{flex-shrink:0}";
|
|
43
43
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
44
44
|
|
|
45
45
|
const IconSizes = {
|
|
@@ -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 = "._y-Zxp{width:100%;display:flex;flex-direction:column}._y-Zxp._0Vl53{grid-gap:20px;gap:20px}._igoB-{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}._igoB- ._w0kbe{margin-top:-3px}._D3rFD{flex:1}._lWNGr{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._eNFyj ._igoB-{border-radius:4px}._eNFyj ._igoB-:hover:not(._kdEVp){background-color:rgba(50,54,58,.08)}._eNFyj ._igoB-:active:not(._kdEVp){background-color:rgba(50,54,58,.11)}._qOj8i ._igoB-{font-weight:400;padding-left:12px;border-top:1px solid #eee}._qOj8i ._igoB-:hover:not(._kdEVp){background-color:rgba(50,54,58,.08)}._qOj8i ._igoB-:active:not(._kdEVp){background-color:rgba(50,54,58,.11)}._0Vl53 ._KDVPJ{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._0Vl53 ._KDVPJ._FGfei{box-shadow:none}._0Vl53 ._KDVPJ._FGfei ._igoB-{border-radius:6px}._0Vl53 ._igoB-{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._0Vl53 ._igoB- ._D3rFD{padding-left:20px}._0Vl53 ._igoB-:hover:not(disabled){border:1px solid #c2c2c2}._0Vl53 ._igoB-:active:not(._kdEVp){border:1px solid #898989}._0Vl53 ._lWNGr{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._FGfei ._lWNGr{display:none}._kdEVp{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._igoB-.focus-visible,._igoB-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._igoB-.focus-visible:before,._igoB-:focus-visible:before{z-index:1}._qOj8i ._igoB-.focus-visible,._qOj8i ._igoB-:focus-visible{border-color:transparent}";
|
|
4
|
+
var AccordionStyles = {"accordion":"_y-Zxp","block-variant":"_0Vl53","header":"_igoB-","headerIcon":"_w0kbe","title":"_D3rFD","panel":"_lWNGr","default-variant":"_eNFyj","disabled":"_kdEVp","outlined-variant":"_qOj8i","section":"_KDVPJ","closed":"_FGfei"};
|
|
5
|
+
var stylesheet="._y-Zxp{width:100%;display:flex;flex-direction:column}._y-Zxp._0Vl53{grid-gap:20px;gap:20px}._igoB-{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}._igoB- ._w0kbe{margin-top:-3px}._D3rFD{flex:1}._lWNGr{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._eNFyj ._igoB-{border-radius:4px}._eNFyj ._igoB-:hover:not(._kdEVp){background-color:rgba(50,54,58,.08)}._eNFyj ._igoB-:active:not(._kdEVp){background-color:rgba(50,54,58,.11)}._qOj8i ._igoB-{font-weight:400;padding-left:12px;border-top:1px solid #eee}._qOj8i ._igoB-:hover:not(._kdEVp){background-color:rgba(50,54,58,.08)}._qOj8i ._igoB-:active:not(._kdEVp){background-color:rgba(50,54,58,.11)}._0Vl53 ._KDVPJ{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._0Vl53 ._KDVPJ._FGfei{box-shadow:none}._0Vl53 ._KDVPJ._FGfei ._igoB-{border-radius:6px}._0Vl53 ._igoB-{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._0Vl53 ._igoB- ._D3rFD{padding-left:20px}._0Vl53 ._igoB-:hover:not(disabled){border:1px solid #c2c2c2}._0Vl53 ._igoB-:active:not(._kdEVp){border:1px solid #898989}._0Vl53 ._lWNGr{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._FGfei ._lWNGr{display:none}._kdEVp{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._igoB-.focus-visible,._igoB-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._igoB-.focus-visible:before,._igoB-:focus-visible:before{z-index:1}._qOj8i ._igoB-.focus-visible,._qOj8i ._igoB-: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 = "._hIaYW{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}._hIaYW._P28sp{padding:0 8px;height:26px;min-height:26px}._hIaYW._94gzY{display:block;width:100%}._hIaYW._dMS9f{cursor:not-allowed}._hIaYW:active:focus,._hIaYW:focus{outline:none}._hIaYW._prfMk{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._hIaYW._prfMk:hover:not(._dMS9f){background-color:#eee}._hIaYW._prfMk:active:not(._dMS9f){background-color:#e5e5e5}._hIaYW._prfMk._dMS9f{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)}._hIaYW._QXp-B{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._hIaYW._QXp-B:hover:not(._dMS9f){background-color:#085caf;border-color:#085caf}._hIaYW._QXp-B:active:not(._dMS9f){background-color:#0854a1;border-color:#0854a1}._hIaYW._QXp-B._dMS9f{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._hIaYW._NBMvM{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._hIaYW._NBMvM:hover:not(._dMS9f){background-color:#eef5fc}._hIaYW._NBMvM:active:not(._dMS9f){background-color:#e1edf9}._hIaYW._NBMvM._dMS9f{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)}._hIaYW._xJlIT{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._hIaYW._xJlIT:hover:not(._dMS9f){background-color:#eef5fc;border-color:#eef5fc}._hIaYW._xJlIT:active:not(._dMS9f){background-color:#e1edf9;border-color:#e1edf9}._hIaYW._xJlIT._dMS9f{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)}._hIaYW._VIE-d{color:#0b6ed0;fill:#0b6ed0;padding:0}._hIaYW._VIE-d:hover:not(._dMS9f){color:#085caf}._hIaYW._VIE-d:active:not(._dMS9f){color:#0854a1}._hIaYW._VIE-d._dMS9f{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._hIaYW._8DT7I{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._hIaYW._8DT7I:hover:not(._dMS9f){background-color:#ffecec}._hIaYW._8DT7I:active:not(._dMS9f){background-color:#ffdbdb}._hIaYW._8DT7I._dMS9f{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)}._hIaYW.focus-visible,._hIaYW:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var buttonStyles = {"btn":"_hIaYW","small":"_P28sp","full":"_94gzY","disabled":"_dMS9f","default":"_prfMk","primary":"_QXp-B","secondary":"_NBMvM","tertiary":"_xJlIT","link":"_VIE-d","danger":"_8DT7I"};
|
|
5
|
+
var stylesheet="._hIaYW{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}._hIaYW._P28sp{padding:0 8px;height:26px;min-height:26px}._hIaYW._94gzY{display:block;width:100%}._hIaYW._dMS9f{cursor:not-allowed}._hIaYW:active:focus,._hIaYW:focus{outline:none}._hIaYW._prfMk{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._hIaYW._prfMk:hover:not(._dMS9f){background-color:#eee}._hIaYW._prfMk:active:not(._dMS9f){background-color:#e5e5e5}._hIaYW._prfMk._dMS9f{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)}._hIaYW._QXp-B{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._hIaYW._QXp-B:hover:not(._dMS9f){background-color:#085caf;border-color:#085caf}._hIaYW._QXp-B:active:not(._dMS9f){background-color:#0854a1;border-color:#0854a1}._hIaYW._QXp-B._dMS9f{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._hIaYW._NBMvM{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._hIaYW._NBMvM:hover:not(._dMS9f){background-color:#eef5fc}._hIaYW._NBMvM:active:not(._dMS9f){background-color:#e1edf9}._hIaYW._NBMvM._dMS9f{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)}._hIaYW._xJlIT{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._hIaYW._xJlIT:hover:not(._dMS9f){background-color:#eef5fc;border-color:#eef5fc}._hIaYW._xJlIT:active:not(._dMS9f){background-color:#e1edf9;border-color:#e1edf9}._hIaYW._xJlIT._dMS9f{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)}._hIaYW._VIE-d{color:#0b6ed0;fill:#0b6ed0;padding:0}._hIaYW._VIE-d:hover:not(._dMS9f){color:#085caf}._hIaYW._VIE-d:active:not(._dMS9f){color:#0854a1}._hIaYW._VIE-d._dMS9f{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._hIaYW._8DT7I{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._hIaYW._8DT7I:hover:not(._dMS9f){background-color:#ffecec}._hIaYW._8DT7I:active:not(._dMS9f){background-color:#ffdbdb}._hIaYW._8DT7I._dMS9f{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)}._hIaYW.focus-visible,._hIaYW: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 };
|
|
@@ -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 = "._K-FIe{display:inline-flex;align-items:stretch}._K-FIe._ivBbb{width:100%}._K-FIe ._vgi2Y{margin:0;min-width:0}._K-FIe ._vgi2Y:focus{z-index:20}._K-FIe ._vgi2Y:hover{z-index:10}._K-FIe ._vgi2Y._2cC8r{border:none}._K-FIe ._vgi2Y._ivBbb{display:inline-flex;width:auto;flex-grow:1}._K-FIe ._vgi2Y: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}._K-FIe ._vgi2Y:first-child._2cC8r{border-right:1px solid #fff}._K-FIe ._vgi2Y:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._K-FIe ._vgi2Y:not(:last-child):not(:first-child)._2cC8r{border-left:1px solid #fff;border-right:1px solid #fff}._K-FIe ._vgi2Y:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._K-FIe ._vgi2Y:last-child._2cC8r{border-left:1px solid #fff}._K-FIe ._vgi2Y: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":"_K-FIe","full":"_ivBbb","buttonGroupElement":"_vgi2Y","primary":"_2cC8r"};
|
|
5
|
+
var stylesheet="._K-FIe{display:inline-flex;align-items:stretch}._K-FIe._ivBbb{width:100%}._K-FIe ._vgi2Y{margin:0;min-width:0}._K-FIe ._vgi2Y:focus{z-index:20}._K-FIe ._vgi2Y:hover{z-index:10}._K-FIe ._vgi2Y._2cC8r{border:none}._K-FIe ._vgi2Y._ivBbb{display:inline-flex;width:auto;flex-grow:1}._K-FIe ._vgi2Y: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}._K-FIe ._vgi2Y:first-child._2cC8r{border-right:1px solid #fff}._K-FIe ._vgi2Y:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._K-FIe ._vgi2Y:not(:last-child):not(:first-child)._2cC8r{border-left:1px solid #fff;border-right:1px solid #fff}._K-FIe ._vgi2Y:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._K-FIe ._vgi2Y:last-child._2cC8r{border-left:1px solid #fff}._K-FIe ._vgi2Y: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,18 +1,37 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './Checkbox2.js';
|
|
3
5
|
|
|
4
|
-
const Check =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
const Check = _ref => {
|
|
7
|
+
let {
|
|
8
|
+
className,
|
|
9
|
+
checked = false,
|
|
10
|
+
disabled = false,
|
|
11
|
+
...rest
|
|
12
|
+
} = _ref;
|
|
13
|
+
return /*#__PURE__*/React__default.createElement("span", _extends({
|
|
14
|
+
className: classNames(className, styles.check, {
|
|
15
|
+
[styles.checked]: checked === true,
|
|
16
|
+
[styles.disabled]: disabled
|
|
17
|
+
}),
|
|
18
|
+
role: "presentation"
|
|
19
|
+
}, rest), /*#__PURE__*/React__default.createElement("svg", {
|
|
20
|
+
className: styles.checkIcon,
|
|
21
|
+
width: "16",
|
|
22
|
+
height: "16",
|
|
23
|
+
focusable: "false",
|
|
24
|
+
role: "presentation",
|
|
25
|
+
viewBox: "0 0 16 16",
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
"data-icontype": "Check"
|
|
28
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
29
|
+
fillRule: "evenodd",
|
|
30
|
+
clipRule: "evenodd",
|
|
31
|
+
d: "M12.7206 4.65576C13.1211 5.09851 13.087 5.78216 12.6442 6.18273L6.96856 11.3179C6.56187 11.6858 5.9441 11.6909 5.53136 11.3298L3.3692 9.4379C2.91986 9.04474 2.87433 8.36175 3.2675 7.91241C3.66067 7.46308 4.34365 7.41755 4.79299 7.81072L6.23123 9.06918L11.1936 4.57942C11.6363 4.17884 12.32 4.21302 12.7206 4.65576Z"
|
|
32
|
+
})), checked === 'mixed' && /*#__PURE__*/React__default.createElement("div", {
|
|
33
|
+
className: styles.mixed
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
17
36
|
|
|
18
37
|
export { Check as default };
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import React__default from 'react';
|
|
2
|
+
import React__default, { useMemo, useRef, useEffect } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import styles from './Checkbox2.js';
|
|
5
5
|
import Check from './Check.js';
|
|
6
6
|
import Label from '../Label/Label.js';
|
|
7
7
|
import { useFormFieldContext } from '../FormField/FormFieldContext.js';
|
|
8
8
|
import '../../utils/index.js';
|
|
9
|
-
import '../../
|
|
10
|
-
import '../../hooks/useId/index.js';
|
|
9
|
+
import '../../hooks/index.js';
|
|
11
10
|
import FormFieldWrapper from '../../next/Form/FormFields/FormFieldWrapper.js';
|
|
12
11
|
import useFormField from '../../next/Form/useFormField.js';
|
|
13
12
|
import useId from '../../hooks/useId/useId.js';
|
|
14
13
|
import concatIds from '../../utils/concatIds/concatIds.js';
|
|
14
|
+
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
15
|
+
import useEventCallback from '../../hooks/useEventCallback/useEventCallback.js';
|
|
15
16
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
16
17
|
|
|
17
18
|
const Checkbox = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
18
|
-
var _ref2, _ref3
|
|
19
|
+
var _ref2, _ref3;
|
|
19
20
|
let {
|
|
20
21
|
id,
|
|
21
22
|
className,
|
|
22
|
-
checked,
|
|
23
|
+
checked: externalChecked,
|
|
23
24
|
defaultChecked,
|
|
24
|
-
disabled = false,
|
|
25
|
-
onChange
|
|
25
|
+
disabled: externalDisabled = false,
|
|
26
|
+
onChange,
|
|
26
27
|
value,
|
|
27
28
|
name,
|
|
28
29
|
label,
|
|
@@ -39,16 +40,10 @@ const Checkbox = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
39
40
|
register,
|
|
40
41
|
fieldErrors
|
|
41
42
|
} = useFormField();
|
|
42
|
-
const inputId = useId(id);
|
|
43
|
+
const inputId = useId(id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id);
|
|
43
44
|
const registerProps = name && register ? register(name, {
|
|
44
45
|
type: 'checkbox'
|
|
45
46
|
}) : undefined;
|
|
46
|
-
const onChange = e => {
|
|
47
|
-
var _inputProps$onChange;
|
|
48
|
-
registerProps === null || registerProps === void 0 || registerProps.onChange(e);
|
|
49
|
-
externalOnChange === null || externalOnChange === void 0 || externalOnChange(e);
|
|
50
|
-
inputProps === null || inputProps === void 0 || (_inputProps$onChange = inputProps.onChange) === null || _inputProps$onChange === void 0 || _inputProps$onChange.call(inputProps, e);
|
|
51
|
-
};
|
|
52
47
|
const onBlur = e => {
|
|
53
48
|
var _inputProps$onBlur;
|
|
54
49
|
registerProps === null || registerProps === void 0 || registerProps.onBlur(e);
|
|
@@ -59,6 +54,23 @@ const Checkbox = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
59
54
|
errorTextId: formFieldErrorTextId
|
|
60
55
|
} = useFormFieldContext();
|
|
61
56
|
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
|
|
57
|
+
const [checked, setChecked] = useControllableState(defaultChecked, () => {}, (_ref2 = externalChecked !== null && externalChecked !== void 0 ? externalChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked) !== null && _ref2 !== void 0 ? _ref2 : registerProps === null || registerProps === void 0 ? void 0 : registerProps.checked);
|
|
58
|
+
const disabled = useMemo(() => externalDisabled !== null && externalDisabled !== void 0 ? externalDisabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled, [externalDisabled, inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled]);
|
|
59
|
+
const onChangeHandler = useEventCallback(e => {
|
|
60
|
+
if (disabled) return;
|
|
61
|
+
|
|
62
|
+
// if it was checked, uncheck it
|
|
63
|
+
// if it was unchecked or mixed, check it
|
|
64
|
+
setChecked(prev => prev !== true);
|
|
65
|
+
registerProps === null || registerProps === void 0 || registerProps.onChange(e);
|
|
66
|
+
if (onChange) onChange(e);else if (inputProps !== null && inputProps !== void 0 && inputProps.onChange) inputProps.onChange(e);
|
|
67
|
+
});
|
|
68
|
+
const inputRef = useRef(null);
|
|
69
|
+
useEffect(() => {
|
|
70
|
+
const inputElement = inputRef.current;
|
|
71
|
+
if (!inputElement) return;
|
|
72
|
+
inputElement.indeterminate = checked === 'mixed';
|
|
73
|
+
}, [checked]);
|
|
62
74
|
return /*#__PURE__*/React__default.createElement(FormFieldWrapper, _extends({
|
|
63
75
|
inputId: inputId,
|
|
64
76
|
"data-testid": dataTestId,
|
|
@@ -74,23 +86,23 @@ const Checkbox = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
74
86
|
name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
|
|
75
87
|
className: classNames(styles.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
|
|
76
88
|
type: "checkbox",
|
|
77
|
-
id:
|
|
78
|
-
checked:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
onChange: disabled ? undefined : onChange,
|
|
89
|
+
id: inputId,
|
|
90
|
+
checked: checked === true,
|
|
91
|
+
disabled: disabled,
|
|
92
|
+
onChange: onChangeHandler,
|
|
82
93
|
onBlur: onBlur,
|
|
83
94
|
value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
|
|
84
95
|
"aria-label": externalAriaLabel !== null && externalAriaLabel !== void 0 ? externalAriaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
|
|
85
96
|
"aria-labelledby": externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
|
|
86
97
|
"aria-describedby": internalAriaDescribedby,
|
|
87
|
-
ref: mergeRefs(registerProps === null || registerProps === void 0 ? void 0 : registerProps.ref, inputProps === null || inputProps === void 0 ? void 0 : inputProps.ref)
|
|
98
|
+
ref: mergeRefs(registerProps === null || registerProps === void 0 ? void 0 : registerProps.ref, inputProps === null || inputProps === void 0 ? void 0 : inputProps.ref, inputRef)
|
|
88
99
|
})), /*#__PURE__*/React__default.createElement("span", {
|
|
89
|
-
className: styles.
|
|
100
|
+
className: styles.visualCheck
|
|
90
101
|
}, /*#__PURE__*/React__default.createElement(Check, {
|
|
91
|
-
|
|
102
|
+
checked: checked,
|
|
103
|
+
disabled: disabled
|
|
92
104
|
}))), label && /*#__PURE__*/React__default.createElement(Label, {
|
|
93
|
-
htmlFor: (
|
|
105
|
+
htmlFor: (_ref3 = id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id) !== null && _ref3 !== void 0 ? _ref3 : inputId,
|
|
94
106
|
className: styles.checkboxLabel
|
|
95
107
|
}, label)));
|
|
96
108
|
});
|
|
@@ -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 = "._1QG4A{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1QG4A,._Hrm52{cursor:pointer;height:16px;width:16px}._Hrm52{position:absolute;opacity:0;z-index:10}._Hrm52:disabled{cursor:not-allowed}._3YKn6{color:#32363a;display:flex;align-items:center;cursor:pointer}._gLz4w{cursor:auto;color:hsla(0,0%,53.7%,.4)}._CiU6W{margin-right:12px;flex-shrink:0}._pQBwj{position:absolute;top:0;left:0}._fYTZK{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}._fYTZK:not(._-UsQ0):hover._8x3L5,._Hrm52:hover ._fYTZK:not(._-UsQ0)._8x3L5{background-color:#085caf}._fYTZK:not(._-UsQ0):hover:not(._8x3L5),._Hrm52:hover ._fYTZK:not(._-UsQ0):not(._8x3L5){border-color:#0b6ed0}._fYTZK ._ITLdO{fill:#0b6ed0;fill-opacity:0}._fYTZK._8x3L5 ._ITLdO{fill-opacity:1}._fYTZK._8x3L5:not(._-UsQ0){border-color:transparent;background-color:#0b6ed0}._fYTZK._8x3L5:not(._-UsQ0) ._ITLdO{fill:#fff}._fYTZK._-UsQ0{opacity:.4}._fYTZK ._keGsP{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._6dXcp{color:#32363a;margin-left:12px}._4H9w7{display:flex;align-items:center}._4H9w7:has(input:disabled) ._6dXcp{color:rgba(50,54,58,.4)}._4H9w7:not(:has(input:disabled)) ._6dXcp{cursor:pointer}._Hrm52.focus-visible~._pQBwj>._fYTZK,._Hrm52:focus-visible~._pQBwj>._fYTZK{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"checkbox":"_1QG4A","input":"_Hrm52","label":"_3YKn6","labelDisabled":"_gLz4w","wrappedInput":"_CiU6W","visualCheck":"_pQBwj","check":"_fYTZK","disabled":"_-UsQ0","checked":"_8x3L5","checkIcon":"_ITLdO","mixed":"_keGsP","checkboxLabel":"_6dXcp","checkboxField":"_4H9w7"};
|
|
5
|
+
var stylesheet="._1QG4A{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1QG4A,._Hrm52{cursor:pointer;height:16px;width:16px}._Hrm52{position:absolute;opacity:0;z-index:10}._Hrm52:disabled{cursor:not-allowed}._3YKn6{color:#32363a;display:flex;align-items:center;cursor:pointer}._gLz4w{cursor:auto;color:hsla(0,0%,53.7%,.4)}._CiU6W{margin-right:12px;flex-shrink:0}._pQBwj{position:absolute;top:0;left:0}._fYTZK{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}._fYTZK:not(._-UsQ0):hover._8x3L5,._Hrm52:hover ._fYTZK:not(._-UsQ0)._8x3L5{background-color:#085caf}._fYTZK:not(._-UsQ0):hover:not(._8x3L5),._Hrm52:hover ._fYTZK:not(._-UsQ0):not(._8x3L5){border-color:#0b6ed0}._fYTZK ._ITLdO{fill:#0b6ed0;fill-opacity:0}._fYTZK._8x3L5 ._ITLdO{fill-opacity:1}._fYTZK._8x3L5:not(._-UsQ0){border-color:transparent;background-color:#0b6ed0}._fYTZK._8x3L5:not(._-UsQ0) ._ITLdO{fill:#fff}._fYTZK._-UsQ0{opacity:.4}._fYTZK ._keGsP{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._6dXcp{color:#32363a;margin-left:12px}._4H9w7{display:flex;align-items:center}._4H9w7:has(input:disabled) ._6dXcp{color:rgba(50,54,58,.4)}._4H9w7:not(:has(input:disabled)) ._6dXcp{cursor:pointer}._Hrm52.focus-visible~._pQBwj>._fYTZK,._Hrm52:focus-visible~._pQBwj>._fYTZK{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 = "._NGTDn{display:flex;line-height:1.15}._NGTDn ._bcOTt{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._NGTDn ._bcOTt:hover:not(._EHOR0){background-color:#f5f5f5}._NGTDn ._bcOTt._EHOR0{cursor:not-allowed;fill:rgba(81,85,89,.4)}._NGTDn ._bcOTt:active:not(._EHOR0){background-color:#eee}._NGTDn ._luC9q{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._NGTDn ._luC9q._EHOR0{border-color:#d9d9d9}._NGTDn ._OnB7K{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}._NGTDn ._uN-w1{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._NGTDn ._uN-w1._EHOR0{border-color:#d9d9d9}._NGTDn ._Ul8Ok{height:36px;border:1px solid #898989;border-width:1px 0}._NGTDn ._Ul8Ok._EHOR0{border-color:#d9d9d9}._NGTDn ._VEqvJ{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._NGTDn ._IKZKZ{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}._NGTDn ._IKZKZ._MTRFG{color:#9d9fa1}._bcOTt.focus-visible,._bcOTt:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._3DHBh{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}._3DHBh ._RqWQl{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}._3DHBh ._59V7D{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}._3DHBh ._mBwVa{display:flex;justify-content:space-between;margin:12px 0}._3DHBh ._mBwVa._pKyO9{margin-bottom:0}._3DHBh ._iVeQn{display:flex}._3DHBh ._-gEPM{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._3DHBh ._wgpEQ{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._3DHBh ._aJpJB{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}._3DHBh ._Ph8uJ{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)}._3DHBh ._Ph8uJ._pSARi{height:16px;margin-bottom:6px}._3DHBh ._HnOWC{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}._3DHBh ._HnOWC._pSARi{height:16px}._3DHBh ._nFOaX{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}._3DHBh ._FVPzw{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._3DHBh ._2J1Z0{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}._3DHBh ._8S38H{display:flex;justify-content:space-between}._3DHBh ._21Yd-{display:flex;flex-direction:column;align-items:center}._3DHBh ._21Yd-._-oivY{margin-left:4px}._3DHBh ._RRniL{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}._3DHBh ._TSrsg{padding:3px 4px 3px 13px!important;width:78px}._3DHBh ._0Li-t{text-align:right;padding:3px 4px 3px 0!important;width:34px}._3DHBh ._OduUb{text-align:right;padding:3px 16px 3px 0!important;width:46px}._3DHBh ._S8-0G{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}._3DHBh ._w-YtB{line-height:22px}._3DHBh ._p7Jze{display:flex}._3DHBh ._WwUsb{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._3DHBh ._WwUsb._a-QPd{margin-top:0}._3DHBh ._Herms{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._Ngn-v{position:relative}._I-KtF{display:none}._2LFkF{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._59V7D.focus-visible,._59V7D: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}._2J1Z0.focus-visible,._2J1Z0:focus-visible,._Herms.focus-visible,._Herms:focus-visible,._HnOWC.focus-visible,._HnOWC:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"colorPicker":"_NGTDn","colorPickerButton":"_bcOTt","disabledButton":"_EHOR0","colorPickerButtonPreview":"_luC9q","alphaBackground":"_OnB7K","colorPickerButtonAlphaPreview":"_uN-w1","caretIcon":"_Ul8Ok","colorPickerInput":"_VEqvJ","colorPickerInputDecoration":"_IKZKZ","disabledDecoration":"_MTRFG","colorPickerFlyout":"_3DHBh","saturationGrid":"_RqWQl","saturationLoop":"_59V7D","sliderGroup":"_mBwVa","removeBottomMargin":"_pKyO9","sliderPreviewContainer":"_iVeQn","sliderPreview":"_-gEPM","sliderPreviewAlpha":"_wgpEQ","sliderPreviewAlphaBackground":"_aJpJB","hueSliderRail":"_Ph8uJ","alphaEnabled":"_pSARi","hueSliderThumb":"_HnOWC","alphaSliderRailBackground":"_nFOaX","alphaSliderRail":"_FVPzw","alphaSliderThumb":"_2J1Z0","hexInputGroup":"_8S38H","hexInputContainer":"_21Yd-","rgbInputContainer":"_-oivY","hexInputDecoration":"_RRniL","hexInput":"_TSrsg","rgbInput":"_0Li-t","alphaInput":"_OduUb","alphaInputDecoration":"_S8-0G","inputLabel":"_w-YtB","rgbContainer":"_p7Jze","palette":"_WwUsb","removeUpperMargin":"_a-QPd","swatch":"_Herms","relativePositionContainer":"_Ngn-v","hidden":"_I-KtF","hiddenLiveRegion":"_2LFkF"};
|
|
5
|
+
var stylesheet="._NGTDn{display:flex;line-height:1.15}._NGTDn ._bcOTt{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._NGTDn ._bcOTt:hover:not(._EHOR0){background-color:#f5f5f5}._NGTDn ._bcOTt._EHOR0{cursor:not-allowed;fill:rgba(81,85,89,.4)}._NGTDn ._bcOTt:active:not(._EHOR0){background-color:#eee}._NGTDn ._luC9q{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._NGTDn ._luC9q._EHOR0{border-color:#d9d9d9}._NGTDn ._OnB7K{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}._NGTDn ._uN-w1{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._NGTDn ._uN-w1._EHOR0{border-color:#d9d9d9}._NGTDn ._Ul8Ok{height:36px;border:1px solid #898989;border-width:1px 0}._NGTDn ._Ul8Ok._EHOR0{border-color:#d9d9d9}._NGTDn ._VEqvJ{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._NGTDn ._IKZKZ{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}._NGTDn ._IKZKZ._MTRFG{color:#9d9fa1}._bcOTt.focus-visible,._bcOTt:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._3DHBh{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}._3DHBh ._RqWQl{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}._3DHBh ._59V7D{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}._3DHBh ._mBwVa{display:flex;justify-content:space-between;margin:12px 0}._3DHBh ._mBwVa._pKyO9{margin-bottom:0}._3DHBh ._iVeQn{display:flex}._3DHBh ._-gEPM{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._3DHBh ._wgpEQ{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._3DHBh ._aJpJB{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}._3DHBh ._Ph8uJ{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)}._3DHBh ._Ph8uJ._pSARi{height:16px;margin-bottom:6px}._3DHBh ._HnOWC{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}._3DHBh ._HnOWC._pSARi{height:16px}._3DHBh ._nFOaX{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}._3DHBh ._FVPzw{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._3DHBh ._2J1Z0{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}._3DHBh ._8S38H{display:flex;justify-content:space-between}._3DHBh ._21Yd-{display:flex;flex-direction:column;align-items:center}._3DHBh ._21Yd-._-oivY{margin-left:4px}._3DHBh ._RRniL{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}._3DHBh ._TSrsg{padding:3px 4px 3px 13px!important;width:78px}._3DHBh ._0Li-t{text-align:right;padding:3px 4px 3px 0!important;width:34px}._3DHBh ._OduUb{text-align:right;padding:3px 16px 3px 0!important;width:46px}._3DHBh ._S8-0G{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}._3DHBh ._w-YtB{line-height:22px}._3DHBh ._p7Jze{display:flex}._3DHBh ._WwUsb{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._3DHBh ._WwUsb._a-QPd{margin-top:0}._3DHBh ._Herms{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._Ngn-v{position:relative}._I-KtF{display:none}._2LFkF{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._59V7D.focus-visible,._59V7D: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}._2J1Z0.focus-visible,._2J1Z0:focus-visible,._Herms.focus-visible,._Herms:focus-visible,._HnOWC.focus-visible,._HnOWC:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"combobox":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._wZa-1{position:relative;display:inline-block}._pjDi-{padding-right:36px}._pjDi-._hFjqR{box-shadow:none!important;border:1px solid #898989!important}._TBsw9{margin-top:4px}._Circ9{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._Circ9:hover{background-color:rgba(50,54,58,.08)}._Circ9:active{background-color:rgba(50,54,58,.11)}._Circ9._-HnmH{transform:rotate(-180deg)}._Circ9._-XZCb{opacity:.4}._UZ2Xt{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}._-XZCb{cursor:not-allowed}._-XZCb:hover{background-color:transparent}";
|
|
4
|
+
var styles = {"combobox":"_wZa-1","comboboxInput":"_pjDi-","ignoreFocusStyle":"_hFjqR","labelledInput":"_TBsw9","comboboxIcon":"_Circ9","open":"_-HnmH","disabled":"_-XZCb","comboboxEmpty":"_UZ2Xt"};
|
|
5
|
+
var stylesheet="._wZa-1{position:relative;display:inline-block}._pjDi-{padding-right:36px}._pjDi-._hFjqR{box-shadow:none!important;border:1px solid #898989!important}._TBsw9{margin-top:4px}._Circ9{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._Circ9:hover{background-color:rgba(50,54,58,.08)}._Circ9:active{background-color:rgba(50,54,58,.11)}._Circ9._-HnmH{transform:rotate(-180deg)}._Circ9._-XZCb{opacity:.4}._UZ2Xt{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}._-XZCb{cursor:not-allowed}._-XZCb: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 };
|
|
@@ -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 = "._HVLnf{grid-area:configPane;position:relative;height:100%}._6hEoF{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._tEO7-._yjQmH ._6hEoF,._tEO7-:not(._qQx5x) ._6hEoF{-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)}._qQx5x ._6hEoF{width:0}._yjQmH._qQx5x ._6hEoF{width:30px;cursor:pointer}._lWQkl ._6hEoF{border-right-color:#eee}._UlfGP{height:100%;position:relative;width:292px}._qQx5x ._UlfGP,._tEO7- ._UlfGP{width:0}._yjQmH._qQx5x ._UlfGP,._yjQmH._tEO7- ._UlfGP{width:30px}._4fNDS ._UlfGP{transition:width .5s}._IauQp{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._qQx5x ._IauQp{visibility:hidden}._4fNDS ._IauQp{visibility:visible}._IauQp ._FyQCD{width:252px;margin-left:20px}._QDRtu{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._XO6Yk{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._XO6Yk *{font-weight:400;font-size:16px;margin:0}._Px65I{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._qQx5x ._Px65I{left:0}._yjQmH._qQx5x ._Px65I{left:30px}._Px65I ._oDdZE{width:4px;height:100%}._Px65I:hover ._oDdZE,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._oDdZE{background-color:#9dc5ed}._Px65I:hover ._MrfVj>span,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj>span{background-color:#0b6ed0;border-color:#0b6ed0}._Px65I:hover ._MrfVj>span>svg,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj>span>svg{fill:#fff}._Px65I:hover ._MrfVj:active>span,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj:active>span{background-color:#0854a1;border-color:#0854a1}._Px65I:hover ._MrfVj:active>span>svg,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj:active>span>svg{fill:#fff}._Px65I ._MrfVj{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;opacity:0}._Px65I ._MrfVj._uo3ct._uo3ct._uo3ct{opacity:1}._Px65I ._MrfVj._iIrL0._iIrL0._iIrL0{opacity:0}._Px65I ._MrfVj:active>span{background-color:#0854a1;border-color:#0854a1}._Px65I ._MrfVj:active>span>svg{fill:#fff}._Px65I ._MrfVj>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Px65I ._MrfVj>span>svg{fill:#515559;border-radius:50%}._6hEoF:hover+._Px65I ._MrfVj,._Px65I:hover ._MrfVj,._qQx5x ._Px65I ._MrfVj{opacity:1}._MrfVj.focus-visible,._MrfVj:focus-visible{opacity:1;border-color:#0a3f88}";
|
|
4
|
+
var styles = {"paneContainer":"_HVLnf","paneContentContainer":"_6hEoF","unpinned":"_tEO7-","hidden":"_qQx5x","preview":"_yjQmH","openHidden":"_lWQkl","spacer":"_UlfGP","transitioning":"_4fNDS","paneContent":"_IauQp","paneContentInner":"_FyQCD","header":"_QDRtu","title":"_XO6Yk","clickableArea":"_Px65I","hoverBorder":"_oDdZE","toolbarPanelExpandCollapseButton":"_MrfVj","overrideShow":"_uo3ct","overrideHide":"_iIrL0"};
|
|
5
|
+
var stylesheet="._HVLnf{grid-area:configPane;position:relative;height:100%}._6hEoF{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._tEO7-._yjQmH ._6hEoF,._tEO7-:not(._qQx5x) ._6hEoF{-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)}._qQx5x ._6hEoF{width:0}._yjQmH._qQx5x ._6hEoF{width:30px;cursor:pointer}._lWQkl ._6hEoF{border-right-color:#eee}._UlfGP{height:100%;position:relative;width:292px}._qQx5x ._UlfGP,._tEO7- ._UlfGP{width:0}._yjQmH._qQx5x ._UlfGP,._yjQmH._tEO7- ._UlfGP{width:30px}._4fNDS ._UlfGP{transition:width .5s}._IauQp{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._qQx5x ._IauQp{visibility:hidden}._4fNDS ._IauQp{visibility:visible}._IauQp ._FyQCD{width:252px;margin-left:20px}._QDRtu{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._XO6Yk{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._XO6Yk *{font-weight:400;font-size:16px;margin:0}._Px65I{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._qQx5x ._Px65I{left:0}._yjQmH._qQx5x ._Px65I{left:30px}._Px65I ._oDdZE{width:4px;height:100%}._Px65I:hover ._oDdZE,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._oDdZE{background-color:#9dc5ed}._Px65I:hover ._MrfVj>span,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj>span{background-color:#0b6ed0;border-color:#0b6ed0}._Px65I:hover ._MrfVj>span>svg,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj>span>svg{fill:#fff}._Px65I:hover ._MrfVj:active>span,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj:active>span{background-color:#0854a1;border-color:#0854a1}._Px65I:hover ._MrfVj:active>span>svg,._yjQmH._qQx5x ._6hEoF:hover+._Px65I ._MrfVj:active>span>svg{fill:#fff}._Px65I ._MrfVj{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;opacity:0}._Px65I ._MrfVj._uo3ct._uo3ct._uo3ct{opacity:1}._Px65I ._MrfVj._iIrL0._iIrL0._iIrL0{opacity:0}._Px65I ._MrfVj:active>span{background-color:#0854a1;border-color:#0854a1}._Px65I ._MrfVj:active>span>svg{fill:#fff}._Px65I ._MrfVj>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Px65I ._MrfVj>span>svg{fill:#515559;border-radius:50%}._6hEoF:hover+._Px65I ._MrfVj,._Px65I:hover ._MrfVj,._qQx5x ._Px65I ._MrfVj{opacity:1}._MrfVj.focus-visible,._MrfVj:focus-visible{opacity:1;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 = "._ilZtx{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4
|
+
var styles = {"divider":"_ilZtx"};
|
|
5
|
+
var stylesheet="._ilZtx{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 = "._QMiXD{max-width:100%;position:relative;display:inline-block}._9jqy3{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}._9jqy3:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._9jqy3:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._9jqy3:disabled,._9jqy3[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._9jqy3._j7Dkd{border-color:#b00}._9jqy3._j7Dkd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._9jqy3._ekDhi{min-width:120px;padding:0 4px 0 12px}._9jqy3._dfbk7{margin-top:4px}._9jqy3._OTHTo:not([aria-disabled=true]):not(:disabled){color:#32363a}._9jqy3 ._AaeXJ{min-height:10px}._9jqy3 ._AaeXJ._eK7As{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._9jqy3 ._AaeXJ._LYwbW{display:inline-flex;align-items:center}._9jqy3 ._SiZw-{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._9jqy3 ._SiZw-._n2mnj{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._9jqy3 ._SiZw-._1Pm-2{transform:rotate(-180deg)}._40DeG[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._6z49t{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}._lceSH{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}._jPCP-{fill:#515559}._-C0jd{margin:2px 12px 2px 0}._-C0jd._zqHTI>svg{border-color:#0b6ed0}._YFacE{width:100%}";
|
|
4
|
+
var styles = {"container":"_QMiXD","button":"_9jqy3","invalid":"_j7Dkd","hasText":"_ekDhi","labelled":"_dfbk7","selected":"_OTHTo","buttonLabel":"_AaeXJ","isString":"_eK7As","isNode":"_LYwbW","icon":"_SiZw-","disabled":"_n2mnj","open":"_1Pm-2","option":"_40DeG","search":"_6z49t","emptyOption":"_lceSH","searchIcon":"_jPCP-","checkbox":"_-C0jd","highlighted":"_zqHTI","searchInput":"_YFacE"};
|
|
5
|
+
var stylesheet="._QMiXD{max-width:100%;position:relative;display:inline-block}._9jqy3{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}._9jqy3:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._9jqy3:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._9jqy3:disabled,._9jqy3[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._9jqy3._j7Dkd{border-color:#b00}._9jqy3._j7Dkd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._9jqy3._ekDhi{min-width:120px;padding:0 4px 0 12px}._9jqy3._dfbk7{margin-top:4px}._9jqy3._OTHTo:not([aria-disabled=true]):not(:disabled){color:#32363a}._9jqy3 ._AaeXJ{min-height:10px}._9jqy3 ._AaeXJ._eK7As{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._9jqy3 ._AaeXJ._LYwbW{display:inline-flex;align-items:center}._9jqy3 ._SiZw-{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._9jqy3 ._SiZw-._n2mnj{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._9jqy3 ._SiZw-._1Pm-2{transform:rotate(-180deg)}._40DeG[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._6z49t{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}._lceSH{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}._jPCP-{fill:#515559}._-C0jd{margin:2px 12px 2px 0}._-C0jd._zqHTI>svg{border-color:#0b6ed0}._YFacE{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 };
|
|
@@ -2,7 +2,7 @@ import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
|
2
2
|
import React__default, { useRef, useMemo, useEffect, useCallback } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import styles from './Dropdown2.js';
|
|
5
|
-
import
|
|
5
|
+
import Check from '../Checkbox/Check.js';
|
|
6
6
|
import '../../utils/index.js';
|
|
7
7
|
import { useDropdownContext } from './DropdownContext.js';
|
|
8
8
|
import { useDropdownHeaderContext } from './DropdownHeaderContext.js';
|
|
@@ -98,7 +98,7 @@ const DropdownOption = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
98
98
|
setHighlightedIndex(myIndex);
|
|
99
99
|
}),
|
|
100
100
|
onMouseLeave: wrapEvent(onMouseLeave, () => setHighlightedIndex(-1))
|
|
101
|
-
}), children || /*#__PURE__*/React__default.createElement(React__default.Fragment, null, isMultiSelect && /*#__PURE__*/React__default.createElement(
|
|
101
|
+
}), children || /*#__PURE__*/React__default.createElement(React__default.Fragment, null, isMultiSelect && /*#__PURE__*/React__default.createElement(Check, {
|
|
102
102
|
className: classNames(styles.checkbox, {
|
|
103
103
|
[styles.highlighted]: isHighlighted && !isSelected
|
|
104
104
|
}),
|
|
@@ -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 = "._YzqBI{position:relative}._YzqBI[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._YzqBI:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Y4Mz-{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._FwFV3{margin-left:16px;font-size:14px;color:#32363a}._FwFV3 ._5C0WM{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_YzqBI","fileInput":"_Y4Mz-","fileDetails":"_FwFV3","fileName":"_5C0WM"};
|
|
5
|
+
var stylesheet="._YzqBI{position:relative}._YzqBI[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._YzqBI:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Y4Mz-{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._FwFV3{margin-left:16px;font-size:14px;color:#32363a}._FwFV3 ._5C0WM{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 = "._RRAQg{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._5Ia-F{color:#6a6d70;fill:#6a6d70}._smEtt{color:#b00;fill:#b00}._-Vv1b,._sOlv9{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_RRAQg","helperText":"_5Ia-F","errorText":"_smEtt","errorIcon":"_sOlv9","readOnlyIcon":"_-Vv1b"};
|
|
5
|
+
var stylesheet="._RRAQg{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._5Ia-F{color:#6a6d70;fill:#6a6d70}._smEtt{color:#b00;fill:#b00}._-Vv1b,._sOlv9{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 = "._zRuHw{display:flex;flex-direction:column;align-items:flex-start}._vxKk1{margin-top:6px;max-width:100%}._vxKk1 *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_zRuHw","captionContainer":"_vxKk1"};
|
|
5
|
+
var stylesheet="._zRuHw{display:flex;flex-direction:column;align-items:flex-start}._vxKk1{margin-top:6px;max-width:100%}._vxKk1 *+*{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 };
|