@lumx/react 3.7.6-alpha.8 → 3.7.6-test.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/index.d.ts +1 -63
  2. package/index.js +551 -1286
  3. package/index.js.map +1 -1
  4. package/package.json +3 -3
  5. package/src/components/heading/Heading.test.tsx +3 -1
  6. package/src/components/heading/Heading.tsx +3 -2
  7. package/src/components/image-block/ImageBlock.stories.tsx +74 -63
  8. package/src/components/image-block/ImageBlock.tsx +1 -0
  9. package/src/components/image-block/ImageCaption.tsx +7 -7
  10. package/src/components/thumbnail/useFocusPointStyle.tsx +4 -3
  11. package/src/hooks/useOnResize.ts +41 -0
  12. package/src/index.ts +0 -1
  13. package/src/utils/type.ts +0 -15
  14. package/src/components/image-lightbox/ImageLightbox.stories.tsx +0 -165
  15. package/src/components/image-lightbox/ImageLightbox.test.tsx +0 -252
  16. package/src/components/image-lightbox/ImageLightbox.tsx +0 -72
  17. package/src/components/image-lightbox/constants.ts +0 -11
  18. package/src/components/image-lightbox/index.ts +0 -2
  19. package/src/components/image-lightbox/internal/ImageSlide.tsx +0 -106
  20. package/src/components/image-lightbox/internal/ImageSlideshow.tsx +0 -173
  21. package/src/components/image-lightbox/internal/useAnimateScroll.ts +0 -55
  22. package/src/components/image-lightbox/internal/usePointerZoom.ts +0 -148
  23. package/src/components/image-lightbox/types.ts +0 -47
  24. package/src/components/image-lightbox/useImageLightbox.tsx +0 -135
  25. package/src/hooks/useElementSizeDependentOfWindowSize.ts +0 -32
  26. package/src/hooks/useImageSize.ts +0 -17
  27. package/src/stories/generated/ImageLightbox/Demos.stories.tsx +0 -6
  28. package/src/utils/findImage.tsx +0 -3
  29. package/src/utils/getPrefersReducedMotion.ts +0 -6
  30. package/src/utils/startViewTransition.ts +0 -54
  31. package/src/utils/unref.ts +0 -6
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 ReactDOM, { createPortal } from 'react-dom';
9
+ import { 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,8 +17,6 @@ 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 isEqual from 'lodash/isEqual';
21
- import throttle from 'lodash/throttle';
22
20
  import take from 'lodash/take';
23
21
  import uniqueId from 'lodash/uniqueId';
24
22
  import isObject from 'lodash/isObject';
@@ -343,7 +341,7 @@ var classnames = createCommonjsModule(function (module) {
343
341
  }());
344
342
  });
345
343
 
346
- 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';
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';
347
345
 
348
346
  var IDX=256, HEX=[], SIZE=256, BUFFER;
349
347
  while (IDX--) HEX[IDX] = (IDX + 256).toString(16).substring(1);
@@ -1257,18 +1255,6 @@ const isComponentType = type => node => /*#__PURE__*/React.isValidElement(node)
1257
1255
  * @example ComponentRef<Button> => React.Ref<HTMLButtonElement
1258
1256
  */
1259
1257
 
1260
- /**
1261
- * Rectangle size
1262
- */
1263
-
1264
- /**
1265
- * Maybe a HTMLElement or a React ref of a HTMLElement
1266
- */
1267
-
1268
- /**
1269
- * A point coordinate in 2D space
1270
- */
1271
-
1272
1258
  const _excluded$6 = ["linkAs"];
1273
1259
  /**
1274
1260
  * Render link with default <a> HTML component or a custom one provided by `linkAs`.
@@ -7360,13 +7346,14 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
7360
7346
  const {
7361
7347
  headingElement
7362
7348
  } = useHeadingLevel();
7349
+ const computedHeadingElement = as || headingElement;
7363
7350
  return /*#__PURE__*/React.createElement(Text, _extends({
7364
7351
  ref: ref,
7365
7352
  className: classnames(className, handleBasicClasses({
7366
7353
  prefix: CLASSNAME$p
7367
7354
  })),
7368
- as: as || headingElement,
7369
- typography: DEFAULT_TYPOGRAPHY_BY_LEVEL[headingElement]
7355
+ as: computedHeadingElement,
7356
+ typography: DEFAULT_TYPOGRAPHY_BY_LEVEL[computedHeadingElement]
7370
7357
  }, forwardedProps), children);
7371
7358
  });
7372
7359
  Heading.displayName = COMPONENT_NAME$s;
@@ -7672,7 +7659,7 @@ const ImageCaption = props => {
7672
7659
  const titleColor = {
7673
7660
  color: theme === 'dark' ? 'light' : 'dark'
7674
7661
  };
7675
- const descriptionColor = {
7662
+ const baseColor = {
7676
7663
  color: theme === 'dark' ? 'light' : 'dark',
7677
7664
  colorVariant: 'L2'
7678
7665
  };
@@ -7687,20 +7674,20 @@ const ImageCaption = props => {
7687
7674
  as: as,
7688
7675
  className: className,
7689
7676
  style: captionStyle,
7690
- orientation: "horizontal",
7677
+ orientation: "vertical",
7691
7678
  vAlign: align,
7692
7679
  hAlign: align === 'center' ? align : undefined,
7693
7680
  gap: "regular"
7694
- }, (title || description) && /*#__PURE__*/React.createElement(Text, {
7681
+ }, (title || description) && /*#__PURE__*/React.createElement(Text, _extends({
7695
7682
  as: "p",
7696
7683
  truncate: truncate
7697
- }, title && /*#__PURE__*/React.createElement(Text, _extends({
7684
+ }, baseColor), title && /*#__PURE__*/React.createElement(Text, _extends({
7698
7685
  as: "span",
7699
7686
  typography: "subtitle1"
7700
7687
  }, titleColor), title), ' ', description && /*#__PURE__*/React.createElement(Text, _extends({
7701
7688
  as: "span",
7702
7689
  typography: "body1"
7703
- }, descriptionColor, descriptionContent))), tags && /*#__PURE__*/React.createElement(FlexBox, {
7690
+ }, descriptionContent))), tags && /*#__PURE__*/React.createElement(FlexBox, {
7704
7691
  orientation: "horizontal",
7705
7692
  vAlign: align
7706
7693
  }, tags));
@@ -7787,6 +7774,7 @@ const ImageBlock = /*#__PURE__*/forwardRef((props, ref) => {
7787
7774
  theme: theme,
7788
7775
  alt: alt || title
7789
7776
  })), /*#__PURE__*/React.createElement(ImageCaption, {
7777
+ as: "figcaption",
7790
7778
  className: `${CLASSNAME$u}__wrapper`,
7791
7779
  theme: theme,
7792
7780
  title: title,
@@ -7803,729 +7791,7 @@ ImageBlock.displayName = COMPONENT_NAME$x;
7803
7791
  ImageBlock.className = CLASSNAME$u;
7804
7792
  ImageBlock.defaultProps = DEFAULT_PROPS$q;
7805
7793
 
7806
- /**
7807
- * Component display name.
7808
- */
7809
- const COMPONENT_NAME$y = 'ImageLightbox';
7810
-
7811
- /**
7812
- * Component default class name and class prefix.
7813
- */
7814
- const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
7815
-
7816
- /**
7817
- * Observe element size (only works if it's size depends on the window size).
7818
- *
7819
- * (Not using ResizeObserver for better browser backward compat)
7820
- *
7821
- * @param elementRef Element to observe
7822
- * @return the size and a manual update callback
7823
- */
7824
- function useElementSizeDependentOfWindowSize(elementRef) {
7825
- const [size, setSize] = React.useState(null);
7826
- const updateSize = React.useMemo(() => throttle(() => {
7827
- var _elementRef$current;
7828
- const newSize = (_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.getBoundingClientRect();
7829
- if (newSize) setSize(newSize);
7830
- }, 10), [elementRef]);
7831
- React.useEffect(() => {
7832
- updateSize();
7833
- window.addEventListener('resize', updateSize);
7834
- return () => window.removeEventListener('resize', updateSize);
7835
- }, [updateSize]);
7836
- return [size, updateSize];
7837
- }
7838
-
7839
- /** Get natural image size after load. */
7840
- function useImageSize(imgRef, getInitialSize) {
7841
- const [imageSize, setImageSize] = React.useState(getInitialSize || null);
7842
- React.useEffect(() => {
7843
- const {
7844
- current: img
7845
- } = imgRef;
7846
- if (!img) {
7847
- return undefined;
7848
- }
7849
- const onLoad = () => setImageSize({
7850
- width: img.naturalWidth,
7851
- height: img.naturalHeight
7852
- });
7853
- img.addEventListener('load', onLoad);
7854
- return () => img.removeEventListener('load', onLoad);
7855
- }, [imgRef]);
7856
- return imageSize;
7857
- }
7858
-
7859
- /** Check if user prefers reduced motion */
7860
- function getPrefersReducedMotion() {
7861
- var _WINDOW$matchMedia;
7862
- 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;
7863
- }
7864
-
7865
- /**
7866
- * Listen to mouse wheel + ctrl and multi-pointer pinch to zoom
7867
- */
7868
- function usePointerZoom(scrollAreaRef, onScaleChange, animateScroll) {
7869
- const [isPointerZooming, setPointerZooming] = React.useState(false);
7870
- React.useEffect(() => {
7871
- const scrollArea = scrollAreaRef.current;
7872
- if (!scrollArea || !onScaleChange) {
7873
- return undefined;
7874
- }
7875
- let animationFrame;
7876
- let zoomStateTimeoutId;
7877
- function updateScaleOnNextFrame(newScale, mousePosition) {
7878
- // Cancel previously scheduled frame
7879
- if (animationFrame) cancelAnimationFrame(animationFrame);
7880
-
7881
- // Cancel previously scheduled zoom state change
7882
- if (zoomStateTimeoutId) clearTimeout(zoomStateTimeoutId);
7883
- function nextFrame() {
7884
- setPointerZooming(true);
7885
- onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(newScale);
7886
- animationFrame = null;
7887
- // Wait a bit before indicating the pointer zooming is finished
7888
- zoomStateTimeoutId = setTimeout(() => setPointerZooming(false), 100);
7889
- }
7890
- animationFrame = requestAnimationFrame(nextFrame);
7891
-
7892
- // Animate scroll in parallel (centering on the current mouse position)
7893
- animateScroll(mousePosition, {
7894
- width: scrollArea.scrollWidth,
7895
- height: scrollArea.scrollHeight
7896
- });
7897
- }
7898
- function onWheel(event) {
7899
- if (!event.ctrlKey) {
7900
- return;
7901
- }
7902
- event.preventDefault();
7903
- const newScale = Math.exp(-event.deltaY / 50);
7904
-
7905
- // Update scale on next frame (focused on the mouse position)
7906
- updateScaleOnNextFrame(newScale, {
7907
- x: event.pageX,
7908
- y: event.pageY
7909
- });
7910
- }
7911
- const activePointers = {};
7912
- let prevDistance = null;
7913
- let previousCenterPoint = null;
7914
- function onPointerDown(event) {
7915
- activePointers[event.pointerId] = event;
7916
- }
7917
- function onPointerMove(event) {
7918
- // Update pointer in cache
7919
- if (activePointers[event.pointerId]) {
7920
- activePointers[event.pointerId] = event;
7921
- }
7922
- const pointers = Object.values(activePointers);
7923
-
7924
- // Make sure we run computation on one of the pointer in the group
7925
- if (pointers[0].pointerId !== event.pointerId) {
7926
- return;
7927
- }
7928
-
7929
- // Centered point between all pointers
7930
- const centerPoint = {
7931
- x: pointers.reduce((x, _ref) => {
7932
- let {
7933
- clientX
7934
- } = _ref;
7935
- return x + clientX;
7936
- }, 0) / pointers.length,
7937
- y: pointers.reduce((y, _ref2) => {
7938
- let {
7939
- clientY
7940
- } = _ref2;
7941
- return y + clientY;
7942
- }, 0) / pointers.length
7943
- };
7944
-
7945
- // Movement of the center point
7946
- const deltaCenterPoint = previousCenterPoint && {
7947
- left: previousCenterPoint.x - centerPoint.x,
7948
- top: previousCenterPoint.y - centerPoint.y
7949
- };
7950
-
7951
- // Pan X & Y
7952
- if (deltaCenterPoint) {
7953
- // Apply movement of the center point to the scroll
7954
- scrollArea.scrollBy({
7955
- top: deltaCenterPoint.top / 2,
7956
- left: deltaCenterPoint.left / 2
7957
- });
7958
- }
7959
-
7960
- // Pinch to zoom
7961
- if (pointers.length === 2) {
7962
- const [pointer1, pointer2] = pointers;
7963
- const distance = Math.hypot(pointer2.clientX - pointer1.clientX, pointer2.clientY - pointer1.clientY);
7964
- if (prevDistance && deltaCenterPoint) {
7965
- const delta = prevDistance - distance;
7966
- const absDelta = Math.abs(delta);
7967
-
7968
- // Zoom only if we are "pinching" more than we are moving the pointers
7969
- if (absDelta > Math.abs(deltaCenterPoint.left) && absDelta > Math.abs(deltaCenterPoint.top)) {
7970
- // Update scale on next frame (focused on the center point between the two pointers)
7971
- const newScale = Math.exp(-delta / 100);
7972
- updateScaleOnNextFrame(newScale, centerPoint);
7973
- }
7974
- }
7975
- prevDistance = distance;
7976
- }
7977
- previousCenterPoint = centerPoint;
7978
- }
7979
- function onPointerUp(event) {
7980
- prevDistance = null;
7981
- previousCenterPoint = null;
7982
- delete activePointers[event.pointerId];
7983
- }
7984
- scrollArea.addEventListener('wheel', onWheel, {
7985
- passive: false
7986
- });
7987
- const isMultiTouch = navigator.maxTouchPoints >= 2;
7988
- if (isMultiTouch) {
7989
- scrollArea.addEventListener('pointerdown', onPointerDown);
7990
- scrollArea.addEventListener('pointermove', onPointerMove);
7991
- scrollArea.addEventListener('pointerup', onPointerUp);
7992
- }
7993
- return () => {
7994
- scrollArea.removeEventListener('wheel', onWheel);
7995
- if (isMultiTouch) {
7996
- scrollArea.removeEventListener('pointerdown', onPointerDown);
7997
- scrollArea.removeEventListener('pointermove', onPointerMove);
7998
- scrollArea.removeEventListener('pointerup', onPointerUp);
7999
- }
8000
- };
8001
- }, [animateScroll, onScaleChange, scrollAreaRef]);
8002
- return isPointerZooming;
8003
- }
8004
-
8005
- /** Maintains the scroll position centered relative to the original scroll area's dimensions when the content scales. */
8006
- function useAnimateScroll(scrollAreaRef) {
8007
- return React.useMemo(() => {
8008
- let animationFrame = null;
8009
- return function animate(centerPoint, initialScrollAreaSize) {
8010
- const scrollArea = scrollAreaRef.current;
8011
- if (!scrollArea) {
8012
- return;
8013
- }
8014
-
8015
- // Cancel previously running animation
8016
- if (animationFrame) cancelAnimationFrame(animationFrame);
8017
-
8018
- // Center on the given point or else on the scroll area visual center
8019
- const clientHeightRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.y ? centerPoint.y / scrollArea.clientHeight : 0.5;
8020
- const clientWidthRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.x ? centerPoint.x / scrollArea.clientWidth : 0.5;
8021
- const initialScrollHeight = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.height) || scrollArea.scrollHeight;
8022
- const initialScrollWidth = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.width) || scrollArea.scrollWidth;
8023
- const heightCenter = scrollArea.scrollTop + scrollArea.clientHeight * clientHeightRatio;
8024
- const heightRatio = heightCenter / initialScrollHeight;
8025
- const widthCenter = scrollArea.scrollLeft + scrollArea.clientWidth * clientWidthRatio;
8026
- const widthRatio = widthCenter / initialScrollWidth;
8027
- let prevScrollHeight = 0;
8028
- let prevScrollWidth = 0;
8029
- function nextFrame() {
8030
- const {
8031
- scrollHeight,
8032
- scrollWidth,
8033
- clientHeight,
8034
- clientWidth
8035
- } = scrollArea;
8036
-
8037
- // Scroll area stopped expanding => stop animation
8038
- if (scrollHeight === prevScrollHeight && scrollWidth === prevScrollWidth) {
8039
- animationFrame = null;
8040
- return;
8041
- }
8042
-
8043
- // Compute next scroll position
8044
- const top = heightRatio * scrollHeight - clientHeight * clientHeightRatio;
8045
- const left = widthRatio * scrollWidth - clientWidth * clientWidthRatio;
8046
- scrollArea.scrollTo({
8047
- top,
8048
- left
8049
- });
8050
- prevScrollHeight = scrollHeight;
8051
- prevScrollWidth = scrollWidth;
8052
- animationFrame = requestAnimationFrame(nextFrame);
8053
- }
8054
- animationFrame = requestAnimationFrame(nextFrame);
8055
- };
8056
- }, [scrollAreaRef]);
8057
- }
8058
-
8059
- /** Internal image slide component for ImageLightbox */
8060
- const ImageSlide = /*#__PURE__*/React.memo(props => {
8061
- const {
8062
- isActive,
8063
- scale,
8064
- onScaleChange,
8065
- image: {
8066
- image,
8067
- imgRef: propImgRef,
8068
- imgProps,
8069
- alt
8070
- }
8071
- } = props;
8072
-
8073
- // Get scroll area size
8074
- const scrollAreaRef = React.useRef(null);
8075
- const [scrollAreaSize, updateSize] = useElementSizeDependentOfWindowSize(scrollAreaRef);
8076
- React.useEffect(() => {
8077
- // Update size when active
8078
- if (isActive) updateSize();
8079
- }, [isActive, updateSize]);
8080
-
8081
- // Get image size
8082
- const imgRef = React.useRef(null);
8083
- const imageSize = useImageSize(imgRef, () => {
8084
- const initialWidth = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.width, 10);
8085
- const initialHeight = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.height, 10);
8086
- return initialWidth && initialHeight ? {
8087
- width: initialWidth,
8088
- height: initialHeight
8089
- } : null;
8090
- });
8091
-
8092
- // Calculate new image size with scale
8093
- const scaledImageSize = React.useMemo(() => {
8094
- if (!scrollAreaSize || !imageSize) {
8095
- return null;
8096
- }
8097
- const horizontalScale = scrollAreaSize.width / imageSize.width;
8098
- const verticalScale = scrollAreaSize.height / imageSize.height;
8099
- const baseScale = Math.min(1, Math.min(horizontalScale, verticalScale));
8100
- return {
8101
- width: imageSize.width * baseScale * (scale !== null && scale !== void 0 ? scale : 1),
8102
- height: imageSize.height * baseScale * (scale !== null && scale !== void 0 ? scale : 1)
8103
- };
8104
- }, [scrollAreaSize, imageSize, scale]);
8105
-
8106
- // Animate scroll to preserve the center of the current visible window in the scroll area
8107
- const animateScroll = useAnimateScroll(scrollAreaRef);
8108
-
8109
- // Zoom via mouse wheel or multi-touch pinch zoom
8110
- const isPointerZooming = usePointerZoom(scrollAreaRef, onScaleChange, animateScroll);
8111
-
8112
- // Animate scroll on scale change
8113
- React.useLayoutEffect(() => {
8114
- if (scale && !isPointerZooming) {
8115
- animateScroll();
8116
- }
8117
- }, [isPointerZooming, scale, animateScroll]);
8118
- const isScrollable = scaledImageSize && scrollAreaSize && (scaledImageSize.width > scrollAreaSize.width || scaledImageSize.height > scrollAreaSize.height);
8119
- return /*#__PURE__*/React.createElement(SlideshowItem, {
8120
- ref: scrollAreaRef
8121
- // Make it accessible to keyboard nav when the zone is scrollable
8122
- ,
8123
- tabIndex: isScrollable ? 0 : undefined,
8124
- className: `${CLASSNAME$v}__image-slide`
8125
- }, /*#__PURE__*/React.createElement(Thumbnail, {
8126
- imgRef: mergeRefs(imgRef, propImgRef),
8127
- image: image,
8128
- alt: alt,
8129
- className: `${CLASSNAME$v}__thumbnail`,
8130
- imgProps: _objectSpread2(_objectSpread2({}, imgProps), {}, {
8131
- style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), scaledImageSize || {
8132
- maxHeight: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.height,
8133
- maxWidth: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.width
8134
- }), {}, {
8135
- // Only animate when scale is set, and we are not pointer zooming and the user does not prefer reduced motion
8136
- transition: scale && !isPointerZooming && !getPrefersReducedMotion() ? 'all 250ms' : undefined
8137
- })
8138
- })
8139
- }));
8140
- }, isEqual);
8141
-
8142
- const _excluded$z = ["image", "imgRef"];
8143
- /** Internal image slideshow component for ImageLightbox */
8144
- const ImageSlideshow = _ref => {
8145
- var _images$activeIndex, _images$activeIndex2, _images$activeIndex3;
8146
- let {
8147
- activeImageIndex,
8148
- images,
8149
- slideGroupLabel,
8150
- zoomInButtonProps,
8151
- zoomOutButtonProps,
8152
- slideshowControlsProps,
8153
- currentPaginationItemRef,
8154
- footerRef,
8155
- activeImageRef
8156
- } = _ref;
8157
- const {
8158
- activeIndex,
8159
- slideshowId,
8160
- setSlideshow,
8161
- slideshowSlidesId,
8162
- slidesCount,
8163
- onNextClick,
8164
- onPaginationClick,
8165
- onPreviousClick,
8166
- toggleAutoPlay
8167
- } = SlideshowControls.useSlideshowControls({
8168
- itemsCount: images.length,
8169
- activeIndex: activeImageIndex
8170
- });
8171
-
8172
- // Image metadata (caption)
8173
- const title = (_images$activeIndex = images[activeIndex]) === null || _images$activeIndex === void 0 ? void 0 : _images$activeIndex.title;
8174
- const description = (_images$activeIndex2 = images[activeIndex]) === null || _images$activeIndex2 === void 0 ? void 0 : _images$activeIndex2.description;
8175
- const tags = (_images$activeIndex3 = images[activeIndex]) === null || _images$activeIndex3 === void 0 ? void 0 : _images$activeIndex3.tags;
8176
- const metadata = title || description || tags ? /*#__PURE__*/React.createElement(ImageCaption, {
8177
- theme: "dark",
8178
- as: "div",
8179
- title: title,
8180
- description: description,
8181
- tags: tags,
8182
- align: "center"
8183
- }) : null;
8184
-
8185
- // Slideshow controls
8186
- const slideShowControls = slidesCount > 1 && slideshowControlsProps ? /*#__PURE__*/React.createElement(SlideshowControls, _extends({
8187
- theme: "dark",
8188
- activeIndex: activeIndex,
8189
- slidesCount: slidesCount,
8190
- onNextClick: onNextClick,
8191
- onPreviousClick: onPreviousClick,
8192
- onPaginationClick: onPaginationClick
8193
- }, slideshowControlsProps, {
8194
- paginationItemProps: index => {
8195
- var _slideshowControlsPro;
8196
- const props = (slideshowControlsProps === null || slideshowControlsProps === void 0 ? void 0 : (_slideshowControlsPro = slideshowControlsProps.paginationItemProps) === null || _slideshowControlsPro === void 0 ? void 0 : _slideshowControlsPro.call(slideshowControlsProps, index)) || {};
8197
- return _objectSpread2(_objectSpread2({}, props), {}, {
8198
- ref: mergeRefs(props === null || props === void 0 ? void 0 : props.ref,
8199
- // Focus the active pagination item once on mount
8200
- activeIndex === index ? currentPaginationItemRef : undefined)
8201
- });
8202
- }
8203
- })) : null;
8204
-
8205
- // Zoom controls
8206
- const [scale, setScale] = React.useState(undefined);
8207
- const zoomEnabled = zoomInButtonProps && zoomOutButtonProps;
8208
- const onScaleChange = React.useMemo(() => {
8209
- if (!zoomEnabled) return undefined;
8210
- return newScale => {
8211
- setScale(function () {
8212
- let prevScale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
8213
- return Math.max(1, newScale * prevScale);
8214
- });
8215
- };
8216
- }, [zoomEnabled]);
8217
- const zoomIn = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(1.5), [onScaleChange]);
8218
- const zoomOut = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(0.5), [onScaleChange]);
8219
- React.useEffect(() => {
8220
- // Reset scale on slide change
8221
- if (activeIndex) setScale(undefined);
8222
- }, [activeIndex]);
8223
- const zoomControls = zoomEnabled && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomInButtonProps, {
8224
- theme: "dark",
8225
- emphasis: "low",
8226
- icon: mdiMagnifyPlusOutline,
8227
- onClick: zoomIn
8228
- })), /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomOutButtonProps, {
8229
- theme: "dark",
8230
- emphasis: "low",
8231
- isDisabled: !scale || scale <= 1,
8232
- icon: mdiMagnifyMinusOutline,
8233
- onClick: zoomOut
8234
- })));
8235
- const getImgRef = React.useMemo(() => memoize((index, isActive) => {
8236
- return mergeRefs(images === null || images === void 0 ? void 0 : images[index].imgRef, isActive ? activeImageRef : undefined);
8237
- },
8238
- // memoize based on both arguments
8239
- function () {
8240
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8241
- args[_key] = arguments[_key];
8242
- }
8243
- return args.join();
8244
- }), [images, activeImageRef]);
8245
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Slides, {
8246
- activeIndex: activeIndex,
8247
- theme: "dark",
8248
- slideGroupLabel: slideGroupLabel,
8249
- fillHeight: true,
8250
- id: slideshowId,
8251
- ref: setSlideshow,
8252
- slidesId: slideshowSlidesId,
8253
- toggleAutoPlay: toggleAutoPlay
8254
- }, images.map((_ref2, index) => {
8255
- let {
8256
- image,
8257
- imgRef
8258
- } = _ref2,
8259
- imageProps = _objectWithoutProperties(_ref2, _excluded$z);
8260
- const isActive = index === activeIndex;
8261
- return /*#__PURE__*/React.createElement(ImageSlide, {
8262
- isActive: isActive,
8263
- key: image,
8264
- image: _objectSpread2(_objectSpread2({}, imageProps), {}, {
8265
- image,
8266
- imgRef: getImgRef(index, isActive)
8267
- }),
8268
- scale: isActive ? scale : undefined,
8269
- onScaleChange: onScaleChange
8270
- });
8271
- })), (metadata || slideShowControls || zoomControls) && /*#__PURE__*/React.createElement(FlexBox, {
8272
- ref: footerRef,
8273
- className: `${CLASSNAME$v}__footer`,
8274
- orientation: "vertical",
8275
- vAlign: "center",
8276
- gap: "big"
8277
- }, metadata, /*#__PURE__*/React.createElement(FlexBox, {
8278
- className: `${CLASSNAME$v}__footer-actions`,
8279
- orientation: "horizontal",
8280
- gap: "regular"
8281
- }, slideShowControls, zoomControls)));
8282
- };
8283
-
8284
- function unref(maybeElement) {
8285
- if (maybeElement instanceof HTMLElement) return maybeElement;
8286
- return maybeElement === null || maybeElement === void 0 ? void 0 : maybeElement.current;
8287
- }
8288
-
8289
- function setTransitionViewName(elementRef, name) {
8290
- const element = unref(elementRef);
8291
- if (element) element.style.viewTransitionName = name;
8292
- }
8293
-
8294
- /**
8295
- * Wrapper around the `document.startViewTransition` handling browser incompatibilities, react DOM flush and
8296
- * user preference.
8297
- *
8298
- * @param changes callback containing the changes to apply within the view transition.
8299
- * @param setViewTransitionName set the `viewTransitionName` style on a `source` & `target` to morph these elements.
8300
- */
8301
- async function startViewTransition(_ref) {
8302
- var _document, _document$startViewTr;
8303
- let {
8304
- changes,
8305
- viewTransitionName
8306
- } = _ref;
8307
- 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);
8308
- const prefersReducedMotion = getPrefersReducedMotion();
8309
- const {
8310
- flushSync
8311
- } = ReactDOM;
8312
- if (prefersReducedMotion || !start || !flushSync || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.source) || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.target)) {
8313
- // Skip, apply changes without a transition
8314
- changes();
8315
- return;
8316
- }
8317
-
8318
- // Set transition name on source element
8319
- setTransitionViewName(viewTransitionName.source, viewTransitionName.name);
8320
-
8321
- // Start view transition, apply changes & flush to DOM
8322
- await start(() => {
8323
- // Un-set transition name on source element
8324
- setTransitionViewName(viewTransitionName.source, null);
8325
- flushSync(changes);
8326
-
8327
- // Set transition name on target element
8328
- setTransitionViewName(viewTransitionName.target, viewTransitionName.name);
8329
- }).updateCallbackDone;
8330
-
8331
- // Un-set transition name on target element
8332
- setTransitionViewName(viewTransitionName.target, null);
8333
- }
8334
-
8335
- /** Find image in element including the element */
8336
- const findImage = element => element !== null && element !== void 0 && element.matches('img') ? element : (element === null || element === void 0 ? void 0 : element.querySelector('img')) || null;
8337
-
8338
- const _excluded$A = ["images"];
8339
-
8340
- /** Subset of the ImageLightboxProps managed by the useImageLightbox hook */
8341
-
8342
- const EMPTY_PROPS = {
8343
- isOpen: false,
8344
- images: [],
8345
- parentElement: /*#__PURE__*/React.createRef()
8346
- };
8347
- /**
8348
- * Set up an ImageLightbox with images and triggers.
8349
- *
8350
- * - Associate a trigger with the lightbox to properly focus the trigger on close
8351
- * - Associate a trigger with an image to display on open
8352
- * - Automatically provide a view transition between an image trigger and the displayed image on open & close
8353
- *
8354
- * @param initialProps Images to display in the image lightbox
8355
- */
8356
- function useImageLightbox(initialProps) {
8357
- const {
8358
- images = []
8359
- } = initialProps,
8360
- otherProps = _objectWithoutProperties(initialProps, _excluded$A);
8361
- const basePropsRef = React.useRef(EMPTY_PROPS);
8362
- React.useEffect(() => {
8363
- basePropsRef.current = _objectSpread2(_objectSpread2({}, EMPTY_PROPS), otherProps);
8364
- }, [otherProps]);
8365
- const imagesPropsRef = React.useRef(images);
8366
- React.useEffect(() => {
8367
- imagesPropsRef.current = images.map(props => _objectSpread2({
8368
- imgRef: /*#__PURE__*/React.createRef()
8369
- }, props));
8370
- }, [images]);
8371
- const currentImageRef = React.useRef(null);
8372
- const [imageLightboxProps, setImageLightboxProps] = React.useState(basePropsRef.current);
8373
- const getTriggerProps = React.useMemo(() => {
8374
- const triggerImageRefs = {};
8375
- async function closeLightbox() {
8376
- const currentImage = currentImageRef.current;
8377
- if (!currentImage) {
8378
- return;
8379
- }
8380
- const currentIndex = imagesPropsRef.current.findIndex(_ref => {
8381
- let {
8382
- imgRef
8383
- } = _ref;
8384
- return (imgRef === null || imgRef === void 0 ? void 0 : imgRef.current) === currentImage;
8385
- });
8386
- await startViewTransition({
8387
- changes() {
8388
- // Close lightbox with reset empty props
8389
- setImageLightboxProps(_ref2 => {
8390
- let {
8391
- parentElement
8392
- } = _ref2;
8393
- return _objectSpread2(_objectSpread2({}, basePropsRef.current), {}, {
8394
- parentElement
8395
- });
8396
- });
8397
- },
8398
- // Morph from the image in lightbox to the image in trigger
8399
- viewTransitionName: {
8400
- source: currentImageRef,
8401
- target: triggerImageRefs[currentIndex],
8402
- name: CLASSNAME$v
8403
- }
8404
- });
8405
- }
8406
- async function openLightbox(triggerElement) {
8407
- var _triggerImageRefs;
8408
- let {
8409
- activeImageIndex
8410
- } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8411
- // If we find an image inside the trigger, animate it in transition with the opening image
8412
- const triggerImage = ((_triggerImageRefs = triggerImageRefs[activeImageIndex]) === null || _triggerImageRefs === void 0 ? void 0 : _triggerImageRefs.current) || findImage(triggerElement);
8413
-
8414
- // Inject the trigger image size as a fallback for better loading state
8415
- const imagesWithFallbackSize = imagesPropsRef.current.map((image, idx) => {
8416
- var _image$imgProps, _image$imgProps2;
8417
- if (triggerImage && idx === activeImageIndex && !((_image$imgProps = image.imgProps) !== null && _image$imgProps !== void 0 && _image$imgProps.width) && !((_image$imgProps2 = image.imgProps) !== null && _image$imgProps2 !== void 0 && _image$imgProps2.height)) {
8418
- const imgProps = _objectSpread2(_objectSpread2({}, image.imgProps), {}, {
8419
- height: triggerImage.naturalHeight,
8420
- width: triggerImage.naturalWidth
8421
- });
8422
- return _objectSpread2(_objectSpread2({}, image), {}, {
8423
- imgProps
8424
- });
8425
- }
8426
- return image;
8427
- });
8428
- await startViewTransition({
8429
- changes: () => {
8430
- // Open lightbox with setup props
8431
- setImageLightboxProps(_objectSpread2(_objectSpread2({}, basePropsRef.current), {}, {
8432
- activeImageRef: currentImageRef,
8433
- parentElement: {
8434
- current: triggerElement
8435
- },
8436
- isOpen: true,
8437
- onClose: closeLightbox,
8438
- images: imagesWithFallbackSize,
8439
- activeImageIndex: activeImageIndex || 0
8440
- }));
8441
- },
8442
- // Morph from the image in trigger to the image in lightbox
8443
- viewTransitionName: {
8444
- source: triggerImage,
8445
- target: currentImageRef,
8446
- name: CLASSNAME$v
8447
- }
8448
- });
8449
- }
8450
- return memoize(options => ({
8451
- ref(element) {
8452
- // Track trigger image ref if any
8453
- if ((options === null || options === void 0 ? void 0 : options.activeImageIndex) !== undefined && element) {
8454
- triggerImageRefs[options.activeImageIndex] = {
8455
- current: findImage(element)
8456
- };
8457
- }
8458
- },
8459
- onClick(e) {
8460
- openLightbox(e.target, options);
8461
- }
8462
- }));
8463
- }, []);
8464
- return {
8465
- getTriggerProps,
8466
- imageLightboxProps
8467
- };
8468
- }
8469
-
8470
- const _excluded$B = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8471
- const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8472
- const {
8473
- className,
8474
- isOpen,
8475
- closeButtonProps,
8476
- onClose,
8477
- parentElement,
8478
- activeImageIndex,
8479
- slideshowControlsProps,
8480
- slideGroupLabel,
8481
- images,
8482
- zoomOutButtonProps,
8483
- zoomInButtonProps,
8484
- activeImageRef: propImageRef
8485
- } = props,
8486
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
8487
- const currentPaginationItemRef = React.useRef(null);
8488
- const footerRef = React.useRef(null);
8489
- const imageRef = React.useRef(null);
8490
- const clickAwayChildrenRefs = React.useRef([imageRef, footerRef]);
8491
- return /*#__PURE__*/React.createElement(Lightbox, _extends({
8492
- ref: ref,
8493
- className: classnames(className, CLASSNAME$v),
8494
- parentElement: parentElement,
8495
- isOpen: isOpen,
8496
- onClose: onClose,
8497
- closeButtonProps: closeButtonProps,
8498
- focusElement: currentPaginationItemRef
8499
- }, forwardedProps), /*#__PURE__*/React.createElement(ClickAwayProvider, {
8500
- childrenRefs: clickAwayChildrenRefs,
8501
- callback: onClose
8502
- }, /*#__PURE__*/React.createElement(ImageSlideshow, {
8503
- activeImageIndex: activeImageIndex,
8504
- slideGroupLabel: slideGroupLabel,
8505
- slideshowControlsProps: slideshowControlsProps,
8506
- images: images,
8507
- zoomInButtonProps: zoomInButtonProps,
8508
- zoomOutButtonProps: zoomOutButtonProps,
8509
- footerRef: footerRef,
8510
- activeImageRef: mergeRefs(propImageRef, imageRef),
8511
- currentPaginationItemRef: currentPaginationItemRef
8512
- })));
8513
- });
8514
- Inner.displayName = COMPONENT_NAME$y;
8515
- Inner.className = CLASSNAME$v;
8516
-
8517
- /**
8518
- * ImageLightbox component.
8519
- *
8520
- * @param props Component props.
8521
- * @param ref Component ref.
8522
- * @return React element.
8523
- */
8524
- const ImageLightbox = Object.assign(Inner, {
8525
- useImageLightbox
8526
- });
8527
-
8528
- const _excluded$C = ["className", "color", "colorVariant", "typography", "children", "wrap"];
7794
+ const _excluded$z = ["className", "color", "colorVariant", "typography", "children", "wrap"];
8529
7795
 
