@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
@@ -8,12 +8,14 @@ var classNames = require('classnames');
8
8
  var reactDnd = require('react-dnd');
9
9
  var reactDndHtml5Backend = require('react-dnd-html5-backend');
10
10
  var useResizeObserver = require('@react-hook/resize-observer');
11
- var index = require('../__shared/cjs/index-610a1e02.js');
12
- var icons_index = require('../__shared/cjs/index-5b3b3406.js');
11
+ var index = require('../__shared/cjs/index-dc6f69ac.js');
12
+ var icons_index = require('../__shared/cjs/index-ae6df097.js');
13
13
  var libphonenumberJs = require('libphonenumber-js');
14
14
  var InputMask = require('react-input-mask');
15
15
  var reactDropdownMenu = require('@radix-ui/react-dropdown-menu');
16
+ var resizeObserver = require('@juggle/resize-observer');
16
17
  var interactions = require('@react-aria/interactions');
18
+ var reactVirtuoso = require('react-virtuoso');
17
19
  var ReactDOM = require('react-dom');
18
20
  require('react-popper');
19
21
  require('@popperjs/core');
@@ -30,9 +32,9 @@ var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
30
32
  var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver);
31
33
  var InputMask__default = /*#__PURE__*/_interopDefaultLegacy(InputMask);
32
34
 
