@qualtrics/ui-react 2.25.0 → 2.26.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 (152) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/__shared/cjs/{index-5b3b3406.js → index-ae6df097.js} +3 -3
  3. package/dist/__shared/cjs/{index-610a1e02.js → index-dc6f69ac.js} +262 -256
  4. package/dist/components/Accordion/Accordion2.js +3 -3
  5. package/dist/components/Button/Button.js +3 -3
  6. package/dist/components/Button/Button2.js +1 -1
  7. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  8. package/dist/components/Checkbox/Checkbox2.js +3 -3
  9. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  10. package/dist/components/ColorPicker/Alpha.js +1 -1
  11. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  12. package/dist/components/ColorPicker/Hue.js +1 -1
  13. package/dist/components/ColorPicker/Palette.js +1 -1
  14. package/dist/components/ColorPicker/Saturation.js +1 -1
  15. package/dist/components/Combobox/Combobox.js +3 -3
  16. package/dist/components/Combobox/Combobox2.js +3 -3
  17. package/dist/components/Combobox/ComboboxIcon.js +1 -1
  18. package/dist/components/Combobox/ComboboxInput.js +1 -1
  19. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  20. package/dist/components/Divider/Divider2.js +3 -3
  21. package/dist/components/Dropdown/Dropdown.js +4 -4
  22. package/dist/components/Dropdown/Dropdown2.js +3 -3
  23. package/dist/components/Dropdown/DropdownButton.js +6 -6
  24. package/dist/components/Dropdown/DropdownList.js +1 -1
  25. package/dist/components/Dropdown/DropdownOption.js +2 -2
  26. package/dist/components/Dropdown/DropdownSearch.js +2 -2
  27. package/dist/components/FilePicker/FilePicker.js +2 -2
  28. package/dist/components/FilePicker/FilePicker2.js +3 -3
  29. package/dist/components/FormField/Caption.js +3 -3
  30. package/dist/components/FormField/FormField2.js +3 -3
  31. package/dist/components/FormField/FormFieldContext.js +3 -3
  32. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +2 -2
  33. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  34. package/dist/components/IconButton/IconButton2.js +3 -3
  35. package/dist/components/InlineInput/InlineInput.js +7 -7
  36. package/dist/components/InlineInput/InlineInput2.js +3 -3
  37. package/dist/components/Input/Input2.js +3 -3
  38. package/dist/components/Input/InputField.js +2 -2
  39. package/dist/components/InputGroup/InputGroup2.js +3 -3
  40. package/dist/components/Label/Label2.js +3 -3
  41. package/dist/components/Link/Link2.js +3 -3
  42. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  43. package/dist/components/LogicEditor/LogicEditor.js +1 -1
  44. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  45. package/dist/components/Modal/Modal.js +6 -6
  46. package/dist/components/Modal/Modal2.js +3 -3
  47. package/dist/components/NewMenu/BaseMenu.js +3 -3
  48. package/dist/components/NewMenu/NewMenu.js +3 -3
  49. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -2
  50. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +3 -3
  51. package/dist/components/NumberStepper/NumberStepper.js +2 -2
  52. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  53. package/dist/components/NumberStepper/NumberStepperDecrement.js +1 -1
  54. package/dist/components/NumberStepper/NumberStepperIncrement.js +1 -1
  55. package/dist/components/NumberStepper/NumberStepperInput.js +3 -3
  56. package/dist/components/PageLayout/PageLayout.js +3 -3
  57. package/dist/components/Pagination/Pagination.js +1 -1
  58. package/dist/components/Pagination/Pagination2.js +3 -3
  59. package/dist/components/Pagination/PaginationNextButton.js +3 -3
  60. package/dist/components/Pagination/PaginationPageInput.js +8 -8
  61. package/dist/components/Pagination/PaginationPreviousButton.js +3 -3
  62. package/dist/components/Popover/Popover.js +5 -5
  63. package/dist/components/Popover/Popover2.js +3 -3
  64. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  65. package/dist/components/QuickSearch/QuickSearchInput.js +4 -4
  66. package/dist/components/Radio/Radio2.js +3 -3
  67. package/dist/components/SearchInput/SearchInput.js +2 -2
  68. package/dist/components/SearchInput/SearchInput2.js +3 -3
  69. package/dist/components/SidebarNav/SidebarNav.js +1 -1
  70. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  71. package/dist/components/Slider/Slider2.js +3 -3
  72. package/dist/components/Switch/Switch2.js +3 -3
  73. package/dist/components/Table/Table2.js +3 -3
  74. package/dist/components/Tabs/Tabs2.js +3 -3
  75. package/dist/components/Tooltip/Tooltip2.js +3 -3
  76. package/dist/components/deprecated_ColorPicker/Alpha.js +2 -2
  77. package/dist/components/deprecated_ColorPicker/ColorPicker.js +1 -1
  78. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  79. package/dist/components/deprecated_ColorPicker/HexInput.js +1 -1
  80. package/dist/components/deprecated_ColorPicker/Hue.js +2 -2
  81. package/dist/components/deprecated_ColorPicker/Saturation.js +2 -2
  82. package/dist/components/deprecated_ColorPicker/Swatch.js +1 -1
  83. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  84. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +1 -1
  85. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +1 -1
  86. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +3 -3
  87. package/dist/components/deprecated_Tabs/Tabs.js +3 -3
  88. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  89. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  90. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +1 -1
  91. package/dist/components/deprecated_Toolbar/ToolbarTab.js +5 -5
  92. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +3 -3
  93. package/dist/hooks/useControllableState/useControllableState.js +1 -1
  94. package/dist/hooks/useOverlay/useOverlay.js +2 -2
  95. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  96. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +1 -1
  97. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  98. package/dist/icons/Icon.js +3 -3
  99. package/dist/icons/index.js +1 -1
  100. package/dist/index.d.ts +6 -0
  101. package/dist/index.es.js +1 -1
  102. package/dist/index.js +3 -3
  103. package/dist/next/AdvancedTable/AdvancedTable.js +8 -6
  104. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  105. package/dist/next/AdvancedTable/AdvancedTableCell.js +4 -4
  106. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +3 -3
  107. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +2 -2
  108. package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -1
  109. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +3 -3
  110. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  111. package/dist/next/Combobox/Combobox.js +2 -0
  112. package/dist/next/Combobox/Combobox2.js +3 -3
  113. package/dist/next/Combobox/ComboboxInput.js +2 -0
  114. package/dist/next/Combobox/ComboboxOption.js +2 -0
  115. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +1 -1
  116. package/dist/next/Drawer/Drawer.js +2 -2
  117. package/dist/next/Drawer/Drawer2.js +3 -3
  118. package/dist/next/FilterAnchor/FilterAnchor.js +2 -2
  119. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  120. package/dist/next/Input/Input2.js +3 -3
  121. package/dist/next/Menu/Hooks/useFocusVirtualBoundary.js +41 -0
  122. package/dist/next/Menu/Hooks/useIsVirtualized.js +8 -0
  123. package/dist/next/Menu/Hooks/useMaskDimensions.js +59 -0
  124. package/dist/next/Menu/{useMutationObserver.js → Hooks/useMutationObserver.js} +1 -1
  125. package/dist/next/Menu/{usePaneSearch.js → Hooks/usePaneSearch.js} +61 -24
  126. package/dist/next/Menu/Menu.js +19 -24
  127. package/dist/next/Menu/Menu2.js +3 -3
  128. package/dist/next/Menu/MenuContext.js +5 -1
  129. package/dist/next/Menu/MenuItem.js +21 -14
  130. package/dist/next/Menu/MenuPane.js +73 -54
  131. package/dist/next/Menu/PaneChildren.js +47 -0
  132. package/dist/next/Menu/SubMenu.js +57 -39
  133. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -1
  134. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  135. package/dist/next/Select/Select.js +10 -6
  136. package/dist/next/Select/Select2.js +3 -3
  137. package/dist/next/Select/SubSelect.js +2 -2
  138. package/dist/next/SplitButton/SplitButton2.js +3 -3
  139. package/dist/next/TimePicker/TimePicker2.js +3 -3
  140. package/dist/next/TimePicker/TimePickerIcon.js +1 -1
  141. package/dist/next/ToggleButton/styles.js +3 -3
  142. package/dist/next/index.d.ts +17 -3
  143. package/dist/next/index.js +424 -212
  144. package/dist/translations-en.js +7 -1
  145. package/dist/utils/Flyout/Flyout2.js +3 -3
  146. package/dist/utils/Popper/Popper.js +2 -2
  147. package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -1
  148. package/dist/utils/wrapEvent/wrapEvent.js +1 -1
  149. package/icons/package.json +2 -0
  150. package/next/package.json +3 -1
  151. package/package.json +4 -2
  152. /package/dist/next/Menu/{useCSSVariable.js → Hooks/useCSSVariable.js} +0 -0