8530
7796
  /**
8531
7797
  * Defines the props of the component.
@@ -8534,12 +7800,12 @@ const _excluded$C = ["className", "color", "colorVariant", "typography", "childr
8534
7800
  /**
8535
7801
  * Component display name.
8536
7802
  */
8537
- const COMPONENT_NAME$z = 'InlineList';
7803
+ const COMPONENT_NAME$y = 'InlineList';
8538
7804
 
8539
7805
  /**
8540
7806
  * Component default class name and class prefix.
8541
7807
  */
8542
- const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
7808
+ const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
8543
7809
 
8544
7810
  /**
8545
7811
  * Component default props.
@@ -8562,7 +7828,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
8562
7828
  children,
8563
7829
  wrap
8564
7830
  } = props,
8565
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
7831
+ forwardedProps = _objectWithoutProperties(props, _excluded$z);
8566
7832
  const fontColorClassName = color && getFontColorClassName(color, colorVariant);
8567
7833
  const typographyClassName = typography && getTypographyClassName(typography);
8568
7834
  return (
@@ -8570,7 +7836,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
8570
7836
  // eslint-disable-next-line jsx-a11y/no-redundant-roles
8571
7837
  React.createElement("ul", _extends({}, forwardedProps, {
8572
7838
  ref: ref,
8573
- className: classnames(className, CLASSNAME$w, wrap && `${CLASSNAME$w}--wrap`, fontColorClassName, typographyClassName)
7839
+ className: classnames(className, CLASSNAME$v, wrap && `${CLASSNAME$v}--wrap`, fontColorClassName, typographyClassName)
8574
7840
  // Lists with removed bullet style can lose their a11y list role on some browsers
8575
7841
  ,
8576
7842
  role: "list"
@@ -8583,17 +7849,17 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
8583
7849
  React.createElement("li", {
8584
7850
  key: key,
8585
7851
  role: "listitem",
8586
- className: `${CLASSNAME$w}__item`
7852
+ className: `${CLASSNAME$v}__item`
8587
7853
  }, index !== 0 && /*#__PURE__*/React.createElement("span", {
8588
- className: `${CLASSNAME$w}__item-separator`,
7854
+ className: `${CLASSNAME$v}__item-separator`,
8589
7855
  "aria-hidden": "true"
8590
7856
  }, '\u00A0•\u00A0'), child)
8591
7857
  );
8592
7858
  }))
8593
7859
  );
8594
7860
  });
8595
- InlineList.displayName = COMPONENT_NAME$z;
8596
- InlineList.className = CLASSNAME$w;
7861
+ InlineList.displayName = COMPONENT_NAME$y;
7862
+ InlineList.className = CLASSNAME$v;
8597
7863
  InlineList.defaultProps = DEFAULT_PROPS$r;
8598
7864
 
8599
7865
  const INPUT_HELPER_CONFIGURATION = {
@@ -8608,7 +7874,7 @@ const INPUT_HELPER_CONFIGURATION = {
8608
7874
  }
8609
7875
  };
8610
7876
 
8611
- const _excluded$D = ["children", "className", "kind", "theme"];
7877
+ const _excluded$A = ["children", "className", "kind", "theme"];
8612
7878
 
8613
7879
  /**
8614
7880
  * Defines the props of the component.
@@ -8617,12 +7883,12 @@ const _excluded$D = ["children", "className", "kind", "theme"];
8617
7883
  /**
8618
7884
  * Component display name.
8619
7885
  */
8620
- const COMPONENT_NAME$A = 'InputHelper';
7886
+ const COMPONENT_NAME$z = 'InputHelper';
8621
7887
 
8622
7888
  /**
8623
7889
  * Component default class name and class prefix.
8624
7890
  */
8625
- const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
7891
+ const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
8626
7892
 
8627
7893
  /**
8628
7894
  * Component default props.
@@ -8646,7 +7912,7 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
8646
7912
  kind,
8647
7913
  theme
8648
7914
  } = props,
8649
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
7915
+ forwardedProps = _objectWithoutProperties(props, _excluded$A);
8650
7916
  const {
8651
7917
  color
8652
7918
  } = INPUT_HELPER_CONFIGURATION[kind] || {};
@@ -8654,17 +7920,17 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
8654
7920
  ref: ref
8655
7921
  }, forwardedProps, {
8656
7922
  className: classnames(className, handleBasicClasses({
8657
- prefix: CLASSNAME$x,
7923
+ prefix: CLASSNAME$w,
8658
7924
  color,
8659
7925
  theme
8660
7926
  }))
8661
7927
  }), children);
8662
7928
  });
8663
- InputHelper.displayName = COMPONENT_NAME$A;
8664
- InputHelper.className = CLASSNAME$x;
7929
+ InputHelper.displayName = COMPONENT_NAME$z;
7930
+ InputHelper.className = CLASSNAME$w;
8665
7931
  InputHelper.defaultProps = DEFAULT_PROPS$s;
8666
7932
 
8667
- const _excluded$E = ["children", "className", "htmlFor", "isRequired", "theme"];
7933
+ const _excluded$B = ["children", "className", "htmlFor", "isRequired", "theme"];
8668
7934
 
8669
7935
  /**
8670
7936
  * Defines the props of the component.
@@ -8673,12 +7939,12 @@ const _excluded$E = ["children", "className", "htmlFor", "isRequired", "theme"];
8673
7939
  /**
8674
7940
  * Component display name.
8675
7941
  */
8676
- const COMPONENT_NAME$B = 'InputLabel';
7942
+ const COMPONENT_NAME$A = 'InputLabel';
8677
7943
 
8678
7944
  /**
8679
7945
  * Component default class name and class prefix.
8680
7946
  */
8681
- const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
7947
+ const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
8682
7948
 
8683
7949
  /**
8684
7950
  * Component default props.
@@ -8702,23 +7968,23 @@ const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
8702
7968
  isRequired,
8703
7969
  theme
8704
7970
  } = props,
8705
- forwardedProps = _objectWithoutProperties(props, _excluded$E);
7971
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
8706
7972
  return /*#__PURE__*/React.createElement("label", _extends({
8707
7973
  ref: ref
8708
7974
  }, forwardedProps, {
8709
7975
  htmlFor: htmlFor,
8710
7976
  className: classnames(className, handleBasicClasses({
8711
- prefix: CLASSNAME$y,
7977
+ prefix: CLASSNAME$x,
8712
7978
  isRequired,
8713
7979
  theme
8714
7980
  }))
8715
7981
  }), children);
8716
7982
  });
8717
- InputLabel.displayName = COMPONENT_NAME$B;
8718
- InputLabel.className = CLASSNAME$y;
7983
+ InputLabel.displayName = COMPONENT_NAME$A;
7984
+ InputLabel.className = CLASSNAME$x;
8719
7985
  InputLabel.defaultProps = DEFAULT_PROPS$t;
8720
7986
 
8721
- const _excluded$F = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
7987
+ const _excluded$C = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8722
7988
 
8723
7989
  /**
8724
7990
  * Defines the props of the component.
@@ -8727,12 +7993,12 @@ const _excluded$F = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLab
8727
7993
  /**
8728
7994
  * Component display name.
8729
7995
  */
8730
- const COMPONENT_NAME$C = 'Lightbox';
7996
+ const COMPONENT_NAME$B = 'Lightbox';
8731
7997
 
8732
7998
  /**
8733
7999
  * Component default class name and class prefix.
8734
8000
  */
8735
- const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8001
+ const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
8736
8002
 
8737
8003
  /**
8738
8004
  * Lightbox component.
@@ -8758,7 +8024,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8758
8024
  theme,
8759
8025
  zIndex
8760
8026
  } = props,
8761
- forwardedProps = _objectWithoutProperties(props, _excluded$F);
8027
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
8762
8028
  if (!DOCUMENT) {
8763
8029
  // Can't render in SSR.
8764
8030
  return null;
@@ -8819,7 +8085,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8819
8085
  role: "dialog",
8820
8086
  tabIndex: -1,
8821
8087
  className: classnames(className, handleBasicClasses({
8822
- prefix: CLASSNAME$z,
8088
+ prefix: CLASSNAME$y,
8823
8089
  isHidden: !isOpen,
8824
8090
  isShown: isOpen || isVisible,
8825
8091
  theme
@@ -8828,7 +8094,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8828
8094
  zIndex
8829
8095
  }
8830
8096
  }), closeButtonProps && /*#__PURE__*/React.createElement("div", {
8831
- className: `${CLASSNAME$z}__close`
8097
+ className: `${CLASSNAME$y}__close`
8832
8098
  }, /*#__PURE__*/React.createElement(IconButton, _extends({}, closeButtonProps, {
8833
8099
  ref: closeButtonRef,
8834
8100
  emphasis: "low",
@@ -8842,14 +8108,14 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8842
8108
  childrenRefs: clickAwayRefs
8843
8109
  }, /*#__PURE__*/React.createElement("div", {
8844
8110
  ref: childrenRef,
8845
- className: `${CLASSNAME$z}__wrapper`,
8111
+ className: `${CLASSNAME$y}__wrapper`,
8846
8112
  role: "presentation"
8847
8113
  }, children))), document.body);
8848
8114
  });
8849
- Lightbox.displayName = COMPONENT_NAME$C;
8850
- Lightbox.className = CLASSNAME$z;
8115
+ Lightbox.displayName = COMPONENT_NAME$B;
8116
+ Lightbox.className = CLASSNAME$y;
8851
8117
 
8852
- const _excluded$G = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8118
+ const _excluded$D = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8853
8119
 
8854
8120
  /**
8855
8121
  * Defines the props of the component.
@@ -8858,12 +8124,12 @@ const _excluded$G = ["children", "className", "color", "colorVariant", "disabled
8858
8124
  /**
8859
8125
  * Component display name.
8860
8126
  */
8861
- const COMPONENT_NAME$D = 'Link';
8127
+ const COMPONENT_NAME$C = 'Link';
8862
8128
 
8863
8129
  /**
8864
8130
  * Component default class name and class prefix.
8865
8131
  */
