@alma-oss/spirit-web-react 4.1.0 → 4.2.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 (249) hide show
  1. package/README.md +2 -1
  2. package/bundles/web-react.umd.js +765 -419
  3. package/bundles/web-react.umd.js.map +1 -1
  4. package/bundles/web-react.umd.min.js +1 -1
  5. package/bundles/web-react.umd.min.js.map +1 -1
  6. package/components/Accordion/Accordion.cjs +24 -8
  7. package/components/Accordion/Accordion.cjs.map +1 -1
  8. package/components/Accordion/Accordion.d.ts +5 -3
  9. package/components/Accordion/Accordion.js +2 -0
  10. package/components/Accordion/Accordion.js.map +1 -1
  11. package/components/Accordion/AccordionHeader.d.ts +5 -3
  12. package/components/Accordion/AccordionHeader.js +14 -4
  13. package/components/Accordion/AccordionHeader.js.map +1 -1
  14. package/components/Accordion/AccordionItem.d.ts +5 -3
  15. package/components/Accordion/AccordionItem.js +2 -0
  16. package/components/Accordion/AccordionItem.js.map +1 -1
  17. package/components/Accordion/UncontrolledAccordion.d.ts +5 -3
  18. package/components/Accordion/UncontrolledAccordion.js +3 -1
  19. package/components/Accordion/UncontrolledAccordion.js.map +1 -1
  20. package/components/Accordion/useAccordion.d.ts +2 -2
  21. package/components/Accordion/useAccordion.js.map +1 -1
  22. package/components/ActionGroup/ActionGroup.cjs +4 -2
  23. package/components/ActionGroup/ActionGroup.cjs.map +1 -1
  24. package/components/Avatar/Avatar.js.map +1 -1
  25. package/components/Button/Button.cjs +49 -12
  26. package/components/Button/Button.cjs.map +1 -1
  27. package/components/Button/Button.js.map +1 -1
  28. package/components/Button/useButtonStyleProps.js +6 -6
  29. package/components/Button/useButtonStyleProps.js.map +1 -1
  30. package/components/ButtonLink/ButtonLink.js.map +1 -1
  31. package/components/ButtonLink/useButtonLinkStyleProps.js +6 -6
  32. package/components/ButtonLink/useButtonLinkStyleProps.js.map +1 -1
  33. package/components/Card/CardLink.d.ts +1 -1
  34. package/components/Card/CardLink.js.map +1 -1
  35. package/components/Checkbox/Checkbox.cjs +45 -1
  36. package/components/Checkbox/Checkbox.cjs.map +1 -1
  37. package/components/Checkbox/Checkbox.js.map +1 -1
  38. package/components/Checkbox/useCheckboxStyleProps.js +5 -2
  39. package/components/Checkbox/useCheckboxStyleProps.js.map +1 -1
  40. package/components/Collapse/Collapse.cjs +2 -2
  41. package/components/Collapse/Collapse.cjs.map +1 -1
  42. package/components/ControlButton/ControlButton.js.map +1 -1
  43. package/components/ControlButton/useControlButtonStyleProps.js +3 -4
  44. package/components/ControlButton/useControlButtonStyleProps.js.map +1 -1
  45. package/components/Drawer/Drawer.cjs +49 -12
  46. package/components/Drawer/Drawer.cjs.map +1 -1
  47. package/components/Drawer/DrawerPanel.js.map +1 -1
  48. package/components/FileUploader/FileUploader.cjs +6 -4
  49. package/components/FileUploader/FileUploader.cjs.map +1 -1
  50. package/components/FileUploader/FileUploaderAttachment.js +3 -3
  51. package/components/FileUploader/FileUploaderAttachment.js.map +1 -1
  52. package/components/FileUploader/FileUploaderList.js +2 -1
  53. package/components/FileUploader/FileUploaderList.js.map +1 -1
  54. package/components/FileUploader/constants.d.ts +1 -0
  55. package/components/FileUploader/constants.js +1 -0
  56. package/components/FileUploader/constants.js.map +1 -1
  57. package/components/FileUploader/useFileUploaderInput.js.map +1 -1
  58. package/components/Flex/Flex.cjs +4 -2
  59. package/components/Flex/Flex.cjs.map +1 -1
  60. package/components/Flex/Flex.d.ts +2 -0
  61. package/components/Flex/Flex.js +2 -0
  62. package/components/Flex/Flex.js.map +1 -1
  63. package/components/Flex/useFlexStyleProps.d.ts +2 -2
  64. package/components/Footer/Footer.cjs +40 -3
  65. package/components/Footer/Footer.cjs.map +1 -1
  66. package/components/Footer/Footer.d.ts +2 -2
  67. package/components/Footer/Footer.js +5 -3
  68. package/components/Footer/Footer.js.map +1 -1
  69. package/components/Footer/useFooterStyleProps.d.ts +2 -2
  70. package/components/Footer/useFooterStyleProps.js.map +1 -1
  71. package/components/Grid/Grid.cjs +10 -5
  72. package/components/Grid/Grid.cjs.map +1 -1
  73. package/components/Grid/Grid.d.ts +2 -0
  74. package/components/Grid/Grid.js +2 -0
  75. package/components/Grid/Grid.js.map +1 -1
  76. package/components/Grid/GridItem.d.ts +2 -0
  77. package/components/Grid/GridItem.js +2 -0
  78. package/components/Grid/GridItem.js.map +1 -1
  79. package/components/Grid/useGridItemStyleProps.d.ts +2 -2
  80. package/components/Grid/useGridItemStyleProps.js +6 -5
  81. package/components/Grid/useGridItemStyleProps.js.map +1 -1
  82. package/components/Grid/useGridStyleProps.d.ts +2 -2
  83. package/components/Header/Header.cjs +49 -12
  84. package/components/Header/Header.cjs.map +1 -1
  85. package/components/Header/HeaderDialogLink.js.map +1 -1
  86. package/components/Header/HeaderLink.js.map +1 -1
  87. package/components/Hidden/Hidden.d.ts +9 -0
  88. package/components/Hidden/Hidden.js +31 -0
  89. package/components/Hidden/Hidden.js.map +1 -0
  90. package/components/Hidden/index.d.ts +1 -0
  91. package/components/Hidden/index.js +2 -0
  92. package/components/Hidden/index.js.map +1 -0
  93. package/components/Icon/Icon.js.map +1 -1
  94. package/components/Icon/useIconStyleProps.d.ts +10 -10
  95. package/components/Link/Link.js.map +1 -1
  96. package/components/Matrix/Matrix.cjs.map +1 -1
  97. package/components/Matrix/Matrix.js +2 -2
  98. package/components/Matrix/Matrix.js.map +1 -1
  99. package/components/Matrix/useMatrixStyleProps.d.ts +1 -1
  100. package/components/Matrix/useMatrixStyleProps.js.map +1 -1
  101. package/components/Modal/Modal.cjs +54 -16
  102. package/components/Modal/Modal.cjs.map +1 -1
  103. package/components/Modal/ModalCloseButton.js +2 -1
  104. package/components/Modal/ModalCloseButton.js.map +1 -1
  105. package/components/Modal/ModalHeader.js +2 -1
  106. package/components/Modal/ModalHeader.js.map +1 -1
  107. package/components/Modal/constants.d.ts +1 -0
  108. package/components/Modal/constants.js +2 -0
  109. package/components/Modal/constants.js.map +1 -0
  110. package/components/Modal/useModalDialogStyleProps.js +1 -2
  111. package/components/Modal/useModalDialogStyleProps.js.map +1 -1
  112. package/components/Navigation/NavigationAction.js.map +1 -1
  113. package/components/Navigation/NavigationAvatar.js.map +1 -1
  114. package/components/Pagination/Pagination.cjs +61 -19
  115. package/components/Pagination/Pagination.cjs.map +1 -1
  116. package/components/Pagination/PaginationButtonLink.js +4 -1
  117. package/components/Pagination/PaginationButtonLink.js.map +1 -1
  118. package/components/Pagination/PaginationLink.js +4 -2
  119. package/components/Pagination/PaginationLink.js.map +1 -1
  120. package/components/Pagination/PaginationLinkNext.js.map +1 -1
  121. package/components/Pagination/PaginationLinkPrevious.js.map +1 -1
  122. package/components/Pagination/UncontrolledPagination.js +2 -1
  123. package/components/Pagination/UncontrolledPagination.js.map +1 -1
  124. package/components/Pagination/constants.d.ts +1 -0
  125. package/components/Pagination/constants.js +1 -0
  126. package/components/Pagination/constants.js.map +1 -1
  127. package/components/PricingPlan/PricingPlan.cjs +54 -16
  128. package/components/PricingPlan/PricingPlan.cjs.map +1 -1
  129. package/components/Radio/Radio.cjs +45 -1
  130. package/components/Radio/Radio.cjs.map +1 -1
  131. package/components/Radio/Radio.js.map +1 -1
  132. package/components/Radio/useRadioStyleProps.js +5 -2
  133. package/components/Radio/useRadioStyleProps.js.map +1 -1
  134. package/components/ScrollView/ScrollView.cjs +80 -11
  135. package/components/ScrollView/ScrollView.cjs.map +1 -1
  136. package/components/ScrollView/ScrollViewArrows.js +3 -8
  137. package/components/ScrollView/ScrollViewArrows.js.map +1 -1
  138. package/components/ScrollView/constants.d.ts +1 -0
  139. package/components/ScrollView/constants.js +1 -0
  140. package/components/ScrollView/constants.js.map +1 -1
  141. package/components/ScrollView/index.d.ts +1 -0
  142. package/components/ScrollView/index.js +1 -0
  143. package/components/ScrollView/index.js.map +1 -1
  144. package/components/ScrollView/useScrollCallback.d.ts +10 -0
  145. package/components/ScrollView/useScrollCallback.js +41 -0
  146. package/components/ScrollView/useScrollCallback.js.map +1 -0
  147. package/components/ScrollView/useScrollPosition.js.map +1 -1
  148. package/components/SegmentedControl/SegmentedControlContext.js.map +1 -1
  149. package/components/Select/Select.js.map +1 -1
  150. package/components/Skeleton/useSkeletonShapeStyleProps.d.ts +10 -10
  151. package/components/SkipLink/SkipLink.js.map +1 -1
  152. package/components/Slider/Slider.js.map +1 -1
  153. package/components/Spinner/Spinner.js.map +1 -1
  154. package/components/SplitButton/SplitButton.cjs +52 -12
  155. package/components/SplitButton/SplitButton.cjs.map +1 -1
  156. package/components/SplitButton/UncontrolledSplitButton.js +2 -0
  157. package/components/SplitButton/UncontrolledSplitButton.js.map +1 -1
  158. package/components/SplitButton/constants.d.ts +1 -0
  159. package/components/SplitButton/constants.js +2 -0
  160. package/components/SplitButton/constants.js.map +1 -0
  161. package/components/Tabs/TabContext.js.map +1 -1
  162. package/components/Tabs/TabLink.js.map +1 -1
  163. package/components/Tag/Tag.js.map +1 -1
  164. package/components/TextArea/TextArea.cjs +7 -1
  165. package/components/TextArea/TextArea.cjs.map +1 -1
  166. package/components/TextArea/TextArea.js.map +1 -1
  167. package/components/TextArea/useAdjustHeight.js.map +1 -1
  168. package/components/TextField/TextField.cjs +7 -1
  169. package/components/TextField/TextField.cjs.map +1 -1
  170. package/components/TextField/TextField.js.map +1 -1
  171. package/components/TextFieldBase/TextFieldBase.cjs +7 -1
  172. package/components/TextFieldBase/TextFieldBase.cjs.map +1 -1
  173. package/components/TextFieldBase/TextFieldBase.d.ts +2 -2
  174. package/components/TextFieldBase/TextFieldBase.js.map +1 -1
  175. package/components/TextFieldBase/TextFieldBaseInput.js.map +1 -1
  176. package/components/TextFieldBase/TextFieldBasePasswordToggle.js +5 -1
  177. package/components/TextFieldBase/TextFieldBasePasswordToggle.js.map +1 -1
  178. package/components/TextFieldBase/constants.d.ts +2 -0
  179. package/components/TextFieldBase/constants.js +3 -0
  180. package/components/TextFieldBase/constants.js.map +1 -0
  181. package/components/Toast/Toast.cjs +1 -1
  182. package/components/Toast/Toast.cjs.map +1 -1
  183. package/components/Toast/ToastBarLink.js.map +1 -1
  184. package/components/Toast/ToastContext.js +2 -2
  185. package/components/Toast/ToastContext.js.map +1 -1
  186. package/components/Toast/UncontrolledToast.js +2 -1
  187. package/components/Toast/UncontrolledToast.js.map +1 -1
  188. package/components/Toast/useToastBarStyleProps.d.ts +10 -10
  189. package/components/Toggle/Toggle.cjs +46 -1
  190. package/components/Toggle/Toggle.cjs.map +1 -1
  191. package/components/Toggle/Toggle.js.map +1 -1
  192. package/components/Toggle/useToggleStyleProps.js +5 -2
  193. package/components/Toggle/useToggleStyleProps.js.map +1 -1
  194. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +1 -1
  195. package/components/components.cjs +441 -285
  196. package/components/components.cjs.map +1 -1
  197. package/components/index.d.ts +1 -0
  198. package/components/index.js +1 -0
  199. package/components/index.js.map +1 -1
  200. package/constants/constants.cjs +6 -0
  201. package/constants/constants.cjs.map +1 -1
  202. package/constants/index.d.ts +1 -0
  203. package/constants/index.js +1 -0
  204. package/constants/index.js.map +1 -1
  205. package/constants/inputs.d.ts +4 -0
  206. package/constants/inputs.js +5 -0
  207. package/constants/inputs.js.map +1 -0
  208. package/hooks/hooks.cjs +48 -7
  209. package/hooks/hooks.cjs.map +1 -1
  210. package/hooks/index.d.ts +2 -1
  211. package/hooks/index.js +2 -1
  212. package/hooks/index.js.map +1 -1
  213. package/hooks/useDeprecationMessage.js +2 -2
  214. package/hooks/useDeprecationMessage.js.map +1 -1
  215. package/hooks/useInputPositionClass.d.ts +2 -0
  216. package/hooks/useInputPositionClass.js +8 -0
  217. package/hooks/useInputPositionClass.js.map +1 -0
  218. package/hooks/useSymmetry.d.ts +7 -0
  219. package/hooks/useSymmetry.js +39 -0
  220. package/hooks/useSymmetry.js.map +1 -0
  221. package/index.cjs +444 -290
  222. package/index.cjs.map +1 -1
  223. package/package.json +11 -18
  224. package/spirit-web-react.cjs +444 -290
  225. package/spirit-web-react.cjs.map +1 -1
  226. package/spirit-web-react.min.cjs +1 -1
  227. package/types/accordion.d.ts +14 -7
  228. package/types/box.d.ts +2 -2
  229. package/types/button.d.ts +2 -2
  230. package/types/checkbox.d.ts +2 -1
  231. package/types/controlButton.d.ts +2 -2
  232. package/types/flex.d.ts +2 -3
  233. package/types/footer.d.ts +7 -2
  234. package/types/grid.d.ts +3 -5
  235. package/types/hidden.d.ts +10 -0
  236. package/types/hidden.js +2 -0
  237. package/types/hidden.js.map +1 -0
  238. package/types/index.d.ts +1 -0
  239. package/types/index.js +1 -0
  240. package/types/index.js.map +1 -1
  241. package/types/item.d.ts +2 -2
  242. package/types/pricingPlan.d.ts +1 -1
  243. package/types/radio.d.ts +2 -1
  244. package/types/shared/inputs.d.ts +3 -0
  245. package/types/slider.d.ts +2 -2
  246. package/types/toggle.d.ts +2 -1
  247. package/hooks/useDirectionClass.d.ts +0 -2
  248. package/hooks/useDirectionClass.js +0 -5
  249. package/hooks/useDirectionClass.js.map +0 -1
package/index.cjs CHANGED
@@ -88,7 +88,7 @@ const ColorPrefixes = {
88
88
  EMOTION: 'emotion',
89
89
  };
90
90
 
