@qualtrics/ui-react 2.20.0 → 2.21.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 +10 -38
- package/dist/__shared/cjs/{index-579c4690.js → index-0ae99de2.js} +3 -3
- package/dist/__shared/cjs/{index-90d4069b.js → index-201e8786.js} +188 -260
- 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/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/Alpha.js +0 -7
- package/dist/components/ColorPicker/ColorPicker.js +5 -1
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/ColorPicker/ColorPickerFlyout.js +9 -4
- package/dist/components/ColorPicker/Hue.js +0 -7
- package/dist/components/ColorPicker/Palette.js +6 -4
- package/dist/components/ColorPicker/Saturation.js +0 -9
- package/dist/components/Combobox/Combobox.js +8 -6
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +0 -5
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownOption.js +2 -5
- package/dist/components/Dropdown/DropdownSearch.js +2 -5
- package/dist/components/FilePicker/FilePicker.js +0 -7
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +9 -8
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +6 -4
- 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/components/deprecated_Toolbar/ToolbarPanels.js +0 -27
- package/dist/hooks/useEventListener/useEventListener.js +3 -0
- package/dist/hooks/useOverlay/useOverlay.js +5 -2
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +1 -7
- package/dist/index.js +4 -7
- package/dist/next/AdvancedTable/AdvancedTable.js +33 -45
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +1 -2
- 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/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu.js +6 -2
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +10 -4
- package/dist/next/Menu/MenuPane.js +55 -37
- package/dist/next/Menu/MenuSearch.js +16 -71
- package/dist/next/Menu/SubMenu.js +54 -41
- package/dist/next/Menu/constants.js +5 -1
- package/dist/next/Menu/useMutationObserver.js +17 -0
- package/dist/next/Menu/usePaneSearch.js +97 -7
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +1 -0
- package/dist/next/index.js +374 -284
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/index.js +0 -1
- package/icons/package.json +1 -0
- package/next/package.json +2 -1
- package/package.json +3 -3
- package/dist/utils/keyboardUser/index.js +0 -1
- package/dist/utils/keyboardUser/keyboardUser.js +0 -30
|
@@ -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 = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._uBrtA{display:inline-flex;width:127px}._QJw3W{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._QJw3W:hover:not(._duGGE){cursor:pointer;background:#f5f5f5}._QJw3W._GrB1T{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._QJw3W._duGGE{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._QJw3W._duGGE>svg{opacity:.4}._QJw3W::-webkit-inner-spin-button,._QJw3W::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._QJw3W:focus{z-index:0;border:none;border-radius:4px}._QJw3W:focus:not(._GrB1T){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._KuAAp,._QJw3W:focus:not(._duGGE){background:#fafafa}._KuAAp{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._KuAAp:hover:not(._duGGE){cursor:pointer;background:#f5f5f5}._KuAAp:active:not(._duGGE){background:#e5e5e5}._KuAAp._duGGE{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._KuAAp._duGGE>svg{opacity:.4}._Mf1Ng{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._Mf1Ng:hover:not(._duGGE){cursor:pointer;background:#f5f5f5}._Mf1Ng:active:not(._duGGE){background:#e5e5e5}._Mf1Ng._duGGE{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._Mf1Ng._duGGE>svg{opacity:.4}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_uBrtA","numberStepperInput":"_QJw3W","disabled":"_duGGE","invalid":"_GrB1T","decrementBtn":"_KuAAp","incrementBtn":"_Mf1Ng"};
|
|
5
|
+
var stylesheet="._uBrtA{display:inline-flex;width:127px}._QJw3W{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._QJw3W:hover:not(._duGGE){cursor:pointer;background:#f5f5f5}._QJw3W._GrB1T{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._QJw3W._duGGE{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._QJw3W._duGGE>svg{opacity:.4}._QJw3W::-webkit-inner-spin-button,._QJw3W::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._QJw3W:focus{z-index:0;border:none;border-radius:4px}._QJw3W:focus:not(._GrB1T){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._KuAAp,._QJw3W:focus:not(._duGGE){background:#fafafa}._KuAAp{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._KuAAp:hover:not(._duGGE){cursor:pointer;background:#f5f5f5}._KuAAp:active:not(._duGGE){background:#e5e5e5}._KuAAp._duGGE{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._KuAAp._duGGE>svg{opacity:.4}._Mf1Ng{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._Mf1Ng:hover:not(._duGGE){cursor:pointer;background:#f5f5f5}._Mf1Ng:active:not(._duGGE){background:#e5e5e5}._Mf1Ng._duGGE{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._Mf1Ng._duGGE>svg{opacity:.4}";
|
|
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 = {"pageContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._sJXQr{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._ktqIg{grid-area:pageHeader}._B3gS2{grid-area:mainContent;height:100%;overflow:auto}";
|
|
4
|
+
var styles = {"pageContainer":"_sJXQr","pageHeader":"_ktqIg","mainContent":"_B3gS2"};
|
|
5
|
+
var stylesheet="._sJXQr{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._ktqIg{grid-area:pageHeader}._B3gS2{grid-area:mainContent;height:100%;overflow:auto}";
|
|
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 = {"pagination":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._YY2oA{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._ZAvpE{margin-right:8px}._cYYF-{margin-left:8px}._h9894{margin:-10px -15px}._BD-Mf{width:100%;text-align:center}";
|
|
4
|
+
var styles = {"pagination":"_YY2oA","previousButton":"_ZAvpE","nextButton":"_cYYF-","btnIcon":"_h9894","input":"_BD-Mf"};
|
|
5
|
+
var stylesheet="._YY2oA{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._ZAvpE{margin-right:8px}._cYYF-{margin-left:8px}._h9894{margin:-10px -15px}._BD-Mf{width:100%;text-align:center}";
|
|
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 = {"popover":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._qUQGu{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._qUQGu:focus{outline:none}._00uvE,._00uvE>div{position:absolute;width:8px;height:8px;background:inherit}._00uvE{visibility:hidden;z-index:1000}._00uvE>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._00uvE{bottom:-4px}[data-popper-placement^=top]>._00uvE>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._00uvE{left:-5px}[data-popper-placement^=right]>._00uvE>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._00uvE{top:-5px}[data-popper-placement^=bottom]>._00uvE>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._00uvE{right:-4px}[data-popper-placement^=left]>._00uvE>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
4
|
+
var styles = {"popover":"_qUQGu","arrow":"_00uvE"};
|
|
5
|
+
var stylesheet="._qUQGu{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._qUQGu:focus{outline:none}._00uvE,._00uvE>div{position:absolute;width:8px;height:8px;background:inherit}._00uvE{visibility:hidden;z-index:1000}._00uvE>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._00uvE{bottom:-4px}[data-popper-placement^=top]>._00uvE>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._00uvE{left:-5px}[data-popper-placement^=right]>._00uvE>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._00uvE{top:-5px}[data-popper-placement^=bottom]>._00uvE>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._00uvE{right:-4px}[data-popper-placement^=left]>._00uvE>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
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 = {"loadingSpinner":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._QQEUN{display:flex;height:32px}";
|
|
4
|
+
var styles = {"loadingSpinner":"_QQEUN"};
|
|
5
|
+
var stylesheet="._QQEUN{display:flex;height:32px}";
|
|
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 = {"radio":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._mLyxb{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._kbg6P,._mLyxb{cursor:pointer;height:16px;width:16px}._kbg6P{position:absolute;opacity:0;z-index:10}._kbg6P:checked~._6iH-q>._hTXp3{fill-opacity:1}._kbg6P:checked:enabled~._6iH-q{border-color:transparent;background-color:#0b6ed0}._kbg6P:checked:enabled~._6iH-q>._hTXp3{fill:#fff}._kbg6P:checked:enabled:hover~._6iH-q{background-color:#085caf}._kbg6P:not(:checked):enabled:hover~._6iH-q{border-color:#0b6ed0}._kbg6P:disabled{cursor:not-allowed}._kbg6P:disabled~._6iH-q{opacity:.4}._kbg6P:checked~._6iH-q:after{content:\"\"}._LCt9-{color:#32363a;display:flex;align-items:center;cursor:pointer}._ZU9Ed{cursor:auto;color:hsla(0,0%,53.7%,.4)}._gXjN0{margin-right:12px;flex-shrink:0}._6iH-q{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;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._hTXp3{fill:#0b6ed0;fill-opacity:0}._6iH-q:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._-MHeO{border:none;padding:0;margin:0}._r-RR5{padding:0;margin:0 0 14px;color:#01213f}._kbg6P.focus-visible~._6iH-q,._kbg6P:focus-visible~._6iH-q{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"radio":"_mLyxb","input":"_kbg6P","check":"_6iH-q","checkIcon":"_hTXp3","label":"_LCt9-","labelDisabled":"_ZU9Ed","wrappedInput":"_gXjN0","radioGroup":"_-MHeO","legend":"_r-RR5"};
|
|
5
|
+
var stylesheet="._mLyxb{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._kbg6P,._mLyxb{cursor:pointer;height:16px;width:16px}._kbg6P{position:absolute;opacity:0;z-index:10}._kbg6P:checked~._6iH-q>._hTXp3{fill-opacity:1}._kbg6P:checked:enabled~._6iH-q{border-color:transparent;background-color:#0b6ed0}._kbg6P:checked:enabled~._6iH-q>._hTXp3{fill:#fff}._kbg6P:checked:enabled:hover~._6iH-q{background-color:#085caf}._kbg6P:not(:checked):enabled:hover~._6iH-q{border-color:#0b6ed0}._kbg6P:disabled{cursor:not-allowed}._kbg6P:disabled~._6iH-q{opacity:.4}._kbg6P:checked~._6iH-q:after{content:\"\"}._LCt9-{color:#32363a;display:flex;align-items:center;cursor:pointer}._ZU9Ed{cursor:auto;color:hsla(0,0%,53.7%,.4)}._gXjN0{margin-right:12px;flex-shrink:0}._6iH-q{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;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._hTXp3{fill:#0b6ed0;fill-opacity:0}._6iH-q:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._-MHeO{border:none;padding:0;margin:0}._r-RR5{padding:0;margin:0 0 14px;color:#01213f}._kbg6P.focus-visible~._6iH-q,._kbg6P:focus-visible~._6iH-q{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 = {"searchInput":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._SScXM{display:inline-block;position:relative}._83DJ-._83DJ-{padding-left:36px;padding-right:36px;width:100%}._83DJ-._83DJ-:disabled+._osfUk{fill-opacity:.6}._osfUk{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._osfUk._7-pJ3{z-index:20}._B2Bo4{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._B2Bo4:hover{cursor:pointer}._B2Bo4:hover>._2mKoy{fill:#32363a}._B2Bo4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2mKoy{fill:#515559}";
|
|
4
|
+
var styles = {"searchInput":"_SScXM","searchInputInput":"_83DJ-","searchInputSearchIcon":"_osfUk","usedWithinInputGroup":"_7-pJ3","searchInputClearButton":"_B2Bo4","searchInputClearButtonIcon":"_2mKoy"};
|
|
5
|
+
var stylesheet="._SScXM{display:inline-block;position:relative}._83DJ-._83DJ-{padding-left:36px;padding-right:36px;width:100%}._83DJ-._83DJ-:disabled+._osfUk{fill-opacity:.6}._osfUk{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._osfUk._7-pJ3{z-index:20}._B2Bo4{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._B2Bo4:hover{cursor:pointer}._B2Bo4:hover>._2mKoy{fill:#32363a}._B2Bo4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2mKoy{fill:#515559}";
|
|
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 = {"sideBarNav":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._A0Uz5{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._A0Uz5._VK4j-{width:69px;min-width:auto;max-width:none}._7P6vH{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._-tR-m{margin-bottom:12px;background-color:transparent!important}._-tR-m:hover{background-color:rgba(11,110,208,.08)!important}._-tR-m:hover ._N-MIM{fill:#085caf}._-tR-m:hover ._LF3aE{color:#085caf}._-tR-m:active{background-color:rgba(11,110,208,.12)!important}._-tR-m:active ._N-MIM{fill:#0854a1}._-tR-m:active ._LF3aE{color:#0854a1}._-tR-m._uRxdS{background-color:rgba(11,110,208,.08)!important}._-tR-m._uRxdS ._N-MIM{fill:#0b6ed0}._-tR-m._uRxdS ._LF3aE{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._-tR-m._uRxdS:hover{background-color:rgba(11,110,208,.08)!important}._-tR-m._uRxdS:hover ._N-MIM{fill:#085caf}._-tR-m._uRxdS:hover ._LF3aE{color:#085caf}._-tR-m._uRxdS:active{background-color:rgba(11,110,208,.12)!important}._-tR-m._uRxdS:active ._N-MIM{fill:#0854a1}._-tR-m._uRxdS:active ._LF3aE{color:#0854a1}._IJLEi{border-radius:6px}._IJLEi ._N-MIM{display:block;fill:#515559}._Cd69r{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._UBdb3,._uk9TA{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._UBdb3 ._N-MIM,._uk9TA ._N-MIM{fill:#515559}._UBdb3 ._LF3aE,._uk9TA ._LF3aE{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._-tR-m.focus-visible,._-tR-m:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"sideBarNav":"_A0Uz5","collapsed":"_VK4j-","navItems":"_7P6vH","sidebarNavItem":"_-tR-m","icon":"_N-MIM","label":"_LF3aE","selected":"_uRxdS","sidebarNavItemIconButton":"_IJLEi","expandCollapseButtonContainer":"_Cd69r","navLink":"_UBdb3","iconButtonWithLabel":"_uk9TA"};
|
|
5
|
+
var stylesheet="._A0Uz5{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._A0Uz5._VK4j-{width:69px;min-width:auto;max-width:none}._7P6vH{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._-tR-m{margin-bottom:12px;background-color:transparent!important}._-tR-m:hover{background-color:rgba(11,110,208,.08)!important}._-tR-m:hover ._N-MIM{fill:#085caf}._-tR-m:hover ._LF3aE{color:#085caf}._-tR-m:active{background-color:rgba(11,110,208,.12)!important}._-tR-m:active ._N-MIM{fill:#0854a1}._-tR-m:active ._LF3aE{color:#0854a1}._-tR-m._uRxdS{background-color:rgba(11,110,208,.08)!important}._-tR-m._uRxdS ._N-MIM{fill:#0b6ed0}._-tR-m._uRxdS ._LF3aE{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._-tR-m._uRxdS:hover{background-color:rgba(11,110,208,.08)!important}._-tR-m._uRxdS:hover ._N-MIM{fill:#085caf}._-tR-m._uRxdS:hover ._LF3aE{color:#085caf}._-tR-m._uRxdS:active{background-color:rgba(11,110,208,.12)!important}._-tR-m._uRxdS:active ._N-MIM{fill:#0854a1}._-tR-m._uRxdS:active ._LF3aE{color:#0854a1}._IJLEi{border-radius:6px}._IJLEi ._N-MIM{display:block;fill:#515559}._Cd69r{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._UBdb3,._uk9TA{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._UBdb3 ._N-MIM,._uk9TA ._N-MIM{fill:#515559}._UBdb3 ._LF3aE,._uk9TA ._LF3aE{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._-tR-m.focus-visible,._-tR-m:focus-visible{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 = {"slider":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._k4h9g{height:auto;width:200px;padding:5px 10px}._oniJS{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._0MIJ6{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._0MIJ6,._G0Wd8{position:absolute}._G0Wd8{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._G0Wd8:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._G0Wd8.focus-visible,._G0Wd8:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"slider":"_k4h9g","track":"_oniJS","fill":"_0MIJ6","button":"_G0Wd8"};
|
|
5
|
+
var stylesheet="._k4h9g{height:auto;width:200px;padding:5px 10px}._oniJS{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._0MIJ6{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._0MIJ6,._G0Wd8{position:absolute}._G0Wd8{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._G0Wd8:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._G0Wd8.focus-visible,._G0Wd8:focus-visible{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 = {"switch":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._ZeO3e{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._ZeO3e._0tBRG{cursor:not-allowed}._0pgVW{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._0pgVW:disabled{cursor:not-allowed}._0pgVW:disabled~._Mj662{opacity:.4}._0pgVW:checked~._Mj662{background-color:#0b6ed0}._0pgVW:checked~._Mj662:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._0pgVW:hover:not(:disabled):not(:checked)~._Mj662{background-color:#6a6a6a}._0pgVW:hover:not(:disabled):checked~._Mj662{background-color:#085caf}._0pgVW:hover:not(:disabled):checked~._Mj662:before{border-color:#085caf}._Mj662{width:32px;background-color:#898989;border-radius:34px}._Mj662,._Mj662:before{height:16px;transition:.2s}._Mj662:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._GZ6Q4{color:#32363a;display:flex;align-items:center;cursor:pointer}._WUTDD{cursor:auto;color:hsla(0,0%,53.7%,.4)}._GCK-x{margin-right:12px;flex-shrink:0}._0pgVW.focus-visible~._Mj662,._0pgVW:focus-visible~._Mj662{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"switch":"_ZeO3e","disabled":"_0tBRG","input":"_0pgVW","slider":"_Mj662","label":"_GZ6Q4","labelDisabled":"_WUTDD","wrappedInput":"_GCK-x"};
|
|
5
|
+
var stylesheet="._ZeO3e{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._ZeO3e._0tBRG{cursor:not-allowed}._0pgVW{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._0pgVW:disabled{cursor:not-allowed}._0pgVW:disabled~._Mj662{opacity:.4}._0pgVW:checked~._Mj662{background-color:#0b6ed0}._0pgVW:checked~._Mj662:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._0pgVW:hover:not(:disabled):not(:checked)~._Mj662{background-color:#6a6a6a}._0pgVW:hover:not(:disabled):checked~._Mj662{background-color:#085caf}._0pgVW:hover:not(:disabled):checked~._Mj662:before{border-color:#085caf}._Mj662{width:32px;background-color:#898989;border-radius:34px}._Mj662,._Mj662:before{height:16px;transition:.2s}._Mj662:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._GZ6Q4{color:#32363a;display:flex;align-items:center;cursor:pointer}._WUTDD{cursor:auto;color:hsla(0,0%,53.7%,.4)}._GCK-x{margin-right:12px;flex-shrink:0}._0pgVW.focus-visible~._Mj662,._0pgVW:focus-visible~._Mj662{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 = {"table":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._x63W9{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._x63W9 ._93zle:first-child,._x63W9 ._VY0ce:first-child{padding-left:16px}._rvxlV{font-size:12px}._VY0ce{padding:12px 8px;text-align:left;font-weight:700}._eesh0 ._JqHcU{border-top:1px solid #ededed}._eesh0 ._JqHcU:hover{background-color:#fafafa}._JqHcU{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._93zle{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
4
|
+
var styles = {"table":"_x63W9","tableCell":"_93zle","tableHeaderCell":"_VY0ce","tableHead":"_rvxlV","tableBody":"_eesh0","tableRow":"_JqHcU"};
|
|
5
|
+
var stylesheet="._x63W9{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._x63W9 ._93zle:first-child,._x63W9 ._VY0ce:first-child{padding-left:16px}._rvxlV{font-size:12px}._VY0ce{padding:12px 8px;text-align:left;font-weight:700}._eesh0 ._JqHcU{border-top:1px solid #ededed}._eesh0 ._JqHcU:hover{background-color:#fafafa}._JqHcU{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._93zle{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
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 = {"tablist":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._EHjMQ{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._EHjMQ._xwmWO ._dkxdT{flex:1 1 0px;max-width:none}._dkxdT{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._dkxdT:hover{color:#32363a}._dkxdT._76R5K{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._H6qIP{padding-top:32px}._H6qIP._DDQdp{display:none}._dkxdT.focus-visible,._dkxdT:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tablist":"_EHjMQ","grow":"_xwmWO","tab":"_dkxdT","selected":"_76R5K","tabpanel":"_H6qIP","inactive":"_DDQdp"};
|
|
5
|
+
var stylesheet="._EHjMQ{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._EHjMQ._xwmWO ._dkxdT{flex:1 1 0px;max-width:none}._dkxdT{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._dkxdT:hover{color:#32363a}._dkxdT._76R5K{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._H6qIP{padding-top:32px}._H6qIP._DDQdp{display:none}._dkxdT.focus-visible,._dkxdT:focus-visible{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,15 +1,14 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
+
import { useFocusVisible } from '@react-aria/interactions';
|
|
4
5
|
import styles from './Tooltip2.js';
|
|
5
6
|
import { TOOLTIP_POPPER_OFFSET } from '../../utils/constants.js';
|
|
6
7
|
import '../../utils/Popper/index.js';
|
|
7
8
|
import '../../utils/mergeRefs/index.js';
|
|
8
|
-
import '../../utils/keyboardUser/index.js';
|
|
9
9
|
import '../../hooks/index.js';
|
|
10
10
|
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
11
11
|
import useId from '../../hooks/useId/useId.js';
|
|
12
|
-
import { getIsKeyboardUser } from '../../utils/keyboardUser/keyboardUser.js';
|
|
13
12
|
import useEventListener from '../../hooks/useEventListener/useEventListener.js';
|
|
14
13
|
import Popper from '../../utils/Popper/Popper.js';
|
|
15
14
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
@@ -46,7 +45,10 @@ const Tooltip = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
46
45
|
const flyoutOffsetBackplateRef = useRef(null);
|
|
47
46
|
const timer = useRef();
|
|
48
47
|
const flyoutContainerId = useId(id);
|
|
49
|
-
const
|
|
48
|
+
const {
|
|
49
|
+
isFocusVisible
|
|
50
|
+
} = useFocusVisible();
|
|
51
|
+
const getIsAnchorKeyboardFocused = () => (showOnDescendantFocus ? anchorRef.current?.contains(document.activeElement) : document.activeElement === anchorRef.current) && isFocusVisible;
|
|
50
52
|
const addAriaDescribedByToTrigger = triggeringTarget => {
|
|
51
53
|
if (!ariaHidden && triggeringTarget instanceof Element) {
|
|
52
54
|
const describedBy = new Set(triggeringTarget.getAttribute('aria-describedby')?.split(' '));
|
|
@@ -129,7 +131,7 @@ const Tooltip = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
129
131
|
};
|
|
130
132
|
const handleFocus = e => {
|
|
131
133
|
// Prevents the tooltip from showing for mouse users when the tooltip's anchor element is programmatically focused
|
|
132
|
-
if (
|
|
134
|
+
if (isFocusVisible && (showOnDescendantFocus || e.target === e.currentTarget)) {
|
|
133
135
|
triggerShowTooltip(e.target);
|
|
134
136
|
}
|
|
135
137
|
};
|
|
@@ -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 = {"tooltip":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._uMjw5{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._uMjw5._xQSgj{color:#32363a;background-color:#fff}._tBP41{opacity:1;pointer-events:all}._5FgDq,._5FgDq>div{position:absolute;width:8px;height:8px;background:inherit}._5FgDq{visibility:hidden;z-index:2000}._5FgDq>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._5FgDq{bottom:-4px}[data-popper-placement^=top]>._5FgDq>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._5FgDq{left:-5px}[data-popper-placement^=right]>._5FgDq>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._5FgDq{top:-5px}[data-popper-placement^=bottom]>._5FgDq>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._5FgDq{right:-4px}[data-popper-placement^=left]>._5FgDq>div{border-bottom-color:transparent;border-left-color:transparent}._4gol2{position:absolute}[data-popper-placement^=top]>._4gol2{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._4gol2{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._4gol2{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._4gol2{top:0;right:-13px;width:17px;height:100%}";
|
|
4
|
+
var styles = {"tooltip":"_uMjw5","lightTheme":"_xQSgj","visible":"_tBP41","arrow":"_5FgDq","offsetBackplate":"_4gol2"};
|
|
5
|
+
var stylesheet="._uMjw5{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._uMjw5._xQSgj{color:#32363a;background-color:#fff}._tBP41{opacity:1;pointer-events:all}._5FgDq,._5FgDq>div{position:absolute;width:8px;height:8px;background:inherit}._5FgDq{visibility:hidden;z-index:2000}._5FgDq>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._5FgDq{bottom:-4px}[data-popper-placement^=top]>._5FgDq>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._5FgDq{left:-5px}[data-popper-placement^=right]>._5FgDq>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._5FgDq{top:-5px}[data-popper-placement^=bottom]>._5FgDq>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._5FgDq{right:-4px}[data-popper-placement^=left]>._5FgDq>div{border-bottom-color:transparent;border-left-color:transparent}._4gol2{position:absolute}[data-popper-placement^=top]>._4gol2{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._4gol2{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._4gol2{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._4gol2{top:0;right:-13px;width:17px;height: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 styles = {"colorPickerBtnColor":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._LWYh7{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._zZrsO{margin-right:-12px;margin-left:4px}._-mZ59{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._fNGME{margin:8px 8px 0;display:flex}._FFMnG,._HQpAl{margin-left:4px}._r-K-x{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._JQZUX{margin:0 4px 4px 0}._JQZUX:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._aIdcK{margin:4px 8px 8px}._Qtbtz{position:relative;width:96px;height:96px;outline:0}._Qtbtz.focus-visible ._Q-yhu,._Qtbtz:focus-visible ._Q-yhu{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._qmOjH{background:linear-gradient(90deg,#fff,transparent)}._DR9a7,._qmOjH{position:absolute;top:0;right:0;bottom:0;left:0}._DR9a7{background:linear-gradient(0deg,#000,transparent)}._Q-yhu{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._tIezf{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._tIezf.focus-visible ._PBjND,._tIezf:focus-visible ._PBjND{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PBjND{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._Q7jc-{position:relative;width:16px;height:96px}._w4gq4{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._qo6FQ,._w4gq4{position:absolute}._qo6FQ{top:0;right:0;bottom:0;left:0;outline:0}._qo6FQ.focus-visible ._w4gq4,._qo6FQ:focus-visible ._w4gq4{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Akq3O{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._CM2PC{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._CM2PC.focus-visible,._CM2PC:focus-visible{outline:none}._CM2PC.focus-visible,._CM2PC:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._kIiiR{display:flex}._kIiiR ._xiVZs{position:relative;flex-shrink:0;width:26px;height:26px}._kIiiR ._bAHxU{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._kIiiR ._54Ktl{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
4
|
+
var styles = {"colorPickerBtnColor":"_LWYh7","colorPickerBtnIcon":"_zZrsO","colorPicker":"_-mZ59","colorPickerSliderContainer":"_fNGME","colorPickerHue":"_FFMnG","colorPickerAlpha":"_HQpAl","colorPickerSwatches":"_r-K-x","colorPickerSwatch":"_JQZUX","colorPickerHex":"_aIdcK","saturation":"_Qtbtz","saturationCircle":"_Q-yhu","saturationWhite":"_qmOjH","saturationBlack":"_DR9a7","hue":"_tIezf","hueSlider":"_PBjND","alpha":"_Q7jc-","alphaSlider":"_w4gq4","alphaGradient":"_qo6FQ","alphaCheckerboard":"_Akq3O","swatch":"_CM2PC","hex":"_kIiiR","hexSwatch":"_xiVZs","hexSwatchColor":"_bAHxU","hexInput":"_54Ktl"};
|
|
5
|
+
var stylesheet="._LWYh7{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._zZrsO{margin-right:-12px;margin-left:4px}._-mZ59{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._fNGME{margin:8px 8px 0;display:flex}._FFMnG,._HQpAl{margin-left:4px}._r-K-x{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._JQZUX{margin:0 4px 4px 0}._JQZUX:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._aIdcK{margin:4px 8px 8px}._Qtbtz{position:relative;width:96px;height:96px;outline:0}._Qtbtz.focus-visible ._Q-yhu,._Qtbtz:focus-visible ._Q-yhu{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._qmOjH{background:linear-gradient(90deg,#fff,transparent)}._DR9a7,._qmOjH{position:absolute;top:0;right:0;bottom:0;left:0}._DR9a7{background:linear-gradient(0deg,#000,transparent)}._Q-yhu{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._tIezf{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._tIezf.focus-visible ._PBjND,._tIezf:focus-visible ._PBjND{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PBjND{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._Q7jc-{position:relative;width:16px;height:96px}._w4gq4{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._qo6FQ,._w4gq4{position:absolute}._qo6FQ{top:0;right:0;bottom:0;left:0;outline:0}._qo6FQ.focus-visible ._w4gq4,._qo6FQ:focus-visible ._w4gq4{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Akq3O{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._CM2PC{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._CM2PC.focus-visible,._CM2PC:focus-visible{outline:none}._CM2PC.focus-visible,._CM2PC:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._kIiiR{display:flex}._kIiiR ._xiVZs{position:relative;flex-shrink:0;width:26px;height:26px}._kIiiR ._bAHxU{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._kIiiR ._54Ktl{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius: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 = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._VObX-{display:inline-flex}._KSz-q{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._KSz-q:hover:not(._d39m0){cursor:pointer;background:#f5f5f5}._KSz-q._yssiZ{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._KSz-q._d39m0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._KSz-q._d39m0>svg{opacity:.4}._KSz-q::-webkit-inner-spin-button,._KSz-q::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._KSz-q:focus{z-index:0;border:none;border-radius:4px}._KSz-q:focus:not(._yssiZ){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3GBu8,._KSz-q:focus:not(._d39m0){background:#fafafa}._3GBu8{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._3GBu8:hover:not(._d39m0){cursor:pointer;background:#f5f5f5}._3GBu8:active:not(._d39m0){background:#e5e5e5}._3GBu8._d39m0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._3GBu8._d39m0>svg{opacity:.4}._8lxFG{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._8lxFG:hover:not(._d39m0){cursor:pointer;background:#f5f5f5}._8lxFG:active:not(._d39m0){background:#e5e5e5}._8lxFG._d39m0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._8lxFG._d39m0>svg{opacity:.4}._HAKhA{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_VObX-","numberStepperInput":"_KSz-q","disabled":"_d39m0","invalid":"_yssiZ","decrementBtn":"_3GBu8","incrementBtn":"_8lxFG","inputValueAlert":"_HAKhA"};
|
|
5
|
+
var stylesheet="._VObX-{display:inline-flex}._KSz-q{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._KSz-q:hover:not(._d39m0){cursor:pointer;background:#f5f5f5}._KSz-q._yssiZ{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._KSz-q._d39m0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._KSz-q._d39m0>svg{opacity:.4}._KSz-q::-webkit-inner-spin-button,._KSz-q::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._KSz-q:focus{z-index:0;border:none;border-radius:4px}._KSz-q:focus:not(._yssiZ){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3GBu8,._KSz-q:focus:not(._d39m0){background:#fafafa}._3GBu8{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._3GBu8:hover:not(._d39m0){cursor:pointer;background:#f5f5f5}._3GBu8:active:not(._d39m0){background:#e5e5e5}._3GBu8._d39m0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._3GBu8._d39m0>svg{opacity:.4}._8lxFG{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._8lxFG:hover:not(._d39m0){cursor:pointer;background:#f5f5f5}._8lxFG:active:not(._d39m0){background:#e5e5e5}._8lxFG._d39m0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._8lxFG._d39m0>svg{opacity:.4}._HAKhA{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
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 = {"tabs":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._vLWgW{display:block}._CL7bf{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._T-Sn8{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._T-Sn8:hover{color:#32363a}._T-Sn8:focus{outline:none}._T-Sn8._QfsjM{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._X4e0O{padding-top:32px}._X4e0O._J1hO3{display:none}._T-Sn8.focus-visible,._T-Sn8:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tabs":"_vLWgW","bar":"_CL7bf","tab":"_T-Sn8","active":"_QfsjM","panel":"_X4e0O","inactive":"_J1hO3"};
|
|
5
|
+
var stylesheet="._vLWgW{display:block}._CL7bf{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._T-Sn8{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._T-Sn8:hover{color:#32363a}._T-Sn8:focus{outline:none}._T-Sn8._QfsjM{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._X4e0O{padding-top:32px}._X4e0O._J1hO3{display:none}._T-Sn8.focus-visible,._T-Sn8:focus-visible{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 = {"toolbar":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._9sjuM,._k1UgN{display:flex}._k1UgN{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._AsOpt{width:69px;min-width:auto;max-width:none}._oeeos{width:100%}._eM6b4{margin-bottom:12px;background-color:transparent!important}._eM6b4:hover{background-color:rgba(11,110,208,.08)!important}._eM6b4:hover>svg{fill:#085caf}._eM6b4:hover>span{color:#085caf}._eM6b4:active{background-color:rgba(11,110,208,.12)!important}._eM6b4:active>svg{fill:#0854a1}._eM6b4:active>span{color:#0854a1}._eM6b4._DVcQp{background-color:rgba(11,110,208,.08)!important}._eM6b4._DVcQp>svg{fill:#0b6ed0}._eM6b4._DVcQp>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._eM6b4._DVcQp:hover{background-color:rgba(11,110,208,.08)!important}._eM6b4._DVcQp:hover>svg{fill:#085caf}._eM6b4._DVcQp:hover>span{color:#085caf}._eM6b4._DVcQp:active{background-color:rgba(11,110,208,.12)!important}._eM6b4._DVcQp:active>svg{fill:#0854a1}._eM6b4._DVcQp:active>span{color:#0854a1}._-vXeI{border-radius:6px}._-vXeI>._jLg7K{display:block;fill:#515559}._tI7wv{margin-top:auto;margin-bottom:0}._60n7o{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._60n7o:hover>._XOKoC{opacity:1}._ma8RI{width:0;border-width:0;padding:0}._aI25G{border-radius:4px;min-width:100%;min-height:100%;outline:none}._HG3Kg{width:36px;height:36px;position:absolute;top:48px;right:-18px;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}._XOKoC{opacity:0}._A0p-E,._HG3Kg._JhwYz._JhwYz,._XOKoC:hover{opacity:1}._HG3Kg._XxbWO._XxbWO{opacity:0}._HG3Kg>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._HG3Kg>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._HG3Kg>span:hover>svg{fill:#fff}._HG3Kg>span:active{background-color:#0854a1;border-color:#0854a1}._HG3Kg>span:active>svg{fill:#fff}._HG3Kg>span>svg{fill:#515559;border-radius:50%}._aI25G._QIFm0{display:none!important}._3ygdN{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._hhMgf{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._0co1H{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._AzUoO{fill:#515559}._BOqhu{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._0co1H.focus-visible,._0co1H:focus-visible,._3ygdN.focus-visible,._3ygdN:focus-visible,._aI25G.focus-visible,._aI25G:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._HG3Kg.focus-visible,._HG3Kg:focus-visible{border-color:#0a3f88}._HG3Kg:active>span{background-color:#0854a1;border-color:#0854a1}._HG3Kg:active>span>svg{fill:#fff}._XOKoC.focus-visible,._XOKoC:focus-visible{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_9sjuM","toolbarNav":"_k1UgN","toolbarNavCollapsed":"_AsOpt","toolbarTabs":"_oeeos","toolbarTab":"_eM6b4","selected":"_DVcQp","toolbarTabIconButton":"_-vXeI","icon":"_jLg7K","tabsExpandCollapseButton":"_tI7wv","toolbarPanels":"_60n7o","toolbarPanelExpandCollapseButtonDefaultHidden":"_XOKoC","toolbarPanelsCollapsed":"_ma8RI","toolbarPanel":"_aI25G","toolbarPanelExpandCollapseButton":"_HG3Kg","toolbarPanelExpandCollapseButtonDefaultShown":"_A0p-E","overrideShow":"_JhwYz","overrideHide":"_XxbWO","notSelected":"_QIFm0","buttonWithLabel":"_3ygdN","buttonWithLabelLabel":"_hhMgf","iconButtonWithLabel":"_0co1H","iconButtonWithLabelIcon":"_AzUoO","iconButtonWithLabelLabel":"_BOqhu"};
|
|
5
|
+
var stylesheet="._9sjuM,._k1UgN{display:flex}._k1UgN{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._AsOpt{width:69px;min-width:auto;max-width:none}._oeeos{width:100%}._eM6b4{margin-bottom:12px;background-color:transparent!important}._eM6b4:hover{background-color:rgba(11,110,208,.08)!important}._eM6b4:hover>svg{fill:#085caf}._eM6b4:hover>span{color:#085caf}._eM6b4:active{background-color:rgba(11,110,208,.12)!important}._eM6b4:active>svg{fill:#0854a1}._eM6b4:active>span{color:#0854a1}._eM6b4._DVcQp{background-color:rgba(11,110,208,.08)!important}._eM6b4._DVcQp>svg{fill:#0b6ed0}._eM6b4._DVcQp>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._eM6b4._DVcQp:hover{background-color:rgba(11,110,208,.08)!important}._eM6b4._DVcQp:hover>svg{fill:#085caf}._eM6b4._DVcQp:hover>span{color:#085caf}._eM6b4._DVcQp:active{background-color:rgba(11,110,208,.12)!important}._eM6b4._DVcQp:active>svg{fill:#0854a1}._eM6b4._DVcQp:active>span{color:#0854a1}._-vXeI{border-radius:6px}._-vXeI>._jLg7K{display:block;fill:#515559}._tI7wv{margin-top:auto;margin-bottom:0}._60n7o{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._60n7o:hover>._XOKoC{opacity:1}._ma8RI{width:0;border-width:0;padding:0}._aI25G{border-radius:4px;min-width:100%;min-height:100%;outline:none}._HG3Kg{width:36px;height:36px;position:absolute;top:48px;right:-18px;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}._XOKoC{opacity:0}._A0p-E,._HG3Kg._JhwYz._JhwYz,._XOKoC:hover{opacity:1}._HG3Kg._XxbWO._XxbWO{opacity:0}._HG3Kg>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._HG3Kg>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._HG3Kg>span:hover>svg{fill:#fff}._HG3Kg>span:active{background-color:#0854a1;border-color:#0854a1}._HG3Kg>span:active>svg{fill:#fff}._HG3Kg>span>svg{fill:#515559;border-radius:50%}._aI25G._QIFm0{display:none!important}._3ygdN{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._hhMgf{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._0co1H{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._AzUoO{fill:#515559}._BOqhu{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._0co1H.focus-visible,._0co1H:focus-visible,._3ygdN.focus-visible,._3ygdN:focus-visible,._aI25G.focus-visible,._aI25G:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._HG3Kg.focus-visible,._HG3Kg:focus-visible{border-color:#0a3f88}._HG3Kg:active>span{background-color:#0854a1;border-color:#0854a1}._HG3Kg:active>span>svg{fill:#fff}._XOKoC.focus-visible,._XOKoC:focus-visible{opacity:1}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -14,7 +14,6 @@ import ChevronRightIcon from '../../icons/components/ChevronRightIcon.js';
|
|
|
14
14
|
import ChevronLeftIcon from '../../icons/components/ChevronLeftIcon.js';
|
|
15
15
|
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
16
16
|
import useIsHovered from '../../hooks/useIsHovered/useIsHovered.js';
|
|
17
|
-
import { getIsKeyboardUser } from '../../utils/keyboardUser/keyboardUser.js';
|
|
18
17
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
19
18
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
20
19
|
|
|
@@ -86,7 +85,6 @@ const ToolbarPanels = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
86
85
|
...rest
|
|
87
86
|
} = _ref2;
|
|
88
87
|
const expandCollapseButtonRef = useRef(null);
|
|
89
|
-
const [isExpandCollapseButtonKeyboardFocused, setIsExpandCollapseButtonKeyboardFocused] = useState(false);
|
|
90
88
|
const [wasExpandCollapseButtonClicked, setWasExpandCollapseButtonClicked] = useState(false);
|
|
91
89
|
const [isCollapsed, setIsCollapsed] = useControllableState(isCollapsible && defaultIsCollapsed, isCollapsible ? onIsCollapsedChange : undefined, isCollapsible && externalIsCollapsed);
|
|
92
90
|
const {
|
|
@@ -98,17 +96,6 @@ const ToolbarPanels = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
98
96
|
useEffect(() => {
|
|
99
97
|
/*
|
|
100
98
|
* The expand/collapse button is re-rendered when the `isCollapsed` value changes.
|
|
101
|
-
* The re-render hides the tooltip.
|
|
102
|
-
* This needs to happen because the `Tooltip`'s `mouseleave` event does not get triggered when the button element moves (this is expected behavior).
|
|
103
|
-
* Since the button is re-rendered, if there is keyboard focus, we need to programmatically re-focus the button because React doesn't know that it's the same button.
|
|
104
|
-
*/
|
|
105
|
-
if (isExpandCollapseButtonKeyboardFocused) {
|
|
106
|
-
expandCollapseButtonRef.current?.focus();
|
|
107
|
-
}
|
|
108
|
-
}, [isCollapsed, isExpandCollapseButtonKeyboardFocused]);
|
|
109
|
-
useEffect(() => {
|
|
110
|
-
/*
|
|
111
|
-
* Similar to the above `useEffect`, the expand/collapse button is re-rendered when the `isCollapsed` value changes.
|
|
112
99
|
* If the button is clicked, we need to programmatically re-focus the button.
|
|
113
100
|
* This allows a screen reader user to click the expand/collapse button using their keyboard and have focus stay on the same button.
|
|
114
101
|
*/
|
|
@@ -117,21 +104,10 @@ const ToolbarPanels = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
117
104
|
setWasExpandCollapseButtonClicked(false);
|
|
118
105
|
}
|
|
119
106
|
}, [wasExpandCollapseButtonClicked]);
|
|
120
|
-
const onExpandCollapseButtonMouseDown = () => {
|
|
121
|
-
setIsExpandCollapseButtonKeyboardFocused(false);
|
|
122
|
-
};
|
|
123
107
|
const onExpandCollapseButtonClick = () => {
|
|
124
108
|
setIsCollapsed(currentIsCollapsed => !currentIsCollapsed);
|
|
125
109
|
setWasExpandCollapseButtonClicked(true);
|
|
126
110
|
};
|
|
127
|
-
const onExpandCollapseButtonFocus = () => {
|
|
128
|
-
if (getIsKeyboardUser()) {
|
|
129
|
-
setIsExpandCollapseButtonKeyboardFocused(true);
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
const onExpandCollapseButtonBlur = () => {
|
|
133
|
-
setIsExpandCollapseButtonKeyboardFocused(false);
|
|
134
|
-
};
|
|
135
111
|
const selectedTabPanelId = React__default.Children.toArray(children)?.[Number(selectedIndex)]?.props?.id ?? `toolbar-${toolbarId}-panel-${selectedIndex}`;
|
|
136
112
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
137
113
|
ref: mergeRefs(ref, isToolbarPanelsContainerHoveredRef),
|
|
@@ -142,10 +118,7 @@ const ToolbarPanels = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
142
118
|
key: String(isCollapsed),
|
|
143
119
|
isCollapsed: isCollapsed,
|
|
144
120
|
selectedTabPanelId: selectedTabPanelId,
|
|
145
|
-
onMouseDown: onExpandCollapseButtonMouseDown,
|
|
146
121
|
onClick: onExpandCollapseButtonClick,
|
|
147
|
-
onFocus: onExpandCollapseButtonFocus,
|
|
148
|
-
onBlur: onExpandCollapseButtonBlur,
|
|
149
122
|
isContainerHovered: isToolbarPanelsContainerHovered,
|
|
150
123
|
"data-testid": getSubDataTestId(rootDataTestId, 'panels-expand-collapse-button'),
|
|
151
124
|
ref: expandCollapseButtonRef
|
|
@@ -25,6 +25,9 @@ function useEventListener(targetOrRef, event, handler) {
|
|
|
25
25
|
additionalDependencies = []
|
|
26
26
|
} = options;
|
|
27
27
|
useEffect(() => {
|
|
28
|
+
if (!targetOrRef) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
28
31
|
const target = isEventTarget(targetOrRef) ? targetOrRef : targetOrRef.current;
|
|
29
32
|
if (target?.addEventListener && !isDisabled) {
|
|
30
33
|
target.addEventListener(event, listener, isCaptureEvent);
|