8866
- const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
8132
+ const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8867
8133
  const getIconSize = typography => {
8868
8134
  switch (typography) {
8869
8135
  case Typography.display1:
@@ -8912,18 +8178,18 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8912
8178
  target,
8913
8179
  typography
8914
8180
  } = props,
8915
- forwardedProps = _objectWithoutProperties(props, _excluded$G);
8181
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
8916
8182
  const renderedChildren = useMemo(() => /*#__PURE__*/React.createElement(React.Fragment, null, leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
8917
8183
  icon: leftIcon,
8918
- className: `${CLASSNAME$A}__left-icon`,
8184
+ className: `${CLASSNAME$z}__left-icon`,
8919
8185
  size: getIconSize(typography)
8920
8186
  }), children && /*#__PURE__*/React.createElement("span", {
8921
- className: classnames(`${CLASSNAME$A}__content`, {
8187
+ className: classnames(`${CLASSNAME$z}__content`, {
8922
8188
  [`lumx-typography-${typography}`]: typography
8923
8189
  })
8924
8190
  }, children), rightIcon && !isEmpty(rightIcon) && /*#__PURE__*/React.createElement(Icon, {
8925
8191
  icon: rightIcon,
8926
- className: `${CLASSNAME$A}__right-icon`,
8192
+ className: `${CLASSNAME$z}__right-icon`,
8927
8193
  size: getIconSize(typography)
8928
8194
  })), [leftIcon, typography, children, rightIcon]);
8929
8195
 
@@ -8938,7 +8204,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8938
8204
  ref: ref,
8939
8205
  disabled: isDisabled,
8940
8206
  className: classnames(className, handleBasicClasses({
8941
- prefix: CLASSNAME$A,
8207
+ prefix: CLASSNAME$z,
8942
8208
  color,
8943
8209
  colorVariant
8944
8210
  }))
@@ -8950,17 +8216,17 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8950
8216
  href,
8951
8217
  target,
8952
8218
  className: classnames(className, handleBasicClasses({
8953
- prefix: CLASSNAME$A,
8219
+ prefix: CLASSNAME$z,
8954
8220
  color,
8955
8221
  colorVariant
8956
8222
  })),
8957
8223
  ref: ref
8958
8224
  }), renderedChildren);
8959
8225
  });
8960
- Link.displayName = COMPONENT_NAME$D;
8961
- Link.className = CLASSNAME$A;
8226
+ Link.displayName = COMPONENT_NAME$C;
8227
+ Link.className = CLASSNAME$z;
8962
8228
 
8963
- const _excluded$H = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8229
+ const _excluded$E = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8964
8230
 
8965
8231
  /**
8966
8232
  * Defines the props of the component.
@@ -8969,12 +8235,12 @@ const _excluded$H = ["className", "description", "link", "linkAs", "linkProps",
8969
8235
  /**
8970
8236
  * Component display name.
8971
8237
  */
8972
- const COMPONENT_NAME$E = 'LinkPreview';
8238
+ const COMPONENT_NAME$D = 'LinkPreview';
8973
8239
 
8974
8240
  /**
8975
8241
  * Component default class name and class prefix.
8976
8242
  */
8977
- const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
8243
+ const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
8978
8244
 
8979
8245
  /**
8980
8246
  * Component default props.
@@ -9005,21 +8271,21 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
9005
8271
  title,
9006
8272
  titleHeading
9007
8273
  } = props,
9008
- forwardedProps = _objectWithoutProperties(props, _excluded$H);
8274
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
9009
8275
  // Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
9010
8276
  const TitleHeading = titleHeading;
9011
8277
  return /*#__PURE__*/React.createElement("article", _extends({
9012
8278
  ref: ref
9013
8279
  }, forwardedProps, {
9014
8280
  className: classnames(className, handleBasicClasses({
9015
- prefix: CLASSNAME$B,
8281
+ prefix: CLASSNAME$A,
9016
8282
  size: size === Size.big && thumbnailProps ? Size.big : Size.regular,
9017
8283
  theme
9018
8284
  }))
9019
8285
  }), /*#__PURE__*/React.createElement("div", {
9020
- className: `${CLASSNAME$B}__wrapper`
8286
+ className: `${CLASSNAME$A}__wrapper`
9021
8287
  }, thumbnailProps && /*#__PURE__*/React.createElement("div", {
9022
- className: `${CLASSNAME$B}__thumbnail`
8288
+ className: `${CLASSNAME$A}__thumbnail`
9023
8289
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
9024
8290
  linkAs: linkAs,
9025
8291
  linkProps: _objectSpread2(_objectSpread2({}, linkProps), {}, {
@@ -9031,9 +8297,9 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
9031
8297
  aspectRatio: AspectRatio.free,
9032
8298
  fillHeight: true
9033
8299
  }))), /*#__PURE__*/React.createElement("div", {
9034
- className: `${CLASSNAME$B}__container`
8300
+ className: `${CLASSNAME$A}__container`
9035
8301
  }, title && /*#__PURE__*/React.createElement(TitleHeading, {
9036
- className: `${CLASSNAME$B}__title`
8302
+ className: `${CLASSNAME$A}__title`
9037
8303
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
9038
8304
  linkAs: linkAs,
9039
8305
  target: "_blank",
@@ -9041,12 +8307,12 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
9041
8307
  color: theme === Theme.light ? ColorPalette.dark : ColorPalette.light,
9042
8308
  colorVariant: ColorVariant.N
9043
8309
  }), title)), description && /*#__PURE__*/React.createElement("p", {
9044
- className: `${CLASSNAME$B}__description`
8310
+ className: `${CLASSNAME$A}__description`
9045
8311
  }, description), /*#__PURE__*/React.createElement("div", {
9046
- className: `${CLASSNAME$B}__link`
8312
+ className: `${CLASSNAME$A}__link`
9047
8313
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
9048
8314
  linkAs: linkAs,
9049
- className: classnames(`${CLASSNAME$B}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
8315
+ className: classnames(`${CLASSNAME$A}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
9050
8316
  target: "_blank",
9051
8317
  href: link,
9052
8318
  color: theme === Theme.light ? ColorPalette.primary : ColorPalette.light,
@@ -9056,11 +8322,11 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
9056
8322
  tabIndex: title ? '-1' : undefined
9057
8323
  }), link)))));
9058
8324
  });
9059
- LinkPreview.displayName = COMPONENT_NAME$E;
9060
- LinkPreview.className = CLASSNAME$B;
8325
+ LinkPreview.displayName = COMPONENT_NAME$D;
8326
+ LinkPreview.className = CLASSNAME$A;
9061
8327
  LinkPreview.defaultProps = DEFAULT_PROPS$u;
9062
8328
 
9063
- const _excluded$I = ["className"];
8329
+ const _excluded$F = ["className"];
9064
8330
 
9065
8331
  /**
9066
8332
  * Defines the props of the component.
@@ -9069,12 +8335,12 @@ const _excluded$I = ["className"];
9069
8335
  /**
9070
8336
  * Component display name.
9071
8337
  */
9072
- const COMPONENT_NAME$F = 'ListDivider';
8338
+ const COMPONENT_NAME$E = 'ListDivider';
9073
8339
 
9074
8340
  /**
9075
8341
  * Component default class name and class prefix.
9076
8342
  */
9077
- const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
8343
+ const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
9078
8344
 
9079
8345
  /**
9080
8346
  * ListDivider component.
@@ -9087,19 +8353,19 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
9087
8353
  const {
9088
8354
  className
9089
8355
  } = props,
9090
- forwardedProps = _objectWithoutProperties(props, _excluded$I);
8356
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
9091
8357
  return /*#__PURE__*/React.createElement("li", _extends({
9092
8358
  ref: ref
9093
8359
  }, forwardedProps, {
9094
8360
  className: classnames(className, handleBasicClasses({
9095
- prefix: CLASSNAME$C
8361
+ prefix: CLASSNAME$B
9096
8362
  }))
9097
8363
  }));
9098
8364
  });
9099
- ListDivider.displayName = COMPONENT_NAME$F;
9100
- ListDivider.className = CLASSNAME$C;
8365
+ ListDivider.displayName = COMPONENT_NAME$E;
8366
+ ListDivider.className = CLASSNAME$B;
9101
8367
 
9102
- const _excluded$J = ["children", "className"];
8368
+ const _excluded$G = ["children", "className"];
9103
8369
 
9104
8370
  /**
9105
8371
  * Defines the props of the component.
@@ -9108,12 +8374,12 @@ const _excluded$J = ["children", "className"];
9108
8374
  /**
9109
8375
  * Component display name.
9110
8376
  */
9111
- const COMPONENT_NAME$G = 'ListSubheader';
8377
+ const COMPONENT_NAME$F = 'ListSubheader';
9112
8378
 
9113
8379
  /**
9114
8380
  * Component default class name and class prefix.
9115
8381
  */
9116
- const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
8382
+ const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
9117
8383
 
9118
8384
  /**
9119
8385
  * ListSubheader component.
@@ -9127,19 +8393,19 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
9127
8393
  children,
9128
8394
  className
9129
8395
  } = props,
9130
- forwardedProps = _objectWithoutProperties(props, _excluded$J);
8396
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
9131
8397
  return /*#__PURE__*/React.createElement("li", _extends({
9132
8398
  ref: ref
9133
8399
  }, forwardedProps, {
9134
8400
  className: classnames(className, handleBasicClasses({
9135
- prefix: CLASSNAME$D
8401
+ prefix: CLASSNAME$C
9136
8402
  }))
9137
8403
  }), children);
9138
8404
  });
9139
- ListSubheader.displayName = COMPONENT_NAME$G;
9140
- ListSubheader.className = CLASSNAME$D;
8405
+ ListSubheader.displayName = COMPONENT_NAME$F;
8406
+ ListSubheader.className = CLASSNAME$C;
9141
8407
 
9142
- const _excluded$K = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
8408
+ const _excluded$H = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9143
8409
 
9144
8410
  /**
9145
8411
  * Defines the props of the component.
@@ -9148,12 +8414,12 @@ const _excluded$K = ["children", "className", "hasBackground", "kind", "icon", "
9148
8414
  /**
9149
8415
  * Component display name.
9150
8416
  */
9151
- const COMPONENT_NAME$H = 'Message';
8417
+ const COMPONENT_NAME$G = 'Message';
9152
8418
 
9153
8419
  /**
9154
8420
  * Component default class name and class prefix.
9155
8421
  */
9156
- const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
8422
+ const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
9157
8423
 
9158
8424
  /**
9159
8425
  * Associative map from message kind to color and icon.
@@ -9193,7 +8459,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
9193
8459
  icon: customIcon,
9194
8460
  closeButtonProps
9195
8461
  } = props,
9196
- forwardedProps = _objectWithoutProperties(props, _excluded$K);
8462
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
9197
8463
  const {
9198
8464
  color,
9199
8465
  icon
@@ -9208,27 +8474,27 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
9208
8474
  className: classnames(className, handleBasicClasses({
9209
8475
  color,
9210
8476
  hasBackground,
9211
- prefix: CLASSNAME$E
8477
+ prefix: CLASSNAME$D
9212
8478
  }))
9213
8479
  }, forwardedProps), (customIcon || icon) && /*#__PURE__*/React.createElement(Icon, {
9214
- className: `${CLASSNAME$E}__icon`,
8480
+ className: `${CLASSNAME$D}__icon`,
9215
8481
  icon: customIcon || icon,
9216
8482
  size: Size.xs,
9217
8483
  color: color
9218
8484
  }), /*#__PURE__*/React.createElement("div", {
9219
- className: `${CLASSNAME$E}__text`
8485
+ className: `${CLASSNAME$D}__text`
9220
8486
  }, children), isCloseButtonDisplayed && /*#__PURE__*/React.createElement(IconButton, {
9221
- className: `${CLASSNAME$E}__close-button`,
8487
+ className: `${CLASSNAME$D}__close-button`,
9222
8488
  icon: mdiClose,
9223
8489
  onClick: onClick,
9224
8490
  label: closeButtonLabel,
9225
8491
  emphasis: Emphasis.low
9226
8492
  }));
9227
8493
  });
9228
- Message.displayName = COMPONENT_NAME$H;
9229
- Message.className = CLASSNAME$E;
8494
+ Message.displayName = COMPONENT_NAME$G;
8495
+ Message.className = CLASSNAME$D;
9230
8496
 
9231
- const _excluded$L = ["className", "theme", "thumbnails", "onImageClick"],
8497
+ const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
9232
8498
  _excluded2$1 = ["image", "onClick", "align"];
9233
8499
 
9234
8500
  /**
@@ -9238,12 +8504,12 @@ const _excluded$L = ["className", "theme", "thumbnails", "onImageClick"],
9238
8504
  /**
9239
8505
  * Component display name.
9240
8506
  */
9241
- const COMPONENT_NAME$I = 'Mosaic';
8507
+ const COMPONENT_NAME$H = 'Mosaic';
9242
8508
 
9243
8509
  /**
9244
8510
  * Component default class name and class prefix.
9245
8511
  */
9246
- const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
8512
+ const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
9247
8513
 
9248
8514
  /**
9249
8515
  * Component default props.
@@ -9266,7 +8532,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
9266
8532
  thumbnails,
9267
8533
  onImageClick
9268
8534
  } = props,
9269
- forwardedProps = _objectWithoutProperties(props, _excluded$L);
8535
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
9270
8536
  const handleImageClick = useMemo(() => {
9271
8537
  if (!onImageClick) return undefined;
9272
8538
  return (index, onClick) => event => {
@@ -9278,16 +8544,16 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
9278
8544
  ref: ref
9279
8545
  }, forwardedProps, {
9280
8546
  className: classnames(className, handleBasicClasses({
9281
- prefix: CLASSNAME$F,
8547
+ prefix: CLASSNAME$E,
9282
8548
  theme
9283
8549
  }), {
9284
- [`${CLASSNAME$F}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
9285
- [`${CLASSNAME$F}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
9286
- [`${CLASSNAME$F}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
9287
- [`${CLASSNAME$F}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
8550
+ [`${CLASSNAME$E}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
8551
+ [`${CLASSNAME$E}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
8552
+ [`${CLASSNAME$E}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
8553
+ [`${CLASSNAME$E}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
9288
8554
  })
9289
8555
  }), /*#__PURE__*/React.createElement("div", {
9290
- className: `${CLASSNAME$F}__wrapper`
8556
+ className: `${CLASSNAME$E}__wrapper`
9291
8557
  }, take(thumbnails, 4).map((thumbnail, index) => {
9292
8558
  const {
9293
8559
  image,
@@ -9297,7 +8563,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
9297
8563
  thumbnailProps = _objectWithoutProperties(thumbnail, _excluded2$1);
9298
8564
  return /*#__PURE__*/React.createElement("div", {
9299
8565
  key: index,
9300
- className: `${CLASSNAME$F}__thumbnail`
8566
+ className: `${CLASSNAME$E}__thumbnail`
9301
8567
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
9302
8568
  align: align || Alignment.left,
9303
8569
  image: image,
@@ -9306,12 +8572,12 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
9306
8572
  fillHeight: true,
9307
8573
  onClick: (handleImageClick === null || handleImageClick === void 0 ? void 0 : handleImageClick(index, onClick)) || onClick
9308
8574
  })), thumbnails.length > 4 && index === 3 && /*#__PURE__*/React.createElement("div", {
9309
- className: `${CLASSNAME$F}__overlay`
8575
+ className: `${CLASSNAME$E}__overlay`
9310
8576
  }, /*#__PURE__*/React.createElement("span", null, "+", thumbnails.length - 4)));
9311
8577
  })));
9312
8578
  });
9313
- Mosaic.displayName = COMPONENT_NAME$I;
9314
- Mosaic.className = CLASSNAME$F;
8579
+ Mosaic.displayName = COMPONENT_NAME$H;
8580
+ Mosaic.className = CLASSNAME$E;
9315
8581
  Mosaic.defaultProps = DEFAULT_PROPS$v;
9316
8582
 
9317
8583
  const ThemeContext = /*#__PURE__*/createContext(undefined);
@@ -9321,7 +8587,7 @@ function forwardRefPolymorphic(render) {
9321
8587
  return /*#__PURE__*/React.forwardRef(render);
9322
8588
  }
9323
8589
 
9324
- const _excluded$M = ["className", "icon", "label", "isCurrentPage", "as"];
8590
+ const _excluded$J = ["className", "icon", "label", "isCurrentPage", "as"];
9325
8591
 
9326
8592
  /** Make `href` required when `as` is `a` */
9327
8593
 
@@ -9332,12 +8598,12 @@ const _excluded$M = ["className", "icon", "label", "isCurrentPage", "as"];
9332
8598
  /**
9333
8599
  * Component display name.
9334
8600
  */
9335
- const COMPONENT_NAME$J = 'NavigationItem';
8601
+ const COMPONENT_NAME$I = 'NavigationItem';
9336
8602
 
9337
8603
  /**
9338
8604
  * Component default class name and class prefix.
9339
8605
  */
9340
- const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
8606
+ const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
9341
8607
  const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
9342
8608
  const {
9343
8609
  className,
@@ -9346,7 +8612,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
9346
8612
  isCurrentPage,
9347
8613
  as: Element = 'a'
9348
8614
  } = props,
9349
- forwardedProps = _objectWithoutProperties(props, _excluded$M);
8615
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
9350
8616
  const theme = useContext(ThemeContext);
9351
8617
  const {
9352
8618
  tooltipLabel,
@@ -9357,7 +8623,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
9357
8623
  } : {};
9358
8624
  return /*#__PURE__*/React.createElement("li", {
9359
8625
  className: classnames(className, handleBasicClasses({
9360
- prefix: CLASSNAME$G,
8626
+ prefix: CLASSNAME$F,
9361
8627
  theme
9362
8628
  }))
9363
8629
  }, /*#__PURE__*/React.createElement(Tooltip, {
@@ -9365,41 +8631,41 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
9365
8631
  placement: Placement.TOP
9366
8632
  }, /*#__PURE__*/React.createElement(Element, _extends({
9367
8633
  className: handleBasicClasses({
9368
- prefix: `${CLASSNAME$G}__link`,
8634
+ prefix: `${CLASSNAME$F}__link`,
9369
8635
  isSelected: isCurrentPage
9370
8636
  }),
9371
8637
  ref: ref,
9372
8638
  "aria-current": isCurrentPage ? 'page' : undefined
9373
8639
  }, buttonProps, forwardedProps), icon ? /*#__PURE__*/React.createElement(Icon, {
9374
- className: `${CLASSNAME$G}__icon`,
8640
+ className: `${CLASSNAME$F}__icon`,
9375
8641
  icon: icon,
9376
8642
  size: Size.xs,
9377
8643
  theme: theme
9378
8644
  }) : null, /*#__PURE__*/React.createElement(Text, {
9379
8645
  as: "span",
9380
8646
  truncate: true,
9381
- className: `${CLASSNAME$G}__label`,
8647
+ className: `${CLASSNAME$F}__label`,
9382
8648
  ref: labelRef
9383
8649
  }, label))));
9384
8650
  }), {
9385
- displayName: COMPONENT_NAME$J,
9386
- className: CLASSNAME$G
8651
+ displayName: COMPONENT_NAME$I,
8652
+ className: CLASSNAME$F
9387
8653
  });
9388
8654
 
9389
8655
  const NavigationContext = /*#__PURE__*/createContext({
9390
8656
  orientation: Orientation.vertical
9391
8657
  });
9392
8658
 
9393
- const _excluded$N = ["children", "className", "label", "icon"];
8659
+ const _excluded$K = ["children", "className", "label", "icon"];
9394
8660
  /**
9395
8661
  * Component display name.
9396
8662
  */
9397
- const COMPONENT_NAME$K = 'NavigationSection';
8663
+ const COMPONENT_NAME$J = 'NavigationSection';
9398
8664
 
9399
8665
  /**
9400
8666
  * Component default class name and class prefix.
9401
8667
  */
9402
- const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
8668
+ const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
9403
8669
  const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) => {
9404
8670
  const {
9405
8671
  children,
@@ -9407,7 +8673,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9407
8673
  label,
9408
8674
  icon
9409
8675
  } = props,
9410
- forwardedProps = _objectWithoutProperties(props, _excluded$N);
8676
+ forwardedProps = _objectWithoutProperties(props, _excluded$K);
9411
8677
  const [isOpen, setIsOpen] = useState(false);
9412
8678
  const buttonRef = useRef(null);
9413
8679
  const sectionId = useMemo(() => uniqueId('section'), []);
@@ -9417,15 +8683,15 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9417
8683
  const theme = useContext(ThemeContext);
9418
8684
  const isDropdown = orientation === Orientation.horizontal;
9419
8685
  return /*#__PURE__*/React.createElement("li", _extends({
9420
- className: classnames(className, CLASSNAME$H, CLASSNAME$G, handleBasicClasses({
9421
- prefix: CLASSNAME$G,
8686
+ className: classnames(className, CLASSNAME$G, CLASSNAME$F, handleBasicClasses({
8687
+ prefix: CLASSNAME$F,
9422
8688
  theme
9423
8689
  })),
9424
8690
  ref: ref
9425
8691
  }, forwardedProps), /*#__PURE__*/React.createElement("button", {
9426
8692
  "aria-controls": sectionId,
9427
8693
  "aria-expanded": isOpen,
9428
- className: classnames(`${CLASSNAME$G}__link`),
8694
+ className: classnames(`${CLASSNAME$F}__link`),
9429
8695
  ref: buttonRef,
9430
8696
  onClick: event => {
9431
8697
  setIsOpen(!isOpen);
@@ -9433,16 +8699,16 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9433
8699
  },
9434
8700
  type: "button"
9435
8701
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
9436
- className: `${CLASSNAME$G}__icon`,
8702
+ className: `${CLASSNAME$F}__icon`,
9437
8703
  icon: icon,
9438
8704
  size: Size.xs
9439
8705
  }) : null, /*#__PURE__*/React.createElement(Text, {
9440
8706
  as: "span",
9441
8707
  truncate: true,
9442
- className: `${CLASSNAME$G}__label`,
8708
+ className: `${CLASSNAME$F}__label`,
9443
8709
  ref: ref
9444
8710
  }, label), /*#__PURE__*/React.createElement(Icon, {
9445
- className: classnames(`${CLASSNAME$G}__icon`, `${CLASSNAME$H}__chevron`),
8711
+ className: classnames(`${CLASSNAME$F}__icon`, `${CLASSNAME$G}__chevron`),
9446
8712
  icon: isOpen ? mdiChevronUp : mdiChevronDown
9447
8713
  })), isOpen && (isDropdown ? /*#__PURE__*/React.createElement(Popover, {
9448
8714
  anchorRef: buttonRef,
@@ -9457,31 +8723,31 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9457
8723
  }, /*#__PURE__*/React.createElement(ThemeContext.Provider, {
9458
8724
  value: Theme.light
9459
8725
  }, /*#__PURE__*/React.createElement("ul", {
9460
- className: `${CLASSNAME$H}__drawer--popover`,
8726
+ className: `${CLASSNAME$G}__drawer--popover`,
9461
8727
  id: sectionId
9462
8728
  }, /*#__PURE__*/React.createElement(NavigationContext.Provider, {
9463
8729
  value: {
9464
8730
  orientation: Orientation.vertical
9465
8731
  }
9466
8732
  }, children)))) : /*#__PURE__*/React.createElement("ul", {
9467
- className: `${CLASSNAME$H}__drawer`,
8733
+ className: `${CLASSNAME$G}__drawer`,
9468
8734
  id: sectionId
9469
8735
  }, children)));
9470
8736
  }), {
9471
- displayName: COMPONENT_NAME$K,
9472
- className: CLASSNAME$H
8737
+ displayName: COMPONENT_NAME$J,
8738
+ className: CLASSNAME$G
9473
8739
  });
9474
8740
 
9475
- const _excluded$O = ["children", "className", "theme", "orientation"];
8741
+ const _excluded$L = ["children", "className", "theme", "orientation"];
9476
8742
  /**
9477
8743
  * Component display name.
9478
8744
  */
9479
- const COMPONENT_NAME$L = 'Navigation';
8745
+ const COMPONENT_NAME$K = 'Navigation';
9480
8746
 
9481
8747
  /**
9482
8748
  * Component default class name and class prefix.
9483
8749
  */