91
- var __rest$2V = (undefined && undefined.__rest) || function (s, e) {
91
+ var __rest$2W = (undefined && undefined.__rest) || function (s, e) {
92
92
  var t = {};
93
93
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
94
94
  t[p] = s[p];
@@ -188,7 +188,7 @@ const Sizes = {
188
188
  LARGE: 'large',
189
189
  };
190
190
  const SizesExtended = Object.assign(Object.assign({ XSMALL: 'xsmall' }, Sizes), { XLARGE: 'xlarge' });
191
- const _a = createUppercaseKeyDictionary(spiritDesignTokens.containers), { MAXWIDTH, PADDING } = _a, ContainerTokenSizes = __rest$2V(_a, ["MAXWIDTH", "PADDING"]);
191
+ const _a = createUppercaseKeyDictionary(spiritDesignTokens.containers), { MAXWIDTH, PADDING } = _a, ContainerTokenSizes = __rest$2W(_a, ["MAXWIDTH", "PADDING"]);
192
192
  const ValidationStates = {
193
193
  SUCCESS: 'success',
194
194
  WARNING: 'warning',
@@ -215,6 +215,11 @@ exports.DirectionAxis = void 0;
215
215
  })(exports.DirectionAxis || (exports.DirectionAxis = {}));
216
216
  const isDirectionHorizontal = (direction) => direction === Direction.HORIZONTAL;
217
217
 
218
+ const InputPositions = {
219
+ START: 'start',
220
+ END: 'end',
221
+ };
222
+
218
223
  const ObjectFit = {
219
224
  CONTAIN: 'contain',
220
225
  COVER: 'cover',
@@ -626,7 +631,7 @@ const useStyleUtilities = (props, prefix = '', additionalProps = {}) => {
626
631
  };
627
632
  };
628
633
 
629
- var __rest$2U = (undefined && undefined.__rest) || function (s, e) {
634
+ var __rest$2V = (undefined && undefined.__rest) || function (s, e) {
630
635
  var t = {};
631
636
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
632
637
  t[p] = s[p];
@@ -639,7 +644,7 @@ var __rest$2U = (undefined && undefined.__rest) || function (s, e) {
639
644
  };
640
645
  function useStyleProps(props, additionalUtilities) {
641
646
  const classNamePrefix = React.useContext(ClassNamePrefixContext);
642
- const { UNSAFE_className, UNSAFE_style } = props, otherProps = __rest$2U(props, ["UNSAFE_className", "UNSAFE_style"]);
647
+ const { UNSAFE_className, UNSAFE_style } = props, otherProps = __rest$2V(props, ["UNSAFE_className", "UNSAFE_style"]);
643
648
  const styleUtilitiesConfig = Object.assign({ theme: ThemeStyleProps.theme }, (additionalUtilities !== null && additionalUtilities !== void 0 ? additionalUtilities : {}));
644
649
  const { styleUtilities, props: modifiedProps } = useStyleUtilities(otherProps, classNamePrefix, styleUtilitiesConfig);
645
650
  const style = Object.assign({}, UNSAFE_style);
@@ -765,11 +770,11 @@ const useClickOutside = ({ ref, callback }) => {
765
770
  };
766
771
 
767
772
  const useDeprecationMessage = ({ method = 'component', trigger, componentName, componentProps, propertyProps, customText, }) => {
768
- let message;
769
- let hasProps;
770
773
  const messageBase = `Deprecation warning (${componentName}):`;
771
774
  React.useEffect(() => {
772
775
  const isExecutable = trigger && componentName && process.env.NODE_ENV === 'development';
776
+ let message;
777
+ let hasProps;
773
778
  switch (method) {
774
779
  case 'property':
775
780
  if (propertyProps === null || propertyProps === void 0 ? void 0 : propertyProps.delete) {
@@ -820,10 +825,6 @@ const useDimensionStyle = (property, prefix) => {
820
825
  return style;
821
826
  };
822
827
 
823
- function useDirectionClass(componentClass, property) {
824
- return generateStylePropsClassNames(componentClass, property);
825
- }
826
-
827
828
  const useDragAndDrop = (props) => {
828
829
  const [isDragging, setDragging] = React.useState(false);
829
830
  const onDragOverHandler = (event) => {
@@ -878,6 +879,13 @@ function useIconName(key, iconMap, defaultKey = 'default') {
878
879
  return key && iconMap[key] ? iconMap[key] : iconMap[defaultKey];
879
880
  }
880
881
 
882
+ function useInputPositionClass(componentClass, property) {
883
+ if (!property) {
884
+ return '';
885
+ }
886
+ return generateStylePropsClassNames(componentClass, property, 'inputPosition');
887
+ }
888
+
881
889
  const useLastActiveFocus = (isOpen) => {
882
890
  const lastActiveElement = React.useRef(null);
883
891
  React.useEffect(() => {
@@ -1007,6 +1015,43 @@ function useSpacingStyle(spacing, prefix, direction = undefined) {
1007
1015
  return style;
1008
1016
  }
1009
1017
 
1018
+ const SYMMETRICAL_CLASS_SUFFIX = '--symmetrical';
1019
+ const NON_SYMMETRICAL_CLASS_SUFFIX = '--asymmetrical';
1020
+ function getSymmetryClassNamesReducer(componentClass, isSymmetrical) {
1021
+ return (acc, breakpoint) => {
1022
+ if (breakpoint in isSymmetrical) {
1023
+ const value = isSymmetrical[breakpoint];
1024
+ const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `--${breakpoint}`;
1025
+ if (value) {
1026
+ return {
1027
+ classes: [...acc.classes, `${componentClass}${infix}${SYMMETRICAL_CLASS_SUFFIX}`],
1028
+ wasSymmetrical: true,
1029
+ };
1030
+ }
1031
+ if (acc.wasSymmetrical) {
1032
+ return {
1033
+ classes: [...acc.classes, `${componentClass}${infix}${NON_SYMMETRICAL_CLASS_SUFFIX}`],
1034
+ wasSymmetrical: acc.wasSymmetrical,
1035
+ };
1036
+ }
1037
+ }
1038
+ return acc;
1039
+ };
1040
+ }
1041
+ function useSymmetry(componentClass, isSymmetrical) {
1042
+ if (typeof isSymmetrical !== 'object' || isSymmetrical === null) {
1043
+ return {
1044
+ isSymmetricalActive: isSymmetrical === true,
1045
+ symmetricalClassName: isSymmetrical ? `${componentClass}${SYMMETRICAL_CLASS_SUFFIX}` : '',
1046
+ };
1047
+ }
1048
+ const { classes } = Object.keys(spiritDesignTokens.breakpoints).reduce(getSymmetryClassNamesReducer(componentClass, isSymmetrical), { classes: [], wasSymmetrical: false });
1049
+ return {
1050
+ isSymmetricalActive: Object.values(isSymmetrical).includes(true),
1051
+ symmetricalClassName: classes.join(' '),
1052
+ };
1053
+ }
1054
+
1010
1055
  const useToggle = (initialState = false) => {
1011
1056
  const [state, setState] = React.useState(initialState);
1012
1057
  const toggle = React.useCallback(() => setState((prevState) => !prevState), []);
@@ -1072,7 +1117,7 @@ const useOpenItem = (id) => {
1072
1117
  };
1073
1118
  };
1074
1119
 
1075
- var __rest$2T = (undefined && undefined.__rest) || function (s, e) {
1120
+ var __rest$2U = (undefined && undefined.__rest) || function (s, e) {
1076
1121
  var t = {};
1077
1122
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1078
1123
  t[p] = s[p];
@@ -1084,7 +1129,7 @@ var __rest$2T = (undefined && undefined.__rest) || function (s, e) {
1084
1129
  return t;
1085
1130
  };
1086
1131
  const Accordion = (props) => {
1087
- const { children, elementType: ElementTag = 'section', open, toggle } = props, restProps = __rest$2T(props, ["children", "elementType", "open", "toggle"]);
1132
+ const { children, elementType: ElementTag = 'section', open, toggle } = props, restProps = __rest$2U(props, ["children", "elementType", "open", "toggle"]);
1088
1133
  const { classProps } = useAccordionStyleProps();
1089
1134
  const { styleProps, props: transferProps } = useStyleProps(restProps);
1090
1135
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps });
@@ -1096,6 +1141,8 @@ const Accordion = (props) => {
1096
1141
  React.createElement(AccordionProvider, { value: contextValue }, children)));
1097
1142
  };
1098
1143
  Accordion.spiritComponent = 'Accordion';
1144
+ Accordion.spiritDefaultElement = 'section';
1145
+ Accordion.spiritDefaultProps = null;
1099
1146
 
1100
1147
  const defaultContext$8 = {
1101
1148
  id: '',
@@ -1105,7 +1152,7 @@ const AccordionItemProvider = AccordionItemContext.Provider;
1105
1152
  AccordionItemContext.Consumer;
1106
1153
  const useAccordionItemContext = () => React.useContext(AccordionItemContext);
1107
1154
 
1108
- var __rest$2S = (undefined && undefined.__rest) || function (s, e) {
1155
+ var __rest$2T = (undefined && undefined.__rest) || function (s, e) {
1109
1156
  var t = {};
1110
1157
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1111
1158
  t[p] = s[p];
@@ -1117,7 +1164,7 @@ var __rest$2S = (undefined && undefined.__rest) || function (s, e) {
1117
1164
  return t;
1118
1165
  };
1119
1166
  const AccordionItem = (props) => {
1120
- const { children, elementType: ElementTag = 'article', id } = props, restProps = __rest$2S(props, ["children", "elementType", "id"]);
1167
+ const { children, elementType: ElementTag = 'article', id } = props, restProps = __rest$2T(props, ["children", "elementType", "id"]);
1121
1168
  const { classProps } = useAccordionStyleProps();
1122
1169
  const { styleProps, props: transferProps } = useStyleProps(restProps);
1123
1170
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.item, styleProps });
@@ -1126,12 +1173,14 @@ const AccordionItem = (props) => {
1126
1173
  React.createElement(AccordionItemProvider, { value: contextValue }, children)));
1127
1174
  };
1128
1175
  AccordionItem.spiritComponent = 'AccordionItem';
1176
+ AccordionItem.spiritDefaultElement = 'article';
1177
+ AccordionItem.spiritDefaultProps = null;
1129
1178
 
1130
1179
  const DEFAULT_BOX_SIZE = 24;
1131
1180
 
1132
1181
  const useIconBoxSize = (boxSize) => { var _a; return typeof boxSize === 'object' ? ((_a = boxSize.mobile) !== null && _a !== void 0 ? _a : DEFAULT_BOX_SIZE) : (boxSize !== null && boxSize !== void 0 ? boxSize : DEFAULT_BOX_SIZE); };
1133
1182
 
1134
- var __rest$2R = (undefined && undefined.__rest) || function (s, e) {
1183
+ var __rest$2S = (undefined && undefined.__rest) || function (s, e) {
1135
1184
  var t = {};
1136
1185
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1137
1186
  t[p] = s[p];
@@ -1153,7 +1202,7 @@ const setCustomDimension$1 = (prefix, size) => {
1153
1202
  return style;
1154
1203
  };
1155
1204
  const useIconStyleProps = (props) => {
1156
- const { boxSize, color, name } = props, otherProps = __rest$2R(props, ["boxSize", "color", "name"]);
1205
+ const { boxSize, color, name } = props, otherProps = __rest$2S(props, ["boxSize", "color", "name"]);
1157
1206
  const stylePrefix = `--${spiritDesignTokens.cssVariablePrefix}icon`;
1158
1207
  const isDualtoneIcon = String(name).includes('-dualtone');
1159
1208
  const dualtoneColorWithDefault = isDualtoneIcon && !color ? TextColors.PRIMARY : color;
@@ -1170,7 +1219,7 @@ const useIconStyleProps = (props) => {
1170
1219
  };
1171
1220
  };
1172
1221
 
1173
- var __rest$2Q = (undefined && undefined.__rest) || function (s, e) {
1222
+ var __rest$2R = (undefined && undefined.__rest) || function (s, e) {
1174
1223
  var t = {};
1175
1224
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1176
1225
  t[p] = s[p];
@@ -1181,13 +1230,13 @@ var __rest$2Q = (undefined && undefined.__rest) || function (s, e) {
1181
1230
  }
1182
1231
  return t;
1183
1232
  };
1184
- const defaultProps$_ = {
1233
+ const defaultProps$10 = {
1185
1234
  ariaHidden: true,
1186
1235
  boxSize: DEFAULT_BOX_SIZE,
1187
1236
  };
1188
1237
  const _Icon = (props, ref) => {
1189
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$_), props);
1190
- const { boxSize, name, title, ariaHidden } = propsWithDefaults, restProps = __rest$2Q(propsWithDefaults, ["boxSize", "name", "title", "ariaHidden"]);
1238
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$10), props);
1239
+ const { boxSize, name, title, ariaHidden } = propsWithDefaults, restProps = __rest$2R(propsWithDefaults, ["boxSize", "name", "title", "ariaHidden"]);
1191
1240
  let icon = useIcon(name);
1192
1241
  const iconSize = useIconBoxSize(boxSize);
1193
1242
  const { classProps, iconStyleProps, props: modifiedProps } = useIconStyleProps(Object.assign({ boxSize, name }, restProps));
@@ -1205,7 +1254,7 @@ const _Icon = (props, ref) => {
1205
1254
  const Icon = React.forwardRef(_Icon);
1206
1255
  Icon.spiritComponent = 'Icon';
1207
1256
 
1208
- var __rest$2P = (undefined && undefined.__rest) || function (s, e) {
1257
+ var __rest$2Q = (undefined && undefined.__rest) || function (s, e) {
1209
1258
  var t = {};
1210
1259
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1211
1260
  t[p] = s[p];
@@ -1216,20 +1265,28 @@ var __rest$2P = (undefined && undefined.__rest) || function (s, e) {
1216
1265
  }
1217
1266
  return t;
1218
1267
  };
1219
- const AccordionHeader = (_a) => {
1220
- var { children, slot } = _a, restProps = __rest$2P(_a, ["children", "slot"]);
1268
+ const defaultProps$$ = {
1269
+ elementType: 'h3',
1270
+ };
1271
+ const AccordionHeader = (props) => {
1272
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$$), props);
1273
+ const { elementType: ElementTag = 'h3', children, slot } = propsWithDefaults, restProps = __rest$2Q(propsWithDefaults, ["elementType", "children", "slot"]);
1221
1274
  const { classProps } = useAccordionStyleProps();
1222
1275
  const { toggle } = useAccordionContext();
1223
1276
  const { id } = useAccordionItemContext();
1224
1277
  const { styleProps, props: transferProps } = useStyleProps(restProps);
1225
1278
  const { isOpen } = useOpenItem(id);
1226
1279
  const { triggerProps, headerProps } = useAccordionAriaProps({ id, isOpen });
1280
+ const mergedStyleProps = mergeStyleProps(ElementTag, {
1281
+ classProps: classProps.header,
1282
+ styleProps,
1283
+ });
1227
1284
  const itemToggle = () => {
1228
1285
  if (toggle && id) {
1229
1286
  toggle(id);
1230
1287
  }
1231
1288
  };
1232
- return (React.createElement("h3", Object.assign({}, transferProps, styleProps, headerProps, { className: classNames(classProps.header, styleProps.className) }),
1289
+ return (React.createElement(ElementTag, Object.assign({}, transferProps, mergedStyleProps, headerProps),
1233
1290
  React.createElement("button", Object.assign({ type: "button", className: classProps.toggle, onClick: itemToggle }, triggerProps), children),
1234
1291
  React.createElement("span", { className: classProps.side },
1235
1292
  slot && React.createElement("span", { className: classProps.slot }, slot),
@@ -1237,8 +1294,10 @@ const AccordionHeader = (_a) => {
1237
1294
  React.createElement(Icon, { name: "chevron-down" })))));
1238
1295
  };
1239
1296
  AccordionHeader.spiritComponent = 'AccordionHeader';
1297
+ AccordionHeader.spiritDefaultElement = 'h3';
1298
+ AccordionHeader.spiritDefaultProps = null;
1240
1299
 
1241
- var __rest$2O = (undefined && undefined.__rest) || function (s, e) {
1300
+ var __rest$2P = (undefined && undefined.__rest) || function (s, e) {
1242
1301
  var t = {};
1243
1302
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1244
1303
  t[p] = s[p];
@@ -1253,7 +1312,7 @@ const ATTRIBUTE_ARIA_EXPANDED = 'aria-expanded';
1253
1312
  const ATTRIBUTE_ARIA_CONTROLS = 'aria-controls';
1254
1313
  const ATTRIBUTE_DATA_BREAKPOINT = 'data-spirit-breakpoint';
1255
1314
  const useCollapseAriaProps = (props) => {
1256
- const { isOpen, collapsibleToBreakpoint } = props, modifiedProps = __rest$2O(props, ["isOpen", "collapsibleToBreakpoint"]);
1315
+ const { isOpen, collapsibleToBreakpoint } = props, modifiedProps = __rest$2P(props, ["isOpen", "collapsibleToBreakpoint"]);
1257
1316
  useDeprecationMessage({
1258
1317
  method: 'custom',
1259
1318
  trigger: !modifiedProps.id,
@@ -1300,7 +1359,7 @@ const useResizeHeight = (ref) => {
1300
1359
  return height;
1301
1360
  };
1302
1361
 
1303
- var __rest$2N = (undefined && undefined.__rest) || function (s, e) {
1362
+ var __rest$2O = (undefined && undefined.__rest) || function (s, e) {
1304
1363
  var t = {};
1305
1364
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1306
1365
  t[p] = s[p];
@@ -1318,15 +1377,15 @@ const transitioningStyles = {
1318
1377
  exiting: 'is-transitioning',
1319
1378
  exited: '',
1320
1379
  };
1321
- const defaultProps$Z = {
1380
+ const defaultProps$_ = {
1322
1381
  elementType: 'div',
1323
1382
  isOpen: false,
1324
1383
  collapsibleToBreakpoint: undefined,
1325
1384
  transitionDuration: TRANSITION_DURATION$1,
1326
1385
  };
1327
1386
  const Collapse = (props) => {
1328
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$Z), props);
1329
- const { elementType: ElementTag = defaultProps$Z.elementType, children, transitionDuration = TRANSITION_DURATION$1 } = propsWithDefaults, restProps = __rest$2N(propsWithDefaults, ["elementType", "children", "transitionDuration"]);
1387
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$_), props);
1388
+ const { elementType: ElementTag = defaultProps$_.elementType, children, transitionDuration = TRANSITION_DURATION$1 } = propsWithDefaults, restProps = __rest$2O(propsWithDefaults, ["elementType", "children", "transitionDuration"]);
1330
1389
  const rootElementRef = React.useRef(null);
1331
1390
  const collapseElementRef = React.useRef(null);
1332
1391
  const collapseHeight = useResizeHeight(collapseElementRef);
@@ -1364,7 +1423,7 @@ const useCollapse = (defaultOpenState) => {
1364
1423
  };
1365
1424
  };
1366
1425
 
1367
- var __rest$2M = (undefined && undefined.__rest) || function (s, e) {
1426
+ var __rest$2N = (undefined && undefined.__rest) || function (s, e) {
1368
1427
  var t = {};
1369
1428
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1370
1429
  t[p] = s[p];
@@ -1375,12 +1434,12 @@ var __rest$2M = (undefined && undefined.__rest) || function (s, e) {
1375
1434
  }
1376
1435
  return t;
1377
1436
  };
1378
- const defaultProps$Y = {
1437
+ const defaultProps$Z = {
1379
1438
  isOpen: false,
1380
1439
  };
1381
1440
  const UncontrolledCollapse = (props) => {
1382
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$Y), props);
1383
- const { children, hideOnCollapse, isDisposable, renderTrigger } = propsWithDefaults, restProps = __rest$2M(propsWithDefaults, ["children", "hideOnCollapse", "isDisposable", "renderTrigger"]);
1441
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$Z), props);
1442
+ const { children, hideOnCollapse, isDisposable, renderTrigger } = propsWithDefaults, restProps = __rest$2N(propsWithDefaults, ["children", "hideOnCollapse", "isDisposable", "renderTrigger"]);
1384
1443
  const { isOpen, toggleHandler } = useCollapse(restProps.isOpen);
1385
1444
  const { ariaProps } = useCollapseAriaProps(Object.assign(Object.assign({}, restProps), { isOpen }));
1386
1445
  const isDisposed = hideOnCollapse || isDisposable;
@@ -1396,7 +1455,7 @@ const UncontrolledCollapse = (props) => {
1396
1455
  };
1397
1456
  UncontrolledCollapse.spiritComponent = 'UncontrolledCollapse';
1398
1457
 
1399
- var __rest$2L = (undefined && undefined.__rest) || function (s, e) {
1458
+ var __rest$2M = (undefined && undefined.__rest) || function (s, e) {
1400
1459
  var t = {};
1401
1460
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1402
1461
  t[p] = s[p];
@@ -1408,7 +1467,7 @@ var __rest$2L = (undefined && undefined.__rest) || function (s, e) {
1408
1467
  return t;
1409
1468
  };
1410
1469
  const AccordionContent = (_a) => {
1411
- var { children } = _a, restProps = __rest$2L(_a, ["children"]);
1470
+ var { children } = _a, restProps = __rest$2M(_a, ["children"]);
1412
1471
  const { classProps } = useAccordionStyleProps();
1413
1472
  const { id } = useAccordionItemContext();
1414
1473
  const { styleProps, props: transferProps } = useStyleProps(restProps);
@@ -1419,7 +1478,7 @@ const AccordionContent = (_a) => {
1419
1478
  };
1420
1479
  AccordionContent.spiritComponent = 'AccordionContent';
1421
1480
 
1422
- var __rest$2K = (undefined && undefined.__rest) || function (s, e) {
1481
+ var __rest$2L = (undefined && undefined.__rest) || function (s, e) {
1423
1482
  var t = {};
1424
1483
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1425
1484
  t[p] = s[p];
@@ -1431,13 +1490,15 @@ var __rest$2K = (undefined && undefined.__rest) || function (s, e) {
1431
1490
  return t;
1432
1491
  };
1433
1492
  const UncontrolledAccordion = (props) => {
1434
- const { defaultOpen, stayOpen } = props, restProps = __rest$2K(props, ["defaultOpen", "stayOpen"]);
1493
+ const { defaultOpen, stayOpen } = props, restProps = __rest$2L(props, ["defaultOpen", "stayOpen"]);
1435
1494
  const { open, toggle } = useAccordion({ defaultOpen, stayOpen });
1436
- return React.createElement(Accordion, Object.assign({ open: open, toggle: toggle }, restProps));
1495
+ return React.createElement(Accordion, Object.assign({}, restProps, { open: open, toggle: toggle }));
1437
1496
  };
1438
1497
  UncontrolledAccordion.spiritComponent = 'UncontrolledAccordion';
1498
+ UncontrolledAccordion.spiritDefaultElement = 'section';
1499
+ UncontrolledAccordion.spiritDefaultProps = null;
1439
1500
 
1440
- var __rest$2J = (undefined && undefined.__rest) || function (s, e) {
1501
+ var __rest$2K = (undefined && undefined.__rest) || function (s, e) {
1441
1502
  var t = {};
1442
1503
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1443
1504
  t[p] = s[p];
@@ -1449,7 +1510,7 @@ var __rest$2J = (undefined && undefined.__rest) || function (s, e) {
1449
1510
  return t;
1450
1511
  };
1451
1512
  function useFlexStyleProps(props) {
1452
- const { alignmentX, alignmentY, direction, spacing, spacingX, spacingY, isWrapping } = props, restProps = __rest$2J(props, ["alignmentX", "alignmentY", "direction", "spacing", "spacingX", "spacingY", "isWrapping"]);
1513
+ const { alignmentX, alignmentY, direction, spacing, spacingX, spacingY, isWrapping } = props, restProps = __rest$2K(props, ["alignmentX", "alignmentY", "direction", "spacing", "spacingX", "spacingY", "isWrapping"]);
1453
1514
  useDeprecationMessage({
1454
1515
  method: 'custom',
1455
1516
  trigger: direction === 'row' || direction === 'column',
@@ -1471,7 +1532,7 @@ function useFlexStyleProps(props) {
1471
1532
  };
1472
1533
  }
1473
1534
 
1474
- var __rest$2I = (undefined && undefined.__rest) || function (s, e) {
1535
+ var __rest$2J = (undefined && undefined.__rest) || function (s, e) {
1475
1536
  var t = {};
1476
1537
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1477
1538
  t[p] = s[p];
@@ -1482,7 +1543,7 @@ var __rest$2I = (undefined && undefined.__rest) || function (s, e) {
1482
1543
  }
1483
1544
  return t;
1484
1545
  };
1485
- const defaultProps$X = {
1546
+ const defaultProps$Y = {
1486
1547
  alignmentX: AlignmentXExtended.STRETCH,
1487
1548
  alignmentY: AlignmentYExtended.STRETCH,
1488
1549
  direction: DirectionExtended.HORIZONTAL,
@@ -1490,16 +1551,18 @@ const defaultProps$X = {
1490
1551
  isWrapping: false,
1491
1552
  };
1492
1553
  const Flex = (props) => {
1493
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$X), props);
1494
- const { elementType: ElementTag = 'div', direction, children } = propsWithDefaults, restProps = __rest$2I(propsWithDefaults, ["elementType", "direction", "children"]);
1554
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$Y), props);
1555
+ const { elementType: ElementTag = 'div', direction, children } = propsWithDefaults, restProps = __rest$2J(propsWithDefaults, ["elementType", "direction", "children"]);
1495
1556
  const { classProps, props: modifiedProps, styleProps: flexStyle } = useFlexStyleProps(Object.assign({ direction }, restProps));
1496
1557
  const { styleProps, props: otherProps } = useStyleProps(Object.assign({}, modifiedProps));
1497
1558
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, flexStyle, styleProps, otherProps });
1498
1559
  return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));
1499
1560
  };
1500
1561
  Flex.spiritComponent = 'Flex';
1562
+ Flex.spiritDefaultElement = 'div';
1563
+ Flex.spiritDefaultProps = null;
1501
1564
 
1502
- var __rest$2H = (undefined && undefined.__rest) || function (s, e) {
1565
+ var __rest$2I = (undefined && undefined.__rest) || function (s, e) {
1503
1566
  var t = {};
1504
1567
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1505
1568
  t[p] = s[p];
@@ -1510,7 +1573,7 @@ var __rest$2H = (undefined && undefined.__rest) || function (s, e) {
1510
1573
  }
1511
1574
  return t;
1512
1575
  };
1513
- const defaultProps$W = {
1576
+ const defaultProps$X = {
1514
1577
  alignmentX: {
1515
1578
  mobile: AlignmentXExtended.STRETCH,
1516
1579
  tablet: AlignmentXExtended.LEFT,
@@ -1521,13 +1584,13 @@ const defaultProps$W = {
1521
1584
  },
1522
1585
  };
1523
1586
  const ActionGroup = (props) => {
1524
- const { children } = props, restProps = __rest$2H(props, ["children"]);
1525
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$W), restProps);
1587
+ const { children } = props, restProps = __rest$2I(props, ["children"]);
1588
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$X), restProps);
1526
1589
  return React.createElement(Flex, Object.assign({}, propsWithDefaults), children);
1527
1590
  };
1528
1591
  ActionGroup.spiritComponent = 'ActionGroup';
1529
1592
 
1530
- var __rest$2G = (undefined && undefined.__rest) || function (s, e) {
1593
+ var __rest$2H = (undefined && undefined.__rest) || function (s, e) {
1531
1594
  var t = {};
1532
1595
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1533
1596
  t[p] = s[p];
@@ -1539,7 +1602,7 @@ var __rest$2G = (undefined && undefined.__rest) || function (s, e) {
1539
1602
  return t;
1540
1603
  };
1541
1604
  function useAlertStyleProps(props) {
1542
- const { color, isCentered } = props, modifiedProps = __rest$2G(props, ["color", "isCentered"]);
1605
+ const { color, isCentered } = props, modifiedProps = __rest$2H(props, ["color", "isCentered"]);
1543
1606
  const alertClass = useClassNamePrefix('Alert');
1544
1607
  const alertColorClass = `${alertClass}--${color}`;
1545
1608
  const alertCenteredClass = `${alertClass}--center`;
@@ -1564,7 +1627,7 @@ function useAlertIcon({ color, iconName }) {
1564
1627
  return iconName || iconNameValue;
1565
1628
  }
1566
1629
 
1567
- var __rest$2F = (undefined && undefined.__rest) || function (s, e) {
1630
+ var __rest$2G = (undefined && undefined.__rest) || function (s, e) {
1568
1631
  var t = {};
1569
1632
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1570
1633
  t[p] = s[p];
@@ -1575,13 +1638,13 @@ var __rest$2F = (undefined && undefined.__rest) || function (s, e) {
1575
1638
  }
1576
1639
  return t;
1577
1640
  };
1578
- const defaultProps$V = {
1641
+ const defaultProps$W = {
1579
1642
  color: 'success',
1580
1643
  isCentered: false,
1581
1644
  };
1582
1645
  const Alert = (props) => {
1583
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$V), props);
1584
- const { elementType: ElementTag = 'div', children, color, iconName } = propsWithDefaults, restProps = __rest$2F(propsWithDefaults, ["elementType", "children", "color", "iconName"]);
1646
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$W), props);
1647
+ const { elementType: ElementTag = 'div', children, color, iconName } = propsWithDefaults, restProps = __rest$2G(propsWithDefaults, ["elementType", "children", "color", "iconName"]);
1585
1648
  const { classProps, props: modifiedProps } = useAlertStyleProps(Object.assign({ color }, restProps));
1586
1649
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
1587
1650
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });
@@ -1592,7 +1655,7 @@ const Alert = (props) => {
1592
1655
  };
1593
1656
  Alert.spiritComponent = 'Alert';
1594
1657
 
1595
- var __rest$2E = (undefined && undefined.__rest) || function (s, e) {
1658
+ var __rest$2F = (undefined && undefined.__rest) || function (s, e) {
1596
1659
  var t = {};
1597
1660
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1598
1661
  t[p] = s[p];
@@ -1605,7 +1668,7 @@ var __rest$2E = (undefined && undefined.__rest) || function (s, e) {
1605
1668
  };
1606
1669
  const getAvatarSizeClassname = (className, size) => compose(applySize(size))(className);
1607
1670
  function useAvatarStyleProps(props) {
1608
- const { isSquare, size } = props, restProps = __rest$2E(props, ["isSquare", "size"]);
1671
+ const { isSquare, size } = props, restProps = __rest$2F(props, ["isSquare", "size"]);
1609
1672
  const avatarClass = useClassNamePrefix('Avatar');
1610
1673
  const avatarSquareClass = `${avatarClass}--square`;
1611
1674
  const classProps = classNames(avatarClass, getAvatarSizeClassname(avatarClass, size), {
@@ -1617,7 +1680,7 @@ function useAvatarStyleProps(props) {
1617
1680
  };
1618
1681
  }
1619
1682
 
1620
- var __rest$2D = (undefined && undefined.__rest) || function (s, e) {
1683
+ var __rest$2E = (undefined && undefined.__rest) || function (s, e) {
1621
1684
  var t = {};
1622
1685
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1623
1686
  t[p] = s[p];
@@ -1628,14 +1691,14 @@ var __rest$2D = (undefined && undefined.__rest) || function (s, e) {
1628
1691
  }
1629
1692
  return t;
1630
1693
  };
1631
- const defaultProps$U = {
1694
+ const defaultProps$V = {
1632
1695
  elementType: 'div',
1633
1696
  isSquare: false,
1634
1697
  size: SizesExtended.MEDIUM,
1635
1698
  };
1636
1699
  const _Avatar = (props, ref) => {
1637
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$U), props);
1638
- const { elementType: ElementTag = 'div', children } = propsWithDefaults, restProps = __rest$2D(propsWithDefaults, ["elementType", "children"]);
1700
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$V), props);
1701
+ const { elementType: ElementTag = 'div', children } = propsWithDefaults, restProps = __rest$2E(propsWithDefaults, ["elementType", "children"]);
1639
1702
  const { classProps, props: modifiedProps } = useAvatarStyleProps(restProps);
1640
1703
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
1641
1704
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });
@@ -1646,7 +1709,7 @@ _Avatar.spiritDefaultElement = 'div';
1646
1709
  _Avatar.spiritDefaultProps = null;
1647
1710
  const Avatar = React.forwardRef(_Avatar);
1648
1711
 
1649
- var __rest$2C = (undefined && undefined.__rest) || function (s, e) {
1712
+ var __rest$2D = (undefined && undefined.__rest) || function (s, e) {
1650
1713
  var t = {};
1651
1714
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1652
1715
  t[p] = s[p];
@@ -1658,7 +1721,7 @@ var __rest$2C = (undefined && undefined.__rest) || function (s, e) {
1658
1721
  return t;
1659
1722
  };
1660
1723
  const useBoxStyleProps = (props) => {
1661
- const _a = props || {}, { backgroundColor, borderColor, borderStyle, borderWidth, textColor } = _a, restProps = __rest$2C(_a, ["backgroundColor", "borderColor", "borderStyle", "borderWidth", "textColor"]);
1724
+ const _a = props || {}, { backgroundColor, borderColor, borderStyle, borderWidth, textColor } = _a, restProps = __rest$2D(_a, ["backgroundColor", "borderColor", "borderStyle", "borderWidth", "textColor"]);
1662
1725
  const boxBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);
1663
1726
  const boxBorderClassName = useClassNamePrefix('border-');
1664
1727
  const boxBackgroundColor = backgroundColor ? boxBackgroundClassName : '';
@@ -1681,7 +1744,7 @@ const useBoxStyleProps = (props) => {
1681
1744
  };
1682
1745
  };
1683
1746
 
1684
- var __rest$2B = (undefined && undefined.__rest) || function (s, e) {
1747
+ var __rest$2C = (undefined && undefined.__rest) || function (s, e) {
1685
1748
  var t = {};
1686
1749
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1687
1750
  t[p] = s[p];
@@ -1692,13 +1755,13 @@ var __rest$2B = (undefined && undefined.__rest) || function (s, e) {
1692
1755
  }
1693
1756
  return t;
1694
1757
  };
1695
- const defaultProps$T = {
1758
+ const defaultProps$U = {
1696
1759
  elementType: 'div',
1697
1760
  borderStyle: BorderStyles.SOLID,
1698
1761
  };
1699
1762
  const Box = (props) => {
1700
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$T), props);
1701
- const { elementType: ElementTag = 'div', children } = propsWithDefaults, restProps = __rest$2B(propsWithDefaults, ["elementType", "children"]);
1763
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$U), props);
1764
+ const { elementType: ElementTag = 'div', children } = propsWithDefaults, restProps = __rest$2C(propsWithDefaults, ["elementType", "children"]);
1702
1765
  const { classProps, props: modifiedProps } = useBoxStyleProps(restProps);
1703
1766
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps, Object.assign(Object.assign(Object.assign({}, BackgroundStyleProps), BorderRadiusStyleProps), PaddingStyleProps));
1704
1767
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps });
@@ -1708,7 +1771,7 @@ Box.spiritComponent = 'Box';
1708
1771
  Box.spiritDefaultElement = 'div';
1709
1772
  Box.spiritDefaultProps = null;
1710
1773
 
1711
- var __rest$2A = (undefined && undefined.__rest) || function (s, e) {
1774
+ var __rest$2B = (undefined && undefined.__rest) || function (s, e) {
1712
1775
  var t = {};
1713
1776
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1714
1777
  t[p] = s[p];
@@ -1720,7 +1783,7 @@ var __rest$2A = (undefined && undefined.__rest) || function (s, e) {
1720
1783
  return t;
1721
1784
  };
1722
1785
  function useLinkStyleProps(props) {
1723
- const { color, hasVisitedStyleAllowed, isDisabled, underlined } = props, restProps = __rest$2A(props, ["color", "hasVisitedStyleAllowed", "isDisabled", "underlined"]);
1786
+ const { color, hasVisitedStyleAllowed, isDisabled, underlined } = props, restProps = __rest$2B(props, ["color", "hasVisitedStyleAllowed", "isDisabled", "underlined"]);
1724
1787
  const linkClass = useClassNamePrefix('link');
1725
1788
  const linkColorClass = `${linkClass}-${color}`;
1726
1789
  const linkDisabledClass = `${linkClass}-disabled`;
@@ -1739,7 +1802,7 @@ function useLinkStyleProps(props) {
1739
1802
  };
1740
1803
  }
1741
1804
 
1742
- var __rest$2z = (undefined && undefined.__rest) || function (s, e) {
1805
+ var __rest$2A = (undefined && undefined.__rest) || function (s, e) {
1743
1806
  var t = {};
1744
1807
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1745
1808
  t[p] = s[p];
@@ -1750,15 +1813,15 @@ var __rest$2z = (undefined && undefined.__rest) || function (s, e) {
1750
1813
  }
1751
1814
  return t;
1752
1815
  };
1753
- const defaultProps$S = {
1816
+ const defaultProps$T = {
1754
1817
  elementType: 'a',
1755
1818
  color: 'primary',
1756
1819
  hasVisitedStyleAllowed: false,
1757
1820
  underlined: 'hover',
1758
1821
  };
1759
1822
  const _Link = (props, ref) => {
1760
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$S), props);
1761
- const { elementType: ElementTag = defaultProps$S.elementType, children } = propsWithDefaults, restProps = __rest$2z(propsWithDefaults, ["elementType", "children"]);
1823
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$T), props);
1824
+ const { elementType: ElementTag = defaultProps$T.elementType, children } = propsWithDefaults, restProps = __rest$2A(propsWithDefaults, ["elementType", "children"]);
1762
1825
  const { classProps, props: modifiedProps } = useLinkStyleProps(restProps);
1763
1826
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
1764
1827
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });
@@ -1767,7 +1830,7 @@ const _Link = (props, ref) => {
1767
1830
  const Link = React.forwardRef(_Link);
1768
1831
  Link.spiritComponent = 'Link';
1769
1832
 
1770
- var __rest$2y = (undefined && undefined.__rest) || function (s, e) {
1833
+ var __rest$2z = (undefined && undefined.__rest) || function (s, e) {
1771
1834
  var t = {};
1772
1835
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1773
1836
  t[p] = s[p];
@@ -1779,7 +1842,7 @@ var __rest$2y = (undefined && undefined.__rest) || function (s, e) {
1779
1842
  return t;
1780
1843
  };
1781
1844
  function useBreadcrumbsStyleProps(props) {
1782
- const { isGoBackOnly } = props, restProps = __rest$2y(props, ["isGoBackOnly"]);
1845
+ const { isGoBackOnly } = props, restProps = __rest$2z(props, ["isGoBackOnly"]);
1783
1846
  const breadcrumbsClass = useClassNamePrefix('Breadcrumbs');
1784
1847
  const displayNoneClassName = useClassNamePrefix('d-none');
1785
1848
  const displayTabletFlexClassName = useClassNamePrefix('d-tablet-flex');
@@ -1797,7 +1860,7 @@ function useBreadcrumbsStyleProps(props) {
1797
1860
  };
1798
1861
  }
1799
1862
 
1800
- var __rest$2x = (undefined && undefined.__rest) || function (s, e) {
1863
+ var __rest$2y = (undefined && undefined.__rest) || function (s, e) {
1801
1864
  var t = {};
1802
1865
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1803
1866
  t[p] = s[p];
@@ -1808,15 +1871,15 @@ var __rest$2x = (undefined && undefined.__rest) || function (s, e) {
1808
1871
  }
1809
1872
  return t;
1810
1873
  };
1811
- const defaultProps$R = {
1874
+ const defaultProps$S = {
1812
1875
  iconNameEnd: 'chevron-right',
1813
1876
  iconNameStart: 'chevron-left',
1814
1877
  isCurrent: false,
1815
1878
  isGoBackOnly: false,
1816
1879
  };
1817
1880
  const BreadcrumbsItem = (props) => {
1818
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$R), props);
1819
- const { children, href, isCurrent, iconNameStart, iconNameEnd } = propsWithDefaults, restProps = __rest$2x(propsWithDefaults, ["children", "href", "isCurrent", "iconNameStart", "iconNameEnd"]);
1881
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$S), props);
1882
+ const { children, href, isCurrent, iconNameStart, iconNameEnd } = propsWithDefaults, restProps = __rest$2y(propsWithDefaults, ["children", "href", "isCurrent", "iconNameStart", "iconNameEnd"]);
1820
1883
  const { classProps, props: otherProps } = useBreadcrumbsStyleProps(Object.assign({}, restProps));
1821
1884
  const { styleProps, props: transferProps } = useStyleProps(otherProps);
1822
1885
  return (React.createElement("li", Object.assign({}, transferProps, styleProps, { className: classNames(classProps.item, styleProps.className) }),
@@ -1826,7 +1889,7 @@ const BreadcrumbsItem = (props) => {
1826
1889
  };
1827
1890
  BreadcrumbsItem.spiritComponent = 'BreadcrumbsItem';
1828
1891
 
1829
- var __rest$2w = (undefined && undefined.__rest) || function (s, e) {
1892
+ var __rest$2x = (undefined && undefined.__rest) || function (s, e) {
1830
1893
  var t = {};
1831
1894
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1832
1895
  t[p] = s[p];
@@ -1837,13 +1900,13 @@ var __rest$2w = (undefined && undefined.__rest) || function (s, e) {
1837
1900
  }
1838
1901
  return t;
1839
1902
  };
1840
- const defaultProps$Q = {
1903
+ const defaultProps$R = {
1841
1904
  elementType: 'nav',
1842
1905
  items: [],
1843
1906
  };
1844
1907
  const Breadcrumbs = (props) => {
1845
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$Q), props);
1846
- const { children, elementType: ElementTag = 'nav', goBackTitle, items } = propsWithDefaults, restProps = __rest$2w(propsWithDefaults, ["children", "elementType", "goBackTitle", "items"]);
1908
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$R), props);
1909
+ const { children, elementType: ElementTag = 'nav', goBackTitle, items } = propsWithDefaults, restProps = __rest$2x(propsWithDefaults, ["children", "elementType", "goBackTitle", "items"]);
1847
1910
  const { classProps, props: modifiedProps } = useBreadcrumbsStyleProps(Object.assign({}, restProps));
1848
1911
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
1849
1912
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps });
@@ -1868,7 +1931,7 @@ const useButtonProps = (props) => {
1868
1931
  };
1869
1932
  };
1870
1933
 
1871
- var __rest$2v = (undefined && undefined.__rest) || function (s, e) {
1934
+ var __rest$2w = (undefined && undefined.__rest) || function (s, e) {
1872
1935
  var t = {};
1873
1936
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1874
1937
  t[p] = s[p];
@@ -1882,7 +1945,7 @@ var __rest$2v = (undefined && undefined.__rest) || function (s, e) {
1882
1945
  const getButtonColorClassname = (className, color) => compose(applyColor(color))(className);
1883
1946
  const getButtonSizeClassname = (className, size) => compose(applySize(size))(className);
1884
1947
  function useButtonStyleProps(props) {
1885
- const { color, isBlock, isDisabled, isLoading, isSymmetrical, size } = props, restProps = __rest$2v(props, ["color", "isBlock", "isDisabled", "isLoading", "isSymmetrical", "size"]);
1948
+ const { color, isBlock, isDisabled, isLoading, isSymmetrical, size } = props, restProps = __rest$2w(props, ["color", "isBlock", "isDisabled", "isLoading", "isSymmetrical", "size"]);
1886
1949
  useDeprecationMessage({
1887
1950
  method: 'custom',
1888
1951
  trigger: !!isBlock,
@@ -1893,16 +1956,16 @@ function useButtonStyleProps(props) {
1893
1956
  const buttonBlockClass = `${buttonClass}--block`;
1894
1957
  const buttonDisabledClass = `${buttonClass}--disabled`;
1895
1958
  const buttonLoadingClass = `${buttonClass}--loading`;
1896
- const buttonSymmetricalClass = `${buttonClass}--symmetrical`;
1897
- if (isBlock && isSymmetrical) {
1959
+ const { isSymmetricalActive, symmetricalClassName } = useSymmetry(buttonClass, isSymmetrical);
1960
+ if (isBlock && isSymmetricalActive) {
1898
1961
  warning(false, 'isBlock and isSymmetrical props are mutually exclusive');
1899
1962
  }
1963
+ const shouldApplyBlock = () => isBlock && !isSymmetricalActive;
1900
1964
  const classProps = classNames(buttonClass, getButtonColorClassname(buttonClass, color), getButtonSizeClassname(buttonClass, size), {
1901
- [buttonBlockClass]: isBlock && !isSymmetrical,
1965
+ [buttonBlockClass]: shouldApplyBlock(),
1902
1966
  [buttonDisabledClass]: isDisabled || isLoading,
1903
1967
  [buttonLoadingClass]: isLoading,
1904
- [buttonSymmetricalClass]: isSymmetrical && !isBlock,
1905
- });
1968
+ }, symmetricalClassName);
1906
1969
  return {
1907
1970
  classProps,
1908
1971
  props: restProps,
@@ -1917,7 +1980,7 @@ const usePropsContext = (props = {}) => {
1917
1980
  return context ? Object.assign(Object.assign({}, props), context) : props;
1918
1981
  };
1919
1982
 
1920
- var __rest$2u = (undefined && undefined.__rest) || function (s, e) {
1983
+ var __rest$2v = (undefined && undefined.__rest) || function (s, e) {
1921
1984
  var t = {};
1922
1985
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1923
1986
  t[p] = s[p];
@@ -1929,7 +1992,7 @@ var __rest$2u = (undefined && undefined.__rest) || function (s, e) {
1929
1992
  return t;
1930
1993
  };
1931
1994
  function useSpinnerStyleProps(props) {
1932
- const { color } = props, restProps = __rest$2u(props, ["color"]);
1995
+ const { color } = props, restProps = __rest$2v(props, ["color"]);
1933
1996
  const spinnerClass = useClassNamePrefix('text');
1934
1997
  const spinnerColorClass = color ? `${spinnerClass}-${color}` : '';
1935
1998
  const spinnerAnimation = useClassNamePrefix('animation-spin-clockwise');
@@ -1947,7 +2010,7 @@ const Spinner = (props) => {
1947
2010
  };
1948
2011
  Spinner.spiritComponent = 'Spinner';
1949
2012
 
1950
- var __rest$2t = (undefined && undefined.__rest) || function (s, e) {
2013
+ var __rest$2u = (undefined && undefined.__rest) || function (s, e) {
1951
2014
  var t = {};
1952
2015
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1953
2016
  t[p] = s[p];
@@ -1958,7 +2021,7 @@ var __rest$2t = (undefined && undefined.__rest) || function (s, e) {
1958
2021
  }
1959
2022
  return t;
1960
2023
  };
1961
- const defaultProps$P = {
2024
+ const defaultProps$Q = {
1962
2025
  color: 'primary',
1963
2026
  isBlock: false,
1964
2027
  isDisabled: false,
@@ -1970,8 +2033,8 @@ const defaultProps$P = {
1970
2033
  };
1971
2034
  const _Button = (props, ref) => {
1972
2035
  const propsWithContext = usePropsContext();
1973
- const propsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaultProps$P), props), propsWithContext);
1974
- const { elementType: ElementTag = defaultProps$P.elementType, children } = propsWithDefaults, restProps = __rest$2t(propsWithDefaults, ["elementType", "children"]);
2036
+ const propsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaultProps$Q), props), propsWithContext);
2037
+ const { elementType: ElementTag = defaultProps$Q.elementType, children } = propsWithDefaults, restProps = __rest$2u(propsWithDefaults, ["elementType", "children"]);
1975
2038
  const { buttonProps } = useButtonProps(restProps);
1976
2039
  const { classProps, props: modifiedProps } = useButtonStyleProps(restProps);
1977
2040
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
@@ -1998,7 +2061,7 @@ const useButtonLinkProps = (props) => {
1998
2061
  };
1999
2062
  };
2000
2063
 
2001
- var __rest$2s = (undefined && undefined.__rest) || function (s, e) {
2064
+ var __rest$2t = (undefined && undefined.__rest) || function (s, e) {
2002
2065
  var t = {};
2003
2066
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2004
2067
  t[p] = s[p];
@@ -2012,7 +2075,7 @@ var __rest$2s = (undefined && undefined.__rest) || function (s, e) {
2012
2075
  const getButtonLinkColorClassname = (className, color) => compose(applyColor(color))(className);
2013
2076
  const getButtonLinkSizeClassname = (className, size) => compose(applySize(size))(className);
2014
2077
  function useButtonLinkStyleProps(props) {
2015
- const { color, isBlock, isDisabled, isLoading, isSymmetrical, size } = props, restProps = __rest$2s(props, ["color", "isBlock", "isDisabled", "isLoading", "isSymmetrical", "size"]);
2078
+ const { color, isBlock, isDisabled, isLoading, isSymmetrical, size } = props, restProps = __rest$2t(props, ["color", "isBlock", "isDisabled", "isLoading", "isSymmetrical", "size"]);
2016
2079
  useDeprecationMessage({
2017
2080
  method: 'custom',
2018
2081
  trigger: !!isBlock,
@@ -2023,23 +2086,23 @@ function useButtonLinkStyleProps(props) {
2023
2086
  const buttonBlockClass = `${buttonClass}--block`;
2024
2087
  const buttonDisabledClass = `${buttonClass}--disabled`;
2025
2088
  const buttonLoadingClass = `${buttonClass}--loading`;
2026
- const buttonSymmetricalClass = `${buttonClass}--symmetrical`;
2027
- if (isBlock && isSymmetrical) {
2089
+ const { isSymmetricalActive, symmetricalClassName } = useSymmetry(buttonClass, isSymmetrical);
2090
+ if (isBlock && isSymmetricalActive) {
2028
2091
  warning(false, 'isBlock and isSymmetrical props are mutually exclusive');
2029
2092
  }
2093
+ const shouldApplyBlock = () => isBlock && !isSymmetricalActive;
2030
2094
  const classProps = classNames(buttonClass, getButtonLinkColorClassname(buttonClass, color), getButtonLinkSizeClassname(buttonClass, size), {
2031
- [buttonBlockClass]: isBlock && !isSymmetrical,
2095
+ [buttonBlockClass]: shouldApplyBlock(),
2032
2096
  [buttonDisabledClass]: isDisabled || isLoading,
2033
2097
  [buttonLoadingClass]: isLoading,
2034
- [buttonSymmetricalClass]: isSymmetrical && !isBlock,
2035
- });
2098
+ }, symmetricalClassName);
2036
2099
  return {
2037
2100
  classProps,
2038
2101
  props: restProps,
2039
2102
  };
2040
2103
  }
2041
2104
 
2042
- var __rest$2r = (undefined && undefined.__rest) || function (s, e) {
2105
+ var __rest$2s = (undefined && undefined.__rest) || function (s, e) {
2043
2106
  var t = {};
2044
2107
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2045
2108
  t[p] = s[p];
@@ -2050,7 +2113,7 @@ var __rest$2r = (undefined && undefined.__rest) || function (s, e) {
2050
2113
  }
2051
2114
  return t;
2052
2115
  };
2053
- const defaultProps$O = {
2116
+ const defaultProps$P = {
2054
2117
  color: 'primary',
2055
2118
  elementType: 'a',
2056
2119
  isBlock: false,
@@ -2060,8 +2123,8 @@ const defaultProps$O = {
2060
2123
  size: 'medium',
2061
2124
  };
2062
2125
  const _ButtonLink = (props, ref) => {
2063
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$O), props);
2064
- const { elementType: ElementTag = defaultProps$O.elementType, children } = propsWithDefaults, restProps = __rest$2r(propsWithDefaults, ["elementType", "children"]);
2126
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$P), props);
2127
+ const { elementType: ElementTag = defaultProps$P.elementType, children } = propsWithDefaults, restProps = __rest$2s(propsWithDefaults, ["elementType", "children"]);
2065
2128
  const { buttonLinkProps } = useButtonLinkProps(propsWithDefaults);
2066
2129
  const { classProps, props: modifiedProps } = useButtonLinkStyleProps(restProps);
2067
2130
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
@@ -2128,7 +2191,7 @@ function useCardStyleProps(props) {
2128
2191
  };
2129
2192
  }
2130
2193
 
2131
- var __rest$2q = (undefined && undefined.__rest) || function (s, e) {
2194
+ var __rest$2r = (undefined && undefined.__rest) || function (s, e) {
2132
2195
  var t = {};
2133
2196
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2134
2197
  t[p] = s[p];
@@ -2139,14 +2202,14 @@ var __rest$2q = (undefined && undefined.__rest) || function (s, e) {
2139
2202
  }
2140
2203
  return t;
2141
2204
  };
2142
- const defaultProps$N = {
2205
+ const defaultProps$O = {
2143
2206
  direction: DirectionExtended.VERTICAL,
2144
2207
  elementType: 'article',
2145
2208
  isBoxed: false,
2146
2209
  };
2147
2210
  const Card = (props) => {
2148
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$N), props);
2149
- const { elementType: ElementTag = 'article', direction, isBoxed, children } = propsWithDefaults, restProps = __rest$2q(propsWithDefaults, ["elementType", "direction", "isBoxed", "children"]);
2211
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$O), props);
2212
+ const { elementType: ElementTag = 'article', direction, isBoxed, children } = propsWithDefaults, restProps = __rest$2r(propsWithDefaults, ["elementType", "direction", "isBoxed", "children"]);
2150
2213
  const { classProps } = useCardStyleProps({ direction, isBoxed });
2151
2214
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2152
2215
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });
@@ -2154,7 +2217,7 @@ const Card = (props) => {
2154
2217
  };
2155
2218
  Card.spiritComponent = 'Card';
2156
2219
 
2157
- var __rest$2p = (undefined && undefined.__rest) || function (s, e) {
2220
+ var __rest$2q = (undefined && undefined.__rest) || function (s, e) {
2158
2221
  var t = {};
2159
2222
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2160
2223
  t[p] = s[p];
@@ -2165,19 +2228,19 @@ var __rest$2p = (undefined && undefined.__rest) || function (s, e) {
2165
2228
  }
2166
2229
  return t;
2167
2230
  };
2168
- const defaultProps$M = {
2231
+ const defaultProps$N = {
2169
2232
  alignmentX: AlignmentX.LEFT,
2170
2233
  };
2171
2234
  const CardArtwork = (props) => {
2172
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$M), props);
2173
- const { children, alignmentX } = propsWithDefaults, restProps = __rest$2p(propsWithDefaults, ["children", "alignmentX"]);
2235
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$N), props);
2236
+ const { children, alignmentX } = propsWithDefaults, restProps = __rest$2q(propsWithDefaults, ["children", "alignmentX"]);
2174
2237
  const { classProps } = useCardStyleProps({ artworkAlignmentX: alignmentX });
2175
2238
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2176
2239
  return (React.createElement("div", Object.assign({}, otherProps, { className: classNames(classProps.artwork, styleProps.className), style: styleProps.style }), children));
2177
2240
  };
2178
2241
  CardArtwork.spiritComponent = 'CardArtwork';
2179
2242
 
2180
- var __rest$2o = (undefined && undefined.__rest) || function (s, e) {
2243
+ var __rest$2p = (undefined && undefined.__rest) || function (s, e) {
2181
2244
  var t = {};
2182
2245
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2183
2246
  t[p] = s[p];
@@ -2188,19 +2251,19 @@ var __rest$2o = (undefined && undefined.__rest) || function (s, e) {
2188
2251
  }
2189
2252
  return t;
2190
2253
  };
2191
- const defaultProps$L = {
2254
+ const defaultProps$M = {
2192
2255
  isSelectable: false,
2193
2256
  };
2194
2257
  const CardBody = (props) => {
2195
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$L), props);
2196
- const { children, isSelectable } = propsWithDefaults, restProps = __rest$2o(propsWithDefaults, ["children", "isSelectable"]);
2258
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$M), props);
2259
+ const { children, isSelectable } = propsWithDefaults, restProps = __rest$2p(propsWithDefaults, ["children", "isSelectable"]);
2197
2260
  const { classProps } = useCardStyleProps({ isSelectable });
2198
2261
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2199
2262
  return (React.createElement("div", Object.assign({}, otherProps, { className: classNames(classProps.body, styleProps.className), style: styleProps.style }), children));
2200
2263
  };
2201
2264
  CardBody.spiritComponent = 'CardBody';
2202
2265
 
2203
- var __rest$2n = (undefined && undefined.__rest) || function (s, e) {
2266
+ var __rest$2o = (undefined && undefined.__rest) || function (s, e) {
2204
2267
  var t = {};
2205
2268
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2206
2269
  t[p] = s[p];
@@ -2212,14 +2275,14 @@ var __rest$2n = (undefined && undefined.__rest) || function (s, e) {
2212
2275
  return t;
2213
2276
  };
2214
2277
  const CardEyebrow = (props) => {
2215
- const { children } = props, restProps = __rest$2n(props, ["children"]);
2278
+ const { children } = props, restProps = __rest$2o(props, ["children"]);
2216
2279
  const { classProps } = useCardStyleProps();
2217
2280
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2218
2281
  return (React.createElement("div", Object.assign({}, otherProps, { className: classNames(classProps.eyebrow, styleProps.className), style: styleProps.style }), children));
2219
2282
  };
2220
2283
  CardEyebrow.spiritComponent = 'CardEyebrow';
2221
2284
 
2222
- var __rest$2m = (undefined && undefined.__rest) || function (s, e) {
2285
+ var __rest$2n = (undefined && undefined.__rest) || function (s, e) {
2223
2286
  var t = {};
2224
2287
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2225
2288
  t[p] = s[p];
@@ -2230,19 +2293,19 @@ var __rest$2m = (undefined && undefined.__rest) || function (s, e) {
2230
2293
  }
2231
2294
  return t;
2232
2295
  };
2233
- const defaultProps$K = {
2296
+ const defaultProps$L = {
2234
2297
  alignmentX: AlignmentX.LEFT,
2235
2298
  };
2236
2299
  const CardFooter = (props) => {
2237
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$K), props);
2238
- const { children, alignmentX } = propsWithDefaults, restProps = __rest$2m(propsWithDefaults, ["children", "alignmentX"]);
2300
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$L), props);
2301
+ const { children, alignmentX } = propsWithDefaults, restProps = __rest$2n(propsWithDefaults, ["children", "alignmentX"]);
2239
2302
  const { classProps } = useCardStyleProps({ footerAlignmentX: alignmentX });
2240
2303
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2241
2304
  return (React.createElement("footer", Object.assign({}, otherProps, { className: classNames(classProps.footer, styleProps.className), style: styleProps.style }), children));
2242
2305
  };
2243
2306
  CardFooter.spiritComponent = 'CardFooter';
2244
2307
 
2245
- var __rest$2l = (undefined && undefined.__rest) || function (s, e) {
2308
+ var __rest$2m = (undefined && undefined.__rest) || function (s, e) {
2246
2309
  var t = {};
2247
2310
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2248
2311
  t[p] = s[p];
@@ -2253,12 +2316,12 @@ var __rest$2l = (undefined && undefined.__rest) || function (s, e) {
2253
2316
  }
2254
2317
  return t;
2255
2318
  };
2256
- const defaultProps$J = {
2319
+ const defaultProps$K = {
2257
2320
  elementType: 'a',
2258
2321
  };
2259
2322
  const _CardLink = (props, ref) => {
2260
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$J), props);
2261
- const { elementType: ElementTag = defaultProps$J.elementType, children, href } = propsWithDefaults, restProps = __rest$2l(propsWithDefaults, ["elementType", "children", "href"]);
2323
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$K), props);
2324
+ const { elementType: ElementTag = defaultProps$K.elementType, children, href } = propsWithDefaults, restProps = __rest$2m(propsWithDefaults, ["elementType", "children", "href"]);
2262
2325
  const { classProps } = useCardStyleProps();
2263
2326
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2264
2327
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });
@@ -2267,7 +2330,7 @@ const _CardLink = (props, ref) => {
2267
2330
  const CardLink = React.forwardRef(_CardLink);
2268
2331
  CardLink.spiritComponent = 'CardLink';
2269
2332
 
2270
- var __rest$2k = (undefined && undefined.__rest) || function (s, e) {
2333
+ var __rest$2l = (undefined && undefined.__rest) || function (s, e) {
2271
2334
  var t = {};
2272
2335
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2273
2336
  t[p] = s[p];
@@ -2279,7 +2342,7 @@ var __rest$2k = (undefined && undefined.__rest) || function (s, e) {
2279
2342
  return t;
2280
2343
  };
2281
2344
  const CardLogo = (props) => {
2282
- const { children } = props, restProps = __rest$2k(props, ["children"]);
2345
+ const { children } = props, restProps = __rest$2l(props, ["children"]);
2283
2346
  const { classProps } = useCardStyleProps();
2284
2347
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2285
2348
  return (React.createElement("div", Object.assign({}, otherProps, { className: classNames(classProps.logo, styleProps.className), style: Object.assign({}, styleProps.style) }), children));
@@ -2299,7 +2362,7 @@ const useCardMediaStyleProps = (props) => {
2299
2362
  };
2300
2363
  };
2301
2364
 
2302
- var __rest$2j = (undefined && undefined.__rest) || function (s, e) {
2365
+ var __rest$2k = (undefined && undefined.__rest) || function (s, e) {
2303
2366
  var t = {};
2304
2367
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2305
2368
  t[p] = s[p];
@@ -2310,15 +2373,15 @@ var __rest$2j = (undefined && undefined.__rest) || function (s, e) {
2310
2373
  }
2311
2374
  return t;
2312
2375
  };
2313
- const defaultProps$I = {
2376
+ const defaultProps$J = {
2314
2377
  fit: ObjectFit.COVER,
2315
2378
  hasFilledHeight: false,
2316
2379
  isExpanded: false,
2317
2380
  size: CardSizes.AUTO,
2318
2381
  };
2319
2382
  const CardMedia = (props) => {
2320
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$I), props);
2321
- const { backgroundColor, children, fit, hasFilledHeight, isExpanded, size } = propsWithDefaults, restProps = __rest$2j(propsWithDefaults, ["backgroundColor", "children", "fit", "hasFilledHeight", "isExpanded", "size"]);
2383
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$J), props);
2384
+ const { backgroundColor, children, fit, hasFilledHeight, isExpanded, size } = propsWithDefaults, restProps = __rest$2k(propsWithDefaults, ["backgroundColor", "children", "fit", "hasFilledHeight", "isExpanded", "size"]);
2322
2385
  const { classProps } = useCardStyleProps({ size, isExpanded, hasFilledHeight });
2323
2386
  const { classProps: cardMediaClassProps, styleProps: cardMediaStyleProps } = useCardMediaStyleProps({
2324
2387
  backgroundColor,
@@ -2334,7 +2397,7 @@ const CardMedia = (props) => {
2334
2397
  };
2335
2398
  CardMedia.spiritComponent = 'CardMedia';
2336
2399
 
2337
- var __rest$2i = (undefined && undefined.__rest) || function (s, e) {
2400
+ var __rest$2j = (undefined && undefined.__rest) || function (s, e) {
2338
2401
  var t = {};
2339
2402
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2340
2403
  t[p] = s[p];
@@ -2345,13 +2408,13 @@ var __rest$2i = (undefined && undefined.__rest) || function (s, e) {
2345
2408
  }
2346
2409
  return t;
2347
2410
  };
2348
- const defaultProps$H = {
2411
+ const defaultProps$I = {
2349
2412
  elementType: 'h4',
2350
2413
  isHeading: true,
2351
2414
  };
2352
2415
  const CardTitle = (props) => {
2353
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$H), props);
2354
- const { elementType: ElementTag = 'h4', children, isHeading } = propsWithDefaults, restProps = __rest$2i(propsWithDefaults, ["elementType", "children", "isHeading"]);
2416
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$I), props);
2417
+ const { elementType: ElementTag = 'h4', children, isHeading } = propsWithDefaults, restProps = __rest$2j(propsWithDefaults, ["elementType", "children", "isHeading"]);
2355
2418
  const { classProps } = useCardStyleProps({ isHeading });
2356
2419
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2357
2420
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.title, styleProps, otherProps });
@@ -2359,7 +2422,7 @@ const CardTitle = (props) => {
2359
2422
  };
2360
2423
  CardTitle.spiritComponent = 'CardTitle';
2361
2424
 
2362
- var __rest$2h = (undefined && undefined.__rest) || function (s, e) {
2425
+ var __rest$2i = (undefined && undefined.__rest) || function (s, e) {
2363
2426
  var t = {};
2364
2427
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2365
2428
  t[p] = s[p];
@@ -2370,14 +2433,14 @@ var __rest$2h = (undefined && undefined.__rest) || function (s, e) {
2370
2433
  }
2371
2434
  return t;
2372
2435
  };
2373
- const defaultProps$G = {
2436
+ const defaultProps$H = {
2374
2437
  elementType: 'div',
2375
2438
  id: undefined,
2376
2439
  registerAria: undefined,
2377
2440
  };
2378
2441
  const HelperText = (props) => {
2379
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$G), props);
2380
- const { helperText, elementType: ElementTag = defaultProps$G.elementType, id, registerAria } = propsWithDefaults, restProps = __rest$2h(propsWithDefaults, ["helperText", "elementType", "id", "registerAria"]);
2442
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$H), props);
2443
+ const { helperText, elementType: ElementTag = defaultProps$H.elementType, id, registerAria } = propsWithDefaults, restProps = __rest$2i(propsWithDefaults, ["helperText", "elementType", "id", "registerAria"]);
2381
2444
  const { styleProps, props: transferProps } = useStyleProps(restProps);
2382
2445
  const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, transferProps });
2383
2446
  React.useEffect(() => {
@@ -2393,7 +2456,7 @@ const HelperText = (props) => {
2393
2456
  };
2394
2457
  HelperText.spiritComponent = 'HelperText';
2395
2458
 
2396
- var __rest$2g = (undefined && undefined.__rest) || function (s, e) {
2459
+ var __rest$2h = (undefined && undefined.__rest) || function (s, e) {
2397
2460
  var t = {};
2398
2461
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2399
2462
  t[p] = s[p];
@@ -2405,7 +2468,7 @@ var __rest$2g = (undefined && undefined.__rest) || function (s, e) {
2405
2468
  return t;
2406
2469
  };
2407
2470
  const Label = (props) => {
2408
- const { elementType: ElementTag = 'label', children, htmlFor, for: labelFor } = props, restProps = __rest$2g(props, ["elementType", "children", "htmlFor", "for"]);
2471
+ const { elementType: ElementTag = 'label', children, htmlFor, for: labelFor } = props, restProps = __rest$2h(props, ["elementType", "children", "htmlFor", "for"]);
2409
2472
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2410
2473
  const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, otherProps });
2411
2474
  return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps, { htmlFor: ElementTag === 'label' ? labelFor || htmlFor : undefined }), children));
@@ -2438,7 +2501,7 @@ function useValidationIcon({ hasValidationStateIcon }) {
2438
2501
  return iconNameValue;
2439
2502
  }
2440
2503
 
2441
- var __rest$2f = (undefined && undefined.__rest) || function (s, e) {
2504
+ var __rest$2g = (undefined && undefined.__rest) || function (s, e) {
2442
2505
  var t = {};
2443
2506
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2444
2507
  t[p] = s[p];
@@ -2449,15 +2512,15 @@ var __rest$2f = (undefined && undefined.__rest) || function (s, e) {
2449
2512
  }
2450
2513
  return t;
2451
2514
  };
2452
- const defaultProps$F = {
2515
+ const defaultProps$G = {
2453
2516
  elementType: 'div',
2454
2517
  id: undefined,
2455
2518
  registerAria: undefined,
2456
2519
  role: undefined,
2457
2520
  };
2458
2521
  const ValidationText = (props) => {
2459
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$F), props);
2460
- const { elementType: ElementTag = defaultProps$F.elementType, id, hasValidationStateIcon, registerAria, role, validationText } = propsWithDefaults, restProps = __rest$2f(propsWithDefaults, ["elementType", "id", "hasValidationStateIcon", "registerAria", "role", "validationText"]);
2522
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$G), props);
2523
+ const { elementType: ElementTag = defaultProps$G.elementType, id, hasValidationStateIcon, registerAria, role, validationText } = propsWithDefaults, restProps = __rest$2g(propsWithDefaults, ["elementType", "id", "hasValidationStateIcon", "registerAria", "role", "validationText"]);
2461
2524
  const validationIconName = useValidationIcon({ hasValidationStateIcon });
2462
2525
  const { styleProps, props: transferProps } = useStyleProps(restProps);
2463
2526
  const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, transferProps });
@@ -2493,7 +2556,7 @@ const useValidationTextRole = ({ validationState, validationText, }) => {
2493
2556
  return role;
2494
2557
  };
2495
2558
 
2496
- var __rest$2e = (undefined && undefined.__rest) || function (s, e) {
2559
+ var __rest$2f = (undefined && undefined.__rest) || function (s, e) {
2497
2560
  var t = {};
2498
2561
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2499
2562
  t[p] = s[p];
@@ -2505,12 +2568,13 @@ var __rest$2e = (undefined && undefined.__rest) || function (s, e) {
2505
2568
  return t;
2506
2569
  };
2507
2570
  function useCheckboxStyleProps(props) {
2508
- const { validationState, isItem, isLabelHidden } = props, restProps = __rest$2e(props, ["validationState", "isItem", "isLabelHidden"]);
2571
+ const { inputPosition = InputPositions.START, isItem, isLabelHidden, validationState } = props, restProps = __rest$2f(props, ["inputPosition", "isItem", "isLabelHidden", "validationState"]);
2509
2572
  const { isDisabled, isRequired } = restProps;
2510
2573
  const checkboxClass = useClassNamePrefix('Checkbox');
2511
2574
  const checkboxDisabledClass = `${checkboxClass}--disabled`;
2512
2575
  const checkboxItemClass = `${checkboxClass}--item`;
2513
2576
  const checkboxInputClass = `${checkboxClass}__input`;
2577
+ const checkboxInputPositionClass = useInputPositionClass(checkboxClass, inputPosition);
2514
2578
  const checkboxTextClass = `${checkboxClass}__text`;
2515
2579
  const checkboxLabelClass = `${checkboxClass}__label`;
2516
2580
  const checkboxLabelRequiredClass = `${checkboxClass}__label--required`;
@@ -2519,6 +2583,7 @@ function useCheckboxStyleProps(props) {
2519
2583
  const checkboxValidationTextClass = `${checkboxClass}__validationText`;
2520
2584
  const checkboxValidationClass = `${checkboxClass}--${validationState}`;
2521
2585
  const rootStyles = classNames(checkboxClass, {
2586
+ [checkboxInputPositionClass]: checkboxInputPositionClass,
2522
2587
  [checkboxDisabledClass]: isDisabled,
2523
2588
  [checkboxItemClass]: isItem,
2524
2589
  [checkboxValidationClass]: validationState,
@@ -2540,7 +2605,7 @@ function useCheckboxStyleProps(props) {
2540
2605
  };
2541
2606
  }
2542
2607
 
2543
- var __rest$2d = (undefined && undefined.__rest) || function (s, e) {
2608
+ var __rest$2e = (undefined && undefined.__rest) || function (s, e) {
2544
2609
  var t = {};
2545
2610
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2546
2611
  t[p] = s[p];
@@ -2553,7 +2618,7 @@ var __rest$2d = (undefined && undefined.__rest) || function (s, e) {
2553
2618
  };
2554
2619
  const _Checkbox = (props, ref) => {
2555
2620
  const { classProps, props: modifiedProps } = useCheckboxStyleProps(props);
2556
- const { 'aria-describedby': ariaDescribedBy = '', hasValidationIcon, helperText, id, isChecked, isDisabled, isRequired, label, validationState, validationText, value } = modifiedProps, restProps = __rest$2d(modifiedProps, ['aria-describedby', "hasValidationIcon", "helperText", "id", "isChecked", "isDisabled", "isRequired", "label", "validationState", "validationText", "value"]);
2621
+ const { 'aria-describedby': ariaDescribedBy = '', hasValidationIcon, helperText, id, isChecked, isDisabled, isRequired, label, validationState, validationText, value } = modifiedProps, restProps = __rest$2e(modifiedProps, ['aria-describedby', "hasValidationIcon", "helperText", "id", "isChecked", "isDisabled", "isRequired", "label", "validationState", "validationText", "value"]);
2557
2622
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2558
2623
  const [ids, register] = useAriaIds(ariaDescribedBy);
2559
2624
  const ariaDescribedByProp = useAriaDescribedBy(ids);
@@ -2571,7 +2636,7 @@ const _Checkbox = (props, ref) => {
2571
2636
  const Checkbox = React.forwardRef(_Checkbox);
2572
2637
  Checkbox.spiritComponent = 'Checkbox';
2573
2638
 
2574
- var __rest$2c = (undefined && undefined.__rest) || function (s, e) {
2639
+ var __rest$2d = (undefined && undefined.__rest) || function (s, e) {
2575
2640
  var t = {};
2576
2641
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2577
2642
  t[p] = s[p];
@@ -2583,7 +2648,7 @@ var __rest$2c = (undefined && undefined.__rest) || function (s, e) {
2583
2648
  return t;
2584
2649
  };
2585
2650
  function useContainerStyleProps(props) {
2586
- const { isFluid, size } = props, modifiedProps = __rest$2c(props, ["isFluid", "size"]);
2651
+ const { isFluid, size } = props, modifiedProps = __rest$2d(props, ["isFluid", "size"]);
2587
2652
  const containerClass = useClassNamePrefix('Container');
2588
2653
  const containerFluidClass = `${containerClass}--fluid`;
2589
2654
  const containerSizeClass = `${containerClass}--${size}`;
@@ -2597,7 +2662,7 @@ function useContainerStyleProps(props) {
2597
2662
  };
2598
2663
  }
2599
2664
 
2600
- var __rest$2b = (undefined && undefined.__rest) || function (s, e) {
2665
+ var __rest$2c = (undefined && undefined.__rest) || function (s, e) {
2601
2666
  var t = {};
2602
2667
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2603
2668
  t[p] = s[p];
@@ -2608,13 +2673,13 @@ var __rest$2b = (undefined && undefined.__rest) || function (s, e) {
2608
2673
  }
2609
2674
  return t;
2610
2675
  };
2611
- const defaultProps$E = {
2676
+ const defaultProps$F = {
2612
2677
  isFluid: false,
2613
2678
  size: SizesExtended.XLARGE,
2614
2679
  };
2615
2680
  const Container = (props) => {
2616
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$E), props);
2617
- const { children } = propsWithDefaults, restProps = __rest$2b(propsWithDefaults, ["children"]);
2681
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$F), props);
2682
+ const { children } = propsWithDefaults, restProps = __rest$2c(propsWithDefaults, ["children"]);
2618
2683
  const { classProps, props: modifiedProps } = useContainerStyleProps(restProps);
2619
2684
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {
2620
2685
  textAlignment: TextStyleProps.textAlignment,
@@ -2635,7 +2700,7 @@ const useControlButtonProps = (props) => {
2635
2700
  };
2636
2701
  };
2637
2702
 
2638
- var __rest$2a = (undefined && undefined.__rest) || function (s, e) {
2703
+ var __rest$2b = (undefined && undefined.__rest) || function (s, e) {
2639
2704
  var t = {};
2640
2705
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2641
2706
  t[p] = s[p];
@@ -2648,27 +2713,26 @@ var __rest$2a = (undefined && undefined.__rest) || function (s, e) {
2648
2713
  };
2649
2714
  const getControlButtonSizeClassname = (className, size) => compose(applySize(size))(className);
2650
2715
  function useControlButtonStyleProps(props) {
2651
- const { isDisabled, isSubtle, isSymmetrical, size } = props, restProps = __rest$2a(props, ["isDisabled", "isSubtle", "isSymmetrical", "size"]);
2716
+ const { isDisabled, isSubtle, isSymmetrical, size } = props, restProps = __rest$2b(props, ["isDisabled", "isSubtle", "isSymmetrical", "size"]);
2652
2717
  const controlButtonClass = useClassNamePrefix('ControlButton');
2653
2718
  const controlButtonBackgroundClass = `${controlButtonClass}--hasBackground`;
2654
2719
  const controlButtonDisabledClass = `${controlButtonClass}--disabled`;
2655
- const controlButtonSymmetricalClass = `${controlButtonClass}--symmetrical`;
2656
2720
  const dynamicColorBackgroundInteractiveClass = useClassNamePrefix('dynamic-color-background-interactive');
2657
2721
  const dynamicColorBorderClass = useClassNamePrefix('dynamic-color-border');
2658
2722
  const accessibilityTapTargetClass = useClassNamePrefix('accessibility-tap-target');
2723
+ const { symmetricalClassName } = useSymmetry(controlButtonClass, isSymmetrical);
2659
2724
  const classProps = classNames(controlButtonClass, getControlButtonSizeClassname(controlButtonClass, size), dynamicColorBackgroundInteractiveClass, accessibilityTapTargetClass, {
2660
2725
  [controlButtonDisabledClass]: isDisabled,
2661
- [controlButtonSymmetricalClass]: isSymmetrical,
2662
2726
  [controlButtonBackgroundClass]: !isSubtle,
2663
2727
  [dynamicColorBorderClass]: !isSubtle,
2664
- });
2728
+ }, symmetricalClassName);
2665
2729
  return {
2666
2730
  classProps,
2667
2731
  props: restProps,
2668
2732
  };
2669
2733
  }
2670
2734
 
2671
- var __rest$29 = (undefined && undefined.__rest) || function (s, e) {
2735
+ var __rest$2a = (undefined && undefined.__rest) || function (s, e) {
2672
2736
  var t = {};
2673
2737
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2674
2738
  t[p] = s[p];
@@ -2679,7 +2743,7 @@ var __rest$29 = (undefined && undefined.__rest) || function (s, e) {
2679
2743
  }
2680
2744
  return t;
2681
2745
  };
2682
- const defaultProps$D = {
2746
+ const defaultProps$E = {
2683
2747
  elementType: 'button',
2684
2748
  isDisabled: false,
2685
2749
  isSubtle: false,
@@ -2688,8 +2752,8 @@ const defaultProps$D = {
2688
2752
  type: 'button',
2689
2753
  };
2690
2754
  const _ControlButton = (props, ref) => {
2691
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$D), props);
2692
- const { elementType: ElementTag = defaultProps$D.elementType, children } = propsWithDefaults, restProps = __rest$29(propsWithDefaults, ["elementType", "children"]);
2755
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$E), props);
2756
+ const { elementType: ElementTag = defaultProps$E.elementType, children } = propsWithDefaults, restProps = __rest$2a(propsWithDefaults, ["elementType", "children"]);
2693
2757
  const { controlButtonProps } = useControlButtonProps(restProps);
2694
2758
  const { classProps, props: modifiedProps } = useControlButtonStyleProps(restProps);
2695
2759
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
@@ -2749,7 +2813,7 @@ const useDialog = (ref, isOpen) => {
2749
2813
  };
2750
2814
  };
2751
2815
 
2752
- var __rest$28 = (undefined && undefined.__rest) || function (s, e) {
2816
+ var __rest$29 = (undefined && undefined.__rest) || function (s, e) {
2753
2817
  var t = {};
2754
2818
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2755
2819
  t[p] = s[p];
@@ -2761,7 +2825,7 @@ var __rest$28 = (undefined && undefined.__rest) || function (s, e) {
2761
2825
  return t;
2762
2826
  };
2763
2827
  const Dialog = (props, ref) => {
2764
- const { children, isOpen, onClose, closeOnBackdropClick = true, closeOnEscapeKeyDown } = props, restProps = __rest$28(props, ["children", "isOpen", "onClose", "closeOnBackdropClick", "closeOnEscapeKeyDown"]);
2828
+ const { children, isOpen, onClose, closeOnBackdropClick = true, closeOnEscapeKeyDown } = props, restProps = __rest$29(props, ["children", "isOpen", "onClose", "closeOnBackdropClick", "closeOnEscapeKeyDown"]);
2765
2829
  const dialogElementRef = React.useRef(ref);
2766
2830
  const contentElementRef = React.useRef(null);
2767
2831
  const { closeDialog, onTransitionEnd } = useDialog(dialogElementRef, isOpen);
@@ -2837,7 +2901,7 @@ const useDrawerStyleProps = (props = {}) => {
2837
2901
  };
2838
2902
  };
2839
2903
 
2840
- var __rest$27 = (undefined && undefined.__rest) || function (s, e) {
2904
+ var __rest$28 = (undefined && undefined.__rest) || function (s, e) {
2841
2905
  var t = {};
2842
2906
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2843
2907
  t[p] = s[p];
@@ -2849,7 +2913,7 @@ var __rest$27 = (undefined && undefined.__rest) || function (s, e) {
2849
2913
  return t;
2850
2914
  };
2851
2915
  const Drawer = (props) => {
2852
- const { children, alignmentX = DRAWER_ALIGNMENT_DEFAULT, isOpen, onClose, id } = props, restProps = __rest$27(props, ["children", "alignmentX", "isOpen", "onClose", "id"]);
2916
+ const { children, alignmentX = DRAWER_ALIGNMENT_DEFAULT, isOpen, onClose, id } = props, restProps = __rest$28(props, ["children", "alignmentX", "isOpen", "onClose", "id"]);
2853
2917
  const { classProps } = useDrawerStyleProps({ drawerAlignmentX: alignmentX });
2854
2918
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2855
2919
  const contextValue = {
@@ -2863,7 +2927,7 @@ const Drawer = (props) => {
2863
2927
  };
2864
2928
  Drawer.spiritComponent = 'Drawer';
2865
2929
 
2866
- var __rest$26 = (undefined && undefined.__rest) || function (s, e) {
2930
+ var __rest$27 = (undefined && undefined.__rest) || function (s, e) {
2867
2931
  var t = {};
2868
2932
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2869
2933
  t[p] = s[p];
@@ -2875,7 +2939,7 @@ var __rest$26 = (undefined && undefined.__rest) || function (s, e) {
2875
2939
  return t;
2876
2940
  };
2877
2941
  function useVisuallyHiddenProps(props) {
2878
- const restProps = __rest$26(props, []);
2942
+ const restProps = __rest$27(props, []);
2879
2943
  const visuallyHiddenClass = useClassNamePrefix('accessibility-hidden');
2880
2944
  return {
2881
2945
  classProps: visuallyHiddenClass,
@@ -2883,7 +2947,7 @@ function useVisuallyHiddenProps(props) {
2883
2947
  };
2884
2948
  }
2885
2949
 
2886
- var __rest$25 = (undefined && undefined.__rest) || function (s, e) {
2950
+ var __rest$26 = (undefined && undefined.__rest) || function (s, e) {
2887
2951
  var t = {};
2888
2952
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2889
2953
  t[p] = s[p];
@@ -2895,7 +2959,7 @@ var __rest$25 = (undefined && undefined.__rest) || function (s, e) {
2895
2959
  return t;
2896
2960
  };
2897
2961
  const VisuallyHidden = (props) => {
2898
- const { children, elementType: ElementTag = 'span' } = props, rest = __rest$25(props, ["children", "elementType"]);
2962
+ const { children, elementType: ElementTag = 'span' } = props, rest = __rest$26(props, ["children", "elementType"]);
2899
2963
  const { classProps, props: modifiedProps } = useVisuallyHiddenProps(rest);
2900
2964
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
2901
2965
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });
@@ -2903,7 +2967,7 @@ const VisuallyHidden = (props) => {
2903
2967
  };
2904
2968
  VisuallyHidden.spiritComponent = 'VisuallyHidden';
2905
2969
 
2906
- var __rest$24 = (undefined && undefined.__rest) || function (s, e) {
2970
+ var __rest$25 = (undefined && undefined.__rest) || function (s, e) {
2907
2971
  var t = {};
2908
2972
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2909
2973
  t[p] = s[p];
@@ -2914,15 +2978,15 @@ var __rest$24 = (undefined && undefined.__rest) || function (s, e) {
2914
2978
  }
2915
2979
  return t;
2916
2980
  };
2917
- const defaultProps$C = {
2981
+ const defaultProps$D = {
2918
2982
  color: ComponentButtonColors.TERTIARY,
2919
2983
  iconBoxSize: DEFAULT_BOX_SIZE,
2920
2984
  label: DRAWER_CLOSE_BUTTON_LABEL_DEFAULT,
2921
2985
  size: Sizes.MEDIUM,
2922
2986
  };
2923
2987
  const DrawerCloseButton = (props) => {
2924
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$C), props);
2925
- const { color, iconBoxSize, label, size } = propsWithDefaults, restProps = __rest$24(propsWithDefaults, ["color", "iconBoxSize", "label", "size"]);
2988
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$D), props);
2989
+ const { color, iconBoxSize, label, size } = propsWithDefaults, restProps = __rest$25(propsWithDefaults, ["color", "iconBoxSize", "label", "size"]);
2926
2990
  const { id, isOpen, onClose } = useDrawerContext();
2927
2991
  const { classProps } = useDrawerStyleProps();
2928
2992
  const { styleProps, props: otherProps } = useStyleProps(restProps);
@@ -2932,7 +2996,7 @@ const DrawerCloseButton = (props) => {
2932
2996
  };
2933
2997
  DrawerCloseButton.spiritComponent = 'DrawerCloseButton';
2934
2998
 
2935
- var __rest$23 = (undefined && undefined.__rest) || function (s, e) {
2999
+ var __rest$24 = (undefined && undefined.__rest) || function (s, e) {
2936
3000
  var t = {};
2937
3001
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2938
3002
  t[p] = s[p];
@@ -2944,7 +3008,7 @@ var __rest$23 = (undefined && undefined.__rest) || function (s, e) {
2944
3008
  return t;
2945
3009
  };
2946
3010
  const _DrawerPanel = (props, ref) => {
2947
- const { elementType: ElementTag = 'div', children } = props, restProps = __rest$23(props, ["elementType", "children"]);
3011
+ const { elementType: ElementTag = 'div', children } = props, restProps = __rest$24(props, ["elementType", "children"]);
2948
3012
  const { classProps } = useDrawerStyleProps(restProps);
2949
3013
  const { styleProps, props: otherProps } = useStyleProps(restProps);
2950
3014
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.panel, styleProps, otherProps });
@@ -2996,7 +3060,7 @@ const DropdownProvider = DropdownContext.Provider;
2996
3060
  DropdownContext.Consumer;
2997
3061
  const useDropdownContext = () => React.useContext(DropdownContext);
2998
3062
 
2999
- var __rest$22 = (undefined && undefined.__rest) || function (s, e) {
3063
+ var __rest$23 = (undefined && undefined.__rest) || function (s, e) {
3000
3064
  var t = {};
3001
3065
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3002
3066
  t[p] = s[p];
@@ -3008,7 +3072,7 @@ var __rest$22 = (undefined && undefined.__rest) || function (s, e) {
3008
3072
  return t;
3009
3073
  };
3010
3074
  const useDropdownStyleProps = (props = { isOpen: false }) => {
3011
- const { alignmentX, alignmentY, isOpen } = props, modifiedProps = __rest$22(props, ["alignmentX", "alignmentY", "isOpen"]);
3075
+ const { alignmentX, alignmentY, isOpen } = props, modifiedProps = __rest$23(props, ["alignmentX", "alignmentY", "isOpen"]);
3012
3076
  const dropdownRootClass = useClassNamePrefix('Dropdown');
3013
3077
  const dropdownPopoverClass = `${dropdownRootClass}Popover`;
3014
3078
  const expandedClass = isOpen ? 'is-expanded' : '';
@@ -3029,7 +3093,7 @@ const useDropdownStyleProps = (props = { isOpen: false }) => {
3029
3093
  };
3030
3094
  };
3031
3095
 
3032
- var __rest$21 = (undefined && undefined.__rest) || function (s, e) {
3096
+ var __rest$22 = (undefined && undefined.__rest) || function (s, e) {
3033
3097
  var t = {};
3034
3098
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3035
3099
  t[p] = s[p];
@@ -3041,7 +3105,7 @@ var __rest$21 = (undefined && undefined.__rest) || function (s, e) {
3041
3105
  return t;
3042
3106
  };
3043
3107
  const Dropdown = (props) => {
3044
- const { children, enableAutoClose = true, fullWidthMode, id, isOpen = false, onAutoClose, onToggle, placement } = props, rest = __rest$21(props, ["children", "enableAutoClose", "fullWidthMode", "id", "isOpen", "onAutoClose", "onToggle", "placement"]);
3108
+ const { children, enableAutoClose = true, fullWidthMode, id, isOpen = false, onAutoClose, onToggle, placement } = props, rest = __rest$22(props, ["children", "enableAutoClose", "fullWidthMode", "id", "isOpen", "onAutoClose", "onToggle", "placement"]);
3045
3109
  const { classProps, props: modifiedProps } = useDropdownStyleProps(Object.assign({ isOpen }, rest));
3046
3110
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
3047
3111
  const dropdownRef = React.useRef(null);
@@ -3064,7 +3128,7 @@ const Dropdown = (props) => {
3064
3128
  };
3065
3129
  Dropdown.spiritComponent = 'Dropdown';
3066
3130
 
3067
- var __rest$20 = (undefined && undefined.__rest) || function (s, e) {
3131
+ var __rest$21 = (undefined && undefined.__rest) || function (s, e) {
3068
3132
  var t = {};
3069
3133
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3070
3134
  t[p] = s[p];
@@ -3075,12 +3139,12 @@ var __rest$20 = (undefined && undefined.__rest) || function (s, e) {
3075
3139
  }
3076
3140
  return t;
3077
3141
  };
3078
- const defaultProps$B = {
3142
+ const defaultProps$C = {
3079
3143
  elementType: 'button',
3080
3144
  };
3081
3145
  const DropdownTrigger = (props) => {
3082
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$B), props);
3083
- const { elementType: ElementTag = 'button', children } = propsWithDefaults, rest = __rest$20(propsWithDefaults, ["elementType", "children"]);
3146
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$C), props);
3147
+ const { elementType: ElementTag = 'button', children } = propsWithDefaults, rest = __rest$21(propsWithDefaults, ["elementType", "children"]);
3084
3148
  const { id, isOpen, onToggle, fullWidthMode, triggerRef } = useDropdownContext();
3085
3149
  const { classProps, props: modifiedProps } = useDropdownStyleProps(Object.assign({ isOpen }, rest));
3086
3150
  const { styleProps: triggerStyleProps, props: transferProps } = useStyleProps(modifiedProps);
@@ -3090,7 +3154,7 @@ const DropdownTrigger = (props) => {
3090
3154
  };
3091
3155
  DropdownTrigger.spiritComponent = 'DropdownTrigger';
3092
3156
 
3093
- var __rest$1$ = (undefined && undefined.__rest) || function (s, e) {
3157
+ var __rest$20 = (undefined && undefined.__rest) || function (s, e) {
3094
3158
  var t = {};
3095
3159
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3096
3160
  t[p] = s[p];
@@ -3102,7 +3166,7 @@ var __rest$1$ = (undefined && undefined.__rest) || function (s, e) {
3102
3166
  return t;
3103
3167
  };
3104
3168
  const DropdownPopover = (props) => {
3105
- const { children } = props, rest = __rest$1$(props, ["children"]);
3169
+ const { children } = props, rest = __rest$20(props, ["children"]);
3106
3170
  const { id, isOpen, onToggle, fullWidthMode, placement } = useDropdownContext();
3107
3171
  const { classProps, props: modifiedProps } = useDropdownStyleProps(Object.assign({ isOpen }, rest));
3108
3172
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
@@ -3137,7 +3201,7 @@ const useDropdown = ({ dropdownRef, triggerRef, enableAutoClose, onAutoClose, })
3137
3201
  };
3138
3202
  };
3139
3203
 
3140
- var __rest$1_ = (undefined && undefined.__rest) || function (s, e) {
3204
+ var __rest$1$ = (undefined && undefined.__rest) || function (s, e) {
3141
3205
  var t = {};
3142
3206
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3143
3207
  t[p] = s[p];
@@ -3149,7 +3213,7 @@ var __rest$1_ = (undefined && undefined.__rest) || function (s, e) {
3149
3213
  return t;
3150
3214
  };
3151
3215
  const UncontrolledDropdown = (props) => {
3152
- const { children, enableAutoClose = true, fullWidthMode, id, onAutoClose, placement } = props, rest = __rest$1_(props, ["children", "enableAutoClose", "fullWidthMode", "id", "onAutoClose", "placement"]);
3216
+ const { children, enableAutoClose = true, fullWidthMode, id, onAutoClose, placement } = props, rest = __rest$1$(props, ["children", "enableAutoClose", "fullWidthMode", "id", "onAutoClose", "placement"]);
3153
3217
  const { classProps, props: modifiedProps } = useDropdownStyleProps(rest);
3154
3218
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
3155
3219
  const dropdownRef = React.useRef(null);
@@ -3160,7 +3224,7 @@ const UncontrolledDropdown = (props) => {
3160
3224
  };
3161
3225
  UncontrolledDropdown.spiritComponent = 'UncontrolledDropdown';
3162
3226
 
3163
- var __rest$1Z = (undefined && undefined.__rest) || function (s, e) {
3227
+ var __rest$1_ = (undefined && undefined.__rest) || function (s, e) {
3164
3228
  var t = {};
3165
3229
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3166
3230
  t[p] = s[p];
@@ -3172,7 +3236,7 @@ var __rest$1Z = (undefined && undefined.__rest) || function (s, e) {
3172
3236
  return t;
3173
3237
  };
3174
3238
  function useStackStyleProps(props) {
3175
- const { hasEndDivider, hasIntermediateDividers, hasSpacing, hasStartDivider, spacing } = props, restProps = __rest$1Z(props, ["hasEndDivider", "hasIntermediateDividers", "hasSpacing", "hasStartDivider", "spacing"]);
3239
+ const { hasEndDivider, hasIntermediateDividers, hasSpacing, hasStartDivider, spacing } = props, restProps = __rest$1_(props, ["hasEndDivider", "hasIntermediateDividers", "hasSpacing", "hasStartDivider", "spacing"]);
3176
3240
  const StackClass = useClassNamePrefix('Stack');
3177
3241
  const StackBottomDividerClass = `${StackClass}--hasEndDivider`;
3178
3242
  const StackMiddleDividersClass = `${StackClass}--hasIntermediateDividers`;
@@ -3196,7 +3260,7 @@ function useStackStyleProps(props) {
3196
3260
  };
3197
3261
  }
3198
3262
 
3199
- var __rest$1Y = (undefined && undefined.__rest) || function (s, e) {
3263
+ var __rest$1Z = (undefined && undefined.__rest) || function (s, e) {
3200
3264
  var t = {};
3201
3265
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3202
3266
  t[p] = s[p];
@@ -3207,7 +3271,7 @@ var __rest$1Y = (undefined && undefined.__rest) || function (s, e) {
3207
3271
  }
3208
3272
  return t;
3209
3273
  };
3210
- const defaultProps$A = {
3274
+ const defaultProps$B = {
3211
3275
  elementType: 'div',
3212
3276
  hasSpacing: false,
3213
3277
  hasEndDivider: false,
@@ -3215,8 +3279,8 @@ const defaultProps$A = {
3215
3279
  hasStartDivider: false,
3216
3280
  };
3217
3281
  const Stack = (props) => {
3218
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$A), props);
3219
- const { elementType: ElementTag = defaultProps$A.elementType, children } = propsWithDefaults, restProps = __rest$1Y(propsWithDefaults, ["elementType", "children"]);
3282
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$B), props);
3283
+ const { elementType: ElementTag = defaultProps$B.elementType, children } = propsWithDefaults, restProps = __rest$1Z(propsWithDefaults, ["elementType", "children"]);
3220
3284
  const { classProps, props: modifiedProps, styleProps: stackStyle } = useStackStyleProps(restProps);
3221
3285
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
3222
3286
  const mergedStyleProps = mergeStyleProps(ElementTag, {
@@ -3229,7 +3293,7 @@ const Stack = (props) => {
3229
3293
  };
3230
3294
  Stack.spiritComponent = 'Stack';
3231
3295
 
3232
- var __rest$1X = (undefined && undefined.__rest) || function (s, e) {
3296
+ var __rest$1Y = (undefined && undefined.__rest) || function (s, e) {
3233
3297
  var t = {};
3234
3298
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3235
3299
  t[p] = s[p];
@@ -3241,7 +3305,7 @@ var __rest$1X = (undefined && undefined.__rest) || function (s, e) {
3241
3305
  return t;
3242
3306
  };
3243
3307
  const StackItem = (props) => {
3244
- const { elementType: ElementTag = 'div', children } = props, restProps = __rest$1X(props, ["elementType", "children"]);
3308
+ const { elementType: ElementTag = 'div', children } = props, restProps = __rest$1Y(props, ["elementType", "children"]);
3245
3309
  const { classProps, props: modifiedProps } = useStackStyleProps(restProps);
3246
3310
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
3247
3311
  const mergedStyleProps = mergeStyleProps(ElementTag, {
@@ -3265,7 +3329,7 @@ function useEmptyStateStyleProps(props) {
3265
3329
  };
3266
3330
  }
3267
3331
 
3268
- var __rest$1W = (undefined && undefined.__rest) || function (s, e) {
3332
+ var __rest$1X = (undefined && undefined.__rest) || function (s, e) {
3269
3333
  var t = {};
3270
3334
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3271
3335
  t[p] = s[p];
@@ -3277,14 +3341,14 @@ var __rest$1W = (undefined && undefined.__rest) || function (s, e) {
3277
3341
  return t;
3278
3342
  };
3279
3343
  const EmptyState = (props) => {
3280
- const { children } = props, restProps = __rest$1W(props, ["children"]);
3344
+ const { children } = props, restProps = __rest$1X(props, ["children"]);
3281
3345
  const { classProps, props: modifiedProps } = useEmptyStateStyleProps(restProps);
3282
3346
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
3283
3347
  return (React.createElement(Stack, Object.assign({}, otherProps, { UNSAFE_className: classNames(classProps.root, styleProps.className), UNSAFE_style: styleProps.style }), children));
3284
3348
  };
3285
3349
  EmptyState.spiritComponent = 'EmptyState';
3286
3350
 
3287
- var __rest$1V = (undefined && undefined.__rest) || function (s, e) {
3351
+ var __rest$1W = (undefined && undefined.__rest) || function (s, e) {
3288
3352
  var t = {};
3289
3353
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3290
3354
  t[p] = s[p];
@@ -3296,7 +3360,7 @@ var __rest$1V = (undefined && undefined.__rest) || function (s, e) {
3296
3360
  return t;
3297
3361
  };
3298
3362
  const EmptyStateSection = (props) => {
3299
- const { children } = props, restProps = __rest$1V(props, ["children"]);
3363
+ const { children } = props, restProps = __rest$1W(props, ["children"]);
3300
3364
  const { classProps, props: modifiedProps } = useEmptyStateStyleProps(restProps);
3301
3365
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
3302
3366
  return (React.createElement(Stack, Object.assign({}, otherProps, { UNSAFE_className: classNames(classProps.section, styleProps.className), UNSAFE_style: styleProps.style }), children));
@@ -3328,7 +3392,7 @@ const useFieldGroupStyleProps = ({ isFluid, isRequired, validationState, }) => {
3328
3392
  };
3329
3393
  };
3330
3394
 
3331
- var __rest$1U = (undefined && undefined.__rest) || function (s, e) {
3395
+ var __rest$1V = (undefined && undefined.__rest) || function (s, e) {
3332
3396
  var t = {};
3333
3397
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3334
3398
  t[p] = s[p];
@@ -3340,7 +3404,7 @@ var __rest$1U = (undefined && undefined.__rest) || function (s, e) {
3340
3404
  return t;
3341
3405
  };
3342
3406
  const FieldGroup = (props) => {
3343
- const { 'aria-describedby': ariaDescribedBy = '', children, helperText, hasValidationIcon, id, isDisabled, isFluid, isLabelHidden, isRequired, label, validationState, validationText } = props, rest = __rest$1U(props, ['aria-describedby', "children", "helperText", "hasValidationIcon", "id", "isDisabled", "isFluid", "isLabelHidden", "isRequired", "label", "validationState", "validationText"]);
3407
+ const { 'aria-describedby': ariaDescribedBy = '', children, helperText, hasValidationIcon, id, isDisabled, isFluid, isLabelHidden, isRequired, label, validationState, validationText } = props, rest = __rest$1V(props, ['aria-describedby', "children", "helperText", "hasValidationIcon", "id", "isDisabled", "isFluid", "isLabelHidden", "isRequired", "label", "validationState", "validationText"]);
3344
3408
  const { classProps } = useFieldGroupStyleProps({ isFluid, isRequired, validationState });
3345
3409
  const { styleProps, props: transferProps } = useStyleProps(rest);
3346
3410
  const [ids, register] = useAriaIds(ariaDescribedBy);
@@ -3369,6 +3433,7 @@ const DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE = 'This file type is not supported'
3369
3433
  const DEFAULT_ICON_NAME = 'file';
3370
3434
  const DEFAULT_BUTTON_LABEL = 'Remove';
3371
3435
  const DEFAULT_EDIT_BUTTON_LABEL = 'Edit';
3436
+ const DEFAULT_ATTACHMENT_LIST_LABEL = 'Attachments';
3372
3437
  const FileUploaderCropCSS = {
3373
3438
  TOP: '--file-uploader-attachment-image-top',
3374
3439
  LEFT: '--file-uploader-attachment-image-left',
@@ -3484,7 +3549,7 @@ const useFileUploaderStyleProps = (props) => {
3484
3549
  };
3485
3550
  };
3486
3551
 
3487
- var __rest$1T = (undefined && undefined.__rest) || function (s, e) {
3552
+ var __rest$1U = (undefined && undefined.__rest) || function (s, e) {
3488
3553
  var t = {};
3489
3554
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3490
3555
  t[p] = s[p];
@@ -3496,7 +3561,7 @@ var __rest$1T = (undefined && undefined.__rest) || function (s, e) {
3496
3561
  return t;
3497
3562
  };
3498
3563
  const FileUploader = (props) => {
3499
- const { addToQueue, children, clearQueue, errorMessages, fileQueue, findInQueue, id, isFluid, onDismiss, updateQueue } = props, restProps = __rest$1T(props, ["addToQueue", "children", "clearQueue", "errorMessages", "fileQueue", "findInQueue", "id", "isFluid", "onDismiss", "updateQueue"]);
3564
+ const { addToQueue, children, clearQueue, errorMessages, fileQueue, findInQueue, id, isFluid, onDismiss, updateQueue } = props, restProps = __rest$1U(props, ["addToQueue", "children", "clearQueue", "errorMessages", "fileQueue", "findInQueue", "id", "isFluid", "onDismiss", "updateQueue"]);
3500
3565
  const { classProps } = useFileUploaderStyleProps({ isFluid });
3501
3566
  const { styleProps, props: transferProps } = useStyleProps(restProps);
3502
3567
  const contextValue = {
@@ -3669,7 +3734,7 @@ const useFileUploaderInput = (props) => {
3669
3734
  return Object.assign({ isDropZoneHidden: dropZoneHidden, isDisabledByQueueLimitBehavior: disabledByQueueLimitBehavior, onChange: onChangeHandler }, dragAndDropProps);
3670
3735
  };
3671
3736
 
3672
- var __rest$1S = (undefined && undefined.__rest) || function (s, e) {
3737
+ var __rest$1T = (undefined && undefined.__rest) || function (s, e) {
3673
3738
  var t = {};
3674
3739
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3675
3740
  t[p] = s[p];
@@ -3682,7 +3747,7 @@ var __rest$1S = (undefined && undefined.__rest) || function (s, e) {
3682
3747
  };
3683
3748
  const FileUploaderInput = (props) => {
3684
3749
  const [isDragAndDropSupported, setIsDragAndDropSupported] = React.useState(false);
3685
- const { accept, 'aria-describedby': ariaDescribedBy = '', dropZoneRef, hasValidationIcon, helperText, iconName = 'upload', id, inputRef, isDisabled, isLabelHidden, isMultiple, isRequired, label, labelText, linkText, maxFileSize = DEFAULT_FILE_SIZE_LIMIT, maxUploadedFiles = DEFAULT_FILE_QUEUE_LIMIT, onError, queueLimitBehavior = 'none', validationState, validationText } = props, restProps = __rest$1S(props, ["accept", 'aria-describedby', "dropZoneRef", "hasValidationIcon", "helperText", "iconName", "id", "inputRef", "isDisabled", "isLabelHidden", "isMultiple", "isRequired", "label", "labelText", "linkText", "maxFileSize", "maxUploadedFiles", "onError", "queueLimitBehavior", "validationState", "validationText"]);
3750
+ const { accept, 'aria-describedby': ariaDescribedBy = '', dropZoneRef, hasValidationIcon, helperText, iconName = 'upload', id, inputRef, isDisabled, isLabelHidden, isMultiple, isRequired, label, labelText, linkText, maxFileSize = DEFAULT_FILE_SIZE_LIMIT, maxUploadedFiles = DEFAULT_FILE_QUEUE_LIMIT, onError, queueLimitBehavior = 'none', validationState, validationText } = props, restProps = __rest$1T(props, ["accept", 'aria-describedby', "dropZoneRef", "hasValidationIcon", "helperText", "iconName", "id", "inputRef", "isDisabled", "isLabelHidden", "isMultiple", "isRequired", "label", "labelText", "linkText", "maxFileSize", "maxUploadedFiles", "onError", "queueLimitBehavior", "validationState", "validationText"]);
3686
3751
  const { isDisabledByQueueLimitBehavior, isDragging, isDropZoneHidden, onChange, onDragEnter, onDragLeave, onDragOver, onDrop, } = useFileUploaderInput({
3687
3752
  accept,
3688
3753
  isMultiple,
@@ -3726,7 +3791,7 @@ const FileUploaderInput = (props) => {
3726
3791
  };
3727
3792
  FileUploaderInput.spiritComponent = 'FileUploaderInput';
3728
3793
 
3729
- var __rest$1R = (undefined && undefined.__rest) || function (s, e) {
3794
+ var __rest$1S = (undefined && undefined.__rest) || function (s, e) {
3730
3795
  var t = {};
3731
3796
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3732
3797
  t[p] = s[p];
@@ -3738,7 +3803,7 @@ var __rest$1R = (undefined && undefined.__rest) || function (s, e) {
3738
3803
  return t;
3739
3804
  };
3740
3805
  const FileUploaderList = (props) => {
3741
- const { label, id, attachmentComponent, inputName, hasImagePreview } = props, restProps = __rest$1R(props, ["label", "id", "attachmentComponent", "inputName", "hasImagePreview"]);
3806
+ const { label = DEFAULT_ATTACHMENT_LIST_LABEL, id, attachmentComponent, inputName, hasImagePreview } = props, restProps = __rest$1S(props, ["label", "id", "attachmentComponent", "inputName", "hasImagePreview"]);
3742
3807
  const { classProps } = useFileUploaderStyleProps();
3743
3808
  const { styleProps, props: transferProps } = useStyleProps(restProps);
3744
3809
  const { fileQueue, onDismiss } = useFileUploaderContext();
@@ -3761,7 +3826,7 @@ const FileUploaderList = (props) => {
3761
3826
  };
3762
3827
  FileUploaderList.spiritComponent = 'FileUploaderList';
3763
3828
 
3764
- var __rest$1Q = (undefined && undefined.__rest) || function (s, e) {
3829
+ var __rest$1R = (undefined && undefined.__rest) || function (s, e) {
3765
3830
  var t = {};
3766
3831
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3767
3832
  t[p] = s[p];
@@ -3773,7 +3838,7 @@ var __rest$1Q = (undefined && undefined.__rest) || function (s, e) {
3773
3838
  return t;
3774
3839
  };
3775
3840
  const AttachmentActionButton = (props) => {
3776
- const { name = 'edit', children } = props, restProps = __rest$1Q(props, ["name", "children"]);
3841
+ const { name = 'edit', children } = props, restProps = __rest$1R(props, ["name", "children"]);
3777
3842
  const { classProps } = useFileUploaderStyleProps();
3778
3843
  const { styleProps, props: transferProps } = useStyleProps(restProps);
3779
3844
  return (React.createElement("button", Object.assign({ type: "button" }, transferProps, styleProps, { className: classNames(classProps.attachment.button, styleProps.className) }),
@@ -3782,7 +3847,7 @@ const AttachmentActionButton = (props) => {
3782
3847
  };
3783
3848
  AttachmentActionButton.spiritComponent = 'AttachmentActionButton';
3784
3849
 
3785
- var __rest$1P = (undefined && undefined.__rest) || function (s, e) {
3850
+ var __rest$1Q = (undefined && undefined.__rest) || function (s, e) {
3786
3851
  var t = {};
3787
3852
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3788
3853
  t[p] = s[p];
@@ -3794,7 +3859,7 @@ var __rest$1P = (undefined && undefined.__rest) || function (s, e) {
3794
3859
  return t;
3795
3860
  };
3796
3861
  const AttachmentDismissButton = (props) => {
3797
- const { children } = props, restProps = __rest$1P(props, ["children"]);
3862
+ const { children } = props, restProps = __rest$1Q(props, ["children"]);
3798
3863
  const { classProps } = useFileUploaderStyleProps();
3799
3864
  const { styleProps, props: transferProps } = useStyleProps(restProps);
3800
3865
  return (React.createElement("button", Object.assign({ type: "button" }, transferProps, styleProps, { className: classNames(classProps.attachment.button, styleProps.className) }),
@@ -3803,12 +3868,12 @@ const AttachmentDismissButton = (props) => {
3803
3868
  };
3804
3869
  AttachmentDismissButton.spiritComponent = 'AttachmentDismissButton';
3805
3870
 
3806
- const defaultProps$z = {
3871
+ const defaultProps$A = {
3807
3872
  meta: undefined,
3808
3873
  imageObjectFit: 'cover',
3809
3874
  };
3810
3875
  const AttachmentImagePreview = (props) => {
3811
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$z), props);
3876
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$A), props);
3812
3877
  const { label, imagePreview, meta, imageObjectFit } = propsWithDefaults;
3813
3878
  const { classProps } = useFileUploaderStyleProps({ meta, imageObjectFit });
3814
3879
  const { imageCropStyles, attachmentStyles } = classProps;
@@ -3892,7 +3957,7 @@ const useFileUploaderAttachment = ({ attachmentRef, file, name, meta, onError, }
3892
3957
  }, [attachmentRef, file, name, meta, onError]);
3893
3958
  };
3894
3959
 
3895
- var __rest$1O = (undefined && undefined.__rest) || function (s, e) {
3960
+ var __rest$1P = (undefined && undefined.__rest) || function (s, e) {
3896
3961
  var t = {};
3897
3962
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3898
3963
  t[p] = s[p];
@@ -3904,7 +3969,7 @@ var __rest$1O = (undefined && undefined.__rest) || function (s, e) {
3904
3969
  return t;
3905
3970
  };
3906
3971
  const FileUploaderAttachment = (props) => {
3907
- const { editText, file, hasImagePreview, iconName = DEFAULT_ICON_NAME, id, imageObjectFit, label, meta, name, onDismiss, onEdit, onError, removeText } = props, restProps = __rest$1O(props, ["editText", "file", "hasImagePreview", "iconName", "id", "imageObjectFit", "label", "meta", "name", "onDismiss", "onEdit", "onError", "removeText"]);
3972
+ const { editText = DEFAULT_EDIT_BUTTON_LABEL, file, hasImagePreview, iconName = DEFAULT_ICON_NAME, id, imageObjectFit, label, meta, name, onDismiss, onEdit, onError, removeText = DEFAULT_BUTTON_LABEL } = props, restProps = __rest$1P(props, ["editText", "file", "hasImagePreview", "iconName", "id", "imageObjectFit", "label", "meta", "name", "onDismiss", "onEdit", "onError", "removeText"]);
3908
3973
  const [imagePreview, setImagePreview] = React.useState('');
3909
3974
  const { classProps } = useFileUploaderStyleProps();
3910
3975
  const { styleProps, props: transferProps } = useStyleProps(restProps);
@@ -3925,8 +3990,8 @@ const FileUploaderAttachment = (props) => {
3925
3990
  React.createElement("span", { className: classProps.attachment.name },
3926
3991
  React.createElement("span", { className: useClassNamePrefix('text-truncate') }, label)),
3927
3992
  onEdit && (React.createElement("span", { className: classProps.attachment.slot },
3928
- React.createElement(AttachmentActionButton, { onClick: onEditHandler }, editText || DEFAULT_EDIT_BUTTON_LABEL))),
3929
- React.createElement(AttachmentDismissButton, { onClick: dismissHandler }, removeText || DEFAULT_BUTTON_LABEL)));
3993
+ React.createElement(AttachmentActionButton, { onClick: onEditHandler }, editText))),
3994
+ React.createElement(AttachmentDismissButton, { onClick: dismissHandler }, removeText)));
3930
3995
  };
3931
3996
  FileUploaderAttachment.spiritComponent = 'FileUploaderAttachment';
3932
3997
 
@@ -3979,7 +4044,7 @@ const useFileQueue = () => {
3979
4044
  };
3980
4045
  };
3981
4046
 
3982
- var __rest$1N = (undefined && undefined.__rest) || function (s, e) {
4047
+ var __rest$1O = (undefined && undefined.__rest) || function (s, e) {
3983
4048
  var t = {};
3984
4049
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3985
4050
  t[p] = s[p];
@@ -3991,7 +4056,7 @@ var __rest$1N = (undefined && undefined.__rest) || function (s, e) {
3991
4056
  return t;
3992
4057
  };
3993
4058
  const UncontrolledFileUploader = (props) => {
3994
- const { attachmentComponent, maxFileSize, maxUploadedFiles, helperText, iconName, inputId, inputLabel, inputName, inputProps, isLabelHidden, isDisabled, isFluid, queueLimitBehavior, isMultiple, isRequired, labelText, linkText, listId, listProps, onInputError, onChange, errorMessages, validationState, validationText } = props, restProps = __rest$1N(props, ["attachmentComponent", "maxFileSize", "maxUploadedFiles", "helperText", "iconName", "inputId", "inputLabel", "inputName", "inputProps", "isLabelHidden", "isDisabled", "isFluid", "queueLimitBehavior", "isMultiple", "isRequired", "labelText", "linkText", "listId", "listProps", "onInputError", "onChange", "errorMessages", "validationState", "validationText"]);
4059
+ const { attachmentComponent, maxFileSize, maxUploadedFiles, helperText, iconName, inputId, inputLabel, inputName, inputProps, isLabelHidden, isDisabled, isFluid, queueLimitBehavior, isMultiple, isRequired, labelText, linkText, listId, listProps, onInputError, onChange, errorMessages, validationState, validationText } = props, restProps = __rest$1O(props, ["attachmentComponent", "maxFileSize", "maxUploadedFiles", "helperText", "iconName", "inputId", "inputLabel", "inputName", "inputProps", "isLabelHidden", "isDisabled", "isFluid", "queueLimitBehavior", "isMultiple", "isRequired", "labelText", "linkText", "listId", "listProps", "onInputError", "onChange", "errorMessages", "validationState", "validationText"]);
3995
4060
  const { fileQueue, addToQueue, clearQueue, onDismiss, findInQueue, updateQueue } = useFileQueue();
3996
4061
  React.useEffect(() => {
3997
4062
  if (onChange) {
@@ -4019,7 +4084,7 @@ const useFooterStyleProps = (props) => {
4019
4084
  };
4020
4085
  };
4021
4086
 
4022
- var __rest$1M = (undefined && undefined.__rest) || function (s, e) {
4087
+ var __rest$1N = (undefined && undefined.__rest) || function (s, e) {
4023
4088
  var t = {};
4024
4089
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4025
4090
  t[p] = s[p];
@@ -4032,23 +4097,25 @@ var __rest$1M = (undefined && undefined.__rest) || function (s, e) {
4032
4097
  };
4033
4098
  const defaultStyleProps = {
4034
4099
  backgroundColor: BackgroundColors.SECONDARY,
4100
+ elementType: 'footer',
4035
4101
  paddingBottom: PADDING_BOTTOM,
4036
4102
  paddingTop: PADDING_TOP,
4037
4103
  };
4038
4104
  const Footer = (props) => {
4039
4105
  const propsWithDefaults = Object.assign(Object.assign({}, defaultStyleProps), props);
4040
- const { children, backgroundColor } = propsWithDefaults, restProps = __rest$1M(propsWithDefaults, ["children", "backgroundColor"]);
4106
+ const { elementType: ElementTag = defaultStyleProps.elementType, children, backgroundColor } = propsWithDefaults, restProps = __rest$1N(propsWithDefaults, ["elementType", "children", "backgroundColor"]);
4041
4107
  const { classProps } = useFooterStyleProps({ backgroundColor });
4042
4108
  const { styleProps, props: otherProps } = useStyleProps(restProps, {
4043
4109
  paddingBottom: PaddingStyleProps.paddingBottom,
4044
4110
  paddingTop: PaddingStyleProps.paddingTop,
4045
4111
  textAlignment: TextStyleProps.textAlignment,
4046
4112
  });
4047
- return (React.createElement("footer", Object.assign({}, otherProps, styleProps, { className: classNames(classProps, styleProps.className) }), children));
4113
+ const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });
4114
+ return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));
4048
4115
  };
4049
4116
  Footer.spiritComponent = 'Footer';
4050
4117
 
4051
- var __rest$1L = (undefined && undefined.__rest) || function (s, e) {
4118
+ var __rest$1M = (undefined && undefined.__rest) || function (s, e) {
4052
4119
  var t = {};
4053
4120
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4054
4121
  t[p] = s[p];
@@ -4060,7 +4127,7 @@ var __rest$1L = (undefined && undefined.__rest) || function (s, e) {
4060
4127
  return t;
4061
4128
  };
4062
4129
  function useGridStyleProps(props) {
4063
- const { alignmentX, alignmentY, cols, spacing, spacingX, spacingY } = props, restProps = __rest$1L(props, ["alignmentX", "alignmentY", "cols", "spacing", "spacingX", "spacingY"]);
4130
+ const { alignmentX, alignmentY, cols, spacing, spacingX, spacingY } = props, restProps = __rest$1M(props, ["alignmentX", "alignmentY", "cols", "spacing", "spacingX", "spacingY"]);
4064
4131
  const gridClass = useClassNamePrefix('Grid');
4065
4132
  const gridStyle = Object.assign(Object.assign(Object.assign(Object.assign({}, useSpacingStyle(spacing, 'grid', exports.DirectionAxis.X)), useSpacingStyle(spacing, 'grid', exports.DirectionAxis.Y)), useSpacingStyle(spacingX, 'grid', exports.DirectionAxis.X)), useSpacingStyle(spacingY, 'grid', exports.DirectionAxis.Y));
4066
4133
  function generateColsClasses(componentClass, property, type) {
@@ -4087,7 +4154,7 @@ function useGridStyleProps(props) {
4087
4154
  };
4088
4155
  }
4089
4156
 
4090
- var __rest$1K = (undefined && undefined.__rest) || function (s, e) {
4157
+ var __rest$1L = (undefined && undefined.__rest) || function (s, e) {
4091
4158
  var t = {};
4092
4159
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4093
4160
  t[p] = s[p];
@@ -4098,20 +4165,22 @@ var __rest$1K = (undefined && undefined.__rest) || function (s, e) {
4098
4165
  }
4099
4166
  return t;
4100
4167
  };
4101
- const defaultProps$y = {
4168
+ const defaultProps$z = {
4102
4169
  alignmentX: AlignmentXExtended.STRETCH,
4103
4170
  alignmentY: AlignmentYExtended.STRETCH,
4104
4171
  elementType: 'div',
4105
4172
  };
4106
4173
  const Grid = (props) => {
4107
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$y), props);
4108
- const { elementType: ElementTag = 'div', children } = propsWithDefaults, restProps = __rest$1K(propsWithDefaults, ["elementType", "children"]);
4174
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$z), props);
4175
+ const { elementType: ElementTag = 'div', children } = propsWithDefaults, restProps = __rest$1L(propsWithDefaults, ["elementType", "children"]);
4109
4176
  const { classProps, props: modifiedProps, styleProps: gridStyle } = useGridStyleProps(restProps);
4110
4177
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
4111
4178
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps, gridStyle });
4112
4179
  return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));
4113
4180
  };
4114
4181
  Grid.spiritComponent = 'Grid';
4182
+ Grid.spiritDefaultElement = 'div';
4183
+ Grid.spiritDefaultProps = null;
4115
4184
 
4116
4185
  const setStyleProperty = (styleObject, propertyName, value) => {
4117
4186
  styleObject[propertyName] = value;
@@ -4133,22 +4202,23 @@ const setGridItemStyle = (styleObject, baseVarName, propValue) => {
4133
4202
  function useGridItemStyleProps(props) {
4134
4203
  const gridItemClass = useClassNamePrefix('GridItem');
4135
4204
  const gridItemStyle = {};
4136
- const typePropNames = Object.keys(props).filter((propName) => propName.startsWith('column') || propName.startsWith('row'));
4205
+ const propsClone = Object.assign({}, props);
4206
+ const typePropNames = Object.keys(propsClone).filter((propName) => propName.startsWith('column') || propName.startsWith('row'));
4137
4207
  typePropNames.forEach((propName) => {
4138
4208
  const type = propName.startsWith('column') ? 'column' : 'row';
4139
- if (props[propName]) {
4140
- setGridItemStyle(gridItemStyle, `grid-item-${type}-${propName.replace(type, '').toLowerCase()}`, props[propName]);
4209
+ if (propsClone[propName]) {
4210
+ setGridItemStyle(gridItemStyle, `grid-item-${type}-${propName.replace(type, '').toLowerCase()}`, propsClone[propName]);
4141
4211
  }
4142
- delete props[propName];
4212
+ delete propsClone[propName];
4143
4213
  });
4144
4214
  return {
4145
4215
  classProps: gridItemClass,
4146
- props,
4216
+ props: propsClone,
4147
4217
  styleProps: gridItemStyle,
4148
4218
  };
4149
4219
  }
4150
4220
 
4151
- var __rest$1J = (undefined && undefined.__rest) || function (s, e) {
4221
+ var __rest$1K = (undefined && undefined.__rest) || function (s, e) {
4152
4222
  var t = {};
4153
4223
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4154
4224
  t[p] = s[p];
@@ -4160,13 +4230,15 @@ var __rest$1J = (undefined && undefined.__rest) || function (s, e) {
4160
4230
  return t;
4161
4231
  };
4162
4232
  const GridItem = (props) => {
4163
- const { elementType: ElementTag = 'div', children } = props, restProps = __rest$1J(props, ["elementType", "children"]);
4233
+ const { elementType: ElementTag = 'div', children } = props, restProps = __rest$1K(props, ["elementType", "children"]);
4164
4234
  const { classProps, styleProps: gridItemStyle, props: modifiedProps } = useGridItemStyleProps(restProps);
4165
4235
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
4166
4236
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps, gridItemStyle });
4167
4237
  return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));
4168
4238
  };
4169
4239
  GridItem.spiritComponent = 'GridItem';
4240
+ GridItem.spiritDefaultElement = 'div';
4241
+ GridItem.spiritDefaultProps = null;
4170
4242
 
4171
4243
  const HEADER_COLOR_DEFAULT = 'primary';
4172
4244
  const HEADER_ACTIONS_COLOR_DEFAULT = 'primary';
@@ -4227,7 +4299,7 @@ const useHeaderStyleProps = ({ actionsColor = HEADER_ACTIONS_COLOR_DEFAULT, colo
4227
4299
  };
4228
4300
  };
4229
4301
 
4230
- var __rest$1I = (undefined && undefined.__rest) || function (s, e) {
4302
+ var __rest$1J = (undefined && undefined.__rest) || function (s, e) {
4231
4303
  var t = {};
4232
4304
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4233
4305
  t[p] = s[p];
@@ -4239,7 +4311,7 @@ var __rest$1I = (undefined && undefined.__rest) || function (s, e) {
4239
4311
  return t;
4240
4312
  };
4241
4313
  const Header = (props) => {
4242
- const { children, color = HEADER_COLOR_DEFAULT, isSimple } = props, restProps = __rest$1I(props, ["children", "color", "isSimple"]);
4314
+ const { children, color = HEADER_COLOR_DEFAULT, isSimple } = props, restProps = __rest$1J(props, ["children", "color", "isSimple"]);
4243
4315
  const { classProps } = useHeaderStyleProps({ color, isSimple });
4244
4316
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4245
4317
  useDeprecationMessage({
@@ -4260,7 +4332,7 @@ const HeaderButton = (props) => {
4260
4332
  };
4261
4333
  HeaderButton.spiritComponent = 'HeaderButton';
4262
4334
 
4263
- var __rest$1H = (undefined && undefined.__rest) || function (s, e) {
4335
+ var __rest$1I = (undefined && undefined.__rest) || function (s, e) {
4264
4336
  var t = {};
4265
4337
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4266
4338
  t[p] = s[p];
@@ -4271,12 +4343,12 @@ var __rest$1H = (undefined && undefined.__rest) || function (s, e) {
4271
4343
  }
4272
4344
  return t;
4273
4345
  };
4274
- const defaultProps$x = {
4346
+ const defaultProps$y = {
4275
4347
  isAtEnd: false,
4276
4348
  };
4277
4349
  const HeaderDesktopActions = (props) => {
4278
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$x), props);
4279
- const { isAtEnd } = propsWithDefaults, restProps = __rest$1H(propsWithDefaults, ["isAtEnd"]);
4350
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$y), props);
4351
+ const { isAtEnd } = propsWithDefaults, restProps = __rest$1I(propsWithDefaults, ["isAtEnd"]);
4280
4352
  const { classProps } = useHeaderStyleProps({ hasActionsAtEnd: isAtEnd });
4281
4353
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4282
4354
  return (React.createElement("nav", Object.assign({}, otherProps, { className: classNames(classProps.headerDesktopActions, styleProps.className), style: styleProps.style })));
@@ -4293,7 +4365,7 @@ const HeaderDialogProvider = HeaderDialogContext.Provider;
4293
4365
  const HeaderDialogConsumer = HeaderDialogContext.Consumer;
4294
4366
  const useHeaderDialogContext = () => React.useContext(HeaderDialogContext);
4295
4367
 
4296
- var __rest$1G = (undefined && undefined.__rest) || function (s, e) {
4368
+ var __rest$1H = (undefined && undefined.__rest) || function (s, e) {
4297
4369
  var t = {};
4298
4370
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4299
4371
  t[p] = s[p];
@@ -4305,7 +4377,7 @@ var __rest$1G = (undefined && undefined.__rest) || function (s, e) {
4305
4377
  return t;
4306
4378
  };
4307
4379
  const HeaderDialog = (props) => {
4308
- const { children, id, isOpen, onClose } = props, restProps = __rest$1G(props, ["children", "id", "isOpen", "onClose"]);
4380
+ const { children, id, isOpen, onClose } = props, restProps = __rest$1H(props, ["children", "id", "isOpen", "onClose"]);
4309
4381
  const { classProps } = useHeaderStyleProps();
4310
4382
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4311
4383
  const providerValue = { id, isOpen, onClose };
@@ -4317,7 +4389,7 @@ const HeaderDialog = (props) => {
4317
4389
  };
4318
4390
  HeaderDialog.spiritComponent = 'HeaderDialog';
4319
4391
 
4320
- var __rest$1F = (undefined && undefined.__rest) || function (s, e) {
4392
+ var __rest$1G = (undefined && undefined.__rest) || function (s, e) {
4321
4393
  var t = {};
4322
4394
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4323
4395
  t[p] = s[p];
@@ -4329,7 +4401,7 @@ var __rest$1F = (undefined && undefined.__rest) || function (s, e) {
4329
4401
  return t;
4330
4402
  };
4331
4403
  const HeaderDialogActions = (props) => {
4332
- const { color = HEADER_ACTIONS_COLOR_DEFAULT } = props, restProps = __rest$1F(props, ["color"]);
4404
+ const { color = HEADER_ACTIONS_COLOR_DEFAULT } = props, restProps = __rest$1G(props, ["color"]);
4333
4405
  const { classProps } = useHeaderStyleProps({ actionsColor: color });
4334
4406
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4335
4407
  return (React.createElement("nav", Object.assign({}, otherProps, { className: classNames(classProps.headerDialogActions, styleProps.className), style: styleProps.style })));
@@ -4343,7 +4415,7 @@ const HeaderDialogButton = (props) => {
4343
4415
  };
4344
4416
  HeaderDialogButton.spiritComponent = 'HeaderDialogButton';
4345
4417
 
4346
- var __rest$1E = (undefined && undefined.__rest) || function (s, e) {
4418
+ var __rest$1F = (undefined && undefined.__rest) || function (s, e) {
4347
4419
  var t = {};
4348
4420
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4349
4421
  t[p] = s[p];
@@ -4355,7 +4427,7 @@ var __rest$1E = (undefined && undefined.__rest) || function (s, e) {
4355
4427
  return t;
4356
4428
  };
4357
4429
  const HeaderDialogCloseButton = (props) => {
4358
- const { label = HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT, onClick } = props, restProps = __rest$1E(props, ["label", "onClick"]);
4430
+ const { label = HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT, onClick } = props, restProps = __rest$1F(props, ["label", "onClick"]);
4359
4431
  const { classProps } = useHeaderStyleProps();
4360
4432
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4361
4433
  const { id, isOpen, onClose } = useHeaderDialogContext();
@@ -4370,7 +4442,7 @@ const HeaderDialogCloseButton = (props) => {
4370
4442
  };
4371
4443
  HeaderDialogCloseButton.spiritComponent = 'HeaderDialogCloseButton';
4372
4444
 
4373
- var __rest$1D = (undefined && undefined.__rest) || function (s, e) {
4445
+ var __rest$1E = (undefined && undefined.__rest) || function (s, e) {
4374
4446
  var t = {};
4375
4447
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4376
4448
  t[p] = s[p];
@@ -4382,7 +4454,7 @@ var __rest$1D = (undefined && undefined.__rest) || function (s, e) {
4382
4454
  return t;
4383
4455
  };
4384
4456
  const _HeaderDialogLink = (props, ref) => {
4385
- const { elementType: ElementTag = 'a', children, isCurrent } = props, restProps = __rest$1D(props, ["elementType", "children", "isCurrent"]);
4457
+ const { elementType: ElementTag = 'a', children, isCurrent } = props, restProps = __rest$1E(props, ["elementType", "children", "isCurrent"]);
4386
4458
  const { classProps } = useHeaderStyleProps({ isCurrentLink: isCurrent });
4387
4459
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4388
4460
  const mergedStyleProps = mergeStyleProps(ElementTag, {
@@ -4416,7 +4488,7 @@ const HeaderDialogText = (props) => {
4416
4488
  };
4417
4489
  HeaderDialogText.spiritComponent = 'HeaderDialogText';
4418
4490
 
4419
- var __rest$1C = (undefined && undefined.__rest) || function (s, e) {
4491
+ var __rest$1D = (undefined && undefined.__rest) || function (s, e) {
4420
4492
  var t = {};
4421
4493
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4422
4494
  t[p] = s[p];
@@ -4428,7 +4500,7 @@ var __rest$1C = (undefined && undefined.__rest) || function (s, e) {
4428
4500
  return t;
4429
4501
  };
4430
4502
  const _HeaderLink = (props, ref) => {
4431
- const { elementType: ElementTag = 'a', children, isCurrent } = props, restProps = __rest$1C(props, ["elementType", "children", "isCurrent"]);
4503
+ const { elementType: ElementTag = 'a', children, isCurrent } = props, restProps = __rest$1D(props, ["elementType", "children", "isCurrent"]);
4432
4504
  const { classProps } = useHeaderStyleProps({ isCurrentLink: isCurrent });
4433
4505
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4434
4506
  const mergedStyleProps = mergeStyleProps(ElementTag, {
@@ -4441,7 +4513,7 @@ const _HeaderLink = (props, ref) => {
4441
4513
  const HeaderLink = React.forwardRef(_HeaderLink);
4442
4514
  HeaderLink.spiritComponent = 'HeaderLink';
4443
4515
 
4444
- var __rest$1B = (undefined && undefined.__rest) || function (s, e) {
4516
+ var __rest$1C = (undefined && undefined.__rest) || function (s, e) {
4445
4517
  var t = {};
4446
4518
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4447
4519
  t[p] = s[p];
@@ -4453,7 +4525,7 @@ var __rest$1B = (undefined && undefined.__rest) || function (s, e) {
4453
4525
  return t;
4454
4526
  };
4455
4527
  const HeaderMobileActions = (props) => {
4456
- const { children, dialogId, menuToggleLabel = HEADER_MENU_TOGGLE_LABEL_DEFAULT, isOpen, onOpen } = props, restProps = __rest$1B(props, ["children", "dialogId", "menuToggleLabel", "isOpen", "onOpen"]);
4528
+ const { children, dialogId, menuToggleLabel = HEADER_MENU_TOGGLE_LABEL_DEFAULT, isOpen, onOpen } = props, restProps = __rest$1C(props, ["children", "dialogId", "menuToggleLabel", "isOpen", "onOpen"]);
4457
4529
  const { classProps } = useHeaderStyleProps();
4458
4530
  const { styleProps, props: otherProps } = useStyleProps(restProps);
4459
4531
  return (React.createElement("div", Object.assign({}, otherProps, { className: classNames(classProps.headerMobileActions, styleProps.className), style: styleProps.style }),
@@ -4478,7 +4550,7 @@ const HeaderNavItem = (props) => {
4478
4550
  };
4479
4551
  HeaderNavItem.spiritComponent = 'HeaderNavItem';
4480
4552
 
4481
- var __rest$1A = (undefined && undefined.__rest) || function (s, e) {
4553
+ var __rest$1B = (undefined && undefined.__rest) || function (s, e) {
4482
4554
  var t = {};
4483
4555
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4484
4556
  t[p] = s[p];
@@ -4490,7 +4562,7 @@ var __rest$1A = (undefined && undefined.__rest) || function (s, e) {
4490
4562
  return t;
4491
4563
  };
4492
4564
  function useHeadingStyleProps(props) {
4493
- const { emphasis, size, textColor } = props, restProps = __rest$1A(props, ["emphasis", "size", "textColor"]);
4565
+ const { emphasis, size, textColor } = props, restProps = __rest$1B(props, ["emphasis", "size", "textColor"]);
4494
4566
  const headingClass = useClassNamePrefix('typography-heading');
4495
4567
  const headingTextColorClass = useClassNamePrefix(textColor ? `text-${textColor}` : '');
4496
4568
  const className = classNames(`${headingClass}-${size}-${emphasis}`, {
@@ -4502,7 +4574,7 @@ function useHeadingStyleProps(props) {
4502
4574
  };
4503
4575
  }
4504
4576
 
4505
- var __rest$1z = (undefined && undefined.__rest) || function (s, e) {
4577
+ var __rest$1A = (undefined && undefined.__rest) || function (s, e) {
4506
4578
  var t = {};
4507
4579
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4508
4580
  t[p] = s[p];
@@ -4513,13 +4585,13 @@ var __rest$1z = (undefined && undefined.__rest) || function (s, e) {
4513
4585
  }
4514
4586
  return t;
4515
4587
  };
4516
- const defaultProps$w = {
4588
+ const defaultProps$x = {
4517
4589
  emphasis: Emphasis.BOLD,
4518
4590
  size: SizesExtended.MEDIUM,
4519
4591
  };
4520
4592
  const Heading = (props) => {
4521
- const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$w), props);
4522
- const { elementType: ElementTag, children } = propsWithDefaults, restProps = __rest$1z(propsWithDefaults, ["elementType", "children"]);
4593
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$x), props);
4594
+ const { elementType: ElementTag, children } = propsWithDefaults, restProps = __rest$1A(propsWithDefaults, ["elementType", "children"]);
4523
4595
  const { classProps, props: modifiedProps } = useHeadingStyleProps(Object.assign({}, restProps));
4524
4596
  const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {
4525
4597
  isTextBalanced: HeadingStyleProps.isTextBalanced,
@@ -4532,6 +4604,32 @@ const Heading = (props) => {
4532
4604
  };
4533
4605
  Heading.spiritComponent = 'Heading';
4534
4606
 
4607
+ var __rest$1z = (undefined && undefined.__rest) || function (s, e) {
4608
+ var t = {};
4609
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4610
+ t[p] = s[p];
4611
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
4612
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
4613
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
4614
+ t[p[i]] = s[p[i]];
4615
+ }
4616
+ return t;
4617
+ };
4618
+ const defaultProps$w = {
4619
+ elementType: 'span',
4620
+ };
4621
+ const Hidden = (props) => {
4622
+ const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$w), props);
4623
+ const { elementType: ElementTag = 'span', children, on, from } = propsWithDefaults, restProps = __rest$1z(propsWithDefaults, ["elementType", "children", "on", "from"]);
4624
+ const stylePropsWithMapping = Object.assign(Object.assign({}, restProps), { hideOn: on || restProps.hideOn, hideFrom: from || restProps.hideFrom });
4625
+ const { styleProps, props: otherProps } = useStyleProps(stylePropsWithMapping);
4626
+ const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps });
4627
+ return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));
4628
+ };
4629
+ Hidden.spiritComponent = 'Hidden';
4630
+ Hidden.spiritDefaultElement = 'span';
4631
+ Hidden.spiritDefaultProps = null;
4632
+
4535
4633
  const IconBoxShapes = {
4536
4634
  ROUNDED: 'rounded',
4537
4635
  SQUARE: 'square',
@@ -4881,6 +4979,8 @@ const ModalBody = (_a) => {
4881
4979
  };
4882
4980
  ModalBody.spiritComponent = 'ModalBody';
4883
4981
 
4982
+ const MODAL_CLOSE_BUTTON_LABEL_DEFAULT = 'Close';
4983
+
4884
4984
  var __rest$1q = (undefined && undefined.__rest) || function (s, e) {
4885
4985
  var t = {};
4886
4986
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -4893,7 +4993,7 @@ var __rest$1q = (undefined && undefined.__rest) || function (s, e) {
4893
4993
  return t;
4894
4994
  };
4895
4995
  const ModalCloseButton = (_a) => {
4896
- var { label = 'Close', onClose, id, isOpen } = _a, restProps = __rest$1q(_a, ["label", "onClose", "id", "isOpen"]);
4996
+ var { label = MODAL_CLOSE_BUTTON_LABEL_DEFAULT, onClose, id, isOpen } = _a, restProps = __rest$1q(_a, ["label", "onClose", "id", "isOpen"]);
4897
4997
  return (React.createElement(Button, Object.assign({}, restProps, { isSymmetrical: true, color: "tertiary", onClick: onClose, "aria-expanded": isOpen, "aria-controls": id }),
4898
4998
  React.createElement(Icon, { name: "close" }),
4899
4999
  React.createElement(VisuallyHidden, null, label)));
@@ -4919,8 +5019,7 @@ const setCustomHeight = (baseVarName, propValue) => {
4919
5019
  var _a;
4920
5020
  const suffix = key === 'mobile' ? '' : `-${key}`;
4921
5021
  const propName = `--${baseVarName}${suffix}`;
4922
- acc[propName] = (_a = propValue[key]) === null || _a === void 0 ? void 0 : _a.toString();
4923
- return acc;
5022
+ return Object.assign(Object.assign({}, acc), { [propName]: (_a = propValue[key]) === null || _a === void 0 ? void 0 : _a.toString() });
4924
5023
  }, {});
4925
5024
  }
4926
5025
  const propName = `--${baseVarName}`;
@@ -4999,7 +5098,7 @@ const defaultProps$t = {
4999
5098
  };
5000
5099
  const ModalHeader = (props) => {
5001
5100
  const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$t), props);
5002
- const { children, closeLabel, hasCloseButton } = propsWithDefaults, restProps = __rest$1m(propsWithDefaults, ["children", "closeLabel", "hasCloseButton"]);
5101
+ const { children, closeLabel = MODAL_CLOSE_BUTTON_LABEL_DEFAULT, hasCloseButton } = propsWithDefaults, restProps = __rest$1m(propsWithDefaults, ["children", "closeLabel", "hasCloseButton"]);
5003
5102
  const { classProps } = useModalStyleProps();
5004
5103
  const { styleProps, props: otherProps } = useStyleProps(restProps);
5005
5104
  const { id, isOpen, onClose } = useModalContext();
@@ -5210,6 +5309,10 @@ const Pagination = (props) => {
5210
5309
  };
5211
5310
  Pagination.spiritComponent = 'Pagination';
5212
5311
 
5312
+ const PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL = 'Previous';
5313
+ const PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL = 'Next';
5314
+ const PAGINATION_LINK_DEFAULT_ACCESSIBILITY_LABEL_PREFIX = 'Go to page';
5315
+
5213
5316
  var __rest$1f = (undefined && undefined.__rest) || function (s, e) {
5214
5317
  var t = {};
5215
5318
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -5222,7 +5325,9 @@ var __rest$1f = (undefined && undefined.__rest) || function (s, e) {
5222
5325
  return t;
5223
5326
  };
5224
5327
  const _PaginationButtonLink = (props, ref) => {
5225
- const _a = props, { direction, accessibilityLabel } = _a, restProps = __rest$1f(_a, ["direction", "accessibilityLabel"]);
5328
+ const _a = props, { direction, accessibilityLabel = direction === 'previous'
5329
+ ? PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL
5330
+ : PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL } = _a, restProps = __rest$1f(_a, ["direction", "accessibilityLabel"]);
5226
5331
  const iconType = {
5227
5332
  previous: 'chevron-left',
5228
5333
  next: 'chevron-right',
@@ -5266,19 +5371,17 @@ var __rest$1d = (undefined && undefined.__rest) || function (s, e) {
5266
5371
  };
5267
5372
  const _PaginationLink = (props, ref) => {
5268
5373
  const { elementType: ElementTag = 'a', accessibilityLabel, isCurrent, pageNumber } = props, restProps = __rest$1d(props, ["elementType", "accessibilityLabel", "isCurrent", "pageNumber"]);
5374
+ const visuallyHiddenLabel = accessibilityLabel || `${PAGINATION_LINK_DEFAULT_ACCESSIBILITY_LABEL_PREFIX} ${pageNumber}`;
5269
5375
  const { classProps } = usePaginationStyleProps({ isCurrent });
5270
5376
  const { styleProps, props: otherProps } = useStyleProps(restProps);
5271
5377
  const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });
5272
- return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps, { ref: ref }),
5273
- React.createElement(VisuallyHidden, null, accessibilityLabel),
5378
+ return (React.createElement(ElementTag, Object.assign({}, (isCurrent && { 'aria-current': 'page' }), otherProps, mergedStyleProps, { ref: ref }),
5379
+ React.createElement(VisuallyHidden, null, visuallyHiddenLabel),
5274
5380
  React.createElement("span", { "aria-hidden": "true" }, pageNumber)));
5275
5381
  };
5276
5382
  const PaginationLink = React.forwardRef(_PaginationLink);
5277
5383
  PaginationLink.spiritComponent = 'PaginationLink';
5278
5384
 
5279
- const PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL = 'Previous';
5280
- const PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL = 'Next';
5281
-
5282
5385
  var __rest$1c = (undefined && undefined.__rest) || function (s, e) {
5283
5386
  var t = {};
5284
5387
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -5360,7 +5463,7 @@ var __rest$1a = (undefined && undefined.__rest) || function (s, e) {
5360
5463
  return t;
5361
5464
  };
5362
5465
  const UncontrolledPagination = (props) => {
5363
- const { accessibilityLabel, accessibilityLabelPrevious = 'Previous', accessibilityLabelNext = 'Next', defaultPage = 1, onChange, totalPages = 0, visiblePages = 5 } = props, rest = __rest$1a(props, ["accessibilityLabel", "accessibilityLabelPrevious", "accessibilityLabelNext", "defaultPage", "onChange", "totalPages", "visiblePages"]);
5466
+ const { accessibilityLabel = PAGINATION_LINK_DEFAULT_ACCESSIBILITY_LABEL_PREFIX, accessibilityLabelPrevious = PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL, accessibilityLabelNext = PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL, defaultPage = 1, onChange, totalPages = 0, visiblePages = 5 } = props, rest = __rest$1a(props, ["accessibilityLabel", "accessibilityLabelPrevious", "accessibilityLabelNext", "defaultPage", "onChange", "totalPages", "visiblePages"]);
5364
5467
  const { currentPage, pages, handlePageChange } = usePagination({
5365
5468
  defaultPage,
5366
5469
  onChange,
@@ -6148,18 +6251,20 @@ var __rest$U = (undefined && undefined.__rest) || function (s, e) {
6148
6251
  return t;
6149
6252
  };
6150
6253
  function useRadioStyleProps(props) {
6151
- const { isItem, validationState, isLabelHidden } = props, restProps = __rest$U(props, ["isItem", "validationState", "isLabelHidden"]);
6254
+ const { inputPosition = InputPositions.START, isItem, isLabelHidden, validationState } = props, restProps = __rest$U(props, ["inputPosition", "isItem", "isLabelHidden", "validationState"]);
6152
6255
  const { isDisabled } = restProps;
6153
6256
  const radioClass = useClassNamePrefix('Radio');
6154
6257
  const radioDisabledClass = `${radioClass}--disabled`;
6155
6258
  const radioItemClass = `${radioClass}--item`;
6156
6259
  const radioInputClass = `${radioClass}__input`;
6260
+ const radioInputPositionClass = useInputPositionClass(radioClass, inputPosition);
6157
6261
  const radioLabelClass = `${radioClass}__label`;
6158
6262
  const radioLabelHiddenClass = `${radioClass}__label--hidden`;
6159
6263
  const radioTextClass = `${radioClass}__text`;
6160
6264
  const radioHelperTextClass = `${radioClass}__helperText`;
6161
6265
  const radioValidationClass = `${radioClass}--${validationState}`;
6162
6266
  const rootStyles = classNames(radioClass, {
6267
+ [radioInputPositionClass]: radioInputPositionClass,
6163
6268
  [radioDisabledClass]: isDisabled,
6164
6269
  [radioItemClass]: isItem,
6165
6270
  [radioValidationClass]: validationState,
@@ -6207,6 +6312,7 @@ Radio.spiritComponent = 'Radio';
6207
6312
 
6208
6313
  const DEBOUNCE_DELAY = 50;
6209
6314
  const EDGE_DETECTION_INACCURACY_PX = 1;
6315
+ const SCROLL_CANCEL_DELAY = 10;
6210
6316
  const SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END = 'Scroll right';
6211
6317
  const SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START = 'Scroll left';
6212
6318
  const SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END = 'Scroll down';
@@ -6214,6 +6320,43 @@ const SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START = 'Scroll up';
6214
6320
  const SCROLL_VIEW_DEFAULT_DIRECTION = Direction.VERTICAL;
6215
6321
  const SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR = 'shadows';
6216
6322
 
6323
+ const useScrollCallback = ({ viewportRef, direction }) => {
6324
+ const scrollTimeoutRef = React.useRef(null);
6325
+ React.useEffect(() => () => {
6326
+ if (scrollTimeoutRef.current) {
6327
+ clearTimeout(scrollTimeoutRef.current);
6328
+ }
6329
+ }, []);
6330
+ const handleScroll = React.useCallback((step) => {
6331
+ if (!viewportRef.current) {
6332
+ return;
6333
+ }
6334
+ const isHorizontal = isDirectionHorizontal(direction);
6335
+ const scrollToDirection = isHorizontal ? Position.LEFT : Position.TOP;
6336
+ const currentScrollPosition = isHorizontal ? viewportRef.current.scrollLeft : viewportRef.current.scrollTop;
6337
+ const maxScroll = isHorizontal
6338
+ ? viewportRef.current.scrollWidth - viewportRef.current.clientWidth
6339
+ : viewportRef.current.scrollHeight - viewportRef.current.clientHeight;
6340
+ viewportRef.current.scrollTo({
6341
+ [scrollToDirection]: currentScrollPosition,
6342
+ behavior: 'auto',
6343
+ });
6344
+ if (scrollTimeoutRef.current) {
6345
+ clearTimeout(scrollTimeoutRef.current);
6346
+ }
6347
+ const targetPosition = Math.max(0, Math.min(currentScrollPosition + step, maxScroll));
6348
+ scrollTimeoutRef.current = setTimeout(() => {
6349
+ if (viewportRef.current) {
6350
+ viewportRef.current.scrollTo({
6351
+ [scrollToDirection]: targetPosition,
6352
+ behavior: 'smooth',
6353
+ });
6354
+ }
6355
+ }, SCROLL_CANCEL_DELAY);
6356
+ }, [viewportRef, direction]);
6357
+ return { handleScroll };
6358
+ };
6359
+
6217
6360
  const getDefaultArrowLabels = (isHorizontal) => isHorizontal
6218
6361
  ? {
6219
6362
  start: SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START,
@@ -6297,14 +6440,7 @@ const ScrollViewArrows = (props) => {
6297
6440
  const mergedStyleProps = mergeStyleProps('button', { classProps: classProps.arrows, styleProps });
6298
6441
  const isHorizontal = isDirectionHorizontal(direction);
6299
6442
  const { arrows } = useScrollViewArrows(isHorizontal, ariaLabelArrows, scrollStep);
6300
- const handleScroll = (step) => {
6301
- var _a;
6302
- const scrollToDirection = isHorizontal ? 'left' : 'top';
6303
- (_a = viewportRef.current) === null || _a === void 0 ? void 0 : _a.scrollBy({
6304
- [scrollToDirection]: step,
6305
- behavior: 'smooth',
6306
- });
6307
- };
6443
+ const { handleScroll } = useScrollCallback({ viewportRef, direction });
6308
6444
  return (React.createElement("div", Object.assign({}, otherProps, mergedStyleProps), arrows.map(({ icon, label, step }) => (React.createElement(ControlButton, { key: icon, "aria-label": label, onClick: () => handleScroll(step), size: "small", isSymmetrical: true },
6309
6445
  React.createElement(Icon, { name: icon }))))));
6310
6446
  };
@@ -7012,6 +7148,8 @@ const SplitButton = (props) => {
7012
7148
  React.createElement("div", Object.assign({}, styleProps, otherProps, { className: classNames(classProps, styleProps.className) }), children)));
7013
7149
  };
7014
7150
 
7151
+ const UNCONTROLLED_SPLIT_BUTTON_DROPDOWN_TRIGGER_LABEL_DEFAULT = 'More';
7152
+
7015
7153
  var __rest$B = (undefined && undefined.__rest) || function (s, e) {
7016
7154
  var t = {};
7017
7155
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -7026,6 +7164,7 @@ var __rest$B = (undefined && undefined.__rest) || function (s, e) {
7026
7164
  const defaultProps$a = {
7027
7165
  dropdownPlacement: 'bottom-end',
7028
7166
  dropdownTriggerIconName: 'chevron-down',
7167
+ dropdownTriggerLabel: UNCONTROLLED_SPLIT_BUTTON_DROPDOWN_TRIGGER_LABEL_DEFAULT,
7029
7168
  };
7030
7169
  const UncontrolledSplitButton = (props) => {
7031
7170
  const propsWithDefaults = Object.assign(Object.assign({}, defaultProps$a), props);
@@ -7435,6 +7574,9 @@ function useTextFieldBaseStyleProps(props) {
7435
7574
  };
7436
7575
  }
7437
7576
 
7577
+ const TEXT_FIELD_BASE_PASSWORD_TOGGLE_SHOW_LABEL_DEFAULT = 'Show password';
7578
+ const TEXT_FIELD_BASE_PASSWORD_TOGGLE_HIDE_LABEL_DEFAULT = 'Hide password';
7579
+
7438
7580
  function useTextFieldBasePasswordToggleStyleProps() {
7439
7581
  const TextFieldBaseClass = useClassNamePrefix('TextField');
7440
7582
  const TextFieldBasePasswordToggleClass = `${TextFieldBaseClass}__passwordToggle`;
@@ -7452,9 +7594,12 @@ function useTextFieldBasePasswordToggleStyleProps() {
7452
7594
  const TextFieldBasePasswordToggle = (props) => {
7453
7595
  const { children, isPasswordShown, onToggleClick, isDisabled, size } = props;
7454
7596
  const { classProps } = useTextFieldBasePasswordToggleStyleProps();
7597
+ const ariaLabel = isPasswordShown
7598
+ ? TEXT_FIELD_BASE_PASSWORD_TOGGLE_HIDE_LABEL_DEFAULT
7599
+ : TEXT_FIELD_BASE_PASSWORD_TOGGLE_SHOW_LABEL_DEFAULT;
7455
7600
  return (React.createElement("div", { className: classProps.passwordToggle },
7456
7601
  children,
7457
- React.createElement("button", { className: classProps.passwordToggleButton, type: "button", role: "switch", "aria-checked": !!isPasswordShown, "aria-label": `${isPasswordShown ? 'Hide' : 'Show'} password`, onClick: () => onToggleClick(), disabled: isDisabled },
7602
+ React.createElement("button", { className: classProps.passwordToggleButton, type: "button", role: "switch", "aria-checked": !!isPasswordShown, "aria-label": ariaLabel, onClick: () => onToggleClick(), disabled: isDisabled },
7458
7603
  React.createElement("span", { className: classProps.passwordToggleIcon },
7459
7604
  React.createElement(Icon, { name: `visibility-${isPasswordShown ? 'off' : 'on'}`, boxSize: size === Sizes.SMALL ? 16 : 20 })))));
7460
7605
  };
@@ -8002,7 +8147,7 @@ var __rest$7 = (undefined && undefined.__rest) || function (s, e) {
8002
8147
  return t;
8003
8148
  };
8004
8149
  const UncontrolledToast = (props) => {
8005
- const { alignmentX, alignmentY, isCollapsible, closeLabel } = props, restProps = __rest$7(props, ["alignmentX", "alignmentY", "isCollapsible", "closeLabel"]);
8150
+ const { alignmentX, alignmentY, isCollapsible, closeLabel = TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT } = props, restProps = __rest$7(props, ["alignmentX", "alignmentY", "isCollapsible", "closeLabel"]);
8006
8151
  const { hide, queue } = useToast();
8007
8152
  return (React.createElement(Toast, { alignmentX: alignmentX, alignmentY: alignmentY, isCollapsible: isCollapsible }, queue.map((item) => {
8008
8153
  const { color, iconName, id, isOpen, content, hasIcon, isDismissible, linkProps } = item;
@@ -8025,7 +8170,7 @@ var __rest$6 = (undefined && undefined.__rest) || function (s, e) {
8025
8170
  return t;
8026
8171
  };
8027
8172
  function useToggleStyleProps(props) {
8028
- const { isRequired = false, isFluid = false, isDisabled = false, isLabelHidden = false, validationState, hasIndicators = false } = props, restProps = __rest$6(props, ["isRequired", "isFluid", "isDisabled", "isLabelHidden", "validationState", "hasIndicators"]);
8173
+ const { hasIndicators = false, inputPosition = InputPositions.END, isDisabled = false, isFluid = false, isLabelHidden = false, isRequired = false, validationState } = props, restProps = __rest$6(props, ["hasIndicators", "inputPosition", "isDisabled", "isFluid", "isLabelHidden", "isRequired", "validationState"]);
8029
8174
  const toggleClass = useClassNamePrefix('Toggle');
8030
8175
  const toggleFluidClass = `${toggleClass}--fluid`;
8031
8176
  const toggleDisabledClass = `${toggleClass}--disabled`;
@@ -8036,9 +8181,11 @@ function useToggleStyleProps(props) {
8036
8181
  const toggleRequiredClass = `${toggleLabelClass}--required`;
8037
8182
  const toggleInputClass = `${toggleClass}__input`;
8038
8183
  const toggleInputIndicatorsClass = `${toggleInputClass}--indicators`;
8184
+ const toggleInputPositionClass = useInputPositionClass(toggleClass, inputPosition);
8039
8185
  const toggleHelperTextClass = `${toggleClass}__helperText`;
8040
8186
  const toggleValidationTextClass = `${toggleClass}__validationText`;
8041
8187
  const rootClass = classNames(toggleClass, {
8188
+ [toggleInputPositionClass]: toggleInputPositionClass,
8042
8189
  [toggleFluidClass]: isFluid,
8043
8190
  [toggleDisabledClass]: isDisabled,
8044
8191
  [toggleValidationClass]: validationState,
@@ -8315,6 +8462,7 @@ exports.Container = Container;
8315
8462
  exports.ContainerTokenSizes = ContainerTokenSizes;
8316
8463
  exports.ControlButton = ControlButton;
8317
8464
  exports.DEBOUNCE_DELAY = DEBOUNCE_DELAY;
8465
+ exports.DEFAULT_ATTACHMENT_LIST_LABEL = DEFAULT_ATTACHMENT_LIST_LABEL;
8318
8466
  exports.DEFAULT_BUTTON_LABEL = DEFAULT_BUTTON_LABEL;
8319
8467
  exports.DEFAULT_EDIT_BUTTON_LABEL = DEFAULT_EDIT_BUTTON_LABEL;
8320
8468
  exports.DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE = DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE;
@@ -8381,6 +8529,7 @@ exports.HeaderNavItem = HeaderNavItem;
8381
8529
  exports.Heading = Heading;
8382
8530
  exports.HeadingStyleProps = HeadingStyleProps;
8383
8531
  exports.HelperText = HelperText;
8532
+ exports.Hidden = Hidden;
8384
8533
  exports.ICON_BOX_SIZE = ICON_BOX_SIZE;
8385
8534
  exports.IMAGE_DIMENSION = IMAGE_DIMENSION;
8386
8535
  exports.IMAGE_PREVIEW_BASE64_MAX_WIDTH = IMAGE_PREVIEW_BASE64_MAX_WIDTH;
@@ -8388,6 +8537,7 @@ exports.Icon = Icon;
8388
8537
  exports.IconBox = IconBox;
8389
8538
  exports.IconsConsumer = IconsConsumer;
8390
8539
  exports.IconsProvider = IconsProvider;
8540
+ exports.InputPositions = InputPositions;
8391
8541
  exports.Intensity = Intensity;
8392
8542
  exports.Item = Item;
8393
8543
  exports.Label = Label;
@@ -8408,6 +8558,7 @@ exports.NavigationAvatar = NavigationAvatar;
8408
8558
  exports.NavigationItem = NavigationItem;
8409
8559
  exports.NoSsr = NoSsr;
8410
8560
  exports.ObjectFit = ObjectFit;
8561
+ exports.PAGINATION_LINK_DEFAULT_ACCESSIBILITY_LABEL_PREFIX = PAGINATION_LINK_DEFAULT_ACCESSIBILITY_LABEL_PREFIX;
8411
8562
  exports.PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL = PAGINATION_NEXT_LINK_DEFAULT_ACCESSIBILITY_LABEL;
8412
8563
  exports.PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL = PAGINATION_PREVIOUS_LINK_DEFAULT_ACCESSIBILITY_LABEL;
8413
8564
  exports.PaddingStyleProps = PaddingStyleProps;
@@ -8430,6 +8581,7 @@ exports.ProductLogo = ProductLogo;
8430
8581
  exports.PropsConsumer = PropsConsumer;
8431
8582
  exports.PropsProvider = PropsProvider;
8432
8583
  exports.Radio = Radio;
8584
+ exports.SCROLL_CANCEL_DELAY = SCROLL_CANCEL_DELAY;
8433
8585
  exports.SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END = SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END;
8434
8586
  exports.SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START = SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START;
8435
8587
  exports.SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END = SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END;
@@ -8590,7 +8742,6 @@ exports.useDefaultResponsiveRowsStyle = useDefaultResponsiveRowsStyle;
8590
8742
  exports.useDeprecationMessage = useDeprecationMessage;
8591
8743
  exports.useDialog = useDialog;
8592
8744
  exports.useDimensionStyle = useDimensionStyle;
8593
- exports.useDirectionClass = useDirectionClass;
8594
8745
  exports.useDividerStyleProps = useDividerStyleProps;
8595
8746
  exports.useDragAndDrop = useDragAndDrop;
8596
8747
  exports.useDrawerContext = useDrawerContext;
@@ -8613,6 +8764,7 @@ exports.useIconBoxColors = useIconBoxColors;
8613
8764
  exports.useIconBoxStyleProps = useIconBoxStyleProps;
8614
8765
  exports.useIconName = useIconName;
8615
8766
  exports.useIconStyleProps = useIconStyleProps;
8767
+ exports.useInputPositionClass = useInputPositionClass;
8616
8768
  exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect;
8617
8769
  exports.useItemStyleProps = useItemStyleProps;
8618
8770
  exports.useLastActiveFocus = useLastActiveFocus;
@@ -8630,6 +8782,7 @@ exports.usePricingPlanStyleProps = usePricingPlanStyleProps;
8630
8782
  exports.usePropsContext = usePropsContext;
8631
8783
  exports.useRadioStyleProps = useRadioStyleProps;
8632
8784
  exports.useResizeObserver = useResizeObserver;
8785
+ exports.useScrollCallback = useScrollCallback;
8633
8786
  exports.useScrollControl = useScrollControl;
8634
8787
  exports.useScrollPosition = useScrollPosition;
8635
8788
  exports.useScrollViewArrows = useScrollViewArrows;
@@ -8646,6 +8799,7 @@ exports.useSpacingStyle = useSpacingStyle;
8646
8799
  exports.useSpinnerStyleProps = useSpinnerStyleProps;
8647
8800
  exports.useSplitButtonStyleProps = useSplitButtonStyleProps;
8648
8801
  exports.useStyleProps = useStyleProps;
8802
+ exports.useSymmetry = useSymmetry;
8649
8803
  exports.useTab = useTab;
8650
8804
  exports.useTabContext = useTabContext;
8651
8805
  exports.useTabsStyleProps = useTabsStyleProps;