@@ -5,15 +5,19 @@ import classNames from 'classnames';
5
5
  import { useFocusVisible } from '@react-aria/interactions';
6
6
  import styles from './Menu2.js';
7
7
  import '../../icons/index.es.js';
8
- import { usePaneContext, useMenuContext, PaneContextProvider } from './MenuContext.js';
8
+ import { useItemContext, usePaneContext, useMenuContext, PaneContextProvider } from './MenuContext.js';
9
9
  import '../../utils/index.js';
10
10
  import { DATA_TESTID_SUFFIXES as DATA_TESTID_SUFFIXES$1, KEYS as KEYS$1 } from './constants.js';
11
11
  import { DATA_TESTID_SUFFIXES, KEYS } from '../Select/constants.js';
12
12
  import '../../hooks/index.js';
13
- import usePaneSearch from './usePaneSearch.js';
13
+ import usePaneSearch from './Hooks/usePaneSearch.js';
14
14
  import useSelectContext from '../Select/SelectContext.js';
15
15
  import AdvancedTableCheckbox from '../AdvancedTable/AdvancedTableCheckbox.js';
16
16
  import styles$1 from '../Select/Select2.js';
17
+ import PaneChildren from './PaneChildren.js';
18
+ import useFocusVirtualBoundary from './Hooks/useFocusVirtualBoundary.js';
19
+ import useIsVirtualized from './Hooks/useIsVirtualized.js';
20
+ import useMaskDimensions from './Hooks/useMaskDimensions.js';
17
21
  import useId from '../../hooks/useId/useId.js';
18
22
  import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
19
23
  import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
@@ -45,6 +49,9 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
45
49
  triggerCheckedState = 'false',
46
50
  onTriggerCheckboxSelect
47
51
  } = selectContext !== null && selectContext !== void 0 ? selectContext : {};
52
+ const {
53
+ virtualIndex
54
+ } = useItemContext();
48
55
  const [items, setItems] = useState([]);
49
56
  const internalId = useId();
50
57
  const triggerRef = useRef(null);
@@ -53,18 +60,18 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
53
60
  const backButtonRef = useRef(null);
54
61
  const {
55
62
  dataTestId: paneContainingTriggerDataTestId,
56
- childIndex: triggerIndex,
57
- searchValue: paneContainingTriggerSearchValue,
58
- isSearchFilteringDisabled: isSearchFilteringDisabledForPaneContainingTrigger,
63
+ childIndex,
59
64
  isInteractive: paneContainingTriggerIsInteractive,
60
65
  closeSubmenu: closeSubmenuContainingTrigger,
61
- zIndex: paneContainingTriggerZIndex
66
+ zIndex: paneContainingTriggerZIndex,
67
+ focusVirtualBoundary: focusVirtualBoundaryWithinPaneContainingTrigger,
68
+ isVirtualized: paneContainingTriggerIsVirtualized
62
69
  } = usePaneContext(triggerRef);
70
+ const triggerIndex = useMemo(() => virtualIndex !== null && virtualIndex !== void 0 ? virtualIndex : childIndex, [childIndex, virtualIndex]);
63
71
  const {
64
72
  openPaneDepth: totalOpenPaneDepth,
65
73
  registerSubmenu,
66
- setMaskHeight,
67
- setMaskWidth
74
+ isVirtualizationDisabled
68
75
  } = useMenuContext();
69
76
  const {
70
77
  isFocusVisible
@@ -82,14 +89,30 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
82
89
  e.preventDefault();
83
90
  registerSubmenu(internalId, false);
84
91
  };
92
+ const isVirtualized = useIsVirtualized(children, isVirtualizationDisabled);
85
93
  const {
86
- internalSearchValue,
87
94
  noSearchResultsNode,
88
- onInteractOutside
89
- } = usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, items, animatedLeft, animatedRight, paneDataTestId, internalId, flyoutRef, withinSelect, backButtonRef, closeThisSubmenu);
95
+ onInteractOutside,
96
+ filteredChildren
97
+ } = usePaneSearch({
98
+ isSearchable,
99
+ externalSearchValue,
100
+ onSearchValueChange,
101
+ items,
102
+ animatedLeft,
103
+ animatedRight,
104
+ menuParentDataTestId: paneDataTestId,
105
+ id: internalId,
106
+ flyoutRef,
107
+ children,
108
+ isSearchFilteringDisabled: isSearchFilteringDisabledForChildren,
109
+ backButtonRef,
110
+ closeSubmenu: closeThisSubmenu,
111
+ isVirtualized
112
+ });
113
+ const focusVirtualBoundaryInPane = useFocusVirtualBoundary(items, backButtonRef);
90
114
  const backButtonDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES$1.MENU_PANE, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_BACK : DATA_TESTID_SUFFIXES$1.MENU_BACK);
