@lumx/react 3.7.5 → 3.7.6-alpha.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 (29) hide show
  1. package/index.d.ts +76 -12
  2. package/index.js +1466 -718
  3. package/index.js.map +1 -1
  4. package/package.json +3 -3
  5. package/src/components/image-block/ImageBlock.tsx +13 -42
  6. package/src/components/image-block/ImageCaption.tsx +73 -0
  7. package/src/components/image-block/constants.ts +11 -0
  8. package/src/components/image-lightbox/ImageLightbox.stories.tsx +163 -0
  9. package/src/components/image-lightbox/ImageLightbox.test.tsx +252 -0
  10. package/src/components/image-lightbox/ImageLightbox.tsx +72 -0
  11. package/src/components/image-lightbox/constants.ts +11 -0
  12. package/src/components/image-lightbox/index.ts +2 -0
  13. package/src/components/image-lightbox/internal/ImageSlide.tsx +99 -0
  14. package/src/components/image-lightbox/internal/ImageSlideshow.tsx +158 -0
  15. package/src/components/image-lightbox/internal/useAnimateScroll.ts +55 -0
  16. package/src/components/image-lightbox/internal/usePointerZoom.ts +148 -0
  17. package/src/components/image-lightbox/types.ts +49 -0
  18. package/src/components/image-lightbox/useImageLightbox.tsx +122 -0
  19. package/src/components/lightbox/Lightbox.tsx +13 -12
  20. package/src/components/thumbnail/useFocusPointStyle.tsx +3 -4
  21. package/src/hooks/useElementSizeDependentOfWindowSize.ts +32 -0
  22. package/src/hooks/useImageSize.ts +17 -0
  23. package/src/index.ts +1 -0
  24. package/src/utils/findImage.tsx +3 -0
  25. package/src/utils/getPrefersReducedMotion.ts +6 -0
  26. package/src/utils/startViewTransition.ts +54 -0
  27. package/src/utils/type.ts +15 -0
  28. package/src/utils/unref.ts +6 -0
  29. package/src/hooks/useOnResize.ts +0 -41
package/index.js CHANGED
@@ -6,7 +6,7 @@ import noop from 'lodash/noop';
6
6
  import get from 'lodash/get';
7
7
  import isFunction from 'lodash/isFunction';
8
8
  import last from 'lodash/last';
9
- import { createPortal } from 'react-dom';
9
+ import ReactDOM, { createPortal } from 'react-dom';
10
10
  import pull from 'lodash/pull';
11
11
  import concat from 'lodash/concat';
12
12
  import dropRight from 'lodash/dropRight';
@@ -17,9 +17,10 @@ import memoize from 'lodash/memoize';
17
17
  import castArray from 'lodash/castArray';
18
18
  import pick from 'lodash/pick';
19
19
  import isInteger from 'lodash/isInteger';
20
- import isObject from 'lodash/isObject';
20
+ import throttle from 'lodash/throttle';
21
21
  import take from 'lodash/take';
22
22
  import uniqueId from 'lodash/uniqueId';
23
+ import isObject from 'lodash/isObject';
23
24
  import range from 'lodash/range';
24
25
  import chunk from 'lodash/chunk';
25
26
  import set from 'lodash/set';
@@ -341,7 +342,7 @@ var classnames = createCommonjsModule(function (module) {
341
342
  }());
342
343
  });
343
344
 
344
- const mdiAlert='M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z';const mdiAlertCircle='M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiArrowDown='M11 4h2v12l5.5-5.5 1.42 1.42L12 19.84l-7.92-7.92L5.5 10.5 11 16z';const mdiArrowUp='M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z';const mdiCheck='M21 7 9 19l-5.5-5.5 1.41-1.41L9 16.17 19.59 5.59z';const mdiCheckCircle='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z';const mdiChevronDown='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z';const mdiChevronLeft='M15.41 16.58 10.83 12l4.58-4.59L14 6l-6 6 6 6z';const mdiChevronRight='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z';const mdiChevronUp='M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z';const mdiClose='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z';const mdiCloseCircle='M12 2a10 10 0 1 1 0 20 10 10 0 1 1 0-20m3.59 5L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z';const mdiDragVertical='M9 3h2v2H9zm4 0h2v2h-2zM9 7h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2z';const mdiImageBroken='M19 3a2 2 0 0 1 2 2v6h-2v2h-2v2h-2v2h-2v2h-2v2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 12v4a2 2 0 0 1-2 2h-4v-2h2v-2h2v-2zm-2-6.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H11v-1h2v-2h2v-2h2V9h2z';const mdiInformation='M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiMenuDown='m7 10 5 5 5-5z';const mdiPauseCircleOutline='M13 16V8h2v8zm-4 0V8h2v8zm3-14a10 10 0 0 1 10 10 10 10 0 0 1-10 10A10 10 0 0 1 2 12 10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8';const mdiPlayCircleOutline='M12 20a8.01 8.01 0 0 1 0-16 8.01 8.01 0 0 1 0 16m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m-2 14.5 6-4.5-6-4.5z';const mdiRadioboxBlank='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiRadioboxMarked='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 5a5 5 0 0 0-5 5 5 5 0 0 0 5 5 5 5 0 0 0 5-5 5 5 0 0 0-5-5';
345
+ const mdiAlert='M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z';const mdiAlertCircle='M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiArrowDown='M11 4h2v12l5.5-5.5 1.42 1.42L12 19.84l-7.92-7.92L5.5 10.5 11 16z';const mdiArrowUp='M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z';const mdiCheck='M21 7 9 19l-5.5-5.5 1.41-1.41L9 16.17 19.59 5.59z';const mdiCheckCircle='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z';const mdiChevronDown='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z';const mdiChevronLeft='M15.41 16.58 10.83 12l4.58-4.59L14 6l-6 6 6 6z';const mdiChevronRight='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z';const mdiChevronUp='M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z';const mdiClose='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z';const mdiCloseCircle='M12 2a10 10 0 1 1 0 20 10 10 0 1 1 0-20m3.59 5L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z';const mdiDragVertical='M9 3h2v2H9zm4 0h2v2h-2zM9 7h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2z';const mdiImageBroken='M19 3a2 2 0 0 1 2 2v6h-2v2h-2v2h-2v2h-2v2h-2v2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 12v4a2 2 0 0 1-2 2h-4v-2h2v-2h2v-2zm-2-6.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H11v-1h2v-2h2v-2h2V9h2z';const mdiInformation='M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiMagnifyMinusOutline='M15.5 14h-.79l-.28-.27A6.5 6.5 0 0 0 16 9.5 6.5 6.5 0 0 0 9.5 3 6.5 6.5 0 0 0 3 9.5 6.5 6.5 0 0 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5zm-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7z';const mdiMagnifyPlusOutline='m15.5 14 5 5-1.5 1.5-5-5v-.79l-.27-.28A6.5 6.5 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3 6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27zm-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2z';const mdiMenuDown='m7 10 5 5 5-5z';const mdiPauseCircleOutline='M13 16V8h2v8zm-4 0V8h2v8zm3-14a10 10 0 0 1 10 10 10 10 0 0 1-10 10A10 10 0 0 1 2 12 10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8';const mdiPlayCircleOutline='M12 20a8.01 8.01 0 0 1 0-16 8.01 8.01 0 0 1 0 16m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m-2 14.5 6-4.5-6-4.5z';const mdiRadioboxBlank='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiRadioboxMarked='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 5a5 5 0 0 0-5 5 5 5 0 0 0 5 5 5 5 0 0 0 5-5 5 5 0 0 0-5-5';
345
346
 
346
347
  var IDX=256, HEX=[], SIZE=256, BUFFER;
347
348
  while (IDX--) HEX[IDX] = (IDX + 256).toString(16).substring(1);
@@ -1255,6 +1256,18 @@ const isComponentType = type => node => /*#__PURE__*/React.isValidElement(node)
1255
1256
  * @example ComponentRef<Button> => React.Ref<HTMLButtonElement
1256
1257
  */
1257
1258
 
1259
+ /**
1260
+ * Rectangle size
1261
+ */
1262
+
1263
+ /**
1264
+ * Maybe a HTMLElement or a React ref of a HTMLElement
1265
+ */
1266
+
1267
+ /**
1268
+ * A point coordinate in 2D space
1269
+ */
1270
+
1258
1271
  const _excluded$6 = ["linkAs"];
1259
1272
  /**
1260
1273
  * Render link with default <a> HTML component or a custom one provided by `linkAs`.
@@ -7641,7 +7654,65 @@ Icon.displayName = COMPONENT_NAME$w;
7641
7654
  Icon.className = CLASSNAME$t;
7642
7655
  Icon.defaultProps = DEFAULT_PROPS$p;
7643
7656
 
7657
+ /**
7658
+ * Component display name.
7659
+ */
7660
+ const COMPONENT_NAME$x = 'ImageBlock';
7661
+
7662
+ /**
7663
+ * Component default class name and class prefix.
7664
+ */
7665
+ const CLASSNAME$u = getRootClassName(COMPONENT_NAME$x);
7666
+
7667
+ /** Internal component used to render image captions */
7668
+ const ImageCaption = props => {
7669
+ const {
7670
+ theme,
7671
+ as = 'figcaption',
7672
+ title,
7673
+ description,
7674
+ tags,
7675
+ captionStyle,
7676
+ align
7677
+ } = props;
7678
+ if (!title && !description && !tags) return null;
7679
+ const titleColor = theme === 'dark' ? {
7680
+ color: 'light'
7681
+ } : undefined;
7682
+ const descriptionColor = theme === 'dark' ? {
7683
+ color: 'light',
7684
+ colorVariant: 'L2'
7685
+ } : undefined;
7686
+
7687
+ // Display description as string or HTML
7688
+ const descriptionContent = typeof description === 'string' ? {
7689
+ children: description
7690
+ } : {
7691
+ dangerouslySetInnerHTML: description
7692
+ };
7693
+ return /*#__PURE__*/React.createElement(FlexBox, {
7694
+ as: as,
7695
+ className: `${CLASSNAME$u}__wrapper`,
7696
+ style: captionStyle,
7697
+ orientation: "horizontal",
7698
+ vAlign: align
7699
+ }, (title || description) && /*#__PURE__*/React.createElement("div", {
7700
+ className: `${CLASSNAME$u}__caption`
7701
+ }, title && /*#__PURE__*/React.createElement(Text, _extends({
7702
+ as: "span",
7703
+ className: `${CLASSNAME$u}__title`
7704
+ }, titleColor), title), title && description && '\u00A0', description && /*#__PURE__*/React.createElement(Text, _extends({
7705
+ as: "span",
7706
+ className: `${CLASSNAME$u}__description`
7707
+ }, descriptionColor, descriptionContent))), tags && /*#__PURE__*/React.createElement(FlexBox, {
7708
+ orientation: "horizontal",
7709
+ vAlign: align,
7710
+ className: `${CLASSNAME$u}__tags`
7711
+ }, tags));
7712
+ };
7713
+
7644
7714
  const _excluded$y = ["actions", "align", "alt", "captionPosition", "captionStyle", "className", "description", "fillHeight", "image", "size", "tags", "theme", "thumbnailProps", "title"];
7715
+
7645
7716
  /**
7646
7717
  * Image block variants.
7647
7718
  */
@@ -7658,16 +7729,6 @@ const ImageBlockCaptionPosition = {
7658
7729
  * Defines the props of the component.
7659
7730
  */
7660
7731
 
7661
- /**
7662
- * Component display name.
7663
- */
7664
- const COMPONENT_NAME$x = 'ImageBlock';
7665
-
7666
- /**
7667
- * Component default class name and class prefix.
7668
- */
7669
- const CLASSNAME$u = getRootClassName(COMPONENT_NAME$x);
7670
-
7671
7732
  /**
7672
7733
  * Component default props.
7673
7734
  */
@@ -7720,24 +7781,13 @@ const ImageBlock = /*#__PURE__*/forwardRef((props, ref) => {
7720
7781
  size: size,
7721
7782
  theme: theme,
7722
7783
  alt: alt || title
7723
- })), (title || description || tags) && /*#__PURE__*/React.createElement("figcaption", {
7724
- className: `${CLASSNAME$u}__wrapper`,
7725
- style: captionStyle
7726
- }, (title || description) && /*#__PURE__*/React.createElement("div", {
7727
- className: `${CLASSNAME$u}__caption`
7728
- }, title && /*#__PURE__*/React.createElement("span", {
7729
- className: `${CLASSNAME$u}__title`
7730
- }, title), title && description && '\u00A0', isObject(description) && description.__html ?
7731
- /*#__PURE__*/
7732
- // eslint-disable-next-line react/no-danger
7733
- React.createElement("span", {
7734
- dangerouslySetInnerHTML: description,
7735
- className: `${CLASSNAME$u}__description`
7736
- }) : /*#__PURE__*/React.createElement("span", {
7737
- className: `${CLASSNAME$u}__description`
7738
- }, description)), tags && /*#__PURE__*/React.createElement("div", {
7739
- className: `${CLASSNAME$u}__tags`
7740
- }, tags)), actions && /*#__PURE__*/React.createElement("div", {
7784
+ })), /*#__PURE__*/React.createElement(ImageCaption, {
7785
+ title: title,
7786
+ description: description,
7787
+ tags: tags,
7788
+ captionStyle: captionStyle,
7789
+ align: align
7790
+ }), actions && /*#__PURE__*/React.createElement("div", {
7741
7791
  className: `${CLASSNAME$u}__actions`
7742
7792
  }, actions));
7743
7793
  });
@@ -7745,16 +7795,10 @@ ImageBlock.displayName = COMPONENT_NAME$x;
7745
7795
  ImageBlock.className = CLASSNAME$u;
7746
7796
  ImageBlock.defaultProps = DEFAULT_PROPS$q;
7747
7797
 
7748
- const _excluded$z = ["className", "color", "colorVariant", "typography", "children", "wrap"];
7749
-
7750
- /**
7751
- * Defines the props of the component.
7752
- */
7753
-
7754
7798
  /**
7755
7799
  * Component display name.
7756
7800
  */
7757
- const COMPONENT_NAME$y = 'InlineList';
7801
+ const COMPONENT_NAME$y = 'ImageLightbox';
7758
7802
 
7759
7803
  /**
7760
7804
  * Component default class name and class prefix.
@@ -7762,183 +7806,692 @@ const COMPONENT_NAME$y = 'InlineList';
7762
7806
  const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
7763
7807
 
7764
7808
  /**
7765
- * Component default props.
7766
- */
7767
- const DEFAULT_PROPS$r = {};
7768
-
7769
- /**
7770
- * InlineList component.
7809
+ * Observe element size (only works if it's size depends on the window size).
7771
7810
  *
7772
- * @param props Component props.
7773
- * @param ref Component ref.
7774
- * @return React element.
7811
+ * (Not using ResizeObserver for better browser backward compat)
7812
+ *
7813
+ * @param elementRef Element to observe
7814
+ * @return the size and a manual update callback
7775
7815
  */
7776
- const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
7777
- const {
7778
- className,
7779
- color,
7780
- colorVariant,
7781
- typography,
7782
- children,
7783
- wrap
7784
- } = props,
7785
- forwardedProps = _objectWithoutProperties(props, _excluded$z);
7786
- const fontColorClassName = color && getFontColorClassName(color, colorVariant);
7787
- const typographyClassName = typography && getTypographyClassName(typography);
7788
- return (
7789
- /*#__PURE__*/
7790
- // eslint-disable-next-line jsx-a11y/no-redundant-roles
7791
- React.createElement("ul", _extends({}, forwardedProps, {
7792
- ref: ref,
7793
- className: classnames(className, CLASSNAME$v, wrap && `${CLASSNAME$v}--wrap`, fontColorClassName, typographyClassName)
7794
- // Lists with removed bullet style can lose their a11y list role on some browsers
7795
- ,
7796
- role: "list"
7797
- }), Children.toArray(children).map((child, index) => {
7798
- const key = /*#__PURE__*/isValidElement(child) && child.key || index;
7799
- return (
7800
- /*#__PURE__*/
7801
- // We need to item is set as display: contents which removes the semantic.
7802
- // eslint-disable-next-line jsx-a11y/no-redundant-roles
7803
- React.createElement("li", {
7804
- key: key,
7805
- role: "listitem",
7806
- className: `${CLASSNAME$v}__item`
7807
- }, index !== 0 && /*#__PURE__*/React.createElement("span", {
7808
- className: `${CLASSNAME$v}__item-separator`,
7809
- "aria-hidden": "true"
7810
- }, '\u00A0•\u00A0'), child)
7811
- );
7812
- }))
7813
- );
7814
- });
7815
- InlineList.displayName = COMPONENT_NAME$y;
7816
- InlineList.className = CLASSNAME$v;
7817
- InlineList.defaultProps = DEFAULT_PROPS$r;
7818
-
7819
- const INPUT_HELPER_CONFIGURATION = {
7820
- error: {
7821
- color: 'red'
7822
- },
7823
- success: {
7824
- color: 'green'
7825
- },
7826
- warning: {
7827
- color: 'yellow'
7828
- }
7829
- };
7816
+ function useElementSizeDependentOfWindowSize(elementRef) {
7817
+ const [size, setSize] = React.useState(null);
7818
+ const updateSize = React.useMemo(() => throttle(() => {
7819
+ var _elementRef$current;
7820
+ const newSize = elementRef === null || elementRef === void 0 ? void 0 : (_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.getBoundingClientRect();
7821
+ if (newSize) setSize(newSize);
7822
+ }, 10), [elementRef]);
7823
+ React.useEffect(() => {
7824
+ updateSize();
7825
+ window.addEventListener('resize', updateSize);
7826
+ return () => window.removeEventListener('resize', updateSize);
7827
+ }, [updateSize]);
7828
+ return [size, updateSize];
7829
+ }
7830
7830
 
7831
- const _excluded$A = ["children", "className", "kind", "theme"];
7831
+ /** Get natural image size after load. */
7832
+ function useImageSize(imgRef, getInitialSize) {
7833
+ const [imageSize, setImageSize] = React.useState(getInitialSize || null);
7834
+ React.useEffect(() => {
7835
+ const {
7836
+ current: img
7837
+ } = imgRef;
7838
+ if (!img) {
7839
+ return undefined;
7840
+ }
7841
+ const onLoad = () => setImageSize({
7842
+ width: img.naturalWidth,
7843
+ height: img.naturalHeight
7844
+ });
7845
+ img.addEventListener('load', onLoad);
7846
+ return () => img.removeEventListener('load', onLoad);
7847
+ }, [imgRef]);
7848
+ return imageSize;
7849
+ }
7832
7850
 
7833
- /**
7834
- * Defines the props of the component.
7835
- */
7851
+ /** Check if user prefers reduced motion */
7852
+ function getPrefersReducedMotion() {
7853
+ var _WINDOW$matchMedia;
7854
+ return WINDOW === null || WINDOW === void 0 ? void 0 : (_WINDOW$matchMedia = WINDOW.matchMedia) === null || _WINDOW$matchMedia === void 0 ? void 0 : _WINDOW$matchMedia.call(WINDOW, '(prefers-reduced-motion: reduce)').matches;
7855
+ }
7836
7856
 
7837
7857
  /**
7838
- * Component display name.
7858
+ * Listen to mouse wheel + ctrl and multi-pointer pinch to zoom
7839
7859
  */
7840
- const COMPONENT_NAME$z = 'InputHelper';
7860
+ function usePointerZoom(scrollAreaRef, onScaleChange, animateScroll) {
7861
+ const [isPointerZooming, setPointerZooming] = React.useState(false);
7862
+ React.useEffect(() => {
7863
+ const scrollArea = scrollAreaRef.current;
7864
+ if (!scrollArea || !onScaleChange) {
7865
+ return undefined;
7866
+ }
7867
+ let animationFrame;
7868
+ let zoomStateTimeoutId;
7869
+ function updateScaleOnNextFrame(newScale, mousePosition) {
7870
+ // Cancel previously scheduled frame
7871
+ if (animationFrame) cancelAnimationFrame(animationFrame);
7872
+
7873
+ // Cancel previously scheduled zoom state change
7874
+ if (zoomStateTimeoutId) clearTimeout(zoomStateTimeoutId);
7875
+ function nextFrame() {
7876
+ setPointerZooming(true);
7877
+ onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(newScale);
7878
+ animationFrame = null;
7879
+ // Wait a bit before indicating the pointer zooming is finished
7880
+ zoomStateTimeoutId = setTimeout(() => setPointerZooming(false), 100);
7881
+ }
7882
+ animationFrame = requestAnimationFrame(nextFrame);
7841
7883
 
7842
- /**
7843
- * Component default class name and class prefix.
7844
- */
7845
- const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
7884
+ // Animate scroll in parallel (centering on the current mouse position)
7885
+ animateScroll(mousePosition, {
7886
+ width: scrollArea.scrollWidth,
7887
+ height: scrollArea.scrollHeight
7888
+ });
7889
+ }
7890
+ function onWheel(event) {
7891
+ if (!event.ctrlKey) {
7892
+ return;
7893
+ }
7894
+ event.preventDefault();
7895
+ const newScale = Math.exp(-event.deltaY / 50);
7846
7896
 
7847
- /**
7848
- * Component default props.
7849
- */
7850
- const DEFAULT_PROPS$s = {
7851
- kind: Kind.info,
7852
- theme: Theme.light
7853
- };
7897
+ // Update scale on next frame (focused on the mouse position)
7898
+ updateScaleOnNextFrame(newScale, {
7899
+ x: event.pageX,
7900
+ y: event.pageY
7901
+ });
7902
+ }
7903
+ const activePointers = {};
7904
+ let prevDistance = null;
7905
+ let previousCenterPoint = null;
7906
+ function onPointerDown(event) {
7907
+ activePointers[event.pointerId] = event;
7908
+ }
7909
+ function onPointerMove(event) {
7910
+ // Update pointer in cache
7911
+ if (activePointers[event.pointerId]) {
7912
+ activePointers[event.pointerId] = event;
7913
+ }
7914
+ const pointers = Object.values(activePointers);
7854
7915
 
7855
- /**
7856
- * InputHelper component.
7857
- *
7858
- * @param props Component props.
7859
- * @param ref Component ref.
7860
- * @return React element.
7861
- */
7862
- const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
7863
- const {
7864
- children,
7865
- className,
7866
- kind,
7867
- theme
7868
- } = props,
7869
- forwardedProps = _objectWithoutProperties(props, _excluded$A);
7870
- const {
7871
- color
7872
- } = INPUT_HELPER_CONFIGURATION[kind] || {};
7873
- return /*#__PURE__*/React.createElement("p", _extends({
7874
- ref: ref
7875
- }, forwardedProps, {
7876
- className: classnames(className, handleBasicClasses({
7877
- prefix: CLASSNAME$w,
7878
- color,
7879
- theme
7880
- }))
7881
- }), children);
7882
- });
7883
- InputHelper.displayName = COMPONENT_NAME$z;
7884
- InputHelper.className = CLASSNAME$w;
7885
- InputHelper.defaultProps = DEFAULT_PROPS$s;
7916
+ // Make sure we run computation on one of the pointer in the group
7917
+ if (pointers[0].pointerId !== event.pointerId) {
7918
+ return;
7919
+ }
7886
7920
 
7887
- const _excluded$B = ["children", "className", "htmlFor", "isRequired", "theme"];
7921
+ // Centered point between all pointers
7922
+ const centerPoint = {
7923
+ x: pointers.reduce((x, _ref) => {
7924
+ let {
7925
+ clientX
7926
+ } = _ref;
7927
+ return x + clientX;
7928
+ }, 0) / pointers.length,
7929
+ y: pointers.reduce((y, _ref2) => {
7930
+ let {
7931
+ clientY
7932
+ } = _ref2;
7933
+ return y + clientY;
7934
+ }, 0) / pointers.length
7935
+ };
7888
7936
 
7889
- /**
7890
- * Defines the props of the component.
7891
- */
7937
+ // Movement of the center point
7938
+ const deltaCenterPoint = previousCenterPoint && {
7939
+ left: previousCenterPoint.x - centerPoint.x,
7940
+ top: previousCenterPoint.y - centerPoint.y
7941
+ };
7892
7942
 
7893
- /**
7894
- * Component display name.
7895
- */
7896
- const COMPONENT_NAME$A = 'InputLabel';
7943
+ // Pan X & Y
7944
+ if (deltaCenterPoint) {
7945
+ // Apply movement of the center point to the scroll
7946
+ scrollArea.scrollBy({
7947
+ top: deltaCenterPoint.top / 2,
7948
+ left: deltaCenterPoint.left / 2
7949
+ });
7950
+ }
7897
7951
 
7898
- /**
7899
- * Component default class name and class prefix.
7900
- */
7901
- const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
7952
+ // Pinch to zoom
7953
+ if (pointers.length === 2) {
7954
+ const [pointer1, pointer2] = pointers;
7955
+ const distance = Math.hypot(pointer2.clientX - pointer1.clientX, pointer2.clientY - pointer1.clientY);
7956
+ if (prevDistance && deltaCenterPoint) {
7957
+ const delta = prevDistance - distance;
7958
+ const absDelta = Math.abs(delta);
7959
+
7960
+ // Zoom only if we are "pinching" more than we are moving the pointers
7961
+ if (absDelta > Math.abs(deltaCenterPoint.left) && absDelta > Math.abs(deltaCenterPoint.top)) {
7962
+ // Update scale on next frame (focused on the center point between the two pointers)
7963
+ const newScale = Math.exp(-delta / 100);
7964
+ updateScaleOnNextFrame(newScale, centerPoint);
7965
+ }
7966
+ }
7967
+ prevDistance = distance;
7968
+ }
7969
+ previousCenterPoint = centerPoint;
7970
+ }
7971
+ function onPointerUp(event) {
7972
+ prevDistance = null;
7973
+ previousCenterPoint = null;
7974
+ delete activePointers[event.pointerId];
7975
+ }
7976
+ scrollArea.addEventListener('wheel', onWheel, {
7977
+ passive: false
7978
+ });
7979
+ const isMultiTouch = navigator.maxTouchPoints >= 2;
7980
+ if (isMultiTouch) {
7981
+ scrollArea.addEventListener('pointerdown', onPointerDown);
7982
+ scrollArea.addEventListener('pointermove', onPointerMove);
7983
+ scrollArea.addEventListener('pointerup', onPointerUp);
7984
+ }
7985
+ return () => {
7986
+ scrollArea.removeEventListener('wheel', onWheel);
7987
+ if (isMultiTouch) {
7988
+ scrollArea.removeEventListener('pointerdown', onPointerDown);
7989
+ scrollArea.removeEventListener('pointermove', onPointerMove);
7990
+ scrollArea.removeEventListener('pointerup', onPointerUp);
7991
+ }
7992
+ };
7993
+ }, [animateScroll, onScaleChange, scrollAreaRef]);
7994
+ return isPointerZooming;
7995
+ }
7902
7996
 
