@qualtrics/ui-react 2.85.1 → 2.85.4
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 +27 -0
- package/dist/__node_modules/@radix-ui/primitive/dist/index.js +14 -3
- package/dist/__node_modules/@radix-ui/primitive/dist/internal/is-development.false.js +4 -0
- package/dist/__node_modules/@radix-ui/react-arrow/dist/index.js +7 -4
- package/dist/__node_modules/@radix-ui/react-collection/dist/index.js +58 -39
- package/dist/__node_modules/@radix-ui/react-compose-refs/dist/index.js +8 -1
- package/dist/__node_modules/@radix-ui/react-context/dist/index.js +35 -12
- package/dist/__node_modules/@radix-ui/react-direction/dist/index.js +10 -3
- package/dist/__node_modules/@radix-ui/react-dismissable-layer/dist/index.js +172 -41
- package/dist/__node_modules/@radix-ui/react-dropdown-menu/dist/index.js +58 -61
- package/dist/__node_modules/@radix-ui/react-focus-guards/dist/index.js +30 -6
- package/dist/__node_modules/@radix-ui/react-focus-scope/dist/index.js +33 -9
- package/dist/__node_modules/@radix-ui/react-id/dist/index.js +6 -0
- package/dist/__node_modules/@radix-ui/react-menu/dist/index.js +107 -79
- package/dist/__node_modules/@radix-ui/react-popper/dist/index.js +79 -38
- package/dist/__node_modules/@radix-ui/react-portal/dist/index.js +9 -6
- package/dist/__node_modules/@radix-ui/react-presence/dist/index.js +71 -12
- package/dist/__node_modules/@radix-ui/react-primitive/dist/index.js +6 -0
- package/dist/__node_modules/@radix-ui/react-roving-focus/dist/index.js +36 -12
- package/dist/__node_modules/@radix-ui/react-slot/dist/index.js +85 -54
- package/dist/__node_modules/@radix-ui/react-use-callback-ref/dist/index.js +6 -1
- package/dist/__node_modules/@radix-ui/react-use-controllable-state/dist/index.js +14 -4
- package/dist/__node_modules/@radix-ui/react-use-effect-event/dist/index.js +6 -1
- package/dist/__node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +37 -0
- package/dist/__node_modules/@radix-ui/react-use-layout-effect/dist/index.js +1 -1
- package/dist/__node_modules/@radix-ui/react-use-size/dist/index.js +6 -0
- package/dist/__shared/cjs/{index-21aa4d43.js → index-08198ff4.js} +140 -136
- package/dist/__shared/cjs/{index-e3d48e21.js → index-e51bbd75.js} +4 -4
- 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/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane.js +6 -2
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +1 -1
- 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/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/components/BadgeHandIcon.js +1 -1
- package/dist/icons/index.js +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/Hooks/useFlyoutNode.js +48 -0
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +4 -3
- package/dist/next/Menu/MenuItem.js +3 -2
- package/dist/next/Menu/MenuPane.js +17 -16
- package/dist/next/Menu/PaneChildren.js +15 -10
- package/dist/next/Menu/SubMenu.js +17 -16
- 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 +1055 -519
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +5 -5
- package/next/package.json +6 -6
- package/package.json +15 -15
- package/dist/__node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -23
|
@@ -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 = {"loadingSpinner":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._nMAs- :after{background-color:#515559!important}._agG-K>input:focus{box-shadow:none!important;border:1px solid #898989!important}._6vbRU{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._6vbRU ._v-F31 ._y9S-d{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._6vbRU ._v-F31:first-child ._tENEP{display:none}._6vbRU ._blnb4{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._6vbRU ._blnb4:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._6vbRU ._blnb4:hover._I-3V3{background-color:#e4effa}._6vbRU ._blnb4._I-3V3{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._6vbRU ._blnb4:active:not(._I-3V3){background-color:#e8e9e9}";
|
|
4
|
+
var styles = {"loadingSpinner":"_nMAs-","ignoreFocusStyle":"_agG-K","flyout":"_6vbRU","group":"_v-F31","header":"_y9S-d","divider":"_tENEP","option":"_blnb4","selected":"_I-3V3"};
|
|
5
|
+
var stylesheet="._nMAs- :after{background-color:#515559!important}._agG-K>input:focus{box-shadow:none!important;border:1px solid #898989!important}._6vbRU{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._6vbRU ._v-F31 ._y9S-d{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._6vbRU ._v-F31:first-child ._tENEP{display:none}._6vbRU ._blnb4{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._6vbRU ._blnb4:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._6vbRU ._blnb4:hover._I-3V3{background-color:#e4effa}._6vbRU ._blnb4._I-3V3{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._6vbRU ._blnb4:active:not(._I-3V3){background-color:#e8e9e9}";
|
|
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 = {"drawer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._pkXfw{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._sKTI2{visibility:hidden}._UcHcL{position:fixed}._Frt7Q{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._Ged50{padding-top:8px}._Vya-2{margin-left:12px}";
|
|
4
|
+
var styles = {"drawer":"_pkXfw","hidden":"_sKTI2","anchoredToBody":"_UcHcL","header":"_Frt7Q","title":"_Ged50","closeButton":"_Vya-2"};
|
|
5
|
+
var stylesheet="._pkXfw{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._sKTI2{visibility:hidden}._UcHcL{position:fixed}._Frt7Q{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._Ged50{padding-top:8px}._Vya-2{margin-left:12px}";
|
|
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 = {"button":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._Cr-Xo{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._Cr-Xo:hover:not(._nNx0Z){background-color:rgba(50,54,58,.08)}._Cr-Xo:hover:not(._nNx0Z)._57Ya2{border-color:#085caf;background-color:rgba(11,110,208,.04)}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._J8DZ1{color:#32363a}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._tUty-{fill:#32363a}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._V0R2A{fill:#085caf}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._jQMiK{background-color:rgba(11,110,208,.11)}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._jQMiK ._IMhdt{color:#085caf}._Cr-Xo:active:not(._nNx0Z){background-color:#e8e9e9}._Cr-Xo:active:not(._nNx0Z)._57Ya2{background-color:rgba(11,110,208,.11);border-color:#0854a1}._Cr-Xo:active:not(._nNx0Z)._57Ya2 ._V0R2A{fill:#0854a1}._Cr-Xo:active:not(._nNx0Z)._57Ya2 ._jQMiK{background-color:rgba(11,110,208,.11)}._Cr-Xo:active:not(._nNx0Z)._57Ya2 ._jQMiK ._IMhdt{color:#0854a1}._Cr-Xo._nNx0Z{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._Cr-Xo._57Ya2{border-color:#0b6ed0}._tUty-{fill:#515559}._dqH6o,._tUty-{margin-right:4px}._J8DZ1{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._J8DZ1+._jQMiK{margin-left:6px}._J8DZ1._nNx0Z{color:#74777a}._jQMiK{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._IMhdt{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._V0R2A{fill:#515559}._V0R2A._nNx0Z,._V0R2A._nNx0Z._57Ya2{fill:rgba(116,119,122,.4)}._V0R2A._57Ya2{fill:#0b6ed0}._V0R2A._-cSl3{transform:rotate(-180deg)}._Cr-Xo:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"button":"_Cr-Xo","disabled":"_nNx0Z","selected":"_57Ya2","label":"_J8DZ1","lockIcon":"_tUty-","chevronIcon":"_V0R2A","selectedFiltersContainer":"_jQMiK","selectedFilters":"_IMhdt","lockIconWrapper":"_dqH6o","open":"_-cSl3"};
|
|
5
|
+
var stylesheet="._Cr-Xo{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._Cr-Xo:hover:not(._nNx0Z){background-color:rgba(50,54,58,.08)}._Cr-Xo:hover:not(._nNx0Z)._57Ya2{border-color:#085caf;background-color:rgba(11,110,208,.04)}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._J8DZ1{color:#32363a}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._tUty-{fill:#32363a}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._V0R2A{fill:#085caf}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._jQMiK{background-color:rgba(11,110,208,.11)}._Cr-Xo:hover:not(._nNx0Z)._57Ya2 ._jQMiK ._IMhdt{color:#085caf}._Cr-Xo:active:not(._nNx0Z){background-color:#e8e9e9}._Cr-Xo:active:not(._nNx0Z)._57Ya2{background-color:rgba(11,110,208,.11);border-color:#0854a1}._Cr-Xo:active:not(._nNx0Z)._57Ya2 ._V0R2A{fill:#0854a1}._Cr-Xo:active:not(._nNx0Z)._57Ya2 ._jQMiK{background-color:rgba(11,110,208,.11)}._Cr-Xo:active:not(._nNx0Z)._57Ya2 ._jQMiK ._IMhdt{color:#0854a1}._Cr-Xo._nNx0Z{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._Cr-Xo._57Ya2{border-color:#0b6ed0}._tUty-{fill:#515559}._dqH6o,._tUty-{margin-right:4px}._J8DZ1{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._J8DZ1+._jQMiK{margin-left:6px}._J8DZ1._nNx0Z{color:#74777a}._jQMiK{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._IMhdt{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._V0R2A{fill:#515559}._V0R2A._nNx0Z,._V0R2A._nNx0Z._57Ya2{fill:rgba(116,119,122,.4)}._V0R2A._57Ya2{fill:#0b6ed0}._V0R2A._-cSl3{transform:rotate(-180deg)}._Cr-Xo:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"input":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._-xjQC{margin:6px 0}._idE13{line-height:20px;color:#515559;display:flex;margin-bottom:4px}._plevu{display:inline-block}._plevu:focus-within ._idE13,._plevu:has([aria-expanded=true]) ._idE13{color:#0b6ed0}._plevu:has(input:disabled) ._idE13{color:rgba(50,54,58,.4)}._plevu:not(:has(input:disabled)) ._idE13{cursor:pointer}._meILu{margin-top:4px}._meILu:first-of-type{margin-top:6px}";
|
|
4
|
+
var styles = {"input":"_-xjQC","label":"_idE13","formFieldWrapper":"_plevu","caption":"_meILu"};
|
|
5
|
+
var stylesheet="._-xjQC{margin:6px 0}._idE13{line-height:20px;color:#515559;display:flex;margin-bottom:4px}._plevu{display:inline-block}._plevu:focus-within ._idE13,._plevu:has([aria-expanded=true]) ._idE13{color:#0b6ed0}._plevu:has(input:disabled) ._idE13{color:rgba(50,54,58,.4)}._plevu:not(:has(input:disabled)) ._idE13{cursor:pointer}._meILu{margin-top:4px}._meILu:first-of-type{margin-top:6px}";
|
|
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 = {"indicator":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._OVvsf{background-color:#f6f6f8;color:#2a2a2a;fill:#2a2a2a;border:1px solid #2a2a2a;border-radius:4px;position:relative;display:inline-flex;gap:4px;align-items:center;font-family:\"72\",\"Helvetica Neue\",\"Helvetica\",\"Arial\",\"sans-serif\";font-size:14px;font-style:normal;font-weight:400;line-height:20px}._OVvsf._ePO2C{background-color:#fff4ef;border-color:#ba4f0d;color:#ba4f0d;fill:#ba4f0d}._OVvsf._CWvY4{background-color:#fff4f3;border-color:#da1c3d;color:#da1c3d;fill:#da1c3d}._OVvsf._rIhyX{background-color:#f3f8ef;border-color:#457d25;color:#457d25;fill:#457d25}._OVvsf._Tmcoo{background-color:#f1f7fd;border-color:#006fd3;color:#006fd3;fill:#006fd3}._GEVWT{padding:1px 8px;max-height:24px}._j2EDq{padding:4px 8px}";
|
|
4
|
+
var styles = {"indicator":"_OVvsf","warning":"_ePO2C","error":"_CWvY4","success":"_rIhyX","informational":"_Tmcoo","small":"_GEVWT","medium":"_j2EDq"};
|
|
5
|
+
var stylesheet="._OVvsf{background-color:#f6f6f8;color:#2a2a2a;fill:#2a2a2a;border:1px solid #2a2a2a;border-radius:4px;position:relative;display:inline-flex;gap:4px;align-items:center;font-family:\"72\",\"Helvetica Neue\",\"Helvetica\",\"Arial\",\"sans-serif\";font-size:14px;font-style:normal;font-weight:400;line-height:20px}._OVvsf._ePO2C{background-color:#fff4ef;border-color:#ba4f0d;color:#ba4f0d;fill:#ba4f0d}._OVvsf._CWvY4{background-color:#fff4f3;border-color:#da1c3d;color:#da1c3d;fill:#da1c3d}._OVvsf._rIhyX{background-color:#f3f8ef;border-color:#457d25;color:#457d25;fill:#457d25}._OVvsf._Tmcoo{background-color:#f1f7fd;border-color:#006fd3;color:#006fd3;fill:#006fd3}._GEVWT{padding:1px 8px;max-height:24px}._j2EDq{padding:4px 8px}";
|
|
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 inputClasses = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._xgozN{position:relative;display:inline-block;height:36px;width:100%}._0iv-C{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._0iv-C:hover{cursor:pointer;background-color:#f5f5f5}._0iv-C:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._0iv-C:disabled,._0iv-C[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._0iv-C:disabled::-moz-placeholder,._0iv-C[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0iv-C:disabled::placeholder,._0iv-C[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0iv-C:invalid,._0iv-C[aria-invalid=true]{border-color:#b00}._0iv-C:invalid:focus,._0iv-C[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._0iv-C[type=number]{-moz-appearance:textfield}._0iv-C[type=number]::-webkit-inner-spin-button,._0iv-C[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._0iv-C::-moz-placeholder{color:#515559;opacity:1}._0iv-C::placeholder{color:#515559;opacity:1}._aI05R{pointer-events:none;color:#515559;fill:#515559}._wmzhE{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._dB8b0{color:#515559;font-size:16px}._5GZ7c{left:0;margin-left:6px}._5GZ7c,._pMyZC{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._pMyZC{right:0;margin-right:6px}";
|
|
4
|
+
var inputClasses = {"container":"_xgozN","input":"_0iv-C","addOn":"_aI05R","addOnVerticalCenter":"_wmzhE","addOnTextNode":"_dB8b0","leftAddOn":"_5GZ7c","rightAddOn":"_pMyZC"};
|
|
5
|
+
var stylesheet="._xgozN{position:relative;display:inline-block;height:36px;width:100%}._0iv-C{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._0iv-C:hover{cursor:pointer;background-color:#f5f5f5}._0iv-C:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._0iv-C:disabled,._0iv-C[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._0iv-C:disabled::-moz-placeholder,._0iv-C[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0iv-C:disabled::placeholder,._0iv-C[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0iv-C:invalid,._0iv-C[aria-invalid=true]{border-color:#b00}._0iv-C:invalid:focus,._0iv-C[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._0iv-C[type=number]{-moz-appearance:textfield}._0iv-C[type=number]::-webkit-inner-spin-button,._0iv-C[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._0iv-C::-moz-placeholder{color:#515559;opacity:1}._0iv-C::placeholder{color:#515559;opacity:1}._aI05R{pointer-events:none;color:#515559;fill:#515559}._wmzhE{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._dB8b0{color:#515559;font-size:16px}._5GZ7c{left:0;margin-left:6px}._5GZ7c,._pMyZC{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._pMyZC{right:0;margin-right:6px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { inputClasses 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 = {"spinnerContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._A0d10{position:relative;display:inline-block}._A0d10._DA96F{min-height:20px;min-width:20px}._A0d10._OrSjN{min-height:25px;min-width:25px}._A0d10._9kIkm{min-height:40px;min-width:40px}._A0d10._p2anV{min-height:64px;min-width:64px}._A0d10 ._Po2Hu{display:inline-block;background-color:initial;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._A0d10 ._Po2Hu._MqNB9{display:none}._A0d10 ._Po2Hu div{position:absolute;transform:rotate(20deg)}._A0d10 ._Po2Hu div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_Po2Hu .9s linear infinite}._A0d10 ._Po2Hu div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._A0d10 ._Po2Hu div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._A0d10 ._Po2Hu div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._A0d10 ._Po2Hu div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._A0d10 ._Po2Hu div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._A0d10 ._Po2Hu div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._A0d10 ._Po2Hu div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._A0d10 ._Po2Hu div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._A0d10 ._Po2Hu div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._A0d10 ._Po2Hu div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._A0d10 ._p2anV div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._A0d10 ._DA96F div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._A0d10 ._OrSjN div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._A0d10 ._IZp8t div div:nth-child(-n+9):after{background:#fff}._A0d10 ._3ORk8{width:100%;height:100%}._A0d10 ._3ORk8._fx3uC{pointer-events:none}._A0d10 ._3ORk8._MqNB9{opacity:0}._A0d10 ._3ORk8._0lpck{opacity:.8}@keyframes _Po2Hu{0%{opacity:1}to{opacity:0}}";
|
|
4
|
+
var styles = {"spinnerContainer":"_A0d10","xs":"_DA96F","small":"_OrSjN","medium":"_9kIkm","large":"_p2anV","spinnerComponent":"_Po2Hu","hide":"_MqNB9","inverted":"_IZp8t","spinnerContent":"_3ORk8","disablePointerEvents":"_fx3uC","fade":"_0lpck"};
|
|
5
|
+
var stylesheet="._A0d10{position:relative;display:inline-block}._A0d10._DA96F{min-height:20px;min-width:20px}._A0d10._OrSjN{min-height:25px;min-width:25px}._A0d10._9kIkm{min-height:40px;min-width:40px}._A0d10._p2anV{min-height:64px;min-width:64px}._A0d10 ._Po2Hu{display:inline-block;background-color:initial;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._A0d10 ._Po2Hu._MqNB9{display:none}._A0d10 ._Po2Hu div{position:absolute;transform:rotate(20deg)}._A0d10 ._Po2Hu div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_Po2Hu .9s linear infinite}._A0d10 ._Po2Hu div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._A0d10 ._Po2Hu div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._A0d10 ._Po2Hu div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._A0d10 ._Po2Hu div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._A0d10 ._Po2Hu div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._A0d10 ._Po2Hu div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._A0d10 ._Po2Hu div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._A0d10 ._Po2Hu div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._A0d10 ._Po2Hu div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._A0d10 ._Po2Hu div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._A0d10 ._p2anV div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._A0d10 ._DA96F div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._A0d10 ._OrSjN div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._A0d10 ._IZp8t div div:nth-child(-n+9):after{background:#fff}._A0d10 ._3ORk8{width:100%;height:100%}._A0d10 ._3ORk8._fx3uC{pointer-events:none}._A0d10 ._3ORk8._MqNB9{opacity:0}._A0d10 ._3ORk8._0lpck{opacity:.8}@keyframes _Po2Hu{0%{opacity:1}to{opacity:0}}";
|
|
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 };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
2
|
+
import { useState, useRef, useCallback } from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Tracks the pane's DOM node in state via a stable callback ref.
|
|
6
|
+
*
|
|
7
|
+
* Several Radix primitives the content is rendered through (Popper,
|
|
8
|
+
* DismissableLayer, FocusScope) compose our ref with an inline arrow, so the
|
|
9
|
+
* composed ref changes identity on every render. React then detaches
|
|
10
|
+
* (`null`) and re-attaches (same node) the ref within a single commit.
|
|
11
|
+
*
|
|
12
|
+
* Calling `setState` for that churn schedules a synchronous re-render of the
|
|
13
|
+
* pane. React cannot bail out of it while the pane has other pending updates
|
|
14
|
+
* (e.g. descendant registration from a virtualized list), and re-rendering the
|
|
15
|
+
* pane re-renders the Radix content, which churns the ref again — React throws
|
|
16
|
+
* "Maximum update depth exceeded" (HOME-5488).
|
|
17
|
+
*
|
|
18
|
+
* To break the cycle, state is only updated when the node actually changes:
|
|
19
|
+
* re-attaching the same node is ignored, and a `null` is only committed if the
|
|
20
|
+
* ref is still detached once the current commit has finished.
|
|
21
|
+
*/
|
|
22
|
+
const useFlyoutNode = () => {
|
|
23
|
+
const _useState = useState(null),
|
|
24
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
25
|
+
node = _useState2[0],
|
|
26
|
+
setNode = _useState2[1];
|
|
27
|
+
const latestNodeRef = useRef(null);
|
|
28
|
+
const storedNodeRef = useRef(null);
|
|
29
|
+
const ref = useCallback(nextNode => {
|
|
30
|
+
latestNodeRef.current = nextNode;
|
|
31
|
+
if (nextNode) {
|
|
32
|
+
if (nextNode !== storedNodeRef.current) {
|
|
33
|
+
storedNodeRef.current = nextNode;
|
|
34
|
+
setNode(nextNode);
|
|
35
|
+
}
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
queueMicrotask(() => {
|
|
39
|
+
if (latestNodeRef.current === null && storedNodeRef.current !== null) {
|
|
40
|
+
storedNodeRef.current = null;
|
|
41
|
+
setNode(null);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}, []);
|
|
45
|
+
return [node, ref];
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export { useFlyoutNode as default };
|
package/dist/next/Menu/Menu2.js
CHANGED
|
@@ -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 = {"buttonContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._gS020{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._gS020>._AQL6P{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._gS020>._AQL6P:hover:not([aria-disabled=true]){background-color:#f5f5f5}._gS020>._AQL6P:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._gS020>._AQL6P+._x-MFQ{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._gS020>._AQL6P[data-state=open]+._x-MFQ{transform:rotate(-180deg) translateY(50%)}._gS020>._AQL6P[aria-disabled=true]{color:#74777a;cursor:not-allowed}._gS020>._AQL6P[aria-disabled=true]+._x-MFQ{fill:#515559;opacity:.4}._NQKby>[data-radix-popper-content-wrapper]{overflow:hidden;min-width:auto!important;background-color:#fff;max-width:350px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._NQKby>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._w4y0t{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._w4y0t ._Sb7Rw{height:100%;overflow-y:scroll}._w4y0t._cKgNz{margin-left:30px;opacity:0}._w4y0t._t44MD{margin-left:-30px}._-QsDx{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._-QsDx._Q-Vvy{cursor:unset}._-QsDx ._olMLr{fill:#32363a;margin-right:4px}._-QsDx:focus,._-QsDx:hover:not(._-QsDx._Q-Vvy){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._-QsDx[aria-disabled=true]{cursor:not-allowed;opacity:.65}._-QsDx._c6yCk{padding-right:32px}._-QsDx._c6yCk ._x-MFQ{position:absolute;height:100%;right:3px;fill:#515559}._-QsDx._Ej8LH{pointer-events:none}._Fq0cB{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._Fq0cB._Ne46C{padding-top:52px}._L90TJ{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._-yeJJ{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._-yeJJ._t44MD{opacity:0}._-yeJJ._t44MD>._igase{margin-left:-30px}._-yeJJ._cKgNz{opacity:0}._-yeJJ._cKgNz>._igase{margin-left:30px}._-yeJJ>._igase{transition:margin-left .35s;width:100%}._-yeJJ._Ej8LH{pointer-events:none}body.keyboard-user ._-QsDx:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
4
|
+
var styles = {"buttonContainer":"_gS020","button":"_AQL6P","rightIcon":"_x-MFQ","maskContainer":"_NQKby","flyout":"_w4y0t","scrollContainer":"_Sb7Rw","animatedRight":"_cKgNz","animatedLeft":"_t44MD","menuItem":"_-QsDx","noItems":"_Q-Vvy","backIcon":"_olMLr","subMenu":"_c6yCk","unresponsive":"_Ej8LH","stickyBox":"_Fq0cB","isSearchable":"_Ne46C","searchBoxesContainer":"_L90TJ","searchBox":"_-yeJJ","searchInput":"_igase"};
|
|
5
|
+
var stylesheet="._gS020{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._gS020>._AQL6P{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._gS020>._AQL6P:hover:not([aria-disabled=true]){background-color:#f5f5f5}._gS020>._AQL6P:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._gS020>._AQL6P+._x-MFQ{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._gS020>._AQL6P[data-state=open]+._x-MFQ{transform:rotate(-180deg) translateY(50%)}._gS020>._AQL6P[aria-disabled=true]{color:#74777a;cursor:not-allowed}._gS020>._AQL6P[aria-disabled=true]+._x-MFQ{fill:#515559;opacity:.4}._NQKby>[data-radix-popper-content-wrapper]{overflow:hidden;min-width:auto!important;background-color:#fff;max-width:350px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._NQKby>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._w4y0t{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._w4y0t ._Sb7Rw{height:100%;overflow-y:scroll}._w4y0t._cKgNz{margin-left:30px;opacity:0}._w4y0t._t44MD{margin-left:-30px}._-QsDx{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._-QsDx._Q-Vvy{cursor:unset}._-QsDx ._olMLr{fill:#32363a;margin-right:4px}._-QsDx:focus,._-QsDx:hover:not(._-QsDx._Q-Vvy){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._-QsDx[aria-disabled=true]{cursor:not-allowed;opacity:.65}._-QsDx._c6yCk{padding-right:32px}._-QsDx._c6yCk ._x-MFQ{position:absolute;height:100%;right:3px;fill:#515559}._-QsDx._Ej8LH{pointer-events:none}._Fq0cB{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._Fq0cB._Ne46C{padding-top:52px}._L90TJ{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._-yeJJ{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._-yeJJ._t44MD{opacity:0}._-yeJJ._t44MD>._igase{margin-left:-30px}._-yeJJ._cKgNz{opacity:0}._-yeJJ._cKgNz>._igase{margin-left:30px}._-yeJJ>._igase{transition:margin-left .35s;width:100%}._-yeJJ._Ej8LH{pointer-events:none}body.keyboard-user ._-QsDx:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
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,7 +1,7 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
3
3
|
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
4
|
-
import React__default from 'react';
|
|
4
|
+
import React__default, { useMemo } from 'react';
|
|
5
5
|
import { Trigger } from './../../__node_modules/@radix-ui/react-dropdown-menu/dist/index.js';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import '../../icons/index.es.js';
|
|
@@ -14,8 +14,8 @@ import '../../components/index.js';
|
|
|
14
14
|
import { DATA_TESTID_SUFFIXES } from '../Select/constants.js';
|
|
15
15
|
import useSelectContext from '../Select/SelectContext.js';
|
|
16
16
|
import Tooltip from '../../components/Tooltip/Tooltip.js';
|
|
17
|
-
import useIsTruncated from '../../hooks/useIsTruncated/useIsTruncated.js';
|
|
18
17
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
18
|
+
import useIsTruncated from '../../hooks/useIsTruncated/useIsTruncated.js';
|
|
19
19
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
20
20
|
import ChevronDownIcon from '../../icons/components/ChevronDownIcon.js';
|
|
21
21
|
|
|
@@ -49,6 +49,7 @@ const MenuButton = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
|
49
49
|
rootDataTestId = _useMenuContext.dataTestId,
|
|
50
50
|
isDisabled = _useMenuContext.isDisabled,
|
|
51
51
|
triggerRef = _useMenuContext.triggerRef;
|
|
52
|
+
const mergedRef = useMemo(() => mergeRefs(triggerRef, ref), [triggerRef, ref]);
|
|
52
53
|
const isTruncated = useIsTruncated(triggerRef);
|
|
53
54
|
const withinSelect = useSelectContext(true) !== null;
|
|
54
55
|
|
|
@@ -67,7 +68,7 @@ const MenuButton = /*#__PURE__*/React__default.forwardRef((_ref2, ref) => {
|
|
|
67
68
|
[styles.button]: !asChild
|
|
68
69
|
}),
|
|
69
70
|
asChild: asChild,
|
|
70
|
-
ref:
|
|
71
|
+
ref: mergedRef,
|
|
71
72
|
"data-testid": getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_BUTTON : DATA_TESTID_SUFFIXES$1.MENU_BUTTON),
|
|
72
73
|
onPointerDown: handlePointerDown
|
|
73
74
|
}), children), !asChild && /*#__PURE__*/React__default.createElement(ChevronDownIcon, {
|
|
@@ -11,9 +11,9 @@ import { DATA_TESTID_SUFFIXES } from '../Select/constants.js';
|
|
|
11
11
|
import { DATA_TESTID_SUFFIXES as DATA_TESTID_SUFFIXES$1, KEYS } from './constants.js';
|
|
12
12
|
import useSelectContext from '../Select/SelectContext.js';
|
|
13
13
|
import { conditionalA11yHelpersWrapper, useIsFocusVisible } from '../../components/UIProvider/A11yHelpersContext.js';
|
|
14
|
+
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
14
15
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
15
16
|
import getTestIdSegment from '../../utils/getTestIdSegment/getTestIdSegment.js';
|
|
16
|
-
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
17
17
|
|
|
18
18
|
const _excluded = ["isDisabled", "asChild", "children", "className", "onSelect", "label", "testIdSegment", "data-testid"];
|
|
19
19
|
const MenuItem = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
@@ -30,6 +30,7 @@ const MenuItem = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
30
30
|
const withinSelect = selectContext !== null;
|
|
31
31
|
const multiselect = selectContext === null || selectContext === void 0 ? void 0 : selectContext.multiselect;
|
|
32
32
|
const itemRef = useRef(null);
|
|
33
|
+
const mergedRef = useMemo(() => mergeRefs(ref, itemRef), [ref]);
|
|
33
34
|
const _usePaneContext = usePaneContext(itemRef),
|
|
34
35
|
menuParentDataTestId = _usePaneContext.dataTestId,
|
|
35
36
|
childIndex = _usePaneContext.childIndex,
|
|
@@ -70,7 +71,7 @@ const MenuItem = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
70
71
|
[styles.unresponsive]: !isInteractive
|
|
71
72
|
}),
|
|
72
73
|
"data-testid": dataTestId,
|
|
73
|
-
ref:
|
|
74
|
+
ref: mergedRef,
|
|
74
75
|
onKeyDown: e => {
|
|
75
76
|
var _context, _context2, _context3;
|
|
76
77
|
if (!isInteractive || multiselect && e.key === 'Enter') {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
2
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
3
3
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
4
|
-
import React__default, { useState,
|
|
4
|
+
import React__default, { useState, useMemo, useRef } from 'react';
|
|
5
5
|
import { Portal as Portal2, Content as Content2 } from './../../__node_modules/@radix-ui/react-dropdown-menu/dist/index.js';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import ReactFocusLock from 'react-focus-lock';
|
|
@@ -23,11 +23,12 @@ import PaneChildren from './PaneChildren.js';
|
|
|
23
23
|
import useFocusVirtualBoundary from './Hooks/useFocusVirtualBoundary.js';
|
|
24
24
|
import useIsVirtualized from './Hooks/useIsVirtualized.js';
|
|
25
25
|
import useMaskDimensions from './Hooks/useMaskDimensions.js';
|
|
26
|
+
import useFlyoutNode from './Hooks/useFlyoutNode.js';
|
|
26
27
|
import { useIsFocusVisible, conditionalA11yHelpersWrapper } from '../../components/UIProvider/A11yHelpersContext.js';
|
|
28
|
+
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
27
29
|
import useId from '../../hooks/useId/useId.js';
|
|
28
30
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
29
31
|
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
30
|
-
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
31
32
|
|
|
32
33
|
const _excluded = ["placement", "children", "isSearchable", "searchValue", "onSearchValueChange", "isSearchFilteringDisabled", "className", "zIndex", "disableScrollLock", "style"],
|
|
33
34
|
_excluded2 = ["id"];
|
|
@@ -51,11 +52,11 @@ const MenuPane = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
51
52
|
_useState2 = _slicedToArray(_useState, 2),
|
|
52
53
|
items = _useState2[0],
|
|
53
54
|
setItems = _useState2[1];
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
flyoutNode =
|
|
57
|
-
|
|
58
|
-
const
|
|
55
|
+
const _useFlyoutNode = useFlyoutNode(),
|
|
56
|
+
_useFlyoutNode2 = _slicedToArray(_useFlyoutNode, 2),
|
|
57
|
+
flyoutNode = _useFlyoutNode2[0],
|
|
58
|
+
onRefChange = _useFlyoutNode2[1];
|
|
59
|
+
const contentRef = useMemo(() => mergeRefs(ref, onRefChange), [ref, onRefChange]);
|
|
59
60
|
const stickyBoxRef = useRef(null);
|
|
60
61
|
const selectContext = useSelectContext(true);
|
|
61
62
|
const withinSelect = selectContext !== null;
|
|
@@ -113,10 +114,10 @@ const MenuPane = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
113
114
|
const paneBottomPadding = 4;
|
|
114
115
|
const maskContainerId = useId();
|
|
115
116
|
const maskContainer = document.getElementById(maskContainerId);
|
|
116
|
-
const
|
|
117
|
-
|
|
118
|
-
transform =
|
|
119
|
-
setTransform =
|
|
117
|
+
const _useState3 = useState(''),
|
|
118
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
119
|
+
transform = _useState4[0],
|
|
120
|
+
setTransform = _useState4[1];
|
|
120
121
|
const target = (_flyoutNode$parentNod = flyoutNode === null || flyoutNode === void 0 ? void 0 : flyoutNode.parentNode) !== null && _flyoutNode$parentNod !== void 0 ? _flyoutNode$parentNod : undefined;
|
|
121
122
|
const _useMenuContext = useMenuContext(),
|
|
122
123
|
rootDataTestId = _useMenuContext.dataTestId,
|
|
@@ -129,10 +130,10 @@ const MenuPane = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
129
130
|
maskWidth = _useMenuContext.maskWidth,
|
|
130
131
|
isVirtualizationDisabled = _useMenuContext.isVirtualizationDisabled;
|
|
131
132
|
const isVirtualized = useIsVirtualized(children, isVirtualizationDisabled);
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
isVirtualizationReady =
|
|
135
|
-
setIsVirtualizationReady =
|
|
133
|
+
const _useState5 = useState(typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test'),
|
|
134
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
135
|
+
isVirtualizationReady = _useState6[0],
|
|
136
|
+
setIsVirtualizationReady = _useState6[1];
|
|
136
137
|
const animatedLeft = useMemo(() => openPaneDepth > thisPanesDepth, [openPaneDepth]);
|
|
137
138
|
const dataTestId = getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES$1.MENU_PANE);
|
|
138
139
|
const _usePaneSearch = usePaneSearch({
|
|
@@ -251,7 +252,7 @@ const MenuPane = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
251
252
|
loop: !isSearchable,
|
|
252
253
|
side: side || defaultSide,
|
|
253
254
|
align: align || 'start',
|
|
254
|
-
ref:
|
|
255
|
+
ref: contentRef,
|
|
255
256
|
"data-testid": dataTestId,
|
|
256
257
|
className: classNames(className, {
|
|
257
258
|
[styles.animatedLeft]: animatedLeft
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import React__default, { useRef } from 'react';
|
|
2
|
+
import React__default, { useRef, useMemo, useCallback } from 'react';
|
|
3
3
|
import { Virtuoso } from 'react-virtuoso';
|
|
4
4
|
import { useMenuContext, usePaneContext, ItemContextProvider } from './MenuContext.js';
|
|
5
5
|
import styles from './Menu2.js';
|
|
@@ -19,6 +19,17 @@ const PaneChildren = _ref => {
|
|
|
19
19
|
setIsVirtualizationReady = _usePaneContext.setIsVirtualizationReady,
|
|
20
20
|
isVirtualized = _usePaneContext.isVirtualized;
|
|
21
21
|
const containerRef = useRef(null);
|
|
22
|
+
const virtualIndexOffset = multiselect && showSelectedItemsPane && !containedWithinSubpane ? 1 : 0;
|
|
23
|
+
|
|
24
|
+
// Virtuoso republishes every prop that changes identity, so keep them
|
|
25
|
+
// stable to avoid feeding extra synchronous renders back into the pane.
|
|
26
|
+
const data = useMemo(() => Array.isArray(children) ? children : [children], [children]);
|
|
27
|
+
const startReached = useCallback(() => setIsVirtualizationReady === null || setIsVirtualizationReady === void 0 ? void 0 : setIsVirtualizationReady(true), [setIsVirtualizationReady]);
|
|
28
|
+
const itemContent = useCallback((index, child) => ! /*#__PURE__*/React__default.isValidElement(child) ? null : /*#__PURE__*/React__default.createElement(ItemContextProvider, {
|
|
29
|
+
value: {
|
|
30
|
+
virtualIndex: index + virtualIndexOffset
|
|
31
|
+
}
|
|
32
|
+
}, child), [virtualIndexOffset]);
|
|
22
33
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
23
34
|
ref: containerRef,
|
|
24
35
|
className: styles.scrollContainer,
|
|
@@ -27,16 +38,10 @@ const PaneChildren = _ref => {
|
|
|
27
38
|
}
|
|
28
39
|
}, isVirtualized ? /*#__PURE__*/React__default.createElement(Virtuoso, _extends({
|
|
29
40
|
ref: virtuoso,
|
|
30
|
-
startReached:
|
|
41
|
+
startReached: startReached,
|
|
31
42
|
customScrollParent: (_containerRef$current2 = containerRef.current) !== null && _containerRef$current2 !== void 0 ? _containerRef$current2 : undefined,
|
|
32
|
-
data:
|
|
33
|
-
|
|
34
|
-
,
|
|
35
|
-
itemContent: (index, child) => ! /*#__PURE__*/React__default.isValidElement(child) ? null : /*#__PURE__*/React__default.createElement(ItemContextProvider, {
|
|
36
|
-
value: {
|
|
37
|
-
virtualIndex: index + (multiselect && showSelectedItemsPane && !containedWithinSubpane ? 1 : 0)
|
|
38
|
-
}
|
|
39
|
-
}, child)
|
|
43
|
+
data: data,
|
|
44
|
+
itemContent: itemContent
|
|
40
45
|
}, VIRTUOSO_PROPS)) : /*#__PURE__*/React__default.createElement(ItemContextProvider, {
|
|
41
46
|
value: {
|
|
42
47
|
virtualIndex: undefined
|
|
@@ -2,7 +2,7 @@ import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
|
2
2
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
3
3
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
4
4
|
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
5
|
-
import React__default, { useState, useRef,
|
|
5
|
+
import React__default, { useState, useRef, useMemo, useEffect } from 'react';
|
|
6
6
|
import { Sub as Sub2, SubTrigger as SubTrigger2, SubContent as SubContent2, Item as Item2 } from './../../__node_modules/@radix-ui/react-dropdown-menu/dist/index.js';
|
|
7
7
|
import classNames from 'classnames';
|
|
8
8
|
import styles from './Menu2.js';
|
|
@@ -20,13 +20,14 @@ import PaneChildren from './PaneChildren.js';
|
|
|
20
20
|
import useFocusVirtualBoundary from './Hooks/useFocusVirtualBoundary.js';
|
|
21
21
|
import useIsVirtualized from './Hooks/useIsVirtualized.js';
|
|
22
22
|
import useMaskDimensions from './Hooks/useMaskDimensions.js';
|
|
23
|
+
import useFlyoutNode from './Hooks/useFlyoutNode.js';
|
|
23
24
|
import { conditionalA11yHelpersWrapper, useIsFocusVisible } from '../../components/UIProvider/A11yHelpersContext.js';
|
|
24
25
|
import useId from '../../hooks/useId/useId.js';
|
|
26
|
+
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
25
27
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
26
28
|
import getTestIdSegment from '../../utils/getTestIdSegment/getTestIdSegment.js';
|
|
27
29
|
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
28
30
|
import ChevronRightIcon from '../../icons/components/ChevronRightIcon.js';
|
|
29
|
-
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
30
31
|
import ArrowLeftIcon from '../../icons/components/ArrowLeftIcon.js';
|
|
31
32
|
|
|
32
33
|
const _excluded = ["children", "label", "isDisabled", "isSearchable", "searchValue", "onSearchValueChange", "isSearchFilteringDisabled", "className", "style", "onIsOpenChange", "testIdSegment"];
|
|
@@ -63,11 +64,11 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
63
64
|
setItems = _useState2[1];
|
|
64
65
|
const internalId = useId();
|
|
65
66
|
const triggerRef = useRef(null);
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
flyoutNode =
|
|
69
|
-
|
|
70
|
-
const
|
|
67
|
+
const _useFlyoutNode = useFlyoutNode(),
|
|
68
|
+
_useFlyoutNode2 = _slicedToArray(_useFlyoutNode, 2),
|
|
69
|
+
flyoutNode = _useFlyoutNode2[0],
|
|
70
|
+
onRefChange = _useFlyoutNode2[1];
|
|
71
|
+
const contentRef = useMemo(() => mergeRefs(ref, onRefChange), [ref, onRefChange]);
|
|
71
72
|
const stickyBoxRef = useRef(null);
|
|
72
73
|
const backButtonRef = useRef(null);
|
|
73
74
|
const _usePaneContext = usePaneContext(triggerRef),
|
|
@@ -89,18 +90,18 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
89
90
|
isFocusVisible = _useIsFocusVisible.isFocusVisible;
|
|
90
91
|
const zIndex = useMemo(() => paneContainingTriggerZIndex + 1, [paneContainingTriggerZIndex]);
|
|
91
92
|
const thisPanesDepth = (_submenuDepths$intern = submenuDepths[internalId]) !== null && _submenuDepths$intern !== void 0 ? _submenuDepths$intern : Number.MAX_SAFE_INTEGER;
|
|
93
|
+
const _useState3 = useState(false),
|
|
94
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
95
|
+
isPaneInDOM = _useState4[0],
|
|
96
|
+
setIsPaneInDOM = _useState4[1];
|
|
92
97
|
const _useState5 = useState(false),
|
|
93
98
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
isFrameAfterPaneAddedToDOM = _useState6[0],
|
|
100
|
+
setIsFrameAfterPaneAddedToDOM = _useState6[1];
|
|
96
101
|
const _useState7 = useState(false),
|
|
97
102
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
const _useState9 = useState(false),
|
|
101
|
-
_useState0 = _slicedToArray(_useState9, 2),
|
|
102
|
-
isTransitioningFromRight = _useState0[0],
|
|
103
|
-
setIsTransitioningFromRight = _useState0[1];
|
|
103
|
+
isTransitioningFromRight = _useState8[0],
|
|
104
|
+
setIsTransitioningFromRight = _useState8[1];
|
|
104
105
|
const animatedLeft = useMemo(() => thisPanesDepth < totalOpenPaneDepth, [totalOpenPaneDepth, thisPanesDepth]);
|
|
105
106
|
const animatedRight = useMemo(() => thisPanesDepth > totalOpenPaneDepth || thisPanesDepth === totalOpenPaneDepth && !isPaneInDOM || isFrameAfterPaneAddedToDOM, [totalOpenPaneDepth, isFrameAfterPaneAddedToDOM, thisPanesDepth, isPaneInDOM]);
|
|
106
107
|
const paneDataTestId = getSubDataTestId(paneContainingTriggerDataTestId, getTestIdSegment(testIdSegment, triggerIndex));
|
|
@@ -228,7 +229,7 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
228
229
|
}, /*#__PURE__*/React__default.createElement(SubContent2, _extends({}, rest, {
|
|
229
230
|
loop: !isSearchable,
|
|
230
231
|
"data-testid": paneDataTestId,
|
|
231
|
-
ref:
|
|
232
|
+
ref: contentRef,
|
|
232
233
|
onInteractOutside: onInteractOutside,
|
|
233
234
|
className: classNames(className, styles.flyout, {
|
|
234
235
|
[styles.animatedRight]: animatedRight,
|
|
@@ -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 = {"input":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._aAUPJ input{padding-left:76px!important}._RaMj- input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._RaMj- input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._RaMj- input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._8zR74{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._8zR74,._8zR74._RaMj-:hover{background-color:initial!important}._8zR74:hover{background-color:rgba(50,54,58,.08)!important}._8zR74:active{background-color:rgba(50,54,58,.11)!important}._8zR74 svg{top:2px!important}._pONQ0{position:relative}._Fj9DL{position:absolute;top:18px;left:12px;line-height:0px;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
4
|
+
var styles = {"input":"_aAUPJ","disabled":"_RaMj-","dropdown":"_8zR74","container":"_pONQ0","countryCode":"_Fj9DL"};
|
|
5
|
+
var stylesheet="._aAUPJ input{padding-left:76px!important}._RaMj- input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._RaMj- input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._RaMj- input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._8zR74{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._8zR74,._8zR74._RaMj-:hover{background-color:initial!important}._8zR74:hover{background-color:rgba(50,54,58,.08)!important}._8zR74:active{background-color:rgba(50,54,58,.11)!important}._8zR74 svg{top:2px!important}._pONQ0{position:relative}._Fj9DL{position:absolute;top:18px;left:12px;line-height:0px;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
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 = {"isInvalid":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._nS9FO{box-shadow:inset 0 0 0 1px #b00!important}._GbKYb{margin-right:7px}._Mt7Vb{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4
|
+
var styles = {"isInvalid":"_nS9FO","checkbox":"_GbKYb","selectedItem":"_Mt7Vb"};
|
|
5
|
+
var stylesheet="._nS9FO{box-shadow:inset 0 0 0 1px #b00!important}._GbKYb{margin-right:7px}._Mt7Vb{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
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 };
|