@qualtrics/ui-react 2.6.0 → 2.7.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 (97) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/__shared/cjs/{index-9ce19e39.js → index-3e06b39f.js} +558 -200
  3. package/dist/__shared/cjs/{index-0b32024d.js → index-e73f4ed3.js} +3 -3
  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/Combobox2.js +3 -3
  11. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  12. package/dist/components/Divider/Divider2.js +3 -3
  13. package/dist/components/Dropdown/Dropdown2.js +3 -3
  14. package/dist/components/FilePicker/FilePicker2.js +3 -3
  15. package/dist/components/FormField/Caption.js +3 -3
  16. package/dist/components/FormField/FormField2.js +3 -3
  17. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  18. package/dist/components/IconButton/IconButton2.js +3 -3
  19. package/dist/components/InlineInput/InlineInput2.js +3 -3
  20. package/dist/components/Input/Input2.js +3 -3
  21. package/dist/components/InputGroup/InputGroup2.js +3 -3
  22. package/dist/components/Label/Label2.js +3 -3
  23. package/dist/components/Link/Link2.js +3 -3
  24. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  25. package/dist/components/LogicEditor/Controls.js +4 -4
  26. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  27. package/dist/components/Menu/Menu.js +112 -0
  28. package/dist/components/Menu/MenuContext.js +11 -0
  29. package/dist/components/Menu/index.js +1 -0
  30. package/dist/components/Modal/Modal2.js +3 -3
  31. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  32. package/dist/components/PageLayout/PageLayout.js +3 -3
  33. package/dist/components/Pagination/Pagination2.js +3 -3
  34. package/dist/components/Popover/Popover2.js +3 -3
  35. package/dist/components/QuickSearch/QuickSearch.js +4 -4
  36. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  37. package/dist/components/QuickSearch/QuickSearchInput.js +1 -1
  38. package/dist/components/Radio/Radio2.js +3 -3
  39. package/dist/components/SearchInput/SearchInput2.js +3 -3
  40. package/dist/components/{NewMenu → SelectMenu}/BaseMenu.js +1 -1
  41. package/dist/components/{NewMenu/SelectMenu → SelectMenu}/SelectMenu.js +1 -1
  42. package/dist/components/SelectMenu/SelectMenu2.js +8 -0
  43. package/dist/components/{NewMenu → SelectMenu}/index.js +1 -2
  44. package/dist/components/{NewMenu → SelectMenu}/parts/ArrowNav/ArrowNav.js +0 -0
  45. package/dist/components/{NewMenu → SelectMenu}/parts/ArrowNav/index.js +0 -0
  46. package/dist/components/{NewMenu → SelectMenu}/parts/MenuAnchor.js +1 -1
  47. package/dist/components/{NewMenu → SelectMenu}/parts/MenuContext.js +0 -0
  48. package/dist/components/SelectMenu/parts/MenuItem.js +76 -0
  49. package/dist/components/{NewMenu → SelectMenu}/parts/MenuSearchBox.js +1 -1
  50. package/dist/components/{NewMenu → SelectMenu}/parts/MenuSpinner.js +1 -1
  51. package/dist/components/{NewMenu → SelectMenu}/parts/SubmenuAnchor.js +1 -1
  52. package/dist/components/{NewMenu → SelectMenu}/parts/index.js +0 -0
  53. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  54. package/dist/components/Slider/Slider2.js +3 -3
  55. package/dist/components/Switch/Switch2.js +3 -3
  56. package/dist/components/Table/Table2.js +3 -3
  57. package/dist/components/Tabs/Tabs2.js +3 -3
  58. package/dist/components/Tooltip/Tooltip2.js +3 -3
  59. package/dist/components/UIProvider/PortalTargetContext.js +1 -1
  60. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  61. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  62. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  63. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  64. package/dist/components/index.js +2 -1
  65. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  66. package/dist/icons/Icon.js +3 -3
  67. package/dist/icons/index.js +1 -1
  68. package/dist/index.es.js +4 -4
  69. package/dist/index.js +202 -103
  70. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  71. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +3 -3
  72. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  73. package/dist/next/Combobox/Combobox2.js +3 -3
  74. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  75. package/dist/next/Input/Input2.js +3 -3
  76. package/dist/next/Menu/Menu.js +28 -0
  77. package/dist/next/Menu/Menu2.js +8 -0
  78. package/dist/next/Menu/MenuButton.js +44 -0
  79. package/dist/next/Menu/MenuContext.js +41 -0
  80. package/dist/next/Menu/MenuItem.js +55 -0
  81. package/dist/next/Menu/MenuPane.js +72 -0
  82. package/dist/next/Menu/MenuSearch.js +105 -0
  83. package/dist/next/Menu/SubMenu.js +84 -0
  84. package/dist/next/Menu/constants.js +9 -0
  85. package/dist/next/Menu/index.js +5 -0
  86. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +3 -3
  87. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  88. package/dist/next/SplitButton/SplitButton2.js +3 -3
  89. package/dist/next/index.js +21 -20
  90. package/dist/utils/Flyout/Flyout2.js +3 -3
  91. package/dist/utils/Translation/useTranslation.js +6 -4
  92. package/package.json +1 -1
  93. package/dist/components/NewMenu/Menu/Menu.js +0 -24
  94. package/dist/components/NewMenu/Menu/index.js +0 -1
  95. package/dist/components/NewMenu/NewMenu.js +0 -8
  96. package/dist/components/NewMenu/SelectMenu/index.js +0 -1
  97. package/dist/components/NewMenu/parts/MenuItem.js +0 -63
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._2FDIk{overflow:auto;position:relative;max-width:100%;max-height:100%}._2FDIk,._F_X1T{background-color:#fff}._F_X1T{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._1JxgJ{margin-bottom:4px}._1v7AJ{position:-webkit-sticky;position:sticky;top:0;z-index:100}._2ZzyJ{display:flex}._2ZzyJ:focus{outline:none}body.keyboard-user ._2ZzyJ:focus ._2tlNG: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 ._2ZzyJ:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2ZzyJ:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2ZzyJ:focus ._2tlNG._1EN22:after{right:-3px;bottom:1px}._WsQb7{padding-right:3px}._2x7dj{display:flex}._2x7dj._1b9uw ._1NL84,._2x7dj._1b9uw ._2tlNG{cursor:pointer}._2x7dj._1Yxhn ._1NL84,._2x7dj._1Yxhn ._2tlNG{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._2x7dj._1Yxhn ._1NL84._1EN22,._2x7dj._1Yxhn ._2tlNG._1EN22{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._2x7dj._1Yxhn ._1NL84._1EN22 ._1NL84,._2x7dj._1Yxhn ._1NL84._1EN22 ._3qPQy,._2x7dj._1Yxhn ._1NL84._1EN22 ._90tca,._2x7dj._1Yxhn ._2tlNG._1EN22 ._1NL84,._2x7dj._1Yxhn ._2tlNG._1EN22 ._3qPQy,._2x7dj._1Yxhn ._2tlNG._1EN22 ._90tca{background-color:rgba(11,110,208,.08)}._2x7dj._1b9uw:hover:not(._1Yxhn):not(._1KySC) ._1NL84,._2x7dj._1b9uw:hover:not(._1Yxhn):not(._1KySC) ._2tlNG{background-color:#f9f9f9}._2x7dj._1b9uw:active:not(._1Yxhn):not(._1KySC) ._1NL84,._2x7dj._1b9uw:active:not(._1Yxhn):not(._1KySC) ._2tlNG{background-color:#f3f3f3}._2x7dj:focus{outline:none}body.keyboard-user ._2x7dj:focus ._2tlNG: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 ._2x7dj:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2x7dj:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2x7dj:focus ._2tlNG._1EN22:after{right:-3px;bottom:0}._2x7dj:last-of-type:focus{outline:none}body.keyboard-user ._2x7dj:last-of-type:focus ._2tlNG: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 ._2x7dj:last-of-type:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2x7dj:last-of-type:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2x7dj:last-of-type:focus ._2tlNG._1EN22:after{right:-3px;bottom:1px}._2x7dj:last-of-type ._90tca:focus{outline:none}body.keyboard-user ._2x7dj:last-of-type ._90tca._1V1AQ:after,body.keyboard-user ._2x7dj:last-of-type ._90tca: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}._2x7dj:first-of-type:focus{outline:none}body.keyboard-user ._2x7dj:first-of-type:focus ._2tlNG: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 ._2x7dj:first-of-type:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2x7dj:first-of-type:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2x7dj:first-of-type:focus ._2tlNG._1EN22:after{right:-3px;bottom:0}._2x7dj:first-of-type ._90tca:focus{outline:none}body.keyboard-user ._2x7dj:first-of-type ._90tca._1V1AQ:after,body.keyboard-user ._2x7dj:first-of-type ._90tca: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}._2qUND{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}._2qUND._l41KZ{flex-grow:1}._2qUND._1PrQW{cursor:pointer}._2qUND._1PrQW:hover:not(._31Y19){background-color:#f9f9f9;border-bottom-color:#6a6d70}._2qUND._1PrQW:active:not(._31Y19){background-color:#f3f3f3}._2qUND._2Pk22:not(._31Y19){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._2qUND._31Y19{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._2qUND ._1LcD0{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._2qUND ._1LcD0._3tj42{left:-1px}._2qUND ._1LcD0._3w0Yy{right:0}._2qUND ._369qF{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._2qUND ._369qF._3tj42{left:-2px}._2qUND ._369qF._3w0Yy{right:-1px}._2qUND:first-of-type ._3tj42._1LcD0{left:0;width:2px;border-left:1px solid #fff}._2qUND:first-of-type ._3tj42._369qF{left:0}._2qUND:last-of-type ._3w0Yy._1LcD0{right:0;width:2px;border-right:1px solid #fff}._2qUND:last-of-type ._3w0Yy._369qF{right:0}._2qUND ._1-GTx{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._2qUND ._1-GTx ._3jtTI{position:absolute;width:2px;right:2px;top:0;bottom:0}._2qUND ._1-GTx ._3jtTI._24XLl{background-color:#0a6ed1}._2qUND ._1-GTx:hover ._3jtTI:not(._24XLl){background-color:#d9d9d9}._2qUND ._1XmDL{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._2qUND ._1XmDL._15WhL{flex-direction:row-reverse;justify-content:flex-start}._2qUND ._1XmDL._15WhL ._15RnZ{margin:1px 7px 1px 1px}._2qUND ._1XmDL ._bTBBB{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._2qUND ._1XmDL ._15RnZ{margin:1px 1px 1px 7px;flex-shrink:0}._2qUND ._1q0Xh{margin-left:6px;margin-right:4px;flex-shrink:0}._2qUND ._3gdF8{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._2qUND:focus{outline:none}body.keyboard-user ._2qUND._1V1AQ:after,body.keyboard-user ._2qUND: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}._29kAJ{margin-right:6px}._1EN22{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._1EN22[focus-within]{z-index:30}._1EN22:focus-within{z-index:30}._90tca{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}._90tca ._6ZVwz{width:100%;padding:12px 12px 11px;overflow:hidden}._90tca._31Y19{background-color:#efefef;border-bottom-color:#dfdfe1}._90tca._l41KZ{flex-grow:1}._90tca:focus{outline:none}body.keyboard-user ._90tca._1V1AQ:after,body.keyboard-user ._90tca: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}._1NL84{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._1NL84._jZ4k_{border-bottom-color:#d9d9d9;background-color:#fff}._3qPQy{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}._3qPQy._jZ4k_{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._3qPQy:focus input~span,._3qPQy:hover input~span{border-color:#0b6ed0}._3qPQy ._1EcZx{position:relative;display:inline-flex}._3qPQy ._1EcZx ._39bAP{margin:0!important}._3qPQy ._1EcZx ._9qy0i{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._3y17w{justify-content:flex-start}._6dcIe{justify-content:center;text-align:center}._15WhL{justify-content:flex-end;text-align:right}._2mLPg{display:none}._2iywI{opacity:0;height:0;width:0;overflow:hidden}._2iywI,._3rPBy{position:absolute}._3rPBy{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._3qHR6{width:246px}";
4
- var styles = {"advancedTable":"_2FDIk","advancedTablePaginationContainer":"_F_X1T","advancedTablePagination":"_1JxgJ","advancedTableColumnHeadersRowGroup":"_1v7AJ","advancedTableColumnHeaders":"_2ZzyJ","advancedTableRowChild":"_2tlNG","pinnedContainer":"_1EN22","advancedTableRowGroup":"_WsQb7","advancedTableRow":"_2x7dj","hasRowAction":"_1b9uw","advancedTableExpandRowSpacer":"_1NL84","isSelected":"_1Yxhn","advancedTableCheckbox":"_3qPQy","advancedTableCell":"_90tca","isCheckboxHovered":"_1KySC","showFocusRing":"_1V1AQ","advancedTableColumnHeader":"_2qUND","fillRemainingSpace":"_l41KZ","isSortable":"_1PrQW","isDragging":"_31Y19","isSorted":"_2Pk22","dropTargetLine":"_1LcD0","dropTargetLeft":"_3tj42","dropTargetRight":"_3w0Yy","dropTargetMarker":"_369qF","resizeHandle":"_1-GTx","resizeLine":"_3jtTI","isResizing":"_24XLl","advancedTableColumnHeaderLabel":"_1XmDL","rightAligned":"_15WhL","sortIcon":"_15RnZ","advancedTableColumnHeaderLabelText":"_bTBBB","advancedTableColumnHeaderMenu":"_1q0Xh","advancedTableColumnHeaderMenuHiddenAnchor":"_3gdF8","advancedTableColumnHeaderMenuItemIcon":"_29kAJ","advancedTableCellContainer":"_6ZVwz","header":"_jZ4k_","checkboxContainer":"_1EcZx","checkbox":"_39bAP","mixed":"_9qy0i","leftAligned":"_3y17w","centerAligned":"_6dcIe","hiddenDescription":"_2mLPg","hiddenLiveRegion":"_2iywI","dragPreview":"_3rPBy","rowActionMenuPane":"_3qHR6"};
5
- var stylesheet="._2FDIk{overflow:auto;position:relative;max-width:100%;max-height:100%}._2FDIk,._F_X1T{background-color:#fff}._F_X1T{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._1JxgJ{margin-bottom:4px}._1v7AJ{position:-webkit-sticky;position:sticky;top:0;z-index:100}._2ZzyJ{display:flex}._2ZzyJ:focus{outline:none}body.keyboard-user ._2ZzyJ:focus ._2tlNG: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 ._2ZzyJ:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2ZzyJ:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2ZzyJ:focus ._2tlNG._1EN22:after{right:-3px;bottom:1px}._WsQb7{padding-right:3px}._2x7dj{display:flex}._2x7dj._1b9uw ._1NL84,._2x7dj._1b9uw ._2tlNG{cursor:pointer}._2x7dj._1Yxhn ._1NL84,._2x7dj._1Yxhn ._2tlNG{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._2x7dj._1Yxhn ._1NL84._1EN22,._2x7dj._1Yxhn ._2tlNG._1EN22{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._2x7dj._1Yxhn ._1NL84._1EN22 ._1NL84,._2x7dj._1Yxhn ._1NL84._1EN22 ._3qPQy,._2x7dj._1Yxhn ._1NL84._1EN22 ._90tca,._2x7dj._1Yxhn ._2tlNG._1EN22 ._1NL84,._2x7dj._1Yxhn ._2tlNG._1EN22 ._3qPQy,._2x7dj._1Yxhn ._2tlNG._1EN22 ._90tca{background-color:rgba(11,110,208,.08)}._2x7dj._1b9uw:hover:not(._1Yxhn):not(._1KySC) ._1NL84,._2x7dj._1b9uw:hover:not(._1Yxhn):not(._1KySC) ._2tlNG{background-color:#f9f9f9}._2x7dj._1b9uw:active:not(._1Yxhn):not(._1KySC) ._1NL84,._2x7dj._1b9uw:active:not(._1Yxhn):not(._1KySC) ._2tlNG{background-color:#f3f3f3}._2x7dj:focus{outline:none}body.keyboard-user ._2x7dj:focus ._2tlNG: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 ._2x7dj:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2x7dj:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2x7dj:focus ._2tlNG._1EN22:after{right:-3px;bottom:0}._2x7dj:last-of-type:focus{outline:none}body.keyboard-user ._2x7dj:last-of-type:focus ._2tlNG: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 ._2x7dj:last-of-type:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2x7dj:last-of-type:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2x7dj:last-of-type:focus ._2tlNG._1EN22:after{right:-3px;bottom:1px}._2x7dj:last-of-type ._90tca:focus{outline:none}body.keyboard-user ._2x7dj:last-of-type ._90tca._1V1AQ:after,body.keyboard-user ._2x7dj:last-of-type ._90tca: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}._2x7dj:first-of-type:focus{outline:none}body.keyboard-user ._2x7dj:first-of-type:focus ._2tlNG: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 ._2x7dj:first-of-type:focus ._2tlNG:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2x7dj:first-of-type:focus ._2tlNG:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2x7dj:first-of-type:focus ._2tlNG._1EN22:after{right:-3px;bottom:0}._2x7dj:first-of-type ._90tca:focus{outline:none}body.keyboard-user ._2x7dj:first-of-type ._90tca._1V1AQ:after,body.keyboard-user ._2x7dj:first-of-type ._90tca: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}._2qUND{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}._2qUND._l41KZ{flex-grow:1}._2qUND._1PrQW{cursor:pointer}._2qUND._1PrQW:hover:not(._31Y19){background-color:#f9f9f9;border-bottom-color:#6a6d70}._2qUND._1PrQW:active:not(._31Y19){background-color:#f3f3f3}._2qUND._2Pk22:not(._31Y19){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._2qUND._31Y19{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._2qUND ._1LcD0{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._2qUND ._1LcD0._3tj42{left:-1px}._2qUND ._1LcD0._3w0Yy{right:0}._2qUND ._369qF{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._2qUND ._369qF._3tj42{left:-2px}._2qUND ._369qF._3w0Yy{right:-1px}._2qUND:first-of-type ._3tj42._1LcD0{left:0;width:2px;border-left:1px solid #fff}._2qUND:first-of-type ._3tj42._369qF{left:0}._2qUND:last-of-type ._3w0Yy._1LcD0{right:0;width:2px;border-right:1px solid #fff}._2qUND:last-of-type ._3w0Yy._369qF{right:0}._2qUND ._1-GTx{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._2qUND ._1-GTx ._3jtTI{position:absolute;width:2px;right:2px;top:0;bottom:0}._2qUND ._1-GTx ._3jtTI._24XLl{background-color:#0a6ed1}._2qUND ._1-GTx:hover ._3jtTI:not(._24XLl){background-color:#d9d9d9}._2qUND ._1XmDL{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._2qUND ._1XmDL._15WhL{flex-direction:row-reverse;justify-content:flex-start}._2qUND ._1XmDL._15WhL ._15RnZ{margin:1px 7px 1px 1px}._2qUND ._1XmDL ._bTBBB{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._2qUND ._1XmDL ._15RnZ{margin:1px 1px 1px 7px;flex-shrink:0}._2qUND ._1q0Xh{margin-left:6px;margin-right:4px;flex-shrink:0}._2qUND ._3gdF8{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._2qUND:focus{outline:none}body.keyboard-user ._2qUND._1V1AQ:after,body.keyboard-user ._2qUND: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}._29kAJ{margin-right:6px}._1EN22{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._1EN22[focus-within]{z-index:30}._1EN22:focus-within{z-index:30}._90tca{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}._90tca ._6ZVwz{width:100%;padding:12px 12px 11px;overflow:hidden}._90tca._31Y19{background-color:#efefef;border-bottom-color:#dfdfe1}._90tca._l41KZ{flex-grow:1}._90tca:focus{outline:none}body.keyboard-user ._90tca._1V1AQ:after,body.keyboard-user ._90tca: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}._1NL84{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._1NL84._jZ4k_{border-bottom-color:#d9d9d9;background-color:#fff}._3qPQy{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}._3qPQy._jZ4k_{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._3qPQy:focus input~span,._3qPQy:hover input~span{border-color:#0b6ed0}._3qPQy ._1EcZx{position:relative;display:inline-flex}._3qPQy ._1EcZx ._39bAP{margin:0!important}._3qPQy ._1EcZx ._9qy0i{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._3y17w{justify-content:flex-start}._6dcIe{justify-content:center;text-align:center}._15WhL{justify-content:flex-end;text-align:right}._2mLPg{display:none}._2iywI{opacity:0;height:0;width:0;overflow:hidden}._2iywI,._3rPBy{position:absolute}._3rPBy{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._3qHR6{width:246px}";
3
+ var css_248z = "._bOLpB{overflow:auto;position:relative;max-width:100%;max-height:100%}._2Lhcf,._bOLpB{background-color:#fff}._2Lhcf{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._1DMQM{margin-bottom:4px}._3z6h-{position:-webkit-sticky;position:sticky;top:0;z-index:100}._2P20I{display:flex}._2P20I:focus{outline:none}body.keyboard-user ._2P20I:focus ._2Jl90: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 ._2P20I:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2P20I:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2P20I:focus ._2Jl90._1pI35:after{right:-3px;bottom:1px}._3Cgnw{padding-right:3px}._6O2XX{display:flex}._6O2XX._2cbSf ._2Jl90,._6O2XX._2cbSf ._3PvoG{cursor:pointer}._6O2XX._2sDY9 ._2Jl90,._6O2XX._2sDY9 ._3PvoG{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._6O2XX._2sDY9 ._2Jl90._1pI35,._6O2XX._2sDY9 ._3PvoG._1pI35{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._6O2XX._2sDY9 ._2Jl90._1pI35 ._1ZBZ_,._6O2XX._2sDY9 ._2Jl90._1pI35 ._2yVLb,._6O2XX._2sDY9 ._2Jl90._1pI35 ._3PvoG,._6O2XX._2sDY9 ._3PvoG._1pI35 ._1ZBZ_,._6O2XX._2sDY9 ._3PvoG._1pI35 ._2yVLb,._6O2XX._2sDY9 ._3PvoG._1pI35 ._3PvoG{background-color:rgba(11,110,208,.08)}._6O2XX._2cbSf:hover:not(._2sDY9):not(._fD-wp) ._2Jl90,._6O2XX._2cbSf:hover:not(._2sDY9):not(._fD-wp) ._3PvoG{background-color:#f9f9f9}._6O2XX._2cbSf:active:not(._2sDY9):not(._fD-wp) ._2Jl90,._6O2XX._2cbSf:active:not(._2sDY9):not(._fD-wp) ._3PvoG{background-color:#f3f3f3}._6O2XX:focus{outline:none}body.keyboard-user ._6O2XX:focus ._2Jl90: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 ._6O2XX:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._6O2XX:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._6O2XX:focus ._2Jl90._1pI35:after{right:-3px;bottom:0}._6O2XX:last-of-type:focus{outline:none}body.keyboard-user ._6O2XX:last-of-type:focus ._2Jl90: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 ._6O2XX:last-of-type:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._6O2XX:last-of-type:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._6O2XX:last-of-type:focus ._2Jl90._1pI35:after{right:-3px;bottom:1px}._6O2XX:last-of-type ._2yVLb:focus{outline:none}body.keyboard-user ._6O2XX:last-of-type ._2yVLb._3gyrl:after,body.keyboard-user ._6O2XX:last-of-type ._2yVLb: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}._6O2XX:first-of-type:focus{outline:none}body.keyboard-user ._6O2XX:first-of-type:focus ._2Jl90: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 ._6O2XX:first-of-type:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._6O2XX:first-of-type:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._6O2XX:first-of-type:focus ._2Jl90._1pI35:after{right:-3px;bottom:0}._6O2XX:first-of-type ._2yVLb:focus{outline:none}body.keyboard-user ._6O2XX:first-of-type ._2yVLb._3gyrl:after,body.keyboard-user ._6O2XX:first-of-type ._2yVLb: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}._3zKw_{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}._3zKw_._3xpZB{flex-grow:1}._3zKw_._MxRfb{cursor:pointer}._3zKw_._MxRfb:hover:not(._3kYkn){background-color:#f9f9f9;border-bottom-color:#6a6d70}._3zKw_._MxRfb:active:not(._3kYkn){background-color:#f3f3f3}._3zKw_._1TVJw:not(._3kYkn){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._3zKw_._3kYkn{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._3zKw_ ._DlJia{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._3zKw_ ._DlJia._BTsgi{left:-1px}._3zKw_ ._DlJia._3cQ6f{right:0}._3zKw_ ._OPIQA{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._3zKw_ ._OPIQA._BTsgi{left:-2px}._3zKw_ ._OPIQA._3cQ6f{right:-1px}._3zKw_:first-of-type ._BTsgi._DlJia{left:0;width:2px;border-left:1px solid #fff}._3zKw_:first-of-type ._BTsgi._OPIQA{left:0}._3zKw_:last-of-type ._3cQ6f._DlJia{right:0;width:2px;border-right:1px solid #fff}._3zKw_:last-of-type ._3cQ6f._OPIQA{right:0}._3zKw_ ._2IWrz{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._3zKw_ ._2IWrz ._hJhG5{position:absolute;width:2px;right:2px;top:0;bottom:0}._3zKw_ ._2IWrz ._hJhG5._3RJU1{background-color:#0a6ed1}._3zKw_ ._2IWrz:hover ._hJhG5:not(._3RJU1){background-color:#d9d9d9}._3zKw_ ._rpHpB{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._3zKw_ ._rpHpB._1twO_{flex-direction:row-reverse;justify-content:flex-start}._3zKw_ ._rpHpB._1twO_ ._3nfem{margin:1px 7px 1px 1px}._3zKw_ ._rpHpB ._VIAg5{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._3zKw_ ._rpHpB ._3nfem{margin:1px 1px 1px 7px;flex-shrink:0}._3zKw_ ._2Oxfm{margin-left:6px;margin-right:4px;flex-shrink:0}._3zKw_ ._1mgH9{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._3zKw_:focus{outline:none}body.keyboard-user ._3zKw_._3gyrl:after,body.keyboard-user ._3zKw_: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}._2pgR4{margin-right:6px}._1pI35{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._1pI35[focus-within]{z-index:30}._1pI35:focus-within{z-index:30}._2yVLb{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}._2yVLb ._3YGQ4{width:100%;padding:12px 12px 11px;overflow:hidden}._2yVLb._3kYkn{background-color:#efefef;border-bottom-color:#dfdfe1}._2yVLb._3xpZB{flex-grow:1}._2yVLb:focus{outline:none}body.keyboard-user ._2yVLb._3gyrl:after,body.keyboard-user ._2yVLb: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}._3PvoG{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._3PvoG._3YQy7{border-bottom-color:#d9d9d9;background-color:#fff}._1ZBZ_{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}._1ZBZ_._3YQy7{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._1ZBZ_:focus input~span,._1ZBZ_:hover input~span{border-color:#0b6ed0}._1ZBZ_ ._2AX_E{position:relative;display:inline-flex}._1ZBZ_ ._2AX_E ._1LXgP{margin:0!important}._1ZBZ_ ._2AX_E ._2wbqM{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._2AEr-{justify-content:flex-start}._xwiqD{justify-content:center;text-align:center}._1twO_{justify-content:flex-end;text-align:right}._2wXnt{display:none}._1GICv{opacity:0;height:0;width:0;overflow:hidden}._1GICv,._1ydfx{position:absolute}._1ydfx{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._1iot-{width:246px}";
4
+ var styles = {"advancedTable":"_bOLpB","advancedTablePaginationContainer":"_2Lhcf","advancedTablePagination":"_1DMQM","advancedTableColumnHeadersRowGroup":"_3z6h-","advancedTableColumnHeaders":"_2P20I","advancedTableRowChild":"_2Jl90","pinnedContainer":"_1pI35","advancedTableRowGroup":"_3Cgnw","advancedTableRow":"_6O2XX","hasRowAction":"_2cbSf","advancedTableExpandRowSpacer":"_3PvoG","isSelected":"_2sDY9","advancedTableCheckbox":"_1ZBZ_","advancedTableCell":"_2yVLb","isCheckboxHovered":"_fD-wp","showFocusRing":"_3gyrl","advancedTableColumnHeader":"_3zKw_","fillRemainingSpace":"_3xpZB","isSortable":"_MxRfb","isDragging":"_3kYkn","isSorted":"_1TVJw","dropTargetLine":"_DlJia","dropTargetLeft":"_BTsgi","dropTargetRight":"_3cQ6f","dropTargetMarker":"_OPIQA","resizeHandle":"_2IWrz","resizeLine":"_hJhG5","isResizing":"_3RJU1","advancedTableColumnHeaderLabel":"_rpHpB","rightAligned":"_1twO_","sortIcon":"_3nfem","advancedTableColumnHeaderLabelText":"_VIAg5","advancedTableColumnHeaderMenu":"_2Oxfm","advancedTableColumnHeaderMenuHiddenAnchor":"_1mgH9","advancedTableColumnHeaderMenuItemIcon":"_2pgR4","advancedTableCellContainer":"_3YGQ4","header":"_3YQy7","checkboxContainer":"_2AX_E","checkbox":"_1LXgP","mixed":"_2wbqM","leftAligned":"_2AEr-","centerAligned":"_xwiqD","hiddenDescription":"_2wXnt","hiddenLiveRegion":"_1GICv","dragPreview":"_1ydfx","rowActionMenuPane":"_1iot-"};
5
+ var stylesheet="._bOLpB{overflow:auto;position:relative;max-width:100%;max-height:100%}._2Lhcf,._bOLpB{background-color:#fff}._2Lhcf{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._1DMQM{margin-bottom:4px}._3z6h-{position:-webkit-sticky;position:sticky;top:0;z-index:100}._2P20I{display:flex}._2P20I:focus{outline:none}body.keyboard-user ._2P20I:focus ._2Jl90: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 ._2P20I:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._2P20I:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._2P20I:focus ._2Jl90._1pI35:after{right:-3px;bottom:1px}._3Cgnw{padding-right:3px}._6O2XX{display:flex}._6O2XX._2cbSf ._2Jl90,._6O2XX._2cbSf ._3PvoG{cursor:pointer}._6O2XX._2sDY9 ._2Jl90,._6O2XX._2sDY9 ._3PvoG{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._6O2XX._2sDY9 ._2Jl90._1pI35,._6O2XX._2sDY9 ._3PvoG._1pI35{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._6O2XX._2sDY9 ._2Jl90._1pI35 ._1ZBZ_,._6O2XX._2sDY9 ._2Jl90._1pI35 ._2yVLb,._6O2XX._2sDY9 ._2Jl90._1pI35 ._3PvoG,._6O2XX._2sDY9 ._3PvoG._1pI35 ._1ZBZ_,._6O2XX._2sDY9 ._3PvoG._1pI35 ._2yVLb,._6O2XX._2sDY9 ._3PvoG._1pI35 ._3PvoG{background-color:rgba(11,110,208,.08)}._6O2XX._2cbSf:hover:not(._2sDY9):not(._fD-wp) ._2Jl90,._6O2XX._2cbSf:hover:not(._2sDY9):not(._fD-wp) ._3PvoG{background-color:#f9f9f9}._6O2XX._2cbSf:active:not(._2sDY9):not(._fD-wp) ._2Jl90,._6O2XX._2cbSf:active:not(._2sDY9):not(._fD-wp) ._3PvoG{background-color:#f3f3f3}._6O2XX:focus{outline:none}body.keyboard-user ._6O2XX:focus ._2Jl90: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 ._6O2XX:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._6O2XX:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._6O2XX:focus ._2Jl90._1pI35:after{right:-3px;bottom:0}._6O2XX:last-of-type:focus{outline:none}body.keyboard-user ._6O2XX:last-of-type:focus ._2Jl90: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 ._6O2XX:last-of-type:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._6O2XX:last-of-type:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._6O2XX:last-of-type:focus ._2Jl90._1pI35:after{right:-3px;bottom:1px}._6O2XX:last-of-type ._2yVLb:focus{outline:none}body.keyboard-user ._6O2XX:last-of-type ._2yVLb._3gyrl:after,body.keyboard-user ._6O2XX:last-of-type ._2yVLb: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}._6O2XX:first-of-type:focus{outline:none}body.keyboard-user ._6O2XX:first-of-type:focus ._2Jl90: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 ._6O2XX:first-of-type:focus ._2Jl90:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._6O2XX:first-of-type:focus ._2Jl90:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._6O2XX:first-of-type:focus ._2Jl90._1pI35:after{right:-3px;bottom:0}._6O2XX:first-of-type ._2yVLb:focus{outline:none}body.keyboard-user ._6O2XX:first-of-type ._2yVLb._3gyrl:after,body.keyboard-user ._6O2XX:first-of-type ._2yVLb: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}._3zKw_{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}._3zKw_._3xpZB{flex-grow:1}._3zKw_._MxRfb{cursor:pointer}._3zKw_._MxRfb:hover:not(._3kYkn){background-color:#f9f9f9;border-bottom-color:#6a6d70}._3zKw_._MxRfb:active:not(._3kYkn){background-color:#f3f3f3}._3zKw_._1TVJw:not(._3kYkn){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._3zKw_._3kYkn{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._3zKw_ ._DlJia{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._3zKw_ ._DlJia._BTsgi{left:-1px}._3zKw_ ._DlJia._3cQ6f{right:0}._3zKw_ ._OPIQA{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._3zKw_ ._OPIQA._BTsgi{left:-2px}._3zKw_ ._OPIQA._3cQ6f{right:-1px}._3zKw_:first-of-type ._BTsgi._DlJia{left:0;width:2px;border-left:1px solid #fff}._3zKw_:first-of-type ._BTsgi._OPIQA{left:0}._3zKw_:last-of-type ._3cQ6f._DlJia{right:0;width:2px;border-right:1px solid #fff}._3zKw_:last-of-type ._3cQ6f._OPIQA{right:0}._3zKw_ ._2IWrz{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._3zKw_ ._2IWrz ._hJhG5{position:absolute;width:2px;right:2px;top:0;bottom:0}._3zKw_ ._2IWrz ._hJhG5._3RJU1{background-color:#0a6ed1}._3zKw_ ._2IWrz:hover ._hJhG5:not(._3RJU1){background-color:#d9d9d9}._3zKw_ ._rpHpB{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._3zKw_ ._rpHpB._1twO_{flex-direction:row-reverse;justify-content:flex-start}._3zKw_ ._rpHpB._1twO_ ._3nfem{margin:1px 7px 1px 1px}._3zKw_ ._rpHpB ._VIAg5{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._3zKw_ ._rpHpB ._3nfem{margin:1px 1px 1px 7px;flex-shrink:0}._3zKw_ ._2Oxfm{margin-left:6px;margin-right:4px;flex-shrink:0}._3zKw_ ._1mgH9{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._3zKw_:focus{outline:none}body.keyboard-user ._3zKw_._3gyrl:after,body.keyboard-user ._3zKw_: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}._2pgR4{margin-right:6px}._1pI35{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._1pI35[focus-within]{z-index:30}._1pI35:focus-within{z-index:30}._2yVLb{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}._2yVLb ._3YGQ4{width:100%;padding:12px 12px 11px;overflow:hidden}._2yVLb._3kYkn{background-color:#efefef;border-bottom-color:#dfdfe1}._2yVLb._3xpZB{flex-grow:1}._2yVLb:focus{outline:none}body.keyboard-user ._2yVLb._3gyrl:after,body.keyboard-user ._2yVLb: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}._3PvoG{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._3PvoG._3YQy7{border-bottom-color:#d9d9d9;background-color:#fff}._1ZBZ_{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}._1ZBZ_._3YQy7{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._1ZBZ_:focus input~span,._1ZBZ_:hover input~span{border-color:#0b6ed0}._1ZBZ_ ._2AX_E{position:relative;display:inline-flex}._1ZBZ_ ._2AX_E ._1LXgP{margin:0!important}._1ZBZ_ ._2AX_E ._2wbqM{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._2AEr-{justify-content:flex-start}._xwiqD{justify-content:center;text-align:center}._1twO_{justify-content:flex-end;text-align:right}._2wXnt{display:none}._1GICv{opacity:0;height:0;width:0;overflow:hidden}._1GICv,._1ydfx{position:absolute}._1ydfx{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._1iot-{width:246px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -2,18 +2,18 @@ import _extends from '@babel/runtime-corejs3/helpers/extends';
2
2
  import React__default from 'react';
3
3
  import { SortDirections } from './AdvancedTableTypes.js';
4
4
  import styles from './AdvancedTable2.js';
5
- import '../../components/NewMenu/index.js';
5
+ import '../../components/SelectMenu/index.js';
6
6
  import '../../components/Divider/index.js';
7
7
  import '../../icons/index.es.js';
8
8
  import '../../utils/index.js';
9
9
  import '../../hooks/index.js';
10
10
  import useTranslation from '../../utils/Translation/useTranslation.js';
11
11
  import useId from '../../hooks/useId/useId.js';
12
- import MenuItem from '../../components/NewMenu/parts/MenuItem.js';
12
+ import MenuItem from '../../components/SelectMenu/parts/MenuItem.js';
13
13
  import UnpinIcon from '../../icons/components/UnpinIcon.js';
14
14
  import PinIcon from '../../icons/components/PinIcon.js';
15
15
  import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
16
- import SelectMenu from '../../components/NewMenu/SelectMenu/SelectMenu.js';
16
+ import SelectMenu from '../../components/SelectMenu/SelectMenu.js';
17
17
  import ArrowUpIcon from '../../icons/components/ArrowUpIcon.js';
18
18
  import ArrowDownIcon from '../../icons/components/ArrowDownIcon.js';
19
19
  import Divider from '../../components/Divider/Divider.js';
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._2V46t{display:inline-block;width:36px;transition:width .25s ease-out}._GgjAJ{width:100%}._1R2Ko>input{padding-right:0!important}._2mtOU>svg{fill:#515559}";
4
- var styles = {"collapsibleSearchInput":"_2V46t","searchInput":"_GgjAJ","searchInputCollapsed":"_1R2Ko","iconButton":"_2mtOU"};
5
- var stylesheet="._2V46t{display:inline-block;width:36px;transition:width .25s ease-out}._GgjAJ{width:100%}._1R2Ko>input{padding-right:0!important}._2mtOU>svg{fill:#515559}";
3
+ var css_248z = "._3t-TA{display:inline-block;width:36px;transition:width .25s ease-out}._EDb5c{width:100%}._2ihZr>input{padding-right:0!important}._1Rby2>svg{fill:#515559}";
4
+ var styles = {"collapsibleSearchInput":"_3t-TA","searchInput":"_EDb5c","searchInputCollapsed":"_2ihZr","iconButton":"_1Rby2"};
5
+ var stylesheet="._3t-TA{display:inline-block;width:36px;transition:width .25s ease-out}._EDb5c{width:100%}._2ihZr>input{padding-right:0!important}._1Rby2>svg{fill:#515559}";
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 = "._2WWYu :after{background-color:#515559!important}._UMsLi{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}._UMsLi ._3-XWQ ._rmAff{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}._UMsLi ._3-XWQ:first-child ._17uM4{display:none}._UMsLi ._2hjnQ{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._UMsLi ._2hjnQ:hover{background-color:#efefef}._UMsLi ._2hjnQ:hover._3yk2m{background-color:#e4effa}._UMsLi ._2hjnQ._3yk2m{background-color:#ebf3fb}._UMsLi ._2hjnQ:active:not(._3yk2m){background-color:#e8e9e9}";
4
- var styles = {"loadingSpinner":"_2WWYu","flyout":"_UMsLi","group":"_3-XWQ","header":"_rmAff","divider":"_17uM4","option":"_2hjnQ","selected":"_3yk2m"};
5
- var stylesheet="._2WWYu :after{background-color:#515559!important}._UMsLi{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}._UMsLi ._3-XWQ ._rmAff{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}._UMsLi ._3-XWQ:first-child ._17uM4{display:none}._UMsLi ._2hjnQ{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._UMsLi ._2hjnQ:hover{background-color:#efefef}._UMsLi ._2hjnQ:hover._3yk2m{background-color:#e4effa}._UMsLi ._2hjnQ._3yk2m{background-color:#ebf3fb}._UMsLi ._2hjnQ:active:not(._3yk2m){background-color:#e8e9e9}";
3
+ var css_248z = "._1TeZ5 :after{background-color:#515559!important}._1033O{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}._1033O ._7bC33 ._2A0iO{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}._1033O ._7bC33:first-child ._OXo1s{display:none}._1033O ._1b4WZ{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._1033O ._1b4WZ:hover{background-color:#efefef}._1033O ._1b4WZ:hover._1wST8{background-color:#e4effa}._1033O ._1b4WZ._1wST8{background-color:#ebf3fb}._1033O ._1b4WZ:active:not(._1wST8){background-color:#e8e9e9}";
4
+ var styles = {"loadingSpinner":"_1TeZ5","flyout":"_1033O","group":"_7bC33","header":"_2A0iO","divider":"_OXo1s","option":"_1b4WZ","selected":"_1wST8"};
5
+ var stylesheet="._1TeZ5 :after{background-color:#515559!important}._1033O{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}._1033O ._7bC33 ._2A0iO{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}._1033O ._7bC33:first-child ._OXo1s{display:none}._1033O ._1b4WZ{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._1033O ._1b4WZ:hover{background-color:#efefef}._1033O ._1b4WZ:hover._1wST8{background-color:#e4effa}._1033O ._1b4WZ._1wST8{background-color:#ebf3fb}._1033O ._1b4WZ:active:not(._1wST8){background-color:#e8e9e9}";
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 = "._1ZMvd{display:flex;justify-content:space-between;align-items:center;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}._1ZMvd:hover:not(._1cO5J){background-color:rgba(50,54,58,.08)}._1ZMvd:hover:not(._1cO5J)._Rh_m8{border-color:#085caf;background-color:rgba(11,110,208,.04)}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._3nhxv{color:#32363a}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._IYIRK{fill:#32363a}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._2KicU{fill:#085caf}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._19_kv{background-color:rgba(11,110,208,.11)}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._19_kv ._EdTZG{color:#085caf}._1ZMvd:active:not(._1cO5J){background-color:#e8e9e9}._1ZMvd:active:not(._1cO5J)._Rh_m8{background-color:rgba(11,110,208,.11);border-color:#0854a1}._1ZMvd:active:not(._1cO5J)._Rh_m8 ._2KicU{fill:#0854a1}._1ZMvd:active:not(._1cO5J)._Rh_m8 ._19_kv{background-color:rgba(11,110,208,.11)}._1ZMvd:active:not(._1cO5J)._Rh_m8 ._19_kv ._EdTZG{color:#0854a1}._1ZMvd._1cO5J{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._1ZMvd._Rh_m8{border-color:#0b6ed0}._IYIRK{fill:#515559;margin-right:4px}._3nhxv{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._3nhxv+._19_kv{margin-left:6px}._3nhxv._1cO5J{color:#74777a}._19_kv{display:flex;justify-content:center;align-items:center;max-width:350px;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._EdTZG{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._2KicU{fill:#515559}._2KicU._1cO5J,._2KicU._1cO5J._Rh_m8{fill:rgba(116,119,122,.4)}._2KicU._Rh_m8{fill:#0b6ed0}._2KicU._3u6vd{transform:rotate(-180deg)}body.keyboard-user ._1ZMvd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"button":"_1ZMvd","disabled":"_1cO5J","selected":"_Rh_m8","label":"_3nhxv","lockIcon":"_IYIRK","chevronIcon":"_2KicU","selectedFiltersContainer":"_19_kv","selectedFilters":"_EdTZG","open":"_3u6vd"};
5
- var stylesheet="._1ZMvd{display:flex;justify-content:space-between;align-items:center;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}._1ZMvd:hover:not(._1cO5J){background-color:rgba(50,54,58,.08)}._1ZMvd:hover:not(._1cO5J)._Rh_m8{border-color:#085caf;background-color:rgba(11,110,208,.04)}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._3nhxv{color:#32363a}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._IYIRK{fill:#32363a}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._2KicU{fill:#085caf}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._19_kv{background-color:rgba(11,110,208,.11)}._1ZMvd:hover:not(._1cO5J)._Rh_m8 ._19_kv ._EdTZG{color:#085caf}._1ZMvd:active:not(._1cO5J){background-color:#e8e9e9}._1ZMvd:active:not(._1cO5J)._Rh_m8{background-color:rgba(11,110,208,.11);border-color:#0854a1}._1ZMvd:active:not(._1cO5J)._Rh_m8 ._2KicU{fill:#0854a1}._1ZMvd:active:not(._1cO5J)._Rh_m8 ._19_kv{background-color:rgba(11,110,208,.11)}._1ZMvd:active:not(._1cO5J)._Rh_m8 ._19_kv ._EdTZG{color:#0854a1}._1ZMvd._1cO5J{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._1ZMvd._Rh_m8{border-color:#0b6ed0}._IYIRK{fill:#515559;margin-right:4px}._3nhxv{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._3nhxv+._19_kv{margin-left:6px}._3nhxv._1cO5J{color:#74777a}._19_kv{display:flex;justify-content:center;align-items:center;max-width:350px;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._EdTZG{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._2KicU{fill:#515559}._2KicU._1cO5J,._2KicU._1cO5J._Rh_m8{fill:rgba(116,119,122,.4)}._2KicU._Rh_m8{fill:#0b6ed0}._2KicU._3u6vd{transform:rotate(-180deg)}body.keyboard-user ._1ZMvd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._1H5mr{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}._1H5mr:hover:not(._KNkkj){background-color:rgba(50,54,58,.08)}._1H5mr:hover:not(._KNkkj)._19GYG{border-color:#085caf;background-color:rgba(11,110,208,.04)}._1H5mr:hover:not(._KNkkj)._19GYG ._3daq0{color:#32363a}._1H5mr:hover:not(._KNkkj)._19GYG ._3ywfl{fill:#32363a}._1H5mr:hover:not(._KNkkj)._19GYG ._3Kc2R{fill:#085caf}._1H5mr:hover:not(._KNkkj)._19GYG ._3LXHN{background-color:rgba(11,110,208,.11)}._1H5mr:hover:not(._KNkkj)._19GYG ._3LXHN ._3FjLx{color:#085caf}._1H5mr:active:not(._KNkkj){background-color:#e8e9e9}._1H5mr:active:not(._KNkkj)._19GYG{background-color:rgba(11,110,208,.11);border-color:#0854a1}._1H5mr:active:not(._KNkkj)._19GYG ._3Kc2R{fill:#0854a1}._1H5mr:active:not(._KNkkj)._19GYG ._3LXHN{background-color:rgba(11,110,208,.11)}._1H5mr:active:not(._KNkkj)._19GYG ._3LXHN ._3FjLx{color:#0854a1}._1H5mr._KNkkj{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._1H5mr._19GYG{border-color:#0b6ed0}._3ywfl{fill:#515559;margin-right:4px}._3daq0{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._3daq0+._3LXHN{margin-left:6px}._3daq0._KNkkj{color:#74777a}._3LXHN{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}._3FjLx{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._3Kc2R{fill:#515559}._3Kc2R._KNkkj,._3Kc2R._KNkkj._19GYG{fill:rgba(116,119,122,.4)}._3Kc2R._19GYG{fill:#0b6ed0}._3Kc2R._3bpDD{transform:rotate(-180deg)}body.keyboard-user ._1H5mr:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"button":"_1H5mr","disabled":"_KNkkj","selected":"_19GYG","label":"_3daq0","lockIcon":"_3ywfl","chevronIcon":"_3Kc2R","selectedFiltersContainer":"_3LXHN","selectedFilters":"_3FjLx","open":"_3bpDD"};
5
+ var stylesheet="._1H5mr{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}._1H5mr:hover:not(._KNkkj){background-color:rgba(50,54,58,.08)}._1H5mr:hover:not(._KNkkj)._19GYG{border-color:#085caf;background-color:rgba(11,110,208,.04)}._1H5mr:hover:not(._KNkkj)._19GYG ._3daq0{color:#32363a}._1H5mr:hover:not(._KNkkj)._19GYG ._3ywfl{fill:#32363a}._1H5mr:hover:not(._KNkkj)._19GYG ._3Kc2R{fill:#085caf}._1H5mr:hover:not(._KNkkj)._19GYG ._3LXHN{background-color:rgba(11,110,208,.11)}._1H5mr:hover:not(._KNkkj)._19GYG ._3LXHN ._3FjLx{color:#085caf}._1H5mr:active:not(._KNkkj){background-color:#e8e9e9}._1H5mr:active:not(._KNkkj)._19GYG{background-color:rgba(11,110,208,.11);border-color:#0854a1}._1H5mr:active:not(._KNkkj)._19GYG ._3Kc2R{fill:#0854a1}._1H5mr:active:not(._KNkkj)._19GYG ._3LXHN{background-color:rgba(11,110,208,.11)}._1H5mr:active:not(._KNkkj)._19GYG ._3LXHN ._3FjLx{color:#0854a1}._1H5mr._KNkkj{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._1H5mr._19GYG{border-color:#0b6ed0}._3ywfl{fill:#515559;margin-right:4px}._3daq0{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._3daq0+._3LXHN{margin-left:6px}._3daq0._KNkkj{color:#74777a}._3LXHN{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}._3FjLx{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._3Kc2R{fill:#515559}._3Kc2R._KNkkj,._3Kc2R._KNkkj._19GYG{fill:rgba(116,119,122,.4)}._3Kc2R._19GYG{fill:#0b6ed0}._3Kc2R._3bpDD{transform:rotate(-180deg)}body.keyboard-user ._1H5mr: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 = "._3sZOC{position:relative;display:inline-block;height:36px}._1AYJT{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}._1AYJT:hover{cursor:pointer;background-color:#f5f5f5}._1AYJT:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._1AYJT:disabled,._1AYJT[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._1AYJT:disabled::-moz-placeholder,._1AYJT[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1AYJT:disabled::placeholder,._1AYJT[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1AYJT:invalid,._1AYJT[aria-invalid=true]{border-color:#b00}._1AYJT:invalid:focus,._1AYJT[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._1AYJT[type=number]{-moz-appearance:textfield}._1AYJT[type=number]::-webkit-inner-spin-button,._1AYJT[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1AYJT::-moz-placeholder{color:#515559;opacity:1}._1AYJT::placeholder{color:#515559;opacity:1}._2egRd{pointer-events:none;color:#515559;fill:#515559}._10_Hd{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3F9G6{color:#515559;font-size:16px}._XHBRn{left:0;margin-left:6px}._1zw6G,._XHBRn{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._1zw6G{right:0;margin-right:6px}";
4
- var inputClasses = {"container":"_3sZOC","input":"_1AYJT","addOn":"_2egRd","addOnVerticalCenter":"_10_Hd","addOnTextNode":"_3F9G6","leftAddOn":"_XHBRn","rightAddOn":"_1zw6G"};
5
- var stylesheet="._3sZOC{position:relative;display:inline-block;height:36px}._1AYJT{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}._1AYJT:hover{cursor:pointer;background-color:#f5f5f5}._1AYJT:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._1AYJT:disabled,._1AYJT[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._1AYJT:disabled::-moz-placeholder,._1AYJT[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1AYJT:disabled::placeholder,._1AYJT[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1AYJT:invalid,._1AYJT[aria-invalid=true]{border-color:#b00}._1AYJT:invalid:focus,._1AYJT[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._1AYJT[type=number]{-moz-appearance:textfield}._1AYJT[type=number]::-webkit-inner-spin-button,._1AYJT[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1AYJT::-moz-placeholder{color:#515559;opacity:1}._1AYJT::placeholder{color:#515559;opacity:1}._2egRd{pointer-events:none;color:#515559;fill:#515559}._10_Hd{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3F9G6{color:#515559;font-size:16px}._XHBRn{left:0;margin-left:6px}._1zw6G,._XHBRn{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._1zw6G{right:0;margin-right:6px}";
3
+ var css_248z = "._ZoypB{position:relative;display:inline-block;height:36px}._13cpB{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}._13cpB:hover{cursor:pointer;background-color:#f5f5f5}._13cpB:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._13cpB:disabled,._13cpB[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._13cpB:disabled::-moz-placeholder,._13cpB[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._13cpB:disabled::placeholder,._13cpB[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._13cpB:invalid,._13cpB[aria-invalid=true]{border-color:#b00}._13cpB:invalid:focus,._13cpB[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._13cpB[type=number]{-moz-appearance:textfield}._13cpB[type=number]::-webkit-inner-spin-button,._13cpB[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._13cpB::-moz-placeholder{color:#515559;opacity:1}._13cpB::placeholder{color:#515559;opacity:1}._2LGwQ{pointer-events:none;color:#515559;fill:#515559}._2knRf{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3wjVQ{color:#515559;font-size:16px}._2a0OZ{left:0;margin-left:6px}._2a0OZ,._3Fkt2{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3Fkt2{right:0;margin-right:6px}";
4
+ var inputClasses = {"container":"_ZoypB","input":"_13cpB","addOn":"_2LGwQ","addOnVerticalCenter":"_2knRf","addOnTextNode":"_3wjVQ","leftAddOn":"_2a0OZ","rightAddOn":"_3Fkt2"};
5
+ var stylesheet="._ZoypB{position:relative;display:inline-block;height:36px}._13cpB{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}._13cpB:hover{cursor:pointer;background-color:#f5f5f5}._13cpB:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._13cpB:disabled,._13cpB[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._13cpB:disabled::-moz-placeholder,._13cpB[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._13cpB:disabled::placeholder,._13cpB[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._13cpB:invalid,._13cpB[aria-invalid=true]{border-color:#b00}._13cpB:invalid:focus,._13cpB[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._13cpB[type=number]{-moz-appearance:textfield}._13cpB[type=number]::-webkit-inner-spin-button,._13cpB[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._13cpB::-moz-placeholder{color:#515559;opacity:1}._13cpB::placeholder{color:#515559;opacity:1}._2LGwQ{pointer-events:none;color:#515559;fill:#515559}._2knRf{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3wjVQ{color:#515559;font-size:16px}._2a0OZ{left:0;margin-left:6px}._2a0OZ,._3Fkt2{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3Fkt2{right:0;margin-right:6px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { inputClasses as default, stylesheet };
@@ -0,0 +1,28 @@
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
+ const Menu = _ref => {
8
+ let {
9
+ 'data-testid': dataTestId,
10
+ isOpen,
11
+ onIsOpenChange,
12
+ isDisabled,
13
+ children
14
+ } = _ref;
15
+ const [open, setOpen] = useControllableState(isOpen, onIsOpenChange, isOpen);
16
+ return /*#__PURE__*/React__default.createElement(MenuContextProvider, {
17
+ value: {
18
+ dataTestId,
19
+ isDisabled,
20
+ setOpen
21
+ }
22
+ }, /*#__PURE__*/React__default.createElement(Root, {
23
+ open: open,
24
+ onOpenChange: shouldOpen => setOpen(!isDisabled && shouldOpen)
25
+ }, children));
26
+ };
27
+
28
+ 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 = "._1__17{position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._12GJ4{min-width:0;max-width:100%;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;display:inline-flex;justify-content:space-between;text-align:left;align-items:center;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559;padding:0 28px 0 12px}._12GJ4:hover:not([aria-disabled=true]){background-color:#f5f5f5}._12GJ4:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._12GJ4+._2Mutp{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._12GJ4[data-state=open]+._2Mutp{transform:rotate(-180deg) translateY(50%)}._12GJ4[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._12GJ4[aria-disabled=true]+._2Mutp{fill:#515559;opacity:.4}._3iMxz{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}._1vpV-{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._1vpV-[data-highlighted]{background-color:#efefef}._1vpV-[aria-disabled=true]{cursor:not-allowed;opacity:.65}._1vpV-._2gDdp{padding-right:32px}._1vpV-._2gDdp ._2Mutp{position:absolute;top:8px;right:3px;fill:#515559}._vZntv{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._35aZ0{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":"_1__17","button":"_12GJ4","rightIcon":"_2Mutp","flyout":"_3iMxz","menuItem":"_1vpV-","subMenu":"_2gDdp","searchBox":"_vZntv","emptyOption":"_35aZ0"};
5
+ var stylesheet="._1__17{position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._12GJ4{min-width:0;max-width:100%;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;display:inline-flex;justify-content:space-between;text-align:left;align-items:center;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559;padding:0 28px 0 12px}._12GJ4:hover:not([aria-disabled=true]){background-color:#f5f5f5}._12GJ4:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._12GJ4+._2Mutp{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._12GJ4[data-state=open]+._2Mutp{transform:rotate(-180deg) translateY(50%)}._12GJ4[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._12GJ4[aria-disabled=true]+._2Mutp{fill:#515559;opacity:.4}._3iMxz{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}._1vpV-{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._1vpV-[data-highlighted]{background-color:#efefef}._1vpV-[aria-disabled=true]{cursor:not-allowed;opacity:.65}._1vpV-._2gDdp{padding-right:32px}._1vpV-._2gDdp ._2Mutp{position:absolute;top:8px;right:3px;fill:#515559}._vZntv{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;margin-top:-4px}._35aZ0{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,44 @@
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
+ style,
18
+ className,
19
+ ...rest
20
+ } = _ref;
21
+ const {
22
+ dataTestId: rootDataTestId,
23
+ isDisabled
24
+ } = useMenuContext();
25
+ return /*#__PURE__*/React__default.createElement("div", {
26
+ className: classNames(className, {
27
+ [styles.buttonContainer]: !asChild
28
+ }),
29
+ style: style
30
+ }, /*#__PURE__*/React__default.createElement(Trigger, _extends({}, rest, {
31
+ "aria-disabled": isDisabled,
32
+ className: classNames({
33
+ [styles.button]: !asChild
34
+ }),
35
+ asChild: asChild,
36
+ ref: ref,
37
+ "data-testid": getSubDataTestId(rootDataTestId, DATA_TESTID_SUFFIXES.MENU_BUTTON)
38
+ }), children), !asChild && /*#__PURE__*/React__default.createElement(ChevronDownIcon, {
39
+ className: styles.rightIcon,
40
+ "aria-hidden": "true"
41
+ }));
42
+ });
43
+
44
+ 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,55 @@
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 { useMenuContext } from '../../components/Menu/MenuContext.js';
11
+ import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
12
+ import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
13
+
14
+ const MenuItem = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
15
+ let {
16
+ isDisabled,
17
+ asChild,
18
+ children,
19
+ className,
20
+ onSelect,
21
+ label,
22
+ ...rest
23
+ } = _ref;
24
+ const itemRef = useRef(null);
25
+ const {
26
+ dataTestId: menuParentDataTestId,
27
+ childIndex: index,
28
+ searchValue,
29
+ isSearchFilteringDisabled
30
+ } = usePaneContext(itemRef);
31
+ const dataTestId = getSubDataTestId(menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.replace(DATA_TESTID_SUFFIXES.MENU_PANE, DATA_TESTID_SUFFIXES.MENU_ITEM), String(index));
32
+ const isVisible = useMemo(() => {
33
+ var _context;
34
+
35
+ const searchMatcher = label !== null && label !== void 0 ? label : typeof children === 'string' ? children : undefined;
36
+ return isSearchFilteringDisabled || !searchValue || (searchMatcher === null || searchMatcher === void 0 ? void 0 : _includesInstanceProperty(_context = searchMatcher.toLowerCase()).call(_context, searchValue.toLowerCase()));
37
+ }, [children, searchValue, label, isSearchFilteringDisabled]);
38
+ const {
39
+ isChildOfMenu: isChildOfOldMenu
40
+ } = useMenuContext();
41
+ return isVisible ? /*#__PURE__*/React__default.createElement(Item, _extends({}, rest, {
42
+ asChild: asChild,
43
+ "aria-disabled": isDisabled,
44
+ className: classNames(className, styles.menuItem),
45
+ "data-testid": dataTestId,
46
+ ref: mergeRefs(ref, itemRef) // stop radix from closing the menu on selection of disabled item
47
+ // other pointer and keyboard events still work, even when disabled
48
+ ,
49
+ onSelect: e => isDisabled ? e.preventDefault() : // eslint-disable-next-line @typescript-eslint/ban-ts-comment
50
+ // @ts-ignore: passing event to old menu to comply with its API
51
+ onSelect === null || onSelect === void 0 ? void 0 : onSelect(isChildOfOldMenu ? e : undefined)
52
+ }), (!children || typeof children === 'string') && label ? label : children) : null;
53
+ });
54
+
55
+ export { MenuItem, MenuItem as default };
@@ -0,0 +1,72 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/extends';
2
+ import React__default, { useMemo, useState, useRef, useCallback } from 'react';
3
+ import { Portal, Content } from '@radix-ui/react-dropdown-menu';
4
+ import classNames from 'classnames';
5
+ import styles from './Menu2.js';
6
+ import { usePortalTarget } from '../../components/UIProvider/PortalTargetContext.js';
7
+ import { useMenuContext, PaneContextProvider } from './MenuContext.js';
8
+ import '../../utils/index.js';
9
+ import { DATA_TESTID_SUFFIXES } from './constants.js';
10
+ import { MenuSearch } from './MenuSearch.js';
11
+ import '../../hooks/index.js';
12
+ import useControllableState from '../../hooks/useControllableState/useControllableState.js';
13
+ import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
14
+ import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
15
+
16
+ const MenuPane = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
17
+ let {
18
+ placement,
19
+ children,
20
+ isSearchable,
21
+ searchValue: externalSearchValue,
22
+ onSearchValueChange,
23
+ className,
24
+ isSearchFilteringDisabled = false,
25
+ ...rest
26
+ } = _ref;
27
+ const [internalSearchValue, setSearchValue] = useControllableState(externalSearchValue, onSearchValueChange, externalSearchValue);
28
+ const portalTarget = usePortalTarget();
29
+ const [side, align] = useMemo(() => {
30
+ var _placement$split, _placement$split2;
31
+
32
+ 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 : [];
33
+ }, [placement]);
34
+ const [items, setItems] = useState([]);
35
+ const {
36
+ dataTestId: rootDataTestId,
37
+ setOpen: setOpenEntireMenu
38
+ } = useMenuContext();
39
+ const dataTestId = getSubDataTestId(rootDataTestId, DATA_TESTID_SUFFIXES.MENU_PANE);
40
+ const paneRef = useRef(null);
41
+ const handleTabPress = useCallback(() => {
42
+ setOpenEntireMenu === null || setOpenEntireMenu === void 0 ? void 0 : setOpenEntireMenu(false);
43
+ }, [setOpenEntireMenu]);
44
+ return /*#__PURE__*/React__default.createElement(PaneContextProvider, {
45
+ items: items,
46
+ setItems: setItems,
47
+ value: {
48
+ dataTestId,
49
+ searchValue: internalSearchValue,
50
+ paneRef,
51
+ isSearchFilteringDisabled
52
+ }
53
+ }, /*#__PURE__*/React__default.createElement(Portal, {
54
+ container: portalTarget || undefined
55
+ }, /*#__PURE__*/React__default.createElement(Content, _extends({}, rest, {
56
+ sideOffset: 6,
57
+ loop: true,
58
+ side: side || 'bottom',
59
+ align: align || 'start',
60
+ className: classNames(styles.flyout, className),
61
+ ref: mergeRefs(ref, paneRef),
62
+ "data-testid": dataTestId // having to add our own due to https://github.com/radix-ui/primitives/issues/1934
63
+ ,
64
+ onKeyDownCapture: e => e.key === 'Tab' && handleTabPress()
65
+ }), isSearchable && /*#__PURE__*/React__default.createElement(MenuSearch, {
66
+ setSearchValue: setSearchValue,
67
+ items: items,
68
+ paneRef: paneRef
69
+ }), children)));
70
+ });
71
+
72
+ export { MenuPane, MenuPane as default };
@@ -0,0 +1,105 @@
1
+ import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
2
+ import React__default, { useRef, useState, useEffect } from 'react';
3
+ import { Item } from '@radix-ui/react-dropdown-menu';
4
+ import styles from './Menu2.js';
5
+ import '../Input/index.js';
6
+ import '../../icons/index.es.js';
7
+ import '../../utils/index.js';
8
+ import { usePaneContext } from './MenuContext.js';
9
+ import { DATA_TESTID_SUFFIXES } from './constants.js';
10
+ import '../../hooks/index.js';
11
+ import useTranslation from '../../utils/Translation/useTranslation.js';
12
+ import useEventListener from '../../hooks/useEventListener/useEventListener.js';
13
+ import Input from '../Input/Input.js';
14
+ import SearchIcon from '../../icons/components/SearchIcon.js';
15
+
16
+ const MenuSearch = _ref => {
17
+ let {
18
+ setSearchValue,
19
+ items,
20
+ paneRef
21
+ } = _ref;
22
+ const itemRef = useRef(null);
23
+ const inputRef = useRef(null);
24
+ const {
25
+ translate
26
+ } = useTranslation();
27
+ const noMatchesText = translate('menu.noItemsToDisplay');
28
+ const searchText = translate('searchText');
29
+ const {
30
+ dataTestId: menuParentDataTestId,
31
+ searchValue = ''
32
+ } = usePaneContext();
33
+ const dataTestId = menuParentDataTestId === null || menuParentDataTestId === void 0 ? void 0 : menuParentDataTestId.replace(DATA_TESTID_SUFFIXES.MENU_PANE, DATA_TESTID_SUFFIXES.MENU_SEARCH); // not using `useMemo` to force an extra render after items have updated https://stackoverflow.com/a/56029184
34
+
35
+ const [zeroSearchResults, setZeroSearchResults] = useState();
36
+ useEffect(() => {
37
+ setZeroSearchResults((items === null || items === void 0 ? void 0 : items.filter(item => item.element.current).length) === 0);
38
+ }, [items, searchValue]);
39
+ useEffect(() => () => setSearchValue(''), [setSearchValue]);
40
+ const [previouslyFocusedElement, setPreviouslyFocusedElement] = useState(); // a backdoor hack to keep focus on search input on mouse leave
41
+
42
+ useEventListener(paneRef, 'focus', e => {
43
+ if (e.target === e.currentTarget && previouslyFocusedElement === itemRef.current) {
44
+ var _inputRef$current;
45
+
46
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
47
+ }
48
+
49
+ setPreviouslyFocusedElement(e.target);
50
+ }, {
51
+ isCaptureEvent: true
52
+ });
53
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Item, {
54
+ className: styles.searchBox // prevents dropdown from closing
55
+ ,
56
+ onSelect: e => e.preventDefault(),
57
+ onFocus: () => {
58
+ var _inputRef$current2;
59
+
60
+ return (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.focus();
61
+ },
62
+ role: undefined,
63
+ ref: itemRef
64
+ }, /*#__PURE__*/React__default.createElement(Input, {
65
+ "data-testid": dataTestId,
66
+ role: "searchbox",
67
+ value: searchValue,
68
+ onChange: e => setSearchValue(e.target.value),
69
+ placeholder: searchText,
70
+ onKeyDown: e => {
71
+ var _e$target;
72
+
73
+ // stop propagation to prevent typeAhead
74
+ e.stopPropagation();
75
+ const keysToForward = ['Escape', 'ArrowUp', 'ArrowDown', 'PageUp', 'PageDown', 'Home', 'End']; // allow caret movement through text entry, but close searchable submenu if on the very left
76
+
77
+ if (((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.selectionStart) === 0) {
78
+ keysToForward.push('ArrowLeft');
79
+ } // forward keypress directly to `Item` to let Radix handle keyboard navigation
80
+
81
+
82
+ if (_includesInstanceProperty(keysToForward).call(keysToForward, e.key)) {
83
+ var _itemRef$current;
84
+
85
+ // `view` types are incompatible
86
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
87
+ const {
88
+ view,
89
+ ...eventClone
90
+ } = e;
91
+ itemRef === null || itemRef === void 0 ? void 0 : (_itemRef$current = itemRef.current) === null || _itemRef$current === void 0 ? void 0 : _itemRef$current.dispatchEvent(new KeyboardEvent('keydown', eventClone));
92
+ }
93
+ },
94
+ leftAddOn: /*#__PURE__*/React__default.createElement(SearchIcon, null),
95
+ ref: inputRef
96
+ })), zeroSearchResults && /*#__PURE__*/React__default.createElement("div", {
97
+ className: styles.emptyOption // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
98
+ ,
99
+ role: "option" // `aria-selected` is omitted because this option is not selectable
100
+ ,
101
+ "aria-live": "assertive"
102
+ }, noMatchesText));
103
+ };
104
+
105
+ export { MenuSearch, MenuSearch as default };