7903
- /**
7904
- * Component default props.
7905
- */
7906
- const DEFAULT_PROPS$t = {
7907
- theme: Theme.light
7908
- };
7997
+ /** Maintains the scroll position centered relative to the original scroll area's dimensions when the content scales. */
7998
+ function useAnimateScroll(scrollAreaRef) {
7999
+ return React.useMemo(() => {
8000
+ let animationFrame = null;
8001
+ return function animate(centerPoint, initialScrollAreaSize) {
8002
+ const scrollArea = scrollAreaRef.current;
8003
+ if (!scrollArea) {
8004
+ return;
8005
+ }
7909
8006
 
7910
- /**
7911
- * InputLabel component.
7912
- *
7913
- * @param props Component props.
7914
- * @param ref Component ref.
7915
- * @return React element.
7916
- */
7917
- const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
7918
- const {
7919
- children,
7920
- className,
7921
- htmlFor,
7922
- isRequired,
7923
- theme
7924
- } = props,
7925
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
7926
- return /*#__PURE__*/React.createElement("label", _extends({
7927
- ref: ref
7928
- }, forwardedProps, {
7929
- htmlFor: htmlFor,
7930
- className: classnames(className, handleBasicClasses({
7931
- prefix: CLASSNAME$x,
7932
- isRequired,
7933
- theme
7934
- }))
7935
- }), children);
7936
- });
7937
- InputLabel.displayName = COMPONENT_NAME$A;
7938
- InputLabel.className = CLASSNAME$x;
7939
- InputLabel.defaultProps = DEFAULT_PROPS$t;
8007
+ // Cancel previously running animation
8008
+ if (animationFrame) cancelAnimationFrame(animationFrame);
8009
+
8010
+ // Center on the given point or else on the scroll area visual center
8011
+ const clientHeightRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.y ? centerPoint.y / scrollArea.clientHeight : 0.5;
8012
+ const clientWidthRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.x ? centerPoint.x / scrollArea.clientWidth : 0.5;
8013
+ const initialScrollHeight = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.height) || scrollArea.scrollHeight;
8014
+ const initialScrollWidth = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.width) || scrollArea.scrollWidth;
8015
+ const heightCenter = scrollArea.scrollTop + scrollArea.clientHeight * clientHeightRatio;
8016
+ const heightRatio = heightCenter / initialScrollHeight;
8017
+ const widthCenter = scrollArea.scrollLeft + scrollArea.clientWidth * clientWidthRatio;
8018
+ const widthRatio = widthCenter / initialScrollWidth;
8019
+ let prevScrollHeight = 0;
8020
+ let prevScrollWidth = 0;
8021
+ function nextFrame() {
8022
+ const {
8023
+ scrollHeight,
8024
+ scrollWidth,
8025
+ clientHeight,
8026
+ clientWidth
8027
+ } = scrollArea;
8028
+
8029
+ // Scroll area stopped expanding => stop animation
8030
+ if (scrollHeight === prevScrollHeight && scrollWidth === prevScrollWidth) {
8031
+ animationFrame = null;
8032
+ return;
8033
+ }
7940
8034
 
7941
- const _excluded$C = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8035
+ // Compute next scroll position
8036
+ const top = heightRatio * scrollHeight - clientHeight * clientHeightRatio;
8037
+ const left = widthRatio * scrollWidth - clientWidth * clientWidthRatio;
8038
+ scrollArea.scrollTo({
8039
+ top,
8040
+ left
8041
+ });
8042
+ prevScrollHeight = scrollHeight;
8043
+ prevScrollWidth = scrollWidth;
8044
+ animationFrame = requestAnimationFrame(nextFrame);
8045
+ }
8046
+ animationFrame = requestAnimationFrame(nextFrame);
8047
+ };
8048
+ }, [scrollAreaRef]);
8049
+ }
8050
+
8051
+ /** Internal image slide component for ImageLightbox */
8052
+ const ImageSlide = /*#__PURE__*/React.memo(props => {
8053
+ const {
8054
+ isActive,
8055
+ scale,
8056
+ onScaleChange,
8057
+ image,
8058
+ imgRef: propImgRef,
8059
+ imgProps,
8060
+ alt
8061
+ } = props;
8062
+
8063
+ // Get scroll area size
8064
+ const scrollAreaRef = React.useRef(null);
8065
+ const [scrollAreaSize, updateSize] = useElementSizeDependentOfWindowSize(scrollAreaRef);
8066
+ React.useEffect(() => {
8067
+ // Update size when active
8068
+ if (isActive) updateSize();
8069
+ }, [isActive, updateSize]);
8070
+
8071
+ // Get image size
8072
+ const imgRef = React.useRef(null);
8073
+ const imageSize = useImageSize(imgRef, () => {
8074
+ const initialWidth = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.width, 10);
8075
+ const initialHeight = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.height, 10);
8076
+ return initialWidth && initialHeight ? {
8077
+ width: initialWidth,
8078
+ height: initialHeight
8079
+ } : null;
8080
+ });
8081
+
8082
+ // Calculate new image size with scale
8083
+ const scaledImageSize = React.useMemo(() => {
8084
+ if (!scrollAreaSize || !imageSize) {
8085
+ return null;
8086
+ }
8087
+ const horizontalScale = scrollAreaSize.width / imageSize.width;
8088
+ const verticalScale = scrollAreaSize.height / imageSize.height;
8089
+ const baseScale = Math.min(1, Math.min(horizontalScale, verticalScale));
8090
+ return {
8091
+ width: imageSize.width * baseScale * (scale !== null && scale !== void 0 ? scale : 1),
8092
+ height: imageSize.height * baseScale * (scale !== null && scale !== void 0 ? scale : 1)
8093
+ };
8094
+ }, [scrollAreaSize, imageSize, scale]);
8095
+
8096
+ // Animate scroll to preserve the center of the current visible window in the scroll area
8097
+ const animateScroll = useAnimateScroll(scrollAreaRef);
8098
+
8099
+ // Zoom via mouse wheel or multi-touch pinch zoom
8100
+ const isPointerZooming = usePointerZoom(scrollAreaRef, onScaleChange, animateScroll);
8101
+
8102
+ // Animate scroll on scale change
8103
+ React.useLayoutEffect(() => {
8104
+ if (scale && !isPointerZooming) {
8105
+ animateScroll();
8106
+ }
8107
+ }, [isPointerZooming, scale, animateScroll]);
8108
+ const isScrollable = scaledImageSize && scrollAreaSize && (scaledImageSize.width > scrollAreaSize.width || scaledImageSize.height > scrollAreaSize.height);
8109
+ return /*#__PURE__*/React.createElement(SlideshowItem, {
8110
+ ref: scrollAreaRef
8111
+ // Make it accessible to keyboard nav when the zone is scrollable
8112
+ ,
8113
+ tabIndex: isScrollable ? 0 : undefined,
8114
+ className: `${CLASSNAME$v}__image-slide`
8115
+ }, /*#__PURE__*/React.createElement(Thumbnail, {
8116
+ imgRef: mergeRefs(imgRef, propImgRef),
8117
+ image: image,
8118
+ alt: alt,
8119
+ className: `${CLASSNAME$v}__thumbnail`,
8120
+ imgProps: _objectSpread2(_objectSpread2({}, imgProps), {}, {
8121
+ style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), scaledImageSize || {
8122
+ maxHeight: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.height,
8123
+ maxWidth: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.width
8124
+ }), {}, {
8125
+ // Only animate when scale is set, and we are not pointer zooming and the user does not prefer reduced motion
8126
+ transition: scale && !isPointerZooming && !getPrefersReducedMotion() ? 'all 250ms' : undefined
8127
+ })
8128
+ })
8129
+ }));
8130
+ });
8131
+
8132
+ const _excluded$z = ["image", "imgRef"];
8133
+ /** Internal image slideshow component for ImageLightbox */
8134
+ const ImageSlideshow = _ref => {
8135
+ var _images$activeIndex, _images$activeIndex2, _images$activeIndex3;
8136
+ let {
8137
+ activeImageIndex,
8138
+ images,
8139
+ slideGroupLabel,
8140
+ zoomInButtonProps,
8141
+ zoomOutButtonProps,
8142
+ slideshowControlsProps,
8143
+ currentPaginationItemRef,
8144
+ footerRef,
8145
+ activeImageRef
8146
+ } = _ref;
8147
+ const {
8148
+ activeIndex,
8149
+ slideshowId,
8150
+ setSlideshow,
8151
+ slideshowSlidesId,
8152
+ slidesCount,
8153
+ onNextClick,
8154
+ onPaginationClick,
8155
+ onPreviousClick,
8156
+ toggleAutoPlay
8157
+ } = SlideshowControls.useSlideshowControls({
8158
+ itemsCount: images.length,
8159
+ activeIndex: activeImageIndex
8160
+ });
8161
+
8162
+ // Image metadata (caption)
8163
+ const title = (_images$activeIndex = images[activeIndex]) === null || _images$activeIndex === void 0 ? void 0 : _images$activeIndex.title;
8164
+ const description = (_images$activeIndex2 = images[activeIndex]) === null || _images$activeIndex2 === void 0 ? void 0 : _images$activeIndex2.description;
8165
+ const tags = (_images$activeIndex3 = images[activeIndex]) === null || _images$activeIndex3 === void 0 ? void 0 : _images$activeIndex3.tags;
8166
+ const metadata = title || description || tags ? /*#__PURE__*/React.createElement(ImageCaption, {
8167
+ theme: "dark",
8168
+ as: "div",
8169
+ title: title,
8170
+ description: description,
8171
+ tags: tags,
8172
+ align: "center"
8173
+ }) : null;
8174
+
8175
+ // Slideshow controls
8176
+ const slideShowControls = slidesCount > 1 && slideshowControlsProps ? /*#__PURE__*/React.createElement(SlideshowControls, _extends({
8177
+ theme: "dark",
8178
+ activeIndex: activeIndex,
8179
+ slidesCount: slidesCount,
8180
+ onNextClick: onNextClick,
8181
+ onPreviousClick: onPreviousClick,
8182
+ onPaginationClick: onPaginationClick
8183
+ }, slideshowControlsProps, {
8184
+ paginationItemProps: index => {
8185
+ var _slideshowControlsPro;
8186
+ const props = (slideshowControlsProps === null || slideshowControlsProps === void 0 ? void 0 : (_slideshowControlsPro = slideshowControlsProps.paginationItemProps) === null || _slideshowControlsPro === void 0 ? void 0 : _slideshowControlsPro.call(slideshowControlsProps, index)) || {};
8187
+ return _objectSpread2(_objectSpread2({}, props), {}, {
8188
+ ref: mergeRefs(props === null || props === void 0 ? void 0 : props.ref,
8189
+ // Focus the active pagination item once on mount
8190
+ activeIndex === index ? currentPaginationItemRef : undefined)
8191
+ });
8192
+ }
8193
+ })) : null;
8194
+
8195
+ // Zoom controls
8196
+ const [scale, setScale] = React.useState(undefined);
8197
+ const zoomEnabled = zoomInButtonProps && zoomOutButtonProps;
8198
+ const onScaleChange = React.useMemo(() => {
8199
+ if (!zoomEnabled) return undefined;
8200
+ return newScale => {
8201
+ setScale(function () {
8202
+ let prevScale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
8203
+ return Math.max(1, newScale * prevScale);
8204
+ });
8205
+ };
8206
+ }, [zoomEnabled]);
8207
+ const zoomIn = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(1.5), [onScaleChange]);
8208
+ const zoomOut = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(0.5), [onScaleChange]);
8209
+ React.useEffect(() => {
8210
+ // Reset scale on slide change
8211
+ if (activeIndex) setScale(undefined);
8212
+ }, [activeIndex]);
8213
+ const zoomControls = zoomEnabled && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomInButtonProps, {
8214
+ theme: "dark",
8215
+ emphasis: "low",
8216
+ icon: mdiMagnifyPlusOutline,
8217
+ onClick: zoomIn
8218
+ })), /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomOutButtonProps, {
8219
+ theme: "dark",
8220
+ emphasis: "low",
8221
+ isDisabled: !scale || scale <= 1,
8222
+ icon: mdiMagnifyMinusOutline,
8223
+ onClick: zoomOut
8224
+ })));
8225
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Slides, {
8226
+ activeIndex: activeIndex,
8227
+ theme: "dark",
8228
+ slideGroupLabel: slideGroupLabel,
8229
+ fillHeight: true,
8230
+ id: slideshowId,
8231
+ ref: setSlideshow,
8232
+ slidesId: slideshowSlidesId,
8233
+ toggleAutoPlay: toggleAutoPlay
8234
+ }, images.map((_ref2, index) => {
8235
+ let {
8236
+ image,
8237
+ imgRef
8238
+ } = _ref2,
8239
+ props = _objectWithoutProperties(_ref2, _excluded$z);
8240
+ const isActive = index === activeIndex;
8241
+ return /*#__PURE__*/React.createElement(ImageSlide, _extends({}, props, {
8242
+ isActive: isActive,
8243
+ key: image,
8244
+ imgRef: mergeRefs(imgRef, isActive ? activeImageRef : undefined),
8245
+ image: image,
8246
+ scale: isActive ? scale : undefined,
8247
+ onScaleChange: onScaleChange
8248
+ }));
8249
+ })), (metadata || slideShowControls || zoomControls) && /*#__PURE__*/React.createElement(FlexBox, {
8250
+ ref: footerRef,
8251
+ className: `${CLASSNAME$v}__footer`,
8252
+ orientation: "vertical",
8253
+ vAlign: "center",
8254
+ gap: "big"
8255
+ }, metadata, /*#__PURE__*/React.createElement(FlexBox, {
8256
+ className: `${CLASSNAME$v}__footer-actions`,
8257
+ orientation: "horizontal",
8258
+ gap: "regular"
8259
+ }, slideShowControls, zoomControls)));
8260
+ };
8261
+
8262
+ function unref(maybeElement) {
8263
+ if (maybeElement instanceof HTMLElement) return maybeElement;
8264
+ return maybeElement === null || maybeElement === void 0 ? void 0 : maybeElement.current;
8265
+ }
8266
+
8267
+ function setTransitionViewName(elementRef, name) {
8268
+ const element = unref(elementRef);
8269
+ if (element) element.style.viewTransitionName = name;
8270
+ }
8271
+
8272
+ /**
8273
+ * Wrapper around the `document.startViewTransition` handling browser incompatibilities, react DOM flush and
8274
+ * user preference.
8275
+ *
8276
+ * @param changes callback containing the changes to apply within the view transition.
8277
+ * @param setViewTransitionName set the `viewTransitionName` style on a `source` & `target` to morph these elements.
8278
+ */
8279
+ async function startViewTransition(_ref) {
8280
+ var _document, _document$startViewTr;
8281
+ let {
8282
+ changes,
8283
+ viewTransitionName
8284
+ } = _ref;
8285
+ const start = (_document = document) === null || _document === void 0 ? void 0 : (_document$startViewTr = _document.startViewTransition) === null || _document$startViewTr === void 0 ? void 0 : _document$startViewTr.bind(document);
8286
+ const prefersReducedMotion = getPrefersReducedMotion();
8287
+ const {
8288
+ flushSync
8289
+ } = ReactDOM;
8290
+ if (prefersReducedMotion || !start || !flushSync || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.source) || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.target)) {
8291
+ // Skip, apply changes without a transition
8292
+ changes();
8293
+ return;
8294
+ }
8295
+
8296
+ // Set transition name on source element
8297
+ setTransitionViewName(viewTransitionName.source, viewTransitionName.name);
8298
+
8299
+ // Start view transition, apply changes & flush to DOM
8300
+ await start(() => {
8301
+ // Un-set transition name on source element
8302
+ setTransitionViewName(viewTransitionName.source, null);
8303
+ flushSync(changes);
8304
+
8305
+ // Set transition name on target element
8306
+ setTransitionViewName(viewTransitionName.target, viewTransitionName.name);
8307
+ }).updateCallbackDone;
8308
+
8309
+ // Un-set transition name on target element
8310
+ setTransitionViewName(viewTransitionName.target, null);
8311
+ }
8312
+
8313
+ /** Find image in element including the element */
8314
+ const findImage = element => element !== null && element !== void 0 && element.matches('img') ? element : element === null || element === void 0 ? void 0 : element.querySelector('img');
8315
+
8316
+ /** Subset of the ImageLightboxProps managed by the useImageLightbox hook */
8317
+
8318
+ const EMPTY_PROPS = {
8319
+ isOpen: false,
8320
+ images: [],
8321
+ parentElement: /*#__PURE__*/React.createRef()
8322
+ };
8323
+
8324
+ /**
8325
+ * Set up an ImageLightbox with images and triggers.
8326
+ *
8327
+ * - Associate a trigger with the lightbox to properly focus the trigger on close
8328
+ * - Associate a trigger with an image to display on open
8329
+ * - Automatically provide a view transition between an image trigger and the displayed image on open & close
8330
+ *
8331
+ * @param images Images to display in the image lightbox
8332
+ */
8333
+ function useImageLightbox() {
8334
+ let images = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
8335
+ const imagesPropsRef = React.useRef(images);
8336
+ React.useEffect(() => {
8337
+ imagesPropsRef.current = images.map(props => _objectSpread2({
8338
+ imgRef: /*#__PURE__*/React.createRef()
8339
+ }, props));
8340
+ }, [images]);
8341
+ const currentImageRef = React.useRef(null);
8342
+ const [imageLightboxProps, setImageLightboxProps] = React.useState(EMPTY_PROPS);
8343
+ const getTriggerProps = React.useMemo(() => {
8344
+ const triggerImageRefs = {};
8345
+ async function closeLightbox() {
8346
+ const currentImage = currentImageRef.current;
8347
+ if (!currentImage) {
8348
+ return;
8349
+ }
8350
+ const currentIndex = imagesPropsRef.current.findIndex(_ref => {
8351
+ let {
8352
+ imgRef
8353
+ } = _ref;
8354
+ return (imgRef === null || imgRef === void 0 ? void 0 : imgRef.current) === currentImage;
8355
+ });
8356
+ await startViewTransition({
8357
+ changes() {
8358
+ // Close lightbox with reset empty props
8359
+ setImageLightboxProps(_ref2 => {
8360
+ let {
8361
+ parentElement
8362
+ } = _ref2;
8363
+ return _objectSpread2(_objectSpread2({}, EMPTY_PROPS), {}, {
8364
+ parentElement
8365
+ });
8366
+ });
8367
+ },
8368
+ // Morph from the image in lightbox to the image in trigger
8369
+ viewTransitionName: {
8370
+ source: currentImageRef,
8371
+ //source: imageIsVisible ? currentImageRef : null,
8372
+ target: triggerImageRefs[currentIndex],
8373
+ name: CLASSNAME$v
8374
+ }
8375
+ });
8376
+ }
8377
+ async function openLightbox(triggerElement, index) {
8378
+ var _triggerImageRefs;
8379
+ // If we find an image inside the trigger, animate it in transition with the opening image
8380
+ const triggerImage = ((_triggerImageRefs = triggerImageRefs[index]) === null || _triggerImageRefs === void 0 ? void 0 : _triggerImageRefs.current) || findImage(triggerElement);
8381
+
8382
+ // Inject the trigger image size as a fallback for better loading state
8383
+ const imagesWithFallbackSize = imagesPropsRef.current.map((image, idx) => {
8384
+ var _image$imgProps, _image$imgProps2;
8385
+ if (triggerImage && idx === index && !((_image$imgProps = image.imgProps) !== null && _image$imgProps !== void 0 && _image$imgProps.width) && !((_image$imgProps2 = image.imgProps) !== null && _image$imgProps2 !== void 0 && _image$imgProps2.height)) {
8386
+ const imgProps = _objectSpread2(_objectSpread2({}, image.imgProps), {}, {
8387
+ height: triggerImage.naturalHeight,
8388
+ width: triggerImage.naturalWidth
8389
+ });
8390
+ return _objectSpread2(_objectSpread2({}, image), {}, {
8391
+ imgProps
8392
+ });
8393
+ }
8394
+ return image;
8395
+ });
8396
+ await startViewTransition({
8397
+ changes: () => {
8398
+ // Open lightbox with setup props
8399
+ setImageLightboxProps({
8400
+ activeImageRef: currentImageRef,
8401
+ parentElement: {
8402
+ current: triggerElement
8403
+ },
8404
+ isOpen: true,
8405
+ onClose: closeLightbox,
8406
+ images: imagesWithFallbackSize,
8407
+ activeImageIndex: index || 0
8408
+ });
8409
+ },
8410
+ // Morph from the image in trigger to the image in lightbox
8411
+ viewTransitionName: {
8412
+ source: triggerImage,
8413
+ target: currentImageRef,
8414
+ name: CLASSNAME$v
8415
+ }
8416
+ });
8417
+ }
8418
+ return memoize(index => ({
8419
+ ref(element) {
8420
+ const triggerImage = findImage(element);
8421
+ if (index !== undefined && triggerImage) triggerImageRefs[index] = {
8422
+ current: triggerImage
8423
+ };
8424
+ },
8425
+ onClick(e) {
8426
+ openLightbox(e.target, index);
8427
+ }
8428
+ }));
8429
+ }, []);
8430
+ return {
8431
+ getTriggerProps,
8432
+ imageLightboxProps
8433
+ };
8434
+ }
8435
+
8436
+ const _excluded$A = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8437
+ const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8438
+ const {
8439
+ className,
8440
+ isOpen,
8441
+ closeButtonProps,
8442
+ onClose,
8443
+ parentElement,
8444
+ activeImageIndex,
8445
+ slideshowControlsProps,
8446
+ slideGroupLabel,
8447
+ images,
8448
+ zoomOutButtonProps,
8449
+ zoomInButtonProps,
8450
+ activeImageRef: propImageRef
8451
+ } = props,
8452
+ forwardedProps = _objectWithoutProperties(props, _excluded$A);
8453
+ const currentPaginationItemRef = React.useRef(null);
8454
+ const footerRef = React.useRef(null);
8455
+ const imageRef = React.useRef(null);
8456
+ const clickAwayChildrenRefs = React.useRef([imageRef, footerRef]);
8457
+ return /*#__PURE__*/React.createElement(Lightbox, _extends({
8458
+ ref: ref,
8459
+ className: classnames(className, CLASSNAME$v),
8460
+ parentElement: parentElement,
8461
+ isOpen: isOpen,
8462
+ onClose: onClose,
8463
+ closeButtonProps: closeButtonProps,
8464
+ focusElement: currentPaginationItemRef
8465
+ }, forwardedProps), /*#__PURE__*/React.createElement(ClickAwayProvider, {
8466
+ childrenRefs: clickAwayChildrenRefs,
8467
+ callback: onClose
8468
+ }, /*#__PURE__*/React.createElement(ImageSlideshow, {
8469
+ activeImageIndex: activeImageIndex,
8470
+ slideGroupLabel: slideGroupLabel,
8471
+ slideshowControlsProps: slideshowControlsProps,
8472
+ images: images,
8473
+ zoomInButtonProps: zoomInButtonProps,
8474
+ zoomOutButtonProps: zoomOutButtonProps,
8475
+ footerRef: footerRef,
8476
+ activeImageRef: mergeRefs(propImageRef, imageRef),
8477
+ currentPaginationItemRef: currentPaginationItemRef
8478
+ })));
8479
+ });
8480
+ Inner.displayName = COMPONENT_NAME$y;
8481
+ Inner.className = CLASSNAME$v;
8482
+
8483
+ /**
8484
+ * ImageLightbox component.
8485
+ *
8486
+ * @param props Component props.
8487
+ * @param ref Component ref.
8488
+ * @return React element.
8489
+ */
8490
+ const ImageLightbox = Object.assign(Inner, {
8491
+ useImageLightbox
8492
+ });
8493
+
8494
+ const _excluded$B = ["className", "color", "colorVariant", "typography", "children", "wrap"];
7942
8495
 
7943
8496
  /**
7944
8497
  * Defines the props of the component.
@@ -7947,13 +8500,206 @@ const _excluded$C = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLab
7947
8500
  /**
7948
8501
  * Component display name.
7949
8502
  */
