@qualtrics/ui-react 2.20.0 → 2.22.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 (211) hide show
  1. package/CHANGELOG.md +17 -33
  2. package/dist/__shared/cjs/{index-90d4069b.js → index-025620bf.js} +718 -673
  3. package/dist/__shared/cjs/{index-579c4690.js → index-41a013d2.js} +4 -4
  4. package/dist/components/Accordion/Accordion.js +1 -1
  5. package/dist/components/Accordion/Accordion2.js +3 -3
  6. package/dist/components/Accordion/AccordionHeader.js +4 -4
  7. package/dist/components/Accordion/AccordionPanel.js +3 -3
  8. package/dist/components/Button/Button.js +3 -3
  9. package/dist/components/Button/Button2.js +2 -2
  10. package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
  11. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  12. package/dist/components/Checkbox/Checkbox.js +11 -11
  13. package/dist/components/Checkbox/Checkbox2.js +3 -3
  14. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  15. package/dist/components/ColorPicker/Alpha.js +12 -16
  16. package/dist/components/ColorPicker/ColorPicker.js +15 -9
  17. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  18. package/dist/components/ColorPicker/ColorPickerFlyout.js +9 -4
  19. package/dist/components/ColorPicker/ColorPickerFlyoutInputs.js +8 -6
  20. package/dist/components/ColorPicker/Hue.js +3 -9
  21. package/dist/components/ColorPicker/Palette.js +13 -9
  22. package/dist/components/ColorPicker/Saturation.js +9 -17
  23. package/dist/components/ColorPicker/utils/hexToRgbaString.js +3 -2
  24. package/dist/components/ColorPicker/utils/rgbToHex.js +1 -1
  25. package/dist/components/ColorPicker/utils/validateHex.js +10 -9
  26. package/dist/components/Combobox/Combobox.js +54 -31
  27. package/dist/components/Combobox/Combobox2.js +3 -3
  28. package/dist/components/Combobox/ComboboxHeader.js +1 -1
  29. package/dist/components/Combobox/ComboboxIcon.js +3 -2
  30. package/dist/components/Combobox/ComboboxInput.js +4 -4
  31. package/dist/components/Combobox/ComboboxList.js +2 -2
  32. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  33. package/dist/components/Divider/Divider2.js +3 -3
  34. package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +5 -2
  35. package/dist/components/Dropdown/Dropdown.js +14 -14
  36. package/dist/components/Dropdown/Dropdown2.js +3 -3
  37. package/dist/components/Dropdown/DropdownButton.js +23 -19
  38. package/dist/components/Dropdown/DropdownList.js +4 -4
  39. package/dist/components/Dropdown/DropdownOption.js +5 -7
  40. package/dist/components/Dropdown/DropdownSearch.js +12 -9
  41. package/dist/components/FilePicker/FilePicker.js +13 -13
  42. package/dist/components/FilePicker/FilePicker2.js +3 -3
  43. package/dist/components/FormField/Caption.js +3 -3
  44. package/dist/components/FormField/FormField.js +2 -2
  45. package/dist/components/FormField/FormField2.js +3 -3
  46. package/dist/components/FormField/FormFieldContext.js +3 -3
  47. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +5 -3
  48. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  49. package/dist/components/Icon/Icon.js +2 -2
  50. package/dist/components/IconButton/IconButton2.js +3 -3
  51. package/dist/components/InlineInput/InlineInput.js +12 -9
  52. package/dist/components/InlineInput/InlineInput2.js +3 -3
  53. package/dist/components/Input/Input.js +1 -1
  54. package/dist/components/Input/Input2.js +3 -3
  55. package/dist/components/Input/InputField.js +2 -2
  56. package/dist/components/InputGroup/InputGroup2.js +3 -3
  57. package/dist/components/Label/Label2.js +3 -3
  58. package/dist/components/Link/Link2.js +3 -3
  59. package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -1
  60. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  61. package/dist/components/LogicEditor/ConditionSet.js +5 -5
  62. package/dist/components/LogicEditor/LogicEditor.js +1 -1
  63. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  64. package/dist/components/LogicEditor/utils.js +2 -1
  65. package/dist/components/Modal/Modal.js +14 -13
  66. package/dist/components/Modal/Modal2.js +3 -3
  67. package/dist/components/NewMenu/BaseMenu.js +41 -30
  68. package/dist/components/NewMenu/NewMenu.js +3 -3
  69. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -2
  70. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +19 -15
  71. package/dist/components/NewMenu/parts/MenuItem.js +1 -1
  72. package/dist/components/NumberStepper/NumberStepper.js +7 -6
  73. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  74. package/dist/components/NumberStepper/NumberStepperDecrement.js +1 -1
  75. package/dist/components/NumberStepper/NumberStepperIncrement.js +1 -1
  76. package/dist/components/NumberStepper/NumberStepperInput.js +3 -3
  77. package/dist/components/PageLayout/PageLayout.js +3 -3
  78. package/dist/components/Pagination/Pagination.js +1 -1
  79. package/dist/components/Pagination/Pagination2.js +3 -3
  80. package/dist/components/Pagination/PaginationNextButton.js +5 -5
  81. package/dist/components/Pagination/PaginationPageInput.js +11 -9
  82. package/dist/components/Pagination/PaginationPreviousButton.js +5 -5
  83. package/dist/components/Popover/Popover.js +9 -7
  84. package/dist/components/Popover/Popover2.js +3 -3
  85. package/dist/components/QuickSearch/QuickSearch.js +4 -3
  86. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  87. package/dist/components/QuickSearch/QuickSearchInput.js +4 -4
  88. package/dist/components/Radio/Radio.js +12 -11
  89. package/dist/components/Radio/Radio2.js +3 -3
  90. package/dist/components/SearchInput/SearchInput.js +4 -3
  91. package/dist/components/SearchInput/SearchInput2.js +3 -3
  92. package/dist/components/SidebarNav/SidebarNav.js +2 -1
  93. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  94. package/dist/components/SidebarNav/SidebarNavLink.js +1 -1
  95. package/dist/components/Slider/RangeSlider.js +2 -2
  96. package/dist/components/Slider/Slider.js +1 -1
  97. package/dist/components/Slider/Slider2.js +3 -3
  98. package/dist/components/Slider/SliderButton.js +1 -1
  99. package/dist/components/Switch/Switch.js +11 -11
  100. package/dist/components/Switch/Switch2.js +3 -3
  101. package/dist/components/Table/Table2.js +3 -3
  102. package/dist/components/Tabs/Tab.js +3 -3
  103. package/dist/components/Tabs/TabList.js +6 -5
  104. package/dist/components/Tabs/TabPanel.js +3 -3
  105. package/dist/components/Tabs/Tabs2.js +3 -3
  106. package/dist/components/Tooltip/Tooltip.js +15 -7
  107. package/dist/components/Tooltip/Tooltip2.js +3 -3
  108. package/dist/components/UIProvider/UIProvider.js +2 -2
  109. package/dist/components/deprecated_ColorPicker/Alpha.js +4 -4
  110. package/dist/components/deprecated_ColorPicker/Color.js +6 -6
  111. package/dist/components/deprecated_ColorPicker/ColorPicker.js +2 -2
  112. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  113. package/dist/components/deprecated_ColorPicker/HexInput.js +1 -1
  114. package/dist/components/deprecated_ColorPicker/Hue.js +3 -3
  115. package/dist/components/deprecated_ColorPicker/Saturation.js +5 -5
  116. package/dist/components/deprecated_ColorPicker/Swatch.js +2 -2
  117. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  118. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +2 -2
  119. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +2 -2
  120. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +8 -8
  121. package/dist/components/deprecated_Tabs/Tabs.js +11 -7
  122. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  123. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  124. package/dist/components/deprecated_Toolbar/ToolbarPanel.js +3 -3
  125. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +4 -29
  126. package/dist/components/deprecated_Toolbar/ToolbarTab.js +8 -8
  127. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +6 -3
  128. package/dist/hooks/useBreakpoints/useBreakpoints.js +1 -1
  129. package/dist/hooks/useClickOutside/useClickOutside.js +2 -1
  130. package/dist/hooks/useControllableState/useControllableState.js +2 -1
  131. package/dist/hooks/useEventListener/useEventListener.js +4 -1
  132. package/dist/hooks/useId/useId.js +1 -1
  133. package/dist/hooks/useOverlay/useOverlay.js +11 -6
  134. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  135. package/dist/hooks/useResponsiveValue/useResponsiveValue.js +2 -1
  136. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +4 -2
  137. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  138. package/dist/icons/Icon.js +3 -3
  139. package/dist/icons/createIconComponent.js +1 -1
  140. package/dist/icons/index.js +1 -1
  141. package/dist/index.d.ts +17 -8
  142. package/dist/index.es.js +1 -7
  143. package/dist/index.js +4 -7
  144. package/dist/next/AdvancedTable/AdvancedTable.js +86 -87
  145. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  146. package/dist/next/AdvancedTable/AdvancedTableCell.js +6 -4
  147. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +18 -10
  148. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +7 -6
  149. package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +5 -4
  150. package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -1
  151. package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +3 -2
  152. package/dist/next/AdvancedTable/useComputedWidth.js +1 -1
  153. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +6 -5
  154. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  155. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInputIconButton.js +1 -1
  156. package/dist/next/Combobox/Combobox2.js +3 -3
  157. package/dist/next/Combobox/ComboboxFlyout.js +2 -2
  158. package/dist/next/Combobox/ComboboxGroup.js +1 -1
  159. package/dist/next/Combobox/ComboboxInput.js +2 -2
  160. package/dist/next/Combobox/ComboboxOption.js +1 -1
  161. package/dist/next/Combobox/hooks/useComboboxFilteredGroup/useComboboxFilteredGroup.js +1 -1
  162. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +12 -8
  163. package/dist/next/Combobox/hooks/useComboboxValue/useComboboxValue.js +1 -1
  164. package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/useListboxFlyoutDimensions.js +3 -2
  165. package/dist/next/Combobox/hooks/useSelectedOptionScroll/useSelectedOptionScroll.js +2 -1
  166. package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/useShouldRenderGroupHeader.js +2 -1
  167. package/dist/next/Combobox/utils/nodeRegistration/nodeRegistration.js +1 -1
  168. package/dist/next/Drawer/Drawer.js +7 -4
  169. package/dist/next/Drawer/Drawer2.js +3 -3
  170. package/dist/next/FilterAnchor/FilterAnchor.js +3 -3
  171. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  172. package/dist/next/Input/Input.js +2 -2
  173. package/dist/next/Input/Input2.js +3 -3
  174. package/dist/next/Menu/Menu.js +11 -5
  175. package/dist/next/Menu/Menu2.js +3 -3
  176. package/dist/next/Menu/MenuItem.js +19 -11
  177. package/dist/next/Menu/MenuPane.js +70 -40
  178. package/dist/next/Menu/MenuSearch.js +16 -71
  179. package/dist/next/Menu/SubMenu.js +63 -46
  180. package/dist/next/Menu/constants.js +5 -1
  181. package/dist/next/Menu/useMutationObserver.js +17 -0
  182. package/dist/next/Menu/usePaneSearch.js +109 -7
  183. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +7 -6
  184. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  185. package/dist/next/SplitButton/SplitButton.js +8 -2
  186. package/dist/next/SplitButton/SplitButton2.js +3 -3
  187. package/dist/next/TimePicker/TimeDropdown.js +4 -4
  188. package/dist/next/TimePicker/TimeInput.js +2 -2
  189. package/dist/next/TimePicker/TimePicker.js +4 -4
  190. package/dist/next/TimePicker/TimePicker2.js +3 -3
  191. package/dist/next/TimePicker/TimePickerIcon.js +2 -1
  192. package/dist/next/TimePicker/utils.js +10 -9
  193. package/dist/next/ToggleButton/styles.js +3 -3
  194. package/dist/next/index.d.ts +2 -1
  195. package/dist/next/index.js +601 -432
  196. package/dist/utils/Flyout/Flyout.js +1 -1
  197. package/dist/utils/Flyout/Flyout2.js +3 -3
  198. package/dist/utils/Popper/Popper.js +9 -5
  199. package/dist/utils/TextOverflowTooltip/TextOverflowTooltip.js +2 -1
  200. package/dist/utils/Translation/useTranslation.js +4 -5
  201. package/dist/utils/filterChildren/filterChildren.js +2 -1
  202. package/dist/utils/getSubDataTestId/getSubDataTestId.js +1 -1
  203. package/dist/utils/index.js +0 -1
  204. package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -1
  205. package/dist/utils/mergeRefs/mergeRefs.js +1 -1
  206. package/dist/utils/wrapEvent/wrapEvent.js +2 -2
  207. package/icons/package.json +1 -0
  208. package/next/package.json +2 -1
  209. package/package.json +4 -4
  210. package/dist/utils/keyboardUser/index.js +0 -1
  211. package/dist/utils/keyboardUser/keyboardUser.js +0 -30