33
- var css_248z$b = "._XLrxO{overflow:auto;position:relative;max-width:100%;max-height:100%}._B10Xi,._XLrxO{background-color:#fff}._B10Xi{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._6Lrkh{margin-bottom:4px}._tUuUA{position:-webkit-sticky;position:sticky;top:0;z-index:100}._RJZ5K{display:flex}._RJZ5K:focus{outline:none}._RJZ5K.focus-visible ._emEqO:after,._RJZ5K:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RJZ5K.focus-visible ._emEqO:last-of-type:after,._RJZ5K:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO:first-of-type:after,._RJZ5K:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO._MIMNv:after,._RJZ5K:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._BZpvE{padding-right:3px}._RgYrf{display:flex}._RgYrf._UVZyy ._emEqO,._RgYrf._UVZyy ._IDnsP{cursor:pointer}._RgYrf._dr-n4 ._emEqO,._RgYrf._dr-n4 ._IDnsP{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv,._RgYrf._dr-n4 ._IDnsP._MIMNv{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv ._IDnsP,._RgYrf._dr-n4 ._emEqO._MIMNv ._IK1gY,._RgYrf._dr-n4 ._emEqO._MIMNv ._Z1s-8,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IDnsP,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IK1gY,._RgYrf._dr-n4 ._IDnsP._MIMNv ._Z1s-8{background-color:rgba(11,110,208,.08)}._RgYrf._UVZyy:hover:not(._dr-n4) ._emEqO,._RgYrf._UVZyy:hover:not(._dr-n4) ._IDnsP{background-color:#f9f9f9}._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._IDnsP{background-color:#f3f3f3}._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._IDnsP{background-color:#f3f3f3}._RgYrf:focus{outline:none}._RgYrf.focus-visible ._emEqO:after,._RgYrf:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RgYrf.focus-visible ._emEqO:last-of-type:after,._RgYrf:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO:first-of-type:after,._RgYrf:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO._MIMNv:after,._RgYrf:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:last-of-type:focus{outline:none}._RgYrf:last-of-type.focus-visible ._emEqO:after,._RgYrf:last-of-type:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RgYrf:last-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:last-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._RgYrf:last-of-type ._Z1s-8:focus{outline:none}._RgYrf:last-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:last-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:last-of-type ._Z1s-8.focus-visible:after,._RgYrf:last-of-type ._Z1s-8:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._RgYrf:first-of-type:focus{outline:none}._RgYrf:first-of-type.focus-visible ._emEqO:after,._RgYrf:first-of-type:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RgYrf:first-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:first-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:first-of-type ._Z1s-8:focus{outline:none}._RgYrf:first-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:first-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:first-of-type ._Z1s-8.focus-visible:after,._RgYrf:first-of-type ._Z1s-8:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-rIFE{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._-rIFE._sHukS{flex-grow:1}._-rIFE._YCbKv{cursor:pointer}._-rIFE._YCbKv:hover:not(._6XuZm){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-rIFE._YCbKv:active:not(._6XuZm){background-color:#f3f3f3}._-rIFE._btc1W:not(._6XuZm){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-rIFE._6XuZm{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-rIFE ._BGfCg{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-rIFE ._BGfCg._I-1M9{left:-1px}._-rIFE ._BGfCg._1DzLK{right:0}._-rIFE ._kbhqO{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-rIFE ._kbhqO._I-1M9{left:-2px}._-rIFE ._kbhqO._1DzLK{right:-1px}._-rIFE:first-of-type ._I-1M9._BGfCg{left:0;width:2px;border-left:1px solid #fff}._-rIFE:first-of-type ._I-1M9._kbhqO{left:0}._-rIFE:last-of-type ._1DzLK._BGfCg{right:0;width:2px;border-right:1px solid #fff}._-rIFE:last-of-type ._1DzLK._kbhqO{right:0}._-rIFE ._jcoB8{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-rIFE ._jcoB8 ._NJaGa{position:absolute;width:2px;right:2px;top:0;bottom:0}._-rIFE ._jcoB8 ._NJaGa._TDlFD{background-color:#0a6ed1}._-rIFE ._jcoB8:hover ._NJaGa:not(._TDlFD){background-color:#d9d9d9}._-rIFE ._hmV2T{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._-rIFE ._hmV2T._szN8q{flex-direction:row-reverse;justify-content:flex-start}._-rIFE ._hmV2T._szN8q ._TDaC6{margin:1px 7px 1px 1px}._-rIFE ._hmV2T ._LRDDY{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-rIFE ._hmV2T ._TDaC6{margin:1px 1px 1px 7px;flex-shrink:0}._-rIFE ._iJXYL{margin-left:6px;margin-right:4px;flex-shrink:0}._-rIFE ._4NBuh{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-rIFE:focus{outline:none}._-rIFE._-Wbvz.focus-visible:after,._-rIFE._-Wbvz:focus-visible:after,._-rIFE.focus-visible:after,._-rIFE:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-6p7E{margin-right:6px}._MIMNv{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._MIMNv[focus-within]{z-index:30}._MIMNv:focus-within{z-index:30}._Z1s-8{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._Z1s-8 ._zkwgB{width:100%;padding:12px 12px 11px;overflow:hidden}._Z1s-8._6XuZm{background-color:#efefef;border-bottom-color:#dfdfe1}._Z1s-8._sHukS{flex-grow:1}._Z1s-8:focus{outline:none}._Z1s-8._-Wbvz.focus-visible:after,._Z1s-8._-Wbvz:focus-visible:after,._Z1s-8.focus-visible:after,._Z1s-8:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._IDnsP{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._IDnsP._4uXbD{border-bottom-color:#d9d9d9;background-color:#fff}._IK1gY{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._IK1gY._4uXbD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._IK1gY:focus input~span,._IK1gY:hover input~span{border-color:#0b6ed0}._IK1gY ._loWEJ{position:relative;display:inline-flex}._IK1gY ._loWEJ ._RZzpO{margin:0!important}._IK1gY ._loWEJ ._3kyKA{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._iet0L{justify-content:flex-start}._2HYkh{justify-content:center;text-align:center}._szN8q{justify-content:flex-end;text-align:right}._Jg5-k{display:none}._5TH-E{opacity:0;height:0;width:0;overflow:hidden}._5TH-E,._a1dhE{position:absolute}._a1dhE{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._iCIyt{width:246px}";
34
- var styles$b = {"advancedTable":"_XLrxO","advancedTablePaginationContainer":"_B10Xi","advancedTablePagination":"_6Lrkh","advancedTableColumnHeadersRowGroup":"_tUuUA","advancedTableColumnHeaders":"_RJZ5K","advancedTableRowChild":"_emEqO","pinnedContainer":"_MIMNv","advancedTableRowGroup":"_BZpvE","advancedTableRow":"_RgYrf","hasRowAction":"_UVZyy","advancedTableExpandRowSpacer":"_IDnsP","isSelected":"_dr-n4","advancedTableCheckbox":"_IK1gY","advancedTableCell":"_Z1s-8","showFocusRing":"_-Wbvz","advancedTableColumnHeader":"_-rIFE","fillRemainingSpace":"_sHukS","isSortable":"_YCbKv","isDragging":"_6XuZm","isSorted":"_btc1W","dropTargetLine":"_BGfCg","dropTargetLeft":"_I-1M9","dropTargetRight":"_1DzLK","dropTargetMarker":"_kbhqO","resizeHandle":"_jcoB8","resizeLine":"_NJaGa","isResizing":"_TDlFD","advancedTableColumnHeaderLabel":"_hmV2T","rightAligned":"_szN8q","sortIcon":"_TDaC6","advancedTableColumnHeaderLabelText":"_LRDDY","advancedTableColumnHeaderMenu":"_iJXYL","advancedTableColumnHeaderMenuHiddenAnchor":"_4NBuh","advancedTableColumnHeaderMenuItemIcon":"_-6p7E","advancedTableCellContainer":"_zkwgB","header":"_4uXbD","checkboxContainer":"_loWEJ","checkbox":"_RZzpO","mixed":"_3kyKA","leftAligned":"_iet0L","centerAligned":"_2HYkh","hiddenDescription":"_Jg5-k","hiddenLiveRegion":"_5TH-E","dragPreview":"_a1dhE","rowActionMenuPane":"_iCIyt"};
35
- var stylesheet$b="._XLrxO{overflow:auto;position:relative;max-width:100%;max-height:100%}._B10Xi,._XLrxO{background-color:#fff}._B10Xi{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._6Lrkh{margin-bottom:4px}._tUuUA{position:-webkit-sticky;position:sticky;top:0;z-index:100}._RJZ5K{display:flex}._RJZ5K:focus{outline:none}._RJZ5K.focus-visible ._emEqO:after,._RJZ5K:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RJZ5K.focus-visible ._emEqO:last-of-type:after,._RJZ5K:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO:first-of-type:after,._RJZ5K:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO._MIMNv:after,._RJZ5K:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._BZpvE{padding-right:3px}._RgYrf{display:flex}._RgYrf._UVZyy ._emEqO,._RgYrf._UVZyy ._IDnsP{cursor:pointer}._RgYrf._dr-n4 ._emEqO,._RgYrf._dr-n4 ._IDnsP{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv,._RgYrf._dr-n4 ._IDnsP._MIMNv{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv ._IDnsP,._RgYrf._dr-n4 ._emEqO._MIMNv ._IK1gY,._RgYrf._dr-n4 ._emEqO._MIMNv ._Z1s-8,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IDnsP,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IK1gY,._RgYrf._dr-n4 ._IDnsP._MIMNv ._Z1s-8{background-color:rgba(11,110,208,.08)}._RgYrf._UVZyy:hover:not(._dr-n4) ._emEqO,._RgYrf._UVZyy:hover:not(._dr-n4) ._IDnsP{background-color:#f9f9f9}._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._IDnsP{background-color:#f3f3f3}._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._IDnsP{background-color:#f3f3f3}._RgYrf:focus{outline:none}._RgYrf.focus-visible ._emEqO:after,._RgYrf:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RgYrf.focus-visible ._emEqO:last-of-type:after,._RgYrf:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO:first-of-type:after,._RgYrf:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO._MIMNv:after,._RgYrf:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:last-of-type:focus{outline:none}._RgYrf:last-of-type.focus-visible ._emEqO:after,._RgYrf:last-of-type:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RgYrf:last-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:last-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._RgYrf:last-of-type ._Z1s-8:focus{outline:none}._RgYrf:last-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:last-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:last-of-type ._Z1s-8.focus-visible:after,._RgYrf:last-of-type ._Z1s-8:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._RgYrf:first-of-type:focus{outline:none}._RgYrf:first-of-type.focus-visible ._emEqO:after,._RgYrf:first-of-type:focus-visible ._emEqO:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._RgYrf:first-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:first-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:first-of-type ._Z1s-8:focus{outline:none}._RgYrf:first-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:first-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:first-of-type ._Z1s-8.focus-visible:after,._RgYrf:first-of-type ._Z1s-8:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-rIFE{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._-rIFE._sHukS{flex-grow:1}._-rIFE._YCbKv{cursor:pointer}._-rIFE._YCbKv:hover:not(._6XuZm){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-rIFE._YCbKv:active:not(._6XuZm){background-color:#f3f3f3}._-rIFE._btc1W:not(._6XuZm){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-rIFE._6XuZm{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-rIFE ._BGfCg{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-rIFE ._BGfCg._I-1M9{left:-1px}._-rIFE ._BGfCg._1DzLK{right:0}._-rIFE ._kbhqO{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-rIFE ._kbhqO._I-1M9{left:-2px}._-rIFE ._kbhqO._1DzLK{right:-1px}._-rIFE:first-of-type ._I-1M9._BGfCg{left:0;width:2px;border-left:1px solid #fff}._-rIFE:first-of-type ._I-1M9._kbhqO{left:0}._-rIFE:last-of-type ._1DzLK._BGfCg{right:0;width:2px;border-right:1px solid #fff}._-rIFE:last-of-type ._1DzLK._kbhqO{right:0}._-rIFE ._jcoB8{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-rIFE ._jcoB8 ._NJaGa{position:absolute;width:2px;right:2px;top:0;bottom:0}._-rIFE ._jcoB8 ._NJaGa._TDlFD{background-color:#0a6ed1}._-rIFE ._jcoB8:hover ._NJaGa:not(._TDlFD){background-color:#d9d9d9}._-rIFE ._hmV2T{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._-rIFE ._hmV2T._szN8q{flex-direction:row-reverse;justify-content:flex-start}._-rIFE ._hmV2T._szN8q ._TDaC6{margin:1px 7px 1px 1px}._-rIFE ._hmV2T ._LRDDY{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-rIFE ._hmV2T ._TDaC6{margin:1px 1px 1px 7px;flex-shrink:0}._-rIFE ._iJXYL{margin-left:6px;margin-right:4px;flex-shrink:0}._-rIFE ._4NBuh{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-rIFE:focus{outline:none}._-rIFE._-Wbvz.focus-visible:after,._-rIFE._-Wbvz:focus-visible:after,._-rIFE.focus-visible:after,._-rIFE:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-6p7E{margin-right:6px}._MIMNv{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._MIMNv[focus-within]{z-index:30}._MIMNv:focus-within{z-index:30}._Z1s-8{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._Z1s-8 ._zkwgB{width:100%;padding:12px 12px 11px;overflow:hidden}._Z1s-8._6XuZm{background-color:#efefef;border-bottom-color:#dfdfe1}._Z1s-8._sHukS{flex-grow:1}._Z1s-8:focus{outline:none}._Z1s-8._-Wbvz.focus-visible:after,._Z1s-8._-Wbvz:focus-visible:after,._Z1s-8.focus-visible:after,._Z1s-8:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._IDnsP{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._IDnsP._4uXbD{border-bottom-color:#d9d9d9;background-color:#fff}._IK1gY{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._IK1gY._4uXbD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._IK1gY:focus input~span,._IK1gY:hover input~span{border-color:#0b6ed0}._IK1gY ._loWEJ{position:relative;display:inline-flex}._IK1gY ._loWEJ ._RZzpO{margin:0!important}._IK1gY ._loWEJ ._3kyKA{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._iet0L{justify-content:flex-start}._2HYkh{justify-content:center;text-align:center}._szN8q{justify-content:flex-end;text-align:right}._Jg5-k{display:none}._5TH-E{opacity:0;height:0;width:0;overflow:hidden}._5TH-E,._a1dhE{position:absolute}._a1dhE{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._iCIyt{width:246px}";
35
+ var css_248z$b = "._SBChp{overflow:auto;position:relative;max-width:100%;max-height:100%}._4yxRr,._SBChp{background-color:#fff}._4yxRr{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._7GNgP{margin-bottom:4px}._uYqKM{position:-webkit-sticky;position:sticky;top:0;z-index:100}._shHru{display:flex}._shHru:focus{outline:none}._shHru.focus-visible ._GcHx2:after,._shHru:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._shHru.focus-visible ._GcHx2:last-of-type:after,._shHru:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._shHru.focus-visible ._GcHx2:first-of-type:after,._shHru:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._shHru.focus-visible ._GcHx2._TgB9f:after,._shHru:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:1px}._PfnXR{padding-right:3px}._Gw8n4{display:flex}._Gw8n4._iiODk ._GcHx2,._Gw8n4._iiODk ._NtX2d{cursor:pointer}._Gw8n4._fN7xs ._GcHx2,._Gw8n4._fN7xs ._NtX2d{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._Gw8n4._fN7xs ._GcHx2._TgB9f,._Gw8n4._fN7xs ._NtX2d._TgB9f{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._Gw8n4._fN7xs ._GcHx2._TgB9f ._5S6qD,._Gw8n4._fN7xs ._GcHx2._TgB9f ._NtX2d,._Gw8n4._fN7xs ._GcHx2._TgB9f ._YNW7C,._Gw8n4._fN7xs ._NtX2d._TgB9f ._5S6qD,._Gw8n4._fN7xs ._NtX2d._TgB9f ._NtX2d,._Gw8n4._fN7xs ._NtX2d._TgB9f ._YNW7C{background-color:rgba(11,110,208,.08)}._Gw8n4._iiODk:hover:not(._fN7xs) ._GcHx2,._Gw8n4._iiODk:hover:not(._fN7xs) ._NtX2d{background-color:#f9f9f9}._Gw8n4._iiODk:active:not(._fN7xs)[\\:not-has\\(._YNW7C\\:active\\)] ._GcHx2,._Gw8n4._iiODk:active:not(._fN7xs)[\\:not-has\\(._YNW7C\\:active\\)] ._NtX2d{background-color:#f3f3f3}._Gw8n4._iiODk:active:not(._fN7xs):not(._Gw8n4._iiODk:active:not(._fN7xs):has(._YNW7C:active)) ._GcHx2,._Gw8n4._iiODk:active:not(._fN7xs):not(._Gw8n4._iiODk:active:not(._fN7xs):has(._YNW7C:active)) ._NtX2d{background-color:#f3f3f3}._Gw8n4:focus{outline:none}._Gw8n4.focus-visible ._GcHx2:after,._Gw8n4:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._Gw8n4.focus-visible ._GcHx2:last-of-type:after,._Gw8n4:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Gw8n4.focus-visible ._GcHx2:first-of-type:after,._Gw8n4:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Gw8n4.focus-visible ._GcHx2._TgB9f:after,._Gw8n4:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:0}._Gw8n4:last-of-type:focus{outline:none}._Gw8n4:last-of-type.focus-visible ._GcHx2:after,._Gw8n4:last-of-type:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._Gw8n4:last-of-type.focus-visible ._GcHx2:last-of-type:after,._Gw8n4:last-of-type:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Gw8n4:last-of-type.focus-visible ._GcHx2:first-of-type:after,._Gw8n4:last-of-type:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Gw8n4:last-of-type.focus-visible ._GcHx2._TgB9f:after,._Gw8n4:last-of-type:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:1px}._Gw8n4:last-of-type ._5S6qD:focus{outline:none}._Gw8n4:last-of-type ._5S6qD._dvyxH.focus-visible:after,._Gw8n4:last-of-type ._5S6qD._dvyxH:focus-visible:after,._Gw8n4:last-of-type ._5S6qD.focus-visible:after,._Gw8n4:last-of-type ._5S6qD:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._Gw8n4:first-of-type:focus{outline:none}._Gw8n4:first-of-type.focus-visible ._GcHx2:after,._Gw8n4:first-of-type:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._Gw8n4:first-of-type.focus-visible ._GcHx2:last-of-type:after,._Gw8n4:first-of-type:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Gw8n4:first-of-type.focus-visible ._GcHx2:first-of-type:after,._Gw8n4:first-of-type:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Gw8n4:first-of-type.focus-visible ._GcHx2._TgB9f:after,._Gw8n4:first-of-type:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:0}._Gw8n4:first-of-type ._5S6qD:focus{outline:none}._Gw8n4:first-of-type ._5S6qD._dvyxH.focus-visible:after,._Gw8n4:first-of-type ._5S6qD._dvyxH:focus-visible:after,._Gw8n4:first-of-type ._5S6qD.focus-visible:after,._Gw8n4:first-of-type ._5S6qD:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._HZ55p{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._HZ55p._xtIyi{flex-grow:1}._HZ55p._2qgRf{cursor:pointer}._HZ55p._2qgRf:hover:not(._Xo7-J){background-color:#f9f9f9;border-bottom-color:#6a6d70}._HZ55p._2qgRf:active:not(._Xo7-J){background-color:#f3f3f3}._HZ55p._MK4qy:not(._Xo7-J){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._HZ55p._Xo7-J{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._HZ55p ._11-6n{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._HZ55p ._11-6n._JFjBF{left:-1px}._HZ55p ._11-6n._-MXDd{right:0}._HZ55p ._M8d1f{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._HZ55p ._M8d1f._JFjBF{left:-2px}._HZ55p ._M8d1f._-MXDd{right:-1px}._HZ55p:first-of-type ._JFjBF._11-6n{left:0;width:2px;border-left:1px solid #fff}._HZ55p:first-of-type ._JFjBF._M8d1f{left:0}._HZ55p:last-of-type ._-MXDd._11-6n{right:0;width:2px;border-right:1px solid #fff}._HZ55p:last-of-type ._-MXDd._M8d1f{right:0}._HZ55p ._fmM71{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._HZ55p ._fmM71 ._fZa1H{position:absolute;width:2px;right:2px;top:0;bottom:0}._HZ55p ._fmM71 ._fZa1H._yRsEd{background-color:#0a6ed1}._HZ55p ._fmM71:hover ._fZa1H:not(._yRsEd){background-color:#d9d9d9}._HZ55p ._4lZ3k{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._HZ55p ._4lZ3k._uuaHr{flex-direction:row-reverse;justify-content:flex-start}._HZ55p ._4lZ3k._uuaHr ._2rftT{margin:1px 7px 1px 1px}._HZ55p ._4lZ3k ._tJJDS{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._HZ55p ._4lZ3k ._2rftT{margin:1px 1px 1px 7px;flex-shrink:0}._HZ55p ._EzumA{margin-left:6px;margin-right:4px;flex-shrink:0}._HZ55p ._gJP1I{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._HZ55p:focus{outline:none}._HZ55p._dvyxH.focus-visible:after,._HZ55p._dvyxH:focus-visible:after,._HZ55p.focus-visible:after,._HZ55p:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-TaB-{margin-right:6px}._TgB9f{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._TgB9f[focus-within]{z-index:30}._TgB9f:focus-within{z-index:30}._5S6qD{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._5S6qD ._2aAnH{width:100%;padding:12px 12px 11px;overflow:hidden}._5S6qD._Xo7-J{background-color:#efefef;border-bottom-color:#dfdfe1}._5S6qD._xtIyi{flex-grow:1}._5S6qD:focus{outline:none}._5S6qD._dvyxH.focus-visible:after,._5S6qD._dvyxH:focus-visible:after,._5S6qD.focus-visible:after,._5S6qD:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._NtX2d{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._NtX2d._IrKSf{border-bottom-color:#d9d9d9;background-color:#fff}._YNW7C{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._YNW7C._IrKSf{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._YNW7C:focus input~span,._YNW7C:hover input~span{border-color:#0b6ed0}._YNW7C ._o-lZf{position:relative;display:inline-flex}._YNW7C ._o-lZf ._fvnVI{margin:0!important}._YNW7C ._o-lZf ._VdAXm{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._24gHY{justify-content:flex-start}._g9po0{justify-content:center;text-align:center}._uuaHr{justify-content:flex-end;text-align:right}._ROk3J{display:none}._d3-U1{opacity:0;height:0;width:0;overflow:hidden}._d3-U1,._duxuJ{position:absolute}._duxuJ{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._lW-5O{max-width:250px;min-width:150px!important}";
36
+ var styles$b = {"advancedTable":"_SBChp","advancedTablePaginationContainer":"_4yxRr","advancedTablePagination":"_7GNgP","advancedTableColumnHeadersRowGroup":"_uYqKM","advancedTableColumnHeaders":"_shHru","advancedTableRowChild":"_GcHx2","pinnedContainer":"_TgB9f","advancedTableRowGroup":"_PfnXR","advancedTableRow":"_Gw8n4","hasRowAction":"_iiODk","advancedTableExpandRowSpacer":"_NtX2d","isSelected":"_fN7xs","advancedTableCheckbox":"_YNW7C","advancedTableCell":"_5S6qD","showFocusRing":"_dvyxH","advancedTableColumnHeader":"_HZ55p","fillRemainingSpace":"_xtIyi","isSortable":"_2qgRf","isDragging":"_Xo7-J","isSorted":"_MK4qy","dropTargetLine":"_11-6n","dropTargetLeft":"_JFjBF","dropTargetRight":"_-MXDd","dropTargetMarker":"_M8d1f","resizeHandle":"_fmM71","resizeLine":"_fZa1H","isResizing":"_yRsEd","advancedTableColumnHeaderLabel":"_4lZ3k","rightAligned":"_uuaHr","sortIcon":"_2rftT","advancedTableColumnHeaderLabelText":"_tJJDS","advancedTableColumnHeaderMenu":"_EzumA","advancedTableColumnHeaderMenuHiddenAnchor":"_gJP1I","advancedTableColumnHeaderMenuItemIcon":"_-TaB-","advancedTableCellContainer":"_2aAnH","header":"_IrKSf","checkboxContainer":"_o-lZf","checkbox":"_fvnVI","mixed":"_VdAXm","leftAligned":"_24gHY","centerAligned":"_g9po0","hiddenDescription":"_ROk3J","hiddenLiveRegion":"_d3-U1","dragPreview":"_duxuJ","rowActionMenuPane":"_lW-5O"};
37
+ var stylesheet$b="._SBChp{overflow:auto;position:relative;max-width:100%;max-height:100%}._4yxRr,._SBChp{background-color:#fff}._4yxRr{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._7GNgP{margin-bottom:4px}._uYqKM{position:-webkit-sticky;position:sticky;top:0;z-index:100}._shHru{display:flex}._shHru:focus{outline:none}._shHru.focus-visible ._GcHx2:after,._shHru:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._shHru.focus-visible ._GcHx2:last-of-type:after,._shHru:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._shHru.focus-visible ._GcHx2:first-of-type:after,._shHru:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._shHru.focus-visible ._GcHx2._TgB9f:after,._shHru:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:1px}._PfnXR{padding-right:3px}._Gw8n4{display:flex}._Gw8n4._iiODk ._GcHx2,._Gw8n4._iiODk ._NtX2d{cursor:pointer}._Gw8n4._fN7xs ._GcHx2,._Gw8n4._fN7xs ._NtX2d{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._Gw8n4._fN7xs ._GcHx2._TgB9f,._Gw8n4._fN7xs ._NtX2d._TgB9f{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._Gw8n4._fN7xs ._GcHx2._TgB9f ._5S6qD,._Gw8n4._fN7xs ._GcHx2._TgB9f ._NtX2d,._Gw8n4._fN7xs ._GcHx2._TgB9f ._YNW7C,._Gw8n4._fN7xs ._NtX2d._TgB9f ._5S6qD,._Gw8n4._fN7xs ._NtX2d._TgB9f ._NtX2d,._Gw8n4._fN7xs ._NtX2d._TgB9f ._YNW7C{background-color:rgba(11,110,208,.08)}._Gw8n4._iiODk:hover:not(._fN7xs) ._GcHx2,._Gw8n4._iiODk:hover:not(._fN7xs) ._NtX2d{background-color:#f9f9f9}._Gw8n4._iiODk:active:not(._fN7xs)[\\:not-has\\(._YNW7C\\:active\\)] ._GcHx2,._Gw8n4._iiODk:active:not(._fN7xs)[\\:not-has\\(._YNW7C\\:active\\)] ._NtX2d{background-color:#f3f3f3}._Gw8n4._iiODk:active:not(._fN7xs):not(._Gw8n4._iiODk:active:not(._fN7xs):has(._YNW7C:active)) ._GcHx2,._Gw8n4._iiODk:active:not(._fN7xs):not(._Gw8n4._iiODk:active:not(._fN7xs):has(._YNW7C:active)) ._NtX2d{background-color:#f3f3f3}._Gw8n4:focus{outline:none}._Gw8n4.focus-visible ._GcHx2:after,._Gw8n4:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._Gw8n4.focus-visible ._GcHx2:last-of-type:after,._Gw8n4:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Gw8n4.focus-visible ._GcHx2:first-of-type:after,._Gw8n4:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Gw8n4.focus-visible ._GcHx2._TgB9f:after,._Gw8n4:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:0}._Gw8n4:last-of-type:focus{outline:none}._Gw8n4:last-of-type.focus-visible ._GcHx2:after,._Gw8n4:last-of-type:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._Gw8n4:last-of-type.focus-visible ._GcHx2:last-of-type:after,._Gw8n4:last-of-type:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Gw8n4:last-of-type.focus-visible ._GcHx2:first-of-type:after,._Gw8n4:last-of-type:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Gw8n4:last-of-type.focus-visible ._GcHx2._TgB9f:after,._Gw8n4:last-of-type:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:1px}._Gw8n4:last-of-type ._5S6qD:focus{outline:none}._Gw8n4:last-of-type ._5S6qD._dvyxH.focus-visible:after,._Gw8n4:last-of-type ._5S6qD._dvyxH:focus-visible:after,._Gw8n4:last-of-type ._5S6qD.focus-visible:after,._Gw8n4:last-of-type ._5S6qD:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._Gw8n4:first-of-type:focus{outline:none}._Gw8n4:first-of-type.focus-visible ._GcHx2:after,._Gw8n4:first-of-type:focus-visible ._GcHx2:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._Gw8n4:first-of-type.focus-visible ._GcHx2:last-of-type:after,._Gw8n4:first-of-type:focus-visible ._GcHx2:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Gw8n4:first-of-type.focus-visible ._GcHx2:first-of-type:after,._Gw8n4:first-of-type:focus-visible ._GcHx2:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Gw8n4:first-of-type.focus-visible ._GcHx2._TgB9f:after,._Gw8n4:first-of-type:focus-visible ._GcHx2._TgB9f:after{right:-3px;bottom:0}._Gw8n4:first-of-type ._5S6qD:focus{outline:none}._Gw8n4:first-of-type ._5S6qD._dvyxH.focus-visible:after,._Gw8n4:first-of-type ._5S6qD._dvyxH:focus-visible:after,._Gw8n4:first-of-type ._5S6qD.focus-visible:after,._Gw8n4:first-of-type ._5S6qD:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._HZ55p{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._HZ55p._xtIyi{flex-grow:1}._HZ55p._2qgRf{cursor:pointer}._HZ55p._2qgRf:hover:not(._Xo7-J){background-color:#f9f9f9;border-bottom-color:#6a6d70}._HZ55p._2qgRf:active:not(._Xo7-J){background-color:#f3f3f3}._HZ55p._MK4qy:not(._Xo7-J){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._HZ55p._Xo7-J{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._HZ55p ._11-6n{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._HZ55p ._11-6n._JFjBF{left:-1px}._HZ55p ._11-6n._-MXDd{right:0}._HZ55p ._M8d1f{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._HZ55p ._M8d1f._JFjBF{left:-2px}._HZ55p ._M8d1f._-MXDd{right:-1px}._HZ55p:first-of-type ._JFjBF._11-6n{left:0;width:2px;border-left:1px solid #fff}._HZ55p:first-of-type ._JFjBF._M8d1f{left:0}._HZ55p:last-of-type ._-MXDd._11-6n{right:0;width:2px;border-right:1px solid #fff}._HZ55p:last-of-type ._-MXDd._M8d1f{right:0}._HZ55p ._fmM71{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._HZ55p ._fmM71 ._fZa1H{position:absolute;width:2px;right:2px;top:0;bottom:0}._HZ55p ._fmM71 ._fZa1H._yRsEd{background-color:#0a6ed1}._HZ55p ._fmM71:hover ._fZa1H:not(._yRsEd){background-color:#d9d9d9}._HZ55p ._4lZ3k{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._HZ55p ._4lZ3k._uuaHr{flex-direction:row-reverse;justify-content:flex-start}._HZ55p ._4lZ3k._uuaHr ._2rftT{margin:1px 7px 1px 1px}._HZ55p ._4lZ3k ._tJJDS{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._HZ55p ._4lZ3k ._2rftT{margin:1px 1px 1px 7px;flex-shrink:0}._HZ55p ._EzumA{margin-left:6px;margin-right:4px;flex-shrink:0}._HZ55p ._gJP1I{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._HZ55p:focus{outline:none}._HZ55p._dvyxH.focus-visible:after,._HZ55p._dvyxH:focus-visible:after,._HZ55p.focus-visible:after,._HZ55p:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-TaB-{margin-right:6px}._TgB9f{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._TgB9f[focus-within]{z-index:30}._TgB9f:focus-within{z-index:30}._5S6qD{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._5S6qD ._2aAnH{width:100%;padding:12px 12px 11px;overflow:hidden}._5S6qD._Xo7-J{background-color:#efefef;border-bottom-color:#dfdfe1}._5S6qD._xtIyi{flex-grow:1}._5S6qD:focus{outline:none}._5S6qD._dvyxH.focus-visible:after,._5S6qD._dvyxH:focus-visible:after,._5S6qD.focus-visible:after,._5S6qD:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._NtX2d{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._NtX2d._IrKSf{border-bottom-color:#d9d9d9;background-color:#fff}._YNW7C{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._YNW7C._IrKSf{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._YNW7C:focus input~span,._YNW7C:hover input~span{border-color:#0b6ed0}._YNW7C ._o-lZf{position:relative;display:inline-flex}._YNW7C ._o-lZf ._fvnVI{margin:0!important}._YNW7C ._o-lZf ._VdAXm{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._24gHY{justify-content:flex-start}._g9po0{justify-content:center;text-align:center}._uuaHr{justify-content:flex-end;text-align:right}._ROk3J{display:none}._d3-U1{opacity:0;height:0;width:0;overflow:hidden}._d3-U1,._duxuJ{position:absolute}._duxuJ{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._lW-5O{max-width:250px;min-width:150px!important}";
36
38
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
37
39
 