7950
- const COMPONENT_NAME$B = 'Lightbox';
8503
+ const COMPONENT_NAME$z = 'InlineList';
8504
+
8505
+ /**
8506
+ * Component default class name and class prefix.
8507
+ */
8508
+ const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
8509
+
8510
+ /**
8511
+ * Component default props.
8512
+ */
8513
+ const DEFAULT_PROPS$r = {};
8514
+
8515
+ /**
8516
+ * InlineList component.
8517
+ *
8518
+ * @param props Component props.
8519
+ * @param ref Component ref.
8520
+ * @return React element.
8521
+ */
8522
+ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
8523
+ const {
8524
+ className,
8525
+ color,
8526
+ colorVariant,
8527
+ typography,
8528
+ children,
8529
+ wrap
8530
+ } = props,
8531
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
8532
+ const fontColorClassName = color && getFontColorClassName(color, colorVariant);
8533
+ const typographyClassName = typography && getTypographyClassName(typography);
8534
+ return (
8535
+ /*#__PURE__*/
8536
+ // eslint-disable-next-line jsx-a11y/no-redundant-roles
8537
+ React.createElement("ul", _extends({}, forwardedProps, {
8538
+ ref: ref,
8539
+ className: classnames(className, CLASSNAME$w, wrap && `${CLASSNAME$w}--wrap`, fontColorClassName, typographyClassName)
8540
+ // Lists with removed bullet style can lose their a11y list role on some browsers
8541
+ ,
8542
+ role: "list"
8543
+ }), Children.toArray(children).map((child, index) => {
8544
+ const key = /*#__PURE__*/isValidElement(child) && child.key || index;
8545
+ return (
8546
+ /*#__PURE__*/
8547
+ // We need to item is set as display: contents which removes the semantic.
8548
+ // eslint-disable-next-line jsx-a11y/no-redundant-roles
8549
+ React.createElement("li", {
8550
+ key: key,
8551
+ role: "listitem",
8552
+ className: `${CLASSNAME$w}__item`
8553
+ }, index !== 0 && /*#__PURE__*/React.createElement("span", {
8554
+ className: `${CLASSNAME$w}__item-separator`,
8555
+ "aria-hidden": "true"
8556
+ }, '\u00A0•\u00A0'), child)
8557
+ );
8558
+ }))
8559
+ );
8560
+ });
8561
+ InlineList.displayName = COMPONENT_NAME$z;
8562
+ InlineList.className = CLASSNAME$w;
8563
+ InlineList.defaultProps = DEFAULT_PROPS$r;
8564
+
8565
+ const INPUT_HELPER_CONFIGURATION = {
8566
+ error: {
8567
+ color: 'red'
8568
+ },
8569
+ success: {
8570
+ color: 'green'
8571
+ },
8572
+ warning: {
8573
+ color: 'yellow'
8574
+ }
8575
+ };
8576
+
8577
+ const _excluded$C = ["children", "className", "kind", "theme"];
8578
+
8579
+ /**
8580
+ * Defines the props of the component.
8581
+ */
8582
+
8583
+ /**
8584
+ * Component display name.
8585
+ */
8586
+ const COMPONENT_NAME$A = 'InputHelper';
8587
+
8588
+ /**
8589
+ * Component default class name and class prefix.
8590
+ */
8591
+ const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
8592
+
8593
+ /**
8594
+ * Component default props.
8595
+ */
8596
+ const DEFAULT_PROPS$s = {
8597
+ kind: Kind.info,
8598
+ theme: Theme.light
8599
+ };
8600
+
8601
+ /**
8602
+ * InputHelper component.
8603
+ *
8604
+ * @param props Component props.
8605
+ * @param ref Component ref.
8606
+ * @return React element.
8607
+ */
8608
+ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
8609
+ const {
8610
+ children,
8611
+ className,
8612
+ kind,
8613
+ theme
8614
+ } = props,
8615
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
8616
+ const {
8617
+ color
8618
+ } = INPUT_HELPER_CONFIGURATION[kind] || {};
8619
+ return /*#__PURE__*/React.createElement("p", _extends({
8620
+ ref: ref
8621
+ }, forwardedProps, {
8622
+ className: classnames(className, handleBasicClasses({
8623
+ prefix: CLASSNAME$x,
8624
+ color,
8625
+ theme
8626
+ }))
8627
+ }), children);
8628
+ });
8629
+ InputHelper.displayName = COMPONENT_NAME$A;
8630
+ InputHelper.className = CLASSNAME$x;
8631
+ InputHelper.defaultProps = DEFAULT_PROPS$s;
8632
+
8633
+ const _excluded$D = ["children", "className", "htmlFor", "isRequired", "theme"];
8634
+
8635
+ /**
8636
+ * Defines the props of the component.
8637
+ */
8638
+
8639
+ /**
8640
+ * Component display name.
8641
+ */
8642
+ const COMPONENT_NAME$B = 'InputLabel';
7951
8643
 
7952
8644
  /**
7953
8645
  * Component default class name and class prefix.
7954
8646
  */
7955
8647
  const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
7956
8648
 
8649
+ /**
8650
+ * Component default props.
8651
+ */
8652
+ const DEFAULT_PROPS$t = {
8653
+ theme: Theme.light
8654
+ };
8655
+
8656
+ /**
8657
+ * InputLabel component.
8658
+ *
8659
+ * @param props Component props.
8660
+ * @param ref Component ref.
8661
+ * @return React element.
8662
+ */
8663
+ const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
8664
+ const {
8665
+ children,
8666
+ className,
8667
+ htmlFor,
8668
+ isRequired,
8669
+ theme
8670
+ } = props,
8671
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
8672
+ return /*#__PURE__*/React.createElement("label", _extends({
8673
+ ref: ref
8674
+ }, forwardedProps, {
8675
+ htmlFor: htmlFor,
8676
+ className: classnames(className, handleBasicClasses({
8677
+ prefix: CLASSNAME$y,
8678
+ isRequired,
8679
+ theme
8680
+ }))
8681
+ }), children);
8682
+ });
8683
+ InputLabel.displayName = COMPONENT_NAME$B;
8684
+ InputLabel.className = CLASSNAME$y;
8685
+ InputLabel.defaultProps = DEFAULT_PROPS$t;
8686
+
8687
+ const _excluded$E = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8688
+
8689
+ /**
8690
+ * Defines the props of the component.
8691
+ */
8692
+
8693
+ /**
8694
+ * Component display name.
8695
+ */
8696
+ const COMPONENT_NAME$C = 'Lightbox';
8697
+
8698
+ /**
8699
+ * Component default class name and class prefix.
8700
+ */
8701
+ const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8702
+
7957
8703
  /**
7958
8704
  * Lightbox component.
7959
8705
  *
@@ -7978,7 +8724,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
7978
8724
  theme,
7979
8725
  zIndex
7980
8726
  } = props,
7981
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
8727
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
7982
8728
  if (!DOCUMENT) {
7983
8729
  // Can't render in SSR.
7984
8730
  return null;
@@ -8039,7 +8785,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8039
8785
  role: "dialog",
8040
8786
  tabIndex: -1,
8041
8787
  className: classnames(className, handleBasicClasses({
8042
- prefix: CLASSNAME$y,
8788
+ prefix: CLASSNAME$z,
8043
8789
  isHidden: !isOpen,
8044
8790
  isShown: isOpen || isVisible,
8045
8791
  theme
@@ -8047,28 +8793,29 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8047
8793
  style: {
8048
8794
  zIndex
8049
8795
  }
8050
- }), closeButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, closeButtonProps, {
8796
+ }), closeButtonProps && /*#__PURE__*/React.createElement("div", {
8797
+ className: `${CLASSNAME$z}__close`
8798
+ }, /*#__PURE__*/React.createElement(IconButton, _extends({}, closeButtonProps, {
8051
8799
  ref: closeButtonRef,
8052
- className: `${CLASSNAME$y}__close`,
8053
- color: ColorPalette.light,
8054
- emphasis: Emphasis.low,
8800
+ emphasis: "low",
8801
+ hasBackground: true,
8055
8802
  icon: mdiClose,
8056
- theme: theme,
8803
+ theme: "dark",
8057
8804
  type: "button",
8058
8805
  onClick: onClose
8059
- })), /*#__PURE__*/React.createElement(ClickAwayProvider, {
8806
+ }))), /*#__PURE__*/React.createElement(ClickAwayProvider, {
8060
8807
  callback: !preventAutoClose && onClose,
8061
8808
  childrenRefs: clickAwayRefs
8062
8809
  }, /*#__PURE__*/React.createElement("div", {
8063
8810
  ref: childrenRef,
8064
- className: `${CLASSNAME$y}__wrapper`,
8811
+ className: `${CLASSNAME$z}__wrapper`,
8065
8812
  role: "presentation"
8066
8813
  }, children))), document.body);
8067
8814
  });
8068
- Lightbox.displayName = COMPONENT_NAME$B;
8069
- Lightbox.className = CLASSNAME$y;
8815
+ Lightbox.displayName = COMPONENT_NAME$C;
8816
+ Lightbox.className = CLASSNAME$z;
8070
8817
 
8071
- const _excluded$D = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8818
+ const _excluded$F = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8072
8819
 
8073
8820
  /**
8074
8821
  * Defines the props of the component.
@@ -8077,12 +8824,12 @@ const _excluded$D = ["children", "className", "color", "colorVariant", "disabled
8077
8824
  /**
8078
8825
  * Component display name.
8079
8826
  */
8080
- const COMPONENT_NAME$C = 'Link';
8827
+ const COMPONENT_NAME$D = 'Link';
8081
8828
 
8082
8829
  /**
8083
8830
  * Component default class name and class prefix.
8084
8831
  */
8085
- const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8832
+ const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
8086
8833
  const getIconSize = typography => {
8087
8834
  switch (typography) {
8088
8835
  case Typography.display1:
@@ -8131,18 +8878,18 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8131
8878
  target,
8132
8879
  typography
8133
8880
  } = props,
8134
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
8881
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
8135
8882
  const renderedChildren = useMemo(() => /*#__PURE__*/React.createElement(React.Fragment, null, leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
8136
8883
  icon: leftIcon,
8137
- className: `${CLASSNAME$z}__left-icon`,
8884
+ className: `${CLASSNAME$A}__left-icon`,
8138
8885
  size: getIconSize(typography)
8139
8886
  }), children && /*#__PURE__*/React.createElement("span", {
8140
- className: classnames(`${CLASSNAME$z}__content`, {
8887
+ className: classnames(`${CLASSNAME$A}__content`, {
8141
8888
  [`lumx-typography-${typography}`]: typography
8142
8889
  })
8143
8890
  }, children), rightIcon && !isEmpty(rightIcon) && /*#__PURE__*/React.createElement(Icon, {
8144
8891
  icon: rightIcon,
8145
- className: `${CLASSNAME$z}__right-icon`,
8892
+ className: `${CLASSNAME$A}__right-icon`,
8146
8893
  size: getIconSize(typography)
8147
8894
  })), [leftIcon, typography, children, rightIcon]);
8148
8895
 
@@ -8157,7 +8904,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8157
8904
  ref: ref,
8158
8905
  disabled: isDisabled,
8159
8906
  className: classnames(className, handleBasicClasses({
8160
- prefix: CLASSNAME$z,
8907
+ prefix: CLASSNAME$A,
8161
8908
  color,
8162
8909
  colorVariant
8163
8910
  }))
@@ -8169,17 +8916,17 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8169
8916
  href,
8170
8917
  target,
8171
8918
  className: classnames(className, handleBasicClasses({
8172
- prefix: CLASSNAME$z,
8919
+ prefix: CLASSNAME$A,
8173
8920
  color,
8174
8921
  colorVariant
8175
8922
  })),
8176
8923
  ref: ref
8177
8924
  }), renderedChildren);
8178
8925
  });
8179
- Link.displayName = COMPONENT_NAME$C;
8180
- Link.className = CLASSNAME$z;
8926
+ Link.displayName = COMPONENT_NAME$D;
8927
+ Link.className = CLASSNAME$A;
8181
8928
 
8182
- const _excluded$E = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8929
+ const _excluded$G = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8183
8930
 
8184
8931
  /**
8185
8932
  * Defines the props of the component.
@@ -8188,12 +8935,12 @@ const _excluded$E = ["className", "description", "link", "linkAs", "linkProps",
8188
8935
  /**
8189
8936
  * Component display name.
8190
8937
  */
8191
- const COMPONENT_NAME$D = 'LinkPreview';
8938
+ const COMPONENT_NAME$E = 'LinkPreview';
8192
8939
 
8193
8940
  /**
8194
8941
  * Component default class name and class prefix.
8195
8942
  */
8196
- const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
8943
+ const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
8197
8944
 
8198
8945
  /**
8199
8946
  * Component default props.
@@ -8224,21 +8971,21 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8224
8971
  title,
8225
8972
  titleHeading
8226
8973
  } = props,
8227
- forwardedProps = _objectWithoutProperties(props, _excluded$E);
8974
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
8228
8975
  // Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
8229
8976
  const TitleHeading = titleHeading;
8230
8977
  return /*#__PURE__*/React.createElement("article", _extends({
8231
8978
  ref: ref
8232
8979
  }, forwardedProps, {
8233
8980
  className: classnames(className, handleBasicClasses({
8234
- prefix: CLASSNAME$A,
8981
+ prefix: CLASSNAME$B,
8235
8982
  size: size === Size.big && thumbnailProps ? Size.big : Size.regular,
8236
8983
  theme
8237
8984
  }))
8238
8985
  }), /*#__PURE__*/React.createElement("div", {
8239
- className: `${CLASSNAME$A}__wrapper`
8986
+ className: `${CLASSNAME$B}__wrapper`
8240
8987
  }, thumbnailProps && /*#__PURE__*/React.createElement("div", {
8241
- className: `${CLASSNAME$A}__thumbnail`
8988
+ className: `${CLASSNAME$B}__thumbnail`
8242
8989
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8243
8990
  linkAs: linkAs,
8244
8991
  linkProps: _objectSpread2(_objectSpread2({}, linkProps), {}, {
@@ -8250,9 +8997,9 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8250
8997
  aspectRatio: AspectRatio.free,
8251
8998
  fillHeight: true
8252
8999
  }))), /*#__PURE__*/React.createElement("div", {
8253
- className: `${CLASSNAME$A}__container`
9000
+ className: `${CLASSNAME$B}__container`
8254
9001
  }, title && /*#__PURE__*/React.createElement(TitleHeading, {
8255
- className: `${CLASSNAME$A}__title`
9002
+ className: `${CLASSNAME$B}__title`
8256
9003
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
8257
9004
  linkAs: linkAs,
8258
9005
  target: "_blank",
@@ -8260,12 +9007,12 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8260
9007
  color: theme === Theme.light ? ColorPalette.dark : ColorPalette.light,
8261
9008
  colorVariant: ColorVariant.N
8262
9009
  }), title)), description && /*#__PURE__*/React.createElement("p", {
8263
- className: `${CLASSNAME$A}__description`
9010
+ className: `${CLASSNAME$B}__description`
8264
9011
  }, description), /*#__PURE__*/React.createElement("div", {
8265
- className: `${CLASSNAME$A}__link`
9012
+ className: `${CLASSNAME$B}__link`
8266
9013
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
8267
9014
  linkAs: linkAs,
8268
- className: classnames(`${CLASSNAME$A}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
9015
+ className: classnames(`${CLASSNAME$B}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
8269
9016
  target: "_blank",
8270
9017
  href: link,
8271
9018
  color: theme === Theme.light ? ColorPalette.primary : ColorPalette.light,
@@ -8275,11 +9022,11 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8275
9022
  tabIndex: title ? '-1' : undefined
8276
9023
  }), link)))));
8277
9024
  });
8278
- LinkPreview.displayName = COMPONENT_NAME$D;
8279
- LinkPreview.className = CLASSNAME$A;
9025
+ LinkPreview.displayName = COMPONENT_NAME$E;
9026
+ LinkPreview.className = CLASSNAME$B;
8280
9027
  LinkPreview.defaultProps = DEFAULT_PROPS$u;
8281
9028
 
8282
- const _excluded$F = ["className"];
9029
+ const _excluded$H = ["className"];
8283
9030
 
8284
9031
  /**
8285
9032
  * Defines the props of the component.
@@ -8288,12 +9035,12 @@ const _excluded$F = ["className"];
8288
9035
  /**
8289
9036
  * Component display name.
8290
9037
  */
8291
- const COMPONENT_NAME$E = 'ListDivider';
9038
+ const COMPONENT_NAME$F = 'ListDivider';
8292
9039
 
8293
9040
  /**
8294
9041
  * Component default class name and class prefix.
8295
9042
  */
8296
- const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
9043
+ const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
8297
9044
 
8298
9045
  /**
8299
9046
  * ListDivider component.
@@ -8306,19 +9053,19 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
8306
9053
  const {
8307
9054
  className
8308
9055
  } = props,
8309
- forwardedProps = _objectWithoutProperties(props, _excluded$F);
9056
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
8310
9057
  return /*#__PURE__*/React.createElement("li", _extends({
8311
9058
  ref: ref
8312
9059
  }, forwardedProps, {
8313
9060
  className: classnames(className, handleBasicClasses({
8314
- prefix: CLASSNAME$B
9061
+ prefix: CLASSNAME$C
8315
9062
  }))
8316
9063
  }));
8317
9064
  });
8318
- ListDivider.displayName = COMPONENT_NAME$E;
8319
- ListDivider.className = CLASSNAME$B;
9065
+ ListDivider.displayName = COMPONENT_NAME$F;
9066
+ ListDivider.className = CLASSNAME$C;
8320
9067
 
8321
- const _excluded$G = ["children", "className"];
9068
+ const _excluded$I = ["children", "className"];
8322
9069
 
8323
9070
  /**
8324
9071
  * Defines the props of the component.
@@ -8327,12 +9074,12 @@ const _excluded$G = ["children", "className"];
8327
9074
  /**
8328
9075
  * Component display name.
8329
9076
  */
8330
- const COMPONENT_NAME$F = 'ListSubheader';
9077
+ const COMPONENT_NAME$G = 'ListSubheader';
8331
9078
 
8332
9079
  /**
8333
9080
  * Component default class name and class prefix.
8334
9081
  */
8335
- const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
9082
+ const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
8336
9083
 
8337
9084
  /**
8338
9085
  * ListSubheader component.
@@ -8346,19 +9093,19 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
8346
9093
  children,
8347
9094
  className
8348
9095
  } = props,
8349
- forwardedProps = _objectWithoutProperties(props, _excluded$G);
9096
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
8350
9097
  return /*#__PURE__*/React.createElement("li", _extends({
8351
9098
  ref: ref
8352
9099
  }, forwardedProps, {
8353
9100
  className: classnames(className, handleBasicClasses({
8354
- prefix: CLASSNAME$C
9101
+ prefix: CLASSNAME$D
8355
9102
  }))
8356
9103
  }), children);
8357
9104
  });
8358
- ListSubheader.displayName = COMPONENT_NAME$F;
8359
- ListSubheader.className = CLASSNAME$C;
9105
+ ListSubheader.displayName = COMPONENT_NAME$G;
9106
+ ListSubheader.className = CLASSNAME$D;
8360
9107
 
8361
- const _excluded$H = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9108
+ const _excluded$J = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
8362
9109
 
8363
9110
  /**
8364
9111
  * Defines the props of the component.
@@ -8367,12 +9114,12 @@ const _excluded$H = ["children", "className", "hasBackground", "kind", "icon", "
8367
9114
  /**
8368
9115
  * Component display name.
8369
9116
  */
8370
- const COMPONENT_NAME$G = 'Message';
9117
+ const COMPONENT_NAME$H = 'Message';
8371
9118
 
8372
9119
  /**
8373
9120
  * Component default class name and class prefix.
8374
9121
  */
8375
- const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
9122
+ const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
8376
9123
 
8377
9124
  /**
8378
9125
  * Associative map from message kind to color and icon.
@@ -8412,7 +9159,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
8412
9159
  icon: customIcon,
8413
9160
  closeButtonProps
8414
9161
  } = props,
8415
- forwardedProps = _objectWithoutProperties(props, _excluded$H);
9162
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
8416
9163
  const {
8417
9164
  color,
8418
9165
  icon
@@ -8427,27 +9174,27 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
8427
9174
  className: classnames(className, handleBasicClasses({
8428
9175
  color,
8429
9176
  hasBackground,
8430
- prefix: CLASSNAME$D
9177
+ prefix: CLASSNAME$E
8431
9178
  }))
8432
9179
  }, forwardedProps), (customIcon || icon) && /*#__PURE__*/React.createElement(Icon, {
8433
- className: `${CLASSNAME$D}__icon`,
9180
+ className: `${CLASSNAME$E}__icon`,
8434
9181
  icon: customIcon || icon,
8435
9182
  size: Size.xs,
8436
9183
  color: color
8437
9184
  }), /*#__PURE__*/React.createElement("div", {
8438
- className: `${CLASSNAME$D}__text`
9185
+ className: `${CLASSNAME$E}__text`
8439
9186
  }, children), isCloseButtonDisplayed && /*#__PURE__*/React.createElement(IconButton, {
8440
- className: `${CLASSNAME$D}__close-button`,
9187
+ className: `${CLASSNAME$E}__close-button`,
8441
9188
  icon: mdiClose,
8442
9189
  onClick: onClick,
8443
9190
  label: closeButtonLabel,
8444
9191
  emphasis: Emphasis.low
8445
9192
  }));
8446
9193
  });
8447
- Message.displayName = COMPONENT_NAME$G;
8448
- Message.className = CLASSNAME$D;
9194
+ Message.displayName = COMPONENT_NAME$H;
9195
+ Message.className = CLASSNAME$E;
8449
9196
 
8450
- const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
9197
+ const _excluded$K = ["className", "theme", "thumbnails", "onImageClick"],
8451
9198
  _excluded2$1 = ["image", "onClick", "align"];
8452
9199
 
8453
9200
  /**
@@ -8457,12 +9204,12 @@ const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
8457
9204
  /**
8458
9205
  * Component display name.
8459
9206
  */
8460
- const COMPONENT_NAME$H = 'Mosaic';
9207
+ const COMPONENT_NAME$I = 'Mosaic';
8461
9208
 
8462
9209
  /**
8463
9210
  * Component default class name and class prefix.
8464
9211
  */
8465
- const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
9212
+ const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
8466
9213
 
8467
9214
  /**
8468
9215
  * Component default props.
@@ -8485,7 +9232,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8485
9232
  thumbnails,
8486
9233
  onImageClick
8487
9234
  } = props,
8488
- forwardedProps = _objectWithoutProperties(props, _excluded$I);
9235
+ forwardedProps = _objectWithoutProperties(props, _excluded$K);
8489
9236
  const handleImageClick = useMemo(() => {
8490
9237
  if (!onImageClick) return undefined;
8491
9238
  return (index, onClick) => event => {
@@ -8497,16 +9244,16 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8497
9244
  ref: ref
8498
9245
  }, forwardedProps, {
8499
9246
  className: classnames(className, handleBasicClasses({
8500
- prefix: CLASSNAME$E,
9247
+ prefix: CLASSNAME$F,
8501
9248
  theme
8502
9249
  }), {
8503
- [`${CLASSNAME$E}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
8504
- [`${CLASSNAME$E}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
8505
- [`${CLASSNAME$E}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
8506
- [`${CLASSNAME$E}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
9250
+ [`${CLASSNAME$F}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
9251
+ [`${CLASSNAME$F}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
9252
+ [`${CLASSNAME$F}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
9253
+ [`${CLASSNAME$F}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
8507
9254
  })
8508
9255
  }), /*#__PURE__*/React.createElement("div", {
8509
- className: `${CLASSNAME$E}__wrapper`
9256
+ className: `${CLASSNAME$F}__wrapper`
8510
9257
  }, take(thumbnails, 4).map((thumbnail, index) => {
8511
9258
  const {
8512
9259
  image,
@@ -8516,7 +9263,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8516
9263
  thumbnailProps = _objectWithoutProperties(thumbnail, _excluded2$1);
8517
9264
  return /*#__PURE__*/React.createElement("div", {
8518
9265
  key: index,
8519
- className: `${CLASSNAME$E}__thumbnail`
9266
+ className: `${CLASSNAME$F}__thumbnail`
8520
9267
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8521
9268
  align: align || Alignment.left,
8522
9269
  image: image,
@@ -8525,12 +9272,12 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8525
9272
  fillHeight: true,
8526
9273
  onClick: (handleImageClick === null || handleImageClick === void 0 ? void 0 : handleImageClick(index, onClick)) || onClick
8527
9274
  })), thumbnails.length > 4 && index === 3 && /*#__PURE__*/React.createElement("div", {
8528
- className: `${CLASSNAME$E}__overlay`
9275
+ className: `${CLASSNAME$F}__overlay`
8529
9276
  }, /*#__PURE__*/React.createElement("span", null, "+", thumbnails.length - 4)));
8530
9277
  })));
8531
9278
  });
8532
- Mosaic.displayName = COMPONENT_NAME$H;
8533
- Mosaic.className = CLASSNAME$E;
9279
+ Mosaic.displayName = COMPONENT_NAME$I;
9280
+ Mosaic.className = CLASSNAME$F;
8534
9281
  Mosaic.defaultProps = DEFAULT_PROPS$v;
8535
9282
 
8536
9283
  const ThemeContext = /*#__PURE__*/createContext(undefined);
@@ -8540,7 +9287,7 @@ function forwardRefPolymorphic(render) {
8540
9287
  return /*#__PURE__*/React.forwardRef(render);
8541
9288
  }
8542
9289
 
8543
- const _excluded$J = ["className", "icon", "label", "isCurrentPage", "as"];
9290
+ const _excluded$L = ["className", "icon", "label", "isCurrentPage", "as"];
8544
9291
 
8545
9292
  /** Make `href` required when `as` is `a` */
8546
9293
 
@@ -8551,12 +9298,12 @@ const _excluded$J = ["className", "icon", "label", "isCurrentPage", "as"];
8551
9298
  /**
8552
9299
  * Component display name.
8553
9300
  */
8554
- const COMPONENT_NAME$I = 'NavigationItem';
9301
+ const COMPONENT_NAME$J = 'NavigationItem';
8555
9302
 
8556
9303
  /**
8557
9304
  * Component default class name and class prefix.
8558
9305
  */
8559
- const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
9306
+ const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
8560
9307
  const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8561
9308
  const {
8562
9309
  className,
@@ -8565,7 +9312,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8565
9312
  isCurrentPage,
8566
9313
  as: Element = 'a'
8567
9314
  } = props,
8568
- forwardedProps = _objectWithoutProperties(props, _excluded$J);
9315
+ forwardedProps = _objectWithoutProperties(props, _excluded$L);
8569
9316
  const theme = useContext(ThemeContext);
8570
9317
  const {
8571
9318
  tooltipLabel,
@@ -8576,7 +9323,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8576
9323
  } : {};