@@ -47,7 +47,8 @@ const PaginationPageInput = /*#__PURE__*/forwardRef((_ref, ref) => {
47
47
  * Computes the width of the input based on the number of characters entered
48
48
  */
49
49
  const inputWidth = useMemo(() => {
50
- const numDigits = currentPage?.toString().length ?? 0;
50
+ var _currentPage$toString;
51
+ const numDigits = (_currentPage$toString = currentPage === null || currentPage === void 0 ? void 0 : currentPage.toString().length) !== null && _currentPage$toString !== void 0 ? _currentPage$toString : 0;
51
52
  const minWidth = 36;
52
53
  return numDigits > 2 ? 9 * (numDigits - 2) + minWidth : minWidth;
53
54
  }, [currentPage]);
@@ -57,7 +58,7 @@ const PaginationPageInput = /*#__PURE__*/forwardRef((_ref, ref) => {
57
58
  */
58
59
  const handleBlur = () => {
59
60
  if (pageInputValue !== currentPage && currentPage !== undefined) {
60
- setPageInputValue?.(currentPage);
61
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(currentPage);
61
62
  }
62
63
  };
63
64
 
@@ -68,11 +69,11 @@ const PaginationPageInput = /*#__PURE__*/forwardRef((_ref, ref) => {
68
69
  */
69
70
  const handleInputChange = newValue => {
70
71
  if (newValue === '' || !Number.isInteger(Number(newValue))) {
71
- setPageInputValue?.(newValue);
72
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(newValue);
72
73
  } else {
73
74
  const newPage = Math.min(Math.max(1, newValue), numPages || Number.MAX_SAFE_INTEGER);
74
- setPageInputValue?.(newPage);
75
- handlePageChange?.(newPage);
75
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(newPage);
76
+ handlePageChange === null || handlePageChange === void 0 ? void 0 : handlePageChange(newPage);
76
77
  }
77
78
  };
78
79
 
@@ -80,7 +81,8 @@ const PaginationPageInput = /*#__PURE__*/forwardRef((_ref, ref) => {
80
81
  * If there is a ref to the input, selects all text within the input
81
82
  */
82
83
  const handleFocus = () => {
83
- inputRef.current?.select();
84
+ var _inputRef$current;
85
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.select();
84
86
  };
85
87
  return /*#__PURE__*/React__default.createElement(Translate, {
86
88
  messageKey: "pagination",
@@ -98,15 +100,15 @@ const PaginationPageInput = /*#__PURE__*/forwardRef((_ref, ref) => {
98
100
  max: numPages,
99
101
  value: pageInputValue,
100
102
  onChange: e => {
101
- onChange?.(e);
103
+ onChange === null || onChange === void 0 ? void 0 : onChange(e);
102
104
  handleInputChange(e.target.value);
103
105
  },
104
106
  onBlur: e => {
105
- onBlur?.(e);
107
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
106
108
  handleBlur();
107
109
  },
108
110
  onFocus: e => {
109
- onFocus?.(e);
111
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
110
112
  handleFocus();
111
113
  },
112
114
  style: {
@@ -42,19 +42,19 @@ const PaginationPreviousButton = /*#__PURE__*/forwardRef((_ref, ref) => {
42
42
  */
43
43
  const decrement = () => {
44
44
  const newPage = pageInputValue - 1;
45
- setPageInputValue?.(newPage);
46
- handlePageChange?.(newPage);
45
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(newPage);
46
+ handlePageChange === null || handlePageChange === void 0 ? void 0 : handlePageChange(newPage);
47
47
  };
48
48
  return /*#__PURE__*/React__default.createElement(Button, _extends({}, rest, {
49
- disabled: disabled ?? pageInputValue === 1,
49
+ disabled: disabled !== null && disabled !== void 0 ? disabled : pageInputValue === 1,
50
50
  ref: ref,
51
51
  kind: "tertiary",
52
52
  onClick: e => {
53
- onClick?.(e);
53
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
54
54
  decrement();
55
55
  },
56
56
  className: classNames(className, styles.previousButton),
57
- "data-testid": dataTestIdFromProps ?? getSubDataTestId(dataTestId, 'PreviousButton'),
57
+ "data-testid": dataTestIdFromProps !== null && dataTestIdFromProps !== void 0 ? dataTestIdFromProps : getSubDataTestId(dataTestId, 'PreviousButton'),
58
58
  "aria-label": buttonLabel
59
59
  }), /*#__PURE__*/React__default.createElement(ChevronLeftIcon, {
60
60
  className: styles.btnIcon,
@@ -30,7 +30,7 @@ const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
30
30
  const classes = classNames(styles.popover, className);
31
31
  const anchorRef = useRef();
32
32
  const popperRef = useRef(null);
33
- const preventClickOutside = useClickOutsidePortals(e => show && onClickOutside?.(e));
33
+ const preventClickOutside = useClickOutsidePortals(e => show && (onClickOutside === null || onClickOutside === void 0 ? void 0 : onClickOutside(e)));
34
34
  const [isInDOM, setIsInDOM] = useState(false);
35
35
  const popoverId = useId(externalId);
36
36
 
@@ -47,22 +47,23 @@ const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
47
47
  * 2. A user in Safari clicks on 1 or more `Popover` anchor elements and then presses the `Escape` key. This is because buttons aren't focused on `click` or `mousedown` in Safari by default.
48
48
  */
49
49
  if (!show && isInDOM) {
50
+ var _anchorRef$current;
50
51
  // Prevents scroll so that the page does not scroll to the anchor element if the anchor element is out of view
51
- anchorRef.current?.focus({
52
+ (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.focus({
52
53
  preventScroll: true
53
54
  });
54
55
  }
55
56
  setIsInDOM(show);
56
57
  }, [show, isInDOM]);
57
58
  const handlePopoverContainerClick = e => {
58
- onClick?.(e);
59
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
59
60
  };
60
61
  const handlePopoverContainerKeyDown = e => {
61
62
  if (e.key === 'Escape') {
62
63
  e.stopPropagation(); // prevent event from closing modals or popovers
63
- onClose?.(e);
64
+ onClose === null || onClose === void 0 ? void 0 : onClose(e);
64
65
  }
65
- onKeyDown?.(e);
66
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
66
67
  };
67
68
  return /*#__PURE__*/React__default.createElement(Popper, {
68
69
  open: show,
@@ -75,6 +76,7 @@ const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
75
76
  'aria-expanded': show,
76
77
  'aria-controls': show ? popoverId : undefined,
77
78
  onMouseDown: e => {
79
+ var _children$props$onMou, _children$props;
78
80
  /*
79
81
  * Prevents the anchor element from getting focus (only in some browsers).
80
82
  * If a Popover is open and out of view, and another button is clicked, this prevents the browser from scrolling to the open Popover.
@@ -82,9 +84,9 @@ const Popover = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
82
84
  */
83
85
  e.preventDefault();
84
86
  preventClickOutside();
85
- children.props.onMouseDown?.(e);
87
+ (_children$props$onMou = (_children$props = children.props).onMouseDown) === null || _children$props$onMou === void 0 ? void 0 : _children$props$onMou.call(_children$props, e);
86
88
  },
87
- ref: mergeRefs(anchorRef, children?.ref)
89
+ ref: mergeRefs(anchorRef, children === null || children === void 0 ? void 0 : children.ref)
88
90
  }),
89
91
  popper: /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
90
92
  ref: mergeRefs(ref, popperRef),
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._z4Wmc{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._z4Wmc:focus{outline:none}._RToxB,._RToxB>div{position:absolute;width:8px;height:8px;background:inherit}._RToxB{visibility:hidden;z-index:1000}._RToxB>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._RToxB{bottom:-4px}[data-popper-placement^=top]>._RToxB>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._RToxB{left:-5px}[data-popper-placement^=right]>._RToxB>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._RToxB{top:-5px}[data-popper-placement^=bottom]>._RToxB>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._RToxB{right:-4px}[data-popper-placement^=left]>._RToxB>div{border-bottom-color:transparent;border-left-color:transparent}";
4
- var styles = {"popover":"_z4Wmc","arrow":"_RToxB"};
5
- var stylesheet="._z4Wmc{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._z4Wmc:focus{outline:none}._RToxB,._RToxB>div{position:absolute;width:8px;height:8px;background:inherit}._RToxB{visibility:hidden;z-index:1000}._RToxB>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._RToxB{bottom:-4px}[data-popper-placement^=top]>._RToxB>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._RToxB{left:-5px}[data-popper-placement^=right]>._RToxB>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._RToxB{top:-5px}[data-popper-placement^=bottom]>._RToxB>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._RToxB{right:-4px}[data-popper-placement^=left]>._RToxB>div{border-bottom-color:transparent;border-left-color:transparent}";
3
+ var css_248z = "._tG9Z6{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._tG9Z6:focus{outline:none}._309Re,._309Re>div{position:absolute;width:8px;height:8px;background:inherit}._309Re{visibility:hidden;z-index:1000}._309Re>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._309Re{bottom:-4px}[data-popper-placement^=top]>._309Re>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._309Re{left:-5px}[data-popper-placement^=right]>._309Re>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._309Re{top:-5px}[data-popper-placement^=bottom]>._309Re>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._309Re{right:-4px}[data-popper-placement^=left]>._309Re>div{border-bottom-color:transparent;border-left-color:transparent}";
4
+ var styles = {"popover":"_tG9Z6","arrow":"_309Re"};
5
+ var stylesheet="._tG9Z6{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._tG9Z6:focus{outline:none}._309Re,._309Re>div{position:absolute;width:8px;height:8px;background:inherit}._309Re{visibility:hidden;z-index:1000}._309Re>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._309Re{bottom:-4px}[data-popper-placement^=top]>._309Re>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._309Re{left:-5px}[data-popper-placement^=right]>._309Re>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._309Re{top:-5px}[data-popper-placement^=bottom]>._309Re>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._309Re{right:-4px}[data-popper-placement^=left]>._309Re>div{border-bottom-color:transparent;border-left-color:transparent}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -12,6 +12,7 @@ import LoadingSpinner from '../LoadingSpinner/LoadingSpinner.js';
12
12
  import MenuItem from '../NewMenu/parts/MenuItem.js';
13
13
 
14
14
  const QuickSearch = /*#__PURE__*/forwardRef((_ref, ref) => {
15
+ var _anchorRef$current;
15
16
  let {
16
17
  maxHeight: externalMaxHeight,
17
18
  menuProps,
@@ -27,7 +28,7 @@ const QuickSearch = /*#__PURE__*/forwardRef((_ref, ref) => {
27
28
  const [items, setItems] = useState([]);
28
29
  const maxHeight = items.length > 10 ? 500 : undefined;
29
30
  const anchorRef = useRef(null);
30
- const anchorWidth = anchorRef?.current?.clientWidth;
31
+ const anchorWidth = anchorRef === null || anchorRef === void 0 ? void 0 : (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.clientWidth;
31
32
  const {
32
33
  translate
33
34
  } = useTranslation();
@@ -40,7 +41,7 @@ const QuickSearch = /*#__PURE__*/forwardRef((_ref, ref) => {
40
41
  portalTarget: portalTarget,
41
42
  zIndex: zIndex,
42
43
  anchor: /*#__PURE__*/React__default.createElement(QuickSearchInput, _extends({}, rest, {
43
- role: role ?? 'searchbox',
44
+ role: role !== null && role !== void 0 ? role : 'searchbox',
44
45
  ref: mergeRefs(ref, anchorRef),
45
46
  setIsLoading: setIsLoading,
46
47
  items: items,
@@ -57,7 +58,7 @@ const QuickSearch = /*#__PURE__*/forwardRef((_ref, ref) => {
57
58
  return /*#__PURE__*/React__default.createElement(MenuItem, {
58
59
  key: index,
59
60
  value: value,
60
- onSelect: () => onSelect?.(item)
61
+ onSelect: () => onSelect === null || onSelect === void 0 ? void 0 : onSelect(item)
61
62
  }, label);
62
63
  }));
63
64
  });
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._Y0haa{display:flex;height:32px}";
4
- var styles = {"loadingSpinner":"_Y0haa"};
5
- var stylesheet="._Y0haa{display:flex;height:32px}";
3
+ var css_248z = "._NqJ-J{display:flex;height:32px}";
4
+ var styles = {"loadingSpinner":"_NqJ-J"};
5
+ var stylesheet="._NqJ-J{display:flex;height:32px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -44,11 +44,11 @@ const QuickSearchInput = /*#__PURE__*/forwardRef((_ref, ref) => {
44
44
  if (!open) {
45
45
  setIsLoading(true);
46
46
  }
47
- setIsOpen?.(true);
47
+ setIsOpen === null || setIsOpen === void 0 ? void 0 : setIsOpen(true);
48
48
  };
49
49
  const closeMenu = useCallback(() => {
50
50
  setItems([]);
51
- internalCloseMenu?.();
51
+ internalCloseMenu === null || internalCloseMenu === void 0 ? void 0 : internalCloseMenu();
52
52
  setIsLoading(true);
53
53
  }, [setItems, internalCloseMenu, setIsLoading]);
54
54
  const onSearchRef = useLatest(onSearch);
@@ -78,14 +78,14 @@ const QuickSearchInput = /*#__PURE__*/forwardRef((_ref, ref) => {
78
78
  if (e.key === 'Enter' || e.key === 'ArrowDown') {
79
79
  e.preventDefault(); // prevent scroll
80
80
  openMenu();
81
- setHighlightedIndex?.(0);
81
+ setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(0);
82
82
  if (!open) {
83
83
  handleSearch(value);
84
84
  }
85
85
  } else if (e.key === 'ArrowUp') {
86
86
  e.preventDefault(); // prevent scroll
87
87
  openMenu();
88
- setHighlightedIndex?.(items.length - 1);
88
+ setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(items.length - 1);
89
89
  if (!open) {
90
90
  handleSearch(value);
91
91
  }
@@ -8,6 +8,7 @@ import '../../utils/index.js';
8
8
  import concatIds from '../../utils/concatIds/concatIds.js';
9
9
 
10
10
  const Radio = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11
+ var _ref2;
11
12
  let {
12
13
  id,
13
14
  className,
@@ -32,25 +33,25 @@ const Radio = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
32
33
  helperTextId: formFieldHelperTextId,
33
34
  errorTextId: formFieldErrorTextId
34
35
  } = useFormFieldContext();
35
- const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps?.['aria-describedby']);
36
- const checked = groupValue !== undefined ? value === groupValue : radioChecked ?? inputProps?.checked;
37
- const defaultChecked = groupDefaultValue !== undefined ? value === groupDefaultValue : radioDefaultChecked ?? inputProps?.defaultChecked;
38
- const onChange = radioGroupOnChange ?? radioOnChange ?? inputProps?.onChange;
36
+ const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
37
+ const checked = groupValue !== undefined ? value === groupValue : radioChecked !== null && radioChecked !== void 0 ? radioChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked;
38
+ const defaultChecked = groupDefaultValue !== undefined ? value === groupDefaultValue : radioDefaultChecked !== null && radioDefaultChecked !== void 0 ? radioDefaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked;
39
+ const onChange = (_ref2 = radioGroupOnChange !== null && radioGroupOnChange !== void 0 ? radioGroupOnChange : radioOnChange) !== null && _ref2 !== void 0 ? _ref2 : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange;
39
40
  return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
40
41
  ref: ref,
41
42
  className: classNames(className, styles.radio)
42
43
  }), /*#__PURE__*/React__default.createElement("input", _extends({}, inputProps, {
43
- className: classNames(styles.input, inputProps?.className),
44
+ className: classNames(styles.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
44
45
  type: "radio",
45
- id: id ?? inputProps?.id,
46
+ id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
46
47
  checked: checked,
47
48
  defaultChecked: defaultChecked,
48
- disabled: disabled ?? inputProps?.disabled,
49
- name: name ?? inputProps?.name,
50
- value: value ?? inputProps?.value,
49
+ disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
50
+ name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
51
+ value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
51
52
  onChange: disabled ? undefined : onChange,
52
- "aria-label": ariaLabel ?? inputProps?.['aria-label'],
53
- "aria-labelledby": ariaLabelledBy ?? inputProps?.['aria-labelledby'],
53
+ "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
54
+ "aria-labelledby": ariaLabelledBy !== null && ariaLabelledBy !== void 0 ? ariaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
54
55
  "aria-describedby": internalAriaDescribedby
55
56
  })), /*#__PURE__*/React__default.createElement("span", {
56
57
  className: styles.check
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._O-huZ{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._jKXT7,._O-huZ{cursor:pointer;height:16px;width:16px}._jKXT7{position:absolute;opacity:0;z-index:10}._jKXT7:checked~._Ti-9d>._x9ZqQ{fill-opacity:1}._jKXT7:checked:enabled~._Ti-9d{border-color:transparent;background-color:#0b6ed0}._jKXT7:checked:enabled~._Ti-9d>._x9ZqQ{fill:#fff}._jKXT7:checked:enabled:hover~._Ti-9d{background-color:#085caf}._jKXT7:not(:checked):enabled:hover~._Ti-9d{border-color:#0b6ed0}._jKXT7:disabled{cursor:not-allowed}._jKXT7:disabled~._Ti-9d{opacity:.4}._jKXT7:checked~._Ti-9d:after{content:\"\"}._cPOqC{color:#32363a;display:flex;align-items:center;cursor:pointer}._Z-T6v{cursor:auto;color:hsla(0,0%,53.7%,.4)}._z4YN1{margin-right:12px;flex-shrink:0}._Ti-9d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._x9ZqQ{fill:#0b6ed0;fill-opacity:0}._Ti-9d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._P8UaC{border:none;padding:0;margin:0}._YroML{padding:0;margin:0 0 14px;color:#01213f}body.keyboard-user ._jKXT7:active:focus~._Ti-9d,body.keyboard-user ._jKXT7:focus~._Ti-9d{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"radio":"_O-huZ","input":"_jKXT7","check":"_Ti-9d","checkIcon":"_x9ZqQ","label":"_cPOqC","labelDisabled":"_Z-T6v","wrappedInput":"_z4YN1","radioGroup":"_P8UaC","legend":"_YroML"};
5
- var stylesheet="._O-huZ{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._jKXT7,._O-huZ{cursor:pointer;height:16px;width:16px}._jKXT7{position:absolute;opacity:0;z-index:10}._jKXT7:checked~._Ti-9d>._x9ZqQ{fill-opacity:1}._jKXT7:checked:enabled~._Ti-9d{border-color:transparent;background-color:#0b6ed0}._jKXT7:checked:enabled~._Ti-9d>._x9ZqQ{fill:#fff}._jKXT7:checked:enabled:hover~._Ti-9d{background-color:#085caf}._jKXT7:not(:checked):enabled:hover~._Ti-9d{border-color:#0b6ed0}._jKXT7:disabled{cursor:not-allowed}._jKXT7:disabled~._Ti-9d{opacity:.4}._jKXT7:checked~._Ti-9d:after{content:\"\"}._cPOqC{color:#32363a;display:flex;align-items:center;cursor:pointer}._Z-T6v{cursor:auto;color:hsla(0,0%,53.7%,.4)}._z4YN1{margin-right:12px;flex-shrink:0}._Ti-9d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._x9ZqQ{fill:#0b6ed0;fill-opacity:0}._Ti-9d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._P8UaC{border:none;padding:0;margin:0}._YroML{padding:0;margin:0 0 14px;color:#01213f}body.keyboard-user ._jKXT7:active:focus~._Ti-9d,body.keyboard-user ._jKXT7:focus~._Ti-9d{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._GCX7x{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._BBMH-,._GCX7x{cursor:pointer;height:16px;width:16px}._BBMH-{position:absolute;opacity:0;z-index:10}._BBMH-:checked~._Zfh1d>._n-ueu{fill-opacity:1}._BBMH-:checked:enabled~._Zfh1d{border-color:transparent;background-color:#0b6ed0}._BBMH-:checked:enabled~._Zfh1d>._n-ueu{fill:#fff}._BBMH-:checked:enabled:hover~._Zfh1d{background-color:#085caf}._BBMH-:not(:checked):enabled:hover~._Zfh1d{border-color:#0b6ed0}._BBMH-:disabled{cursor:not-allowed}._BBMH-:disabled~._Zfh1d{opacity:.4}._BBMH-:checked~._Zfh1d:after{content:\"\"}._dYvpr{color:#32363a;display:flex;align-items:center;cursor:pointer}._NVj-m{cursor:auto;color:hsla(0,0%,53.7%,.4)}._HjVM0{margin-right:12px;flex-shrink:0}._Zfh1d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._n-ueu{fill:#0b6ed0;fill-opacity:0}._Zfh1d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._fOKka{border:none;padding:0;margin:0}._M8DXu{padding:0;margin:0 0 14px;color:#01213f}._BBMH-.focus-visible~._Zfh1d,._BBMH-:focus-visible~._Zfh1d{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"radio":"_GCX7x","input":"_BBMH-","check":"_Zfh1d","checkIcon":"_n-ueu","label":"_dYvpr","labelDisabled":"_NVj-m","wrappedInput":"_HjVM0","radioGroup":"_fOKka","legend":"_M8DXu"};
5
+ var stylesheet="._GCX7x{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._BBMH-,._GCX7x{cursor:pointer;height:16px;width:16px}._BBMH-{position:absolute;opacity:0;z-index:10}._BBMH-:checked~._Zfh1d>._n-ueu{fill-opacity:1}._BBMH-:checked:enabled~._Zfh1d{border-color:transparent;background-color:#0b6ed0}._BBMH-:checked:enabled~._Zfh1d>._n-ueu{fill:#fff}._BBMH-:checked:enabled:hover~._Zfh1d{background-color:#085caf}._BBMH-:not(:checked):enabled:hover~._Zfh1d{border-color:#0b6ed0}._BBMH-:disabled{cursor:not-allowed}._BBMH-:disabled~._Zfh1d{opacity:.4}._BBMH-:checked~._Zfh1d:after{content:\"\"}._dYvpr{color:#32363a;display:flex;align-items:center;cursor:pointer}._NVj-m{cursor:auto;color:hsla(0,0%,53.7%,.4)}._HjVM0{margin-right:12px;flex-shrink:0}._Zfh1d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._n-ueu{fill:#0b6ed0;fill-opacity:0}._Zfh1d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._fOKka{border:none;padding:0;margin:0}._M8DXu{padding:0;margin:0 0 14px;color:#01213f}._BBMH-.focus-visible~._Zfh1d,._BBMH-:focus-visible~._Zfh1d{border-color:#0b6ed0;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 };
@@ -44,7 +44,8 @@ const SearchInput = /*#__PURE__*/forwardRef((_ref, ref) => {
44
44
  // Focuses the input after the input value is cleared so that screen readers see that the input doesn't have a value
45
45
  useEffect(() => {
46
46
  if (wasInputValueCleared) {
47
- inputRef.current?.focus();
47
+ var _inputRef$current;
48
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
48
49
  setWasInputValueCleared(false);
49
50
  }
50
51
  }, [wasInputValueCleared]);
@@ -63,7 +64,7 @@ const SearchInput = /*#__PURE__*/forwardRef((_ref, ref) => {
63
64
 
64
65
  clearInputText();
65
66
  }
66
- onKeyDown?.(e);
67
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
67
68
  };
68
69
  return /*#__PURE__*/React__default.createElement("span", {
69
70
  className: classNames(styles.searchInput, className),
@@ -72,7 +73,7 @@ const SearchInput = /*#__PURE__*/forwardRef((_ref, ref) => {
72
73
  role: "searchbox",
73
74
  id: id,
74
75
  className: styles.searchInputInput,
75
- placeholder: placeholder ?? translate('searchText'),
76
+ placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : translate('searchText'),
76
77
  value: inputValue,
77
78
  onChange: handleInputChange,
78
79
  onKeyDown: handleInputKeyDown,
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._-UKkr{display:inline-block;position:relative}._Wh0w4._Wh0w4{padding-left:36px;padding-right:36px;width:100%}._Wh0w4._Wh0w4:disabled+._BkV5r{fill-opacity:.6}._BkV5r{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._BkV5r._rdySt{z-index:20}._2I4-4{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._2I4-4:hover{cursor:pointer}._2I4-4:hover>._ghlGl{fill:#32363a}._2I4-4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._ghlGl{fill:#515559}";
4
- var styles = {"searchInput":"_-UKkr","searchInputInput":"_Wh0w4","searchInputSearchIcon":"_BkV5r","usedWithinInputGroup":"_rdySt","searchInputClearButton":"_2I4-4","searchInputClearButtonIcon":"_ghlGl"};
5
- var stylesheet="._-UKkr{display:inline-block;position:relative}._Wh0w4._Wh0w4{padding-left:36px;padding-right:36px;width:100%}._Wh0w4._Wh0w4:disabled+._BkV5r{fill-opacity:.6}._BkV5r{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._BkV5r._rdySt{z-index:20}._2I4-4{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._2I4-4:hover{cursor:pointer}._2I4-4:hover>._ghlGl{fill:#32363a}._2I4-4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._ghlGl{fill:#515559}";
3
+ var css_248z = "._Jbgi9{display:inline-block;position:relative}._JNIVg._JNIVg{padding-left:36px;padding-right:36px;width:100%}._JNIVg._JNIVg:disabled+._krW5u{fill-opacity:.6}._krW5u{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._krW5u._Plcgi{z-index:20}._wJ2-D{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._wJ2-D:hover{cursor:pointer}._wJ2-D:hover>._zmD87{fill:#32363a}._wJ2-D:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zmD87{fill:#515559}";
4
+ var styles = {"searchInput":"_Jbgi9","searchInputInput":"_JNIVg","searchInputSearchIcon":"_krW5u","usedWithinInputGroup":"_Plcgi","searchInputClearButton":"_wJ2-D","searchInputClearButtonIcon":"_zmD87"};
5
+ var stylesheet="._Jbgi9{display:inline-block;position:relative}._JNIVg._JNIVg{padding-left:36px;padding-right:36px;width:100%}._JNIVg._JNIVg:disabled+._krW5u{fill-opacity:.6}._krW5u{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._krW5u._Plcgi{z-index:20}._wJ2-D{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._wJ2-D:hover{cursor:pointer}._wJ2-D:hover>._zmD87{fill:#32363a}._wJ2-D:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zmD87{fill:#515559}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -34,7 +34,8 @@ const SidebarNav = /*#__PURE__*/forwardRef((_ref, ref) => {
34
34
  */
35
35
  useEffect(() => {
36
36
  if (isExpandCollapseButtonFocused) {
37
- expandCollapseButtonRef.current?.focus();
37
+ var _expandCollapseButton;
38
+ (_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0 ? void 0 : _expandCollapseButton.focus();
38
39
  }
39
40
  }, [isCollapsed, isExpandCollapseButtonFocused]);
40
41
  return /*#__PURE__*/React__default.createElement("div", {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._LGkaS{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._LGkaS._Bxgpn{width:69px;min-width:auto;max-width:none}._z-O8n{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._jna5Z{margin-bottom:12px;background-color:transparent!important}._jna5Z:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z:hover ._fTIOX{fill:#085caf}._jna5Z:hover ._fGGNs{color:#085caf}._jna5Z:active{background-color:rgba(11,110,208,.12)!important}._jna5Z:active ._fTIOX{fill:#0854a1}._jna5Z:active ._fGGNs{color:#0854a1}._jna5Z._ZlTiD{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD ._fTIOX{fill:#0b6ed0}._jna5Z._ZlTiD ._fGGNs{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._jna5Z._ZlTiD:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD:hover ._fTIOX{fill:#085caf}._jna5Z._ZlTiD:hover ._fGGNs{color:#085caf}._jna5Z._ZlTiD:active{background-color:rgba(11,110,208,.12)!important}._jna5Z._ZlTiD:active ._fTIOX{fill:#0854a1}._jna5Z._ZlTiD:active ._fGGNs{color:#0854a1}._FH7AR{border-radius:6px}._FH7AR ._fTIOX{display:block;fill:#515559}._MQeHp{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._44K8R,._qaPJ7{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._44K8R ._fTIOX,._qaPJ7 ._fTIOX{fill:#515559}._44K8R ._fGGNs,._qaPJ7 ._fGGNs{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}body.keyboard-user ._jna5Z:active:focus,body.keyboard-user ._jna5Z:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"sideBarNav":"_LGkaS","collapsed":"_Bxgpn","navItems":"_z-O8n","sidebarNavItem":"_jna5Z","icon":"_fTIOX","label":"_fGGNs","selected":"_ZlTiD","sidebarNavItemIconButton":"_FH7AR","expandCollapseButtonContainer":"_MQeHp","navLink":"_44K8R","iconButtonWithLabel":"_qaPJ7"};
5
- var stylesheet="._LGkaS{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._LGkaS._Bxgpn{width:69px;min-width:auto;max-width:none}._z-O8n{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._jna5Z{margin-bottom:12px;background-color:transparent!important}._jna5Z:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z:hover ._fTIOX{fill:#085caf}._jna5Z:hover ._fGGNs{color:#085caf}._jna5Z:active{background-color:rgba(11,110,208,.12)!important}._jna5Z:active ._fTIOX{fill:#0854a1}._jna5Z:active ._fGGNs{color:#0854a1}._jna5Z._ZlTiD{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD ._fTIOX{fill:#0b6ed0}._jna5Z._ZlTiD ._fGGNs{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._jna5Z._ZlTiD:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD:hover ._fTIOX{fill:#085caf}._jna5Z._ZlTiD:hover ._fGGNs{color:#085caf}._jna5Z._ZlTiD:active{background-color:rgba(11,110,208,.12)!important}._jna5Z._ZlTiD:active ._fTIOX{fill:#0854a1}._jna5Z._ZlTiD:active ._fGGNs{color:#0854a1}._FH7AR{border-radius:6px}._FH7AR ._fTIOX{display:block;fill:#515559}._MQeHp{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._44K8R,._qaPJ7{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._44K8R ._fTIOX,._qaPJ7 ._fTIOX{fill:#515559}._44K8R ._fGGNs,._qaPJ7 ._fGGNs{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}body.keyboard-user ._jna5Z:active:focus,body.keyboard-user ._jna5Z:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._CiJpK{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._CiJpK._DsuOE{width:69px;min-width:auto;max-width:none}._gJL0p{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._kEHOq{margin-bottom:12px;background-color:transparent!important}._kEHOq:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq:hover ._0UMT3{fill:#085caf}._kEHOq:hover ._Lc88m{color:#085caf}._kEHOq:active{background-color:rgba(11,110,208,.12)!important}._kEHOq:active ._0UMT3{fill:#0854a1}._kEHOq:active ._Lc88m{color:#0854a1}._kEHOq._H-fOT{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT ._0UMT3{fill:#0b6ed0}._kEHOq._H-fOT ._Lc88m{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._kEHOq._H-fOT:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT:hover ._0UMT3{fill:#085caf}._kEHOq._H-fOT:hover ._Lc88m{color:#085caf}._kEHOq._H-fOT:active{background-color:rgba(11,110,208,.12)!important}._kEHOq._H-fOT:active ._0UMT3{fill:#0854a1}._kEHOq._H-fOT:active ._Lc88m{color:#0854a1}._IG59P{border-radius:6px}._IG59P ._0UMT3{display:block;fill:#515559}._cmeyb{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._G2ZLt,._NskbF{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._G2ZLt ._0UMT3,._NskbF ._0UMT3{fill:#515559}._G2ZLt ._Lc88m,._NskbF ._Lc88m{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._kEHOq.focus-visible,._kEHOq:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"sideBarNav":"_CiJpK","collapsed":"_DsuOE","navItems":"_gJL0p","sidebarNavItem":"_kEHOq","icon":"_0UMT3","label":"_Lc88m","selected":"_H-fOT","sidebarNavItemIconButton":"_IG59P","expandCollapseButtonContainer":"_cmeyb","navLink":"_G2ZLt","iconButtonWithLabel":"_NskbF"};
5
+ var stylesheet="._CiJpK{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._CiJpK._DsuOE{width:69px;min-width:auto;max-width:none}._gJL0p{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._kEHOq{margin-bottom:12px;background-color:transparent!important}._kEHOq:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq:hover ._0UMT3{fill:#085caf}._kEHOq:hover ._Lc88m{color:#085caf}._kEHOq:active{background-color:rgba(11,110,208,.12)!important}._kEHOq:active ._0UMT3{fill:#0854a1}._kEHOq:active ._Lc88m{color:#0854a1}._kEHOq._H-fOT{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT ._0UMT3{fill:#0b6ed0}._kEHOq._H-fOT ._Lc88m{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._kEHOq._H-fOT:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT:hover ._0UMT3{fill:#085caf}._kEHOq._H-fOT:hover ._Lc88m{color:#085caf}._kEHOq._H-fOT:active{background-color:rgba(11,110,208,.12)!important}._kEHOq._H-fOT:active ._0UMT3{fill:#0854a1}._kEHOq._H-fOT:active ._Lc88m{color:#0854a1}._IG59P{border-radius:6px}._IG59P ._0UMT3{display:block;fill:#515559}._cmeyb{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._G2ZLt,._NskbF{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._G2ZLt ._0UMT3,._NskbF ._0UMT3{fill:#515559}._G2ZLt ._Lc88m,._NskbF ._Lc88m{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._kEHOq.focus-visible,._kEHOq:focus-visible{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 };
@@ -25,7 +25,7 @@ const SidebarNavLink = /*#__PURE__*/forwardRef((_ref, ref) => {
25
25
  isCollapsed,
26
26
  NavLink
27
27
  } = useSidebarNavContext();
28
- const Icon = isCollapsed ? icon ?? ExcludeIcon : icon;
28
+ const Icon = isCollapsed ? icon !== null && icon !== void 0 ? icon : ExcludeIcon : icon;
29
29
  const link = /*#__PURE__*/React__default.createElement(NavLink, {
30
30
  className: isActive => classNames(styles.sidebarNavItem, styles.navLink, {
31
31
  [styles.noIcon]: !Icon,
@@ -113,8 +113,8 @@ const RangeSlider = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
113
113
  }, /*#__PURE__*/React__default.createElement("span", {
114
114
  className: styles.fill,
115
115
  style: {
116
- left: `${buttonPositions[0]}%`,
117
- right: `${100 - buttonPositions[1]}%`
116
+ left: "".concat(buttonPositions[0], "%"),
117
+ right: "".concat(100 - buttonPositions[1], "%")
118
118
  }
119
119
  }), values.map((value, index) => /*#__PURE__*/React__default.createElement(SliderButton, {
120
120
  key: index,
@@ -118,7 +118,7 @@ const Slider = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
118
118
  className: styles.fill,
119
119
  style: {
120
120
  left: -1,
121
- right: `${100 - buttonPosition}%`
121
+ right: "".concat(100 - buttonPosition, "%")
122
122
  }
123
123
  }), /*#__PURE__*/React__default.createElement(SliderButton, {
124
124
  "aria-valuemin": min,
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._iG7eX{height:auto;width:200px;padding:5px 10px}._EruyG{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._GvPet{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._GvPet,._hdVHd{position:absolute}._hdVHd{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._hdVHd:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}body.keyboard-user ._hdVHd:active:focus,body.keyboard-user ._hdVHd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"slider":"_iG7eX","track":"_EruyG","fill":"_GvPet","button":"_hdVHd"};
5
- var stylesheet="._iG7eX{height:auto;width:200px;padding:5px 10px}._EruyG{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._GvPet{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._GvPet,._hdVHd{position:absolute}._hdVHd{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._hdVHd:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}body.keyboard-user ._hdVHd:active:focus,body.keyboard-user ._hdVHd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._fNSYs{height:auto;width:200px;padding:5px 10px}._yrqeQ{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._lNOmF{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._C83EQ,._lNOmF{position:absolute}._C83EQ{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._C83EQ:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._C83EQ.focus-visible,._C83EQ:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"slider":"_fNSYs","track":"_yrqeQ","fill":"_lNOmF","button":"_C83EQ"};
5
+ var stylesheet="._fNSYs{height:auto;width:200px;padding:5px 10px}._yrqeQ{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._lNOmF{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._C83EQ,._lNOmF{position:absolute}._C83EQ{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._C83EQ:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._C83EQ.focus-visible,._C83EQ:focus-visible{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 };
@@ -51,7 +51,7 @@ const SliderButton = _ref => {
51
51
  const anchorButton = /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
52
52
  className: styles.button,
53
53
  style: {
54
- left: `calc(${buttonPosition}% + ${buttonOffset}px`
54
+ left: "calc(".concat(buttonPosition, "% + ").concat(buttonOffset, "px")
55
55
  },
56
56
  onMouseDown: handleMouseDown,
57
57
  onKeyDown: onKeyDown,
@@ -26,26 +26,26 @@ const Switch = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
26
26
  helperTextId: formFieldHelperTextId,
27
27
  errorTextId: formFieldErrorTextId
28
28
  } = useFormFieldContext();
29
- const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps?.['aria-describedby']);
29
+ const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
30
30
  return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
31
31
  ref: ref,
32
32
  className: classNames(className, styles.switch, {
33
33
  [styles.disabled]: disabled
34
34
  })
35
35
  }), /*#__PURE__*/React__default.createElement("input", _extends({}, inputProps, {
36
- className: classNames(styles.input, inputProps?.className),
36
+ className: classNames(styles.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
37
37
  type: "checkbox",
38
38
  role: "switch",
39
- id: id ?? inputProps?.id,
40
- checked: checked ?? inputProps?.checked,
41
- defaultChecked: defaultChecked ?? inputProps?.defaultChecked,
42
- disabled: disabled ?? inputProps?.disabled,
43
- onChange: disabled ? undefined : onChange ?? inputProps?.onChange,
44
- value: value ?? inputProps?.value,
45
- "aria-label": ariaLabel ?? inputProps?.['aria-label'],
46
- "aria-labelledby": ariaLabelledBy ?? inputProps?.['aria-labelledby'],
39
+ id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
40
+ checked: checked !== null && checked !== void 0 ? checked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked,
41
+ defaultChecked: defaultChecked !== null && defaultChecked !== void 0 ? defaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked,
42
+ disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
43
+ onChange: disabled ? undefined : onChange !== null && onChange !== void 0 ? onChange : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange,
44
+ value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
45
+ "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
46
+ "aria-labelledby": ariaLabelledBy !== null && ariaLabelledBy !== void 0 ? ariaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
47
47
  "aria-describedby": internalAriaDescribedby,
48
- tabIndex: tabIndex ?? inputProps?.tabIndex
48
+ tabIndex: tabIndex !== null && tabIndex !== void 0 ? tabIndex : inputProps === null || inputProps === void 0 ? void 0 : inputProps.tabIndex
49
49
  })), /*#__PURE__*/React__default.createElement("span", {
50
50
  className: styles.slider
51
51
  }));
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._-n78T{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._-n78T._8dD5S{cursor:not-allowed}._a0S5k{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._a0S5k:disabled{cursor:not-allowed}._a0S5k:disabled~._hAzRE{opacity:.4}._a0S5k:checked~._hAzRE{background-color:#0b6ed0}._a0S5k:checked~._hAzRE:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._a0S5k:hover:not(:disabled):not(:checked)~._hAzRE{background-color:#6a6a6a}._a0S5k:hover:not(:disabled):checked~._hAzRE{background-color:#085caf}._a0S5k:hover:not(:disabled):checked~._hAzRE:before{border-color:#085caf}._hAzRE{width:32px;background-color:#898989;border-radius:34px}._hAzRE,._hAzRE:before{height:16px;transition:.2s}._hAzRE:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._z-5xx{color:#32363a;display:flex;align-items:center;cursor:pointer}._VtArn{cursor:auto;color:hsla(0,0%,53.7%,.4)}._S5732{margin-right:12px;flex-shrink:0}body.keyboard-user ._-n78T ._a0S5k:active:focus~._hAzRE,body.keyboard-user ._-n78T ._a0S5k:focus~._hAzRE{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"switch":"_-n78T","disabled":"_8dD5S","input":"_a0S5k","slider":"_hAzRE","label":"_z-5xx","labelDisabled":"_VtArn","wrappedInput":"_S5732"};
5
- var stylesheet="._-n78T{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._-n78T._8dD5S{cursor:not-allowed}._a0S5k{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._a0S5k:disabled{cursor:not-allowed}._a0S5k:disabled~._hAzRE{opacity:.4}._a0S5k:checked~._hAzRE{background-color:#0b6ed0}._a0S5k:checked~._hAzRE:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._a0S5k:hover:not(:disabled):not(:checked)~._hAzRE{background-color:#6a6a6a}._a0S5k:hover:not(:disabled):checked~._hAzRE{background-color:#085caf}._a0S5k:hover:not(:disabled):checked~._hAzRE:before{border-color:#085caf}._hAzRE{width:32px;background-color:#898989;border-radius:34px}._hAzRE,._hAzRE:before{height:16px;transition:.2s}._hAzRE:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._z-5xx{color:#32363a;display:flex;align-items:center;cursor:pointer}._VtArn{cursor:auto;color:hsla(0,0%,53.7%,.4)}._S5732{margin-right:12px;flex-shrink:0}body.keyboard-user ._-n78T ._a0S5k:active:focus~._hAzRE,body.keyboard-user ._-n78T ._a0S5k:focus~._hAzRE{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._6ksuV{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._6ksuV._rXGZW{cursor:not-allowed}._BMiaS{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._BMiaS:disabled{cursor:not-allowed}._BMiaS:disabled~._0E-IL{opacity:.4}._BMiaS:checked~._0E-IL{background-color:#0b6ed0}._BMiaS:checked~._0E-IL:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._BMiaS:hover:not(:disabled):not(:checked)~._0E-IL{background-color:#6a6a6a}._BMiaS:hover:not(:disabled):checked~._0E-IL{background-color:#085caf}._BMiaS:hover:not(:disabled):checked~._0E-IL:before{border-color:#085caf}._0E-IL{width:32px;background-color:#898989;border-radius:34px}._0E-IL,._0E-IL:before{height:16px;transition:.2s}._0E-IL:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._m1NjK{color:#32363a;display:flex;align-items:center;cursor:pointer}._WFhwb{cursor:auto;color:hsla(0,0%,53.7%,.4)}._zNEWp{margin-right:12px;flex-shrink:0}._BMiaS.focus-visible~._0E-IL,._BMiaS:focus-visible~._0E-IL{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"switch":"_6ksuV","disabled":"_rXGZW","input":"_BMiaS","slider":"_0E-IL","label":"_m1NjK","labelDisabled":"_WFhwb","wrappedInput":"_zNEWp"};
5
+ var stylesheet="._6ksuV{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._6ksuV._rXGZW{cursor:not-allowed}._BMiaS{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._BMiaS:disabled{cursor:not-allowed}._BMiaS:disabled~._0E-IL{opacity:.4}._BMiaS:checked~._0E-IL{background-color:#0b6ed0}._BMiaS:checked~._0E-IL:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._BMiaS:hover:not(:disabled):not(:checked)~._0E-IL{background-color:#6a6a6a}._BMiaS:hover:not(:disabled):checked~._0E-IL{background-color:#085caf}._BMiaS:hover:not(:disabled):checked~._0E-IL:before{border-color:#085caf}._0E-IL{width:32px;background-color:#898989;border-radius:34px}._0E-IL,._0E-IL:before{height:16px;transition:.2s}._0E-IL:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._m1NjK{color:#32363a;display:flex;align-items:center;cursor:pointer}._WFhwb{cursor:auto;color:hsla(0,0%,53.7%,.4)}._zNEWp{margin-right:12px;flex-shrink:0}._BMiaS.focus-visible~._0E-IL,._BMiaS:focus-visible~._0E-IL{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 = "._YVxy7{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._YVxy7 ._aZjY-:first-child,._YVxy7 ._fzWwu:first-child{padding-left:16px}._TTM6D{font-size:12px}._aZjY-{padding:12px 8px;text-align:left;font-weight:700}._gNEss ._VQeS2{border-top:1px solid #ededed}._gNEss ._VQeS2:hover{background-color:#fafafa}._VQeS2{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._fzWwu{padding:16px 8px;word-break:break-word;text-align:left}";
4
- var styles = {"table":"_YVxy7","tableCell":"_fzWwu","tableHeaderCell":"_aZjY-","tableHead":"_TTM6D","tableBody":"_gNEss","tableRow":"_VQeS2"};
5
- var stylesheet="._YVxy7{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._YVxy7 ._aZjY-:first-child,._YVxy7 ._fzWwu:first-child{padding-left:16px}._TTM6D{font-size:12px}._aZjY-{padding:12px 8px;text-align:left;font-weight:700}._gNEss ._VQeS2{border-top:1px solid #ededed}._gNEss ._VQeS2:hover{background-color:#fafafa}._VQeS2{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._fzWwu{padding:16px 8px;word-break:break-word;text-align:left}";
3
+ var css_248z = "._VQYYc{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._VQYYc ._cTjiR:first-child,._VQYYc ._MTFAz:first-child{padding-left:16px}._-VfRz{font-size:12px}._cTjiR{padding:12px 8px;text-align:left;font-weight:700}._aitRC ._YlVgb{border-top:1px solid #ededed}._aitRC ._YlVgb:hover{background-color:#fafafa}._YlVgb{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._MTFAz{padding:16px 8px;word-break:break-word;text-align:left}";
4
+ var styles = {"table":"_VQYYc","tableCell":"_MTFAz","tableHeaderCell":"_cTjiR","tableHead":"_-VfRz","tableBody":"_aitRC","tableRow":"_YlVgb"};
5
+ var stylesheet="._VQYYc{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._VQYYc ._cTjiR:first-child,._VQYYc ._MTFAz:first-child{padding-left:16px}._-VfRz{font-size:12px}._cTjiR{padding:12px 8px;text-align:left;font-weight:700}._aitRC ._YlVgb{border-top:1px solid #ededed}._aitRC ._YlVgb:hover{background-color:#fafafa}._YlVgb{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._MTFAz{padding:16px 8px;word-break:break-word;text-align:left}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -22,8 +22,8 @@ const Tab = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
22
22
  rootTestId,
23
23
  isTabListFocused
24
24
  } = useTabContext();
25
- const tabId = getSubDataTestId(rootId, `tab-${value}`);
26
- const tabTestId = getSubDataTestId(rootTestId, `tab-${value}`);
25
+ const tabId = getSubDataTestId(rootId, "tab-".concat(value));
26
+ const tabTestId = getSubDataTestId(rootTestId, "tab-".concat(value));
27
27
  const isSelected = activeTab === value;
28
28
  const onClick = React__default.useCallback(() => {
29
29
  setActiveTab(value);
@@ -39,7 +39,7 @@ const Tab = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
39
39
  [styles.selected]: isSelected
40
40
  }),
41
41
  "aria-selected": isSelected,
42
- "aria-controls": `${rootId}-tabpanel-${value}`,
42
+ "aria-controls": "".concat(rootId, "-tabpanel-").concat(value),
43
43
  "aria-label": ariaLabel,
44
44
  onClick: onClick,
45
45
  ref: ref,