38
40
  // TODO: Move the imported types into this file to avoid a ciruclar dependency warning.
@@ -87,8 +89,8 @@ const AdvancedTableColumnHeaderMenu = _ref => {
87
89
  var _columnHeaderRef$curr;
88
90
  e.preventDefault(); // prevents SelectMenu value from changing
89
91
  setIsOpen(false);
90
- (_columnHeaderRef$curr = columnHeaderRef.current) === null || _columnHeaderRef$curr === void 0 ? void 0 : _columnHeaderRef$curr.focus();
91
- onSelect === null || onSelect === void 0 ? void 0 : onSelect();
92
+ (_columnHeaderRef$curr = columnHeaderRef.current) === null || _columnHeaderRef$curr === void 0 || _columnHeaderRef$curr.focus();
93
+ onSelect === null || onSelect === void 0 || onSelect();
92
94
  },
93
95
  "date-testid": menuItemDataTestId
94
96
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
@@ -454,7 +456,7 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
454
456
  const newWidth = Math.max(80, ((_columnHeaderRef$curr2 = columnHeaderRef.current) === null || _columnHeaderRef$curr2 === void 0 ? void 0 : _columnHeaderRef$curr2.getBoundingClientRect().width) - 10);
455
457
  onWidthChange(newWidth);
456
458
  } else {
457
- onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
459
+ onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
458
460
  }
459
461
  };
460
462
  const handleClick = e => {
@@ -528,7 +530,7 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
528
530
  const mouseX = e.clientX;
529
531
  const headerX = (_columnHeaderRef$curr3 = columnHeaderRef.current) === null || _columnHeaderRef$curr3 === void 0 ? void 0 : _columnHeaderRef$curr3.getBoundingClientRect().x;
530
532
  const newWidth = Math.max(80, mouseX - headerX);
531
- onWidthChange === null || onWidthChange === void 0 ? void 0 : onWidthChange(newWidth);
533
+ onWidthChange === null || onWidthChange === void 0 || onWidthChange(newWidth);
532
534
  };
533
535
  const handleMouseUp = e => {
534
536
  if (e.button === 0) {
@@ -620,7 +622,7 @@ const AdvancedTableColumnHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
620
622
  "aria-hidden": "true",
621
623
  onFocus: () => {
622
624
  var _columnHeaderRef$curr5;
623
- (_columnHeaderRef$curr5 = columnHeaderRef.current) === null || _columnHeaderRef$curr5 === void 0 ? void 0 : _columnHeaderRef$curr5.focus();
625
+ (_columnHeaderRef$curr5 = columnHeaderRef.current) === null || _columnHeaderRef$curr5 === void 0 || _columnHeaderRef$curr5.focus();
624
626
  },
625
627
  className: styles$b.advancedTableColumnHeaderMenuHiddenAnchor
626
628
  })