91
115
  const triggerDataTestId = paneDataTestId === null || paneDataTestId === void 0 ? void 0 : paneDataTestId.replace(withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES$1.MENU_PANE, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_ITEM : DATA_TESTID_SUFFIXES$1.MENU_ITEM);
92
- const triggerIsVisible = useMemo(() => isSearchFilteringDisabledForPaneContainingTrigger || !paneContainingTriggerSearchValue || typeof label === 'string' && label.toLowerCase().includes(paneContainingTriggerSearchValue.toLowerCase()), [paneContainingTriggerSearchValue, label, isSearchFilteringDisabledForPaneContainingTrigger]);
93
116
  useDidUpdate(() => {
94
117
  if (isPaneInDOM) {
95
118
  setIsTransitioningFromRight(true);
@@ -98,30 +121,13 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
98
121
  window.requestAnimationFrame(() => setIsFrameAfterPaneAddedToDOM(false));
99
122
  }
100
123
  registerSubmenu(internalId, isPaneInDOM);
101
- onIsOpenChange === null || onIsOpenChange === void 0 ? void 0 : onIsOpenChange(isPaneInDOM);
124
+ onIsOpenChange === null || onIsOpenChange === void 0 || onIsOpenChange(isPaneInDOM);
102
125
  }, [isPaneInDOM]);
103
126
 
104
127
  // Omitted dependencies because this should only run on unmount
105
128
  // eslint-disable-next-line react-hooks/exhaustive-deps
106
129
  useEffect(() => () => registerSubmenu(internalId, false), []);
107
- useDidUpdate(() => {
108
- if (thisPanesDepth === totalOpenPaneDepth && flyoutRef.current) {
109
- setMaskHeight(flyoutRef.current.clientHeight);
110
- setMaskWidth(flyoutRef.current.clientWidth);
111
- }
112
- },
113
- // ignoring other dependencies because this should only run when the children change
114
- [children]);
115
- useDidUpdate(() => {
116
- if (thisPanesDepth === totalOpenPaneDepth) {
117
- window.requestAnimationFrame(() => {
118
- if (flyoutRef.current) {
119
- setMaskHeight(flyoutRef.current.clientHeight);
120
- setMaskWidth(flyoutRef.current.clientWidth);
121
- }
122
- });
123
- }
124
- }, [totalOpenPaneDepth, internalSearchValue]);
130
+ useMaskDimensions(flyoutRef.current, animatedLeft, thisPanesDepth, children);
125
131
  const handlePaneTransitionEnd = () => {
126
132
  var _flyoutRef$current;
127
133
  if (animatedLeft) {
@@ -131,7 +137,7 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
131
137
  setIsPaneInDOM(false);
132
138
  if (isFocusVisible) {
133
139
  var _triggerRef$current;
134
- (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.focus();
140
+ (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 || _triggerRef$current.focus();
135
141
  }
136
142
  return;
137
143
  }
@@ -146,7 +152,7 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
146
152
  }
147
153
  setIsTransitioningFromRight(false);
148
154
  };
149
- return triggerIsVisible ? /*#__PURE__*/React__default.createElement(Sub, {
155
+ return /*#__PURE__*/React__default.createElement(Sub, {
150
156
  open: isPaneInDOM
151
157
  }, /*#__PURE__*/React__default.createElement(SubTrigger, _extends({
152
158
  className: classNames(styles.menuItem, styles.subMenu, {
@@ -163,13 +169,19 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
163
169
  return;
164
170
  }
165
171
  if (multiselect && !isSelectedItems && KEYS.CHECK_PARENT.includes(e.key)) {
166
- onTriggerCheckboxSelect === null || onTriggerCheckboxSelect === void 0 ? void 0 : onTriggerCheckboxSelect();
172
+ onTriggerCheckboxSelect === null || onTriggerCheckboxSelect === void 0 || onTriggerCheckboxSelect();
167
173
  return;
168
174
  }
169
175
  if (!isDisabled && KEYS$1.OPEN_SUBMENU.includes(e.key)) {
170
176
  setIsPaneInDOM(true);
171
177
  } else if (KEYS$1.CLOSE_SUBMENU.includes(e.key)) {
172
- closeSubmenuContainingTrigger === null || closeSubmenuContainingTrigger === void 0 ? void 0 : closeSubmenuContainingTrigger(e);
178
+ closeSubmenuContainingTrigger === null || closeSubmenuContainingTrigger === void 0 || closeSubmenuContainingTrigger(e);
179
+ } else if (paneContainingTriggerIsVirtualized && KEYS$1.NAVIGATE_TOP.includes(e.key)) {
180
+ e.preventDefault();
181
+ focusVirtualBoundaryWithinPaneContainingTrigger('top');
182
+ } else if (paneContainingTriggerIsVirtualized && KEYS$1.NAVIIGATE_BOTTOM.includes(e.key)) {
183
+ e.preventDefault();
184
+ focusVirtualBoundaryWithinPaneContainingTrigger('bottom');
173
185
  }
174
186
  }
175
187
  }, subSelectTriggerProps), multiselect && !isSelectedItems ? /*#__PURE__*/React__default.createElement(AdvancedTableCheckbox, {
@@ -184,13 +196,13 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
184
196
  setItems: setItems,
185
197
  value: {
186
198
  dataTestId: paneDataTestId,
187
- searchValue: internalSearchValue,
188
- isSearchFilteringDisabled: isSearchFilteringDisabledForChildren,
189
199
  isInteractive: !isTransitioningFromRight && !animatedLeft && !animatedRight,
190
200
  closeSubmenu: closeThisSubmenu,
191
201
  flyoutRef,
192
202
  stickyBoxRef,
193
- zIndex
203
+ zIndex,
204
+ focusVirtualBoundary: focusVirtualBoundaryInPane,
205
+ isVirtualized
194
206
  }
195
207
  }, /*#__PURE__*/React__default.createElement(SubContent, _extends({}, rest, {
196
208
  loop: !isSearchable,
@@ -224,12 +236,18 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
224
236
  onKeyDown: e => {
225
237
  if (KEYS$1.CLOSE_SUBMENU.includes(e.key)) {
226
238
  closeThisSubmenu(e);
239
+ } else if (isVirtualized && KEYS$1.NAVIGATE_TOP.includes(e.key)) {
240
+ e.preventDefault();
241
+ focusVirtualBoundaryInPane('top');
242
+ } else if (isVirtualized && KEYS$1.NAVIIGATE_BOTTOM.includes(e.key)) {
243
+ e.preventDefault();
244
+ focusVirtualBoundaryInPane('bottom');
227
245
  }
228
246
  }
229
247
  }, /*#__PURE__*/React__default.createElement(ArrowLeftIcon, {
230
248
  size: "small",
231
249
  className: styles.backIcon
232
- }), label)), noSearchResultsNode, children))) : null;
250
+ }), label)), noSearchResultsNode, /*#__PURE__*/React__default.createElement(PaneChildren, null, filteredChildren))));
233
251
  });
