@qualtrics/ui-react 2.17.0 → 2.19.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.
Files changed (94) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/__shared/cjs/{index-01a9a3bd.js → index-4e4cc354.js} +193 -150
  3. package/dist/__shared/cjs/{index-a16a4f66.js → index-bf07471d.js} +11 -3
  4. package/dist/components/Accordion/Accordion2.js +3 -3
  5. package/dist/components/Button/Button.js +3 -3
  6. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  7. package/dist/components/Checkbox/Checkbox2.js +3 -3
  8. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  9. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  10. package/dist/components/Combobox/Combobox2.js +3 -3
  11. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  12. package/dist/components/Divider/Divider2.js +3 -3
  13. package/dist/components/Dropdown/Dropdown2.js +3 -3
  14. package/dist/components/FilePicker/FilePicker2.js +3 -3
  15. package/dist/components/FormField/Caption.js +3 -3
  16. package/dist/components/FormField/FormField2.js +3 -3
  17. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  18. package/dist/components/Icon/IconTypes.js +2 -0
  19. package/dist/components/IconButton/IconButton2.js +3 -3
  20. package/dist/components/InlineInput/InlineInput2.js +3 -3
  21. package/dist/components/Input/Input2.js +3 -3
  22. package/dist/components/InputGroup/InputGroup2.js +3 -3
  23. package/dist/components/Label/Label2.js +3 -3
  24. package/dist/components/Link/Link2.js +3 -3
  25. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  26. package/dist/components/LogicEditor/ConditionSet.js +4 -5
  27. package/dist/components/LogicEditor/Controls.js +19 -4
  28. package/dist/components/LogicEditor/LogicEditor.js +9 -3
  29. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  30. package/dist/components/LogicEditor/utils.js +20 -1
  31. package/dist/components/Modal/Modal2.js +3 -3
  32. package/dist/components/NewMenu/NewMenu.js +3 -3
  33. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +9 -7
  34. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  35. package/dist/components/PageLayout/PageLayout.js +3 -3
  36. package/dist/components/Pagination/Pagination2.js +3 -3
  37. package/dist/components/Popover/Popover2.js +3 -3
  38. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  39. package/dist/components/Radio/Radio2.js +3 -3
  40. package/dist/components/SearchInput/SearchInput2.js +3 -3
  41. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  42. package/dist/components/Slider/Slider2.js +3 -3
  43. package/dist/components/Switch/Switch2.js +3 -3
  44. package/dist/components/Table/Table2.js +3 -3
  45. package/dist/components/Tabs/Tabs2.js +3 -3
  46. package/dist/components/Tooltip/Tooltip2.js +3 -3
  47. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  48. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  49. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  50. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  51. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  52. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  53. package/dist/icons/Icon.js +3 -3
  54. package/dist/icons/components/RecordIcon.js +6 -0
  55. package/dist/icons/components/StopRecordingIcon.js +6 -0
  56. package/dist/icons/index.d.ts +4 -0
  57. package/dist/icons/index.es.js +2 -0
  58. package/dist/icons/index.js +3 -1
  59. package/dist/index.d.ts +2 -0
  60. package/dist/index.es.js +1 -1
  61. package/dist/index.js +3 -3
  62. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  63. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  64. package/dist/next/Combobox/Combobox2.js +3 -3
  65. package/dist/next/Drawer/Drawer2.js +3 -3
  66. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  67. package/dist/next/Input/Input2.js +3 -3
  68. package/dist/next/Menu/Menu.js +29 -3
  69. package/dist/next/Menu/Menu2.js +3 -3
  70. package/dist/next/Menu/MenuButton.js +7 -4
  71. package/dist/next/Menu/MenuContext.js +2 -2
  72. package/dist/next/Menu/MenuItem.js +36 -5
  73. package/dist/next/Menu/MenuPane.js +111 -21
  74. package/dist/next/Menu/MenuSearch.js +29 -35
  75. package/dist/next/Menu/SubMenu.js +165 -31
  76. package/dist/next/Menu/constants.js +8 -2
  77. package/dist/next/Menu/index.js +5 -5
  78. package/dist/next/Menu/usePaneSearch.js +25 -0
  79. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  80. package/dist/next/SplitButton/SplitButton2.js +3 -3
  81. package/dist/next/Stack/HStack.js +11 -0
  82. package/dist/next/Stack/Stack.js +98 -0
  83. package/dist/next/Stack/StackItem.js +37 -0
  84. package/dist/next/Stack/VStack.js +11 -0
  85. package/dist/next/Stack/index.js +3 -0
  86. package/dist/next/TimePicker/TimePicker2.js +3 -3
  87. package/dist/next/ToggleButton/styles.js +3 -3
  88. package/dist/next/index.d.ts +82 -4
  89. package/dist/next/index.es.js +9 -5
  90. package/dist/next/index.js +547 -117
  91. package/dist/utils/Flyout/Flyout2.js +3 -3
  92. package/icons/package.json +2 -2
  93. package/next/package.json +2 -2
  94. package/package.json +3 -3
@@ -1,19 +1,23 @@
1
1
  import _extends from '@babel/runtime-corejs3/helpers/extends';
2
2
  import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
3
- import React__default, { useRef, useState, useMemo } from 'react';
4
- import { Sub, SubTrigger, SubContent } from '@radix-ui/react-dropdown-menu';
3
+ import React__default, { useState, useRef, useMemo, useEffect } from 'react';
4
+ import { Sub, SubTrigger, SubContent, Item } from '@radix-ui/react-dropdown-menu';
5
5
  import classNames from 'classnames';
6
6
  import styles from './Menu2.js';
7
7
  import '../../icons/index.es.js';
8
- import { usePaneContext, PaneContextProvider } from './MenuContext.js';
8
+ import { usePaneContext, useMenuContext, PaneContextProvider } from './MenuContext.js';
9
9
  import '../../utils/index.js';
10
- import { DATA_TESTID_SUFFIXES } from './constants.js';
11
- import { MenuSearch } from './MenuSearch.js';
10
+ import { DATA_TESTID_SUFFIXES, KEYS } from './constants.js';
11
+ import MenuSearch from './MenuSearch.js';
12
12
  import '../../hooks/index.js';