@@ -685,14 +687,14 @@ const AdvancedTableCell = /*#__PURE__*/React.forwardRef((_ref, ref) => {
685
687
  const handleKeyDown = e => {
686
688
  if (e.target === e.currentTarget && e.key === 'Enter' && isInteractive) {
687
689
  var _focusableElementRef$;
688
- (_focusableElementRef$ = focusableElementRef.current) === null || _focusableElementRef$ === void 0 ? void 0 : _focusableElementRef$.focus();
690
+ (_focusableElementRef$ = focusableElementRef.current) === null || _focusableElementRef$ === void 0 || _focusableElementRef$.focus();
689
691
  e.preventDefault(); // Prevent click event from occurring on the focusable element
690
692
  }
691
693
 
692
- onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
694
+ onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
693
695
  };
694
696
  const handleFocus = e => {
695
- onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
697
+ onFocus === null || onFocus === void 0 || onFocus(e);
696
698
  if (isInteractive) {
697
699
  if (e.target !== e.currentTarget) {
698
700
  setIsEditing(true);
@@ -708,7 +710,7 @@ const AdvancedTableCell = /*#__PURE__*/React.forwardRef((_ref, ref) => {
708
710
  } : undefined;
709
711
  const focusCell = () => {
710
712
  var _cellRef$current;
711
- (_cellRef$current = cellRef.current) === null || _cellRef$current === void 0 ? void 0 : _cellRef$current.focus();
713
+ (_cellRef$current = cellRef.current) === null || _cellRef$current === void 0 || _cellRef$current.focus();
712
714
  };
713
715
  const computedWidth = useComputedWidth(widthBuffer, width);
714
716
  return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
@@ -895,7 +897,7 @@ const AdvancedTablePagination = _ref => {
895
897
  page
896
898
  } = _ref2;
897
899
  setCurrentPage(page);
898
- onPageChange === null || onPageChange === void 0 ? void 0 : onPageChange(page);
900
+ onPageChange === null || onPageChange === void 0 || onPageChange(page);
899
901
  };
900
902
  return /*#__PURE__*/React__default["default"].createElement("div", {
901
903
  className: styles$b.advancedTablePaginationContainer
@@ -981,6 +983,7 @@ const AdvancedTable = _ref => {
981
983
  'data-testid': dataTestId,
982
984
  rowActions,
983
985
  rowActionsButtonAriaLabel,
986
+ rowActionsPlacement = 'bottom-end',
984
987
  headerMaxLines
985
988
  } = _ref;
986
989
  // This handles an edge case where no rows are passed in
@@ -1045,7 +1048,8 @@ const AdvancedTable = _ref => {
1045
1048
  }
1046
1049
  }
1047
1050
  }, /*#__PURE__*/React__default["default"].createElement(icons_index.EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default["default"].createElement(index.DropdownList, {
1048
- className: styles$b.rowActionMenuPane
1051
+ className: styles$b.rowActionMenuPane,
1052
+ placement: rowActionsPlacement
1049
1053
  }, !rows ? [] : rowActions === null || rowActions === void 0 ? void 0 : rowActions.map((actionGroup, groupIndex) => {
1050
1054
  var _actionGroup$actions;
1051
1055
  const row = rows[rowIndex];
@@ -1113,7 +1117,7 @@ const AdvancedTable = _ref => {
1113
1117
  const setColumnOrder = index.useEventCallback(value => {
1114
1118
  const newColumnOrder = typeof value === 'function' ? value(columnOrder) : value;
1115
1119
  setInternalColumnOrder(newColumnOrder);
1116
- onColumnOrderChange === null || onColumnOrderChange === void 0 ? void 0 : onColumnOrderChange(newColumnOrder);
1120
+ onColumnOrderChange === null || onColumnOrderChange === void 0 || onColumnOrderChange(newColumnOrder);
1117
1121
  });
1118
1122
  const {
1119
1123
  pinnedColumnConfigs,
@@ -1205,7 +1209,7 @@ const AdvancedTable = _ref => {
1205
1209
  } else if (expand !== false) {
1206
1210
  rowPropReference.isExpanded = true;
1207
1211
  }
1208
- onRowsChange === null || onRowsChange === void 0 ? void 0 : onRowsChange([...rowsProp]);
1212
+ onRowsChange === null || onRowsChange === void 0 || onRowsChange([...rowsProp]);
1209
1213
  };
1210
1214
  const getLastToggledRowIndex = () => {
1211
1215
  const index = rows === null || rows === void 0 ? void 0 : rows.findIndex(_ref4 => {
@@ -1476,7 +1480,7 @@ const AdvancedTable = _ref => {
1476
1480
  setValue: newValue => {
1477
1481
  const newRows = [...rowsProp];
1478
1482
  rowPropReference.data[columnId] = newValue;
1479
- onRowsChange === null || onRowsChange === void 0 ? void 0 : onRowsChange(newRows);
1483
+ onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
1480
1484
  },
1481
1485
  renderCellContent,
1482
1486
  isCellContentInteractive,
@@ -1574,7 +1578,7 @@ const AdvancedTable = _ref => {
1574
1578
  const onSelect = e => {
1575
1579
  e.preventDefault(); // stops event from triggering on new target when focus is changed during onSelect
1576
1580
  if (hasOnRowSelect) {
1577
- onRowSelect === null || onRowSelect === void 0 ? void 0 : onRowSelect(row.rowPropReference);
1581
+ onRowSelect === null || onRowSelect === void 0 || onRowSelect(row.rowPropReference);
1578
1582
  setSelectedRowId(rowId);
1579
1583
  }
1580
1584
  };
@@ -1755,7 +1759,7 @@ function useFocusState(_ref8) {
1755
1759
  tableRef.current.scrollLeft -= pinnedContainerPos.left + pinnedContainerPos.width - cellPos.left;
1756
1760
  }
1757
1761
  }
1758
- cell === null || cell === void 0 ? void 0 : cell.focus();
1762
+ cell === null || cell === void 0 || cell.focus();
1759
1763
  });
1760
1764
 
1761
1765
  // Focus header cell when the focused column id changes. Used when pinning/unpinning columns since a new DOM element is created.
@@ -1822,9 +1826,9 @@ function mapExternalRowToInternalRows(row, depthSize, depthIndex, parentId) {
1822
1826
 
1823
1827
  /* eslint-disable import/prefer-default-export */
1824
1828
 
1825
- var css_248z$a = "._9eges{display:inline-block;width:36px;transition:width .25s ease-out}._Pv368{width:100%}._mBNFa>input{padding-right:0!important}._tnxZ0>svg{fill:#515559}";
1826
- var styles$a = {"collapsibleSearchInput":"_9eges","searchInput":"_Pv368","searchInputCollapsed":"_mBNFa","iconButton":"_tnxZ0"};
1827
- var stylesheet$a="._9eges{display:inline-block;width:36px;transition:width .25s ease-out}._Pv368{width:100%}._mBNFa>input{padding-right:0!important}._tnxZ0>svg{fill:#515559}";
1829
+ var css_248z$a = "._EJUud{display:inline-block;width:36px;transition:width .25s ease-out}._5LbQV{width:100%}._HHbN5>input{padding-right:0!important}._FUHDV>svg{fill:#515559}";
1830
+ var styles$a = {"collapsibleSearchInput":"_EJUud","searchInput":"_5LbQV","searchInputCollapsed":"_HHbN5","iconButton":"_FUHDV"};
1831
+ var stylesheet$a="._EJUud{display:inline-block;width:36px;transition:width .25s ease-out}._5LbQV{width:100%}._HHbN5>input{padding-right:0!important}._FUHDV>svg{fill:#515559}";
1828
1832
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
1829
1833
 
1830
1834
  const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -1902,7 +1906,7 @@ const CollapsibleSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1902
1906
  };
1903
1907
  const handleIconButtonClick = () => {
1904
1908
  var _iconButtonRef$curren;
1905
- (_iconButtonRef$curren = iconButtonRef.current) === null || _iconButtonRef$curren === void 0 ? void 0 : _iconButtonRef$curren.focus();
1909
+ (_iconButtonRef$curren = iconButtonRef.current) === null || _iconButtonRef$curren === void 0 || _iconButtonRef$curren.focus();
1906
1910
  setExternalIsExpanded(true);
1907
1911
  };
1908
1912
  index.useDidUpdate(() => {
@@ -1921,7 +1925,7 @@ const CollapsibleSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1921
1925
  if (isComponentFocused) {
1922
1926
  switch (internalExpandedState) {
1923
1927
  case expandedStates.EXPANDING:
1924
- (_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 ? void 0 : _searchInputRef$curre.focus();
1928
+ (_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 || _searchInputRef$curre.focus();
1925
1929
  break;
1926
1930
  case expandedStates.COLLAPSED:
1927
1931
  /*
@@ -1929,7 +1933,7 @@ const CollapsibleSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1929
1933
  * This will show the focus ring on the icon button and allow the tooltip to appear.
1930
1934
  */
1931
1935
 
1932
- (_iconButtonRef$curren2 = iconButtonRef.current) === null || _iconButtonRef$curren2 === void 0 ? void 0 : _iconButtonRef$curren2.focus();
1936
+ (_iconButtonRef$curren2 = iconButtonRef.current) === null || _iconButtonRef$curren2 === void 0 || _iconButtonRef$curren2.focus();
1933
1937
  break;
1934
1938
  default:
1935
1939
  }
@@ -1965,9 +1969,9 @@ const CollapsibleSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1965
1969
  }));
1966
1970
  });
1967
1971
 
1968
- var css_248z$9 = "._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}";
1969
- var styles$9 = {"input":"_HPfzi","disabled":"_66Idh","dropdown":"_dQNnM","container":"_HVMkk","countryCode":"_glnNQ"};
1970
- var stylesheet$9="._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}";
1972
+ var css_248z$9 = "._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}";
1973
+ var styles$9 = {"input":"_Yam-8","disabled":"_2PHbV","dropdown":"_LSADJ","container":"_tJt-2","countryCode":"_cCDs1"};
1974
+ var stylesheet$9="._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}";
1971
1975
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$9);}
1972
1976
 
1973
1977
  const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -2026,7 +2030,7 @@ const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
2026
2030
  } catch (e) {
2027
2031
  // `parsePhoneNumber` throws an error if the inputs are invalid.
2028
2032
  }
2029
- onChange === null || onChange === void 0 ? void 0 : onChange(internationalNumber, isValidLength, countryCode, value);
2033
+ onChange === null || onChange === void 0 || onChange(internationalNumber, isValidLength, countryCode, value);
2030
2034
  };
2031
2035
  const inputClassNames = classNames__default["default"](styles$9.input, {
2032
2036
  [styles$9.disabled]: isDisabled
@@ -2201,7 +2205,7 @@ isDisabled) {
2201
2205
  */
2202
2206
  const focusDescendant = React.useCallback((descendantElement, index) => {
2203
2207
  var _inputRef$current;
2204
- (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.setAttribute('aria-activedescendant', descendantElement.id);
2208
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.setAttribute('aria-activedescendant', descendantElement.id);
2205
2209
  setActiveDescendant({
2206
2210
  element: descendantElement,
2207
2211
  index
@@ -2620,6 +2624,7 @@ function Combobox(_ref) {
2620
2624
  initialValue = '',
2621
2625
  value,
2622
2626
  onChange,
2627
+ onSubmit,
2623
2628
  isDisabled,
2624
2629
  isInvalid,
2625
2630
  isRequired,
@@ -2673,6 +2678,7 @@ function Combobox(_ref) {
2673
2678
  setRawInputValue,
2674
2679
  committedInputValue,
2675
2680
  setCommittedInputValue,
2681
+ onSubmit,
2676
2682
  registerOption,
2677
2683
  deregisterOption,
2678
2684
  focusInput,
@@ -2687,9 +2693,9 @@ function Combobox(_ref) {
2687
2693
  }, children);
2688
2694
  }
2689
2695
 
2690
- var css_248z$8 = "._cp947 :after{background-color:#515559!important}._ujjjX>input:focus{box-shadow:none!important;border:1px solid #898989!important}._dqRZX{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._dqRZX ._fiiAS ._Hx3Ix{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._dqRZX ._fiiAS:first-child ._brnAc{display:none}._dqRZX ._AbT11{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._dqRZX ._AbT11:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:hover._cbqy2{background-color:#e4effa}._dqRZX ._AbT11._cbqy2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:active:not(._cbqy2){background-color:#e8e9e9}";
2691
- var styles$8 = {"loadingSpinner":"_cp947","ignoreFocusStyle":"_ujjjX","flyout":"_dqRZX","group":"_fiiAS","header":"_Hx3Ix","divider":"_brnAc","option":"_AbT11","selected":"_cbqy2"};
2692
- var stylesheet$8="._cp947 :after{background-color:#515559!important}._ujjjX>input:focus{box-shadow:none!important;border:1px solid #898989!important}._dqRZX{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._dqRZX ._fiiAS ._Hx3Ix{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._dqRZX ._fiiAS:first-child ._brnAc{display:none}._dqRZX ._AbT11{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._dqRZX ._AbT11:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:hover._cbqy2{background-color:#e4effa}._dqRZX ._AbT11._cbqy2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:active:not(._cbqy2){background-color:#e8e9e9}";
2696
+ var css_248z$8 = "._jP-o2 :after{background-color:#515559!important}._-XCbz>input:focus{box-shadow:none!important;border:1px solid #898989!important}._eBhO9{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._eBhO9 ._6-d-i ._Ngvh6{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._eBhO9 ._6-d-i:first-child ._L6uri{display:none}._eBhO9 ._0a4eq{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._eBhO9 ._0a4eq:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._eBhO9 ._0a4eq:hover._BKYBO{background-color:#e4effa}._eBhO9 ._0a4eq._BKYBO{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._eBhO9 ._0a4eq:active:not(._BKYBO){background-color:#e8e9e9}";
2697
+ var styles$8 = {"loadingSpinner":"_jP-o2","ignoreFocusStyle":"_-XCbz","flyout":"_eBhO9","group":"_6-d-i","header":"_Ngvh6","divider":"_L6uri","option":"_0a4eq","selected":"_BKYBO"};
2698
+ var stylesheet$8="._jP-o2 :after{background-color:#515559!important}._-XCbz>input:focus{box-shadow:none!important;border:1px solid #898989!important}._eBhO9{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._eBhO9 ._6-d-i ._Ngvh6{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._eBhO9 ._6-d-i:first-child ._L6uri{display:none}._eBhO9 ._0a4eq{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._eBhO9 ._0a4eq:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._eBhO9 ._0a4eq:hover._BKYBO{background-color:#e4effa}._eBhO9 ._0a4eq._BKYBO{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._eBhO9 ._0a4eq:active:not(._BKYBO){background-color:#e8e9e9}";
2693
2699
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
2694
2700
 
2695
2701
  const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -2719,6 +2725,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
2719
2725
  setRawInputValue,
2720
2726
  committedInputValue,
2721
2727
  setCommittedInputValue,
2728
+ onSubmit,
2722
2729
  activeDescendantElement,
2723
2730
  isDisabled,
2724
2731
  isRequired,
@@ -2787,6 +2794,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
2787
2794
  case 'Enter':
2788
2795
  e.preventDefault(); // Prevents form submission
2789
2796
  commitCurrentRawInputValueAndCloseFlyout();
2797
+ onSubmit === null || onSubmit === void 0 || onSubmit(rawInputValue);
2790
2798
  break;
2791
2799
  default:
2792
2800
  }
@@ -2944,6 +2952,7 @@ function ComboboxOption(_ref) {
2944
2952
  activeDescendantElement,
2945
2953
  committedInputValue,
2946
2954
  setCommittedInputValue,
2955
+ onSubmit,
2947
2956
  rootDataTestId,
2948
2957
  setHoveredOption
2949
2958
  } = useComboboxContext();
@@ -2982,6 +2991,7 @@ function ComboboxOption(_ref) {
2982
2991
  }),
2983
2992
  onClick: () => {
2984
2993
  setCommittedInputValue(label);
2994
+ onSubmit === null || onSubmit === void 0 || onSubmit(label);
2985
2995
  setIsOpen(false);
2986
2996
  setHoveredOption(null);
2987
2997
  },
@@ -2995,9 +3005,9 @@ function ComboboxOption(_ref) {
2995
3005
  }, label);
2996
3006
  }
2997
3007
 
2998
- var css_248z$7 = "._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}";
2999
- var styles$7 = {"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"};
3000
- var stylesheet$7="._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}";
3008
+ var css_248z$7 = "._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}";
3009
+ var styles$7 = {"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"};
3010
+ var stylesheet$7="._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}";
3001
3011
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
3002
3012
 
3003
3013
  const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -3097,9 +3107,9 @@ const SplitButtonOption = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3097
3107
  }, children);
3098
3108
  });
3099
3109
 
3100
- var css_248z$6 = "._m5ztD{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._m5ztD:hover:not(._aZl-s){background-color:rgba(50,54,58,.08)}._m5ztD:hover:not(._aZl-s)._fwwx7{border-color:#085caf;background-color:rgba(11,110,208,.04)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._748kD{color:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._Sr5--{fill:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._GwLBi{fill:#085caf}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#085caf}._m5ztD:active:not(._aZl-s){background-color:#e8e9e9}._m5ztD:active:not(._aZl-s)._fwwx7{background-color:rgba(11,110,208,.11);border-color:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._GwLBi{fill:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#0854a1}._m5ztD._aZl-s{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._m5ztD._fwwx7{border-color:#0b6ed0}._Sr5--{fill:#515559;margin-right:4px}._748kD{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._748kD+._whzW2{margin-left:6px}._748kD._aZl-s{color:#74777a}._whzW2{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._a-qvX{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._GwLBi{fill:#515559}._GwLBi._aZl-s,._GwLBi._aZl-s._fwwx7{fill:rgba(116,119,122,.4)}._GwLBi._fwwx7{fill:#0b6ed0}._GwLBi._ilHGO{transform:rotate(-180deg)}._m5ztD.focus-visible,._m5ztD:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3101
- var styles$6 = {"button":"_m5ztD","disabled":"_aZl-s","selected":"_fwwx7","label":"_748kD","lockIcon":"_Sr5--","chevronIcon":"_GwLBi","selectedFiltersContainer":"_whzW2","selectedFilters":"_a-qvX","open":"_ilHGO"};
3102
- var stylesheet$6="._m5ztD{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._m5ztD:hover:not(._aZl-s){background-color:rgba(50,54,58,.08)}._m5ztD:hover:not(._aZl-s)._fwwx7{border-color:#085caf;background-color:rgba(11,110,208,.04)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._748kD{color:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._Sr5--{fill:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._GwLBi{fill:#085caf}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#085caf}._m5ztD:active:not(._aZl-s){background-color:#e8e9e9}._m5ztD:active:not(._aZl-s)._fwwx7{background-color:rgba(11,110,208,.11);border-color:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._GwLBi{fill:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#0854a1}._m5ztD._aZl-s{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._m5ztD._fwwx7{border-color:#0b6ed0}._Sr5--{fill:#515559;margin-right:4px}._748kD{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._748kD+._whzW2{margin-left:6px}._748kD._aZl-s{color:#74777a}._whzW2{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._a-qvX{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._GwLBi{fill:#515559}._GwLBi._aZl-s,._GwLBi._aZl-s._fwwx7{fill:rgba(116,119,122,.4)}._GwLBi._fwwx7{fill:#0b6ed0}._GwLBi._ilHGO{transform:rotate(-180deg)}._m5ztD.focus-visible,._m5ztD:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3110
+ var css_248z$6 = "._ZOzRb{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._ZOzRb:hover:not(._626lm){background-color:rgba(50,54,58,.08)}._ZOzRb:hover:not(._626lm)._SGTqR{border-color:#085caf;background-color:rgba(11,110,208,.04)}._ZOzRb:hover:not(._626lm)._SGTqR ._jGw8N{color:#32363a}._ZOzRb:hover:not(._626lm)._SGTqR ._xhbFD{fill:#32363a}._ZOzRb:hover:not(._626lm)._SGTqR ._2ybld{fill:#085caf}._ZOzRb:hover:not(._626lm)._SGTqR ._iR26-{background-color:rgba(11,110,208,.11)}._ZOzRb:hover:not(._626lm)._SGTqR ._iR26- ._s3CEG{color:#085caf}._ZOzRb:active:not(._626lm){background-color:#e8e9e9}._ZOzRb:active:not(._626lm)._SGTqR{background-color:rgba(11,110,208,.11);border-color:#0854a1}._ZOzRb:active:not(._626lm)._SGTqR ._2ybld{fill:#0854a1}._ZOzRb:active:not(._626lm)._SGTqR ._iR26-{background-color:rgba(11,110,208,.11)}._ZOzRb:active:not(._626lm)._SGTqR ._iR26- ._s3CEG{color:#0854a1}._ZOzRb._626lm{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._ZOzRb._SGTqR{border-color:#0b6ed0}._xhbFD{fill:#515559;margin-right:4px}._jGw8N{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._jGw8N+._iR26-{margin-left:6px}._jGw8N._626lm{color:#74777a}._iR26-{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._s3CEG{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._2ybld{fill:#515559}._2ybld._626lm,._2ybld._626lm._SGTqR{fill:rgba(116,119,122,.4)}._2ybld._SGTqR{fill:#0b6ed0}._2ybld._GGSa9{transform:rotate(-180deg)}._ZOzRb.focus-visible,._ZOzRb:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3111
+ var styles$6 = {"button":"_ZOzRb","disabled":"_626lm","selected":"_SGTqR","label":"_jGw8N","lockIcon":"_xhbFD","chevronIcon":"_2ybld","selectedFiltersContainer":"_iR26-","selectedFilters":"_s3CEG","open":"_GGSa9"};
3112
+ var stylesheet$6="._ZOzRb{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._ZOzRb:hover:not(._626lm){background-color:rgba(50,54,58,.08)}._ZOzRb:hover:not(._626lm)._SGTqR{border-color:#085caf;background-color:rgba(11,110,208,.04)}._ZOzRb:hover:not(._626lm)._SGTqR ._jGw8N{color:#32363a}._ZOzRb:hover:not(._626lm)._SGTqR ._xhbFD{fill:#32363a}._ZOzRb:hover:not(._626lm)._SGTqR ._2ybld{fill:#085caf}._ZOzRb:hover:not(._626lm)._SGTqR ._iR26-{background-color:rgba(11,110,208,.11)}._ZOzRb:hover:not(._626lm)._SGTqR ._iR26- ._s3CEG{color:#085caf}._ZOzRb:active:not(._626lm){background-color:#e8e9e9}._ZOzRb:active:not(._626lm)._SGTqR{background-color:rgba(11,110,208,.11);border-color:#0854a1}._ZOzRb:active:not(._626lm)._SGTqR ._2ybld{fill:#0854a1}._ZOzRb:active:not(._626lm)._SGTqR ._iR26-{background-color:rgba(11,110,208,.11)}._ZOzRb:active:not(._626lm)._SGTqR ._iR26- ._s3CEG{color:#0854a1}._ZOzRb._626lm{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._ZOzRb._SGTqR{border-color:#0b6ed0}._xhbFD{fill:#515559;margin-right:4px}._jGw8N{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._jGw8N+._iR26-{margin-left:6px}._jGw8N._626lm{color:#74777a}._iR26-{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._s3CEG{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._2ybld{fill:#515559}._2ybld._626lm,._2ybld._626lm._SGTqR{fill:rgba(116,119,122,.4)}._2ybld._SGTqR{fill:#0b6ed0}._2ybld._GGSa9{transform:rotate(-180deg)}._ZOzRb.focus-visible,._ZOzRb:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3103
3113
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
3104
3114
 
3105
3115
  const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -3133,14 +3143,14 @@ const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3133
3143
  if (isDisabled) {
3134
3144
  e.stopPropagation(); // Prevents "click" events from occurring on parent elements
3135
3145
  } else {
3136
- onClick === null || onClick === void 0 ? void 0 : onClick(e);
3146
+ onClick === null || onClick === void 0 || onClick(e);
3137
3147
  }
3138
3148
  },
3139
3149
  onKeyDown: e => {
3140
3150
  if (isDisabled) {
3141
3151
  e.stopPropagation(); // Prevents "keydown" events from occurring on parent elements
3142
3152
  } else {
3143
- onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
3153
+ onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
3144
3154
  }
3145
3155
  },
3146
3156
  disabled: undefined // This component uses aria-disabled instead of disabled
@@ -3190,6 +3200,10 @@ const {
3190
3200
  useContext: useMenuContext,
3191
3201
  Provider: MenuContextProvider
3192
3202
  } = index.createContextUtilities();
3203
+ const {
3204
+ useContext: useItemContext,
3205
+ Provider: ItemContextProvider
3206
+ } = index.createContextUtilities({});
3193
3207
  const {
3194
3208
  useContext: intermediaryUseMenuContext,
3195
3209
  Provider: IntermediaryMenuContextProvider
@@ -3227,14 +3241,16 @@ const Menu = _ref => {
3227
3241
  isOpen,
3228
3242
  onIsOpenChange,
3229
3243
  isDisabled,
3230
- children
3244
+ children,
3245
+ isVirtualizationDisabled
3231
3246
  } = _ref;
3232
3247
  if (typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' && window) {
3233
3248
  var _window$ResizeObserve, _window$PointerEvent;
3234
- window.ResizeObserver = (_window$ResizeObserve = window.ResizeObserver) !== null && _window$ResizeObserve !== void 0 ? _window$ResizeObserve : ResizeObserver;
3249
+ window.ResizeObserver = (_window$ResizeObserve = window.ResizeObserver) !== null && _window$ResizeObserve !== void 0 ? _window$ResizeObserve : resizeObserver.ResizeObserver;
3235
3250
  window.PointerEvent = (_window$PointerEvent = window.PointerEvent) !== null && _window$PointerEvent !== void 0 ? _window$PointerEvent : PointerEvent;
3236
3251
  }
3237
3252
  const [open, setOpen] = index.useControllableState(isOpen, onIsOpenChange, isOpen);
3253
+ const virtuoso = React.useRef(null);
3238
3254
  const [maskHeight, setMaskHeight] = React.useState(null);
3239
3255
  const [maskWidth, setMaskWidth] = React.useState(null);
3240
3256
  const [submenus, setSubmenus] = React.useState(new Set());
@@ -3250,6 +3266,16 @@ const Menu = _ref => {
3250
3266
  return clone;
3251
3267
  });
3252
3268
  };
3269
+
3270
+ // Virtuoso and Radix-Dropdown have conflicting ResizeObserver behavior
3271
+ // according to the author of the error, this is not a problem https://stackoverflow.com/a/50387233/9487902
3272
+ // the virtuoso library author recommends this approach for conflicting libraries https://virtuoso.dev/react-beautiful-dnd/
3273
+ index.useEventListener(window, 'error', e => {
3274
+ if (e.message === 'ResizeObserver loop completed with undelivered notifications.' || e.message === 'ResizeObserver loop limit exceeded') {
3275
+ e.stopImmediatePropagation();
3276
+ e.preventDefault();
3277
+ }
3278
+ });
3253
3279
  const openPaneDepth = React.useMemo(() => open ? submenus.size + 1 : 0, [submenus, open]);
3254
3280
  const [searchBarConfigs, setSearchBarConfigs] = React.useState([]);
3255
3281
  return /*#__PURE__*/React__default["default"].createElement(MenuContextProvider, {
@@ -3265,7 +3291,9 @@ const Menu = _ref => {
3265
3291
  searchBarConfigs,
3266
3292
  setSearchBarConfigs,
3267
3293
  maskWidth,
3268
- setMaskWidth
3294
+ setMaskWidth,
3295
+ virtuoso,
3296
+ isVirtualizationDisabled
3269
3297
  }
3270
3298
  }, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Root, {
3271
3299
  open: open,
@@ -3274,27 +3302,6 @@ const Menu = _ref => {
3274
3302
  }, children));
3275
3303
  };
3276
3304
 
3277
- // https://github.com/radix-ui/primitives/issues/420#issuecomment-771615182
3278
- class ResizeObserver {
3279
- constructor(cb) {
3280
- this.cb = cb;
3281
- }
3282
- observe() {
3283
- this.cb([{
3284
- borderBoxSize: {
3285
- inlineSize: 0,
3286
- blockSize: 0
3287
- }
3288
- }]);
3289
- }
3290
-
3291
- // eslint-disable-next-line class-methods-use-this
3292
- unobserve() {}
3293
-
3294
- // eslint-disable-next-line class-methods-use-this
3295
- disconnect() {}
3296
- }
3297
-
3298
3305
  // https://github.com/radix-ui/primitives/issues/1220#issuecomment-1087465026
3299
3306
  class PointerEvent extends Event {
3300
3307
  constructor(type, props) {
@@ -3305,9 +3312,9 @@ class PointerEvent extends Event {
3305
3312
  }
3306
3313
  }
3307
3314
 
3308
- var css_248z$5 = "._OOjwY{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._OOjwY>._MJORL{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._OOjwY>._MJORL:hover:not([aria-disabled=true]){background-color:#f5f5f5}._OOjwY>._MJORL.focus-visible,._OOjwY>._MJORL:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OOjwY>._MJORL+._9F5ii{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._OOjwY>._MJORL[data-state=open]+._9F5ii{transform:rotate(-180deg) translateY(50%)}._OOjwY>._MJORL[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._OOjwY>._MJORL[aria-disabled=true]+._9F5ii{fill:#515559;opacity:.4}._eyhD7>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._eyhD7>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._beR38{margin:0;padding:4px 0;background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;overflow:auto;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:350px}._beR38._OGYj7{margin-left:30px;opacity:0}._beR38._fEwts{margin-left:-30px}._36S-T{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._36S-T._qorZv{cursor:unset}._36S-T ._VwLua{fill:#32363a;margin-right:4px}._36S-T:focus,._36S-T:hover:not(._36S-T._qorZv){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._36S-T[aria-disabled=true]{cursor:not-allowed;opacity:.65}._36S-T._rREbu{padding-right:32px}._36S-T._rREbu ._9F5ii{position:absolute;height:100%;right:3px;fill:#515559}._36S-T._7Kqdd{pointer-events:none}._YbkmX{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._YbkmX._owA61{padding-top:49px}._3YM-n{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._ldYt-{position:absolute;background-color:#fff;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;overflow:hidden;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._ldYt-._fEwts{opacity:0}._ldYt-._fEwts>._Cbvl2{margin-left:-30px}._ldYt-._OGYj7{opacity:0}._ldYt-._OGYj7>._Cbvl2{margin-left:30px}._ldYt->._Cbvl2{transition:margin-left .35s;width:100%}._ldYt-._7Kqdd{pointer-events:none}body.keyboard-user ._36S-T:hover:not(:focus){background-color:#fff;box-shadow:none}";
3309
- var styles$5 = {"buttonContainer":"_OOjwY","button":"_MJORL","rightIcon":"_9F5ii","maskContainer":"_eyhD7","flyout":"_beR38","animatedRight":"_OGYj7","animatedLeft":"_fEwts","menuItem":"_36S-T","noItems":"_qorZv","backIcon":"_VwLua","subMenu":"_rREbu","unresponsive":"_7Kqdd","stickyBox":"_YbkmX","isSearchable":"_owA61","searchBoxesContainer":"_3YM-n","searchBox":"_ldYt-","searchInput":"_Cbvl2"};
3310
- var stylesheet$5="._OOjwY{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._OOjwY>._MJORL{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._OOjwY>._MJORL:hover:not([aria-disabled=true]){background-color:#f5f5f5}._OOjwY>._MJORL.focus-visible,._OOjwY>._MJORL:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OOjwY>._MJORL+._9F5ii{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._OOjwY>._MJORL[data-state=open]+._9F5ii{transform:rotate(-180deg) translateY(50%)}._OOjwY>._MJORL[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._OOjwY>._MJORL[aria-disabled=true]+._9F5ii{fill:#515559;opacity:.4}._eyhD7>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._eyhD7>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._beR38{margin:0;padding:4px 0;background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;overflow:auto;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:350px}._beR38._OGYj7{margin-left:30px;opacity:0}._beR38._fEwts{margin-left:-30px}._36S-T{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._36S-T._qorZv{cursor:unset}._36S-T ._VwLua{fill:#32363a;margin-right:4px}._36S-T:focus,._36S-T:hover:not(._36S-T._qorZv){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._36S-T[aria-disabled=true]{cursor:not-allowed;opacity:.65}._36S-T._rREbu{padding-right:32px}._36S-T._rREbu ._9F5ii{position:absolute;height:100%;right:3px;fill:#515559}._36S-T._7Kqdd{pointer-events:none}._YbkmX{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._YbkmX._owA61{padding-top:49px}._3YM-n{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._ldYt-{position:absolute;background-color:#fff;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;overflow:hidden;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._ldYt-._fEwts{opacity:0}._ldYt-._fEwts>._Cbvl2{margin-left:-30px}._ldYt-._OGYj7{opacity:0}._ldYt-._OGYj7>._Cbvl2{margin-left:30px}._ldYt->._Cbvl2{transition:margin-left .35s;width:100%}._ldYt-._7Kqdd{pointer-events:none}body.keyboard-user ._36S-T:hover:not(:focus){background-color:#fff;box-shadow:none}";
3315
+ var css_248z$5 = "._P-1qk{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._P-1qk>._avlWI{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._P-1qk>._avlWI:hover:not([aria-disabled=true]){background-color:#f5f5f5}._P-1qk>._avlWI.focus-visible,._P-1qk>._avlWI:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._P-1qk>._avlWI+._08qYC{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._P-1qk>._avlWI[data-state=open]+._08qYC{transform:rotate(-180deg) translateY(50%)}._P-1qk>._avlWI[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._P-1qk>._avlWI[aria-disabled=true]+._08qYC{fill:#515559;opacity:.4}._gZOPA>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._gZOPA>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._-nrnj{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._-nrnj ._sDfyk{height:100%;overflow-y:scroll}._-nrnj._zgTUU{margin-left:30px;opacity:0}._-nrnj._lOy6Z{margin-left:-30px}._TTaMv{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._TTaMv._cWSdL{cursor:unset}._TTaMv ._5244S{fill:#32363a;margin-right:4px}._TTaMv:focus,._TTaMv:hover:not(._TTaMv._cWSdL){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._TTaMv[aria-disabled=true]{cursor:not-allowed;opacity:.65}._TTaMv._al2zZ{padding-right:32px}._TTaMv._al2zZ ._08qYC{position:absolute;height:100%;right:3px;fill:#515559}._TTaMv._GIP-N{pointer-events:none}._5WkZQ{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._5WkZQ._eQooQ{padding-top:52px}._uUO-O{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._wQQjr{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._wQQjr._lOy6Z{opacity:0}._wQQjr._lOy6Z>._9og9E{margin-left:-30px}._wQQjr._zgTUU{opacity:0}._wQQjr._zgTUU>._9og9E{margin-left:30px}._wQQjr>._9og9E{transition:margin-left .35s;width:100%}._wQQjr._GIP-N{pointer-events:none}body.keyboard-user ._TTaMv:hover:not(:focus){background-color:#fff;box-shadow:none}";
3316
+ var styles$5 = {"buttonContainer":"_P-1qk","button":"_avlWI","rightIcon":"_08qYC","maskContainer":"_gZOPA","flyout":"_-nrnj","scrollContainer":"_sDfyk","animatedRight":"_zgTUU","animatedLeft":"_lOy6Z","menuItem":"_TTaMv","noItems":"_cWSdL","backIcon":"_5244S","subMenu":"_al2zZ","unresponsive":"_GIP-N","stickyBox":"_5WkZQ","isSearchable":"_eQooQ","searchBoxesContainer":"_uUO-O","searchBox":"_wQQjr","searchInput":"_9og9E"};
3317
+ var stylesheet$5="._P-1qk{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._P-1qk>._avlWI{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._P-1qk>._avlWI:hover:not([aria-disabled=true]){background-color:#f5f5f5}._P-1qk>._avlWI.focus-visible,._P-1qk>._avlWI:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._P-1qk>._avlWI+._08qYC{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._P-1qk>._avlWI[data-state=open]+._08qYC{transform:rotate(-180deg) translateY(50%)}._P-1qk>._avlWI[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._P-1qk>._avlWI[aria-disabled=true]+._08qYC{fill:#515559;opacity:.4}._gZOPA>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._gZOPA>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._-nrnj{margin:0;padding-bottom:var(--flyout-bottom-padding);background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:var(--flyout-max-height)}._-nrnj ._sDfyk{height:100%;overflow-y:scroll}._-nrnj._zgTUU{margin-left:30px;opacity:0}._-nrnj._lOy6Z{margin-left:-30px}._TTaMv{position:relative;padding:10px 12px;display:flex;flex-direction:row;min-height:40px;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._TTaMv._cWSdL{cursor:unset}._TTaMv ._5244S{fill:#32363a;margin-right:4px}._TTaMv:focus,._TTaMv:hover:not(._TTaMv._cWSdL){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._TTaMv[aria-disabled=true]{cursor:not-allowed;opacity:.65}._TTaMv._al2zZ{padding-right:32px}._TTaMv._al2zZ ._08qYC{position:absolute;height:100%;right:3px;fill:#515559}._TTaMv._GIP-N{pointer-events:none}._5WkZQ{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._5WkZQ._eQooQ{padding-top:52px}._uUO-O{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._wQQjr{position:absolute;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._wQQjr._lOy6Z{opacity:0}._wQQjr._lOy6Z>._9og9E{margin-left:-30px}._wQQjr._zgTUU{opacity:0}._wQQjr._zgTUU>._9og9E{margin-left:30px}._wQQjr>._9og9E{transition:margin-left .35s;width:100%}._wQQjr._GIP-N{pointer-events:none}body.keyboard-user ._TTaMv:hover:not(:focus){background-color:#fff;box-shadow:none}";
3311
3318
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
3312
3319
 
3313
3320
  /* eslint-disable import/prefer-default-export */
@@ -3427,14 +3434,63 @@ const MenuSearch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
3427
3434
  }));
3428
3435
  });