9484
- const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
8750
+ const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
9485
8751
  const Navigation = Object.assign(
9486
8752
  /*#__PURE__*/
9487
8753
  // eslint-disable-next-line react/display-name
@@ -9492,12 +8758,12 @@ forwardRef((props, ref) => {
9492
8758
  theme,
9493
8759
  orientation
9494
8760
  } = props,
9495
- forwardedProps = _objectWithoutProperties(props, _excluded$O);
8761
+ forwardedProps = _objectWithoutProperties(props, _excluded$L);
9496
8762
  return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
9497
8763
  value: theme
9498
8764
  }, /*#__PURE__*/React.createElement("nav", _extends({
9499
8765
  className: classnames(className, handleBasicClasses({
9500
- prefix: CLASSNAME$I,
8766
+ prefix: CLASSNAME$H,
9501
8767
  theme,
9502
8768
  orientation
9503
8769
  })),
@@ -9507,11 +8773,11 @@ forwardRef((props, ref) => {
9507
8773
  orientation
9508
8774
  }
9509
8775
  }, /*#__PURE__*/React.createElement("ul", {
9510
- className: `${CLASSNAME$I}__list`
8776
+ className: `${CLASSNAME$H}__list`
9511
8777
  }, children))));
9512
8778
  }), {
9513
- displayName: COMPONENT_NAME$L,
9514
- className: CLASSNAME$I,
8779
+ displayName: COMPONENT_NAME$K,
8780
+ className: CLASSNAME$H,
9515
8781
  defaultProps: {
9516
8782
  theme: Theme.light,
9517
8783
  orientation: Orientation.vertical
@@ -9543,7 +8809,7 @@ const NOTIFICATION_CONFIGURATION = {
9543
8809
  }
9544
8810
  };
9545
8811
 
9546
- const _excluded$P = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
8812
+ const _excluded$M = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9547
8813
 
9548
8814
  /**
9549
8815
  * Defines the props of the component.
@@ -9552,12 +8818,12 @@ const _excluded$P = ["actionLabel", "className", "content", "isOpen", "onActionC
9552
8818
  /**
9553
8819
  * Component display name.
9554
8820
  */
9555
- const COMPONENT_NAME$M = 'Notification';
8821
+ const COMPONENT_NAME$L = 'Notification';
9556
8822
 
9557
8823
  /**
9558
8824
  * Component default class name and class prefix.
9559
8825
  */
9560
- const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
8826
+ const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
9561
8827
 
9562
8828
  /**
9563
8829
  * Component default props.
@@ -9590,7 +8856,7 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
9590
8856
  usePortal,
9591
8857
  style
9592
8858
  } = props,
9593
- forwardedProps = _objectWithoutProperties(props, _excluded$P);
8859
+ forwardedProps = _objectWithoutProperties(props, _excluded$M);
9594
8860
  if (!DOCUMENT) {
9595
8861
  // Can't render in SSR.
9596
8862
  return null;
@@ -9622,21 +8888,21 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
9622
8888
  color,
9623
8889
  hasAction,
9624
8890
  isHidden: !isOpen,
9625
- prefix: CLASSNAME$J
8891
+ prefix: CLASSNAME$I
9626
8892
  })),
9627
8893
  onClick: onClick,
9628
8894
  style: _objectSpread2(_objectSpread2({}, style), {}, {
9629
8895
  zIndex
9630
8896
  })
9631
8897
  }), /*#__PURE__*/React.createElement("div", {
9632
- className: `${CLASSNAME$J}__icon`
8898
+ className: `${CLASSNAME$I}__icon`
9633
8899
  }, /*#__PURE__*/React.createElement(Icon, {
9634
8900
  icon: icon,
9635
8901
  size: Size.s
9636
8902
  })), /*#__PURE__*/React.createElement("div", {
9637
- className: `${CLASSNAME$J}__content`
8903
+ className: `${CLASSNAME$I}__content`
9638
8904
  }, content), hasAction && /*#__PURE__*/React.createElement("div", {
9639
- className: `${CLASSNAME$J}__action`
8905
+ className: `${CLASSNAME$I}__action`
9640
8906
  }, /*#__PURE__*/React.createElement(Button, {
9641
8907
  emphasis: Emphasis.medium,
9642
8908
  theme: theme,
@@ -9644,11 +8910,11 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
9644
8910
  }, /*#__PURE__*/React.createElement("span", null, actionLabel))));
9645
8911
  return usePortal ? /*#__PURE__*/createPortal(notification, document.body) : notification;
9646
8912
  });
9647
- Notification.displayName = COMPONENT_NAME$M;
9648
- Notification.className = CLASSNAME$J;
8913
+ Notification.displayName = COMPONENT_NAME$L;
8914
+ Notification.className = CLASSNAME$I;
9649
8915
  Notification.defaultProps = DEFAULT_PROPS$w;
9650
8916
 
9651
- const _excluded$Q = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
8917
+ const _excluded$N = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9652
8918
 
9653
8919
  /**
9654
8920
  * PopoverDialog props.
@@ -9658,12 +8924,12 @@ const _excluded$Q = ["children", "isOpen", "focusElement", "aria-label", "label"
9658
8924
  /**
9659
8925
  * Component display name.
9660
8926
  */
9661
- const COMPONENT_NAME$N = 'PopoverDialog';
8927
+ const COMPONENT_NAME$M = 'PopoverDialog';
9662
8928
 
9663
8929
  /**
9664
8930
  * Component default class name and class prefix.
9665
8931
  */
9666
- const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
8932
+ const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
9667
8933
 
9668
8934
  /**
9669
8935
  * Component default props.
@@ -9686,11 +8952,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
9686
8952
  label = ariaLabel,
9687
8953
  className
9688
8954
  } = props,
9689
- forwardedProps = _objectWithoutProperties(props, _excluded$Q);
8955
+ forwardedProps = _objectWithoutProperties(props, _excluded$N);
9690
8956
  return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
9691
8957
  ref: ref,
9692
8958
  className: classnames(className, handleBasicClasses({
9693
- prefix: CLASSNAME$K
8959
+ prefix: CLASSNAME$J
9694
8960
  })),
9695
8961
  role: "dialog",
9696
8962
  "aria-modal": "true"
@@ -9706,11 +8972,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
9706
8972
  withFocusTrap: true
9707
8973
  }), children);
9708
8974
  });
9709
- PopoverDialog.displayName = COMPONENT_NAME$N;
9710
- PopoverDialog.className = CLASSNAME$K;
8975
+ PopoverDialog.displayName = COMPONENT_NAME$M;
8976
+ PopoverDialog.className = CLASSNAME$J;
9711
8977
  PopoverDialog.defaultProps = DEFAULT_PROPS$x;
9712
8978
 
9713
- const _excluded$R = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
8979
+ const _excluded$O = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9714
8980
 
9715
8981
  /**
9716
8982
  * Defines the props of the component.
@@ -9719,12 +8985,12 @@ const _excluded$R = ["actions", "attachments", "author", "className", "meta", "o
9719
8985
  /**
9720
8986
  * Component display name.
9721
8987
  */
9722
- const COMPONENT_NAME$O = 'PostBlock';
8988
+ const COMPONENT_NAME$N = 'PostBlock';
9723
8989
 
9724
8990
  /**
9725
8991
  * Component default class name and class prefix.
9726
8992
  */
9727
- const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
8993
+ const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
9728
8994
 
9729
8995
  /**
9730
8996
  * Component default props.
@@ -9756,61 +9022,61 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
9756
9022
  thumbnailProps,
9757
9023
  title
9758
9024
  } = props,
9759
- forwardedProps = _objectWithoutProperties(props, _excluded$R);
9025
+ forwardedProps = _objectWithoutProperties(props, _excluded$O);
9760
9026
  return /*#__PURE__*/React.createElement("div", _extends({
9761
9027
  ref: ref,
9762
9028
  className: classnames(className, handleBasicClasses({
9763
- prefix: CLASSNAME$L,
9029
+ prefix: CLASSNAME$K,
9764
9030
  orientation,
9765
9031
  theme
9766
9032
  }))
9767
9033
  }, forwardedProps), thumbnailProps && /*#__PURE__*/React.createElement("div", {
9768
- className: `${CLASSNAME$L}__thumbnail`
9034
+ className: `${CLASSNAME$K}__thumbnail`
9769
9035
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
9770
9036
  theme: theme,
9771
9037
  variant: ThumbnailVariant.rounded
9772
9038
  }))), /*#__PURE__*/React.createElement("div", {
9773
- className: `${CLASSNAME$L}__wrapper`
9039
+ className: `${CLASSNAME$K}__wrapper`
9774
9040
  }, author && /*#__PURE__*/React.createElement("div", {
9775
- className: `${CLASSNAME$L}__author`
9041
+ className: `${CLASSNAME$K}__author`
9776
9042
  }, author), title && /*#__PURE__*/React.createElement("button", {
9777
9043
  type: "button",
9778
- className: `${CLASSNAME$L}__title`,
9044
+ className: `${CLASSNAME$K}__title`,
9779
9045
  onClick: onClick
9780
9046
  }, title), meta && /*#__PURE__*/React.createElement("span", {
9781
- className: `${CLASSNAME$L}__meta`
9047
+ className: `${CLASSNAME$K}__meta`
9782
9048
  }, meta), isObject(text) && text.__html ?
9783
9049
  /*#__PURE__*/
9784
9050
  // eslint-disable-next-line react/no-danger
9785
9051
  React.createElement("p", {
9786
9052
  dangerouslySetInnerHTML: text,
9787
- className: `${CLASSNAME$L}__text`
9053
+ className: `${CLASSNAME$K}__text`
9788
9054
  }) : /*#__PURE__*/React.createElement("p", {
9789
- className: `${CLASSNAME$L}__text`
9055
+ className: `${CLASSNAME$K}__text`
9790
9056
  }, text), attachments && /*#__PURE__*/React.createElement("div", {
9791
- className: `${CLASSNAME$L}__attachments`
9057
+ className: `${CLASSNAME$K}__attachments`
9792
9058
  }, attachments), (tags || actions) && /*#__PURE__*/React.createElement("div", {
9793
- className: `${CLASSNAME$L}__toolbar`
9059
+ className: `${CLASSNAME$K}__toolbar`
9794
9060
  }, tags && /*#__PURE__*/React.createElement("div", {
9795
- className: `${CLASSNAME$L}__tags`
9061
+ className: `${CLASSNAME$K}__tags`
9796
9062
  }, tags), actions && /*#__PURE__*/React.createElement("div", {
9797
- className: `${CLASSNAME$L}__actions`
9063
+ className: `${CLASSNAME$K}__actions`
9798
9064
  }, actions))));
9799
9065
  });
9800
- PostBlock.displayName = COMPONENT_NAME$O;
9801
- PostBlock.className = CLASSNAME$L;
9066
+ PostBlock.displayName = COMPONENT_NAME$N;
9067
+ PostBlock.className = CLASSNAME$K;
9802
9068
  PostBlock.defaultProps = DEFAULT_PROPS$y;
9803
9069
 
9804
- const _excluded$S = ["className", "theme"];
9070
+ const _excluded$P = ["className", "theme"];
9805
9071
  /**
9806
9072
  * Component display name.
9807
9073
  */
9808
- const COMPONENT_NAME$P = 'ProgressLinear';
9074
+ const COMPONENT_NAME$O = 'ProgressLinear';
9809
9075
 
9810
9076
  /**
9811
9077
  * Component default class name and class prefix.
9812
9078
  */
9813
- const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9079
+ const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
9814
9080
 
9815
9081
  /**
9816
9082
  * Component default props.
@@ -9831,12 +9097,12 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9831
9097
  className,
9832
9098
  theme
9833
9099
  } = props,
9834
- forwardedProps = _objectWithoutProperties(props, _excluded$S);
9100
+ forwardedProps = _objectWithoutProperties(props, _excluded$P);
9835
9101
  return /*#__PURE__*/React.createElement("div", _extends({
9836
9102
  ref: ref
9837
9103
  }, forwardedProps, {
9838
9104
  className: classnames(className, handleBasicClasses({
9839
- prefix: CLASSNAME$M,
9105
+ prefix: CLASSNAME$L,
9840
9106
  theme
9841
9107
  }))
9842
9108
  }), /*#__PURE__*/React.createElement("div", {
@@ -9845,11 +9111,11 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9845
9111
  className: "lumx-progress-linear__line2"
9846
9112
  }));
9847
9113
  });
9848
- ProgressLinear.displayName = COMPONENT_NAME$P;
9849
- ProgressLinear.className = CLASSNAME$M;
9114
+ ProgressLinear.displayName = COMPONENT_NAME$O;
9115
+ ProgressLinear.className = CLASSNAME$L;
9850
9116
  ProgressLinear.defaultProps = DEFAULT_PROPS$z;
9851
9117
 
9852
- const _excluded$T = ["className", "theme", "size"];
9118
+ const _excluded$Q = ["className", "theme", "size"];
9853
9119
 
9854
9120
  /**
9855
9121
  * Progress sizes.
@@ -9862,12 +9128,12 @@ const _excluded$T = ["className", "theme", "size"];
9862
9128
  /**
9863
9129
  * Component display name.
9864
9130
  */
9865
- const COMPONENT_NAME$Q = 'ProgressCircular';
9131
+ const COMPONENT_NAME$P = 'ProgressCircular';
9866
9132
 
9867
9133
  /**
9868
9134
  * Component default class name and class prefix.
9869
9135
  */
9870
- const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9136
+ const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9871
9137
 
9872
9138
  /**
9873
9139
  * Component default props.
@@ -9890,12 +9156,12 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9890
9156
  theme,
9891
9157
  size
9892
9158
  } = props,
9893
- forwardedProps = _objectWithoutProperties(props, _excluded$T);
9159
+ forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9894
9160
  return /*#__PURE__*/React.createElement("div", _extends({
9895
9161
  ref: ref
9896
9162
  }, forwardedProps, {
9897
9163
  className: classnames(className, handleBasicClasses({
9898
- prefix: CLASSNAME$N,
9164
+ prefix: CLASSNAME$M,
9899
9165
  theme,
9900
9166
  size
9901
9167
  }))
@@ -9915,11 +9181,11 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9915
9181
  strokeWidth: "5"
9916
9182
  })));
9917
9183
  });
9918
- ProgressCircular.displayName = COMPONENT_NAME$Q;
9919
- ProgressCircular.className = CLASSNAME$N;
9184
+ ProgressCircular.displayName = COMPONENT_NAME$P;
9185
+ ProgressCircular.className = CLASSNAME$M;
9920
9186
  ProgressCircular.defaultProps = DEFAULT_PROPS$A;
9921
9187
 
9922
- const _excluded$U = ["className", "theme", "variant"];
9188
+ const _excluded$R = ["className", "theme", "variant"];
9923
9189
 
9924
9190
  /**
9925
9191
  * Progress variants.
@@ -9936,12 +9202,12 @@ const ProgressVariant = {
9936
9202
  /**
9937
9203
  * Component display name.
9938
9204
  */
9939
- const COMPONENT_NAME$R = 'Progress';
9205
+ const COMPONENT_NAME$Q = 'Progress';
9940
9206
 
9941
9207
  /**
9942
9208
  * Component default class name and class prefix.
9943
9209
  */
9944
- const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
9210
+ const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9945
9211
 
9946
9212
  /**
9947
9213
  * Component default props.
@@ -9965,12 +9231,12 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9965
9231
  theme,
9966
9232
  variant
9967
9233
  } = props,
9968
- forwardedProps = _objectWithoutProperties(props, _excluded$U);
9234
+ forwardedProps = _objectWithoutProperties(props, _excluded$R);
9969
9235
  return /*#__PURE__*/React.createElement("div", _extends({
9970
9236
  ref: ref
9971
9237
  }, forwardedProps, {
9972
9238
  className: classnames(className, handleBasicClasses({
9973
- prefix: CLASSNAME$O,
9239
+ prefix: CLASSNAME$N,
9974
9240
  theme,
9975
9241
  variant
9976
9242
  }))
@@ -9980,8 +9246,8 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9980
9246
  theme: theme
9981
9247
  }));
9982
9248
  });
9983
- Progress.displayName = COMPONENT_NAME$R;
9984
- Progress.className = CLASSNAME$O;
9249
+ Progress.displayName = COMPONENT_NAME$Q;
9250
+ Progress.className = CLASSNAME$N;
9985
9251
  Progress.defaultProps = DEFAULT_PROPS$B;
9986
9252
 
9987
9253
  const INIT_STATE = {
@@ -10103,7 +9369,7 @@ const useTabProviderContextState = () => {
10103
9369
  return context === null || context === void 0 ? void 0 : context[0];
10104
9370
  };
10105
9371
 
10106
- const _excluded$V = ["children", "onChange"];
9372
+ const _excluded$S = ["children", "onChange"];
10107
9373
  const DEFAULT_PROPS$C = {
10108
9374
  isLazy: INIT_STATE.isLazy,
10109
9375
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -10125,7 +9391,7 @@ const ProgressTrackerProvider = props => {
10125
9391
  children,
10126
9392
  onChange
10127
9393
  } = props,
10128
- propState = _objectWithoutProperties(props, _excluded$V);
9394
+ propState = _objectWithoutProperties(props, _excluded$S);
10129
9395
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
10130
9396
 
10131
9397
  // On prop state change => dispatch update.
@@ -10229,7 +9495,7 @@ const useRovingTabIndex = _ref => {
10229
9495
  [parentRef, ...extraDependencies]);
10230
9496
  };
10231
9497
 
10232
- const _excluded$W = ["aria-label", "children", "className"];
9498
+ const _excluded$T = ["aria-label", "children", "className"];
10233
9499
 
10234
9500
  /**
10235
9501
  * Defines the props of the component.
@@ -10238,12 +9504,12 @@ const _excluded$W = ["aria-label", "children", "className"];
10238
9504
  /**
10239
9505
  * Component display name.
10240
9506
  */
10241
- const COMPONENT_NAME$S = 'ProgressTracker';
9507
+ const COMPONENT_NAME$R = 'ProgressTracker';
10242
9508
 
10243
9509
  /**
10244
9510
  * Component default class name and class prefix.
10245
9511
  */
10246
- const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
9512
+ const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
10247
9513
 
10248
9514
  /**
10249
9515
  * Component default props.
@@ -10266,7 +9532,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
10266
9532
  children,
10267
9533
  className
10268
9534
  } = props,
10269
- forwardedProps = _objectWithoutProperties(props, _excluded$W);
9535
+ forwardedProps = _objectWithoutProperties(props, _excluded$T);
10270
9536
  const stepListRef = React.useRef(null);
10271
9537
  useRovingTabIndex({
10272
9538
  parentRef: stepListRef,
@@ -10282,20 +9548,20 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
10282
9548
  ref: mergeRefs(ref, stepListRef)
10283
9549
  }, forwardedProps, {
10284
9550
  className: classnames(className, handleBasicClasses({
10285
- prefix: CLASSNAME$P
9551
+ prefix: CLASSNAME$O
10286
9552
  }))
10287
9553
  }), /*#__PURE__*/React.createElement("div", {
10288
- className: `${CLASSNAME$P}__steps`,
9554
+ className: `${CLASSNAME$O}__steps`,
10289
9555
  role: "tablist",
10290
9556
  "aria-label": ariaLabel
10291
9557
  }, children), /*#__PURE__*/React.createElement("div", {
10292
- className: `${CLASSNAME$P}__background-bar`,
9558
+ className: `${CLASSNAME$O}__background-bar`,
10293
9559
  style: {
10294
9560
  left: `${backgroundPosition}%`,
10295
9561
  right: `${backgroundPosition}%`
10296
9562
  }
10297
9563
  }), /*#__PURE__*/React.createElement("div", {
10298
- className: `${CLASSNAME$P}__foreground-bar`,
9564
+ className: `${CLASSNAME$O}__foreground-bar`,
10299
9565
  style: {
10300
9566
  left: `${backgroundPosition}%`,
10301
9567
  right: `${backgroundPosition}%`,
@@ -10303,11 +9569,11 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
10303
9569
  }
10304
9570
  }));
10305
9571
  });
10306
- ProgressTracker.displayName = COMPONENT_NAME$S;
10307
- ProgressTracker.className = CLASSNAME$P;
9572
+ ProgressTracker.displayName = COMPONENT_NAME$R;
9573
+ ProgressTracker.className = CLASSNAME$O;
10308
9574
  ProgressTracker.defaultProps = DEFAULT_PROPS$D;
10309
9575
 
10310
- const _excluded$X = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
9576
+ const _excluded$U = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10311
9577
 
10312
9578
  /**
10313
9579
  * Defines the props of the component.
@@ -10316,12 +9582,12 @@ const _excluded$X = ["className", "disabled", "hasError", "helper", "id", "isAct
10316
9582
  /**
10317
9583
  * Component display name.
10318
9584
  */
10319
- const COMPONENT_NAME$T = 'ProgressTrackerStep';
9585
+ const COMPONENT_NAME$S = 'ProgressTrackerStep';
10320
9586
 
10321
9587
  /**
10322
9588
  * Component default class name and class prefix.
10323
9589
  */
10324
- const CLASSNAME$Q = getRootClassName(COMPONENT_NAME$T);
9590
+ const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
10325
9591
 
10326
9592
  /**
10327
9593
  * Component default props.
@@ -10352,7 +9618,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
10352
9618
  onKeyPress,
10353
9619
  tabIndex = -1
10354
9620
  } = props,
10355
- forwardedProps = _objectWithoutProperties(props, _excluded$X);
9621
+ forwardedProps = _objectWithoutProperties(props, _excluded$U);
10356
9622
  const state = useTabProviderContext('tab', id);
10357
9623
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
10358
9624
  const changeToCurrentTab = useCallback(() => {
@@ -10389,7 +9655,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
10389
9655
  type: "button",
10390
9656
  id: state === null || state === void 0 ? void 0 : state.tabId,
10391
9657
  className: classnames(className, handleBasicClasses({
10392
- prefix: CLASSNAME$Q,
9658
+ prefix: CLASSNAME$P,
10393
9659
  hasError,
10394
9660
  isActive,
10395
9661
  isClickable: state && !isDisabled,
@@ -10404,22 +9670,22 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
10404
9670
  "aria-selected": isActive,
10405
9671
  "aria-controls": state === null || state === void 0 ? void 0 : state.tabPanelId
10406
9672
  }), /*#__PURE__*/React.createElement(Icon, {
10407
- className: `${CLASSNAME$Q}__state`,
9673
+ className: `${CLASSNAME$P}__state`,
10408
9674
  icon: getIcon(),
10409
9675
  size: Size.s
10410
9676
  }), /*#__PURE__*/React.createElement(InputLabel, {
10411
9677
  htmlFor: (state === null || state === void 0 ? void 0 : state.tabId) || '',
10412
- className: `${CLASSNAME$Q}__label`
9678
+ className: `${CLASSNAME$P}__label`
10413
9679
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
10414
9680
  kind: hasError ? Kind.error : Kind.info,
10415
- className: `${CLASSNAME$Q}__helper`
9681
+ className: `${CLASSNAME$P}__helper`
10416
9682
  }, helper));
10417
9683
  });
10418
- ProgressTrackerStep.displayName = COMPONENT_NAME$T;
10419
- ProgressTrackerStep.className = CLASSNAME$Q;
9684
+ ProgressTrackerStep.displayName = COMPONENT_NAME$S;
9685
+ ProgressTrackerStep.className = CLASSNAME$P;
10420
9686
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$E;
10421
9687
 
10422
- const _excluded$Y = ["children", "id", "className", "isActive"];
9688
+ const _excluded$V = ["children", "id", "className", "isActive"];
10423
9689
 
10424
9690
  /**
10425
9691
  * Defines the props of the component.
@@ -10428,12 +9694,12 @@ const _excluded$Y = ["children", "id", "className", "isActive"];
10428
9694
  /**
10429
9695
  * Component display name.
10430
9696
  */
10431
- const COMPONENT_NAME$U = 'ProgressTrackerStepPanel';
9697
+ const COMPONENT_NAME$T = 'ProgressTrackerStepPanel';
10432
9698
 
10433
9699
  /**
10434
9700
  * Component default class name and class prefix.
10435
9701
  */
10436
- const CLASSNAME$R = `${CSS_PREFIX}-step-panel`;
9702
+ const CLASSNAME$Q = `${CSS_PREFIX}-step-panel`;
10437
9703
 