13
- import useControllableState from '../../hooks/useControllableState/useControllableState.js';
13
+ import usePaneSearch from './usePaneSearch.js';
14
+ import useId from '../../hooks/useId/useId.js';
14
15
  import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
16
+ import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
17
+ import { getIsKeyboardUser } from '../../utils/keyboardUser/keyboardUser.js';
15
18
  import ChevronRightIcon from '../../icons/components/ChevronRightIcon.js';
16
19
  import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
20
+ import ArrowLeftIcon from '../../icons/components/ArrowLeftIcon.js';
17
21
 
18
22
  const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
19
23
  let {
@@ -24,31 +28,130 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
24
28
  searchValue: externalSearchValue,
25
29
  onSearchValueChange,
26
30
  isSearchFilteringDisabled: isSearchFilteringDisabledForChildren = false,
31
+ className,
32
+ style,
27
33
  ...rest
28
34
  } = _ref;
29
- const itemRef = useRef(null);
30
- const paneRef = useRef(null);
35
+ const [items, setItems] = useState([]);
36
+ const {
37
+ internalSearchValue,
38
+ setSearchValue,
39
+ zeroSearchResults,
40
+ noMatchesText
41
+ } = usePaneSearch(externalSearchValue, onSearchValueChange, items);
42
+ const internalId = useId();
43
+ const triggerRef = useRef(null);
44
+ const flyoutRef = useRef(null);
45
+ const searchItemRef = useRef(null);
46
+ const backButtonRef = useRef(null);
31
47
  const {
32
- dataTestId: menuParentDataTestId,
33
- childIndex: index,
34
- searchValue: triggerMenuParentSearchValue,
35
- isSearchFilteringDisabled: isSearchFilteringDisabledForTrigger
36
- } = usePaneContext(itemRef);
37
- const [internalSearchValue, setSearchValue] = useControllableState(externalSearchValue, onSearchValueChange, externalSearchValue);
38
- const paneDataTestId = getSubDataTestId(menuParentDataTestId, String(index));
48
+ dataTestId: paneContainingTriggerDataTestId,
49
+ childIndex: triggerIndex,
50
+ searchValue: paneContainingTriggerSearchValue,
51
+ isSearchFilteringDisabled: isSearchFilteringDisabledForPaneContainingTrigger,
52
+ isInteractive: paneContainingTriggerIsInteractive,
53
+ closeSubmenu: closeSubmenuContainingTrigger
54
+ } = usePaneContext(triggerRef);
55
+ const {
56
+ openPaneDepth: totalOpenPaneDepth,
57
+ registerSubmenu,
58
+ setMaskHeight
59
+ } = useMenuContext();
60
+ const thisPanesDepth = useRef(totalOpenPaneDepth + 1).current;
61
+ const paneDataTestId = getSubDataTestId(paneContainingTriggerDataTestId, String(triggerIndex));
62
+ const backButtonDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(DATA_TESTID_SUFFIXES.MENU_PANE, DATA_TESTID_SUFFIXES.MENU_BACK);
39
63
  const triggerDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(DATA_TESTID_SUFFIXES.MENU_PANE, DATA_TESTID_SUFFIXES.MENU_ITEM);
