@qualtrics/ui-react 2.8.0 → 2.10.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 (84) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/__shared/cjs/{index-763e59c2.js → index-0ef0b03a.js} +3 -3
  3. package/dist/__shared/cjs/{index-ce267a89.js → index-74ef768b.js} +71 -194
  4. package/dist/components/Accordion/Accordion2.js +3 -3
  5. package/dist/components/Button/Button2.js +3 -3
  6. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  7. package/dist/components/Checkbox/Checkbox2.js +3 -3
  8. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  9. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  10. package/dist/components/Combobox/Combobox.js +21 -43
  11. package/dist/components/Combobox/Combobox2.js +3 -3
  12. package/dist/components/Combobox/ComboboxInput.js +3 -3
  13. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  14. package/dist/components/Divider/Divider2.js +3 -3
  15. package/dist/components/Dropdown/Dropdown2.js +3 -3
  16. package/dist/components/FilePicker/FilePicker2.js +3 -3
  17. package/dist/components/FormField/Caption.js +3 -3
  18. package/dist/components/FormField/FormField2.js +3 -3
  19. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  20. package/dist/components/IconButton/IconButton2.js +3 -3
  21. package/dist/components/InlineInput/InlineInput.js +7 -3
  22. package/dist/components/InlineInput/InlineInput2.js +3 -3
  23. package/dist/components/Input/Input2.js +3 -3
  24. package/dist/components/InputGroup/InputGroup2.js +3 -3
  25. package/dist/components/Label/Label2.js +3 -3
  26. package/dist/components/Link/Link2.js +3 -3
  27. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  28. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  29. package/dist/components/Modal/Modal.js +2 -1
  30. package/dist/components/Modal/Modal2.js +3 -3
  31. package/dist/components/NewMenu/BaseMenu.js +3 -3
  32. package/dist/components/NewMenu/NewMenu.js +3 -3
  33. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +7 -2
  34. package/dist/components/NewMenu/parts/MenuItem.js +3 -1
  35. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  36. package/dist/components/PageLayout/PageLayout.js +3 -3
  37. package/dist/components/Pagination/Pagination2.js +3 -3
  38. package/dist/components/Popover/Popover.js +6 -1
  39. package/dist/components/Popover/Popover2.js +3 -3
  40. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  41. package/dist/components/Radio/Radio2.js +3 -3
  42. package/dist/components/SearchInput/SearchInput2.js +3 -3
  43. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  44. package/dist/components/Slider/Slider2.js +3 -3
  45. package/dist/components/Switch/Switch2.js +3 -3
  46. package/dist/components/Table/Table2.js +3 -3
  47. package/dist/components/Tabs/Tabs2.js +3 -3
  48. package/dist/components/Tooltip/Tooltip.js +5 -0
  49. package/dist/components/Tooltip/Tooltip2.js +3 -3
  50. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  51. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  52. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  53. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  54. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  55. package/dist/icons/Icon.js +3 -3
  56. package/dist/icons/index.js +1 -1
  57. package/dist/index.es.js +1 -1
  58. package/dist/index.js +265 -138
  59. package/dist/next/AdvancedTable/AdvancedTable.js +5 -3
  60. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  61. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  62. package/dist/next/Combobox/Combobox.js +4 -1
  63. package/dist/next/Combobox/Combobox2.js +3 -3
  64. package/dist/next/Combobox/ComboboxInput.js +6 -2
  65. package/dist/next/Combobox/ComboboxOption.js +4 -1
  66. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  67. package/dist/next/Input/Input2.js +3 -3
  68. package/dist/next/Menu/Menu.js +71 -0
  69. package/dist/next/Menu/Menu2.js +8 -0
  70. package/dist/next/Menu/MenuButton.js +41 -0
  71. package/dist/next/Menu/MenuContext.js +41 -0
  72. package/dist/next/Menu/MenuItem.js +49 -0
  73. package/dist/next/Menu/MenuPane.js +64 -0
  74. package/dist/next/Menu/MenuSearch.js +105 -0
  75. package/dist/next/Menu/SubMenu.js +74 -0
  76. package/dist/next/Menu/constants.js +9 -0
  77. package/dist/next/Menu/index.js +5 -0
  78. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  79. package/dist/next/SplitButton/SplitButton2.js +3 -3
  80. package/dist/next/index.d.ts +53 -0
  81. package/dist/next/index.es.js +6 -1
  82. package/dist/next/index.js +523 -138
  83. package/dist/utils/Flyout/Flyout2.js +3 -3
  84. package/package.json +1 -1
@@ -257,6 +257,7 @@ const AdvancedTable = _ref => {
257
257
  depthSize,
258
258
  depthIndex,
259
259
  isExpanded: row.isExpanded,
260
+ rowProps: row.unsafe_rowProps,
260
261
  rowPropReference: row
261
262
  });
262
263
 
@@ -771,7 +772,8 @@ const AdvancedTable = _ref => {
771
772
  depthSize,
772
773
  depthIndex,
773
774
  rowPropReference,
774
- parentId
775
+ parentId,
776
+ rowProps
775
777
  } = row;
776
778
  const hasChildRows = rowPropReference.childRows && rowPropReference.childRows.length > 0;
777
779
  const paginatedRowIndex = getPaginatedRowIndex(rowIndex);
@@ -794,7 +796,7 @@ const AdvancedTable = _ref => {
794
796
  }
795
797
  };
796
798
 