10438
9704
  /**
10439
9705
  * Component default props.
@@ -10456,7 +9722,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
10456
9722
  className,
10457
9723
  isActive: propIsActive
10458
9724
  } = props,
10459
- forwardedProps = _objectWithoutProperties(props, _excluded$Y);
9725
+ forwardedProps = _objectWithoutProperties(props, _excluded$V);
10460
9726
  const state = useTabProviderContext('tabPanel', id);
10461
9727
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
10462
9728
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -10464,7 +9730,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
10464
9730
  }, forwardedProps, {
10465
9731
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
10466
9732
  className: classnames(className, handleBasicClasses({
10467
- prefix: CLASSNAME$R,
9733
+ prefix: CLASSNAME$Q,
10468
9734
  isActive
10469
9735
  })),
10470
9736
  role: "tabpanel",
@@ -10472,11 +9738,11 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
10472
9738
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
10473
9739
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
10474
9740
  });
10475
- ProgressTrackerStepPanel.displayName = COMPONENT_NAME$U;
10476
- ProgressTrackerStepPanel.className = CLASSNAME$R;
9741
+ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$T;
9742
+ ProgressTrackerStepPanel.className = CLASSNAME$Q;
10477
9743
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$F;
10478
9744
 
10479
- const _excluded$Z = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
9745
+ const _excluded$W = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10480
9746
 
10481
9747
  /**
10482
9748
  * Defines the props of the component.
@@ -10485,12 +9751,12 @@ const _excluded$Z = ["checked", "className", "disabled", "helper", "id", "inputR
10485
9751
  /**
10486
9752
  * Component display name.
10487
9753
  */
10488
- const COMPONENT_NAME$V = 'RadioButton';
9754
+ const COMPONENT_NAME$U = 'RadioButton';
10489
9755
 
10490
9756
  /**
10491
9757
  * Component default class name and class prefix.
10492
9758
  */
10493
- const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
9759
+ const CLASSNAME$R = getRootClassName(COMPONENT_NAME$U);
10494
9760
 
10495
9761
  /**
10496
9762
  * Component default props.
@@ -10523,8 +9789,8 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
10523
9789
  value,
10524
9790
  inputProps
10525
9791
  } = props,
10526
- forwardedProps = _objectWithoutProperties(props, _excluded$Z);
10527
- const inputId = useMemo(() => id || `${CLASSNAME$S.toLowerCase()}-${uid()}`, [id]);
9792
+ forwardedProps = _objectWithoutProperties(props, _excluded$W);
9793
+ const inputId = useMemo(() => id || `${CLASSNAME$R.toLowerCase()}-${uid()}`, [id]);
10528
9794
  const handleChange = event => {
10529
9795
  if (onChange) {
10530
9796
  onChange(value, name, event);
@@ -10537,14 +9803,14 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
10537
9803
  isChecked,
10538
9804
  isDisabled,
10539
9805
  isUnchecked: !isChecked,
10540
- prefix: CLASSNAME$S,
9806
+ prefix: CLASSNAME$R,
10541
9807
  theme
10542
9808
  }))
10543
9809
  }), /*#__PURE__*/React.createElement("div", {
10544
- className: `${CLASSNAME$S}__input-wrapper`
9810
+ className: `${CLASSNAME$R}__input-wrapper`
10545
9811
  }, /*#__PURE__*/React.createElement("input", _extends({
10546
9812
  ref: inputRef,
10547
- className: `${CLASSNAME$S}__input-native`,
9813
+ className: `${CLASSNAME$R}__input-native`,
10548
9814
  disabled: isDisabled,
10549
9815
  id: inputId,
10550
9816
  tabIndex: isDisabled ? -1 : 0,
@@ -10555,28 +9821,28 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
10555
9821
  onChange: handleChange,
10556
9822
  "aria-describedby": helper ? `${inputId}-helper` : undefined
10557
9823
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
10558
- className: `${CLASSNAME$S}__input-placeholder`
9824
+ className: `${CLASSNAME$R}__input-placeholder`
10559
9825
  }, /*#__PURE__*/React.createElement("div", {
10560
- className: `${CLASSNAME$S}__input-background`
9826
+ className: `${CLASSNAME$R}__input-background`
10561
9827
  }), /*#__PURE__*/React.createElement("div", {
10562
- className: `${CLASSNAME$S}__input-indicator`
9828
+ className: `${CLASSNAME$R}__input-indicator`
10563
9829
  }))), /*#__PURE__*/React.createElement("div", {
10564
- className: `${CLASSNAME$S}__content`
9830
+ className: `${CLASSNAME$R}__content`
10565
9831
  }, label && /*#__PURE__*/React.createElement(InputLabel, {
10566
9832
  htmlFor: inputId,
10567
9833
  theme: theme,
10568
- className: `${CLASSNAME$S}__label`
9834
+ className: `${CLASSNAME$R}__label`
10569
9835
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
10570
9836
  id: `${inputId}-helper`,
10571
9837
  theme: theme,
10572
- className: `${CLASSNAME$S}__helper`
9838
+ className: `${CLASSNAME$R}__helper`
10573
9839
  }, helper)));
10574
9840
  });
10575
- RadioButton.displayName = COMPONENT_NAME$V;
10576
- RadioButton.className = CLASSNAME$S;
9841
+ RadioButton.displayName = COMPONENT_NAME$U;
9842
+ RadioButton.className = CLASSNAME$R;
10577
9843
  RadioButton.defaultProps = DEFAULT_PROPS$G;
10578
9844
 
10579
- const _excluded$_ = ["children", "className"];
9845
+ const _excluded$X = ["children", "className"];
10580
9846
 
10581
9847
  /**
10582
9848
  * Defines the props of the component.
@@ -10585,12 +9851,12 @@ const _excluded$_ = ["children", "className"];
10585
9851
  /**
10586
9852
  * Component display name.
10587
9853
  */
10588
- const COMPONENT_NAME$W = 'RadioGroup';
9854
+ const COMPONENT_NAME$V = 'RadioGroup';
10589
9855
 
10590
9856
  /**
10591
9857
  * Component default class name and class prefix.
10592
9858
  */
10593
- const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
9859
+ const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
10594
9860
 
10595
9861
  /**
10596
9862
  * RadioGroup component.
@@ -10604,17 +9870,17 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
10604
9870
  children,
10605
9871
  className
10606
9872
  } = props,
10607
- forwardedProps = _objectWithoutProperties(props, _excluded$_);
9873
+ forwardedProps = _objectWithoutProperties(props, _excluded$X);
10608
9874
  return /*#__PURE__*/React.createElement("div", _extends({
10609
9875
  ref: ref
10610
9876
  }, forwardedProps, {
10611
9877
  className: classnames(className, handleBasicClasses({
10612
- prefix: CLASSNAME$T
9878
+ prefix: CLASSNAME$S
10613
9879
  }))
10614
9880
  }), children);
10615
9881
  });
10616
- RadioGroup.displayName = COMPONENT_NAME$W;
10617
- RadioGroup.className = CLASSNAME$T;
9882
+ RadioGroup.displayName = COMPONENT_NAME$V;
9883
+ RadioGroup.className = CLASSNAME$S;
10618
9884
 
10619
9885
  /**
10620
9886
  * Listen on element focus to store the focus status.
@@ -10648,13 +9914,13 @@ const SelectVariant = {
10648
9914
  chip: 'chip'
10649
9915
  };
10650
9916
 
10651
- 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"];
9917
+ 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"];
10652
9918
 
10653
9919
  /** The display name of the component. */
10654
- const COMPONENT_NAME$X = 'Select';
9920
+ const COMPONENT_NAME$W = 'Select';
10655
9921
 
10656
9922
  /** The default class name and classes prefix for this component. */
10657
- const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
9923
+ const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
10658
9924
 
10659
9925
  /** The default value of props. */
10660
9926
  const DEFAULT_PROPS$H = {
@@ -10688,7 +9954,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10688
9954
  value,
10689
9955
  variant = DEFAULT_PROPS$H.variant
10690
9956
  } = _ref,
10691
- forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
9957
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$Y);
10692
9958
  const selectId = useMemo(() => id || `select-${uid()}`, [id]);
10693
9959
  const anchorRef = useRef(null);
10694
9960
  const selectRef = useRef(null);
@@ -10722,7 +9988,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10722
9988
  isFocus,
10723
9989
  isOpen,
10724
9990
  isValid,
10725
- prefix: CLASSNAME$U,
9991
+ prefix: CLASSNAME$T,
10726
9992
  theme: theme === Theme.light ? Theme.light : Theme.dark
10727
9993
  }))
10728
9994
  }, /*#__PURE__*/React.createElement(SelectElement, _extends({}, forwardedProps, {
@@ -10753,22 +10019,22 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10753
10019
  onInfiniteScroll: onInfiniteScroll,
10754
10020
  ref: dropdownRef
10755
10021
  }, children), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
10756
- className: `${CLASSNAME$U}__helper`,
10022
+ className: `${CLASSNAME$T}__helper`,
10757
10023
  kind: Kind.error,
10758
10024
  theme: theme
10759
10025
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
10760
- className: `${CLASSNAME$U}__helper`,
10026
+ className: `${CLASSNAME$T}__helper`,
10761
10027
  theme: theme
10762
10028
  }, helper));
10763
10029
  };
10764
10030
 
10765
- const _excluded$10 = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10031
+ const _excluded$Z = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10766
10032
 
10767
10033
  /** The display name of the component. */
10768
- const COMPONENT_NAME$Y = 'Select';
10034
+ const COMPONENT_NAME$X = 'Select';
10769
10035
 
10770
10036
  /** The default class name and classes prefix for this component. */
10771
- const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10037
+ const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
10772
10038
 
10773
10039
  /** The default value of props. */
10774
10040
  const DEFAULT_PROPS$I = {
@@ -10802,36 +10068,36 @@ const SelectField = _ref => {
10802
10068
  variant,
10803
10069
  selectElementRef
10804
10070
  } = _ref,
10805
- forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10071
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$Z);
10806
10072
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10807
- className: `${CLASSNAME$V}__header`
10073
+ className: `${CLASSNAME$U}__header`
10808
10074
  }, /*#__PURE__*/React.createElement(InputLabel, {
10809
10075
  htmlFor: id,
10810
- className: `${CLASSNAME$V}__label`,
10076
+ className: `${CLASSNAME$U}__label`,
10811
10077
  isRequired: isRequired,
10812
10078
  theme: theme
10813
10079
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10814
10080
  ref: mergeRefs(anchorRef, selectElementRef),
10815
10081
  id: id,
10816
- className: `${CLASSNAME$V}__wrapper`,
10082
+ className: `${CLASSNAME$U}__wrapper`,
10817
10083
  onClick: onInputClick,
10818
10084
  onKeyDown: handleKeyboardNav,
10819
10085
  tabIndex: isDisabled ? undefined : 0,
10820
10086
  "aria-disabled": isDisabled || undefined
10821
10087
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10822
- className: `${CLASSNAME$V}__input-icon`,
10088
+ className: `${CLASSNAME$U}__input-icon`,
10823
10089
  color: theme === Theme.dark ? 'light' : undefined,
10824
10090
  icon: icon,
10825
10091
  size: Size.xs
10826
10092
  }), /*#__PURE__*/React.createElement("div", {
10827
- className: classnames([`${CLASSNAME$V}__input-native`, isEmpty && placeholder && `${CLASSNAME$V}__input-native--placeholder`])
10093
+ className: classnames([`${CLASSNAME$U}__input-native`, isEmpty && placeholder && `${CLASSNAME$U}__input-native--placeholder`])
10828
10094
  }, !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", {
10829
- className: `${CLASSNAME$V}__input-validity`
10095
+ className: `${CLASSNAME$U}__input-validity`
10830
10096
  }, /*#__PURE__*/React.createElement(Icon, {
10831
10097
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10832
10098
  size: Size.xxs
10833
10099
  })), hasInputClear && clearButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
10834
- className: `${CLASSNAME$V}__input-clear`,
10100
+ className: `${CLASSNAME$U}__input-clear`,
10835
10101
  icon: mdiCloseCircle,
10836
10102
  emphasis: Emphasis.low,
10837
10103
  size: Size.s,
@@ -10839,7 +10105,7 @@ const SelectField = _ref => {
10839
10105
  onClick: onClear,
10840
10106
  onKeyDown: stopPropagation
10841
10107
  })), /*#__PURE__*/React.createElement("div", {
10842
- className: `${CLASSNAME$V}__input-indicator`
10108
+ className: `${CLASSNAME$U}__input-indicator`
10843
10109
  }, /*#__PURE__*/React.createElement(Icon, {
10844
10110
  icon: mdiMenuDown,
10845
10111
  size: Size.s
@@ -10871,26 +10137,26 @@ const Select = /*#__PURE__*/forwardRef((props, ref) => {
10871
10137
  className: classnames(props.className, handleBasicClasses({
10872
10138
  hasInputClear,
10873
10139
  hasUnique: !props.isEmpty,
10874
- prefix: CLASSNAME$V
10140
+ prefix: CLASSNAME$U
10875
10141
  })),
10876
10142
  hasInputClear,
10877
10143
  isEmpty: isEmpty$1
10878
10144
  }), ref);
10879
10145
  });
10880
- Select.displayName = COMPONENT_NAME$Y;
10881
- Select.className = CLASSNAME$V;
10146
+ Select.displayName = COMPONENT_NAME$X;
10147
+ Select.className = CLASSNAME$U;
10882
10148
  Select.defaultProps = DEFAULT_PROPS$I;
10883
- Select.className = CLASSNAME$V;
10149
+ Select.className = CLASSNAME$U;
10884
10150
 
10885
- const _excluded$11 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10151
+ const _excluded$_ = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10886
10152
 
10887
10153
  /** Defines the props of the component. */
10888
10154
 
10889
10155
  /** The display name of the component. */
10890
- const COMPONENT_NAME$Z = 'Select';
10156
+ const COMPONENT_NAME$Y = 'Select';
10891
10157
 
10892
10158
  /** The default class name and classes prefix for this component. */
10893
- const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
10159
+ const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10894
10160
 
10895
10161
  /** The default value of props. */
10896
10162
  const DEFAULT_PROPS$J = {
@@ -10933,38 +10199,38 @@ const SelectMultipleField = _ref => {
10933
10199
  variant,
10934
10200
  selectElementRef
10935
10201
  } = _ref,
10936
- forwardedProps = _objectWithoutProperties(_ref, _excluded$11);
10202
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$_);
10937
10203
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10938
- className: `${CLASSNAME$W}__header`
10204
+ className: `${CLASSNAME$V}__header`
10939
10205
  }, /*#__PURE__*/React.createElement(InputLabel, {
10940
10206
  htmlFor: id,
10941
- className: `${CLASSNAME$W}__label`,
10207
+ className: `${CLASSNAME$V}__label`,
10942
10208
  isRequired: isRequired,
10943
10209
  theme: theme
10944
10210
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10945
10211
  ref: mergeRefs(anchorRef, selectElementRef),
10946
10212
  id: id,
10947
- className: `${CLASSNAME$W}__wrapper`,
10213
+ className: `${CLASSNAME$V}__wrapper`,
10948
10214
  onClick: onInputClick,
10949
10215
  onKeyDown: handleKeyboardNav,
10950
10216
  tabIndex: isDisabled ? undefined : 0,
10951
10217
  "aria-disabled": isDisabled || undefined
10952
10218
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10953
- className: `${CLASSNAME$W}__input-icon`,
10219
+ className: `${CLASSNAME$V}__input-icon`,
10954
10220
  color: theme === Theme.dark ? 'light' : undefined,
10955
10221
  icon: icon,
10956
10222
  size: Size.xs
10957
10223
  }), /*#__PURE__*/React.createElement("div", {
10958
- className: `${CLASSNAME$W}__chips`
10224
+ className: `${CLASSNAME$V}__chips`
10959
10225
  }, !isEmpty && value.map((val, index) => selectedChipRender === null || selectedChipRender === void 0 ? void 0 : selectedChipRender(val, index, onClear, isDisabled, theme))), isEmpty && placeholder && /*#__PURE__*/React.createElement("div", {
10960
- className: classnames([`${CLASSNAME$W}__input-native`, `${CLASSNAME$W}__input-native--placeholder`])
10226
+ className: classnames([`${CLASSNAME$V}__input-native`, `${CLASSNAME$V}__input-native--placeholder`])
10961
10227
  }, /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
10962
- className: `${CLASSNAME$W}__input-validity`
10228
+ className: `${CLASSNAME$V}__input-validity`
10963
10229
  }, /*#__PURE__*/React.createElement(Icon, {
10964
10230
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10965
10231
  size: Size.xxs
10966
10232
  })), /*#__PURE__*/React.createElement("div", {
10967
- className: `${CLASSNAME$W}__input-indicator`
10233
+ className: `${CLASSNAME$V}__input-indicator`
10968
10234
  }, /*#__PURE__*/React.createElement(Icon, {
10969
10235
  icon: mdiMenuDown,
10970
10236
  size: Size.s
@@ -10993,17 +10259,17 @@ const SelectMultiple = /*#__PURE__*/forwardRef((props, ref) => {
10993
10259
  return WithSelectContext(SelectMultipleField, _objectSpread2(_objectSpread2({}, props), {}, {
10994
10260
  className: classnames(props.className, handleBasicClasses({
10995
10261
  hasMultiple: !props.isEmpty,
10996
- prefix: CLASSNAME$W
10262
+ prefix: CLASSNAME$V
10997
10263
  })),
10998
10264
  isEmpty: props.value.length === 0,
10999
10265
  isMultiple: true
11000
10266
  }), ref);
11001
10267
  });
11002
- SelectMultiple.displayName = COMPONENT_NAME$Z;
11003
- SelectMultiple.className = CLASSNAME$W;
10268
+ SelectMultiple.displayName = COMPONENT_NAME$Y;
10269
+ SelectMultiple.className = CLASSNAME$V;
11004
10270
  SelectMultiple.defaultProps = DEFAULT_PROPS$J;
11005
10271
 
11006
- const _excluded$12 = ["children", "className", "theme"];
10272
+ const _excluded$$ = ["children", "className", "theme"];
11007
10273
 
11008
10274
  /**
11009
10275
  * Defines the props of the component.
@@ -11012,12 +10278,12 @@ const _excluded$12 = ["children", "className", "theme"];
11012
10278
  /**
11013
10279
  * Component display name.
11014
10280
  */
11015
- const COMPONENT_NAME$_ = 'SideNavigation';
10281
+ const COMPONENT_NAME$Z = 'SideNavigation';
11016
10282
 
11017
10283
  /**
11018
10284
  * Component default class name and class prefix.
11019
10285
  */
11020
- const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
10286
+ const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
11021
10287
 
11022
10288
  /**
11023
10289
  * SideNavigation component.
@@ -11032,20 +10298,20 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
11032
10298
  className,
11033
10299
  theme
11034
10300
  } = props,
11035
- forwardedProps = _objectWithoutProperties(props, _excluded$12);
10301
+ forwardedProps = _objectWithoutProperties(props, _excluded$$);
11036
10302
  const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
11037
10303
  return /*#__PURE__*/React.createElement("ul", _extends({
11038
10304
  ref: ref
11039
10305
  }, forwardedProps, {
11040
10306
  className: classnames(className, theme === Theme.dark && 'lumx-color-font-light-N', handleBasicClasses({
11041
- prefix: CLASSNAME$X
10307
+ prefix: CLASSNAME$W
11042
10308
  }))
11043
10309
  }), content);
11044
10310
  });
11045
- SideNavigation.displayName = COMPONENT_NAME$_;
11046
- SideNavigation.className = CLASSNAME$X;
10311
+ SideNavigation.displayName = COMPONENT_NAME$Z;
10312
+ SideNavigation.className = CLASSNAME$W;
11047
10313
 
11048
- const _excluded$13 = ["linkAs", "href"];
10314
+ const _excluded$10 = ["linkAs", "href"];
11049
10315
  /**
11050
10316
  * Render <button> HTML component, fallbacks to `<a>` when a `href` is provided or a custom component with `linkAs`.
11051
10317
  */
@@ -11054,7 +10320,7 @@ const renderButtonOrLink = function (props) {
11054
10320
  linkAs,
11055
10321
  href
11056
10322
  } = props,
11057
- forwardedProps = _objectWithoutProperties(props, _excluded$13);
10323
+ forwardedProps = _objectWithoutProperties(props, _excluded$10);
11058
10324
  for (var _len = arguments.length, children = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
11059
10325
  children[_key - 1] = arguments[_key];
11060
10326
  }
@@ -11064,7 +10330,7 @@ const renderButtonOrLink = function (props) {
11064
10330
  }, forwardedProps), ...children);
11065
10331
  };
11066
10332
 
11067
- const _excluded$14 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
10333
+ const _excluded$11 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11068
10334
 
11069
10335
  /**
11070
10336
  * Defines the props of the component.
@@ -11073,12 +10339,12 @@ const _excluded$14 = ["children", "className", "emphasis", "icon", "isOpen", "is
11073
10339
  /**
11074
10340
  * Component display name.
11075
10341
  */
11076
- const COMPONENT_NAME$$ = 'SideNavigationItem';
10342
+ const COMPONENT_NAME$_ = 'SideNavigationItem';
11077
10343
 
11078
10344
  /**
11079
10345
  * Component default class name and class prefix.
11080
10346
  */
11081
- const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
10347
+ const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
11082
10348
 
11083
10349
  /**
11084
10350
  * Component default props.
@@ -11111,7 +10377,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
11111
10377
  toggleButtonProps,
11112
10378
  closeMode = 'unmount'
11113
10379
  } = props,
11114
- forwardedProps = _objectWithoutProperties(props, _excluded$14);
10380
+ forwardedProps = _objectWithoutProperties(props, _excluded$11);
11115
10381
  const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
11116
10382
  const hasContent = !isEmpty(content);
11117
10383
  const shouldSplitActions = Boolean(onActionClick);
@@ -11130,22 +10396,22 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
11130
10396
  emphasis,
11131
10397
  isOpen: showChildren,
11132
10398
  isSelected,
11133
- prefix: CLASSNAME$Y
10399
+ prefix: CLASSNAME$X
11134
10400
  }))
11135
10401
  }), shouldSplitActions ? /*#__PURE__*/React.createElement("div", {
11136
- className: `${CLASSNAME$Y}__wrapper`
10402
+ className: `${CLASSNAME$X}__wrapper`
11137
10403
  }, renderLink(_objectSpread2(_objectSpread2({
11138
10404
  linkAs
11139
10405
  }, linkProps), {}, {
11140
- className: `${CLASSNAME$Y}__link`,
10406
+ className: `${CLASSNAME$X}__link`,
11141
10407
  onClick,
11142
10408
  tabIndex: 0
11143
10409
  }), icon && /*#__PURE__*/React.createElement(Icon, {
11144
- className: `${CLASSNAME$Y}__icon`,
10410
+ className: `${CLASSNAME$X}__icon`,
11145
10411
  icon: icon,
11146
10412
  size: Size.xs
11147
10413
  }), /*#__PURE__*/React.createElement("span", null, label)), /*#__PURE__*/React.createElement(IconButton, _extends({}, toggleButtonProps, {
11148
- className: `${CLASSNAME$Y}__toggle`,
10414
+ className: `${CLASSNAME$X}__toggle`,
11149
10415
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
11150
10416
  size: Size.m,
11151
10417
  emphasis: Emphasis.low,
@@ -11153,27 +10419,27 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
11153
10419
  }, ariaProps))) : renderButtonOrLink(_objectSpread2(_objectSpread2({
11154
10420
  linkAs
11155
10421
  }, linkProps), {}, {
11156
- className: `${CLASSNAME$Y}__link`,
10422
+ className: `${CLASSNAME$X}__link`,
11157
10423
  tabIndex: 0,
11158
10424
  onClick
11159
10425
  }, ariaProps), icon && /*#__PURE__*/React.createElement(Icon, {
11160
- className: `${CLASSNAME$Y}__icon`,
10426
+ className: `${CLASSNAME$X}__icon`,
11161
10427
  icon: icon,
11162
10428
  size: Size.xs
11163
10429
  }), /*#__PURE__*/React.createElement("span", null, label), hasContent && /*#__PURE__*/React.createElement(Icon, {
11164
- className: `${CLASSNAME$Y}__chevron`,
10430
+ className: `${CLASSNAME$X}__chevron`,
11165
10431
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
11166
10432
  size: Size.xs
11167
10433
  })), (closeMode === 'hide' || showChildren) && /*#__PURE__*/React.createElement("ul", {
11168
- className: `${CLASSNAME$Y}__children`,
10434
+ className: `${CLASSNAME$X}__children`,
11169
10435
  id: contentId
11170
10436
  }, content));
