@qualtrics/ui-react 2.85.0 → 2.85.1
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 +9 -0
- package/dist/__shared/cjs/{index-8dee37f8.js → index-21aa4d43.js} +145 -138
- package/dist/__shared/cjs/{index-b47ab825.js → index-e3d48e21.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +13 -4
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +1 -1
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/design-tokens/less/typography.js +3 -3
- package/dist/hooks/useOverlay/useOverlay.js +2 -1
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Indicator/Indicator2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/next/Menu/Hooks/usePaneSearch.js +12 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/Select/SelectButton.js +3 -2
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.js +62 -53
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/next/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"spinnerContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._xioGQ{position:relative;display:inline-block}._xioGQ._XhmGU{min-height:20px;min-width:20px}._xioGQ._wJDkm{min-height:25px;min-width:25px}._xioGQ._7BJKW{min-height:40px;min-width:40px}._xioGQ._v-N2-{min-height:64px;min-width:64px}._xioGQ ._scdoB{display:inline-block;background-color:initial;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._xioGQ ._scdoB._bSzPk{display:none}._xioGQ ._scdoB div{position:absolute;transform:rotate(20deg)}._xioGQ ._scdoB div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_scdoB .9s linear infinite}._xioGQ ._scdoB 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}._xioGQ ._scdoB div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._xioGQ ._scdoB div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._xioGQ ._scdoB div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._xioGQ ._scdoB div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._xioGQ ._scdoB div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._xioGQ ._scdoB div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._xioGQ ._scdoB div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._xioGQ ._scdoB div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._xioGQ ._scdoB div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._xioGQ ._v-N2- div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._xioGQ ._XhmGU div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._xioGQ ._wJDkm div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._xioGQ ._BwWnP div div:nth-child(-n+9):after{background:#fff}._xioGQ ._AztED{width:100%;height:100%}._xioGQ ._AztED._uTw0K{pointer-events:none}._xioGQ ._AztED._bSzPk{opacity:0}._xioGQ ._AztED._TygSE{opacity:.8}@keyframes _scdoB{0%{opacity:1}to{opacity:0}}";
|
|
4
|
+
var styles = {"spinnerContainer":"_xioGQ","xs":"_XhmGU","small":"_wJDkm","medium":"_7BJKW","large":"_v-N2-","spinnerComponent":"_scdoB","hide":"_bSzPk","inverted":"_BwWnP","spinnerContent":"_AztED","disablePointerEvents":"_uTw0K","fade":"_TygSE"};
|
|
5
|
+
var stylesheet="._xioGQ{position:relative;display:inline-block}._xioGQ._XhmGU{min-height:20px;min-width:20px}._xioGQ._wJDkm{min-height:25px;min-width:25px}._xioGQ._7BJKW{min-height:40px;min-width:40px}._xioGQ._v-N2-{min-height:64px;min-width:64px}._xioGQ ._scdoB{display:inline-block;background-color:initial;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._xioGQ ._scdoB._bSzPk{display:none}._xioGQ ._scdoB div{position:absolute;transform:rotate(20deg)}._xioGQ ._scdoB div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_scdoB .9s linear infinite}._xioGQ ._scdoB 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}._xioGQ ._scdoB div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._xioGQ ._scdoB div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._xioGQ ._scdoB div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._xioGQ ._scdoB div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._xioGQ ._scdoB div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._xioGQ ._scdoB div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._xioGQ ._scdoB div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._xioGQ ._scdoB div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._xioGQ ._scdoB div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._xioGQ ._v-N2- div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._xioGQ ._XhmGU div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._xioGQ ._wJDkm div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._xioGQ ._BwWnP div div:nth-child(-n+9):after{background:#fff}._xioGQ ._AztED{width:100%;height:100%}._xioGQ ._AztED._uTw0K{pointer-events:none}._xioGQ ._AztED._bSzPk{opacity:0}._xioGQ ._AztED._TygSE{opacity:.8}@keyframes _scdoB{0%{opacity:1}to{opacity:0}}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -14,6 +14,8 @@ import useFocusVirtualBoundary from './useFocusVirtualBoundary.js';
|
|
|
14
14
|
import useControllableState from '../../../hooks/useControllableState/useControllableState.js';
|
|
15
15
|
import useTranslation from '../../../utils/Translation/useTranslation.js';
|
|
16
16
|
import useEventListener from '../../../hooks/useEventListener/useEventListener.js';
|
|
17
|
+
import useScreenReaderAnnouncement from '../../../hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js';
|
|
18
|
+
import { useDidUpdate } from '../../../hooks/useDidUpdate/useDidUpdate.js';
|
|
17
19
|
|
|
18
20
|
// abstracts the logic required for searching by both `MenuPane` and `SubMenu`
|
|
19
21
|
// creates a searchBarConfig, which maps to an instance of `MenuSearch`
|
|
@@ -188,10 +190,17 @@ function usePaneSearch(_ref) {
|
|
|
188
190
|
// Omitted dependencies because we only want this to run on unmount
|
|
189
191
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
190
192
|
[]);
|
|
191
|
-
const
|
|
193
|
+
const hasNoSearchResults = filteredChildren.length === 0;
|
|
194
|
+
const isActivePane = !animatedLeft && !animatedRight;
|
|
195
|
+
const announceToScreenReader = useScreenReaderAnnouncement('assertive');
|
|
196
|
+
useDidUpdate(() => {
|
|
197
|
+
if (hasNoSearchResults && isActivePane) {
|
|
198
|
+
announceToScreenReader(noMatchesText);
|
|
199
|
+
}
|
|
200
|
+
}, [hasNoSearchResults, isActivePane, announceToScreenReader, noMatchesText]);
|
|
201
|
+
const noSearchResultsNode = hasNoSearchResults && /*#__PURE__*/React__default.createElement("div", {
|
|
192
202
|
className: classNames(styles.menuItem, styles.noItems),
|
|
193
|
-
|
|
194
|
-
role: "menuitem"
|
|
203
|
+
role: "presentation"
|
|
195
204
|
}, noMatchesText);
|
|
196
205
|
return {
|
|
197
206
|
internalSearchValue,
|
package/dist/next/Menu/Menu2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"buttonContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._zPEih{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._zPEih>._-4-TF{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._zPEih>._-4-TF:hover:not([aria-disabled=true]){background-color:#f5f5f5}._zPEih>._-4-TF:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zPEih>._-4-TF+._IYzu9{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._zPEih>._-4-TF[data-state=open]+._IYzu9{transform:rotate(-180deg) translateY(50%)}._zPEih>._-4-TF[aria-disabled=true]{color:#74777a;cursor:not-allowed}._zPEih>._-4-TF[aria-disabled=true]+._IYzu9{fill:#515559;opacity:.4}._iilYh>[data-radix-popper-content-wrapper]{overflow:hidden;min-width:auto!important;background-color:#fff;max-width:350px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._iilYh>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._hdbSz{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._hdbSz ._VjXmL{height:100%;overflow-y:scroll}._hdbSz._eqItN{margin-left:30px;opacity:0}._hdbSz._6NRMy{margin-left:-30px}._5md-L{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._5md-L._2TMeZ{cursor:unset}._5md-L ._4GhGY{fill:#32363a;margin-right:4px}._5md-L:focus,._5md-L:hover:not(._5md-L._2TMeZ){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._5md-L[aria-disabled=true]{cursor:not-allowed;opacity:.65}._5md-L._WNVxG{padding-right:32px}._5md-L._WNVxG ._IYzu9{position:absolute;height:100%;right:3px;fill:#515559}._5md-L._38p-c{pointer-events:none}._xn-eV{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._xn-eV._-Pmzj{padding-top:52px}._4aWgw{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._-iRMj{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._-iRMj._6NRMy{opacity:0}._-iRMj._6NRMy>._TPtpz{margin-left:-30px}._-iRMj._eqItN{opacity:0}._-iRMj._eqItN>._TPtpz{margin-left:30px}._-iRMj>._TPtpz{transition:margin-left .35s;width:100%}._-iRMj._38p-c{pointer-events:none}body.keyboard-user ._5md-L:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
4
|
+
var styles = {"buttonContainer":"_zPEih","button":"_-4-TF","rightIcon":"_IYzu9","maskContainer":"_iilYh","flyout":"_hdbSz","scrollContainer":"_VjXmL","animatedRight":"_eqItN","animatedLeft":"_6NRMy","menuItem":"_5md-L","noItems":"_2TMeZ","backIcon":"_4GhGY","subMenu":"_WNVxG","unresponsive":"_38p-c","stickyBox":"_xn-eV","isSearchable":"_-Pmzj","searchBoxesContainer":"_4aWgw","searchBox":"_-iRMj","searchInput":"_TPtpz"};
|
|
5
|
+
var stylesheet="._zPEih{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._zPEih>._-4-TF{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._zPEih>._-4-TF:hover:not([aria-disabled=true]){background-color:#f5f5f5}._zPEih>._-4-TF:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zPEih>._-4-TF+._IYzu9{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._zPEih>._-4-TF[data-state=open]+._IYzu9{transform:rotate(-180deg) translateY(50%)}._zPEih>._-4-TF[aria-disabled=true]{color:#74777a;cursor:not-allowed}._zPEih>._-4-TF[aria-disabled=true]+._IYzu9{fill:#515559;opacity:.4}._iilYh>[data-radix-popper-content-wrapper]{overflow:hidden;min-width:auto!important;background-color:#fff;max-width:350px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._iilYh>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._hdbSz{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._hdbSz ._VjXmL{height:100%;overflow-y:scroll}._hdbSz._eqItN{margin-left:30px;opacity:0}._hdbSz._6NRMy{margin-left:-30px}._5md-L{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._5md-L._2TMeZ{cursor:unset}._5md-L ._4GhGY{fill:#32363a;margin-right:4px}._5md-L:focus,._5md-L:hover:not(._5md-L._2TMeZ){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._5md-L[aria-disabled=true]{cursor:not-allowed;opacity:.65}._5md-L._WNVxG{padding-right:32px}._5md-L._WNVxG ._IYzu9{position:absolute;height:100%;right:3px;fill:#515559}._5md-L._38p-c{pointer-events:none}._xn-eV{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._xn-eV._-Pmzj{padding-top:52px}._4aWgw{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._-iRMj{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._-iRMj._6NRMy{opacity:0}._-iRMj._6NRMy>._TPtpz{margin-left:-30px}._-iRMj._eqItN{opacity:0}._-iRMj._eqItN>._TPtpz{margin-left:30px}._-iRMj>._TPtpz{transition:margin-left .35s;width:100%}._-iRMj._38p-c{pointer-events:none}body.keyboard-user ._5md-L:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"input":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._Xy1rX input{padding-left:76px!important}._fzIBb input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._fzIBb input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._fzIBb input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0qxNk{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._0qxNk,._0qxNk._fzIBb:hover{background-color:initial!important}._0qxNk:hover{background-color:rgba(50,54,58,.08)!important}._0qxNk:active{background-color:rgba(50,54,58,.11)!important}._0qxNk svg{top:2px!important}._uyTw8{position:relative}._iKwB9{position:absolute;top:18px;left:12px;line-height:0px;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
4
|
+
var styles = {"input":"_Xy1rX","disabled":"_fzIBb","dropdown":"_0qxNk","container":"_uyTw8","countryCode":"_iKwB9"};
|
|
5
|
+
var stylesheet="._Xy1rX input{padding-left:76px!important}._fzIBb input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._fzIBb input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._fzIBb input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._0qxNk{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._0qxNk,._0qxNk._fzIBb:hover{background-color:initial!important}._0qxNk:hover{background-color:rgba(50,54,58,.08)!important}._0qxNk:active{background-color:rgba(50,54,58,.11)!important}._0qxNk svg{top:2px!important}._uyTw8{position:relative}._iKwB9{position:absolute;top:18px;left:12px;line-height:0px;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"isInvalid":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._CQ-6P{box-shadow:inset 0 0 0 1px #b00!important}._gK-He{margin-right:7px}._96aGH{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4
|
+
var styles = {"isInvalid":"_CQ-6P","checkbox":"_gK-He","selectedItem":"_96aGH"};
|
|
5
|
+
var stylesheet="._CQ-6P{box-shadow:inset 0 0 0 1px #b00!important}._gK-He{margin-right:7px}._96aGH{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -10,11 +10,12 @@ import '../../utils/index.js';
|
|
|
10
10
|
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
11
11
|
import MenuButton from '../Menu/MenuButton.js';
|
|
12
12
|
|
|
13
|
-
const _excluded = ["children", "asChild", "placeholder"];
|
|
13
|
+
const _excluded = ["children", "asChild", "placeholder", "className"];
|
|
14
14
|
const SelectButton = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
15
15
|
let children = _ref.children,
|
|
16
16
|
asChild = _ref.asChild,
|
|
17
17
|
externalPlaceholder = _ref.placeholder,
|
|
18
|
+
className = _ref.className,
|
|
18
19
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
19
20
|
const _useSelectContext = useSelectContext(),
|
|
20
21
|
selectedSelectItems = _useSelectContext.selectedSelectItems,
|
|
@@ -38,7 +39,7 @@ const SelectButton = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
38
39
|
return /*#__PURE__*/React__default.createElement(MenuButton, _extends({}, rest, sharedMenuButtonProps, {
|
|
39
40
|
"aria-haspopup": "tree",
|
|
40
41
|
role: "combobox",
|
|
41
|
-
className: classNames({
|
|
42
|
+
className: classNames(className, {
|
|
42
43
|
[styles.isInvalid]: isInvalid
|
|
43
44
|
})
|
|
44
45
|
}), children !== null && children !== void 0 ? children : selectedSelectItems !== null && selectedSelectItems !== void 0 && selectedSelectItems.size ? selectedItemsString : placeholder);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._RrqWJ{display:flex}._a2KbF{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._a2KbF._aFk51{background-color:#fff}._a2KbF._aFk51._ktojI:focus-visible:not(._Ukrgi){background-color:#0b6ed0}._a2KbF._M3n7E,._a2KbF._aFk51._eFxO5:not(._a2KbF._aFk51._Vjsoa){background-color:#0b6ed0}._a2KbF._M3n7E._Ukrgi._Vjsoa,._a2KbF._M3n7E._Ukrgi._ktojI,._a2KbF._M3n7E._Vjsoa._eFxO5{opacity:.4}._sboNJ{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._sboNJ:focus{z-index:1}._c4kH7{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._c4kH7 svg{margin-left:1px}._c4kH7._aFk51{background-color:#0b6ed0;border-color:transparent}._c4kH7._aFk51 svg{fill:#fff!important}._c4kH7._aFk51:not(._8Cs4h):hover{background-color:#085caf!important}._c4kH7._aFk51:not(._8Cs4h):active{background-color:#0854a1!important}._c4kH7._aFk51._8Cs4h{opacity:.4}._c4kH7._aFk51._8Cs4h svg{background-color:initial}._c4kH7._M3n7E{border-color:#0b6ed0;background-color:#fff}._c4kH7._M3n7E svg{fill:#0b6ed0!important}._c4kH7._M3n7E:not(._8Cs4h):hover{background-color:#eef5fc!important}._c4kH7._M3n7E:not(._8Cs4h):active{background-color:#e1edf9!important}._c4kH7._M3n7E._8Cs4h{opacity:.4}._c4kH7._M3n7E._8Cs4h svg{background-color:initial}._GNoId{width:260px}";
|
|
4
|
+
var styles = {"container":"_RrqWJ","divider":"_a2KbF","primary":"_aFk51","mainButtonFocus":"_ktojI","mainButtonDisabled":"_Ukrgi","dropdownButtonFocus":"_eFxO5","dropdownButtonDisabled":"_Vjsoa","secondary":"_M3n7E","mainButton":"_sboNJ","dropdownButton":"_c4kH7","disabled":"_8Cs4h","dropdownOption":"_GNoId"};
|
|
5
|
+
var stylesheet="._RrqWJ{display:flex}._a2KbF{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._a2KbF._aFk51{background-color:#fff}._a2KbF._aFk51._ktojI:focus-visible:not(._Ukrgi){background-color:#0b6ed0}._a2KbF._M3n7E,._a2KbF._aFk51._eFxO5:not(._a2KbF._aFk51._Vjsoa){background-color:#0b6ed0}._a2KbF._M3n7E._Ukrgi._Vjsoa,._a2KbF._M3n7E._Ukrgi._ktojI,._a2KbF._M3n7E._Vjsoa._eFxO5{opacity:.4}._sboNJ{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._sboNJ:focus{z-index:1}._c4kH7{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._c4kH7 svg{margin-left:1px}._c4kH7._aFk51{background-color:#0b6ed0;border-color:transparent}._c4kH7._aFk51 svg{fill:#fff!important}._c4kH7._aFk51:not(._8Cs4h):hover{background-color:#085caf!important}._c4kH7._aFk51:not(._8Cs4h):active{background-color:#0854a1!important}._c4kH7._aFk51._8Cs4h{opacity:.4}._c4kH7._aFk51._8Cs4h svg{background-color:initial}._c4kH7._M3n7E{border-color:#0b6ed0;background-color:#fff}._c4kH7._M3n7E svg{fill:#0b6ed0!important}._c4kH7._M3n7E:not(._8Cs4h):hover{background-color:#eef5fc!important}._c4kH7._M3n7E:not(._8Cs4h):active{background-color:#e1edf9!important}._c4kH7._M3n7E._8Cs4h{opacity:.4}._c4kH7._M3n7E._8Cs4h svg{background-color:initial}._GNoId{width:260px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"timePickerContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._yE0UU{display:inline-block;position:relative}._yE0UU ._w1YCW{width:120px}._yE0UU ._w1YCW ._RSkcn._NkUO0{transform:rotate(-180deg)}._yE0UU ._w1YCW ._RSkcn._Xu2OD{fill:#9d9fa1;opacity:.4}._yE0UU ._dYf5n>input:focus{box-shadow:none!important;border:1px solid #898989!important}._yE0UU ._RSkcn{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._yE0UU ._RSkcn._NkUO0{transform:rotate(-180deg)}._mG6VC{width:120px}._mG6VC ._4r4Lp._sUYdE{background-color:#efefef;border-radius:6px}";
|
|
4
|
+
var styles = {"timePickerContainer":"_yE0UU","input":"_w1YCW","icon":"_RSkcn","open":"_NkUO0","disabled":"_Xu2OD","ignoreFocusStyle":"_dYf5n","timePickerFlyout":"_mG6VC","option":"_4r4Lp","exactMatch":"_sUYdE"};
|
|
5
|
+
var stylesheet="._yE0UU{display:inline-block;position:relative}._yE0UU ._w1YCW{width:120px}._yE0UU ._w1YCW ._RSkcn._NkUO0{transform:rotate(-180deg)}._yE0UU ._w1YCW ._RSkcn._Xu2OD{fill:#9d9fa1;opacity:.4}._yE0UU ._dYf5n>input:focus{box-shadow:none!important;border:1px solid #898989!important}._yE0UU ._RSkcn{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._yE0UU ._RSkcn._NkUO0{transform:rotate(-180deg)}._mG6VC{width:120px}._mG6VC ._4r4Lp._sUYdE{background-color:#efefef;border-radius:6px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"default":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._1SxCZ{border-color:transparent;background-color:initial;color:#515559;cursor:pointer}._KVMTd{background-color:rgba(50,54,58,.08)}._78LPp{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._TChNI{color:rgba(81,85,89,.4);cursor:not-allowed}._OWH5-{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._CwRTI{color:#085caf;border-color:#085caf}._CwRTI,._coV9l{background:rgba(11,110,208,.11)}._coV9l{color:#0854a1;border-color:#0854a1}._NLP1-{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._-Al9T{position:relative;display:inline-grid}._-Al9T svg{fill:currentColor}._-Al9T ._zC2-l{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._-Al9T ._zC2-l+._U19UG{background-color:initial;color:#515559;cursor:pointer;border-color:transparent;border-style:solid;border-width:1px;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._-Al9T ._zC2-l+._U19UG._Vo89A{padding:5px;max-width:36px;min-width:36px}._-Al9T ._zC2-l+._U19UG._nHky5{padding:0 16px}._-Al9T ._zC2-l+._U19UG._aA6dJ{padding:0 16px 0 12px}._-Al9T ._zC2-l:hover+._U19UG{background-color:rgba(50,54,58,.08)}._-Al9T ._zC2-l:disabled+._U19UG{color:rgba(81,85,89,.4);cursor:not-allowed}._-Al9T ._zC2-l:active+._U19UG,._-Al9T ._zC2-l:focus:active+._U19UG{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._-Al9T ._zC2-l:checked+._U19UG{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._-Al9T ._zC2-l:checked:hover+._U19UG{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._-Al9T ._zC2-l:checked:disabled+._U19UG{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._-Al9T ._zC2-l:checked:active+._U19UG,._-Al9T ._zC2-l:checked:focus:active+._U19UG{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._vF5h1{display:inline-flex;position:relative}._vF5h1:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._vF5h1>*{flex-shrink:0;flex-grow:0}._nDzz2{border:none;margin:0;padding:0}._nDzz2 legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._-Al9T ._zC2-l:focus-visible{outline:none}._-Al9T ._zC2-l:focus-visible+._U19UG{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"default":"_1SxCZ","hovered":"_KVMTd","pressed":"_78LPp","disabled":"_TChNI","selectedDefault":"_OWH5-","selectedHovered":"_CwRTI","selectedPressed":"_coV9l","selectedDisabled":"_NLP1-","toggleContainer":"_-Al9T","toggleInput":"_zC2-l","toggleButton":"_U19UG","iconOnly":"_Vo89A","text":"_nHky5","iconText":"_aA6dJ","toggleButtonGroup":"_vF5h1","toggleButtonGroupFieldset":"_nDzz2"};
|
|
5
|
+
var stylesheet="._1SxCZ{border-color:transparent;background-color:initial;color:#515559;cursor:pointer}._KVMTd{background-color:rgba(50,54,58,.08)}._78LPp{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._TChNI{color:rgba(81,85,89,.4);cursor:not-allowed}._OWH5-{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._CwRTI{color:#085caf;border-color:#085caf}._CwRTI,._coV9l{background:rgba(11,110,208,.11)}._coV9l{color:#0854a1;border-color:#0854a1}._NLP1-{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._-Al9T{position:relative;display:inline-grid}._-Al9T svg{fill:currentColor}._-Al9T ._zC2-l{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._-Al9T ._zC2-l+._U19UG{background-color:initial;color:#515559;cursor:pointer;border-color:transparent;border-style:solid;border-width:1px;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._-Al9T ._zC2-l+._U19UG._Vo89A{padding:5px;max-width:36px;min-width:36px}._-Al9T ._zC2-l+._U19UG._nHky5{padding:0 16px}._-Al9T ._zC2-l+._U19UG._aA6dJ{padding:0 16px 0 12px}._-Al9T ._zC2-l:hover+._U19UG{background-color:rgba(50,54,58,.08)}._-Al9T ._zC2-l:disabled+._U19UG{color:rgba(81,85,89,.4);cursor:not-allowed}._-Al9T ._zC2-l:active+._U19UG,._-Al9T ._zC2-l:focus:active+._U19UG{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._-Al9T ._zC2-l:checked+._U19UG{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._-Al9T ._zC2-l:checked:hover+._U19UG{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._-Al9T ._zC2-l:checked:disabled+._U19UG{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._-Al9T ._zC2-l:checked:active+._U19UG,._-Al9T ._zC2-l:checked:focus:active+._U19UG{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._vF5h1{display:inline-flex;position:relative}._vF5h1:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._vF5h1>*{flex-shrink:0;flex-grow:0}._nDzz2{border:none;margin:0;padding:0}._nDzz2 legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._-Al9T ._zC2-l:focus-visible{outline:none}._-Al9T ._zC2-l:focus-visible+._U19UG{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|