8577
9324
  return /*#__PURE__*/React.createElement("li", {
8578
9325
  className: classnames(className, handleBasicClasses({
8579
- prefix: CLASSNAME$F,
9326
+ prefix: CLASSNAME$G,
8580
9327
  theme
8581
9328
  }))
8582
9329
  }, /*#__PURE__*/React.createElement(Tooltip, {
@@ -8584,41 +9331,41 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8584
9331
  placement: Placement.TOP
8585
9332
  }, /*#__PURE__*/React.createElement(Element, _extends({
8586
9333
  className: handleBasicClasses({
8587
- prefix: `${CLASSNAME$F}__link`,
9334
+ prefix: `${CLASSNAME$G}__link`,
8588
9335
  isSelected: isCurrentPage
8589
9336
  }),
8590
9337
  ref: ref,
8591
9338
  "aria-current": isCurrentPage ? 'page' : undefined
8592
9339
  }, buttonProps, forwardedProps), icon ? /*#__PURE__*/React.createElement(Icon, {
8593
- className: `${CLASSNAME$F}__icon`,
9340
+ className: `${CLASSNAME$G}__icon`,
8594
9341
  icon: icon,
8595
9342
  size: Size.xs,
8596
9343
  theme: theme
8597
9344
  }) : null, /*#__PURE__*/React.createElement(Text, {
8598
9345
  as: "span",
8599
9346
  truncate: true,
8600
- className: `${CLASSNAME$F}__label`,
9347
+ className: `${CLASSNAME$G}__label`,
8601
9348
  ref: labelRef
8602
9349
  }, label))));
8603
9350
  }), {
8604
- displayName: COMPONENT_NAME$I,
8605
- className: CLASSNAME$F
9351
+ displayName: COMPONENT_NAME$J,
9352
+ className: CLASSNAME$G
8606
9353
  });
8607
9354
 
8608
9355
  const NavigationContext = /*#__PURE__*/createContext({
8609
9356
  orientation: Orientation.vertical
8610
9357
  });
8611
9358
 
8612
- const _excluded$K = ["children", "className", "label", "icon"];
9359
+ const _excluded$M = ["children", "className", "label", "icon"];
8613
9360
  /**
8614
9361
  * Component display name.
8615
9362
  */
8616
- const COMPONENT_NAME$J = 'NavigationSection';
9363
+ const COMPONENT_NAME$K = 'NavigationSection';
8617
9364
 
8618
9365
  /**
8619
9366
  * Component default class name and class prefix.
8620
9367
  */
8621
- const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
9368
+ const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
8622
9369
  const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) => {
8623
9370
  const {
8624
9371
  children,
@@ -8626,7 +9373,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8626
9373
  label,
8627
9374
  icon
8628
9375
  } = props,
8629
- forwardedProps = _objectWithoutProperties(props, _excluded$K);
9376
+ forwardedProps = _objectWithoutProperties(props, _excluded$M);
8630
9377
  const [isOpen, setIsOpen] = useState(false);
8631
9378
  const buttonRef = useRef(null);
8632
9379
  const sectionId = useMemo(() => uniqueId('section'), []);
@@ -8636,15 +9383,15 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8636
9383
  const theme = useContext(ThemeContext);
8637
9384
  const isDropdown = orientation === Orientation.horizontal;
8638
9385
  return /*#__PURE__*/React.createElement("li", _extends({
8639
- className: classnames(className, CLASSNAME$G, CLASSNAME$F, handleBasicClasses({
8640
- prefix: CLASSNAME$F,
9386
+ className: classnames(className, CLASSNAME$H, CLASSNAME$G, handleBasicClasses({
9387
+ prefix: CLASSNAME$G,
8641
9388
  theme
8642
9389
  })),
8643
9390
  ref: ref
8644
9391
  }, forwardedProps), /*#__PURE__*/React.createElement("button", {
8645
9392
  "aria-controls": sectionId,
8646
9393
  "aria-expanded": isOpen,
8647
- className: classnames(`${CLASSNAME$F}__link`),
9394
+ className: classnames(`${CLASSNAME$G}__link`),
8648
9395
  ref: buttonRef,
8649
9396
  onClick: event => {
8650
9397
  setIsOpen(!isOpen);
@@ -8652,16 +9399,16 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8652
9399
  },
8653
9400
  type: "button"
8654
9401
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
8655
- className: `${CLASSNAME$F}__icon`,
9402
+ className: `${CLASSNAME$G}__icon`,
8656
9403
  icon: icon,
8657
9404
  size: Size.xs
8658
9405
  }) : null, /*#__PURE__*/React.createElement(Text, {
8659
9406
  as: "span",
8660
9407
  truncate: true,
8661
- className: `${CLASSNAME$F}__label`,
9408
+ className: `${CLASSNAME$G}__label`,
8662
9409
  ref: ref
8663
9410
  }, label), /*#__PURE__*/React.createElement(Icon, {
8664
- className: classnames(`${CLASSNAME$F}__icon`, `${CLASSNAME$G}__chevron`),
9411
+ className: classnames(`${CLASSNAME$G}__icon`, `${CLASSNAME$H}__chevron`),
8665
9412
  icon: isOpen ? mdiChevronUp : mdiChevronDown
8666
9413
  })), isOpen && (isDropdown ? /*#__PURE__*/React.createElement(Popover, {
8667
9414
  anchorRef: buttonRef,
@@ -8676,31 +9423,31 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8676
9423
  }, /*#__PURE__*/React.createElement(ThemeContext.Provider, {
8677
9424
  value: Theme.light
8678
9425
  }, /*#__PURE__*/React.createElement("ul", {
8679
- className: `${CLASSNAME$G}__drawer--popover`,
9426
+ className: `${CLASSNAME$H}__drawer--popover`,
8680
9427
  id: sectionId
8681
9428
  }, /*#__PURE__*/React.createElement(NavigationContext.Provider, {
8682
9429
  value: {
8683
9430
  orientation: Orientation.vertical
8684
9431
  }
8685
9432
  }, children)))) : /*#__PURE__*/React.createElement("ul", {
8686
- className: `${CLASSNAME$G}__drawer`,
9433
+ className: `${CLASSNAME$H}__drawer`,
8687
9434
  id: sectionId
8688
9435
  }, children)));
8689
9436
  }), {
8690
- displayName: COMPONENT_NAME$J,
8691
- className: CLASSNAME$G
9437
+ displayName: COMPONENT_NAME$K,
9438
+ className: CLASSNAME$H
8692
9439
  });
8693
9440
 
8694
- const _excluded$L = ["children", "className", "theme", "orientation"];
9441
+ const _excluded$N = ["children", "className", "theme", "orientation"];
8695
9442
  /**
8696
9443
  * Component display name.
8697
9444
  */
8698
- const COMPONENT_NAME$K = 'Navigation';
9445
+ const COMPONENT_NAME$L = 'Navigation';
8699
9446
 
8700
9447
  /**
8701
9448
  * Component default class name and class prefix.
8702
9449
  */
8703
- const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
9450
+ const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
8704
9451
  const Navigation = Object.assign(
8705
9452
  /*#__PURE__*/
8706
9453
  // eslint-disable-next-line react/display-name
@@ -8711,12 +9458,12 @@ forwardRef((props, ref) => {
8711
9458
  theme,
8712
9459
  orientation
8713
9460
  } = props,
8714
- forwardedProps = _objectWithoutProperties(props, _excluded$L);
9461
+ forwardedProps = _objectWithoutProperties(props, _excluded$N);
8715
9462
  return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
8716
9463
  value: theme
8717
9464
  }, /*#__PURE__*/React.createElement("nav", _extends({
8718
9465
  className: classnames(className, handleBasicClasses({
8719
- prefix: CLASSNAME$H,
9466
+ prefix: CLASSNAME$I,
8720
9467
  theme,
8721
9468
  orientation
8722
9469
  })),
@@ -8726,11 +9473,11 @@ forwardRef((props, ref) => {
8726
9473
  orientation
8727
9474
  }
8728
9475
  }, /*#__PURE__*/React.createElement("ul", {
8729
- className: `${CLASSNAME$H}__list`
9476
+ className: `${CLASSNAME$I}__list`
8730
9477
  }, children))));
8731
9478
  }), {
8732
- displayName: COMPONENT_NAME$K,
8733
- className: CLASSNAME$H,
9479
+ displayName: COMPONENT_NAME$L,
9480
+ className: CLASSNAME$I,
8734
9481
  defaultProps: {
8735
9482
  theme: Theme.light,
8736
9483
  orientation: Orientation.vertical
@@ -8762,7 +9509,7 @@ const NOTIFICATION_CONFIGURATION = {
8762
9509
  }
8763
9510
  };
8764
9511
 
8765
- const _excluded$M = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9512
+ const _excluded$O = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
8766
9513
 
8767
9514
  /**
8768
9515
  * Defines the props of the component.
@@ -8771,12 +9518,12 @@ const _excluded$M = ["actionLabel", "className", "content", "isOpen", "onActionC
8771
9518
  /**
8772
9519
  * Component display name.
8773
9520
  */
8774
- const COMPONENT_NAME$L = 'Notification';
9521
+ const COMPONENT_NAME$M = 'Notification';
8775
9522
 
8776
9523
  /**
8777
9524
  * Component default class name and class prefix.
8778
9525
  */
8779
- const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
9526
+ const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
8780
9527
 
8781
9528
  /**
8782
9529
  * Component default props.
@@ -8809,7 +9556,7 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8809
9556
  usePortal,
8810
9557
  style
8811
9558
  } = props,
8812
- forwardedProps = _objectWithoutProperties(props, _excluded$M);
9559
+ forwardedProps = _objectWithoutProperties(props, _excluded$O);
8813
9560
  if (!DOCUMENT) {
8814
9561
  // Can't render in SSR.
8815
9562
  return null;
@@ -8841,21 +9588,21 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8841
9588
  color,
8842
9589
  hasAction,
8843
9590
  isHidden: !isOpen,
8844
- prefix: CLASSNAME$I
9591
+ prefix: CLASSNAME$J
8845
9592
  })),
8846
9593
  onClick: onClick,
8847
9594
  style: _objectSpread2(_objectSpread2({}, style), {}, {
8848
9595
  zIndex
8849
9596
  })
8850
9597
  }), /*#__PURE__*/React.createElement("div", {
8851
- className: `${CLASSNAME$I}__icon`
9598
+ className: `${CLASSNAME$J}__icon`
8852
9599
  }, /*#__PURE__*/React.createElement(Icon, {
8853
9600
  icon: icon,
8854
9601
  size: Size.s
8855
9602
  })), /*#__PURE__*/React.createElement("div", {
8856
- className: `${CLASSNAME$I}__content`
9603
+ className: `${CLASSNAME$J}__content`
8857
9604
  }, content), hasAction && /*#__PURE__*/React.createElement("div", {
8858
- className: `${CLASSNAME$I}__action`
9605
+ className: `${CLASSNAME$J}__action`
8859
9606
  }, /*#__PURE__*/React.createElement(Button, {
8860
9607
  emphasis: Emphasis.medium,
8861
9608
  theme: theme,
@@ -8863,11 +9610,11 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8863
9610
  }, /*#__PURE__*/React.createElement("span", null, actionLabel))));
8864
9611
  return usePortal ? /*#__PURE__*/createPortal(notification, document.body) : notification;
8865
9612
  });
8866
- Notification.displayName = COMPONENT_NAME$L;
8867
- Notification.className = CLASSNAME$I;
9613
+ Notification.displayName = COMPONENT_NAME$M;
9614
+ Notification.className = CLASSNAME$J;
8868
9615
  Notification.defaultProps = DEFAULT_PROPS$w;
8869
9616
 
8870
- const _excluded$N = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9617
+ const _excluded$P = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
8871
9618
 
8872
9619
  /**
8873
9620
  * PopoverDialog props.
@@ -8877,12 +9624,12 @@ const _excluded$N = ["children", "isOpen", "focusElement", "aria-label", "label"
8877
9624
  /**
8878
9625
  * Component display name.
8879
9626
  */
8880
- const COMPONENT_NAME$M = 'PopoverDialog';
9627
+ const COMPONENT_NAME$N = 'PopoverDialog';
8881
9628
 
8882
9629
  /**
8883
9630
  * Component default class name and class prefix.
8884
9631
  */
8885
- const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
9632
+ const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
8886
9633
 
8887
9634
  /**
8888
9635
  * Component default props.
@@ -8905,11 +9652,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
8905
9652
  label = ariaLabel,
8906
9653
  className
8907
9654
  } = props,
8908
- forwardedProps = _objectWithoutProperties(props, _excluded$N);
9655
+ forwardedProps = _objectWithoutProperties(props, _excluded$P);
8909
9656
  return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
8910
9657
  ref: ref,
8911
9658
  className: classnames(className, handleBasicClasses({
8912
- prefix: CLASSNAME$J
9659
+ prefix: CLASSNAME$K
8913
9660
  })),
8914
9661
  role: "dialog",
8915
9662
  "aria-modal": "true"
@@ -8925,11 +9672,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
8925
9672
  withFocusTrap: true
8926
9673
  }), children);
8927
9674
  });
8928
- PopoverDialog.displayName = COMPONENT_NAME$M;
8929
- PopoverDialog.className = CLASSNAME$J;
9675
+ PopoverDialog.displayName = COMPONENT_NAME$N;
9676
+ PopoverDialog.className = CLASSNAME$K;
8930
9677
  PopoverDialog.defaultProps = DEFAULT_PROPS$x;
8931
9678
 
8932
- const _excluded$O = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9679
+ const _excluded$Q = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
8933
9680
 
8934
9681
  /**
8935
9682
  * Defines the props of the component.
@@ -8938,12 +9685,12 @@ const _excluded$O = ["actions", "attachments", "author", "className", "meta", "o
8938
9685
  /**
8939
9686
  * Component display name.
8940
9687
  */
8941
- const COMPONENT_NAME$N = 'PostBlock';
9688
+ const COMPONENT_NAME$O = 'PostBlock';
8942
9689
 
8943
9690
  /**
8944
9691
  * Component default class name and class prefix.
8945
9692
  */
8946
- const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
9693
+ const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
8947
9694
 
8948
9695
  /**
8949
9696
  * Component default props.
@@ -8975,61 +9722,61 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
8975
9722
  thumbnailProps,
8976
9723
  title
8977
9724
  } = props,
8978
- forwardedProps = _objectWithoutProperties(props, _excluded$O);
9725
+ forwardedProps = _objectWithoutProperties(props, _excluded$Q);
8979
9726
  return /*#__PURE__*/React.createElement("div", _extends({
8980
9727
  ref: ref,
8981
9728
  className: classnames(className, handleBasicClasses({
8982
- prefix: CLASSNAME$K,
9729
+ prefix: CLASSNAME$L,
8983
9730
  orientation,
8984
9731
  theme
8985
9732
  }))
8986
9733
  }, forwardedProps), thumbnailProps && /*#__PURE__*/React.createElement("div", {
8987
- className: `${CLASSNAME$K}__thumbnail`
9734
+ className: `${CLASSNAME$L}__thumbnail`
8988
9735
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8989
9736
  theme: theme,
8990
9737
  variant: ThumbnailVariant.rounded
8991
9738
  }))), /*#__PURE__*/React.createElement("div", {
8992
- className: `${CLASSNAME$K}__wrapper`
9739
+ className: `${CLASSNAME$L}__wrapper`
8993
9740
  }, author && /*#__PURE__*/React.createElement("div", {
8994
- className: `${CLASSNAME$K}__author`
9741
+ className: `${CLASSNAME$L}__author`
8995
9742
  }, author), title && /*#__PURE__*/React.createElement("button", {
8996
9743
  type: "button",
8997
- className: `${CLASSNAME$K}__title`,
9744
+ className: `${CLASSNAME$L}__title`,
8998
9745
  onClick: onClick
8999
9746
  }, title), meta && /*#__PURE__*/React.createElement("span", {
9000
- className: `${CLASSNAME$K}__meta`
9747
+ className: `${CLASSNAME$L}__meta`
9001
9748
  }, meta), isObject(text) && text.__html ?
9002
9749
  /*#__PURE__*/
9003
9750
  // eslint-disable-next-line react/no-danger
9004
9751
  React.createElement("p", {
9005
9752
  dangerouslySetInnerHTML: text,
9006
- className: `${CLASSNAME$K}__text`
9753
+ className: `${CLASSNAME$L}__text`
9007
9754
  }) : /*#__PURE__*/React.createElement("p", {
9008
- className: `${CLASSNAME$K}__text`
9755
+ className: `${CLASSNAME$L}__text`
9009
9756
  }, text), attachments && /*#__PURE__*/React.createElement("div", {
9010
- className: `${CLASSNAME$K}__attachments`
9757
+ className: `${CLASSNAME$L}__attachments`
9011
9758
  }, attachments), (tags || actions) && /*#__PURE__*/React.createElement("div", {
9012
- className: `${CLASSNAME$K}__toolbar`
9759
+ className: `${CLASSNAME$L}__toolbar`
9013
9760
  }, tags && /*#__PURE__*/React.createElement("div", {
9014
- className: `${CLASSNAME$K}__tags`
9761
+ className: `${CLASSNAME$L}__tags`
9015
9762
  }, tags), actions && /*#__PURE__*/React.createElement("div", {
9016
- className: `${CLASSNAME$K}__actions`
9763
+ className: `${CLASSNAME$L}__actions`
9017
9764
  }, actions))));
9018
9765
  });
9019
- PostBlock.displayName = COMPONENT_NAME$N;
9020
- PostBlock.className = CLASSNAME$K;
9766
+ PostBlock.displayName = COMPONENT_NAME$O;
9767
+ PostBlock.className = CLASSNAME$L;
9021
9768
  PostBlock.defaultProps = DEFAULT_PROPS$y;
9022
9769
 
9023
- const _excluded$P = ["className", "theme"];
9770
+ const _excluded$R = ["className", "theme"];
9024
9771
  /**
9025
9772
  * Component display name.
9026
9773
  */
9027
- const COMPONENT_NAME$O = 'ProgressLinear';
9774
+ const COMPONENT_NAME$P = 'ProgressLinear';
9028
9775
 
9029
9776
  /**
9030
9777
  * Component default class name and class prefix.
9031
9778
  */
9032
- const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
9779
+ const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9033
9780
 
9034
9781
  /**
9035
9782
  * Component default props.
@@ -9050,12 +9797,12 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9050
9797
  className,
9051
9798
  theme
9052
9799
  } = props,
9053
- forwardedProps = _objectWithoutProperties(props, _excluded$P);
9800
+ forwardedProps = _objectWithoutProperties(props, _excluded$R);
9054
9801
  return /*#__PURE__*/React.createElement("div", _extends({
9055
9802
  ref: ref
9056
9803
  }, forwardedProps, {
9057
9804
  className: classnames(className, handleBasicClasses({
9058
- prefix: CLASSNAME$L,
9805
+ prefix: CLASSNAME$M,
9059
9806
  theme
9060
9807
  }))
9061
9808
  }), /*#__PURE__*/React.createElement("div", {
@@ -9064,11 +9811,11 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9064
9811
  className: "lumx-progress-linear__line2"
9065
9812
  }));
9066
9813
  });
9067
- ProgressLinear.displayName = COMPONENT_NAME$O;
9068
- ProgressLinear.className = CLASSNAME$L;
9814
+ ProgressLinear.displayName = COMPONENT_NAME$P;
9815
+ ProgressLinear.className = CLASSNAME$M;
9069
9816
  ProgressLinear.defaultProps = DEFAULT_PROPS$z;
9070
9817
 
9071
- const _excluded$Q = ["className", "theme", "size"];
9818
+ const _excluded$S = ["className", "theme", "size"];
9072
9819
 
9073
9820
  /**
9074
9821
  * Progress sizes.
@@ -9081,12 +9828,12 @@ const _excluded$Q = ["className", "theme", "size"];
9081
9828
  /**
9082
9829
  * Component display name.
9083
9830
  */
9084
- const COMPONENT_NAME$P = 'ProgressCircular';
9831
+ const COMPONENT_NAME$Q = 'ProgressCircular';
9085
9832
 
9086
9833
  /**
9087
9834
  * Component default class name and class prefix.
9088
9835
  */
9089
- const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9836
+ const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9090
9837
 
9091
9838
  /**
9092
9839
  * Component default props.
@@ -9109,12 +9856,12 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9109
9856
  theme,
9110
9857
  size
9111
9858
  } = props,
9112
- forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9859
+ forwardedProps = _objectWithoutProperties(props, _excluded$S);
9113
9860
  return /*#__PURE__*/React.createElement("div", _extends({
9114
9861
  ref: ref
9115
9862
  }, forwardedProps, {
9116
9863
  className: classnames(className, handleBasicClasses({
9117
- prefix: CLASSNAME$M,
9864
+ prefix: CLASSNAME$N,
9118
9865
  theme,
9119
9866
  size
9120
9867
  }))
@@ -9134,11 +9881,11 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9134
9881
  strokeWidth: "5"
9135
9882
  })));
9136
9883
  });
9137
- ProgressCircular.displayName = COMPONENT_NAME$P;
9138
- ProgressCircular.className = CLASSNAME$M;
9884
+ ProgressCircular.displayName = COMPONENT_NAME$Q;
9885
+ ProgressCircular.className = CLASSNAME$N;
9139
9886
  ProgressCircular.defaultProps = DEFAULT_PROPS$A;
9140
9887
 
9141
- const _excluded$R = ["className", "theme", "variant"];
9888
+ const _excluded$T = ["className", "theme", "variant"];
9142
9889
 
9143
9890
  /**
9144
9891
  * Progress variants.
@@ -9155,12 +9902,12 @@ const ProgressVariant = {
9155
9902
  /**
9156
9903
  * Component display name.
9157
9904
  */
9158
- const COMPONENT_NAME$Q = 'Progress';
9905
+ const COMPONENT_NAME$R = 'Progress';
9159
9906
 
9160
9907
  /**
9161
9908
  * Component default class name and class prefix.
9162
9909
  */
9163
- const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9910
+ const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
9164
9911
 
9165
9912
  /**
9166
9913
  * Component default props.
@@ -9184,12 +9931,12 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9184
9931
  theme,
9185
9932
  variant
9186
9933
  } = props,
9187
- forwardedProps = _objectWithoutProperties(props, _excluded$R);
9934
+ forwardedProps = _objectWithoutProperties(props, _excluded$T);
9188
9935
  return /*#__PURE__*/React.createElement("div", _extends({
9189
9936
  ref: ref
9190
9937
  }, forwardedProps, {
9191
9938
  className: classnames(className, handleBasicClasses({
9192
- prefix: CLASSNAME$N,
9939
+ prefix: CLASSNAME$O,
9193
9940
  theme,
9194
9941
  variant
9195
9942
  }))
@@ -9199,8 +9946,8 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9199
9946
  theme: theme
9200
9947
  }));
9201
9948
  });
9202
- Progress.displayName = COMPONENT_NAME$Q;
9203
- Progress.className = CLASSNAME$N;
9949
+ Progress.displayName = COMPONENT_NAME$R;
9950
+ Progress.className = CLASSNAME$O;
9204
9951
  Progress.defaultProps = DEFAULT_PROPS$B;
9205
9952
 
9206
9953
  const INIT_STATE = {
@@ -9322,7 +10069,7 @@ const useTabProviderContextState = () => {
9322
10069
  return context === null || context === void 0 ? void 0 : context[0];
9323
10070
  };
9324
10071
 
9325
- const _excluded$S = ["children", "onChange"];
10072
+ const _excluded$U = ["children", "onChange"];
9326
10073
  const DEFAULT_PROPS$C = {
9327
10074
  isLazy: INIT_STATE.isLazy,
9328
10075
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -9344,7 +10091,7 @@ const ProgressTrackerProvider = props => {
9344
10091
  children,
9345
10092
  onChange
9346
10093
  } = props,
9347
- propState = _objectWithoutProperties(props, _excluded$S);
10094
+ propState = _objectWithoutProperties(props, _excluded$U);
9348
10095
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
9349
10096
 
9350
10097
  // On prop state change => dispatch update.
@@ -9448,7 +10195,7 @@ const useRovingTabIndex = _ref => {
9448
10195
  [parentRef, ...extraDependencies]);
9449
10196
  };
9450
10197
 
9451
- const _excluded$T = ["aria-label", "children", "className"];
10198
+ const _excluded$V = ["aria-label", "children", "className"];
9452
10199
 
9453
10200
  /**
9454
10201
  * Defines the props of the component.
@@ -9457,12 +10204,12 @@ const _excluded$T = ["aria-label", "children", "className"];
9457
10204
  /**
9458
10205
  * Component display name.
9459
10206
  */
9460
- const COMPONENT_NAME$R = 'ProgressTracker';
10207
+ const COMPONENT_NAME$S = 'ProgressTracker';
9461
10208
 
9462
10209
  /**
9463
10210
  * Component default class name and class prefix.
9464
10211
  */
9465
- const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
10212
+ const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
9466
10213
 
9467
10214
  /**
9468
10215
  * Component default props.
@@ -9485,7 +10232,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9485
10232
  children,
9486
10233
  className
9487
10234
  } = props,
9488
- forwardedProps = _objectWithoutProperties(props, _excluded$T);
10235
+ forwardedProps = _objectWithoutProperties(props, _excluded$V);
9489
10236
  const stepListRef = React.useRef(null);
9490
10237
  useRovingTabIndex({
9491
10238
  parentRef: stepListRef,
@@ -9501,20 +10248,20 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9501
10248
  ref: mergeRefs(ref, stepListRef)
9502
10249
  }, forwardedProps, {
9503
10250
  className: classnames(className, handleBasicClasses({
9504
- prefix: CLASSNAME$O
10251
+ prefix: CLASSNAME$P
9505
10252
  }))
9506
10253
  }), /*#__PURE__*/React.createElement("div", {
9507
- className: `${CLASSNAME$O}__steps`,
10254
+ className: `${CLASSNAME$P}__steps`,
9508
10255
  role: "tablist",
9509
10256
  "aria-label": ariaLabel
9510
10257
  }, children), /*#__PURE__*/React.createElement("div", {
9511
- className: `${CLASSNAME$O}__background-bar`,
10258
+ className: `${CLASSNAME$P}__background-bar`,
9512
10259
  style: {
9513
10260
  left: `${backgroundPosition}%`,
9514
10261
  right: `${backgroundPosition}%`
9515
10262
  }
9516
10263
  }), /*#__PURE__*/React.createElement("div", {
9517
- className: `${CLASSNAME$O}__foreground-bar`,
10264
+ className: `${CLASSNAME$P}__foreground-bar`,
9518
10265
  style: {
9519
10266
  left: `${backgroundPosition}%`,
9520
10267
  right: `${backgroundPosition}%`,
@@ -9522,11 +10269,11 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9522
10269
  }
9523
10270
  }));