11171
10437
  });
11172
- SideNavigationItem.displayName = COMPONENT_NAME$$;
11173
- SideNavigationItem.className = CLASSNAME$Y;
10438
+ SideNavigationItem.displayName = COMPONENT_NAME$_;
10439
+ SideNavigationItem.className = CLASSNAME$X;
11174
10440
  SideNavigationItem.defaultProps = DEFAULT_PROPS$K;
11175
10441
 
11176
- const _excluded$15 = ["className", "size", "color", "theme"];
10442
+ const _excluded$12 = ["className", "size", "color", "theme"];
11177
10443
 
11178
10444
  /**
11179
10445
  * Defines the props of the component.
@@ -11186,12 +10452,12 @@ const DEFAULT_PROPS$L = {
11186
10452
  /**
11187
10453
  * Component display name.
11188
10454
  */
11189
- const COMPONENT_NAME$10 = 'SkeletonCircle';
10455
+ const COMPONENT_NAME$$ = 'SkeletonCircle';
11190
10456
 
11191
10457
  /**
11192
10458
  * Component default class name and class prefix.
11193
10459
  */
11194
- const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
10460
+ const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
11195
10461
 
11196
10462
  /**
11197
10463
  * SkeletonCircle component.
@@ -11207,23 +10473,23 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
11207
10473
  color,
11208
10474
  theme
11209
10475
  } = props,
11210
- forwardedProps = _objectWithoutProperties(props, _excluded$15);
10476
+ forwardedProps = _objectWithoutProperties(props, _excluded$12);
11211
10477
  return /*#__PURE__*/React.createElement("div", _extends({
11212
10478
  ref: ref
11213
10479
  }, forwardedProps, {
11214
10480
  className: classnames(className, handleBasicClasses({
11215
- prefix: CLASSNAME$Z,
10481
+ prefix: CLASSNAME$Y,
11216
10482
  size,
11217
10483
  color,
11218
10484
  theme
11219
10485
  }))
11220
10486
  }));
11221
10487
  });
11222
- SkeletonCircle.displayName = COMPONENT_NAME$10;
10488
+ SkeletonCircle.displayName = COMPONENT_NAME$$;
11223
10489
  SkeletonCircle.defaultProps = DEFAULT_PROPS$L;
11224
- SkeletonCircle.className = CLASSNAME$Z;
10490
+ SkeletonCircle.className = CLASSNAME$Y;
11225
10491
 
11226
- const _excluded$16 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
10492
+ const _excluded$13 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11227
10493
 
11228
10494
  /**
11229
10495
  * Skeleton variants.
@@ -11246,12 +10512,12 @@ const DEFAULT_PROPS$M = {
11246
10512
  /**
11247
10513
  * Component display name.
11248
10514
  */
11249
- const COMPONENT_NAME$11 = 'SkeletonRectangle';
10515
+ const COMPONENT_NAME$10 = 'SkeletonRectangle';
11250
10516
 
11251
10517
  /**
11252
10518
  * Component default class name and class prefix.
11253
10519
  */
11254
- const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
10520
+ const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
11255
10521
 
11256
10522
  /**
11257
10523
  * SkeletonRectangle component.
@@ -11270,12 +10536,12 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
11270
10536
  width,
11271
10537
  color
11272
10538
  } = props,
11273
- forwardedProps = _objectWithoutProperties(props, _excluded$16);
10539
+ forwardedProps = _objectWithoutProperties(props, _excluded$13);
11274
10540
  return /*#__PURE__*/React.createElement("div", _extends({
11275
10541
  ref: ref
11276
10542
  }, forwardedProps, {
11277
10543
  className: classnames(className, handleBasicClasses({
11278
- prefix: CLASSNAME$_,
10544
+ prefix: CLASSNAME$Z,
11279
10545
  aspectRatio,
11280
10546
  height: aspectRatio ? undefined : height,
11281
10547
  theme,
@@ -11284,14 +10550,14 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
11284
10550
  color
11285
10551
  }))
11286
10552
  }), /*#__PURE__*/React.createElement("div", {
11287
- className: `${CLASSNAME$_}__inner`
10553
+ className: `${CLASSNAME$Z}__inner`
11288
10554
  }));
11289
10555
  });
11290
- SkeletonRectangle.displayName = COMPONENT_NAME$11;
11291
- SkeletonRectangle.className = CLASSNAME$_;
10556
+ SkeletonRectangle.displayName = COMPONENT_NAME$10;
10557
+ SkeletonRectangle.className = CLASSNAME$Z;
11292
10558
  SkeletonRectangle.defaultProps = DEFAULT_PROPS$M;
11293
10559
 
11294
- const _excluded$17 = ["className", "theme", "typography", "width", "color"];
10560
+ const _excluded$14 = ["className", "theme", "typography", "width", "color"];
11295
10561
 
11296
10562
  /**
11297
10563
  * Defines the props of the component.
@@ -11304,12 +10570,12 @@ const DEFAULT_PROPS$N = {
11304
10570
  /**
11305
10571
  * Component display name.
11306
10572
  */
11307
- const COMPONENT_NAME$12 = 'SkeletonTypography';
10573
+ const COMPONENT_NAME$11 = 'SkeletonTypography';
11308
10574
 
11309
10575
  /**
11310
10576
  * Component default class name and class prefix.
11311
10577
  */
11312
- const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
10578
+ const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
11313
10579
 
11314
10580
  /**
11315
10581
  * SkeletonTypography component.
@@ -11326,12 +10592,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
11326
10592
  width,
11327
10593
  color
11328
10594
  } = props,
11329
- forwardedProps = _objectWithoutProperties(props, _excluded$17);
10595
+ forwardedProps = _objectWithoutProperties(props, _excluded$14);
11330
10596
  return /*#__PURE__*/React.createElement("div", _extends({
11331
10597
  ref: ref
11332
10598
  }, forwardedProps, {
11333
10599
  className: classnames(className, handleBasicClasses({
11334
- prefix: CLASSNAME$$,
10600
+ prefix: CLASSNAME$_,
11335
10601
  theme,
11336
10602
  typography,
11337
10603
  color
@@ -11340,12 +10606,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
11340
10606
  width
11341
10607
  })
11342
10608
  }), /*#__PURE__*/React.createElement("div", {
11343
- className: `${CLASSNAME$$}__inner`
10609
+ className: `${CLASSNAME$_}__inner`
11344
10610
  }));
11345
10611
  });
11346
- SkeletonTypography.displayName = COMPONENT_NAME$12;
10612
+ SkeletonTypography.displayName = COMPONENT_NAME$11;
11347
10613
  SkeletonTypography.defaultProps = DEFAULT_PROPS$N;
11348
- SkeletonTypography.className = CLASSNAME$$;
10614
+ SkeletonTypography.className = CLASSNAME$_;
11349
10615
 
11350
10616
  const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
11351
10617
 
@@ -11381,7 +10647,7 @@ const clamp = (value, min, max) => {
11381
10647
  return value;
11382
10648
  };
11383
10649
 
11384
- const _excluded$18 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
10650
+ const _excluded$15 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11385
10651
 
11386
10652
  /**
11387
10653
  * Defines the props of the component.
@@ -11390,12 +10656,12 @@ const _excluded$18 = ["className", "disabled", "helper", "hideMinMaxLabel", "id"
11390
10656
  /**
11391
10657
  * Component display name.
11392
10658
  */
11393
- const COMPONENT_NAME$13 = 'Slider';
10659
+ const COMPONENT_NAME$12 = 'Slider';
11394
10660
 
11395
10661
  /**
11396
10662
  * Component default class name and class prefix.
11397
10663
  */
11398
- const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
10664
+ const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
11399
10665
 
11400
10666
  /**
11401
10667
  * Component default props.
@@ -11456,7 +10722,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
11456
10722
  theme,
11457
10723
  value
11458
10724
  } = props,
11459
- forwardedProps = _objectWithoutProperties(props, _excluded$18);
10725
+ forwardedProps = _objectWithoutProperties(props, _excluded$15);
11460
10726
  const sliderId = useMemo(() => id || `slider-${uid()}`, [id]);
11461
10727
  const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
11462
10728
  const sliderRef = useRef(null);
@@ -11589,7 +10855,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
11589
10855
  ref: ref
11590
10856
  }, forwardedProps, {
11591
10857
  className: classnames(className, handleBasicClasses({
11592
- prefix: CLASSNAME$10,
10858
+ prefix: CLASSNAME$$,
11593
10859
  theme,
11594
10860
  hasLabel: Boolean(label)
11595
10861
  })),
@@ -11598,30 +10864,30 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
11598
10864
  }), label && /*#__PURE__*/React.createElement(InputLabel, {
11599
10865
  id: sliderLabelId,
11600
10866
  htmlFor: sliderId,
11601
- className: `${CLASSNAME$10}__label`,
10867
+ className: `${CLASSNAME$$}__label`,
11602
10868
  theme: theme
11603
10869
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
11604
- className: `${CLASSNAME$10}__helper`,
10870
+ className: `${CLASSNAME$$}__helper`,
11605
10871
  theme: theme
11606
10872
  }, helper), /*#__PURE__*/React.createElement("div", {
11607
- className: `${CLASSNAME$10}__ui-wrapper`
10873
+ className: `${CLASSNAME$$}__ui-wrapper`
11608
10874
  }, !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
11609
- className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--min`
10875
+ className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--min`
11610
10876
  }, min), /*#__PURE__*/React.createElement("div", {
11611
- className: `${CLASSNAME$10}__wrapper`,
10877
+ className: `${CLASSNAME$$}__wrapper`,
11612
10878
  ref: sliderRef
11613
10879
  }, /*#__PURE__*/React.createElement("div", {
11614
- className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--background`
10880
+ className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--background`
11615
10881
  }), /*#__PURE__*/React.createElement("div", {
11616
- className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--active`,
10882
+ className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--active`,
11617
10883
  style: {
11618
10884
  width: percentString
11619
10885
  }
11620
10886
  }), steps ? /*#__PURE__*/React.createElement("div", {
11621
- className: `${CLASSNAME$10}__ticks`
10887
+ className: `${CLASSNAME$$}__ticks`
11622
10888
  }, availableSteps.map((step, idx) => /*#__PURE__*/React.createElement("div", {
11623
10889
  key: `tick_${idx}`,
11624
- className: `${CLASSNAME$10}__tick`,
10890
+ className: `${CLASSNAME$$}__tick`,
11625
10891
  style: {
11626
10892
  left: `${step * 100}%`
11627
10893
  }
@@ -11630,18 +10896,18 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
11630
10896
  "aria-labelledby": sliderLabelId,
11631
10897
  name: name,
11632
10898
  id: sliderId,
11633
- className: `${CLASSNAME$10}__handle`,
10899
+ className: `${CLASSNAME$$}__handle`,
11634
10900
  style: {
11635
10901
  left: percentString
11636
10902
  },
11637
10903
  onKeyDown: handleKeyDown,
11638
10904
  disabled: isDisabled
11639
10905
  })), !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
11640
- className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--max`
10906
+ className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--max`
11641
10907
  }, max)));
11642
10908
  });
11643
- Slider.displayName = COMPONENT_NAME$13;
11644
- Slider.className = CLASSNAME$10;
10909
+ Slider.displayName = COMPONENT_NAME$12;
10910
+ Slider.className = CLASSNAME$$;
11645
10911
  Slider.defaultProps = DEFAULT_PROPS$O;
11646
10912
 
11647
10913
  /**
@@ -11962,7 +11228,7 @@ const useSlideFocusManagement = _ref => {
11962
11228
  }, [isSlideDisplayed, slideRef]);
11963
11229
  };
11964
11230
 
11965
- const _excluded$19 = ["className", "children", "role", "label", "isDisplayed"];
11231
+ const _excluded$16 = ["className", "children", "role", "label", "isDisplayed"];
11966
11232
 
11967
11233
  /**
11968
11234
  * Defines the props of the component.
@@ -11971,12 +11237,12 @@ const _excluded$19 = ["className", "children", "role", "label", "isDisplayed"];
11971
11237
  /**
11972
11238
  * Component display name.
11973
11239
  */
11974
- const COMPONENT_NAME$14 = 'SlideshowItemGroup';
11240
+ const COMPONENT_NAME$13 = 'SlideshowItemGroup';
11975
11241
 
11976
11242
  /**
11977
11243
  * Component default class name and class prefix.
11978
11244
  */
11979
- const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
11245
+ const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
11980
11246
  const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
11981
11247
 
11982
11248
  /**
@@ -11994,7 +11260,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11994
11260
  label,
11995
11261
  isDisplayed
11996
11262
  } = props,
11997
- forwardedProps = _objectWithoutProperties(props, _excluded$19);
11263
+ forwardedProps = _objectWithoutProperties(props, _excluded$16);
11998
11264
  const groupRef = React.useRef(null);
11999
11265
  useSlideFocusManagement({
12000
11266
  isSlideDisplayed: isDisplayed,
@@ -12004,16 +11270,16 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
12004
11270
  ref: mergeRefs(groupRef, ref),
12005
11271
  role: role,
12006
11272
  className: classnames(className, handleBasicClasses({
12007
- prefix: CLASSNAME$11
11273
+ prefix: CLASSNAME$10
12008
11274
  })),
12009
11275
  "aria-roledescription": "slide",
12010
11276
  "aria-label": label
12011
11277
  }, forwardedProps), children);
12012
11278
  });
12013
- SlideshowItemGroup.displayName = COMPONENT_NAME$14;
12014
- SlideshowItemGroup.className = CLASSNAME$11;
11279
+ SlideshowItemGroup.displayName = COMPONENT_NAME$13;
11280
+ SlideshowItemGroup.className = CLASSNAME$10;
12015
11281
 
12016
- const _excluded$1a = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
11282
+ const _excluded$17 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
12017
11283
 
12018
11284
  /**
12019
11285
  * Defines the props of the component.
@@ -12049,7 +11315,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
12049
11315
  slidesId,
12050
11316
  slideGroupLabel
12051
11317
  } = props,
12052
- forwardedProps = _objectWithoutProperties(props, _excluded$1a);
11318
+ forwardedProps = _objectWithoutProperties(props, _excluded$17);
12053
11319
  // Number of slideshow items.
12054
11320
  const itemsCount = React.Children.count(children);
12055
11321
  const {
@@ -12131,7 +11397,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
12131
11397
  Slideshow.displayName = 'Slideshow';
12132
11398
  Slideshow.defaultProps = DEFAULT_PROPS$P;
12133
11399
 
12134
- const _excluded$1b = ["className", "children"];
11400
+ const _excluded$18 = ["className", "children"];
12135
11401
 
12136
11402
  /**
12137
11403
  * Defines the props of the component.
@@ -12140,12 +11406,12 @@ const _excluded$1b = ["className", "children"];
12140
11406
  /**
12141
11407
  * Component display name.
12142
11408
  */
12143
- const COMPONENT_NAME$15 = 'SlideshowItem';
11409
+ const COMPONENT_NAME$14 = 'SlideshowItem';
12144
11410
 
12145
11411
  /**
12146
11412
  * Component default class name and class prefix.
12147
11413
  */
12148
- const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
11414
+ const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
12149
11415
 
12150
11416
  /**
12151
11417
  * SlideshowItem component.
@@ -12159,16 +11425,16 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
12159
11425
  className,
12160
11426
  children
12161
11427
  } = props,
12162
- forwardedProps = _objectWithoutProperties(props, _excluded$1b);
11428
+ forwardedProps = _objectWithoutProperties(props, _excluded$18);
12163
11429
  return /*#__PURE__*/React.createElement("div", _extends({
12164
11430
  ref: ref,
12165
11431
  className: classnames(className, handleBasicClasses({
12166
- prefix: CLASSNAME$12
11432
+ prefix: CLASSNAME$11
12167
11433
  }))
12168
11434
  }, forwardedProps), children);
12169
11435
  });
12170
- SlideshowItem.displayName = COMPONENT_NAME$15;
12171
- SlideshowItem.className = CLASSNAME$12;
11436
+ SlideshowItem.displayName = COMPONENT_NAME$14;
11437
+ SlideshowItem.className = CLASSNAME$11;
12172
11438
 
12173
11439
  const isTouchDevice = () => 'ontouchstart' in window;
12174
11440
 
@@ -12227,7 +11493,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
12227
11493
  }, [activeIndex, slideCount]);
12228
11494
  }
12229
11495
 
12230
- const _excluded$1c = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
11496
+ const _excluded$19 = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12231
11497
  _excluded2$2 = ["className", "label"];
12232
11498
 
12233
11499
  /**
@@ -12237,12 +11503,12 @@ const _excluded$1c = ["activeIndex", "className", "nextButtonProps", "onNextClic
12237
11503
  /**
12238
11504
  * Component display name.
12239
11505
  */
12240
- const COMPONENT_NAME$16 = 'SlideshowControls';
11506
+ const COMPONENT_NAME$15 = 'SlideshowControls';
12241
11507
 
12242
11508
  /**
12243
11509
  * Component default class name and class prefix.
12244
11510
  */
12245
- const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
11511
+ const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
12246
11512
 
12247
11513
  /**
12248
11514
  * Component default props.
@@ -12277,7 +11543,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
12277
11543
  paginationItemLabel,
12278
11544
  paginationItemProps
12279
11545
  } = props,
12280
- forwardedProps = _objectWithoutProperties(props, _excluded$1c);
11546
+ forwardedProps = _objectWithoutProperties(props, _excluded$19);
12281
11547
  let parent;
12282
11548
  if (WINDOW) {
12283
11549
  // Checking window object to avoid errors in SSR.
@@ -12314,22 +11580,22 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
12314
11580
  ref: ref
12315
11581
  }, forwardedProps, {
12316
11582
  className: classnames(className, handleBasicClasses({
12317
- prefix: CLASSNAME$13,
11583
+ prefix: CLASSNAME$12,
12318
11584
  theme
12319
11585
  }), {
12320
- [`${CLASSNAME$13}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
11586
+ [`${CLASSNAME$12}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
12321
11587
  })
12322
11588
  }), /*#__PURE__*/React.createElement(IconButton, _extends({}, previousButtonProps, {
12323
11589
  icon: mdiChevronLeft,
12324
- className: `${CLASSNAME$13}__navigation`,
11590
+ className: `${CLASSNAME$12}__navigation`,
12325
11591
  color: theme === Theme.dark ? 'light' : 'dark',
12326
11592
  emphasis: Emphasis.low,
12327
11593
  onClick: onPreviousClick
12328
11594
  })), /*#__PURE__*/React.createElement("div", {
12329
11595
  ref: paginationRef,
12330
- className: `${CLASSNAME$13}__pagination`
11596
+ className: `${CLASSNAME$12}__pagination`
12331
11597
  }, /*#__PURE__*/React.createElement("div", _extends({
12332
- className: `${CLASSNAME$13}__pagination-items`,
11598
+ className: `${CLASSNAME$12}__pagination-items`,
12333
11599
  style: wrapperStyle,
12334
11600
  role: "tablist"
12335
11601
  }, paginationProps), useMemo(() => range(slidesCount).map(index => {
@@ -12345,7 +11611,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
12345
11611
  const ariaLabel = label || (paginationItemLabel === null || paginationItemLabel === void 0 ? void 0 : paginationItemLabel(index)) || `${index + 1} / ${slidesCount}`;
12346
11612
  return /*#__PURE__*/React.createElement("button", _extends({
12347
11613
  className: classnames(handleBasicClasses({
12348
- prefix: `${CLASSNAME$13}__pagination-item`,
11614
+ prefix: `${CLASSNAME$12}__pagination-item`,
12349
11615
  isActive,
12350
11616
  isOnEdge,
12351
11617
  isOutRange
@@ -12360,35 +11626,35 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
12360
11626
  }, itemProps));
12361
11627
  }), [slidesCount, visibleRange.min, visibleRange.max, activeIndex, paginationItemProps, paginationItemLabel, onPaginationClick]))), playButtonProps ? /*#__PURE__*/React.createElement(IconButton, _extends({}, playButtonProps, {
12362
11628
  icon: isAutoPlaying ? mdiPauseCircleOutline : mdiPlayCircleOutline,
12363
- className: `${CLASSNAME$13}__play`,
11629
+ className: `${CLASSNAME$12}__play`,
12364
11630
  color: theme === Theme.dark ? 'light' : 'dark',
12365
11631
  emphasis: Emphasis.low
12366
11632
  })) : null, /*#__PURE__*/React.createElement(IconButton, _extends({}, nextButtonProps, {
12367
11633
  icon: mdiChevronRight,
12368
- className: `${CLASSNAME$13}__navigation`,
11634
+ className: `${CLASSNAME$12}__navigation`,
12369
11635
  color: theme === Theme.dark ? 'light' : 'dark',
12370
11636
  emphasis: Emphasis.low,
12371
11637
  onClick: onNextClick
12372
11638
  })));
12373
11639
  });
12374
- InternalSlideshowControls.displayName = COMPONENT_NAME$16;
12375
- InternalSlideshowControls.className = CLASSNAME$13;
11640
+ InternalSlideshowControls.displayName = COMPONENT_NAME$15;
11641
+ InternalSlideshowControls.className = CLASSNAME$12;
12376
11642
  InternalSlideshowControls.defaultProps = DEFAULT_PROPS$Q;
12377
11643
  const SlideshowControls = Object.assign(InternalSlideshowControls, {
12378
11644
  useSlideshowControls,
12379
11645
  useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
12380
11646
  });
12381
11647
 
12382
- const _excluded$1d = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
11648
+ const _excluded$1a = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12383
11649
  /**
12384
11650
  * Component display name.
12385
11651
  */
12386
- const COMPONENT_NAME$17 = 'Slideshow';
11652
+ const COMPONENT_NAME$16 = 'Slideshow';
12387
11653
 
12388
11654
  /**
12389
11655
  * Component default class name and class prefix.
12390
11656
  */
12391
- const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
11657
+ const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
12392
11658
 
12393
11659
  /**
12394
11660
  * Slides component.
@@ -12413,7 +11679,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
12413
11679
  hasControls,
12414
11680
  slideGroupLabel
12415
11681
  } = props,
12416
- forwardedProps = _objectWithoutProperties(props, _excluded$1d);
11682
+ forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12417
11683
  const wrapperRef = React.useRef(null);
12418
11684
  const startIndexVisible = activeIndex;
12419
11685
  const endIndexVisible = startIndexVisible + 1;
@@ -12431,22 +11697,22 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
12431
11697
  ref: ref
12432
11698
  }, forwardedProps, {
12433
11699
  className: classnames(className, handleBasicClasses({
12434
- prefix: CLASSNAME$14,
11700
+ prefix: CLASSNAME$13,
12435
11701
  theme
12436
11702
  }), {
12437
- [`${CLASSNAME$14}--fill-height`]: fillHeight,
12438
- [`${CLASSNAME$14}--group-by-${groupBy}`]: Boolean(groupBy)
11703
+ [`${CLASSNAME$13}--fill-height`]: fillHeight,
11704
+ [`${CLASSNAME$13}--group-by-${groupBy}`]: Boolean(groupBy)
12439
11705
  }),
12440
11706
  "aria-roledescription": "carousel"
12441
11707
  }), /*#__PURE__*/React.createElement("div", {
12442
11708
  id: slidesId,
12443
- className: `${CLASSNAME$14}__slides`,
11709
+ className: `${CLASSNAME$13}__slides`,
12444
11710
  onMouseEnter: toggleAutoPlay,
12445
11711
  onMouseLeave: toggleAutoPlay,
12446
11712
  "aria-live": isAutoPlaying ? 'off' : 'polite'
12447
11713
  }, /*#__PURE__*/React.createElement("div", {
12448
11714
  ref: wrapperRef,
12449
- className: `${CLASSNAME$14}__wrapper`,
11715
+ className: `${CLASSNAME$13}__wrapper`,
12450
11716
  style: wrapperStyle
12451
11717
  }, groups.map((group, index) => /*#__PURE__*/React.createElement(SlideshowItemGroup, {
12452
11718
  key: index,
@@ -12456,10 +11722,10 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
12456
11722
  isDisplayed: index >= startIndexVisible && index < endIndexVisible
12457
11723
  }, group)))), afterSlides);