3429
3436
 
3437
+ /*
3438
+ this hook returns a method that
3439
+ 1. Scrolls to the top or bottom boundary of a virtual list
3440
+ 2. waits until the `visibleChildren` prop has updated completely
3441
+ 3. Uses `visibleChildren`'s ref to focus.
3442
+ */
3443
+ const useFocusVirtualBoundary = function (visibleChildren) {
3444
+ let backButtonRef = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
3445
+ const [scrollComplete, setScrollComplete] = React.useState(null);
3446
+ const {
3447
+ virtuoso
3448
+ } = useMenuContext();
3449
+ index.useDidUpdate(() => {
3450
+ window.requestAnimationFrame(() => {
3451
+ if (scrollComplete && visibleChildren[visibleChildren.length - 1].element.current) {
3452
+ if (scrollComplete === 'top' && backButtonRef !== null && backButtonRef !== void 0 && backButtonRef.current) {
3453
+ backButtonRef === null || backButtonRef === void 0 || backButtonRef.current.focus();
3454
+ } else {
3455
+ var _visibleChildren;
3456
+ (_visibleChildren = visibleChildren[scrollComplete === 'bottom' ? visibleChildren.length - 1 : 0]) === null || _visibleChildren === void 0 || (_visibleChildren = _visibleChildren.element) === null || _visibleChildren === void 0 || (_visibleChildren = _visibleChildren.current) === null || _visibleChildren === void 0 || _visibleChildren.focus();
3457
+ }
3458
+ setScrollComplete(null);
3459
+ }
3460
+ });
3461
+ }, [visibleChildren, scrollComplete]);
3462
+ return topOrBottom => {
3463
+ var _virtuoso$current;
3464
+ (_virtuoso$current = virtuoso.current) === null || _virtuoso$current === void 0 || _virtuoso$current.scrollToIndex({
3465
+ index: topOrBottom === 'top' ? 0 : 'LAST',
3466
+ behavior: 'auto'
3467
+ });
3468
+ setScrollComplete(topOrBottom);
3469
+ };
3470
+ };
3471
+
3430
3472
  // abstracts the logic required for searching by both `MenuPane` and `SubMenu`
3431
3473
  // creates a searchBarConfig, which maps to an instance of `MenuSearch`
3432
3474
  // returns values that are necessary for use within pane
