@qualtrics/ui-react 2.24.2 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/__shared/cjs/{index-8f52588d.js → index-ae6df097.js} +3 -3
  3. package/dist/__shared/cjs/{index-b7a35c2e.js → index-dc6f69ac.js} +262 -256
  4. package/dist/components/Accordion/Accordion2.js +3 -3
  5. package/dist/components/Button/Button.js +3 -3
  6. package/dist/components/Button/Button2.js +1 -1
  7. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  8. package/dist/components/Checkbox/Checkbox2.js +3 -3
  9. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  10. package/dist/components/ColorPicker/Alpha.js +1 -1
  11. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  12. package/dist/components/ColorPicker/Hue.js +1 -1
  13. package/dist/components/ColorPicker/Palette.js +1 -1
  14. package/dist/components/ColorPicker/Saturation.js +1 -1
  15. package/dist/components/Combobox/Combobox.js +3 -3
  16. package/dist/components/Combobox/Combobox2.js +3 -3
  17. package/dist/components/Combobox/ComboboxIcon.js +1 -1
  18. package/dist/components/Combobox/ComboboxInput.js +1 -1
  19. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  20. package/dist/components/Divider/Divider2.js +3 -3
  21. package/dist/components/Dropdown/Dropdown.js +4 -4
  22. package/dist/components/Dropdown/Dropdown2.js +3 -3
  23. package/dist/components/Dropdown/DropdownButton.js +6 -6
  24. package/dist/components/Dropdown/DropdownList.js +1 -1
  25. package/dist/components/Dropdown/DropdownOption.js +2 -2
  26. package/dist/components/Dropdown/DropdownSearch.js +2 -2
  27. package/dist/components/FilePicker/FilePicker.js +2 -2
  28. package/dist/components/FilePicker/FilePicker2.js +3 -3
  29. package/dist/components/FormField/Caption.js +3 -3
  30. package/dist/components/FormField/FormField2.js +3 -3
  31. package/dist/components/FormField/FormFieldContext.js +3 -3
  32. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +2 -2
  33. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  34. package/dist/components/IconButton/IconButton2.js +3 -3
  35. package/dist/components/InlineInput/InlineInput.js +7 -7
  36. package/dist/components/InlineInput/InlineInput2.js +3 -3
  37. package/dist/components/Input/Input2.js +3 -3
  38. package/dist/components/Input/InputField.js +2 -2
  39. package/dist/components/InputGroup/InputGroup2.js +3 -3
  40. package/dist/components/Label/Label2.js +3 -3
  41. package/dist/components/Link/Link2.js +3 -3
  42. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  43. package/dist/components/LogicEditor/LogicEditor.js +1 -1
  44. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  45. package/dist/components/Modal/Modal.js +6 -6
  46. package/dist/components/Modal/Modal2.js +3 -3
  47. package/dist/components/NewMenu/BaseMenu.js +3 -3
  48. package/dist/components/NewMenu/NewMenu.js +3 -3
  49. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -2
  50. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +3 -3
  51. package/dist/components/NumberStepper/NumberStepper.js +2 -2
  52. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  53. package/dist/components/NumberStepper/NumberStepperDecrement.js +1 -1
  54. package/dist/components/NumberStepper/NumberStepperIncrement.js +1 -1
  55. package/dist/components/NumberStepper/NumberStepperInput.js +3 -3
  56. package/dist/components/PageLayout/PageLayout.js +3 -3
  57. package/dist/components/Pagination/Pagination.js +1 -1
  58. package/dist/components/Pagination/Pagination2.js +3 -3
  59. package/dist/components/Pagination/PaginationNextButton.js +3 -3
  60. package/dist/components/Pagination/PaginationPageInput.js +8 -8
  61. package/dist/components/Pagination/PaginationPreviousButton.js +3 -3
  62. package/dist/components/Popover/Popover.js +5 -5
  63. package/dist/components/Popover/Popover2.js +3 -3
  64. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  65. package/dist/components/QuickSearch/QuickSearchInput.js +4 -4
  66. package/dist/components/Radio/Radio2.js +3 -3
  67. package/dist/components/SearchInput/SearchInput.js +2 -2
  68. package/dist/components/SearchInput/SearchInput2.js +3 -3
  69. package/dist/components/SidebarNav/SidebarNav.js +1 -1
  70. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  71. package/dist/components/Slider/Slider2.js +3 -3
  72. package/dist/components/Switch/Switch2.js +3 -3
  73. package/dist/components/Table/Table2.js +3 -3
  74. package/dist/components/Tabs/Tabs2.js +3 -3
  75. package/dist/components/Tooltip/Tooltip2.js +3 -3
  76. package/dist/components/deprecated_ColorPicker/Alpha.js +2 -2
  77. package/dist/components/deprecated_ColorPicker/ColorPicker.js +1 -1
  78. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  79. package/dist/components/deprecated_ColorPicker/HexInput.js +1 -1
  80. package/dist/components/deprecated_ColorPicker/Hue.js +2 -2
  81. package/dist/components/deprecated_ColorPicker/Saturation.js +2 -2
  82. package/dist/components/deprecated_ColorPicker/Swatch.js +1 -1
  83. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  84. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +1 -1
  85. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +1 -1
  86. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +3 -3
  87. package/dist/components/deprecated_Tabs/Tabs.js +3 -3
  88. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  89. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  90. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +1 -1
  91. package/dist/components/deprecated_Toolbar/ToolbarTab.js +5 -5
  92. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +3 -3
  93. package/dist/hooks/useControllableState/useControllableState.js +1 -1
  94. package/dist/hooks/useOverlay/useOverlay.js +3 -3
  95. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  96. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +1 -1
  97. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  98. package/dist/icons/Icon.js +3 -3
  99. package/dist/icons/index.js +1 -1
  100. package/dist/index.d.ts +15 -7
  101. package/dist/index.es.js +2 -1
  102. package/dist/index.js +4 -3
  103. package/dist/next/AdvancedTable/AdvancedTable.js +8 -6
  104. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  105. package/dist/next/AdvancedTable/AdvancedTableCell.js +4 -4
  106. package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +6 -3
  107. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +3 -3
  108. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +2 -2
  109. package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -1
  110. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +3 -3
  111. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  112. package/dist/next/Combobox/Combobox.js +2 -0
  113. package/dist/next/Combobox/Combobox2.js +3 -3
  114. package/dist/next/Combobox/ComboboxInput.js +2 -0
  115. package/dist/next/Combobox/ComboboxOption.js +2 -0
  116. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +1 -1
  117. package/dist/next/Drawer/Drawer.js +2 -2
  118. package/dist/next/Drawer/Drawer2.js +3 -3
  119. package/dist/next/FilterAnchor/FilterAnchor.js +2 -2
  120. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  121. package/dist/next/Input/Input2.js +3 -3
  122. package/dist/next/Menu/{useCSSVariable.js → Hooks/useCSSVariable.js} +1 -1
  123. package/dist/next/Menu/Hooks/useFocusVirtualBoundary.js +41 -0
  124. package/dist/next/Menu/Hooks/useIsVirtualized.js +8 -0
  125. package/dist/next/Menu/Hooks/useMaskDimensions.js +59 -0
  126. package/dist/next/Menu/{useMutationObserver.js → Hooks/useMutationObserver.js} +1 -1
  127. package/dist/next/Menu/{usePaneSearch.js → Hooks/usePaneSearch.js} +76 -34
  128. package/dist/next/Menu/Menu.js +22 -24
  129. package/dist/next/Menu/Menu2.js +3 -3
  130. package/dist/next/Menu/MenuButton.js +5 -2
  131. package/dist/next/Menu/MenuContext.js +5 -1
  132. package/dist/next/Menu/MenuItem.js +38 -16
  133. package/dist/next/Menu/MenuPane.js +90 -55
  134. package/dist/next/Menu/PaneChildren.js +47 -0
  135. package/dist/next/Menu/SubMenu.js +95 -49
  136. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -1
  137. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  138. package/dist/next/Select/Select.js +118 -0
  139. package/dist/next/Select/Select2.js +8 -0
  140. package/dist/next/Select/SelectButton.js +46 -0
  141. package/dist/next/Select/SelectContext.js +16 -0
  142. package/dist/next/Select/SelectItem.js +46 -0
  143. package/dist/next/Select/SelectPane.js +43 -0
  144. package/dist/next/Select/SelectedItems.js +45 -0
  145. package/dist/next/Select/SubSelect.js +90 -0
  146. package/dist/next/Select/constants.js +13 -0
  147. package/dist/next/Select/index.js +5 -0
  148. package/dist/next/SplitButton/SplitButton2.js +3 -3
  149. package/dist/next/TimePicker/TimePicker2.js +3 -3
  150. package/dist/next/TimePicker/TimePickerIcon.js +1 -1
  151. package/dist/next/ToggleButton/styles.js +3 -3
  152. package/dist/next/index.d.ts +68 -6
  153. package/dist/next/index.es.js +6 -0
  154. package/dist/next/index.js +1009 -372
  155. package/dist/translations-en.js +7 -1
  156. package/dist/utils/Flyout/Flyout2.js +3 -3
  157. package/dist/utils/Popper/Popper.js +2 -2
  158. package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -1
  159. package/dist/utils/wrapEvent/wrapEvent.js +1 -1
  160. package/icons/package.json +2 -0
  161. package/next/package.json +3 -1
  162. package/package.json +6 -3