12458
11724
  });
12459
- Slides.displayName = COMPONENT_NAME$17;
12460
- Slides.className = CLASSNAME$14;
11725
+ Slides.displayName = COMPONENT_NAME$16;
11726
+ Slides.className = CLASSNAME$13;
12461
11727
 
12462
- const _excluded$1e = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
11728
+ const _excluded$1b = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12463
11729
 
12464
11730
  /**
12465
11731
  * Defines the props of the component.
@@ -12468,12 +11734,12 @@ const _excluded$1e = ["checked", "children", "className", "disabled", "helper",
12468
11734
  /**
12469
11735
  * Component display name.
12470
11736
  */
12471
- const COMPONENT_NAME$18 = 'Switch';
11737
+ const COMPONENT_NAME$17 = 'Switch';
12472
11738
 
12473
11739
  /**
12474
11740
  * Component default class name and class prefix.
12475
11741
  */
12476
- const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
11742
+ const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
12477
11743
 
12478
11744
  /**
12479
11745
  * Component default props.
@@ -12507,7 +11773,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
12507
11773
  value,
12508
11774
  inputProps = {}
12509
11775
  } = props,
12510
- forwardedProps = _objectWithoutProperties(props, _excluded$1e);
11776
+ forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12511
11777
  const inputId = useMemo(() => id || `switch-${uid()}`, [id]);
12512
11778
  const handleChange = event => {
12513
11779
  if (onChange) {
@@ -12518,7 +11784,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
12518
11784
  ref: ref
12519
11785
  }, forwardedProps, {
12520
11786
  className: classnames(className, handleBasicClasses({
12521
- prefix: CLASSNAME$15,
11787
+ prefix: CLASSNAME$14,
12522
11788
  isChecked,
12523
11789
  isDisabled,
12524
11790
  position,
@@ -12527,12 +11793,12 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
12527
11793
  })),
12528
11794
  "aria-disabled": isDisabled
12529
11795
  }), /*#__PURE__*/React.createElement("div", {
12530
- className: `${CLASSNAME$15}__input-wrapper`
11796
+ className: `${CLASSNAME$14}__input-wrapper`
12531
11797
  }, /*#__PURE__*/React.createElement("input", _extends({
12532
11798
  type: "checkbox",
12533
11799
  role: "switch",
12534
11800
  id: inputId,
12535
- className: `${CLASSNAME$15}__input-native`,
11801
+ className: `${CLASSNAME$14}__input-native`,
12536
11802
  name: name,
12537
11803
  value: value,
12538
11804
  disabled: isDisabled,
@@ -12541,28 +11807,28 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
12541
11807
  onChange: handleChange,
12542
11808
  "aria-describedby": helper ? `${inputId}-helper` : undefined
12543
11809
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
12544
- className: `${CLASSNAME$15}__input-placeholder`
11810
+ className: `${CLASSNAME$14}__input-placeholder`
12545
11811
  }, /*#__PURE__*/React.createElement("div", {
12546
- className: `${CLASSNAME$15}__input-background`
11812
+ className: `${CLASSNAME$14}__input-background`
12547
11813
  }), /*#__PURE__*/React.createElement("div", {
12548
- className: `${CLASSNAME$15}__input-indicator`
11814
+ className: `${CLASSNAME$14}__input-indicator`
12549
11815
  }))), Children.count(children) > 0 && /*#__PURE__*/React.createElement("div", {
12550
- className: `${CLASSNAME$15}__content`
11816
+ className: `${CLASSNAME$14}__content`
12551
11817
  }, /*#__PURE__*/React.createElement(InputLabel, {
12552
11818
  htmlFor: inputId,
12553
11819
  theme: theme,
12554
- className: `${CLASSNAME$15}__label`
11820
+ className: `${CLASSNAME$14}__label`
12555
11821
  }, children), !isEmpty(helper) && /*#__PURE__*/React.createElement(InputHelper, {
12556
11822
  id: `${inputId}-helper`,
12557
11823
  theme: theme,
12558
- className: `${CLASSNAME$15}__helper`
11824
+ className: `${CLASSNAME$14}__helper`
12559
11825
  }, helper)));
12560
11826
  });
12561
- Switch.displayName = COMPONENT_NAME$18;
12562
- Switch.className = CLASSNAME$15;
11827
+ Switch.displayName = COMPONENT_NAME$17;
11828
+ Switch.className = CLASSNAME$14;
12563
11829
  Switch.defaultProps = DEFAULT_PROPS$R;
12564
11830
 
12565
- const _excluded$1f = ["children", "className", "hasBefore", "hasDividers", "theme"];
11831
+ const _excluded$1c = ["children", "className", "hasBefore", "hasDividers", "theme"];
12566
11832
 
12567
11833
  /**
12568
11834
  * Defines the props of the component.
@@ -12571,12 +11837,12 @@ const _excluded$1f = ["children", "className", "hasBefore", "hasDividers", "them
12571
11837
  /**
12572
11838
  * Component display name.
12573
11839
  */
12574
- const COMPONENT_NAME$19 = 'Table';
11840
+ const COMPONENT_NAME$18 = 'Table';
12575
11841
 
12576
11842
  /**
12577
11843
  * Component default class name and class prefix.
12578
11844
  */
12579
- const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19);
11845
+ const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
12580
11846
 
12581
11847
  /**
12582
11848
  * Component default props.
@@ -12600,23 +11866,23 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
12600
11866
  hasDividers,
12601
11867
  theme
12602
11868
  } = props,
12603
- forwardedProps = _objectWithoutProperties(props, _excluded$1f);
11869
+ forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12604
11870
  return /*#__PURE__*/React.createElement("table", _extends({
12605
11871
  ref: ref
12606
11872
  }, forwardedProps, {
12607
11873
  className: classnames(className, handleBasicClasses({
12608
- prefix: CLASSNAME$16,
11874
+ prefix: CLASSNAME$15,
12609
11875
  hasBefore,
12610
11876
  hasDividers,
12611
11877
  theme
12612
11878
  }))
12613
11879
  }), children);
12614
11880
  });
12615
- Table.displayName = COMPONENT_NAME$19;
12616
- Table.className = CLASSNAME$16;
11881
+ Table.displayName = COMPONENT_NAME$18;
11882
+ Table.className = CLASSNAME$15;
12617
11883
  Table.defaultProps = DEFAULT_PROPS$S;
12618
11884
 
12619
- const _excluded$1g = ["children", "className"];
11885
+ const _excluded$1d = ["children", "className"];
12620
11886
 
12621
11887
  /**
12622
11888
  * Defines the props of the component.
@@ -12625,12 +11891,12 @@ const _excluded$1g = ["children", "className"];
12625
11891
  /**
12626
11892
  * Component display name.
12627
11893
  */
12628
- const COMPONENT_NAME$1a = 'TableBody';
11894
+ const COMPONENT_NAME$19 = 'TableBody';
12629
11895
 
12630
11896
  /**
12631
11897
  * Component default class name and class prefix.
12632
11898
  */
12633
- const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
11899
+ const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19, true);
12634
11900
 
12635
11901
  /**
12636
11902
  * TableBody component.
@@ -12644,19 +11910,19 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
12644
11910
  children,
12645
11911
  className
12646
11912
  } = props,
12647
- forwardedProps = _objectWithoutProperties(props, _excluded$1g);
11913
+ forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12648
11914
  return /*#__PURE__*/React.createElement("tbody", _extends({
12649
11915
  ref: ref
12650
11916
  }, forwardedProps, {
12651
11917
  className: classnames(className, handleBasicClasses({
12652
- prefix: CLASSNAME$17
11918
+ prefix: CLASSNAME$16
12653
11919
  }))
12654
11920
  }), children);
12655
11921
  });
12656
- TableBody.displayName = COMPONENT_NAME$1a;
12657
- TableBody.className = CLASSNAME$17;
11922
+ TableBody.displayName = COMPONENT_NAME$19;
11923
+ TableBody.className = CLASSNAME$16;
12658
11924
 
12659
- const _excluded$1h = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
11925
+ const _excluded$1e = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12660
11926
 
12661
11927
  /**
12662
11928
  * Table head cell sort order.
@@ -12680,12 +11946,12 @@ const TableCellVariant = {
12680
11946
  /**
12681
11947
  * Component display name.
12682
11948
  */
12683
- const COMPONENT_NAME$1b = 'TableCell';
11949
+ const COMPONENT_NAME$1a = 'TableCell';
12684
11950
 
12685
11951
  /**
12686
11952
  * Component default class name and class prefix.
12687
11953
  */
12688
- const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
11954
+ const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
12689
11955
 
12690
11956
  /**
12691
11957
  * Component default props.
@@ -12711,7 +11977,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
12711
11977
  sortOrder,
12712
11978
  variant
12713
11979
  } = props,
12714
- forwardedProps = _objectWithoutProperties(props, _excluded$1h);
11980
+ forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12715
11981
 
12716
11982
  // Use button if clickable
12717
11983
  const Wrapper = onHeaderClick ? 'button' : 'div';
@@ -12731,40 +11997,40 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
12731
11997
  ref: ref
12732
11998
  }, forwardedProps, {
12733
11999
  className: classnames(handleBasicClasses({
12734
- prefix: CLASSNAME$18,
12000
+ prefix: CLASSNAME$17,
12735
12001
  isSortable,
12736
12002
  isSorted: isSortable && !!sortOrder
12737
- }), className, `${CLASSNAME$18}--head`),
12003
+ }), className, `${CLASSNAME$17}--head`),
12738
12004
  "aria-sort": ariaSort
12739
12005
  }), /*#__PURE__*/React.createElement(Wrapper, _extends({
12740
- className: `${CLASSNAME$18}-wrapper`
12006
+ className: `${CLASSNAME$17}-wrapper`
12741
12007
  }, wrapperProps), icon && !isSortable && /*#__PURE__*/React.createElement(Icon, {
12742
- className: `${CLASSNAME$18}-icon`,
12008
+ className: `${CLASSNAME$17}-icon`,
12743
12009
  icon: icon,
12744
12010
  size: Size.xxs
12745
12011
  }), isSortable && sortOrder === ThOrder.asc && /*#__PURE__*/React.createElement(Icon, {
12746
- className: `${CLASSNAME$18}-icon`,
12012
+ className: `${CLASSNAME$17}-icon`,
12747
12013
  icon: mdiArrowUp,
12748
12014
  size: Size.xxs
12749
12015
  }), isSortable && sortOrder === ThOrder.desc && /*#__PURE__*/React.createElement(Icon, {
12750
- className: `${CLASSNAME$18}-icon`,
12016
+ className: `${CLASSNAME$17}-icon`,
12751
12017
  icon: mdiArrowDown,
12752
12018
  size: Size.xxs
12753
12019
  }), /*#__PURE__*/React.createElement("div", {
12754
- className: `${CLASSNAME$18}-content`
12020
+ className: `${CLASSNAME$17}-content`
12755
12021
  }, children))), variant === TableCellVariant.body && /*#__PURE__*/React.createElement("td", _extends({}, forwardedProps, {
12756
12022
  className: classnames(className, handleBasicClasses({
12757
- prefix: CLASSNAME$18
12758
- }), `${CLASSNAME$18}--body`)
12023
+ prefix: CLASSNAME$17
12024
+ }), `${CLASSNAME$17}--body`)
12759
12025
  }), /*#__PURE__*/React.createElement("div", {
12760
- className: `${CLASSNAME$18}-content`
12026
+ className: `${CLASSNAME$17}-content`
12761
12027
  }, children)));
12762
12028
  });
12763
- TableCell.displayName = COMPONENT_NAME$1b;
12764
- TableCell.className = CLASSNAME$18;
12029
+ TableCell.displayName = COMPONENT_NAME$1a;
12030
+ TableCell.className = CLASSNAME$17;
12765
12031
  TableCell.defaultProps = DEFAULT_PROPS$T;
12766
12032
 
12767
- const _excluded$1i = ["children", "className"];
12033
+ const _excluded$1f = ["children", "className"];
12768
12034
 
12769
12035
  /**
12770
12036
  * Defines the props of the component.
@@ -12773,12 +12039,12 @@ const _excluded$1i = ["children", "className"];
12773
12039
  /**
12774
12040
  * Component display name.
12775
12041
  */
12776
- const COMPONENT_NAME$1c = 'TableHeader';
12042
+ const COMPONENT_NAME$1b = 'TableHeader';
12777
12043
 
12778
12044
  /**
12779
12045
  * Component default class name and class prefix.
12780
12046
  */
12781
- const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12047
+ const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
12782
12048
 
12783
12049
  /**
12784
12050
  * Component default props.
@@ -12797,20 +12063,20 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
12797
12063
  children,
12798
12064
  className
12799
12065
  } = props,
12800
- forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12066
+ forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12801
12067
  return /*#__PURE__*/React.createElement("thead", _extends({
12802
12068
  ref: ref
12803
12069
  }, forwardedProps, {
12804
12070
  className: classnames(className, handleBasicClasses({
12805
- prefix: CLASSNAME$19
12071
+ prefix: CLASSNAME$18
12806
12072
  }))
12807
12073
  }), children);
12808
12074
  });
12809
- TableHeader.displayName = COMPONENT_NAME$1c;
12810
- TableHeader.className = CLASSNAME$19;
12075
+ TableHeader.displayName = COMPONENT_NAME$1b;
12076
+ TableHeader.className = CLASSNAME$18;
12811
12077
  TableHeader.defaultProps = DEFAULT_PROPS$U;
12812
12078
 
12813
- const _excluded$1j = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12079
+ const _excluded$1g = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12814
12080
 
12815
12081
  /**
12816
12082
  * Defines the props of the component.
@@ -12819,12 +12085,12 @@ const _excluded$1j = ["children", "className", "disabled", "isClickable", "isDis
12819
12085
  /**
12820
12086
  * Component display name.
12821
12087
  */
12822
- const COMPONENT_NAME$1d = 'TableRow';
12088
+ const COMPONENT_NAME$1c = 'TableRow';
12823
12089
 
12824
12090
  /**
12825
12091
  * Component default class name and class prefix.
12826
12092
  */
12827
- const CLASSNAME$1a = getRootClassName(COMPONENT_NAME$1d, true);
12093
+ const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12828
12094
 
12829
12095
  /**
12830
12096
  * Component default props.
@@ -12847,7 +12113,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12847
12113
  isDisabled = disabled,
12848
12114
  isSelected
12849
12115
  } = props,
12850
- forwardedProps = _objectWithoutProperties(props, _excluded$1j);
12116
+ forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12851
12117
  return /*#__PURE__*/React.createElement("tr", _extends({
12852
12118
  ref: ref,
12853
12119
  tabIndex: isClickable && !isDisabled ? 0 : -1
@@ -12856,16 +12122,16 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12856
12122
  isClickable: isClickable && !isDisabled,
12857
12123
  isDisabled,
12858
12124
  isSelected: isSelected && !isDisabled,
12859
- prefix: CLASSNAME$1a
12125
+ prefix: CLASSNAME$19
12860
12126
  })),
12861
12127
  "aria-disabled": isDisabled
12862
12128
  }), children);
12863
12129
  });
12864
- TableRow.displayName = COMPONENT_NAME$1d;
12865
- TableRow.className = CLASSNAME$1a;
12130
+ TableRow.displayName = COMPONENT_NAME$1c;
12131
+ TableRow.className = CLASSNAME$19;
12866
12132
  TableRow.defaultProps = DEFAULT_PROPS$V;
12867
12133
 
12868
- const _excluded$1k = ["children", "onChange"];
12134
+ const _excluded$1h = ["children", "onChange"];
12869
12135
  const DEFAULT_PROPS$W = {
12870
12136
  isLazy: INIT_STATE.isLazy,
12871
12137
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -12885,7 +12151,7 @@ const TabProvider = props => {
12885
12151
  children,
12886
12152
  onChange
12887
12153
  } = props,
12888
- propState = _objectWithoutProperties(props, _excluded$1k);
12154
+ propState = _objectWithoutProperties(props, _excluded$1h);
12889
12155
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
12890
12156
 
12891
12157
  // On prop state change => dispatch update.
@@ -12913,7 +12179,7 @@ const TabProvider = props => {
12913
12179
  };
12914
12180
  TabProvider.defaultProps = DEFAULT_PROPS$W;
12915
12181
 
12916
- const _excluded$1l = ["aria-label", "children", "className", "layout", "position", "theme"];
12182
+ const _excluded$1i = ["aria-label", "children", "className", "layout", "position", "theme"];
12917
12183
  let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12918
12184
  TabListLayout["clustered"] = "clustered";
12919
12185
  TabListLayout["fixed"] = "fixed";
@@ -12927,12 +12193,12 @@ let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12927
12193
  /**
12928
12194
  * Component display name.
12929
12195
  */
12930
- const COMPONENT_NAME$1e = 'TabList';
12196
+ const COMPONENT_NAME$1d = 'TabList';
12931
12197
 
12932
12198
  /**
12933
12199
  * Component default class name and class prefix.
12934
12200
  */
12935
- const CLASSNAME$1b = `${CSS_PREFIX}-tabs`;
12201
+ const CLASSNAME$1a = `${CSS_PREFIX}-tabs`;
12936
12202
 
12937
12203
  /**
12938
12204
  * Component default props.
@@ -12961,7 +12227,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12961
12227
  position,
12962
12228
  theme
12963
12229
  } = props,
12964
- forwardedProps = _objectWithoutProperties(props, _excluded$1l);
12230
+ forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12965
12231
  const tabListRef = React.useRef(null);
12966
12232
  useRovingTabIndex({
12967
12233
  parentRef: tabListRef,
@@ -12973,22 +12239,22 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12973
12239
  ref: mergeRefs(ref, tabListRef)
12974
12240
  }, forwardedProps, {
12975
12241
  className: classnames(className, handleBasicClasses({
12976
- prefix: CLASSNAME$1b,
12242
+ prefix: CLASSNAME$1a,
12977
12243
  layout,
12978
12244
  position,
12979
12245
  theme
12980
12246
  }))
12981
12247
  }), /*#__PURE__*/React.createElement("div", {
12982
- className: `${CLASSNAME$1b}__links`,
12248
+ className: `${CLASSNAME$1a}__links`,
12983
12249
  role: "tablist",
12984
12250
  "aria-label": ariaLabel
12985
12251
  }, children));
12986
12252
  });
12987
- TabList.displayName = COMPONENT_NAME$1e;
12988
- TabList.className = CLASSNAME$1b;
12253
+ TabList.displayName = COMPONENT_NAME$1d;
12254
+ TabList.className = CLASSNAME$1a;
12989
12255
  TabList.defaultProps = DEFAULT_PROPS$X;
12990
12256
 
12991
- const _excluded$1m = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12257
+ const _excluded$1j = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12992
12258
 
12993
12259
  /**
12994
12260
  * Defines the props of the component.
@@ -12997,12 +12263,12 @@ const _excluded$1m = ["className", "disabled", "icon", "iconProps", "id", "isAct
12997
12263
  /**
12998
12264
  * Component display name.
12999
12265
  */
13000
- const COMPONENT_NAME$1f = 'Tab';
12266
+ const COMPONENT_NAME$1e = 'Tab';
13001
12267
 
13002
12268
  /**
13003
12269
  * Component default class name and class prefix.
13004
12270
  */
13005
- const CLASSNAME$1c = `${CSS_PREFIX}-tabs__link`;
12271
+ const CLASSNAME$1b = `${CSS_PREFIX}-tabs__link`;
13006
12272
 
13007
12273
  /**
13008
12274
  * Component default props.
@@ -13032,7 +12298,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
13032
12298
  onKeyPress,
13033
12299
  tabIndex = -1
13034
12300
  } = props,
13035
- forwardedProps = _objectWithoutProperties(props, _excluded$1m);
12301
+ forwardedProps = _objectWithoutProperties(props, _excluded$1j);
13036
12302
  const state = useTabProviderContext('tab', id);
13037
12303
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
13038
12304
  const changeToCurrentTab = useCallback(() => {
@@ -13060,7 +12326,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
13060
12326
  type: "button",
13061
12327
  id: state === null || state === void 0 ? void 0 : state.tabId,
13062
12328
  className: classnames(className, handleBasicClasses({
13063
- prefix: CLASSNAME$1c,
12329
+ prefix: CLASSNAME$1b,
13064
12330
  isActive,
13065
12331
  isDisabled
13066
12332
  })),
@@ -13077,11 +12343,11 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
13077
12343
  size: Size.xs
13078
12344
  }, iconProps)), label && /*#__PURE__*/React.createElement("span", null, label));
13079
12345
  });
13080
- Tab.displayName = COMPONENT_NAME$1f;
13081
- Tab.className = CLASSNAME$1c;
12346
+ Tab.displayName = COMPONENT_NAME$1e;
12347
+ Tab.className = CLASSNAME$1b;
13082
12348
  Tab.defaultProps = DEFAULT_PROPS$Y;
13083
12349
 
13084
- const _excluded$1n = ["children", "id", "className", "isActive"];
12350
+ const _excluded$1k = ["children", "id", "className", "isActive"];
13085
12351
 
13086
12352
  /**
13087
12353
  * Defines the props of the component.
@@ -13090,12 +12356,12 @@ const _excluded$1n = ["children", "id", "className", "isActive"];
13090
12356
  /**
13091
12357
  * Component display name.
13092
12358
  */
13093
- const COMPONENT_NAME$1g = 'TabPanel';
12359
+ const COMPONENT_NAME$1f = 'TabPanel';
13094
12360
 
13095
12361
  /**
13096
12362
  * Component default class name and class prefix.
13097
12363
  */
13098
- const CLASSNAME$1d = `${CSS_PREFIX}-tab-panel`;
12364
+ const CLASSNAME$1c = `${CSS_PREFIX}-tab-panel`;
13099
12365
 
13100
12366
  /**
13101
12367
  * Component default props.
@@ -13118,7 +12384,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
13118
12384
  className,
13119
12385
  isActive: propIsActive
13120
12386
  } = props,
13121
- forwardedProps = _objectWithoutProperties(props, _excluded$1n);
12387
+ forwardedProps = _objectWithoutProperties(props, _excluded$1k);
13122
12388
  const state = useTabProviderContext('tabPanel', id);
13123
12389
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
13124
12390
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -13126,7 +12392,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
13126
12392
  }, forwardedProps, {
13127
12393
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
13128
12394
  className: classnames(className, handleBasicClasses({
13129
- prefix: CLASSNAME$1d,
12395
+ prefix: CLASSNAME$1c,
13130
12396
  isActive
13131
12397
  })),
13132
12398
  role: "tabpanel",
@@ -13134,11 +12400,11 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
13134
12400
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
13135
12401
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
13136
12402
  });
13137
- TabPanel.displayName = COMPONENT_NAME$1g;
13138
- TabPanel.className = CLASSNAME$1d;
12403
+ TabPanel.displayName = COMPONENT_NAME$1f;
12404
+ TabPanel.className = CLASSNAME$1c;
13139
12405
  TabPanel.defaultProps = DEFAULT_PROPS$Z;
13140
12406
 
13141
- const _excluded$1o = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
12407
+ const _excluded$1l = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13142
12408
  _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"];
13143
12409
 
13144
12410
  /**
@@ -13148,12 +12414,12 @@ const _excluded$1o = ["id", "isDisabled", "isRequired", "placeholder", "multilin
13148
12414
  /**
13149
12415
  * Component display name.
13150
12416
  */