797
- return /*#__PURE__*/React__default.createElement(AdvancedTableRow, {
799
+ return /*#__PURE__*/React__default.createElement(AdvancedTableRow, _extends({}, rowProps, {
798
800
  "aria-rowindex": hasExpandableRows ? undefined : paginatedRowIndex + 2 // aria-rowindex is one-indexed + the column headers row is the first row in the table
799
801
  ,
800
802
  "data-testid": dataTestId && rowId ? "".concat(dataTestId, "-row-").concat(rowId) : undefined,
@@ -813,7 +815,7 @@ const AdvancedTable = _ref => {
813
815
  "aria-setsize": hasExpandableRows ? depthSize : undefined,
814
816
  "aria-posinset": hasExpandableRows ? depthIndex + 1 : undefined // aria-posinset is one-indexed
815
817
 
816
- }, hasCheckboxColumn || pinnedColumnConfigs.length ? /*#__PURE__*/React__default.createElement("div", {
818
+ }), hasCheckboxColumn || pinnedColumnConfigs.length ? /*#__PURE__*/React__default.createElement("div", {
817
819
  className: classNames(styles.pinnedContainer, styles.advancedTableRowChild),
818
820
  ref: createPinnedContainerRef(paginatedRowIndex)
819
821
  }, hasCheckboxColumn && /*#__PURE__*/React__default.createElement(AdvancedTableCheckbox, {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._34mJV{overflow:auto;position:relative;max-width:100%;max-height:100%}._1Relt,._34mJV{background-color:#fff}._1Relt{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._3H0Na{margin-bottom:4px}._2wstm{position:-webkit-sticky;position:sticky;top:0;z-index:100}._1NxAK{display:flex}._1NxAK:focus{outline:none}body.keyboard-user ._1NxAK:focus ._1-usY: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}body.keyboard-user ._1NxAK:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1NxAK:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1NxAK:focus ._1-usY._2uR8T:after{right:-3px;bottom:1px}._3qCXM{padding-right:3px}._1-ue0{display:flex}._1-ue0._1Ryw3 ._1-TRb,._1-ue0._1Ryw3 ._1-usY{cursor:pointer}._1-ue0._3aaqn ._1-TRb,._1-ue0._3aaqn ._1-usY{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._1-ue0._3aaqn ._1-TRb._2uR8T,._1-ue0._3aaqn ._1-usY._2uR8T{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._1-ue0._3aaqn ._1-TRb._2uR8T ._1-TRb,._1-ue0._3aaqn ._1-TRb._2uR8T ._2Q9pG,._1-ue0._3aaqn ._1-TRb._2uR8T ._3CAnJ,._1-ue0._3aaqn ._1-usY._2uR8T ._1-TRb,._1-ue0._3aaqn ._1-usY._2uR8T ._2Q9pG,._1-ue0._3aaqn ._1-usY._2uR8T ._3CAnJ{background-color:rgba(11,110,208,.08)}._1-ue0._1Ryw3:hover:not(._3aaqn):not(._3yL4b) ._1-TRb,._1-ue0._1Ryw3:hover:not(._3aaqn):not(._3yL4b) ._1-usY{background-color:#f9f9f9}._1-ue0._1Ryw3:active:not(._3aaqn):not(._3yL4b) ._1-TRb,._1-ue0._1Ryw3:active:not(._3aaqn):not(._3yL4b) ._1-usY{background-color:#f3f3f3}._1-ue0:focus{outline:none}body.keyboard-user ._1-ue0:focus ._1-usY: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}body.keyboard-user ._1-ue0:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1-ue0:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1-ue0:focus ._1-usY._2uR8T:after{right:-3px;bottom:0}._1-ue0:last-of-type:focus{outline:none}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY: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}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY._2uR8T:after{right:-3px;bottom:1px}._1-ue0:last-of-type ._3CAnJ:focus{outline:none}body.keyboard-user ._1-ue0:last-of-type ._3CAnJ._pf7DG:after,body.keyboard-user ._1-ue0:last-of-type ._3CAnJ:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1-ue0:first-of-type:focus{outline:none}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY: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}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY._2uR8T:after{right:-3px;bottom:0}._1-ue0:first-of-type ._3CAnJ:focus{outline:none}body.keyboard-user ._1-ue0:first-of-type ._3CAnJ._pf7DG:after,body.keyboard-user ._1-ue0:first-of-type ._3CAnJ:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._34bV1{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}._34bV1._2Az37{flex-grow:1}._34bV1._1ab0A{cursor:pointer}._34bV1._1ab0A:hover:not(._1yUBC){background-color:#f9f9f9;border-bottom-color:#6a6d70}._34bV1._1ab0A:active:not(._1yUBC){background-color:#f3f3f3}._34bV1._35WQF:not(._1yUBC){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._34bV1._1yUBC{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._34bV1 ._2UoNh{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._34bV1 ._2UoNh._MjjGC{left:-1px}._34bV1 ._2UoNh._3bdvp{right:0}._34bV1 ._IO5gf{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._34bV1 ._IO5gf._MjjGC{left:-2px}._34bV1 ._IO5gf._3bdvp{right:-1px}._34bV1:first-of-type ._MjjGC._2UoNh{left:0;width:2px;border-left:1px solid #fff}._34bV1:first-of-type ._MjjGC._IO5gf{left:0}._34bV1:last-of-type ._3bdvp._2UoNh{right:0;width:2px;border-right:1px solid #fff}._34bV1:last-of-type ._3bdvp._IO5gf{right:0}._34bV1 ._2pEyc{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._34bV1 ._2pEyc ._QgxXI{position:absolute;width:2px;right:2px;top:0;bottom:0}._34bV1 ._2pEyc ._QgxXI._3uowa{background-color:#0a6ed1}._34bV1 ._2pEyc:hover ._QgxXI:not(._3uowa){background-color:#d9d9d9}._34bV1 ._2Gtr9{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._34bV1 ._2Gtr9._1zjtb{flex-direction:row-reverse;justify-content:flex-start}._34bV1 ._2Gtr9._1zjtb ._3UKiI{margin:1px 7px 1px 1px}._34bV1 ._2Gtr9 ._FRofI{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._34bV1 ._2Gtr9 ._3UKiI{margin:1px 1px 1px 7px;flex-shrink:0}._34bV1 ._1MK6h{margin-left:6px;margin-right:4px;flex-shrink:0}._34bV1 ._3dD70{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._34bV1:focus{outline:none}body.keyboard-user ._34bV1._pf7DG:after,body.keyboard-user ._34bV1:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1tHaF{margin-right:6px}._2uR8T{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._2uR8T[focus-within]{z-index:30}._2uR8T:focus-within{z-index:30}._3CAnJ{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}._3CAnJ ._1Mv7t{width:100%;padding:12px 12px 11px;overflow:hidden}._3CAnJ._1yUBC{background-color:#efefef;border-bottom-color:#dfdfe1}._3CAnJ._2Az37{flex-grow:1}._3CAnJ:focus{outline:none}body.keyboard-user ._3CAnJ._pf7DG:after,body.keyboard-user ._3CAnJ:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1-TRb{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._1-TRb._3eQV2{border-bottom-color:#d9d9d9;background-color:#fff}._2Q9pG{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}._2Q9pG._3eQV2{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._2Q9pG:focus input~span,._2Q9pG:hover input~span{border-color:#0b6ed0}._2Q9pG ._3VzEX{position:relative;display:inline-flex}._2Q9pG ._3VzEX ._3wYxf{margin:0!important}._2Q9pG ._3VzEX ._1G0IN{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._34ueg{justify-content:flex-start}._3ofNK{justify-content:center;text-align:center}._1zjtb{justify-content:flex-end;text-align:right}._1-xpS{display:none}._1BiPb{opacity:0;height:0;width:0;overflow:hidden}._1BiPb,._1nzdJ{position:absolute}._1nzdJ{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._3vJjk{width:246px}";
4
- var styles = {"advancedTable":"_34mJV","advancedTablePaginationContainer":"_1Relt","advancedTablePagination":"_3H0Na","advancedTableColumnHeadersRowGroup":"_2wstm","advancedTableColumnHeaders":"_1NxAK","advancedTableRowChild":"_1-usY","pinnedContainer":"_2uR8T","advancedTableRowGroup":"_3qCXM","advancedTableRow":"_1-ue0","hasRowAction":"_1Ryw3","advancedTableExpandRowSpacer":"_1-TRb","isSelected":"_3aaqn","advancedTableCheckbox":"_2Q9pG","advancedTableCell":"_3CAnJ","isCheckboxHovered":"_3yL4b","showFocusRing":"_pf7DG","advancedTableColumnHeader":"_34bV1","fillRemainingSpace":"_2Az37","isSortable":"_1ab0A","isDragging":"_1yUBC","isSorted":"_35WQF","dropTargetLine":"_2UoNh","dropTargetLeft":"_MjjGC","dropTargetRight":"_3bdvp","dropTargetMarker":"_IO5gf","resizeHandle":"_2pEyc","resizeLine":"_QgxXI","isResizing":"_3uowa","advancedTableColumnHeaderLabel":"_2Gtr9","rightAligned":"_1zjtb","sortIcon":"_3UKiI","advancedTableColumnHeaderLabelText":"_FRofI","advancedTableColumnHeaderMenu":"_1MK6h","advancedTableColumnHeaderMenuHiddenAnchor":"_3dD70","advancedTableColumnHeaderMenuItemIcon":"_1tHaF","advancedTableCellContainer":"_1Mv7t","header":"_3eQV2","checkboxContainer":"_3VzEX","checkbox":"_3wYxf","mixed":"_1G0IN","leftAligned":"_34ueg","centerAligned":"_3ofNK","hiddenDescription":"_1-xpS","hiddenLiveRegion":"_1BiPb","dragPreview":"_1nzdJ","rowActionMenuPane":"_3vJjk"};
5
- var stylesheet="._34mJV{overflow:auto;position:relative;max-width:100%;max-height:100%}._1Relt,._34mJV{background-color:#fff}._1Relt{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._3H0Na{margin-bottom:4px}._2wstm{position:-webkit-sticky;position:sticky;top:0;z-index:100}._1NxAK{display:flex}._1NxAK:focus{outline:none}body.keyboard-user ._1NxAK:focus ._1-usY: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}body.keyboard-user ._1NxAK:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1NxAK:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1NxAK:focus ._1-usY._2uR8T:after{right:-3px;bottom:1px}._3qCXM{padding-right:3px}._1-ue0{display:flex}._1-ue0._1Ryw3 ._1-TRb,._1-ue0._1Ryw3 ._1-usY{cursor:pointer}._1-ue0._3aaqn ._1-TRb,._1-ue0._3aaqn ._1-usY{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._1-ue0._3aaqn ._1-TRb._2uR8T,._1-ue0._3aaqn ._1-usY._2uR8T{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._1-ue0._3aaqn ._1-TRb._2uR8T ._1-TRb,._1-ue0._3aaqn ._1-TRb._2uR8T ._2Q9pG,._1-ue0._3aaqn ._1-TRb._2uR8T ._3CAnJ,._1-ue0._3aaqn ._1-usY._2uR8T ._1-TRb,._1-ue0._3aaqn ._1-usY._2uR8T ._2Q9pG,._1-ue0._3aaqn ._1-usY._2uR8T ._3CAnJ{background-color:rgba(11,110,208,.08)}._1-ue0._1Ryw3:hover:not(._3aaqn):not(._3yL4b) ._1-TRb,._1-ue0._1Ryw3:hover:not(._3aaqn):not(._3yL4b) ._1-usY{background-color:#f9f9f9}._1-ue0._1Ryw3:active:not(._3aaqn):not(._3yL4b) ._1-TRb,._1-ue0._1Ryw3:active:not(._3aaqn):not(._3yL4b) ._1-usY{background-color:#f3f3f3}._1-ue0:focus{outline:none}body.keyboard-user ._1-ue0:focus ._1-usY: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}body.keyboard-user ._1-ue0:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1-ue0:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1-ue0:focus ._1-usY._2uR8T:after{right:-3px;bottom:0}._1-ue0:last-of-type:focus{outline:none}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY: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}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1-ue0:last-of-type:focus ._1-usY._2uR8T:after{right:-3px;bottom:1px}._1-ue0:last-of-type ._3CAnJ:focus{outline:none}body.keyboard-user ._1-ue0:last-of-type ._3CAnJ._pf7DG:after,body.keyboard-user ._1-ue0:last-of-type ._3CAnJ:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1-ue0:first-of-type:focus{outline:none}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY: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}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1-ue0:first-of-type:focus ._1-usY._2uR8T:after{right:-3px;bottom:0}._1-ue0:first-of-type ._3CAnJ:focus{outline:none}body.keyboard-user ._1-ue0:first-of-type ._3CAnJ._pf7DG:after,body.keyboard-user ._1-ue0:first-of-type ._3CAnJ:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._34bV1{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}._34bV1._2Az37{flex-grow:1}._34bV1._1ab0A{cursor:pointer}._34bV1._1ab0A:hover:not(._1yUBC){background-color:#f9f9f9;border-bottom-color:#6a6d70}._34bV1._1ab0A:active:not(._1yUBC){background-color:#f3f3f3}._34bV1._35WQF:not(._1yUBC){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._34bV1._1yUBC{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._34bV1 ._2UoNh{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._34bV1 ._2UoNh._MjjGC{left:-1px}._34bV1 ._2UoNh._3bdvp{right:0}._34bV1 ._IO5gf{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._34bV1 ._IO5gf._MjjGC{left:-2px}._34bV1 ._IO5gf._3bdvp{right:-1px}._34bV1:first-of-type ._MjjGC._2UoNh{left:0;width:2px;border-left:1px solid #fff}._34bV1:first-of-type ._MjjGC._IO5gf{left:0}._34bV1:last-of-type ._3bdvp._2UoNh{right:0;width:2px;border-right:1px solid #fff}._34bV1:last-of-type ._3bdvp._IO5gf{right:0}._34bV1 ._2pEyc{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._34bV1 ._2pEyc ._QgxXI{position:absolute;width:2px;right:2px;top:0;bottom:0}._34bV1 ._2pEyc ._QgxXI._3uowa{background-color:#0a6ed1}._34bV1 ._2pEyc:hover ._QgxXI:not(._3uowa){background-color:#d9d9d9}._34bV1 ._2Gtr9{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._34bV1 ._2Gtr9._1zjtb{flex-direction:row-reverse;justify-content:flex-start}._34bV1 ._2Gtr9._1zjtb ._3UKiI{margin:1px 7px 1px 1px}._34bV1 ._2Gtr9 ._FRofI{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._34bV1 ._2Gtr9 ._3UKiI{margin:1px 1px 1px 7px;flex-shrink:0}._34bV1 ._1MK6h{margin-left:6px;margin-right:4px;flex-shrink:0}._34bV1 ._3dD70{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._34bV1:focus{outline:none}body.keyboard-user ._34bV1._pf7DG:after,body.keyboard-user ._34bV1:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1tHaF{margin-right:6px}._2uR8T{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._2uR8T[focus-within]{z-index:30}._2uR8T:focus-within{z-index:30}._3CAnJ{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}._3CAnJ ._1Mv7t{width:100%;padding:12px 12px 11px;overflow:hidden}._3CAnJ._1yUBC{background-color:#efefef;border-bottom-color:#dfdfe1}._3CAnJ._2Az37{flex-grow:1}._3CAnJ:focus{outline:none}body.keyboard-user ._3CAnJ._pf7DG:after,body.keyboard-user ._3CAnJ:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1-TRb{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._1-TRb._3eQV2{border-bottom-color:#d9d9d9;background-color:#fff}._2Q9pG{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}._2Q9pG._3eQV2{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._2Q9pG:focus input~span,._2Q9pG:hover input~span{border-color:#0b6ed0}._2Q9pG ._3VzEX{position:relative;display:inline-flex}._2Q9pG ._3VzEX ._3wYxf{margin:0!important}._2Q9pG ._3VzEX ._1G0IN{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._34ueg{justify-content:flex-start}._3ofNK{justify-content:center;text-align:center}._1zjtb{justify-content:flex-end;text-align:right}._1-xpS{display:none}._1BiPb{opacity:0;height:0;width:0;overflow:hidden}._1BiPb,._1nzdJ{position:absolute}._1nzdJ{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._3vJjk{width:246px}";
3
+ var css_248z = "._21wHW{overflow:auto;position:relative;max-width:100%;max-height:100%}._2rdPj,._21wHW{background-color:#fff}._2rdPj{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._1nMAj{margin-bottom:4px}._2O50c{position:-webkit-sticky;position:sticky;top:0;z-index:100}._1O-SM{display:flex}._1O-SM:focus{outline:none}body.keyboard-user ._1O-SM:focus ._2F-wI: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}body.keyboard-user ._1O-SM:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1O-SM:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1O-SM:focus ._2F-wI._2w22E:after{right:-3px;bottom:1px}._lcW23{padding-right:3px}._J4DRO{display:flex}._J4DRO._2hPON ._2F-wI,._J4DRO._2hPON ._13KvU{cursor:pointer}._J4DRO._37SrH ._2F-wI,._J4DRO._37SrH ._13KvU{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._J4DRO._37SrH ._2F-wI._2w22E,._J4DRO._37SrH ._13KvU._2w22E{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._J4DRO._37SrH ._2F-wI._2w22E ._2C4Fr,._J4DRO._37SrH ._2F-wI._2w22E ._13KvU,._J4DRO._37SrH ._2F-wI._2w22E ._oRO8C,._J4DRO._37SrH ._13KvU._2w22E ._2C4Fr,._J4DRO._37SrH ._13KvU._2w22E ._13KvU,._J4DRO._37SrH ._13KvU._2w22E ._oRO8C{background-color:rgba(11,110,208,.08)}._J4DRO._2hPON:hover:not(._37SrH):not(._1DRoh) ._2F-wI,._J4DRO._2hPON:hover:not(._37SrH):not(._1DRoh) ._13KvU{background-color:#f9f9f9}._J4DRO._2hPON:active:not(._37SrH):not(._1DRoh) ._2F-wI,._J4DRO._2hPON:active:not(._37SrH):not(._1DRoh) ._13KvU{background-color:#f3f3f3}._J4DRO:focus{outline:none}body.keyboard-user ._J4DRO:focus ._2F-wI: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}body.keyboard-user ._J4DRO:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._J4DRO:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._J4DRO:focus ._2F-wI._2w22E:after{right:-3px;bottom:0}._J4DRO:last-of-type:focus{outline:none}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI: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}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI._2w22E:after{right:-3px;bottom:1px}._J4DRO:last-of-type ._oRO8C:focus{outline:none}body.keyboard-user ._J4DRO:last-of-type ._oRO8C._VgOr9:after,body.keyboard-user ._J4DRO:last-of-type ._oRO8C:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._J4DRO:first-of-type:focus{outline:none}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI: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}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI._2w22E:after{right:-3px;bottom:0}._J4DRO:first-of-type ._oRO8C:focus{outline:none}body.keyboard-user ._J4DRO:first-of-type ._oRO8C._VgOr9:after,body.keyboard-user ._J4DRO:first-of-type ._oRO8C:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1dMAB{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}._1dMAB._3JhjN{flex-grow:1}._1dMAB._21REk{cursor:pointer}._1dMAB._21REk:hover:not(._1sa6n){background-color:#f9f9f9;border-bottom-color:#6a6d70}._1dMAB._21REk:active:not(._1sa6n){background-color:#f3f3f3}._1dMAB._3FV6e:not(._1sa6n){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._1dMAB._1sa6n{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._1dMAB ._yCtiz{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._1dMAB ._yCtiz._27efd{left:-1px}._1dMAB ._yCtiz._1HxLI{right:0}._1dMAB ._1a3qv{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._1dMAB ._1a3qv._27efd{left:-2px}._1dMAB ._1a3qv._1HxLI{right:-1px}._1dMAB:first-of-type ._27efd._yCtiz{left:0;width:2px;border-left:1px solid #fff}._1dMAB:first-of-type ._27efd._1a3qv{left:0}._1dMAB:last-of-type ._1HxLI._yCtiz{right:0;width:2px;border-right:1px solid #fff}._1dMAB:last-of-type ._1HxLI._1a3qv{right:0}._1dMAB ._2og_y{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._1dMAB ._2og_y ._1nT4K{position:absolute;width:2px;right:2px;top:0;bottom:0}._1dMAB ._2og_y ._1nT4K._31UTx{background-color:#0a6ed1}._1dMAB ._2og_y:hover ._1nT4K:not(._31UTx){background-color:#d9d9d9}._1dMAB ._3S4SY{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._1dMAB ._3S4SY._1jQSF{flex-direction:row-reverse;justify-content:flex-start}._1dMAB ._3S4SY._1jQSF ._7amXC{margin:1px 7px 1px 1px}._1dMAB ._3S4SY ._1obf7{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._1dMAB ._3S4SY ._7amXC{margin:1px 1px 1px 7px;flex-shrink:0}._1dMAB ._ZQzjq{margin-left:6px;margin-right:4px;flex-shrink:0}._1dMAB ._iIztX{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._1dMAB:focus{outline:none}body.keyboard-user ._1dMAB._VgOr9:after,body.keyboard-user ._1dMAB:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._2Gdhv{margin-right:6px}._2w22E{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._2w22E[focus-within]{z-index:30}._2w22E:focus-within{z-index:30}._oRO8C{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}._oRO8C ._2IyYF{width:100%;padding:12px 12px 11px;overflow:hidden}._oRO8C._1sa6n{background-color:#efefef;border-bottom-color:#dfdfe1}._oRO8C._3JhjN{flex-grow:1}._oRO8C:focus{outline:none}body.keyboard-user ._oRO8C._VgOr9:after,body.keyboard-user ._oRO8C:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._13KvU{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._13KvU._1eWET{border-bottom-color:#d9d9d9;background-color:#fff}._2C4Fr{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}._2C4Fr._1eWET{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._2C4Fr:focus input~span,._2C4Fr:hover input~span{border-color:#0b6ed0}._2C4Fr ._3rofU{position:relative;display:inline-flex}._2C4Fr ._3rofU ._3w9VN{margin:0!important}._2C4Fr ._3rofU ._RvInM{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._1bcY5{justify-content:flex-start}._2tQQy{justify-content:center;text-align:center}._1jQSF{justify-content:flex-end;text-align:right}._3eWUZ{display:none}._qG_R7{opacity:0;height:0;width:0;overflow:hidden}._25jra,._qG_R7{position:absolute}._25jra{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._Mf3y8{width:246px}";
4
+ var styles = {"advancedTable":"_21wHW","advancedTablePaginationContainer":"_2rdPj","advancedTablePagination":"_1nMAj","advancedTableColumnHeadersRowGroup":"_2O50c","advancedTableColumnHeaders":"_1O-SM","advancedTableRowChild":"_2F-wI","pinnedContainer":"_2w22E","advancedTableRowGroup":"_lcW23","advancedTableRow":"_J4DRO","hasRowAction":"_2hPON","advancedTableExpandRowSpacer":"_13KvU","isSelected":"_37SrH","advancedTableCheckbox":"_2C4Fr","advancedTableCell":"_oRO8C","isCheckboxHovered":"_1DRoh","showFocusRing":"_VgOr9","advancedTableColumnHeader":"_1dMAB","fillRemainingSpace":"_3JhjN","isSortable":"_21REk","isDragging":"_1sa6n","isSorted":"_3FV6e","dropTargetLine":"_yCtiz","dropTargetLeft":"_27efd","dropTargetRight":"_1HxLI","dropTargetMarker":"_1a3qv","resizeHandle":"_2og_y","resizeLine":"_1nT4K","isResizing":"_31UTx","advancedTableColumnHeaderLabel":"_3S4SY","rightAligned":"_1jQSF","sortIcon":"_7amXC","advancedTableColumnHeaderLabelText":"_1obf7","advancedTableColumnHeaderMenu":"_ZQzjq","advancedTableColumnHeaderMenuHiddenAnchor":"_iIztX","advancedTableColumnHeaderMenuItemIcon":"_2Gdhv","advancedTableCellContainer":"_2IyYF","header":"_1eWET","checkboxContainer":"_3rofU","checkbox":"_3w9VN","mixed":"_RvInM","leftAligned":"_1bcY5","centerAligned":"_2tQQy","hiddenDescription":"_3eWUZ","hiddenLiveRegion":"_qG_R7","dragPreview":"_25jra","rowActionMenuPane":"_Mf3y8"};
5
+ var stylesheet="._21wHW{overflow:auto;position:relative;max-width:100%;max-height:100%}._2rdPj,._21wHW{background-color:#fff}._2rdPj{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._1nMAj{margin-bottom:4px}._2O50c{position:-webkit-sticky;position:sticky;top:0;z-index:100}._1O-SM{display:flex}._1O-SM:focus{outline:none}body.keyboard-user ._1O-SM:focus ._2F-wI: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}body.keyboard-user ._1O-SM:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._1O-SM:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._1O-SM:focus ._2F-wI._2w22E:after{right:-3px;bottom:1px}._lcW23{padding-right:3px}._J4DRO{display:flex}._J4DRO._2hPON ._2F-wI,._J4DRO._2hPON ._13KvU{cursor:pointer}._J4DRO._37SrH ._2F-wI,._J4DRO._37SrH ._13KvU{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._J4DRO._37SrH ._2F-wI._2w22E,._J4DRO._37SrH ._13KvU._2w22E{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._J4DRO._37SrH ._2F-wI._2w22E ._2C4Fr,._J4DRO._37SrH ._2F-wI._2w22E ._13KvU,._J4DRO._37SrH ._2F-wI._2w22E ._oRO8C,._J4DRO._37SrH ._13KvU._2w22E ._2C4Fr,._J4DRO._37SrH ._13KvU._2w22E ._13KvU,._J4DRO._37SrH ._13KvU._2w22E ._oRO8C{background-color:rgba(11,110,208,.08)}._J4DRO._2hPON:hover:not(._37SrH):not(._1DRoh) ._2F-wI,._J4DRO._2hPON:hover:not(._37SrH):not(._1DRoh) ._13KvU{background-color:#f9f9f9}._J4DRO._2hPON:active:not(._37SrH):not(._1DRoh) ._2F-wI,._J4DRO._2hPON:active:not(._37SrH):not(._1DRoh) ._13KvU{background-color:#f3f3f3}._J4DRO:focus{outline:none}body.keyboard-user ._J4DRO:focus ._2F-wI: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}body.keyboard-user ._J4DRO:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._J4DRO:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._J4DRO:focus ._2F-wI._2w22E:after{right:-3px;bottom:0}._J4DRO:last-of-type:focus{outline:none}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI: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}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._J4DRO:last-of-type:focus ._2F-wI._2w22E:after{right:-3px;bottom:1px}._J4DRO:last-of-type ._oRO8C:focus{outline:none}body.keyboard-user ._J4DRO:last-of-type ._oRO8C._VgOr9:after,body.keyboard-user ._J4DRO:last-of-type ._oRO8C:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._J4DRO:first-of-type:focus{outline:none}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI: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}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._J4DRO:first-of-type:focus ._2F-wI._2w22E:after{right:-3px;bottom:0}._J4DRO:first-of-type ._oRO8C:focus{outline:none}body.keyboard-user ._J4DRO:first-of-type ._oRO8C._VgOr9:after,body.keyboard-user ._J4DRO:first-of-type ._oRO8C:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._1dMAB{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}._1dMAB._3JhjN{flex-grow:1}._1dMAB._21REk{cursor:pointer}._1dMAB._21REk:hover:not(._1sa6n){background-color:#f9f9f9;border-bottom-color:#6a6d70}._1dMAB._21REk:active:not(._1sa6n){background-color:#f3f3f3}._1dMAB._3FV6e:not(._1sa6n){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._1dMAB._1sa6n{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._1dMAB ._yCtiz{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._1dMAB ._yCtiz._27efd{left:-1px}._1dMAB ._yCtiz._1HxLI{right:0}._1dMAB ._1a3qv{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._1dMAB ._1a3qv._27efd{left:-2px}._1dMAB ._1a3qv._1HxLI{right:-1px}._1dMAB:first-of-type ._27efd._yCtiz{left:0;width:2px;border-left:1px solid #fff}._1dMAB:first-of-type ._27efd._1a3qv{left:0}._1dMAB:last-of-type ._1HxLI._yCtiz{right:0;width:2px;border-right:1px solid #fff}._1dMAB:last-of-type ._1HxLI._1a3qv{right:0}._1dMAB ._2og_y{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._1dMAB ._2og_y ._1nT4K{position:absolute;width:2px;right:2px;top:0;bottom:0}._1dMAB ._2og_y ._1nT4K._31UTx{background-color:#0a6ed1}._1dMAB ._2og_y:hover ._1nT4K:not(._31UTx){background-color:#d9d9d9}._1dMAB ._3S4SY{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._1dMAB ._3S4SY._1jQSF{flex-direction:row-reverse;justify-content:flex-start}._1dMAB ._3S4SY._1jQSF ._7amXC{margin:1px 7px 1px 1px}._1dMAB ._3S4SY ._1obf7{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._1dMAB ._3S4SY ._7amXC{margin:1px 1px 1px 7px;flex-shrink:0}._1dMAB ._ZQzjq{margin-left:6px;margin-right:4px;flex-shrink:0}._1dMAB ._iIztX{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._1dMAB:focus{outline:none}body.keyboard-user ._1dMAB._VgOr9:after,body.keyboard-user ._1dMAB:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._2Gdhv{margin-right:6px}._2w22E{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._2w22E[focus-within]{z-index:30}._2w22E:focus-within{z-index:30}._oRO8C{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}._oRO8C ._2IyYF{width:100%;padding:12px 12px 11px;overflow:hidden}._oRO8C._1sa6n{background-color:#efefef;border-bottom-color:#dfdfe1}._oRO8C._3JhjN{flex-grow:1}._oRO8C:focus{outline:none}body.keyboard-user ._oRO8C._VgOr9:after,body.keyboard-user ._oRO8C:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._13KvU{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._13KvU._1eWET{border-bottom-color:#d9d9d9;background-color:#fff}._2C4Fr{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}._2C4Fr._1eWET{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._2C4Fr:focus input~span,._2C4Fr:hover input~span{border-color:#0b6ed0}._2C4Fr ._3rofU{position:relative;display:inline-flex}._2C4Fr ._3rofU ._3w9VN{margin:0!important}._2C4Fr ._3rofU ._RvInM{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._1bcY5{justify-content:flex-start}._2tQQy{justify-content:center;text-align:center}._1jQSF{justify-content:flex-end;text-align:right}._3eWUZ{display:none}._qG_R7{opacity:0;height:0;width:0;overflow:hidden}._25jra,._qG_R7{position:absolute}._25jra{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._Mf3y8{width:246px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._1XOgo{display:inline-block;width:36px;transition:width .25s ease-out}._cIegR{width:100%}._32SmZ>input{padding-right:0!important}.__t8Kc>svg{fill:#515559}";
4
- var styles = {"collapsibleSearchInput":"_1XOgo","searchInput":"_cIegR","searchInputCollapsed":"_32SmZ","iconButton":"__t8Kc"};
5
- var stylesheet="._1XOgo{display:inline-block;width:36px;transition:width .25s ease-out}._cIegR{width:100%}._32SmZ>input{padding-right:0!important}.__t8Kc>svg{fill:#515559}";
3
+ var css_248z = "._20Zmx{display:inline-block;width:36px;transition:width .25s ease-out}._3uZPr{width:100%}._PGCFw>input{padding-right:0!important}._2i_3o>svg{fill:#515559}";
4
+ var styles = {"collapsibleSearchInput":"_20Zmx","searchInput":"_3uZPr","searchInputCollapsed":"_PGCFw","iconButton":"_2i_3o"};
5
+ var stylesheet="._20Zmx{display:inline-block;width:36px;transition:width .25s ease-out}._3uZPr{width:100%}._PGCFw>input{padding-right:0!important}._2i_3o>svg{fill:#515559}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -28,6 +28,7 @@ function Combobox(_ref) {
28
28
  const flyoutRef = useRef(null);
29
29
  const flyoutId = useId();
30
30
  const [isOpen, setIsOpen] = useState(false);
31
+ const [hoveredOption, setHoveredOption] = useState(null);
31
32
  const [inputFocusRef, isComponentFocused] = useIsFocused();
32
33
  const {
33
34
  rawInputValue,
@@ -74,7 +75,9 @@ function Combobox(_ref) {
74
75
  focusLast,
75
76
  focusNext,
76
77
  focusPrevious,
77
- activeDescendantElement
78
+ activeDescendantElement,
79
+ hoveredOption,
80
+ setHoveredOption
78
81
  }
79
82
  }, children);
80
83
  }
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._7FEik :after{background-color:#515559!important}._2FYdq{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}._2FYdq ._25a0c ._2Wjpz{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}._2FYdq ._25a0c:first-child ._3Uj2-{display:none}._2FYdq ._1to3R{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._2FYdq ._1to3R:hover{background-color:#efefef}._2FYdq ._1to3R:hover._1W9qB{background-color:#e4effa}._2FYdq ._1to3R._1W9qB{background-color:#ebf3fb}._2FYdq ._1to3R:active:not(._1W9qB){background-color:#e8e9e9}";
4
- var styles = {"loadingSpinner":"_7FEik","flyout":"_2FYdq","group":"_25a0c","header":"_2Wjpz","divider":"_3Uj2-","option":"_1to3R","selected":"_1W9qB"};
5
- var stylesheet="._7FEik :after{background-color:#515559!important}._2FYdq{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}._2FYdq ._25a0c ._2Wjpz{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}._2FYdq ._25a0c:first-child ._3Uj2-{display:none}._2FYdq ._1to3R{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._2FYdq ._1to3R:hover{background-color:#efefef}._2FYdq ._1to3R:hover._1W9qB{background-color:#e4effa}._2FYdq ._1to3R._1W9qB{background-color:#ebf3fb}._2FYdq ._1to3R:active:not(._1W9qB){background-color:#e8e9e9}";
3
+ var css_248z = "._2DwWc :after{background-color:#515559!important}._Tb0uT>input:focus{box-shadow:none!important;border:1px solid #898989!important}._1ZJtd{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}._1ZJtd ._RrsRB ._2vbkV{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}._1ZJtd ._RrsRB:first-child ._1Pvl3{display:none}._1ZJtd ._2vY2K{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._1ZJtd ._2vY2K:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1ZJtd ._2vY2K:hover._1PuMA{background-color:#e4effa}._1ZJtd ._2vY2K._1PuMA{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1ZJtd ._2vY2K:active:not(._1PuMA){background-color:#e8e9e9}";
4
+ var styles = {"loadingSpinner":"_2DwWc","ignoreFocusStyle":"_Tb0uT","flyout":"_1ZJtd","group":"_RrsRB","header":"_2vbkV","divider":"_1Pvl3","option":"_2vY2K","selected":"_1PuMA"};
5
+ var stylesheet="._2DwWc :after{background-color:#515559!important}._Tb0uT>input:focus{box-shadow:none!important;border:1px solid #898989!important}._1ZJtd{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}._1ZJtd ._RrsRB ._2vbkV{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}._1ZJtd ._RrsRB:first-child ._1Pvl3{display:none}._1ZJtd ._2vY2K{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._1ZJtd ._2vY2K:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1ZJtd ._2vY2K:hover._1PuMA{background-color:#e4effa}._1ZJtd ._2vY2K._1PuMA{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1ZJtd ._2vY2K:active:not(._1PuMA){background-color:#e8e9e9}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -1,4 +1,5 @@
1
1
  import React__default, { forwardRef, useEffect } from 'react';
2
+ import classNames from 'classnames';
2
3
  import { useComboboxContext } from './ComboboxContext.js';
3
4
  import '../../components/LoadingSpinner/index.js';
4
5
  import '../../utils/index.js';
@@ -42,7 +43,8 @@ const ComboboxInput = /*#__PURE__*/forwardRef((_ref, ref) => {
42
43
  isInvalid,
43
44
  rootAriaLabel,
44
45
  rootAriaLabelledBy,
45
- flyoutId
46
+ flyoutId,
47
+ hoveredOption
46
48
  } = useComboboxContext();
47
49
  /*
48
50
  * Creates a variation of selection follows focus.
@@ -120,7 +122,9 @@ const ComboboxInput = /*#__PURE__*/forwardRef((_ref, ref) => {
120
122
 
121
123
  return /*#__PURE__*/React__default.createElement(Input, {
122
124
  role: "combobox",
123
- className: className,
125
+ className: classNames(className, {
126
+ [styles.ignoreFocusStyle]: hoveredOption || activeDescendantElement
127
+ }),
124
128
  style: style,
125
129
  id: id,
126
130
  placeholder: placeholder,
@@ -22,7 +22,8 @@ function ComboboxOption(_ref) {
22
22
  activeDescendantElement,
23
23
  committedInputValue,
24
24
  setCommittedInputValue,
25
- rootDataTestId
25
+ rootDataTestId,
26
+ setHoveredOption
26
27
  } = useComboboxContext();
27
28
  const {
28
29
  registerOption: registerGroupOption,
@@ -62,6 +63,8 @@ function ComboboxOption(_ref) {
62
63
  setCommittedInputValue(label);
63
64
  setIsOpen(false);
64
65
  },
66
+ onMouseOver: () => setHoveredOption(containerElementRef.current),
67
+ onMouseLeave: () => setHoveredOption(null),
65
68
  onMouseDown: e => e.preventDefault() // Prevents the input from getting blurred
66
69
  ,
67
70
  "aria-selected": isOptionSelected,
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._sn-eh{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}._sn-eh:hover:not(._pgiTH){background-color:rgba(50,54,58,.08)}._sn-eh:hover:not(._pgiTH)._3-yP7{border-color:#085caf;background-color:rgba(11,110,208,.04)}._sn-eh:hover:not(._pgiTH)._3-yP7 ._xFDqG{color:#32363a}._sn-eh:hover:not(._pgiTH)._3-yP7 ._3Oll-{fill:#32363a}._sn-eh:hover:not(._pgiTH)._3-yP7 ._1Nbdj{fill:#085caf}._sn-eh:hover:not(._pgiTH)._3-yP7 ._20giS{background-color:rgba(11,110,208,.11)}._sn-eh:hover:not(._pgiTH)._3-yP7 ._20giS ._yIVlr{color:#085caf}._sn-eh:active:not(._pgiTH){background-color:#e8e9e9}._sn-eh:active:not(._pgiTH)._3-yP7{background-color:rgba(11,110,208,.11);border-color:#0854a1}._sn-eh:active:not(._pgiTH)._3-yP7 ._1Nbdj{fill:#0854a1}._sn-eh:active:not(._pgiTH)._3-yP7 ._20giS{background-color:rgba(11,110,208,.11)}._sn-eh:active:not(._pgiTH)._3-yP7 ._20giS ._yIVlr{color:#0854a1}._sn-eh._pgiTH{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._sn-eh._3-yP7{border-color:#0b6ed0}._3Oll-{fill:#515559;margin-right:4px}._xFDqG{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._xFDqG+._20giS{margin-left:6px}._xFDqG._pgiTH{color:#74777a}._20giS{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}._yIVlr{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1Nbdj{fill:#515559}._1Nbdj._pgiTH,._1Nbdj._pgiTH._3-yP7{fill:rgba(116,119,122,.4)}._1Nbdj._3-yP7{fill:#0b6ed0}._1Nbdj._2kLCj{transform:rotate(-180deg)}body.keyboard-user ._sn-eh:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"button":"_sn-eh","disabled":"_pgiTH","selected":"_3-yP7","label":"_xFDqG","lockIcon":"_3Oll-","chevronIcon":"_1Nbdj","selectedFiltersContainer":"_20giS","selectedFilters":"_yIVlr","open":"_2kLCj"};
5
- var stylesheet="._sn-eh{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}._sn-eh:hover:not(._pgiTH){background-color:rgba(50,54,58,.08)}._sn-eh:hover:not(._pgiTH)._3-yP7{border-color:#085caf;background-color:rgba(11,110,208,.04)}._sn-eh:hover:not(._pgiTH)._3-yP7 ._xFDqG{color:#32363a}._sn-eh:hover:not(._pgiTH)._3-yP7 ._3Oll-{fill:#32363a}._sn-eh:hover:not(._pgiTH)._3-yP7 ._1Nbdj{fill:#085caf}._sn-eh:hover:not(._pgiTH)._3-yP7 ._20giS{background-color:rgba(11,110,208,.11)}._sn-eh:hover:not(._pgiTH)._3-yP7 ._20giS ._yIVlr{color:#085caf}._sn-eh:active:not(._pgiTH){background-color:#e8e9e9}._sn-eh:active:not(._pgiTH)._3-yP7{background-color:rgba(11,110,208,.11);border-color:#0854a1}._sn-eh:active:not(._pgiTH)._3-yP7 ._1Nbdj{fill:#0854a1}._sn-eh:active:not(._pgiTH)._3-yP7 ._20giS{background-color:rgba(11,110,208,.11)}._sn-eh:active:not(._pgiTH)._3-yP7 ._20giS ._yIVlr{color:#0854a1}._sn-eh._pgiTH{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._sn-eh._3-yP7{border-color:#0b6ed0}._3Oll-{fill:#515559;margin-right:4px}._xFDqG{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._xFDqG+._20giS{margin-left:6px}._xFDqG._pgiTH{color:#74777a}._20giS{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}._yIVlr{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1Nbdj{fill:#515559}._1Nbdj._pgiTH,._1Nbdj._pgiTH._3-yP7{fill:rgba(116,119,122,.4)}._1Nbdj._3-yP7{fill:#0b6ed0}._1Nbdj._2kLCj{transform:rotate(-180deg)}body.keyboard-user ._sn-eh:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._iWUoq{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}._iWUoq:hover:not(._dhb8L){background-color:rgba(50,54,58,.08)}._iWUoq:hover:not(._dhb8L)._3kcgi{border-color:#085caf;background-color:rgba(11,110,208,.04)}._iWUoq:hover:not(._dhb8L)._3kcgi ._1T604{color:#32363a}._iWUoq:hover:not(._dhb8L)._3kcgi ._1WFV2{fill:#32363a}._iWUoq:hover:not(._dhb8L)._3kcgi ._QnSTu{fill:#085caf}._iWUoq:hover:not(._dhb8L)._3kcgi ._12fhk{background-color:rgba(11,110,208,.11)}._iWUoq:hover:not(._dhb8L)._3kcgi ._12fhk ._2c06i{color:#085caf}._iWUoq:active:not(._dhb8L){background-color:#e8e9e9}._iWUoq:active:not(._dhb8L)._3kcgi{background-color:rgba(11,110,208,.11);border-color:#0854a1}._iWUoq:active:not(._dhb8L)._3kcgi ._QnSTu{fill:#0854a1}._iWUoq:active:not(._dhb8L)._3kcgi ._12fhk{background-color:rgba(11,110,208,.11)}._iWUoq:active:not(._dhb8L)._3kcgi ._12fhk ._2c06i{color:#0854a1}._iWUoq._dhb8L{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._iWUoq._3kcgi{border-color:#0b6ed0}._1WFV2{fill:#515559;margin-right:4px}._1T604{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1T604+._12fhk{margin-left:6px}._1T604._dhb8L{color:#74777a}._12fhk{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}._2c06i{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._QnSTu{fill:#515559}._QnSTu._dhb8L,._QnSTu._dhb8L._3kcgi{fill:rgba(116,119,122,.4)}._QnSTu._3kcgi{fill:#0b6ed0}._QnSTu._XKkLS{transform:rotate(-180deg)}body.keyboard-user ._iWUoq:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"button":"_iWUoq","disabled":"_dhb8L","selected":"_3kcgi","label":"_1T604","lockIcon":"_1WFV2","chevronIcon":"_QnSTu","selectedFiltersContainer":"_12fhk","selectedFilters":"_2c06i","open":"_XKkLS"};
5
+ var stylesheet="._iWUoq{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}._iWUoq:hover:not(._dhb8L){background-color:rgba(50,54,58,.08)}._iWUoq:hover:not(._dhb8L)._3kcgi{border-color:#085caf;background-color:rgba(11,110,208,.04)}._iWUoq:hover:not(._dhb8L)._3kcgi ._1T604{color:#32363a}._iWUoq:hover:not(._dhb8L)._3kcgi ._1WFV2{fill:#32363a}._iWUoq:hover:not(._dhb8L)._3kcgi ._QnSTu{fill:#085caf}._iWUoq:hover:not(._dhb8L)._3kcgi ._12fhk{background-color:rgba(11,110,208,.11)}._iWUoq:hover:not(._dhb8L)._3kcgi ._12fhk ._2c06i{color:#085caf}._iWUoq:active:not(._dhb8L){background-color:#e8e9e9}._iWUoq:active:not(._dhb8L)._3kcgi{background-color:rgba(11,110,208,.11);border-color:#0854a1}._iWUoq:active:not(._dhb8L)._3kcgi ._QnSTu{fill:#0854a1}._iWUoq:active:not(._dhb8L)._3kcgi ._12fhk{background-color:rgba(11,110,208,.11)}._iWUoq:active:not(._dhb8L)._3kcgi ._12fhk ._2c06i{color:#0854a1}._iWUoq._dhb8L{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._iWUoq._3kcgi{border-color:#0b6ed0}._1WFV2{fill:#515559;margin-right:4px}._1T604{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1T604+._12fhk{margin-left:6px}._1T604._dhb8L{color:#74777a}._12fhk{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}._2c06i{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._QnSTu{fill:#515559}._QnSTu._dhb8L,._QnSTu._dhb8L._3kcgi{fill:rgba(116,119,122,.4)}._QnSTu._3kcgi{fill:#0b6ed0}._QnSTu._XKkLS{transform:rotate(-180deg)}body.keyboard-user ._iWUoq:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._3TlfG{position:relative;display:inline-block;height:36px}._3BZMx{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._3BZMx:hover{cursor:pointer;background-color:#f5f5f5}._3BZMx:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._3BZMx:disabled,._3BZMx[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._3BZMx:disabled::-moz-placeholder,._3BZMx[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3BZMx:disabled::placeholder,._3BZMx[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3BZMx:invalid,._3BZMx[aria-invalid=true]{border-color:#b00}._3BZMx:invalid:focus,._3BZMx[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._3BZMx[type=number]{-moz-appearance:textfield}._3BZMx[type=number]::-webkit-inner-spin-button,._3BZMx[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._3BZMx::-moz-placeholder{color:#515559;opacity:1}._3BZMx::placeholder{color:#515559;opacity:1}._2KRrs{pointer-events:none;color:#515559;fill:#515559}._1S6rd{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._1aaZd{color:#515559;font-size:16px}._2_Mtc{left:0;margin-left:6px}._2_Mtc,._3fwma{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3fwma{right:0;margin-right:6px}";
4
- var inputClasses = {"container":"_3TlfG","input":"_3BZMx","addOn":"_2KRrs","addOnVerticalCenter":"_1S6rd","addOnTextNode":"_1aaZd","leftAddOn":"_2_Mtc","rightAddOn":"_3fwma"};
5
- var stylesheet="._3TlfG{position:relative;display:inline-block;height:36px}._3BZMx{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._3BZMx:hover{cursor:pointer;background-color:#f5f5f5}._3BZMx:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._3BZMx:disabled,._3BZMx[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._3BZMx:disabled::-moz-placeholder,._3BZMx[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3BZMx:disabled::placeholder,._3BZMx[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3BZMx:invalid,._3BZMx[aria-invalid=true]{border-color:#b00}._3BZMx:invalid:focus,._3BZMx[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._3BZMx[type=number]{-moz-appearance:textfield}._3BZMx[type=number]::-webkit-inner-spin-button,._3BZMx[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._3BZMx::-moz-placeholder{color:#515559;opacity:1}._3BZMx::placeholder{color:#515559;opacity:1}._2KRrs{pointer-events:none;color:#515559;fill:#515559}._1S6rd{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._1aaZd{color:#515559;font-size:16px}._2_Mtc{left:0;margin-left:6px}._2_Mtc,._3fwma{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3fwma{right:0;margin-right:6px}";
3
+ var css_248z = "._1kyG6{position:relative;display:inline-block;height:36px}._2EV81{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._2EV81:hover{cursor:pointer;background-color:#f5f5f5}._2EV81:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._2EV81:disabled,._2EV81[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2EV81:disabled::-moz-placeholder,._2EV81[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:disabled::placeholder,._2EV81[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:invalid,._2EV81[aria-invalid=true]{border-color:#b00}._2EV81:invalid:focus,._2EV81[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2EV81[type=number]{-moz-appearance:textfield}._2EV81[type=number]::-webkit-inner-spin-button,._2EV81[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2EV81::-moz-placeholder{color:#515559;opacity:1}._2EV81::placeholder{color:#515559;opacity:1}._26G2D{pointer-events:none;color:#515559;fill:#515559}._2QJiX{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._l3RbD{color:#515559;font-size:16px}._3okfN{left:0;margin-left:6px}._3okfN,._AI66E{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._AI66E{right:0;margin-right:6px}";
4
+ var inputClasses = {"container":"_1kyG6","input":"_2EV81","addOn":"_26G2D","addOnVerticalCenter":"_2QJiX","addOnTextNode":"_l3RbD","leftAddOn":"_3okfN","rightAddOn":"_AI66E"};
5
+ var stylesheet="._1kyG6{position:relative;display:inline-block;height:36px}._2EV81{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._2EV81:hover{cursor:pointer;background-color:#f5f5f5}._2EV81:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._2EV81:disabled,._2EV81[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._2EV81:disabled::-moz-placeholder,._2EV81[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:disabled::placeholder,._2EV81[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._2EV81:invalid,._2EV81[aria-invalid=true]{border-color:#b00}._2EV81:invalid:focus,._2EV81[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._2EV81[type=number]{-moz-appearance:textfield}._2EV81[type=number]::-webkit-inner-spin-button,._2EV81[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2EV81::-moz-placeholder{color:#515559;opacity:1}._2EV81::placeholder{color:#515559;opacity:1}._26G2D{pointer-events:none;color:#515559;fill:#515559}._2QJiX{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._l3RbD{color:#515559;font-size:16px}._3okfN{left:0;margin-left:6px}._3okfN,._AI66E{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._AI66E{right:0;margin-right:6px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { inputClasses as default, stylesheet };
@@ -0,0 +1,71 @@
1
+ import React__default from 'react';
2
+ import { Root } from '@radix-ui/react-dropdown-menu';
3
+ import { MenuContextProvider } from './MenuContext.js';
4
+ import '../../hooks/index.js';
5
+ import useControllableState from '../../hooks/useControllableState/useControllableState.js';
6
+
7
+ /* eslint-disable max-classes-per-file */
8
+ const Menu = _ref => {
9
+ var _process$env;
10
+
11
+ let {
12
+ 'data-testid': dataTestId,
13
+ isOpen,
14
+ onIsOpenChange,
15
+ isDisabled,
16
+ children
17
+ } = _ref;
18
+
19
+ if (typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' && window) {
20
+ var _window$ResizeObserve, _window$PointerEvent;
21
+
22
+ window.ResizeObserver = (_window$ResizeObserve = window.ResizeObserver) !== null && _window$ResizeObserve !== void 0 ? _window$ResizeObserve : ResizeObserver;
23
+ window.PointerEvent = (_window$PointerEvent = window.PointerEvent) !== null && _window$PointerEvent !== void 0 ? _window$PointerEvent : PointerEvent;
24
+ }
25
+
26
+ const [open, setOpen] = useControllableState(isOpen, onIsOpenChange, isOpen);
27
+ return /*#__PURE__*/React__default.createElement(MenuContextProvider, {
28
+ value: {
29
+ dataTestId,
30
+ isDisabled
31
+ }
32
+ }, /*#__PURE__*/React__default.createElement(Root, {
33
+ open: open,
34
+ onOpenChange: shouldOpen => setOpen(!isDisabled && shouldOpen)
35
+ }, children));
36
+ };
37
+
38
+ class ResizeObserver {
39
+ constructor(cb) {
40
+ this.cb = cb;
41
+ }
42
+
43
+ observe() {
44
+ this.cb([{
45
+ borderBoxSize: {
46
+ inlineSize: 0,
47
+ blockSize: 0
48
+ }
49
+ }]);
50
+ } // eslint-disable-next-line class-methods-use-this
51
+
52
+
53
+ unobserve() {} // eslint-disable-next-line class-methods-use-this
54
+
55
+
56
+ disconnect() {}
57
+
58
+ } // https://github.com/radix-ui/primitives/issues/1220#issuecomment-1087465026
59
+
60
+
61
+ class PointerEvent extends Event {
62
+ constructor(type, props) {
63
+ super(type, props);
64
+ this.button = props.button || 0;
65
+ this.ctrlKey = props.ctrlKey || false;
66
+ this.pointerType = props.pointerType || 'mouse';
67
+ }
68
+
69
+ }
70
+
71
+ export { Menu, Menu as default };
@@ -0,0 +1,8 @@
1
+ import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
+
3
+ var css_248z = "._1VKky{position:relative;display:inline-flex;height:36px;background-color:#fafafa;min-width:0;cursor:pointer;border-radius:4px}._2270H{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;background-color:transparent;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559}._2270H:hover:not([aria-disabled=true]){background-color:#f5f5f5}._2270H:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2270H+._3zQNq{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._2270H[data-state=open]+._3zQNq{transform:rotate(-180deg) translateY(50%)}._2270H[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._2270H[aria-disabled=true]+._3zQNq{fill:#515559;opacity:.4}._1IFp9{margin:0;padding:4px 0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow:scroll}._23Nw5{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._23Nw5[data-highlighted]{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._23Nw5[aria-disabled=true]{cursor:not-allowed;opacity:.65}._23Nw5._1xqsx{padding-right:32px}._23Nw5._1xqsx ._3zQNq{position:absolute;top:8px;right:3px;fill:#515559}._2aSK3{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._19awZ{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}";
4
+ var styles = {"buttonContainer":"_1VKky","button":"_2270H","rightIcon":"_3zQNq","flyout":"_1IFp9","menuItem":"_23Nw5","subMenu":"_1xqsx","searchBox":"_2aSK3","emptyOption":"_19awZ"};
5
+ var stylesheet="._1VKky{position:relative;display:inline-flex;height:36px;background-color:#fafafa;min-width:0;cursor:pointer;border-radius:4px}._2270H{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;background-color:transparent;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559}._2270H:hover:not([aria-disabled=true]){background-color:#f5f5f5}._2270H:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2270H+._3zQNq{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._2270H[data-state=open]+._3zQNq{transform:rotate(-180deg) translateY(50%)}._2270H[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._2270H[aria-disabled=true]+._3zQNq{fill:#515559;opacity:.4}._1IFp9{margin:0;padding:4px 0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow:scroll}._23Nw5{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._23Nw5[data-highlighted]{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._23Nw5[aria-disabled=true]{cursor:not-allowed;opacity:.65}._23Nw5._1xqsx{padding-right:32px}._23Nw5._1xqsx ._3zQNq{position:absolute;top:8px;right:3px;fill:#515559}._2aSK3{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._19awZ{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}";
6
+ styleInject(css_248z);
7
+
8
+ export { styles as default, stylesheet };
@@ -0,0 +1,41 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import React__default from 'react';
3
+ import { Trigger } from '@radix-ui/react-dropdown-menu';
4
+ import classNames from 'classnames';
5
+ import '../../icons/index.es.js';
6
+ import styles from './Menu2.js';
7
+ import '../../utils/index.js';
8
+ import { useMenuContext } from './MenuContext.js';
9
+ import { DATA_TESTID_SUFFIXES } from './constants.js';
10
+ import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
11
+ import ChevronDownIcon from '../../icons/components/ChevronDownIcon.js';
12
+
13
+ const MenuButton = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
14
+ let {
15
+ asChild,
16
+ children,
17
+ ...rest
18
+ } = _ref;
19
+ const {
20
+ dataTestId: rootDataTestId,
21
+ isDisabled
22
+ } = useMenuContext();
23
+ return /*#__PURE__*/React__default.createElement("div", {
24
+ className: classNames({
25
+ [styles.buttonContainer]: !asChild
26
+ })
27
+ }, /*#__PURE__*/React__default.createElement(Trigger, _extends({}, rest, {
28
+ "aria-disabled": isDisabled,
29
+ className: classNames({
30
+ [styles.button]: !asChild
31
+ }),
32
+ asChild: asChild,
33
+ ref: ref,
34
+ "data-testid": getSubDataTestId(rootDataTestId, DATA_TESTID_SUFFIXES.MENU_BUTTON)
35
+ }), children), !asChild && /*#__PURE__*/React__default.createElement(ChevronDownIcon, {
36
+ className: styles.rightIcon,
37
+ "aria-hidden": "true"
38
+ }));
39
+ });
40
+
41
+ export { MenuButton, MenuButton as default };
@@ -0,0 +1,41 @@
1
+ import React__default from 'react';
2
+ import '../../utils/index.js';
3
+ import { ChildIndexProvider, useChildIndex } from '../../components/Dropdown/ChildIndexContext/index.js';
4
+ import createContextUtilities from '../../utils/createContextUtilities/createContextUtilities.js';
5
+
6
+ const {
7
+ useContext: useMenuContext,
8
+ Provider: MenuContextProvider
9
+ } = createContextUtilities({});
10
+ const {
11
+ useContext: intermediaryUseMenuContext,
12
+ Provider: IntermediaryMenuContextProvider
13
+ } = createContextUtilities({});
14
+
15
+ const PaneContextProvider = _ref => {
16
+ let {
17
+ items,
18
+ setItems,
19
+ value,
20
+ children
21
+ } = _ref;
22
+ return /*#__PURE__*/React__default.createElement(ChildIndexProvider, {
23
+ items: items,
24
+ setItems: setItems
25
+ }, /*#__PURE__*/React__default.createElement(IntermediaryMenuContextProvider, {
26
+ value: value
27
+ }, children));
28
+ };
29
+
30
+ const usePaneContext = childItemRef => {
31
+ const coreContext = intermediaryUseMenuContext();
32
+ const childIndex = useChildIndex({
33
+ element: childItemRef
34
+ });
35
+ return {
36
+ childIndex,
37
+ ...coreContext
38
+ };
39
+ };
40
+
41
+ export { MenuContextProvider, PaneContextProvider, useMenuContext, usePaneContext };
@@ -0,0 +1,49 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
3
+ import React__default, { useRef, useMemo } from 'react';
4
+ import { Item } from '@radix-ui/react-dropdown-menu';
5
+ import classNames from 'classnames';
6
+ import styles from './Menu2.js';
7
+ import { usePaneContext } from './MenuContext.js';
8
+ import '../../utils/index.js';
9
+ import { DATA_TESTID_SUFFIXES } from './constants.js';
10
+ import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
11
+ import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
12
+
13
+ const MenuItem = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
14
+ let {
15
+ isDisabled,
16
+ asChild,
17
+ children,
18
+ className,
19
+ onSelect,
20
+ label,
21
+ ...rest
22
+ } = _ref;
23
+ const itemRef = useRef(null);
24
+ const {
25
+ dataTestId: menuParentDataTestId,
26
+ childIndex: index,
27
+ searchValue,
28
+ isSearchFilteringDisabled
29
+ } = usePaneContext(itemRef);
30
+ const dataTestId = getSubDataTestId(menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.replace(DATA_TESTID_SUFFIXES.MENU_PANE, DATA_TESTID_SUFFIXES.MENU_ITEM), String(index));
31
+ const isVisible = useMemo(() => {
32
+ var _context;
33
+
34
+ const searchMatcher = label !== null && label !== void 0 ? label : typeof children === 'string' ? children : undefined;
35
+ return isSearchFilteringDisabled || !searchValue || (searchMatcher === null || searchMatcher === void 0 ? void 0 : _includesInstanceProperty(_context = searchMatcher.toLowerCase()).call(_context, searchValue.toLowerCase()));
36
+ }, [children, searchValue, label, isSearchFilteringDisabled]);
37
+ return isVisible ? /*#__PURE__*/React__default.createElement(Item, _extends({}, rest, {
38
+ asChild: asChild,
39
+ "aria-disabled": isDisabled,
40
+ className: classNames(className, styles.menuItem),
41
+ "data-testid": dataTestId,
42
+ ref: mergeRefs(ref, itemRef) // stop radix from closing the menu on selection of disabled item
43
+ // other pointer and keyboard events still work, even when disabled
44
+ ,
45
+ onSelect: e => isDisabled ? e.preventDefault() : onSelect === null || onSelect === void 0 ? void 0 : onSelect()
46
+ }), (!children || typeof children === 'string') && label ? label : children) : null;
47
+ });
48
+
49
+ export { MenuItem, MenuItem as default };
@@ -0,0 +1,64 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import React__default, { useMemo, useState, useRef } from 'react';
3
+ import { Portal, Content } from '@radix-ui/react-dropdown-menu';
4
+ import styles from './Menu2.js';
5
+ import { usePortalTarget } from '../../components/UIProvider/PortalTargetContext.js';
6
+ import { useMenuContext, PaneContextProvider } from './MenuContext.js';
7
+ import '../../utils/index.js';
8
+ import { DATA_TESTID_SUFFIXES } from './constants.js';
9
+ import { MenuSearch } from './MenuSearch.js';
10
+ import '../../hooks/index.js';
11
+ import useControllableState from '../../hooks/useControllableState/useControllableState.js';
12
+ import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
13
+ import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
14
+
15
+ const MenuPane = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
16
+ let {
17
+ placement,
18
+ children,
19
+ isSearchable,
20
+ searchValue: externalSearchValue,
21
+ onSearchValueChange,
22
+ isSearchFilteringDisabled = false,
23
+ ...rest
24
+ } = _ref;
25
+ const [internalSearchValue, setSearchValue] = useControllableState(externalSearchValue, onSearchValueChange, externalSearchValue);
26
+ const portalTarget = usePortalTarget();
27
+ const [side, align] = useMemo(() => {
28
+ var _placement$split, _placement$split2;
29
+
30
+ return (_placement$split = placement === null || placement === void 0 ? void 0 : (_placement$split2 = placement.split) === null || _placement$split2 === void 0 ? void 0 : _placement$split2.call(placement, '-')) !== null && _placement$split !== void 0 ? _placement$split : [];
31
+ }, [placement]);
32
+ const [items, setItems] = useState([]);
33
+ const {
34
+ dataTestId: rootDataTestId
35
+ } = useMenuContext();
36
+ const dataTestId = getSubDataTestId(rootDataTestId, DATA_TESTID_SUFFIXES.MENU_PANE);
37
+ const paneRef = useRef(null);
38
+ return /*#__PURE__*/React__default.createElement(PaneContextProvider, {
39
+ items: items,
40
+ setItems: setItems,
41
+ value: {
42
+ dataTestId,
43
+ searchValue: internalSearchValue,
44
+ paneRef,
45
+ isSearchFilteringDisabled
46
+ }
47
+ }, /*#__PURE__*/React__default.createElement(Portal, {
48
+ container: portalTarget || undefined
49
+ }, /*#__PURE__*/React__default.createElement(Content, _extends({}, rest, {
50
+ sideOffset: 6,
51
+ loop: true,
52
+ side: side || 'bottom',
53
+ align: align || 'start',
54
+ className: styles.flyout,
55
+ ref: mergeRefs(ref, paneRef),
56
+ "data-testid": dataTestId
57
+ }), isSearchable && /*#__PURE__*/React__default.createElement(MenuSearch, {
58
+ setSearchValue: setSearchValue,
59
+ items: items,
60
+ paneRef: paneRef
61
+ }), children)));
62
+ });
63
+
64
+ export { MenuPane, MenuPane as default };