@@ -51,13 +51,13 @@ const Alpha = function Alpha(_ref) {
51
51
  const containerRef = React__default.useRef(null);
52
52
  const handleChange = useEventCallback(e => {
53
53
  const change = getMouseChange(e, hsl, alpha, containerRef.current);
54
- onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
54
+ onChange === null || onChange === void 0 || onChange(change, e);
55
55
  });
56
56
  const handleMouseDown = useMouseDrag(handleChange);
57
57
  function handleKeyDown(e) {
58
58
  if (Object.keys(KEY_CHANGES).indexOf(e.key) > -1) {
59
59
  const change = getKeyChange(e, hsl);
60
- onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
60
+ onChange === null || onChange === void 0 || onChange(change, e);
61
61
  }
62
62
  }
63
63
  return /*#__PURE__*/React__default.createElement("div", {
@@ -46,7 +46,7 @@ const ColorPicker = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
46
46
  function handleChange(rawColor, e) {
47
47
  const nextColor = new Color(rawColor);
48
48
  setColor(nextColor);
49
- onChange === null || onChange === void 0 ? void 0 : onChange(nextColor.getValue(), e);
49
+ onChange === null || onChange === void 0 || onChange(nextColor.getValue(), e);
50
50
  }
51
51
  let alpha;
52
52
  let width = 136;
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._DYbaR{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._l3CJX{margin-right:-12px;margin-left:4px}._bmxgj{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._Ab0-E{margin:8px 8px 0;display:flex}._PLmA4,._VkTvm{margin-left:4px}._3i0CQ{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._ui2XG{margin:0 4px 4px 0}._ui2XG:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._l908G{margin:4px 8px 8px}._kjCF2{position:relative;width:96px;height:96px;outline:0}._kjCF2.focus-visible ._barpt,._kjCF2:focus-visible ._barpt{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._FOMBP{background:linear-gradient(90deg,#fff,transparent)}._-E-oN,._FOMBP{position:absolute;top:0;right:0;bottom:0;left:0}._-E-oN{background:linear-gradient(0deg,#000,transparent)}._barpt{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._vgzPJ{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._vgzPJ.focus-visible ._Fztk1,._vgzPJ:focus-visible ._Fztk1{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Fztk1{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._vU6gc{position:relative;width:16px;height:96px}._3u2M0{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._3u2M0,._A-ZRa{position:absolute}._A-ZRa{top:0;right:0;bottom:0;left:0;outline:0}._A-ZRa.focus-visible ._3u2M0,._A-ZRa:focus-visible ._3u2M0{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-TEjR{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._ivRX3{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._ivRX3.focus-visible,._ivRX3:focus-visible{outline:none}._ivRX3.focus-visible,._ivRX3:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._7OZfG{display:flex}._7OZfG ._sTmHz{position:relative;flex-shrink:0;width:26px;height:26px}._7OZfG ._xaDqK{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._7OZfG ._8xvCj{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
4
- var styles = {"colorPickerBtnColor":"_DYbaR","colorPickerBtnIcon":"_l3CJX","colorPicker":"_bmxgj","colorPickerSliderContainer":"_Ab0-E","colorPickerHue":"_VkTvm","colorPickerAlpha":"_PLmA4","colorPickerSwatches":"_3i0CQ","colorPickerSwatch":"_ui2XG","colorPickerHex":"_l908G","saturation":"_kjCF2","saturationCircle":"_barpt","saturationWhite":"_FOMBP","saturationBlack":"_-E-oN","hue":"_vgzPJ","hueSlider":"_Fztk1","alpha":"_vU6gc","alphaSlider":"_3u2M0","alphaGradient":"_A-ZRa","alphaCheckerboard":"_-TEjR","swatch":"_ivRX3","hex":"_7OZfG","hexSwatch":"_sTmHz","hexSwatchColor":"_xaDqK","hexInput":"_8xvCj"};
5
- var stylesheet="._DYbaR{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._l3CJX{margin-right:-12px;margin-left:4px}._bmxgj{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._Ab0-E{margin:8px 8px 0;display:flex}._PLmA4,._VkTvm{margin-left:4px}._3i0CQ{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._ui2XG{margin:0 4px 4px 0}._ui2XG:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._l908G{margin:4px 8px 8px}._kjCF2{position:relative;width:96px;height:96px;outline:0}._kjCF2.focus-visible ._barpt,._kjCF2:focus-visible ._barpt{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._FOMBP{background:linear-gradient(90deg,#fff,transparent)}._-E-oN,._FOMBP{position:absolute;top:0;right:0;bottom:0;left:0}._-E-oN{background:linear-gradient(0deg,#000,transparent)}._barpt{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._vgzPJ{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._vgzPJ.focus-visible ._Fztk1,._vgzPJ:focus-visible ._Fztk1{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Fztk1{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._vU6gc{position:relative;width:16px;height:96px}._3u2M0{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._3u2M0,._A-ZRa{position:absolute}._A-ZRa{top:0;right:0;bottom:0;left:0;outline:0}._A-ZRa.focus-visible ._3u2M0,._A-ZRa:focus-visible ._3u2M0{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-TEjR{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._ivRX3{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._ivRX3.focus-visible,._ivRX3:focus-visible{outline:none}._ivRX3.focus-visible,._ivRX3:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._7OZfG{display:flex}._7OZfG ._sTmHz{position:relative;flex-shrink:0;width:26px;height:26px}._7OZfG ._xaDqK{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._7OZfG ._8xvCj{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
3
+ var css_248z = "._anOD7{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._qUsX-{margin-right:-12px;margin-left:4px}._4nekB{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._PGQIV{margin:8px 8px 0;display:flex}._Au2Un,._Pl8Q6{margin-left:4px}._tMypw{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._ZJg3W{margin:0 4px 4px 0}._ZJg3W:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._ZkEp9{margin:4px 8px 8px}._kYPRP{position:relative;width:96px;height:96px;outline:0}._kYPRP.focus-visible ._q0DUl,._kYPRP:focus-visible ._q0DUl{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Wbati{background:linear-gradient(90deg,#fff,transparent)}._8mIt2,._Wbati{position:absolute;top:0;right:0;bottom:0;left:0}._8mIt2{background:linear-gradient(0deg,#000,transparent)}._q0DUl{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._9KLvu{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._9KLvu.focus-visible ._2JTRV,._9KLvu:focus-visible ._2JTRV{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2JTRV{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._A7E-X{position:relative;width:16px;height:96px}._FMvqj{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._FMvqj,._MFsWx{position:absolute}._MFsWx{top:0;right:0;bottom:0;left:0;outline:0}._MFsWx.focus-visible ._FMvqj,._MFsWx:focus-visible ._FMvqj{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._uN5DZ{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._pRgf8{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._pRgf8.focus-visible,._pRgf8:focus-visible{outline:none}._pRgf8.focus-visible,._pRgf8:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3PHbV{display:flex}._3PHbV ._Qq-F6{position:relative;flex-shrink:0;width:26px;height:26px}._3PHbV ._OUDpZ{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._3PHbV ._UR1mQ{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
4
+ var styles = {"colorPickerBtnColor":"_anOD7","colorPickerBtnIcon":"_qUsX-","colorPicker":"_4nekB","colorPickerSliderContainer":"_PGQIV","colorPickerHue":"_Pl8Q6","colorPickerAlpha":"_Au2Un","colorPickerSwatches":"_tMypw","colorPickerSwatch":"_ZJg3W","colorPickerHex":"_ZkEp9","saturation":"_kYPRP","saturationCircle":"_q0DUl","saturationWhite":"_Wbati","saturationBlack":"_8mIt2","hue":"_9KLvu","hueSlider":"_2JTRV","alpha":"_A7E-X","alphaSlider":"_FMvqj","alphaGradient":"_MFsWx","alphaCheckerboard":"_uN5DZ","swatch":"_pRgf8","hex":"_3PHbV","hexSwatch":"_Qq-F6","hexSwatchColor":"_OUDpZ","hexInput":"_UR1mQ"};
5
+ var stylesheet="._anOD7{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._qUsX-{margin-right:-12px;margin-left:4px}._4nekB{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._PGQIV{margin:8px 8px 0;display:flex}._Au2Un,._Pl8Q6{margin-left:4px}._tMypw{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._ZJg3W{margin:0 4px 4px 0}._ZJg3W:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._ZkEp9{margin:4px 8px 8px}._kYPRP{position:relative;width:96px;height:96px;outline:0}._kYPRP.focus-visible ._q0DUl,._kYPRP:focus-visible ._q0DUl{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Wbati{background:linear-gradient(90deg,#fff,transparent)}._8mIt2,._Wbati{position:absolute;top:0;right:0;bottom:0;left:0}._8mIt2{background:linear-gradient(0deg,#000,transparent)}._q0DUl{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._9KLvu{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._9KLvu.focus-visible ._2JTRV,._9KLvu:focus-visible ._2JTRV{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2JTRV{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._A7E-X{position:relative;width:16px;height:96px}._FMvqj{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._FMvqj,._MFsWx{position:absolute}._MFsWx{top:0;right:0;bottom:0;left:0;outline:0}._MFsWx.focus-visible ._FMvqj,._MFsWx:focus-visible ._FMvqj{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._uN5DZ{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._pRgf8{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._pRgf8.focus-visible,._pRgf8:focus-visible{outline:none}._pRgf8.focus-visible,._pRgf8:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3PHbV{display:flex}._3PHbV ._Qq-F6{position:relative;flex-shrink:0;width:26px;height:26px}._3PHbV ._OUDpZ{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._3PHbV ._UR1mQ{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -33,7 +33,7 @@ const HexInput = function HexInput(_ref) {
33
33
  function handleChange(e) {
34
34
  setValue(e.target.value);
35
35
  if (isValid(e.target.value)) {
36
- onChange === null || onChange === void 0 ? void 0 : onChange(e.target.value, e);
36
+ onChange === null || onChange === void 0 || onChange(e.target.value, e);
37
37
  }
38
38
  }
39
39
  function handleBlur() {
@@ -51,13 +51,13 @@ const Hue = function Hue(_ref) {
51
51
  const containerRef = React__default.useRef(null);
52
52
  const handleChange = useEventCallback(e => {
53
53
  const change = getMouseChange(e, hsb, containerRef.current);
54
- onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
54
+ onChange === null || onChange === void 0 || onChange(change, e);
55
55
  });
56
56
  const handleMouseDown = useMouseDrag(handleChange);
57
57
  function handleKeyDown(e) {
58
58
  if (Object.keys(KEY_CHANGES).indexOf(e.key) > -1) {
59
59
  const change = getKeyChange(e, hsb);
60
- onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
60
+ onChange === null || onChange === void 0 || onChange(change, e);
61
61
  }
62
62
  }
63
63
  return (
@@ -78,13 +78,13 @@ const Saturation = function Saturation(_ref) {
78
78
  } = _ref;
79
79
  const containerRef = React__default.useRef(null);
80
80
  const handleChange = useEventCallback(e => {
81
- onChange === null || onChange === void 0 ? void 0 : onChange(getMouseChange(e, hsb, containerRef.current), e);
81
+ onChange === null || onChange === void 0 || onChange(getMouseChange(e, hsb, containerRef.current), e);
82
82
  });
83
83
  const handleMouseDown = useMouseDrag(handleChange);
84
84
  function handleKeyDown(e) {
85
85
  if (Object.keys(KEY_CHANGES).indexOf(e.key) > -1) {
86
86
  const change = getKeyChange(e, hsb);
87
- onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
87
+ onChange === null || onChange === void 0 || onChange(change, e);
88
88
  }
89
89
  }
90
90
  return (
@@ -12,7 +12,7 @@ const Swatch = function Swatch(_ref) {
12
12
  ...rest
13
13
  } = _ref;
14
14
  function handleClick(e) {
15
- onClick === null || onClick === void 0 ? void 0 : onClick(color, e);
15
+ onClick === null || onClick === void 0 || onClick(color, e);
16
16
  }
17
17
  const handleKeyDown = e => e.keyCode === ENTER && (onClick === null || onClick === void 0 ? void 0 : onClick(color, e));
18
18
  return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._IYtbe{display:inline-flex}._LsIUn{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._LsIUn:hover:not(._oulam){cursor:pointer;background:#f5f5f5}._LsIUn._HHyIF{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._LsIUn._oulam{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._LsIUn._oulam>svg{opacity:.4}._LsIUn::-webkit-inner-spin-button,._LsIUn::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._LsIUn:focus{z-index:0;border:none;border-radius:4px}._LsIUn:focus:not(._HHyIF){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LsIUn:focus:not(._oulam),._o-227{background:#fafafa}._o-227{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._o-227:hover:not(._oulam){cursor:pointer;background:#f5f5f5}._o-227:active:not(._oulam){background:#e5e5e5}._o-227._oulam{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._o-227._oulam>svg{opacity:.4}._KQ8vw{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._KQ8vw:hover:not(._oulam){cursor:pointer;background:#f5f5f5}._KQ8vw:active:not(._oulam){background:#e5e5e5}._KQ8vw._oulam{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._KQ8vw._oulam>svg{opacity:.4}._6Dvkj{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
4
- var styles = {"numberStepperContainer":"_IYtbe","numberStepperInput":"_LsIUn","disabled":"_oulam","invalid":"_HHyIF","decrementBtn":"_o-227","incrementBtn":"_KQ8vw","inputValueAlert":"_6Dvkj"};
5
- var stylesheet="._IYtbe{display:inline-flex}._LsIUn{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._LsIUn:hover:not(._oulam){cursor:pointer;background:#f5f5f5}._LsIUn._HHyIF{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._LsIUn._oulam{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._LsIUn._oulam>svg{opacity:.4}._LsIUn::-webkit-inner-spin-button,._LsIUn::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._LsIUn:focus{z-index:0;border:none;border-radius:4px}._LsIUn:focus:not(._HHyIF){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._LsIUn:focus:not(._oulam),._o-227{background:#fafafa}._o-227{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._o-227:hover:not(._oulam){cursor:pointer;background:#f5f5f5}._o-227:active:not(._oulam){background:#e5e5e5}._o-227._oulam{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._o-227._oulam>svg{opacity:.4}._KQ8vw{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._KQ8vw:hover:not(._oulam){cursor:pointer;background:#f5f5f5}._KQ8vw:active:not(._oulam){background:#e5e5e5}._KQ8vw._oulam{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._KQ8vw._oulam>svg{opacity:.4}._6Dvkj{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
3
+ var css_248z = "._AL0ap{display:inline-flex}._pueW4{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._pueW4:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._pueW4._qT01i{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._pueW4._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._pueW4._3-MRs>svg{opacity:.4}._pueW4::-webkit-inner-spin-button,._pueW4::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._pueW4:focus{z-index:0;border:none;border-radius:4px}._pueW4:focus:not(._qT01i){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-qE2h,._pueW4:focus:not(._3-MRs){background:#fafafa}._-qE2h{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._-qE2h:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._-qE2h:active:not(._3-MRs){background:#e5e5e5}._-qE2h._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-qE2h._3-MRs>svg{opacity:.4}._43PI-{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._43PI-:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._43PI-:active:not(._3-MRs){background:#e5e5e5}._43PI-._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._43PI-._3-MRs>svg{opacity:.4}._4O9dK{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
4
+ var styles = {"numberStepperContainer":"_AL0ap","numberStepperInput":"_pueW4","disabled":"_3-MRs","invalid":"_qT01i","decrementBtn":"_-qE2h","incrementBtn":"_43PI-","inputValueAlert":"_4O9dK"};
5
+ var stylesheet="._AL0ap{display:inline-flex}._pueW4{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._pueW4:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._pueW4._qT01i{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._pueW4._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._pueW4._3-MRs>svg{opacity:.4}._pueW4::-webkit-inner-spin-button,._pueW4::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._pueW4:focus{z-index:0;border:none;border-radius:4px}._pueW4:focus:not(._qT01i){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-qE2h,._pueW4:focus:not(._3-MRs){background:#fafafa}._-qE2h{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._-qE2h:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._-qE2h:active:not(._3-MRs){background:#e5e5e5}._-qE2h._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-qE2h._3-MRs>svg{opacity:.4}._43PI-{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._43PI-:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._43PI-:active:not(._3-MRs){background:#e5e5e5}._43PI-._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._43PI-._3-MRs>svg{opacity:.4}._4O9dK{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -47,7 +47,7 @@ const NumberStepperDecrement = /*#__PURE__*/React__default.forwardRef((_ref, ref
47
47
  */
48
48
  const handleClick = e => {
49
49
  if (!isDisabled) {
50
- onClick === null || onClick === void 0 ? void 0 : onClick(e);
50
+ onClick === null || onClick === void 0 || onClick(e);
51
51
  decrement(true);
52
52
  }
53
53
  };
@@ -47,7 +47,7 @@ const NumberStepperIncrement = /*#__PURE__*/React__default.forwardRef((_ref, ref
47
47
  */
48
48
  const handleClick = e => {
49
49
  if (!isDisabled) {
50
- onClick === null || onClick === void 0 ? void 0 : onClick(e);
50
+ onClick === null || onClick === void 0 || onClick(e);
51
51
  increment(true);
52
52
  }
53
53
  };
@@ -66,7 +66,7 @@ const NumberStepperInput = /*#__PURE__*/React__default.forwardRef((_ref, ref) =>
66
66
  * depending on the key that was pressed.
67
67
  */
68
68
  const handleKeyDown = e => {
69
- onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
69
+ onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
70
70
  if (isExternallyDisabled) return;
71
71
  if (e.key === 'ArrowUp') {
72
72
  // Prevents browser's default increment
@@ -101,7 +101,7 @@ const NumberStepperInput = /*#__PURE__*/React__default.forwardRef((_ref, ref) =>
101
101
  * Selects the DOM element
102
102
  */
103
103
  const handleFocus = e => {
104
- onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
104
+ onFocus === null || onFocus === void 0 || onFocus(e);
105
105
  if (isExternallyDisabled) return;
106
106
  e.target.select();
107
107
  };
@@ -111,7 +111,7 @@ const NumberStepperInput = /*#__PURE__*/React__default.forwardRef((_ref, ref) =>
111
111
  * Calls `handleInputBlur`
112
112
  */
113
113
  const handleBlur = e => {
114
- onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
114
+ onBlur === null || onBlur === void 0 || onBlur(e);
115
115
  if (isExternallyDisabled) return;
116
116
  handleInputBlur(e);
117
117
  };
@@ -41,7 +41,7 @@ const Tabs = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
41
41
  setTabIndexOfActiveTab(0);
42
42
  };
43
43
  const handleSelect = key => {
44
- onChange === null || onChange === void 0 ? void 0 : onChange(key);
44
+ onChange === null || onChange === void 0 || onChange(key);
45
45
  };
46
46
  const handleKeyDown = (event, tabElementKey, index) => {
47
47
  if (event.key === 'Enter' || event.key === ' ') {
@@ -82,12 +82,12 @@ const Tabs = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
82
82
  }),
83
83
  onKeyDown: event => {
84
84
  var _child$props$onKeyDow, _child$props;
85
- (_child$props$onKeyDow = (_child$props = child.props).onKeyDown) === null || _child$props$onKeyDow === void 0 ? void 0 : _child$props$onKeyDow.call(_child$props);
85
+ (_child$props$onKeyDow = (_child$props = child.props).onKeyDown) === null || _child$props$onKeyDow === void 0 || _child$props$onKeyDow.call(_child$props);
86
86
  handleKeyDown(event, key, index);
87
87
  },
88
88
  onClick: () => {
89
89
  var _child$props$onClick, _child$props2;
90
- (_child$props$onClick = (_child$props2 = child.props).onClick) === null || _child$props$onClick === void 0 ? void 0 : _child$props$onClick.call(_child$props2);
90
+ (_child$props$onClick = (_child$props2 = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props2);
91
91
  handleSelect(key);
92
92
  },
93
93
  'aria-controls': tabPanelIdPrefix + key
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._AZK7o{display:block}._L6V5e{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._lJ2Wy{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._lJ2Wy:hover{color:#32363a}._lJ2Wy:focus{outline:none}._lJ2Wy._zUHWs{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._wpHwe{padding-top:32px}._wpHwe._AmWj9{display:none}._lJ2Wy.focus-visible,._lJ2Wy:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"tabs":"_AZK7o","bar":"_L6V5e","tab":"_lJ2Wy","active":"_zUHWs","panel":"_wpHwe","inactive":"_AmWj9"};
5
- var stylesheet="._AZK7o{display:block}._L6V5e{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._lJ2Wy{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._lJ2Wy:hover{color:#32363a}._lJ2Wy:focus{outline:none}._lJ2Wy._zUHWs{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._wpHwe{padding-top:32px}._wpHwe._AmWj9{display:none}._lJ2Wy.focus-visible,._lJ2Wy:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._c-Pao{display:block}._Q9QIv{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._8BjVg{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._8BjVg:hover{color:#32363a}._8BjVg:focus{outline:none}._8BjVg._5by0T{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._c-gRO{padding-top:32px}._c-gRO._ZKdv4{display:none}._8BjVg.focus-visible,._8BjVg:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"tabs":"_c-Pao","bar":"_Q9QIv","tab":"_8BjVg","active":"_5by0T","panel":"_c-gRO","inactive":"_ZKdv4"};
5
+ var stylesheet="._c-Pao{display:block}._Q9QIv{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._8BjVg{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._8BjVg:hover{color:#32363a}._8BjVg:focus{outline:none}._8BjVg._5by0T{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._c-gRO{padding-top:32px}._c-gRO._ZKdv4{display:none}._8BjVg.focus-visible,._8BjVg:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._o1RqQ,._XIKBn{display:flex}._o1RqQ{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._8jZ64{width:69px;min-width:auto;max-width:none}._KmAOb{width:100%}._-X2m8{margin-bottom:12px;background-color:transparent!important}._-X2m8:hover{background-color:rgba(11,110,208,.08)!important}._-X2m8:hover>svg{fill:#085caf}._-X2m8:hover>span{color:#085caf}._-X2m8:active{background-color:rgba(11,110,208,.12)!important}._-X2m8:active>svg{fill:#0854a1}._-X2m8:active>span{color:#0854a1}._-X2m8._nWsV1{background-color:rgba(11,110,208,.08)!important}._-X2m8._nWsV1>svg{fill:#0b6ed0}._-X2m8._nWsV1>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._-X2m8._nWsV1:hover{background-color:rgba(11,110,208,.08)!important}._-X2m8._nWsV1:hover>svg{fill:#085caf}._-X2m8._nWsV1:hover>span{color:#085caf}._-X2m8._nWsV1:active{background-color:rgba(11,110,208,.12)!important}._-X2m8._nWsV1:active>svg{fill:#0854a1}._-X2m8._nWsV1:active>span{color:#0854a1}._togJJ{border-radius:6px}._togJJ>._hOvTi{display:block;fill:#515559}._8RtFF{margin-top:auto;margin-bottom:0}._sno1T{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._sno1T:hover>._sXBr7{opacity:1}._qTSVx{width:0;border-width:0;padding:0}._MYGKx{border-radius:4px;min-width:100%;min-height:100%;outline:none}._VCJFC{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._sXBr7{opacity:0}._BrErY,._sXBr7:hover,._VCJFC._O6qW-._O6qW-{opacity:1}._VCJFC._UvkbP._UvkbP{opacity:0}._VCJFC>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._VCJFC>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._VCJFC>span:hover>svg{fill:#fff}._VCJFC>span:active{background-color:#0854a1;border-color:#0854a1}._VCJFC>span:active>svg{fill:#fff}._VCJFC>span>svg{fill:#515559;border-radius:50%}._MYGKx._i5KvZ{display:none!important}._w1ypP{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._WwsYv{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._l-Pgo{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._-rc-a{fill:#515559}._78y-a{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._l-Pgo.focus-visible,._l-Pgo:focus-visible,._MYGKx.focus-visible,._MYGKx:focus-visible,._w1ypP.focus-visible,._w1ypP:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._VCJFC.focus-visible,._VCJFC:focus-visible{border-color:#0a3f88}._VCJFC:active>span{background-color:#0854a1;border-color:#0854a1}._VCJFC:active>span>svg{fill:#fff}._sXBr7.focus-visible,._sXBr7:focus-visible{opacity:1}";
4
- var styles = {"toolbar":"_XIKBn","toolbarNav":"_o1RqQ","toolbarNavCollapsed":"_8jZ64","toolbarTabs":"_KmAOb","toolbarTab":"_-X2m8","selected":"_nWsV1","toolbarTabIconButton":"_togJJ","icon":"_hOvTi","tabsExpandCollapseButton":"_8RtFF","toolbarPanels":"_sno1T","toolbarPanelExpandCollapseButtonDefaultHidden":"_sXBr7","toolbarPanelsCollapsed":"_qTSVx","toolbarPanel":"_MYGKx","toolbarPanelExpandCollapseButton":"_VCJFC","toolbarPanelExpandCollapseButtonDefaultShown":"_BrErY","overrideShow":"_O6qW-","overrideHide":"_UvkbP","notSelected":"_i5KvZ","buttonWithLabel":"_w1ypP","buttonWithLabelLabel":"_WwsYv","iconButtonWithLabel":"_l-Pgo","iconButtonWithLabelIcon":"_-rc-a","iconButtonWithLabelLabel":"_78y-a"};
5
- var stylesheet="._o1RqQ,._XIKBn{display:flex}._o1RqQ{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._8jZ64{width:69px;min-width:auto;max-width:none}._KmAOb{width:100%}._-X2m8{margin-bottom:12px;background-color:transparent!important}._-X2m8:hover{background-color:rgba(11,110,208,.08)!important}._-X2m8:hover>svg{fill:#085caf}._-X2m8:hover>span{color:#085caf}._-X2m8:active{background-color:rgba(11,110,208,.12)!important}._-X2m8:active>svg{fill:#0854a1}._-X2m8:active>span{color:#0854a1}._-X2m8._nWsV1{background-color:rgba(11,110,208,.08)!important}._-X2m8._nWsV1>svg{fill:#0b6ed0}._-X2m8._nWsV1>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._-X2m8._nWsV1:hover{background-color:rgba(11,110,208,.08)!important}._-X2m8._nWsV1:hover>svg{fill:#085caf}._-X2m8._nWsV1:hover>span{color:#085caf}._-X2m8._nWsV1:active{background-color:rgba(11,110,208,.12)!important}._-X2m8._nWsV1:active>svg{fill:#0854a1}._-X2m8._nWsV1:active>span{color:#0854a1}._togJJ{border-radius:6px}._togJJ>._hOvTi{display:block;fill:#515559}._8RtFF{margin-top:auto;margin-bottom:0}._sno1T{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._sno1T:hover>._sXBr7{opacity:1}._qTSVx{width:0;border-width:0;padding:0}._MYGKx{border-radius:4px;min-width:100%;min-height:100%;outline:none}._VCJFC{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._sXBr7{opacity:0}._BrErY,._sXBr7:hover,._VCJFC._O6qW-._O6qW-{opacity:1}._VCJFC._UvkbP._UvkbP{opacity:0}._VCJFC>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._VCJFC>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._VCJFC>span:hover>svg{fill:#fff}._VCJFC>span:active{background-color:#0854a1;border-color:#0854a1}._VCJFC>span:active>svg{fill:#fff}._VCJFC>span>svg{fill:#515559;border-radius:50%}._MYGKx._i5KvZ{display:none!important}._w1ypP{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._WwsYv{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._l-Pgo{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._-rc-a{fill:#515559}._78y-a{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._l-Pgo.focus-visible,._l-Pgo:focus-visible,._MYGKx.focus-visible,._MYGKx:focus-visible,._w1ypP.focus-visible,._w1ypP:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._VCJFC.focus-visible,._VCJFC:focus-visible{border-color:#0a3f88}._VCJFC:active>span{background-color:#0854a1;border-color:#0854a1}._VCJFC:active>span>svg{fill:#fff}._sXBr7.focus-visible,._sXBr7:focus-visible{opacity:1}";
3
+ var css_248z = "._PwG4O,._tQl2z{display:flex}._PwG4O{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._kPorN{width:69px;min-width:auto;max-width:none}._8OIxh{width:100%}._8Atdd{margin-bottom:12px;background-color:transparent!important}._8Atdd:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd:hover>svg{fill:#085caf}._8Atdd:hover>span{color:#085caf}._8Atdd:active{background-color:rgba(11,110,208,.12)!important}._8Atdd:active>svg{fill:#0854a1}._8Atdd:active>span{color:#0854a1}._8Atdd._X4qJH{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH>svg{fill:#0b6ed0}._8Atdd._X4qJH>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._8Atdd._X4qJH:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH:hover>svg{fill:#085caf}._8Atdd._X4qJH:hover>span{color:#085caf}._8Atdd._X4qJH:active{background-color:rgba(11,110,208,.12)!important}._8Atdd._X4qJH:active>svg{fill:#0854a1}._8Atdd._X4qJH:active>span{color:#0854a1}._wOBR1{border-radius:6px}._wOBR1>._C-6bH{display:block;fill:#515559}._AimN4{margin-top:auto;margin-bottom:0}._20--C{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._20--C:hover>._8N2Rn{opacity:1}._uwQVs{width:0;border-width:0;padding:0}._vt5ZB{border-radius:4px;min-width:100%;min-height:100%;outline:none}._OC8vq{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._8N2Rn{opacity:0}._8N2Rn:hover,._k8L-z,._OC8vq._GR22Q._GR22Q{opacity:1}._OC8vq._-nxVJ._-nxVJ{opacity:0}._OC8vq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._OC8vq>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._OC8vq>span:hover>svg{fill:#fff}._OC8vq>span:active{background-color:#0854a1;border-color:#0854a1}._OC8vq>span:active>svg{fill:#fff}._OC8vq>span>svg{fill:#515559;border-radius:50%}._vt5ZB._0g2K8{display:none!important}._4JdW7{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._jZBeq{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._3gGrt{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._royYN{fill:#515559}._djNW6{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._3gGrt.focus-visible,._3gGrt:focus-visible,._4JdW7.focus-visible,._4JdW7:focus-visible,._vt5ZB.focus-visible,._vt5ZB:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OC8vq.focus-visible,._OC8vq:focus-visible{border-color:#0a3f88}._OC8vq:active>span{background-color:#0854a1;border-color:#0854a1}._OC8vq:active>span>svg{fill:#fff}._8N2Rn.focus-visible,._8N2Rn:focus-visible{opacity:1}";
4
+ var styles = {"toolbar":"_tQl2z","toolbarNav":"_PwG4O","toolbarNavCollapsed":"_kPorN","toolbarTabs":"_8OIxh","toolbarTab":"_8Atdd","selected":"_X4qJH","toolbarTabIconButton":"_wOBR1","icon":"_C-6bH","tabsExpandCollapseButton":"_AimN4","toolbarPanels":"_20--C","toolbarPanelExpandCollapseButtonDefaultHidden":"_8N2Rn","toolbarPanelsCollapsed":"_uwQVs","toolbarPanel":"_vt5ZB","toolbarPanelExpandCollapseButton":"_OC8vq","toolbarPanelExpandCollapseButtonDefaultShown":"_k8L-z","overrideShow":"_GR22Q","overrideHide":"_-nxVJ","notSelected":"_0g2K8","buttonWithLabel":"_4JdW7","buttonWithLabelLabel":"_jZBeq","iconButtonWithLabel":"_3gGrt","iconButtonWithLabelIcon":"_royYN","iconButtonWithLabelLabel":"_djNW6"};
5
+ var stylesheet="._PwG4O,._tQl2z{display:flex}._PwG4O{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._kPorN{width:69px;min-width:auto;max-width:none}._8OIxh{width:100%}._8Atdd{margin-bottom:12px;background-color:transparent!important}._8Atdd:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd:hover>svg{fill:#085caf}._8Atdd:hover>span{color:#085caf}._8Atdd:active{background-color:rgba(11,110,208,.12)!important}._8Atdd:active>svg{fill:#0854a1}._8Atdd:active>span{color:#0854a1}._8Atdd._X4qJH{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH>svg{fill:#0b6ed0}._8Atdd._X4qJH>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._8Atdd._X4qJH:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH:hover>svg{fill:#085caf}._8Atdd._X4qJH:hover>span{color:#085caf}._8Atdd._X4qJH:active{background-color:rgba(11,110,208,.12)!important}._8Atdd._X4qJH:active>svg{fill:#0854a1}._8Atdd._X4qJH:active>span{color:#0854a1}._wOBR1{border-radius:6px}._wOBR1>._C-6bH{display:block;fill:#515559}._AimN4{margin-top:auto;margin-bottom:0}._20--C{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._20--C:hover>._8N2Rn{opacity:1}._uwQVs{width:0;border-width:0;padding:0}._vt5ZB{border-radius:4px;min-width:100%;min-height:100%;outline:none}._OC8vq{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._8N2Rn{opacity:0}._8N2Rn:hover,._k8L-z,._OC8vq._GR22Q._GR22Q{opacity:1}._OC8vq._-nxVJ._-nxVJ{opacity:0}._OC8vq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._OC8vq>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._OC8vq>span:hover>svg{fill:#fff}._OC8vq>span:active{background-color:#0854a1;border-color:#0854a1}._OC8vq>span:active>svg{fill:#fff}._OC8vq>span>svg{fill:#515559;border-radius:50%}._vt5ZB._0g2K8{display:none!important}._4JdW7{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._jZBeq{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._3gGrt{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._royYN{fill:#515559}._djNW6{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._3gGrt.focus-visible,._3gGrt:focus-visible,._4JdW7.focus-visible,._4JdW7:focus-visible,._vt5ZB.focus-visible,._vt5ZB:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OC8vq.focus-visible,._OC8vq:focus-visible{border-color:#0a3f88}._OC8vq:active>span{background-color:#0854a1;border-color:#0854a1}._OC8vq:active>span>svg{fill:#fff}._8N2Rn.focus-visible,._8N2Rn:focus-visible{opacity:1}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -104,7 +104,7 @@ const ToolbarPanels = /*#__PURE__*/forwardRef((_ref2, ref) => {
104
104
  */
105
105
  if (wasExpandCollapseButtonClicked) {
106
106
  var _expandCollapseButton;
107
- (_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0 ? void 0 : _expandCollapseButton.focus();
107
+ (_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0 || _expandCollapseButton.focus();
108
108
  setWasExpandCollapseButtonClicked(false);
109
109
  }
110
110
  }, [wasExpandCollapseButtonClicked]);
@@ -43,7 +43,7 @@ const ToolbarTab = /*#__PURE__*/forwardRef((_ref, ref) => {
43
43
  const isFocused = focusedIndex === index;
44
44
  const isSelected = selectedIndex === index;
45
45
  const handleSelect = () => {
46
- setSelectedIndex === null || setSelectedIndex === void 0 ? void 0 : setSelectedIndex(Number(index));
46
+ setSelectedIndex === null || setSelectedIndex === void 0 || setSelectedIndex(Number(index));
47
47
  };
48
48
  const handleClick = e => {
49
49
  /*
@@ -62,22 +62,22 @@ const ToolbarTab = /*#__PURE__*/forwardRef((_ref, ref) => {
62
62
  case 'ArrowDown':
63
63
  case 'ArrowRight':
64
64
  e.preventDefault(); // Prevent page scroll
65
- focusTab === null || focusTab === void 0 ? void 0 : focusTab(getNextIndex(focusedIndex, numTabs));
65
+ focusTab === null || focusTab === void 0 || focusTab(getNextIndex(focusedIndex, numTabs));
66
66
  break;
67
67
  case 'ArrowUp':
68
68
  case 'ArrowLeft':
69
69
  e.preventDefault(); // Prevent page scroll
70
- focusTab === null || focusTab === void 0 ? void 0 : focusTab(getPrevIndex(focusedIndex, numTabs));
70
+ focusTab === null || focusTab === void 0 || focusTab(getPrevIndex(focusedIndex, numTabs));
71
71
  break;
72
72
  case 'PageUp':
73
73
  case 'Home':
74
74
  e.preventDefault(); // Prevent page scroll
75
- focusTab === null || focusTab === void 0 ? void 0 : focusTab(0);
75
+ focusTab === null || focusTab === void 0 || focusTab(0);
76
76
  break;
77
77
  case 'PageDown':
78
78
  case 'End':
79
79
  e.preventDefault(); // Prevent page scroll
80
- focusTab === null || focusTab === void 0 ? void 0 : focusTab(Number(numTabs) - 1);
80
+ focusTab === null || focusTab === void 0 || focusTab(Number(numTabs) - 1);
81
81
  break;
82
82
  default:
83
83
  }
@@ -52,10 +52,10 @@ const ToolbarTabs = /*#__PURE__*/forwardRef((_ref, ref) => {
52
52
  if (isExpandCollapseButtonFocused) {
53
53
  if (isCollapsed) {
54
54
  var _expandToolbarTabsIco;
55
- (_expandToolbarTabsIco = expandToolbarTabsIconButtonRef.current) === null || _expandToolbarTabsIco === void 0 ? void 0 : _expandToolbarTabsIco.focus();
55
+ (_expandToolbarTabsIco = expandToolbarTabsIconButtonRef.current) === null || _expandToolbarTabsIco === void 0 || _expandToolbarTabsIco.focus();
56
56
  } else {
57
57
  var _collapseToolbarTabsI;
58
- (_collapseToolbarTabsI = collapseToolbarTabsIconButtonWithLabelRef.current) === null || _collapseToolbarTabsI === void 0 ? void 0 : _collapseToolbarTabsI.focus();
58
+ (_collapseToolbarTabsI = collapseToolbarTabsIconButtonWithLabelRef.current) === null || _collapseToolbarTabsI === void 0 || _collapseToolbarTabsI.focus();
59
59
  }
60
60
  }
61
61
  }, [isCollapsed, isExpandCollapseButtonFocused]);
@@ -69,7 +69,7 @@ const ToolbarTabs = /*#__PURE__*/forwardRef((_ref, ref) => {
69
69
  const numTabs = React__default.Children.count(children);
70
70
  const focusTab = index => {
71
71
  var _tabRefs$current;
72
- (_tabRefs$current = tabRefs.current) === null || _tabRefs$current === void 0 || (_tabRefs$current = _tabRefs$current[index]) === null || _tabRefs$current === void 0 ? void 0 : _tabRefs$current.focus();
72
+ (_tabRefs$current = tabRefs.current) === null || _tabRefs$current === void 0 || (_tabRefs$current = _tabRefs$current[index]) === null || _tabRefs$current === void 0 || _tabRefs$current.focus();
73
73
  setFocusedIndex(index);
74
74
  };
75
75
 
@@ -58,7 +58,7 @@ function useControllableState(initialState, onChange, externalState) {
58
58
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
59
59
  args[_key - 1] = arguments[_key];
60
60
  }
61
- (_onChangeRef$current = onChangeRef.current) === null || _onChangeRef$current === void 0 ? void 0 : _onChangeRef$current.call(onChangeRef, nextState, ...args);
61
+ (_onChangeRef$current = onChangeRef.current) === null || _onChangeRef$current === void 0 || _onChangeRef$current.call(onChangeRef, nextState, ...args);
62
62
  }
63
63
  }, [onChangeRef, externalStateRef, internalStateRef]);
64
64
  const actualState = externalState === undefined ? state : externalState;
@@ -41,7 +41,7 @@ const useOverlay = _ref => {
41
41
  containerNode.style.position = 'static';
42
42
  containerNode.removeChild(overlay);
43
43
  };
44
- }, [containerRef, overlayId, isVisible, onClick, dataTestId, zIndex]);
44
+ }, [containerRef, overlayId, isVisible, onClick, dataTestId, zIndex, opacity]);
45
45
  useEffect(() => {
46
46
  var _containerRef$current2;
47
47
  const containerNode = (_containerRef$current2 = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) !== null && _containerRef$current2 !== void 0 ? _containerRef$current2 : document.body;
@@ -50,12 +50,12 @@ const useOverlay = _ref => {
50
50
  Array.from(containerNode.children).forEach(child => {
51
51
  if (!ignoreIds.includes(child.id) && child.id !== overlayId) child.setAttribute('inert', '');
52
52
  });
53
- overlayNode === null || overlayNode === void 0 ? void 0 : overlayNode.classList.remove(styles.hidden);
53
+ overlayNode === null || overlayNode === void 0 || overlayNode.classList.remove(styles.hidden);
54
54
  } else {
55
55
  Array.from(containerNode.children).forEach(child => {
56
56
  child.removeAttribute('inert');
57
57
  });
58
- overlayNode === null || overlayNode === void 0 ? void 0 : overlayNode.classList.add(styles.hidden);
58
+ overlayNode === null || overlayNode === void 0 || overlayNode.classList.add(styles.hidden);
59
59
  }
60
60
  return () => {
61
61
  Array.from(containerNode.children).forEach(child => {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._erbOa{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._XCnoP{visibility:hidden}";
4
- var styles = {"overlay":"_erbOa","hidden":"_XCnoP"};
5
- var stylesheet="._erbOa{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._XCnoP{visibility:hidden}";
3
+ var css_248z = "._1iXuo{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._-d2as{visibility:hidden}";
4
+ var styles = {"overlay":"_1iXuo","hidden":"_-d2as"};
5
+ var stylesheet="._1iXuo{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._-d2as{visibility:hidden}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -25,7 +25,7 @@ function useScreenReaderAnnouncement(politeness) {
25
25
  // Sets the politeness of `aria-live`
26
26
  useEffect(() => {
27
27
  var _ariaLiveElementRef$c;
28
- if (politeness !== undefined) (_ariaLiveElementRef$c = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c === void 0 ? void 0 : _ariaLiveElementRef$c.setAttribute('aria-live', politeness);
28
+ if (politeness !== undefined) (_ariaLiveElementRef$c = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c === void 0 || _ariaLiveElementRef$c.setAttribute('aria-live', politeness);
29
29
  }, [politeness]);
30
30
 
31
31
  // Announces oldest message in the queue
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._qJu2K{position:absolute;top:-10000px;left:-10000px}";
4
- var classes = {"ariaLiveElement":"_qJu2K"};
5
- var stylesheet="._qJu2K{position:absolute;top:-10000px;left:-10000px}";
3
+ var css_248z = "._RMr2q{position:absolute;top:-10000px;left:-10000px}";
4
+ var classes = {"ariaLiveElement":"_RMr2q"};
5
+ var stylesheet="._RMr2q{position:absolute;top:-10000px;left:-10000px}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { classes 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 = "._RBbZL{flex-shrink:0}";
4
- var styles = {"icon":"_RBbZL"};
5
- var stylesheet="._RBbZL{flex-shrink:0}";
3
+ var css_248z = "._OZFCb{flex-shrink:0}";
4
+ var styles = {"icon":"_OZFCb"};
5
+ var stylesheet="._OZFCb{flex-shrink:0}";
6
6
  if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var icons_index = require('../__shared/cjs/index-8f52588d.js');
5
+ var icons_index = require('../__shared/cjs/index-ae6df097.js');
6
6
  require('@babel/runtime-corejs3/helpers/extends');
7
7
  require('react');
8
8
  require('classnames');
package/dist/index.d.ts CHANGED
@@ -52,11 +52,11 @@ export declare interface AccordionSectionProps {
52
52
  children: React_2.ReactNode;
53
53
  }
54
54
 
55
- export declare const Banner: ({ onClose, icon, status, "data-testid": dataTestId, children, }: BannerProps) => React_2.JSX.Element;
55
+ export declare const Banner: ({ onClose, icon, status, "data-testid": dataTestId, children, }: BannerProps) => JSX.Element;
56
56
 
57
57
  export declare const BannerBody: ({ children }: {
58
58
  children: React_2.ReactNode;
59
- }) => React_2.JSX.Element;
59
+ }) => JSX.Element;
60
60
 
61
61
  export declare interface BannerBodyProps {
62
62
  /** The contents of the banner body. The `BannerBody` component is expected inside `Banner`. */
@@ -65,7 +65,7 @@ export declare interface BannerBodyProps {
65
65
 
66
66
  export declare const BannerFooter: ({ children }: {
67
67
  children: React_2.ReactNode;
68
- }) => React_2.JSX.Element;
68
+ }) => JSX.Element;
69
69
 
70
70
  export declare interface BannerFooterProps {
71
71
  /**
@@ -91,7 +91,7 @@ export declare interface BannerProps {
91
91
 
92
92
  export declare const BannerTitle: ({ children }: {
93
93
  children: React_2.ReactNode;
94
- }) => React_2.JSX.Element;
94
+ }) => JSX.Element;
95
95
 
96
96
  export declare interface BannerTitleProps {
97
97
  /** The contents of the banner title. The `BannerTitle` component is optional inside `Banner`. */
@@ -114,7 +114,7 @@ export declare interface BreakpointProps {
114
114
  size: DefaultBreakpoints;
115
115
  }
116
116
 
117
- export declare function BreakpointSwitch({ children, }: BreakpointSwitchProps): ReactElement;
117
+ export declare function BreakpointSwitch({ children }: BreakpointSwitchProps): JSX.Element;
118
118
 
119
119
  export declare interface BreakpointSwitchProps {
120
120
  /** List of `Breakpoint` components */
@@ -201,7 +201,7 @@ export declare interface Color {
201
201
  name?: string;
202
202
  }
203
203
 
204
- export declare function ColorPicker({ color: externalColor, onChange, palette, isAlphaEnabled, hideHSVSelector, hideFlyoutInputs, isDisabled, id, buttonRef: externalButtonRef, inputRef: externalInputRef, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, zIndex, 'data-testid': dataTestId, }: ColorPickerProps): ReactElement;
204
+ export declare function ColorPicker({ color: externalColor, onChange, palette, isAlphaEnabled, hideHSVSelector, hideFlyoutInputs, isDisabled, id, buttonRef: externalButtonRef, inputRef: externalInputRef, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, zIndex, 'data-testid': dataTestId, }: ColorPickerProps): JSX.Element;
205
205
 
206
206
  export declare interface ColorPickerProps {
207
207
  color: Color;
@@ -360,6 +360,12 @@ declare const _default: {
360
360
  newOptionsLoading: string;
361
361
  newOptionsLoaded: string;
362
362
  locked: string;
363
+ currentPage: string;
364
+ firstPage: string;
365
+ lastPage: string;
366
+ currentPageNumber: string;
367
+ currentPageNumberOf: string;
368
+ rowDisplayCount: string;
363
369
  };
364
370
 
365
371
  export declare const DEFAULT_BREAKPOINTS: {
@@ -1757,7 +1763,7 @@ export declare interface PopoverProps extends Omit<React_2.AllHTMLAttributes<HTM
1757
1763
  [prop: string]: any;
1758
1764
  }
1759
1765
 
1760
- export declare const PortalTargetProvider: ({ target, children, }: PortalTargetProviderProps) => ReactElement;
1766
+ export declare const PortalTargetProvider: ({ target, children, }: PortalTargetProviderProps) => JSX.Element;
1761
1767
 
1762
1768
  export declare interface PortalTargetProviderProps {
1763
1769
  target?: HTMLElement | null;
@@ -2087,6 +2093,8 @@ export declare interface UIProviderProps {
2087
2093
 
2088
2094
  export declare function useBreakpoints<T extends Record<string, number> | undefined = undefined>(breakpoints?: T, unit?: 'em' | 'px'): T extends Record<string, number> ? Record<keyof T, boolean> : Record<DefaultBreakpoints, boolean>;
2089
2095
 
2096
+ export declare const useIsTruncated: (target: React.RefObject<HTMLElement> | null) => boolean;
2097
+
2090
2098
  export declare function useResponsiveValue<V, C = typeof DEFAULT_BREAKPOINTS>(values: {
2091
2099
  [K in keyof V]: K extends keyof C ? V[K] : never;
2092
2100
  }, breakpoints?: C, unit?: 'em' | 'px'): V[keyof V];
package/dist/index.es.js CHANGED
@@ -3,6 +3,7 @@ import './hooks/index.js';
3
3
  export { DEFAULT_BREAKPOINTS } from './utils/constants.js';
4
4
  export { default as useBreakpoints } from './hooks/useBreakpoints/useBreakpoints.js';
5
5
  export { default as useResponsiveValue } from './hooks/useResponsiveValue/useResponsiveValue.js';
6
+ export { default as useIsTruncated } from './hooks/useIsTruncated/useIsTruncated.js';
6
7
  export { Accordion } from './components/Accordion/Accordion.js';
7
8
  export { AccordionSection } from './components/Accordion/AccordionSection.js';
8
9
  export { AccordionHeader } from './components/Accordion/AccordionHeader.js';
@@ -101,6 +102,6 @@ export { default as deprecated_ToolbarPanel } from './components/deprecated_Tool
101
102
 
102
103
  /* eslint-disable camelcase */
103
104
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
104
- const version = '2.24.2';
105
+ const version = '2.26.0';
105
106
 
106
107
  export { version };
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./__shared/cjs/index-b7a35c2e.js');
5
+ var index = require('./__shared/cjs/index-dc6f69ac.js');
6
6
  require('react');
7
7
  require('classnames');
8
- require('./__shared/cjs/index-8f52588d.js');
8
+ require('./__shared/cjs/index-ae6df097.js');
9
9
  require('@babel/runtime-corejs3/helpers/extends');
10
10
  require('react-popper');
11
11
  require('@popperjs/core');
@@ -19,7 +19,7 @@ require('throttle-debounce');
19
19
 
20
20
  /* eslint-disable camelcase */
21
21
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
22
- const version = '2.24.2';
22
+ const version = '2.26.0';
23
23
 
24
24
  exports.Accordion = index.Accordion;
25
25
  exports.AccordionHeader = index.AccordionHeader;
@@ -124,5 +124,6 @@ exports.deprecated_ToolbarPanels = index.ToolbarPanels;
124
124
  exports.deprecated_ToolbarTab = index.ToolbarTab;
125
125
  exports.deprecated_ToolbarTabs = index.ToolbarTabs;
126
126
  exports.useBreakpoints = index.useBreakpoints;
127
+ exports.useIsTruncated = index.useIsTruncated;
127
128
  exports.useResponsiveValue = index.useResponsiveValue;
128
129
  exports.version = version;