40
- const [items, setItems] = useState([]);
41
- const isVisible = useMemo(() => {
64
+ const triggerIsVisible = useMemo(() => {
42
65
  var _context;
43
66
 
44
- return isSearchFilteringDisabledForTrigger || !triggerMenuParentSearchValue || typeof label === 'string' && _includesInstanceProperty(_context = label.toLowerCase()).call(_context, triggerMenuParentSearchValue.toLowerCase());
45
- }, [triggerMenuParentSearchValue, label, isSearchFilteringDisabledForTrigger]);
46
- return isVisible ? /*#__PURE__*/React__default.createElement(Sub, null, /*#__PURE__*/React__default.createElement(SubTrigger, {
47
- className: classNames(styles.menuItem, styles.subMenu),
67
+ return isSearchFilteringDisabledForPaneContainingTrigger || !paneContainingTriggerSearchValue || typeof label === 'string' && _includesInstanceProperty(_context = label.toLowerCase()).call(_context, paneContainingTriggerSearchValue.toLowerCase());
68
+ }, [paneContainingTriggerSearchValue, label, isSearchFilteringDisabledForPaneContainingTrigger]);
69
+ const [isPaneInDOM, setIsPaneInDOM] = useState(false);
70
+ const [isFrameAfterPaneAddedToDOM, setIsFrameAfterPaneAddedToDOM] = useState(false);
71
+ const [isTransitioningFromRight, setIsTransitioningFromRight] = useState(false);
72
+ useDidUpdate(() => {
73
+ if (isPaneInDOM) {
74
+ setIsTransitioningFromRight(true); // trigger css transition
75
+
76
+ setIsFrameAfterPaneAddedToDOM(true);
77
+ window.requestAnimationFrame(() => setIsFrameAfterPaneAddedToDOM(false));
78
+ }
79
+
80
+ registerSubmenu(internalId, isPaneInDOM);
81
+ }, [isPaneInDOM]);
82
+ useEffect(() => () => registerSubmenu(internalId, false), []);
83
+
84
+ const closeThisSubmenu = e => {
85
+ // prevent closing the entire menu, and Radix keyboard navigation
86
+ e.preventDefault();
87
+ registerSubmenu(internalId, false);
88
+ };
89
+
90
+ useDidUpdate(() => {
91
+ if (thisPanesDepth === totalOpenPaneDepth) {
92
+ window.requestAnimationFrame(() => {
93
+ var _flyoutRef$current$cl, _flyoutRef$current;
94
+
95
+ setMaskHeight((_flyoutRef$current$cl = (_flyoutRef$current = flyoutRef.current) === null || _flyoutRef$current === void 0 ? void 0 : _flyoutRef$current.clientHeight) !== null && _flyoutRef$current$cl !== void 0 ? _flyoutRef$current$cl : null);
96
+ });
97
+ }
98
+ }, [totalOpenPaneDepth, internalSearchValue]);
99
+ const animatedLeft = useMemo(() => thisPanesDepth < totalOpenPaneDepth, [totalOpenPaneDepth]);
100
+ const animatedRight = useMemo(() => thisPanesDepth > totalOpenPaneDepth || isFrameAfterPaneAddedToDOM, [totalOpenPaneDepth, isFrameAfterPaneAddedToDOM]);
101
+
102
+ const handlePaneTransitionEnd = () => {
103
+ if (animatedLeft) {
104
+ return;
105
+ }
106
+
107
+ if (animatedRight) {
108
+ setIsPaneInDOM(false);
109
+
110
+ if (getIsKeyboardUser()) {
111
+ var _triggerRef$current;
112
+
113
+ (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.focus();
114
+ }
115
+ } else {
116
+ var _flyoutRef$current2;
117
+
118
+ // if the newly closed submenu doesn't place the focus on its trigger
119
+ if (!((_flyoutRef$current2 = flyoutRef.current) !== null && _flyoutRef$current2 !== void 0 && _flyoutRef$current2.contains(document.activeElement)) && getIsKeyboardUser()) {
120
+ if (searchItemRef.current) {
121
+ searchItemRef.current.focus();
122
+ } else if (backButtonRef.current) {
123
+ backButtonRef.current.focus();
124
+ }
125
+ }
126
+
127
+ setIsTransitioningFromRight(false);
128
+ }
129
+ };
130
+
131
+ return triggerIsVisible ? /*#__PURE__*/React__default.createElement(Sub, {
132
+ open: isPaneInDOM
133
+ }, /*#__PURE__*/React__default.createElement(SubTrigger, {
134
+ className: classNames(styles.menuItem, styles.subMenu, {
135
+ [styles.unresponsive]: !paneContainingTriggerIsInteractive
136
+ }),
48
137
  "data-testid": triggerDataTestId,
49
138
  "aria-disabled": isDisabled,
50
- disabled: isDisabled,
51
- ref: itemRef
139
+ ref: triggerRef,
140
+ onClick: () => !isDisabled && setIsPaneInDOM(true),
141
+ onKeyDown: e => {
142
+ var _context2, _context3;
143
+
144
+ if (!paneContainingTriggerIsInteractive) {
145
+ e.preventDefault();
146
+ return;
147
+ }
148
+
149
+ if (!isDisabled && _includesInstanceProperty(_context2 = KEYS.OPEN_SUBMENU).call(_context2, e.key)) {
150
+ setIsPaneInDOM(true);
151
+ } else if (_includesInstanceProperty(_context3 = KEYS.CLOSE_SUBMENU).call(_context3, e.key)) {
152
+ closeSubmenuContainingTrigger === null || closeSubmenuContainingTrigger === void 0 ? void 0 : closeSubmenuContainingTrigger(e);
153
+ }
154
+ }
52
155
  }, label, /*#__PURE__*/React__default.createElement(ChevronRightIcon, {
53
156
  className: styles.rightIcon
54
157
  })), /*#__PURE__*/React__default.createElement(PaneContextProvider, {
@@ -57,18 +160,49 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
57
160
  value: {
58
161
  dataTestId: paneDataTestId,
59
162
  searchValue: internalSearchValue,
60
- isSearchFilteringDisabled: isSearchFilteringDisabledForChildren
163
+ isSearchFilteringDisabled: isSearchFilteringDisabledForChildren,
164
+ isInteractive: !isTransitioningFromRight && !animatedLeft && !animatedRight,
165
+ closeSubmenu: closeThisSubmenu,
166
+ flyoutRef
61
167
  }
62
168
  }, /*#__PURE__*/React__default.createElement(SubContent, _extends({}, rest, {
63
- className: styles.flyout,
64
169
  loop: true,
65
170
  "data-testid": paneDataTestId,
66
- ref: mergeRefs(ref, paneRef)
67
- }), isSearchable && /*#__PURE__*/React__default.createElement(MenuSearch, {
171
+ ref: mergeRefs(ref, flyoutRef),
172
+ className: classNames(className, styles.flyout, styles.containsStickyBox, {
173
+ [styles.animatedRight]: animatedRight,
174
+ [styles.animatedLeft]: animatedLeft
175
+ }),
176
+ onTransitionEnd: handlePaneTransitionEnd,
177
+ style: { ...style,
178
+ zIndex: thisPanesDepth
179
+ }
180
+ }), /*#__PURE__*/React__default.createElement("div", {
181
+ className: styles.stickyBox
182
+ }, isSearchable && /*#__PURE__*/React__default.createElement(MenuSearch, {
68
183
  setSearchValue: setSearchValue,
69
- items: items,
70
- paneRef: paneRef
71
- }), children))) : null;
184
+ ref: searchItemRef
185
+ }), /*#__PURE__*/React__default.createElement(Item, {
186
+ className: classNames(styles.menuItem, {
187
+ [styles.unresponsive]: isTransitioningFromRight || animatedLeft || animatedRight
188
+ }),
189
+ "data-testid": backButtonDataTestId,
190
+ onSelect: closeThisSubmenu,
191
+ ref: backButtonRef,
192
+ onKeyDown: e => {
193
+ var _context4;
194
+
195
+ if (_includesInstanceProperty(_context4 = KEYS.CLOSE_SUBMENU).call(_context4, e.key)) {
196
+ closeThisSubmenu(e);
197
+ }
198
+ }
199
+ }, /*#__PURE__*/React__default.createElement(ArrowLeftIcon, {
200
+ size: "small",
201
+ className: styles.backIcon
202
+ }), label)), zeroSearchResults && /*#__PURE__*/React__default.createElement("div", {
203
+ className: classNames(styles.menuItem, styles.noItems),
204
+ "aria-live": "assertive"
205
+ }, noMatchesText), children))) : null;
72
206
  });
73
207
 
