@qualtrics/ui-react 2.9.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -1
- package/dist/__shared/cjs/{index-3e5149c9.js → index-30148ada.js} +3 -3
- package/dist/__shared/cjs/{index-38a79098.js → index-bb7befc3.js} +81 -194
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button2.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +21 -43
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/Combobox/ComboboxInput.js +0 -2
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput.js +7 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +2 -1
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +2 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +7 -2
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover.js +5 -0
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +5 -0
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/index.js +1 -0
- package/dist/hooks/useOverlay/useOverlay.js +70 -0
- package/dist/hooks/useOverlay/useOverlay2.js +8 -0
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +262 -150
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer.js +138 -0
- package/dist/next/Drawer/Drawer2.js +8 -0
- package/dist/next/Drawer/index.js +1 -0
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu.js +71 -0
- package/dist/next/Menu/Menu2.js +8 -0
- package/dist/next/Menu/MenuButton.js +41 -0
- package/dist/next/Menu/MenuContext.js +41 -0
- package/dist/next/Menu/MenuItem.js +49 -0
- package/dist/next/Menu/MenuPane.js +64 -0
- package/dist/next/Menu/MenuSearch.js +105 -0
- package/dist/next/Menu/SubMenu.js +74 -0
- package/dist/next/Menu/constants.js +9 -0
- package/dist/next/Menu/index.js +5 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/index.d.ts +71 -0
- package/dist/next/index.es.js +8 -1
- package/dist/next/index.js +697 -133
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/package.json +11 -10
|
@@ -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-30148ada.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 = "._lXomS{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}._31gh3{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}._31gh3._1wLfG,._31gh3._2c_7I._31gh3:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._31gh3._9DVzX{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._31gh3._9DVzX._1wLfG,._31gh3._9DVzX._2c_7I._31gh3._9DVzX:hover{background-color:#e4effa}._31gh3:active:not(._9DVzX):not([aria-disabled=true]){background-color:#e8e9e9}._1jjmm ._25Ccz{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}._1jjmm ._3dU_a{display:none}._1jjmm:not(:first-child) ._3dU_a{display:block;margin:3.5px 0}._3HRjg{width:100%;height:40px}";
|
|
105
|
+
var styles$c = {"flyout":"_lXomS","flyoutOption":"_31gh3","highlighted":"_1wLfG","hoverHighlight":"_2c_7I","selected":"_9DVzX","flyoutHeader":"_1jjmm","headerContent":"_25Ccz","headerDivider":"_3dU_a","flyoutSpinner":"_3HRjg"};
|
|
106
|
+
var stylesheet$g="._lXomS{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}._31gh3{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}._31gh3._1wLfG,._31gh3._2c_7I._31gh3:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._31gh3._9DVzX{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._31gh3._9DVzX._1wLfG,._31gh3._9DVzX._2c_7I._31gh3._9DVzX:hover{background-color:#e4effa}._31gh3:active:not(._9DVzX):not([aria-disabled=true]){background-color:#e8e9e9}._1jjmm ._25Ccz{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}._1jjmm ._3dU_a{display:none}._1jjmm:not(:first-child) ._3dU_a{display:block;margin:3.5px 0}._3HRjg{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 = "._NZO0D{position:relative;display:inline-block}._NZO0D._1cnLN{min-height:20px;min-width:20px}._NZO0D._2pVbV{min-height:25px;min-width:25px}._NZO0D._2iReD{min-height:40px;min-width:40px}._NZO0D._2aYWA{min-height:64px;min-width:64px}._NZO0D ._3p5Vt{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._NZO0D ._3p5Vt._19aZg{visibility:hidden}._NZO0D ._3p5Vt div{position:absolute;transform:rotate(20deg)}._NZO0D ._3p5Vt div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_3p5Vt .8s linear infinite;animation:_3p5Vt .8s linear infinite}._NZO0D ._3p5Vt 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}._NZO0D ._3p5Vt div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._NZO0D ._3p5Vt div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._NZO0D ._3p5Vt div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._NZO0D ._3p5Vt div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._NZO0D ._3p5Vt div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._NZO0D ._3p5Vt div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._NZO0D ._3p5Vt div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._NZO0D ._3p5Vt div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._NZO0D ._3p5Vt div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._NZO0D ._2aYWA div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._NZO0D ._1cnLN div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._NZO0D ._2pVbV div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._NZO0D ._3OCI7 div div:nth-child(-n+9):after{background:#fff}._NZO0D ._1ICH1{width:100%;height:100%}._NZO0D ._1ICH1._2YWx8{pointer-events:none}._NZO0D ._1ICH1._19aZg{opacity:0}._NZO0D ._1ICH1._37bLj{opacity:.5}@-webkit-keyframes _3p5Vt{0%{opacity:1}to{opacity:0}}@keyframes _3p5Vt{0%{opacity:1}to{opacity:0}}";
|
|
110
|
+
var styles$b = {"spinnerContainer":"_NZO0D","xs":"_1cnLN","small":"_2pVbV","medium":"_2iReD","large":"_2aYWA","spinnerComponent":"_3p5Vt","hide":"_19aZg","inverted":"_3OCI7","spinnerContent":"_1ICH1","disablePointerEvents":"_2YWx8","fade":"_37bLj"};
|
|
111
|
+
var stylesheet$f="._NZO0D{position:relative;display:inline-block}._NZO0D._1cnLN{min-height:20px;min-width:20px}._NZO0D._2pVbV{min-height:25px;min-width:25px}._NZO0D._2iReD{min-height:40px;min-width:40px}._NZO0D._2aYWA{min-height:64px;min-width:64px}._NZO0D ._3p5Vt{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._NZO0D ._3p5Vt._19aZg{visibility:hidden}._NZO0D ._3p5Vt div{position:absolute;transform:rotate(20deg)}._NZO0D ._3p5Vt div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_3p5Vt .8s linear infinite;animation:_3p5Vt .8s linear infinite}._NZO0D ._3p5Vt 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}._NZO0D ._3p5Vt div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._NZO0D ._3p5Vt div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._NZO0D ._3p5Vt div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._NZO0D ._3p5Vt div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._NZO0D ._3p5Vt div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._NZO0D ._3p5Vt div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._NZO0D ._3p5Vt div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._NZO0D ._3p5Vt div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._NZO0D ._3p5Vt div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._NZO0D ._2aYWA div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._NZO0D ._1cnLN div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._NZO0D ._2pVbV div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._NZO0D ._3OCI7 div div:nth-child(-n+9):after{background:#fff}._NZO0D ._1ICH1{width:100%;height:100%}._NZO0D ._1ICH1._2YWx8{pointer-events:none}._NZO0D ._1ICH1._19aZg{opacity:0}._NZO0D ._1ICH1._37bLj{opacity:.5}@-webkit-keyframes _3p5Vt{0%{opacity:1}to{opacity:0}}@keyframes _3p5Vt{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 = "._36jxV{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}._36jxV._3whsD{color:#32363a;background-color:#fff}._2ucdF{opacity:1;pointer-events:all}._1GYk9,._1GYk9>div{position:absolute;width:8px;height:8px;background:inherit}._1GYk9{visibility:hidden;z-index:2000}._1GYk9>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._1GYk9{bottom:-4px}[data-popper-placement^=top]>._1GYk9>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._1GYk9{left:-5px}[data-popper-placement^=right]>._1GYk9>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._1GYk9{top:-5px}[data-popper-placement^=bottom]>._1GYk9>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._1GYk9{right:-4px}[data-popper-placement^=left]>._1GYk9>div{border-bottom-color:transparent;border-left-color:transparent}._1USlN{position:absolute}[data-popper-placement^=top]>._1USlN{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._1USlN{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._1USlN{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._1USlN{top:0;right:-13px;width:17px;height:100%}";
|
|
868
|
+
var styles$a = {"tooltip":"_36jxV","lightTheme":"_3whsD","visible":"_2ucdF","arrow":"_1GYk9","offsetBackplate":"_1USlN"};
|
|
869
|
+
var stylesheet$d="._36jxV{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}._36jxV._3whsD{color:#32363a;background-color:#fff}._2ucdF{opacity:1;pointer-events:all}._1GYk9,._1GYk9>div{position:absolute;width:8px;height:8px;background:inherit}._1GYk9{visibility:hidden;z-index:2000}._1GYk9>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._1GYk9{bottom:-4px}[data-popper-placement^=top]>._1GYk9>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._1GYk9{left:-5px}[data-popper-placement^=right]>._1GYk9>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._1GYk9{top:-5px}[data-popper-placement^=bottom]>._1GYk9>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._1GYk9{right:-4px}[data-popper-placement^=left]>._1GYk9>div{border-bottom-color:transparent;border-left-color:transparent}._1USlN{position:absolute}[data-popper-placement^=top]>._1USlN{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._1USlN{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._1USlN{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._1USlN{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 = "._3pyKj{position:absolute;top:-10000px;left:-10000px}";
|
|
1287
|
+
var classes = {"ariaLiveElement":"_3pyKj"};
|
|
1288
|
+
var stylesheet$c="._3pyKj{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 = "._1JJ_T{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._1JJ_T._1OgYH{padding:0 8px;height:26px;min-height:26px}._1JJ_T._2dzps{display:block;width:100%}._1JJ_T._1hXS2{cursor:not-allowed}._1JJ_T:active:focus,._1JJ_T:focus{outline:none}._1JJ_T._y7V1A{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1JJ_T._y7V1A:hover:not(._1hXS2){background-color:#eee}._1JJ_T._y7V1A:active:not(._1hXS2){background-color:#e5e5e5}._1JJ_T._y7V1A._1hXS2{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._1JJ_T._1RyTE{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1JJ_T._1RyTE:hover:not(._1hXS2){background-color:#085caf;border-color:#085caf}._1JJ_T._1RyTE:active:not(._1hXS2){background-color:#0854a1;border-color:#0854a1}._1JJ_T._1RyTE._1hXS2{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._1JJ_T._1ea7y{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._1ea7y:hover:not(._1hXS2){background-color:#eef5fc}._1JJ_T._1ea7y:active:not(._1hXS2){background-color:#e1edf9}._1JJ_T._1ea7y._1hXS2{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._31cTN{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._31cTN:hover:not(._1hXS2){background-color:#eef5fc;border-color:#eef5fc}._1JJ_T._31cTN:active:not(._1hXS2){background-color:#e1edf9;border-color:#e1edf9}._1JJ_T._31cTN._1hXS2{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._1W_EG{color:#0b6ed0;fill:#0b6ed0;padding:0}._1JJ_T._1W_EG:hover:not(._1hXS2){color:#085caf}._1JJ_T._1W_EG:active:not(._1hXS2){color:#0854a1}._1JJ_T._1W_EG._1hXS2{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._2ear0{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1JJ_T._2ear0:hover:not(._1hXS2){background-color:#ffecec}._1JJ_T._2ear0:active:not(._1hXS2){background-color:#ffdbdb}._1JJ_T._2ear0._1hXS2{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._1hDoy,body.keyboard-user ._1JJ_T:active:focus,body.keyboard-user ._1JJ_T:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1854
|
+
var buttonStyles = {"btn":"_1JJ_T","small":"_1OgYH","full":"_2dzps","disabled":"_1hXS2","default":"_y7V1A","primary":"_1RyTE","secondary":"_1ea7y","tertiary":"_31cTN","link":"_1W_EG","danger":"_2ear0","keyboardFocused":"_1hDoy"};
|
|
1855
|
+
var stylesheet$b="._1JJ_T{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._1JJ_T._1OgYH{padding:0 8px;height:26px;min-height:26px}._1JJ_T._2dzps{display:block;width:100%}._1JJ_T._1hXS2{cursor:not-allowed}._1JJ_T:active:focus,._1JJ_T:focus{outline:none}._1JJ_T._y7V1A{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1JJ_T._y7V1A:hover:not(._1hXS2){background-color:#eee}._1JJ_T._y7V1A:active:not(._1hXS2){background-color:#e5e5e5}._1JJ_T._y7V1A._1hXS2{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._1JJ_T._1RyTE{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1JJ_T._1RyTE:hover:not(._1hXS2){background-color:#085caf;border-color:#085caf}._1JJ_T._1RyTE:active:not(._1hXS2){background-color:#0854a1;border-color:#0854a1}._1JJ_T._1RyTE._1hXS2{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._1JJ_T._1ea7y{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._1ea7y:hover:not(._1hXS2){background-color:#eef5fc}._1JJ_T._1ea7y:active:not(._1hXS2){background-color:#e1edf9}._1JJ_T._1ea7y._1hXS2{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._31cTN{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1JJ_T._31cTN:hover:not(._1hXS2){background-color:#eef5fc;border-color:#eef5fc}._1JJ_T._31cTN:active:not(._1hXS2){background-color:#e1edf9;border-color:#e1edf9}._1JJ_T._31cTN._1hXS2{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._1W_EG{color:#0b6ed0;fill:#0b6ed0;padding:0}._1JJ_T._1W_EG:hover:not(._1hXS2){color:#085caf}._1JJ_T._1W_EG:active:not(._1hXS2){color:#0854a1}._1JJ_T._1W_EG._1hXS2{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._1JJ_T._2ear0{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1JJ_T._2ear0:hover:not(._1hXS2){background-color:#ffecec}._1JJ_T._2ear0:active:not(._1hXS2){background-color:#ffdbdb}._1JJ_T._2ear0._1hXS2{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._1hDoy,body.keyboard-user ._1JJ_T:active:focus,body.keyboard-user ._1JJ_T:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
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 = "._1gqCL{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1gqCL,._3O0I6{cursor:pointer;height:16px;width:16px}._3O0I6{position:absolute;opacity:0;z-index:10}._3O0I6:checked~._Fn9K_>._ZKA7b{fill-opacity:1}._3O0I6:checked:enabled~._Fn9K_{border-color:transparent;background-color:#0b6ed0}._3O0I6:checked:enabled~._Fn9K_>._ZKA7b{fill:#fff}._3O0I6:checked:enabled:hover~._Fn9K_{background-color:#085caf}._3O0I6:not(:checked):enabled:hover~._Fn9K_{border-color:#0b6ed0}._3O0I6:disabled{cursor:not-allowed}._3O0I6:disabled~._Fn9K_{opacity:.4}._2LD3f{color:#32363a;display:flex;align-items:center;cursor:pointer}._1LxSf{cursor:auto;color:hsla(0,0%,53.7%,.4)}._3nbQg{margin-right:12px;flex-shrink:0}._Fn9K_{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._ZKA7b{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._3O0I6:active:focus~._Fn9K_,body.keyboard-user ._3O0I6:focus~._Fn9K_{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1938
|
+
var styles$9 = {"checkbox":"_1gqCL","input":"_3O0I6","check":"_Fn9K_","checkIcon":"_ZKA7b","label":"_2LD3f","labelDisabled":"_1LxSf","wrappedInput":"_3nbQg"};
|
|
1939
|
+
var stylesheet$a="._1gqCL{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1gqCL,._3O0I6{cursor:pointer;height:16px;width:16px}._3O0I6{position:absolute;opacity:0;z-index:10}._3O0I6:checked~._Fn9K_>._ZKA7b{fill-opacity:1}._3O0I6:checked:enabled~._Fn9K_{border-color:transparent;background-color:#0b6ed0}._3O0I6:checked:enabled~._Fn9K_>._ZKA7b{fill:#fff}._3O0I6:checked:enabled:hover~._Fn9K_{background-color:#085caf}._3O0I6:not(:checked):enabled:hover~._Fn9K_{border-color:#0b6ed0}._3O0I6:disabled{cursor:not-allowed}._3O0I6:disabled~._Fn9K_{opacity:.4}._2LD3f{color:#32363a;display:flex;align-items:center;cursor:pointer}._1LxSf{cursor:auto;color:hsla(0,0%,53.7%,.4)}._3nbQg{margin-right:12px;flex-shrink:0}._Fn9K_{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._ZKA7b{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._3O0I6:active:focus~._Fn9K_,body.keyboard-user ._3O0I6:focus~._Fn9K_{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
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 = "._gLS3L{font-size:14px}._24TVg{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._12gAL{color:#0b6ed0}";
|
|
2039
|
+
var styles$8 = {"label":"_gLS3L","control":"_24TVg","focused":"_12gAL"};
|
|
2040
|
+
var stylesheet$9="._gLS3L{font-size:14px}._24TVg{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._12gAL{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 = "._2xnfm{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}._2xnfm::-moz-placeholder{color:#515559;opacity:1}._2xnfm::placeholder{color:#515559;opacity:1}._2xnfm:hover{cursor:pointer;background-color:#f5f5f5}._2xnfm:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._2xnfm._23vXv{border-color:#b00}._2xnfm._23vXv:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2xnfm:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2xnfm:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2xnfm:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2xnfm._3nQbr{height:auto}._2xnfm._3nQbr::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._2xnfm._PYPdA{display:block;width:100%}._2xnfm._3GPDR{padding:4px 8px}input._2xnfm._3GPDR{height:26px;min-height:26px}[type=number]._2xnfm{-moz-appearance:textfield}[type=number]._2xnfm::-webkit-inner-spin-button,[type=number]._2xnfm::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1SETD{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._1SETD:hover{cursor:pointer}._1SETD._2z_Xc{color:#0b6ed0}._3O5wL{margin-top:4px}";
|
|
2064
|
+
var styles$7 = {"input":"_2xnfm","invalid":"_23vXv","multiline":"_3nQbr","full":"_PYPdA","small":"_3GPDR","label":"_1SETD","focused":"_2z_Xc","wrappedInput":"_3O5wL"};
|
|
2065
|
+
var stylesheet$8="._2xnfm{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}._2xnfm::-moz-placeholder{color:#515559;opacity:1}._2xnfm::placeholder{color:#515559;opacity:1}._2xnfm:hover{cursor:pointer;background-color:#f5f5f5}._2xnfm:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._2xnfm._23vXv{border-color:#b00}._2xnfm._23vXv:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2xnfm:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2xnfm:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2xnfm:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2xnfm._3nQbr{height:auto}._2xnfm._3nQbr::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._2xnfm._PYPdA{display:block;width:100%}._2xnfm._3GPDR{padding:4px 8px}input._2xnfm._3GPDR{height:26px;min-height:26px}[type=number]._2xnfm{-moz-appearance:textfield}[type=number]._2xnfm::-webkit-inner-spin-button,[type=number]._2xnfm::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1SETD{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._1SETD:hover{cursor:pointer}._1SETD._2z_Xc{color:#0b6ed0}._3O5wL{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 = "._OE8Po{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}._OE8Po:focus{outline:none}._OE8Po:hover:not(._3NRZx){background-color:rgba(50,54,58,.08)}._OE8Po:active:not(._3NRZx){background-color:rgba(50,54,58,.11);stroke-width:2}._OE8Po._3NRZx{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._OE8Po:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2167
|
+
var styles$6 = {"button":"_OE8Po","disabled":"_3NRZx"};
|
|
2168
|
+
var stylesheet$7="._OE8Po{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}._OE8Po:focus{outline:none}._OE8Po:hover:not(._3NRZx){background-color:rgba(50,54,58,.08)}._OE8Po:active:not(._3NRZx){background-color:rgba(50,54,58,.11);stroke-width:2}._OE8Po._3NRZx{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._OE8Po: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 = "._38mvY{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
2228
|
+
var styles$5 = {"divider":"_38mvY"};
|
|
2229
|
+
var stylesheet$6="._38mvY{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 = "._2Nf7j{max-width:100%;position:relative;display:inline-block}._2AZjQ{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._2AZjQ:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._2AZjQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._2AZjQ:disabled,._2AZjQ[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._2AZjQ._2IRto{border-color:#b00}._2AZjQ._2IRto:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._2AZjQ._1ak4_{min-width:120px;padding:0 4px 0 12px}._2AZjQ._I3-sf{margin-top:4px}._2AZjQ._M346s:not([aria-disabled=true]):not(:disabled){color:#32363a}._2AZjQ ._2z4RJ{display:inline-flex;align-items:center;min-height:10px}._2AZjQ ._2z4RJ._3JA_s{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._2AZjQ ._6UAJ2{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._2AZjQ ._6UAJ2._NRV7F{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._2AZjQ ._6UAJ2._2sB1w{transform:rotate(-180deg)}._3VRUv[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._1qr7x{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._1IFVq{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._UVl50{fill:#515559}._odytm{margin:2px 12px 2px 0}._odytm._1X-F3>svg{border-color:#0b6ed0}._1eZeF{width:100%}";
|
|
2244
|
+
var styles$4 = {"container":"_2Nf7j","button":"_2AZjQ","invalid":"_2IRto","hasText":"_1ak4_","labelled":"_I3-sf","selected":"_M346s","buttonLabel":"_2z4RJ","isString":"_3JA_s","icon":"_6UAJ2","disabled":"_NRV7F","open":"_2sB1w","option":"_3VRUv","search":"_1qr7x","emptyOption":"_1IFVq","searchIcon":"_UVl50","checkbox":"_odytm","highlighted":"_1X-F3","searchInput":"_1eZeF"};
|
|
2245
|
+
var stylesheet$5="._2Nf7j{max-width:100%;position:relative;display:inline-block}._2AZjQ{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._2AZjQ:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._2AZjQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._2AZjQ:disabled,._2AZjQ[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._2AZjQ._2IRto{border-color:#b00}._2AZjQ._2IRto:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._2AZjQ._1ak4_{min-width:120px;padding:0 4px 0 12px}._2AZjQ._I3-sf{margin-top:4px}._2AZjQ._M346s:not([aria-disabled=true]):not(:disabled){color:#32363a}._2AZjQ ._2z4RJ{display:inline-flex;align-items:center;min-height:10px}._2AZjQ ._2z4RJ._3JA_s{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._2AZjQ ._6UAJ2{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._2AZjQ ._6UAJ2._NRV7F{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._2AZjQ ._6UAJ2._2sB1w{transform:rotate(-180deg)}._3VRUv[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._1qr7x{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._1IFVq{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._UVl50{fill:#515559}._odytm{margin:2px 12px 2px 0}._odytm._1X-F3>svg{border-color:#0b6ed0}._1eZeF{width:100%}";
|
|
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 = "._2Dsdy{position:relative;display:inline-block;height:36px}._2u7bu{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}._2u7bu:hover{cursor:pointer;background-color:#f5f5f5}._2u7bu:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._2u7bu:disabled,._2u7bu[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2u7bu:disabled::-moz-placeholder,._2u7bu[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2u7bu:disabled::placeholder,._2u7bu[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2u7bu:invalid,._2u7bu[aria-invalid=true]{border-color:#b00}._2u7bu:invalid:focus,._2u7bu[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2u7bu[type=number]{-moz-appearance:textfield}._2u7bu[type=number]::-webkit-inner-spin-button,._2u7bu[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2u7bu::-moz-placeholder{color:#515559;opacity:1}._2u7bu::placeholder{color:#515559;opacity:1}._1NcJv{pointer-events:none;color:#515559;fill:#515559}._-uEgv{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._2HMrz{color:#515559;font-size:16px}._HofLi{left:0;margin-left:6px}._HofLi,._Ovac2{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._Ovac2{right:0;margin-right:6px}";
|
|
2600
|
+
var inputClasses = {"container":"_2Dsdy","input":"_2u7bu","addOn":"_1NcJv","addOnVerticalCenter":"_-uEgv","addOnTextNode":"_2HMrz","leftAddOn":"_HofLi","rightAddOn":"_Ovac2"};
|
|
2601
|
+
var stylesheet$4="._2Dsdy{position:relative;display:inline-block;height:36px}._2u7bu{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}._2u7bu:hover{cursor:pointer;background-color:#f5f5f5}._2u7bu:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._2u7bu:disabled,._2u7bu[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2u7bu:disabled::-moz-placeholder,._2u7bu[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2u7bu:disabled::placeholder,._2u7bu[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2u7bu:invalid,._2u7bu[aria-invalid=true]{border-color:#b00}._2u7bu:invalid:focus,._2u7bu[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2u7bu[type=number]{-moz-appearance:textfield}._2u7bu[type=number]::-webkit-inner-spin-button,._2u7bu[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2u7bu::-moz-placeholder{color:#515559;opacity:1}._2u7bu::placeholder{color:#515559;opacity:1}._1NcJv{pointer-events:none;color:#515559;fill:#515559}._-uEgv{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._2HMrz{color:#515559;font-size:16px}._HofLi{left:0;margin-left:6px}._HofLi,._Ovac2{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._Ovac2{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 = "._3Jb5w{display:inline-flex;position:relative}._3Jb5w,._XLM_M{cursor:pointer;height:16px;width:16px}._XLM_M{position:absolute;opacity:0;z-index:10}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill-opacity:1}._XLM_M._1_bgh~._2-kfW{border-color:transparent;background-color:#0b6ed0}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill:#fff}._XLM_M._1_bgh:hover~._2-kfW{background-color:#085caf}._XLM_M:not(._1_bgh):hover~._2-kfW{border-color:#0b6ed0}._XLM_M._2TrM2{cursor:not-allowed}._XLM_M._2TrM2~._2-kfW{opacity:.4}._2-kfW{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._dEl1r{fill:#0b6ed0;fill-opacity:0}";
|
|
3203
|
+
var styles$3 = {"checkbox":"_3Jb5w","input":"_XLM_M","checked":"_1_bgh","check":"_2-kfW","checkIcon":"_dEl1r","disabled":"_2TrM2"};
|
|
3204
|
+
var stylesheet$3="._3Jb5w{display:inline-flex;position:relative}._3Jb5w,._XLM_M{cursor:pointer;height:16px;width:16px}._XLM_M{position:absolute;opacity:0;z-index:10}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill-opacity:1}._XLM_M._1_bgh~._2-kfW{border-color:transparent;background-color:#0b6ed0}._XLM_M._1_bgh~._2-kfW>._dEl1r{fill:#fff}._XLM_M._1_bgh:hover~._2-kfW{background-color:#085caf}._XLM_M:not(._1_bgh):hover~._2-kfW{border-color:#0b6ed0}._XLM_M._2TrM2{cursor:not-allowed}._XLM_M._2TrM2~._2-kfW{opacity:.4}._2-kfW{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._dEl1r{fill:#0b6ed0;fill-opacity:0}";
|
|
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 = "._3dYCE._3dYCE{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}._3dYCE._3dYCE,._3dYCE._3dYCE ._20J5Q{display:inline-flex;align-items:center}._3dYCE._3dYCE ._20J5Q{overflow:hidden;text-overflow:ellipsis}._3dYCE._3dYCE._3qlG8{min-height:26px;height:26px}._3dYCE._3dYCE._hIF-b{color:#32363a}._3dYCE._3dYCE:hover:not([aria-disabled=true]){background-color:#f5f5f5}._3dYCE._3dYCE:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3dYCE._3dYCE[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._3dYCE._3dYCE[aria-disabled=true]>svg{fill:#515559;opacity:.4}._3dYCE._3dYCE[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3dYCE._3dYCE._3Wv33{padding-left:0}._3dYCE._3dYCE._1-XB5{margin-top:4px}._3dYCE._3dYCE ._32AdW{fill:#515559}._3dYCE._3dYCE ._32AdW._3qlG8{top:0}._3dYCE._3dYCE ._32AdW._1z4_W{transform:rotate(-180deg)}._2txLW{overflow-x:hidden;overflow-y:auto;overflow:hidden auto;position:relative}._2ZUkd{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}._2ZUkd::-webkit-scrollbar,._2ZUkd::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._2ZUkd::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._2ZUkd::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._2ZUkd:hover::-webkit-scrollbar,._2ZUkd:hover::-webkit-scrollbar-thumb,._2ZUkd[focus-within]::-webkit-scrollbar,._2ZUkd[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._2ZUkd:focus-within::-webkit-scrollbar,._2ZUkd:focus-within::-webkit-scrollbar-thumb,._2ZUkd:hover::-webkit-scrollbar,._2ZUkd:hover::-webkit-scrollbar-thumb{visibility:visible}._2yaAP{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._2yaAP[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._2yaAP._3tpcR{background-color:#efefef}._2yaAP._3M1Pl{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._2yaAP._hIF-b{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._2yaAP._hIF-b._3tpcR{background-color:#e4effa}._2yaAP._8m8Iz{cursor:default}._2yaAP:active:not(._1M9DF):not(._hIF-b):not([aria-disabled=true]):not(._8m8Iz){background-color:#e8e9e9}._1M9DF{padding-right:32px}._1M9DF ._32AdW{position:absolute;top:8px;right:3px;fill:#515559}._3uMn7{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._13GZY{position:absolute;top:13px;left:13px}._337AF._337AF{padding-left:32px}._2KQaR{margin:2px 12px 2px 0;flex-shrink:0}._2KQaR._2cXoJ>svg{border-color:#0b6ed0}._3wO-L{display:flex;justify-self:center;margin:8px}";
|
|
3343
|
+
var styles$2 = {"menuBtn":"_3dYCE","menuBtnLabel":"_20J5Q","small":"_3qlG8","selected":"_hIF-b","unlabelledButton":"_3Wv33","formLabelled":"_1-XB5","rightIcon":"_32AdW","open":"_1z4_W","menuItemContainer":"_2txLW","contentPane":"_2ZUkd","menuItem":"_2yaAP","active":"_3tpcR","focus":"_3M1Pl","noMenuItems":"_8m8Iz","subMenu":"_1M9DF","searchBox":"_3uMn7","searchBoxIcon":"_13GZY","searchBoxInput":"_337AF","checkbox":"_2KQaR","highlighted":"_2cXoJ","menuSpinner":"_3wO-L"};
|
|
3344
|
+
var stylesheet$2="._3dYCE._3dYCE{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}._3dYCE._3dYCE,._3dYCE._3dYCE ._20J5Q{display:inline-flex;align-items:center}._3dYCE._3dYCE ._20J5Q{overflow:hidden;text-overflow:ellipsis}._3dYCE._3dYCE._3qlG8{min-height:26px;height:26px}._3dYCE._3dYCE._hIF-b{color:#32363a}._3dYCE._3dYCE:hover:not([aria-disabled=true]){background-color:#f5f5f5}._3dYCE._3dYCE:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3dYCE._3dYCE[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._3dYCE._3dYCE[aria-disabled=true]>svg{fill:#515559;opacity:.4}._3dYCE._3dYCE[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3dYCE._3dYCE._3Wv33{padding-left:0}._3dYCE._3dYCE._1-XB5{margin-top:4px}._3dYCE._3dYCE ._32AdW{fill:#515559}._3dYCE._3dYCE ._32AdW._3qlG8{top:0}._3dYCE._3dYCE ._32AdW._1z4_W{transform:rotate(-180deg)}._2txLW{overflow-x:hidden;overflow-y:auto;overflow:hidden auto;position:relative}._2ZUkd{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}._2ZUkd::-webkit-scrollbar,._2ZUkd::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._2ZUkd::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._2ZUkd::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._2ZUkd:hover::-webkit-scrollbar,._2ZUkd:hover::-webkit-scrollbar-thumb,._2ZUkd[focus-within]::-webkit-scrollbar,._2ZUkd[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._2ZUkd:focus-within::-webkit-scrollbar,._2ZUkd:focus-within::-webkit-scrollbar-thumb,._2ZUkd:hover::-webkit-scrollbar,._2ZUkd:hover::-webkit-scrollbar-thumb{visibility:visible}._2yaAP{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._2yaAP[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._2yaAP._3tpcR{background-color:#efefef}._2yaAP._3M1Pl{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._2yaAP._hIF-b{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._2yaAP._hIF-b._3tpcR{background-color:#e4effa}._2yaAP._8m8Iz{cursor:default}._2yaAP:active:not(._1M9DF):not(._hIF-b):not([aria-disabled=true]):not(._8m8Iz){background-color:#e8e9e9}._1M9DF{padding-right:32px}._1M9DF ._32AdW{position:absolute;top:8px;right:3px;fill:#515559}._3uMn7{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._13GZY{position:absolute;top:13px;left:13px}._337AF._337AF{padding-left:32px}._2KQaR{margin:2px 12px 2px 0;flex-shrink:0}._2KQaR._2cXoJ>svg{border-color:#0b6ed0}._3wO-L{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) => {
|
|
@@ -3533,11 +3537,13 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3533
3537
|
'data-popper-ready': isPopperReady,
|
|
3534
3538
|
// comes from Popper.js where ArrowNav is cloned
|
|
3535
3539
|
style,
|
|
3540
|
+
'aria-labelledby': ariaLabelledBy,
|
|
3536
3541
|
...rest
|
|
3537
3542
|
} = _ref;
|
|
3538
3543
|
const [isKeyboardUser, setIsKeyboardUser] = React.useState(false);
|
|
3539
3544
|
const containerRef = React.useRef(null);
|
|
3540
3545
|
const menuItemContainerRef = React.useRef(null);
|
|
3546
|
+
const menuId = useId();
|
|
3541
3547
|
const [refs, allChildren] = useChildrenRefs(children, (child, index) => ({
|
|
3542
3548
|
tabIndex: -1,
|
|
3543
3549
|
onMouseEnter: wrapEvent(child.props.onMouseEnter, () => {
|
|
@@ -3624,7 +3630,6 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3624
3630
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
3625
3631
|
React__default["default"].createElement("div", _extends__default["default"]({
|
|
3626
3632
|
ref: mergeRefs(containerRef, ref),
|
|
3627
|
-
role: role,
|
|
3628
3633
|
tabIndex: tabIndex,
|
|
3629
3634
|
onKeyDown: wrapEvent(onKeyDown, handleKeyDown),
|
|
3630
3635
|
"data-popper-ready": isPopperReady,
|
|
@@ -3632,6 +3637,7 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3632
3637
|
minWidth
|
|
3633
3638
|
}
|
|
3634
3639
|
}, rest), searchable && /*#__PURE__*/React__default["default"].createElement(MenuSearchBox, {
|
|
3640
|
+
"aria-controls": menuId,
|
|
3635
3641
|
value: searchTerm,
|
|
3636
3642
|
ref: searchBoxRef,
|
|
3637
3643
|
onChange: e => {
|
|
@@ -3639,7 +3645,9 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3639
3645
|
},
|
|
3640
3646
|
onFocus: () => onHighlightedIndexChange(0)
|
|
3641
3647
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3642
|
-
|
|
3648
|
+
id: menuId,
|
|
3649
|
+
role: role,
|
|
3650
|
+
"aria-labelledby": ariaLabelledBy,
|
|
3643
3651
|
style: {
|
|
3644
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)
|
|
3645
3653
|
Math.min(350, (isSubmenu ? // Submenus: window height - submenu popper offset - 8px of container padding - half of anchor height (fallback to default 18px))
|
|
@@ -3652,144 +3660,6 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3652
3660
|
);
|
|
3653
3661
|
});
|
|
3654
3662
|
|
|
3655
|
-
const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
3656
|
-
let {
|
|
3657
|
-
onSearch,
|
|
3658
|
-
debouncePeriod = 0,
|
|
3659
|
-
throttlePeriod = 0,
|
|
3660
|
-
setIsLoading,
|
|
3661
|
-
items = [],
|
|
3662
|
-
setItems,
|
|
3663
|
-
minChars = 1,
|
|
3664
|
-
value: externalValue,
|
|
3665
|
-
defaultValue = '',
|
|
3666
|
-
onChange,
|
|
3667
|
-
...rest
|
|
3668
|
-
} = _ref;
|
|
3669
|
-
const isMounted = useMounted();
|
|
3670
|
-
const [internalValue, setInternalValue] = React.useState(defaultValue);
|
|
3671
|
-
const isControlled = externalValue !== undefined;
|
|
3672
|
-
const value = isControlled ? externalValue : internalValue;
|
|
3673
|
-
const valueRef = useLatest(value);
|
|
3674
|
-
const [changed, setChanged] = React.useState(false);
|
|
3675
|
-
const {
|
|
3676
|
-
isOpen: open,
|
|
3677
|
-
setIsOpen,
|
|
3678
|
-
closeAndFocusAnchor: internalCloseMenu,
|
|
3679
|
-
anchorRef,
|
|
3680
|
-
setHighlightedIndex // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3681
|
-
|
|
3682
|
-
} = useMenuContext();
|
|
3683
|
-
|
|
3684
|
-
const openMenu = () => {
|
|
3685
|
-
// this prevents the "no items to display" text from appearing on initial open.
|
|
3686
|
-
if (!open) {
|
|
3687
|
-
setIsLoading(true);
|
|
3688
|
-
}
|
|
3689
|
-
|
|
3690
|
-
setIsOpen === null || setIsOpen === void 0 ? void 0 : setIsOpen(true);
|
|
3691
|
-
};
|
|
3692
|
-
|
|
3693
|
-
const closeMenu = React.useCallback(() => {
|
|
3694
|
-
setItems([]);
|
|
3695
|
-
internalCloseMenu === null || internalCloseMenu === void 0 ? void 0 : internalCloseMenu();
|
|
3696
|
-
setIsLoading(true);
|
|
3697
|
-
}, [setItems, internalCloseMenu, setIsLoading]);
|
|
3698
|
-
const onSearchRef = useLatest(onSearch);
|
|
3699
|
-
const handleSearch = React.useCallback(queryValue => {
|
|
3700
|
-
if (!isMounted.current) {
|
|
3701
|
-
return;
|
|
3702
|
-
}
|
|
3703
|
-
|
|
3704
|
-
setIsLoading(true);
|
|
3705
|
-
Promise.resolve(onSearchRef.current && onSearchRef.current(queryValue)).then(newItems => {
|
|
3706
|
-
if (isMounted.current && queryValue === valueRef.current) {
|
|
3707
|
-
setItems(newItems);
|
|
3708
|
-
setIsLoading(false);
|
|
3709
|
-
}
|
|
3710
|
-
});
|
|
3711
|
-
}, [isMounted, onSearchRef, setIsLoading, valueRef, setItems]);
|
|
3712
|
-
const handleSearchThrottledDebounced = React.useCallback(throttleDebounce.debounce(debouncePeriod, throttleDebounce.throttle(throttlePeriod, handleSearch)), [debouncePeriod, throttlePeriod, handleSearch]);
|
|
3713
|
-
|
|
3714
|
-
const handleChange = e => {
|
|
3715
|
-
setChanged(true);
|
|
3716
|
-
|
|
3717
|
-
if (!isControlled) {
|
|
3718
|
-
setInternalValue(e.target.value);
|
|
3719
|
-
}
|
|
3720
|
-
|
|
3721
|
-
if (typeof onChange === 'function') {
|
|
3722
|
-
onChange(e);
|
|
3723
|
-
}
|
|
3724
|
-
};
|
|
3725
|
-
|
|
3726
|
-
const handleKeyDown = e => {
|
|
3727
|
-
if (e.key === 'Enter' || e.key === 'ArrowDown') {
|
|
3728
|
-
e.preventDefault(); // prevent scroll
|
|
3729
|
-
|
|
3730
|
-
openMenu();
|
|
3731
|
-
setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(0);
|
|
3732
|
-
|
|
3733
|
-
if (!open) {
|
|
3734
|
-
handleSearch(value);
|
|
3735
|
-
}
|
|
3736
|
-
} else if (e.key === 'ArrowUp') {
|
|
3737
|
-
e.preventDefault(); // prevent scroll
|
|
3738
|
-
|
|
3739
|
-
openMenu();
|
|
3740
|
-
setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(items.length - 1);
|
|
3741
|
-
|
|
3742
|
-
if (!open) {
|
|
3743
|
-
handleSearch(value);
|
|
3744
|
-
}
|
|
3745
|
-
} else if (e.key === 'Escape') {
|
|
3746
|
-
e.preventDefault();
|
|
3747
|
-
handleChange({
|
|
3748
|
-
target: {
|
|
3749
|
-
value: ''
|
|
3750
|
-
}
|
|
3751
|
-
});
|
|
3752
|
-
|
|
3753
|
-
if (open) {
|
|
3754
|
-
e.stopPropagation(); // prevent event from closing modals or popovers
|
|
3755
|
-
|
|
3756
|
-
closeMenu();
|
|
3757
|
-
}
|
|
3758
|
-
} else if (e.key === 'Tab') {
|
|
3759
|
-
if (open) {
|
|
3760
|
-
closeMenu();
|
|
3761
|
-
}
|
|
3762
|
-
}
|
|
3763
|
-
};
|
|
3764
|
-
|
|
3765
|
-
useEnhancedDidUpdate(() => {
|
|
3766
|
-
const shouldClose = value.length < minChars;
|
|
3767
|
-
|
|
3768
|
-
if (changed) {
|
|
3769
|
-
setChanged(false);
|
|
3770
|
-
|
|
3771
|
-
if (shouldClose) {
|
|
3772
|
-
setChanged(false);
|
|
3773
|
-
closeMenu();
|
|
3774
|
-
} else {
|
|
3775
|
-
openMenu();
|
|
3776
|
-
handleSearchThrottledDebounced(value);
|
|
3777
|
-
}
|
|
3778
|
-
}
|
|
3779
|
-
}, [handleSearchThrottledDebounced, minChars, value, openMenu, closeMenu, changed]);
|
|
3780
|
-
return (
|
|
3781
|
-
/*#__PURE__*/
|
|
3782
|
-
// @ts-ignore: Allow aria-expanded to be set to null to override the value set by Menu
|
|
3783
|
-
React__default["default"].createElement(Input$1, _extends__default["default"]({}, rest, {
|
|
3784
|
-
"aria-expanded": null,
|
|
3785
|
-
onChange: handleChange,
|
|
3786
|
-
onKeyDown: handleKeyDown,
|
|
3787
|
-
ref: mergeRefs(ref, anchorRef),
|
|
3788
|
-
value: value
|
|
3789
|
-
}))
|
|
3790
|
-
);
|
|
3791
|
-
});
|
|
3792
|
-
|
|
3793
3663
|
const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
3794
3664
|
var _externalAnchor$props, _externalAnchor$props2, _useMenuContext, _externalAnchor$props3, _externalAnchor$props4, _externalAnchor$props5, _externalAnchor$props6, _externalAnchor$props7, _externalAnchor$props8, _externalAnchor$props9, _anchorRef$current;
|
|
3795
3665
|
|
|
@@ -4087,10 +3957,10 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
4087
3957
|
}
|
|
4088
3958
|
|
|
4089
3959
|
useDidUpdate(() => {
|
|
4090
|
-
if (
|
|
3960
|
+
if (popperIsOpen && noResults) {
|
|
4091
3961
|
announceToScreenReader(noMenuItemsToDisplayText);
|
|
4092
3962
|
}
|
|
4093
|
-
}, [
|
|
3963
|
+
}, [noResults, popperIsOpen, announceToScreenReader, noMenuItemsToDisplayText]);
|
|
4094
3964
|
const searchBoxRef = React.useRef();
|
|
4095
3965
|
const arrowNavRef = React.useRef(null);
|
|
4096
3966
|
return /*#__PURE__*/React__default["default"].createElement(MenuContextProvider, {
|
|
@@ -4290,9 +4160,9 @@ const SelectMenu = /*#__PURE__*/React__default["default"].forwardRef(function Se
|
|
|
4290
4160
|
}, rest));
|
|
4291
4161
|
});
|
|
4292
4162
|
|
|
4293
|
-
var css_248z$1 = ".
|
|
4294
|
-
var styles$1 = {"pagination":"
|
|
4295
|
-
var stylesheet$1=".
|
|
4163
|
+
var css_248z$1 = "._kQh1Y{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._yZkDq{margin-right:8px}._RUpRQ{margin-left:8px}._2_FEL{margin:-10px -15px}._2OdeK{width:100%;text-align:center}";
|
|
4164
|
+
var styles$1 = {"pagination":"_kQh1Y","previousButton":"_yZkDq","nextButton":"_RUpRQ","btnIcon":"_2_FEL","input":"_2OdeK"};
|
|
4165
|
+
var stylesheet$1="._kQh1Y{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._yZkDq{margin-right:8px}._RUpRQ{margin-left:8px}._2_FEL{margin:-10px -15px}._2OdeK{width:100%;text-align:center}";
|
|
4296
4166
|
icons_index.styleInject(css_248z$1);
|
|
4297
4167
|
|
|
4298
4168
|
const {
|
|
@@ -4587,9 +4457,9 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4587
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))));
|
|
4588
4458
|
});
|
|
4589
4459
|
|
|
4590
|
-
var css_248z = ".
|
|
4591
|
-
var styles = {"searchInput":"
|
|
4592
|
-
var stylesheet=".
|
|
4460
|
+
var css_248z = "._10m02{display:inline-block;position:relative}._2yUpm._2yUpm{padding-left:36px;padding-right:36px;width:100%}._2yUpm._2yUpm:disabled+._1NmhS{fill-opacity:.6}._1NmhS{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._1NmhS._3kOrk{z-index:20}._Jum5h{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._Jum5h:hover{cursor:pointer}._Jum5h:hover>._2SkTJ{fill:#32363a}._Jum5h:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2SkTJ{fill:#515559}";
|
|
4461
|
+
var styles = {"searchInput":"_10m02","searchInputInput":"_2yUpm","searchInputSearchIcon":"_1NmhS","usedWithinInputGroup":"_3kOrk","searchInputClearButton":"_Jum5h","searchInputClearButtonIcon":"_2SkTJ"};
|
|
4462
|
+
var stylesheet="._10m02{display:inline-block;position:relative}._2yUpm._2yUpm{padding-left:36px;padding-right:36px;width:100%}._2yUpm._2yUpm:disabled+._1NmhS{fill-opacity:.6}._1NmhS{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._1NmhS._3kOrk{z-index:20}._Jum5h{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._Jum5h:hover{cursor:pointer}._Jum5h:hover>._2SkTJ{fill:#32363a}._Jum5h:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2SkTJ{fill:#515559}";
|
|
4593
4463
|
icons_index.styleInject(css_248z);
|
|
4594
4464
|
|
|
4595
4465
|
const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -4695,8 +4565,22 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4695
4565
|
|
|
4696
4566
|
/* eslint-disable import/prefer-default-export */
|
|
4697
4567
|
|
|
4568
|
+
const UIProvider = _ref => {
|
|
4569
|
+
let {
|
|
4570
|
+
children,
|
|
4571
|
+
portalTarget,
|
|
4572
|
+
config = {}
|
|
4573
|
+
} = _ref;
|
|
4574
|
+
return /*#__PURE__*/React__default["default"].createElement(TranslationProvider, {
|
|
4575
|
+
localizedText: config === null || config === void 0 ? void 0 : config.localizedText
|
|
4576
|
+
}, /*#__PURE__*/React__default["default"].createElement(PortalTargetProvider, {
|
|
4577
|
+
target: portalTarget !== null && portalTarget !== void 0 ? portalTarget : null
|
|
4578
|
+
}, children));
|
|
4579
|
+
};
|
|
4580
|
+
|
|
4698
4581
|
exports.Button = Button;
|
|
4699
4582
|
exports.Checkbox = Checkbox;
|
|
4583
|
+
exports.ChildIndexProvider = ChildIndexProvider;
|
|
4700
4584
|
exports.DEFAULT_BREAKPOINTS = DEFAULT_BREAKPOINTS;
|
|
4701
4585
|
exports.Divider = Divider;
|
|
4702
4586
|
exports.Dropdown = Dropdown;
|
|
@@ -4726,13 +4610,12 @@ exports.PaginationPreviousButton = PaginationPreviousButton;
|
|
|
4726
4610
|
exports.Popper = Popper;
|
|
4727
4611
|
exports.Portal = Portal;
|
|
4728
4612
|
exports.PortalTargetProvider = PortalTargetProvider;
|
|
4729
|
-
exports.QuickSearchInput = QuickSearchInput;
|
|
4730
4613
|
exports.SearchInput = SearchInput;
|
|
4731
4614
|
exports.SelectMenu = SelectMenu;
|
|
4732
4615
|
exports.Text = Text;
|
|
4733
4616
|
exports.TextOverflowTooltip = TextOverflowTooltip;
|
|
4734
4617
|
exports.Tooltip = Tooltip;
|
|
4735
|
-
exports.
|
|
4618
|
+
exports.UIProvider = UIProvider;
|
|
4736
4619
|
exports.buttonStyles = buttonStyles;
|
|
4737
4620
|
exports.concatIds = concatIds;
|
|
4738
4621
|
exports.createContextUtilities = createContextUtilities;
|
|
@@ -4744,10 +4627,12 @@ exports.mergeRefs = mergeRefs;
|
|
|
4744
4627
|
exports.setIsKeyboardUser = setIsKeyboardUser;
|
|
4745
4628
|
exports.styles = styles$9;
|
|
4746
4629
|
exports.useBreakpoints = useBreakpoints;
|
|
4630
|
+
exports.useChildIndex = useChildIndex;
|
|
4747
4631
|
exports.useClickOutside = useClickOutside;
|
|
4748
4632
|
exports.useClickOutsidePortals = useClickOutsidePortals;
|
|
4749
4633
|
exports.useControllableState = useControllableState;
|
|
4750
4634
|
exports.useDidUpdate = useDidUpdate;
|
|
4635
|
+
exports.useEnhancedDidUpdate = useEnhancedDidUpdate;
|
|
4751
4636
|
exports.useEventCallback = useEventCallback;
|
|
4752
4637
|
exports.useEventListener = useEventListener;
|
|
4753
4638
|
exports.useFocusSequence = useFocusSequence;
|
|
@@ -4758,8 +4643,10 @@ exports.useInputGroupContext = useInputGroupContext;
|
|
|
4758
4643
|
exports.useIsFocused = useIsFocused;
|
|
4759
4644
|
exports.useIsHovered = useIsHovered;
|
|
4760
4645
|
exports.useLatest = useLatest;
|
|
4646
|
+
exports.useMenuContext = useMenuContext;
|
|
4761
4647
|
exports.useMounted = useMounted;
|
|
4762
4648
|
exports.useMouseDrag = useMouseDrag;
|
|
4649
|
+
exports.usePortalTarget = usePortalTarget;
|
|
4763
4650
|
exports.usePrevious = usePrevious;
|
|
4764
4651
|
exports.useResponsiveValue = useResponsiveValue;
|
|
4765
4652
|
exports.useSSRLayoutEffect = useSSRLayoutEffect;
|