13151
- const COMPONENT_NAME$1h = 'TextField';
12417
+ const COMPONENT_NAME$1g = 'TextField';
13152
12418
 
13153
12419
  /**
13154
12420
  * Component default class name and class prefix.
13155
12421
  */
13156
- const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
12422
+ const CLASSNAME$1d = getRootClassName(COMPONENT_NAME$1g);
13157
12423
 
13158
12424
  /**
13159
12425
  * Default minimum number of rows in the multiline mode.
@@ -13223,7 +12489,7 @@ const renderInputNative = props => {
13223
12489
  hasError,
13224
12490
  describedById
13225
12491
  } = props,
13226
- forwardedProps = _objectWithoutProperties(props, _excluded$1o);
12492
+ forwardedProps = _objectWithoutProperties(props, _excluded$1l);
13227
12493
  // eslint-disable-next-line react-hooks/rules-of-hooks
13228
12494
  const ref = useRef(null);
13229
12495
 
@@ -13248,7 +12514,7 @@ const renderInputNative = props => {
13248
12514
  const Component = multiline ? 'textarea' : 'input';
13249
12515
  const inputProps = _objectSpread2(_objectSpread2({}, forwardedProps), {}, {
13250
12516
  id,
13251
- className: multiline ? `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--textarea` : `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--text`,
12517
+ className: multiline ? `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--textarea` : `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--text`,
13252
12518
  placeholder,
13253
12519
  value,
13254
12520
  name,
@@ -13369,31 +12635,31 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
13369
12635
  isDisabled,
13370
12636
  isFocus: isFocus || forceFocusStyle,
13371
12637
  isValid,
13372
- prefix: CLASSNAME$1e,
12638
+ prefix: CLASSNAME$1d,
13373
12639
  theme
13374
12640
  }))
13375
12641
  }, (label || maxLength) && /*#__PURE__*/React.createElement("div", {
13376
- className: `${CLASSNAME$1e}__header`
12642
+ className: `${CLASSNAME$1d}__header`
13377
12643
  }, label && /*#__PURE__*/React.createElement(InputLabel, _extends({}, labelProps, {
13378
12644
  htmlFor: textFieldId,
13379
- className: `${CLASSNAME$1e}__label`,
12645
+ className: `${CLASSNAME$1d}__label`,
13380
12646
  isRequired: isRequired,
13381
12647
  theme: theme
13382
12648
  }), label), maxLength && /*#__PURE__*/React.createElement("div", {
13383
- className: `${CLASSNAME$1e}__char-counter`
12649
+ className: `${CLASSNAME$1d}__char-counter`
13384
12650
  }, /*#__PURE__*/React.createElement("span", null, maxLength - valueLength), maxLength - valueLength === 0 && /*#__PURE__*/React.createElement(Icon, {
13385
12651
  icon: mdiAlertCircle,
13386
12652
  size: Size.xxs
13387
12653
  }))), /*#__PURE__*/React.createElement("div", {
13388
- className: `${CLASSNAME$1e}__wrapper`,
12654
+ className: `${CLASSNAME$1d}__wrapper`,
13389
12655
  ref: textFieldRef
13390
12656
  }, icon && /*#__PURE__*/React.createElement(Icon, {
13391
- className: `${CLASSNAME$1e}__input-icon`,
12657
+ className: `${CLASSNAME$1d}__input-icon`,
13392
12658
  color: theme === Theme.dark ? 'light' : undefined,
13393
12659
  icon: icon,
13394
12660
  size: Size.xs
13395
12661
  }), chips && /*#__PURE__*/React.createElement("div", {
13396
- className: `${CLASSNAME$1e}__chips`
12662
+ className: `${CLASSNAME$1d}__chips`
13397
12663
  }, chips, renderInputNative(_objectSpread2({
13398
12664
  id: textFieldId,
13399
12665
  inputRef,
@@ -13414,7 +12680,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
13414
12680
  hasError,
13415
12681
  describedById
13416
12682
  }, forwardedProps))), !chips && /*#__PURE__*/React.createElement("div", {
13417
- className: `${CLASSNAME$1e}__input-wrapper`
12683
+ className: `${CLASSNAME$1d}__input-wrapper`
13418
12684
  }, renderInputNative(_objectSpread2({
13419
12685
  id: textFieldId,
13420
12686
  inputRef,
@@ -13435,12 +12701,12 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
13435
12701
  hasError,
13436
12702
  describedById
13437
12703
  }, forwardedProps))), (isValid || hasError) && /*#__PURE__*/React.createElement(Icon, {
13438
- className: `${CLASSNAME$1e}__input-validity`,
12704
+ className: `${CLASSNAME$1d}__input-validity`,
13439
12705
  color: theme === Theme.dark ? 'light' : undefined,
13440
12706
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
13441
12707
  size: Size.xxs
13442
12708
  }), clearButtonProps && isNotEmpty && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
13443
- className: `${CLASSNAME$1e}__input-clear`,
12709
+ className: `${CLASSNAME$1d}__input-clear`,
13444
12710
  icon: mdiCloseCircle,
13445
12711
  emphasis: Emphasis.low,
13446
12712
  size: Size.s,
@@ -13448,20 +12714,20 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
13448
12714
  onClick: handleClear,
13449
12715
  type: "button"
13450
12716
  })), afterElement && /*#__PURE__*/React.createElement("div", {
13451
- className: `${CLASSNAME$1e}__after-element`
12717
+ className: `${CLASSNAME$1d}__after-element`
13452
12718
  }, afterElement)), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
13453
- className: `${CLASSNAME$1e}__helper`,
12719
+ className: `${CLASSNAME$1d}__helper`,
13454
12720
  kind: Kind.error,
13455
12721
  theme: theme,
13456
12722
  id: errorId
13457
12723
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
13458
- className: `${CLASSNAME$1e}__helper`,
12724
+ className: `${CLASSNAME$1d}__helper`,
13459
12725
  theme: theme,
13460
12726
  id: helperId
13461
12727
  }, helper));
13462
12728
  });
13463
- TextField.displayName = COMPONENT_NAME$1h;
13464
- TextField.className = CLASSNAME$1e;
12729
+ TextField.displayName = COMPONENT_NAME$1g;
12730
+ TextField.className = CLASSNAME$1d;
13465
12731
  TextField.defaultProps = DEFAULT_PROPS$_;
13466
12732
 
13467
12733
  function getState(img, event) {
@@ -13514,7 +12780,6 @@ function shiftPosition(_ref) {
13514
12780
  const shift = startFocus / (scaledSize - containerSize);
13515
12781
  return Math.floor(Math.max(Math.min(shift, 1), 0) * 100);
13516
12782
  }
13517
-
13518
12783
  // Compute CSS properties to apply the focus point.
13519
12784
  const useFocusPointStyle = (_ref2, element, isLoaded) => {
13520
12785
  let {
@@ -13607,7 +12872,7 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
13607
12872
  return style;
13608
12873
  };
13609
12874
 
13610
- const _excluded$1p = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
12875
+ const _excluded$1m = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
13611
12876
 
13612
12877
  /**
13613
12878
  * Defines the props of the component.
@@ -13616,12 +12881,12 @@ const _excluded$1p = ["align", "alt", "aspectRatio", "badge", "className", "cros
13616
12881
  /**
13617
12882
  * Component display name.
13618
12883
  */
13619
- const COMPONENT_NAME$1i = 'Thumbnail';
12884
+ const COMPONENT_NAME$1h = 'Thumbnail';
13620
12885
 
13621
12886
  /**
13622
12887
  * Component default class name and class prefix.
13623
12888
  */
13624
- const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
12889
+ const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
13625
12890
 
13626
12891
  /**
13627
12892
  * Component default props.
@@ -13664,7 +12929,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13664
12929
  linkProps,
13665
12930
  linkAs
13666
12931
  } = props,
13667
- forwardedProps = _objectWithoutProperties(props, _excluded$1p);
12932
+ forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13668
12933
  const [imgElement, setImgElement] = useState();
13669
12934
 
13670
12935
  // Image loading state.
@@ -13703,7 +12968,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13703
12968
  className: classnames(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className, handleBasicClasses({
13704
12969
  align,
13705
12970
  aspectRatio,
13706
- prefix: CLASSNAME$1f,
12971
+ prefix: CLASSNAME$1e,
13707
12972
  size,
13708
12973
  theme,
13709
12974
  variant,
@@ -13714,14 +12979,14 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13714
12979
  isLoading,
13715
12980
  objectFit,
13716
12981
  hasBadge: !!badge
13717
- }), fillHeight && `${CLASSNAME$1f}--fill-height`)
12982
+ }), fillHeight && `${CLASSNAME$1e}--fill-height`)
13718
12983
  }), /*#__PURE__*/React.createElement("span", {
13719
- className: `${CLASSNAME$1f}__background`
12984
+ className: `${CLASSNAME$1e}__background`
13720
12985
  }, /*#__PURE__*/React.createElement("img", _extends({}, imgProps, {
13721
12986
  style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), imageErrorStyle), focusPointStyle),
13722
12987
  ref: mergeRefs(setImgElement, propImgRef),
13723
12988
  className: classnames(handleBasicClasses({
13724
- prefix: `${CLASSNAME$1f}__image`,
12989
+ prefix: `${CLASSNAME$1e}__image`,
13725
12990
  isLoading,
13726
12991
  hasDefinedSize: Boolean((imgProps === null || imgProps === void 0 ? void 0 : imgProps.height) && imgProps.width)
13727
12992
  }), imgProps === null || imgProps === void 0 ? void 0 : imgProps.className),
@@ -13730,17 +12995,17 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13730
12995
  alt: alt,
13731
12996
  loading: loading
13732
12997
  })), !isLoading && hasError && /*#__PURE__*/React.createElement("span", {
13733
- className: `${CLASSNAME$1f}__fallback`
12998
+ className: `${CLASSNAME$1e}__fallback`
13734
12999
  }, hasIconErrorFallback ? /*#__PURE__*/React.createElement(Icon, {
13735
13000
  icon: fallback,
13736
13001
  size: Size.xxs,
13737
13002
  theme: theme
13738
13003
  }) : fallback)), badge && /*#__PURE__*/React.cloneElement(badge, {
13739
- className: classnames(`${CLASSNAME$1f}__badge`, badge.props.className)
13004
+ className: classnames(`${CLASSNAME$1e}__badge`, badge.props.className)
13740
13005
  }));
13741
13006
  });
13742
- Thumbnail.displayName = COMPONENT_NAME$1i;
13743
- Thumbnail.className = CLASSNAME$1f;
13007
+ Thumbnail.displayName = COMPONENT_NAME$1h;
13008
+ Thumbnail.className = CLASSNAME$1e;
13744
13009
  Thumbnail.defaultProps = DEFAULT_PROPS$$;
13745
13010
 
13746
13011
  /**
@@ -13778,7 +13043,7 @@ const ThumbnailObjectFit = {
13778
13043
  contain: 'contain'
13779
13044
  };
13780
13045
 
13781
- const _excluded$1q = ["after", "before", "className", "label"];
13046
+ const _excluded$1n = ["after", "before", "className", "label"];
13782
13047
 
13783
13048
  /**
13784
13049
  * Defines the props of the component.
@@ -13787,12 +13052,12 @@ const _excluded$1q = ["after", "before", "className", "label"];
13787
13052
  /**
13788
13053
  * Component display name.
13789
13054
  */
13790
- const COMPONENT_NAME$1j = 'Toolbar';
13055
+ const COMPONENT_NAME$1i = 'Toolbar';
13791
13056
 
13792
13057
  /**
13793
13058
  * Component default class name and class prefix.
13794
13059
  */
13795
- const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
13060
+ const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
13796
13061
 
13797
13062
  /**
13798
13063
  * Component default props.
@@ -13813,7 +13078,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13813
13078
  className,
13814
13079
  label
13815
13080
  } = props,
13816
- forwardedProps = _objectWithoutProperties(props, _excluded$1q);
13081
+ forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13817
13082
  return /*#__PURE__*/React.createElement("div", _extends({
13818
13083
  ref: ref
13819
13084
  }, forwardedProps, {
@@ -13821,18 +13086,18 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13821
13086
  hasAfter: Boolean(after),
13822
13087
  hasBefore: Boolean(before),
13823
13088
  hasLabel: Boolean(label),
13824
- prefix: CLASSNAME$1g
13089
+ prefix: CLASSNAME$1f
13825
13090
  }))
13826
13091
  }), before && /*#__PURE__*/React.createElement("div", {
13827
- className: `${CLASSNAME$1g}__before`
13092
+ className: `${CLASSNAME$1f}__before`
13828
13093
  }, before), label && /*#__PURE__*/React.createElement("div", {
13829
- className: `${CLASSNAME$1g}__label`
13094
+ className: `${CLASSNAME$1f}__label`
13830
13095
  }, label), after && /*#__PURE__*/React.createElement("div", {
13831
- className: `${CLASSNAME$1g}__after`
13096
+ className: `${CLASSNAME$1f}__after`
13832
13097
  }, after));
13833
13098
  });
13834
- Toolbar.displayName = COMPONENT_NAME$1j;
13835
- Toolbar.className = CLASSNAME$1g;
13099
+ Toolbar.displayName = COMPONENT_NAME$1i;
13100
+ Toolbar.className = CLASSNAME$1f;
13836
13101
  Toolbar.defaultProps = DEFAULT_PROPS$10;
13837
13102
 
13838
13103
  /**
@@ -14010,7 +13275,7 @@ function useTooltipOpen(delay, anchorElement) {
14010
13275
  };
14011
13276
  }
14012
13277
 
14013
- const _excluded$1r = ["label", "children", "className", "delay", "placement", "forceOpen"];
13278
+ const _excluded$1o = ["label", "children", "className", "delay", "placement", "forceOpen"];
14014
13279
 
14015
13280
  /** Position of the tooltip relative to the anchor element. */
14016
13281
 
@@ -14021,12 +13286,12 @@ const _excluded$1r = ["label", "children", "className", "delay", "placement", "f
14021
13286
  /**
14022
13287
  * Component display name.
14023
13288
  */
14024
- const COMPONENT_NAME$1k = 'Tooltip';
13289
+ const COMPONENT_NAME$1j = 'Tooltip';
14025
13290
 
14026
13291
  /**
14027
13292
  * Component default class name and class prefix.
14028
13293
  */
14029
- const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
13294
+ const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
14030
13295
 
14031
13296
  /**
14032
13297
  * Component default props.
@@ -14057,7 +13322,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
14057
13322
  placement,
14058
13323
  forceOpen
14059
13324
  } = props,
14060
- forwardedProps = _objectWithoutProperties(props, _excluded$1r);
13325
+ forwardedProps = _objectWithoutProperties(props, _excluded$1o);
14061
13326
  // Disable in SSR or without a label.
14062
13327
  if (!DOCUMENT || !label) {
14063
13328
  return /*#__PURE__*/React.createElement(TooltipContextProvider, null, children);
@@ -14091,23 +13356,23 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
14091
13356
  role: "tooltip",
14092
13357
  "aria-label": label,
14093
13358
  className: classnames(className, handleBasicClasses({
14094
- prefix: CLASSNAME$1h,
13359
+ prefix: CLASSNAME$1g,
14095
13360
  position
14096
13361
  })),
14097
13362
  style: styles.popper
14098
13363
  }, attributes.popper), /*#__PURE__*/React.createElement("div", {
14099
- className: `${CLASSNAME$1h}__arrow`
13364
+ className: `${CLASSNAME$1g}__arrow`
14100
13365
  }), /*#__PURE__*/React.createElement("div", {
14101
- className: `${CLASSNAME$1h}__inner`
13366
+ className: `${CLASSNAME$1g}__inner`
14102
13367
  }, label.indexOf('\n') !== -1 ? label.split('\n').map(sentence => /*#__PURE__*/React.createElement("p", {
14103
13368
  key: sentence
14104
13369
  }, sentence)) : label)), document.body));
14105
13370
  });
14106
- Tooltip.displayName = COMPONENT_NAME$1k;
14107
- Tooltip.className = CLASSNAME$1h;
13371
+ Tooltip.displayName = COMPONENT_NAME$1j;
13372
+ Tooltip.className = CLASSNAME$1g;
14108
13373
  Tooltip.defaultProps = DEFAULT_PROPS$11;
14109
13374
 
14110
- const _excluded$1s = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
13375
+ const _excluded$1p = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14111
13376
 
14112
13377
  /**
14113
13378
  * Uploader variants.
@@ -14133,12 +13398,12 @@ const UploaderVariant = {
14133
13398
  /**
14134
13399
  * Component display name.
14135
13400
  */
14136
- const COMPONENT_NAME$1l = 'Uploader';
13401
+ const COMPONENT_NAME$1k = 'Uploader';
14137
13402
 
14138
13403
  /**
14139
13404
  * Component default class name and class prefix.
14140
13405
  */
14141
- const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
13406
+ const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
14142
13407
 
14143
13408
  /**
14144
13409
  * Component default props.
@@ -14168,7 +13433,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
14168
13433
  variant,
14169
13434
  fileInputProps
14170
13435
  } = props,
14171
- forwardedProps = _objectWithoutProperties(props, _excluded$1s);
13436
+ forwardedProps = _objectWithoutProperties(props, _excluded$1p);
14172
13437
  // Adjust to square aspect ratio when using circle variants.
14173
13438
  const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
14174
13439
  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]);
@@ -14197,26 +13462,26 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
14197
13462
  }, wrapper.props, forwardedProps, {
14198
13463
  className: classnames(className, handleBasicClasses({
14199
13464
  aspectRatio: adjustedAspectRatio,
14200
- prefix: CLASSNAME$1i,
13465
+ prefix: CLASSNAME$1h,
14201
13466
  size,
14202
13467
  theme,
14203
13468
  variant,
14204
13469
  isDragHovering
14205
13470
  }))
14206
13471
  }), /*#__PURE__*/React.createElement("span", {
14207
- className: `${CLASSNAME$1i}__background`
13472
+ className: `${CLASSNAME$1h}__background`
14208
13473
  }), /*#__PURE__*/React.createElement("span", {
14209
- className: `${CLASSNAME$1i}__wrapper`
13474
+ className: `${CLASSNAME$1h}__wrapper`
14210
13475
  }, icon && /*#__PURE__*/React.createElement(Icon, {
14211
- className: `${CLASSNAME$1i}__icon`,
13476
+ className: `${CLASSNAME$1h}__icon`,
14212
13477
  icon: icon,
14213
13478
  size: Size.s
14214
13479
  }), label && /*#__PURE__*/React.createElement("span", {
14215
- className: `${CLASSNAME$1i}__label`
13480
+ className: `${CLASSNAME$1h}__label`
14216
13481
  }, label)), fileInputProps && /*#__PURE__*/React.createElement("input", _extends({
14217
13482
  type: "file",
14218
13483
  id: inputId,
14219
- className: `${CLASSNAME$1i}__input`
13484
+ className: `${CLASSNAME$1h}__input`
14220
13485
  }, fileInputProps, {
14221
13486
  onChange: onChange,
14222
13487
  onDragEnter: setDragHovering,
@@ -14224,11 +13489,11 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
14224
13489
  onDrop: unsetDragHovering
14225
13490
  })));
14226
13491
  });
14227
- Uploader.displayName = COMPONENT_NAME$1l;
14228
- Uploader.className = CLASSNAME$1i;
13492
+ Uploader.displayName = COMPONENT_NAME$1k;
13493
+ Uploader.className = CLASSNAME$1h;
14229
13494
  Uploader.defaultProps = DEFAULT_PROPS$12;
14230
13495
 
14231
- const _excluded$1t = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
13496
+ const _excluded$1q = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14232
13497
 
14233
13498
  /**
14234
13499
  * User block sizes.
@@ -14241,12 +13506,12 @@ const _excluded$1t = ["avatarProps", "className", "fields", "linkProps", "linkAs
14241
13506
  /**
14242
13507
  * Component display name.
14243
13508
  */
14244
- const COMPONENT_NAME$1m = 'UserBlock';
13509
+ const COMPONENT_NAME$1l = 'UserBlock';
14245
13510
 
14246
13511
  /**
14247
13512
  * Component default class name and class prefix.
14248
13513
  */
14249
- const CLASSNAME$1j = getRootClassName(COMPONENT_NAME$1m);
13514
+ const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
14250
13515
 
14251
13516
  /**
14252
13517
  * Component default props.
@@ -14282,7 +13547,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
14282
13547
  size,
14283
13548
  theme
14284
13549
  } = props,
14285
- forwardedProps = _objectWithoutProperties(props, _excluded$1t);
13550
+ forwardedProps = _objectWithoutProperties(props, _excluded$1q);
14286
13551
  let componentSize = size;
14287
13552
 
14288
13553
  // Special case - When using vertical orientation force the size to be Sizes.l.
@@ -14298,7 +13563,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
14298
13563
  }
14299
13564
  let NameComponent = 'span';
14300
13565
  const nProps = _objectSpread2(_objectSpread2({}, nameProps), {}, {
14301
- className: classnames(`${CLASSNAME$1j}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
13566
+ className: classnames(`${CLASSNAME$1i}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
14302
13567
  });
14303
13568
  if (isClickable) {
14304
13569
  NameComponent = Link;
@@ -14315,16 +13580,16 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
14315
13580
  return /*#__PURE__*/React.createElement(NameComponent, nProps, name);
14316
13581
  }, [avatarProps, isClickable, linkAs, linkProps, name, nameProps, onClick]);
14317
13582
  const fieldsBlock = fields && componentSize !== Size.s && /*#__PURE__*/React.createElement("div", {
14318
- className: `${CLASSNAME$1j}__fields`
13583
+ className: `${CLASSNAME$1i}__fields`
14319
13584
  }, fields.map((field, idx) => /*#__PURE__*/React.createElement("span", {
14320
13585
  key: idx,
14321
- className: `${CLASSNAME$1j}__field`
13586
+ className: `${CLASSNAME$1i}__field`
14322
13587
  }, field)));
14323
13588
  return /*#__PURE__*/React.createElement("div", _extends({
14324
13589
  ref: ref
14325
13590
  }, forwardedProps, {
14326
13591
  className: classnames(className, handleBasicClasses({
14327
- prefix: CLASSNAME$1j,
13592
+ prefix: CLASSNAME$1i,
14328
13593
  orientation,
14329
13594
  size: componentSize,
14330
13595
  theme,
@@ -14337,21 +13602,21 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
14337
13602
  linkProps: linkProps,
14338
13603
  alt: ""
14339
13604
  }, avatarProps, {
14340
- className: classnames(`${CLASSNAME$1j}__avatar`, avatarProps.className),
13605
+ className: classnames(`${CLASSNAME$1i}__avatar`, avatarProps.className),
14341
13606
  size: componentSize,
14342
13607
  onClick: onClick,
14343
13608
  theme: theme
14344
13609
  })), (fields || name) && /*#__PURE__*/React.createElement("div", {
14345
- className: `${CLASSNAME$1j}__wrapper`
13610
+ className: `${CLASSNAME$1i}__wrapper`
14346
13611
  }, nameBlock, fieldsBlock), shouldDisplayActions && simpleAction && /*#__PURE__*/React.createElement("div", {
14347
- className: `${CLASSNAME$1j}__action`
13612
+ className: `${CLASSNAME$1i}__action`
14348
13613
  }, simpleAction), shouldDisplayActions && multipleActions && /*#__PURE__*/React.createElement("div", {
14349
- className: `${CLASSNAME$1j}__actions`
13614
+ className: `${CLASSNAME$1i}__actions`
14350
13615
  }, multipleActions));
14351
13616
  });
14352
- UserBlock.displayName = COMPONENT_NAME$1m;
14353
- UserBlock.className = CLASSNAME$1j;
13617
+ UserBlock.displayName = COMPONENT_NAME$1l;
13618
+ UserBlock.className = CLASSNAME$1i;
14354
13619
  UserBlock.defaultProps = DEFAULT_PROPS$13;
14355
13620
 
14356
- 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 };
13621
+ 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 };
14357
13622
  //# sourceMappingURL=index.js.map