74
- export { SubMenu, SubMenu as default };
208
+ export { SubMenu as default };
@@ -3,7 +3,13 @@ const DATA_TESTID_SUFFIXES = {
3
3
  MENU_PANE: 'menupane',
4
4
  MENU_ITEM: 'menuitem',
5
5
  MENU_BUTTON: 'menubutton',
6
- MENU_SEARCH: 'menusearch'
6
+ MENU_SEARCH: 'menusearch',
7
+ MENU_BACK: 'menuback'
8
+ };
9
+ const KEYS = {
10
+ OPEN_SUBMENU: ['ArrowRight', 'Enter', ' '],
11
+ CLOSE_SUBMENU: ['ArrowLeft'],
12
+ IGNORED_BY_SEARCH_INPUT: ['Escape', 'ArrowUp', 'ArrowDown', 'PageUp', 'PageDown', 'Home', 'End']
7
13
  };
8
14
 
9
- export { DATA_TESTID_SUFFIXES };
15
+ export { DATA_TESTID_SUFFIXES, KEYS };
@@ -1,5 +1,5 @@
1
- export { Menu } from './Menu.js';
2
- export { MenuButton } from './MenuButton.js';
3
- export { MenuPane } from './MenuPane.js';
4
- export { MenuItem } from './MenuItem.js';
5
- export { SubMenu } from './SubMenu.js';
1
+ export { default as Menu } from './Menu.js';
2
+ export { default as MenuButton } from './MenuButton.js';
3
+ export { default as MenuPane } from './MenuPane.js';
4
+ export { default as MenuItem } from './MenuItem.js';
5
+ export { default as SubMenu } from './SubMenu.js';
@@ -0,0 +1,25 @@
1
+ import { useState, useEffect } from 'react';
2
+ import '../../hooks/index.js';
3
+ import '../../utils/index.js';
4
+ import useControllableState from '../../hooks/useControllableState/useControllableState.js';
5
+ import useTranslation from '../../utils/Translation/useTranslation.js';
6
+
7
+ function usePaneSearch(externalSearchValue, onSearchValueChange, items) {
8
+ const [internalSearchValue, setSearchValue] = useControllableState(externalSearchValue, onSearchValueChange, externalSearchValue);
9
+ const [zeroSearchResults, setZeroSearchResults] = useState();
10
+ const {
11
+ translate
12
+ } = useTranslation();
13
+ const noMatchesText = translate('menu.noItemsToDisplay');
14
+ useEffect(() => {
15
+ setZeroSearchResults((items === null || items === void 0 ? void 0 : items.filter(item => item.element.current).length) === 0);
16
+ }, [items, internalSearchValue]);
17
+ return {
18
+ internalSearchValue,
19
+ setSearchValue,
20
+ zeroSearchResults,
21
+ noMatchesText
22
+ };
23
+ }
24
+
25
+ export { usePaneSearch as default };
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._3UaTS input{padding-left:76px!important}._3b7FU input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._3b7FU input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3b7FU input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._xRvSs{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._xRvSs,._xRvSs._3b7FU:hover{background-color:transparent!important}._xRvSs:hover{background-color:rgba(50,54,58,.08)!important}._xRvSs:active{background-color:rgba(50,54,58,.11)!important}._xRvSs svg{top:2px!important}._NDWBO{position:relative}._3i76i{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
4
- var styles = {"input":"_3UaTS","disabled":"_3b7FU","dropdown":"_xRvSs","container":"_NDWBO","countryCode":"_3i76i"};
5
- var stylesheet="._3UaTS input{padding-left:76px!important}._3b7FU input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._3b7FU input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3b7FU input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._xRvSs{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._xRvSs,._xRvSs._3b7FU:hover{background-color:transparent!important}._xRvSs:hover{background-color:rgba(50,54,58,.08)!important}._xRvSs:active{background-color:rgba(50,54,58,.11)!important}._xRvSs svg{top:2px!important}._NDWBO{position:relative}._3i76i{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
3
+ var css_248z = "._2wIym input{padding-left:76px!important}._2V-Ca input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._2V-Ca input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2V-Ca input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2bsPt{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._2bsPt,._2bsPt._2V-Ca:hover{background-color:transparent!important}._2bsPt:hover{background-color:rgba(50,54,58,.08)!important}._2bsPt:active{background-color:rgba(50,54,58,.11)!important}._2bsPt svg{top:2px!important}._RpoXN{position:relative}._1dZD6{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
4
+ var styles = {"input":"_2wIym","disabled":"_2V-Ca","dropdown":"_2bsPt","container":"_RpoXN","countryCode":"_1dZD6"};
5
+ var stylesheet="._2wIym input{padding-left:76px!important}._2V-Ca input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._2V-Ca input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2V-Ca input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2bsPt{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._2bsPt,._2bsPt._2V-Ca:hover{background-color:transparent!important}._2bsPt:hover{background-color:rgba(50,54,58,.08)!important}._2bsPt:active{background-color:rgba(50,54,58,.11)!important}._2bsPt svg{top:2px!important}._RpoXN{position:relative}._1dZD6{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._2jVhE{display:flex}._3ciZn{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._3ciZn._1MsH2{background-color:#fff}._3ciZn._1MsH2._ugv_G:not(._3ciZn._1MsH2._3W_OO),._3ciZn._DTqL2,body.keyboard-user ._3ciZn._1MsH2._1X-Qo:not(._3a3Ir){background-color:#0b6ed0}._3ciZn._DTqL2._3a3Ir._1X-Qo,._3ciZn._DTqL2._3a3Ir._3W_OO,._3ciZn._DTqL2._3W_OO._ugv_G{opacity:.4}._3Dtsg{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._3Dtsg:focus{z-index:1}._TCx8M{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}._TCx8M svg{margin-left:1px}._TCx8M._1MsH2{background-color:#0b6ed0;border-color:transparent}._TCx8M._1MsH2 svg{fill:#fff!important}._TCx8M._1MsH2:not(._2l3d5):hover{background-color:#085caf!important}._TCx8M._1MsH2:not(._2l3d5):active{background-color:#0854a1!important}._TCx8M._1MsH2._2l3d5{opacity:.4}._TCx8M._1MsH2._2l3d5 svg{background-color:transparent}._TCx8M._DTqL2{border-color:#0b6ed0;background-color:#fff}._TCx8M._DTqL2 svg{fill:#0b6ed0!important}._TCx8M._DTqL2:not(._2l3d5):hover{background-color:#eef5fc!important}._TCx8M._DTqL2:not(._2l3d5):active{background-color:#e1edf9!important}._TCx8M._DTqL2._2l3d5{opacity:.4}._TCx8M._DTqL2._2l3d5 svg{background-color:transparent}._1_GdT{width:260px}";
4
- var styles = {"container":"_2jVhE","divider":"_3ciZn","primary":"_1MsH2","mainButtonFocus":"_1X-Qo","mainButtonDisabled":"_3a3Ir","dropdownButtonFocus":"_ugv_G","dropdownButtonDisabled":"_3W_OO","secondary":"_DTqL2","mainButton":"_3Dtsg","dropdownButton":"_TCx8M","disabled":"_2l3d5","dropdownOption":"_1_GdT"};
5
- var stylesheet="._2jVhE{display:flex}._3ciZn{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._3ciZn._1MsH2{background-color:#fff}._3ciZn._1MsH2._ugv_G:not(._3ciZn._1MsH2._3W_OO),._3ciZn._DTqL2,body.keyboard-user ._3ciZn._1MsH2._1X-Qo:not(._3a3Ir){background-color:#0b6ed0}._3ciZn._DTqL2._3a3Ir._1X-Qo,._3ciZn._DTqL2._3a3Ir._3W_OO,._3ciZn._DTqL2._3W_OO._ugv_G{opacity:.4}._3Dtsg{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._3Dtsg:focus{z-index:1}._TCx8M{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}._TCx8M svg{margin-left:1px}._TCx8M._1MsH2{background-color:#0b6ed0;border-color:transparent}._TCx8M._1MsH2 svg{fill:#fff!important}._TCx8M._1MsH2:not(._2l3d5):hover{background-color:#085caf!important}._TCx8M._1MsH2:not(._2l3d5):active{background-color:#0854a1!important}._TCx8M._1MsH2._2l3d5{opacity:.4}._TCx8M._1MsH2._2l3d5 svg{background-color:transparent}._TCx8M._DTqL2{border-color:#0b6ed0;background-color:#fff}._TCx8M._DTqL2 svg{fill:#0b6ed0!important}._TCx8M._DTqL2:not(._2l3d5):hover{background-color:#eef5fc!important}._TCx8M._DTqL2:not(._2l3d5):active{background-color:#e1edf9!important}._TCx8M._DTqL2._2l3d5{opacity:.4}._TCx8M._DTqL2._2l3d5 svg{background-color:transparent}._1_GdT{width:260px}";
3
+ var css_248z = "._3-egh{display:flex}._37D31{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._37D31._2DU5W{background-color:#fff}._37D31._2DU5W._1hiqt:not(._37D31._2DU5W._2WyIh),._37D31._2lBoY,body.keyboard-user ._37D31._2DU5W._3SSOz:not(._2CNTl){background-color:#0b6ed0}._37D31._2lBoY._2CNTl._2WyIh,._37D31._2lBoY._2CNTl._3SSOz,._37D31._2lBoY._2WyIh._1hiqt{opacity:.4}._1BIys{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._1BIys:focus{z-index:1}._2UWV8{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}._2UWV8 svg{margin-left:1px}._2UWV8._2DU5W{background-color:#0b6ed0;border-color:transparent}._2UWV8._2DU5W svg{fill:#fff!important}._2UWV8._2DU5W:not(._CZ_Rw):hover{background-color:#085caf!important}._2UWV8._2DU5W:not(._CZ_Rw):active{background-color:#0854a1!important}._2UWV8._2DU5W._CZ_Rw{opacity:.4}._2UWV8._2DU5W._CZ_Rw svg{background-color:transparent}._2UWV8._2lBoY{border-color:#0b6ed0;background-color:#fff}._2UWV8._2lBoY svg{fill:#0b6ed0!important}._2UWV8._2lBoY:not(._CZ_Rw):hover{background-color:#eef5fc!important}._2UWV8._2lBoY:not(._CZ_Rw):active{background-color:#e1edf9!important}._2UWV8._2lBoY._CZ_Rw{opacity:.4}._2UWV8._2lBoY._CZ_Rw svg{background-color:transparent}._y3e2d{width:260px}";
4
+ var styles = {"container":"_3-egh","divider":"_37D31","primary":"_2DU5W","mainButtonFocus":"_3SSOz","mainButtonDisabled":"_2CNTl","dropdownButtonFocus":"_1hiqt","dropdownButtonDisabled":"_2WyIh","secondary":"_2lBoY","mainButton":"_1BIys","dropdownButton":"_2UWV8","disabled":"_CZ_Rw","dropdownOption":"_y3e2d"};
5
+ var stylesheet="._3-egh{display:flex}._37D31{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._37D31._2DU5W{background-color:#fff}._37D31._2DU5W._1hiqt:not(._37D31._2DU5W._2WyIh),._37D31._2lBoY,body.keyboard-user ._37D31._2DU5W._3SSOz:not(._2CNTl){background-color:#0b6ed0}._37D31._2lBoY._2CNTl._2WyIh,._37D31._2lBoY._2CNTl._3SSOz,._37D31._2lBoY._2WyIh._1hiqt{opacity:.4}._1BIys{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._1BIys:focus{z-index:1}._2UWV8{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}._2UWV8 svg{margin-left:1px}._2UWV8._2DU5W{background-color:#0b6ed0;border-color:transparent}._2UWV8._2DU5W svg{fill:#fff!important}._2UWV8._2DU5W:not(._CZ_Rw):hover{background-color:#085caf!important}._2UWV8._2DU5W:not(._CZ_Rw):active{background-color:#0854a1!important}._2UWV8._2DU5W._CZ_Rw{opacity:.4}._2UWV8._2DU5W._CZ_Rw svg{background-color:transparent}._2UWV8._2lBoY{border-color:#0b6ed0;background-color:#fff}._2UWV8._2lBoY svg{fill:#0b6ed0!important}._2UWV8._2lBoY:not(._CZ_Rw):hover{background-color:#eef5fc!important}._2UWV8._2lBoY:not(._CZ_Rw):active{background-color:#e1edf9!important}._2UWV8._2lBoY._CZ_Rw{opacity:.4}._2UWV8._2lBoY._CZ_Rw svg{background-color:transparent}._y3e2d{width:260px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -0,0 +1,11 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import React__default, { forwardRef } from 'react';
3
+ import { Stack } from './Stack.js';
4
+
5
+ const HStack = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(Stack, _extends({
6
+ ref: ref
7
+ }, props, {
8
+ direction: "horizontal"
9
+ })));
10
+
11
+ export { HStack };
@@ -0,0 +1,98 @@
1
+ import React__default, { forwardRef, useEffect } from 'react';
2
+ import { HStack } from './HStack.js';
3
+ import { VStack } from './VStack.js';
4
+ import { StackItem } from './StackItem.js';
5
+
6
+ const convertAlignment = alignment => {
7
+ const alignmentMap = {
8
+ top: 'flex-start',
9
+ bottom: 'flex-end',
10
+ left: 'flex-start',
11
+ right: 'flex-end',
12
+ center: 'center',
13
+ spaceAround: 'space-around',
14
+ spaceBetween: 'space-between',
15
+ spaceEvenly: 'space-evenly'
16
+ };
17
+ return alignmentMap[alignment];
18
+ };
19
+
20
+ // Explicitly listed props to prevent arbitrary prop spreading
21
+ const Stack = /*#__PURE__*/forwardRef((_ref, ref) => {
22
+ let {
23
+ gap,
24
+ paddingLeft,
25
+ paddingRight,
26
+ paddingTop,
27
+ paddingBottom,
28
+ marginLeft,
29
+ marginRight,
30
+ marginTop,
31
+ marginBottom,
32
+ alignChildrenX = 'center',
33
+ alignChildrenY = 'center',
34
+ children,
35
+ direction,
36
+ width,
37
+ minWidth,
38
+ maxWidth,
39
+ height,
40
+ minHeight,
41
+ maxHeight,
42
+ fillSpace,
43
+ 'aria-label': ariaLabel,
44
+ 'aria-labelledby': ariaLabelledBy,
45
+ 'aria-describedby': ariaDescribedBy,
46
+ 'data-testid': dataTestId
47
+ } = _ref;
48
+
49
+ const checkIsStackItem = child => {
50
+ if (!(child.type && (child.type === StackItem || child.type === HStack || child.type === VStack))) {
51
+ throw new Error('Stack received an invalid child. Only StackItems are valid children of Stacks.');
52
+ }
53
+ };
54
+
55
+ useEffect(() => {
56
+ if (Array.isArray(children)) {
57
+ children.forEach(child => {
58
+ checkIsStackItem(child);
59
+ });
60
+ } else if (children) {
61
+ checkIsStackItem(children);
62
+ }
63
+ }, [children]);
64
+ const alignment = direction === 'horizontal' ? alignChildrenY : alignChildrenX;
65
+ const justification = direction === 'horizontal' ? alignChildrenX : alignChildrenY;
66
+ return /*#__PURE__*/React__default.createElement("div", {
67
+ ref: ref,
68
+ style: {
69
+ display: 'flex',
70
+ flexWrap: 'nowrap',
71
+ flexDirection: direction === 'horizontal' ? 'row' : 'column',
72
+ gap,
73
+ width,
74
+ minWidth,
75
+ maxWidth,
76
+ height,
77
+ minHeight,
78
+ maxHeight,
79
+ flex: fillSpace ? '1 1 0%' : 'none',
80
+ justifyContent: convertAlignment(justification),
81
+ alignItems: convertAlignment(alignment),
82
+ paddingLeft,
83
+ paddingRight,
84
+ paddingTop,
85
+ paddingBottom,
86
+ marginLeft,
87
+ marginRight,
88
+ marginTop,
89
+ marginBottom
90
+ },
91
+ "aria-label": ariaLabel,
92
+ "aria-labelledby": ariaLabelledBy,
93
+ "aria-describedby": ariaDescribedBy,
94
+ "data-testid": dataTestId
95
+ }, children);
96
+ });
97
+
98
+ export { Stack };
@@ -0,0 +1,37 @@
1
+ import React__default, { forwardRef } from 'react';
2
+
3
+ // Explicitly listed props to prevent arbitrary prop spreading
4
+ const StackItem = /*#__PURE__*/forwardRef((_ref, ref) => {
5
+ let {
6
+ width,
7
+ minWidth,
8
+ maxWidth,
9
+ height,
10
+ minHeight,
11
+ maxHeight,
12
+ fillSpace,
13
+ 'aria-label': ariaLabel,
14
+ 'aria-labelledby': ariaLabelledBy,
15
+ 'aria-describedby': ariaDescribedBy,
16
+ 'data-testid': dataTestId,
17
+ children
18
+ } = _ref;
19
+ return /*#__PURE__*/React__default.createElement("div", {
20
+ ref: ref,
21
+ style: {
22
+ width,
23
+ minWidth,
24
+ maxWidth,
25
+ height,
26
+ minHeight,
27
+ maxHeight,
28
+ flex: fillSpace ? '1 1 0%' : 'none'
29
+ },
30
+ "aria-label": ariaLabel,
31
+ "aria-labelledby": ariaLabelledBy,
32
+ "aria-describedby": ariaDescribedBy,
33
+ "data-testid": dataTestId
34
+ }, children);
35
+ });
36
+
37
+ export { StackItem };
@@ -0,0 +1,11 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import React__default, { forwardRef } from 'react';
3
+ import { Stack } from './Stack.js';
4
+
5
+ const VStack = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(Stack, _extends({
6
+ ref: ref
7
+ }, props, {
8
+ direction: "vertical"
9
+ })));
10
+
11
+ export { VStack };
@@ -0,0 +1,3 @@
1
+ export { VStack } from './VStack.js';
2
+ export { HStack } from './HStack.js';
3
+ export { StackItem } from './StackItem.js';
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._2KENN{display:inline-block;position:relative}._trLAO{width:120px}._trLAO ._2lZVN._25PKA{transform:rotate(-180deg)}._trLAO ._2lZVN._BYWbu{fill:#9d9fa1;opacity:.4}._33O-V>input:focus{box-shadow:none!important;border:1px solid #898989!important}._jI5I9{width:120px}._jI5I9 ._2nvTS._3ubVg{background-color:#efefef;border-radius:6px}._2lZVN{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._2lZVN._25PKA{transform:rotate(-180deg)}";
4
- var styles = {"container":"_2KENN","input":"_trLAO","icon":"_2lZVN","open":"_25PKA","disabled":"_BYWbu","ignoreFocusStyle":"_33O-V","flyout":"_jI5I9","option":"_2nvTS","exactMatch":"_3ubVg"};
5
- var stylesheet="._2KENN{display:inline-block;position:relative}._trLAO{width:120px}._trLAO ._2lZVN._25PKA{transform:rotate(-180deg)}._trLAO ._2lZVN._BYWbu{fill:#9d9fa1;opacity:.4}._33O-V>input:focus{box-shadow:none!important;border:1px solid #898989!important}._jI5I9{width:120px}._jI5I9 ._2nvTS._3ubVg{background-color:#efefef;border-radius:6px}._2lZVN{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._2lZVN._25PKA{transform:rotate(-180deg)}";
3
+ var css_248z = "._2Oyf2{display:inline-block;position:relative}._1tW8U{width:120px}._1tW8U ._2E1vK._1RHem{transform:rotate(-180deg)}._1tW8U ._2E1vK._Y1JVY{fill:#9d9fa1;opacity:.4}._3TCzL>input:focus{box-shadow:none!important;border:1px solid #898989!important}._2tOvI{width:120px}._2tOvI ._KUDKk._wxJ21{background-color:#efefef;border-radius:6px}._2E1vK{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._2E1vK._1RHem{transform:rotate(-180deg)}";
4
+ var styles = {"container":"_2Oyf2","input":"_1tW8U","icon":"_2E1vK","open":"_1RHem","disabled":"_Y1JVY","ignoreFocusStyle":"_3TCzL","flyout":"_2tOvI","option":"_KUDKk","exactMatch":"_wxJ21"};
5
+ var stylesheet="._2Oyf2{display:inline-block;position:relative}._1tW8U{width:120px}._1tW8U ._2E1vK._1RHem{transform:rotate(-180deg)}._1tW8U ._2E1vK._Y1JVY{fill:#9d9fa1;opacity:.4}._3TCzL>input:focus{box-shadow:none!important;border:1px solid #898989!important}._2tOvI{width:120px}._2tOvI ._KUDKk._wxJ21{background-color:#efefef;border-radius:6px}._2E1vK{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._2E1vK._1RHem{transform:rotate(-180deg)}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._3q8IV{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._IqcC7{background-color:rgba(50,54,58,.08)}._JSEbi{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._2K-u5{color:rgba(81,85,89,.4);cursor:not-allowed}._3xUZy{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._1MDFM{color:#085caf;border-color:#085caf}._1MDFM,._D6YvD{background:rgba(11,110,208,.11)}._D6YvD{color:#0854a1;border-color:#0854a1}._3agHc{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._3c9Wt{position:relative;display:inline-grid}._3c9Wt svg{fill:currentColor}._3c9Wt ._12VoI{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._3c9Wt ._12VoI+._uQfxW{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;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}._3c9Wt ._12VoI+._uQfxW._CeE7N{padding:5px;max-width:36px;min-width:36px}._3c9Wt ._12VoI+._uQfxW._NywqO{padding:0 16px}._3c9Wt ._12VoI+._uQfxW._3AEEw{padding:0 16px 0 12px}._3c9Wt ._12VoI:hover+._uQfxW{background-color:rgba(50,54,58,.08)}._3c9Wt ._12VoI:disabled+._uQfxW{color:rgba(81,85,89,.4);cursor:not-allowed}._3c9Wt ._12VoI:active+._uQfxW,._3c9Wt ._12VoI:focus:active+._uQfxW{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._3c9Wt ._12VoI:checked+._uQfxW{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._3c9Wt ._12VoI:checked:hover+._uQfxW{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._3c9Wt ._12VoI:checked:disabled+._uQfxW{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._3c9Wt ._12VoI:checked:active+._uQfxW,._3c9Wt ._12VoI:checked:focus:active+._uQfxW{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._3XpyM{display:inline-flex;position:relative}._3XpyM:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._3XpyM>*{flex-shrink:0;flex-grow:0}._3LV_L{border:none;margin:0;padding:0}._3LV_L legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}body.keyboard-user ._3c9Wt ._12VoI:active:focus+._uQfxW,body.keyboard-user ._3c9Wt ._12VoI:focus+._uQfxW{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"default":"_3q8IV","hovered":"_IqcC7","pressed":"_JSEbi","disabled":"_2K-u5","selectedDefault":"_3xUZy","selectedHovered":"_1MDFM","selectedPressed":"_D6YvD","selectedDisabled":"_3agHc","toggleContainer":"_3c9Wt","toggleInput":"_12VoI","toggleButton":"_uQfxW","iconOnly":"_CeE7N","text":"_NywqO","iconText":"_3AEEw","toggleButtonGroup":"_3XpyM","toggleButtonGroupFieldset":"_3LV_L"};
5
- var stylesheet="._3q8IV{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._IqcC7{background-color:rgba(50,54,58,.08)}._JSEbi{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._2K-u5{color:rgba(81,85,89,.4);cursor:not-allowed}._3xUZy{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._1MDFM{color:#085caf;border-color:#085caf}._1MDFM,._D6YvD{background:rgba(11,110,208,.11)}._D6YvD{color:#0854a1;border-color:#0854a1}._3agHc{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._3c9Wt{position:relative;display:inline-grid}._3c9Wt svg{fill:currentColor}._3c9Wt ._12VoI{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._3c9Wt ._12VoI+._uQfxW{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;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}._3c9Wt ._12VoI+._uQfxW._CeE7N{padding:5px;max-width:36px;min-width:36px}._3c9Wt ._12VoI+._uQfxW._NywqO{padding:0 16px}._3c9Wt ._12VoI+._uQfxW._3AEEw{padding:0 16px 0 12px}._3c9Wt ._12VoI:hover+._uQfxW{background-color:rgba(50,54,58,.08)}._3c9Wt ._12VoI:disabled+._uQfxW{color:rgba(81,85,89,.4);cursor:not-allowed}._3c9Wt ._12VoI:active+._uQfxW,._3c9Wt ._12VoI:focus:active+._uQfxW{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._3c9Wt ._12VoI:checked+._uQfxW{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._3c9Wt ._12VoI:checked:hover+._uQfxW{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._3c9Wt ._12VoI:checked:disabled+._uQfxW{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._3c9Wt ._12VoI:checked:active+._uQfxW,._3c9Wt ._12VoI:checked:focus:active+._uQfxW{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._3XpyM{display:inline-flex;position:relative}._3XpyM:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._3XpyM>*{flex-shrink:0;flex-grow:0}._3LV_L{border:none;margin:0;padding:0}._3LV_L legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}body.keyboard-user ._3c9Wt ._12VoI:active:focus+._uQfxW,body.keyboard-user ._3c9Wt ._12VoI:focus+._uQfxW{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._3Ti5s{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._2e6IW{background-color:rgba(50,54,58,.08)}._FPQrC{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._7n-Pr{color:rgba(81,85,89,.4);cursor:not-allowed}._3biNn{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._1wf3x{color:#085caf;border-color:#085caf}._1wf3x,._25va6{background:rgba(11,110,208,.11)}._25va6{color:#0854a1;border-color:#0854a1}._2-XkQ{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._1R5xb{position:relative;display:inline-grid}._1R5xb svg{fill:currentColor}._1R5xb ._DhG_E{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._1R5xb ._DhG_E+._2LOe0{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;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}._1R5xb ._DhG_E+._2LOe0._1NTR2{padding:5px;max-width:36px;min-width:36px}._1R5xb ._DhG_E+._2LOe0._39m6s{padding:0 16px}._1R5xb ._DhG_E+._2LOe0._3wNIz{padding:0 16px 0 12px}._1R5xb ._DhG_E:hover+._2LOe0{background-color:rgba(50,54,58,.08)}._1R5xb ._DhG_E:disabled+._2LOe0{color:rgba(81,85,89,.4);cursor:not-allowed}._1R5xb ._DhG_E:active+._2LOe0,._1R5xb ._DhG_E:focus:active+._2LOe0{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._1R5xb ._DhG_E:checked+._2LOe0{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._1R5xb ._DhG_E:checked:hover+._2LOe0{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._1R5xb ._DhG_E:checked:disabled+._2LOe0{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._1R5xb ._DhG_E:checked:active+._2LOe0,._1R5xb ._DhG_E:checked:focus:active+._2LOe0{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._29gUb{display:inline-flex;position:relative}._29gUb:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._29gUb>*{flex-shrink:0;flex-grow:0}._67Jef{border:none;margin:0;padding:0}._67Jef legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}body.keyboard-user ._1R5xb ._DhG_E:active:focus+._2LOe0,body.keyboard-user ._1R5xb ._DhG_E:focus+._2LOe0{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"default":"_3Ti5s","hovered":"_2e6IW","pressed":"_FPQrC","disabled":"_7n-Pr","selectedDefault":"_3biNn","selectedHovered":"_1wf3x","selectedPressed":"_25va6","selectedDisabled":"_2-XkQ","toggleContainer":"_1R5xb","toggleInput":"_DhG_E","toggleButton":"_2LOe0","iconOnly":"_1NTR2","text":"_39m6s","iconText":"_3wNIz","toggleButtonGroup":"_29gUb","toggleButtonGroupFieldset":"_67Jef"};
5
+ var stylesheet="._3Ti5s{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._2e6IW{background-color:rgba(50,54,58,.08)}._FPQrC{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._7n-Pr{color:rgba(81,85,89,.4);cursor:not-allowed}._3biNn{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._1wf3x{color:#085caf;border-color:#085caf}._1wf3x,._25va6{background:rgba(11,110,208,.11)}._25va6{color:#0854a1;border-color:#0854a1}._2-XkQ{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._1R5xb{position:relative;display:inline-grid}._1R5xb svg{fill:currentColor}._1R5xb ._DhG_E{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._1R5xb ._DhG_E+._2LOe0{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;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}._1R5xb ._DhG_E+._2LOe0._1NTR2{padding:5px;max-width:36px;min-width:36px}._1R5xb ._DhG_E+._2LOe0._39m6s{padding:0 16px}._1R5xb ._DhG_E+._2LOe0._3wNIz{padding:0 16px 0 12px}._1R5xb ._DhG_E:hover+._2LOe0{background-color:rgba(50,54,58,.08)}._1R5xb ._DhG_E:disabled+._2LOe0{color:rgba(81,85,89,.4);cursor:not-allowed}._1R5xb ._DhG_E:active+._2LOe0,._1R5xb ._DhG_E:focus:active+._2LOe0{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._1R5xb ._DhG_E:checked+._2LOe0{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._1R5xb ._DhG_E:checked:hover+._2LOe0{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._1R5xb ._DhG_E:checked:disabled+._2LOe0{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._1R5xb ._DhG_E:checked:active+._2LOe0,._1R5xb ._DhG_E:checked:focus:active+._2LOe0{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._29gUb{display:inline-flex;position:relative}._29gUb:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._29gUb>*{flex-shrink:0;flex-grow:0}._67Jef{border:none;margin:0;padding:0}._67Jef legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}body.keyboard-user ._1R5xb ._DhG_E:active:focus+._2LOe0,body.keyboard-user ._1R5xb ._DhG_E:focus+._2LOe0{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };