@qualtrics/ui-react 2.19.0 → 2.19.1

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 (261) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/__shared/cjs/{index-4e4cc354.js → index-384184bd.js} +994 -1872
  3. package/dist/__shared/cjs/{index-bf07471d.js → index-4a5425cc.js} +10 -7
  4. package/dist/components/Accordion/Accordion.js +1 -5
  5. package/dist/components/Accordion/Accordion2.js +3 -3
  6. package/dist/components/Accordion/AccordionHeader.js +4 -8
  7. package/dist/components/Accordion/AccordionPanel.js +3 -3
  8. package/dist/components/BreakpointSwitch/Breakpoint.js +0 -2
  9. package/dist/components/BreakpointSwitch/BreakpointSwitch.js +0 -3
  10. package/dist/components/Button/Button.js +3 -3
  11. package/dist/components/Button/Button2.js +2 -7
  12. package/dist/components/ButtonGroup/ButtonGroup.js +1 -2
  13. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  14. package/dist/components/Checkbox/Checkbox.js +11 -11
  15. package/dist/components/Checkbox/Checkbox2.js +3 -3
  16. package/dist/components/Checkbox/VisualCheckbox.js +1 -1
  17. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  18. package/dist/components/ColorPicker/Alpha.js +9 -30
  19. package/dist/components/ColorPicker/ColorPicker.js +33 -42
  20. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  21. package/dist/components/ColorPicker/ColorPickerFlyout.js +2 -1
  22. package/dist/components/ColorPicker/ColorPickerFlyoutInputs.js +20 -23
  23. package/dist/components/ColorPicker/Hue.js +2 -19
  24. package/dist/components/ColorPicker/Palette.js +7 -27
  25. package/dist/components/ColorPicker/Saturation.js +8 -29
  26. package/dist/components/ColorPicker/utils/calculateTargetId.js +10 -20
  27. package/dist/components/ColorPicker/utils/getMousePosition.js +4 -3
  28. package/dist/components/ColorPicker/utils/hexToHsv.js +0 -5
  29. package/dist/components/ColorPicker/utils/hexToRgbaString.js +2 -4
  30. package/dist/components/ColorPicker/utils/hsvToHex.js +0 -3
  31. package/dist/components/ColorPicker/utils/rgbToHex.js +1 -1
  32. package/dist/components/ColorPicker/utils/validateHex.js +12 -19
  33. package/dist/components/Combobox/Combobox.js +57 -127
  34. package/dist/components/Combobox/Combobox2.js +3 -3
  35. package/dist/components/Combobox/ComboboxHeader.js +1 -1
  36. package/dist/components/Combobox/ComboboxIcon.js +2 -4
  37. package/dist/components/Combobox/ComboboxInput.js +4 -5
  38. package/dist/components/Combobox/ComboboxList.js +2 -2
  39. package/dist/components/ConfigPane/ConfigPane.js +0 -7
  40. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  41. package/dist/components/Divider/Divider2.js +3 -3
  42. package/dist/components/Dropdown/ChildIndexContext/index.js +0 -1
  43. package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +34 -30
  44. package/dist/components/Dropdown/Dropdown.js +17 -68
  45. package/dist/components/Dropdown/Dropdown2.js +3 -3
  46. package/dist/components/Dropdown/DropdownButton.js +23 -33
  47. package/dist/components/Dropdown/DropdownHeader.js +2 -1
  48. package/dist/components/Dropdown/DropdownList.js +8 -7
  49. package/dist/components/Dropdown/DropdownOption.js +3 -10
  50. package/dist/components/Dropdown/DropdownSearch.js +6 -24
  51. package/dist/components/FilePicker/FilePicker.js +15 -26
  52. package/dist/components/FilePicker/FilePicker2.js +3 -3
  53. package/dist/components/FormField/Caption.js +3 -3
  54. package/dist/components/FormField/FormField.js +2 -2
  55. package/dist/components/FormField/FormField2.js +3 -3
  56. package/dist/components/FormField/FormFieldContext.js +3 -6
  57. package/dist/components/FormField/ReadOnlyText.js +2 -1
  58. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +5 -11
  59. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  60. package/dist/components/Icon/Icon.js +3 -6
  61. package/dist/components/Icon/IconTypes.js +1 -0
  62. package/dist/components/IconButton/IconButton.js +1 -6
  63. package/dist/components/IconButton/IconButton2.js +3 -3
  64. package/dist/components/InlineInput/InlineInput.js +16 -33
  65. package/dist/components/InlineInput/InlineInput2.js +3 -3
  66. package/dist/components/Input/Input.js +3 -2
  67. package/dist/components/Input/Input2.js +3 -3
  68. package/dist/components/Input/InputField.js +2 -5
  69. package/dist/components/InputGroup/InputGroup2.js +3 -3
  70. package/dist/components/InputGroup/InputGroupProvider.js +0 -2
  71. package/dist/components/Label/Label2.js +3 -3
  72. package/dist/components/Link/Link2.js +3 -3
  73. package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -1
  74. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  75. package/dist/components/LogicEditor/ConditionContainer.js +0 -2
  76. package/dist/components/LogicEditor/ConditionSet.js +8 -25
  77. package/dist/components/LogicEditor/Controls.js +2 -2
  78. package/dist/components/LogicEditor/LogicEditor.js +3 -12
  79. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  80. package/dist/components/LogicEditor/utils.js +9 -34
  81. package/dist/components/Modal/Modal.js +22 -35
  82. package/dist/components/Modal/Modal2.js +3 -3
  83. package/dist/components/NewMenu/BaseMenu.js +43 -108
  84. package/dist/components/NewMenu/NewMenu.js +3 -3
  85. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -3
  86. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +20 -32
  87. package/dist/components/NewMenu/parts/MenuItem.js +2 -3
  88. package/dist/components/NewMenu/parts/MenuSearchBox.js +2 -1
  89. package/dist/components/NumberStepper/NumberStepper.js +29 -44
  90. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  91. package/dist/components/NumberStepper/NumberStepperDecrement.js +6 -5
  92. package/dist/components/NumberStepper/NumberStepperIncrement.js +6 -5
  93. package/dist/components/NumberStepper/NumberStepperInput.js +10 -12
  94. package/dist/components/PageLayout/PageLayout.js +3 -3
  95. package/dist/components/Pagination/Pagination.js +10 -6
  96. package/dist/components/Pagination/Pagination2.js +3 -3
  97. package/dist/components/Pagination/PaginationNextButton.js +8 -8
  98. package/dist/components/Pagination/PaginationPageInput.js +17 -22
  99. package/dist/components/Pagination/PaginationPreviousButton.js +8 -8
  100. package/dist/components/Popover/Popover.js +9 -18
  101. package/dist/components/Popover/Popover2.js +3 -3
  102. package/dist/components/QuickSearch/QuickSearch.js +3 -5
  103. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  104. package/dist/components/QuickSearch/QuickSearchInput.js +6 -23
  105. package/dist/components/Radio/Radio.js +11 -13
  106. package/dist/components/Radio/Radio2.js +3 -3
  107. package/dist/components/SearchInput/SearchInput.js +5 -11
  108. package/dist/components/SearchInput/SearchInput2.js +3 -3
  109. package/dist/components/SidebarNav/ExpandCollapseButton.js +0 -2
  110. package/dist/components/SidebarNav/SidebarNav.js +5 -4
  111. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  112. package/dist/components/SidebarNav/SidebarNavLink.js +1 -4
  113. package/dist/components/Slider/RangeSlider.js +8 -22
  114. package/dist/components/Slider/Slider.js +7 -26
  115. package/dist/components/Slider/Slider2.js +3 -3
  116. package/dist/components/Slider/SliderButton.js +7 -9
  117. package/dist/components/Switch/Switch.js +11 -11
  118. package/dist/components/Switch/Switch2.js +3 -3
  119. package/dist/components/Table/Table2.js +3 -3
  120. package/dist/components/Tabs/Tab.js +3 -3
  121. package/dist/components/Tabs/TabContextProvider.js +1 -1
  122. package/dist/components/Tabs/TabList.js +9 -17
  123. package/dist/components/Tabs/TabPanel.js +3 -3
  124. package/dist/components/Tabs/TabPanels.js +0 -2
  125. package/dist/components/Tabs/Tabs2.js +3 -3
  126. package/dist/components/Tooltip/Tooltip.js +12 -41
  127. package/dist/components/Tooltip/Tooltip2.js +3 -3
  128. package/dist/components/UIProvider/PortalTargetContext.js +0 -1
  129. package/dist/components/UIProvider/UIProvider.js +2 -2
  130. package/dist/components/deprecated_ColorPicker/Alpha.js +4 -11
  131. package/dist/components/deprecated_ColorPicker/Color.js +9 -66
  132. package/dist/components/deprecated_ColorPicker/ColorPicker.js +2 -8
  133. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  134. package/dist/components/deprecated_ColorPicker/HexInput.js +1 -7
  135. package/dist/components/deprecated_ColorPicker/Hue.js +3 -10
  136. package/dist/components/deprecated_ColorPicker/Saturation.js +7 -14
  137. package/dist/components/deprecated_ColorPicker/Swatch.js +2 -6
  138. package/dist/components/deprecated_ColorPicker/useMouseDrag.js +0 -3
  139. package/dist/components/deprecated_NumberStepper/NumberStepper.js +14 -20
  140. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  141. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +7 -6
  142. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +7 -6
  143. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +16 -17
  144. package/dist/components/deprecated_Tabs/Tabs.js +9 -25
  145. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  146. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  147. package/dist/components/deprecated_Toolbar/ToolbarPanel.js +3 -3
  148. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +3 -17
  149. package/dist/components/deprecated_Toolbar/ToolbarTab.js +10 -26
  150. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +6 -18
  151. package/dist/hooks/useBreakpoints/useBreakpoints.js +3 -4
  152. package/dist/hooks/useClickOutside/useClickOutside.js +2 -7
  153. package/dist/hooks/useClickOutsidePortals/useClickOutsidePortals.js +3 -6
  154. package/dist/hooks/useControllableState/useControllableState.js +5 -10
  155. package/dist/hooks/useDidUpdate/useDidUpdate.js +2 -4
  156. package/dist/hooks/useEventCallback/useEventCallback.js +2 -1
  157. package/dist/hooks/useEventListener/useEventListener.js +1 -4
  158. package/dist/hooks/useFocusSequence/useFocusSequence.js +10 -17
  159. package/dist/hooks/useId/useId.js +1 -2
  160. package/dist/hooks/useIsFocused/useIsFocused.js +0 -1
  161. package/dist/hooks/useIsHovered/useIsHovered.js +0 -1
  162. package/dist/hooks/useIsTruncated/useIsTruncated.js +4 -3
  163. package/dist/hooks/useLatest/useLatest.js +0 -1
  164. package/dist/hooks/useMounted/useMounted.js +0 -1
  165. package/dist/hooks/useMouseDrag/useMouseDrag.js +0 -4
  166. package/dist/hooks/useOverlay/useOverlay.js +4 -10
  167. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  168. package/dist/hooks/usePrevious/usePrevious.js +0 -1
  169. package/dist/hooks/useResponsiveValue/useResponsiveValue.js +1 -4
  170. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +11 -16
  171. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  172. package/dist/icons/Icon.js +3 -3
  173. package/dist/icons/components/HeadsetIcon.js +6 -0
  174. package/dist/icons/components/PauseCircleIcon.js +1 -1
  175. package/dist/icons/createIconComponent.js +2 -3
  176. package/dist/icons/index.d.ts +2 -0
  177. package/dist/icons/index.es.js +1 -0
  178. package/dist/icons/index.js +2 -1
  179. package/dist/index.d.ts +1 -0
  180. package/dist/index.es.js +4 -3
  181. package/dist/index.js +6 -5
  182. package/dist/next/AdvancedTable/AdvancedTable.js +82 -188
  183. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  184. package/dist/next/AdvancedTable/AdvancedTableCell.js +4 -14
  185. package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +0 -1
  186. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +11 -41
  187. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +8 -14
  188. package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +4 -6
  189. package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -4
  190. package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +0 -1
  191. package/dist/next/AdvancedTable/AdvancedTableTypes.js +1 -3
  192. package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +8 -13
  193. package/dist/next/AdvancedTable/useComputedWidth.js +1 -1
  194. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +5 -20
  195. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  196. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInputIconButton.js +1 -1
  197. package/dist/next/Combobox/Combobox2.js +3 -3
  198. package/dist/next/Combobox/ComboboxFlyout.js +3 -3
  199. package/dist/next/Combobox/ComboboxGroup.js +1 -1
  200. package/dist/next/Combobox/ComboboxInput.js +7 -20
  201. package/dist/next/Combobox/ComboboxOption.js +5 -6
  202. package/dist/next/Combobox/hooks/useComboboxFilteredGroup/useComboboxFilteredGroup.js +4 -5
  203. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +37 -54
  204. package/dist/next/Combobox/hooks/useComboboxLoadingState/useComboboxLoadingState.js +4 -5
  205. package/dist/next/Combobox/hooks/useComboboxValue/useComboboxValue.js +5 -3
  206. package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/useListboxFlyoutDimensions.js +10 -10
  207. package/dist/next/Combobox/hooks/useSelectedOptionScroll/useSelectedOptionScroll.js +1 -6
  208. package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/useShouldRenderGroupHeader.js +6 -6
  209. package/dist/next/Combobox/utils/nodeRegistration/nodeRegistration.js +4 -6
  210. package/dist/next/Drawer/Drawer.js +5 -16
  211. package/dist/next/Drawer/Drawer2.js +3 -3
  212. package/dist/next/FilterAnchor/FilterAnchor.js +7 -5
  213. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  214. package/dist/next/Input/Input.js +5 -8
  215. package/dist/next/Input/Input2.js +3 -3
  216. package/dist/next/Menu/Menu.js +10 -23
  217. package/dist/next/Menu/Menu2.js +3 -3
  218. package/dist/next/Menu/MenuContext.js +0 -2
  219. package/dist/next/Menu/MenuItem.js +11 -15
  220. package/dist/next/Menu/MenuPane.js +11 -25
  221. package/dist/next/Menu/MenuSearch.js +15 -22
  222. package/dist/next/Menu/SubMenu.js +10 -27
  223. package/dist/next/Menu/usePaneSearch.js +2 -1
  224. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +12 -19
  225. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  226. package/dist/next/SplitButton/SplitButton.js +6 -12
  227. package/dist/next/SplitButton/SplitButton2.js +3 -3
  228. package/dist/next/Stack/Stack.js +0 -3
  229. package/dist/next/TimePicker/TimeDropdown.js +4 -5
  230. package/dist/next/TimePicker/TimeInput.js +4 -5
  231. package/dist/next/TimePicker/TimePicker.js +12 -30
  232. package/dist/next/TimePicker/TimePicker2.js +3 -3
  233. package/dist/next/TimePicker/TimePickerIcon.js +1 -3
  234. package/dist/next/TimePicker/utils.js +12 -52
  235. package/dist/next/ToggleButton/ToggleButton.js +0 -5
  236. package/dist/next/ToggleButton/ToggleButtonGroup.js +2 -1
  237. package/dist/next/ToggleButton/styles.js +3 -3
  238. package/dist/next/index.js +376 -748
  239. package/dist/utils/Flyout/Flyout.js +4 -5
  240. package/dist/utils/Flyout/Flyout2.js +3 -3
  241. package/dist/utils/Popper/Popper.js +18 -25
  242. package/dist/utils/Portal/Portal.js +2 -1
  243. package/dist/utils/TextOverflowTooltip/TextOverflowTooltip.js +4 -4
  244. package/dist/utils/Translation/Translate.js +0 -4
  245. package/dist/utils/Translation/TranslationProvider.js +0 -1
  246. package/dist/utils/Translation/containsComponentOrElement.js +1 -5
  247. package/dist/utils/Translation/insertPlaceholders.js +0 -1
  248. package/dist/utils/Translation/useTranslation.js +7 -14
  249. package/dist/utils/concatIds/concatIds.js +0 -1
  250. package/dist/utils/constants.js +2 -2
  251. package/dist/utils/createContextUtilities/createContextUtilities.js +0 -4
  252. package/dist/utils/filterChildren/filterChildren.js +8 -17
  253. package/dist/utils/getSubDataTestId/getSubDataTestId.js +1 -2
  254. package/dist/utils/keyboardUser/keyboardUser.js +0 -1
  255. package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -12
  256. package/dist/utils/mergeRefs/mergeRefs.js +1 -2
  257. package/dist/utils/wrapAround/wrapAround.js +1 -2
  258. package/dist/utils/wrapEvent/wrapEvent.js +2 -4
  259. package/icons/package.json +2 -1
  260. package/next/package.json +5 -1
  261. package/package.json +9 -4