3433
- function usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, items, animatedLeft, animatedRight, menuParentDataTestId, id, flyoutRef) {
3475
+ function usePaneSearch(_ref) {
3434
3476
  var _searchRef$current$qu, _searchRef$current;
3435
- let withinSelect = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : undefined;
3436
- let backButtonRef = arguments.length > 10 && arguments[10] !== undefined ? arguments[10] : undefined;
3437
- let closeSubmenu = arguments.length > 11 && arguments[11] !== undefined ? arguments[11] : undefined;
3477
+ let {
3478
+ isSearchable,
3479
+ externalSearchValue,
3480
+ onSearchValueChange,
3481
+ items,
3482
+ animatedLeft,
3483
+ animatedRight,
3484
+ menuParentDataTestId,
3485
+ id,
3486
+ flyoutRef,
3487
+ children,
3488
+ isSearchFilteringDisabled,
3489
+ backButtonRef,
3490
+ closeSubmenu,
3491
+ isVirtualized
3492
+ } = _ref;
3493
+ const withinSelect = useSelectContext(true) !== null;
3438
3494
  const [internalSearchValue, setSearchValue] = index.useControllableState(externalSearchValue, onSearchValueChange, externalSearchValue);
3439
3495
  const [zeroSearchResults, setZeroSearchResults] = React.useState();
3440
3496
  const {
@@ -3442,22 +3498,34 @@ function usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, i
3442
3498
  } = index.useTranslation();
3443
3499
  const noMatchesText = translate('menu.noItemsToDisplay');
3444
3500
  const searchPlaceholder = translate('searchText');
3501
+ const filteredChildren = React.useMemo(() => (Array.isArray(children) ? children : [children]).filter(_ref2 => {
3502
+ var _props$label, _searchMatcher$toLowe;
3503
+ let {
3504
+ props
3505
+ } = _ref2;
3506
+ if (!props || !internalSearchValue || isSearchFilteringDisabled) {
3507
+ return true;
3508
+ }
3509
+ const searchMatcher = (_props$label = props.label) !== null && _props$label !== void 0 ? _props$label : typeof props.children === 'string' ? props.children : undefined;
3510
+ return searchMatcher === null || searchMatcher === void 0 || (_searchMatcher$toLowe = searchMatcher.toLowerCase) === null || _searchMatcher$toLowe === void 0 ? void 0 : _searchMatcher$toLowe.call(searchMatcher).includes(internalSearchValue.toLowerCase());
3511
+ }), [internalSearchValue, children, isSearchFilteringDisabled]);
3512
+ const focusVirtualBoundary = useFocusVirtualBoundary(items, backButtonRef);
3445
3513
  React.useEffect(() => setZeroSearchResults((items === null || items === void 0 ? void 0 : items.filter(item => item.element.current).length) === 0), [items, internalSearchValue]);
3446
3514
  const searchRef = React.useRef(null);
3447
3515
  const searchInput = (_searchRef$current$qu = (_searchRef$current = searchRef.current) === null || _searchRef$current === void 0 ? void 0 : _searchRef$current.querySelector('input')) !== null && _searchRef$current$qu !== void 0 ? _searchRef$current$qu : null;
3448
- const getFirstNonNullItem = () => {
3516
+ const getFirstVisibleItem = () => {
3449
3517
  var _backButtonRef$curren, _items$find;
3450
3518
  return (_backButtonRef$curren = backButtonRef === null || backButtonRef === void 0 ? void 0 : backButtonRef.current) !== null && _backButtonRef$curren !== void 0 ? _backButtonRef$curren : (_items$find = items.find(item => item.element.current)) === null || _items$find === void 0 ? void 0 : _items$find.element.current;
3451
3519
  };
3452
- const getLastNonNullItem = () => {
3520
+ const getLastVisibleItem = () => {
3453
3521
  var _findLast$element$cur, _findLast;
3454
3522
  return (// our tsconfig does not target a recent enough version to use `Array.prototype.findLast`
3455
3523
  (_findLast$element$cur = (_findLast = items.findLast(item => item.element.current)) === null || _findLast === void 0 ? void 0 : _findLast.element.current) !== null && _findLast$element$cur !== void 0 ? _findLast$element$cur : backButtonRef === null || backButtonRef === void 0 ? void 0 : backButtonRef.current
3456
3524
  );
3457
3525
  };
3458
3526
  index.useEventListener(flyoutRef, 'keydown', e => {
3459
- if (KEYS$1.NAVIGATE_UP.includes(e.key) && e.target === getFirstNonNullItem() || KEYS$1.NAVIGATE_DOWN.includes(e.key) && e.target === getLastNonNullItem()) {
3460
- searchInput === null || searchInput === void 0 ? void 0 : searchInput.focus();
3527
+ if (KEYS$1.NAVIGATE_UP.includes(e.key) && e.target === getFirstVisibleItem() || KEYS$1.NAVIGATE_DOWN.includes(e.key) && e.target === getLastVisibleItem()) {
3528
+ searchInput === null || searchInput === void 0 || searchInput.focus();
3461
3529
  }
3462
3530
  }, {
3463
3531
  additionalDependencies: [flyoutRef.current],
@@ -3468,17 +3536,25 @@ function usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, i
3468
3536
  var _e$target;
3469
3537
  lastestKeyPressedInSearchInput.current = e.key;
3470
3538
  if ([...KEYS$1.NAVIGATE_DOWN, ...KEYS$1.NAVIGATE_TOP].includes(e.key)) {
3471
- var _getFirstNonNullItem;
3472
3539
  // prevent scrolling
3473
3540
  e.preventDefault();
3474
- (_getFirstNonNullItem = getFirstNonNullItem()) === null || _getFirstNonNullItem === void 0 ? void 0 : _getFirstNonNullItem.focus();
3541
+ if (isVirtualized) {
3542
+ focusVirtualBoundary('top');
3543
+ } else {
3544
+ var _getFirstVisibleItem;
3545
+ (_getFirstVisibleItem = getFirstVisibleItem()) === null || _getFirstVisibleItem === void 0 || _getFirstVisibleItem.focus();
3546
+ }
3475
3547
  } else if ([...KEYS$1.NAVIGATE_UP, ...KEYS$1.NAVIIGATE_BOTTOM].includes(e.key)) {
3476
- var _getLastNonNullItem;
3477
3548
  // prevent scrolling
3478
3549
  e.preventDefault();
3479
- (_getLastNonNullItem = getLastNonNullItem()) === null || _getLastNonNullItem === void 0 ? void 0 : _getLastNonNullItem.focus();
3550
+ if (isVirtualized) {
3551
+ focusVirtualBoundary('bottom');
3552
+ } else {
3553
+ var _getLastVisibleItem;
3554
+ (_getLastVisibleItem = getLastVisibleItem()) === null || _getLastVisibleItem === void 0 || _getLastVisibleItem.focus();
3555
+ }
3480
3556
  } else if (KEYS$1.CLOSE_SUBMENU.includes(e.key) && ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.selectionStart) === 0) {
3481
- closeSubmenu === null || closeSubmenu === void 0 ? void 0 : closeSubmenu(e);
3557
+ closeSubmenu === null || closeSubmenu === void 0 || closeSubmenu(e);
3482
3558
  } else if (KEYS$1.IGNORED_BY_SEARCH_INPUT.includes(e.key)) {
3483
3559
  e.preventDefault();
3484
3560
  }
@@ -3543,7 +3619,8 @@ function usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, i
3543
3619
  return {
3544
3620
  internalSearchValue,
3545
3621
  noSearchResultsNode,
3546
- onInteractOutside
3622
+ onInteractOutside,
3623
+ filteredChildren
3547
3624
  };
3548
3625
  }
3549
3626
 
@@ -3555,15 +3632,15 @@ const useMutationObserver = (target, options, onMutate) => React.useEffect(() =>
3555
3632
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3556
3633
  args[_key] = arguments[_key];
3557
3634
  }
3558
- onMutate === null || onMutate === void 0 ? void 0 : onMutate(...args);
3635
+ onMutate === null || onMutate === void 0 || onMutate(...args);
3559
3636
  });
3560
3637
  observer.observe(target, options);
3561
3638
  return () => observer.disconnect();
3562
3639
  }, [target, options, onMutate]);
3563
3640
 
3564
- var css_248z$4 = "._lYQJ9{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._M796L{visibility:hidden}";
3565
- var styles$4 = {"overlay":"_lYQJ9","hidden":"_M796L"};
3566
- var stylesheet$4="._lYQJ9{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._M796L{visibility:hidden}";
3641
+ var css_248z$4 = "._1iXuo{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._-d2as{visibility:hidden}";
3642
+ var styles$4 = {"overlay":"_1iXuo","hidden":"_-d2as"};
3643
+ var stylesheet$4="._1iXuo{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._-d2as{visibility:hidden}";
3567
3644
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$4);}
3568
3645
 
3569
3646
  /**
@@ -3613,12 +3690,12 @@ const useOverlay = _ref => {
3613
3690
  Array.from(containerNode.children).forEach(child => {
3614
3691
  if (!ignoreIds.includes(child.id) && child.id !== overlayId) child.setAttribute('inert', '');
3615
3692
  });
3616
- overlayNode === null || overlayNode === void 0 ? void 0 : overlayNode.classList.remove(styles$4.hidden);
3693
+ overlayNode === null || overlayNode === void 0 || overlayNode.classList.remove(styles$4.hidden);
3617
3694
  } else {
3618
3695
  Array.from(containerNode.children).forEach(child => {
3619
3696
  child.removeAttribute('inert');
3620
3697
  });
3621
- overlayNode === null || overlayNode === void 0 ? void 0 : overlayNode.classList.add(styles$4.hidden);
3698
+ overlayNode === null || overlayNode === void 0 || overlayNode.classList.add(styles$4.hidden);
3622
3699
  }
3623
3700
  return () => {
3624
3701
  Array.from(containerNode.children).forEach(child => {
@@ -3672,8 +3749,8 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
3672
3749
  if (isDisabled) {
3673
3750
  return;
3674
3751
  }
3675
- e === null || e === void 0 ? void 0 : e.stopPropagation();
3676
- setSelectedValues === null || setSelectedValues === void 0 ? void 0 : setSelectedValues(previouslySelectedValues => {
3752
+ e === null || e === void 0 || e.stopPropagation();
3753
+ setSelectedValues === null || setSelectedValues === void 0 || setSelectedValues(previouslySelectedValues => {
3677
3754
  // exclude duplicates
3678
3755
  const prevSet = new Set(previouslySelectedValues);
3679
3756
  if (checkedState === 'true') {
@@ -3717,9 +3794,9 @@ const SubSelect = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
3717
3794
  }, /*#__PURE__*/React__default["default"].createElement(SubMenu$1, sharedSubMenuProps, children));
3718
3795
  });
3719
3796
 
3720
- var css_248z$3 = "._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}";
3721
- var styles$3 = {"isInvalid":"_xxuYT","checkbox":"_pk2uK","selectedItem":"_m1vLs"};
3722
- var stylesheet$3="._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}";
3797
+ var css_248z$3 = "._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}";
3798
+ var styles$3 = {"isInvalid":"_slREa","checkbox":"_mOaSA","selectedItem":"_lawCe"};
3799
+ var stylesheet$3="._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}";
3723
3800
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$3);}
3724
3801
 
3725
3802
  const SelectItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -3795,8 +3872,105 @@ const SelectedItems = () => {
3795
3872
  })));
3796
3873
  };
3797
3874
 
3875
+ const PaneChildren = _ref => {
3876
+ var _useSelectContext, _containerRef$current, _containerRef$current2;
3877
+ let {
3878
+ children
3879
+ } = _ref;
3880
+ const {
3881
+ virtuoso
3882
+ } = useMenuContext();
3883
+ const {
3884
+ multiselect,
3885
+ showSelectedItemsPane
3886
+ } = (_useSelectContext = useSelectContext(true)) !== null && _useSelectContext !== void 0 ? _useSelectContext : {};
3887
+ const {
3888
+ closeSubmenu: containedWithinSubpane,
3889
+ isVirtualized
3890
+ } = usePaneContext();
3891
+ const containerRef = React.useRef(null);
3892
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3893
+ ref: containerRef,
3894
+ className: styles$5.scrollContainer,
3895
+ style: {
3896
+ maxHeight: "calc(var(--flyout-max-height) -\n ".concat((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.offsetTop, "px -\n var(--flyout-bottom-padding))")
3897
+ }
3898
+ }, isVirtualized ? /*#__PURE__*/React__default["default"].createElement(reactVirtuoso.Virtuoso, {
3899
+ ref: virtuoso,
3900
+ increaseViewportBy: 250,
3901
+ customScrollParent: (_containerRef$current2 = containerRef.current) !== null && _containerRef$current2 !== void 0 ? _containerRef$current2 : undefined,
3902
+ data: Array.isArray(children) ? children : [children],
3903
+ itemContent: (index, child) => ! /*#__PURE__*/React__default["default"].isValidElement(child) ? null : /*#__PURE__*/React__default["default"].createElement(ItemContextProvider, {
3904
+ value: {
3905
+ virtualIndex: index + (multiselect && showSelectedItemsPane && !containedWithinSubpane ? 1 : 0)
3906
+ }
3907
+ }, child)
3908
+ }) : /*#__PURE__*/React__default["default"].createElement(ItemContextProvider, {
3909
+ value: {
3910
+ virtualIndex: undefined
3911
+ }
3912
+ }, children));
3913
+ };
3914
+
3915
+ const useIsVirtualized = function (children) {
3916
+ let isVirtualizationDisabled = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
3917
+ return React.useMemo(() => !isVirtualizationDisabled && React__default["default"].Children.count(children) >= 25, [children, isVirtualizationDisabled]);
3918
+ };
3919
+
3920
+ const useMaskDimensions = (target, animatedLeft, paneDepth, children) => {
3921
+ var _process$env;
3922
+ const {
3923
+ setMaskHeight,
3924
+ maskHeight,
3925
+ setMaskWidth,
3926
+ openPaneDepth,
3927
+ open
3928
+ } = useMenuContext();
3929
+ const updateMaskDimensions = () => {
3930
+ if (target) {
3931
+ setMaskHeight(target.clientHeight);
3932
+ setMaskWidth(target.clientWidth);
3933
+ }
3934
+ };
3935
+ const auto = 'auto';
3936
+
3937
+ // resets dimensions on menu close, so that the top-level pane reopens immediately, rather than animating
3938
+ React.useEffect(() => {
3939
+ if (!open) {
3940
+ setMaskHeight(auto);
3941
+ setMaskWidth(auto);
3942
+ }
3943
+ }, [open, setMaskHeight, setMaskWidth]);
3944
+
3945
+ // handles async children adjustments by consumer
3946
+ index.useDidUpdate(() => {
3947
+ if (paneDepth === openPaneDepth) {
3948
+ updateMaskDimensions();
3949
+ }
3950
+ },
3951
+ // ignoring other dependencies because this should only run when the children change
3952
+ [children]);
3953
+
3954
+ // handles returning to this pane by traversing backwards
3955
+ index.useDidUpdate(() => {
3956
+ if (!animatedLeft) {
3957
+ updateMaskDimensions();
3958
+ }
3959
+ }, [animatedLeft]);
3960
+
3961
+ // handles dynamic resizing by both radix and virtuoso
3962
+ useResizeObserver__default["default"](target, () => {
3963
+ if (openPaneDepth === paneDepth) {
3964
+ updateMaskDimensions();
3965
+ }
3966
+ });
3967
+
3968
+ // determines if the mask is ready
3969
+ return maskHeight !== auto || typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test';
3970
+ };
3971
+
3798
3972
  const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
3799
- var _flyoutRef$current$pa, _flyoutRef$current3, _flyoutRef$current4;
3973
+ var _flyoutRef$current$pa, _flyoutRef$current, _flyoutRef$current2;
3800
3974
  let {
3801
3975
  placement,
3802
3976
  children,
@@ -3805,7 +3979,6 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3805
3979
  onSearchValueChange,
3806
3980
  isSearchFilteringDisabled = false,
3807
3981
  className,
3808
- style,
3809
3982
  zIndex = 1000,
3810
3983
  ...rest
3811
3984
  } = _ref;
@@ -3823,56 +3996,60 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3823
3996
  var _placement$split, _placement$split2;
3824
3997
  return (_placement$split = placement === null || placement === void 0 || (_placement$split2 = placement.split) === null || _placement$split2 === void 0 ? void 0 : _placement$split2.call(placement, '-')) !== null && _placement$split !== void 0 ? _placement$split : [];
3825
3998
  }, [placement]);
