@qualtrics/ui-react 2.3.1 → 2.5.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 +43 -0
- package/dist/__shared/cjs/{index-6a6ddc8c.js → index-0e2c0191.js} +155 -159
- package/dist/__shared/cjs/{index-bd762376.js → index-6a9c8483.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Accordion/AccordionPanel.js +3 -1
- 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/VisualCheckbox.js +31 -0
- package/dist/components/Checkbox/VisualCheckbox2.js +8 -0
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane.js +2 -1
- 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/Dropdown/DropdownOption.js +3 -4
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +7 -1
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +2 -0
- package/dist/components/NewMenu/parts/MenuItem.js +3 -7
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +132 -91
- package/dist/next/AdvancedTable/AdvancedTable.js +1 -1
- 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/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/index.d.ts +1 -1
- package/dist/next/index.js +21 -21
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
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-6a9c8483.js');
|
|
7
7
|
var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
8
8
|
var throttleDebounce = require('throttle-debounce');
|
|
9
9
|
var reactPopper = require('react-popper');
|
|
@@ -102,15 +102,15 @@ function filterChildren(children, queries) {
|
|
|
102
102
|
return [_filterChildren(children, queries, matchesList), matchesList];
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
var css_248z$
|
|
106
|
-
var styles$
|
|
107
|
-
var stylesheet$
|
|
108
|
-
icons_index.styleInject(css_248z$
|
|
105
|
+
var css_248z$g = "._1GMoY{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}._L1kAJ{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}._L1kAJ._1LII7,._L1kAJ._Z4Hqc._L1kAJ:hover{background-color:#efefef}._L1kAJ._1GfUc{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._L1kAJ._1GfUc._1LII7,._L1kAJ._1GfUc._Z4Hqc._L1kAJ._1GfUc:hover{background-color:#e4effa}._L1kAJ:active:not(._1GfUc):not([aria-disabled=true]){background-color:#e8e9e9}._3soZW ._1fv4P{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}._3soZW ._p5D5f{display:none}._3soZW:not(:first-child) ._p5D5f{display:block;margin:3.5px 0}._gjDSv{width:100%;height:40px}";
|
|
106
|
+
var styles$c = {"flyout":"_1GMoY","flyoutOption":"_L1kAJ","highlighted":"_1LII7","hoverHighlight":"_Z4Hqc","selected":"_1GfUc","flyoutHeader":"_3soZW","headerContent":"_1fv4P","headerDivider":"_p5D5f","flyoutSpinner":"_gjDSv"};
|
|
107
|
+
var stylesheet$g="._1GMoY{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}._L1kAJ{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}._L1kAJ._1LII7,._L1kAJ._Z4Hqc._L1kAJ:hover{background-color:#efefef}._L1kAJ._1GfUc{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._L1kAJ._1GfUc._1LII7,._L1kAJ._1GfUc._Z4Hqc._L1kAJ._1GfUc:hover{background-color:#e4effa}._L1kAJ:active:not(._1GfUc):not([aria-disabled=true]){background-color:#e8e9e9}._3soZW ._1fv4P{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}._3soZW ._p5D5f{display:none}._3soZW:not(:first-child) ._p5D5f{display:block;margin:3.5px 0}._gjDSv{width:100%;height:40px}";
|
|
108
|
+
icons_index.styleInject(css_248z$g);
|
|
109
109
|
|
|
110
|
-
var css_248z$
|
|
111
|
-
var styles$
|
|
112
|
-
var stylesheet$
|
|
113
|
-
icons_index.styleInject(css_248z$
|
|
110
|
+
var css_248z$f = "._26vid{position:relative;display:inline-block}._26vid._1pjeR{min-height:20px;min-width:20px}._26vid._13a4w{min-height:25px;min-width:25px}._26vid._2rDX7{min-height:40px;min-width:40px}._26vid._2WO2e{min-height:64px;min-width:64px}._26vid ._5LxPX{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._26vid ._5LxPX._C1-fX{visibility:hidden}._26vid ._5LxPX div{position:absolute;transform:rotate(20deg)}._26vid ._5LxPX div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_5LxPX .8s linear infinite;animation:_5LxPX .8s linear infinite}._26vid ._5LxPX 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}._26vid ._5LxPX div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._26vid ._5LxPX div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._26vid ._5LxPX div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._26vid ._5LxPX div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._26vid ._5LxPX div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._26vid ._5LxPX div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._26vid ._5LxPX div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._26vid ._5LxPX div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._26vid ._5LxPX div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._26vid ._2WO2e div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._26vid ._1pjeR div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._26vid ._13a4w div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._26vid ._2KR_A div div:nth-child(-n+9):after{background:#fff}._26vid ._2l7vb{width:100%;height:100%}._26vid ._2l7vb._3ckqY{pointer-events:none}._26vid ._2l7vb._C1-fX{opacity:0}._26vid ._2l7vb._Ir0wl{opacity:.5}@-webkit-keyframes _5LxPX{0%{opacity:1}to{opacity:0}}@keyframes _5LxPX{0%{opacity:1}to{opacity:0}}";
|
|
111
|
+
var styles$b = {"spinnerContainer":"_26vid","xs":"_1pjeR","small":"_13a4w","medium":"_2rDX7","large":"_2WO2e","spinnerComponent":"_5LxPX","hide":"_C1-fX","inverted":"_2KR_A","spinnerContent":"_2l7vb","disablePointerEvents":"_3ckqY","fade":"_Ir0wl"};
|
|
112
|
+
var stylesheet$f="._26vid{position:relative;display:inline-block}._26vid._1pjeR{min-height:20px;min-width:20px}._26vid._13a4w{min-height:25px;min-width:25px}._26vid._2rDX7{min-height:40px;min-width:40px}._26vid._2WO2e{min-height:64px;min-width:64px}._26vid ._5LxPX{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._26vid ._5LxPX._C1-fX{visibility:hidden}._26vid ._5LxPX div{position:absolute;transform:rotate(20deg)}._26vid ._5LxPX div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_5LxPX .8s linear infinite;animation:_5LxPX .8s linear infinite}._26vid ._5LxPX 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}._26vid ._5LxPX div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._26vid ._5LxPX div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._26vid ._5LxPX div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._26vid ._5LxPX div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._26vid ._5LxPX div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._26vid ._5LxPX div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._26vid ._5LxPX div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._26vid ._5LxPX div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._26vid ._5LxPX div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._26vid ._2WO2e div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._26vid ._1pjeR div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._26vid ._13a4w div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._26vid ._2KR_A div div:nth-child(-n+9):after{background:#fff}._26vid ._2l7vb{width:100%;height:100%}._26vid ._2l7vb._3ckqY{pointer-events:none}._26vid ._2l7vb._C1-fX{opacity:0}._26vid ._2l7vb._Ir0wl{opacity:.5}@-webkit-keyframes _5LxPX{0%{opacity:1}to{opacity:0}}@keyframes _5LxPX{0%{opacity:1}to{opacity:0}}";
|
|
113
|
+
icons_index.styleInject(css_248z$f);
|
|
114
114
|
|
|
115
115
|
/* DO NOT MODIFY - THIS IS AN AUTO-GENERATED FILE */
|
|
116
116
|
var FALLBACK_LOCALIZED_TEXT = {
|
|
@@ -389,13 +389,13 @@ const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
389
389
|
const defaultAriaLabel = translate('loading');
|
|
390
390
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
391
391
|
ref: ref,
|
|
392
|
-
className: classNames__default["default"](className, styles$
|
|
393
|
-
[styles$
|
|
392
|
+
className: classNames__default["default"](className, styles$b.spinnerContainer, {
|
|
393
|
+
[styles$b[size]]: !children
|
|
394
394
|
})
|
|
395
395
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
396
|
-
className: classNames__default["default"](styles$
|
|
397
|
-
[styles$
|
|
398
|
-
[styles$
|
|
396
|
+
className: classNames__default["default"](styles$b.spinnerComponent, styles$b[size], {
|
|
397
|
+
[styles$b.inverted]: inverted,
|
|
398
|
+
[styles$b.hide]: !show
|
|
399
399
|
}),
|
|
400
400
|
"data-loadingspinner": show || undefined,
|
|
401
401
|
role: role,
|
|
@@ -404,9 +404,9 @@ const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
404
404
|
"aria-live": ariaLive,
|
|
405
405
|
"aria-hidden": ariaHidden
|
|
406
406
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null), /*#__PURE__*/React__default["default"].createElement("div", null))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
407
|
-
className: classNames__default["default"](styles$
|
|
408
|
-
[styles$
|
|
409
|
-
[styles$
|
|
407
|
+
className: classNames__default["default"](styles$b.spinnerContent, {
|
|
408
|
+
[styles$b[background]]: show,
|
|
409
|
+
[styles$b.disablePointerEvents]: show
|
|
410
410
|
})
|
|
411
411
|
}, children));
|
|
412
412
|
});
|
|
@@ -446,7 +446,7 @@ const Flyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
446
446
|
|
|
447
447
|
}, /*#__PURE__*/React__default["default"].createElement(LoadingSpinner, {
|
|
448
448
|
"aria-label": translate('loading'),
|
|
449
|
-
className: styles$
|
|
449
|
+
className: styles$c.flyoutSpinner,
|
|
450
450
|
show: true,
|
|
451
451
|
size: "small"
|
|
452
452
|
}));
|
|
@@ -457,7 +457,7 @@ const Flyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
457
457
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
458
458
|
id: id,
|
|
459
459
|
className: classNames__default["default"](className, {
|
|
460
|
-
[styles$
|
|
460
|
+
[styles$c.flyout]: !!content
|
|
461
461
|
}),
|
|
462
462
|
ref: ref,
|
|
463
463
|
role: "listbox",
|
|
@@ -479,12 +479,12 @@ const FlyoutHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
479
479
|
} = _ref;
|
|
480
480
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
481
481
|
ref: ref,
|
|
482
|
-
className: classNames__default["default"](className, styles$
|
|
482
|
+
className: classNames__default["default"](className, styles$c.flyoutHeader),
|
|
483
483
|
role: "group",
|
|
484
484
|
"aria-label": title
|
|
485
485
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
486
486
|
"aria-hidden": "true",
|
|
487
|
-
className: styles$
|
|
487
|
+
className: styles$c.headerContent
|
|
488
488
|
}, title), children);
|
|
489
489
|
});
|
|
490
490
|
|
|
@@ -502,10 +502,10 @@ const FlyoutOption = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
502
502
|
// eslint-disable-next-line jsx-a11y/interactive-supports-focus
|
|
503
503
|
React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
504
504
|
ref: ref,
|
|
505
|
-
className: classNames__default["default"](className, styles$
|
|
506
|
-
[styles$
|
|
507
|
-
[styles$
|
|
508
|
-
[styles$
|
|
505
|
+
className: classNames__default["default"](className, styles$c.flyoutOption, {
|
|
506
|
+
[styles$c.hoverHighlight]: isHighlightedOnHover,
|
|
507
|
+
[styles$c.highlighted]: isHighlighted,
|
|
508
|
+
[styles$c.selected]: isSelected
|
|
509
509
|
}),
|
|
510
510
|
role: "option",
|
|
511
511
|
"aria-selected": isSelected
|
|
@@ -554,10 +554,10 @@ function mergeRefs() {
|
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
-
var css_248z$
|
|
557
|
+
var css_248z$e = "[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
|
|
558
558
|
var Popper$1 = {};
|
|
559
|
-
var stylesheet$
|
|
560
|
-
icons_index.styleInject(css_248z$
|
|
559
|
+
var stylesheet$e="[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
|
|
560
|
+
icons_index.styleInject(css_248z$e);
|
|
561
561
|
|
|
562
562
|
const {
|
|
563
563
|
Provider,
|
|
@@ -851,10 +851,10 @@ function enableKeyboardUserClass() {
|
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
|
|
854
|
-
var css_248z$
|
|
855
|
-
var styles$
|
|
856
|
-
var stylesheet$
|
|
857
|
-
icons_index.styleInject(css_248z$
|
|
854
|
+
var css_248z$d = "._3MBfT{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}._3MBfT._2_hf1{color:#32363a;background-color:#fff}._5sECz{opacity:1;pointer-events:all}._3YCyZ,._3YCyZ>div{position:absolute;width:8px;height:8px;background:inherit}._3YCyZ{visibility:hidden;z-index:2000}._3YCyZ>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._3YCyZ{bottom:-4px}[data-popper-placement^=top]>._3YCyZ>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._3YCyZ{left:-5px}[data-popper-placement^=right]>._3YCyZ>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._3YCyZ{top:-5px}[data-popper-placement^=bottom]>._3YCyZ>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._3YCyZ{right:-4px}[data-popper-placement^=left]>._3YCyZ>div{border-bottom-color:transparent;border-left-color:transparent}._1_8JV{position:absolute}[data-popper-placement^=top]>._1_8JV{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._1_8JV{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._1_8JV{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._1_8JV{top:0;right:-13px;width:17px;height:100%}";
|
|
855
|
+
var styles$a = {"tooltip":"_3MBfT","lightTheme":"_2_hf1","visible":"_5sECz","arrow":"_3YCyZ","offsetBackplate":"_1_8JV"};
|
|
856
|
+
var stylesheet$d="._3MBfT{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}._3MBfT._2_hf1{color:#32363a;background-color:#fff}._5sECz{opacity:1;pointer-events:all}._3YCyZ,._3YCyZ>div{position:absolute;width:8px;height:8px;background:inherit}._3YCyZ{visibility:hidden;z-index:2000}._3YCyZ>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._3YCyZ{bottom:-4px}[data-popper-placement^=top]>._3YCyZ>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._3YCyZ{left:-5px}[data-popper-placement^=right]>._3YCyZ>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._3YCyZ{top:-5px}[data-popper-placement^=bottom]>._3YCyZ>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._3YCyZ{right:-4px}[data-popper-placement^=left]>._3YCyZ>div{border-bottom-color:transparent;border-left-color:transparent}._1_8JV{position:absolute}[data-popper-placement^=top]>._1_8JV{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._1_8JV{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._1_8JV{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._1_8JV{top:0;right:-13px;width:17px;height:100%}";
|
|
857
|
+
icons_index.styleInject(css_248z$d);
|
|
858
858
|
|
|
859
859
|
const useSSRLayoutEffect = function () {
|
|
860
860
|
const effectFunc = React.useMemo(() => canUseDOM() ? React.useLayoutEffect : React.useEffect, []);
|
|
@@ -1270,10 +1270,10 @@ function usePrevious(value) {
|
|
|
1270
1270
|
return ref.current;
|
|
1271
1271
|
}
|
|
1272
1272
|
|
|
1273
|
-
var css_248z$
|
|
1274
|
-
var classes = {"ariaLiveElement":"
|
|
1275
|
-
var stylesheet$
|
|
1276
|
-
icons_index.styleInject(css_248z$
|
|
1273
|
+
var css_248z$c = "._2l3oK{position:absolute;top:-10000px;left:-10000px}";
|
|
1274
|
+
var classes = {"ariaLiveElement":"_2l3oK"};
|
|
1275
|
+
var stylesheet$c="._2l3oK{position:absolute;top:-10000px;left:-10000px}";
|
|
1276
|
+
icons_index.styleInject(css_248z$c);
|
|
1277
1277
|
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Sets up a live region in order to make screen reader announcements.
|
|
@@ -1617,9 +1617,9 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1617
1617
|
id: flyoutContainerId,
|
|
1618
1618
|
key: contentKey,
|
|
1619
1619
|
ref: mergeRefs(ref, flyoutRef),
|
|
1620
|
-
className: classNames__default["default"](className, styles$
|
|
1621
|
-
[styles$
|
|
1622
|
-
[styles$
|
|
1620
|
+
className: classNames__default["default"](className, styles$a.tooltip, {
|
|
1621
|
+
[styles$a.visible]: isVisible,
|
|
1622
|
+
[styles$a.lightTheme]: lightTheme
|
|
1623
1623
|
}),
|
|
1624
1624
|
style: {
|
|
1625
1625
|
zIndex,
|
|
@@ -1629,7 +1629,7 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1629
1629
|
"aria-hidden": ariaHidden
|
|
1630
1630
|
}), content, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1631
1631
|
"aria-hidden": true,
|
|
1632
|
-
className: styles$
|
|
1632
|
+
className: styles$a.offsetBackplate,
|
|
1633
1633
|
ref: flyoutOffsetBackplateRef
|
|
1634
1634
|
})),
|
|
1635
1635
|
modifiers: [{
|
|
@@ -1639,7 +1639,7 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1639
1639
|
}
|
|
1640
1640
|
}],
|
|
1641
1641
|
arrow: isArrowRemoved ? undefined : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1642
|
-
className: styles$
|
|
1642
|
+
className: styles$a.arrow
|
|
1643
1643
|
}, /*#__PURE__*/React__default["default"].createElement("div", null)),
|
|
1644
1644
|
portalTarget: portalTarget
|
|
1645
1645
|
});
|
|
@@ -1714,10 +1714,10 @@ const Text = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
1714
1714
|
}, rest), children));
|
|
1715
1715
|
});
|
|
1716
1716
|
|
|
1717
|
-
var css_248z$
|
|
1718
|
-
var buttonStyles = {"btn":"
|
|
1719
|
-
var stylesheet$
|
|
1720
|
-
icons_index.styleInject(css_248z$
|
|
1717
|
+
var css_248z$b = "._1jL0W{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}._1jL0W._3OZwA{padding:0 8px;height:26px;min-height:26px}._1jL0W._t-gTh{display:block;width:100%}._1jL0W._2zhPQ{cursor:not-allowed;opacity:.4}._1jL0W:active:focus,._1jL0W:focus{outline:none}._1jL0W._V27Hv{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1jL0W._V27Hv:hover:not(._2zhPQ){background-color:#eee}._1jL0W._V27Hv:active:not(._2zhPQ){background-color:#e5e5e5}._1jL0W._aiLYE{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1jL0W._aiLYE:hover:not(._2zhPQ){background-color:#085caf;border-color:#085caf}._1jL0W._aiLYE:active:not(._2zhPQ){background-color:#0854a1;border-color:#0854a1}._1jL0W._22Pqk{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1jL0W._22Pqk:hover:not(._2zhPQ){background-color:#eef5fc}._1jL0W._22Pqk:active:not(._2zhPQ){background-color:#e1edf9}._1jL0W._wntBc{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1jL0W._wntBc:hover:not(._2zhPQ){background-color:#eef5fc;border-color:#eef5fc}._1jL0W._wntBc:active:not(._2zhPQ){background-color:#e1edf9;border-color:#e1edf9}._1jL0W._2EZdk{color:#0b6ed0;fill:#0b6ed0;padding:0}._1jL0W._2EZdk:hover:not(._2zhPQ){color:#085caf}._1jL0W._2EZdk:active:not(._2zhPQ){color:#0854a1}._1jL0W._2MBgp{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1jL0W._2MBgp:hover:not(._2zhPQ){background-color:#ffecec}._1jL0W._2MBgp:active:not(._2zhPQ){background-color:#ffdbdb}._1KZB7,body.keyboard-user ._1jL0W:active:focus,body.keyboard-user ._1jL0W:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1718
|
+
var buttonStyles = {"btn":"_1jL0W","small":"_3OZwA","full":"_t-gTh","disabled":"_2zhPQ","default":"_V27Hv","primary":"_aiLYE","secondary":"_22Pqk","tertiary":"_wntBc","link":"_2EZdk","danger":"_2MBgp","keyboardFocused":"_1KZB7"};
|
|
1719
|
+
var stylesheet$b="._1jL0W{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}._1jL0W._3OZwA{padding:0 8px;height:26px;min-height:26px}._1jL0W._t-gTh{display:block;width:100%}._1jL0W._2zhPQ{cursor:not-allowed;opacity:.4}._1jL0W:active:focus,._1jL0W:focus{outline:none}._1jL0W._V27Hv{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._1jL0W._V27Hv:hover:not(._2zhPQ){background-color:#eee}._1jL0W._V27Hv:active:not(._2zhPQ){background-color:#e5e5e5}._1jL0W._aiLYE{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._1jL0W._aiLYE:hover:not(._2zhPQ){background-color:#085caf;border-color:#085caf}._1jL0W._aiLYE:active:not(._2zhPQ){background-color:#0854a1;border-color:#0854a1}._1jL0W._22Pqk{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._1jL0W._22Pqk:hover:not(._2zhPQ){background-color:#eef5fc}._1jL0W._22Pqk:active:not(._2zhPQ){background-color:#e1edf9}._1jL0W._wntBc{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._1jL0W._wntBc:hover:not(._2zhPQ){background-color:#eef5fc;border-color:#eef5fc}._1jL0W._wntBc:active:not(._2zhPQ){background-color:#e1edf9;border-color:#e1edf9}._1jL0W._2EZdk{color:#0b6ed0;fill:#0b6ed0;padding:0}._1jL0W._2EZdk:hover:not(._2zhPQ){color:#085caf}._1jL0W._2EZdk:active:not(._2zhPQ){color:#0854a1}._1jL0W._2MBgp{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._1jL0W._2MBgp:hover:not(._2zhPQ){background-color:#ffecec}._1jL0W._2MBgp:active:not(._2zhPQ){background-color:#ffdbdb}._1KZB7,body.keyboard-user ._1jL0W:active:focus,body.keyboard-user ._1jL0W:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1720
|
+
icons_index.styleInject(css_248z$b);
|
|
1721
1721
|
|
|
1722
1722
|
function createContextValue(value) {
|
|
1723
1723
|
return {
|
|
@@ -1798,10 +1798,10 @@ const Button = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1798
1798
|
);
|
|
1799
1799
|
});
|
|
1800
1800
|
|
|
1801
|
-
var css_248z$
|
|
1802
|
-
var styles$
|
|
1803
|
-
var stylesheet$
|
|
1804
|
-
icons_index.styleInject(css_248z$
|
|
1801
|
+
var css_248z$a = "._1DMll{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1DMll,._2Zno7{cursor:pointer;height:16px;width:16px}._2Zno7{position:absolute;opacity:0;z-index:10}._2Zno7:checked~._DbNuy>._2eIjY{fill-opacity:1}._2Zno7:checked:enabled~._DbNuy{border-color:transparent;background-color:#0b6ed0}._2Zno7:checked:enabled~._DbNuy>._2eIjY{fill:#fff}._2Zno7:checked:enabled:hover~._DbNuy{background-color:#085caf}._2Zno7:not(:checked):enabled:hover~._DbNuy{border-color:#0b6ed0}._2Zno7:disabled{cursor:not-allowed}._2Zno7:disabled~._DbNuy{opacity:.4}._mVWX1{color:#32363a;display:flex;align-items:center;cursor:pointer}._1eUXi{cursor:auto;color:hsla(0,0%,53.7%,.4)}._26oGT{margin-right:12px;flex-shrink:0}._DbNuy{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}._2eIjY{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._2Zno7:active:focus~._DbNuy,body.keyboard-user ._2Zno7:focus~._DbNuy{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1802
|
+
var styles$9 = {"checkbox":"_1DMll","input":"_2Zno7","check":"_DbNuy","checkIcon":"_2eIjY","label":"_mVWX1","labelDisabled":"_1eUXi","wrappedInput":"_26oGT"};
|
|
1803
|
+
var stylesheet$a="._1DMll{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1DMll,._2Zno7{cursor:pointer;height:16px;width:16px}._2Zno7{position:absolute;opacity:0;z-index:10}._2Zno7:checked~._DbNuy>._2eIjY{fill-opacity:1}._2Zno7:checked:enabled~._DbNuy{border-color:transparent;background-color:#0b6ed0}._2Zno7:checked:enabled~._DbNuy>._2eIjY{fill:#fff}._2Zno7:checked:enabled:hover~._DbNuy{background-color:#085caf}._2Zno7:not(:checked):enabled:hover~._DbNuy{border-color:#0b6ed0}._2Zno7:disabled{cursor:not-allowed}._2Zno7:disabled~._DbNuy{opacity:.4}._mVWX1{color:#32363a;display:flex;align-items:center;cursor:pointer}._1eUXi{cursor:auto;color:hsla(0,0%,53.7%,.4)}._26oGT{margin-right:12px;flex-shrink:0}._DbNuy{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}._2eIjY{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._2Zno7:active:focus~._DbNuy,body.keyboard-user ._2Zno7:focus~._DbNuy{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
1804
|
+
icons_index.styleInject(css_248z$a);
|
|
1805
1805
|
|
|
1806
1806
|
const Check = props => /*#__PURE__*/React__default["default"].createElement("svg", _extends__default["default"]({}, props, {
|
|
1807
1807
|
width: "16",
|
|
@@ -1878,10 +1878,10 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
1878
1878
|
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
|
|
1879
1879
|
return /*#__PURE__*/React__default["default"].createElement("span", _extends__default["default"]({}, rest, {
|
|
1880
1880
|
ref: ref,
|
|
1881
|
-
className: classNames__default["default"](className, styles$
|
|
1881
|
+
className: classNames__default["default"](className, styles$9.checkbox)
|
|
1882
1882
|
}), /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({}, inputProps, {
|
|
1883
1883
|
name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
|
|
1884
|
-
className: classNames__default["default"](styles$
|
|
1884
|
+
className: classNames__default["default"](styles$9.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
|
|
1885
1885
|
type: "checkbox",
|
|
1886
1886
|
id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
|
|
1887
1887
|
checked: checked !== null && checked !== void 0 ? checked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked,
|
|
@@ -1893,16 +1893,16 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
1893
1893
|
"aria-labelledby": externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
|
|
1894
1894
|
"aria-describedby": internalAriaDescribedby
|
|
1895
1895
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1896
|
-
className: styles$
|
|
1896
|
+
className: styles$9.check
|
|
1897
1897
|
}, /*#__PURE__*/React__default["default"].createElement(Check, {
|
|
1898
|
-
className: styles$
|
|
1898
|
+
className: styles$9.checkIcon
|
|
1899
1899
|
})));
|
|
1900
1900
|
});
|
|
1901
1901
|
|
|
1902
|
-
var css_248z$
|
|
1903
|
-
var styles$
|
|
1904
|
-
var stylesheet$
|
|
1905
|
-
icons_index.styleInject(css_248z$
|
|
1902
|
+
var css_248z$9 = "._9Ho3J{font-size:14px}._nSfkj{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._3h-aw{color:#0b6ed0}";
|
|
1903
|
+
var styles$8 = {"label":"_9Ho3J","control":"_nSfkj","focused":"_3h-aw"};
|
|
1904
|
+
var stylesheet$9="._9Ho3J{font-size:14px}._nSfkj{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._3h-aw{color:#0b6ed0}";
|
|
1905
|
+
icons_index.styleInject(css_248z$9);
|
|
1906
1906
|
|
|
1907
1907
|
const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
1908
1908
|
let {
|
|
@@ -1914,9 +1914,9 @@ const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
1914
1914
|
isFocused,
|
|
1915
1915
|
hasControl
|
|
1916
1916
|
} = useFormFieldLabel();
|
|
1917
|
-
const classes = classNames__default["default"](styles$
|
|
1918
|
-
[styles$
|
|
1919
|
-
[styles$
|
|
1917
|
+
const classes = classNames__default["default"](styles$8.label, className, {
|
|
1918
|
+
[styles$8.control]: hasControl,
|
|
1919
|
+
[styles$8.focused]: isFocused
|
|
1920
1920
|
});
|
|
1921
1921
|
return /*#__PURE__*/React__default["default"].createElement("label", _extends__default["default"]({}, rest, {
|
|
1922
1922
|
ref: ref,
|
|
@@ -1924,43 +1924,10 @@ const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
1924
1924
|
}), children);
|
|
1925
1925
|
});
|
|
1926
1926
|
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
checked,
|
|
1932
|
-
defaultChecked,
|
|
1933
|
-
onChange,
|
|
1934
|
-
disabled = false,
|
|
1935
|
-
value,
|
|
1936
|
-
className,
|
|
1937
|
-
inputProps,
|
|
1938
|
-
'aria-describedby': ariaDescribedBy,
|
|
1939
|
-
...rest
|
|
1940
|
-
} = _ref;
|
|
1941
|
-
return /*#__PURE__*/React__default["default"].createElement(Label, _extends__default["default"]({}, rest, {
|
|
1942
|
-
ref: ref,
|
|
1943
|
-
htmlFor: id,
|
|
1944
|
-
className: classNames__default["default"](className, styles$8.label, {
|
|
1945
|
-
[styles$8.labelDisabled]: disabled
|
|
1946
|
-
})
|
|
1947
|
-
}), /*#__PURE__*/React__default["default"].createElement(Checkbox, {
|
|
1948
|
-
inputProps: inputProps,
|
|
1949
|
-
className: styles$8.wrappedInput,
|
|
1950
|
-
id: id,
|
|
1951
|
-
checked: checked,
|
|
1952
|
-
defaultChecked: defaultChecked,
|
|
1953
|
-
disabled: disabled,
|
|
1954
|
-
onChange: onChange,
|
|
1955
|
-
value: value,
|
|
1956
|
-
"aria-describedby": ariaDescribedBy
|
|
1957
|
-
}), label);
|
|
1958
|
-
});
|
|
1959
|
-
|
|
1960
|
-
var css_248z$7 = "._vuWcF{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}._vuWcF::-moz-placeholder{color:#515559;opacity:1}._vuWcF::placeholder{color:#515559;opacity:1}._vuWcF:hover{cursor:pointer;background-color:#f5f5f5}._vuWcF:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._vuWcF._16zFx{border-color:#b00}._vuWcF._16zFx:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._vuWcF:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._vuWcF:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._vuWcF:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._vuWcF._1Vgh2{height:auto;resize:vertical}._vuWcF._1Vgh2::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._vuWcF._3yJzG{display:block;width:100%}._vuWcF._3F4WZ{padding:4px 8px}input._vuWcF._3F4WZ{height:26px;min-height:26px}[type=number]._vuWcF{-moz-appearance:textfield}[type=number]._vuWcF::-webkit-inner-spin-button,[type=number]._vuWcF::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2WLaK{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._2WLaK:hover{cursor:pointer}._2WLaK._OskgM{color:#0b6ed0}._3pP75{margin-top:4px}";
|
|
1961
|
-
var styles$6 = {"input":"_vuWcF","invalid":"_16zFx","multiline":"_1Vgh2","full":"_3yJzG","small":"_3F4WZ","label":"_2WLaK","focused":"_OskgM","wrappedInput":"_3pP75"};
|
|
1962
|
-
var stylesheet$7="._vuWcF{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}._vuWcF::-moz-placeholder{color:#515559;opacity:1}._vuWcF::placeholder{color:#515559;opacity:1}._vuWcF:hover{cursor:pointer;background-color:#f5f5f5}._vuWcF:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._vuWcF._16zFx{border-color:#b00}._vuWcF._16zFx:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._vuWcF:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._vuWcF:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._vuWcF:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._vuWcF._1Vgh2{height:auto;resize:vertical}._vuWcF._1Vgh2::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._vuWcF._3yJzG{display:block;width:100%}._vuWcF._3F4WZ{padding:4px 8px}input._vuWcF._3F4WZ{height:26px;min-height:26px}[type=number]._vuWcF{-moz-appearance:textfield}[type=number]._vuWcF::-webkit-inner-spin-button,[type=number]._vuWcF::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2WLaK{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._2WLaK:hover{cursor:pointer}._2WLaK._OskgM{color:#0b6ed0}._3pP75{margin-top:4px}";
|
|
1963
|
-
icons_index.styleInject(css_248z$7);
|
|
1927
|
+
var css_248z$8 = "._m9C0m{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}._m9C0m::-moz-placeholder{color:#515559;opacity:1}._m9C0m::placeholder{color:#515559;opacity:1}._m9C0m:hover{cursor:pointer;background-color:#f5f5f5}._m9C0m:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._m9C0m._2mY5D{border-color:#b00}._m9C0m._2mY5D:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._m9C0m:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._m9C0m:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._m9C0m:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._m9C0m._1NO6f{height:auto}._m9C0m._1NO6f::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._m9C0m._3I7G7{display:block;width:100%}._m9C0m._A5Hli{padding:4px 8px}input._m9C0m._A5Hli{height:26px;min-height:26px}[type=number]._m9C0m{-moz-appearance:textfield}[type=number]._m9C0m::-webkit-inner-spin-button,[type=number]._m9C0m::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._212Sk{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._212Sk:hover{cursor:pointer}._212Sk._3W3ns{color:#0b6ed0}._1zF-c{margin-top:4px}";
|
|
1928
|
+
var styles$7 = {"input":"_m9C0m","invalid":"_2mY5D","multiline":"_1NO6f","full":"_3I7G7","small":"_A5Hli","label":"_212Sk","focused":"_3W3ns","wrappedInput":"_1zF-c"};
|
|
1929
|
+
var stylesheet$8="._m9C0m{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}._m9C0m::-moz-placeholder{color:#515559;opacity:1}._m9C0m::placeholder{color:#515559;opacity:1}._m9C0m:hover{cursor:pointer;background-color:#f5f5f5}._m9C0m:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._m9C0m._2mY5D{border-color:#b00}._m9C0m._2mY5D:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._m9C0m:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._m9C0m:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._m9C0m:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._m9C0m._1NO6f{height:auto}._m9C0m._1NO6f::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._m9C0m._3I7G7{display:block;width:100%}._m9C0m._A5Hli{padding:4px 8px}input._m9C0m._A5Hli{height:26px;min-height:26px}[type=number]._m9C0m{-moz-appearance:textfield}[type=number]._m9C0m::-webkit-inner-spin-button,[type=number]._m9C0m::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._212Sk{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._212Sk:hover{cursor:pointer}._212Sk._3W3ns{color:#0b6ed0}._1zF-c{margin-top:4px}";
|
|
1930
|
+
icons_index.styleInject(css_248z$8);
|
|
1964
1931
|
|
|
1965
1932
|
const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
1966
1933
|
let {
|
|
@@ -1986,11 +1953,11 @@ const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
1986
1953
|
isReadOnly: formFieldIsReadOnly
|
|
1987
1954
|
} = useFormFieldContext();
|
|
1988
1955
|
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
|
|
1989
|
-
const classes = classNames__default["default"](styles$
|
|
1990
|
-
[styles$
|
|
1991
|
-
[styles$
|
|
1992
|
-
[styles$
|
|
1993
|
-
[styles$
|
|
1956
|
+
const classes = classNames__default["default"](styles$7.input, inputGroupContext.className, inputGroupContext.inputClassName, {
|
|
1957
|
+
[styles$7.full]: inputGroupContext.applyFull(full),
|
|
1958
|
+
[styles$7.invalid]: invalid,
|
|
1959
|
+
[styles$7.small]: inputGroupContext.applySmall(small),
|
|
1960
|
+
[styles$7.multiline]: multiline
|
|
1994
1961
|
}, className);
|
|
1995
1962
|
const commonProps = { ...rest,
|
|
1996
1963
|
ref,
|
|
@@ -2047,23 +2014,23 @@ const InputField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2047
2014
|
return /*#__PURE__*/React__default["default"].createElement(Label, _extends__default["default"]({
|
|
2048
2015
|
htmlFor: id,
|
|
2049
2016
|
"data-testid": dataTestId,
|
|
2050
|
-
className: classNames__default["default"](className, styles$
|
|
2051
|
-
[styles$
|
|
2017
|
+
className: classNames__default["default"](className, styles$7.label, labelClassName, {
|
|
2018
|
+
[styles$7.focused]: focused
|
|
2052
2019
|
}),
|
|
2053
2020
|
style: style
|
|
2054
2021
|
}, labelPropsWithoutClass), label, /*#__PURE__*/React__default["default"].createElement(Input$1, _extends__default["default"]({
|
|
2055
2022
|
id: id,
|
|
2056
2023
|
ref: ref,
|
|
2057
|
-
className: classNames__default["default"](styles$
|
|
2024
|
+
className: classNames__default["default"](styles$7.wrappedInput, inputClassName),
|
|
2058
2025
|
onBlur: handleBlur,
|
|
2059
2026
|
onFocus: handleFocus
|
|
2060
2027
|
}, rest, inputPropsWithoutClass)));
|
|
2061
2028
|
});
|
|
2062
2029
|
|
|
2063
|
-
var css_248z$
|
|
2064
|
-
var styles$
|
|
2065
|
-
var stylesheet$
|
|
2066
|
-
icons_index.styleInject(css_248z$
|
|
2030
|
+
var css_248z$7 = "._1L-CQ{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}._1L-CQ:focus{outline:none}._1L-CQ:hover:not(._2WYGn){background-color:rgba(50,54,58,.08)}._1L-CQ:active:not(._2WYGn){background-color:rgba(50,54,58,.11);stroke-width:2}._1L-CQ._2WYGn{cursor:not-allowed;opacity:.6}body.keyboard-user ._1L-CQ:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2031
|
+
var styles$6 = {"button":"_1L-CQ","disabled":"_2WYGn"};
|
|
2032
|
+
var stylesheet$7="._1L-CQ{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}._1L-CQ:focus{outline:none}._1L-CQ:hover:not(._2WYGn){background-color:rgba(50,54,58,.08)}._1L-CQ:active:not(._2WYGn){background-color:rgba(50,54,58,.11);stroke-width:2}._1L-CQ._2WYGn{cursor:not-allowed;opacity:.6}body.keyboard-user ._1L-CQ:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2033
|
+
icons_index.styleInject(css_248z$7);
|
|
2067
2034
|
|
|
2068
2035
|
const sizePropInIconErrorMessage = 'Warning: The `Icon` prop `size` is invalid when used as a child of `IconButton`.';
|
|
2069
2036
|
const IconButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2080,8 +2047,8 @@ const IconButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2080
2047
|
onKeyDown,
|
|
2081
2048
|
...rest
|
|
2082
2049
|
} = _ref;
|
|
2083
|
-
const classes = classNames__default["default"](className, styles$
|
|
2084
|
-
[styles$
|
|
2050
|
+
const classes = classNames__default["default"](className, styles$6.button, {
|
|
2051
|
+
[styles$6.disabled]: disabled
|
|
2085
2052
|
});
|
|
2086
2053
|
|
|
2087
2054
|
if (children.props.size) {
|
|
@@ -2121,10 +2088,10 @@ const IconButton = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2121
2088
|
|
|
2122
2089
|
/* eslint-disable import/prefer-default-export */
|
|
2123
2090
|
|
|
2124
|
-
var css_248z$
|
|
2125
|
-
var styles$
|
|
2126
|
-
var stylesheet$
|
|
2127
|
-
icons_index.styleInject(css_248z$
|
|
2091
|
+
var css_248z$6 = "._2ZjQj{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
2092
|
+
var styles$5 = {"divider":"_2ZjQj"};
|
|
2093
|
+
var stylesheet$6="._2ZjQj{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
2094
|
+
icons_index.styleInject(css_248z$6);
|
|
2128
2095
|
|
|
2129
2096
|
const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
2130
2097
|
let {
|
|
@@ -2133,14 +2100,14 @@ const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
2133
2100
|
} = _ref;
|
|
2134
2101
|
return /*#__PURE__*/React__default["default"].createElement("hr", _extends__default["default"]({
|
|
2135
2102
|
ref: ref,
|
|
2136
|
-
className: classNames__default["default"](className, styles$
|
|
2103
|
+
className: classNames__default["default"](className, styles$5.divider)
|
|
2137
2104
|
}, rest));
|
|
2138
2105
|
});
|
|
2139
2106
|
|
|
2140
|
-
var css_248z$
|
|
2141
|
-
var styles$
|
|
2142
|
-
var stylesheet$
|
|
2143
|
-
icons_index.styleInject(css_248z$
|
|
2107
|
+
var css_248z$5 = "._1Bdwx{position:relative;display:inline-block}._1ABA_{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}._1ABA_:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._1ABA_:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._1ABA_:disabled,._1ABA_[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._1ABA_._2QJQl{border-color:#b00}._1ABA_._2QJQl:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._1ABA_._qaSOf{min-width:120px;padding:0 4px 0 12px}._1ABA_._Pr_it{margin-top:4px}._1ABA_._39uz-:not([aria-disabled=true]):not(:disabled){color:#32363a}._1ABA_ ._1UXYK{min-height:10px}._1ABA_ ._1UXYK._3ZU9Z{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._1ABA_ ._1LrqB{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._1ABA_ ._1LrqB._I1u07{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._1ABA_ ._1LrqB._1rw8_{transform:rotate(-180deg)}._206Ez[aria-disabled=true]{cursor:not-allowed;opacity:.65}._1w7D7{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}._3_xlB{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}._3Gsmg{fill:#515559}._2-_Xs{margin:2px 12px 2px 0}._2-_Xs._2uA-u>svg{border-color:#0b6ed0}._2OoOw{width:100%}";
|
|
2108
|
+
var styles$4 = {"container":"_1Bdwx","button":"_1ABA_","invalid":"_2QJQl","hasText":"_qaSOf","labelled":"_Pr_it","selected":"_39uz-","buttonLabel":"_1UXYK","isString":"_3ZU9Z","icon":"_1LrqB","disabled":"_I1u07","open":"_1rw8_","option":"_206Ez","search":"_1w7D7","emptyOption":"_3_xlB","searchIcon":"_3Gsmg","checkbox":"_2-_Xs","highlighted":"_2uA-u","searchInput":"_2OoOw"};
|
|
2109
|
+
var stylesheet$5="._1Bdwx{position:relative;display:inline-block}._1ABA_{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}._1ABA_:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._1ABA_:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._1ABA_:disabled,._1ABA_[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._1ABA_._2QJQl{border-color:#b00}._1ABA_._2QJQl:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._1ABA_._qaSOf{min-width:120px;padding:0 4px 0 12px}._1ABA_._Pr_it{margin-top:4px}._1ABA_._39uz-:not([aria-disabled=true]):not(:disabled){color:#32363a}._1ABA_ ._1UXYK{min-height:10px}._1ABA_ ._1UXYK._3ZU9Z{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._1ABA_ ._1LrqB{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._1ABA_ ._1LrqB._I1u07{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._1ABA_ ._1LrqB._1rw8_{transform:rotate(-180deg)}._206Ez[aria-disabled=true]{cursor:not-allowed;opacity:.65}._1w7D7{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}._3_xlB{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}._3Gsmg{fill:#515559}._2-_Xs{margin:2px 12px 2px 0}._2-_Xs._2uA-u>svg{border-color:#0b6ed0}._2OoOw{width:100%}";
|
|
2110
|
+
icons_index.styleInject(css_248z$5);
|
|
2144
2111
|
|
|
2145
2112
|
const {
|
|
2146
2113
|
useContext: useDropdownContext,
|
|
@@ -2271,11 +2238,11 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2271
2238
|
"aria-label": ariaLabel,
|
|
2272
2239
|
"aria-describedby": ariaDescribedby,
|
|
2273
2240
|
id: buttonId,
|
|
2274
|
-
className: classNames__default["default"](className, styles$
|
|
2275
|
-
[styles$
|
|
2276
|
-
[styles$
|
|
2277
|
-
[styles$
|
|
2278
|
-
[styles$
|
|
2241
|
+
className: classNames__default["default"](className, styles$4.button, {
|
|
2242
|
+
[styles$4.hasText]: !!label,
|
|
2243
|
+
[styles$4.invalid]: isInvalid,
|
|
2244
|
+
[styles$4.labelled]: hasFormLabel,
|
|
2245
|
+
[styles$4.selected]: externalLabel !== null && externalLabel !== void 0 ? externalLabel : isOptionSelected // defaultLabel has lighter text color
|
|
2279
2246
|
|
|
2280
2247
|
}),
|
|
2281
2248
|
onFocus: onFocus,
|
|
@@ -2284,14 +2251,14 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
2284
2251
|
onClick: handleClick,
|
|
2285
2252
|
"data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : getSubDataTestId(contextDataTestId, 'button')
|
|
2286
2253
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2287
|
-
className: classNames__default["default"](styles$
|
|
2288
|
-
[styles$
|
|
2254
|
+
className: classNames__default["default"](styles$4.buttonLabel, {
|
|
2255
|
+
[styles$4.isString]: typeof label === 'string'
|
|
2289
2256
|
})
|
|
2290
2257
|
}, label), /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronDownIcon, {
|
|
2291
2258
|
size: "medium",
|
|
2292
|
-
className: classNames__default["default"](styles$
|
|
2293
|
-
[styles$
|
|
2294
|
-
[styles$
|
|
2259
|
+
className: classNames__default["default"](styles$4.icon, {
|
|
2260
|
+
[styles$4.open]: isOpen,
|
|
2261
|
+
[styles$4.disabled]: disabled !== null && disabled !== void 0 ? disabled : dropdownAriaDisabled
|
|
2295
2262
|
}),
|
|
2296
2263
|
"aria-hidden": "true"
|
|
2297
2264
|
})));
|
|
@@ -2493,10 +2460,10 @@ function useChildIndex(_ref2) {
|
|
|
2493
2460
|
}, ChildIndexContext);
|
|
2494
2461
|
}
|
|
2495
2462
|
|
|
2496
|
-
var css_248z$
|
|
2497
|
-
var inputClasses = {"container":"
|
|
2498
|
-
var stylesheet$
|
|
2499
|
-
icons_index.styleInject(css_248z$
|
|
2463
|
+
var css_248z$4 = "._ALHLn{position:relative;display:inline-block;height:36px}._22Nd4{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}._22Nd4:hover{cursor:pointer;background-color:#f5f5f5}._22Nd4:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._22Nd4:disabled,._22Nd4[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._22Nd4:disabled::-moz-placeholder,._22Nd4[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._22Nd4:disabled::placeholder,._22Nd4[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._22Nd4:invalid,._22Nd4[aria-invalid=true]{border-color:#b00}._22Nd4:invalid:focus,._22Nd4[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._22Nd4[type=number]{-moz-appearance:textfield}._22Nd4[type=number]::-webkit-inner-spin-button,._22Nd4[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._22Nd4::-moz-placeholder{color:#515559;opacity:1}._22Nd4::placeholder{color:#515559;opacity:1}._sIbLf{pointer-events:none;color:#515559;fill:#515559}._3r87A{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._35KRi{color:#515559;font-size:16px}._nSj6h{left:0;margin-left:6px}._3An70,._nSj6h{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3An70{right:0;margin-right:6px}";
|
|
2464
|
+
var inputClasses = {"container":"_ALHLn","input":"_22Nd4","addOn":"_sIbLf","addOnVerticalCenter":"_3r87A","addOnTextNode":"_35KRi","leftAddOn":"_nSj6h","rightAddOn":"_3An70"};
|
|
2465
|
+
var stylesheet$4="._ALHLn{position:relative;display:inline-block;height:36px}._22Nd4{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}._22Nd4:hover{cursor:pointer;background-color:#f5f5f5}._22Nd4:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._22Nd4:disabled,._22Nd4[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._22Nd4:disabled::-moz-placeholder,._22Nd4[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._22Nd4:disabled::placeholder,._22Nd4[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._22Nd4:invalid,._22Nd4[aria-invalid=true]{border-color:#b00}._22Nd4:invalid:focus,._22Nd4[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._22Nd4[type=number]{-moz-appearance:textfield}._22Nd4[type=number]::-webkit-inner-spin-button,._22Nd4[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._22Nd4::-moz-placeholder{color:#515559;opacity:1}._22Nd4::placeholder{color:#515559;opacity:1}._sIbLf{pointer-events:none;color:#515559;fill:#515559}._3r87A{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._35KRi{color:#515559;font-size:16px}._nSj6h{left:0;margin-left:6px}._3An70,._nSj6h{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3An70{right:0;margin-right:6px}";
|
|
2466
|
+
icons_index.styleInject(css_248z$4);
|
|
2500
2467
|
|
|
2501
2468
|
const getAddOnComponent = (addOn, containerClassName, containerRef) => {
|
|
2502
2469
|
if (!addOn) {
|
|
@@ -2648,20 +2615,20 @@ const DropdownSearch = /*#__PURE__*/React__default["default"].forwardRef((props,
|
|
|
2648
2615
|
};
|
|
2649
2616
|
|
|
2650
2617
|
return isOpen ? /*#__PURE__*/React__default["default"].createElement(FlyoutOption, {
|
|
2651
|
-
className: styles$
|
|
2618
|
+
className: styles$4.search,
|
|
2652
2619
|
ref: mergeRefs(internalRef, ref),
|
|
2653
2620
|
tabIndex: -1,
|
|
2654
2621
|
onMouseEnter: handleMouseEnter,
|
|
2655
2622
|
onMouseLeave: handleMouseLeave,
|
|
2656
2623
|
onSelect: handleSelect
|
|
2657
2624
|
}, /*#__PURE__*/React__default["default"].createElement(Input, {
|
|
2658
|
-
className: styles$
|
|
2625
|
+
className: styles$4.searchInput,
|
|
2659
2626
|
onKeyDown: handleKeyDown,
|
|
2660
2627
|
onChange: handleSearch,
|
|
2661
2628
|
ref: inputRef,
|
|
2662
2629
|
placeholder: searchText,
|
|
2663
2630
|
leftAddOn: /*#__PURE__*/React__default["default"].createElement(icons_index.SearchIcon, {
|
|
2664
|
-
className: styles$
|
|
2631
|
+
className: styles$4.searchIcon,
|
|
2665
2632
|
"aria-hidden": true
|
|
2666
2633
|
}),
|
|
2667
2634
|
role: "searchbox",
|
|
@@ -2742,7 +2709,7 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
2742
2709
|
},
|
|
2743
2710
|
"data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : getSubDataTestId(contextDataTestId, 'flyout')
|
|
2744
2711
|
}), isSearchable && /*#__PURE__*/React__default["default"].createElement(DropdownSearch, null), children, isSearchable && showNoResults && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2745
|
-
className: styles$
|
|
2712
|
+
className: styles$4.emptyOption // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
|
|
2746
2713
|
,
|
|
2747
2714
|
role: "option" // `aria-selected` is omitted because this option is not selectable
|
|
2748
2715
|
|
|
@@ -3060,7 +3027,7 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3060
3027
|
}, /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
|
|
3061
3028
|
id: id,
|
|
3062
3029
|
ref: ref,
|
|
3063
|
-
className: classNames__default["default"](className, styles$
|
|
3030
|
+
className: classNames__default["default"](className, styles$4.container),
|
|
3064
3031
|
"data-testid": dataTestId
|
|
3065
3032
|
}), dropdownButton, /*#__PURE__*/React__default["default"].createElement(ChildIndexProvider, {
|
|
3066
3033
|
items: options,
|
|
@@ -3096,6 +3063,36 @@ const DropdownHeader = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3096
3063
|
}, commonProps), children) : /*#__PURE__*/React__default["default"].createElement("div", commonProps, children));
|
|
3097
3064
|
});
|
|
3098
3065
|
|
|
3066
|
+
var css_248z$3 = "._hsvik{display:inline-flex;position:relative}._3-rS4,._hsvik{cursor:pointer;height:16px;width:16px}._3-rS4{position:absolute;opacity:0;z-index:10}._3-rS4._1hSFR~._11SMF>._1Fzci{fill-opacity:1}._3-rS4._1hSFR~._11SMF{border-color:transparent;background-color:#0b6ed0}._3-rS4._1hSFR~._11SMF>._1Fzci{fill:#fff}._3-rS4._1hSFR:hover~._11SMF{background-color:#085caf}._3-rS4:not(._1hSFR):hover~._11SMF{border-color:#0b6ed0}._3-rS4._2pU5l{cursor:not-allowed}._3-rS4._2pU5l~._11SMF{opacity:.4}._11SMF{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}._1Fzci{fill:#0b6ed0;fill-opacity:0}";
|
|
3067
|
+
var styles$3 = {"checkbox":"_hsvik","input":"_3-rS4","checked":"_1hSFR","check":"_11SMF","checkIcon":"_1Fzci","disabled":"_2pU5l"};
|
|
3068
|
+
var stylesheet$3="._hsvik{display:inline-flex;position:relative}._3-rS4,._hsvik{cursor:pointer;height:16px;width:16px}._3-rS4{position:absolute;opacity:0;z-index:10}._3-rS4._1hSFR~._11SMF>._1Fzci{fill-opacity:1}._3-rS4._1hSFR~._11SMF{border-color:transparent;background-color:#0b6ed0}._3-rS4._1hSFR~._11SMF>._1Fzci{fill:#fff}._3-rS4._1hSFR:hover~._11SMF{background-color:#085caf}._3-rS4:not(._1hSFR):hover~._11SMF{border-color:#0b6ed0}._3-rS4._2pU5l{cursor:not-allowed}._3-rS4._2pU5l~._11SMF{opacity:.4}._11SMF{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}._1Fzci{fill:#0b6ed0;fill-opacity:0}";
|
|
3069
|
+
icons_index.styleInject(css_248z$3);
|
|
3070
|
+
|
|
3071
|
+
// input elements cannot be inside an option role for accessibility reasons,
|
|
3072
|
+
// so this component reflects our Checkbox styles for DropdownOption and
|
|
3073
|
+
// MenuItem without using an actual input.
|
|
3074
|
+
|
|
3075
|
+
const VisualCheckbox = _ref => {
|
|
3076
|
+
let {
|
|
3077
|
+
className,
|
|
3078
|
+
checked,
|
|
3079
|
+
disabled
|
|
3080
|
+
} = _ref;
|
|
3081
|
+
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3082
|
+
className: classNames__default["default"](className, styles$3.checkbox),
|
|
3083
|
+
"aria-hidden": true
|
|
3084
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3085
|
+
className: classNames__default["default"](styles$3.input, {
|
|
3086
|
+
[styles$3.checked]: checked,
|
|
3087
|
+
[styles$3.disabled]: disabled
|
|
3088
|
+
})
|
|
3089
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3090
|
+
className: styles$3.check
|
|
3091
|
+
}, /*#__PURE__*/React__default["default"].createElement(Check, {
|
|
3092
|
+
className: styles$3.checkIcon
|
|
3093
|
+
})));
|
|
3094
|
+
};
|
|
3095
|
+
|
|
3099
3096
|
const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
3100
3097
|
let {
|
|
3101
3098
|
children,
|
|
@@ -3182,7 +3179,7 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3182
3179
|
}
|
|
3183
3180
|
}, [isHighlighted, isKeyboardUser, isOpen, listRef, isSearchable, searchHeight]);
|
|
3184
3181
|
return isOpen && isVisible ? /*#__PURE__*/React__default["default"].createElement(FlyoutOption, _extends__default["default"]({}, rest, {
|
|
3185
|
-
className: classNames__default["default"](className, styles$
|
|
3182
|
+
className: classNames__default["default"](className, styles$4.option),
|
|
3186
3183
|
ref: mergeRefs(internalRef, ref),
|
|
3187
3184
|
onClick: handleSelect,
|
|
3188
3185
|
tabIndex: -1,
|
|
@@ -3195,20 +3192,20 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
3195
3192
|
setHighlightedIndex(myIndex);
|
|
3196
3193
|
}),
|
|
3197
3194
|
onMouseLeave: wrapEvent(onMouseLeave, () => setHighlightedIndex(-1))
|
|
3198
|
-
}), children || /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isMultiSelect && /*#__PURE__*/React__default["default"].createElement(
|
|
3199
|
-
className: classNames__default["default"](styles$
|
|
3200
|
-
[styles$
|
|
3195
|
+
}), children || /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isMultiSelect && /*#__PURE__*/React__default["default"].createElement(VisualCheckbox, {
|
|
3196
|
+
className: classNames__default["default"](styles$4.checkbox, {
|
|
3197
|
+
[styles$4.highlighted]: isHighlighted && !isSelected
|
|
3201
3198
|
}),
|
|
3202
3199
|
checked: isSelected,
|
|
3203
|
-
|
|
3200
|
+
disabled: disabled
|
|
3204
3201
|
}), label)) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3205
3202
|
ref: internalRef
|
|
3206
3203
|
});
|
|
3207
3204
|
});
|
|
3208
3205
|
|
|
3209
|
-
var css_248z$2 = ".
|
|
3210
|
-
var styles$2 = {"menuBtn":"
|
|
3211
|
-
var stylesheet$2=".
|
|
3206
|
+
var css_248z$2 = "._1rEZj._1rEZj{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;display:inline-flex;justify-content:space-between;text-align:left;align-items:center;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._1rEZj._1rEZj ._2CGK5{overflow:hidden;text-overflow:ellipsis}._1rEZj._1rEZj._5C7nJ{min-height:26px;height:26px}._1rEZj._1rEZj._2r-7A{color:#32363a}._1rEZj._1rEZj:hover:not([aria-disabled=true]){background-color:#f5f5f5}._1rEZj._1rEZj:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1rEZj._1rEZj[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._1rEZj._1rEZj[aria-disabled=true]>svg{fill:#515559;opacity:.4}._1rEZj._1rEZj._B__DB{padding-left:0}._1rEZj._1rEZj._3015E{margin-top:4px}._1rEZj._1rEZj ._1DoGw{fill:#515559}._1rEZj._1rEZj ._1DoGw._5C7nJ{top:0}._1rEZj._1rEZj ._1DoGw._MhL_r{transform:rotate(-180deg)}._2xrqm{overflow-x:hidden;overflow-y:auto;overflow:hidden auto;position:relative}._1-yAS{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}._1-yAS::-webkit-scrollbar,._1-yAS::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._1-yAS::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._1-yAS::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._1-yAS:hover::-webkit-scrollbar,._1-yAS:hover::-webkit-scrollbar-thumb,._1-yAS[focus-within]::-webkit-scrollbar,._1-yAS[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._1-yAS:focus-within::-webkit-scrollbar,._1-yAS:focus-within::-webkit-scrollbar-thumb,._1-yAS:hover::-webkit-scrollbar,._1-yAS:hover::-webkit-scrollbar-thumb{visibility:visible}._16OJ9{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._16OJ9[aria-disabled=true]{cursor:not-allowed;opacity:.65}._16OJ9._2h75A{background-color:#efefef}._16OJ9._2r-7A{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._16OJ9._2r-7A._2h75A{background-color:#e4effa}._16OJ9._2xegi{cursor:default}._16OJ9:active:not(._3O1KQ):not(._2r-7A):not([aria-disabled=true]):not(._2xegi){background-color:#e8e9e9}._3O1KQ{padding-right:32px}._3O1KQ ._1DoGw{position:absolute;top:8px;right:3px;fill:#515559}._1PkgC{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._233jS{position:absolute;top:13px;left:13px}._3VBz8._3VBz8{padding-left:32px}._1IPHS{margin:2px 12px 2px 0;flex-shrink:0}._1IPHS._2C17L>svg{border-color:#0b6ed0}._3OFzL{display:flex;justify-self:center;margin:8px}";
|
|
3207
|
+
var styles$2 = {"menuBtn":"_1rEZj","menuBtnLabel":"_2CGK5","small":"_5C7nJ","selected":"_2r-7A","unlabelledButton":"_B__DB","formLabelled":"_3015E","rightIcon":"_1DoGw","open":"_MhL_r","menuItemContainer":"_2xrqm","contentPane":"_1-yAS","menuItem":"_16OJ9","focus":"_2h75A","noMenuItems":"_2xegi","subMenu":"_3O1KQ","searchBox":"_1PkgC","searchBoxIcon":"_233jS","searchBoxInput":"_3VBz8","checkbox":"_1IPHS","highlighted":"_2C17L","menuSpinner":"_3OFzL"};
|
|
3208
|
+
var stylesheet$2="._1rEZj._1rEZj{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;display:inline-flex;justify-content:space-between;text-align:left;align-items:center;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._1rEZj._1rEZj ._2CGK5{overflow:hidden;text-overflow:ellipsis}._1rEZj._1rEZj._5C7nJ{min-height:26px;height:26px}._1rEZj._1rEZj._2r-7A{color:#32363a}._1rEZj._1rEZj:hover:not([aria-disabled=true]){background-color:#f5f5f5}._1rEZj._1rEZj:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1rEZj._1rEZj[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._1rEZj._1rEZj[aria-disabled=true]>svg{fill:#515559;opacity:.4}._1rEZj._1rEZj._B__DB{padding-left:0}._1rEZj._1rEZj._3015E{margin-top:4px}._1rEZj._1rEZj ._1DoGw{fill:#515559}._1rEZj._1rEZj ._1DoGw._5C7nJ{top:0}._1rEZj._1rEZj ._1DoGw._MhL_r{transform:rotate(-180deg)}._2xrqm{overflow-x:hidden;overflow-y:auto;overflow:hidden auto;position:relative}._1-yAS{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}._1-yAS::-webkit-scrollbar,._1-yAS::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._1-yAS::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._1-yAS::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._1-yAS:hover::-webkit-scrollbar,._1-yAS:hover::-webkit-scrollbar-thumb,._1-yAS[focus-within]::-webkit-scrollbar,._1-yAS[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._1-yAS:focus-within::-webkit-scrollbar,._1-yAS:focus-within::-webkit-scrollbar-thumb,._1-yAS:hover::-webkit-scrollbar,._1-yAS:hover::-webkit-scrollbar-thumb{visibility:visible}._16OJ9{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._16OJ9[aria-disabled=true]{cursor:not-allowed;opacity:.65}._16OJ9._2h75A{background-color:#efefef}._16OJ9._2r-7A{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._16OJ9._2r-7A._2h75A{background-color:#e4effa}._16OJ9._2xegi{cursor:default}._16OJ9:active:not(._3O1KQ):not(._2r-7A):not([aria-disabled=true]):not(._2xegi){background-color:#e8e9e9}._3O1KQ{padding-right:32px}._3O1KQ ._1DoGw{position:absolute;top:8px;right:3px;fill:#515559}._1PkgC{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._233jS{position:absolute;top:13px;left:13px}._3VBz8._3VBz8{padding-left:32px}._1IPHS{margin:2px 12px 2px 0;flex-shrink:0}._1IPHS._2C17L>svg{border-color:#0b6ed0}._3OFzL{display:flex;justify-self:center;margin:8px}";
|
|
3212
3209
|
icons_index.styleInject(css_248z$2);
|
|
3213
3210
|
|
|
3214
3211
|
const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -3255,15 +3252,12 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3255
3252
|
}
|
|
3256
3253
|
}),
|
|
3257
3254
|
onClick: wrapEvent(onClick, handleSelect)
|
|
3258
|
-
}), isMultiSelect && /*#__PURE__*/React__default["default"].createElement(
|
|
3259
|
-
"aria-hidden": true,
|
|
3255
|
+
}), isMultiSelect && /*#__PURE__*/React__default["default"].createElement(VisualCheckbox, {
|
|
3260
3256
|
className: classNames__default["default"](styles$2.checkbox, {
|
|
3261
3257
|
[styles$2.highlighted]: isHighlighted && !isSelected
|
|
3262
3258
|
}),
|
|
3263
3259
|
checked: isSelected,
|
|
3264
|
-
|
|
3265
|
-
/* noop*/
|
|
3266
|
-
}
|
|
3260
|
+
disabled: disabled
|
|
3267
3261
|
}), label)
|
|
3268
3262
|
);
|
|
3269
3263
|
});
|
|
@@ -3476,6 +3470,7 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3476
3470
|
|
|
3477
3471
|
// Only call the highlighted index change handler for the current nav list (i.e. if the event bubbles up to a parent nav list, don't call the highlighted index change handler on the parent nav list)
|
|
3478
3472
|
if ((_containerRef$current = containerRef.current) !== null && _containerRef$current !== void 0 && _containerRef$current.contains(e.target)) {
|
|
3473
|
+
e.preventDefault();
|
|
3479
3474
|
onHighlightedIndexChange(0);
|
|
3480
3475
|
}
|
|
3481
3476
|
} else if (e.key === 'PageDown' || e.key === 'End') {
|
|
@@ -3483,6 +3478,7 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
3483
3478
|
|
|
3484
3479
|
// Only call the highlighted index change handler for the current nav list (i.e. if the event bubbles up to a parent nav list, don't call the highlighted index change handler on the parent nav list)
|
|
3485
3480
|
if ((_containerRef$current2 = containerRef.current) !== null && _containerRef$current2 !== void 0 && _containerRef$current2.contains(e.target)) {
|
|
3481
|
+
e.preventDefault();
|
|
3486
3482
|
const lastIndex = numChildren - 1;
|
|
3487
3483
|
onHighlightedIndexChange(lastIndex);
|
|
3488
3484
|
}
|
|
@@ -4159,9 +4155,9 @@ const SelectMenu = /*#__PURE__*/React__default["default"].forwardRef(function Se
|
|
|
4159
4155
|
}, rest));
|
|
4160
4156
|
});
|
|
4161
4157
|
|
|
4162
|
-
var css_248z$1 = ".
|
|
4163
|
-
var styles$1 = {"pagination":"
|
|
4164
|
-
var stylesheet$1=".
|
|
4158
|
+
var css_248z$1 = "._D3o4n{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._2QLDW{margin-right:8px}._2uu9P{margin-left:8px}._2K9_O{margin:-10px -15px}._2XTu6{width:100%;text-align:center}";
|
|
4159
|
+
var styles$1 = {"pagination":"_D3o4n","previousButton":"_2QLDW","nextButton":"_2uu9P","btnIcon":"_2K9_O","input":"_2XTu6"};
|
|
4160
|
+
var stylesheet$1="._D3o4n{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._2QLDW{margin-right:8px}._2uu9P{margin-left:8px}._2K9_O{margin:-10px -15px}._2XTu6{width:100%;text-align:center}";
|
|
4165
4161
|
icons_index.styleInject(css_248z$1);
|
|
4166
4162
|
|
|
4167
4163
|
const {
|
|
@@ -4456,9 +4452,9 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
4456
4452
|
}, 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))));
|
|
4457
4453
|
});
|
|
4458
4454
|
|
|
4459
|
-
var css_248z = ".
|
|
4460
|
-
var styles = {"searchInput":"
|
|
4461
|
-
var stylesheet=".
|
|
4455
|
+
var css_248z = "._3vqYS{display:inline-block;position:relative}._2Dm7T._2Dm7T{padding-left:36px;padding-right:36px;width:100%}._2Dm7T._2Dm7T:disabled+._LoL6I{fill-opacity:.6}._LoL6I{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._LoL6I._1ZRDB{z-index:20}._3fAYo{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._3fAYo:hover{cursor:pointer}._3fAYo:hover>._2TVur{fill:#32363a}._3fAYo:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2TVur{fill:#515559}";
|
|
4456
|
+
var styles = {"searchInput":"_3vqYS","searchInputInput":"_2Dm7T","searchInputSearchIcon":"_LoL6I","usedWithinInputGroup":"_1ZRDB","searchInputClearButton":"_3fAYo","searchInputClearButtonIcon":"_2TVur"};
|
|
4457
|
+
var stylesheet="._3vqYS{display:inline-block;position:relative}._2Dm7T._2Dm7T{padding-left:36px;padding-right:36px;width:100%}._2Dm7T._2Dm7T:disabled+._LoL6I{fill-opacity:.6}._LoL6I{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._LoL6I._1ZRDB{z-index:20}._3fAYo{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._3fAYo:hover{cursor:pointer}._3fAYo:hover>._2TVur{fill:#32363a}._3fAYo:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2TVur{fill:#515559}";
|
|
4462
4458
|
icons_index.styleInject(css_248z);
|
|
4463
4459
|
|
|
4464
4460
|
const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -4566,7 +4562,6 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4566
4562
|
|
|
4567
4563
|
exports.Button = Button;
|
|
4568
4564
|
exports.Checkbox = Checkbox;
|
|
4569
|
-
exports.CheckboxField = CheckboxField;
|
|
4570
4565
|
exports.Divider = Divider;
|
|
4571
4566
|
exports.Dropdown = Dropdown;
|
|
4572
4567
|
exports.DropdownButton = DropdownButton;
|
|
@@ -4611,6 +4606,7 @@ exports.getIsKeyboardUser = getIsKeyboardUser;
|
|
|
4611
4606
|
exports.getSubDataTestId = getSubDataTestId;
|
|
4612
4607
|
exports.mergeRefs = mergeRefs;
|
|
4613
4608
|
exports.setIsKeyboardUser = setIsKeyboardUser;
|
|
4609
|
+
exports.styles = styles$9;
|
|
4614
4610
|
exports.useClickOutside = useClickOutside;
|
|
4615
4611
|
exports.useClickOutsidePortals = useClickOutsidePortals;
|
|
4616
4612
|
exports.useControllableState = useControllableState;
|