@@ -37,9 +37,9 @@ function styleInject(css, ref) {
37
37
  }
38
38
  }
39
39
 
40
- var css_248z = "._1FkHC{flex-shrink:0}";
41
- var styles = {"icon":"_1FkHC"};
42
- var stylesheet="._1FkHC{flex-shrink:0}";
40
+ var css_248z = "._moYEG{flex-shrink:0}";
41
+ var styles = {"icon":"_moYEG"};
42
+ var stylesheet="._moYEG{flex-shrink:0}";
43
43
  styleInject(css_248z);
44
44
 
45
45
  const IconSizes = {
@@ -47,7 +47,6 @@ const IconSizes = {
47
47
  medium: 24,
48
48
  large: 32
49
49
  };
50
-
51
50
  const createIconComponent = (type, svgContent) => {
52
51
  const Icon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
53
52
  let {
@@ -71,10 +70,10 @@ const createIconComponent = (type, svgContent) => {
71
70
  dangerouslySetInnerHTML: {
72
71
  __html: svgContent
73
72
  } // eslint-disable-line react/no-danger
74
-
75
73
  }));
76
74
  });
77
- Icon.displayName = "".concat(type, "Icon");
75
+
76
+ Icon.displayName = `${type}Icon`;
78
77
  return Icon;
79
78
  };
80
79
 