9524
10271
  });
9525
- ProgressTracker.displayName = COMPONENT_NAME$R;
9526
- ProgressTracker.className = CLASSNAME$O;
10272
+ ProgressTracker.displayName = COMPONENT_NAME$S;
10273
+ ProgressTracker.className = CLASSNAME$P;
9527
10274
  ProgressTracker.defaultProps = DEFAULT_PROPS$D;
9528
10275
 
9529
- const _excluded$U = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10276
+ const _excluded$W = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
9530
10277
 
9531
10278
  /**
9532
10279
  * Defines the props of the component.
@@ -9535,12 +10282,12 @@ const _excluded$U = ["className", "disabled", "hasError", "helper", "id", "isAct
9535
10282
  /**
9536
10283
  * Component display name.
9537
10284
  */
9538
- const COMPONENT_NAME$S = 'ProgressTrackerStep';
10285
+ const COMPONENT_NAME$T = 'ProgressTrackerStep';
9539
10286
 
9540
10287
  /**
9541
10288
  * Component default class name and class prefix.
9542
10289
  */
9543
- const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
10290
+ const CLASSNAME$Q = getRootClassName(COMPONENT_NAME$T);
9544
10291
 
9545
10292
  /**
9546
10293
  * Component default props.
@@ -9571,7 +10318,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9571
10318
  onKeyPress,
9572
10319
  tabIndex = -1
9573
10320
  } = props,
9574
- forwardedProps = _objectWithoutProperties(props, _excluded$U);
10321
+ forwardedProps = _objectWithoutProperties(props, _excluded$W);
9575
10322
  const state = useTabProviderContext('tab', id);
9576
10323
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
9577
10324
  const changeToCurrentTab = useCallback(() => {
@@ -9608,7 +10355,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9608
10355
  type: "button",
9609
10356
  id: state === null || state === void 0 ? void 0 : state.tabId,
9610
10357
  className: classnames(className, handleBasicClasses({
9611
- prefix: CLASSNAME$P,
10358
+ prefix: CLASSNAME$Q,
9612
10359
  hasError,
9613
10360
  isActive,
9614
10361
  isClickable: state && !isDisabled,
@@ -9623,22 +10370,22 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9623
10370
  "aria-selected": isActive,
9624
10371
  "aria-controls": state === null || state === void 0 ? void 0 : state.tabPanelId
9625
10372
  }), /*#__PURE__*/React.createElement(Icon, {
9626
- className: `${CLASSNAME$P}__state`,
10373
+ className: `${CLASSNAME$Q}__state`,
9627
10374
  icon: getIcon(),
9628
10375
  size: Size.s
9629
10376
  }), /*#__PURE__*/React.createElement(InputLabel, {
9630
10377
  htmlFor: (state === null || state === void 0 ? void 0 : state.tabId) || '',
9631
- className: `${CLASSNAME$P}__label`
10378
+ className: `${CLASSNAME$Q}__label`
9632
10379
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
9633
10380
  kind: hasError ? Kind.error : Kind.info,
9634
- className: `${CLASSNAME$P}__helper`
10381
+ className: `${CLASSNAME$Q}__helper`
9635
10382
  }, helper));
9636
10383
  });
9637
- ProgressTrackerStep.displayName = COMPONENT_NAME$S;
9638
- ProgressTrackerStep.className = CLASSNAME$P;
10384
+ ProgressTrackerStep.displayName = COMPONENT_NAME$T;
10385
+ ProgressTrackerStep.className = CLASSNAME$Q;
9639
10386
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$E;
9640
10387
 
9641
- const _excluded$V = ["children", "id", "className", "isActive"];
10388
+ const _excluded$X = ["children", "id", "className", "isActive"];
9642
10389
 
9643
10390
  /**
9644
10391
  * Defines the props of the component.
@@ -9647,12 +10394,12 @@ const _excluded$V = ["children", "id", "className", "isActive"];
9647
10394
  /**
9648
10395
  * Component display name.
9649
10396
  */
9650
- const COMPONENT_NAME$T = 'ProgressTrackerStepPanel';
10397
+ const COMPONENT_NAME$U = 'ProgressTrackerStepPanel';
9651
10398
 
9652
10399
  /**
9653
10400
  * Component default class name and class prefix.
9654
10401
  */
9655
- const CLASSNAME$Q = `${CSS_PREFIX}-step-panel`;
10402
+ const CLASSNAME$R = `${CSS_PREFIX}-step-panel`;
9656
10403
 
9657
10404
  /**
9658
10405
  * Component default props.
@@ -9675,7 +10422,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9675
10422
  className,
9676
10423
  isActive: propIsActive
9677
10424
  } = props,
9678
- forwardedProps = _objectWithoutProperties(props, _excluded$V);
10425
+ forwardedProps = _objectWithoutProperties(props, _excluded$X);
9679
10426
  const state = useTabProviderContext('tabPanel', id);
9680
10427
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
9681
10428
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -9683,7 +10430,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9683
10430
  }, forwardedProps, {
9684
10431
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
9685
10432
  className: classnames(className, handleBasicClasses({
9686
- prefix: CLASSNAME$Q,
10433
+ prefix: CLASSNAME$R,
9687
10434
  isActive
9688
10435
  })),
9689
10436
  role: "tabpanel",
@@ -9691,11 +10438,11 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9691
10438
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
9692
10439
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
9693
10440
  });
9694
- ProgressTrackerStepPanel.displayName = COMPONENT_NAME$T;
9695
- ProgressTrackerStepPanel.className = CLASSNAME$Q;
10441
+ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$U;
10442
+ ProgressTrackerStepPanel.className = CLASSNAME$R;
9696
10443
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$F;
9697
10444
 
9698
- const _excluded$W = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10445
+ const _excluded$Y = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
9699
10446
 
9700
10447
  /**
9701
10448
  * Defines the props of the component.
@@ -9704,12 +10451,12 @@ const _excluded$W = ["checked", "className", "disabled", "helper", "id", "inputR
9704
10451
  /**
9705
10452
  * Component display name.
9706
10453
  */
9707
- const COMPONENT_NAME$U = 'RadioButton';
10454
+ const COMPONENT_NAME$V = 'RadioButton';
9708
10455
 
9709
10456
  /**
9710
10457
  * Component default class name and class prefix.
9711
10458
  */
9712
- const CLASSNAME$R = getRootClassName(COMPONENT_NAME$U);
10459
+ const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
9713
10460
 
9714
10461
  /**
9715
10462
  * Component default props.
@@ -9742,8 +10489,8 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9742
10489
  value,
9743
10490
  inputProps
9744
10491
  } = props,
9745
- forwardedProps = _objectWithoutProperties(props, _excluded$W);
9746
- const inputId = useMemo(() => id || `${CLASSNAME$R.toLowerCase()}-${uid()}`, [id]);
10492
+ forwardedProps = _objectWithoutProperties(props, _excluded$Y);
10493
+ const inputId = useMemo(() => id || `${CLASSNAME$S.toLowerCase()}-${uid()}`, [id]);
9747
10494
  const handleChange = event => {
9748
10495
  if (onChange) {
9749
10496
  onChange(value, name, event);
@@ -9756,14 +10503,14 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9756
10503
  isChecked,
9757
10504
  isDisabled,
9758
10505
  isUnchecked: !isChecked,
9759
- prefix: CLASSNAME$R,
10506
+ prefix: CLASSNAME$S,
9760
10507
  theme
9761
10508
  }))
9762
10509
  }), /*#__PURE__*/React.createElement("div", {
9763
- className: `${CLASSNAME$R}__input-wrapper`
10510
+ className: `${CLASSNAME$S}__input-wrapper`
9764
10511
  }, /*#__PURE__*/React.createElement("input", _extends({
9765
10512
  ref: inputRef,
9766
- className: `${CLASSNAME$R}__input-native`,
10513
+ className: `${CLASSNAME$S}__input-native`,
9767
10514
  disabled: isDisabled,
9768
10515
  id: inputId,
9769
10516
  tabIndex: isDisabled ? -1 : 0,
@@ -9774,28 +10521,28 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9774
10521
  onChange: handleChange,
9775
10522
  "aria-describedby": helper ? `${inputId}-helper` : undefined
9776
10523
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
9777
- className: `${CLASSNAME$R}__input-placeholder`
10524
+ className: `${CLASSNAME$S}__input-placeholder`
9778
10525
  }, /*#__PURE__*/React.createElement("div", {
9779
- className: `${CLASSNAME$R}__input-background`
10526
+ className: `${CLASSNAME$S}__input-background`
9780
10527
  }), /*#__PURE__*/React.createElement("div", {
9781
- className: `${CLASSNAME$R}__input-indicator`
10528
+ className: `${CLASSNAME$S}__input-indicator`
9782
10529
  }))), /*#__PURE__*/React.createElement("div", {
9783
- className: `${CLASSNAME$R}__content`
10530
+ className: `${CLASSNAME$S}__content`
9784
10531
  }, label && /*#__PURE__*/React.createElement(InputLabel, {
9785
10532
  htmlFor: inputId,
9786
10533
  theme: theme,
9787
- className: `${CLASSNAME$R}__label`
10534
+ className: `${CLASSNAME$S}__label`
9788
10535
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
9789
10536
  id: `${inputId}-helper`,
9790
10537
  theme: theme,
9791
- className: `${CLASSNAME$R}__helper`
10538
+ className: `${CLASSNAME$S}__helper`
9792
10539
  }, helper)));
9793
10540
  });
9794
- RadioButton.displayName = COMPONENT_NAME$U;
9795
- RadioButton.className = CLASSNAME$R;
10541
+ RadioButton.displayName = COMPONENT_NAME$V;
10542
+ RadioButton.className = CLASSNAME$S;
9796
10543
  RadioButton.defaultProps = DEFAULT_PROPS$G;
9797
10544
 
9798
- const _excluded$X = ["children", "className"];
10545
+ const _excluded$Z = ["children", "className"];
9799
10546
 
9800
10547
  /**
9801
10548
  * Defines the props of the component.
@@ -9804,12 +10551,12 @@ const _excluded$X = ["children", "className"];
9804
10551
  /**
9805
10552
  * Component display name.
9806
10553
  */
9807
- const COMPONENT_NAME$V = 'RadioGroup';
10554
+ const COMPONENT_NAME$W = 'RadioGroup';
9808
10555
 
9809
10556
  /**
9810
10557
  * Component default class name and class prefix.
9811
10558
  */
9812
- const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
10559
+ const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
9813
10560
 
9814
10561
  /**
9815
10562
  * RadioGroup component.
@@ -9823,17 +10570,17 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9823
10570
  children,
9824
10571
  className
9825
10572
  } = props,
9826
- forwardedProps = _objectWithoutProperties(props, _excluded$X);
10573
+ forwardedProps = _objectWithoutProperties(props, _excluded$Z);
9827
10574
  return /*#__PURE__*/React.createElement("div", _extends({
9828
10575
  ref: ref
9829
10576
  }, forwardedProps, {
9830
10577
  className: classnames(className, handleBasicClasses({
9831
- prefix: CLASSNAME$S
10578
+ prefix: CLASSNAME$T
9832
10579
  }))
9833
10580
  }), children);
9834
10581
  });
9835
- RadioGroup.displayName = COMPONENT_NAME$V;
9836
- RadioGroup.className = CLASSNAME$S;
10582
+ RadioGroup.displayName = COMPONENT_NAME$W;
10583
+ RadioGroup.className = CLASSNAME$T;
9837
10584
 
9838
10585
  /**
9839
10586
  * Listen on element focus to store the focus status.
@@ -9867,13 +10614,13 @@ const SelectVariant = {
9867
10614
  chip: 'chip'
9868
10615
  };
9869
10616
 
9870
- const _excluded$Y = ["children", "className", "focusElement", "isMultiple", "closeOnClick", "disabled", "error", "hasError", "helper", "id", "isDisabled", "isEmpty", "isOpen", "isRequired", "isValid", "label", "onClear", "onDropdownClose", "onInfiniteScroll", "onInputClick", "placeholder", "theme", "value", "variant"];
10617
+ const _excluded$_ = ["children", "className", "focusElement", "isMultiple", "closeOnClick", "disabled", "error", "hasError", "helper", "id", "isDisabled", "isEmpty", "isOpen", "isRequired", "isValid", "label", "onClear", "onDropdownClose", "onInfiniteScroll", "onInputClick", "placeholder", "theme", "value", "variant"];
9871
10618
 
9872
10619
  /** The display name of the component. */
9873
- const COMPONENT_NAME$W = 'Select';
10620
+ const COMPONENT_NAME$X = 'Select';
9874
10621
 
9875
10622
  /** The default class name and classes prefix for this component. */
9876
- const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
10623
+ const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
9877
10624
 
9878
10625
  /** The default value of props. */
9879
10626
  const DEFAULT_PROPS$H = {
@@ -9907,7 +10654,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
9907
10654
  value,
9908
10655
  variant = DEFAULT_PROPS$H.variant
9909
10656
  } = _ref,
9910
- forwardedProps = _objectWithoutProperties(_ref, _excluded$Y);
10657
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$_);
9911
10658
  const selectId = useMemo(() => id || `select-${uid()}`, [id]);
9912
10659
  const anchorRef = useRef(null);
9913
10660
  const selectRef = useRef(null);
@@ -9941,7 +10688,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
9941
10688
  isFocus,
9942
10689
  isOpen,
9943
10690
  isValid,
9944
- prefix: CLASSNAME$T,
10691
+ prefix: CLASSNAME$U,
9945
10692
  theme: theme === Theme.light ? Theme.light : Theme.dark
9946
10693
  }))
9947
10694
  }, /*#__PURE__*/React.createElement(SelectElement, _extends({}, forwardedProps, {
@@ -9972,22 +10719,22 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
9972
10719
  onInfiniteScroll: onInfiniteScroll,
9973
10720
  ref: dropdownRef
9974
10721
  }, children), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
9975
- className: `${CLASSNAME$T}__helper`,
10722
+ className: `${CLASSNAME$U}__helper`,
9976
10723
  kind: Kind.error,
9977
10724
  theme: theme
9978
10725
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
9979
- className: `${CLASSNAME$T}__helper`,
10726
+ className: `${CLASSNAME$U}__helper`,
9980
10727
  theme: theme
9981
10728
  }, helper));
9982
10729
  };
9983
10730
 
9984
- const _excluded$Z = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10731
+ const _excluded$$ = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
9985
10732
 
9986
10733
  /** The display name of the component. */
9987
- const COMPONENT_NAME$X = 'Select';
10734
+ const COMPONENT_NAME$Y = 'Select';
9988
10735
 
9989
10736
  /** The default class name and classes prefix for this component. */
9990
- const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
10737
+ const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
9991
10738
 
9992
10739
  /** The default value of props. */
9993
10740
  const DEFAULT_PROPS$I = {
@@ -10021,36 +10768,36 @@ const SelectField = _ref => {
10021
10768
  variant,
10022
10769
  selectElementRef
10023
10770
  } = _ref,
10024
- forwardedProps = _objectWithoutProperties(_ref, _excluded$Z);
10771
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
10025
10772
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10026
- className: `${CLASSNAME$U}__header`
10773
+ className: `${CLASSNAME$V}__header`
10027
10774
  }, /*#__PURE__*/React.createElement(InputLabel, {
10028
10775
  htmlFor: id,
10029
- className: `${CLASSNAME$U}__label`,
10776
+ className: `${CLASSNAME$V}__label`,
10030
10777
  isRequired: isRequired,
10031
10778
  theme: theme
10032
10779
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10033
10780
  ref: mergeRefs(anchorRef, selectElementRef),
10034
10781
  id: id,
10035
- className: `${CLASSNAME$U}__wrapper`,
10782
+ className: `${CLASSNAME$V}__wrapper`,
10036
10783
  onClick: onInputClick,
10037
10784
  onKeyDown: handleKeyboardNav,
10038
10785
  tabIndex: isDisabled ? undefined : 0,
10039
10786
  "aria-disabled": isDisabled || undefined
10040
10787
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10041
- className: `${CLASSNAME$U}__input-icon`,
10788
+ className: `${CLASSNAME$V}__input-icon`,
10042
10789
  color: theme === Theme.dark ? 'light' : undefined,
10043
10790
  icon: icon,
10044
10791
  size: Size.xs
10045
10792
  }), /*#__PURE__*/React.createElement("div", {
10046
- className: classnames([`${CLASSNAME$U}__input-native`, isEmpty && placeholder && `${CLASSNAME$U}__input-native--placeholder`])
10793
+ className: classnames([`${CLASSNAME$V}__input-native`, isEmpty && placeholder && `${CLASSNAME$V}__input-native--placeholder`])
10047
10794
  }, !isEmpty && /*#__PURE__*/React.createElement("span", null, selectedValueRender === null || selectedValueRender === void 0 ? void 0 : selectedValueRender(value)), isEmpty && placeholder && /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
10048
- className: `${CLASSNAME$U}__input-validity`
10795
+ className: `${CLASSNAME$V}__input-validity`
10049
10796
  }, /*#__PURE__*/React.createElement(Icon, {
10050
10797
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10051
10798
  size: Size.xxs
10052
10799
  })), hasInputClear && clearButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
10053
- className: `${CLASSNAME$U}__input-clear`,
10800
+ className: `${CLASSNAME$V}__input-clear`,
10054
10801
  icon: mdiCloseCircle,
10055
10802
  emphasis: Emphasis.low,
10056
10803
  size: Size.s,
@@ -10058,7 +10805,7 @@ const SelectField = _ref => {
10058
10805
  onClick: onClear,
10059
10806
  onKeyDown: stopPropagation
10060
10807
  })), /*#__PURE__*/React.createElement("div", {
10061
- className: `${CLASSNAME$U}__input-indicator`
10808
+ className: `${CLASSNAME$V}__input-indicator`
10062
10809
  }, /*#__PURE__*/React.createElement(Icon, {
10063
10810
  icon: mdiMenuDown,
10064
10811
  size: Size.s
@@ -10090,26 +10837,26 @@ const Select = /*#__PURE__*/forwardRef((props, ref) => {
10090
10837
  className: classnames(props.className, handleBasicClasses({
10091
10838
  hasInputClear,
10092
10839
  hasUnique: !props.isEmpty,
10093
- prefix: CLASSNAME$U
10840
+ prefix: CLASSNAME$V
10094
10841
  })),
10095
10842
  hasInputClear,
10096
10843
  isEmpty: isEmpty$1
10097
10844
  }), ref);
10098
10845
  });
10099
- Select.displayName = COMPONENT_NAME$X;
10100
- Select.className = CLASSNAME$U;
10846
+ Select.displayName = COMPONENT_NAME$Y;
10847
+ Select.className = CLASSNAME$V;
10101
10848
  Select.defaultProps = DEFAULT_PROPS$I;
10102
- Select.className = CLASSNAME$U;
10849
+ Select.className = CLASSNAME$V;
10103
10850
 
10104
- const _excluded$_ = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10851
+ const _excluded$10 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10105
10852
 
10106
10853
  /** Defines the props of the component. */
10107
10854
 
10108
10855
  /** The display name of the component. */
10109
- const COMPONENT_NAME$Y = 'Select';
10856
+ const COMPONENT_NAME$Z = 'Select';
10110
10857
 
10111
10858
  /** The default class name and classes prefix for this component. */
10112
- const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10859
+ const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
10113
10860
 
10114
10861
  /** The default value of props. */
10115
10862
  const DEFAULT_PROPS$J = {
@@ -10152,38 +10899,38 @@ const SelectMultipleField = _ref => {
10152
10899
  variant,
10153
10900
  selectElementRef
10154
10901
  } = _ref,
10155
- forwardedProps = _objectWithoutProperties(_ref, _excluded$_);
10902
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10156
10903
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10157
- className: `${CLASSNAME$V}__header`
10904
+ className: `${CLASSNAME$W}__header`
10158
10905
  }, /*#__PURE__*/React.createElement(InputLabel, {
10159
10906
  htmlFor: id,
10160
- className: `${CLASSNAME$V}__label`,
10907
+ className: `${CLASSNAME$W}__label`,
10161
10908
  isRequired: isRequired,
10162
10909
  theme: theme
10163
10910
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10164
10911
  ref: mergeRefs(anchorRef, selectElementRef),
10165
10912
  id: id,
10166
- className: `${CLASSNAME$V}__wrapper`,
10913
+ className: `${CLASSNAME$W}__wrapper`,
10167
10914
  onClick: onInputClick,
10168
10915
  onKeyDown: handleKeyboardNav,
10169
10916
  tabIndex: isDisabled ? undefined : 0,
10170
10917
  "aria-disabled": isDisabled || undefined
10171
10918
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10172
- className: `${CLASSNAME$V}__input-icon`,
10919
+ className: `${CLASSNAME$W}__input-icon`,
10173
10920
  color: theme === Theme.dark ? 'light' : undefined,
10174
10921
  icon: icon,
10175
10922
  size: Size.xs
10176
10923
  }), /*#__PURE__*/React.createElement("div", {
10177
- className: `${CLASSNAME$V}__chips`
10924
+ className: `${CLASSNAME$W}__chips`
10178
10925
  }, !isEmpty && value.map((val, index) => selectedChipRender === null || selectedChipRender === void 0 ? void 0 : selectedChipRender(val, index, onClear, isDisabled, theme))), isEmpty && placeholder && /*#__PURE__*/React.createElement("div", {
10179
- className: classnames([`${CLASSNAME$V}__input-native`, `${CLASSNAME$V}__input-native--placeholder`])
10926
+ className: classnames([`${CLASSNAME$W}__input-native`, `${CLASSNAME$W}__input-native--placeholder`])
10180
10927
  }, /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
10181
- className: `${CLASSNAME$V}__input-validity`
10928
+ className: `${CLASSNAME$W}__input-validity`
10182
10929
  }, /*#__PURE__*/React.createElement(Icon, {
10183
10930
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10184
10931
  size: Size.xxs
10185
10932
  })), /*#__PURE__*/React.createElement("div", {
10186
- className: `${CLASSNAME$V}__input-indicator`
10933
+ className: `${CLASSNAME$W}__input-indicator`
10187
10934
  }, /*#__PURE__*/React.createElement(Icon, {
10188
10935
  icon: mdiMenuDown,
10189
10936
  size: Size.s
@@ -10212,17 +10959,17 @@ const SelectMultiple = /*#__PURE__*/forwardRef((props, ref) => {
10212
10959
  return WithSelectContext(SelectMultipleField, _objectSpread2(_objectSpread2({}, props), {}, {
10213
10960
  className: classnames(props.className, handleBasicClasses({
10214
10961
  hasMultiple: !props.isEmpty,
10215
- prefix: CLASSNAME$V
10962
+ prefix: CLASSNAME$W
10216
10963
  })),
10217
10964
  isEmpty: props.value.length === 0,
10218
10965
  isMultiple: true
10219
10966
  }), ref);
10220
10967
  });
10221
- SelectMultiple.displayName = COMPONENT_NAME$Y;
10222
- SelectMultiple.className = CLASSNAME$V;
10968
+ SelectMultiple.displayName = COMPONENT_NAME$Z;
10969
+ SelectMultiple.className = CLASSNAME$W;
10223
10970
  SelectMultiple.defaultProps = DEFAULT_PROPS$J;
10224
10971
 
10225
- const _excluded$$ = ["children", "className", "theme"];
10972
+ const _excluded$11 = ["children", "className", "theme"];
10226
10973
 
10227
10974
  /**
10228
10975
  * Defines the props of the component.
@@ -10231,12 +10978,12 @@ const _excluded$$ = ["children", "className", "theme"];
10231
10978
  /**
10232
10979
  * Component display name.
10233
10980
  */
10234
- const COMPONENT_NAME$Z = 'SideNavigation';
10981
+ const COMPONENT_NAME$_ = 'SideNavigation';
10235
10982
 
10236
10983
  /**
10237
10984
  * Component default class name and class prefix.
10238
10985
  */
10239
- const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
10986
+ const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
10240
10987
 
10241
10988
  /**
10242
10989
  * SideNavigation component.
@@ -10251,20 +10998,20 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
10251
10998
  className,
10252
10999
  theme
10253
11000
  } = props,
10254
- forwardedProps = _objectWithoutProperties(props, _excluded$$);
11001
+ forwardedProps = _objectWithoutProperties(props, _excluded$11);
10255
11002
  const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
10256
11003
  return /*#__PURE__*/React.createElement("ul", _extends({
10257
11004
  ref: ref
10258
11005
  }, forwardedProps, {
10259
11006
  className: classnames(className, theme === Theme.dark && 'lumx-color-font-light-N', handleBasicClasses({
10260
- prefix: CLASSNAME$W
11007
+ prefix: CLASSNAME$X
10261
11008
  }))
10262
11009
  }), content);
10263
11010
  });
10264
- SideNavigation.displayName = COMPONENT_NAME$Z;
10265
- SideNavigation.className = CLASSNAME$W;
11011
+ SideNavigation.displayName = COMPONENT_NAME$_;
11012
+ SideNavigation.className = CLASSNAME$X;
10266
11013
 
10267
- const _excluded$10 = ["linkAs", "href"];
11014
+ const _excluded$12 = ["linkAs", "href"];
10268
11015
  /**
10269
11016
  * Render <button> HTML component, fallbacks to `<a>` when a `href` is provided or a custom component with `linkAs`.
10270
11017
  */
@@ -10273,7 +11020,7 @@ const renderButtonOrLink = function (props) {
10273
11020
  linkAs,
10274
11021
  href
10275
11022
  } = props,
10276
- forwardedProps = _objectWithoutProperties(props, _excluded$10);
11023
+ forwardedProps = _objectWithoutProperties(props, _excluded$12);
10277
11024
  for (var _len = arguments.length, children = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
10278
11025
  children[_key - 1] = arguments[_key];
10279
11026
  }
@@ -10283,7 +11030,7 @@ const renderButtonOrLink = function (props) {
10283
11030
  }, forwardedProps), ...children);