3999
+ const thisPanesDepth = 1;
4000
+ const paneMaxHeight = 350;
4001
+ const paneBottomPadding = 4;
4002
+ const maskContainerId = index.useId();
4003
+ const [transform, setTransform] = React.useState('');
4004
+ const target = (_flyoutRef$current$pa = (_flyoutRef$current = flyoutRef.current) === null || _flyoutRef$current === void 0 ? void 0 : _flyoutRef$current.parentNode) !== null && _flyoutRef$current$pa !== void 0 ? _flyoutRef$current$pa : undefined;
3826
4005
  const {
3827
4006
  dataTestId: rootDataTestId,
3828
4007
  openPaneDepth,
3829
- setMaskHeight,
3830
4008
  maskHeight,
3831
4009
  open,
3832
4010
  triggerRef,
3833
4011
  searchBarConfigs,
3834
- setMaskWidth,
3835
- maskWidth
4012
+ maskWidth,
4013
+ isVirtualizationDisabled
3836
4014
  } = useMenuContext();
3837
- const thisPanesDepth = 1;
3838
- const maskContainerId = 'maskContainer';
3839
- useOverlay({
3840
- isVisible: open,
3841
- ignoreIds: [maskContainerId],
3842
- opacity: 0
3843
- });
4015
+ const isVirtualized = useIsVirtualized(children, isVirtualizationDisabled);
3844
4016
  const animatedLeft = React.useMemo(() => openPaneDepth > thisPanesDepth, [openPaneDepth]);
3845
4017
  const dataTestId = index.getSubDataTestId(rootDataTestId, withinSelect ? DATA_TESTID_SUFFIXES.SELECT_PANE : DATA_TESTID_SUFFIXES$1.MENU_PANE);
3846
4018
  const {
3847
- internalSearchValue,
3848
4019
  noSearchResultsNode,
3849
- onInteractOutside
3850
- } = usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, items, animatedLeft, false, dataTestId, index.useId(), flyoutRef, withinSelect);
3851
- React.useEffect(() => {
3852
- if (openPaneDepth === thisPanesDepth) {
3853
- window.requestAnimationFrame(() => {
3854
- var _flyoutRef$current, _flyoutRef$current2;
3855
- if ((_flyoutRef$current = flyoutRef.current) !== null && _flyoutRef$current !== void 0 && _flyoutRef$current.clientHeight) {
3856
- setMaskHeight(flyoutRef.current.clientHeight);
3857
- }
3858
- if ((_flyoutRef$current2 = flyoutRef.current) !== null && _flyoutRef$current2 !== void 0 && _flyoutRef$current2.clientWidth) {
3859
- setMaskWidth(flyoutRef.current.clientWidth);
3860
- }
3861
- });
3862
- } else if (openPaneDepth === 0) {
3863
- setMaskHeight('auto');
3864
- setMaskWidth('auto');
4020
+ onInteractOutside,
4021
+ filteredChildren
4022
+ } = usePaneSearch({
4023
+ isSearchable,
4024
+ externalSearchValue,
4025
+ onSearchValueChange,
4026
+ items,
4027
+ animatedLeft,
4028
+ animatedRight: false,
4029
+ menuParentDataTestId: dataTestId,
4030
+ id: index.useId(),
4031
+ flyoutRef,
4032
+ children,
4033
+ isSearchFilteringDisabled,
4034
+ isVirtualized
4035
+ });
4036
+ const focusVirtualBoundary = useFocusVirtualBoundary(items);
4037
+ const {
4038
+ isFocusVisible
4039
+ } = interactions.useFocusVisible();
4040
+ const maskIsReady = useMaskDimensions(flyoutRef.current, animatedLeft, thisPanesDepth, children);
4041
+ index.useDidUpdate(() => {
4042
+ if (maskIsReady && isFocusVisible) {
4043
+ items[0].element.current.focus();
3865
4044
  }
3866
- }, [openPaneDepth, internalSearchValue, setMaskHeight, setMaskWidth]);
4045
+ }, [maskIsReady]);
3867
4046
  const defaultSide = React.useMemo(() => {
3868
4047
  var _triggerRef$current;
3869
4048
  const rect = triggerRef === null || triggerRef === void 0 || (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.getBoundingClientRect();
3870
4049
  if (!rect) {
3871
4050
  return 'bottom';
3872
4051
  }
3873
-
3874
- // hard coded in Menu.less
3875
- let maxHeight = 350;
4052
+ let maxHeight = paneMaxHeight;
3876
4053
  if (flyoutRef.current) {
3877
4054
  const computedString = window.getComputedStyle(flyoutRef.current).maxHeight.slice(0, -2);
3878
4055
  if (computedString !== '' && !Number.isNaN(+computedString)) {
@@ -3892,8 +4069,19 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3892
4069
  // including `open` because the trigger location may change between openings
3893
4070
  // eslint-disable-next-line react-hooks/exhaustive-deps
3894
4071
  [open, triggerRef]);
3895
- const [transform, setTransform] = React.useState('');
3896
- const target = (_flyoutRef$current$pa = (_flyoutRef$current3 = flyoutRef.current) === null || _flyoutRef$current3 === void 0 ? void 0 : _flyoutRef$current3.parentNode) !== null && _flyoutRef$current$pa !== void 0 ? _flyoutRef$current$pa : undefined;
4072
+
4073
+ // We use the top-level Radix container as a mask. Radix does not expose this container to consumers, except through CSS.
4074
+ // These hooks dynamically update the style of that container using CSS variables.
4075
+ useCSSVariable('--mask-z-index', String(zIndex), [open]);
4076
+ useCSSVariable('--mask-width', "".concat(maskWidth, "px"));
4077
+ useCSSVariable('--mask-height', "".concat(maskHeight, "px"));
4078
+ useCSSVariable('--flyout-max-height', "".concat(paneMaxHeight, "px"));
4079
+ useCSSVariable('--flyout-bottom-padding', "".concat(paneBottomPadding, "px"));
4080
+ useOverlay({
4081
+ isVisible: open,
4082
+ ignoreIds: [maskContainerId],
4083
+ opacity: 0
4084
+ });
3897
4085
  useMutationObserver(target, {
3898
4086
  attributes: true,
3899
4087
  attributeFilter: ['style']
@@ -3901,29 +4089,29 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3901
4089
  var _style$transform, _style;
3902
4090
  return setTransform((_style$transform = target === null || target === void 0 || (_style = target.style) === null || _style === void 0 ? void 0 : _style.transform) !== null && _style$transform !== void 0 ? _style$transform : '');
3903
4091
  });
3904
-
3905
- // We use the top-level Radix container as a mask. Radix does not expose this container to consumers, except through CSS.
3906
- // This hook is dynamically updating the style of that container using a CSS variable.
3907
- useCSSVariable('--mask-z-index', String(zIndex), [open]);
3908
- useCSSVariable('--mask-width', "".concat(maskWidth, "px"));
3909
- useCSSVariable('--mask-height', "".concat(maskHeight, "px"));
3910
4092
  return /*#__PURE__*/React__default["default"].createElement(PaneContextProvider, {
3911
4093
  items: items,
3912
4094
  setItems: setItems,
3913
4095
  value: {
3914
4096
  dataTestId,
3915
- searchValue: internalSearchValue,
3916
- isSearchFilteringDisabled,
3917
4097
  isInteractive: !animatedLeft,
3918
4098
  flyoutRef,
3919
4099
  stickyBoxRef,
3920
- zIndex
4100
+ zIndex,
4101
+ focusVirtualBoundary,
4102
+ isVirtualized,
4103
+ maskIsReady
3921
4104
  }
3922
4105
  }, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Portal, {
3923
4106
  container: portalTarget || undefined
3924
4107
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3925
4108
  className: styles$5.maskContainer,
3926
- id: maskContainerId
4109
+ id: maskContainerId,
4110
+ style: {
4111
+ // virtuoso and radix both do funny things with window.requestAnimationFrame that cause unpredictable resizing.
4112
+ // this causes jitters. We need to wait until it's done resizing.
4113
+ opacity: maskIsReady ? 1 : 0
4114
+ }
3927
4115
  }, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Content, _extends__default["default"]({}, rest, {
3928
4116
  onCloseAutoFocus: () => {
3929
4117
  var _triggerRef$current2;
@@ -3938,8 +4126,7 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3938
4126
  className: classNames__default["default"](className, {
3939
4127
  [styles$5.animatedLeft]: animatedLeft
3940
4128
  }, styles$5.flyout),
3941
- onInteractOutside: onInteractOutside,
3942
- style: style
4129
+ onInteractOutside: onInteractOutside
3943
4130
  }), (isSearchable || multiselect && showSelectedItemsPane) && /*#__PURE__*/React__default["default"].createElement("div", {
3944
4131
  className: classNames__default["default"](styles$5.stickyBox, {
3945
4132
  [styles$5.isSearchable]: isSearchable
@@ -3948,12 +4135,12 @@ const MenuPane = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3948
4135
  style: {
3949
4136
  zIndex
3950
4137
  }
3951
- }, showSelectedItemsPane && multiselect && /*#__PURE__*/React__default["default"].createElement(SelectedItems, null)), noSearchResultsNode, children), /*#__PURE__*/React__default["default"].createElement("div", {
4138
+ }, showSelectedItemsPane && multiselect && /*#__PURE__*/React__default["default"].createElement(SelectedItems, null)), noSearchResultsNode, /*#__PURE__*/React__default["default"].createElement(PaneChildren, null, filteredChildren)), /*#__PURE__*/React__default["default"].createElement("div", {
3952
4139
  className: styles$5.searchBoxesContainer,
3953
4140
  style: {
3954
4141
  transform,
3955
4142
  zIndex: zIndex + openPaneDepth,
3956
- width: (_flyoutRef$current4 = flyoutRef.current) === null || _flyoutRef$current4 === void 0 ? void 0 : _flyoutRef$current4.clientWidth
4143
+ width: (_flyoutRef$current2 = flyoutRef.current) === null || _flyoutRef$current2 === void 0 ? void 0 : _flyoutRef$current2.clientWidth
3957
4144
  }
3958
4145
  }, searchBarConfigs.length ? searchBarConfigs.map(_ref2 => {
3959
4146
  let {
@@ -3982,24 +4169,25 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3982
4169
  const itemRef = React.useRef(null);
3983
4170
  const {
3984
4171
  dataTestId: menuParentDataTestId,
3985
- childIndex: index$1,
3986
- searchValue,
3987
- isSearchFilteringDisabled,
4172
+ childIndex,
3988
4173
  isInteractive,
3989
4174
  closeSubmenu,
3990
4175
  flyoutRef,
3991
- stickyBoxRef
4176
+ stickyBoxRef,
4177
+ focusVirtualBoundary,
4178
+ isVirtualized: paneIsVirtualized,
4179
+ maskIsReady
3992
4180
  } = usePaneContext(itemRef);
4181
+ const {
4182
+ virtualIndex
4183
+ } = useItemContext();
4184
+ const index$1 = React.useMemo(() => virtualIndex !== null && virtualIndex !== void 0 ? virtualIndex : childIndex, [childIndex, virtualIndex]);
3993
4185
  const {
3994
4186
  isFocusVisible
3995
4187
  } = interactions.useFocusVisible({
3996
4188
  isTextInput: true
3997
4189
  });
3998
4190
  const dataTestId = index.getSubDataTestId(menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.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), String(index$1));
3999
- const isVisible = React.useMemo(() => {
4000
- const searchMatcher = label !== null && label !== void 0 ? label : typeof children === 'string' ? children : undefined;
4001
- return isSearchFilteringDisabled || !searchValue || (searchMatcher === null || searchMatcher === void 0 ? void 0 : searchMatcher.toLowerCase().includes(searchValue.toLowerCase()));
4002
- }, [children, searchValue, label, isSearchFilteringDisabled]);
4003
4191
  const handleFocus = () => {
4004
4192
  if (itemRef.current && flyoutRef.current && isFocusVisible) {
4005
4193
  var _stickyBoxRef$current, _stickyBoxRef$current2;
@@ -4012,7 +4200,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
4012
4200
  }
4013
4201
  }
4014
4202
  };
4015
- return isVisible ? /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Item, _extends__default["default"]({}, rest, {
4203
+ return /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Item, _extends__default["default"]({}, rest, {
4016
4204
  asChild: asChild,
4017
4205
  "aria-disabled": isDisabled,
4018
4206
  className: classNames__default["default"](className, styles$5.menuItem, {
@@ -4026,7 +4214,13 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
4026
4214
  return;
4027
4215
  }
4028
4216
  if (KEYS$1.CLOSE_SUBMENU.includes(e.key)) {
4029
- closeSubmenu === null || closeSubmenu === void 0 ? void 0 : closeSubmenu(e);
4217
+ closeSubmenu === null || closeSubmenu === void 0 || closeSubmenu(e);
4218
+ } else if (paneIsVirtualized && KEYS$1.NAVIGATE_TOP.includes(e.key)) {
4219
+ e.preventDefault();
4220
+ focusVirtualBoundary('top');
4221
+ } else if (paneIsVirtualized && KEYS$1.NAVIIGATE_BOTTOM.includes(e.key)) {
4222
+ e.preventDefault();
4223
+ focusVirtualBoundary('bottom');
4030
4224
  }
4031
4225
  },
4032
4226
  onFocus: handleFocus
@@ -4034,16 +4228,16 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
4034
4228
  // other pointer and keyboard events still work, even when disabled
4035
4229
  ,
4036
4230
  onSelect: e => {
4037
- if (isDisabled) {
4231
+ if (isDisabled || maskIsReady === false) {
4038
4232
  e.preventDefault();
4039
4233
  return;
4040
4234
  }
4041
4235
  if (multiselect) {
4042
4236
  e.preventDefault();
4043
4237
  }
4044
- onSelect === null || onSelect === void 0 ? void 0 : onSelect();
4238
+ onSelect === null || onSelect === void 0 || onSelect();
4045
4239
  }
4046
- }), (!children || typeof children === 'string') && label ? label : children) : null;
4240
+ }), (!children || typeof children === 'string') && label ? label : children);
4047
4241
  });
4048
4242
  var MenuItem$1 = MenuItem;
4049
4243
 
@@ -4071,6 +4265,9 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4071
4265
  triggerCheckedState = 'false',
4072
4266
  onTriggerCheckboxSelect
4073
4267
  } = selectContext !== null && selectContext !== void 0 ? selectContext : {};
4268
+ const {
4269
+ virtualIndex
4270
+ } = useItemContext();
4074
4271
  const [items, setItems] = React.useState([]);
4075
4272
  const internalId = index.useId();
4076
4273
  const triggerRef = React.useRef(null);
@@ -4079,18 +4276,18 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4079
4276
  const backButtonRef = React.useRef(null);
4080
4277
  const {
4081
4278
  dataTestId: paneContainingTriggerDataTestId,
4082
- childIndex: triggerIndex,
4083
- searchValue: paneContainingTriggerSearchValue,
4084
- isSearchFilteringDisabled: isSearchFilteringDisabledForPaneContainingTrigger,
4279
+ childIndex,
4085
4280
  isInteractive: paneContainingTriggerIsInteractive,
4086
4281
  closeSubmenu: closeSubmenuContainingTrigger,
4087
- zIndex: paneContainingTriggerZIndex
4282
+ zIndex: paneContainingTriggerZIndex,
4283
+ focusVirtualBoundary: focusVirtualBoundaryWithinPaneContainingTrigger,
4284
+ isVirtualized: paneContainingTriggerIsVirtualized
4088
4285
  } = usePaneContext(triggerRef);
4286
+ const triggerIndex = React.useMemo(() => virtualIndex !== null && virtualIndex !== void 0 ? virtualIndex : childIndex, [childIndex, virtualIndex]);
4089
4287
  const {
4090
4288
  openPaneDepth: totalOpenPaneDepth,
4091
4289
  registerSubmenu,
4092
- setMaskHeight,
4093
- setMaskWidth
4290
+ isVirtualizationDisabled
4094
4291
  } = useMenuContext();
4095
4292
  const {
4096
4293
  isFocusVisible
@@ -4108,14 +4305,30 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4108
4305
  e.preventDefault();
4109
4306
  registerSubmenu(internalId, false);
4110
4307
  };
4308
+ const isVirtualized = useIsVirtualized(children, isVirtualizationDisabled);
4111
4309
  const {
4112
- internalSearchValue,
4113
4310
  noSearchResultsNode,
4114
- onInteractOutside
4115
- } = usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, items, animatedLeft, animatedRight, paneDataTestId, internalId, flyoutRef, withinSelect, backButtonRef, closeThisSubmenu);
4311
+ onInteractOutside,
4312
+ filteredChildren
4313
+ } = usePaneSearch({
4314
+ isSearchable,
4315
+ externalSearchValue,
4316
+ onSearchValueChange,
4317
+ items,
4318
+ animatedLeft,
4319
+ animatedRight,
4320
+ menuParentDataTestId: paneDataTestId,
4321
+ id: internalId,
4322
+ flyoutRef,
4323
+ children,
4324
+ isSearchFilteringDisabled: isSearchFilteringDisabledForChildren,
4325
+ backButtonRef,
4326
+ closeSubmenu: closeThisSubmenu,
4327
+ isVirtualized
4328
+ });
4329
+ const focusVirtualBoundaryInPane = useFocusVirtualBoundary(items, backButtonRef);
4116
4330
  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);
4117
4331
  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);
