@qualtrics/ui-react 2.8.0 → 2.10.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 +46 -0
- package/dist/__shared/cjs/{index-763e59c2.js → index-0ef0b03a.js} +3 -3
- package/dist/__shared/cjs/{index-ce267a89.js → index-74ef768b.js} +71 -194
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button2.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +21 -43
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/Combobox/ComboboxInput.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput.js +7 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +2 -1
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +7 -2
- package/dist/components/NewMenu/parts/MenuItem.js +3 -1
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover.js +6 -1
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +5 -0
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +265 -138
- package/dist/next/AdvancedTable/AdvancedTable.js +5 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox.js +4 -1
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxInput.js +6 -2
- package/dist/next/Combobox/ComboboxOption.js +4 -1
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu.js +71 -0
- package/dist/next/Menu/Menu2.js +8 -0
- package/dist/next/Menu/MenuButton.js +41 -0
- package/dist/next/Menu/MenuContext.js +41 -0
- package/dist/next/Menu/MenuItem.js +49 -0
- package/dist/next/Menu/MenuPane.js +64 -0
- package/dist/next/Menu/MenuSearch.js +105 -0
- package/dist/next/Menu/SubMenu.js +74 -0
- package/dist/next/Menu/constants.js +9 -0
- package/dist/next/Menu/index.js +5 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/index.d.ts +53 -0
- package/dist/next/index.es.js +6 -1
- package/dist/next/index.js +523 -138
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/package.json +1 -1
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
var _extends = require('@babel/runtime-corejs3/helpers/extends');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classNames = require('classnames');
|
|
6
|
-
var icons_index = require('./index-
|
|
6
|
+
var icons_index = require('./index-0ef0b03a.js');
|
|
7
7
|
var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
8
|
-
var throttleDebounce = require('throttle-debounce');
|
|
9
8
|
var reactPopper = require('react-popper');
|
|
10
9
|
var core = require('@popperjs/core');
|
|
11
10
|
var ReactFocusLock = require('react-focus-lock');
|
|
@@ -102,14 +101,14 @@ function filterChildren(children, queries) {
|
|
|
102
101
|
return [_filterChildren(children, queries, matchesList), matchesList];
|
|
103
102
|
}
|
|
104
103
|
|
|
105
|
-
var css_248z$g = ".
|
|
106
|
-
var styles$c = {"flyout":"
|
|
107
|
-
var stylesheet$g=".
|
|
104
|
+
var css_248z$g = "._P4GE4{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._38fd5{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._38fd5._2_Kk-._38fd5:hover,._38fd5._3-0M2{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._38fd5._3CkdR{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._38fd5._3CkdR._2_Kk-._38fd5._3CkdR:hover,._38fd5._3CkdR._3-0M2{background-color:#e4effa}._38fd5:active:not(._3CkdR):not([aria-disabled=true]){background-color:#e8e9e9}._B2Eoh ._2_3aB{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._B2Eoh ._39G10{display:none}._B2Eoh:not(:first-child) ._39G10{display:block;margin:3.5px 0}._38aZt{width:100%;height:40px}";
|
|
105
|
+
var styles$c = {"flyout":"_P4GE4","flyoutOption":"_38fd5","highlighted":"_3-0M2","hoverHighlight":"_2_Kk-","selected":"_3CkdR","flyoutHeader":"_B2Eoh","headerContent":"_2_3aB","headerDivider":"_39G10","flyoutSpinner":"_38aZt"};
|
|
106
|
+
var stylesheet$g="._P4GE4{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._38fd5{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._38fd5._2_Kk-._38fd5:hover,._38fd5._3-0M2{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._38fd5._3CkdR{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._38fd5._3CkdR._2_Kk-._38fd5._3CkdR:hover,._38fd5._3CkdR._3-0M2{background-color:#e4effa}._38fd5:active:not(._3CkdR):not([aria-disabled=true]){background-color:#e8e9e9}._B2Eoh ._2_3aB{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._B2Eoh ._39G10{display:none}._B2Eoh:not(:first-child) ._39G10{display:block;margin:3.5px 0}._38aZt{width:100%;height:40px}";
|
|
108
107
|
icons_index.styleInject(css_248z$g);
|
|
109
108
|
|
|
110
|
-
var css_248z$f = ".
|
|
111
|
-
var styles$b = {"spinnerContainer":"
|
|
112
|
-
var stylesheet$f=".
|
|
109
|
+
var css_248z$f = "._34dkN{position:relative;display:inline-block}._34dkN._3aFUV{min-height:20px;min-width:20px}._34dkN._2yspe{min-height:25px;min-width:25px}._34dkN._2x9rA{min-height:40px;min-width:40px}._34dkN._1W7ZL{min-height:64px;min-width:64px}._34dkN ._2NBsy{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._34dkN ._2NBsy._19_To{visibility:hidden}._34dkN ._2NBsy div{position:absolute;transform:rotate(20deg)}._34dkN ._2NBsy div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_2NBsy .8s linear infinite;animation:_2NBsy .8s linear infinite}._34dkN ._2NBsy 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}._34dkN ._2NBsy div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._34dkN ._2NBsy div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._34dkN ._2NBsy div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._34dkN ._2NBsy div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._34dkN ._2NBsy div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._34dkN ._2NBsy div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._34dkN ._2NBsy div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._34dkN ._2NBsy div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._34dkN ._2NBsy div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._34dkN ._1W7ZL div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._34dkN ._3aFUV div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._34dkN ._2yspe div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._34dkN ._1IKP_ div div:nth-child(-n+9):after{background:#fff}._34dkN ._2GI0t{width:100%;height:100%}._34dkN ._2GI0t._3tK3o{pointer-events:none}._34dkN ._2GI0t._19_To{opacity:0}._34dkN ._2GI0t._aR68n{opacity:.5}@-webkit-keyframes _2NBsy{0%{opacity:1}to{opacity:0}}@keyframes _2NBsy{0%{opacity:1}to{opacity:0}}";
|
|
110
|
+
var styles$b = {"spinnerContainer":"_34dkN","xs":"_3aFUV","small":"_2yspe","medium":"_2x9rA","large":"_1W7ZL","spinnerComponent":"_2NBsy","hide":"_19_To","inverted":"_1IKP_","spinnerContent":"_2GI0t","disablePointerEvents":"_3tK3o","fade":"_aR68n"};
|
|
111
|
+
var stylesheet$f="._34dkN{position:relative;display:inline-block}._34dkN._3aFUV{min-height:20px;min-width:20px}._34dkN._2yspe{min-height:25px;min-width:25px}._34dkN._2x9rA{min-height:40px;min-width:40px}._34dkN._1W7ZL{min-height:64px;min-width:64px}._34dkN ._2NBsy{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._34dkN ._2NBsy._19_To{visibility:hidden}._34dkN ._2NBsy div{position:absolute;transform:rotate(20deg)}._34dkN ._2NBsy div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_2NBsy .8s linear infinite;animation:_2NBsy .8s linear infinite}._34dkN ._2NBsy 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}._34dkN ._2NBsy div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._34dkN ._2NBsy div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._34dkN ._2NBsy div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._34dkN ._2NBsy div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._34dkN ._2NBsy div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._34dkN ._2NBsy div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._34dkN ._2NBsy div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._34dkN ._2NBsy div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._34dkN ._2NBsy div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._34dkN ._1W7ZL div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._34dkN ._3aFUV div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._34dkN ._2yspe div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._34dkN ._1IKP_ div div:nth-child(-n+9):after{background:#fff}._34dkN ._2GI0t{width:100%;height:100%}._34dkN ._2GI0t._3tK3o{pointer-events:none}._34dkN ._2GI0t._19_To{opacity:0}._34dkN ._2GI0t._aR68n{opacity:.5}@-webkit-keyframes _2NBsy{0%{opacity:1}to{opacity:0}}@keyframes _2NBsy{0%{opacity:1}to{opacity:0}}";
|
|
113
112
|
icons_index.styleInject(css_248z$f);
|
|
114
113
|
|
|
115
114
|
/* DO NOT MODIFY - THIS IS AN AUTO-GENERATED FILE */
|
|
@@ -865,9 +864,9 @@ function enableKeyboardUserClass() {
|
|
|
865
864
|
}
|
|
866
865
|
}
|
|
867
866
|
|
|
868
|
-
var css_248z$d = ".
|
|
869
|
-
var styles$a = {"tooltip":"
|
|
870
|
-
var stylesheet$d=".
|
|
867
|
+
var css_248z$d = "._3mEXs{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}._3mEXs._2DKjZ{color:#32363a;background-color:#fff}._3m55n{opacity:1;pointer-events:all}._1K3rG,._1K3rG>div{position:absolute;width:8px;height:8px;background:inherit}._1K3rG{visibility:hidden;z-index:2000}._1K3rG>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._1K3rG{bottom:-4px}[data-popper-placement^=top]>._1K3rG>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._1K3rG{left:-5px}[data-popper-placement^=right]>._1K3rG>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._1K3rG{top:-5px}[data-popper-placement^=bottom]>._1K3rG>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._1K3rG{right:-4px}[data-popper-placement^=left]>._1K3rG>div{border-bottom-color:transparent;border-left-color:transparent}._2X3aU{position:absolute}[data-popper-placement^=top]>._2X3aU{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._2X3aU{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._2X3aU{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._2X3aU{top:0;right:-13px;width:17px;height:100%}";
|
|
868
|
+
var styles$a = {"tooltip":"_3mEXs","lightTheme":"_2DKjZ","visible":"_3m55n","arrow":"_1K3rG","offsetBackplate":"_2X3aU"};
|
|
869
|
+
var stylesheet$d="._3mEXs{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}._3mEXs._2DKjZ{color:#32363a;background-color:#fff}._3m55n{opacity:1;pointer-events:all}._1K3rG,._1K3rG>div{position:absolute;width:8px;height:8px;background:inherit}._1K3rG{visibility:hidden;z-index:2000}._1K3rG>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._1K3rG{bottom:-4px}[data-popper-placement^=top]>._1K3rG>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._1K3rG{left:-5px}[data-popper-placement^=right]>._1K3rG>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._1K3rG{top:-5px}[data-popper-placement^=bottom]>._1K3rG>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._1K3rG{right:-4px}[data-popper-placement^=left]>._1K3rG>div{border-bottom-color:transparent;border-left-color:transparent}._2X3aU{position:absolute}[data-popper-placement^=top]>._2X3aU{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._2X3aU{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._2X3aU{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._2X3aU{top:0;right:-13px;width:17px;height:100%}";
|
|
871
870
|
icons_index.styleInject(css_248z$d);
|
|
872
871
|
|
|
873
872
|
const useSSRLayoutEffect = function () {
|
|
@@ -1284,9 +1283,9 @@ function usePrevious(value) {
|
|
|
1284
1283
|
return ref.current;
|
|
1285
1284
|
}
|
|
1286
1285
|
|
|
1287
|
-
var css_248z$c = ".
|
|
1288
|
-
var classes = {"ariaLiveElement":"
|
|
1289
|
-
var stylesheet$c=".
|
|
1286
|
+
var css_248z$c = "._2-bwN{position:absolute;top:-10000px;left:-10000px}";
|
|
1287
|
+
var classes = {"ariaLiveElement":"_2-bwN"};
|
|
1288
|
+
var stylesheet$c="._2-bwN{position:absolute;top:-10000px;left:-10000px}";
|
|
1290
1289
|
icons_index.styleInject(css_248z$c);
|
|
1291
1290
|
|
|
1292
1291
|
/**
|
|
@@ -1769,6 +1768,11 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1769
1768
|
options: {
|
|
1770
1769
|
offset: TOOLTIP_POPPER_OFFSET
|
|
1771
1770
|
}
|
|
1771
|
+
}, {
|
|
1772
|
+
name: 'flip',
|
|
1773
|
+
options: {
|
|
1774
|
+
flipVariations: false
|
|
1775
|
+
}
|
|
1772
1776
|
}],
|
|
1773
1777
|
arrow: isArrowRemoved ? undefined : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1774
1778
|
className: styles$a.arrow
|
|
@@ -1846,9 +1850,9 @@ const Text = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
1846
1850
|
}, rest), children));
|
|
1847
1851
|
});
|
|
1848
1852
|
|
|
1849
|
-
var css_248z$b = ".
|
|
1850
|
-
var buttonStyles = {"btn":"
|
|
1851
|
-
var stylesheet$b=".
|
|
1853
|
+
var css_248z$b = "._1GmVj{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._1GmVj._rZdlE{padding:0 8px;height:26px;min-height:26px}._1GmVj._2MM1H{display:block;width:100%}._1GmVj._1CS7P{cursor:not-allowed}._1GmVj:active:focus,._1GmVj:focus{outline:none}._1GmVj._drgI1{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1GmVj._drgI1:hover:not(._1CS7P){background-color:#eee}._1GmVj._drgI1:active:not(._1CS7P){background-color:#e5e5e5}._1GmVj._drgI1._1CS7P{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._1GmVj._1js73{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1GmVj._1js73:hover:not(._1CS7P){background-color:#085caf;border-color:#085caf}._1GmVj._1js73:active:not(._1CS7P){background-color:#0854a1;border-color:#0854a1}._1GmVj._1js73._1CS7P{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._1GmVj._3NQPI{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1GmVj._3NQPI:hover:not(._1CS7P){background-color:#eef5fc}._1GmVj._3NQPI:active:not(._1CS7P){background-color:#e1edf9}._1GmVj._3NQPI._1CS7P{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1GmVj._2cQL7{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1GmVj._2cQL7:hover:not(._1CS7P){background-color:#eef5fc;border-color:#eef5fc}._1GmVj._2cQL7:active:not(._1CS7P){background-color:#e1edf9;border-color:#e1edf9}._1GmVj._2cQL7._1CS7P{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1GmVj._1G_y1{color:#0b6ed0;fill:#0b6ed0;padding:0}._1GmVj._1G_y1:hover:not(._1CS7P){color:#085caf}._1GmVj._1G_y1:active:not(._1CS7P){color:#0854a1}._1GmVj._1G_y1._1CS7P{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1GmVj._1cFkP{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1GmVj._1cFkP:hover:not(._1CS7P){background-color:#ffecec}._1GmVj._1cFkP:active:not(._1CS7P){background-color:#ffdbdb}._1GmVj._1cFkP._1CS7P{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._YXqFH,body.keyboard-user ._1GmVj:active:focus,body.keyboard-user ._1GmVj:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1854
|
+
var buttonStyles = {"btn":"_1GmVj","small":"_rZdlE","full":"_2MM1H","disabled":"_1CS7P","default":"_drgI1","primary":"_1js73","secondary":"_3NQPI","tertiary":"_2cQL7","link":"_1G_y1","danger":"_1cFkP","keyboardFocused":"_YXqFH"};
|
|
1855
|
+
var stylesheet$b="._1GmVj{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._1GmVj._rZdlE{padding:0 8px;height:26px;min-height:26px}._1GmVj._2MM1H{display:block;width:100%}._1GmVj._1CS7P{cursor:not-allowed}._1GmVj:active:focus,._1GmVj:focus{outline:none}._1GmVj._drgI1{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1GmVj._drgI1:hover:not(._1CS7P){background-color:#eee}._1GmVj._drgI1:active:not(._1CS7P){background-color:#e5e5e5}._1GmVj._drgI1._1CS7P{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._1GmVj._1js73{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1GmVj._1js73:hover:not(._1CS7P){background-color:#085caf;border-color:#085caf}._1GmVj._1js73:active:not(._1CS7P){background-color:#0854a1;border-color:#0854a1}._1GmVj._1js73._1CS7P{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._1GmVj._3NQPI{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1GmVj._3NQPI:hover:not(._1CS7P){background-color:#eef5fc}._1GmVj._3NQPI:active:not(._1CS7P){background-color:#e1edf9}._1GmVj._3NQPI._1CS7P{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1GmVj._2cQL7{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1GmVj._2cQL7:hover:not(._1CS7P){background-color:#eef5fc;border-color:#eef5fc}._1GmVj._2cQL7:active:not(._1CS7P){background-color:#e1edf9;border-color:#e1edf9}._1GmVj._2cQL7._1CS7P{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1GmVj._1G_y1{color:#0b6ed0;fill:#0b6ed0;padding:0}._1GmVj._1G_y1:hover:not(._1CS7P){color:#085caf}._1GmVj._1G_y1:active:not(._1CS7P){color:#0854a1}._1GmVj._1G_y1._1CS7P{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1GmVj._1cFkP{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1GmVj._1cFkP:hover:not(._1CS7P){background-color:#ffecec}._1GmVj._1cFkP:active:not(._1CS7P){background-color:#ffdbdb}._1GmVj._1cFkP._1CS7P{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._YXqFH,body.keyboard-user ._1GmVj:active:focus,body.keyboard-user ._1GmVj:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1852
1856
|
icons_index.styleInject(css_248z$b);
|
|
1853
1857
|
|
|
1854
1858
|
function createContextValue(value) {
|
|
@@ -1930,9 +1934,9 @@ const Button = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1930
1934
|
);
|
|
1931
1935
|
});
|
|
1932
1936
|
|
|
1933
|
-
var css_248z$a = ".
|
|
1934
|
-
var styles$9 = {"checkbox":"
|
|
1935
|
-
var stylesheet$a=".
|
|
1937
|
+
var css_248z$a = "._pHCYb{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._3781p,._pHCYb{cursor:pointer;height:16px;width:16px}._3781p{position:absolute;opacity:0;z-index:10}._3781p:checked~._1wsWt>._29czv{fill-opacity:1}._3781p:checked:enabled~._1wsWt{border-color:transparent;background-color:#0b6ed0}._3781p:checked:enabled~._1wsWt>._29czv{fill:#fff}._3781p:checked:enabled:hover~._1wsWt{background-color:#085caf}._3781p:not(:checked):enabled:hover~._1wsWt{border-color:#0b6ed0}._3781p:disabled{cursor:not-allowed}._3781p:disabled~._1wsWt{opacity:.4}._MFS7e{color:#32363a;display:flex;align-items:center;cursor:pointer}._1rxQF{cursor:auto;color:hsla(0,0%,53.7%,.4)}._1eJeF{margin-right:12px;flex-shrink:0}._1wsWt{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}._29czv{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._3781p:active:focus~._1wsWt,body.keyboard-user ._3781p:focus~._1wsWt{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1938
|
+
var styles$9 = {"checkbox":"_pHCYb","input":"_3781p","check":"_1wsWt","checkIcon":"_29czv","label":"_MFS7e","labelDisabled":"_1rxQF","wrappedInput":"_1eJeF"};
|
|
1939
|
+
var stylesheet$a="._pHCYb{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._3781p,._pHCYb{cursor:pointer;height:16px;width:16px}._3781p{position:absolute;opacity:0;z-index:10}._3781p:checked~._1wsWt>._29czv{fill-opacity:1}._3781p:checked:enabled~._1wsWt{border-color:transparent;background-color:#0b6ed0}._3781p:checked:enabled~._1wsWt>._29czv{fill:#fff}._3781p:checked:enabled:hover~._1wsWt{background-color:#085caf}._3781p:not(:checked):enabled:hover~._1wsWt{border-color:#0b6ed0}._3781p:disabled{cursor:not-allowed}._3781p:disabled~._1wsWt{opacity:.4}._MFS7e{color:#32363a;display:flex;align-items:center;cursor:pointer}._1rxQF{cursor:auto;color:hsla(0,0%,53.7%,.4)}._1eJeF{margin-right:12px;flex-shrink:0}._1wsWt{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}._29czv{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._3781p:active:focus~._1wsWt,body.keyboard-user ._3781p:focus~._1wsWt{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1936
1940
|
icons_index.styleInject(css_248z$a);
|
|
1937
1941
|
|
|
1938
1942
|
const Check = props => /*#__PURE__*/React__default["default"].createElement("svg", _extends__default["default"]({}, props, {
|
|
@@ -2031,9 +2035,9 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
2031
2035
|
})));
|
|
2032
2036
|
});
|
|
2033
2037
|
|
|
2034
|
-
var css_248z$9 = ".
|
|
2035
|
-
var styles$8 = {"label":"
|
|
2036
|
-
var stylesheet$9=".
|
|
2038
|
+
var css_248z$9 = "._2VYsM{font-size:14px}._2Czsz{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._1SbSC{color:#0b6ed0}";
|
|
2039
|
+
var styles$8 = {"label":"_2VYsM","control":"_2Czsz","focused":"_1SbSC"};
|
|
2040
|
+
var stylesheet$9="._2VYsM{font-size:14px}._2Czsz{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._1SbSC{color:#0b6ed0}";
|
|
2037
2041
|
icons_index.styleInject(css_248z$9);
|
|
2038
2042
|
|
|
2039
2043
|
const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2056,9 +2060,9 @@ const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
2056
2060
|
}), children);
|
|
2057
2061
|
});
|
|
2058
2062
|
|
|
2059
|
-
var css_248z$8 = ".
|
|
2060
|
-
var styles$7 = {"input":"
|
|
2061
|
-
var stylesheet$8=".
|
|
2063
|
+
var css_248z$8 = "._2d0zp{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._2d0zp::-moz-placeholder{color:#515559;opacity:1}._2d0zp::placeholder{color:#515559;opacity:1}._2d0zp:hover{cursor:pointer;background-color:#f5f5f5}._2d0zp:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._2d0zp._3qWdQ{border-color:#b00}._2d0zp._3qWdQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2d0zp:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2d0zp:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2d0zp:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2d0zp._mGlEm{height:auto}._2d0zp._mGlEm::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._2d0zp._REywp{display:block;width:100%}._2d0zp._2vi99{padding:4px 8px}input._2d0zp._2vi99{height:26px;min-height:26px}[type=number]._2d0zp{-moz-appearance:textfield}[type=number]._2d0zp::-webkit-inner-spin-button,[type=number]._2d0zp::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._ozJQw{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._ozJQw:hover{cursor:pointer}._ozJQw._kURDP{color:#0b6ed0}._YqJ6k{margin-top:4px}";
|
|
2064
|
+
var styles$7 = {"input":"_2d0zp","invalid":"_3qWdQ","multiline":"_mGlEm","full":"_REywp","small":"_2vi99","label":"_ozJQw","focused":"_kURDP","wrappedInput":"_YqJ6k"};
|
|
2065
|
+
var stylesheet$8="._2d0zp{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._2d0zp::-moz-placeholder{color:#515559;opacity:1}._2d0zp::placeholder{color:#515559;opacity:1}._2d0zp:hover{cursor:pointer;background-color:#f5f5f5}._2d0zp:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._2d0zp._3qWdQ{border-color:#b00}._2d0zp._3qWdQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2d0zp:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2d0zp:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2d0zp:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2d0zp._mGlEm{height:auto}._2d0zp._mGlEm::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._2d0zp._REywp{display:block;width:100%}._2d0zp._2vi99{padding:4px 8px}input._2d0zp._2vi99{height:26px;min-height:26px}[type=number]._2d0zp{-moz-appearance:textfield}[type=number]._2d0zp::-webkit-inner-spin-button,[type=number]._2d0zp::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._ozJQw{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._ozJQw:hover{cursor:pointer}._ozJQw._kURDP{color:#0b6ed0}._YqJ6k{margin-top:4px}";
|
|
2062
2066
|
icons_index.styleInject(css_248z$8);
|
|
2063
2067
|
|
|
2064
2068
|
const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2159,9 +2163,9 @@ const InputField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2159
2163
|
}, rest, inputPropsWithoutClass)));
|
|
2160
2164
|
});
|
|
2161
2165
|
|
|
2162
|
-
var css_248z$7 = ".
|
|
2163
|
-
var styles$6 = {"button":"
|
|
2164
|
-
var stylesheet$7=".
|
|
2166
|
+
var css_248z$7 = "._2SjE1{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._2SjE1:focus{outline:none}._2SjE1:hover:not(._wF-4y){background-color:rgba(50,54,58,.08)}._2SjE1:active:not(._wF-4y){background-color:rgba(50,54,58,.11);stroke-width:2}._2SjE1._wF-4y{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._2SjE1:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2167
|
+
var styles$6 = {"button":"_2SjE1","disabled":"_wF-4y"};
|
|
2168
|
+
var stylesheet$7="._2SjE1{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._2SjE1:focus{outline:none}._2SjE1:hover:not(._wF-4y){background-color:rgba(50,54,58,.08)}._2SjE1:active:not(._wF-4y){background-color:rgba(50,54,58,.11);stroke-width:2}._2SjE1._wF-4y{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._2SjE1:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2165
2169
|
icons_index.styleInject(css_248z$7);
|
|
2166
2170
|
|
|
2167
2171
|
const sizePropInIconErrorMessage = 'Warning: The `Icon` prop `size` is invalid when used as a child of `IconButton`.';
|
|
@@ -2220,9 +2224,9 @@ const IconButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2220
2224
|
|
|
2221
2225
|
/* eslint-disable import/prefer-default-export */
|
|
2222
2226
|
|
|
2223
|
-
var css_248z$6 = ".
|
|
2224
|
-
var styles$5 = {"divider":"
|
|
2225
|
-
var stylesheet$6=".
|
|
2227
|
+
var css_248z$6 = "._1R75-{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
2228
|
+
var styles$5 = {"divider":"_1R75-"};
|
|
2229
|
+
var stylesheet$6="._1R75-{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
2226
2230
|
icons_index.styleInject(css_248z$6);
|
|
2227
2231
|
|
|
2228
2232
|
const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2236,9 +2240,9 @@ const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
2236
2240
|
}, rest));
|
|
2237
2241
|
});
|
|
2238
2242
|
|
|
2239
|
-
var css_248z$5 = ".
|
|
2240
|
-
var styles$4 = {"container":"
|
|
2241
|
-
var stylesheet$5=".
|
|
2243
|
+
var css_248z$5 = "._G-yGz{max-width:100%;position:relative;display:inline-block}._fAUrf{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._fAUrf:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._fAUrf:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._fAUrf:disabled,._fAUrf[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._fAUrf._2cv1V{border-color:#b00}._fAUrf._2cv1V:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._fAUrf._1KvlP{min-width:120px;padding:0 4px 0 12px}._fAUrf._3NYxD{margin-top:4px}._fAUrf._1AKwl:not([aria-disabled=true]):not(:disabled){color:#32363a}._fAUrf ._3CXQt{display:inline-flex;align-items:center;min-height:10px}._fAUrf ._3CXQt._3xIGV{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._fAUrf ._1vBOW{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._fAUrf ._1vBOW._1Scos{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._fAUrf ._1vBOW._2veMA{transform:rotate(-180deg)}._2OOY4[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._2WlWi{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._1MDAC{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._27C3-{fill:#515559}._2r0nO{margin:2px 12px 2px 0}._2r0nO._2l4fi>svg{border-color:#0b6ed0}._Tbkig{width:100%}";
|
|
2244
|
+
var styles$4 = {"container":"_G-yGz","button":"_fAUrf","invalid":"_2cv1V","hasText":"_1KvlP","labelled":"_3NYxD","selected":"_1AKwl","buttonLabel":"_3CXQt","isString":"_3xIGV","icon":"_1vBOW","disabled":"_1Scos","open":"_2veMA","option":"_2OOY4","search":"_2WlWi","emptyOption":"_1MDAC","searchIcon":"_27C3-","checkbox":"_2r0nO","highlighted":"_2l4fi","searchInput":"_Tbkig"};
|
|
2245
|
+
var stylesheet$5="._G-yGz{max-width:100%;position:relative;display:inline-block}._fAUrf{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._fAUrf:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._fAUrf:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._fAUrf:disabled,._fAUrf[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._fAUrf._2cv1V{border-color:#b00}._fAUrf._2cv1V:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._fAUrf._1KvlP{min-width:120px;padding:0 4px 0 12px}._fAUrf._3NYxD{margin-top:4px}._fAUrf._1AKwl:not([aria-disabled=true]):not(:disabled){color:#32363a}._fAUrf ._3CXQt{display:inline-flex;align-items:center;min-height:10px}._fAUrf ._3CXQt._3xIGV{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._fAUrf ._1vBOW{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._fAUrf ._1vBOW._1Scos{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._fAUrf ._1vBOW._2veMA{transform:rotate(-180deg)}._2OOY4[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._2WlWi{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._1MDAC{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._27C3-{fill:#515559}._2r0nO{margin:2px 12px 2px 0}._2r0nO._2l4fi>svg{border-color:#0b6ed0}._Tbkig{width:100%}";
|
|
2242
2246
|
icons_index.styleInject(css_248z$5);
|
|
2243
2247
|
|
|
2244
2248
|
const {
|
|
@@ -2592,9 +2596,9 @@ function useChildIndex(_ref2) {
|
|
|
2592
2596
|
}, ChildIndexContext);
|
|
2593
2597
|
}
|
|
2594
2598
|
|
|
2595
|
-
var css_248z$4 = ".
|
|
2596
|
-
var inputClasses = {"container":"
|
|
2597
|
-
var stylesheet$4=".
|
|
2599
|
+
var css_248z$4 = "._1kyG6{position:relative;display:inline-block;height:36px}._2EV81{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}._2EV81:hover{cursor:pointer;background-color:#f5f5f5}._2EV81:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._2EV81:disabled,._2EV81[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2EV81:disabled::-moz-placeholder,._2EV81[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:disabled::placeholder,._2EV81[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:invalid,._2EV81[aria-invalid=true]{border-color:#b00}._2EV81:invalid:focus,._2EV81[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2EV81[type=number]{-moz-appearance:textfield}._2EV81[type=number]::-webkit-inner-spin-button,._2EV81[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2EV81::-moz-placeholder{color:#515559;opacity:1}._2EV81::placeholder{color:#515559;opacity:1}._26G2D{pointer-events:none;color:#515559;fill:#515559}._2QJiX{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._l3RbD{color:#515559;font-size:16px}._3okfN{left:0;margin-left:6px}._3okfN,._AI66E{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._AI66E{right:0;margin-right:6px}";
|
|
2600
|
+
var inputClasses = {"container":"_1kyG6","input":"_2EV81","addOn":"_26G2D","addOnVerticalCenter":"_2QJiX","addOnTextNode":"_l3RbD","leftAddOn":"_3okfN","rightAddOn":"_AI66E"};
|
|
2601
|
+
var stylesheet$4="._1kyG6{position:relative;display:inline-block;height:36px}._2EV81{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}._2EV81:hover{cursor:pointer;background-color:#f5f5f5}._2EV81:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._2EV81:disabled,._2EV81[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2EV81:disabled::-moz-placeholder,._2EV81[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:disabled::placeholder,._2EV81[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:invalid,._2EV81[aria-invalid=true]{border-color:#b00}._2EV81:invalid:focus,._2EV81[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2EV81[type=number]{-moz-appearance:textfield}._2EV81[type=number]::-webkit-inner-spin-button,._2EV81[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2EV81::-moz-placeholder{color:#515559;opacity:1}._2EV81::placeholder{color:#515559;opacity:1}._26G2D{pointer-events:none;color:#515559;fill:#515559}._2QJiX{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._l3RbD{color:#515559;font-size:16px}._3okfN{left:0;margin-left:6px}._3okfN,._AI66E{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._AI66E{right:0;margin-right:6px}";
|
|
2598
2602
|
icons_index.styleInject(css_248z$4);
|
|
2599
2603
|
|
|
2600
2604
|
const getAddOnComponent = (addOn, containerClassName, containerRef) => {
|
|
@@ -3195,9 +3199,9 @@ const DropdownHeader = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3195
3199
|
}, commonProps), children) : /*#__PURE__*/React__default["default"].createElement("div", commonProps, children));
|
|
3196
3200
|
});
|
|
3197
3201
|
|
|
3198
|
-
var css_248z$3 = ".
|
|
3199
|
-
var styles$3 = {"checkbox":"
|
|
3200
|
-
var stylesheet$3=".
|
|
3202
|
+
var css_248z$3 = "._17iHi{display:inline-flex;position:relative}._1eivh,._17iHi{cursor:pointer;height:16px;width:16px}._1eivh{position:absolute;opacity:0;z-index:10}._1eivh._2afYq~._1jDDK>._3-25S{fill-opacity:1}._1eivh._2afYq~._1jDDK{border-color:transparent;background-color:#0b6ed0}._1eivh._2afYq~._1jDDK>._3-25S{fill:#fff}._1eivh._2afYq:hover~._1jDDK{background-color:#085caf}._1eivh:not(._2afYq):hover~._1jDDK{border-color:#0b6ed0}._1eivh._1j30p{cursor:not-allowed}._1eivh._1j30p~._1jDDK{opacity:.4}._1jDDK{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}._3-25S{fill:#0b6ed0;fill-opacity:0}";
|
|
3203
|
+
var styles$3 = {"checkbox":"_17iHi","input":"_1eivh","checked":"_2afYq","check":"_1jDDK","checkIcon":"_3-25S","disabled":"_1j30p"};
|
|
3204
|
+
var stylesheet$3="._17iHi{display:inline-flex;position:relative}._1eivh,._17iHi{cursor:pointer;height:16px;width:16px}._1eivh{position:absolute;opacity:0;z-index:10}._1eivh._2afYq~._1jDDK>._3-25S{fill-opacity:1}._1eivh._2afYq~._1jDDK{border-color:transparent;background-color:#0b6ed0}._1eivh._2afYq~._1jDDK>._3-25S{fill:#fff}._1eivh._2afYq:hover~._1jDDK{background-color:#085caf}._1eivh:not(._2afYq):hover~._1jDDK{border-color:#0b6ed0}._1eivh._1j30p{cursor:not-allowed}._1eivh._1j30p~._1jDDK{opacity:.4}._1jDDK{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}._3-25S{fill:#0b6ed0;fill-opacity:0}";
|
|
3201
3205
|
icons_index.styleInject(css_248z$3);
|
|
3202
3206
|
|
|
3203
3207
|
// input elements cannot be inside an option role for accessibility reasons,
|
|
@@ -3335,9 +3339,9 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3335
3339
|
});
|
|
3336
3340
|
});
|
|
3337
3341
|
|
|
3338
|
-
var css_248z$2 = ".
|
|
3339
|
-
var styles$2 = {"menuBtn":"
|
|
3340
|
-
var stylesheet$2=".
|
|
3342
|
+
var css_248z$2 = "._1Xb9n._1Xb9n{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._1Xb9n._1Xb9n,._1Xb9n._1Xb9n ._2HCQv{display:inline-flex;align-items:center}._1Xb9n._1Xb9n ._2HCQv{overflow:hidden;text-overflow:ellipsis}._1Xb9n._1Xb9n._xmG45{min-height:26px;height:26px}._1Xb9n._1Xb9n._2hcPO{color:#32363a}._1Xb9n._1Xb9n:hover:not([aria-disabled=true]){background-color:#f5f5f5}._1Xb9n._1Xb9n:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1Xb9n._1Xb9n[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._1Xb9n._1Xb9n[aria-disabled=true]>svg{fill:#515559;opacity:.4}._1Xb9n._1Xb9n[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1Xb9n._1Xb9n._1qbrY{padding-left:0}._1Xb9n._1Xb9n._2Uyd6{margin-top:4px}._1Xb9n._1Xb9n ._2DKPb{fill:#515559}._1Xb9n._1Xb9n ._2DKPb._xmG45{top:0}._1Xb9n._1Xb9n ._2DKPb._1vAZU{transform:rotate(-180deg)}._3NWXk{overflow-x:hidden;overflow-y:auto;overflow:hidden auto;position:relative}._4a5Lq{margin:0;padding:4px 0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._4a5Lq::-webkit-scrollbar,._4a5Lq::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._4a5Lq::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._4a5Lq::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._4a5Lq:hover::-webkit-scrollbar,._4a5Lq:hover::-webkit-scrollbar-thumb,._4a5Lq[focus-within]::-webkit-scrollbar,._4a5Lq[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._4a5Lq:focus-within::-webkit-scrollbar,._4a5Lq:focus-within::-webkit-scrollbar-thumb,._4a5Lq:hover::-webkit-scrollbar,._4a5Lq:hover::-webkit-scrollbar-thumb{visibility:visible}._2X_eC{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._2X_eC[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._2X_eC._nWo5D{background-color:#efefef}._2X_eC._1_Ahq{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._2X_eC._2hcPO{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._2X_eC._2hcPO._nWo5D{background-color:#e4effa}._2X_eC._tK85y{cursor:default}._2X_eC:active:not(._3fF9I):not(._2hcPO):not([aria-disabled=true]):not(._tK85y){background-color:#e8e9e9}._3fF9I{padding-right:32px}._3fF9I ._2DKPb{position:absolute;top:8px;right:3px;fill:#515559}._2rZoM{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._1q-gR{position:absolute;top:13px;left:13px}._B0NKH._B0NKH{padding-left:32px}._15-u9{margin:2px 12px 2px 0;flex-shrink:0}._15-u9._1L-xT>svg{border-color:#0b6ed0}._1QUra{display:flex;justify-self:center;margin:8px}";
|
|
3343
|
+
var styles$2 = {"menuBtn":"_1Xb9n","menuBtnLabel":"_2HCQv","small":"_xmG45","selected":"_2hcPO","unlabelledButton":"_1qbrY","formLabelled":"_2Uyd6","rightIcon":"_2DKPb","open":"_1vAZU","menuItemContainer":"_3NWXk","contentPane":"_4a5Lq","menuItem":"_2X_eC","active":"_nWo5D","focus":"_1_Ahq","noMenuItems":"_tK85y","subMenu":"_3fF9I","searchBox":"_2rZoM","searchBoxIcon":"_1q-gR","searchBoxInput":"_B0NKH","checkbox":"_15-u9","highlighted":"_1L-xT","menuSpinner":"_1QUra"};
|
|
3344
|
+
var stylesheet$2="._1Xb9n._1Xb9n{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._1Xb9n._1Xb9n,._1Xb9n._1Xb9n ._2HCQv{display:inline-flex;align-items:center}._1Xb9n._1Xb9n ._2HCQv{overflow:hidden;text-overflow:ellipsis}._1Xb9n._1Xb9n._xmG45{min-height:26px;height:26px}._1Xb9n._1Xb9n._2hcPO{color:#32363a}._1Xb9n._1Xb9n:hover:not([aria-disabled=true]){background-color:#f5f5f5}._1Xb9n._1Xb9n:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1Xb9n._1Xb9n[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._1Xb9n._1Xb9n[aria-disabled=true]>svg{fill:#515559;opacity:.4}._1Xb9n._1Xb9n[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1Xb9n._1Xb9n._1qbrY{padding-left:0}._1Xb9n._1Xb9n._2Uyd6{margin-top:4px}._1Xb9n._1Xb9n ._2DKPb{fill:#515559}._1Xb9n._1Xb9n ._2DKPb._xmG45{top:0}._1Xb9n._1Xb9n ._2DKPb._1vAZU{transform:rotate(-180deg)}._3NWXk{overflow-x:hidden;overflow-y:auto;overflow:hidden auto;position:relative}._4a5Lq{margin:0;padding:4px 0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._4a5Lq::-webkit-scrollbar,._4a5Lq::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._4a5Lq::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._4a5Lq::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._4a5Lq:hover::-webkit-scrollbar,._4a5Lq:hover::-webkit-scrollbar-thumb,._4a5Lq[focus-within]::-webkit-scrollbar,._4a5Lq[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._4a5Lq:focus-within::-webkit-scrollbar,._4a5Lq:focus-within::-webkit-scrollbar-thumb,._4a5Lq:hover::-webkit-scrollbar,._4a5Lq:hover::-webkit-scrollbar-thumb{visibility:visible}._2X_eC{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._2X_eC[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._2X_eC._nWo5D{background-color:#efefef}._2X_eC._1_Ahq{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._2X_eC._2hcPO{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._2X_eC._2hcPO._nWo5D{background-color:#e4effa}._2X_eC._tK85y{cursor:default}._2X_eC:active:not(._3fF9I):not(._2hcPO):not([aria-disabled=true]):not(._tK85y){background-color:#e8e9e9}._3fF9I{padding-right:32px}._3fF9I ._2DKPb{position:absolute;top:8px;right:3px;fill:#515559}._2rZoM{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._1q-gR{position:absolute;top:13px;left:13px}._B0NKH._B0NKH{padding-left:32px}._15-u9{margin:2px 12px 2px 0;flex-shrink:0}._15-u9._1L-xT>svg{border-color:#0b6ed0}._1QUra{display:flex;justify-self:center;margin:8px}";
|
|
3341
3345
|
icons_index.styleInject(css_248z$2);
|
|
3342
3346
|
|
|
3343
3347
|
const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -3352,6 +3356,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3352
3356
|
onClick,
|
|
3353
3357
|
isSelected = false,
|
|
3354
3358
|
isHighlighted = false,
|
|
3359
|
+
isFocused = isHighlighted,
|
|
3355
3360
|
isMultiSelect = false,
|
|
3356
3361
|
isSelectable = false,
|
|
3357
3362
|
...rest
|
|
@@ -3374,7 +3379,8 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3374
3379
|
"aria-disabled": disabled,
|
|
3375
3380
|
"aria-checked": isSelectable ? isSelected : undefined,
|
|
3376
3381
|
className: classNames__default["default"](className, styles$2.menuItem, {
|
|
3377
|
-
[styles$2.
|
|
3382
|
+
[styles$2.active]: isHighlighted,
|
|
3383
|
+
[styles$2.focus]: isFocused,
|
|
3378
3384
|
[styles$2.selected]: isSelected
|
|
3379
3385
|
}),
|
|
3380
3386
|
onKeyDown: wrapEvent(onKeyDown, e => {
|
|
@@ -3531,11 +3537,13 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3531
3537
|
'data-popper-ready': isPopperReady,
|
|
3532
3538
|
// comes from Popper.js where ArrowNav is cloned
|
|
3533
3539
|
style,
|
|
3540
|
+
'aria-labelledby': ariaLabelledBy,
|
|
3534
3541
|
...rest
|
|
3535
3542
|
} = _ref;
|
|
3536
3543
|
const [isKeyboardUser, setIsKeyboardUser] = React.useState(false);
|
|
3537
3544
|
const containerRef = React.useRef(null);
|
|
3538
3545
|
const menuItemContainerRef = React.useRef(null);
|
|
3546
|
+
const menuId = useId();
|
|
3539
3547
|
const [refs, allChildren] = useChildrenRefs(children, (child, index) => ({
|
|
3540
3548
|
tabIndex: -1,
|
|
3541
3549
|
onMouseEnter: wrapEvent(child.props.onMouseEnter, () => {
|
|
@@ -3622,7 +3630,6 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3622
3630
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
3623
3631
|
React__default["default"].createElement("div", _extends__default["default"]({
|
|
3624
3632
|
ref: mergeRefs(containerRef, ref),
|
|
3625
|
-
role: role,
|
|
3626
3633
|
tabIndex: tabIndex,
|
|
3627
3634
|
onKeyDown: wrapEvent(onKeyDown, handleKeyDown),
|
|
3628
3635
|
"data-popper-ready": isPopperReady,
|
|
@@ -3630,6 +3637,7 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3630
3637
|
minWidth
|
|
3631
3638
|
}
|
|
3632
3639
|
}, rest), searchable && /*#__PURE__*/React__default["default"].createElement(MenuSearchBox, {
|
|
3640
|
+
"aria-controls": menuId,
|
|
3633
3641
|
value: searchTerm,
|
|
3634
3642
|
ref: searchBoxRef,
|
|
3635
3643
|
onChange: e => {
|
|
@@ -3637,7 +3645,9 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3637
3645
|
},
|
|
3638
3646
|
onFocus: () => onHighlightedIndexChange(0)
|
|
3639
3647
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3640
|
-
|
|
3648
|
+
id: menuId,
|
|
3649
|
+
role: role,
|
|
3650
|
+
"aria-labelledby": ariaLabelledBy,
|
|
3641
3651
|
style: {
|
|
3642
3652
|
maxHeight: maxHeight !== null && maxHeight !== void 0 ? maxHeight : // This logic is located here instead of BaseMenu.js so the maxHeight will update with screen resizing (Popper has a resize listener that causes this to rerender)
|
|
3643
3653
|
Math.min(350, (isSubmenu ? // Submenus: window height - submenu popper offset - 8px of container padding - half of anchor height (fallback to default 18px))
|
|
@@ -3650,144 +3660,6 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3650
3660
|
);
|
|
3651
3661
|
});
|
|
3652
3662
|
|
|
3653
|
-
const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
3654
|
-
let {
|
|
3655
|
-
onSearch,
|
|
3656
|
-
debouncePeriod = 0,
|
|
3657
|
-
throttlePeriod = 0,
|
|
3658
|
-
setIsLoading,
|
|
3659
|
-
items = [],
|
|
3660
|
-
setItems,
|
|
3661
|
-
minChars = 1,
|
|
3662
|
-
value: externalValue,
|
|
3663
|
-
defaultValue = '',
|
|
3664
|
-
onChange,
|
|
3665
|
-
...rest
|
|
3666
|
-
} = _ref;
|
|
3667
|
-
const isMounted = useMounted();
|
|
3668
|
-
const [internalValue, setInternalValue] = React.useState(defaultValue);
|
|
3669
|
-
const isControlled = externalValue !== undefined;
|
|
3670
|
-
const value = isControlled ? externalValue : internalValue;
|
|
3671
|
-
const valueRef = useLatest(value);
|
|
3672
|
-
const [changed, setChanged] = React.useState(false);
|
|
3673
|
-
const {
|
|
3674
|
-
isOpen: open,
|
|
3675
|
-
setIsOpen,
|
|
3676
|
-
closeAndFocusAnchor: internalCloseMenu,
|
|
3677
|
-
anchorRef,
|
|
3678
|
-
setHighlightedIndex // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3679
|
-
|
|
3680
|
-
} = useMenuContext();
|
|
3681
|
-
|
|
3682
|
-
const openMenu = () => {
|
|
3683
|
-
// this prevents the "no items to display" text from appearing on initial open.
|
|
3684
|
-
if (!open) {
|
|
3685
|
-
setIsLoading(true);
|
|
3686
|
-
}
|
|
3687
|
-
|
|
3688
|
-
setIsOpen === null || setIsOpen === void 0 ? void 0 : setIsOpen(true);
|
|
3689
|
-
};
|
|
3690
|
-
|
|
3691
|
-
const closeMenu = React.useCallback(() => {
|
|
3692
|
-
setItems([]);
|
|
3693
|
-
internalCloseMenu === null || internalCloseMenu === void 0 ? void 0 : internalCloseMenu();
|
|
3694
|
-
setIsLoading(true);
|
|
3695
|
-
}, [setItems, internalCloseMenu, setIsLoading]);
|
|
3696
|
-
const onSearchRef = useLatest(onSearch);
|
|
3697
|
-
const handleSearch = React.useCallback(queryValue => {
|
|
3698
|
-
if (!isMounted.current) {
|
|
3699
|
-
return;
|
|
3700
|
-
}
|
|
3701
|
-
|
|
3702
|
-
setIsLoading(true);
|
|
3703
|
-
Promise.resolve(onSearchRef.current && onSearchRef.current(queryValue)).then(newItems => {
|
|
3704
|
-
if (isMounted.current && queryValue === valueRef.current) {
|
|
3705
|
-
setItems(newItems);
|
|
3706
|
-
setIsLoading(false);
|
|
3707
|
-
}
|
|
3708
|
-
});
|
|
3709
|
-
}, [isMounted, onSearchRef, setIsLoading, valueRef, setItems]);
|
|
3710
|
-
const handleSearchThrottledDebounced = React.useCallback(throttleDebounce.debounce(debouncePeriod, throttleDebounce.throttle(throttlePeriod, handleSearch)), [debouncePeriod, throttlePeriod, handleSearch]);
|
|
3711
|
-
|
|
3712
|
-
const handleChange = e => {
|
|
3713
|
-
setChanged(true);
|
|
3714
|
-
|
|
3715
|
-
if (!isControlled) {
|
|
3716
|
-
setInternalValue(e.target.value);
|
|
3717
|
-
}
|
|
3718
|
-
|
|
3719
|
-
if (typeof onChange === 'function') {
|
|
3720
|
-
onChange(e);
|
|
3721
|
-
}
|
|
3722
|
-
};
|
|
3723
|
-
|
|
3724
|
-
const handleKeyDown = e => {
|
|
3725
|
-
if (e.key === 'Enter' || e.key === 'ArrowDown') {
|
|
3726
|
-
e.preventDefault(); // prevent scroll
|
|
3727
|
-
|
|
3728
|
-
openMenu();
|
|
3729
|
-
setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(0);
|
|
3730
|
-
|
|
3731
|
-
if (!open) {
|
|
3732
|
-
handleSearch(value);
|
|
3733
|
-
}
|
|
3734
|
-
} else if (e.key === 'ArrowUp') {
|
|
3735
|
-
e.preventDefault(); // prevent scroll
|
|
3736
|
-
|
|
3737
|
-
openMenu();
|
|
3738
|
-
setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(items.length - 1);
|
|
3739
|
-
|
|
3740
|
-
if (!open) {
|
|
3741
|
-
handleSearch(value);
|
|
3742
|
-
}
|
|
3743
|
-
} else if (e.key === 'Escape') {
|
|
3744
|
-
e.preventDefault();
|
|
3745
|
-
handleChange({
|
|
3746
|
-
target: {
|
|
3747
|
-
value: ''
|
|
3748
|
-
}
|
|
3749
|
-
});
|
|
3750
|
-
|
|
3751
|
-
if (open) {
|
|
3752
|
-
e.stopPropagation(); // prevent event from closing modals or popovers
|
|
3753
|
-
|
|
3754
|
-
closeMenu();
|
|
3755
|
-
}
|
|
3756
|
-
} else if (e.key === 'Tab') {
|
|
3757
|
-
if (open) {
|
|
3758
|
-
closeMenu();
|
|
3759
|
-
}
|
|
3760
|
-
}
|
|
3761
|
-
};
|
|
3762
|
-
|
|
3763
|
-
useEnhancedDidUpdate(() => {
|
|
3764
|
-
const shouldClose = value.length < minChars;
|
|
3765
|
-
|
|
3766
|
-
if (changed) {
|
|
3767
|
-
setChanged(false);
|
|
3768
|
-
|
|
3769
|
-
if (shouldClose) {
|
|
3770
|
-
setChanged(false);
|
|
3771
|
-
closeMenu();
|
|
3772
|
-
} else {
|
|
3773
|
-
openMenu();
|
|
3774
|
-
handleSearchThrottledDebounced(value);
|
|
3775
|
-
}
|
|
3776
|
-
}
|
|
3777
|
-
}, [handleSearchThrottledDebounced, minChars, value, openMenu, closeMenu, changed]);
|
|
3778
|
-
return (
|
|
3779
|
-
/*#__PURE__*/
|
|
3780
|
-
// @ts-ignore: Allow aria-expanded to be set to null to override the value set by Menu
|
|
3781
|
-
React__default["default"].createElement(Input$1, _extends__default["default"]({}, rest, {
|
|
3782
|
-
"aria-expanded": null,
|
|
3783
|
-
onChange: handleChange,
|
|
3784
|
-
onKeyDown: handleKeyDown,
|
|
3785
|
-
ref: mergeRefs(ref, anchorRef),
|
|
3786
|
-
value: value
|
|
3787
|
-
}))
|
|
3788
|
-
);
|
|
3789
|
-
});
|
|
3790
|
-
|
|
3791
3663
|
const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
3792
3664
|
var _externalAnchor$props, _externalAnchor$props2, _useMenuContext, _externalAnchor$props3, _externalAnchor$props4, _externalAnchor$props5, _externalAnchor$props6, _externalAnchor$props7, _externalAnchor$props8, _externalAnchor$props9, _anchorRef$current;
|
|
3793
3665
|
|
|
@@ -3979,6 +3851,7 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3979
3851
|
return /*#__PURE__*/React__default["default"].cloneElement(child, {
|
|
3980
3852
|
isOpen: actualIndex === highlightedIndex,
|
|
3981
3853
|
isHighlighted: actualIndex === highlightedIndex,
|
|
3854
|
+
isFocused: actualIndex === highlightedIndex && submenuHighlightedIndex === -1,
|
|
3982
3855
|
placement: 'right-start',
|
|
3983
3856
|
onKeyDown: e => {
|
|
3984
3857
|
if (e.key === 'ArrowRight' || e.key === 'Enter' || e.key === ' ') {
|
|
@@ -4084,10 +3957,10 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4084
3957
|
}
|
|
4085
3958
|
|
|
4086
3959
|
useDidUpdate(() => {
|
|
4087
|
-
if (
|
|
3960
|
+
if (popperIsOpen && noResults) {
|
|
4088
3961
|
announceToScreenReader(noMenuItemsToDisplayText);
|
|
4089
3962
|
}
|
|
4090
|
-
}, [
|
|
3963
|
+
}, [noResults, popperIsOpen, announceToScreenReader, noMenuItemsToDisplayText]);
|
|
4091
3964
|
const searchBoxRef = React.useRef();
|
|
4092
3965
|
const arrowNavRef = React.useRef(null);
|
|
4093
3966
|
return /*#__PURE__*/React__default["default"].createElement(MenuContextProvider, {
|
|
@@ -4287,9 +4160,9 @@ const SelectMenu = /*#__PURE__*/React__default["default"].forwardRef(function Se
|
|
|
4287
4160
|
}, rest));
|
|
4288
4161
|
});
|
|
4289
4162
|
|
|
4290
|
-
var css_248z$1 = ".
|
|
4291
|
-
var styles$1 = {"pagination":"
|
|
4292
|
-
var stylesheet$1=".
|
|
4163
|
+
var css_248z$1 = "._2L8uz{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._2lzW0{margin-right:8px}._3C8zs{margin-left:8px}._2uw9H{margin:-10px -15px}._2qhFK{width:100%;text-align:center}";
|
|
4164
|
+
var styles$1 = {"pagination":"_2L8uz","previousButton":"_2lzW0","nextButton":"_3C8zs","btnIcon":"_2uw9H","input":"_2qhFK"};
|
|
4165
|
+
var stylesheet$1="._2L8uz{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._2lzW0{margin-right:8px}._3C8zs{margin-left:8px}._2uw9H{margin:-10px -15px}._2qhFK{width:100%;text-align:center}";
|
|
4293
4166
|
icons_index.styleInject(css_248z$1);
|
|
4294
4167
|
|
|
4295
4168
|
const {
|
|
@@ -4584,9 +4457,9 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4584
4457
|
}, children || /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(PaginationPreviousButton, null), Number(numPages) > 0 ? /*#__PURE__*/React__default["default"].createElement(PaginationPageInput, null) : null, /*#__PURE__*/React__default["default"].createElement(PaginationNextButton, null))));
|
|
4585
4458
|
});
|
|
4586
4459
|
|
|
4587
|
-
var css_248z = ".
|
|
4588
|
-
var styles = {"searchInput":"
|
|
4589
|
-
var stylesheet=".
|
|
4460
|
+
var css_248z = "._2fjNI{display:inline-block;position:relative}._3ohOm._3ohOm{padding-left:36px;padding-right:36px;width:100%}._3ohOm._3ohOm:disabled+._3Y3hD{fill-opacity:.6}._3Y3hD{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._3Y3hD._2pcfv{z-index:20}._17Nu3{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._17Nu3:hover{cursor:pointer}._17Nu3:hover>._1SstB{fill:#32363a}._17Nu3:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1SstB{fill:#515559}";
|
|
4461
|
+
var styles = {"searchInput":"_2fjNI","searchInputInput":"_3ohOm","searchInputSearchIcon":"_3Y3hD","usedWithinInputGroup":"_2pcfv","searchInputClearButton":"_17Nu3","searchInputClearButtonIcon":"_1SstB"};
|
|
4462
|
+
var stylesheet="._2fjNI{display:inline-block;position:relative}._3ohOm._3ohOm{padding-left:36px;padding-right:36px;width:100%}._3ohOm._3ohOm:disabled+._3Y3hD{fill-opacity:.6}._3Y3hD{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._3Y3hD._2pcfv{z-index:20}._17Nu3{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._17Nu3:hover{cursor:pointer}._17Nu3:hover>._1SstB{fill:#32363a}._17Nu3:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1SstB{fill:#515559}";
|
|
4590
4463
|
icons_index.styleInject(css_248z);
|
|
4591
4464
|
|
|
4592
4465
|
const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -4694,6 +4567,7 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4694
4567
|
|
|
4695
4568
|
exports.Button = Button;
|
|
4696
4569
|
exports.Checkbox = Checkbox;
|
|
4570
|
+
exports.ChildIndexProvider = ChildIndexProvider;
|
|
4697
4571
|
exports.DEFAULT_BREAKPOINTS = DEFAULT_BREAKPOINTS;
|
|
4698
4572
|
exports.Divider = Divider;
|
|
4699
4573
|
exports.Dropdown = Dropdown;
|
|
@@ -4723,7 +4597,6 @@ exports.PaginationPreviousButton = PaginationPreviousButton;
|
|
|
4723
4597
|
exports.Popper = Popper;
|
|
4724
4598
|
exports.Portal = Portal;
|
|
4725
4599
|
exports.PortalTargetProvider = PortalTargetProvider;
|
|
4726
|
-
exports.QuickSearchInput = QuickSearchInput;
|
|
4727
4600
|
exports.SearchInput = SearchInput;
|
|
4728
4601
|
exports.SelectMenu = SelectMenu;
|
|
4729
4602
|
exports.Text = Text;
|
|
@@ -4741,10 +4614,12 @@ exports.mergeRefs = mergeRefs;
|
|
|
4741
4614
|
exports.setIsKeyboardUser = setIsKeyboardUser;
|
|
4742
4615
|
exports.styles = styles$9;
|
|
4743
4616
|
exports.useBreakpoints = useBreakpoints;
|
|
4617
|
+
exports.useChildIndex = useChildIndex;
|
|
4744
4618
|
exports.useClickOutside = useClickOutside;
|
|
4745
4619
|
exports.useClickOutsidePortals = useClickOutsidePortals;
|
|
4746
4620
|
exports.useControllableState = useControllableState;
|
|
4747
4621
|
exports.useDidUpdate = useDidUpdate;
|
|
4622
|
+
exports.useEnhancedDidUpdate = useEnhancedDidUpdate;
|
|
4748
4623
|
exports.useEventCallback = useEventCallback;
|
|
4749
4624
|
exports.useEventListener = useEventListener;
|
|
4750
4625
|
exports.useFocusSequence = useFocusSequence;
|
|
@@ -4755,8 +4630,10 @@ exports.useInputGroupContext = useInputGroupContext;
|
|
|
4755
4630
|
exports.useIsFocused = useIsFocused;
|
|
4756
4631
|
exports.useIsHovered = useIsHovered;
|
|
4757
4632
|
exports.useLatest = useLatest;
|
|
4633
|
+
exports.useMenuContext = useMenuContext;
|
|
4758
4634
|
exports.useMounted = useMounted;
|
|
4759
4635
|
exports.useMouseDrag = useMouseDrag;
|
|
4636
|
+
exports.usePortalTarget = usePortalTarget;
|
|
4760
4637
|
exports.usePrevious = usePrevious;
|
|
4761
4638
|
exports.useResponsiveValue = useResponsiveValue;
|
|
4762
4639
|
exports.useSSRLayoutEffect = useSSRLayoutEffect;
|