10284
11031
  };
10285
11032
 
10286
- const _excluded$11 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11033
+ const _excluded$13 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
10287
11034
 
10288
11035
  /**
10289
11036
  * Defines the props of the component.
@@ -10292,12 +11039,12 @@ const _excluded$11 = ["children", "className", "emphasis", "icon", "isOpen", "is
10292
11039
  /**
10293
11040
  * Component display name.
10294
11041
  */
10295
- const COMPONENT_NAME$_ = 'SideNavigationItem';
11042
+ const COMPONENT_NAME$$ = 'SideNavigationItem';
10296
11043
 
10297
11044
  /**
10298
11045
  * Component default class name and class prefix.
10299
11046
  */
10300
- const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
11047
+ const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
10301
11048
 
10302
11049
  /**
10303
11050
  * Component default props.
@@ -10330,7 +11077,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10330
11077
  toggleButtonProps,
10331
11078
  closeMode = 'unmount'
10332
11079
  } = props,
10333
- forwardedProps = _objectWithoutProperties(props, _excluded$11);
11080
+ forwardedProps = _objectWithoutProperties(props, _excluded$13);
10334
11081
  const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
10335
11082
  const hasContent = !isEmpty(content);
10336
11083
  const shouldSplitActions = Boolean(onActionClick);
@@ -10349,22 +11096,22 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10349
11096
  emphasis,
10350
11097
  isOpen: showChildren,
10351
11098
  isSelected,
10352
- prefix: CLASSNAME$X
11099
+ prefix: CLASSNAME$Y
10353
11100
  }))
10354
11101
  }), shouldSplitActions ? /*#__PURE__*/React.createElement("div", {
10355
- className: `${CLASSNAME$X}__wrapper`
11102
+ className: `${CLASSNAME$Y}__wrapper`
10356
11103
  }, renderLink(_objectSpread2(_objectSpread2({
10357
11104
  linkAs
10358
11105
  }, linkProps), {}, {
10359
- className: `${CLASSNAME$X}__link`,
11106
+ className: `${CLASSNAME$Y}__link`,
10360
11107
  onClick,
10361
11108
  tabIndex: 0
10362
11109
  }), icon && /*#__PURE__*/React.createElement(Icon, {
10363
- className: `${CLASSNAME$X}__icon`,
11110
+ className: `${CLASSNAME$Y}__icon`,
10364
11111
  icon: icon,
10365
11112
  size: Size.xs
10366
11113
  }), /*#__PURE__*/React.createElement("span", null, label)), /*#__PURE__*/React.createElement(IconButton, _extends({}, toggleButtonProps, {
10367
- className: `${CLASSNAME$X}__toggle`,
11114
+ className: `${CLASSNAME$Y}__toggle`,
10368
11115
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
10369
11116
  size: Size.m,
10370
11117
  emphasis: Emphasis.low,
@@ -10372,27 +11119,27 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10372
11119
  }, ariaProps))) : renderButtonOrLink(_objectSpread2(_objectSpread2({
10373
11120
  linkAs
10374
11121
  }, linkProps), {}, {
10375
- className: `${CLASSNAME$X}__link`,
11122
+ className: `${CLASSNAME$Y}__link`,
10376
11123
  tabIndex: 0,
10377
11124
  onClick
10378
11125
  }, ariaProps), icon && /*#__PURE__*/React.createElement(Icon, {
10379
- className: `${CLASSNAME$X}__icon`,
11126
+ className: `${CLASSNAME$Y}__icon`,
10380
11127
  icon: icon,
10381
11128
  size: Size.xs
10382
11129
  }), /*#__PURE__*/React.createElement("span", null, label), hasContent && /*#__PURE__*/React.createElement(Icon, {
10383
- className: `${CLASSNAME$X}__chevron`,
11130
+ className: `${CLASSNAME$Y}__chevron`,
10384
11131
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
10385
11132
  size: Size.xs
10386
11133
  })), (closeMode === 'hide' || showChildren) && /*#__PURE__*/React.createElement("ul", {
10387
- className: `${CLASSNAME$X}__children`,
11134
+ className: `${CLASSNAME$Y}__children`,
10388
11135
  id: contentId
10389
11136
  }, content));
10390
11137
  });
10391
- SideNavigationItem.displayName = COMPONENT_NAME$_;
10392
- SideNavigationItem.className = CLASSNAME$X;
11138
+ SideNavigationItem.displayName = COMPONENT_NAME$$;
11139
+ SideNavigationItem.className = CLASSNAME$Y;
10393
11140
  SideNavigationItem.defaultProps = DEFAULT_PROPS$K;
10394
11141
 
10395
- const _excluded$12 = ["className", "size", "color", "theme"];
11142
+ const _excluded$14 = ["className", "size", "color", "theme"];
10396
11143
 
10397
11144
  /**
10398
11145
  * Defines the props of the component.
@@ -10405,12 +11152,12 @@ const DEFAULT_PROPS$L = {
10405
11152
  /**
10406
11153
  * Component display name.
10407
11154
  */
10408
- const COMPONENT_NAME$$ = 'SkeletonCircle';
11155
+ const COMPONENT_NAME$10 = 'SkeletonCircle';
10409
11156
 
10410
11157
  /**
10411
11158
  * Component default class name and class prefix.
10412
11159
  */
10413
- const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
11160
+ const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
10414
11161
 
10415
11162
  /**
10416
11163
  * SkeletonCircle component.
@@ -10426,23 +11173,23 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
10426
11173
  color,
10427
11174
  theme
10428
11175
  } = props,
10429
- forwardedProps = _objectWithoutProperties(props, _excluded$12);
11176
+ forwardedProps = _objectWithoutProperties(props, _excluded$14);
10430
11177
  return /*#__PURE__*/React.createElement("div", _extends({
10431
11178
  ref: ref
10432
11179
  }, forwardedProps, {
10433
11180
  className: classnames(className, handleBasicClasses({
10434
- prefix: CLASSNAME$Y,
11181
+ prefix: CLASSNAME$Z,
10435
11182
  size,
10436
11183
  color,
10437
11184
  theme
10438
11185
  }))
10439
11186
  }));
10440
11187
  });
10441
- SkeletonCircle.displayName = COMPONENT_NAME$$;
11188
+ SkeletonCircle.displayName = COMPONENT_NAME$10;
10442
11189
  SkeletonCircle.defaultProps = DEFAULT_PROPS$L;
10443
- SkeletonCircle.className = CLASSNAME$Y;
11190
+ SkeletonCircle.className = CLASSNAME$Z;
10444
11191
 
10445
- const _excluded$13 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11192
+ const _excluded$15 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
10446
11193
 
10447
11194
  /**
10448
11195
  * Skeleton variants.
@@ -10465,12 +11212,12 @@ const DEFAULT_PROPS$M = {
10465
11212
  /**
10466
11213
  * Component display name.
10467
11214
  */
10468
- const COMPONENT_NAME$10 = 'SkeletonRectangle';
11215
+ const COMPONENT_NAME$11 = 'SkeletonRectangle';
10469
11216
 
10470
11217
  /**
10471
11218
  * Component default class name and class prefix.
10472
11219
  */
10473
- const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
11220
+ const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
10474
11221
 
10475
11222
  /**
10476
11223
  * SkeletonRectangle component.
@@ -10489,12 +11236,12 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
10489
11236
  width,
10490
11237
  color
10491
11238
  } = props,
10492
- forwardedProps = _objectWithoutProperties(props, _excluded$13);
11239
+ forwardedProps = _objectWithoutProperties(props, _excluded$15);
10493
11240
  return /*#__PURE__*/React.createElement("div", _extends({
10494
11241
  ref: ref
10495
11242
  }, forwardedProps, {
10496
11243
  className: classnames(className, handleBasicClasses({
10497
- prefix: CLASSNAME$Z,
11244
+ prefix: CLASSNAME$_,
10498
11245
  aspectRatio,
10499
11246
  height: aspectRatio ? undefined : height,
10500
11247
  theme,
@@ -10503,14 +11250,14 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
10503
11250
  color
10504
11251
  }))
10505
11252
  }), /*#__PURE__*/React.createElement("div", {
10506
- className: `${CLASSNAME$Z}__inner`
11253
+ className: `${CLASSNAME$_}__inner`
10507
11254
  }));
10508
11255
  });
10509
- SkeletonRectangle.displayName = COMPONENT_NAME$10;
10510
- SkeletonRectangle.className = CLASSNAME$Z;
11256
+ SkeletonRectangle.displayName = COMPONENT_NAME$11;
11257
+ SkeletonRectangle.className = CLASSNAME$_;
10511
11258
  SkeletonRectangle.defaultProps = DEFAULT_PROPS$M;
10512
11259
 
10513
- const _excluded$14 = ["className", "theme", "typography", "width", "color"];
11260
+ const _excluded$16 = ["className", "theme", "typography", "width", "color"];
10514
11261
 
10515
11262
  /**
10516
11263
  * Defines the props of the component.
@@ -10523,12 +11270,12 @@ const DEFAULT_PROPS$N = {
10523
11270
  /**
10524
11271
  * Component display name.
10525
11272
  */
10526
- const COMPONENT_NAME$11 = 'SkeletonTypography';
11273
+ const COMPONENT_NAME$12 = 'SkeletonTypography';
10527
11274
 
10528
11275
  /**
10529
11276
  * Component default class name and class prefix.
10530
11277
  */
10531
- const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
11278
+ const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
10532
11279
 
10533
11280
  /**
10534
11281
  * SkeletonTypography component.
@@ -10545,12 +11292,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
10545
11292
  width,
10546
11293
  color
10547
11294
  } = props,
10548
- forwardedProps = _objectWithoutProperties(props, _excluded$14);
11295
+ forwardedProps = _objectWithoutProperties(props, _excluded$16);
10549
11296
  return /*#__PURE__*/React.createElement("div", _extends({
10550
11297
  ref: ref
10551
11298
  }, forwardedProps, {
10552
11299
  className: classnames(className, handleBasicClasses({
10553
- prefix: CLASSNAME$_,
11300
+ prefix: CLASSNAME$$,
10554
11301
  theme,
10555
11302
  typography,
10556
11303
  color
@@ -10559,12 +11306,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
10559
11306
  width
10560
11307
  })
10561
11308
  }), /*#__PURE__*/React.createElement("div", {
10562
- className: `${CLASSNAME$_}__inner`
11309
+ className: `${CLASSNAME$$}__inner`
10563
11310
  }));
10564
11311
  });
10565
- SkeletonTypography.displayName = COMPONENT_NAME$11;
11312
+ SkeletonTypography.displayName = COMPONENT_NAME$12;
10566
11313
  SkeletonTypography.defaultProps = DEFAULT_PROPS$N;
10567
- SkeletonTypography.className = CLASSNAME$_;
11314
+ SkeletonTypography.className = CLASSNAME$$;
10568
11315
 
10569
11316
  const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
10570
11317
 
@@ -10600,7 +11347,7 @@ const clamp = (value, min, max) => {
10600
11347
  return value;
10601
11348
  };
10602
11349
 
10603
- const _excluded$15 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11350
+ const _excluded$17 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
10604
11351
 
10605
11352
  /**
10606
11353
  * Defines the props of the component.
@@ -10609,12 +11356,12 @@ const _excluded$15 = ["className", "disabled", "helper", "hideMinMaxLabel", "id"
10609
11356
  /**
10610
11357
  * Component display name.
10611
11358
  */
10612
- const COMPONENT_NAME$12 = 'Slider';
11359
+ const COMPONENT_NAME$13 = 'Slider';
10613
11360
 
10614
11361
  /**
10615
11362
  * Component default class name and class prefix.
10616
11363
  */
10617
- const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
11364
+ const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
10618
11365
 
10619
11366
  /**
10620
11367
  * Component default props.
@@ -10675,7 +11422,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10675
11422
  theme,
10676
11423
  value
10677
11424
  } = props,
10678
- forwardedProps = _objectWithoutProperties(props, _excluded$15);
11425
+ forwardedProps = _objectWithoutProperties(props, _excluded$17);
10679
11426
  const sliderId = useMemo(() => id || `slider-${uid()}`, [id]);
10680
11427
  const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
10681
11428
  const sliderRef = useRef(null);
@@ -10808,7 +11555,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10808
11555
  ref: ref
10809
11556
  }, forwardedProps, {
10810
11557
  className: classnames(className, handleBasicClasses({
10811
- prefix: CLASSNAME$$,
11558
+ prefix: CLASSNAME$10,
10812
11559
  theme,
10813
11560
  hasLabel: Boolean(label)
10814
11561
  })),
@@ -10817,30 +11564,30 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10817
11564
  }), label && /*#__PURE__*/React.createElement(InputLabel, {
10818
11565
  id: sliderLabelId,
10819
11566
  htmlFor: sliderId,
10820
- className: `${CLASSNAME$$}__label`,
11567
+ className: `${CLASSNAME$10}__label`,
10821
11568
  theme: theme
10822
11569
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
10823
- className: `${CLASSNAME$$}__helper`,
11570
+ className: `${CLASSNAME$10}__helper`,
10824
11571
  theme: theme
10825
11572
  }, helper), /*#__PURE__*/React.createElement("div", {
10826
- className: `${CLASSNAME$$}__ui-wrapper`
11573
+ className: `${CLASSNAME$10}__ui-wrapper`
10827
11574
  }, !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
10828
- className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--min`
11575
+ className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--min`
10829
11576
  }, min), /*#__PURE__*/React.createElement("div", {
10830
- className: `${CLASSNAME$$}__wrapper`,
11577
+ className: `${CLASSNAME$10}__wrapper`,
10831
11578
  ref: sliderRef
10832
11579
  }, /*#__PURE__*/React.createElement("div", {
10833
- className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--background`
11580
+ className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--background`
10834
11581
  }), /*#__PURE__*/React.createElement("div", {
10835
- className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--active`,
11582
+ className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--active`,
10836
11583
  style: {
10837
11584
  width: percentString
10838
11585
  }
10839
11586
  }), steps ? /*#__PURE__*/React.createElement("div", {
10840
- className: `${CLASSNAME$$}__ticks`
11587
+ className: `${CLASSNAME$10}__ticks`
10841
11588
  }, availableSteps.map((step, idx) => /*#__PURE__*/React.createElement("div", {
10842
11589
  key: `tick_${idx}`,
10843
- className: `${CLASSNAME$$}__tick`,
11590
+ className: `${CLASSNAME$10}__tick`,
10844
11591
  style: {
10845
11592
  left: `${step * 100}%`
10846
11593
  }
@@ -10849,18 +11596,18 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10849
11596
  "aria-labelledby": sliderLabelId,
10850
11597
  name: name,
10851
11598
  id: sliderId,
10852
- className: `${CLASSNAME$$}__handle`,
11599
+ className: `${CLASSNAME$10}__handle`,
10853
11600
  style: {
10854
11601
  left: percentString
10855
11602
  },
10856
11603
  onKeyDown: handleKeyDown,
10857
11604
  disabled: isDisabled
10858
11605
  })), !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
10859
- className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--max`
11606
+ className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--max`
10860
11607
  }, max)));
10861
11608
  });
10862
- Slider.displayName = COMPONENT_NAME$12;
10863
- Slider.className = CLASSNAME$$;
11609
+ Slider.displayName = COMPONENT_NAME$13;
11610
+ Slider.className = CLASSNAME$10;
10864
11611
  Slider.defaultProps = DEFAULT_PROPS$O;
10865
11612
 
10866
11613
  /**
@@ -11181,7 +11928,7 @@ const useSlideFocusManagement = _ref => {
11181
11928
  }, [isSlideDisplayed, slideRef]);
11182
11929
  };
11183
11930
 
11184
- const _excluded$16 = ["className", "children", "role", "label", "isDisplayed"];
11931
+ const _excluded$18 = ["className", "children", "role", "label", "isDisplayed"];
11185
11932
 
11186
11933
  /**
11187
11934
  * Defines the props of the component.
@@ -11190,12 +11937,12 @@ const _excluded$16 = ["className", "children", "role", "label", "isDisplayed"];
11190
11937
  /**
11191
11938
  * Component display name.
11192
11939
  */
11193
- const COMPONENT_NAME$13 = 'SlideshowItemGroup';
11940
+ const COMPONENT_NAME$14 = 'SlideshowItemGroup';
11194
11941
 
11195
11942
  /**
11196
11943
  * Component default class name and class prefix.
11197
11944
  */
11198
- const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
11945
+ const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
11199
11946
  const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
11200
11947
 
11201
11948
  /**
@@ -11213,7 +11960,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11213
11960
  label,
11214
11961
  isDisplayed
11215
11962
  } = props,
11216
- forwardedProps = _objectWithoutProperties(props, _excluded$16);
11963
+ forwardedProps = _objectWithoutProperties(props, _excluded$18);
11217
11964
  const groupRef = React.useRef(null);
11218
11965
  useSlideFocusManagement({
11219
11966
  isSlideDisplayed: isDisplayed,
@@ -11223,16 +11970,16 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11223
11970
  ref: mergeRefs(groupRef, ref),
11224
11971
  role: role,
11225
11972
  className: classnames(className, handleBasicClasses({
11226
- prefix: CLASSNAME$10
11973
+ prefix: CLASSNAME$11
11227
11974
  })),
11228
11975
  "aria-roledescription": "slide",
11229
11976
  "aria-label": label
11230
11977
  }, forwardedProps), children);
11231
11978
  });
11232
- SlideshowItemGroup.displayName = COMPONENT_NAME$13;
11233
- SlideshowItemGroup.className = CLASSNAME$10;
11979
+ SlideshowItemGroup.displayName = COMPONENT_NAME$14;
11980
+ SlideshowItemGroup.className = CLASSNAME$11;
11234
11981
 
11235
- const _excluded$17 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
11982
+ const _excluded$19 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
11236
11983
 
11237
11984
  /**
11238
11985
  * Defines the props of the component.
@@ -11268,7 +12015,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
11268
12015
  slidesId,
11269
12016
  slideGroupLabel
11270
12017
  } = props,
11271
- forwardedProps = _objectWithoutProperties(props, _excluded$17);
12018
+ forwardedProps = _objectWithoutProperties(props, _excluded$19);
11272
12019
  // Number of slideshow items.
11273
12020
  const itemsCount = React.Children.count(children);
11274
12021
  const {
@@ -11350,7 +12097,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
11350
12097
  Slideshow.displayName = 'Slideshow';
11351
12098
  Slideshow.defaultProps = DEFAULT_PROPS$P;
11352
12099
 
11353
- const _excluded$18 = ["className", "children"];
12100
+ const _excluded$1a = ["className", "children"];
11354
12101
 
11355
12102
  /**
11356
12103
  * Defines the props of the component.
@@ -11359,12 +12106,12 @@ const _excluded$18 = ["className", "children"];
11359
12106
  /**
11360
12107
  * Component display name.
11361
12108
  */
11362
- const COMPONENT_NAME$14 = 'SlideshowItem';
12109
+ const COMPONENT_NAME$15 = 'SlideshowItem';
11363
12110
 
11364
12111
  /**
11365
12112
  * Component default class name and class prefix.
11366
12113
  */
11367
- const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
12114
+ const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
11368
12115
 
11369
12116
  /**
11370
12117
  * SlideshowItem component.
@@ -11378,16 +12125,16 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
11378
12125
  className,
11379
12126
  children
11380
12127
  } = props,
11381
- forwardedProps = _objectWithoutProperties(props, _excluded$18);
12128
+ forwardedProps = _objectWithoutProperties(props, _excluded$1a);
11382
12129
  return /*#__PURE__*/React.createElement("div", _extends({
11383
12130
  ref: ref,
11384
12131
  className: classnames(className, handleBasicClasses({
11385
- prefix: CLASSNAME$11
12132
+ prefix: CLASSNAME$12
11386
12133
  }))
11387
12134
  }, forwardedProps), children);
11388
12135
  });
11389
- SlideshowItem.displayName = COMPONENT_NAME$14;
11390
- SlideshowItem.className = CLASSNAME$11;
12136
+ SlideshowItem.displayName = COMPONENT_NAME$15;
12137
+ SlideshowItem.className = CLASSNAME$12;
11391
12138
 
11392
12139
  const isTouchDevice = () => 'ontouchstart' in window;
11393
12140
 
@@ -11446,7 +12193,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
11446
12193
  }, [activeIndex, slideCount]);
11447
12194
  }
11448
12195
 
11449
- const _excluded$19 = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12196
+ const _excluded$1b = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
11450
12197
  _excluded2$2 = ["className", "label"];
11451
12198
 
11452
12199
  /**
@@ -11456,12 +12203,12 @@ const _excluded$19 = ["activeIndex", "className", "nextButtonProps", "onNextClic
11456
12203
  /**
11457
12204
  * Component display name.
11458
12205
  */
11459
- const COMPONENT_NAME$15 = 'SlideshowControls';
12206
+ const COMPONENT_NAME$16 = 'SlideshowControls';
11460
12207
 
11461
12208
  /**
11462
12209
  * Component default class name and class prefix.
11463
12210
  */
11464
- const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
12211
+ const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
11465
12212
 
11466
12213
  /**
11467
12214
  * Component default props.
@@ -11496,7 +12243,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11496
12243
  paginationItemLabel,
11497
12244
  paginationItemProps
11498
12245
  } = props,
11499
- forwardedProps = _objectWithoutProperties(props, _excluded$19);
12246
+ forwardedProps = _objectWithoutProperties(props, _excluded$1b);
11500
12247
  let parent;
11501
12248
  if (WINDOW) {
11502
12249
  // Checking window object to avoid errors in SSR.
@@ -11533,22 +12280,22 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11533
12280
  ref: ref
11534
12281
  }, forwardedProps, {
11535
12282
  className: classnames(className, handleBasicClasses({
11536
- prefix: CLASSNAME$12,
12283
+ prefix: CLASSNAME$13,
11537
12284
  theme
11538
12285
  }), {
11539
- [`${CLASSNAME$12}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
12286
+ [`${CLASSNAME$13}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
11540
12287
  })
11541
12288
  }), /*#__PURE__*/React.createElement(IconButton, _extends({}, previousButtonProps, {
11542
12289
  icon: mdiChevronLeft,
11543
- className: `${CLASSNAME$12}__navigation`,
12290
+ className: `${CLASSNAME$13}__navigation`,
11544
12291
  color: theme === Theme.dark ? 'light' : 'dark',
11545
12292
  emphasis: Emphasis.low,
11546
12293
  onClick: onPreviousClick
11547
12294
  })), /*#__PURE__*/React.createElement("div", {
11548
12295
  ref: paginationRef,
11549
- className: `${CLASSNAME$12}__pagination`
12296
+ className: `${CLASSNAME$13}__pagination`
11550
12297
  }, /*#__PURE__*/React.createElement("div", _extends({
11551
- className: `${CLASSNAME$12}__pagination-items`,
12298
+ className: `${CLASSNAME$13}__pagination-items`,
11552
12299
  style: wrapperStyle,
11553
12300
  role: "tablist"
11554
12301
  }, paginationProps), useMemo(() => range(slidesCount).map(index => {
@@ -11564,7 +12311,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11564
12311
  const ariaLabel = label || (paginationItemLabel === null || paginationItemLabel === void 0 ? void 0 : paginationItemLabel(index)) || `${index + 1} / ${slidesCount}`;
11565
12312
  return /*#__PURE__*/React.createElement("button", _extends({
11566
12313
  className: classnames(handleBasicClasses({
11567
- prefix: `${CLASSNAME$12}__pagination-item`,
12314
+ prefix: `${CLASSNAME$13}__pagination-item`,
11568
12315
  isActive,
11569
12316
  isOnEdge,
11570
12317
  isOutRange
@@ -11579,35 +12326,35 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11579
12326
  }, itemProps));
11580
12327
  }), [slidesCount, visibleRange.min, visibleRange.max, activeIndex, paginationItemProps, paginationItemLabel, onPaginationClick]))), playButtonProps ? /*#__PURE__*/React.createElement(IconButton, _extends({}, playButtonProps, {
11581
12328
  icon: isAutoPlaying ? mdiPauseCircleOutline : mdiPlayCircleOutline,
11582
- className: `${CLASSNAME$12}__play`,
12329
+ className: `${CLASSNAME$13}__play`,
11583
12330
  color: theme === Theme.dark ? 'light' : 'dark',
11584
12331
  emphasis: Emphasis.low
11585
12332
  })) : null, /*#__PURE__*/React.createElement(IconButton, _extends({}, nextButtonProps, {
11586
12333
  icon: mdiChevronRight,
11587
- className: `${CLASSNAME$12}__navigation`,
12334
+ className: `${CLASSNAME$13}__navigation`,
11588
12335
  color: theme === Theme.dark ? 'light' : 'dark',
11589
12336
  emphasis: Emphasis.low,
11590
12337
  onClick: onNextClick
11591
12338
  })));
11592
12339
  });
11593
- InternalSlideshowControls.displayName = COMPONENT_NAME$15;
11594
- InternalSlideshowControls.className = CLASSNAME$12;
12340
+ InternalSlideshowControls.displayName = COMPONENT_NAME$16;
12341
+ InternalSlideshowControls.className = CLASSNAME$13;
11595
12342
  InternalSlideshowControls.defaultProps = DEFAULT_PROPS$Q;
11596
12343
  const SlideshowControls = Object.assign(InternalSlideshowControls, {
11597
12344
  useSlideshowControls,
11598
12345
  useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
11599
12346
  });
11600
12347
 