4118
- const triggerIsVisible = React.useMemo(() => isSearchFilteringDisabledForPaneContainingTrigger || !paneContainingTriggerSearchValue || typeof label === 'string' && label.toLowerCase().includes(paneContainingTriggerSearchValue.toLowerCase()), [paneContainingTriggerSearchValue, label, isSearchFilteringDisabledForPaneContainingTrigger]);
4119
4332
  index.useDidUpdate(() => {
4120
4333
  if (isPaneInDOM) {
4121
4334
  setIsTransitioningFromRight(true);
@@ -4124,30 +4337,13 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4124
4337
  window.requestAnimationFrame(() => setIsFrameAfterPaneAddedToDOM(false));
4125
4338
  }
4126
4339
  registerSubmenu(internalId, isPaneInDOM);
4127
- onIsOpenChange === null || onIsOpenChange === void 0 ? void 0 : onIsOpenChange(isPaneInDOM);
4340
+ onIsOpenChange === null || onIsOpenChange === void 0 || onIsOpenChange(isPaneInDOM);
4128
4341
  }, [isPaneInDOM]);
4129
4342
 
4130
4343
  // Omitted dependencies because this should only run on unmount
4131
4344
  // eslint-disable-next-line react-hooks/exhaustive-deps
4132
4345
  React.useEffect(() => () => registerSubmenu(internalId, false), []);
4133
- index.useDidUpdate(() => {
4134
- if (thisPanesDepth === totalOpenPaneDepth && flyoutRef.current) {
4135
- setMaskHeight(flyoutRef.current.clientHeight);
4136
- setMaskWidth(flyoutRef.current.clientWidth);
4137
- }
4138
- },
4139
- // ignoring other dependencies because this should only run when the children change
4140
- [children]);
4141
- index.useDidUpdate(() => {
4142
- if (thisPanesDepth === totalOpenPaneDepth) {
4143
- window.requestAnimationFrame(() => {
4144
- if (flyoutRef.current) {
4145
- setMaskHeight(flyoutRef.current.clientHeight);
4146
- setMaskWidth(flyoutRef.current.clientWidth);
4147
- }
4148
- });
4149
- }
4150
- }, [totalOpenPaneDepth, internalSearchValue]);
4346
+ useMaskDimensions(flyoutRef.current, animatedLeft, thisPanesDepth, children);
4151
4347
  const handlePaneTransitionEnd = () => {
4152
4348
  var _flyoutRef$current;
4153
4349
  if (animatedLeft) {
@@ -4157,7 +4353,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4157
4353
  setIsPaneInDOM(false);
4158
4354
  if (isFocusVisible) {
4159
4355
  var _triggerRef$current;
4160
- (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.focus();
4356
+ (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 || _triggerRef$current.focus();
4161
4357
  }
4162
4358
  return;
4163
4359
  }
@@ -4172,7 +4368,7 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4172
4368
  }
4173
4369
  setIsTransitioningFromRight(false);
4174
4370
  };
4175
- return triggerIsVisible ? /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Sub, {
4371
+ return /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.Sub, {
4176
4372
  open: isPaneInDOM
4177
4373
  }, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.SubTrigger, _extends__default["default"]({
4178
4374
  className: classNames__default["default"](styles$5.menuItem, styles$5.subMenu, {
@@ -4189,13 +4385,19 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4189
4385
  return;
4190
4386
  }
4191
4387
  if (multiselect && !isSelectedItems && KEYS.CHECK_PARENT.includes(e.key)) {
4192
- onTriggerCheckboxSelect === null || onTriggerCheckboxSelect === void 0 ? void 0 : onTriggerCheckboxSelect();
4388
+ onTriggerCheckboxSelect === null || onTriggerCheckboxSelect === void 0 || onTriggerCheckboxSelect();
4193
4389
  return;
4194
4390
  }
4195
4391
  if (!isDisabled && KEYS$1.OPEN_SUBMENU.includes(e.key)) {
4196
4392
  setIsPaneInDOM(true);
4197
4393
  } else if (KEYS$1.CLOSE_SUBMENU.includes(e.key)) {
4198
- closeSubmenuContainingTrigger === null || closeSubmenuContainingTrigger === void 0 ? void 0 : closeSubmenuContainingTrigger(e);
4394
+ closeSubmenuContainingTrigger === null || closeSubmenuContainingTrigger === void 0 || closeSubmenuContainingTrigger(e);
4395
+ } else if (paneContainingTriggerIsVirtualized && KEYS$1.NAVIGATE_TOP.includes(e.key)) {
4396
+ e.preventDefault();
4397
+ focusVirtualBoundaryWithinPaneContainingTrigger('top');
4398
+ } else if (paneContainingTriggerIsVirtualized && KEYS$1.NAVIIGATE_BOTTOM.includes(e.key)) {
4399
+ e.preventDefault();
4400
+ focusVirtualBoundaryWithinPaneContainingTrigger('bottom');
4199
4401
  }
4200
4402
  }
4201
4403
  }, subSelectTriggerProps), multiselect && !isSelectedItems ? /*#__PURE__*/React__default["default"].createElement(AdvancedTableCheckbox, {
@@ -4210,13 +4412,13 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4210
4412
  setItems: setItems,
4211
4413
  value: {
4212
4414
  dataTestId: paneDataTestId,
4213
- searchValue: internalSearchValue,
4214
- isSearchFilteringDisabled: isSearchFilteringDisabledForChildren,
4215
4415
  isInteractive: !isTransitioningFromRight && !animatedLeft && !animatedRight,
4216
4416
  closeSubmenu: closeThisSubmenu,
4217
4417
  flyoutRef,
4218
4418
  stickyBoxRef,
4219
- zIndex
4419
+ zIndex,
4420
+ focusVirtualBoundary: focusVirtualBoundaryInPane,
4421
+ isVirtualized
4220
4422
  }
4221
4423
  }, /*#__PURE__*/React__default["default"].createElement(reactDropdownMenu.SubContent, _extends__default["default"]({}, rest, {
4222
4424
  loop: !isSearchable,
@@ -4250,18 +4452,24 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4250
4452
  onKeyDown: e => {
4251
4453
  if (KEYS$1.CLOSE_SUBMENU.includes(e.key)) {
4252
4454
  closeThisSubmenu(e);
4455
+ } else if (isVirtualized && KEYS$1.NAVIGATE_TOP.includes(e.key)) {
4456
+ e.preventDefault();
4457
+ focusVirtualBoundaryInPane('top');
4458
+ } else if (isVirtualized && KEYS$1.NAVIIGATE_BOTTOM.includes(e.key)) {
4459
+ e.preventDefault();
4460
+ focusVirtualBoundaryInPane('bottom');
4253
4461
  }
4254
4462
  }
4255
4463
  }, /*#__PURE__*/React__default["default"].createElement(icons_index.ArrowLeftIcon, {
4256
4464
  size: "small",
4257
4465
  className: styles$5.backIcon
4258
- }), label)), noSearchResultsNode, children))) : null;
4466
+ }), label)), noSearchResultsNode, /*#__PURE__*/React__default["default"].createElement(PaneChildren, null, filteredChildren))));
4259
4467
  });
4260
4468
  var SubMenu$1 = SubMenu;
4261
4469
 
4262
- var css_248z$2 = "._Qteuj{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._-ET4f{visibility:hidden}._8egja{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._CMPTJ{padding-top:8px}._c64Qn{margin-left:12px}";
4263
- var styles$2 = {"drawer":"_Qteuj","hidden":"_-ET4f","header":"_8egja","title":"_CMPTJ","closeButton":"_c64Qn"};
4264
- var stylesheet$2="._Qteuj{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._-ET4f{visibility:hidden}._8egja{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._CMPTJ{padding-top:8px}._c64Qn{margin-left:12px}";
4470
+ var css_248z$2 = "._x9l97{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._DFNUj{visibility:hidden}._xhD7U{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._APGPn{padding-top:8px}._uL-0S{margin-left:12px}";
4471
+ var styles$2 = {"drawer":"_x9l97","hidden":"_DFNUj","header":"_xhD7U","title":"_APGPn","closeButton":"_uL-0S"};
4472
+ var stylesheet$2="._x9l97{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._DFNUj{visibility:hidden}._xhD7U{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._APGPn{padding-top:8px}._uL-0S{margin-left:12px}";
4265
4473
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$2);}
4266
4474
 
4267
4475
  const Drawer = _ref => {
@@ -4323,13 +4531,13 @@ const Drawer = _ref => {
4323
4531
  } else {
4324
4532
  var _elementRefToFocusOnC;
4325
4533
  setIsClosing(true);
4326
- if (elementRefToFocusOnClose !== undefined) elementRefToFocusOnClose === null || elementRefToFocusOnClose === void 0 || (_elementRefToFocusOnC = elementRefToFocusOnClose.current) === null || _elementRefToFocusOnC === void 0 ? void 0 : _elementRefToFocusOnC.focus();else elementUsedToOpenModal === null || elementUsedToOpenModal === void 0 ? void 0 : elementUsedToOpenModal.focus();
4534
+ if (elementRefToFocusOnClose !== undefined) elementRefToFocusOnClose === null || elementRefToFocusOnClose === void 0 || (_elementRefToFocusOnC = elementRefToFocusOnClose.current) === null || _elementRefToFocusOnC === void 0 || _elementRefToFocusOnC.focus();else elementUsedToOpenModal === null || elementUsedToOpenModal === void 0 || elementUsedToOpenModal.focus();
4327
4535
  }
4328
4536
  }, [elementRefToFocusOnClose, isOpen]);
4329
4537
  React.useEffect(() => {
4330
4538
  if (isOpen && !isHidden) {
4331
4539
  var _closeButtonRef$curre;
4332
- (_closeButtonRef$curre = closeButtonRef.current) === null || _closeButtonRef$curre === void 0 ? void 0 : _closeButtonRef$curre.focus();
4540
+ (_closeButtonRef$curre = closeButtonRef.current) === null || _closeButtonRef$curre === void 0 || _closeButtonRef$curre.focus();
4333
4541
  }
4334
4542
  }, [isOpen, isHidden]);
4335
4543
  const handleTransitionEnd = () => {
@@ -4376,9 +4584,9 @@ const Drawer = _ref => {
4376
4584
  }, children))), (_containerRef$current = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) !== null && _containerRef$current !== void 0 ? _containerRef$current : document.body) : null;
4377
4585
  };
4378
4586
 
4379
- var css_248z$1 = "._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)}";
4380
- var styles$1 = {"container":"_tj3Tz","input":"_P0pTZ","icon":"_XPm26","open":"_yLNq9","disabled":"_Idv3I","ignoreFocusStyle":"_jULQ9","flyout":"_LsyFE","option":"_mQutK","exactMatch":"_iZ18k"};
4381
- var stylesheet$1="._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)}";
4587
+ var css_248z$1 = "._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)}";
4588
+ var styles$1 = {"container":"_2q4xP","input":"_Sow9H","icon":"_t0a-a","open":"_21LvV","disabled":"_7eJ8s","ignoreFocusStyle":"_7dF8v","flyout":"_CjNpj","option":"_0Q3DN","exactMatch":"_QdLU8"};
4589
+ var stylesheet$1="._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)}";
4382
4590
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$1);}
4383
4591
 
4384
4592
  const TimeDropdown = _ref => {
@@ -4720,7 +4928,7 @@ const TimePickerIcon = _ref => {
4720
4928
  onClick: !isDisabled ? () => {
4721
4929
  var _inputRef$current;
4722
4930
  setIsFlyoutOpen(i => !i);
4723
- (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
4931
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
4724
4932
  } : undefined,
4725
4933
  onMouseDown: e => e.preventDefault(),
4726
4934
  ref: iconRef
@@ -4952,9 +5160,9 @@ const {
4952
5160
  Provider: ToggleButtonGroupContextProvider
4953
5161
  } = index.createContextUtilities(null);
4954
5162
 
4955
- 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}";
4956
- 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"};
4957
- 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}";
5163
+ 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}";
5164
+ 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"};
5165
+ 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}";
4958
5166
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z);}
4959
5167
 
4960
5168
  const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -5238,9 +5446,11 @@ const GetSelectItemsFrom = function (startingChildren) {
5238
5446
  if (child.type === SelectItem) {
5239
5447
  const {
5240
5448
  label,
5241
- value: childValue
5449
+ value: childValue,
5450
+ children: childChildren
5242
5451
  } = child.props;
5243
- current.push([childValue, label]);
5452
+ const safeLabel = label !== null && label !== void 0 ? label : ['string', 'number'].includes(typeof childChildren) ? childChildren : undefined;
5453
+ current.push([childValue, safeLabel]);
5244
5454
  } else if (child.type === SubSelect) {
5245
5455
  current.push(...GetSelectItemsFrom(child.props.children, filter));
5246
5456
  }
@@ -5257,7 +5467,8 @@ const Select = _ref => {
5257
5467
  onIsOpenChange,
5258
5468
  value,
5259
5469
  isInvalid,
5260
- 'data-testid': dataTestId
5470
+ 'data-testid': dataTestId,
5471
+ isVirtualizationDisabled
5261
5472
  } = _ref;
5262
5473
  const [selectedValues, setSelectedValues] = index.useControllableState(value, onChange, value);
5263
5474
  const selectPaneChildren = React.useMemo(() => {
@@ -5270,14 +5481,14 @@ const Select = _ref => {
5270
5481
  let {
5271
5482
  value: _value
5272
5483
  } = _ref2;
5273
- return !_value || selectedValues.includes(_value);
5484
+ return _value == null || selectedValues.includes(_value);
5274
5485
  }));
5275
5486
  }
5276
5487
  return new Map(GetSelectItemsFrom(selectPaneChildren, _ref3 => {
5277
5488
  let {
5278
5489
  value: _value
5279
5490
  } = _ref3;
5280
- return !_value || selectedValues === _value;
5491
+ return _value == null || selectedValues === _value;
5281
5492
  }));
5282
5493
  }, [selectedValues, selectPaneChildren]);
5283
5494
  const enabledSelectItems = React.useMemo(() => new Map(GetSelectItemsFrom(selectPaneChildren, _ref4 => {
@@ -5311,7 +5522,8 @@ const Select = _ref => {
5311
5522
  isDisabled,
5312
5523
  isOpen,
5313
5524
  onIsOpenChange,
5314
- 'data-testid': dataTestId
5525
+ 'data-testid': dataTestId,
5526
+ isVirtualizationDisabled
5315
5527
  };
5316
5528
  return /*#__PURE__*/React__default["default"].createElement(SelectContextProvider, {
5317
5529
  value: {