234
252
  var SubMenu$1 = SubMenu;
235
253
 
@@ -67,7 +67,7 @@ const PhoneNumberInput = /*#__PURE__*/forwardRef((_ref, ref) => {
67
67
  } catch (e) {
68
68
  // `parsePhoneNumber` throws an error if the inputs are invalid.
69
69
  }
70
- onChange === null || onChange === void 0 ? void 0 : onChange(internationalNumber, isValidLength, countryCode, value);
70
+ onChange === null || onChange === void 0 || onChange(internationalNumber, isValidLength, countryCode, value);
71
71
  };
72
72
  const inputClassNames = classNames(styles.input, {
73
73
  [styles.disabled]: isDisabled
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._HPfzi input{padding-left:76px!important}._66Idh input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._66Idh input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._66Idh input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._dQNnM{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._dQNnM,._dQNnM._66Idh:hover{background-color:transparent!important}._dQNnM:hover{background-color:rgba(50,54,58,.08)!important}._dQNnM:active{background-color:rgba(50,54,58,.11)!important}._dQNnM svg{top:2px!important}._HVMkk{position:relative}._glnNQ{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
4
- var styles = {"input":"_HPfzi","disabled":"_66Idh","dropdown":"_dQNnM","container":"_HVMkk","countryCode":"_glnNQ"};
5
- var stylesheet="._HPfzi input{padding-left:76px!important}._66Idh input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._66Idh input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._66Idh input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._dQNnM{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._dQNnM,._dQNnM._66Idh:hover{background-color:transparent!important}._dQNnM:hover{background-color:rgba(50,54,58,.08)!important}._dQNnM:active{background-color:rgba(50,54,58,.11)!important}._dQNnM svg{top:2px!important}._HVMkk{position:relative}._glnNQ{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
3
+ var css_248z = "._Yam-8 input{padding-left:76px!important}._2PHbV input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._2PHbV input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2PHbV input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._LSADJ{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._LSADJ,._LSADJ._2PHbV:hover{background-color:transparent!important}._LSADJ:hover{background-color:rgba(50,54,58,.08)!important}._LSADJ:active{background-color:rgba(50,54,58,.11)!important}._LSADJ svg{top:2px!important}._tJt-2{position:relative}._cCDs1{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
4
+ var styles = {"input":"_Yam-8","disabled":"_2PHbV","dropdown":"_LSADJ","container":"_tJt-2","countryCode":"_cCDs1"};
5
+ var stylesheet="._Yam-8 input{padding-left:76px!important}._2PHbV input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._2PHbV input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2PHbV input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._LSADJ{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._LSADJ,._LSADJ._2PHbV:hover{background-color:transparent!important}._LSADJ:hover{background-color:rgba(50,54,58,.08)!important}._LSADJ:active{background-color:rgba(50,54,58,.11)!important}._LSADJ svg{top:2px!important}._tJt-2{position:relative}._cCDs1{position:absolute;top:18px;left:12px;line-height:0;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 };
@@ -22,9 +22,11 @@ const GetSelectItemsFrom = function (startingChildren) {
22
22
  if (child.type === SelectItem) {
23
23
  const {
24
24
  label,
25
- value: childValue
25
+ value: childValue,
26
+ children: childChildren
26
27
  } = child.props;
27
- current.push([childValue, label]);
28
+ const safeLabel = label !== null && label !== void 0 ? label : ['string', 'number'].includes(typeof childChildren) ? childChildren : undefined;
29
+ current.push([childValue, safeLabel]);
28
30
  } else if (child.type === SubSelect) {
29
31
  current.push(...GetSelectItemsFrom(child.props.children, filter));
30
32
  }
@@ -41,7 +43,8 @@ const Select = _ref => {
41
43
  onIsOpenChange,
42
44
  value,
43
45
  isInvalid,
44
- 'data-testid': dataTestId
46
+ 'data-testid': dataTestId,
47
+ isVirtualizationDisabled
45
48
  } = _ref;
46
49
  const [selectedValues, setSelectedValues] = useControllableState(value, onChange, value);
47
50
  const selectPaneChildren = useMemo(() => {
@@ -54,14 +57,14 @@ const Select = _ref => {
54
57
  let {
55
58
  value: _value
56
59
  } = _ref2;
57
- return !_value || selectedValues.includes(_value);
60
+ return _value == null || selectedValues.includes(_value);
58
61
  }));
59
62
  }
60
63
  return new Map(GetSelectItemsFrom(selectPaneChildren, _ref3 => {
61
64
  let {
62
65
  value: _value
63
66
  } = _ref3;
64
- return !_value || selectedValues === _value;
67
+ return _value == null || selectedValues === _value;
65
68
  }));
66
69
  }, [selectedValues, selectPaneChildren]);
67
70
  const enabledSelectItems = useMemo(() => new Map(GetSelectItemsFrom(selectPaneChildren, _ref4 => {
@@ -95,7 +98,8 @@ const Select = _ref => {
95
98
  isDisabled,
96
99
  isOpen,
97
100
  onIsOpenChange,
98
- 'data-testid': dataTestId
101
+ 'data-testid': dataTestId,
102
+ isVirtualizationDisabled
99
103
  };
100
104
  return /*#__PURE__*/React__default.createElement(SelectContextProvider, {
101
105
  value: {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._xxuYT{box-shadow:inset 0 0 0 1px #b00!important}._pk2uK{width:unset!important;min-height:unset!important;padding:0!important;margin-right:7px}._m1vLs{background-color:rgba(11,110,208,.08);font-weight:500}";
4
- var styles = {"isInvalid":"_xxuYT","checkbox":"_pk2uK","selectedItem":"_m1vLs"};
5
- var stylesheet="._xxuYT{box-shadow:inset 0 0 0 1px #b00!important}._pk2uK{width:unset!important;min-height:unset!important;padding:0!important;margin-right:7px}._m1vLs{background-color:rgba(11,110,208,.08);font-weight:500}";
3
+ var css_248z = "._slREa{box-shadow:inset 0 0 0 1px #b00!important}._mOaSA{width:unset!important;min-height:unset!important;padding:0!important;margin-right:7px}._lawCe{background-color:rgba(11,110,208,.08);font-weight:500}";
4
+ var styles = {"isInvalid":"_slREa","checkbox":"_mOaSA","selectedItem":"_lawCe"};
5
+ var stylesheet="._slREa{box-shadow:inset 0 0 0 1px #b00!important}._mOaSA{width:unset!important;min-height:unset!important;padding:0!important;margin-right:7px}._lawCe{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 };
@@ -42,8 +42,8 @@ const SubSelect = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
42
42
  if (isDisabled) {
43
43
  return;
44
44
  }
45
- e === null || e === void 0 ? void 0 : e.stopPropagation();
46
- setSelectedValues === null || setSelectedValues === void 0 ? void 0 : setSelectedValues(previouslySelectedValues => {
45
+ e === null || e === void 0 || e.stopPropagation();
46
+ setSelectedValues === null || setSelectedValues === void 0 || setSelectedValues(previouslySelectedValues => {
47
47
  // exclude duplicates
48
48
  const prevSet = new Set(previouslySelectedValues);
49
49
  if (checkedState === 'true') {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._Rx-nX{display:flex}._Lj2Kf{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._Lj2Kf._wfCKt{background-color:#fff}._Lj2Kf._t6cU0,._Lj2Kf._wfCKt._fIYt0.focus-visible:not(._aqQ3G),._Lj2Kf._wfCKt._fIYt0:focus-visible:not(._aqQ3G),._Lj2Kf._wfCKt._l-E8K:not(._Lj2Kf._wfCKt._WnhfG){background-color:#0b6ed0}._Lj2Kf._t6cU0._aqQ3G._fIYt0,._Lj2Kf._t6cU0._aqQ3G._WnhfG,._Lj2Kf._t6cU0._WnhfG._l-E8K{opacity:.4}._fH7iP{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._fH7iP:focus{z-index:1}._akwM4{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}._akwM4 svg{margin-left:1px}._akwM4._wfCKt{background-color:#0b6ed0;border-color:transparent}._akwM4._wfCKt svg{fill:#fff!important}._akwM4._wfCKt:not(._IFhBg):hover{background-color:#085caf!important}._akwM4._wfCKt:not(._IFhBg):active{background-color:#0854a1!important}._akwM4._wfCKt._IFhBg{opacity:.4}._akwM4._wfCKt._IFhBg svg{background-color:transparent}._akwM4._t6cU0{border-color:#0b6ed0;background-color:#fff}._akwM4._t6cU0 svg{fill:#0b6ed0!important}._akwM4._t6cU0:not(._IFhBg):hover{background-color:#eef5fc!important}._akwM4._t6cU0:not(._IFhBg):active{background-color:#e1edf9!important}._akwM4._t6cU0._IFhBg{opacity:.4}._akwM4._t6cU0._IFhBg svg{background-color:transparent}._xmOTE{width:260px}";
4
- var styles = {"container":"_Rx-nX","divider":"_Lj2Kf","primary":"_wfCKt","mainButtonFocus":"_fIYt0","mainButtonDisabled":"_aqQ3G","dropdownButtonFocus":"_l-E8K","dropdownButtonDisabled":"_WnhfG","secondary":"_t6cU0","mainButton":"_fH7iP","dropdownButton":"_akwM4","disabled":"_IFhBg","dropdownOption":"_xmOTE"};
5
- var stylesheet="._Rx-nX{display:flex}._Lj2Kf{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._Lj2Kf._wfCKt{background-color:#fff}._Lj2Kf._t6cU0,._Lj2Kf._wfCKt._fIYt0.focus-visible:not(._aqQ3G),._Lj2Kf._wfCKt._fIYt0:focus-visible:not(._aqQ3G),._Lj2Kf._wfCKt._l-E8K:not(._Lj2Kf._wfCKt._WnhfG){background-color:#0b6ed0}._Lj2Kf._t6cU0._aqQ3G._fIYt0,._Lj2Kf._t6cU0._aqQ3G._WnhfG,._Lj2Kf._t6cU0._WnhfG._l-E8K{opacity:.4}._fH7iP{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._fH7iP:focus{z-index:1}._akwM4{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}._akwM4 svg{margin-left:1px}._akwM4._wfCKt{background-color:#0b6ed0;border-color:transparent}._akwM4._wfCKt svg{fill:#fff!important}._akwM4._wfCKt:not(._IFhBg):hover{background-color:#085caf!important}._akwM4._wfCKt:not(._IFhBg):active{background-color:#0854a1!important}._akwM4._wfCKt._IFhBg{opacity:.4}._akwM4._wfCKt._IFhBg svg{background-color:transparent}._akwM4._t6cU0{border-color:#0b6ed0;background-color:#fff}._akwM4._t6cU0 svg{fill:#0b6ed0!important}._akwM4._t6cU0:not(._IFhBg):hover{background-color:#eef5fc!important}._akwM4._t6cU0:not(._IFhBg):active{background-color:#e1edf9!important}._akwM4._t6cU0._IFhBg{opacity:.4}._akwM4._t6cU0._IFhBg svg{background-color:transparent}._xmOTE{width:260px}";
3
+ var css_248z = "._wKU3g{display:flex}._hqLBl{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._hqLBl._LtiBm{background-color:#fff}._hqLBl._DWUOJ,._hqLBl._LtiBm._92PMI:not(._hqLBl._LtiBm._iVUEp),._hqLBl._LtiBm._AF6he.focus-visible:not(._-6XQD),._hqLBl._LtiBm._AF6he:focus-visible:not(._-6XQD){background-color:#0b6ed0}._hqLBl._DWUOJ._-6XQD._AF6he,._hqLBl._DWUOJ._-6XQD._iVUEp,._hqLBl._DWUOJ._iVUEp._92PMI{opacity:.4}._M-7mD{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._M-7mD:focus{z-index:1}._73oWS{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}._73oWS svg{margin-left:1px}._73oWS._LtiBm{background-color:#0b6ed0;border-color:transparent}._73oWS._LtiBm svg{fill:#fff!important}._73oWS._LtiBm:not(._XAt9I):hover{background-color:#085caf!important}._73oWS._LtiBm:not(._XAt9I):active{background-color:#0854a1!important}._73oWS._LtiBm._XAt9I{opacity:.4}._73oWS._LtiBm._XAt9I svg{background-color:transparent}._73oWS._DWUOJ{border-color:#0b6ed0;background-color:#fff}._73oWS._DWUOJ svg{fill:#0b6ed0!important}._73oWS._DWUOJ:not(._XAt9I):hover{background-color:#eef5fc!important}._73oWS._DWUOJ:not(._XAt9I):active{background-color:#e1edf9!important}._73oWS._DWUOJ._XAt9I{opacity:.4}._73oWS._DWUOJ._XAt9I svg{background-color:transparent}._9tgrH{width:260px}";
4
+ var styles = {"container":"_wKU3g","divider":"_hqLBl","primary":"_LtiBm","mainButtonFocus":"_AF6he","mainButtonDisabled":"_-6XQD","dropdownButtonFocus":"_92PMI","dropdownButtonDisabled":"_iVUEp","secondary":"_DWUOJ","mainButton":"_M-7mD","dropdownButton":"_73oWS","disabled":"_XAt9I","dropdownOption":"_9tgrH"};
5
+ var stylesheet="._wKU3g{display:flex}._hqLBl{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._hqLBl._LtiBm{background-color:#fff}._hqLBl._DWUOJ,._hqLBl._LtiBm._92PMI:not(._hqLBl._LtiBm._iVUEp),._hqLBl._LtiBm._AF6he.focus-visible:not(._-6XQD),._hqLBl._LtiBm._AF6he:focus-visible:not(._-6XQD){background-color:#0b6ed0}._hqLBl._DWUOJ._-6XQD._AF6he,._hqLBl._DWUOJ._-6XQD._iVUEp,._hqLBl._DWUOJ._iVUEp._92PMI{opacity:.4}._M-7mD{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._M-7mD:focus{z-index:1}._73oWS{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}._73oWS svg{margin-left:1px}._73oWS._LtiBm{background-color:#0b6ed0;border-color:transparent}._73oWS._LtiBm svg{fill:#fff!important}._73oWS._LtiBm:not(._XAt9I):hover{background-color:#085caf!important}._73oWS._LtiBm:not(._XAt9I):active{background-color:#0854a1!important}._73oWS._LtiBm._XAt9I{opacity:.4}._73oWS._LtiBm._XAt9I svg{background-color:transparent}._73oWS._DWUOJ{border-color:#0b6ed0;background-color:#fff}._73oWS._DWUOJ svg{fill:#0b6ed0!important}._73oWS._DWUOJ:not(._XAt9I):hover{background-color:#eef5fc!important}._73oWS._DWUOJ:not(._XAt9I):active{background-color:#e1edf9!important}._73oWS._DWUOJ._XAt9I{opacity:.4}._73oWS._DWUOJ._XAt9I svg{background-color:transparent}._9tgrH{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 = "._tj3Tz{display:inline-block;position:relative}._P0pTZ{width:120px}._P0pTZ ._XPm26._yLNq9{transform:rotate(-180deg)}._P0pTZ ._XPm26._Idv3I{fill:#9d9fa1;opacity:.4}._jULQ9>input:focus{box-shadow:none!important;border:1px solid #898989!important}._LsyFE{width:120px}._LsyFE ._mQutK._iZ18k{background-color:#efefef;border-radius:6px}._XPm26{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._XPm26._yLNq9{transform:rotate(-180deg)}";
4
- var styles = {"container":"_tj3Tz","input":"_P0pTZ","icon":"_XPm26","open":"_yLNq9","disabled":"_Idv3I","ignoreFocusStyle":"_jULQ9","flyout":"_LsyFE","option":"_mQutK","exactMatch":"_iZ18k"};
5
- var stylesheet="._tj3Tz{display:inline-block;position:relative}._P0pTZ{width:120px}._P0pTZ ._XPm26._yLNq9{transform:rotate(-180deg)}._P0pTZ ._XPm26._Idv3I{fill:#9d9fa1;opacity:.4}._jULQ9>input:focus{box-shadow:none!important;border:1px solid #898989!important}._LsyFE{width:120px}._LsyFE ._mQutK._iZ18k{background-color:#efefef;border-radius:6px}._XPm26{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._XPm26._yLNq9{transform:rotate(-180deg)}";
3
+ var css_248z = "._2q4xP{display:inline-block;position:relative}._Sow9H{width:120px}._Sow9H ._t0a-a._21LvV{transform:rotate(-180deg)}._Sow9H ._t0a-a._7eJ8s{fill:#9d9fa1;opacity:.4}._7dF8v>input:focus{box-shadow:none!important;border:1px solid #898989!important}._CjNpj{width:120px}._CjNpj ._0Q3DN._QdLU8{background-color:#efefef;border-radius:6px}._t0a-a{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._t0a-a._21LvV{transform:rotate(-180deg)}";
4
+ var styles = {"container":"_2q4xP","input":"_Sow9H","icon":"_t0a-a","open":"_21LvV","disabled":"_7eJ8s","ignoreFocusStyle":"_7dF8v","flyout":"_CjNpj","option":"_0Q3DN","exactMatch":"_QdLU8"};
5
+ var stylesheet="._2q4xP{display:inline-block;position:relative}._Sow9H{width:120px}._Sow9H ._t0a-a._21LvV{transform:rotate(-180deg)}._Sow9H ._t0a-a._7eJ8s{fill:#9d9fa1;opacity:.4}._7dF8v>input:focus{box-shadow:none!important;border:1px solid #898989!important}._CjNpj{width:120px}._CjNpj ._0Q3DN._QdLU8{background-color:#efefef;border-radius:6px}._t0a-a{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._t0a-a._21LvV{transform:rotate(-180deg)}";
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 };
@@ -25,7 +25,7 @@ const TimePickerIcon = _ref => {
25
25
  onClick: !isDisabled ? () => {
26
26
  var _inputRef$current;
27
27
  setIsFlyoutOpen(i => !i);
28
- (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
28
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
29
29
  } : undefined,
30
30
  onMouseDown: e => e.preventDefault(),
31
31
  ref: iconRef
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._SnG6G{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._rs9TA{background-color:rgba(50,54,58,.08)}._mBMUt{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._GZn0Z{color:rgba(81,85,89,.4);cursor:not-allowed}._ARYwQ{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._5If1u{color:#085caf;border-color:#085caf}._5If1u,._VuxSy{background:rgba(11,110,208,.11)}._VuxSy{color:#0854a1;border-color:#0854a1}._-SYON{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._74zS8{position:relative;display:inline-grid}._74zS8 svg{fill:currentColor}._74zS8 ._8FfBe{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._74zS8 ._8FfBe+._5Y8EE{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}._74zS8 ._8FfBe+._5Y8EE._D-3ES{padding:5px;max-width:36px;min-width:36px}._74zS8 ._8FfBe+._5Y8EE._xfWAi{padding:0 16px}._74zS8 ._8FfBe+._5Y8EE._H1iXr{padding:0 16px 0 12px}._74zS8 ._8FfBe:hover+._5Y8EE{background-color:rgba(50,54,58,.08)}._74zS8 ._8FfBe:disabled+._5Y8EE{color:rgba(81,85,89,.4);cursor:not-allowed}._74zS8 ._8FfBe:active+._5Y8EE,._74zS8 ._8FfBe:focus:active+._5Y8EE{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._74zS8 ._8FfBe:checked+._5Y8EE{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._74zS8 ._8FfBe:checked:hover+._5Y8EE{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._74zS8 ._8FfBe:checked:disabled+._5Y8EE{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._74zS8 ._8FfBe:checked:active+._5Y8EE,._74zS8 ._8FfBe:checked:focus:active+._5Y8EE{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._4jKRF{display:inline-flex;position:relative}._4jKRF:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._4jKRF>*{flex-shrink:0;flex-grow:0}._XowPj{border:none;margin:0;padding:0}._XowPj legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._74zS8 ._8FfBe.focus-visible+._5Y8EE,._74zS8 ._8FfBe:focus-visible+._5Y8EE{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"default":"_SnG6G","hovered":"_rs9TA","pressed":"_mBMUt","disabled":"_GZn0Z","selectedDefault":"_ARYwQ","selectedHovered":"_5If1u","selectedPressed":"_VuxSy","selectedDisabled":"_-SYON","toggleContainer":"_74zS8","toggleInput":"_8FfBe","toggleButton":"_5Y8EE","iconOnly":"_D-3ES","text":"_xfWAi","iconText":"_H1iXr","toggleButtonGroup":"_4jKRF","toggleButtonGroupFieldset":"_XowPj"};
5
- var stylesheet="._SnG6G{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._rs9TA{background-color:rgba(50,54,58,.08)}._mBMUt{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._GZn0Z{color:rgba(81,85,89,.4);cursor:not-allowed}._ARYwQ{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._5If1u{color:#085caf;border-color:#085caf}._5If1u,._VuxSy{background:rgba(11,110,208,.11)}._VuxSy{color:#0854a1;border-color:#0854a1}._-SYON{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._74zS8{position:relative;display:inline-grid}._74zS8 svg{fill:currentColor}._74zS8 ._8FfBe{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._74zS8 ._8FfBe+._5Y8EE{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}._74zS8 ._8FfBe+._5Y8EE._D-3ES{padding:5px;max-width:36px;min-width:36px}._74zS8 ._8FfBe+._5Y8EE._xfWAi{padding:0 16px}._74zS8 ._8FfBe+._5Y8EE._H1iXr{padding:0 16px 0 12px}._74zS8 ._8FfBe:hover+._5Y8EE{background-color:rgba(50,54,58,.08)}._74zS8 ._8FfBe:disabled+._5Y8EE{color:rgba(81,85,89,.4);cursor:not-allowed}._74zS8 ._8FfBe:active+._5Y8EE,._74zS8 ._8FfBe:focus:active+._5Y8EE{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._74zS8 ._8FfBe:checked+._5Y8EE{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._74zS8 ._8FfBe:checked:hover+._5Y8EE{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._74zS8 ._8FfBe:checked:disabled+._5Y8EE{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._74zS8 ._8FfBe:checked:active+._5Y8EE,._74zS8 ._8FfBe:checked:focus:active+._5Y8EE{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._4jKRF{display:inline-flex;position:relative}._4jKRF:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._4jKRF>*{flex-shrink:0;flex-grow:0}._XowPj{border:none;margin:0;padding:0}._XowPj legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._74zS8 ._8FfBe.focus-visible+._5Y8EE,._74zS8 ._8FfBe:focus-visible+._5Y8EE{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._Rd04I{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._bvIWL{background-color:rgba(50,54,58,.08)}._hwvnZ{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._J5lyy{color:rgba(81,85,89,.4);cursor:not-allowed}._jdRCb{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._obbD1{color:#085caf;border-color:#085caf}._ecIRD,._obbD1{background:rgba(11,110,208,.11)}._ecIRD{color:#0854a1;border-color:#0854a1}._kbX-y{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._LL4IZ{position:relative;display:inline-grid}._LL4IZ svg{fill:currentColor}._LL4IZ ._zAuFG{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._LL4IZ ._zAuFG+._NGbNa{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}._LL4IZ ._zAuFG+._NGbNa._cuvFM{padding:5px;max-width:36px;min-width:36px}._LL4IZ ._zAuFG+._NGbNa._tkHXH{padding:0 16px}._LL4IZ ._zAuFG+._NGbNa._rwzIj{padding:0 16px 0 12px}._LL4IZ ._zAuFG:hover+._NGbNa{background-color:rgba(50,54,58,.08)}._LL4IZ ._zAuFG:disabled+._NGbNa{color:rgba(81,85,89,.4);cursor:not-allowed}._LL4IZ ._zAuFG:active+._NGbNa,._LL4IZ ._zAuFG:focus:active+._NGbNa{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._LL4IZ ._zAuFG:checked+._NGbNa{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._LL4IZ ._zAuFG:checked:hover+._NGbNa{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._LL4IZ ._zAuFG:checked:disabled+._NGbNa{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._LL4IZ ._zAuFG:checked:active+._NGbNa,._LL4IZ ._zAuFG:checked:focus:active+._NGbNa{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._FlkTD{display:inline-flex;position:relative}._FlkTD:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._FlkTD>*{flex-shrink:0;flex-grow:0}._yxVFy{border:none;margin:0;padding:0}._yxVFy legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._LL4IZ ._zAuFG.focus-visible+._NGbNa,._LL4IZ ._zAuFG:focus-visible+._NGbNa{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"default":"_Rd04I","hovered":"_bvIWL","pressed":"_hwvnZ","disabled":"_J5lyy","selectedDefault":"_jdRCb","selectedHovered":"_obbD1","selectedPressed":"_ecIRD","selectedDisabled":"_kbX-y","toggleContainer":"_LL4IZ","toggleInput":"_zAuFG","toggleButton":"_NGbNa","iconOnly":"_cuvFM","text":"_tkHXH","iconText":"_rwzIj","toggleButtonGroup":"_FlkTD","toggleButtonGroupFieldset":"_yxVFy"};
5
+ var stylesheet="._Rd04I{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._bvIWL{background-color:rgba(50,54,58,.08)}._hwvnZ{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._J5lyy{color:rgba(81,85,89,.4);cursor:not-allowed}._jdRCb{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._obbD1{color:#085caf;border-color:#085caf}._ecIRD,._obbD1{background:rgba(11,110,208,.11)}._ecIRD{color:#0854a1;border-color:#0854a1}._kbX-y{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._LL4IZ{position:relative;display:inline-grid}._LL4IZ svg{fill:currentColor}._LL4IZ ._zAuFG{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._LL4IZ ._zAuFG+._NGbNa{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}._LL4IZ ._zAuFG+._NGbNa._cuvFM{padding:5px;max-width:36px;min-width:36px}._LL4IZ ._zAuFG+._NGbNa._tkHXH{padding:0 16px}._LL4IZ ._zAuFG+._NGbNa._rwzIj{padding:0 16px 0 12px}._LL4IZ ._zAuFG:hover+._NGbNa{background-color:rgba(50,54,58,.08)}._LL4IZ ._zAuFG:disabled+._NGbNa{color:rgba(81,85,89,.4);cursor:not-allowed}._LL4IZ ._zAuFG:active+._NGbNa,._LL4IZ ._zAuFG:focus:active+._NGbNa{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._LL4IZ ._zAuFG:checked+._NGbNa{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._LL4IZ ._zAuFG:checked:hover+._NGbNa{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._LL4IZ ._zAuFG:checked:disabled+._NGbNa{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._LL4IZ ._zAuFG:checked:active+._NGbNa,._LL4IZ ._zAuFG:checked:focus:active+._NGbNa{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._FlkTD{display:inline-flex;position:relative}._FlkTD:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._FlkTD>*{flex-shrink:0;flex-grow:0}._yxVFy{border:none;margin:0;padding:0}._yxVFy legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._LL4IZ ._zAuFG.focus-visible+._NGbNa,._LL4IZ ._zAuFG:focus-visible+._NGbNa{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 };
@@ -135,6 +135,7 @@ export declare interface AdvancedTableProps {
135
135
  'data-testid'?: string;
136
136
  rowActions?: AdvancedTableActionGroup[];
137
137
  rowActionsButtonAriaLabel?: string;
138
+ rowActionsPlacement?: DropdownListProps['placement'];
138
139
  }
139
140
 
140
141
  export declare interface AdvancedTableRow {
@@ -170,7 +171,7 @@ export declare interface CollapsibleSearchInputProps {
170
171
  'data-testid'?: string;
171
172
  }
172
173
 
173
- export declare function Combobox({ initialValue, value, onChange, isDisabled, isInvalid, isRequired, isLoading, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'data-testid': dataTestId, children, }: ComboboxProps): JSX.Element;
174
+ export declare function Combobox({ initialValue, value, onChange, onSubmit, isDisabled, isInvalid, isRequired, isLoading, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'data-testid': dataTestId, children, }: ComboboxProps): JSX.Element;
174
175
 
175
176
  export declare const ComboboxFlyout: FunctionComponent<ComboboxFlyoutProps>;
176
177
 
@@ -212,6 +213,7 @@ export declare interface ComboboxProps {
212
213
  initialValue?: string;
213
214
  value?: string;
214
215
  onChange?: (newValue: string) => void;
216
+ onSubmit?: (value: string) => void;
215
217
  isDisabled?: boolean;
216
218
  isInvalid?: boolean;
217
219
  isRequired?: boolean;
@@ -240,6 +242,16 @@ export declare interface DrawerProps {
240
242
  children: ReactNode;
241
243
  }
242
244
 
245
+ declare interface DropdownListProps extends React_2.AllHTMLAttributes<HTMLDivElement> {
246
+ children?: React_2.ReactNode;
247
+ placement?: ComputedPlacement;
248
+ onKeyDown?: (event: React_2.KeyboardEvent<HTMLDivElement>) => void;
249
+ portalTarget?: HTMLElement;
250
+ style?: React_2.CSSProperties;
251
+ 'aria-labelledby'?: string;
252
+ [prop: string]: any;
253
+ }
254
+
243
255
  declare interface ExternalStackProps extends StackItemProps {
244
256
  gap?: string | number;
245
257
  paddingLeft?: string | number;
@@ -294,7 +306,7 @@ export declare interface InputProps extends InputHTMLAttributes<HTMLInputElement
294
306
  style?: CSSProperties;
295
307
  }
296
308
 
297
- export declare const Menu: ({ "data-testid": dataTestId, isOpen, onIsOpenChange, isDisabled, children, }: MenuProps) => JSX.Element;
309
+ export declare const Menu: ({ "data-testid": dataTestId, isOpen, onIsOpenChange, isDisabled, children, isVirtualizationDisabled, }: MenuProps) => JSX.Element;
298
310
 
299
311
  export declare const MenuButton: React_2.ForwardRefExoticComponent<MenuButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
300
312
 
@@ -332,6 +344,7 @@ export declare interface MenuProps {
332
344
  onIsOpenChange?: (shouldOpen: boolean) => void;
333
345
  isDisabled?: boolean;
334
346
  children: React_2.ReactNode;
347
+ isVirtualizationDisabled?: boolean;
335
348
  }
336
349
 
337
350
  export declare const PhoneNumberInput: React_2.ForwardRefExoticComponent<PhoneNumberInputProps & React_2.RefAttributes<HTMLInputElement>>;
@@ -353,7 +366,7 @@ export declare interface PhoneNumberInputProps {
353
366
 
354
367
  declare type RenderCellContent = AdvancedTableColumnConfig['renderCellContent'];
355
368
 
356
- export declare const Select: ({ multiselect, children, isDisabled, onChange, isOpen, onIsOpenChange, value, isInvalid, "data-testid": dataTestId, }: SelectProps) => JSX.Element;
369
+ export declare const Select: ({ multiselect, children, isDisabled, onChange, isOpen, onIsOpenChange, value, isInvalid, "data-testid": dataTestId, isVirtualizationDisabled, }: SelectProps) => JSX.Element;
357
370
 
358
371
  export declare const SelectButton: React_2.ForwardRefExoticComponent<SelectButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
359
372
 
@@ -392,6 +405,7 @@ export declare interface SelectProps {
392
405
  value?: string | number | (string | number)[];
393
406
  isInvalid?: boolean;
394
407
  children: React_2.ReactNode;
408
+ isVirtualizationDisabled?: boolean;
395
409
  }
396
410
 
397
411
  export declare const SplitButton: React_2.ForwardRefExoticComponent<SplitButtonProps & React_2.RefAttributes<HTMLDivElement>>;