@qualtrics/ui-react 2.9.0 → 2.11.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 +35 -1
- package/dist/__shared/cjs/{index-3e5149c9.js → index-30148ada.js} +3 -3
- package/dist/__shared/cjs/{index-38a79098.js → index-bb7befc3.js} +81 -194
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button2.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +21 -43
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/Combobox/ComboboxInput.js +0 -2
- 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/InlineInput.js +7 -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/Modal.js +2 -1
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +2 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +7 -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/Popover.js +5 -0
- 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 +5 -0
- 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/index.js +1 -0
- package/dist/hooks/useOverlay/useOverlay.js +70 -0
- package/dist/hooks/useOverlay/useOverlay2.js +8 -0
- 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.es.js +1 -1
- package/dist/index.js +262 -150
- 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/Drawer.js +138 -0
- package/dist/next/Drawer/Drawer2.js +8 -0
- package/dist/next/Drawer/index.js +1 -0
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu.js +71 -0
- package/dist/next/Menu/Menu2.js +8 -0
- package/dist/next/Menu/MenuButton.js +41 -0
- package/dist/next/Menu/MenuContext.js +41 -0
- package/dist/next/Menu/MenuItem.js +49 -0
- package/dist/next/Menu/MenuPane.js +64 -0
- package/dist/next/Menu/MenuSearch.js +105 -0
- package/dist/next/Menu/SubMenu.js +74 -0
- package/dist/next/Menu/constants.js +9 -0
- package/dist/next/Menu/index.js +5 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/index.d.ts +71 -0
- package/dist/next/index.es.js +8 -1
- package/dist/next/index.js +697 -133
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/package.json +11 -10
|
@@ -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 = "._2P2C_{width:100%;display:flex;flex-direction:column}._2P2C_._1pVMY{grid-gap:20px;gap:20px}._19oc7{display:flex;width:100%;border:none;outline:none;background-color:#fff;color:#32363a;font-size:14px;font-weight:700;line-height:24px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._2o-RJ{flex:1}._1eq0s{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._3Ydc8 ._19oc7{border-radius:4px}._3Ydc8 ._19oc7:hover:not(._pdPpT){background-color:rgba(50,54,58,.08)}._3Ydc8 ._19oc7:active:not(._pdPpT){background-color:rgba(50,54,58,.11)}._1Mhvt ._19oc7{font-weight:400;padding-left:12px;border-top:1px solid #eee}._1Mhvt ._19oc7:hover:not(._pdPpT){background-color:rgba(50,54,58,.08)}._1Mhvt ._19oc7:active:not(._pdPpT){background-color:rgba(50,54,58,.11)}._1pVMY ._398xA{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._1pVMY ._398xA._1A5Ds{box-shadow:none}._1pVMY ._398xA._1A5Ds ._19oc7{border-radius:6px}._1pVMY ._19oc7{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._1pVMY ._19oc7 ._2o-RJ{padding-left:20px}._1pVMY ._19oc7:hover:not(disabled){border:1px solid #c2c2c2}._1pVMY ._19oc7:active:not(._pdPpT){border:1px solid #898989}._1pVMY ._1eq0s{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._1A5Ds ._1eq0s{display:none}._pdPpT{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._19oc7:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._19oc7:focus:before{z-index:1}body.keyboard-user ._1Mhvt ._19oc7:focus{border-color:transparent}";
|
|
4
|
+
var AccordionStyles = {"accordion":"_2P2C_","block-variant":"_1pVMY","header":"_19oc7","title":"_2o-RJ","panel":"_1eq0s","default-variant":"_3Ydc8","disabled":"_pdPpT","outlined-variant":"_1Mhvt","section":"_398xA","closed":"_1A5Ds"};
|
|
5
|
+
var stylesheet="._2P2C_{width:100%;display:flex;flex-direction:column}._2P2C_._1pVMY{grid-gap:20px;gap:20px}._19oc7{display:flex;width:100%;border:none;outline:none;background-color:#fff;color:#32363a;font-size:14px;font-weight:700;line-height:24px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._2o-RJ{flex:1}._1eq0s{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._3Ydc8 ._19oc7{border-radius:4px}._3Ydc8 ._19oc7:hover:not(._pdPpT){background-color:rgba(50,54,58,.08)}._3Ydc8 ._19oc7:active:not(._pdPpT){background-color:rgba(50,54,58,.11)}._1Mhvt ._19oc7{font-weight:400;padding-left:12px;border-top:1px solid #eee}._1Mhvt ._19oc7:hover:not(._pdPpT){background-color:rgba(50,54,58,.08)}._1Mhvt ._19oc7:active:not(._pdPpT){background-color:rgba(50,54,58,.11)}._1pVMY ._398xA{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._1pVMY ._398xA._1A5Ds{box-shadow:none}._1pVMY ._398xA._1A5Ds ._19oc7{border-radius:6px}._1pVMY ._19oc7{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._1pVMY ._19oc7 ._2o-RJ{padding-left:20px}._1pVMY ._19oc7:hover:not(disabled){border:1px solid #c2c2c2}._1pVMY ._19oc7:active:not(._pdPpT){border:1px solid #898989}._1pVMY ._1eq0s{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._1A5Ds ._1eq0s{display:none}._pdPpT{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._19oc7:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._19oc7:focus:before{z-index:1}body.keyboard-user ._1Mhvt ._19oc7:focus{border-color:transparent}";
|
|
6
6
|
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 = "._1JJ_T{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}._1JJ_T._1OgYH{padding:0 8px;height:26px;min-height:26px}._1JJ_T._2dzps{display:block;width:100%}._1JJ_T._1hXS2{cursor:not-allowed}._1JJ_T:active:focus,._1JJ_T:focus{outline:none}._1JJ_T._y7V1A{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1JJ_T._y7V1A:hover:not(._1hXS2){background-color:#eee}._1JJ_T._y7V1A:active:not(._1hXS2){background-color:#e5e5e5}._1JJ_T._y7V1A._1hXS2{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)}._1JJ_T._1RyTE{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1JJ_T._1RyTE:hover:not(._1hXS2){background-color:#085caf;border-color:#085caf}._1JJ_T._1RyTE:active:not(._1hXS2){background-color:#0854a1;border-color:#0854a1}._1JJ_T._1RyTE._1hXS2{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._1JJ_T._1ea7y{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._1ea7y:hover:not(._1hXS2){background-color:#eef5fc}._1JJ_T._1ea7y:active:not(._1hXS2){background-color:#e1edf9}._1JJ_T._1ea7y._1hXS2{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)}._1JJ_T._31cTN{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._31cTN:hover:not(._1hXS2){background-color:#eef5fc;border-color:#eef5fc}._1JJ_T._31cTN:active:not(._1hXS2){background-color:#e1edf9;border-color:#e1edf9}._1JJ_T._31cTN._1hXS2{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)}._1JJ_T._1W_EG{color:#0b6ed0;fill:#0b6ed0;padding:0}._1JJ_T._1W_EG:hover:not(._1hXS2){color:#085caf}._1JJ_T._1W_EG:active:not(._1hXS2){color:#0854a1}._1JJ_T._1W_EG._1hXS2{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._2ear0{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1JJ_T._2ear0:hover:not(._1hXS2){background-color:#ffecec}._1JJ_T._2ear0:active:not(._1hXS2){background-color:#ffdbdb}._1JJ_T._2ear0._1hXS2{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)}._1hDoy,body.keyboard-user ._1JJ_T:active:focus,body.keyboard-user ._1JJ_T:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var buttonStyles = {"btn":"_1JJ_T","small":"_1OgYH","full":"_2dzps","disabled":"_1hXS2","default":"_y7V1A","primary":"_1RyTE","secondary":"_1ea7y","tertiary":"_31cTN","link":"_1W_EG","danger":"_2ear0","keyboardFocused":"_1hDoy"};
|
|
5
|
+
var stylesheet="._1JJ_T{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}._1JJ_T._1OgYH{padding:0 8px;height:26px;min-height:26px}._1JJ_T._2dzps{display:block;width:100%}._1JJ_T._1hXS2{cursor:not-allowed}._1JJ_T:active:focus,._1JJ_T:focus{outline:none}._1JJ_T._y7V1A{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1JJ_T._y7V1A:hover:not(._1hXS2){background-color:#eee}._1JJ_T._y7V1A:active:not(._1hXS2){background-color:#e5e5e5}._1JJ_T._y7V1A._1hXS2{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)}._1JJ_T._1RyTE{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1JJ_T._1RyTE:hover:not(._1hXS2){background-color:#085caf;border-color:#085caf}._1JJ_T._1RyTE:active:not(._1hXS2){background-color:#0854a1;border-color:#0854a1}._1JJ_T._1RyTE._1hXS2{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._1JJ_T._1ea7y{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._1ea7y:hover:not(._1hXS2){background-color:#eef5fc}._1JJ_T._1ea7y:active:not(._1hXS2){background-color:#e1edf9}._1JJ_T._1ea7y._1hXS2{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)}._1JJ_T._31cTN{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._31cTN:hover:not(._1hXS2){background-color:#eef5fc;border-color:#eef5fc}._1JJ_T._31cTN:active:not(._1hXS2){background-color:#e1edf9;border-color:#e1edf9}._1JJ_T._31cTN._1hXS2{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)}._1JJ_T._1W_EG{color:#0b6ed0;fill:#0b6ed0;padding:0}._1JJ_T._1W_EG:hover:not(._1hXS2){color:#085caf}._1JJ_T._1W_EG:active:not(._1hXS2){color:#0854a1}._1JJ_T._1W_EG._1hXS2{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._2ear0{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1JJ_T._2ear0:hover:not(._1hXS2){background-color:#ffecec}._1JJ_T._2ear0:active:not(._1hXS2){background-color:#ffdbdb}._1JJ_T._2ear0._1hXS2{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)}._1hDoy,body.keyboard-user ._1JJ_T:active:focus,body.keyboard-user ._1JJ_T:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
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 = "._3joGO{display:inline-flex;align-items:stretch}._3joGO._3pPof{width:100%}._3joGO ._2f0I6{margin:0;min-width:0}._3joGO ._2f0I6:focus{z-index:20}._3joGO ._2f0I6:hover{z-index:10}._3joGO ._2f0I6._2ndAk{border:none}._3joGO ._2f0I6._3pPof{display:inline-flex;width:auto;flex-grow:1}._3joGO ._2f0I6: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}._3joGO ._2f0I6:first-child._2ndAk{border-right:1px solid #fff}._3joGO ._2f0I6:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._3joGO ._2f0I6:not(:last-child):not(:first-child)._2ndAk{border-left:1px solid #fff;border-right:1px solid #fff}._3joGO ._2f0I6:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._3joGO ._2f0I6:last-child._2ndAk{border-left:1px solid #fff}._3joGO ._2f0I6: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":"_3joGO","full":"_3pPof","buttonGroupElement":"_2f0I6","primary":"_2ndAk"};
|
|
5
|
+
var stylesheet="._3joGO{display:inline-flex;align-items:stretch}._3joGO._3pPof{width:100%}._3joGO ._2f0I6{margin:0;min-width:0}._3joGO ._2f0I6:focus{z-index:20}._3joGO ._2f0I6:hover{z-index:10}._3joGO ._2f0I6._2ndAk{border:none}._3joGO ._2f0I6._3pPof{display:inline-flex;width:auto;flex-grow:1}._3joGO ._2f0I6: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}._3joGO ._2f0I6:first-child._2ndAk{border-right:1px solid #fff}._3joGO ._2f0I6:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._3joGO ._2f0I6:not(:last-child):not(:first-child)._2ndAk{border-left:1px solid #fff;border-right:1px solid #fff}._3joGO ._2f0I6:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._3joGO ._2f0I6:last-child._2ndAk{border-left:1px solid #fff}._3joGO ._2f0I6: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
|
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 = "._1gqCL{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1gqCL,._3O0I6{cursor:pointer;height:16px;width:16px}._3O0I6{position:absolute;opacity:0;z-index:10}._3O0I6:checked~._Fn9K_>._ZKA7b{fill-opacity:1}._3O0I6:checked:enabled~._Fn9K_{border-color:transparent;background-color:#0b6ed0}._3O0I6:checked:enabled~._Fn9K_>._ZKA7b{fill:#fff}._3O0I6:checked:enabled:hover~._Fn9K_{background-color:#085caf}._3O0I6:not(:checked):enabled:hover~._Fn9K_{border-color:#0b6ed0}._3O0I6:disabled{cursor:not-allowed}._3O0I6:disabled~._Fn9K_{opacity:.4}._2LD3f{color:#32363a;display:flex;align-items:center;cursor:pointer}._1LxSf{cursor:auto;color:hsla(0,0%,53.7%,.4)}._3nbQg{margin-right:12px;flex-shrink:0}._Fn9K_{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._ZKA7b{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._3O0I6:active:focus~._Fn9K_,body.keyboard-user ._3O0I6:focus~._Fn9K_{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"checkbox":"_1gqCL","input":"_3O0I6","check":"_Fn9K_","checkIcon":"_ZKA7b","label":"_2LD3f","labelDisabled":"_1LxSf","wrappedInput":"_3nbQg"};
|
|
5
|
+
var stylesheet="._1gqCL{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1gqCL,._3O0I6{cursor:pointer;height:16px;width:16px}._3O0I6{position:absolute;opacity:0;z-index:10}._3O0I6:checked~._Fn9K_>._ZKA7b{fill-opacity:1}._3O0I6:checked:enabled~._Fn9K_{border-color:transparent;background-color:#0b6ed0}._3O0I6:checked:enabled~._Fn9K_>._ZKA7b{fill:#fff}._3O0I6:checked:enabled:hover~._Fn9K_{background-color:#085caf}._3O0I6:not(:checked):enabled:hover~._Fn9K_{border-color:#0b6ed0}._3O0I6:disabled{cursor:not-allowed}._3O0I6:disabled~._Fn9K_{opacity:.4}._2LD3f{color:#32363a;display:flex;align-items:center;cursor:pointer}._1LxSf{cursor:auto;color:hsla(0,0%,53.7%,.4)}._3nbQg{margin-right:12px;flex-shrink:0}._Fn9K_{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._ZKA7b{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._3O0I6:active:focus~._Fn9K_,body.keyboard-user ._3O0I6:focus~._Fn9K_{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
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 = "._3Jb5w{display:inline-flex;position:relative}._3Jb5w,._XLM_M{cursor:pointer;height:16px;width:16px}._XLM_M{position:absolute;opacity:0;z-index:10}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill-opacity:1}._XLM_M._1_bgh~._2-kfW{border-color:transparent;background-color:#0b6ed0}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill:#fff}._XLM_M._1_bgh:hover~._2-kfW{background-color:#085caf}._XLM_M:not(._1_bgh):hover~._2-kfW{border-color:#0b6ed0}._XLM_M._2TrM2{cursor:not-allowed}._XLM_M._2TrM2~._2-kfW{opacity:.4}._2-kfW{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._dEl1r{fill:#0b6ed0;fill-opacity:0}";
|
|
4
|
+
var styles = {"checkbox":"_3Jb5w","input":"_XLM_M","checked":"_1_bgh","check":"_2-kfW","checkIcon":"_dEl1r","disabled":"_2TrM2"};
|
|
5
|
+
var stylesheet="._3Jb5w{display:inline-flex;position:relative}._3Jb5w,._XLM_M{cursor:pointer;height:16px;width:16px}._XLM_M{position:absolute;opacity:0;z-index:10}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill-opacity:1}._XLM_M._1_bgh~._2-kfW{border-color:transparent;background-color:#0b6ed0}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill:#fff}._XLM_M._1_bgh:hover~._2-kfW{background-color:#085caf}._XLM_M:not(._1_bgh):hover~._2-kfW{border-color:#0b6ed0}._XLM_M._2TrM2{cursor:not-allowed}._XLM_M._2TrM2~._2-kfW{opacity:.4}._2-kfW{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._dEl1r{fill:#0b6ed0;fill-opacity:0}";
|
|
6
6
|
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 = "._1k8Xy{display:flex;line-height:1.15}._1k8Xy ._29uuk{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._1k8Xy ._29uuk:hover:not(._3fXJQ){background-color:#f5f5f5}._1k8Xy ._29uuk._3fXJQ{cursor:not-allowed;fill:rgba(81,85,89,.4)}._1k8Xy ._29uuk:active:not(._3fXJQ){background-color:#eee}._1k8Xy ._1vaV1{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._1k8Xy ._1vaV1._3fXJQ{border-color:#d9d9d9}._1k8Xy ._gvXlu{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}._1k8Xy ._1D6U5{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._1k8Xy ._1D6U5._3fXJQ{border-color:#d9d9d9}._1k8Xy ._1ENWY{height:36px;border:1px solid #898989;border-width:1px 0}._1k8Xy ._1ENWY._3fXJQ{border-color:#d9d9d9}._1k8Xy ._2523C{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._1k8Xy ._2a9w-{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}._1k8Xy ._2a9w-._1uLcU{color:#9d9fa1}body.keyboard-user ._29uuk:active:focus,body.keyboard-user ._29uuk:focus{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._1dxUy{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}._1dxUy ._3mK3g{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}._1dxUy ._1e5WZ{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}._1dxUy ._1FXbU{display:flex;justify-content:space-between;margin:12px 0}._1dxUy ._MmZeN{display:flex}._1dxUy ._2nC7_{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._1dxUy ._-ArMx{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._1dxUy ._1wX_Q{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}._1dxUy ._2n5bZ{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)}._1dxUy ._2n5bZ._ajmeC{height:16px;margin-bottom:6px}._1dxUy ._GGejV{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}._1dxUy ._GGejV._ajmeC{height:16px}._1dxUy ._2_SQI{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}._1dxUy ._2lGAw{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._1dxUy ._1GuGS{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}._1dxUy ._3Dgyx{display:flex;justify-content:space-between}._1dxUy ._2KMSn{display:flex;flex-direction:column;align-items:center}._1dxUy ._2KMSn._3RbK5{margin-left:4px}._1dxUy ._ATj10{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}._1dxUy ._2KE0f{padding:3px 4px 3px 13px!important;width:78px}._1dxUy ._2B0ws{text-align:right;padding:3px 4px 3px 0!important;width:34px}._1dxUy ._3dWxw{text-align:right;padding:3px 16px 3px 0!important;width:46px}._1dxUy ._yvKpn{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}._1dxUy ._20NkX{line-height:22px}._1dxUy ._3xeXE{display:flex}._1dxUy ._1RrPY{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._1dxUy ._2q9Iw{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._3x2FC{position:relative}._2tSdi{display:none}._3-f4O{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}body.keyboard-user ._1e5WZ:focus{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}body.keyboard-user ._1GuGS:focus,body.keyboard-user ._2q9Iw:focus,body.keyboard-user ._GGejV:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"colorPicker":"_1k8Xy","colorPickerButton":"_29uuk","disabledButton":"_3fXJQ","colorPickerButtonPreview":"_1vaV1","alphaBackground":"_gvXlu","colorPickerButtonAlphaPreview":"_1D6U5","caretIcon":"_1ENWY","colorPickerInput":"_2523C","colorPickerInputDecoration":"_2a9w-","disabledDecoration":"_1uLcU","colorPickerFlyout":"_1dxUy","saturationGrid":"_3mK3g","saturationLoop":"_1e5WZ","sliderGroup":"_1FXbU","sliderPreviewContainer":"_MmZeN","sliderPreview":"_2nC7_","sliderPreviewAlpha":"_-ArMx","sliderPreviewAlphaBackground":"_1wX_Q","hueSliderRail":"_2n5bZ","alphaEnabled":"_ajmeC","hueSliderThumb":"_GGejV","alphaSliderRailBackground":"_2_SQI","alphaSliderRail":"_2lGAw","alphaSliderThumb":"_1GuGS","hexInputGroup":"_3Dgyx","hexInputContainer":"_2KMSn","rgbInputContainer":"_3RbK5","hexInputDecoration":"_ATj10","hexInput":"_2KE0f","rgbInput":"_2B0ws","alphaInput":"_3dWxw","alphaInputDecoration":"_yvKpn","inputLabel":"_20NkX","rgbContainer":"_3xeXE","palette":"_1RrPY","swatch":"_2q9Iw","relativePositionContainer":"_3x2FC","hidden":"_2tSdi","hiddenLiveRegion":"_3-f4O"};
|
|
5
|
+
var stylesheet="._1k8Xy{display:flex;line-height:1.15}._1k8Xy ._29uuk{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._1k8Xy ._29uuk:hover:not(._3fXJQ){background-color:#f5f5f5}._1k8Xy ._29uuk._3fXJQ{cursor:not-allowed;fill:rgba(81,85,89,.4)}._1k8Xy ._29uuk:active:not(._3fXJQ){background-color:#eee}._1k8Xy ._1vaV1{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._1k8Xy ._1vaV1._3fXJQ{border-color:#d9d9d9}._1k8Xy ._gvXlu{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}._1k8Xy ._1D6U5{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._1k8Xy ._1D6U5._3fXJQ{border-color:#d9d9d9}._1k8Xy ._1ENWY{height:36px;border:1px solid #898989;border-width:1px 0}._1k8Xy ._1ENWY._3fXJQ{border-color:#d9d9d9}._1k8Xy ._2523C{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._1k8Xy ._2a9w-{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}._1k8Xy ._2a9w-._1uLcU{color:#9d9fa1}body.keyboard-user ._29uuk:active:focus,body.keyboard-user ._29uuk:focus{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._1dxUy{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}._1dxUy ._3mK3g{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}._1dxUy ._1e5WZ{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}._1dxUy ._1FXbU{display:flex;justify-content:space-between;margin:12px 0}._1dxUy ._MmZeN{display:flex}._1dxUy ._2nC7_{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._1dxUy ._-ArMx{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._1dxUy ._1wX_Q{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}._1dxUy ._2n5bZ{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)}._1dxUy ._2n5bZ._ajmeC{height:16px;margin-bottom:6px}._1dxUy ._GGejV{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}._1dxUy ._GGejV._ajmeC{height:16px}._1dxUy ._2_SQI{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}._1dxUy ._2lGAw{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._1dxUy ._1GuGS{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}._1dxUy ._3Dgyx{display:flex;justify-content:space-between}._1dxUy ._2KMSn{display:flex;flex-direction:column;align-items:center}._1dxUy ._2KMSn._3RbK5{margin-left:4px}._1dxUy ._ATj10{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}._1dxUy ._2KE0f{padding:3px 4px 3px 13px!important;width:78px}._1dxUy ._2B0ws{text-align:right;padding:3px 4px 3px 0!important;width:34px}._1dxUy ._3dWxw{text-align:right;padding:3px 16px 3px 0!important;width:46px}._1dxUy ._yvKpn{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}._1dxUy ._20NkX{line-height:22px}._1dxUy ._3xeXE{display:flex}._1dxUy ._1RrPY{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._1dxUy ._2q9Iw{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._3x2FC{position:relative}._2tSdi{display:none}._3-f4O{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}body.keyboard-user ._1e5WZ:focus{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}body.keyboard-user ._1GuGS:focus,body.keyboard-user ._2q9Iw:focus,body.keyboard-user ._GGejV:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -17,8 +17,6 @@ import filterChildren from '../../utils/filterChildren/filterChildren.js';
|
|
|
17
17
|
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
18
18
|
import useClickOutside from '../../hooks/useClickOutside/useClickOutside.js';
|
|
19
19
|
import wrapEvent from '../../utils/wrapEvent/wrapEvent.js';
|
|
20
|
-
import useScreenReaderAnnouncement from '../../hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js';
|
|
21
|
-
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
22
20
|
|
|
23
21
|
const getOptionLabel = option => {
|
|
24
22
|
var _option$props;
|
|
@@ -102,7 +100,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
102
100
|
const inputRef = useRef(null);
|
|
103
101
|
const iconRef = useRef(null);
|
|
104
102
|
const [isFlyoutOpen, setIsFlyoutOpen] = useControllableState(false, onIsOpenChange, externalIsOpen);
|
|
105
|
-
const [isAriaExpanded, setIsAriaExpanded] = useState(false);
|
|
106
103
|
const [isKeyboardUser, setIsKeyboardUser] = useState(false); // Highlighted index is only used when isOptionSelectedOnKeyboardHighlight is set to false
|
|
107
104
|
|
|
108
105
|
const [highlightedIndex, setHighlightedIndex] = useState(-1); // This option value is the "computer readable" value. The option value is not used to set the input value.
|
|
@@ -133,7 +130,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
133
130
|
|
|
134
131
|
return -1;
|
|
135
132
|
});
|
|
136
|
-
const [activeDescendantId, setActiveDescendantId] = useState('');
|
|
137
133
|
useClickOutside([listRef, inputRef, iconRef], () => isFlyoutOpen && setIsFlyoutOpen(false)); // The number of options that match the filter for each header
|
|
138
134
|
|
|
139
135
|
const headerCounts = {}; // Gets the filtered options based on the current input value (only if isFilteringDisabled is false)
|
|
@@ -223,7 +219,8 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
223
219
|
return null;
|
|
224
220
|
}
|
|
225
221
|
}]);
|
|
226
|
-
}, [comboboxList, headerCounts, highlightedIndex, inputValue, isFilteringDisabled, selectedOptionLabel, selectedOptionValue, setInputValue, setIsFlyoutOpen, setSelectedOptionValue, isOptionSelectedOnKeyboardHighlight, selectedIndex, listContainerId]);
|
|
222
|
+
}, [comboboxList, headerCounts, highlightedIndex, inputValue, isFilteringDisabled, selectedOptionLabel, selectedOptionValue, setInputValue, setIsFlyoutOpen, setSelectedOptionValue, isOptionSelectedOnKeyboardHighlight, selectedIndex, listContainerId]);
|
|
223
|
+
const isAriaExpanded = useMemo(() => isFlyoutOpen && (unstable_isLoading || filteredOptions.length > 0), [isFlyoutOpen, filteredOptions, unstable_isLoading]); // Gets all filtered options, as well as headers that have at least one filtered option
|
|
227
224
|
|
|
228
225
|
const [listChildrenFilteredOptionsAndHeaders] = useMemo(() => filterChildren(listChildrenFilteredOptions, [{
|
|
229
226
|
matcher: child => (child === null || child === void 0 ? void 0 : child.type) === ComboboxOption
|
|
@@ -300,7 +297,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
300
297
|
|
|
301
298
|
const handleInputChange = e => {
|
|
302
299
|
e.persist();
|
|
303
|
-
setIsAriaExpanded(false);
|
|
304
300
|
setInputValue(e.target.value, e);
|
|
305
301
|
|
|
306
302
|
if (!isOptionSelectedOnKeyboardHighlight) {
|
|
@@ -335,10 +331,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
335
331
|
keyboardHighlightOrSelectOption(filteredOptions.length - 1, e);
|
|
336
332
|
}
|
|
337
333
|
|
|
338
|
-
if (filteredOptions.length > 0) {
|
|
339
|
-
setIsAriaExpanded(true);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
334
|
setIsFlyoutOpen(true);
|
|
343
335
|
break;
|
|
344
336
|
|
|
@@ -351,10 +343,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
351
343
|
keyboardHighlightOrSelectOption(filteredOptions.length - 1, e);
|
|
352
344
|
}
|
|
353
345
|
|
|
354
|
-
if (filteredOptions.length > 0) {
|
|
355
|
-
setIsAriaExpanded(true);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
346
|
setIsFlyoutOpen(true);
|
|
359
347
|
break;
|
|
360
348
|
|
|
@@ -363,7 +351,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
363
351
|
|
|
364
352
|
if (filteredOptions.length > 0) {
|
|
365
353
|
keyboardHighlightOrSelectOption(0, e);
|
|
366
|
-
setIsAriaExpanded(true);
|
|
367
354
|
}
|
|
368
355
|
|
|
369
356
|
setIsFlyoutOpen(true);
|
|
@@ -374,7 +361,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
374
361
|
|
|
375
362
|
if (filteredOptions.length > 0) {
|
|
376
363
|
keyboardHighlightOrSelectOption(filteredOptions.length - 1, e);
|
|
377
|
-
setIsAriaExpanded(true);
|
|
378
364
|
}
|
|
379
365
|
|
|
380
366
|
setIsFlyoutOpen(true);
|
|
@@ -390,13 +376,6 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
390
376
|
setIsFlyoutOpen(false);
|
|
391
377
|
break;
|
|
392
378
|
|
|
393
|
-
case 'ArrowLeft':
|
|
394
|
-
case 'ArrowRight':
|
|
395
|
-
case 'Home':
|
|
396
|
-
case 'End':
|
|
397
|
-
setIsAriaExpanded(false);
|
|
398
|
-
break;
|
|
399
|
-
|
|
400
379
|
default:
|
|
401
380
|
return false;
|
|
402
381
|
}
|
|
@@ -454,40 +433,38 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
454
433
|
useEffect(() => {
|
|
455
434
|
if (!isFlyoutOpen) {
|
|
456
435
|
setHighlightedIndex(-1);
|
|
457
|
-
setIsAriaExpanded(false);
|
|
458
436
|
}
|
|
459
437
|
}, [isFlyoutOpen]);
|
|
460
|
-
|
|
438
|
+
const activeDescendantId = useMemo(() => {
|
|
461
439
|
if (isAriaExpanded) {
|
|
462
440
|
if (unstable_isLoading) {
|
|
463
|
-
|
|
464
|
-
}
|
|
441
|
+
return "".concat(listContainerId, "-loading-spinner");
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
if (filteredOptions.length === 0) {
|
|
445
|
+
return undefined;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
if (selectedIndex !== -1) {
|
|
465
449
|
var _filteredOptions$sele;
|
|
466
450
|
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
|
|
451
|
+
return (_filteredOptions$sele = filteredOptions[selectedIndex]) === null || _filteredOptions$sele === void 0 ? void 0 : _filteredOptions$sele.props.id;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
if (highlightedIndex !== -1) {
|
|
471
455
|
var _filteredOptions$high4;
|
|
472
456
|
|
|
473
|
-
|
|
457
|
+
return (_filteredOptions$high4 = filteredOptions[highlightedIndex]) === null || _filteredOptions$high4 === void 0 ? void 0 : _filteredOptions$high4.props.id;
|
|
474
458
|
}
|
|
475
|
-
} else {
|
|
476
|
-
setActiveDescendantId(undefined);
|
|
477
|
-
}
|
|
478
|
-
}, [isAriaExpanded, selectedIndex, highlightedIndex, unstable_isOptionSelectedOnKeyboardHighlight, filteredOptions, unstable_isLoading, listContainerId, noMatchesFoundContainerId]);
|
|
479
|
-
const announceToScreenReader = useScreenReaderAnnouncement('assertive');
|
|
480
|
-
useDidUpdate(() => {
|
|
481
|
-
if (filteredOptions.length === 0) {
|
|
482
|
-
announceToScreenReader(translate('noMatchesFound'));
|
|
483
459
|
}
|
|
484
|
-
|
|
460
|
+
|
|
461
|
+
return undefined;
|
|
462
|
+
}, [isAriaExpanded, selectedIndex, highlightedIndex, unstable_isOptionSelectedOnKeyboardHighlight, filteredOptions, unstable_isLoading, listContainerId]);
|
|
485
463
|
return /*#__PURE__*/React__default.createElement(ComboboxContextProvider, {
|
|
486
464
|
value: {
|
|
487
465
|
isOpen: isFlyoutOpen,
|
|
488
466
|
setIsOpen: setIsFlyoutOpen,
|
|
489
467
|
isAriaExpanded,
|
|
490
|
-
setIsAriaExpanded,
|
|
491
468
|
inputValue,
|
|
492
469
|
handleFocus,
|
|
493
470
|
handleBlur,
|
|
@@ -519,7 +496,8 @@ const Combobox = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
519
496
|
id: noMatchesFoundContainerId // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
|
|
520
497
|
,
|
|
521
498
|
role: "option" // `aria-selected` is omitted because this option is not selectable
|
|
522
|
-
|
|
499
|
+
,
|
|
500
|
+
"aria-live": "polite"
|
|
523
501
|
}, translate('noMatchesFound')) : listChildrenFilteredOptionsAndHeaders)));
|
|
524
502
|
});
|
|
525
503
|
|
|
@@ -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 = "._2Et4z{position:relative;display:inline-block}._2w3h7{padding-right:36px}._2w3h7._3wwwE{box-shadow:none!important;border:1px solid #898989!important}._39sJS{margin-top:4px}._2d0TO{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._2d0TO:hover{background-color:rgba(50,54,58,.08)}._2d0TO:active{background-color:rgba(50,54,58,.11)}._2d0TO._3D97h{transform:rotate(-180deg)}._2d0TO._1xNHP{opacity:.4}._QgkwJ{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}._1xNHP{cursor:not-allowed}._1xNHP:hover{background-color:transparent}";
|
|
4
|
+
var styles = {"combobox":"_2Et4z","comboboxInput":"_2w3h7","ignoreFocusStyle":"_3wwwE","labelledInput":"_39sJS","comboboxIcon":"_2d0TO","open":"_3D97h","disabled":"_1xNHP","comboboxEmpty":"_QgkwJ"};
|
|
5
|
+
var stylesheet="._2Et4z{position:relative;display:inline-block}._2w3h7{padding-right:36px}._2w3h7._3wwwE{box-shadow:none!important;border:1px solid #898989!important}._39sJS{margin-top:4px}._2d0TO{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._2d0TO:hover{background-color:rgba(50,54,58,.08)}._2d0TO:active{background-color:rgba(50,54,58,.11)}._2d0TO._3D97h{transform:rotate(-180deg)}._2d0TO._1xNHP{opacity:.4}._QgkwJ{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}._1xNHP{cursor:not-allowed}._1xNHP:hover{background-color:transparent}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -33,7 +33,6 @@ const ComboboxInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
33
33
|
const {
|
|
34
34
|
setIsOpen,
|
|
35
35
|
isAriaExpanded,
|
|
36
|
-
setIsAriaExpanded,
|
|
37
36
|
inputValue,
|
|
38
37
|
handleFocus,
|
|
39
38
|
handleBlur,
|
|
@@ -77,7 +76,6 @@ const ComboboxInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
setIsOpen(true);
|
|
80
|
-
setIsAriaExpanded(true);
|
|
81
79
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
82
80
|
},
|
|
83
81
|
role: "combobox",
|
|
@@ -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 = "._2XFfu{grid-area:configPane;position:relative;height:100%}._3Zb5r{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}._1v9O3._3D3O2 ._3Zb5r,._1v9O3:not(._2gdmw) ._3Zb5r{-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)}._2gdmw ._3Zb5r{width:0}._3D3O2._2gdmw ._3Zb5r{width:30px;cursor:pointer}._BE0QE ._3Zb5r{border-right-color:#eee}._HuCRs{height:100%;position:relative;width:292px}._1v9O3 ._HuCRs,._2gdmw ._HuCRs{width:0}._3D3O2._1v9O3 ._HuCRs,._3D3O2._2gdmw ._HuCRs{width:30px}._1oi3- ._HuCRs{transition:width .5s}._3v_3l{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._2gdmw ._3v_3l{visibility:hidden}._1oi3- ._3v_3l{visibility:visible}._3v_3l ._1C_rD{width:252px;margin-left:20px}._2u3di{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._2kIdO{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._2kIdO *{font-weight:400;font-size:16px;margin:0}._3Uz_P{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._2gdmw ._3Uz_P{left:0}._3D3O2._2gdmw ._3Uz_P{left:30px}._3Uz_P ._34Q3U{width:4px;height:100%}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._34Q3U,._3Uz_P:hover ._34Q3U{background-color:#9dc5ed}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH>span,._3Uz_P:hover ._3u9YH>span{background-color:#0b6ed0;border-color:#0b6ed0}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH>span>svg,._3Uz_P:hover ._3u9YH>span>svg{fill:#fff}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH:active>span,._3Uz_P:hover ._3u9YH:active>span{background-color:#0854a1;border-color:#0854a1}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH:active>span>svg,._3Uz_P:hover ._3u9YH:active>span>svg{fill:#fff}._3Uz_P ._3u9YH{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}._3Uz_P ._3u9YH._3hlQ3._3hlQ3._3hlQ3{opacity:1}._3Uz_P ._3u9YH._Rkxbd._Rkxbd._Rkxbd{opacity:0}._3Uz_P ._3u9YH:active>span{background-color:#0854a1;border-color:#0854a1}._3Uz_P ._3u9YH:active>span>svg{fill:#fff}._3Uz_P ._3u9YH>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._3Uz_P ._3u9YH>span>svg{fill:#515559;border-radius:50%}._2gdmw ._3Uz_P ._3u9YH,._3Uz_P:hover ._3u9YH,._3Zb5r:hover+._3Uz_P ._3u9YH{opacity:1}body.keyboard-user ._3u9YH:focus{opacity:1;border-color:#0a3f88}";
|
|
4
|
+
var styles = {"paneContainer":"_2XFfu","paneContentContainer":"_3Zb5r","unpinned":"_1v9O3","hidden":"_2gdmw","preview":"_3D3O2","openHidden":"_BE0QE","spacer":"_HuCRs","transitioning":"_1oi3-","paneContent":"_3v_3l","paneContentInner":"_1C_rD","header":"_2u3di","title":"_2kIdO","clickableArea":"_3Uz_P","hoverBorder":"_34Q3U","toolbarPanelExpandCollapseButton":"_3u9YH","overrideShow":"_3hlQ3","overrideHide":"_Rkxbd"};
|
|
5
|
+
var stylesheet="._2XFfu{grid-area:configPane;position:relative;height:100%}._3Zb5r{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}._1v9O3._3D3O2 ._3Zb5r,._1v9O3:not(._2gdmw) ._3Zb5r{-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)}._2gdmw ._3Zb5r{width:0}._3D3O2._2gdmw ._3Zb5r{width:30px;cursor:pointer}._BE0QE ._3Zb5r{border-right-color:#eee}._HuCRs{height:100%;position:relative;width:292px}._1v9O3 ._HuCRs,._2gdmw ._HuCRs{width:0}._3D3O2._1v9O3 ._HuCRs,._3D3O2._2gdmw ._HuCRs{width:30px}._1oi3- ._HuCRs{transition:width .5s}._3v_3l{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._2gdmw ._3v_3l{visibility:hidden}._1oi3- ._3v_3l{visibility:visible}._3v_3l ._1C_rD{width:252px;margin-left:20px}._2u3di{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._2kIdO{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._2kIdO *{font-weight:400;font-size:16px;margin:0}._3Uz_P{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._2gdmw ._3Uz_P{left:0}._3D3O2._2gdmw ._3Uz_P{left:30px}._3Uz_P ._34Q3U{width:4px;height:100%}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._34Q3U,._3Uz_P:hover ._34Q3U{background-color:#9dc5ed}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH>span,._3Uz_P:hover ._3u9YH>span{background-color:#0b6ed0;border-color:#0b6ed0}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH>span>svg,._3Uz_P:hover ._3u9YH>span>svg{fill:#fff}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH:active>span,._3Uz_P:hover ._3u9YH:active>span{background-color:#0854a1;border-color:#0854a1}._3D3O2._2gdmw ._3Zb5r:hover+._3Uz_P ._3u9YH:active>span>svg,._3Uz_P:hover ._3u9YH:active>span>svg{fill:#fff}._3Uz_P ._3u9YH{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}._3Uz_P ._3u9YH._3hlQ3._3hlQ3._3hlQ3{opacity:1}._3Uz_P ._3u9YH._Rkxbd._Rkxbd._Rkxbd{opacity:0}._3Uz_P ._3u9YH:active>span{background-color:#0854a1;border-color:#0854a1}._3Uz_P ._3u9YH:active>span>svg{fill:#fff}._3Uz_P ._3u9YH>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._3Uz_P ._3u9YH>span>svg{fill:#515559;border-radius:50%}._2gdmw ._3Uz_P ._3u9YH,._3Uz_P:hover ._3u9YH,._3Zb5r:hover+._3Uz_P ._3u9YH{opacity:1}body.keyboard-user ._3u9YH:focus{opacity:1;border-color:#0a3f88}";
|
|
6
6
|
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 = "._38mvY{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4
|
+
var styles = {"divider":"_38mvY"};
|
|
5
|
+
var stylesheet="._38mvY{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
6
6
|
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 = "._2Nf7j{max-width:100%;position:relative;display:inline-block}._2AZjQ{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}._2AZjQ:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._2AZjQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._2AZjQ:disabled,._2AZjQ[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._2AZjQ._2IRto{border-color:#b00}._2AZjQ._2IRto:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._2AZjQ._1ak4_{min-width:120px;padding:0 4px 0 12px}._2AZjQ._I3-sf{margin-top:4px}._2AZjQ._M346s:not([aria-disabled=true]):not(:disabled){color:#32363a}._2AZjQ ._2z4RJ{display:inline-flex;align-items:center;min-height:10px}._2AZjQ ._2z4RJ._3JA_s{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._2AZjQ ._6UAJ2{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._2AZjQ ._6UAJ2._NRV7F{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._2AZjQ ._6UAJ2._2sB1w{transform:rotate(-180deg)}._3VRUv[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._1qr7x{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}._1IFVq{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}._UVl50{fill:#515559}._odytm{margin:2px 12px 2px 0}._odytm._1X-F3>svg{border-color:#0b6ed0}._1eZeF{width:100%}";
|
|
4
|
+
var styles = {"container":"_2Nf7j","button":"_2AZjQ","invalid":"_2IRto","hasText":"_1ak4_","labelled":"_I3-sf","selected":"_M346s","buttonLabel":"_2z4RJ","isString":"_3JA_s","icon":"_6UAJ2","disabled":"_NRV7F","open":"_2sB1w","option":"_3VRUv","search":"_1qr7x","emptyOption":"_1IFVq","searchIcon":"_UVl50","checkbox":"_odytm","highlighted":"_1X-F3","searchInput":"_1eZeF"};
|
|
5
|
+
var stylesheet="._2Nf7j{max-width:100%;position:relative;display:inline-block}._2AZjQ{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}._2AZjQ:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._2AZjQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._2AZjQ:disabled,._2AZjQ[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._2AZjQ._2IRto{border-color:#b00}._2AZjQ._2IRto:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._2AZjQ._1ak4_{min-width:120px;padding:0 4px 0 12px}._2AZjQ._I3-sf{margin-top:4px}._2AZjQ._M346s:not([aria-disabled=true]):not(:disabled){color:#32363a}._2AZjQ ._2z4RJ{display:inline-flex;align-items:center;min-height:10px}._2AZjQ ._2z4RJ._3JA_s{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._2AZjQ ._6UAJ2{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._2AZjQ ._6UAJ2._NRV7F{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._2AZjQ ._6UAJ2._2sB1w{transform:rotate(-180deg)}._3VRUv[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._1qr7x{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}._1IFVq{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}._UVl50{fill:#515559}._odytm{margin:2px 12px 2px 0}._odytm._1X-F3>svg{border-color:#0b6ed0}._1eZeF{width:100%}";
|
|
6
6
|
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 = "._1qwa-{position:relative}._2eTga{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._uVF1v{margin-left:16px;font-size:14px;color:#32363a}._uVF1v ._1a8Rp{margin-right:16px}";
|
|
4
|
+
var filePickerStyles = {"container":"_1qwa-","fileInput":"_2eTga","fileDetails":"_uVF1v","fileName":"_1a8Rp"};
|
|
5
|
+
var stylesheet="._1qwa-{position:relative}._2eTga{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._uVF1v{margin-left:16px;font-size:14px;color:#32363a}._uVF1v ._1a8Rp{margin-right:16px}";
|
|
6
6
|
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 = "._1xVqL{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._2OrY_{color:#74777a;fill:#74777a}._107_U{color:#b00;fill:#b00}._1B_j-,._3xiEq{margin-left:-2px;margin-right:3px}";
|
|
4
|
+
var styles = {"caption":"_1xVqL","helperText":"_2OrY_","errorText":"_107_U","errorIcon":"_1B_j-","readOnlyIcon":"_3xiEq"};
|
|
5
|
+
var stylesheet="._1xVqL{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._2OrY_{color:#74777a;fill:#74777a}._107_U{color:#b00;fill:#b00}._1B_j-,._3xiEq{margin-left:-2px;margin-right:3px}";
|
|
6
6
|
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 = "._DxwWz{display:flex;flex-direction:column;align-items:flex-start}._3inWj{margin-top:6px;max-width:100%}._3inWj *+*{margin-top:4px}";
|
|
4
|
+
var styles = {"formField":"_DxwWz","captionContainer":"_3inWj"};
|
|
5
|
+
var stylesheet="._DxwWz{display:flex;flex-direction:column;align-items:flex-start}._3inWj{margin-top:6px;max-width:100%}._3inWj *+*{margin-top:4px}";
|
|
6
6
|
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 = "._3wMos{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@-webkit-keyframes _3oujc{0%{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _3oujc{0%{transform:scale3d(.7,.7,.7);opacity:0}}._zogth{-webkit-animation:_3oujc both;animation:_3oujc both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _1xtdE{to{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _1xtdE{to{transform:scale3d(.7,.7,.7);opacity:0}}._1C970{-webkit-animation:_1xtdE both;animation:_1xtdE both;-webkit-animation-duration:.2s;animation-duration:.2s}";
|
|
4
|
+
var styles = {"dialog":"_3wMos","transitionIn":"_zogth","showAnimation":"_3oujc","transitionOut":"_1C970","hideAnimation":"_1xtdE"};
|
|
5
|
+
var stylesheet="._3wMos{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@-webkit-keyframes _3oujc{0%{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _3oujc{0%{transform:scale3d(.7,.7,.7);opacity:0}}._zogth{-webkit-animation:_3oujc both;animation:_3oujc both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _1xtdE{to{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _1xtdE{to{transform:scale3d(.7,.7,.7);opacity:0}}._1C970{-webkit-animation:_1xtdE both;animation:_1xtdE both;-webkit-animation-duration:.2s;animation-duration:.2s}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|