11601
- const _excluded$1a = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12348
+ const _excluded$1c = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
11602
12349
  /**
11603
12350
  * Component display name.
11604
12351
  */
11605
- const COMPONENT_NAME$16 = 'Slideshow';
12352
+ const COMPONENT_NAME$17 = 'Slideshow';
11606
12353
 
11607
12354
  /**
11608
12355
  * Component default class name and class prefix.
11609
12356
  */
11610
- const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
12357
+ const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
11611
12358
 
11612
12359
  /**
11613
12360
  * Slides component.
@@ -11632,7 +12379,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11632
12379
  hasControls,
11633
12380
  slideGroupLabel
11634
12381
  } = props,
11635
- forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12382
+ forwardedProps = _objectWithoutProperties(props, _excluded$1c);
11636
12383
  const wrapperRef = React.useRef(null);
11637
12384
  const startIndexVisible = activeIndex;
11638
12385
  const endIndexVisible = startIndexVisible + 1;
@@ -11650,22 +12397,22 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11650
12397
  ref: ref
11651
12398
  }, forwardedProps, {
11652
12399
  className: classnames(className, handleBasicClasses({
11653
- prefix: CLASSNAME$13,
12400
+ prefix: CLASSNAME$14,
11654
12401
  theme
11655
12402
  }), {
11656
- [`${CLASSNAME$13}--fill-height`]: fillHeight,
11657
- [`${CLASSNAME$13}--group-by-${groupBy}`]: Boolean(groupBy)
12403
+ [`${CLASSNAME$14}--fill-height`]: fillHeight,
12404
+ [`${CLASSNAME$14}--group-by-${groupBy}`]: Boolean(groupBy)
11658
12405
  }),
11659
12406
  "aria-roledescription": "carousel"
11660
12407
  }), /*#__PURE__*/React.createElement("div", {
11661
12408
  id: slidesId,
11662
- className: `${CLASSNAME$13}__slides`,
12409
+ className: `${CLASSNAME$14}__slides`,
11663
12410
  onMouseEnter: toggleAutoPlay,
11664
12411
  onMouseLeave: toggleAutoPlay,
11665
12412
  "aria-live": isAutoPlaying ? 'off' : 'polite'
11666
12413
  }, /*#__PURE__*/React.createElement("div", {
11667
12414
  ref: wrapperRef,
11668
- className: `${CLASSNAME$13}__wrapper`,
12415
+ className: `${CLASSNAME$14}__wrapper`,
11669
12416
  style: wrapperStyle
11670
12417
  }, groups.map((group, index) => /*#__PURE__*/React.createElement(SlideshowItemGroup, {
11671
12418
  key: index,
@@ -11675,10 +12422,10 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11675
12422
  isDisplayed: index >= startIndexVisible && index < endIndexVisible
11676
12423
  }, group)))), afterSlides);
11677
12424
  });
11678
- Slides.displayName = COMPONENT_NAME$16;
11679
- Slides.className = CLASSNAME$13;
12425
+ Slides.displayName = COMPONENT_NAME$17;
12426
+ Slides.className = CLASSNAME$14;
11680
12427
 
11681
- const _excluded$1b = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12428
+ const _excluded$1d = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
11682
12429
 
11683
12430
  /**
11684
12431
  * Defines the props of the component.
@@ -11687,12 +12434,12 @@ const _excluded$1b = ["checked", "children", "className", "disabled", "helper",
11687
12434
  /**
11688
12435
  * Component display name.
11689
12436
  */
11690
- const COMPONENT_NAME$17 = 'Switch';
12437
+ const COMPONENT_NAME$18 = 'Switch';
11691
12438
 
11692
12439
  /**
11693
12440
  * Component default class name and class prefix.
11694
12441
  */
11695
- const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
12442
+ const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
11696
12443
 
11697
12444
  /**
11698
12445
  * Component default props.
@@ -11726,7 +12473,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11726
12473
  value,
11727
12474
  inputProps = {}
11728
12475
  } = props,
11729
- forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12476
+ forwardedProps = _objectWithoutProperties(props, _excluded$1d);
11730
12477
  const inputId = useMemo(() => id || `switch-${uid()}`, [id]);
11731
12478
  const handleChange = event => {
11732
12479
  if (onChange) {
@@ -11737,7 +12484,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11737
12484
  ref: ref
11738
12485
  }, forwardedProps, {
11739
12486
  className: classnames(className, handleBasicClasses({
11740
- prefix: CLASSNAME$14,
12487
+ prefix: CLASSNAME$15,
11741
12488
  isChecked,
11742
12489
  isDisabled,
11743
12490
  position,
@@ -11746,12 +12493,12 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11746
12493
  })),
11747
12494
  "aria-disabled": isDisabled
11748
12495
  }), /*#__PURE__*/React.createElement("div", {
11749
- className: `${CLASSNAME$14}__input-wrapper`
12496
+ className: `${CLASSNAME$15}__input-wrapper`
11750
12497
  }, /*#__PURE__*/React.createElement("input", _extends({
11751
12498
  type: "checkbox",
11752
12499
  role: "switch",
11753
12500
  id: inputId,
11754
- className: `${CLASSNAME$14}__input-native`,
12501
+ className: `${CLASSNAME$15}__input-native`,
11755
12502
  name: name,
11756
12503
  value: value,
11757
12504
  disabled: isDisabled,
@@ -11760,28 +12507,28 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11760
12507
  onChange: handleChange,
11761
12508
  "aria-describedby": helper ? `${inputId}-helper` : undefined
11762
12509
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
11763
- className: `${CLASSNAME$14}__input-placeholder`
12510
+ className: `${CLASSNAME$15}__input-placeholder`
11764
12511
  }, /*#__PURE__*/React.createElement("div", {
11765
- className: `${CLASSNAME$14}__input-background`
12512
+ className: `${CLASSNAME$15}__input-background`
11766
12513
  }), /*#__PURE__*/React.createElement("div", {
11767
- className: `${CLASSNAME$14}__input-indicator`
12514
+ className: `${CLASSNAME$15}__input-indicator`
11768
12515
  }))), Children.count(children) > 0 && /*#__PURE__*/React.createElement("div", {
11769
- className: `${CLASSNAME$14}__content`
12516
+ className: `${CLASSNAME$15}__content`
11770
12517
  }, /*#__PURE__*/React.createElement(InputLabel, {
11771
12518
  htmlFor: inputId,
11772
12519
  theme: theme,
11773
- className: `${CLASSNAME$14}__label`
12520
+ className: `${CLASSNAME$15}__label`
11774
12521
  }, children), !isEmpty(helper) && /*#__PURE__*/React.createElement(InputHelper, {
11775
12522
  id: `${inputId}-helper`,
11776
12523
  theme: theme,
11777
- className: `${CLASSNAME$14}__helper`
12524
+ className: `${CLASSNAME$15}__helper`
11778
12525
  }, helper)));
11779
12526
  });
11780
- Switch.displayName = COMPONENT_NAME$17;
11781
- Switch.className = CLASSNAME$14;
12527
+ Switch.displayName = COMPONENT_NAME$18;
12528
+ Switch.className = CLASSNAME$15;
11782
12529
  Switch.defaultProps = DEFAULT_PROPS$R;
11783
12530
 
11784
- const _excluded$1c = ["children", "className", "hasBefore", "hasDividers", "theme"];
12531
+ const _excluded$1e = ["children", "className", "hasBefore", "hasDividers", "theme"];
11785
12532
 
11786
12533
  /**
11787
12534
  * Defines the props of the component.
@@ -11790,12 +12537,12 @@ const _excluded$1c = ["children", "className", "hasBefore", "hasDividers", "them
11790
12537
  /**
11791
12538
  * Component display name.
11792
12539
  */
11793
- const COMPONENT_NAME$18 = 'Table';
12540
+ const COMPONENT_NAME$19 = 'Table';
11794
12541
 
11795
12542
  /**
11796
12543
  * Component default class name and class prefix.
11797
12544
  */
11798
- const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
12545
+ const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19);
11799
12546
 
11800
12547
  /**
11801
12548
  * Component default props.
@@ -11819,23 +12566,23 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
11819
12566
  hasDividers,
11820
12567
  theme
11821
12568
  } = props,
11822
- forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12569
+ forwardedProps = _objectWithoutProperties(props, _excluded$1e);
11823
12570
  return /*#__PURE__*/React.createElement("table", _extends({
11824
12571
  ref: ref
11825
12572
  }, forwardedProps, {
11826
12573
  className: classnames(className, handleBasicClasses({
11827
- prefix: CLASSNAME$15,
12574
+ prefix: CLASSNAME$16,
11828
12575
  hasBefore,
11829
12576
  hasDividers,
11830
12577
  theme
11831
12578
  }))
11832
12579
  }), children);
11833
12580
  });
11834
- Table.displayName = COMPONENT_NAME$18;
11835
- Table.className = CLASSNAME$15;
12581
+ Table.displayName = COMPONENT_NAME$19;
12582
+ Table.className = CLASSNAME$16;
11836
12583
  Table.defaultProps = DEFAULT_PROPS$S;
11837
12584
 
11838
- const _excluded$1d = ["children", "className"];
12585
+ const _excluded$1f = ["children", "className"];
11839
12586
 
11840
12587
  /**
11841
12588
  * Defines the props of the component.
@@ -11844,12 +12591,12 @@ const _excluded$1d = ["children", "className"];
11844
12591
  /**
11845
12592
  * Component display name.
11846
12593
  */
11847
- const COMPONENT_NAME$19 = 'TableBody';
12594
+ const COMPONENT_NAME$1a = 'TableBody';
11848
12595
 
11849
12596
  /**
11850
12597
  * Component default class name and class prefix.
11851
12598
  */
11852
- const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19, true);
12599
+ const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
11853
12600
 
11854
12601
  /**
11855
12602
  * TableBody component.
@@ -11863,19 +12610,19 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
11863
12610
  children,
11864
12611
  className
11865
12612
  } = props,
11866
- forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12613
+ forwardedProps = _objectWithoutProperties(props, _excluded$1f);
11867
12614
  return /*#__PURE__*/React.createElement("tbody", _extends({
11868
12615
  ref: ref
11869
12616
  }, forwardedProps, {
11870
12617
  className: classnames(className, handleBasicClasses({
11871
- prefix: CLASSNAME$16
12618
+ prefix: CLASSNAME$17
11872
12619
  }))
11873
12620
  }), children);
11874
12621
  });
11875
- TableBody.displayName = COMPONENT_NAME$19;
11876
- TableBody.className = CLASSNAME$16;
12622
+ TableBody.displayName = COMPONENT_NAME$1a;
12623
+ TableBody.className = CLASSNAME$17;
11877
12624
 
11878
- const _excluded$1e = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12625
+ const _excluded$1g = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
11879
12626
 
11880
12627
  /**
11881
12628
  * Table head cell sort order.
@@ -11899,12 +12646,12 @@ const TableCellVariant = {
11899
12646
  /**
11900
12647
  * Component display name.
11901
12648
  */
11902
- const COMPONENT_NAME$1a = 'TableCell';
12649
+ const COMPONENT_NAME$1b = 'TableCell';
11903
12650
 
11904
12651
  /**
11905
12652
  * Component default class name and class prefix.
11906
12653
  */
11907
- const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
12654
+ const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
11908
12655
 
11909
12656
  /**
11910
12657
  * Component default props.
@@ -11930,7 +12677,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
11930
12677
  sortOrder,
11931
12678
  variant
11932
12679
  } = props,
11933
- forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12680
+ forwardedProps = _objectWithoutProperties(props, _excluded$1g);
11934
12681
 
11935
12682
  // Use button if clickable
11936
12683
  const Wrapper = onHeaderClick ? 'button' : 'div';
@@ -11950,40 +12697,40 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
11950
12697
  ref: ref
11951
12698
  }, forwardedProps, {
11952
12699
  className: classnames(handleBasicClasses({
11953
- prefix: CLASSNAME$17,
12700
+ prefix: CLASSNAME$18,
11954
12701
  isSortable,
11955
12702
  isSorted: isSortable && !!sortOrder
11956
- }), className, `${CLASSNAME$17}--head`),
12703
+ }), className, `${CLASSNAME$18}--head`),
11957
12704
  "aria-sort": ariaSort
11958
12705
  }), /*#__PURE__*/React.createElement(Wrapper, _extends({
11959
- className: `${CLASSNAME$17}-wrapper`
12706
+ className: `${CLASSNAME$18}-wrapper`
11960
12707
  }, wrapperProps), icon && !isSortable && /*#__PURE__*/React.createElement(Icon, {
11961
- className: `${CLASSNAME$17}-icon`,
12708
+ className: `${CLASSNAME$18}-icon`,
11962
12709
  icon: icon,
11963
12710
  size: Size.xxs
11964
12711
  }), isSortable && sortOrder === ThOrder.asc && /*#__PURE__*/React.createElement(Icon, {
11965
- className: `${CLASSNAME$17}-icon`,
12712
+ className: `${CLASSNAME$18}-icon`,
11966
12713
  icon: mdiArrowUp,
11967
12714
  size: Size.xxs
11968
12715
  }), isSortable && sortOrder === ThOrder.desc && /*#__PURE__*/React.createElement(Icon, {
11969
- className: `${CLASSNAME$17}-icon`,
12716
+ className: `${CLASSNAME$18}-icon`,
11970
12717
  icon: mdiArrowDown,
11971
12718
  size: Size.xxs
11972
12719
  }), /*#__PURE__*/React.createElement("div", {
11973
- className: `${CLASSNAME$17}-content`
12720
+ className: `${CLASSNAME$18}-content`
11974
12721
  }, children))), variant === TableCellVariant.body && /*#__PURE__*/React.createElement("td", _extends({}, forwardedProps, {
11975
12722
  className: classnames(className, handleBasicClasses({
11976
- prefix: CLASSNAME$17
11977
- }), `${CLASSNAME$17}--body`)
12723
+ prefix: CLASSNAME$18
12724
+ }), `${CLASSNAME$18}--body`)
11978
12725
  }), /*#__PURE__*/React.createElement("div", {
11979
- className: `${CLASSNAME$17}-content`
12726
+ className: `${CLASSNAME$18}-content`
11980
12727
  }, children)));
11981
12728
  });
11982
- TableCell.displayName = COMPONENT_NAME$1a;
11983
- TableCell.className = CLASSNAME$17;
12729
+ TableCell.displayName = COMPONENT_NAME$1b;
12730
+ TableCell.className = CLASSNAME$18;
11984
12731
  TableCell.defaultProps = DEFAULT_PROPS$T;
11985
12732
 
11986
- const _excluded$1f = ["children", "className"];
12733
+ const _excluded$1h = ["children", "className"];
11987
12734
 
11988
12735
  /**
11989
12736
  * Defines the props of the component.
@@ -11992,12 +12739,12 @@ const _excluded$1f = ["children", "className"];
11992
12739
  /**
11993
12740
  * Component display name.
11994
12741
  */
11995
- const COMPONENT_NAME$1b = 'TableHeader';
12742
+ const COMPONENT_NAME$1c = 'TableHeader';
11996
12743
 
11997
12744
  /**
11998
12745
  * Component default class name and class prefix.
11999
12746
  */
12000
- const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
12747
+ const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12001
12748
 
12002
12749
  /**
12003
12750
  * Component default props.
@@ -12016,20 +12763,20 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
12016
12763
  children,
12017
12764
  className
12018
12765
  } = props,
12019
- forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12766
+ forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12020
12767
  return /*#__PURE__*/React.createElement("thead", _extends({
12021
12768
  ref: ref
12022
12769
  }, forwardedProps, {
12023
12770
  className: classnames(className, handleBasicClasses({
12024
- prefix: CLASSNAME$18
12771
+ prefix: CLASSNAME$19
12025
12772
  }))
12026
12773
  }), children);
12027
12774
  });
12028
- TableHeader.displayName = COMPONENT_NAME$1b;
12029
- TableHeader.className = CLASSNAME$18;
12775
+ TableHeader.displayName = COMPONENT_NAME$1c;
12776
+ TableHeader.className = CLASSNAME$19;
12030
12777
  TableHeader.defaultProps = DEFAULT_PROPS$U;
12031
12778
 
12032
- const _excluded$1g = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12779
+ const _excluded$1i = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12033
12780
 
12034
12781
  /**
12035
12782
  * Defines the props of the component.
@@ -12038,12 +12785,12 @@ const _excluded$1g = ["children", "className", "disabled", "isClickable", "isDis
12038
12785
  /**
12039
12786
  * Component display name.
12040
12787
  */
12041
- const COMPONENT_NAME$1c = 'TableRow';
12788
+ const COMPONENT_NAME$1d = 'TableRow';
12042
12789
 
12043
12790
  /**
12044
12791
  * Component default class name and class prefix.
12045
12792
  */
12046
- const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12793
+ const CLASSNAME$1a = getRootClassName(COMPONENT_NAME$1d, true);
12047
12794
 
12048
12795
  /**
12049
12796
  * Component default props.
@@ -12066,7 +12813,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12066
12813
  isDisabled = disabled,
12067
12814
  isSelected
12068
12815
  } = props,
12069
- forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12816
+ forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12070
12817
  return /*#__PURE__*/React.createElement("tr", _extends({
12071
12818
  ref: ref,
12072
12819
  tabIndex: isClickable && !isDisabled ? 0 : -1
@@ -12075,16 +12822,16 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12075
12822
  isClickable: isClickable && !isDisabled,
12076
12823
  isDisabled,
12077
12824
  isSelected: isSelected && !isDisabled,
12078
- prefix: CLASSNAME$19
12825
+ prefix: CLASSNAME$1a
12079
12826
  })),
12080
12827
  "aria-disabled": isDisabled
12081
12828
  }), children);
12082
12829
  });
12083
- TableRow.displayName = COMPONENT_NAME$1c;
12084
- TableRow.className = CLASSNAME$19;
12830
+ TableRow.displayName = COMPONENT_NAME$1d;
12831
+ TableRow.className = CLASSNAME$1a;
12085
12832
  TableRow.defaultProps = DEFAULT_PROPS$V;
12086
12833
 
12087
- const _excluded$1h = ["children", "onChange"];
12834
+ const _excluded$1j = ["children", "onChange"];
12088
12835
  const DEFAULT_PROPS$W = {
12089
12836
  isLazy: INIT_STATE.isLazy,
12090
12837
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -12104,7 +12851,7 @@ const TabProvider = props => {
12104
12851
  children,
12105
12852
  onChange
12106
12853
  } = props,
12107
- propState = _objectWithoutProperties(props, _excluded$1h);
12854
+ propState = _objectWithoutProperties(props, _excluded$1j);
12108
12855
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
12109
12856
 
12110
12857
  // On prop state change => dispatch update.
@@ -12132,7 +12879,7 @@ const TabProvider = props => {
12132
12879
  };
12133
12880
  TabProvider.defaultProps = DEFAULT_PROPS$W;
12134
12881
 
12135
- const _excluded$1i = ["aria-label", "children", "className", "layout", "position", "theme"];
12882
+ const _excluded$1k = ["aria-label", "children", "className", "layout", "position", "theme"];
12136
12883
  let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12137
12884
  TabListLayout["clustered"] = "clustered";
12138
12885
  TabListLayout["fixed"] = "fixed";
@@ -12146,12 +12893,12 @@ let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12146
12893
  /**
12147
12894
  * Component display name.
12148
12895
  */
12149
- const COMPONENT_NAME$1d = 'TabList';
12896
+ const COMPONENT_NAME$1e = 'TabList';
12150
12897
 
12151
12898
  /**
12152
12899
  * Component default class name and class prefix.
12153
12900
  */
12154
- const CLASSNAME$1a = `${CSS_PREFIX}-tabs`;
12901
+ const CLASSNAME$1b = `${CSS_PREFIX}-tabs`;
12155
12902
 
12156
12903
  /**
12157
12904
  * Component default props.
@@ -12180,7 +12927,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12180
12927
  position,
12181
12928
  theme
12182
12929
  } = props,
12183
- forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12930
+ forwardedProps = _objectWithoutProperties(props, _excluded$1k);
12184
12931
  const tabListRef = React.useRef(null);
12185
12932
  useRovingTabIndex({
12186
12933
  parentRef: tabListRef,
@@ -12192,22 +12939,22 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12192
12939
  ref: mergeRefs(ref, tabListRef)
12193
12940
  }, forwardedProps, {
12194
12941
  className: classnames(className, handleBasicClasses({
12195
- prefix: CLASSNAME$1a,
12942
+ prefix: CLASSNAME$1b,
12196
12943
  layout,
12197
12944
  position,
12198
12945
  theme
12199
12946
  }))
12200
12947
  }), /*#__PURE__*/React.createElement("div", {
12201
- className: `${CLASSNAME$1a}__links`,
12948
+ className: `${CLASSNAME$1b}__links`,
12202
12949
  role: "tablist",
12203
12950
  "aria-label": ariaLabel
12204
12951
  }, children));
12205
12952
  });
12206
- TabList.displayName = COMPONENT_NAME$1d;
12207
- TabList.className = CLASSNAME$1a;
12953
+ TabList.displayName = COMPONENT_NAME$1e;
12954
+ TabList.className = CLASSNAME$1b;
12208
12955
  TabList.defaultProps = DEFAULT_PROPS$X;
12209
12956
 
12210
- const _excluded$1j = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12957
+ const _excluded$1l = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12211
12958
 
12212
12959
  /**
12213
12960
  * Defines the props of the component.
@@ -12216,12 +12963,12 @@ const _excluded$1j = ["className", "disabled", "icon", "iconProps", "id", "isAct
12216
12963
  /**
12217
12964
  * Component display name.
12218
12965
  */
12219
- const COMPONENT_NAME$1e = 'Tab';
12966
+ const COMPONENT_NAME$1f = 'Tab';
12220
12967
 
12221
12968
  /**
12222
12969
  * Component default class name and class prefix.
12223
12970
  */
12224
- const CLASSNAME$1b = `${CSS_PREFIX}-tabs__link`;
12971
+ const CLASSNAME$1c = `${CSS_PREFIX}-tabs__link`;
12225
12972
 
12226
12973
  /**
12227
12974
  * Component default props.
@@ -12251,7 +12998,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12251
12998
  onKeyPress,
12252
12999
  tabIndex = -1
12253
13000
  } = props,
12254
- forwardedProps = _objectWithoutProperties(props, _excluded$1j);
13001
+ forwardedProps = _objectWithoutProperties(props, _excluded$1l);
12255
13002
  const state = useTabProviderContext('tab', id);
12256
13003
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
12257
13004
  const changeToCurrentTab = useCallback(() => {
@@ -12279,7 +13026,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12279
13026
  type: "button",
12280
13027
  id: state === null || state === void 0 ? void 0 : state.tabId,
12281
13028
  className: classnames(className, handleBasicClasses({
12282
- prefix: CLASSNAME$1b,
13029
+ prefix: CLASSNAME$1c,
12283
13030
  isActive,
12284
13031
  isDisabled
12285
13032
  })),
@@ -12296,11 +13043,11 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12296
13043
  size: Size.xs
12297
13044
  }, iconProps)), label && /*#__PURE__*/React.createElement("span", null, label));
12298
13045
  });
12299
- Tab.displayName = COMPONENT_NAME$1e;
12300
- Tab.className = CLASSNAME$1b;
13046
+ Tab.displayName = COMPONENT_NAME$1f;
13047
+ Tab.className = CLASSNAME$1c;
12301
13048
  Tab.defaultProps = DEFAULT_PROPS$Y;
12302
13049
 
12303
- const _excluded$1k = ["children", "id", "className", "isActive"];
13050
+ const _excluded$1m = ["children", "id", "className", "isActive"];
12304
13051
 
12305
13052
  /**
12306
13053
  * Defines the props of the component.
@@ -12309,12 +13056,12 @@ const _excluded$1k = ["children", "id", "className", "isActive"];
12309
13056
  /**
12310
13057
  * Component display name.
12311
13058
  */
12312
- const COMPONENT_NAME$1f = 'TabPanel';
13059
+ const COMPONENT_NAME$1g = 'TabPanel';
12313
13060
 
12314
13061
  /**
12315
13062
  * Component default class name and class prefix.
12316
13063
  */
12317
- const CLASSNAME$1c = `${CSS_PREFIX}-tab-panel`;
13064
+ const CLASSNAME$1d = `${CSS_PREFIX}-tab-panel`;
12318
13065
 
12319
13066
  /**
12320
13067
  * Component default props.
@@ -12337,7 +13084,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12337
13084
  className,
12338
13085
  isActive: propIsActive
12339
13086
  } = props,
12340
- forwardedProps = _objectWithoutProperties(props, _excluded$1k);
13087
+ forwardedProps = _objectWithoutProperties(props, _excluded$1m);
12341
13088
  const state = useTabProviderContext('tabPanel', id);
12342
13089
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
12343
13090
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -12345,7 +13092,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12345
13092
  }, forwardedProps, {
12346
13093
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
12347
13094
  className: classnames(className, handleBasicClasses({
12348
- prefix: CLASSNAME$1c,
13095
+ prefix: CLASSNAME$1d,
12349
13096
  isActive
12350
13097
  })),
12351
13098
  role: "tabpanel",
@@ -12353,11 +13100,11 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12353
13100
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
12354
13101
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
12355
13102
  });
12356
- TabPanel.displayName = COMPONENT_NAME$1f;
12357
- TabPanel.className = CLASSNAME$1c;
13103
+ TabPanel.displayName = COMPONENT_NAME$1g;
13104
+ TabPanel.className = CLASSNAME$1d;
12358
13105
  TabPanel.defaultProps = DEFAULT_PROPS$Z;
12359
13106
 
12360
- const _excluded$1l = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13107
+ const _excluded$1n = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
12361
13108
  _excluded2$3 = ["chips", "className", "clearButtonProps", "disabled", "error", "forceFocusStyle", "hasError", "helper", "icon", "id", "inputRef", "isDisabled", "isRequired", "isValid", "label", "labelProps", "maxLength", "minimumRows", "multiline", "name", "onBlur", "onChange", "onClear", "onFocus", "placeholder", "textFieldRef", "theme", "type", "value", "afterElement"];
12362
13109
 
12363
13110
  /**
@@ -12367,12 +13114,12 @@ const _excluded$1l = ["id", "isDisabled", "isRequired", "placeholder", "multilin
12367
13114
  /**
12368
13115
  * Component display name.
12369
13116
  */
