@qualtrics/ui-react 2.82.0 → 2.83.1
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 +18 -0
- package/dist/__shared/cjs/{index-e8d5258a.js → index-1cd046a7.js} +171 -155
- package/dist/__shared/cjs/{index-d6644f43.js → index-ce19aea5.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/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +18 -15
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/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/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/Tooltip.js +8 -7
- 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/design-tokens/less/typography.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Indicator/Indicator2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- 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.js +47 -47
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/Popper/Popper.js +16 -5
- package/next/package.json +1 -1
- package/package.json +1 -1
|
@@ -39,9 +39,9 @@ function styleInject(css, ref) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
var css_248z = ".
|
|
43
|
-
var styles = {"icon":"
|
|
44
|
-
var stylesheet=".
|
|
42
|
+
var css_248z = "._AZypZ{flex-shrink:0}";
|
|
43
|
+
var styles = {"icon":"_AZypZ"};
|
|
44
|
+
var stylesheet="._AZypZ{flex-shrink:0}";
|
|
45
45
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
46
46
|
|
|
47
47
|
const _excluded = ["size", "className", "aria-hidden"];
|
|
@@ -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 = "._KahWj{width:100%;display:flex;flex-direction:column}._KahWj._Y2np-{grid-gap:20px;gap:20px}._gHgst{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}._gHgst ._c6Wwq{margin-top:-3px}._Evvbw{flex:1}._GMciY{padding:8px 16px 16px 24px;font-size:14px;line-height:20px;overflow:var(--accordion-panel-overflow,auto)}._XBvQQ ._gHgst{border-radius:4px}._XBvQQ ._gHgst:hover:not(._lZ6Xv){background-color:rgba(50,54,58,.08)}._XBvQQ ._gHgst:active:not(._lZ6Xv){background-color:rgba(50,54,58,.11)}._9-WBy ._gHgst{font-weight:400;padding-left:12px;border-top:1px solid #eee}._9-WBy ._gHgst:hover:not(._lZ6Xv){background-color:rgba(50,54,58,.08)}._9-WBy ._gHgst:active:not(._lZ6Xv){background-color:rgba(50,54,58,.11)}._Y2np- ._1Y15U{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._Y2np- ._1Y15U._rb5Vj{box-shadow:none}._Y2np- ._1Y15U._rb5Vj ._gHgst{border-radius:6px}._Y2np- ._gHgst{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._Y2np- ._gHgst ._Evvbw{padding-left:20px}._Y2np- ._gHgst:hover:not(disabled){border:1px solid #c2c2c2}._Y2np- ._gHgst:active:not(._lZ6Xv){border:1px solid #898989}._Y2np- ._GMciY{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._rb5Vj ._GMciY{display:none}._lZ6Xv{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._gHgst.focus-visible,._gHgst:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._gHgst.focus-visible:before,._gHgst:focus-visible:before{z-index:1}._9-WBy ._gHgst.focus-visible,._9-WBy ._gHgst:focus-visible{border-color:transparent}";
|
|
4
|
+
var AccordionStyles = {"accordion":"_KahWj","block-variant":"_Y2np-","header":"_gHgst","headerIcon":"_c6Wwq","title":"_Evvbw","panel":"_GMciY","default-variant":"_XBvQQ","disabled":"_lZ6Xv","outlined-variant":"_9-WBy","section":"_1Y15U","closed":"_rb5Vj"};
|
|
5
|
+
var stylesheet="._KahWj{width:100%;display:flex;flex-direction:column}._KahWj._Y2np-{grid-gap:20px;gap:20px}._gHgst{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}._gHgst ._c6Wwq{margin-top:-3px}._Evvbw{flex:1}._GMciY{padding:8px 16px 16px 24px;font-size:14px;line-height:20px;overflow:var(--accordion-panel-overflow,auto)}._XBvQQ ._gHgst{border-radius:4px}._XBvQQ ._gHgst:hover:not(._lZ6Xv){background-color:rgba(50,54,58,.08)}._XBvQQ ._gHgst:active:not(._lZ6Xv){background-color:rgba(50,54,58,.11)}._9-WBy ._gHgst{font-weight:400;padding-left:12px;border-top:1px solid #eee}._9-WBy ._gHgst:hover:not(._lZ6Xv){background-color:rgba(50,54,58,.08)}._9-WBy ._gHgst:active:not(._lZ6Xv){background-color:rgba(50,54,58,.11)}._Y2np- ._1Y15U{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._Y2np- ._1Y15U._rb5Vj{box-shadow:none}._Y2np- ._1Y15U._rb5Vj ._gHgst{border-radius:6px}._Y2np- ._gHgst{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._Y2np- ._gHgst ._Evvbw{padding-left:20px}._Y2np- ._gHgst:hover:not(disabled){border:1px solid #c2c2c2}._Y2np- ._gHgst:active:not(._lZ6Xv){border:1px solid #898989}._Y2np- ._GMciY{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._rb5Vj ._GMciY{display:none}._lZ6Xv{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._gHgst.focus-visible,._gHgst:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._gHgst.focus-visible:before,._gHgst:focus-visible:before{z-index:1}._9-WBy ._gHgst.focus-visible,._9-WBy ._gHgst: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 = "._4US87{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}._4US87._6MisC{padding:0 8px;height:26px;min-height:26px}._4US87._8oVDA{display:block;width:100%}._4US87._KSXKD{cursor:not-allowed}._4US87:active:focus,._4US87:focus{outline:none}._4US87._9ryao{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._4US87._9ryao:hover:not(._KSXKD){background-color:#eee}._4US87._9ryao:active:not(._KSXKD){background-color:#e5e5e5}._4US87._9ryao._KSXKD{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)}._4US87._HkYq5{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._4US87._HkYq5:hover:not(._KSXKD){background-color:#085caf;border-color:#085caf}._4US87._HkYq5:active:not(._KSXKD){background-color:#0854a1;border-color:#0854a1}._4US87._HkYq5._KSXKD{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._4US87._-3MHk{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._4US87._-3MHk:hover:not(._KSXKD){background-color:#eef5fc}._4US87._-3MHk:active:not(._KSXKD){background-color:#e1edf9}._4US87._-3MHk._KSXKD{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)}._4US87._JxPBR{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._4US87._JxPBR:hover:not(._KSXKD){background-color:#eef5fc;border-color:#eef5fc}._4US87._JxPBR:active:not(._KSXKD){background-color:#e1edf9;border-color:#e1edf9}._4US87._JxPBR._KSXKD{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)}._4US87._stmaj{color:#0b6ed0;fill:#0b6ed0;padding:0}._4US87._stmaj:hover:not(._KSXKD){color:#085caf}._4US87._stmaj:active:not(._KSXKD){color:#0854a1}._4US87._stmaj._KSXKD{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._4US87._ci7-c{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._4US87._ci7-c:hover:not(._KSXKD){background-color:#ffecec}._4US87._ci7-c:active:not(._KSXKD){background-color:#ffdbdb}._4US87._ci7-c._KSXKD{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)}._4US87.focus-visible,._4US87:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var buttonStyles = {"btn":"_4US87","small":"_6MisC","full":"_8oVDA","disabled":"_KSXKD","default":"_9ryao","primary":"_HkYq5","secondary":"_-3MHk","tertiary":"_JxPBR","link":"_stmaj","danger":"_ci7-c"};
|
|
5
|
+
var stylesheet="._4US87{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}._4US87._6MisC{padding:0 8px;height:26px;min-height:26px}._4US87._8oVDA{display:block;width:100%}._4US87._KSXKD{cursor:not-allowed}._4US87:active:focus,._4US87:focus{outline:none}._4US87._9ryao{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._4US87._9ryao:hover:not(._KSXKD){background-color:#eee}._4US87._9ryao:active:not(._KSXKD){background-color:#e5e5e5}._4US87._9ryao._KSXKD{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)}._4US87._HkYq5{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._4US87._HkYq5:hover:not(._KSXKD){background-color:#085caf;border-color:#085caf}._4US87._HkYq5:active:not(._KSXKD){background-color:#0854a1;border-color:#0854a1}._4US87._HkYq5._KSXKD{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._4US87._-3MHk{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._4US87._-3MHk:hover:not(._KSXKD){background-color:#eef5fc}._4US87._-3MHk:active:not(._KSXKD){background-color:#e1edf9}._4US87._-3MHk._KSXKD{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)}._4US87._JxPBR{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._4US87._JxPBR:hover:not(._KSXKD){background-color:#eef5fc;border-color:#eef5fc}._4US87._JxPBR:active:not(._KSXKD){background-color:#e1edf9;border-color:#e1edf9}._4US87._JxPBR._KSXKD{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)}._4US87._stmaj{color:#0b6ed0;fill:#0b6ed0;padding:0}._4US87._stmaj:hover:not(._KSXKD){color:#085caf}._4US87._stmaj:active:not(._KSXKD){color:#0854a1}._4US87._stmaj._KSXKD{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._4US87._ci7-c{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._4US87._ci7-c:hover:not(._KSXKD){background-color:#ffecec}._4US87._ci7-c:active:not(._KSXKD){background-color:#ffdbdb}._4US87._ci7-c._KSXKD{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)}._4US87.focus-visible,._4US87: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 = "._vArYO{display:inline-flex;align-items:stretch}._vArYO._xdQ4b{width:100%}._vArYO ._Infgi{margin:0;min-width:0}._vArYO ._Infgi:focus{z-index:20}._vArYO ._Infgi:hover{z-index:10}._vArYO ._Infgi._5Vzvn{border:none}._vArYO ._Infgi._xdQ4b{display:inline-flex;width:auto;flex-grow:1}._vArYO ._Infgi: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}._vArYO ._Infgi:first-child._5Vzvn{border-right:1px solid #fff}._vArYO ._Infgi:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._vArYO ._Infgi:not(:last-child):not(:first-child)._5Vzvn{border-left:1px solid #fff;border-right:1px solid #fff}._vArYO ._Infgi:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._vArYO ._Infgi:last-child._5Vzvn{border-left:1px solid #fff}._vArYO ._Infgi: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":"_vArYO","full":"_xdQ4b","buttonGroupElement":"_Infgi","primary":"_5Vzvn"};
|
|
5
|
+
var stylesheet="._vArYO{display:inline-flex;align-items:stretch}._vArYO._xdQ4b{width:100%}._vArYO ._Infgi{margin:0;min-width:0}._vArYO ._Infgi:focus{z-index:20}._vArYO ._Infgi:hover{z-index:10}._vArYO ._Infgi._5Vzvn{border:none}._vArYO ._Infgi._xdQ4b{display:inline-flex;width:auto;flex-grow:1}._vArYO ._Infgi: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}._vArYO ._Infgi:first-child._5Vzvn{border-right:1px solid #fff}._vArYO ._Infgi:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._vArYO ._Infgi:not(:last-child):not(:first-child)._5Vzvn{border-left:1px solid #fff;border-right:1px solid #fff}._vArYO ._Infgi:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._vArYO ._Infgi:last-child._5Vzvn{border-left:1px solid #fff}._vArYO ._Infgi: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 = "._D-UrB{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._D-UrB,._wYyvD{cursor:pointer;height:16px;width:16px}._wYyvD{position:absolute;opacity:0;z-index:10}._wYyvD:disabled{cursor:not-allowed}._--4Uw{color:#32363a;display:flex;align-items:center;cursor:pointer}._VCTp8{cursor:auto;color:hsla(0,0%,53.7%,.4)}._gCcTa{margin-right:12px;flex-shrink:0}._McEsJ{position:absolute;top:0;left:0}._xII39{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}._wYyvD:hover ._xII39:not(._D5--g)._y2UqF,._xII39:not(._D5--g):hover._y2UqF{background-color:#085caf}._wYyvD:hover ._xII39:not(._D5--g):not(._y2UqF),._xII39:not(._D5--g):hover:not(._y2UqF){border-color:#0b6ed0}._xII39 ._1mJ-F{fill:#0b6ed0;fill-opacity:0}._xII39._y2UqF ._1mJ-F{fill-opacity:1}._xII39._y2UqF:not(._D5--g){border-color:transparent;background-color:#0b6ed0}._xII39._y2UqF:not(._D5--g) ._1mJ-F{fill:#fff}._xII39._D5--g{opacity:.4}._xII39 ._6ynjo{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._8ry-a{color:#32363a;margin-left:12px}._MpH78{display:flex;align-items:center}._MpH78:has(input:disabled) ._8ry-a{color:rgba(50,54,58,.4)}._MpH78:not(:has(input:disabled)) ._8ry-a{cursor:pointer}._wYyvD.focus-visible~._McEsJ>._xII39,._wYyvD:focus-visible~._McEsJ>._xII39{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"checkbox":"_D-UrB","input":"_wYyvD","label":"_--4Uw","labelDisabled":"_VCTp8","wrappedInput":"_gCcTa","visualCheck":"_McEsJ","check":"_xII39","disabled":"_D5--g","checked":"_y2UqF","checkIcon":"_1mJ-F","mixed":"_6ynjo","checkboxLabel":"_8ry-a","checkboxField":"_MpH78"};
|
|
5
|
+
var stylesheet="._D-UrB{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._D-UrB,._wYyvD{cursor:pointer;height:16px;width:16px}._wYyvD{position:absolute;opacity:0;z-index:10}._wYyvD:disabled{cursor:not-allowed}._--4Uw{color:#32363a;display:flex;align-items:center;cursor:pointer}._VCTp8{cursor:auto;color:hsla(0,0%,53.7%,.4)}._gCcTa{margin-right:12px;flex-shrink:0}._McEsJ{position:absolute;top:0;left:0}._xII39{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}._wYyvD:hover ._xII39:not(._D5--g)._y2UqF,._xII39:not(._D5--g):hover._y2UqF{background-color:#085caf}._wYyvD:hover ._xII39:not(._D5--g):not(._y2UqF),._xII39:not(._D5--g):hover:not(._y2UqF){border-color:#0b6ed0}._xII39 ._1mJ-F{fill:#0b6ed0;fill-opacity:0}._xII39._y2UqF ._1mJ-F{fill-opacity:1}._xII39._y2UqF:not(._D5--g){border-color:transparent;background-color:#0b6ed0}._xII39._y2UqF:not(._D5--g) ._1mJ-F{fill:#fff}._xII39._D5--g{opacity:.4}._xII39 ._6ynjo{position:absolute;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._8ry-a{color:#32363a;margin-left:12px}._MpH78{display:flex;align-items:center}._MpH78:has(input:disabled) ._8ry-a{color:rgba(50,54,58,.4)}._MpH78:not(:has(input:disabled)) ._8ry-a{cursor:pointer}._wYyvD.focus-visible~._McEsJ>._xII39,._wYyvD:focus-visible~._McEsJ>._xII39{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 = "._Bqd29{display:flex;line-height:1.15}._Bqd29 ._Swoxi{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._Bqd29 ._Swoxi:hover:not(._hLZb8){background-color:#f5f5f5}._Bqd29 ._Swoxi._hLZb8{cursor:not-allowed;fill:rgba(81,85,89,.4)}._Bqd29 ._Swoxi:active:not(._hLZb8){background-color:#eee}._Bqd29 ._bk03c{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._Bqd29 ._bk03c._hLZb8{border-color:#d9d9d9}._Bqd29 ._l40BG{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}._Bqd29 ._ZQYJO{width:36px;height:36px;border:1px solid #898989;border-right-width:0}._Bqd29 ._ZQYJO._hLZb8{border-color:#d9d9d9}._Bqd29 ._RGc5T{height:36px;border:1px solid #898989;border-width:1px 0}._Bqd29 ._RGc5T._hLZb8{border-color:#d9d9d9}._Bqd29 ._dlGFc{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._Bqd29 ._4OtIi{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}._Bqd29 ._4OtIi._MQvcF{color:#9d9fa1}._Swoxi.focus-visible,._Swoxi:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._7JQ8V{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}._7JQ8V ._QUcay{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}._7JQ8V ._aMwDw{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}._7JQ8V ._cJvO8{display:flex;justify-content:space-between;margin:12px 0}._7JQ8V ._cJvO8._YFhHB{margin-bottom:0}._7JQ8V ._icCjO{display:flex}._7JQ8V ._QQWGw{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._7JQ8V ._4YLc9{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._7JQ8V ._ACm3-{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}._7JQ8V ._UO-X8{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)}._7JQ8V ._UO-X8._4yRq3{height:16px;margin-bottom:6px}._7JQ8V ._xG50b{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}._7JQ8V ._xG50b._4yRq3{height:16px}._7JQ8V ._ypDsp{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}._7JQ8V ._Yc8mq{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._7JQ8V ._nHNvl{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}._7JQ8V ._2ovfw{display:flex;justify-content:space-between}._7JQ8V ._PzrCH{display:flex;flex-direction:column;align-items:center}._7JQ8V ._PzrCH._JLWgG{margin-left:4px}._7JQ8V ._FGl0L{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}._7JQ8V ._5hF1W{padding:3px 4px 3px 13px!important;width:78px}._7JQ8V ._AzgDs{text-align:right;padding:3px 4px 3px 0!important;width:34px}._7JQ8V ._UFFaM{text-align:right;padding:3px 16px 3px 0!important;width:46px}._7JQ8V ._RInXD{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}._7JQ8V ._1AZLv{line-height:22px}._7JQ8V ._cO7b5{display:flex}._7JQ8V ._-6SQu{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._7JQ8V ._-6SQu._iBKHq{margin-top:0}._7JQ8V ._GNSMw{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._7JQ8V ._a68ih,._7JQ8V ._zwxZw{margin-top:12px}._prawb{position:relative}._524ez{display:none}._luoPp{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._aMwDw.focus-visible,._aMwDw: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}._GNSMw.focus-visible,._GNSMw:focus-visible,._nHNvl.focus-visible,._nHNvl:focus-visible,._xG50b.focus-visible,._xG50b:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"colorPicker":"_Bqd29","colorPickerButton":"_Swoxi","disabledButton":"_hLZb8","colorPickerButtonPreview":"_bk03c","alphaBackground":"_l40BG","colorPickerButtonAlphaPreview":"_ZQYJO","caretIcon":"_RGc5T","colorPickerInput":"_dlGFc","colorPickerInputDecoration":"_4OtIi","disabledDecoration":"_MQvcF","colorPickerFlyout":"_7JQ8V","saturationGrid":"_QUcay","saturationLoop":"_aMwDw","sliderGroup":"_cJvO8","removeBottomMargin":"_YFhHB","sliderPreviewContainer":"_icCjO","sliderPreview":"_QQWGw","sliderPreviewAlpha":"_4YLc9","sliderPreviewAlphaBackground":"_ACm3-","hueSliderRail":"_UO-X8","alphaEnabled":"_4yRq3","hueSliderThumb":"_xG50b","alphaSliderRailBackground":"_ypDsp","alphaSliderRail":"_Yc8mq","alphaSliderThumb":"_nHNvl","hexInputGroup":"_2ovfw","hexInputContainer":"_PzrCH","rgbInputContainer":"_JLWgG","hexInputDecoration":"_FGl0L","hexInput":"_5hF1W","rgbInput":"_AzgDs","alphaInput":"_UFFaM","alphaInputDecoration":"_RInXD","inputLabel":"_1AZLv","rgbContainer":"_cO7b5","palette":"_-6SQu","removeUpperMargin":"_iBKHq","swatch":"_GNSMw","noColorButton":"_a68ih","clearSelectionButton":"_zwxZw","relativePositionContainer":"_prawb","hidden":"_524ez","hiddenLiveRegion":"_luoPp"};
|
|
5
|
+
var stylesheet="._Bqd29{display:flex;line-height:1.15}._Bqd29 ._Swoxi{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._Bqd29 ._Swoxi:hover:not(._hLZb8){background-color:#f5f5f5}._Bqd29 ._Swoxi._hLZb8{cursor:not-allowed;fill:rgba(81,85,89,.4)}._Bqd29 ._Swoxi:active:not(._hLZb8){background-color:#eee}._Bqd29 ._bk03c{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._Bqd29 ._bk03c._hLZb8{border-color:#d9d9d9}._Bqd29 ._l40BG{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}._Bqd29 ._ZQYJO{width:36px;height:36px;border:1px solid #898989;border-right-width:0}._Bqd29 ._ZQYJO._hLZb8{border-color:#d9d9d9}._Bqd29 ._RGc5T{height:36px;border:1px solid #898989;border-width:1px 0}._Bqd29 ._RGc5T._hLZb8{border-color:#d9d9d9}._Bqd29 ._dlGFc{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._Bqd29 ._4OtIi{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}._Bqd29 ._4OtIi._MQvcF{color:#9d9fa1}._Swoxi.focus-visible,._Swoxi:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._7JQ8V{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}._7JQ8V ._QUcay{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}._7JQ8V ._aMwDw{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}._7JQ8V ._cJvO8{display:flex;justify-content:space-between;margin:12px 0}._7JQ8V ._cJvO8._YFhHB{margin-bottom:0}._7JQ8V ._icCjO{display:flex}._7JQ8V ._QQWGw{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._7JQ8V ._4YLc9{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._7JQ8V ._ACm3-{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}._7JQ8V ._UO-X8{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)}._7JQ8V ._UO-X8._4yRq3{height:16px;margin-bottom:6px}._7JQ8V ._xG50b{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}._7JQ8V ._xG50b._4yRq3{height:16px}._7JQ8V ._ypDsp{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}._7JQ8V ._Yc8mq{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._7JQ8V ._nHNvl{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}._7JQ8V ._2ovfw{display:flex;justify-content:space-between}._7JQ8V ._PzrCH{display:flex;flex-direction:column;align-items:center}._7JQ8V ._PzrCH._JLWgG{margin-left:4px}._7JQ8V ._FGl0L{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}._7JQ8V ._5hF1W{padding:3px 4px 3px 13px!important;width:78px}._7JQ8V ._AzgDs{text-align:right;padding:3px 4px 3px 0!important;width:34px}._7JQ8V ._UFFaM{text-align:right;padding:3px 16px 3px 0!important;width:46px}._7JQ8V ._RInXD{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}._7JQ8V ._1AZLv{line-height:22px}._7JQ8V ._cO7b5{display:flex}._7JQ8V ._-6SQu{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._7JQ8V ._-6SQu._iBKHq{margin-top:0}._7JQ8V ._GNSMw{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._7JQ8V ._a68ih,._7JQ8V ._zwxZw{margin-top:12px}._prawb{position:relative}._524ez{display:none}._luoPp{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._aMwDw.focus-visible,._aMwDw: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}._GNSMw.focus-visible,._GNSMw:focus-visible,._nHNvl.focus-visible,._nHNvl:focus-visible,._xG50b.focus-visible,._xG50b: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 };
|
|
@@ -13,7 +13,6 @@ import ComboboxIcon from './ComboboxIcon.js';
|
|
|
13
13
|
import '../../utils/index.js';
|
|
14
14
|
import { ComboboxContextProvider } from './ComboboxContext.js';
|
|
15
15
|
import '../../hooks/index.js';
|
|
16
|
-
import { useIsFocusVisible, conditionalA11yHelpersWrapper } from '../UIProvider/A11yHelpersContext.js';
|
|
17
16
|
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
18
17
|
import useId from '../../hooks/useId/useId.js';
|
|
19
18
|
import filterChildren from '../../utils/filterChildren/filterChildren.js';
|
|
@@ -70,8 +69,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
70
69
|
translate = _useTranslation.translate;
|
|
71
70
|
const isOptionSelectedOnKeyboardHighlight = unstable_isOptionSelectedOnKeyboardHighlight;
|
|
72
71
|
const isFilteringDisabled = isOptionSelectedOnKeyboardHighlight || externalIsFilteringDisabled;
|
|
73
|
-
const _useIsFocusVisible = useIsFocusVisible(true),
|
|
74
|
-
isFocusVisible = _useIsFocusVisible.isFocusVisible;
|
|
75
72
|
let comboboxInput = /*#__PURE__*/React__default.createElement(ComboboxInput, null);
|
|
76
73
|
let comboboxList = /*#__PURE__*/React__default.createElement(ComboboxList, null);
|
|
77
74
|
|
|
@@ -116,6 +113,10 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
116
113
|
_useState2 = _slicedToArray(_useState, 2),
|
|
117
114
|
highlightedIndex = _useState2[0],
|
|
118
115
|
setHighlightedIndex = _useState2[1];
|
|
116
|
+
const _useState3 = useState(false),
|
|
117
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
118
|
+
isKeyboardNavigation = _useState4[0],
|
|
119
|
+
setIsKeyboardNavigation = _useState4[1];
|
|
119
120
|
|
|
120
121
|
// This option value is the "computer readable" value. The option value is not used to set the input value.
|
|
121
122
|
const _useControllableState3 = useControllableState(defaultSelectedOptionValue, onChange, externalSelectedOptionValue),
|
|
@@ -125,10 +126,10 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
125
126
|
const getLabelForValue = useCallback(value => getOptionLabel(allOptions.find(option => getOptionValue(option) === value)), [allOptions]);
|
|
126
127
|
|
|
127
128
|
// The option label is the "human readable" value. The option label is used to set the input value.
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
selectedOptionLabel =
|
|
131
|
-
setSelectedOptionLabel =
|
|
129
|
+
const _useState5 = useState(() => getLabelForValue(selectedOptionValue) || externalInputValue || defaultInputValue || ''),
|
|
130
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
131
|
+
selectedOptionLabel = _useState6[0],
|
|
132
|
+
setSelectedOptionLabel = _useState6[1];
|
|
132
133
|
const _useControllableState5 = useControllableState(selectedOptionLabel,
|
|
133
134
|
// `e &&` prevents `ComboboxInput` from calling consumer-passed `onChange` for consumer-controlled `Combobox` value updates.
|
|
134
135
|
(_, e) => e && (onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(e)), externalInputValue),
|
|
@@ -144,7 +145,7 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
144
145
|
}, [selectedOptionValue, setInputValue, getLabelForValue]);
|
|
145
146
|
|
|
146
147
|
// Selected index is only used when isOptionSelectedOnKeyboardHighlight is set to true
|
|
147
|
-
const
|
|
148
|
+
const _useState7 = useState(() => {
|
|
148
149
|
if (isOptionSelectedOnKeyboardHighlight) {
|
|
149
150
|
for (let i = 0; i < allOptions.length; i += 1) {
|
|
150
151
|
const option = allOptions[i];
|
|
@@ -155,9 +156,9 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
155
156
|
}
|
|
156
157
|
return -1;
|
|
157
158
|
}),
|
|
158
|
-
|
|
159
|
-
selectedIndex =
|
|
160
|
-
setSelectedIndex =
|
|
159
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
160
|
+
selectedIndex = _useState8[0],
|
|
161
|
+
setSelectedIndex = _useState8[1];
|
|
161
162
|
useClickOutside([listRef, inputRef, iconRef], () => isFlyoutOpen && setIsFlyoutOpen(false));
|
|
162
163
|
|
|
163
164
|
// The number of options that match the filter for each header
|
|
@@ -220,11 +221,13 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
220
221
|
if (!isOptionSelectedOnKeyboardHighlight) {
|
|
221
222
|
setHighlightedIndex(index);
|
|
222
223
|
}
|
|
224
|
+
setIsKeyboardNavigation(false);
|
|
223
225
|
}),
|
|
224
226
|
onMouseLeave: wrapEvent(optionElement.props.onMouseLeave, () => {
|
|
225
227
|
if (!isOptionSelectedOnKeyboardHighlight) {
|
|
226
228
|
setHighlightedIndex(-1);
|
|
227
229
|
}
|
|
230
|
+
setIsKeyboardNavigation(false);
|
|
228
231
|
}),
|
|
229
232
|
isHighlightedOnHover: isOptionSelectedOnKeyboardHighlight,
|
|
230
233
|
isHighlighted: isOptionSelectedOnKeyboardHighlight ? false : index === highlightedIndex,
|
|
@@ -258,6 +261,7 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
258
261
|
_useMemo6 = _slicedToArray(_useMemo5, 1),
|
|
259
262
|
listChildrenFilteredOptionsAndHeaders = _useMemo6[0];
|
|
260
263
|
const keyboardHighlightOrSelectOption = (index, e) => {
|
|
264
|
+
setIsKeyboardNavigation(true);
|
|
261
265
|
if (isOptionSelectedOnKeyboardHighlight) {
|
|
262
266
|
var _filteredOptions$inde, _filteredOptions$inde2;
|
|
263
267
|
setSelectedIndex(index);
|
|
@@ -380,7 +384,7 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
380
384
|
useEffect(() => {
|
|
381
385
|
const currentIndex = isOptionSelectedOnKeyboardHighlight ? selectedIndex : highlightedIndex;
|
|
382
386
|
const optionRef = optionRefs.current[currentIndex];
|
|
383
|
-
if (
|
|
387
|
+
if (isKeyboardNavigation && isFlyoutOpen && optionRef && listRef !== null && listRef !== void 0 && listRef.current) {
|
|
384
388
|
var _listRef$current, _listRef$current2;
|
|
385
389
|
if (currentIndex === 0) {
|
|
386
390
|
// Scrolls the first header into view if one exists
|
|
@@ -395,7 +399,7 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
395
399
|
}
|
|
396
400
|
}
|
|
397
401
|
}
|
|
398
|
-
}, [
|
|
402
|
+
}, [isKeyboardNavigation, highlightedIndex, selectedIndex, isOptionSelectedOnKeyboardHighlight, isFlyoutOpen]);
|
|
399
403
|
|
|
400
404
|
// Updates the selected option label and selected option index based on the new selected option value
|
|
401
405
|
useEffect(() => {
|
|
@@ -483,6 +487,5 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
483
487
|
}, translate('noMatchesFound')) : listChildrenFilteredOptionsAndHeaders)));
|
|
484
488
|
});
|
|
485
489
|
Combobox.displayName = 'Combobox';
|
|
486
|
-
var Combobox$1 = conditionalA11yHelpersWrapper(Combobox, 'textInput');
|
|
487
490
|
|
|
488
|
-
export { Combobox
|
|
491
|
+
export { Combobox as default };
|
|
@@ -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 = "._-l6M3{position:relative;display:inline-block}._EyP67{padding-right:36px}._EyP67._mJrdw{box-shadow:none!important;border:1px solid #898989!important}._kvjXD{margin-top:4px}._uD-bt{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._uD-bt:hover{background-color:rgba(50,54,58,.08)}._uD-bt:active{background-color:rgba(50,54,58,.11)}._uD-bt._4UuPh{transform:rotate(-180deg)}._uD-bt._AkSWQ{opacity:.4}._0VuYV{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}._AkSWQ{cursor:not-allowed}._AkSWQ:hover{background-color:transparent}";
|
|
4
|
+
var styles = {"combobox":"_-l6M3","comboboxInput":"_EyP67","ignoreFocusStyle":"_mJrdw","labelledInput":"_kvjXD","comboboxIcon":"_uD-bt","open":"_4UuPh","disabled":"_AkSWQ","comboboxEmpty":"_0VuYV"};
|
|
5
|
+
var stylesheet="._-l6M3{position:relative;display:inline-block}._EyP67{padding-right:36px}._EyP67._mJrdw{box-shadow:none!important;border:1px solid #898989!important}._kvjXD{margin-top:4px}._uD-bt{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._uD-bt:hover{background-color:rgba(50,54,58,.08)}._uD-bt:active{background-color:rgba(50,54,58,.11)}._uD-bt._4UuPh{transform:rotate(-180deg)}._uD-bt._AkSWQ{opacity:.4}._0VuYV{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}._AkSWQ{cursor:not-allowed}._AkSWQ: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 = "._cSpjK{grid-area:configPane;position:relative;height:100%}._HZSMf{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}._OLIRB._JM7Za ._HZSMf,._OLIRB:not(._wwjA2) ._HZSMf{-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)}._wwjA2 ._HZSMf{width:0}._JM7Za._wwjA2 ._HZSMf{width:30px;cursor:pointer}._XjL4B{height:100%;position:relative;width:292px}._OLIRB ._XjL4B,._wwjA2 ._XjL4B{width:0}._JM7Za._OLIRB ._XjL4B,._JM7Za._wwjA2 ._XjL4B{width:30px}._C48ly ._XjL4B{transition:width .5s}._QFUSx{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._wwjA2 ._QFUSx{visibility:hidden}._C48ly ._QFUSx{visibility:visible}._QFUSx ._JofKw{width:252px;margin-left:20px}._dL4SW{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._OIyYd{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._OIyYd *{font-weight:400;font-size:16px;margin:0}._Pb5vL{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._wwjA2 ._Pb5vL{left:0}._JM7Za._wwjA2 ._Pb5vL{left:30px}._Pb5vL ._5hH0L{width:4px;height:100%}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._5hH0L,._Pb5vL:hover ._5hH0L{background-color:#9dc5ed}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a>span,._Pb5vL:hover ._9Zc-a>span{background-color:#0b6ed0;border-color:#0b6ed0}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a>span>svg,._Pb5vL:hover ._9Zc-a>span>svg{fill:#fff}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a:active>span,._Pb5vL:hover ._9Zc-a:active>span{background-color:#0854a1;border-color:#0854a1}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a:active>span>svg,._Pb5vL:hover ._9Zc-a:active>span>svg{fill:#fff}._Pb5vL ._9Zc-a{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}._Pb5vL ._9Zc-a:active>span{background-color:#0854a1;border-color:#0854a1}._Pb5vL ._9Zc-a:active>span>svg{fill:#fff}._Pb5vL ._9Zc-a>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Pb5vL ._9Zc-a>span>svg{fill:#515559;border-radius:50%}._9Zc-a.focus-visible,._9Zc-a:focus-visible{border-color:#0a3f88}";
|
|
4
|
+
var styles = {"paneContainer":"_cSpjK","paneContentContainer":"_HZSMf","unpinned":"_OLIRB","hidden":"_wwjA2","preview":"_JM7Za","spacer":"_XjL4B","transitioning":"_C48ly","paneContent":"_QFUSx","paneContentInner":"_JofKw","header":"_dL4SW","title":"_OIyYd","clickableArea":"_Pb5vL","hoverBorder":"_5hH0L","toolbarPanelExpandCollapseButton":"_9Zc-a"};
|
|
5
|
+
var stylesheet="._cSpjK{grid-area:configPane;position:relative;height:100%}._HZSMf{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}._OLIRB._JM7Za ._HZSMf,._OLIRB:not(._wwjA2) ._HZSMf{-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)}._wwjA2 ._HZSMf{width:0}._JM7Za._wwjA2 ._HZSMf{width:30px;cursor:pointer}._XjL4B{height:100%;position:relative;width:292px}._OLIRB ._XjL4B,._wwjA2 ._XjL4B{width:0}._JM7Za._OLIRB ._XjL4B,._JM7Za._wwjA2 ._XjL4B{width:30px}._C48ly ._XjL4B{transition:width .5s}._QFUSx{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._wwjA2 ._QFUSx{visibility:hidden}._C48ly ._QFUSx{visibility:visible}._QFUSx ._JofKw{width:252px;margin-left:20px}._dL4SW{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._OIyYd{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._OIyYd *{font-weight:400;font-size:16px;margin:0}._Pb5vL{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._wwjA2 ._Pb5vL{left:0}._JM7Za._wwjA2 ._Pb5vL{left:30px}._Pb5vL ._5hH0L{width:4px;height:100%}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._5hH0L,._Pb5vL:hover ._5hH0L{background-color:#9dc5ed}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a>span,._Pb5vL:hover ._9Zc-a>span{background-color:#0b6ed0;border-color:#0b6ed0}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a>span>svg,._Pb5vL:hover ._9Zc-a>span>svg{fill:#fff}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a:active>span,._Pb5vL:hover ._9Zc-a:active>span{background-color:#0854a1;border-color:#0854a1}._JM7Za._wwjA2 ._HZSMf:hover+._Pb5vL ._9Zc-a:active>span>svg,._Pb5vL:hover ._9Zc-a:active>span>svg{fill:#fff}._Pb5vL ._9Zc-a{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}._Pb5vL ._9Zc-a:active>span{background-color:#0854a1;border-color:#0854a1}._Pb5vL ._9Zc-a:active>span>svg{fill:#fff}._Pb5vL ._9Zc-a>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Pb5vL ._9Zc-a>span>svg{fill:#515559;border-radius:50%}._9Zc-a.focus-visible,._9Zc-a: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 = "._SX7fE{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4
|
+
var styles = {"divider":"_SX7fE"};
|
|
5
|
+
var stylesheet="._SX7fE{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 = "._E5Y-b{max-width:100%;position:relative;display:inline-block}._RggzC{width:100%}._MLug9{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}._MLug9:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._MLug9:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._MLug9:disabled,._MLug9[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._MLug9._FkUZc{border-color:#b00}._MLug9._FkUZc:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._MLug9._qBkNk{min-width:120px;padding:0 4px 0 12px}._MLug9._Z1M7O{margin-top:4px}._MLug9._LBfzR:not([aria-disabled=true]):not(:disabled){color:#32363a}._MLug9 ._Cgj8V{min-height:10px}._MLug9 ._Cgj8V._VOf1m{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._MLug9 ._Cgj8V._cRh57{display:inline-flex;align-items:center}._MLug9 ._SeXQT{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._MLug9 ._SeXQT._-KBAK{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._MLug9 ._SeXQT._mQkxx{transform:rotate(-180deg)}._J-3ZP[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._lR4I2{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}._iR1f2{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}._zdWGs{fill:#515559}._BEPrE{margin:2px 12px 2px 0}._BEPrE._5YJIQ>svg{border-color:#0b6ed0}._G3LIa{width:100%}";
|
|
4
|
+
var styles = {"container":"_E5Y-b","formFieldWrapper":"_RggzC","button":"_MLug9","invalid":"_FkUZc","hasText":"_qBkNk","labelled":"_Z1M7O","selected":"_LBfzR","buttonLabel":"_Cgj8V","isString":"_VOf1m","isNode":"_cRh57","icon":"_SeXQT","disabled":"_-KBAK","open":"_mQkxx","option":"_J-3ZP","search":"_lR4I2","emptyOption":"_iR1f2","searchIcon":"_zdWGs","checkbox":"_BEPrE","highlighted":"_5YJIQ","searchInput":"_G3LIa"};
|
|
5
|
+
var stylesheet="._E5Y-b{max-width:100%;position:relative;display:inline-block}._RggzC{width:100%}._MLug9{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}._MLug9:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._MLug9:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._MLug9:disabled,._MLug9[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._MLug9._FkUZc{border-color:#b00}._MLug9._FkUZc:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._MLug9._qBkNk{min-width:120px;padding:0 4px 0 12px}._MLug9._Z1M7O{margin-top:4px}._MLug9._LBfzR:not([aria-disabled=true]):not(:disabled){color:#32363a}._MLug9 ._Cgj8V{min-height:10px}._MLug9 ._Cgj8V._VOf1m{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._MLug9 ._Cgj8V._cRh57{display:inline-flex;align-items:center}._MLug9 ._SeXQT{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._MLug9 ._SeXQT._-KBAK{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._MLug9 ._SeXQT._mQkxx{transform:rotate(-180deg)}._J-3ZP[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._lR4I2{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}._iR1f2{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}._zdWGs{fill:#515559}._BEPrE{margin:2px 12px 2px 0}._BEPrE._5YJIQ>svg{border-color:#0b6ed0}._G3LIa{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 };
|
|
@@ -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 = "._4YHLP{position:relative}._4YHLP[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._4YHLP:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DUHI4{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._wKp1e{margin-left:16px;font-size:14px;color:#32363a}._wKp1e ._ZVqLa{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_4YHLP","fileInput":"_DUHI4","fileDetails":"_wKp1e","fileName":"_ZVqLa"};
|
|
5
|
+
var stylesheet="._4YHLP{position:relative}._4YHLP[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._4YHLP:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DUHI4{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._wKp1e{margin-left:16px;font-size:14px;color:#32363a}._wKp1e ._ZVqLa{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 = "._iDZ5n{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._32Nhn{color:#6a6d70;fill:#6a6d70}._-jptz{color:#b00;fill:#b00}._8uJCe,._z9v31{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_iDZ5n","helperText":"_32Nhn","errorText":"_-jptz","errorIcon":"_8uJCe","readOnlyIcon":"_z9v31"};
|
|
5
|
+
var stylesheet="._iDZ5n{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._32Nhn{color:#6a6d70;fill:#6a6d70}._-jptz{color:#b00;fill:#b00}._8uJCe,._z9v31{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 = "._g9VlH{display:flex;flex-direction:column;align-items:flex-start}._mLP-l{margin-top:6px;max-width:100%}._mLP-l *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_g9VlH","captionContainer":"_mLP-l"};
|
|
5
|
+
var stylesheet="._g9VlH{display:flex;flex-direction:column;align-items:flex-start}._mLP-l{margin-top:6px;max-width:100%}._mLP-l *+*{margin-top:4px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"dialog":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._HSz5-{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _AwmhE{0%{transform:scale3d(.7,.7,.7);opacity:0}}._FQm6c{animation:_AwmhE both;animation-duration:.2s}@keyframes _t4A2l{to{transform:scale3d(.7,.7,.7);opacity:0}}._iUqlV{animation:_t4A2l both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"dialog":"_HSz5-","transitionIn":"_FQm6c","showAnimation":"_AwmhE","transitionOut":"_iUqlV","hideAnimation":"_t4A2l"};
|
|
5
|
+
var stylesheet="._HSz5-{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _AwmhE{0%{transform:scale3d(.7,.7,.7);opacity:0}}._FQm6c{animation:_AwmhE both;animation-duration:.2s}@keyframes _t4A2l{to{transform:scale3d(.7,.7,.7);opacity:0}}._iUqlV{animation:_t4A2l both;animation-duration:.2s}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var iconButtonStyles = {"button":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._vqkv7{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._vqkv7:focus{outline:none}._vqkv7:hover:not(._ifnmZ){background-color:rgba(50,54,58,.08)}._vqkv7._SauEo:not(._ifnmZ),._vqkv7:active:not(._ifnmZ){background-color:rgba(50,54,58,.11);stroke-width:2}._vqkv7._ifnmZ{cursor:not-allowed;fill:rgba(81,85,89,.6)}._vqkv7.focus-visible,._vqkv7:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var iconButtonStyles = {"button":"_vqkv7","disabled":"_ifnmZ","active":"_SauEo"};
|
|
5
|
+
var stylesheet="._vqkv7{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._vqkv7:focus{outline:none}._vqkv7:hover:not(._ifnmZ){background-color:rgba(50,54,58,.08)}._vqkv7._SauEo:not(._ifnmZ),._vqkv7:active:not(._ifnmZ){background-color:rgba(50,54,58,.11);stroke-width:2}._vqkv7._ifnmZ{cursor:not-allowed;fill:rgba(81,85,89,.6)}._vqkv7.focus-visible,._vqkv7:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { iconButtonStyles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._SvTUy{display:inline-block}._aN3iM{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._aN3iM::-moz-selection{background-color:rgba(11,110,208,.11)}._aN3iM::selection{background-color:rgba(11,110,208,.11)}._aN3iM:focus,._aN3iM:hover{background-color:#f5f5f5}._aN3iM:focus{border:2px solid #0a3f88;padding:3px}._aN3iM:focus._y9uhh{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
4
|
+
var styles = {"container":"_SvTUy","inlineInput":"_aN3iM","isEditing":"_y9uhh"};
|
|
5
|
+
var stylesheet="._SvTUy{display:inline-block}._aN3iM{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._aN3iM::-moz-selection{background-color:rgba(11,110,208,.11)}._aN3iM::selection{background-color:rgba(11,110,208,.11)}._aN3iM:focus,._aN3iM:hover{background-color:#f5f5f5}._aN3iM:focus{border:2px solid #0a3f88;padding:3px}._aN3iM:focus._y9uhh{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|