@@ -681,6 +680,9 @@ var HamburgerMenuIcon = /*#__PURE__*/createIconComponent('HamburgerMenu', '<path
681
680
  /* THIS FILE IS AUTO-GENERATED */
682
681
  var HeadphonesIcon = /*#__PURE__*/createIconComponent('Headphones', '<path fill-rule="evenodd" d="M3.028 16.75c.088 0 .172-.015.25-.043V18a3.75 3.75 0 0 0 3.75 3.75A1.75 1.75 0 0 0 8.778 20v-7a1.75 1.75 0 0 0-1.75-1.75 3.75 3.75 0 0 0-3.249 1.876c.062-1.079.244-2.49.71-3.889.472-1.417 1.224-2.783 2.402-3.793 1.165-.998 2.8-1.694 5.137-1.694s3.972.696 5.137 1.694c1.178 1.01 1.929 2.376 2.402 3.793.466 1.399.648 2.81.71 3.889a3.75 3.75 0 0 0-3.249-1.876 1.75 1.75 0 0 0-1.75 1.75v7a1.75 1.75 0 0 0 1.75 1.75 3.75 3.75 0 0 0 3.75-3.75v-1.293c.078.028.162.043.25.043a.75.75 0 0 0 .75-.75v-.972l.001-.01.007-.111.016-.405-.024-1.419c-.065-1.166-.259-2.737-.787-4.321s-1.401-3.217-2.848-4.457c-1.46-1.252-3.45-2.056-6.113-2.056s-4.653.804-6.113 2.056C4.467 5.546 3.594 7.18 3.066 8.763s-.723 3.155-.787 4.321l-.024 1.419.016.405.007.111.001.01V16a.75.75 0 0 0 .75.75zm4-4A2.25 2.25 0 0 0 4.778 15v3a2.25 2.25 0 0 0 2.25 2.25.25.25 0 0 0 .25-.25v-7a.25.25 0 0 0-.25-.25zm9.75.25a.25.25 0 0 1 .25-.25 2.25 2.25 0 0 1 2.25 2.25v3a2.25 2.25 0 0 1-2.25 2.25.25.25 0 0 1-.25-.25v-7z"/>');
683
682
 
683
+ /* THIS FILE IS AUTO-GENERATED */
684
+ var HeadsetIcon = /*#__PURE__*/createIconComponent('Headset', '<path fill-rule="evenodd" clip-rule="evenodd" d="M7.23755 8.8323C7.42854 7.80424 7.77829 6.70507 8.48284 5.87083C9.15884 5.0704 10.2184 4.44531 12.0002 4.44531C13.7808 4.44531 14.8149 5.06916 15.4683 5.86338C16.1527 6.69547 16.4837 7.79334 16.6767 8.8323C16.6926 8.91787 16.7066 9.00209 16.7187 9.08468C15.8612 9.40223 15.25 10.2274 15.25 11.1953V13.1953C15.25 14.1773 15.8791 15.0124 16.7563 15.3195V17.8184C16.7563 17.9244 16.7066 18.0866 16.4828 18.3048C16.2574 18.5246 15.9076 18.7461 15.4557 18.9437C14.5513 19.3394 13.4037 19.5684 12.5063 19.5684C12.0921 19.5684 11.7563 19.9041 11.7563 20.3184C11.7563 20.7326 12.0921 21.0684 12.5063 21.0684C13.609 21.0684 14.9614 20.7973 16.057 20.318C16.6051 20.0782 17.1303 19.7684 17.5299 19.3788C17.9311 18.9876 18.2563 18.4624 18.2563 17.8184V15.3184L18.2563 15.315C19.1269 15.0044 19.75 14.1726 19.75 13.1953V11.1953C19.75 10.208 19.114 9.36916 18.2294 9.06618C18.2095 8.90151 18.1837 8.73175 18.1515 8.55833C17.944 7.44156 17.5554 6.03943 16.6267 4.91045C15.6668 3.7436 14.1942 2.94531 12.0002 2.94531C9.80729 2.94531 8.31706 3.74236 7.33685 4.90299C6.38519 6.02983 5.97227 7.43066 5.76278 8.55833C5.72842 8.74331 5.70138 8.92411 5.681 9.09902C4.84334 9.42653 4.25 10.2416 4.25 11.1953V13.1953C4.25 14.438 5.25736 15.4453 6.5 15.4453C7.74264 15.4453 8.75 14.438 8.75 13.1953V11.1953C8.75 10.197 8.09984 9.35056 7.19985 9.05629C7.21093 8.98281 7.22347 8.90808 7.23755 8.8323ZM5.75 11.1953C5.75 10.7811 6.08579 10.4453 6.5 10.4453C6.91421 10.4453 7.25 10.7811 7.25 11.1953V13.1953C7.25 13.6095 6.91421 13.9453 6.5 13.9453C6.08579 13.9453 5.75 13.6095 5.75 13.1953V11.1953ZM17.5 10.4453C17.0858 10.4453 16.75 10.7811 16.75 11.1953V13.1953C16.75 13.6095 17.0858 13.9453 17.5 13.9453C17.9142 13.9453 18.25 13.6095 18.25 13.1953V11.1953C18.25 10.7811 17.9142 10.4453 17.5 10.4453Z"/>');
685
+
684
686
  /* THIS FILE IS AUTO-GENERATED */
685
687
  var HealthWellnessIcon = /*#__PURE__*/createIconComponent('HealthWellness', '<path d="M9 11.5V13.5H11V15.5H13V13.5H15V11.5H13V9.5H11V11.5H9Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21.1941 7.18124L21.1886 7.17055C20.4011 5.65012 18.9619 4.58888 17.2927 4.31771C15.6226 4.04641 13.9308 4.60015 12.7228 5.80284L12.7211 5.80448L11.999 6.52791L11.2778 5.80474L11.2759 5.80284C10.0678 4.60015 8.37605 4.04641 6.70601 4.31771C5.03677 4.58888 3.59752 5.65012 2.81002 7.17055L2.80438 7.18166C1.79387 9.21467 2.18937 11.6919 3.79032 13.2864L10.1746 19.9653C10.6519 20.4644 11.3084 20.75 11.9987 20.75C12.689 20.75 13.3455 20.4644 13.8228 19.9653L20.2068 13.2917C21.8108 11.6966 22.207 9.21598 21.1941 7.18124ZM6.94653 5.7983C8.13321 5.60553 9.34377 5.99648 10.2167 6.86497L10.2176 6.86585L11.4677 8.11937C11.6083 8.26042 11.7993 8.33972 11.9986 8.33977C12.1978 8.33982 12.3888 8.26061 12.5295 8.11963L13.7811 6.86585L13.7818 6.86515C14.6547 5.99653 15.8654 5.60551 17.0521 5.7983C18.2381 5.99097 19.278 6.74715 19.8539 7.85508C20.5804 9.3201 20.2867 11.1014 19.1438 12.2333L19.1296 12.2478L12.7387 18.9286C12.5392 19.1372 12.2722 19.25 11.9987 19.25C11.7253 19.25 11.4582 19.1372 11.2588 18.9286L4.86802 12.243L4.85407 12.2288C3.71346 11.0973 3.42028 9.31859 4.14484 7.85487C4.72079 6.74706 5.76063 5.99095 6.94653 5.7983Z"/>');
686
688
 
@@ -937,7 +939,7 @@ var PasswordLockIcon = /*#__PURE__*/createIconComponent('PasswordLock', '<path d
937
939
  var PauseIcon = /*#__PURE__*/createIconComponent('Pause', '<path fill-rule="evenodd" clip-rule="evenodd" d="M9.25 6C9.94036 6 10.5 6.55964 10.5 7.25L10.5 16.75C10.5 17.4404 9.94036 18 9.25 18C8.55964 18 8 17.4404 8 16.75L8 7.25C8 6.55964 8.55964 6 9.25 6Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.75 6C15.4404 6 16 6.55964 16 7.25L16 16.75C16 17.4404 15.4404 18 14.75 18C14.0596 18 13.5 17.4404 13.5 16.75L13.5 7.25C13.5 6.55964 14.0596 6 14.75 6Z"/>');
938
940
 
939
941
  /* THIS FILE IS AUTO-GENERATED */
940
- var PauseCircleIcon = /*#__PURE__*/createIconComponent('PauseCircle', '<path d="M9.75 8.25C10.1642 8.25 10.5 8.58579 10.5 9V15C10.5 15.4142 10.1642 15.75 9.75 15.75C9.33579 15.75 9 15.4142 9 15V9C9 8.58579 9.33579 8.25 9.75 8.25Z"/><path d="M15 9C15 8.58579 14.6642 8.25 14.25 8.25C13.8358 8.25 13.5 8.58579 13.5 9V15C13.5 15.4142 13.8358 15.75 14.25 15.75C14.6642 15.75 15 15.4142 15 15V9Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75Z"/>');
942
+ var PauseCircleIcon = /*#__PURE__*/createIconComponent('PauseCircle', '<path d="M9 8.5C9 8.22386 9.22386 8 9.5 8H10.5C10.7761 8 11 8.22386 11 8.5V15.5C11 15.7761 10.7761 16 10.5 16H9.5C9.22386 16 9 15.7761 9 15.5V8.5Z"/><path d="M13.5 8C13.2239 8 13 8.22386 13 8.5V15.5C13 15.7761 13.2239 16 13.5 16H14.5C14.7761 16 15 15.7761 15 15.5V8.5C15 8.22386 14.7761 8 14.5 8H13.5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75Z"/>');
941
943
 
942
944
  /* THIS FILE IS AUTO-GENERATED */
943
945
  var PencilIcon = /*#__PURE__*/createIconComponent('Pencil', '<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5553 2.88389C17.6292 1.80995 19.3704 1.80994 20.4444 2.88389L21.116 3.55546C22.1899 4.6294 22.1899 6.37061 21.116 7.44455L9.65628 18.9042C9.5103 19.0502 9.33964 19.1692 9.1522 19.2557L4.04636 21.6123C2.99118 22.0993 1.90059 21.0087 2.38759 19.9535L4.74413 14.8476C4.83064 14.6602 4.94964 14.4895 5.09562 14.3436L16.5553 2.88389ZM19.3837 3.94455C18.8956 3.45639 18.1041 3.45639 17.616 3.94455L16.8106 4.74989L19.25 7.18923L20.0553 6.38389C20.5434 5.89573 20.5434 5.10427 20.0553 4.61612L19.3837 3.94455ZM6.81061 14.7499L15.75 5.81055L18.1893 8.24989L9.24995 17.1892L6.81061 14.7499ZM5.88804 15.9486L4.03389 19.966L8.05121 18.1118L5.88804 15.9486Z"/>');
@@ -1676,6 +1678,7 @@ exports.GraphicSliderIcon = GraphicSliderIcon;
1676
1678
  exports.GridViewIcon = GridViewIcon;
1677
1679
  exports.HamburgerMenuIcon = HamburgerMenuIcon;
1678
1680
  exports.HeadphonesIcon = HeadphonesIcon;
1681
+ exports.HeadsetIcon = HeadsetIcon;
1679
1682
  exports.HealthWellnessIcon = HealthWellnessIcon;
1680
1683
  exports.HeatMapIcon = HeatMapIcon;
1681
1684
  exports.HelpIcon = HelpIcon;
@@ -36,24 +36,20 @@ const Accordion = /*#__PURE__*/forwardRef((_ref, ref) => {
36
36
  wrap: false
37
37
  });
38
38
  break;
39
-
40
39
  case 'ArrowDown':
41
40
  e.preventDefault();
42
41
  focusNext({
43
42
  wrap: false
44
43
  });
45
44
  break;
46
-
47
45
  case 'Home':
48
46
  e.preventDefault();
49
47
  focusFirst();
50
48
  break;
51
-
52
49
  case 'End':
53
50
  e.preventDefault();
54
51
  focusLast();
55
52
  break;
56
-
57
53
  default:
58
54
  break;
59
55
  }
@@ -82,7 +78,7 @@ const Accordion = /*#__PURE__*/forwardRef((_ref, ref) => {
82
78
  return /*#__PURE__*/React__default.createElement("div", {
83
79
  ref: ref,
84
80
  className: classNames(AccordionStyles.accordion, {
85
- [AccordionStyles["".concat(variant, "-variant")]]: variant
81
+ [AccordionStyles[`${variant}-variant`]]: variant
86
82
  }),
87
83
  "data-testid": dataTestId
88
84
  }, /*#__PURE__*/React__default.createElement(AccordionContextProvider, {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._3zcc-{width:100%;display:flex;flex-direction:column}._3zcc-._3IS54{grid-gap:20px;gap:20px}._1x4hT{display:flex;width:100%;border:none;outline:none;background-color:#fff;color:#32363a;font-size:14px;font-weight:700;line-height:24px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._1U6p5{flex:1}._n2XGZ{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._1RY2h ._1x4hT{border-radius:4px}._1RY2h ._1x4hT:hover:not(._3R6MA){background-color:rgba(50,54,58,.08)}._1RY2h ._1x4hT:active:not(._3R6MA){background-color:rgba(50,54,58,.11)}._13C9x ._1x4hT{font-weight:400;padding-left:12px;border-top:1px solid #eee}._13C9x ._1x4hT:hover:not(._3R6MA){background-color:rgba(50,54,58,.08)}._13C9x ._1x4hT:active:not(._3R6MA){background-color:rgba(50,54,58,.11)}._3IS54 ._365Ix{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._3IS54 ._365Ix._3nF7B{box-shadow:none}._3IS54 ._365Ix._3nF7B ._1x4hT{border-radius:6px}._3IS54 ._1x4hT{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._3IS54 ._1x4hT ._1U6p5{padding-left:20px}._3IS54 ._1x4hT:hover:not(disabled){border:1px solid #c2c2c2}._3IS54 ._1x4hT:active:not(._3R6MA){border:1px solid #898989}._3IS54 ._n2XGZ{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._3nF7B ._n2XGZ{display:none}._3R6MA{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._1x4hT:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._1x4hT:focus:before{z-index:1}body.keyboard-user ._13C9x ._1x4hT:focus{border-color:transparent}";
4
- var AccordionStyles = {"accordion":"_3zcc-","block-variant":"_3IS54","header":"_1x4hT","title":"_1U6p5","panel":"_n2XGZ","default-variant":"_1RY2h","disabled":"_3R6MA","outlined-variant":"_13C9x","section":"_365Ix","closed":"_3nF7B"};
5
- var stylesheet="._3zcc-{width:100%;display:flex;flex-direction:column}._3zcc-._3IS54{grid-gap:20px;gap:20px}._1x4hT{display:flex;width:100%;border:none;outline:none;background-color:#fff;color:#32363a;font-size:14px;font-weight:700;line-height:24px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._1U6p5{flex:1}._n2XGZ{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._1RY2h ._1x4hT{border-radius:4px}._1RY2h ._1x4hT:hover:not(._3R6MA){background-color:rgba(50,54,58,.08)}._1RY2h ._1x4hT:active:not(._3R6MA){background-color:rgba(50,54,58,.11)}._13C9x ._1x4hT{font-weight:400;padding-left:12px;border-top:1px solid #eee}._13C9x ._1x4hT:hover:not(._3R6MA){background-color:rgba(50,54,58,.08)}._13C9x ._1x4hT:active:not(._3R6MA){background-color:rgba(50,54,58,.11)}._3IS54 ._365Ix{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._3IS54 ._365Ix._3nF7B{box-shadow:none}._3IS54 ._365Ix._3nF7B ._1x4hT{border-radius:6px}._3IS54 ._1x4hT{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._3IS54 ._1x4hT ._1U6p5{padding-left:20px}._3IS54 ._1x4hT:hover:not(disabled){border:1px solid #c2c2c2}._3IS54 ._1x4hT:active:not(._3R6MA){border:1px solid #898989}._3IS54 ._n2XGZ{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._3nF7B ._n2XGZ{display:none}._3R6MA{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._1x4hT:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._1x4hT:focus:before{z-index:1}body.keyboard-user ._13C9x ._1x4hT:focus{border-color:transparent}";
3
+ var css_248z = "._oxBni{width:100%;display:flex;flex-direction:column}._oxBni._8iI0q{grid-gap:20px;gap:20px}._GWiky{display:flex;width:100%;border:none;outline:none;background-color:#fff;color:#32363a;font-size:14px;font-weight:700;line-height:24px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._WYHMl{flex:1}._YSGQl{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._o9rn2 ._GWiky{border-radius:4px}._o9rn2 ._GWiky:hover:not(._z1e9N){background-color:rgba(50,54,58,.08)}._o9rn2 ._GWiky:active:not(._z1e9N){background-color:rgba(50,54,58,.11)}._z0apd ._GWiky{font-weight:400;padding-left:12px;border-top:1px solid #eee}._z0apd ._GWiky:hover:not(._z1e9N){background-color:rgba(50,54,58,.08)}._z0apd ._GWiky:active:not(._z1e9N){background-color:rgba(50,54,58,.11)}._8iI0q ._-gZ5D{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._8iI0q ._-gZ5D._xCQTi{box-shadow:none}._8iI0q ._-gZ5D._xCQTi ._GWiky{border-radius:6px}._8iI0q ._GWiky{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._8iI0q ._GWiky ._WYHMl{padding-left:20px}._8iI0q ._GWiky:hover:not(disabled){border:1px solid #c2c2c2}._8iI0q ._GWiky:active:not(._z1e9N){border:1px solid #898989}._8iI0q ._YSGQl{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._xCQTi ._YSGQl{display:none}._z1e9N{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._GWiky:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._GWiky:focus:before{z-index:1}body.keyboard-user ._z0apd ._GWiky:focus{border-color:transparent}";
4
+ var AccordionStyles = {"accordion":"_oxBni","block-variant":"_8iI0q","header":"_GWiky","title":"_WYHMl","panel":"_YSGQl","default-variant":"_o9rn2","disabled":"_z1e9N","outlined-variant":"_z0apd","section":"_-gZ5D","closed":"_xCQTi"};
5
+ var stylesheet="._oxBni{width:100%;display:flex;flex-direction:column}._oxBni._8iI0q{grid-gap:20px;gap:20px}._GWiky{display:flex;width:100%;border:none;outline:none;background-color:#fff;color:#32363a;font-size:14px;font-weight:700;line-height:24px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._WYHMl{flex:1}._YSGQl{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._o9rn2 ._GWiky{border-radius:4px}._o9rn2 ._GWiky:hover:not(._z1e9N){background-color:rgba(50,54,58,.08)}._o9rn2 ._GWiky:active:not(._z1e9N){background-color:rgba(50,54,58,.11)}._z0apd ._GWiky{font-weight:400;padding-left:12px;border-top:1px solid #eee}._z0apd ._GWiky:hover:not(._z1e9N){background-color:rgba(50,54,58,.08)}._z0apd ._GWiky:active:not(._z1e9N){background-color:rgba(50,54,58,.11)}._8iI0q ._-gZ5D{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._8iI0q ._-gZ5D._xCQTi{box-shadow:none}._8iI0q ._-gZ5D._xCQTi ._GWiky{border-radius:6px}._8iI0q ._GWiky{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._8iI0q ._GWiky ._WYHMl{padding-left:20px}._8iI0q ._GWiky:hover:not(disabled){border:1px solid #c2c2c2}._8iI0q ._GWiky:active:not(._z1e9N){border:1px solid #898989}._8iI0q ._YSGQl{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._xCQTi ._YSGQl{display:none}._z1e9N{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._GWiky:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._GWiky:focus:before{z-index:1}body.keyboard-user ._z0apd ._GWiky:focus{border-color:transparent}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { AccordionStyles as default, stylesheet };
@@ -26,40 +26,36 @@ const AccordionHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
26
26
  sectionId,
27
27
  position
28
28
  } = useAccordionSectionContext();
29
-
30
29
  function handleClick() {
31
30
  if (!isDisabled) {
32
31
  toggleSection(sectionId);
33
32
  }
34
33
  }
35
-
36
34
  const headerRef = useRef(null);
37
35
  const classes = classNames(AccordionStyles.header, {
38
36
  [AccordionStyles.disabled]: isDisabled
39
37
  });
40
38
  useEffect(() => {
41
39
  const headerElement = headerRef.current;
42
-
43
40
  if (headerElement !== null) {
44
41
  registerNode(headerElement);
45
42
  return () => deregisterNode(headerElement);
46
43
  }
47
-
48
44
  return () => {};
49
45
  }, [registerNode, deregisterNode]);
50
46
  return /*#__PURE__*/React__default.createElement("div", {
51
47
  role: headingLevel ? 'heading' : undefined,
52
- "aria-level": headingLevel !== null && headingLevel !== void 0 ? headingLevel : undefined,
48
+ "aria-level": headingLevel ?? undefined,
53
49
  ref: ref
54
50
  }, /*#__PURE__*/React__default.createElement("button", {
55
51
  className: classes,
56
52
  ref: headerRef,
57
- id: "accordion-header-".concat(sectionId),
53
+ id: `accordion-header-${sectionId}`,
58
54
  onClick: handleClick,
59
55
  onKeyDown: handleKeyDown,
60
56
  "aria-expanded": isOpen,
61
- "aria-controls": "accordion-panel-".concat(sectionId),
62
- "data-testid": getSubDataTestId(dataTestId, "section-".concat(position, "-header")),
57
+ "aria-controls": `accordion-panel-${sectionId}`,
58
+ "data-testid": getSubDataTestId(dataTestId, `section-${position}-header`),
63
59
  type: "button"
64
60
  }, isOpen ? /*#__PURE__*/React__default.createElement(CaretDownIcon, {
65
61
  "aria-hidden": true
@@ -20,10 +20,10 @@ const AccordionPanel = /*#__PURE__*/forwardRef((_ref, ref) => {
20
20
  return /*#__PURE__*/React__default.createElement("div", {
21
21
  className: classNames(className, AccordionStyles.panel),
22
22
  ref: ref,
23
- id: "accordion-panel-".concat(sectionId),
23
+ id: `accordion-panel-${sectionId}`,
24
24
  role: "region",
25
- "aria-labelledby": "accordion-header-".concat(sectionId),
26
- "data-testid": getSubDataTestId(dataTestId, "section-".concat(position, "-panel"))
25
+ "aria-labelledby": `accordion-header-${sectionId}`,
26
+ "data-testid": getSubDataTestId(dataTestId, `section-${position}-panel`)
27
27
  }, children);
28
28
  });
29
29
 
@@ -7,11 +7,9 @@ function Breakpoint(_ref) {
7
7
  children
8
8
  } = _ref;
9
9
  const inBreakpointSwitch = useBreakpointContext();
10
-
11
10
  if (!inBreakpointSwitch) {
12
11
  throw new Error('Breakpoint must be inside a BreakpointSwitch');
13
12
  }
14
-
15
13
  return null;
16
14
  }
17
15
 
@@ -14,13 +14,10 @@ function BreakpointSwitch(_ref) {
14
14
  if (! /*#__PURE__*/React__default.isValidElement(element)) {
15
15
  return;
16
16
  }
17
-
18
17
  if (element.type !== Breakpoint) {
19
18
  throw new Error('BreakpointSwitch can only have Breakpoint children');
20
19
  }
21
-
22
20
  const currentSize = element.props.size;
23
-
24
21
  if (!currentSize) {
25
22
  throw new Error('Breakpoint must have a size set.');
26
23
  } else if (childList[currentSize]) {
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._cmU1F{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._cmU1F._12ZSL{padding:0 8px;height:26px;min-height:26px}._cmU1F._1Qdbt{display:block;width:100%}._cmU1F._17Ckx{cursor:not-allowed}._cmU1F:active:focus,._cmU1F:focus{outline:none}._cmU1F._3Sv96{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._cmU1F._3Sv96:hover:not(._17Ckx){background-color:#eee}._cmU1F._3Sv96:active:not(._17Ckx){background-color:#e5e5e5}._cmU1F._3Sv96._17Ckx{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._cmU1F._21Rxe{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._cmU1F._21Rxe:hover:not(._17Ckx){background-color:#085caf;border-color:#085caf}._cmU1F._21Rxe:active:not(._17Ckx){background-color:#0854a1;border-color:#0854a1}._cmU1F._21Rxe._17Ckx{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._cmU1F._3Tkx_{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._cmU1F._3Tkx_:hover:not(._17Ckx){background-color:#eef5fc}._cmU1F._3Tkx_:active:not(._17Ckx){background-color:#e1edf9}._cmU1F._3Tkx_._17Ckx{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._cmU1F._ZuKEM{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._cmU1F._ZuKEM:hover:not(._17Ckx){background-color:#eef5fc;border-color:#eef5fc}._cmU1F._ZuKEM:active:not(._17Ckx){background-color:#e1edf9;border-color:#e1edf9}._cmU1F._ZuKEM._17Ckx{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._cmU1F._3VvhV{color:#0b6ed0;fill:#0b6ed0;padding:0}._cmU1F._3VvhV:hover:not(._17Ckx){color:#085caf}._cmU1F._3VvhV:active:not(._17Ckx){color:#0854a1}._cmU1F._3VvhV._17Ckx{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._cmU1F._24Jou{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._cmU1F._24Jou:hover:not(._17Ckx){background-color:#ffecec}._cmU1F._24Jou:active:not(._17Ckx){background-color:#ffdbdb}._cmU1F._24Jou._17Ckx{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._3ldBq,body.keyboard-user ._cmU1F:active:focus,body.keyboard-user ._cmU1F:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var buttonStyles = {"btn":"_cmU1F","small":"_12ZSL","full":"_1Qdbt","disabled":"_17Ckx","default":"_3Sv96","primary":"_21Rxe","secondary":"_3Tkx_","tertiary":"_ZuKEM","link":"_3VvhV","danger":"_24Jou","keyboardFocused":"_3ldBq"};
5
- var stylesheet="._cmU1F{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._cmU1F._12ZSL{padding:0 8px;height:26px;min-height:26px}._cmU1F._1Qdbt{display:block;width:100%}._cmU1F._17Ckx{cursor:not-allowed}._cmU1F:active:focus,._cmU1F:focus{outline:none}._cmU1F._3Sv96{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._cmU1F._3Sv96:hover:not(._17Ckx){background-color:#eee}._cmU1F._3Sv96:active:not(._17Ckx){background-color:#e5e5e5}._cmU1F._3Sv96._17Ckx{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._cmU1F._21Rxe{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._cmU1F._21Rxe:hover:not(._17Ckx){background-color:#085caf;border-color:#085caf}._cmU1F._21Rxe:active:not(._17Ckx){background-color:#0854a1;border-color:#0854a1}._cmU1F._21Rxe._17Ckx{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._cmU1F._3Tkx_{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._cmU1F._3Tkx_:hover:not(._17Ckx){background-color:#eef5fc}._cmU1F._3Tkx_:active:not(._17Ckx){background-color:#e1edf9}._cmU1F._3Tkx_._17Ckx{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._cmU1F._ZuKEM{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._cmU1F._ZuKEM:hover:not(._17Ckx){background-color:#eef5fc;border-color:#eef5fc}._cmU1F._ZuKEM:active:not(._17Ckx){background-color:#e1edf9;border-color:#e1edf9}._cmU1F._ZuKEM._17Ckx{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._cmU1F._3VvhV{color:#0b6ed0;fill:#0b6ed0;padding:0}._cmU1F._3VvhV:hover:not(._17Ckx){color:#085caf}._cmU1F._3VvhV:active:not(._17Ckx){color:#0854a1}._cmU1F._3VvhV._17Ckx{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._cmU1F._24Jou{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._cmU1F._24Jou:hover:not(._17Ckx){background-color:#ffecec}._cmU1F._24Jou:active:not(._17Ckx){background-color:#ffdbdb}._cmU1F._24Jou._17Ckx{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._3ldBq,body.keyboard-user ._cmU1F:active:focus,body.keyboard-user ._cmU1F:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._j6rT4{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._j6rT4._hy7l-{padding:0 8px;height:26px;min-height:26px}._j6rT4._eVNek{display:block;width:100%}._j6rT4._a6cPf{cursor:not-allowed}._j6rT4:active:focus,._j6rT4:focus{outline:none}._j6rT4._nLxG7{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._j6rT4._nLxG7:hover:not(._a6cPf){background-color:#eee}._j6rT4._nLxG7:active:not(._a6cPf){background-color:#e5e5e5}._j6rT4._nLxG7._a6cPf{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._j6rT4._pCYuf{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._j6rT4._pCYuf:hover:not(._a6cPf){background-color:#085caf;border-color:#085caf}._j6rT4._pCYuf:active:not(._a6cPf){background-color:#0854a1;border-color:#0854a1}._j6rT4._pCYuf._a6cPf{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._j6rT4._QQ1XW{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._j6rT4._QQ1XW:hover:not(._a6cPf){background-color:#eef5fc}._j6rT4._QQ1XW:active:not(._a6cPf){background-color:#e1edf9}._j6rT4._QQ1XW._a6cPf{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._j6rT4._3o8iY{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._j6rT4._3o8iY:hover:not(._a6cPf){background-color:#eef5fc;border-color:#eef5fc}._j6rT4._3o8iY:active:not(._a6cPf){background-color:#e1edf9;border-color:#e1edf9}._j6rT4._3o8iY._a6cPf{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._j6rT4._UiFXI{color:#0b6ed0;fill:#0b6ed0;padding:0}._j6rT4._UiFXI:hover:not(._a6cPf){color:#085caf}._j6rT4._UiFXI:active:not(._a6cPf){color:#0854a1}._j6rT4._UiFXI._a6cPf{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._j6rT4._WD-Y9{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._j6rT4._WD-Y9:hover:not(._a6cPf){background-color:#ffecec}._j6rT4._WD-Y9:active:not(._a6cPf){background-color:#ffdbdb}._j6rT4._WD-Y9._a6cPf{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._lLRHT,body.keyboard-user ._j6rT4:active:focus,body.keyboard-user ._j6rT4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var buttonStyles = {"btn":"_j6rT4","small":"_hy7l-","full":"_eVNek","disabled":"_a6cPf","default":"_nLxG7","primary":"_pCYuf","secondary":"_QQ1XW","tertiary":"_3o8iY","link":"_UiFXI","danger":"_WD-Y9","keyboardFocused":"_lLRHT"};
5
+ var stylesheet="._j6rT4{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._j6rT4._hy7l-{padding:0 8px;height:26px;min-height:26px}._j6rT4._eVNek{display:block;width:100%}._j6rT4._a6cPf{cursor:not-allowed}._j6rT4:active:focus,._j6rT4:focus{outline:none}._j6rT4._nLxG7{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._j6rT4._nLxG7:hover:not(._a6cPf){background-color:#eee}._j6rT4._nLxG7:active:not(._a6cPf){background-color:#e5e5e5}._j6rT4._nLxG7._a6cPf{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._j6rT4._pCYuf{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._j6rT4._pCYuf:hover:not(._a6cPf){background-color:#085caf;border-color:#085caf}._j6rT4._pCYuf:active:not(._a6cPf){background-color:#0854a1;border-color:#0854a1}._j6rT4._pCYuf._a6cPf{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._j6rT4._QQ1XW{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._j6rT4._QQ1XW:hover:not(._a6cPf){background-color:#eef5fc}._j6rT4._QQ1XW:active:not(._a6cPf){background-color:#e1edf9}._j6rT4._QQ1XW._a6cPf{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._j6rT4._3o8iY{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._j6rT4._3o8iY:hover:not(._a6cPf){background-color:#eef5fc;border-color:#eef5fc}._j6rT4._3o8iY:active:not(._a6cPf){background-color:#e1edf9;border-color:#e1edf9}._j6rT4._3o8iY._a6cPf{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._j6rT4._UiFXI{color:#0b6ed0;fill:#0b6ed0;padding:0}._j6rT4._UiFXI:hover:not(._a6cPf){color:#085caf}._j6rT4._UiFXI:active:not(._a6cPf){color:#0854a1}._j6rT4._UiFXI._a6cPf{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._j6rT4._WD-Y9{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._j6rT4._WD-Y9:hover:not(._a6cPf){background-color:#ffecec}._j6rT4._WD-Y9:active:not(._a6cPf){background-color:#ffdbdb}._j6rT4._WD-Y9._a6cPf{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._lLRHT,body.keyboard-user ._j6rT4:active:focus,body.keyboard-user ._j6rT4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { buttonStyles as default, stylesheet };
@@ -25,23 +25,19 @@ const Button = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
25
25
  [buttonStyles.small]: inputGroupContext.applySmall(small),
26
26
  [buttonStyles.full]: inputGroupContext.applyFull(full)
27
27
  });
28
-
29
28
  const clickHandler = e => {
30
29
  if (disabled) {
31
30
  // stops form submission for type="submit"
32
31
  return e.preventDefault();
33
32
  }
34
-
35
- onClick === null || onClick === void 0 ? void 0 : onClick(e);
33
+ onClick?.(e);
36
34
  };
37
-
38
35
  const keyDownHandler = disabled ? undefined : onKeyDown;
39
36
  return (
40
37
  /*#__PURE__*/
41
-
42
38
  /* eslint-disable react/button-has-type */
43
39
  React__default.createElement("button", _extends({}, rest, {
44
- "aria-disabled": ariaDisabled !== null && ariaDisabled !== void 0 ? ariaDisabled : disabled,
40
+ "aria-disabled": ariaDisabled ?? disabled,
45
41
  type: type,
46
42
  className: classes,
47
43
  ref: ref,
@@ -49,7 +45,6 @@ const Button = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
49
45
  onKeyDown: keyDownHandler
50
46
  }), children)
51
47
  /* eslint-disable react/button-has-type */
52
-
53
48
  );
54
49
  });
55
50
 
@@ -21,10 +21,9 @@ const ButtonGroup = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
21
21
  }), React__default.Children.map(children, child => {
22
22
  if (! /*#__PURE__*/React__default.isValidElement(child)) {
23
23
  // eslint-disable-next-line no-console
24
- console.warn("Warning: \"".concat(child, "\" is invalid child of ButtonGroup!"));
24
+ console.warn(`Warning: "${child}" is invalid child of ButtonGroup!`);
25
25
  return null;
26
26
  }
27
-
28
27
  const buttonElementClasses = classNames(child.props.className, styles.buttonGroupElement, {
29
28
  [styles.full]: full,
30
29
  [styles.primary]: child.props.kind === 'primary'
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._3-iI4{display:inline-flex;align-items:stretch}._3-iI4._jwz2-{width:100%}._3-iI4 ._15An3{margin:0;min-width:0}._3-iI4 ._15An3:focus{z-index:20}._3-iI4 ._15An3:hover{z-index:10}._3-iI4 ._15An3._2CFSO{border:none}._3-iI4 ._15An3._jwz2-{display:inline-flex;width:auto;flex-grow:1}._3-iI4 ._15An3:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._3-iI4 ._15An3:first-child._2CFSO{border-right:1px solid #fff}._3-iI4 ._15An3:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._3-iI4 ._15An3:not(:last-child):not(:first-child)._2CFSO{border-left:1px solid #fff;border-right:1px solid #fff}._3-iI4 ._15An3:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._3-iI4 ._15An3:last-child._2CFSO{border-left:1px solid #fff}._3-iI4 ._15An3:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
4
- var styles = {"buttonGroup":"_3-iI4","full":"_jwz2-","buttonGroupElement":"_15An3","primary":"_2CFSO"};
5
- var stylesheet="._3-iI4{display:inline-flex;align-items:stretch}._3-iI4._jwz2-{width:100%}._3-iI4 ._15An3{margin:0;min-width:0}._3-iI4 ._15An3:focus{z-index:20}._3-iI4 ._15An3:hover{z-index:10}._3-iI4 ._15An3._2CFSO{border:none}._3-iI4 ._15An3._jwz2-{display:inline-flex;width:auto;flex-grow:1}._3-iI4 ._15An3:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._3-iI4 ._15An3:first-child._2CFSO{border-right:1px solid #fff}._3-iI4 ._15An3:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._3-iI4 ._15An3:not(:last-child):not(:first-child)._2CFSO{border-left:1px solid #fff;border-right:1px solid #fff}._3-iI4 ._15An3:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._3-iI4 ._15An3:last-child._2CFSO{border-left:1px solid #fff}._3-iI4 ._15An3:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
3
+ var css_248z = "._j4n90{display:inline-flex;align-items:stretch}._j4n90._wRmTj{width:100%}._j4n90 ._qpm5D{margin:0;min-width:0}._j4n90 ._qpm5D:focus{z-index:20}._j4n90 ._qpm5D:hover{z-index:10}._j4n90 ._qpm5D._NkknZ{border:none}._j4n90 ._qpm5D._wRmTj{display:inline-flex;width:auto;flex-grow:1}._j4n90 ._qpm5D:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._j4n90 ._qpm5D:first-child._NkknZ{border-right:1px solid #fff}._j4n90 ._qpm5D:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._j4n90 ._qpm5D:not(:last-child):not(:first-child)._NkknZ{border-left:1px solid #fff;border-right:1px solid #fff}._j4n90 ._qpm5D:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._j4n90 ._qpm5D:last-child._NkknZ{border-left:1px solid #fff}._j4n90 ._qpm5D:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
4
+ var styles = {"buttonGroup":"_j4n90","full":"_wRmTj","buttonGroupElement":"_qpm5D","primary":"_NkknZ"};
5
+ var stylesheet="._j4n90{display:inline-flex;align-items:stretch}._j4n90._wRmTj{width:100%}._j4n90 ._qpm5D{margin:0;min-width:0}._j4n90 ._qpm5D:focus{z-index:20}._j4n90 ._qpm5D:hover{z-index:10}._j4n90 ._qpm5D._NkknZ{border:none}._j4n90 ._qpm5D._wRmTj{display:inline-flex;width:auto;flex-grow:1}._j4n90 ._qpm5D:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._j4n90 ._qpm5D:first-child._NkknZ{border-right:1px solid #fff}._j4n90 ._qpm5D:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._j4n90 ._qpm5D:not(:last-child):not(:first-child)._NkknZ{border-left:1px solid #fff;border-right:1px solid #fff}._j4n90 ._qpm5D:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._j4n90 ._qpm5D:last-child._NkknZ{border-left:1px solid #fff}._j4n90 ._qpm5D:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -27,22 +27,22 @@ const Checkbox = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
27
27
  helperTextId: formFieldHelperTextId,
28
28
  errorTextId: formFieldErrorTextId
29
29
  } = useFormFieldContext();
30
- const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
30
+ const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps?.['aria-describedby']);
31
31
  return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
32
32
  ref: ref,
33
33
  className: classNames(className, styles.checkbox)
34
34
  }), /*#__PURE__*/React__default.createElement("input", _extends({}, inputProps, {
35
- name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
36
- className: classNames(styles.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
35
+ name: name ?? inputProps?.name,
36
+ className: classNames(styles.input, inputProps?.className),
37
37
  type: "checkbox",
38
- id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
39
- checked: checked !== null && checked !== void 0 ? checked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked,
40
- defaultChecked: defaultChecked !== null && defaultChecked !== void 0 ? defaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked,
41
- disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
42
- onChange: disabled ? undefined : onChange !== null && onChange !== void 0 ? onChange : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange,
43
- value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
44
- "aria-label": externalAriaLabel !== null && externalAriaLabel !== void 0 ? externalAriaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
45
- "aria-labelledby": externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
38
+ id: id ?? inputProps?.id,
39
+ checked: checked ?? inputProps?.checked,
40
+ defaultChecked: defaultChecked ?? inputProps?.defaultChecked,
41
+ disabled: disabled ?? inputProps?.disabled,
42
+ onChange: disabled ? undefined : onChange ?? inputProps?.onChange,
43
+ value: value ?? inputProps?.value,
44
+ "aria-label": externalAriaLabel ?? inputProps?.['aria-label'],
45
+ "aria-labelledby": externalAriaLabelledBy ?? inputProps?.['aria-labelledby'],
46
46
  "aria-describedby": internalAriaDescribedby
47
47
  })), /*#__PURE__*/React__default.createElement("span", {
48
48
  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 = "._1gVcP{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1gVcP,._1nfho{cursor:pointer;height:16px;width:16px}._1nfho{position:absolute;opacity:0;z-index:10}._1nfho:checked~._qsPj2>._1XyrM{fill-opacity:1}._1nfho:checked:enabled~._qsPj2{border-color:transparent;background-color:#0b6ed0}._1nfho:checked:enabled~._qsPj2>._1XyrM{fill:#fff}._1nfho:checked:enabled:hover~._qsPj2{background-color:#085caf}._1nfho:not(:checked):enabled:hover~._qsPj2{border-color:#0b6ed0}._1nfho:disabled{cursor:not-allowed}._1nfho:disabled~._qsPj2{opacity:.4}._olL4x{color:#32363a;display:flex;align-items:center;cursor:pointer}._1YMEf{cursor:auto;color:hsla(0,0%,53.7%,.4)}._1QiRe{margin-right:12px;flex-shrink:0}._qsPj2{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}._1XyrM{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._1nfho:active:focus~._qsPj2,body.keyboard-user ._1nfho:focus~._qsPj2{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
- var styles = {"checkbox":"_1gVcP","input":"_1nfho","check":"_qsPj2","checkIcon":"_1XyrM","label":"_olL4x","labelDisabled":"_1YMEf","wrappedInput":"_1QiRe"};
5
- var stylesheet="._1gVcP{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._1gVcP,._1nfho{cursor:pointer;height:16px;width:16px}._1nfho{position:absolute;opacity:0;z-index:10}._1nfho:checked~._qsPj2>._1XyrM{fill-opacity:1}._1nfho:checked:enabled~._qsPj2{border-color:transparent;background-color:#0b6ed0}._1nfho:checked:enabled~._qsPj2>._1XyrM{fill:#fff}._1nfho:checked:enabled:hover~._qsPj2{background-color:#085caf}._1nfho:not(:checked):enabled:hover~._qsPj2{border-color:#0b6ed0}._1nfho:disabled{cursor:not-allowed}._1nfho:disabled~._qsPj2{opacity:.4}._olL4x{color:#32363a;display:flex;align-items:center;cursor:pointer}._1YMEf{cursor:auto;color:hsla(0,0%,53.7%,.4)}._1QiRe{margin-right:12px;flex-shrink:0}._qsPj2{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}._1XyrM{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._1nfho:active:focus~._qsPj2,body.keyboard-user ._1nfho:focus~._qsPj2{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
3
+ var css_248z = "._TRRiG{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._TRRiG,._VzD1A{cursor:pointer;height:16px;width:16px}._VzD1A{position:absolute;opacity:0;z-index:10}._VzD1A:checked~._3rLW7>._fEHqD{fill-opacity:1}._VzD1A:checked:enabled~._3rLW7{border-color:transparent;background-color:#0b6ed0}._VzD1A:checked:enabled~._3rLW7>._fEHqD{fill:#fff}._VzD1A:checked:enabled:hover~._3rLW7{background-color:#085caf}._VzD1A:not(:checked):enabled:hover~._3rLW7{border-color:#0b6ed0}._VzD1A:disabled{cursor:not-allowed}._VzD1A:disabled~._3rLW7{opacity:.4}._y-Lyr{color:#32363a;display:flex;align-items:center;cursor:pointer}._ONjd2{cursor:auto;color:hsla(0,0%,53.7%,.4)}._bBsIA{margin-right:12px;flex-shrink:0}._3rLW7{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}._fEHqD{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._VzD1A:active:focus~._3rLW7,body.keyboard-user ._VzD1A:focus~._3rLW7{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4
+ var styles = {"checkbox":"_TRRiG","input":"_VzD1A","check":"_3rLW7","checkIcon":"_fEHqD","label":"_y-Lyr","labelDisabled":"_ONjd2","wrappedInput":"_bBsIA"};
5
+ var stylesheet="._TRRiG{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._TRRiG,._VzD1A{cursor:pointer;height:16px;width:16px}._VzD1A{position:absolute;opacity:0;z-index:10}._VzD1A:checked~._3rLW7>._fEHqD{fill-opacity:1}._VzD1A:checked:enabled~._3rLW7{border-color:transparent;background-color:#0b6ed0}._VzD1A:checked:enabled~._3rLW7>._fEHqD{fill:#fff}._VzD1A:checked:enabled:hover~._3rLW7{background-color:#085caf}._VzD1A:not(:checked):enabled:hover~._3rLW7{border-color:#0b6ed0}._VzD1A:disabled{cursor:not-allowed}._VzD1A:disabled~._3rLW7{opacity:.4}._y-Lyr{color:#32363a;display:flex;align-items:center;cursor:pointer}._ONjd2{cursor:auto;color:hsla(0,0%,53.7%,.4)}._bBsIA{margin-right:12px;flex-shrink:0}._3rLW7{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}._fEHqD{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._VzD1A:active:focus~._3rLW7,body.keyboard-user ._VzD1A:focus~._3rLW7{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 };
@@ -3,10 +3,10 @@ import classNames from 'classnames';
3
3
  import Check from './Check.js';
4
4
  import styles from './VisualCheckbox2.js';
5
5
 
6
+ // Internal only component, used with Dropdown and SelectMenu multiselects.
6
7
  // input elements cannot be inside an option role for accessibility reasons,
7
8
  // so this component reflects our Checkbox styles for DropdownOption and
8
9
  // MenuItem without using an actual input.
9
-
10
10
  const VisualCheckbox = _ref => {
11
11
  let {
12
12
  className,
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._LSf8p{display:inline-flex;position:relative}._37byr,._LSf8p{cursor:pointer;height:16px;width:16px}._37byr{position:absolute;opacity:0;z-index:10}._37byr._2uviW~._2ifHh>._hUSzg{fill-opacity:1}._37byr._2uviW~._2ifHh{border-color:transparent;background-color:#0b6ed0}._37byr._2uviW~._2ifHh>._hUSzg{fill:#fff}._37byr._2uviW:hover~._2ifHh{background-color:#085caf}._37byr:not(._2uviW):hover~._2ifHh{border-color:#0b6ed0}._37byr._rhHGu{cursor:not-allowed}._37byr._rhHGu~._2ifHh{opacity:.4}._2ifHh{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}._hUSzg{fill:#0b6ed0;fill-opacity:0}";
4
- var styles = {"checkbox":"_LSf8p","input":"_37byr","checked":"_2uviW","check":"_2ifHh","checkIcon":"_hUSzg","disabled":"_rhHGu"};
5
- var stylesheet="._LSf8p{display:inline-flex;position:relative}._37byr,._LSf8p{cursor:pointer;height:16px;width:16px}._37byr{position:absolute;opacity:0;z-index:10}._37byr._2uviW~._2ifHh>._hUSzg{fill-opacity:1}._37byr._2uviW~._2ifHh{border-color:transparent;background-color:#0b6ed0}._37byr._2uviW~._2ifHh>._hUSzg{fill:#fff}._37byr._2uviW:hover~._2ifHh{background-color:#085caf}._37byr:not(._2uviW):hover~._2ifHh{border-color:#0b6ed0}._37byr._rhHGu{cursor:not-allowed}._37byr._rhHGu~._2ifHh{opacity:.4}._2ifHh{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}._hUSzg{fill:#0b6ed0;fill-opacity:0}";
3
+ var css_248z = "._M4ePM{display:inline-flex;position:relative}._eoa0e,._M4ePM{cursor:pointer;height:16px;width:16px}._eoa0e{position:absolute;opacity:0;z-index:10}._eoa0e._nvWK4~._0suEM>._5I7H-{fill-opacity:1}._eoa0e._nvWK4~._0suEM{border-color:transparent;background-color:#0b6ed0}._eoa0e._nvWK4~._0suEM>._5I7H-{fill:#fff}._eoa0e._nvWK4:hover~._0suEM{background-color:#085caf}._eoa0e:not(._nvWK4):hover~._0suEM{border-color:#0b6ed0}._eoa0e._TVmaX{cursor:not-allowed}._eoa0e._TVmaX~._0suEM{opacity:.4}._0suEM{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}._5I7H-{fill:#0b6ed0;fill-opacity:0}";
4
+ var styles = {"checkbox":"_M4ePM","input":"_eoa0e","checked":"_nvWK4","check":"_0suEM","checkIcon":"_5I7H-","disabled":"_TVmaX"};
5
+ var stylesheet="._M4ePM{display:inline-flex;position:relative}._eoa0e,._M4ePM{cursor:pointer;height:16px;width:16px}._eoa0e{position:absolute;opacity:0;z-index:10}._eoa0e._nvWK4~._0suEM>._5I7H-{fill-opacity:1}._eoa0e._nvWK4~._0suEM{border-color:transparent;background-color:#0b6ed0}._eoa0e._nvWK4~._0suEM>._5I7H-{fill:#fff}._eoa0e._nvWK4:hover~._0suEM{background-color:#085caf}._eoa0e:not(._nvWK4):hover~._0suEM{border-color:#0b6ed0}._eoa0e._TVmaX{cursor:not-allowed}._eoa0e._TVmaX~._0suEM{opacity:.4}._0suEM{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}._5I7H-{fill:#0b6ed0;fill-opacity:0}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -12,10 +12,7 @@ import { setIsKeyboardUser } from '../../utils/keyboardUser/keyboardUser.js';
12
12
  import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
13
13
 
14
14
  /* eslint-disable jsx-a11y/no-static-element-interactions */
15
-
16
15
  function Alpha(_ref) {
17
- var _color$alpha5, _color$alpha6, _color$alpha7;
18
-
19
16
  let {
20
17
  color,
21
18
  onAlphaChange,
@@ -39,73 +36,55 @@ function Alpha(_ref) {
39
36
  onAlphaChange(newAlpha);
40
37
  });
41
38
  const handleMouseDown = useMouseDrag(handleChange);
42
-
43
39
  function handleKeyDown(e) {
44
- var _color$alpha, _color$alpha2, _color$alpha3, _color$alpha4;
45
-
46
40
  switch (e.key) {
47
41
  case 'ArrowDown':
48
42
  case 'ArrowLeft':
49
43
  e.preventDefault(); // prevent page scroll
50
-
51
44
  setIsKeyboardUser(true);
52
- onAlphaChange(Math.min(((_color$alpha = color.alpha) !== null && _color$alpha !== void 0 ? _color$alpha : MAX_ALPHA) + 1, MAX_ALPHA));
45
+ onAlphaChange(Math.min((color.alpha ?? MAX_ALPHA) + 1, MAX_ALPHA));
53
46
  break;
54
-
55
47
  case 'ArrowUp':
56
48
  case 'ArrowRight':
57
49
  e.preventDefault(); // prevent page scroll
58
-
59
50
  setIsKeyboardUser(true);
60
- onAlphaChange(Math.max(((_color$alpha2 = color.alpha) !== null && _color$alpha2 !== void 0 ? _color$alpha2 : MAX_ALPHA) - 1, MIN_ALPHA));
51
+ onAlphaChange(Math.max((color.alpha ?? MAX_ALPHA) - 1, MIN_ALPHA));
61
52
  break;
62
-
63
53
  case 'End':
64
54
  e.preventDefault(); // prevent page scroll
65
-
66
55
  setIsKeyboardUser(true);
67
56
  onAlphaChange(MIN_ALPHA);
68
57
  break;
69
-
70
58
  case 'Home':
71
59
  e.preventDefault(); // prevent page scroll
72
-
73
60
  setIsKeyboardUser(true);
74
61
  onAlphaChange(MAX_ALPHA);
75
62
  break;
76
-
77
63
  case 'PageDown':
78
64
  e.preventDefault(); // prevent page scroll
79
-
80
65
  setIsKeyboardUser(true);
81
- onAlphaChange(Math.min(((_color$alpha3 = color.alpha) !== null && _color$alpha3 !== void 0 ? _color$alpha3 : MAX_ALPHA) + 10, MAX_ALPHA));
66
+ onAlphaChange(Math.min((color.alpha ?? MAX_ALPHA) + 10, MAX_ALPHA));
82
67
  break;
83
-
84
68
  case 'PageUp':
85
69
  e.preventDefault(); // prevent page scroll
86
-
87
70
  setIsKeyboardUser(true);
88
- onAlphaChange(Math.max(((_color$alpha4 = color.alpha) !== null && _color$alpha4 !== void 0 ? _color$alpha4 : MAX_ALPHA) - 10, MIN_ALPHA));
71
+ onAlphaChange(Math.max((color.alpha ?? MAX_ALPHA) - 10, MIN_ALPHA));
89
72
  break;
90
-
91
73
  default:
92
74
  break;
93
75
  }
94
76
  }
95
-
96
77
  return /*#__PURE__*/React__default.createElement("div", {
97
78
  className: styles.alphaSliderRailBackground
98
79
  }, /*#__PURE__*/React__default.createElement("div", {
99
80
  className: styles.alphaSliderRail,
100
81
  style: {
101
- background: "linear-gradient(90deg, ".concat(color.hex, ", transparent)")
82
+ background: `linear-gradient(90deg, ${color.hex}, transparent)`
102
83
  },
103
84
  onMouseDown: e => {
104
- var _thumbRef$current;
105
-
106
85
  // prevent text highlighting while dragging
107
86
  e.preventDefault();
108
- (_thumbRef$current = thumbRef.current) === null || _thumbRef$current === void 0 ? void 0 : _thumbRef$current.focus();
87
+ thumbRef.current?.focus();
109
88
  handleMouseDown(e);
110
89
  },
111
90
  "data-testid": getSubDataTestId(dataTestId, 'alpha-rail'),
@@ -114,14 +93,14 @@ function Alpha(_ref) {
114
93
  role: "slider",
115
94
  className: styles.alphaSliderThumb,
116
95
  style: {
117
- left: "calc(".concat(MAX_ALPHA - ((_color$alpha5 = color.alpha) !== null && _color$alpha5 !== void 0 ? _color$alpha5 : MAX_ALPHA), "% - 4px)")
96
+ left: `calc(${MAX_ALPHA - (color.alpha ?? MAX_ALPHA)}% - 4px)`
118
97
  },
119
98
  onKeyDown: handleKeyDown,
120
99
  "aria-label": alphaAriaLabel,
121
100
  "aria-valuemin": MIN_ALPHA,
122
101
  "aria-valuemax": MAX_ALPHA,
123
- "aria-valuenow": (_color$alpha6 = color.alpha) !== null && _color$alpha6 !== void 0 ? _color$alpha6 : MAX_ALPHA,
124
- "aria-valuetext": "".concat((_color$alpha7 = color.alpha) !== null && _color$alpha7 !== void 0 ? _color$alpha7 : MAX_ALPHA, "%"),
102
+ "aria-valuenow": color.alpha ?? MAX_ALPHA,
103
+ "aria-valuetext": `${color.alpha ?? MAX_ALPHA}%`,
125
104
  tabIndex: 0,
126
105
  ref: thumbRef,
127
106
  "data-testid": getSubDataTestId(dataTestId, 'alpha-thumb')