12370
- const COMPONENT_NAME$1g = 'TextField';
13117
+ const COMPONENT_NAME$1h = 'TextField';
12371
13118
 
12372
13119
  /**
12373
13120
  * Component default class name and class prefix.
12374
13121
  */
12375
- const CLASSNAME$1d = getRootClassName(COMPONENT_NAME$1g);
13122
+ const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
12376
13123
 
12377
13124
  /**
12378
13125
  * Default minimum number of rows in the multiline mode.
@@ -12442,7 +13189,7 @@ const renderInputNative = props => {
12442
13189
  hasError,
12443
13190
  describedById
12444
13191
  } = props,
12445
- forwardedProps = _objectWithoutProperties(props, _excluded$1l);
13192
+ forwardedProps = _objectWithoutProperties(props, _excluded$1n);
12446
13193
  // eslint-disable-next-line react-hooks/rules-of-hooks
12447
13194
  const ref = useRef(null);
12448
13195
 
@@ -12467,7 +13214,7 @@ const renderInputNative = props => {
12467
13214
  const Component = multiline ? 'textarea' : 'input';
12468
13215
  const inputProps = _objectSpread2(_objectSpread2({}, forwardedProps), {}, {
12469
13216
  id,
12470
- className: multiline ? `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--textarea` : `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--text`,
13217
+ className: multiline ? `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--textarea` : `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--text`,
12471
13218
  placeholder,
12472
13219
  value,
12473
13220
  name,
@@ -12588,31 +13335,31 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12588
13335
  isDisabled,
12589
13336
  isFocus: isFocus || forceFocusStyle,
12590
13337
  isValid,
12591
- prefix: CLASSNAME$1d,
13338
+ prefix: CLASSNAME$1e,
12592
13339
  theme
12593
13340
  }))
12594
13341
  }, (label || maxLength) && /*#__PURE__*/React.createElement("div", {
12595
- className: `${CLASSNAME$1d}__header`
13342
+ className: `${CLASSNAME$1e}__header`
12596
13343
  }, label && /*#__PURE__*/React.createElement(InputLabel, _extends({}, labelProps, {
12597
13344
  htmlFor: textFieldId,
12598
- className: `${CLASSNAME$1d}__label`,
13345
+ className: `${CLASSNAME$1e}__label`,
12599
13346
  isRequired: isRequired,
12600
13347
  theme: theme
12601
13348
  }), label), maxLength && /*#__PURE__*/React.createElement("div", {
12602
- className: `${CLASSNAME$1d}__char-counter`
13349
+ className: `${CLASSNAME$1e}__char-counter`
12603
13350
  }, /*#__PURE__*/React.createElement("span", null, maxLength - valueLength), maxLength - valueLength === 0 && /*#__PURE__*/React.createElement(Icon, {
12604
13351
  icon: mdiAlertCircle,
12605
13352
  size: Size.xxs
12606
13353
  }))), /*#__PURE__*/React.createElement("div", {
12607
- className: `${CLASSNAME$1d}__wrapper`,
13354
+ className: `${CLASSNAME$1e}__wrapper`,
12608
13355
  ref: textFieldRef
12609
13356
  }, icon && /*#__PURE__*/React.createElement(Icon, {
12610
- className: `${CLASSNAME$1d}__input-icon`,
13357
+ className: `${CLASSNAME$1e}__input-icon`,
12611
13358
  color: theme === Theme.dark ? 'light' : undefined,
12612
13359
  icon: icon,
12613
13360
  size: Size.xs
12614
13361
  }), chips && /*#__PURE__*/React.createElement("div", {
12615
- className: `${CLASSNAME$1d}__chips`
13362
+ className: `${CLASSNAME$1e}__chips`
12616
13363
  }, chips, renderInputNative(_objectSpread2({
12617
13364
  id: textFieldId,
12618
13365
  inputRef,
@@ -12633,7 +13380,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12633
13380
  hasError,
12634
13381
  describedById
12635
13382
  }, forwardedProps))), !chips && /*#__PURE__*/React.createElement("div", {
12636
- className: `${CLASSNAME$1d}__input-wrapper`
13383
+ className: `${CLASSNAME$1e}__input-wrapper`
12637
13384
  }, renderInputNative(_objectSpread2({
12638
13385
  id: textFieldId,
12639
13386
  inputRef,
@@ -12654,12 +13401,12 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12654
13401
  hasError,
12655
13402
  describedById
12656
13403
  }, forwardedProps))), (isValid || hasError) && /*#__PURE__*/React.createElement(Icon, {
12657
- className: `${CLASSNAME$1d}__input-validity`,
13404
+ className: `${CLASSNAME$1e}__input-validity`,
12658
13405
  color: theme === Theme.dark ? 'light' : undefined,
12659
13406
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
12660
13407
  size: Size.xxs
12661
13408
  }), clearButtonProps && isNotEmpty && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
12662
- className: `${CLASSNAME$1d}__input-clear`,
13409
+ className: `${CLASSNAME$1e}__input-clear`,
12663
13410
  icon: mdiCloseCircle,
12664
13411
  emphasis: Emphasis.low,
12665
13412
  size: Size.s,
@@ -12667,20 +13414,20 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12667
13414
  onClick: handleClear,
12668
13415
  type: "button"
12669
13416
  })), afterElement && /*#__PURE__*/React.createElement("div", {
12670
- className: `${CLASSNAME$1d}__after-element`
13417
+ className: `${CLASSNAME$1e}__after-element`
12671
13418
  }, afterElement)), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
12672
- className: `${CLASSNAME$1d}__helper`,
13419
+ className: `${CLASSNAME$1e}__helper`,
12673
13420
  kind: Kind.error,
12674
13421
  theme: theme,
12675
13422
  id: errorId
12676
13423
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
12677
- className: `${CLASSNAME$1d}__helper`,
13424
+ className: `${CLASSNAME$1e}__helper`,
12678
13425
  theme: theme,
12679
13426
  id: helperId
12680
13427
  }, helper));
12681
13428
  });
12682
- TextField.displayName = COMPONENT_NAME$1g;
12683
- TextField.className = CLASSNAME$1d;
13429
+ TextField.displayName = COMPONENT_NAME$1h;
13430
+ TextField.className = CLASSNAME$1e;
12684
13431
  TextField.defaultProps = DEFAULT_PROPS$_;
12685
13432
 
12686
13433
  function getState(img, event) {
@@ -12733,6 +13480,7 @@ function shiftPosition(_ref) {
12733
13480
  const shift = startFocus / (scaledSize - containerSize);
12734
13481
  return Math.floor(Math.max(Math.min(shift, 1), 0) * 100);
12735
13482
  }
13483
+
12736
13484
  // Compute CSS properties to apply the focus point.
12737
13485
  const useFocusPointStyle = (_ref2, element, isLoaded) => {
12738
13486
  let {
@@ -12825,7 +13573,7 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
12825
13573
  return style;
12826
13574
  };
12827
13575
 
12828
- const _excluded$1m = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
13576
+ const _excluded$1o = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
12829
13577
 
12830
13578
  /**
12831
13579
  * Defines the props of the component.
@@ -12834,12 +13582,12 @@ const _excluded$1m = ["align", "alt", "aspectRatio", "badge", "className", "cros
12834
13582
  /**
12835
13583
  * Component display name.
12836
13584
  */
12837
- const COMPONENT_NAME$1h = 'Thumbnail';
13585
+ const COMPONENT_NAME$1i = 'Thumbnail';
12838
13586
 
12839
13587
  /**
12840
13588
  * Component default class name and class prefix.
12841
13589
  */
12842
- const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
13590
+ const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
12843
13591
 
12844
13592
  /**
12845
13593
  * Component default props.
@@ -12882,7 +13630,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12882
13630
  linkProps,
12883
13631
  linkAs
12884
13632
  } = props,
12885
- forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13633
+ forwardedProps = _objectWithoutProperties(props, _excluded$1o);
12886
13634
  const [imgElement, setImgElement] = useState();
12887
13635
 
12888
13636
  // Image loading state.
@@ -12921,7 +13669,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12921
13669
  className: classnames(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className, handleBasicClasses({
12922
13670
  align,
12923
13671
  aspectRatio,
12924
- prefix: CLASSNAME$1e,
13672
+ prefix: CLASSNAME$1f,
12925
13673
  size,
12926
13674
  theme,
12927
13675
  variant,
@@ -12932,14 +13680,14 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12932
13680
  isLoading,
12933
13681
  objectFit,
12934
13682
  hasBadge: !!badge
12935
- }), fillHeight && `${CLASSNAME$1e}--fill-height`)
13683
+ }), fillHeight && `${CLASSNAME$1f}--fill-height`)
12936
13684
  }), /*#__PURE__*/React.createElement("span", {
12937
- className: `${CLASSNAME$1e}__background`
13685
+ className: `${CLASSNAME$1f}__background`
12938
13686
  }, /*#__PURE__*/React.createElement("img", _extends({}, imgProps, {
12939
13687
  style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), imageErrorStyle), focusPointStyle),
12940
13688
  ref: mergeRefs(setImgElement, propImgRef),
12941
13689
  className: classnames(handleBasicClasses({
12942
- prefix: `${CLASSNAME$1e}__image`,
13690
+ prefix: `${CLASSNAME$1f}__image`,
12943
13691
  isLoading,
12944
13692
  hasDefinedSize: Boolean((imgProps === null || imgProps === void 0 ? void 0 : imgProps.height) && imgProps.width)
12945
13693
  }), imgProps === null || imgProps === void 0 ? void 0 : imgProps.className),
@@ -12948,17 +13696,17 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12948
13696
  alt: alt,
12949
13697
  loading: loading
12950
13698
  })), !isLoading && hasError && /*#__PURE__*/React.createElement("span", {
12951
- className: `${CLASSNAME$1e}__fallback`
13699
+ className: `${CLASSNAME$1f}__fallback`
12952
13700
  }, hasIconErrorFallback ? /*#__PURE__*/React.createElement(Icon, {
12953
13701
  icon: fallback,
12954
13702
  size: Size.xxs,
12955
13703
  theme: theme
12956
13704
  }) : fallback)), badge && /*#__PURE__*/React.cloneElement(badge, {
12957
- className: classnames(`${CLASSNAME$1e}__badge`, badge.props.className)
13705
+ className: classnames(`${CLASSNAME$1f}__badge`, badge.props.className)
12958
13706
  }));
12959
13707
  });
12960
- Thumbnail.displayName = COMPONENT_NAME$1h;
12961
- Thumbnail.className = CLASSNAME$1e;
13708
+ Thumbnail.displayName = COMPONENT_NAME$1i;
13709
+ Thumbnail.className = CLASSNAME$1f;
12962
13710
  Thumbnail.defaultProps = DEFAULT_PROPS$$;
12963
13711
 
12964
13712
  /**
@@ -12996,7 +13744,7 @@ const ThumbnailObjectFit = {
12996
13744
  contain: 'contain'
12997
13745
  };
12998
13746
 
12999
- const _excluded$1n = ["after", "before", "className", "label"];
13747
+ const _excluded$1p = ["after", "before", "className", "label"];
13000
13748
 
13001
13749
  /**
13002
13750
  * Defines the props of the component.
@@ -13005,12 +13753,12 @@ const _excluded$1n = ["after", "before", "className", "label"];
13005
13753
  /**
13006
13754
  * Component display name.
13007
13755
  */
13008
- const COMPONENT_NAME$1i = 'Toolbar';
13756
+ const COMPONENT_NAME$1j = 'Toolbar';
13009
13757
 
13010
13758
  /**
13011
13759
  * Component default class name and class prefix.
13012
13760
  */
13013
- const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
13761
+ const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
13014
13762
 
13015
13763
  /**
13016
13764
  * Component default props.
@@ -13031,7 +13779,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13031
13779
  className,
13032
13780
  label
13033
13781
  } = props,
13034
- forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13782
+ forwardedProps = _objectWithoutProperties(props, _excluded$1p);
13035
13783
  return /*#__PURE__*/React.createElement("div", _extends({
13036
13784
  ref: ref
13037
13785
  }, forwardedProps, {
@@ -13039,18 +13787,18 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13039
13787
  hasAfter: Boolean(after),
13040
13788
  hasBefore: Boolean(before),
13041
13789
  hasLabel: Boolean(label),
13042
- prefix: CLASSNAME$1f
13790
+ prefix: CLASSNAME$1g
13043
13791
  }))
13044
13792
  }), before && /*#__PURE__*/React.createElement("div", {
13045
- className: `${CLASSNAME$1f}__before`
13793
+ className: `${CLASSNAME$1g}__before`
13046
13794
  }, before), label && /*#__PURE__*/React.createElement("div", {
13047
- className: `${CLASSNAME$1f}__label`
13795
+ className: `${CLASSNAME$1g}__label`
13048
13796
  }, label), after && /*#__PURE__*/React.createElement("div", {
13049
- className: `${CLASSNAME$1f}__after`
13797
+ className: `${CLASSNAME$1g}__after`
13050
13798
  }, after));
13051
13799
  });
13052
- Toolbar.displayName = COMPONENT_NAME$1i;
13053
- Toolbar.className = CLASSNAME$1f;
13800
+ Toolbar.displayName = COMPONENT_NAME$1j;
13801
+ Toolbar.className = CLASSNAME$1g;
13054
13802
  Toolbar.defaultProps = DEFAULT_PROPS$10;
13055
13803
 
13056
13804
  /**
@@ -13228,7 +13976,7 @@ function useTooltipOpen(delay, anchorElement) {
13228
13976
  };
13229
13977
  }
13230
13978
 
13231
- const _excluded$1o = ["label", "children", "className", "delay", "placement", "forceOpen"];
13979
+ const _excluded$1q = ["label", "children", "className", "delay", "placement", "forceOpen"];
13232
13980
 
13233
13981
  /** Position of the tooltip relative to the anchor element. */
13234
13982
 
@@ -13239,12 +13987,12 @@ const _excluded$1o = ["label", "children", "className", "delay", "placement", "f
13239
13987
  /**
13240
13988
  * Component display name.
13241
13989
  */
13242
- const COMPONENT_NAME$1j = 'Tooltip';
13990
+ const COMPONENT_NAME$1k = 'Tooltip';
13243
13991
 
13244
13992
  /**
13245
13993
  * Component default class name and class prefix.
13246
13994
  */
13247
- const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
13995
+ const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
13248
13996
 
13249
13997
  /**
13250
13998
  * Component default props.
@@ -13275,7 +14023,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
13275
14023
  placement,
13276
14024
  forceOpen
13277
14025
  } = props,
13278
- forwardedProps = _objectWithoutProperties(props, _excluded$1o);
14026
+ forwardedProps = _objectWithoutProperties(props, _excluded$1q);
13279
14027
  // Disable in SSR or without a label.
13280
14028
  if (!DOCUMENT || !label) {
13281
14029
  return /*#__PURE__*/React.createElement(TooltipContextProvider, null, children);
@@ -13309,23 +14057,23 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
13309
14057
  role: "tooltip",
13310
14058
  "aria-label": label,
13311
14059
  className: classnames(className, handleBasicClasses({
13312
- prefix: CLASSNAME$1g,
14060
+ prefix: CLASSNAME$1h,
13313
14061
  position
13314
14062
  })),
13315
14063
  style: styles.popper
13316
14064
  }, attributes.popper), /*#__PURE__*/React.createElement("div", {
13317
- className: `${CLASSNAME$1g}__arrow`
14065
+ className: `${CLASSNAME$1h}__arrow`
13318
14066
  }), /*#__PURE__*/React.createElement("div", {
13319
- className: `${CLASSNAME$1g}__inner`
14067
+ className: `${CLASSNAME$1h}__inner`
13320
14068
  }, label.indexOf('\n') !== -1 ? label.split('\n').map(sentence => /*#__PURE__*/React.createElement("p", {
13321
14069
  key: sentence
13322
14070
  }, sentence)) : label)), document.body));
13323
14071
  });
13324
- Tooltip.displayName = COMPONENT_NAME$1j;
13325
- Tooltip.className = CLASSNAME$1g;
14072
+ Tooltip.displayName = COMPONENT_NAME$1k;
14073
+ Tooltip.className = CLASSNAME$1h;
13326
14074
  Tooltip.defaultProps = DEFAULT_PROPS$11;
13327
14075
 
13328
- const _excluded$1p = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14076
+ const _excluded$1r = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
13329
14077
 
13330
14078
  /**
13331
14079
  * Uploader variants.
@@ -13351,12 +14099,12 @@ const UploaderVariant = {
13351
14099
  /**
13352
14100
  * Component display name.
13353
14101
  */
13354
- const COMPONENT_NAME$1k = 'Uploader';
14102
+ const COMPONENT_NAME$1l = 'Uploader';
13355
14103
 
13356
14104
  /**
13357
14105
  * Component default class name and class prefix.
13358
14106
  */
13359
- const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
14107
+ const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
13360
14108
 
13361
14109
  /**
13362
14110
  * Component default props.
@@ -13386,7 +14134,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13386
14134
  variant,
13387
14135
  fileInputProps
13388
14136
  } = props,
13389
- forwardedProps = _objectWithoutProperties(props, _excluded$1p);
14137
+ forwardedProps = _objectWithoutProperties(props, _excluded$1r);
13390
14138
  // Adjust to square aspect ratio when using circle variants.
13391
14139
  const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
13392
14140
  const inputId = React.useMemo(() => (fileInputProps === null || fileInputProps === void 0 ? void 0 : fileInputProps.id) || uniqueId('uploader-input-'), [fileInputProps === null || fileInputProps === void 0 ? void 0 : fileInputProps.id]);
@@ -13415,26 +14163,26 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13415
14163
  }, wrapper.props, forwardedProps, {
13416
14164
  className: classnames(className, handleBasicClasses({
13417
14165
  aspectRatio: adjustedAspectRatio,
13418
- prefix: CLASSNAME$1h,
14166
+ prefix: CLASSNAME$1i,
13419
14167
  size,
13420
14168
  theme,
13421
14169
  variant,
13422
14170
  isDragHovering
13423
14171
  }))
13424
14172
  }), /*#__PURE__*/React.createElement("span", {
13425
- className: `${CLASSNAME$1h}__background`
14173
+ className: `${CLASSNAME$1i}__background`
13426
14174
  }), /*#__PURE__*/React.createElement("span", {
13427
- className: `${CLASSNAME$1h}__wrapper`
14175
+ className: `${CLASSNAME$1i}__wrapper`
13428
14176
  }, icon && /*#__PURE__*/React.createElement(Icon, {
13429
- className: `${CLASSNAME$1h}__icon`,
14177
+ className: `${CLASSNAME$1i}__icon`,
13430
14178
  icon: icon,
13431
14179
  size: Size.s
13432
14180
  }), label && /*#__PURE__*/React.createElement("span", {
13433
- className: `${CLASSNAME$1h}__label`
14181
+ className: `${CLASSNAME$1i}__label`
13434
14182
  }, label)), fileInputProps && /*#__PURE__*/React.createElement("input", _extends({
13435
14183
  type: "file",
13436
14184
  id: inputId,
13437
- className: `${CLASSNAME$1h}__input`
14185
+ className: `${CLASSNAME$1i}__input`
13438
14186
  }, fileInputProps, {
13439
14187
  onChange: onChange,
13440
14188
  onDragEnter: setDragHovering,
@@ -13442,11 +14190,11 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13442
14190
  onDrop: unsetDragHovering
13443
14191
  })));
13444
14192
  });
13445
- Uploader.displayName = COMPONENT_NAME$1k;
13446
- Uploader.className = CLASSNAME$1h;
14193
+ Uploader.displayName = COMPONENT_NAME$1l;
14194
+ Uploader.className = CLASSNAME$1i;
13447
14195
  Uploader.defaultProps = DEFAULT_PROPS$12;
13448
14196
 
13449
- const _excluded$1q = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14197
+ const _excluded$1s = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
13450
14198
 
13451
14199
  /**
13452
14200
  * User block sizes.
@@ -13459,12 +14207,12 @@ const _excluded$1q = ["avatarProps", "className", "fields", "linkProps", "linkAs
13459
14207
  /**
13460
14208
  * Component display name.
13461
14209
  */
13462
- const COMPONENT_NAME$1l = 'UserBlock';
14210
+ const COMPONENT_NAME$1m = 'UserBlock';
13463
14211
 
13464
14212
  /**
13465
14213
  * Component default class name and class prefix.
13466
14214
  */
13467
- const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
14215
+ const CLASSNAME$1j = getRootClassName(COMPONENT_NAME$1m);
13468
14216
 
13469
14217
  /**
13470
14218
  * Component default props.
@@ -13500,7 +14248,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13500
14248
  size,
13501
14249
  theme
13502
14250
  } = props,
13503
- forwardedProps = _objectWithoutProperties(props, _excluded$1q);
14251
+ forwardedProps = _objectWithoutProperties(props, _excluded$1s);
13504
14252
  let componentSize = size;
13505
14253
 
13506
14254
  // Special case - When using vertical orientation force the size to be Sizes.l.
@@ -13516,7 +14264,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13516
14264
  }
13517
14265
  let NameComponent = 'span';
13518
14266
  const nProps = _objectSpread2(_objectSpread2({}, nameProps), {}, {
13519
- className: classnames(`${CLASSNAME$1i}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
14267
+ className: classnames(`${CLASSNAME$1j}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
13520
14268
  });
13521
14269
  if (isClickable) {
13522
14270
  NameComponent = Link;
@@ -13533,16 +14281,16 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13533
14281
  return /*#__PURE__*/React.createElement(NameComponent, nProps, name);
13534
14282
  }, [avatarProps, isClickable, linkAs, linkProps, name, nameProps, onClick]);
13535
14283
  const fieldsBlock = fields && componentSize !== Size.s && /*#__PURE__*/React.createElement("div", {
13536
- className: `${CLASSNAME$1i}__fields`
14284
+ className: `${CLASSNAME$1j}__fields`
13537
14285
  }, fields.map((field, idx) => /*#__PURE__*/React.createElement("span", {
13538
14286
  key: idx,
13539
- className: `${CLASSNAME$1i}__field`
14287
+ className: `${CLASSNAME$1j}__field`
13540
14288
  }, field)));
13541
14289
  return /*#__PURE__*/React.createElement("div", _extends({
13542
14290
  ref: ref
13543
14291
  }, forwardedProps, {
13544
14292
  className: classnames(className, handleBasicClasses({
13545
- prefix: CLASSNAME$1i,
14293
+ prefix: CLASSNAME$1j,
13546
14294
  orientation,
13547
14295
  size: componentSize,
13548
14296
  theme,
@@ -13555,21 +14303,21 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13555
14303
  linkProps: linkProps,
13556
14304
  alt: ""
13557
14305
  }, avatarProps, {
13558
- className: classnames(`${CLASSNAME$1i}__avatar`, avatarProps.className),
14306
+ className: classnames(`${CLASSNAME$1j}__avatar`, avatarProps.className),
13559
14307
  size: componentSize,
13560
14308
  onClick: onClick,
13561
14309
  theme: theme
13562
14310
  })), (fields || name) && /*#__PURE__*/React.createElement("div", {
13563
- className: `${CLASSNAME$1i}__wrapper`
14311
+ className: `${CLASSNAME$1j}__wrapper`
13564
14312
  }, nameBlock, fieldsBlock), shouldDisplayActions && simpleAction && /*#__PURE__*/React.createElement("div", {
13565
- className: `${CLASSNAME$1i}__action`
14313
+ className: `${CLASSNAME$1j}__action`
13566
14314
  }, simpleAction), shouldDisplayActions && multipleActions && /*#__PURE__*/React.createElement("div", {
13567
- className: `${CLASSNAME$1i}__actions`
14315
+ className: `${CLASSNAME$1j}__actions`
13568
14316
  }, multipleActions));
13569
14317
  });
13570
- UserBlock.displayName = COMPONENT_NAME$1l;
13571
- UserBlock.className = CLASSNAME$1i;
14318
+ UserBlock.displayName = COMPONENT_NAME$1m;
14319
+ UserBlock.className = CLASSNAME$1j;
13572
14320
  UserBlock.defaultProps = DEFAULT_PROPS$13;
13573
14321
 
13574
- export { AlertDialog, Alignment, AspectRatio, Autocomplete, AutocompleteMultiple, Avatar, Badge, Button, ButtonEmphasis, ButtonGroup, Checkbox, Chip, ChipGroup, ColorPalette, ColorVariant, CommentBlock, CommentBlockVariant, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, Emphasis, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, InlineList, InputHelper, InputLabel, Kind, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Navigation, Notification, Orientation, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, Select, SelectMultiple, SelectMultipleField, SelectVariant, SideNavigation, SideNavigationItem, Size, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, Theme, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Typography, TypographyCustom, TypographyInterface, TypographyTitleCustom, Uploader, UploaderVariant, UserBlock, WhiteSpace, clamp, isClickable, useFocusPointStyle, useHeadingLevel };
14322
+ export { AlertDialog, Alignment, AspectRatio, Autocomplete, AutocompleteMultiple, Avatar, Badge, Button, ButtonEmphasis, ButtonGroup, Checkbox, Chip, ChipGroup, ColorPalette, ColorVariant, CommentBlock, CommentBlockVariant, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, Emphasis, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Kind, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Navigation, Notification, Orientation, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, Select, SelectMultiple, SelectMultipleField, SelectVariant, SideNavigation, SideNavigationItem, Size, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, Theme, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Typography, TypographyCustom, TypographyInterface, TypographyTitleCustom, Uploader, UploaderVariant, UserBlock, WhiteSpace, clamp, isClickable, useFocusPointStyle, useHeadingLevel };
13575
14323
  //# sourceMappingURL=index.js.map