@lumx/react 3.7.6-test.1 → 3.8.1-alpha.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 (34) hide show
  1. package/index.d.ts +69 -5
  2. package/index.js +1322 -549
  3. package/index.js.map +1 -1
  4. package/package.json +3 -4
  5. package/src/components/checkbox/Checkbox.stories.tsx +9 -0
  6. package/src/components/checkbox/Checkbox.test.tsx +12 -0
  7. package/src/components/checkbox/Checkbox.tsx +25 -9
  8. package/src/components/image-lightbox/ImageLightbox.stories.tsx +165 -0
  9. package/src/components/image-lightbox/ImageLightbox.test.tsx +253 -0
  10. package/src/components/image-lightbox/ImageLightbox.tsx +72 -0
  11. package/src/components/image-lightbox/constants.ts +11 -0
  12. package/src/components/image-lightbox/index.ts +2 -0
  13. package/src/components/image-lightbox/internal/ImageSlide.tsx +107 -0
  14. package/src/components/image-lightbox/internal/ImageSlideshow.tsx +173 -0
  15. package/src/components/image-lightbox/internal/useAnimateScroll.ts +55 -0
  16. package/src/components/image-lightbox/internal/usePointerZoom.ts +148 -0
  17. package/src/components/image-lightbox/types.ts +50 -0
  18. package/src/components/image-lightbox/useImageLightbox.tsx +130 -0
  19. package/src/components/thumbnail/Thumbnail.stories.tsx +35 -0
  20. package/src/components/thumbnail/Thumbnail.tsx +21 -2
  21. package/src/components/thumbnail/useFocusPointStyle.tsx +3 -4
  22. package/src/hooks/useElementSizeDependentOfWindowSize.ts +32 -0
  23. package/src/hooks/useImageSize.ts +17 -0
  24. package/src/index.ts +1 -0
  25. package/src/stories/generated/ImageLightbox/Demos.stories.tsx +6 -0
  26. package/src/utils/DOM/findImage.tsx +3 -0
  27. package/src/utils/DOM/startViewTransition.ts +56 -0
  28. package/src/utils/browser/getPrefersReducedMotion.ts +6 -0
  29. package/src/utils/object/isEqual.test.ts +25 -0
  30. package/src/utils/object/isEqual.ts +11 -0
  31. package/src/utils/react/unref.ts +7 -0
  32. package/src/utils/type.ts +15 -0
  33. package/src/utils/unref.ts +0 -0
  34. package/src/hooks/useOnResize.ts +0 -41
package/index.js CHANGED
@@ -6,7 +6,7 @@ import noop from 'lodash/noop';
6
6
  import get from 'lodash/get';
7
7
  import isFunction from 'lodash/isFunction';
8
8
  import last from 'lodash/last';
9
- import { createPortal } from 'react-dom';
9
+ import ReactDOM, { createPortal } from 'react-dom';
10
10
  import pull from 'lodash/pull';
11
11
  import concat from 'lodash/concat';
12
12
  import dropRight from 'lodash/dropRight';
@@ -17,6 +17,7 @@ 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 throttle from 'lodash/throttle';
20
21
  import take from 'lodash/take';
21
22
  import uniqueId from 'lodash/uniqueId';
22
23
  import isObject from 'lodash/isObject';
@@ -341,7 +342,7 @@ var classnames = createCommonjsModule(function (module) {
341
342
  }());
342
343
  });
343
344
 
344
- const mdiAlert='M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z';const mdiAlertCircle='M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiArrowDown='M11 4h2v12l5.5-5.5 1.42 1.42L12 19.84l-7.92-7.92L5.5 10.5 11 16z';const mdiArrowUp='M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z';const mdiCheck='M21 7 9 19l-5.5-5.5 1.41-1.41L9 16.17 19.59 5.59z';const mdiCheckCircle='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z';const mdiChevronDown='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z';const mdiChevronLeft='M15.41 16.58 10.83 12l4.58-4.59L14 6l-6 6 6 6z';const mdiChevronRight='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z';const mdiChevronUp='M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z';const mdiClose='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z';const mdiCloseCircle='M12 2a10 10 0 1 1 0 20 10 10 0 1 1 0-20m3.59 5L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z';const mdiDragVertical='M9 3h2v2H9zm4 0h2v2h-2zM9 7h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2z';const mdiImageBroken='M19 3a2 2 0 0 1 2 2v6h-2v2h-2v2h-2v2h-2v2h-2v2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 12v4a2 2 0 0 1-2 2h-4v-2h2v-2h2v-2zm-2-6.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H11v-1h2v-2h2v-2h2V9h2z';const mdiInformation='M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiMenuDown='m7 10 5 5 5-5z';const mdiPauseCircleOutline='M13 16V8h2v8zm-4 0V8h2v8zm3-14a10 10 0 0 1 10 10 10 10 0 0 1-10 10A10 10 0 0 1 2 12 10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8';const mdiPlayCircleOutline='M12 20a8.01 8.01 0 0 1 0-16 8.01 8.01 0 0 1 0 16m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m-2 14.5 6-4.5-6-4.5z';const mdiRadioboxBlank='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiRadioboxMarked='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 5a5 5 0 0 0-5 5 5 5 0 0 0 5 5 5 5 0 0 0 5-5 5 5 0 0 0-5-5';
345
+ const mdiAlert='M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z';const mdiAlertCircle='M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiArrowDown='M11 4h2v12l5.5-5.5 1.42 1.42L12 19.84l-7.92-7.92L5.5 10.5 11 16z';const mdiArrowUp='M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z';const mdiCheck='M21 7 9 19l-5.5-5.5 1.41-1.41L9 16.17 19.59 5.59z';const mdiCheckCircle='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z';const mdiChevronDown='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z';const mdiChevronLeft='M15.41 16.58 10.83 12l4.58-4.59L14 6l-6 6 6 6z';const mdiChevronRight='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z';const mdiChevronUp='M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z';const mdiClose='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z';const mdiCloseCircle='M12 2a10 10 0 1 1 0 20 10 10 0 1 1 0-20m3.59 5L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z';const mdiDragVertical='M9 3h2v2H9zm4 0h2v2h-2zM9 7h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2zm-4 4h2v2H9zm4 0h2v2h-2z';const mdiImageBroken='M19 3a2 2 0 0 1 2 2v6h-2v2h-2v2h-2v2h-2v2h-2v2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 12v4a2 2 0 0 1-2 2h-4v-2h2v-2h2v-2zm-2-6.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H11v-1h2v-2h2v-2h2V9h2z';const mdiInformation='M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiMagnifyMinusOutline='M15.5 14h-.79l-.28-.27A6.5 6.5 0 0 0 16 9.5 6.5 6.5 0 0 0 9.5 3 6.5 6.5 0 0 0 3 9.5 6.5 6.5 0 0 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5zm-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7z';const mdiMagnifyPlusOutline='m15.5 14 5 5-1.5 1.5-5-5v-.79l-.27-.28A6.5 6.5 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3 6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27zm-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2z';const mdiMenuDown='m7 10 5 5 5-5z';const mdiMinus='M19 13H5v-2h14z';const mdiPauseCircleOutline='M13 16V8h2v8zm-4 0V8h2v8zm3-14a10 10 0 0 1 10 10 10 10 0 0 1-10 10A10 10 0 0 1 2 12 10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8';const mdiPlayCircleOutline='M12 20a8.01 8.01 0 0 1 0-16 8.01 8.01 0 0 1 0 16m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m-2 14.5 6-4.5-6-4.5z';const mdiRadioboxBlank='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2';const mdiRadioboxMarked='M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 5a5 5 0 0 0-5 5 5 5 0 0 0 5 5 5 5 0 0 0 5-5 5 5 0 0 0-5-5';
345
346
 
346
347
  var IDX=256, HEX=[], SIZE=256, BUFFER;
347
348
  while (IDX--) HEX[IDX] = (IDX + 256).toString(16).substring(1);
@@ -1255,6 +1256,18 @@ const isComponentType = type => node => /*#__PURE__*/React.isValidElement(node)
1255
1256
  * @example ComponentRef<Button> => React.Ref<HTMLButtonElement
1256
1257
  */
1257
1258
 
1259
+ /**
1260
+ * Rectangle size
1261
+ */
1262
+
1263
+ /**
1264
+ * Maybe a HTMLElement or a React ref of a HTMLElement
1265
+ */
1266
+
1267
+ /**
1268
+ * A point coordinate in 2D space
1269
+ */
1270
+
1258
1271
  const _excluded$6 = ["linkAs"];
1259
1272
  /**
1260
1273
  * Render link with default <a> HTML component or a custom one provided by `linkAs`.
@@ -1589,6 +1602,11 @@ ButtonGroup.defaultProps = DEFAULT_PROPS$7;
1589
1602
 
1590
1603
  const _excluded$b = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
1591
1604
 
1605
+ /**
1606
+ * Intermediate state of checkbox.
1607
+ */
1608
+ const INTERMEDIATE_STATE = 'intermediate';
1609
+
1592
1610
  /**
1593
1611
  * Defines the props of the component.
1594
1612
  */
@@ -1635,17 +1653,24 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
1635
1653
  inputProps = {}
1636
1654
  } = props,
1637
1655
  forwardedProps = _objectWithoutProperties(props, _excluded$b);
1656
+ const localInputRef = React.useRef(null);
1638
1657
  const inputId = useMemo(() => id || `${CLASSNAME$8.toLowerCase()}-${uid()}`, [id]);
1639
1658
  const handleChange = event => {
1640
1659
  if (onChange) {
1641
1660
  onChange(!isChecked, value, name, event);
1642
1661
  }
1643
1662
  };
1663
+ const intermediateState = isChecked === INTERMEDIATE_STATE;
1664
+ React.useEffect(() => {
1665
+ const input = localInputRef.current;
1666
+ if (input) input.indeterminate = intermediateState;
1667
+ }, [intermediateState]);
1644
1668
  return /*#__PURE__*/React.createElement("div", _extends({
1645
1669
  ref: ref
1646
1670
  }, forwardedProps, {
1647
1671
  className: classnames(className, handleBasicClasses({
1648
- isChecked,
1672
+ // Whether state is intermediate class name will "-checked"
1673
+ isChecked: intermediateState ? true : isChecked,
1649
1674
  isDisabled,
1650
1675
  isUnchecked: !isChecked,
1651
1676
  prefix: CLASSNAME$8,
@@ -1654,7 +1679,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
1654
1679
  }), /*#__PURE__*/React.createElement("div", {
1655
1680
  className: `${CLASSNAME$8}__input-wrapper`
1656
1681
  }, /*#__PURE__*/React.createElement("input", _extends({
1657
- ref: inputRef,
1682
+ ref: useMergeRefs(inputRef, localInputRef),
1658
1683
  type: "checkbox",
1659
1684
  id: inputId,
1660
1685
  className: `${CLASSNAME$8}__input-native`,
@@ -1664,7 +1689,8 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
1664
1689
  value: value,
1665
1690
  checked: isChecked,
1666
1691
  onChange: handleChange,
1667
- "aria-describedby": helper ? `${inputId}-helper` : undefined
1692
+ "aria-describedby": helper ? `${inputId}-helper` : undefined,
1693
+ "aria-checked": intermediateState ? 'mixed' : Boolean(isChecked)
1668
1694
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
1669
1695
  className: `${CLASSNAME$8}__input-placeholder`
1670
1696
  }, /*#__PURE__*/React.createElement("div", {
@@ -1672,7 +1698,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
1672
1698
  }), /*#__PURE__*/React.createElement("div", {
1673
1699
  className: `${CLASSNAME$8}__input-indicator`
1674
1700
  }, /*#__PURE__*/React.createElement(Icon, {
1675
- icon: mdiCheck
1701
+ icon: intermediateState ? mdiMinus : mdiCheck
1676
1702
  })))), /*#__PURE__*/React.createElement("div", {
1677
1703
  className: `${CLASSNAME$8}__content`
1678
1704
  }, label && /*#__PURE__*/React.createElement(InputLabel, {
@@ -7791,7 +7817,736 @@ ImageBlock.displayName = COMPONENT_NAME$x;
7791
7817
  ImageBlock.className = CLASSNAME$u;
7792
7818
  ImageBlock.defaultProps = DEFAULT_PROPS$q;
7793
7819
 
7794
- const _excluded$z = ["className", "color", "colorVariant", "typography", "children", "wrap"];
7820
+ /**
7821
+ * Component display name.
7822
+ */
7823
+ const COMPONENT_NAME$y = 'ImageLightbox';
7824
+
7825
+ /**
7826
+ * Component default class name and class prefix.
7827
+ */
7828
+ const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
7829
+
7830
+ /**
7831
+ * Observe element size (only works if it's size depends on the window size).
7832
+ *
7833
+ * (Not using ResizeObserver for better browser backward compat)
7834
+ *
7835
+ * @param elementRef Element to observe
7836
+ * @return the size and a manual update callback
7837
+ */
7838
+ function useElementSizeDependentOfWindowSize(elementRef) {
7839
+ const [size, setSize] = React.useState(null);
7840
+ const updateSize = React.useMemo(() => throttle(() => {
7841
+ var _elementRef$current;
7842
+ const newSize = (_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.getBoundingClientRect();
7843
+ if (newSize) setSize(newSize);
7844
+ }, 10), [elementRef]);
7845
+ React.useEffect(() => {
7846
+ updateSize();
7847
+ window.addEventListener('resize', updateSize);
7848
+ return () => window.removeEventListener('resize', updateSize);
7849
+ }, [updateSize]);
7850
+ return [size, updateSize];
7851
+ }
7852
+
7853
+ /** Get natural image size after load. */
7854
+ function useImageSize(imgRef, getInitialSize) {
7855
+ const [imageSize, setImageSize] = React.useState(getInitialSize || null);
7856
+ React.useEffect(() => {
7857
+ const {
7858
+ current: img
7859
+ } = imgRef;
7860
+ if (!img) {
7861
+ return undefined;
7862
+ }
7863
+ const onLoad = () => setImageSize({
7864
+ width: img.naturalWidth,
7865
+ height: img.naturalHeight
7866
+ });
7867
+ img.addEventListener('load', onLoad);
7868
+ return () => img.removeEventListener('load', onLoad);
7869
+ }, [imgRef]);
7870
+ return imageSize;
7871
+ }
7872
+
7873
+ /** Check if user prefers reduced motion */
7874
+ function getPrefersReducedMotion() {
7875
+ var _WINDOW$matchMedia;
7876
+ 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;
7877
+ }
7878
+
7879
+ /** Minimal recursive deep equal of JS values */
7880
+ function isEqual(obj1, obj2) {
7881
+ if (obj1 === obj2) return true;
7882
+ if (typeof obj1 === 'object' && typeof obj2 === 'object') {
7883
+ const keys1 = Object.keys(obj1);
7884
+ const keys2 = Object.keys(obj2);
7885
+ if (keys1.length !== keys2.length) return false;
7886
+ return keys1.every(key1 => isEqual(obj1[key1], obj2[key1]));
7887
+ }
7888
+ return false;
7889
+ }
7890
+
7891
+ /**
7892
+ * Listen to mouse wheel + ctrl and multi-pointer pinch to zoom
7893
+ */
7894
+ function usePointerZoom(scrollAreaRef, onScaleChange, animateScroll) {
7895
+ const [isPointerZooming, setPointerZooming] = React.useState(false);
7896
+ React.useEffect(() => {
7897
+ const scrollArea = scrollAreaRef.current;
7898
+ if (!scrollArea || !onScaleChange) {
7899
+ return undefined;
7900
+ }
7901
+ let animationFrame;
7902
+ let zoomStateTimeoutId;
7903
+ function updateScaleOnNextFrame(newScale, mousePosition) {
7904
+ // Cancel previously scheduled frame
7905
+ if (animationFrame) cancelAnimationFrame(animationFrame);
7906
+
7907
+ // Cancel previously scheduled zoom state change
7908
+ if (zoomStateTimeoutId) clearTimeout(zoomStateTimeoutId);
7909
+ function nextFrame() {
7910
+ setPointerZooming(true);
7911
+ onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(newScale);
7912
+ animationFrame = null;
7913
+ // Wait a bit before indicating the pointer zooming is finished
7914
+ zoomStateTimeoutId = setTimeout(() => setPointerZooming(false), 100);
7915
+ }
7916
+ animationFrame = requestAnimationFrame(nextFrame);
7917
+
7918
+ // Animate scroll in parallel (centering on the current mouse position)
7919
+ animateScroll(mousePosition, {
7920
+ width: scrollArea.scrollWidth,
7921
+ height: scrollArea.scrollHeight
7922
+ });
7923
+ }
7924
+ function onWheel(event) {
7925
+ if (!event.ctrlKey) {
7926
+ return;
7927
+ }
7928
+ event.preventDefault();
7929
+ const newScale = Math.exp(-event.deltaY / 50);
7930
+
7931
+ // Update scale on next frame (focused on the mouse position)
7932
+ updateScaleOnNextFrame(newScale, {
7933
+ x: event.pageX,
7934
+ y: event.pageY
7935
+ });
7936
+ }
7937
+ const activePointers = {};
7938
+ let prevDistance = null;
7939
+ let previousCenterPoint = null;
7940
+ function onPointerDown(event) {
7941
+ activePointers[event.pointerId] = event;
7942
+ }
7943
+ function onPointerMove(event) {
7944
+ // Update pointer in cache
7945
+ if (activePointers[event.pointerId]) {
7946
+ activePointers[event.pointerId] = event;
7947
+ }
7948
+ const pointers = Object.values(activePointers);
7949
+
7950
+ // Make sure we run computation on one of the pointer in the group
7951
+ if (pointers[0].pointerId !== event.pointerId) {
7952
+ return;
7953
+ }
7954
+
7955
+ // Centered point between all pointers
7956
+ const centerPoint = {
7957
+ x: pointers.reduce((x, _ref) => {
7958
+ let {
7959
+ clientX
7960
+ } = _ref;
7961
+ return x + clientX;
7962
+ }, 0) / pointers.length,
7963
+ y: pointers.reduce((y, _ref2) => {
7964
+ let {
7965
+ clientY
7966
+ } = _ref2;
7967
+ return y + clientY;
7968
+ }, 0) / pointers.length
7969
+ };
7970
+
7971
+ // Movement of the center point
7972
+ const deltaCenterPoint = previousCenterPoint && {
7973
+ left: previousCenterPoint.x - centerPoint.x,
7974
+ top: previousCenterPoint.y - centerPoint.y
7975
+ };
7976
+
7977
+ // Pan X & Y
7978
+ if (deltaCenterPoint) {
7979
+ // Apply movement of the center point to the scroll
7980
+ scrollArea.scrollBy({
7981
+ top: deltaCenterPoint.top / 2,
7982
+ left: deltaCenterPoint.left / 2
7983
+ });
7984
+ }
7985
+
7986
+ // Pinch to zoom
7987
+ if (pointers.length === 2) {
7988
+ const [pointer1, pointer2] = pointers;
7989
+ const distance = Math.hypot(pointer2.clientX - pointer1.clientX, pointer2.clientY - pointer1.clientY);
7990
+ if (prevDistance && deltaCenterPoint) {
7991
+ const delta = prevDistance - distance;
7992
+ const absDelta = Math.abs(delta);
7993
+
7994
+ // Zoom only if we are "pinching" more than we are moving the pointers
7995
+ if (absDelta > Math.abs(deltaCenterPoint.left) && absDelta > Math.abs(deltaCenterPoint.top)) {
7996
+ // Update scale on next frame (focused on the center point between the two pointers)
7997
+ const newScale = Math.exp(-delta / 100);
7998
+ updateScaleOnNextFrame(newScale, centerPoint);
7999
+ }
8000
+ }
8001
+ prevDistance = distance;
8002
+ }
8003
+ previousCenterPoint = centerPoint;
8004
+ }
8005
+ function onPointerUp(event) {
8006
+ prevDistance = null;
8007
+ previousCenterPoint = null;
8008
+ delete activePointers[event.pointerId];
8009
+ }
8010
+ scrollArea.addEventListener('wheel', onWheel, {
8011
+ passive: false
8012
+ });
8013
+ const isMultiTouch = navigator.maxTouchPoints >= 2;
8014
+ if (isMultiTouch) {
8015
+ scrollArea.addEventListener('pointerdown', onPointerDown);
8016
+ scrollArea.addEventListener('pointermove', onPointerMove);
8017
+ scrollArea.addEventListener('pointerup', onPointerUp);
8018
+ }
8019
+ return () => {
8020
+ scrollArea.removeEventListener('wheel', onWheel);
8021
+ if (isMultiTouch) {
8022
+ scrollArea.removeEventListener('pointerdown', onPointerDown);
8023
+ scrollArea.removeEventListener('pointermove', onPointerMove);
8024
+ scrollArea.removeEventListener('pointerup', onPointerUp);
8025
+ }
8026
+ };
8027
+ }, [animateScroll, onScaleChange, scrollAreaRef]);
8028
+ return isPointerZooming;
8029
+ }
8030
+
8031
+ /** Maintains the scroll position centered relative to the original scroll area's dimensions when the content scales. */
8032
+ function useAnimateScroll(scrollAreaRef) {
8033
+ return React.useMemo(() => {
8034
+ let animationFrame = null;
8035
+ return function animate(centerPoint, initialScrollAreaSize) {
8036
+ const scrollArea = scrollAreaRef.current;
8037
+ if (!scrollArea) {
8038
+ return;
8039
+ }
8040
+
8041
+ // Cancel previously running animation
8042
+ if (animationFrame) cancelAnimationFrame(animationFrame);
8043
+
8044
+ // Center on the given point or else on the scroll area visual center
8045
+ const clientHeightRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.y ? centerPoint.y / scrollArea.clientHeight : 0.5;
8046
+ const clientWidthRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.x ? centerPoint.x / scrollArea.clientWidth : 0.5;
8047
+ const initialScrollHeight = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.height) || scrollArea.scrollHeight;
8048
+ const initialScrollWidth = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.width) || scrollArea.scrollWidth;
8049
+ const heightCenter = scrollArea.scrollTop + scrollArea.clientHeight * clientHeightRatio;
8050
+ const heightRatio = heightCenter / initialScrollHeight;
8051
+ const widthCenter = scrollArea.scrollLeft + scrollArea.clientWidth * clientWidthRatio;
8052
+ const widthRatio = widthCenter / initialScrollWidth;
8053
+ let prevScrollHeight = 0;
8054
+ let prevScrollWidth = 0;
8055
+ function nextFrame() {
8056
+ const {
8057
+ scrollHeight,
8058
+ scrollWidth,
8059
+ clientHeight,
8060
+ clientWidth
8061
+ } = scrollArea;
8062
+
8063
+ // Scroll area stopped expanding => stop animation
8064
+ if (scrollHeight === prevScrollHeight && scrollWidth === prevScrollWidth) {
8065
+ animationFrame = null;
8066
+ return;
8067
+ }
8068
+
8069
+ // Compute next scroll position
8070
+ const top = heightRatio * scrollHeight - clientHeight * clientHeightRatio;
8071
+ const left = widthRatio * scrollWidth - clientWidth * clientWidthRatio;
8072
+ scrollArea.scrollTo({
8073
+ top,
8074
+ left
8075
+ });
8076
+ prevScrollHeight = scrollHeight;
8077
+ prevScrollWidth = scrollWidth;
8078
+ animationFrame = requestAnimationFrame(nextFrame);
8079
+ }
8080
+ animationFrame = requestAnimationFrame(nextFrame);
8081
+ };
8082
+ }, [scrollAreaRef]);
8083
+ }
8084
+
8085
+ /** Internal image slide component for ImageLightbox */
8086
+ const ImageSlide = /*#__PURE__*/React.memo(props => {
8087
+ const {
8088
+ isActive,
8089
+ scale,
8090
+ onScaleChange,
8091
+ image: {
8092
+ image,
8093
+ imgRef: propImgRef,
8094
+ imgProps,
8095
+ alt,
8096
+ loadingPlaceholderImageRef
8097
+ }
8098
+ } = props;
8099
+
8100
+ // Get scroll area size
8101
+ const scrollAreaRef = React.useRef(null);
8102
+ const [scrollAreaSize, updateSize] = useElementSizeDependentOfWindowSize(scrollAreaRef);
8103
+ React.useEffect(() => {
8104
+ // Update size when active
8105
+ if (isActive) updateSize();
8106
+ }, [isActive, updateSize]);
8107
+
8108
+ // Get image size
8109
+ const imgRef = React.useRef(null);
8110
+ const imageSize = useImageSize(imgRef, () => {
8111
+ const width = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.width, 10);
8112
+ const height = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.height, 10);
8113
+ return width && height ? {
8114
+ width,
8115
+ height
8116
+ } : null;
8117
+ });
8118
+
8119
+ // Calculate new image size with scale
8120
+ const scaledImageSize = React.useMemo(() => {
8121
+ if (!scrollAreaSize || !imageSize) {
8122
+ return null;
8123
+ }
8124
+ const horizontalScale = scrollAreaSize.width / imageSize.width;
8125
+ const verticalScale = scrollAreaSize.height / imageSize.height;
8126
+ const baseScale = Math.min(1, Math.min(horizontalScale, verticalScale));
8127
+ return {
8128
+ width: imageSize.width * baseScale * (scale !== null && scale !== void 0 ? scale : 1),
8129
+ height: imageSize.height * baseScale * (scale !== null && scale !== void 0 ? scale : 1)
8130
+ };
8131
+ }, [scrollAreaSize, imageSize, scale]);
8132
+
8133
+ // Animate scroll to preserve the center of the current visible window in the scroll area
8134
+ const animateScroll = useAnimateScroll(scrollAreaRef);
8135
+
8136
+ // Zoom via mouse wheel or multi-touch pinch zoom
8137
+ const isPointerZooming = usePointerZoom(scrollAreaRef, onScaleChange, animateScroll);
8138
+
8139
+ // Animate scroll on scale change
8140
+ React.useLayoutEffect(() => {
8141
+ if (scale && !isPointerZooming) {
8142
+ animateScroll();
8143
+ }
8144
+ }, [isPointerZooming, scale, animateScroll]);
8145
+ const isScrollable = scaledImageSize && scrollAreaSize && (scaledImageSize.width > scrollAreaSize.width || scaledImageSize.height > scrollAreaSize.height);
8146
+ return /*#__PURE__*/React.createElement(SlideshowItem, {
8147
+ ref: scrollAreaRef
8148
+ // Make it accessible to keyboard nav when the zone is scrollable
8149
+ ,
8150
+ tabIndex: isScrollable ? 0 : undefined,
8151
+ className: `${CLASSNAME$v}__image-slide`
8152
+ }, /*#__PURE__*/React.createElement(Thumbnail, {
8153
+ imgRef: useMergeRefs(imgRef, propImgRef),
8154
+ image: image,
8155
+ alt: alt,
8156
+ className: `${CLASSNAME$v}__thumbnail`,
8157
+ imgProps: _objectSpread2(_objectSpread2({}, imgProps), {}, {
8158
+ style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), scaledImageSize || {
8159
+ maxHeight: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.height,
8160
+ maxWidth: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.width
8161
+ }), {}, {
8162
+ // Only animate when scale is set, and we are not pointer zooming and the user does not prefer reduced motion
8163
+ transition: scale && !isPointerZooming && !getPrefersReducedMotion() ? 'all 250ms' : undefined
8164
+ })
8165
+ }),
8166
+ loadingPlaceholderImageRef: loadingPlaceholderImageRef
8167
+ }));
8168
+ }, isEqual);
8169
+
8170
+ const _excluded$z = ["image", "imgRef"];
8171
+ /** Internal image slideshow component for ImageLightbox */
8172
+ const ImageSlideshow = _ref => {
8173
+ var _images$activeIndex, _images$activeIndex2, _images$activeIndex3;
8174
+ let {
8175
+ activeImageIndex,
8176
+ images,
8177
+ slideGroupLabel,
8178
+ zoomInButtonProps,
8179
+ zoomOutButtonProps,
8180
+ slideshowControlsProps,
8181
+ currentPaginationItemRef,
8182
+ footerRef,
8183
+ activeImageRef
8184
+ } = _ref;
8185
+ const {
8186
+ activeIndex,
8187
+ slideshowId,
8188
+ setSlideshow,
8189
+ slideshowSlidesId,
8190
+ slidesCount,
8191
+ onNextClick,
8192
+ onPaginationClick,
8193
+ onPreviousClick,
8194
+ toggleAutoPlay
8195
+ } = SlideshowControls.useSlideshowControls({
8196
+ itemsCount: images.length,
8197
+ activeIndex: activeImageIndex
8198
+ });
8199
+
8200
+ // Image metadata (caption)
8201
+ const title = (_images$activeIndex = images[activeIndex]) === null || _images$activeIndex === void 0 ? void 0 : _images$activeIndex.title;
8202
+ const description = (_images$activeIndex2 = images[activeIndex]) === null || _images$activeIndex2 === void 0 ? void 0 : _images$activeIndex2.description;
8203
+ const tags = (_images$activeIndex3 = images[activeIndex]) === null || _images$activeIndex3 === void 0 ? void 0 : _images$activeIndex3.tags;
8204
+ const metadata = title || description || tags ? /*#__PURE__*/React.createElement(ImageCaption, {
8205
+ theme: "dark",
8206
+ as: "div",
8207
+ title: title,
8208
+ description: description,
8209
+ tags: tags,
8210
+ align: "center"
8211
+ }) : null;
8212
+
8213
+ // Slideshow controls
8214
+ const slideShowControls = slidesCount > 1 && slideshowControlsProps ? /*#__PURE__*/React.createElement(SlideshowControls, _extends({
8215
+ theme: "dark",
8216
+ activeIndex: activeIndex,
8217
+ slidesCount: slidesCount,
8218
+ onNextClick: onNextClick,
8219
+ onPreviousClick: onPreviousClick,
8220
+ onPaginationClick: onPaginationClick
8221
+ }, slideshowControlsProps, {
8222
+ paginationItemProps: index => {
8223
+ var _slideshowControlsPro;
8224
+ const props = (slideshowControlsProps === null || slideshowControlsProps === void 0 ? void 0 : (_slideshowControlsPro = slideshowControlsProps.paginationItemProps) === null || _slideshowControlsPro === void 0 ? void 0 : _slideshowControlsPro.call(slideshowControlsProps, index)) || {};
8225
+ return _objectSpread2(_objectSpread2({}, props), {}, {
8226
+ ref: mergeRefs(props === null || props === void 0 ? void 0 : props.ref,
8227
+ // Focus the active pagination item once on mount
8228
+ activeIndex === index ? currentPaginationItemRef : undefined)
8229
+ });
8230
+ }
8231
+ })) : null;
8232
+
8233
+ // Zoom controls
8234
+ const [scale, setScale] = React.useState(undefined);
8235
+ const zoomEnabled = zoomInButtonProps && zoomOutButtonProps;
8236
+ const onScaleChange = React.useMemo(() => {
8237
+ if (!zoomEnabled) return undefined;
8238
+ return newScale => {
8239
+ setScale(function () {
8240
+ let prevScale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
8241
+ return Math.max(1, newScale * prevScale);
8242
+ });
8243
+ };
8244
+ }, [zoomEnabled]);
8245
+ const zoomIn = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(1.5), [onScaleChange]);
8246
+ const zoomOut = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(0.5), [onScaleChange]);
8247
+ React.useEffect(() => {
8248
+ // Reset scale on slide change
8249
+ if (activeIndex) setScale(undefined);
8250
+ }, [activeIndex]);
8251
+ const zoomControls = zoomEnabled && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomInButtonProps, {
8252
+ theme: "dark",
8253
+ emphasis: "low",
8254
+ icon: mdiMagnifyPlusOutline,
8255
+ onClick: zoomIn
8256
+ })), /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomOutButtonProps, {
8257
+ theme: "dark",
8258
+ emphasis: "low",
8259
+ isDisabled: !scale || scale <= 1,
8260
+ icon: mdiMagnifyMinusOutline,
8261
+ onClick: zoomOut
8262
+ })));
8263
+ const getImgRef = React.useMemo(() => memoize((index, isActive) => {
8264
+ return mergeRefs(images === null || images === void 0 ? void 0 : images[index].imgRef, isActive ? activeImageRef : undefined);
8265
+ },
8266
+ // memoize based on both arguments
8267
+ function () {
8268
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8269
+ args[_key] = arguments[_key];
8270
+ }
8271
+ return args.join();
8272
+ }), [images, activeImageRef]);
8273
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Slides, {
8274
+ activeIndex: activeIndex,
8275
+ theme: "dark",
8276
+ slideGroupLabel: slideGroupLabel,
8277
+ fillHeight: true,
8278
+ id: slideshowId,
8279
+ ref: setSlideshow,
8280
+ slidesId: slideshowSlidesId,
8281
+ toggleAutoPlay: toggleAutoPlay
8282
+ }, images.map((_ref2, index) => {
8283
+ let {
8284
+ image,
8285
+ imgRef
8286
+ } = _ref2,
8287
+ imageProps = _objectWithoutProperties(_ref2, _excluded$z);
8288
+ const isActive = index === activeIndex;
8289
+ return /*#__PURE__*/React.createElement(ImageSlide, {
8290
+ isActive: isActive,
8291
+ key: image,
8292
+ image: _objectSpread2(_objectSpread2({}, imageProps), {}, {
8293
+ image,
8294
+ imgRef: getImgRef(index, isActive)
8295
+ }),
8296
+ scale: isActive ? scale : undefined,
8297
+ onScaleChange: onScaleChange
8298
+ });
8299
+ })), (metadata || slideShowControls || zoomControls) && /*#__PURE__*/React.createElement(FlexBox, {
8300
+ ref: footerRef,
8301
+ className: `${CLASSNAME$v}__footer`,
8302
+ orientation: "vertical",
8303
+ vAlign: "center",
8304
+ gap: "big"
8305
+ }, metadata, /*#__PURE__*/React.createElement(FlexBox, {
8306
+ className: `${CLASSNAME$v}__footer-actions`,
8307
+ orientation: "horizontal",
8308
+ gap: "regular"
8309
+ }, slideShowControls, zoomControls)));
8310
+ };
8311
+
8312
+ /** Unref a react ref or element */
8313
+ function unref(maybeElement) {
8314
+ if (maybeElement instanceof HTMLElement) return maybeElement;
8315
+ return maybeElement === null || maybeElement === void 0 ? void 0 : maybeElement.current;
8316
+ }
8317
+
8318
+ function setTransitionViewName(elementRef, name) {
8319
+ const element = unref(elementRef);
8320
+ if (element) element.style.viewTransitionName = name;
8321
+ }
8322
+
8323
+ /**
8324
+ * Wrapper around the `document.startViewTransition` handling browser incompatibilities, react DOM flush and
8325
+ * user preference.
8326
+ *
8327
+ * @param changes callback containing the changes to apply within the view transition.
8328
+ * @param setViewTransitionName set the `viewTransitionName` style on a `source` & `target` to morph these elements.
8329
+ */
8330
+ async function startViewTransition(_ref) {
8331
+ var _document, _document$startViewTr;
8332
+ let {
8333
+ changes,
8334
+ viewTransitionName
8335
+ } = _ref;
8336
+ 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);
8337
+ const prefersReducedMotion = getPrefersReducedMotion();
8338
+ const {
8339
+ flushSync
8340
+ } = ReactDOM;
8341
+ if (prefersReducedMotion || !start || !flushSync || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.source) || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.target)) {
8342
+ // Skip, apply changes without a transition
8343
+ changes();
8344
+ return;
8345
+ }
8346
+
8347
+ // Set transition name on source element
8348
+ setTransitionViewName(viewTransitionName.source, viewTransitionName.name);
8349
+
8350
+ // Start view transition, apply changes & flush to DOM
8351
+ await start(() => {
8352
+ // Un-set transition name on source element
8353
+ setTransitionViewName(viewTransitionName.source, null);
8354
+ flushSync(changes);
8355
+
8356
+ // Set transition name on target element
8357
+ setTransitionViewName(viewTransitionName.target, viewTransitionName.name);
8358
+ }).updateCallbackDone;
8359
+
8360
+ // Un-set transition name on target element
8361
+ setTransitionViewName(viewTransitionName.target, null);
8362
+ }
8363
+
8364
+ /** Find image in element including the element */
8365
+ const findImage = element => element !== null && element !== void 0 && element.matches('img') ? element : (element === null || element === void 0 ? void 0 : element.querySelector('img')) || null;
8366
+
8367
+ const _excluded$A = ["images"];
8368
+
8369
+ /** Subset of the ImageLightboxProps managed by the useImageLightbox hook */
8370
+
8371
+ const EMPTY_PROPS = {
8372
+ isOpen: false,
8373
+ images: [],
8374
+ parentElement: /*#__PURE__*/React.createRef()
8375
+ };
8376
+ /**
8377
+ * Set up an ImageLightbox with images and triggers.
8378
+ *
8379
+ * - Associate a trigger with the lightbox to properly focus the trigger on close
8380
+ * - Associate a trigger with an image to display on open
8381
+ * - Automatically provide a view transition between an image trigger and the displayed image on open & close
8382
+ *
8383
+ * @param initialProps Images to display in the image lightbox
8384
+ */
8385
+ function useImageLightbox(initialProps) {
8386
+ const {
8387
+ images = []
8388
+ } = initialProps,
8389
+ otherProps = _objectWithoutProperties(initialProps, _excluded$A);
8390
+ const imagesPropsRef = React.useRef(images);
8391
+ React.useEffect(() => {
8392
+ imagesPropsRef.current = images.map(props => _objectSpread2({
8393
+ imgRef: /*#__PURE__*/React.createRef()
8394
+ }, props));
8395
+ }, [images]);
8396
+ const currentImageRef = React.useRef(null);
8397
+ const [imageLightboxProps, setImageLightboxProps] = React.useState(() => _objectSpread2(_objectSpread2({}, EMPTY_PROPS), otherProps));
8398
+ const getTriggerProps = React.useMemo(() => {
8399
+ const triggerImageRefs = {};
8400
+ async function close() {
8401
+ const currentImage = currentImageRef.current;
8402
+ if (!currentImage) {
8403
+ return;
8404
+ }
8405
+ const currentIndex = imagesPropsRef.current.findIndex(_ref => {
8406
+ let {
8407
+ imgRef
8408
+ } = _ref;
8409
+ return (imgRef === null || imgRef === void 0 ? void 0 : imgRef.current) === currentImage;
8410
+ });
8411
+ await startViewTransition({
8412
+ changes() {
8413
+ // Close lightbox
8414
+ setImageLightboxProps(prevProps => _objectSpread2(_objectSpread2({}, prevProps), {}, {
8415
+ isOpen: false
8416
+ }));
8417
+ },
8418
+ // Morph from the image in lightbox to the image in trigger
8419
+ viewTransitionName: {
8420
+ source: currentImageRef,
8421
+ target: triggerImageRefs[currentIndex],
8422
+ name: CLASSNAME$v
8423
+ }
8424
+ });
8425
+ }
8426
+ async function open(triggerElement) {
8427
+ var _triggerImageRefs;
8428
+ let {
8429
+ activeImageIndex
8430
+ } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8431
+ // If we find an image inside the trigger, animate it in transition with the opening image
8432
+ const triggerImage = ((_triggerImageRefs = triggerImageRefs[activeImageIndex]) === null || _triggerImageRefs === void 0 ? void 0 : _triggerImageRefs.current) || findImage(triggerElement);
8433
+
8434
+ // Inject the trigger image as loading placeholder for better loading state
8435
+ const imagesWithFallbackSize = imagesPropsRef.current.map((image, idx) => {
8436
+ if (triggerImage && idx === activeImageIndex && !image.loadingPlaceholderImageRef) {
8437
+ return _objectSpread2(_objectSpread2({}, image), {}, {
8438
+ loadingPlaceholderImageRef: {
8439
+ current: triggerImage
8440
+ }
8441
+ });
8442
+ }
8443
+ return image;
8444
+ });
8445
+ await startViewTransition({
8446
+ changes: () => {
8447
+ // Open lightbox with setup props
8448
+ setImageLightboxProps(prevProps => _objectSpread2(_objectSpread2({}, prevProps), {}, {
8449
+ activeImageRef: currentImageRef,
8450
+ parentElement: {
8451
+ current: triggerElement
8452
+ },
8453
+ isOpen: true,
8454
+ onClose: () => {
8455
+ var _prevProps$onClose;
8456
+ close();
8457
+ prevProps === null || prevProps === void 0 ? void 0 : (_prevProps$onClose = prevProps.onClose) === null || _prevProps$onClose === void 0 ? void 0 : _prevProps$onClose.call(prevProps);
8458
+ },
8459
+ images: imagesWithFallbackSize,
8460
+ activeImageIndex: activeImageIndex || 0
8461
+ }));
8462
+ },
8463
+ // Morph from the image in trigger to the image in lightbox
8464
+ viewTransitionName: {
8465
+ source: triggerImage,
8466
+ target: currentImageRef,
8467
+ name: CLASSNAME$v
8468
+ }
8469
+ });
8470
+ }
8471
+ return memoize(options => ({
8472
+ ref(element) {
8473
+ // Track trigger image ref if any
8474
+ if ((options === null || options === void 0 ? void 0 : options.activeImageIndex) !== undefined && element) {
8475
+ triggerImageRefs[options.activeImageIndex] = {
8476
+ current: findImage(element)
8477
+ };
8478
+ }
8479
+ },
8480
+ onClick(e) {
8481
+ open(e.target, options);
8482
+ }
8483
+ }));
8484
+ }, []);
8485
+ return {
8486
+ getTriggerProps,
8487
+ imageLightboxProps
8488
+ };
8489
+ }
8490
+
8491
+ const _excluded$B = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8492
+ const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8493
+ const {
8494
+ className,
8495
+ isOpen,
8496
+ closeButtonProps,
8497
+ onClose,
8498
+ parentElement,
8499
+ activeImageIndex,
8500
+ slideshowControlsProps,
8501
+ slideGroupLabel,
8502
+ images,
8503
+ zoomOutButtonProps,
8504
+ zoomInButtonProps,
8505
+ activeImageRef: propImageRef
8506
+ } = props,
8507
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
8508
+ const currentPaginationItemRef = React.useRef(null);
8509
+ const footerRef = React.useRef(null);
8510
+ const imageRef = React.useRef(null);
8511
+ const clickAwayChildrenRefs = React.useRef([imageRef, footerRef]);
8512
+ return /*#__PURE__*/React.createElement(Lightbox, _extends({
8513
+ ref: ref,
8514
+ className: classnames(className, CLASSNAME$v),
8515
+ parentElement: parentElement,
8516
+ isOpen: isOpen,
8517
+ onClose: onClose,
8518
+ closeButtonProps: closeButtonProps,
8519
+ focusElement: currentPaginationItemRef
8520
+ }, forwardedProps), /*#__PURE__*/React.createElement(ClickAwayProvider, {
8521
+ childrenRefs: clickAwayChildrenRefs,
8522
+ callback: onClose
8523
+ }, /*#__PURE__*/React.createElement(ImageSlideshow, {
8524
+ activeImageIndex: activeImageIndex,
8525
+ slideGroupLabel: slideGroupLabel,
8526
+ slideshowControlsProps: slideshowControlsProps,
8527
+ images: images,
8528
+ zoomInButtonProps: zoomInButtonProps,
8529
+ zoomOutButtonProps: zoomOutButtonProps,
8530
+ footerRef: footerRef,
8531
+ activeImageRef: mergeRefs(propImageRef, imageRef),
8532
+ currentPaginationItemRef: currentPaginationItemRef
8533
+ })));
8534
+ });
8535
+ Inner.displayName = COMPONENT_NAME$y;
8536
+ Inner.className = CLASSNAME$v;
8537
+
8538
+ /**
8539
+ * ImageLightbox component.
8540
+ *
8541
+ * @param props Component props.
8542
+ * @param ref Component ref.
8543
+ * @return React element.
8544
+ */
8545
+ const ImageLightbox = Object.assign(Inner, {
8546
+ useImageLightbox
8547
+ });
8548
+
8549
+ const _excluded$C = ["className", "color", "colorVariant", "typography", "children", "wrap"];
7795
8550
 
7796
8551
  /**
7797
8552
  * Defines the props of the component.
@@ -7800,12 +8555,12 @@ const _excluded$z = ["className", "color", "colorVariant", "typography", "childr
7800
8555
  /**
7801
8556
  * Component display name.
7802
8557
  */
7803
- const COMPONENT_NAME$y = 'InlineList';
8558
+ const COMPONENT_NAME$z = 'InlineList';
7804
8559
 
7805
8560
  /**
7806
8561
  * Component default class name and class prefix.
7807
8562
  */
7808
- const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
8563
+ const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
7809
8564
 
7810
8565
  /**
7811
8566
  * Component default props.
@@ -7828,7 +8583,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
7828
8583
  children,
7829
8584
  wrap
7830
8585
  } = props,
7831
- forwardedProps = _objectWithoutProperties(props, _excluded$z);
8586
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
7832
8587
  const fontColorClassName = color && getFontColorClassName(color, colorVariant);
7833
8588
  const typographyClassName = typography && getTypographyClassName(typography);
7834
8589
  return (
@@ -7836,7 +8591,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
7836
8591
  // eslint-disable-next-line jsx-a11y/no-redundant-roles
7837
8592
  React.createElement("ul", _extends({}, forwardedProps, {
7838
8593
  ref: ref,
7839
- className: classnames(className, CLASSNAME$v, wrap && `${CLASSNAME$v}--wrap`, fontColorClassName, typographyClassName)
8594
+ className: classnames(className, CLASSNAME$w, wrap && `${CLASSNAME$w}--wrap`, fontColorClassName, typographyClassName)
7840
8595
  // Lists with removed bullet style can lose their a11y list role on some browsers
7841
8596
  ,
7842
8597
  role: "list"
@@ -7849,17 +8604,17 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
7849
8604
  React.createElement("li", {
7850
8605
  key: key,
7851
8606
  role: "listitem",
7852
- className: `${CLASSNAME$v}__item`
8607
+ className: `${CLASSNAME$w}__item`
7853
8608
  }, index !== 0 && /*#__PURE__*/React.createElement("span", {
7854
- className: `${CLASSNAME$v}__item-separator`,
8609
+ className: `${CLASSNAME$w}__item-separator`,
7855
8610
  "aria-hidden": "true"
7856
8611
  }, '\u00A0•\u00A0'), child)
7857
8612
  );
7858
8613
  }))
7859
8614
  );
7860
8615
  });
7861
- InlineList.displayName = COMPONENT_NAME$y;
7862
- InlineList.className = CLASSNAME$v;
8616
+ InlineList.displayName = COMPONENT_NAME$z;
8617
+ InlineList.className = CLASSNAME$w;
7863
8618
  InlineList.defaultProps = DEFAULT_PROPS$r;
7864
8619
 
7865
8620
  const INPUT_HELPER_CONFIGURATION = {
@@ -7874,7 +8629,7 @@ const INPUT_HELPER_CONFIGURATION = {
7874
8629
  }
7875
8630
  };
7876
8631
 
7877
- const _excluded$A = ["children", "className", "kind", "theme"];
8632
+ const _excluded$D = ["children", "className", "kind", "theme"];
7878
8633
 
7879
8634
  /**
7880
8635
  * Defines the props of the component.
@@ -7883,12 +8638,12 @@ const _excluded$A = ["children", "className", "kind", "theme"];
7883
8638
  /**
7884
8639
  * Component display name.
7885
8640
  */
7886
- const COMPONENT_NAME$z = 'InputHelper';
8641
+ const COMPONENT_NAME$A = 'InputHelper';
7887
8642
 
7888
8643
  /**
7889
8644
  * Component default class name and class prefix.
7890
8645
  */
7891
- const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
8646
+ const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
7892
8647
 
7893
8648
  /**
7894
8649
  * Component default props.
@@ -7912,7 +8667,7 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
7912
8667
  kind,
7913
8668
  theme
7914
8669
  } = props,
7915
- forwardedProps = _objectWithoutProperties(props, _excluded$A);
8670
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
7916
8671
  const {
7917
8672
  color
7918
8673
  } = INPUT_HELPER_CONFIGURATION[kind] || {};
@@ -7920,17 +8675,17 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
7920
8675
  ref: ref
7921
8676
  }, forwardedProps, {
7922
8677
  className: classnames(className, handleBasicClasses({
7923
- prefix: CLASSNAME$w,
8678
+ prefix: CLASSNAME$x,
7924
8679
  color,
7925
8680
  theme
7926
8681
  }))
7927
8682
  }), children);
7928
8683
  });
7929
- InputHelper.displayName = COMPONENT_NAME$z;
7930
- InputHelper.className = CLASSNAME$w;
8684
+ InputHelper.displayName = COMPONENT_NAME$A;
8685
+ InputHelper.className = CLASSNAME$x;
7931
8686
  InputHelper.defaultProps = DEFAULT_PROPS$s;
7932
8687
 
7933
- const _excluded$B = ["children", "className", "htmlFor", "isRequired", "theme"];
8688
+ const _excluded$E = ["children", "className", "htmlFor", "isRequired", "theme"];
7934
8689
 
7935
8690
  /**
7936
8691
  * Defines the props of the component.
@@ -7939,12 +8694,12 @@ const _excluded$B = ["children", "className", "htmlFor", "isRequired", "theme"];
7939
8694
  /**
7940
8695
  * Component display name.
7941
8696
  */
7942
- const COMPONENT_NAME$A = 'InputLabel';
8697
+ const COMPONENT_NAME$B = 'InputLabel';
7943
8698
 
7944
8699
  /**
7945
8700
  * Component default class name and class prefix.
7946
8701
  */
7947
- const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
8702
+ const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
7948
8703
 
7949
8704
  /**
7950
8705
  * Component default props.
@@ -7968,23 +8723,23 @@ const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
7968
8723
  isRequired,
7969
8724
  theme
7970
8725
  } = props,
7971
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
8726
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
7972
8727
  return /*#__PURE__*/React.createElement("label", _extends({
7973
8728
  ref: ref
7974
8729
  }, forwardedProps, {
7975
8730
  htmlFor: htmlFor,
7976
8731
  className: classnames(className, handleBasicClasses({
7977
- prefix: CLASSNAME$x,
8732
+ prefix: CLASSNAME$y,
7978
8733
  isRequired,
7979
8734
  theme
7980
8735
  }))
7981
8736
  }), children);
7982
8737
  });
7983
- InputLabel.displayName = COMPONENT_NAME$A;
7984
- InputLabel.className = CLASSNAME$x;
8738
+ InputLabel.displayName = COMPONENT_NAME$B;
8739
+ InputLabel.className = CLASSNAME$y;
7985
8740
  InputLabel.defaultProps = DEFAULT_PROPS$t;
7986
8741
 
7987
- const _excluded$C = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8742
+ const _excluded$F = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
7988
8743
 
7989
8744
  /**
7990
8745
  * Defines the props of the component.
@@ -7993,12 +8748,12 @@ const _excluded$C = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLab
7993
8748
  /**
7994
8749
  * Component display name.
7995
8750
  */
7996
- const COMPONENT_NAME$B = 'Lightbox';
8751
+ const COMPONENT_NAME$C = 'Lightbox';
7997
8752
 
7998
8753
  /**
7999
8754
  * Component default class name and class prefix.
8000
8755
  */
8001
- const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
8756
+ const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8002
8757
 
8003
8758
  /**
8004
8759
  * Lightbox component.
@@ -8024,7 +8779,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8024
8779
  theme,
8025
8780
  zIndex
8026
8781
  } = props,
8027
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
8782
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
8028
8783
  if (!DOCUMENT) {
8029
8784
  // Can't render in SSR.
8030
8785
  return null;
@@ -8085,7 +8840,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8085
8840
  role: "dialog",
8086
8841
  tabIndex: -1,
8087
8842
  className: classnames(className, handleBasicClasses({
8088
- prefix: CLASSNAME$y,
8843
+ prefix: CLASSNAME$z,
8089
8844
  isHidden: !isOpen,
8090
8845
  isShown: isOpen || isVisible,
8091
8846
  theme
@@ -8094,7 +8849,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8094
8849
  zIndex
8095
8850
  }
8096
8851
  }), closeButtonProps && /*#__PURE__*/React.createElement("div", {
8097
- className: `${CLASSNAME$y}__close`
8852
+ className: `${CLASSNAME$z}__close`
8098
8853
  }, /*#__PURE__*/React.createElement(IconButton, _extends({}, closeButtonProps, {
8099
8854
  ref: closeButtonRef,
8100
8855
  emphasis: "low",
@@ -8108,14 +8863,14 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8108
8863
  childrenRefs: clickAwayRefs
8109
8864
  }, /*#__PURE__*/React.createElement("div", {
8110
8865
  ref: childrenRef,
8111
- className: `${CLASSNAME$y}__wrapper`,
8866
+ className: `${CLASSNAME$z}__wrapper`,
8112
8867
  role: "presentation"
8113
8868
  }, children))), document.body);
8114
8869
  });
8115
- Lightbox.displayName = COMPONENT_NAME$B;
8116
- Lightbox.className = CLASSNAME$y;
8870
+ Lightbox.displayName = COMPONENT_NAME$C;
8871
+ Lightbox.className = CLASSNAME$z;
8117
8872
 
8118
- const _excluded$D = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8873
+ const _excluded$G = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8119
8874
 
8120
8875
  /**
8121
8876
  * Defines the props of the component.
@@ -8124,12 +8879,12 @@ const _excluded$D = ["children", "className", "color", "colorVariant", "disabled
8124
8879
  /**
8125
8880
  * Component display name.
8126
8881
  */
8127
- const COMPONENT_NAME$C = 'Link';
8882
+ const COMPONENT_NAME$D = 'Link';
8128
8883
 
8129
8884
  /**
8130
8885
  * Component default class name and class prefix.
8131
8886
  */
8132
- const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8887
+ const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
8133
8888
  const getIconSize = typography => {
8134
8889
  switch (typography) {
8135
8890
  case Typography.display1:
@@ -8178,18 +8933,18 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8178
8933
  target,
8179
8934
  typography
8180
8935
  } = props,
8181
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
8936
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
8182
8937
  const renderedChildren = useMemo(() => /*#__PURE__*/React.createElement(React.Fragment, null, leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
8183
8938
  icon: leftIcon,
8184
- className: `${CLASSNAME$z}__left-icon`,
8939
+ className: `${CLASSNAME$A}__left-icon`,
8185
8940
  size: getIconSize(typography)
8186
8941
  }), children && /*#__PURE__*/React.createElement("span", {
8187
- className: classnames(`${CLASSNAME$z}__content`, {
8942
+ className: classnames(`${CLASSNAME$A}__content`, {
8188
8943
  [`lumx-typography-${typography}`]: typography
8189
8944
  })
8190
8945
  }, children), rightIcon && !isEmpty(rightIcon) && /*#__PURE__*/React.createElement(Icon, {
8191
8946
  icon: rightIcon,
8192
- className: `${CLASSNAME$z}__right-icon`,
8947
+ className: `${CLASSNAME$A}__right-icon`,
8193
8948
  size: getIconSize(typography)
8194
8949
  })), [leftIcon, typography, children, rightIcon]);
8195
8950
 
@@ -8204,7 +8959,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8204
8959
  ref: ref,
8205
8960
  disabled: isDisabled,
8206
8961
  className: classnames(className, handleBasicClasses({
8207
- prefix: CLASSNAME$z,
8962
+ prefix: CLASSNAME$A,
8208
8963
  color,
8209
8964
  colorVariant
8210
8965
  }))
@@ -8216,17 +8971,17 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8216
8971
  href,
8217
8972
  target,
8218
8973
  className: classnames(className, handleBasicClasses({
8219
- prefix: CLASSNAME$z,
8974
+ prefix: CLASSNAME$A,
8220
8975
  color,
8221
8976
  colorVariant
8222
8977
  })),
8223
8978
  ref: ref
8224
8979
  }), renderedChildren);
8225
8980
  });
8226
- Link.displayName = COMPONENT_NAME$C;
8227
- Link.className = CLASSNAME$z;
8981
+ Link.displayName = COMPONENT_NAME$D;
8982
+ Link.className = CLASSNAME$A;
8228
8983
 
8229
- const _excluded$E = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8984
+ const _excluded$H = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8230
8985
 
8231
8986
  /**
8232
8987
  * Defines the props of the component.
@@ -8235,12 +8990,12 @@ const _excluded$E = ["className", "description", "link", "linkAs", "linkProps",
8235
8990
  /**
8236
8991
  * Component display name.
8237
8992
  */
8238
- const COMPONENT_NAME$D = 'LinkPreview';
8993
+ const COMPONENT_NAME$E = 'LinkPreview';
8239
8994
 
8240
8995
  /**
8241
8996
  * Component default class name and class prefix.
8242
8997
  */
8243
- const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
8998
+ const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
8244
8999
 
8245
9000
  /**
8246
9001
  * Component default props.
@@ -8271,21 +9026,21 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8271
9026
  title,
8272
9027
  titleHeading
8273
9028
  } = props,
8274
- forwardedProps = _objectWithoutProperties(props, _excluded$E);
9029
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
8275
9030
  // Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
8276
9031
  const TitleHeading = titleHeading;
8277
9032
  return /*#__PURE__*/React.createElement("article", _extends({
8278
9033
  ref: ref
8279
9034
  }, forwardedProps, {
8280
9035
  className: classnames(className, handleBasicClasses({
8281
- prefix: CLASSNAME$A,
9036
+ prefix: CLASSNAME$B,
8282
9037
  size: size === Size.big && thumbnailProps ? Size.big : Size.regular,
8283
9038
  theme
8284
9039
  }))
8285
9040
  }), /*#__PURE__*/React.createElement("div", {
8286
- className: `${CLASSNAME$A}__wrapper`
9041
+ className: `${CLASSNAME$B}__wrapper`
8287
9042
  }, thumbnailProps && /*#__PURE__*/React.createElement("div", {
8288
- className: `${CLASSNAME$A}__thumbnail`
9043
+ className: `${CLASSNAME$B}__thumbnail`
8289
9044
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8290
9045
  linkAs: linkAs,
8291
9046
  linkProps: _objectSpread2(_objectSpread2({}, linkProps), {}, {
@@ -8297,9 +9052,9 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8297
9052
  aspectRatio: AspectRatio.free,
8298
9053
  fillHeight: true
8299
9054
  }))), /*#__PURE__*/React.createElement("div", {
8300
- className: `${CLASSNAME$A}__container`
9055
+ className: `${CLASSNAME$B}__container`
8301
9056
  }, title && /*#__PURE__*/React.createElement(TitleHeading, {
8302
- className: `${CLASSNAME$A}__title`
9057
+ className: `${CLASSNAME$B}__title`
8303
9058
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
8304
9059
  linkAs: linkAs,
8305
9060
  target: "_blank",
@@ -8307,12 +9062,12 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8307
9062
  color: theme === Theme.light ? ColorPalette.dark : ColorPalette.light,
8308
9063
  colorVariant: ColorVariant.N
8309
9064
  }), title)), description && /*#__PURE__*/React.createElement("p", {
8310
- className: `${CLASSNAME$A}__description`
9065
+ className: `${CLASSNAME$B}__description`
8311
9066
  }, description), /*#__PURE__*/React.createElement("div", {
8312
- className: `${CLASSNAME$A}__link`
9067
+ className: `${CLASSNAME$B}__link`
8313
9068
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
8314
9069
  linkAs: linkAs,
8315
- className: classnames(`${CLASSNAME$A}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
9070
+ className: classnames(`${CLASSNAME$B}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
8316
9071
  target: "_blank",
8317
9072
  href: link,
8318
9073
  color: theme === Theme.light ? ColorPalette.primary : ColorPalette.light,
@@ -8322,11 +9077,11 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8322
9077
  tabIndex: title ? '-1' : undefined
8323
9078
  }), link)))));
8324
9079
  });
8325
- LinkPreview.displayName = COMPONENT_NAME$D;
8326
- LinkPreview.className = CLASSNAME$A;
9080
+ LinkPreview.displayName = COMPONENT_NAME$E;
9081
+ LinkPreview.className = CLASSNAME$B;
8327
9082
  LinkPreview.defaultProps = DEFAULT_PROPS$u;
8328
9083
 
8329
- const _excluded$F = ["className"];
9084
+ const _excluded$I = ["className"];
8330
9085
 
8331
9086
  /**
8332
9087
  * Defines the props of the component.
@@ -8335,12 +9090,12 @@ const _excluded$F = ["className"];
8335
9090
  /**
8336
9091
  * Component display name.
8337
9092
  */
8338
- const COMPONENT_NAME$E = 'ListDivider';
9093
+ const COMPONENT_NAME$F = 'ListDivider';
8339
9094
 
8340
9095
  /**
8341
9096
  * Component default class name and class prefix.
8342
9097
  */
8343
- const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
9098
+ const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
8344
9099
 
8345
9100
  /**
8346
9101
  * ListDivider component.
@@ -8353,19 +9108,19 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
8353
9108
  const {
8354
9109
  className
8355
9110
  } = props,
8356
- forwardedProps = _objectWithoutProperties(props, _excluded$F);
9111
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
8357
9112
  return /*#__PURE__*/React.createElement("li", _extends({
8358
9113
  ref: ref
8359
9114
  }, forwardedProps, {
8360
9115
  className: classnames(className, handleBasicClasses({
8361
- prefix: CLASSNAME$B
9116
+ prefix: CLASSNAME$C
8362
9117
  }))
8363
9118
  }));
8364
9119
  });
8365
- ListDivider.displayName = COMPONENT_NAME$E;
8366
- ListDivider.className = CLASSNAME$B;
9120
+ ListDivider.displayName = COMPONENT_NAME$F;
9121
+ ListDivider.className = CLASSNAME$C;
8367
9122
 
8368
- const _excluded$G = ["children", "className"];
9123
+ const _excluded$J = ["children", "className"];
8369
9124
 
8370
9125
  /**
8371
9126
  * Defines the props of the component.
@@ -8374,12 +9129,12 @@ const _excluded$G = ["children", "className"];
8374
9129
  /**
8375
9130
  * Component display name.
8376
9131
  */
8377
- const COMPONENT_NAME$F = 'ListSubheader';
9132
+ const COMPONENT_NAME$G = 'ListSubheader';
8378
9133
 
8379
9134
  /**
8380
9135
  * Component default class name and class prefix.
8381
9136
  */
8382
- const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
9137
+ const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
8383
9138
 
8384
9139
  /**
8385
9140
  * ListSubheader component.
@@ -8393,19 +9148,19 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
8393
9148
  children,
8394
9149
  className
8395
9150
  } = props,
8396
- forwardedProps = _objectWithoutProperties(props, _excluded$G);
9151
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
8397
9152
  return /*#__PURE__*/React.createElement("li", _extends({
8398
9153
  ref: ref
8399
9154
  }, forwardedProps, {
8400
9155
  className: classnames(className, handleBasicClasses({
8401
- prefix: CLASSNAME$C
9156
+ prefix: CLASSNAME$D
8402
9157
  }))
8403
9158
  }), children);
8404
9159
  });
8405
- ListSubheader.displayName = COMPONENT_NAME$F;
8406
- ListSubheader.className = CLASSNAME$C;
9160
+ ListSubheader.displayName = COMPONENT_NAME$G;
9161
+ ListSubheader.className = CLASSNAME$D;
8407
9162
 
8408
- const _excluded$H = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9163
+ const _excluded$K = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
8409
9164
 
8410
9165
  /**
8411
9166
  * Defines the props of the component.
@@ -8414,12 +9169,12 @@ const _excluded$H = ["children", "className", "hasBackground", "kind", "icon", "
8414
9169
  /**
8415
9170
  * Component display name.
8416
9171
  */
8417
- const COMPONENT_NAME$G = 'Message';
9172
+ const COMPONENT_NAME$H = 'Message';
8418
9173
 
8419
9174
  /**
8420
9175
  * Component default class name and class prefix.
8421
9176
  */
8422
- const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
9177
+ const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
8423
9178
 
8424
9179
  /**
8425
9180
  * Associative map from message kind to color and icon.
@@ -8459,7 +9214,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
8459
9214
  icon: customIcon,
8460
9215
  closeButtonProps
8461
9216
  } = props,
8462
- forwardedProps = _objectWithoutProperties(props, _excluded$H);
9217
+ forwardedProps = _objectWithoutProperties(props, _excluded$K);
8463
9218
  const {
8464
9219
  color,
8465
9220
  icon
@@ -8474,27 +9229,27 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
8474
9229
  className: classnames(className, handleBasicClasses({
8475
9230
  color,
8476
9231
  hasBackground,
8477
- prefix: CLASSNAME$D
9232
+ prefix: CLASSNAME$E
8478
9233
  }))
8479
9234
  }, forwardedProps), (customIcon || icon) && /*#__PURE__*/React.createElement(Icon, {
8480
- className: `${CLASSNAME$D}__icon`,
9235
+ className: `${CLASSNAME$E}__icon`,
8481
9236
  icon: customIcon || icon,
8482
9237
  size: Size.xs,
8483
9238
  color: color
8484
9239
  }), /*#__PURE__*/React.createElement("div", {
8485
- className: `${CLASSNAME$D}__text`
9240
+ className: `${CLASSNAME$E}__text`
8486
9241
  }, children), isCloseButtonDisplayed && /*#__PURE__*/React.createElement(IconButton, {
8487
- className: `${CLASSNAME$D}__close-button`,
9242
+ className: `${CLASSNAME$E}__close-button`,
8488
9243
  icon: mdiClose,
8489
9244
  onClick: onClick,
8490
9245
  label: closeButtonLabel,
8491
9246
  emphasis: Emphasis.low
8492
9247
  }));
8493
9248
  });
8494
- Message.displayName = COMPONENT_NAME$G;
8495
- Message.className = CLASSNAME$D;
9249
+ Message.displayName = COMPONENT_NAME$H;
9250
+ Message.className = CLASSNAME$E;
8496
9251
 
8497
- const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
9252
+ const _excluded$L = ["className", "theme", "thumbnails", "onImageClick"],
8498
9253
  _excluded2$1 = ["image", "onClick", "align"];
8499
9254
 
8500
9255
  /**
@@ -8504,12 +9259,12 @@ const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
8504
9259
  /**
8505
9260
  * Component display name.
8506
9261
  */
8507
- const COMPONENT_NAME$H = 'Mosaic';
9262
+ const COMPONENT_NAME$I = 'Mosaic';
8508
9263
 
8509
9264
  /**
8510
9265
  * Component default class name and class prefix.
8511
9266
  */
8512
- const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
9267
+ const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
8513
9268
 
8514
9269
  /**
8515
9270
  * Component default props.
@@ -8532,7 +9287,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8532
9287
  thumbnails,
8533
9288
  onImageClick
8534
9289
  } = props,
8535
- forwardedProps = _objectWithoutProperties(props, _excluded$I);
9290
+ forwardedProps = _objectWithoutProperties(props, _excluded$L);
8536
9291
  const handleImageClick = useMemo(() => {
8537
9292
  if (!onImageClick) return undefined;
8538
9293
  return (index, onClick) => event => {
@@ -8544,16 +9299,16 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8544
9299
  ref: ref
8545
9300
  }, forwardedProps, {
8546
9301
  className: classnames(className, handleBasicClasses({
8547
- prefix: CLASSNAME$E,
9302
+ prefix: CLASSNAME$F,
8548
9303
  theme
8549
9304
  }), {
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
9305
+ [`${CLASSNAME$F}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
9306
+ [`${CLASSNAME$F}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
9307
+ [`${CLASSNAME$F}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
9308
+ [`${CLASSNAME$F}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
8554
9309
  })
8555
9310
  }), /*#__PURE__*/React.createElement("div", {
8556
- className: `${CLASSNAME$E}__wrapper`
9311
+ className: `${CLASSNAME$F}__wrapper`
8557
9312
  }, take(thumbnails, 4).map((thumbnail, index) => {
8558
9313
  const {
8559
9314
  image,
@@ -8563,7 +9318,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8563
9318
  thumbnailProps = _objectWithoutProperties(thumbnail, _excluded2$1);
8564
9319
  return /*#__PURE__*/React.createElement("div", {
8565
9320
  key: index,
8566
- className: `${CLASSNAME$E}__thumbnail`
9321
+ className: `${CLASSNAME$F}__thumbnail`
8567
9322
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8568
9323
  align: align || Alignment.left,
8569
9324
  image: image,
@@ -8572,12 +9327,12 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8572
9327
  fillHeight: true,
8573
9328
  onClick: (handleImageClick === null || handleImageClick === void 0 ? void 0 : handleImageClick(index, onClick)) || onClick
8574
9329
  })), thumbnails.length > 4 && index === 3 && /*#__PURE__*/React.createElement("div", {
8575
- className: `${CLASSNAME$E}__overlay`
9330
+ className: `${CLASSNAME$F}__overlay`
8576
9331
  }, /*#__PURE__*/React.createElement("span", null, "+", thumbnails.length - 4)));
8577
9332
  })));
8578
9333
  });
8579
- Mosaic.displayName = COMPONENT_NAME$H;
8580
- Mosaic.className = CLASSNAME$E;
9334
+ Mosaic.displayName = COMPONENT_NAME$I;
9335
+ Mosaic.className = CLASSNAME$F;
8581
9336
  Mosaic.defaultProps = DEFAULT_PROPS$v;
8582
9337
 
8583
9338
  const ThemeContext = /*#__PURE__*/createContext(undefined);
@@ -8587,7 +9342,7 @@ function forwardRefPolymorphic(render) {
8587
9342
  return /*#__PURE__*/React.forwardRef(render);
8588
9343
  }
8589
9344
 
8590
- const _excluded$J = ["className", "icon", "label", "isCurrentPage", "as"];
9345
+ const _excluded$M = ["className", "icon", "label", "isCurrentPage", "as"];
8591
9346
 
8592
9347
  /** Make `href` required when `as` is `a` */
8593
9348
 
@@ -8598,12 +9353,12 @@ const _excluded$J = ["className", "icon", "label", "isCurrentPage", "as"];
8598
9353
  /**
8599
9354
  * Component display name.
8600
9355
  */
8601
- const COMPONENT_NAME$I = 'NavigationItem';
9356
+ const COMPONENT_NAME$J = 'NavigationItem';
8602
9357
 
8603
9358
  /**
8604
9359
  * Component default class name and class prefix.
8605
9360
  */
8606
- const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
9361
+ const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
8607
9362
  const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8608
9363
  const {
8609
9364
  className,
@@ -8612,7 +9367,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8612
9367
  isCurrentPage,
8613
9368
  as: Element = 'a'
8614
9369
  } = props,
8615
- forwardedProps = _objectWithoutProperties(props, _excluded$J);
9370
+ forwardedProps = _objectWithoutProperties(props, _excluded$M);
8616
9371
  const theme = useContext(ThemeContext);
8617
9372
  const {
8618
9373
  tooltipLabel,
@@ -8623,7 +9378,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8623
9378
  } : {};
8624
9379
  return /*#__PURE__*/React.createElement("li", {
8625
9380
  className: classnames(className, handleBasicClasses({
8626
- prefix: CLASSNAME$F,
9381
+ prefix: CLASSNAME$G,
8627
9382
  theme
8628
9383
  }))
8629
9384
  }, /*#__PURE__*/React.createElement(Tooltip, {
@@ -8631,41 +9386,41 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8631
9386
  placement: Placement.TOP
8632
9387
  }, /*#__PURE__*/React.createElement(Element, _extends({
8633
9388
  className: handleBasicClasses({
8634
- prefix: `${CLASSNAME$F}__link`,
9389
+ prefix: `${CLASSNAME$G}__link`,
8635
9390
  isSelected: isCurrentPage
8636
9391
  }),
8637
9392
  ref: ref,
8638
9393
  "aria-current": isCurrentPage ? 'page' : undefined
8639
9394
  }, buttonProps, forwardedProps), icon ? /*#__PURE__*/React.createElement(Icon, {
8640
- className: `${CLASSNAME$F}__icon`,
9395
+ className: `${CLASSNAME$G}__icon`,
8641
9396
  icon: icon,
8642
9397
  size: Size.xs,
8643
9398
  theme: theme
8644
9399
  }) : null, /*#__PURE__*/React.createElement(Text, {
8645
9400
  as: "span",
8646
9401
  truncate: true,
8647
- className: `${CLASSNAME$F}__label`,
9402
+ className: `${CLASSNAME$G}__label`,
8648
9403
  ref: labelRef
8649
9404
  }, label))));
8650
9405
  }), {
8651
- displayName: COMPONENT_NAME$I,
8652
- className: CLASSNAME$F
9406
+ displayName: COMPONENT_NAME$J,
9407
+ className: CLASSNAME$G
8653
9408
  });
8654
9409
 
8655
9410
  const NavigationContext = /*#__PURE__*/createContext({
8656
9411
  orientation: Orientation.vertical
8657
9412
  });
8658
9413
 
8659
- const _excluded$K = ["children", "className", "label", "icon"];
9414
+ const _excluded$N = ["children", "className", "label", "icon"];
8660
9415
  /**
8661
9416
  * Component display name.
8662
9417
  */
8663
- const COMPONENT_NAME$J = 'NavigationSection';
9418
+ const COMPONENT_NAME$K = 'NavigationSection';
8664
9419
 
8665
9420
  /**
8666
9421
  * Component default class name and class prefix.
8667
9422
  */
8668
- const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
9423
+ const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
8669
9424
  const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) => {
8670
9425
  const {
8671
9426
  children,
@@ -8673,7 +9428,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8673
9428
  label,
8674
9429
  icon
8675
9430
  } = props,
8676
- forwardedProps = _objectWithoutProperties(props, _excluded$K);
9431
+ forwardedProps = _objectWithoutProperties(props, _excluded$N);
8677
9432
  const [isOpen, setIsOpen] = useState(false);
8678
9433
  const buttonRef = useRef(null);
8679
9434
  const sectionId = useMemo(() => uniqueId('section'), []);
@@ -8683,15 +9438,15 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8683
9438
  const theme = useContext(ThemeContext);
8684
9439
  const isDropdown = orientation === Orientation.horizontal;
8685
9440
  return /*#__PURE__*/React.createElement("li", _extends({
8686
- className: classnames(className, CLASSNAME$G, CLASSNAME$F, handleBasicClasses({
8687
- prefix: CLASSNAME$F,
9441
+ className: classnames(className, CLASSNAME$H, CLASSNAME$G, handleBasicClasses({
9442
+ prefix: CLASSNAME$G,
8688
9443
  theme
8689
9444
  })),
8690
9445
  ref: ref
8691
9446
  }, forwardedProps), /*#__PURE__*/React.createElement("button", {
8692
9447
  "aria-controls": sectionId,
8693
9448
  "aria-expanded": isOpen,
8694
- className: classnames(`${CLASSNAME$F}__link`),
9449
+ className: classnames(`${CLASSNAME$G}__link`),
8695
9450
  ref: buttonRef,
8696
9451
  onClick: event => {
8697
9452
  setIsOpen(!isOpen);
@@ -8699,16 +9454,16 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8699
9454
  },
8700
9455
  type: "button"
8701
9456
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
8702
- className: `${CLASSNAME$F}__icon`,
9457
+ className: `${CLASSNAME$G}__icon`,
8703
9458
  icon: icon,
8704
9459
  size: Size.xs
8705
9460
  }) : null, /*#__PURE__*/React.createElement(Text, {
8706
9461
  as: "span",
8707
9462
  truncate: true,
8708
- className: `${CLASSNAME$F}__label`,
9463
+ className: `${CLASSNAME$G}__label`,
8709
9464
  ref: ref
8710
9465
  }, label), /*#__PURE__*/React.createElement(Icon, {
8711
- className: classnames(`${CLASSNAME$F}__icon`, `${CLASSNAME$G}__chevron`),
9466
+ className: classnames(`${CLASSNAME$G}__icon`, `${CLASSNAME$H}__chevron`),
8712
9467
  icon: isOpen ? mdiChevronUp : mdiChevronDown
8713
9468
  })), isOpen && (isDropdown ? /*#__PURE__*/React.createElement(Popover, {
8714
9469
  anchorRef: buttonRef,
@@ -8723,31 +9478,31 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8723
9478
  }, /*#__PURE__*/React.createElement(ThemeContext.Provider, {
8724
9479
  value: Theme.light
8725
9480
  }, /*#__PURE__*/React.createElement("ul", {
8726
- className: `${CLASSNAME$G}__drawer--popover`,
9481
+ className: `${CLASSNAME$H}__drawer--popover`,
8727
9482
  id: sectionId
8728
9483
  }, /*#__PURE__*/React.createElement(NavigationContext.Provider, {
8729
9484
  value: {
8730
9485
  orientation: Orientation.vertical
8731
9486
  }
8732
9487
  }, children)))) : /*#__PURE__*/React.createElement("ul", {
8733
- className: `${CLASSNAME$G}__drawer`,
9488
+ className: `${CLASSNAME$H}__drawer`,
8734
9489
  id: sectionId
8735
9490
  }, children)));
8736
9491
  }), {
8737
- displayName: COMPONENT_NAME$J,
8738
- className: CLASSNAME$G
9492
+ displayName: COMPONENT_NAME$K,
9493
+ className: CLASSNAME$H
8739
9494
  });
8740
9495
 
8741
- const _excluded$L = ["children", "className", "theme", "orientation"];
9496
+ const _excluded$O = ["children", "className", "theme", "orientation"];
8742
9497
  /**
8743
9498
  * Component display name.
8744
9499
  */
8745
- const COMPONENT_NAME$K = 'Navigation';
9500
+ const COMPONENT_NAME$L = 'Navigation';
8746
9501
 
8747
9502
  /**
8748
9503
  * Component default class name and class prefix.
8749
9504
  */
8750
- const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
9505
+ const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
8751
9506
  const Navigation = Object.assign(
8752
9507
  /*#__PURE__*/
8753
9508
  // eslint-disable-next-line react/display-name
@@ -8758,12 +9513,12 @@ forwardRef((props, ref) => {
8758
9513
  theme,
8759
9514
  orientation
8760
9515
  } = props,
8761
- forwardedProps = _objectWithoutProperties(props, _excluded$L);
9516
+ forwardedProps = _objectWithoutProperties(props, _excluded$O);
8762
9517
  return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
8763
9518
  value: theme
8764
9519
  }, /*#__PURE__*/React.createElement("nav", _extends({
8765
9520
  className: classnames(className, handleBasicClasses({
8766
- prefix: CLASSNAME$H,
9521
+ prefix: CLASSNAME$I,
8767
9522
  theme,
8768
9523
  orientation
8769
9524
  })),
@@ -8773,11 +9528,11 @@ forwardRef((props, ref) => {
8773
9528
  orientation
8774
9529
  }
8775
9530
  }, /*#__PURE__*/React.createElement("ul", {
8776
- className: `${CLASSNAME$H}__list`
9531
+ className: `${CLASSNAME$I}__list`
8777
9532
  }, children))));
8778
9533
  }), {
8779
- displayName: COMPONENT_NAME$K,
8780
- className: CLASSNAME$H,
9534
+ displayName: COMPONENT_NAME$L,
9535
+ className: CLASSNAME$I,
8781
9536
  defaultProps: {
8782
9537
  theme: Theme.light,
8783
9538
  orientation: Orientation.vertical
@@ -8809,7 +9564,7 @@ const NOTIFICATION_CONFIGURATION = {
8809
9564
  }
8810
9565
  };
8811
9566
 
8812
- const _excluded$M = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9567
+ const _excluded$P = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
8813
9568
 
8814
9569
  /**
8815
9570
  * Defines the props of the component.
@@ -8818,12 +9573,12 @@ const _excluded$M = ["actionLabel", "className", "content", "isOpen", "onActionC
8818
9573
  /**
8819
9574
  * Component display name.
8820
9575
  */
8821
- const COMPONENT_NAME$L = 'Notification';
9576
+ const COMPONENT_NAME$M = 'Notification';
8822
9577
 
8823
9578
  /**
8824
9579
  * Component default class name and class prefix.
8825
9580
  */
8826
- const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
9581
+ const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
8827
9582
 
8828
9583
  /**
8829
9584
  * Component default props.
@@ -8856,7 +9611,7 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8856
9611
  usePortal,
8857
9612
  style
8858
9613
  } = props,
8859
- forwardedProps = _objectWithoutProperties(props, _excluded$M);
9614
+ forwardedProps = _objectWithoutProperties(props, _excluded$P);
8860
9615
  if (!DOCUMENT) {
8861
9616
  // Can't render in SSR.
8862
9617
  return null;
@@ -8888,21 +9643,21 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8888
9643
  color,
8889
9644
  hasAction,
8890
9645
  isHidden: !isOpen,
8891
- prefix: CLASSNAME$I
9646
+ prefix: CLASSNAME$J
8892
9647
  })),
8893
9648
  onClick: onClick,
8894
9649
  style: _objectSpread2(_objectSpread2({}, style), {}, {
8895
9650
  zIndex
8896
9651
  })
8897
9652
  }), /*#__PURE__*/React.createElement("div", {
8898
- className: `${CLASSNAME$I}__icon`
9653
+ className: `${CLASSNAME$J}__icon`
8899
9654
  }, /*#__PURE__*/React.createElement(Icon, {
8900
9655
  icon: icon,
8901
9656
  size: Size.s
8902
9657
  })), /*#__PURE__*/React.createElement("div", {
8903
- className: `${CLASSNAME$I}__content`
9658
+ className: `${CLASSNAME$J}__content`
8904
9659
  }, content), hasAction && /*#__PURE__*/React.createElement("div", {
8905
- className: `${CLASSNAME$I}__action`
9660
+ className: `${CLASSNAME$J}__action`
8906
9661
  }, /*#__PURE__*/React.createElement(Button, {
8907
9662
  emphasis: Emphasis.medium,
8908
9663
  theme: theme,
@@ -8910,11 +9665,11 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8910
9665
  }, /*#__PURE__*/React.createElement("span", null, actionLabel))));
8911
9666
  return usePortal ? /*#__PURE__*/createPortal(notification, document.body) : notification;
8912
9667
  });
8913
- Notification.displayName = COMPONENT_NAME$L;
8914
- Notification.className = CLASSNAME$I;
9668
+ Notification.displayName = COMPONENT_NAME$M;
9669
+ Notification.className = CLASSNAME$J;
8915
9670
  Notification.defaultProps = DEFAULT_PROPS$w;
8916
9671
 
8917
- const _excluded$N = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9672
+ const _excluded$Q = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
8918
9673
 
8919
9674
  /**
8920
9675
  * PopoverDialog props.
@@ -8924,12 +9679,12 @@ const _excluded$N = ["children", "isOpen", "focusElement", "aria-label", "label"
8924
9679
  /**
8925
9680
  * Component display name.
8926
9681
  */
8927
- const COMPONENT_NAME$M = 'PopoverDialog';
9682
+ const COMPONENT_NAME$N = 'PopoverDialog';
8928
9683
 
8929
9684
  /**
8930
9685
  * Component default class name and class prefix.
8931
9686
  */
8932
- const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
9687
+ const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
8933
9688
 
8934
9689
  /**
8935
9690
  * Component default props.
@@ -8952,11 +9707,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
8952
9707
  label = ariaLabel,
8953
9708
  className
8954
9709
  } = props,
8955
- forwardedProps = _objectWithoutProperties(props, _excluded$N);
9710
+ forwardedProps = _objectWithoutProperties(props, _excluded$Q);
8956
9711
  return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
8957
9712
  ref: ref,
8958
9713
  className: classnames(className, handleBasicClasses({
8959
- prefix: CLASSNAME$J
9714
+ prefix: CLASSNAME$K
8960
9715
  })),
8961
9716
  role: "dialog",
8962
9717
  "aria-modal": "true"
@@ -8972,11 +9727,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
8972
9727
  withFocusTrap: true
8973
9728
  }), children);
8974
9729
  });
8975
- PopoverDialog.displayName = COMPONENT_NAME$M;
8976
- PopoverDialog.className = CLASSNAME$J;
9730
+ PopoverDialog.displayName = COMPONENT_NAME$N;
9731
+ PopoverDialog.className = CLASSNAME$K;
8977
9732
  PopoverDialog.defaultProps = DEFAULT_PROPS$x;
8978
9733
 
8979
- const _excluded$O = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9734
+ const _excluded$R = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
8980
9735
 
8981
9736
  /**
8982
9737
  * Defines the props of the component.
@@ -8985,12 +9740,12 @@ const _excluded$O = ["actions", "attachments", "author", "className", "meta", "o
8985
9740
  /**
8986
9741
  * Component display name.
8987
9742
  */
8988
- const COMPONENT_NAME$N = 'PostBlock';
9743
+ const COMPONENT_NAME$O = 'PostBlock';
8989
9744
 
8990
9745
  /**
8991
9746
  * Component default class name and class prefix.
8992
9747
  */
8993
- const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
9748
+ const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
8994
9749
 
8995
9750
  /**
8996
9751
  * Component default props.
@@ -9022,61 +9777,61 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
9022
9777
  thumbnailProps,
9023
9778
  title
9024
9779
  } = props,
9025
- forwardedProps = _objectWithoutProperties(props, _excluded$O);
9780
+ forwardedProps = _objectWithoutProperties(props, _excluded$R);
9026
9781
  return /*#__PURE__*/React.createElement("div", _extends({
9027
9782
  ref: ref,
9028
9783
  className: classnames(className, handleBasicClasses({
9029
- prefix: CLASSNAME$K,
9784
+ prefix: CLASSNAME$L,
9030
9785
  orientation,
9031
9786
  theme
9032
9787
  }))
9033
9788
  }, forwardedProps), thumbnailProps && /*#__PURE__*/React.createElement("div", {
9034
- className: `${CLASSNAME$K}__thumbnail`
9789
+ className: `${CLASSNAME$L}__thumbnail`
9035
9790
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
9036
9791
  theme: theme,
9037
9792
  variant: ThumbnailVariant.rounded
9038
9793
  }))), /*#__PURE__*/React.createElement("div", {
9039
- className: `${CLASSNAME$K}__wrapper`
9794
+ className: `${CLASSNAME$L}__wrapper`
9040
9795
  }, author && /*#__PURE__*/React.createElement("div", {
9041
- className: `${CLASSNAME$K}__author`
9796
+ className: `${CLASSNAME$L}__author`
9042
9797
  }, author), title && /*#__PURE__*/React.createElement("button", {
9043
9798
  type: "button",
9044
- className: `${CLASSNAME$K}__title`,
9799
+ className: `${CLASSNAME$L}__title`,
9045
9800
  onClick: onClick
9046
9801
  }, title), meta && /*#__PURE__*/React.createElement("span", {
9047
- className: `${CLASSNAME$K}__meta`
9802
+ className: `${CLASSNAME$L}__meta`
9048
9803
  }, meta), isObject(text) && text.__html ?
9049
9804
  /*#__PURE__*/
9050
9805
  // eslint-disable-next-line react/no-danger
9051
9806
  React.createElement("p", {
9052
9807
  dangerouslySetInnerHTML: text,
9053
- className: `${CLASSNAME$K}__text`
9808
+ className: `${CLASSNAME$L}__text`
9054
9809
  }) : /*#__PURE__*/React.createElement("p", {
9055
- className: `${CLASSNAME$K}__text`
9810
+ className: `${CLASSNAME$L}__text`
9056
9811
  }, text), attachments && /*#__PURE__*/React.createElement("div", {
9057
- className: `${CLASSNAME$K}__attachments`
9812
+ className: `${CLASSNAME$L}__attachments`
9058
9813
  }, attachments), (tags || actions) && /*#__PURE__*/React.createElement("div", {
9059
- className: `${CLASSNAME$K}__toolbar`
9814
+ className: `${CLASSNAME$L}__toolbar`
9060
9815
  }, tags && /*#__PURE__*/React.createElement("div", {
9061
- className: `${CLASSNAME$K}__tags`
9816
+ className: `${CLASSNAME$L}__tags`
9062
9817
  }, tags), actions && /*#__PURE__*/React.createElement("div", {
9063
- className: `${CLASSNAME$K}__actions`
9818
+ className: `${CLASSNAME$L}__actions`
9064
9819
  }, actions))));
9065
9820
  });
9066
- PostBlock.displayName = COMPONENT_NAME$N;
9067
- PostBlock.className = CLASSNAME$K;
9821
+ PostBlock.displayName = COMPONENT_NAME$O;
9822
+ PostBlock.className = CLASSNAME$L;
9068
9823
  PostBlock.defaultProps = DEFAULT_PROPS$y;
9069
9824
 
9070
- const _excluded$P = ["className", "theme"];
9825
+ const _excluded$S = ["className", "theme"];
9071
9826
  /**
9072
9827
  * Component display name.
9073
9828
  */
9074
- const COMPONENT_NAME$O = 'ProgressLinear';
9829
+ const COMPONENT_NAME$P = 'ProgressLinear';
9075
9830
 
9076
9831
  /**
9077
9832
  * Component default class name and class prefix.
9078
9833
  */
9079
- const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
9834
+ const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9080
9835
 
9081
9836
  /**
9082
9837
  * Component default props.
@@ -9097,12 +9852,12 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9097
9852
  className,
9098
9853
  theme
9099
9854
  } = props,
9100
- forwardedProps = _objectWithoutProperties(props, _excluded$P);
9855
+ forwardedProps = _objectWithoutProperties(props, _excluded$S);
9101
9856
  return /*#__PURE__*/React.createElement("div", _extends({
9102
9857
  ref: ref
9103
9858
  }, forwardedProps, {
9104
9859
  className: classnames(className, handleBasicClasses({
9105
- prefix: CLASSNAME$L,
9860
+ prefix: CLASSNAME$M,
9106
9861
  theme
9107
9862
  }))
9108
9863
  }), /*#__PURE__*/React.createElement("div", {
@@ -9111,11 +9866,11 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9111
9866
  className: "lumx-progress-linear__line2"
9112
9867
  }));
9113
9868
  });
9114
- ProgressLinear.displayName = COMPONENT_NAME$O;
9115
- ProgressLinear.className = CLASSNAME$L;
9869
+ ProgressLinear.displayName = COMPONENT_NAME$P;
9870
+ ProgressLinear.className = CLASSNAME$M;
9116
9871
  ProgressLinear.defaultProps = DEFAULT_PROPS$z;
9117
9872
 
9118
- const _excluded$Q = ["className", "theme", "size"];
9873
+ const _excluded$T = ["className", "theme", "size"];
9119
9874
 
9120
9875
  /**
9121
9876
  * Progress sizes.
@@ -9128,12 +9883,12 @@ const _excluded$Q = ["className", "theme", "size"];
9128
9883
  /**
9129
9884
  * Component display name.
9130
9885
  */
9131
- const COMPONENT_NAME$P = 'ProgressCircular';
9886
+ const COMPONENT_NAME$Q = 'ProgressCircular';
9132
9887
 
9133
9888
  /**
9134
9889
  * Component default class name and class prefix.
9135
9890
  */
9136
- const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9891
+ const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9137
9892
 
9138
9893
  /**
9139
9894
  * Component default props.
@@ -9156,12 +9911,12 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9156
9911
  theme,
9157
9912
  size
9158
9913
  } = props,
9159
- forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9914
+ forwardedProps = _objectWithoutProperties(props, _excluded$T);
9160
9915
  return /*#__PURE__*/React.createElement("div", _extends({
9161
9916
  ref: ref
9162
9917
  }, forwardedProps, {
9163
9918
  className: classnames(className, handleBasicClasses({
9164
- prefix: CLASSNAME$M,
9919
+ prefix: CLASSNAME$N,
9165
9920
  theme,
9166
9921
  size
9167
9922
  }))
@@ -9181,11 +9936,11 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9181
9936
  strokeWidth: "5"
9182
9937
  })));
9183
9938
  });
9184
- ProgressCircular.displayName = COMPONENT_NAME$P;
9185
- ProgressCircular.className = CLASSNAME$M;
9939
+ ProgressCircular.displayName = COMPONENT_NAME$Q;
9940
+ ProgressCircular.className = CLASSNAME$N;
9186
9941
  ProgressCircular.defaultProps = DEFAULT_PROPS$A;
9187
9942
 
9188
- const _excluded$R = ["className", "theme", "variant"];
9943
+ const _excluded$U = ["className", "theme", "variant"];
9189
9944
 
9190
9945
  /**
9191
9946
  * Progress variants.
@@ -9202,12 +9957,12 @@ const ProgressVariant = {
9202
9957
  /**
9203
9958
  * Component display name.
9204
9959
  */
9205
- const COMPONENT_NAME$Q = 'Progress';
9960
+ const COMPONENT_NAME$R = 'Progress';
9206
9961
 
9207
9962
  /**
9208
9963
  * Component default class name and class prefix.
9209
9964
  */
9210
- const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9965
+ const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
9211
9966
 
9212
9967
  /**
9213
9968
  * Component default props.
@@ -9231,12 +9986,12 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9231
9986
  theme,
9232
9987
  variant
9233
9988
  } = props,
9234
- forwardedProps = _objectWithoutProperties(props, _excluded$R);
9989
+ forwardedProps = _objectWithoutProperties(props, _excluded$U);
9235
9990
  return /*#__PURE__*/React.createElement("div", _extends({
9236
9991
  ref: ref
9237
9992
  }, forwardedProps, {
9238
9993
  className: classnames(className, handleBasicClasses({
9239
- prefix: CLASSNAME$N,
9994
+ prefix: CLASSNAME$O,
9240
9995
  theme,
9241
9996
  variant
9242
9997
  }))
@@ -9246,8 +10001,8 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9246
10001
  theme: theme
9247
10002
  }));
9248
10003
  });
9249
- Progress.displayName = COMPONENT_NAME$Q;
9250
- Progress.className = CLASSNAME$N;
10004
+ Progress.displayName = COMPONENT_NAME$R;
10005
+ Progress.className = CLASSNAME$O;
9251
10006
  Progress.defaultProps = DEFAULT_PROPS$B;
9252
10007
 
9253
10008
  const INIT_STATE = {
@@ -9369,7 +10124,7 @@ const useTabProviderContextState = () => {
9369
10124
  return context === null || context === void 0 ? void 0 : context[0];
9370
10125
  };
9371
10126
 
9372
- const _excluded$S = ["children", "onChange"];
10127
+ const _excluded$V = ["children", "onChange"];
9373
10128
  const DEFAULT_PROPS$C = {
9374
10129
  isLazy: INIT_STATE.isLazy,
9375
10130
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -9391,7 +10146,7 @@ const ProgressTrackerProvider = props => {
9391
10146
  children,
9392
10147
  onChange
9393
10148
  } = props,
9394
- propState = _objectWithoutProperties(props, _excluded$S);
10149
+ propState = _objectWithoutProperties(props, _excluded$V);
9395
10150
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
9396
10151
 
9397
10152
  // On prop state change => dispatch update.
@@ -9495,7 +10250,7 @@ const useRovingTabIndex = _ref => {
9495
10250
  [parentRef, ...extraDependencies]);
9496
10251
  };
9497
10252
 
9498
- const _excluded$T = ["aria-label", "children", "className"];
10253
+ const _excluded$W = ["aria-label", "children", "className"];
9499
10254
 
9500
10255
  /**
9501
10256
  * Defines the props of the component.
@@ -9504,12 +10259,12 @@ const _excluded$T = ["aria-label", "children", "className"];
9504
10259
  /**
9505
10260
  * Component display name.
9506
10261
  */
9507
- const COMPONENT_NAME$R = 'ProgressTracker';
10262
+ const COMPONENT_NAME$S = 'ProgressTracker';
9508
10263
 
9509
10264
  /**
9510
10265
  * Component default class name and class prefix.
9511
10266
  */
9512
- const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
10267
+ const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
9513
10268
 
9514
10269
  /**
9515
10270
  * Component default props.
@@ -9532,7 +10287,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9532
10287
  children,
9533
10288
  className
9534
10289
  } = props,
9535
- forwardedProps = _objectWithoutProperties(props, _excluded$T);
10290
+ forwardedProps = _objectWithoutProperties(props, _excluded$W);
9536
10291
  const stepListRef = React.useRef(null);
9537
10292
  useRovingTabIndex({
9538
10293
  parentRef: stepListRef,
@@ -9548,20 +10303,20 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9548
10303
  ref: mergeRefs(ref, stepListRef)
9549
10304
  }, forwardedProps, {
9550
10305
  className: classnames(className, handleBasicClasses({
9551
- prefix: CLASSNAME$O
10306
+ prefix: CLASSNAME$P
9552
10307
  }))
9553
10308
  }), /*#__PURE__*/React.createElement("div", {
9554
- className: `${CLASSNAME$O}__steps`,
10309
+ className: `${CLASSNAME$P}__steps`,
9555
10310
  role: "tablist",
9556
10311
  "aria-label": ariaLabel
9557
10312
  }, children), /*#__PURE__*/React.createElement("div", {
9558
- className: `${CLASSNAME$O}__background-bar`,
10313
+ className: `${CLASSNAME$P}__background-bar`,
9559
10314
  style: {
9560
10315
  left: `${backgroundPosition}%`,
9561
10316
  right: `${backgroundPosition}%`
9562
10317
  }
9563
10318
  }), /*#__PURE__*/React.createElement("div", {
9564
- className: `${CLASSNAME$O}__foreground-bar`,
10319
+ className: `${CLASSNAME$P}__foreground-bar`,
9565
10320
  style: {
9566
10321
  left: `${backgroundPosition}%`,
9567
10322
  right: `${backgroundPosition}%`,
@@ -9569,11 +10324,11 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9569
10324
  }
9570
10325
  }));
9571
10326
  });
9572
- ProgressTracker.displayName = COMPONENT_NAME$R;
9573
- ProgressTracker.className = CLASSNAME$O;
10327
+ ProgressTracker.displayName = COMPONENT_NAME$S;
10328
+ ProgressTracker.className = CLASSNAME$P;
9574
10329
  ProgressTracker.defaultProps = DEFAULT_PROPS$D;
9575
10330
 
9576
- const _excluded$U = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10331
+ const _excluded$X = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
9577
10332
 
9578
10333
  /**
9579
10334
  * Defines the props of the component.
@@ -9582,12 +10337,12 @@ const _excluded$U = ["className", "disabled", "hasError", "helper", "id", "isAct
9582
10337
  /**
9583
10338
  * Component display name.
9584
10339
  */
9585
- const COMPONENT_NAME$S = 'ProgressTrackerStep';
10340
+ const COMPONENT_NAME$T = 'ProgressTrackerStep';
9586
10341
 
9587
10342
  /**
9588
10343
  * Component default class name and class prefix.
9589
10344
  */
9590
- const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
10345
+ const CLASSNAME$Q = getRootClassName(COMPONENT_NAME$T);
9591
10346
 
9592
10347
  /**
9593
10348
  * Component default props.
@@ -9618,7 +10373,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9618
10373
  onKeyPress,
9619
10374
  tabIndex = -1
9620
10375
  } = props,
9621
- forwardedProps = _objectWithoutProperties(props, _excluded$U);
10376
+ forwardedProps = _objectWithoutProperties(props, _excluded$X);
9622
10377
  const state = useTabProviderContext('tab', id);
9623
10378
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
9624
10379
  const changeToCurrentTab = useCallback(() => {
@@ -9655,7 +10410,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9655
10410
  type: "button",
9656
10411
  id: state === null || state === void 0 ? void 0 : state.tabId,
9657
10412
  className: classnames(className, handleBasicClasses({
9658
- prefix: CLASSNAME$P,
10413
+ prefix: CLASSNAME$Q,
9659
10414
  hasError,
9660
10415
  isActive,
9661
10416
  isClickable: state && !isDisabled,
@@ -9670,22 +10425,22 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9670
10425
  "aria-selected": isActive,
9671
10426
  "aria-controls": state === null || state === void 0 ? void 0 : state.tabPanelId
9672
10427
  }), /*#__PURE__*/React.createElement(Icon, {
9673
- className: `${CLASSNAME$P}__state`,
10428
+ className: `${CLASSNAME$Q}__state`,
9674
10429
  icon: getIcon(),
9675
10430
  size: Size.s
9676
10431
  }), /*#__PURE__*/React.createElement(InputLabel, {
9677
10432
  htmlFor: (state === null || state === void 0 ? void 0 : state.tabId) || '',
9678
- className: `${CLASSNAME$P}__label`
10433
+ className: `${CLASSNAME$Q}__label`
9679
10434
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
9680
10435
  kind: hasError ? Kind.error : Kind.info,
9681
- className: `${CLASSNAME$P}__helper`
10436
+ className: `${CLASSNAME$Q}__helper`
9682
10437
  }, helper));
9683
10438
  });
9684
- ProgressTrackerStep.displayName = COMPONENT_NAME$S;
9685
- ProgressTrackerStep.className = CLASSNAME$P;
10439
+ ProgressTrackerStep.displayName = COMPONENT_NAME$T;
10440
+ ProgressTrackerStep.className = CLASSNAME$Q;
9686
10441
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$E;
9687
10442
 
9688
- const _excluded$V = ["children", "id", "className", "isActive"];
10443
+ const _excluded$Y = ["children", "id", "className", "isActive"];
9689
10444
 
9690
10445
  /**
9691
10446
  * Defines the props of the component.
@@ -9694,12 +10449,12 @@ const _excluded$V = ["children", "id", "className", "isActive"];
9694
10449
  /**
9695
10450
  * Component display name.
9696
10451
  */
9697
- const COMPONENT_NAME$T = 'ProgressTrackerStepPanel';
10452
+ const COMPONENT_NAME$U = 'ProgressTrackerStepPanel';
9698
10453
 
9699
10454
  /**
9700
10455
  * Component default class name and class prefix.
9701
10456
  */
9702
- const CLASSNAME$Q = `${CSS_PREFIX}-step-panel`;
10457
+ const CLASSNAME$R = `${CSS_PREFIX}-step-panel`;
9703
10458
 
9704
10459
  /**
9705
10460
  * Component default props.
@@ -9722,7 +10477,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9722
10477
  className,
9723
10478
  isActive: propIsActive
9724
10479
  } = props,
9725
- forwardedProps = _objectWithoutProperties(props, _excluded$V);
10480
+ forwardedProps = _objectWithoutProperties(props, _excluded$Y);
9726
10481
  const state = useTabProviderContext('tabPanel', id);
9727
10482
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
9728
10483
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -9730,7 +10485,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9730
10485
  }, forwardedProps, {
9731
10486
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
9732
10487
  className: classnames(className, handleBasicClasses({
9733
- prefix: CLASSNAME$Q,
10488
+ prefix: CLASSNAME$R,
9734
10489
  isActive
9735
10490
  })),
9736
10491
  role: "tabpanel",
@@ -9738,11 +10493,11 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9738
10493
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
9739
10494
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
9740
10495
  });
9741
- ProgressTrackerStepPanel.displayName = COMPONENT_NAME$T;
9742
- ProgressTrackerStepPanel.className = CLASSNAME$Q;
10496
+ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$U;
10497
+ ProgressTrackerStepPanel.className = CLASSNAME$R;
9743
10498
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$F;
9744
10499
 
9745
- const _excluded$W = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10500
+ const _excluded$Z = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
9746
10501
 
9747
10502
  /**
9748
10503
  * Defines the props of the component.
@@ -9751,12 +10506,12 @@ const _excluded$W = ["checked", "className", "disabled", "helper", "id", "inputR
9751
10506
  /**
9752
10507
  * Component display name.
9753
10508
  */
9754
- const COMPONENT_NAME$U = 'RadioButton';
10509
+ const COMPONENT_NAME$V = 'RadioButton';
9755
10510
 
9756
10511
  /**
9757
10512
  * Component default class name and class prefix.
9758
10513
  */
9759
- const CLASSNAME$R = getRootClassName(COMPONENT_NAME$U);
10514
+ const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
9760
10515
 
9761
10516
  /**
9762
10517
  * Component default props.
@@ -9789,8 +10544,8 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9789
10544
  value,
9790
10545
  inputProps
9791
10546
  } = props,
9792
- forwardedProps = _objectWithoutProperties(props, _excluded$W);
9793
- const inputId = useMemo(() => id || `${CLASSNAME$R.toLowerCase()}-${uid()}`, [id]);
10547
+ forwardedProps = _objectWithoutProperties(props, _excluded$Z);
10548
+ const inputId = useMemo(() => id || `${CLASSNAME$S.toLowerCase()}-${uid()}`, [id]);
9794
10549
  const handleChange = event => {
9795
10550
  if (onChange) {
9796
10551
  onChange(value, name, event);
@@ -9803,14 +10558,14 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9803
10558
  isChecked,
9804
10559
  isDisabled,
9805
10560
  isUnchecked: !isChecked,
9806
- prefix: CLASSNAME$R,
10561
+ prefix: CLASSNAME$S,
9807
10562
  theme
9808
10563
  }))
9809
10564
  }), /*#__PURE__*/React.createElement("div", {
9810
- className: `${CLASSNAME$R}__input-wrapper`
10565
+ className: `${CLASSNAME$S}__input-wrapper`
9811
10566
  }, /*#__PURE__*/React.createElement("input", _extends({
9812
10567
  ref: inputRef,
9813
- className: `${CLASSNAME$R}__input-native`,
10568
+ className: `${CLASSNAME$S}__input-native`,
9814
10569
  disabled: isDisabled,
9815
10570
  id: inputId,
9816
10571
  tabIndex: isDisabled ? -1 : 0,
@@ -9821,28 +10576,28 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9821
10576
  onChange: handleChange,
9822
10577
  "aria-describedby": helper ? `${inputId}-helper` : undefined
9823
10578
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
9824
- className: `${CLASSNAME$R}__input-placeholder`
10579
+ className: `${CLASSNAME$S}__input-placeholder`
9825
10580
  }, /*#__PURE__*/React.createElement("div", {
9826
- className: `${CLASSNAME$R}__input-background`
10581
+ className: `${CLASSNAME$S}__input-background`
9827
10582
  }), /*#__PURE__*/React.createElement("div", {
9828
- className: `${CLASSNAME$R}__input-indicator`
10583
+ className: `${CLASSNAME$S}__input-indicator`
9829
10584
  }))), /*#__PURE__*/React.createElement("div", {
9830
- className: `${CLASSNAME$R}__content`
10585
+ className: `${CLASSNAME$S}__content`
9831
10586
  }, label && /*#__PURE__*/React.createElement(InputLabel, {
9832
10587
  htmlFor: inputId,
9833
10588
  theme: theme,
9834
- className: `${CLASSNAME$R}__label`
10589
+ className: `${CLASSNAME$S}__label`
9835
10590
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
9836
10591
  id: `${inputId}-helper`,
9837
10592
  theme: theme,
9838
- className: `${CLASSNAME$R}__helper`
10593
+ className: `${CLASSNAME$S}__helper`
9839
10594
  }, helper)));
9840
10595
  });
9841
- RadioButton.displayName = COMPONENT_NAME$U;
9842
- RadioButton.className = CLASSNAME$R;
10596
+ RadioButton.displayName = COMPONENT_NAME$V;
10597
+ RadioButton.className = CLASSNAME$S;
9843
10598
  RadioButton.defaultProps = DEFAULT_PROPS$G;
9844
10599
 
9845
- const _excluded$X = ["children", "className"];
10600
+ const _excluded$_ = ["children", "className"];
9846
10601
 
9847
10602
  /**
9848
10603
  * Defines the props of the component.
@@ -9851,12 +10606,12 @@ const _excluded$X = ["children", "className"];
9851
10606
  /**
9852
10607
  * Component display name.
9853
10608
  */
9854
- const COMPONENT_NAME$V = 'RadioGroup';
10609
+ const COMPONENT_NAME$W = 'RadioGroup';
9855
10610
 
9856
10611
  /**
9857
10612
  * Component default class name and class prefix.
9858
10613
  */
9859
- const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
10614
+ const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
9860
10615
 
9861
10616
  /**
9862
10617
  * RadioGroup component.
@@ -9870,17 +10625,17 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9870
10625
  children,
9871
10626
  className
9872
10627
  } = props,
9873
- forwardedProps = _objectWithoutProperties(props, _excluded$X);
10628
+ forwardedProps = _objectWithoutProperties(props, _excluded$_);
9874
10629
  return /*#__PURE__*/React.createElement("div", _extends({
9875
10630
  ref: ref
9876
10631
  }, forwardedProps, {
9877
10632
  className: classnames(className, handleBasicClasses({
9878
- prefix: CLASSNAME$S
10633
+ prefix: CLASSNAME$T
9879
10634
  }))
9880
10635
  }), children);
9881
10636
  });
9882
- RadioGroup.displayName = COMPONENT_NAME$V;
9883
- RadioGroup.className = CLASSNAME$S;
10637
+ RadioGroup.displayName = COMPONENT_NAME$W;
10638
+ RadioGroup.className = CLASSNAME$T;
9884
10639
 
9885
10640
  /**
9886
10641
  * Listen on element focus to store the focus status.
@@ -9914,13 +10669,13 @@ const SelectVariant = {
9914
10669
  chip: 'chip'
9915
10670
  };
9916
10671
 
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"];
10672
+ 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"];
9918
10673
 
9919
10674
  /** The display name of the component. */
9920
- const COMPONENT_NAME$W = 'Select';
10675
+ const COMPONENT_NAME$X = 'Select';
9921
10676
 
9922
10677
  /** The default class name and classes prefix for this component. */
9923
- const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
10678
+ const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
9924
10679
 
9925
10680
  /** The default value of props. */
9926
10681
  const DEFAULT_PROPS$H = {
@@ -9954,7 +10709,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
9954
10709
  value,
9955
10710
  variant = DEFAULT_PROPS$H.variant
9956
10711
  } = _ref,
9957
- forwardedProps = _objectWithoutProperties(_ref, _excluded$Y);
10712
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
9958
10713
  const selectId = useMemo(() => id || `select-${uid()}`, [id]);
9959
10714
  const anchorRef = useRef(null);
9960
10715
  const selectRef = useRef(null);
@@ -9988,7 +10743,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
9988
10743
  isFocus,
9989
10744
  isOpen,
9990
10745
  isValid,
9991
- prefix: CLASSNAME$T,
10746
+ prefix: CLASSNAME$U,
9992
10747
  theme: theme === Theme.light ? Theme.light : Theme.dark
9993
10748
  }))
9994
10749
  }, /*#__PURE__*/React.createElement(SelectElement, _extends({}, forwardedProps, {
@@ -10019,22 +10774,22 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10019
10774
  onInfiniteScroll: onInfiniteScroll,
10020
10775
  ref: dropdownRef
10021
10776
  }, children), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
10022
- className: `${CLASSNAME$T}__helper`,
10777
+ className: `${CLASSNAME$U}__helper`,
10023
10778
  kind: Kind.error,
10024
10779
  theme: theme
10025
10780
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
10026
- className: `${CLASSNAME$T}__helper`,
10781
+ className: `${CLASSNAME$U}__helper`,
10027
10782
  theme: theme
10028
10783
  }, helper));
10029
10784
  };
10030
10785
 
10031
- const _excluded$Z = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10786
+ const _excluded$10 = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10032
10787
 
10033
10788
  /** The display name of the component. */
10034
- const COMPONENT_NAME$X = 'Select';
10789
+ const COMPONENT_NAME$Y = 'Select';
10035
10790
 
10036
10791
  /** The default class name and classes prefix for this component. */
10037
- const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
10792
+ const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10038
10793
 
10039
10794
  /** The default value of props. */
10040
10795
  const DEFAULT_PROPS$I = {
@@ -10068,36 +10823,36 @@ const SelectField = _ref => {
10068
10823
  variant,
10069
10824
  selectElementRef
10070
10825
  } = _ref,
10071
- forwardedProps = _objectWithoutProperties(_ref, _excluded$Z);
10826
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10072
10827
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10073
- className: `${CLASSNAME$U}__header`
10828
+ className: `${CLASSNAME$V}__header`
10074
10829
  }, /*#__PURE__*/React.createElement(InputLabel, {
10075
10830
  htmlFor: id,
10076
- className: `${CLASSNAME$U}__label`,
10831
+ className: `${CLASSNAME$V}__label`,
10077
10832
  isRequired: isRequired,
10078
10833
  theme: theme
10079
10834
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10080
10835
  ref: mergeRefs(anchorRef, selectElementRef),
10081
10836
  id: id,
10082
- className: `${CLASSNAME$U}__wrapper`,
10837
+ className: `${CLASSNAME$V}__wrapper`,
10083
10838
  onClick: onInputClick,
10084
10839
  onKeyDown: handleKeyboardNav,
10085
10840
  tabIndex: isDisabled ? undefined : 0,
10086
10841
  "aria-disabled": isDisabled || undefined
10087
10842
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10088
- className: `${CLASSNAME$U}__input-icon`,
10843
+ className: `${CLASSNAME$V}__input-icon`,
10089
10844
  color: theme === Theme.dark ? 'light' : undefined,
10090
10845
  icon: icon,
10091
10846
  size: Size.xs
10092
10847
  }), /*#__PURE__*/React.createElement("div", {
10093
- className: classnames([`${CLASSNAME$U}__input-native`, isEmpty && placeholder && `${CLASSNAME$U}__input-native--placeholder`])
10848
+ className: classnames([`${CLASSNAME$V}__input-native`, isEmpty && placeholder && `${CLASSNAME$V}__input-native--placeholder`])
10094
10849
  }, !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", {
10095
- className: `${CLASSNAME$U}__input-validity`
10850
+ className: `${CLASSNAME$V}__input-validity`
10096
10851
  }, /*#__PURE__*/React.createElement(Icon, {
10097
10852
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10098
10853
  size: Size.xxs
10099
10854
  })), hasInputClear && clearButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
10100
- className: `${CLASSNAME$U}__input-clear`,
10855
+ className: `${CLASSNAME$V}__input-clear`,
10101
10856
  icon: mdiCloseCircle,
10102
10857
  emphasis: Emphasis.low,
10103
10858
  size: Size.s,
@@ -10105,7 +10860,7 @@ const SelectField = _ref => {
10105
10860
  onClick: onClear,
10106
10861
  onKeyDown: stopPropagation
10107
10862
  })), /*#__PURE__*/React.createElement("div", {
10108
- className: `${CLASSNAME$U}__input-indicator`
10863
+ className: `${CLASSNAME$V}__input-indicator`
10109
10864
  }, /*#__PURE__*/React.createElement(Icon, {
10110
10865
  icon: mdiMenuDown,
10111
10866
  size: Size.s
@@ -10137,26 +10892,26 @@ const Select = /*#__PURE__*/forwardRef((props, ref) => {
10137
10892
  className: classnames(props.className, handleBasicClasses({
10138
10893
  hasInputClear,
10139
10894
  hasUnique: !props.isEmpty,
10140
- prefix: CLASSNAME$U
10895
+ prefix: CLASSNAME$V
10141
10896
  })),
10142
10897
  hasInputClear,
10143
10898
  isEmpty: isEmpty$1
10144
10899
  }), ref);
10145
10900
  });
10146
- Select.displayName = COMPONENT_NAME$X;
10147
- Select.className = CLASSNAME$U;
10901
+ Select.displayName = COMPONENT_NAME$Y;
10902
+ Select.className = CLASSNAME$V;
10148
10903
  Select.defaultProps = DEFAULT_PROPS$I;
10149
- Select.className = CLASSNAME$U;
10904
+ Select.className = CLASSNAME$V;
10150
10905
 
10151
- const _excluded$_ = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10906
+ const _excluded$11 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10152
10907
 
10153
10908
  /** Defines the props of the component. */
10154
10909
 
10155
10910
  /** The display name of the component. */
10156
- const COMPONENT_NAME$Y = 'Select';
10911
+ const COMPONENT_NAME$Z = 'Select';
10157
10912
 
10158
10913
  /** The default class name and classes prefix for this component. */
10159
- const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10914
+ const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
10160
10915
 
10161
10916
  /** The default value of props. */
10162
10917
  const DEFAULT_PROPS$J = {
@@ -10199,38 +10954,38 @@ const SelectMultipleField = _ref => {
10199
10954
  variant,
10200
10955
  selectElementRef
10201
10956
  } = _ref,
10202
- forwardedProps = _objectWithoutProperties(_ref, _excluded$_);
10957
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$11);
10203
10958
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10204
- className: `${CLASSNAME$V}__header`
10959
+ className: `${CLASSNAME$W}__header`
10205
10960
  }, /*#__PURE__*/React.createElement(InputLabel, {
10206
10961
  htmlFor: id,
10207
- className: `${CLASSNAME$V}__label`,
10962
+ className: `${CLASSNAME$W}__label`,
10208
10963
  isRequired: isRequired,
10209
10964
  theme: theme
10210
10965
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10211
10966
  ref: mergeRefs(anchorRef, selectElementRef),
10212
10967
  id: id,
10213
- className: `${CLASSNAME$V}__wrapper`,
10968
+ className: `${CLASSNAME$W}__wrapper`,
10214
10969
  onClick: onInputClick,
10215
10970
  onKeyDown: handleKeyboardNav,
10216
10971
  tabIndex: isDisabled ? undefined : 0,
10217
10972
  "aria-disabled": isDisabled || undefined
10218
10973
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10219
- className: `${CLASSNAME$V}__input-icon`,
10974
+ className: `${CLASSNAME$W}__input-icon`,
10220
10975
  color: theme === Theme.dark ? 'light' : undefined,
10221
10976
  icon: icon,
10222
10977
  size: Size.xs
10223
10978
  }), /*#__PURE__*/React.createElement("div", {
10224
- className: `${CLASSNAME$V}__chips`
10979
+ className: `${CLASSNAME$W}__chips`
10225
10980
  }, !isEmpty && value.map((val, index) => selectedChipRender === null || selectedChipRender === void 0 ? void 0 : selectedChipRender(val, index, onClear, isDisabled, theme))), isEmpty && placeholder && /*#__PURE__*/React.createElement("div", {
10226
- className: classnames([`${CLASSNAME$V}__input-native`, `${CLASSNAME$V}__input-native--placeholder`])
10981
+ className: classnames([`${CLASSNAME$W}__input-native`, `${CLASSNAME$W}__input-native--placeholder`])
10227
10982
  }, /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
10228
- className: `${CLASSNAME$V}__input-validity`
10983
+ className: `${CLASSNAME$W}__input-validity`
10229
10984
  }, /*#__PURE__*/React.createElement(Icon, {
10230
10985
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10231
10986
  size: Size.xxs
10232
10987
  })), /*#__PURE__*/React.createElement("div", {
10233
- className: `${CLASSNAME$V}__input-indicator`
10988
+ className: `${CLASSNAME$W}__input-indicator`
10234
10989
  }, /*#__PURE__*/React.createElement(Icon, {
10235
10990
  icon: mdiMenuDown,
10236
10991
  size: Size.s
@@ -10259,17 +11014,17 @@ const SelectMultiple = /*#__PURE__*/forwardRef((props, ref) => {
10259
11014
  return WithSelectContext(SelectMultipleField, _objectSpread2(_objectSpread2({}, props), {}, {
10260
11015
  className: classnames(props.className, handleBasicClasses({
10261
11016
  hasMultiple: !props.isEmpty,
10262
- prefix: CLASSNAME$V
11017
+ prefix: CLASSNAME$W
10263
11018
  })),
10264
11019
  isEmpty: props.value.length === 0,
10265
11020
  isMultiple: true
10266
11021
  }), ref);
10267
11022
  });
10268
- SelectMultiple.displayName = COMPONENT_NAME$Y;
10269
- SelectMultiple.className = CLASSNAME$V;
11023
+ SelectMultiple.displayName = COMPONENT_NAME$Z;
11024
+ SelectMultiple.className = CLASSNAME$W;
10270
11025
  SelectMultiple.defaultProps = DEFAULT_PROPS$J;
10271
11026
 
10272
- const _excluded$$ = ["children", "className", "theme"];
11027
+ const _excluded$12 = ["children", "className", "theme"];
10273
11028
 
10274
11029
  /**
10275
11030
  * Defines the props of the component.
@@ -10278,12 +11033,12 @@ const _excluded$$ = ["children", "className", "theme"];
10278
11033
  /**
10279
11034
  * Component display name.
10280
11035
  */
10281
- const COMPONENT_NAME$Z = 'SideNavigation';
11036
+ const COMPONENT_NAME$_ = 'SideNavigation';
10282
11037
 
10283
11038
  /**
10284
11039
  * Component default class name and class prefix.
10285
11040
  */
10286
- const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
11041
+ const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
10287
11042
 
10288
11043
  /**
10289
11044
  * SideNavigation component.
@@ -10298,20 +11053,20 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
10298
11053
  className,
10299
11054
  theme
10300
11055
  } = props,
10301
- forwardedProps = _objectWithoutProperties(props, _excluded$$);
11056
+ forwardedProps = _objectWithoutProperties(props, _excluded$12);
10302
11057
  const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
10303
11058
  return /*#__PURE__*/React.createElement("ul", _extends({
10304
11059
  ref: ref
10305
11060
  }, forwardedProps, {
10306
11061
  className: classnames(className, theme === Theme.dark && 'lumx-color-font-light-N', handleBasicClasses({
10307
- prefix: CLASSNAME$W
11062
+ prefix: CLASSNAME$X
10308
11063
  }))
10309
11064
  }), content);
10310
11065
  });
10311
- SideNavigation.displayName = COMPONENT_NAME$Z;
10312
- SideNavigation.className = CLASSNAME$W;
11066
+ SideNavigation.displayName = COMPONENT_NAME$_;
11067
+ SideNavigation.className = CLASSNAME$X;
10313
11068
 
10314
- const _excluded$10 = ["linkAs", "href"];
11069
+ const _excluded$13 = ["linkAs", "href"];
10315
11070
  /**
10316
11071
  * Render <button> HTML component, fallbacks to `<a>` when a `href` is provided or a custom component with `linkAs`.
10317
11072
  */
@@ -10320,7 +11075,7 @@ const renderButtonOrLink = function (props) {
10320
11075
  linkAs,
10321
11076
  href
10322
11077
  } = props,
10323
- forwardedProps = _objectWithoutProperties(props, _excluded$10);
11078
+ forwardedProps = _objectWithoutProperties(props, _excluded$13);
10324
11079
  for (var _len = arguments.length, children = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
10325
11080
  children[_key - 1] = arguments[_key];
10326
11081
  }
@@ -10330,7 +11085,7 @@ const renderButtonOrLink = function (props) {
10330
11085
  }, forwardedProps), ...children);
10331
11086
  };
10332
11087
 
10333
- const _excluded$11 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11088
+ const _excluded$14 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
10334
11089
 
10335
11090
  /**
10336
11091
  * Defines the props of the component.
@@ -10339,12 +11094,12 @@ const _excluded$11 = ["children", "className", "emphasis", "icon", "isOpen", "is
10339
11094
  /**
10340
11095
  * Component display name.
10341
11096
  */
10342
- const COMPONENT_NAME$_ = 'SideNavigationItem';
11097
+ const COMPONENT_NAME$$ = 'SideNavigationItem';
10343
11098
 
10344
11099
  /**
10345
11100
  * Component default class name and class prefix.
10346
11101
  */
10347
- const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
11102
+ const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
10348
11103
 
10349
11104
  /**
10350
11105
  * Component default props.
@@ -10377,7 +11132,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10377
11132
  toggleButtonProps,
10378
11133
  closeMode = 'unmount'
10379
11134
  } = props,
10380
- forwardedProps = _objectWithoutProperties(props, _excluded$11);
11135
+ forwardedProps = _objectWithoutProperties(props, _excluded$14);
10381
11136
  const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
10382
11137
  const hasContent = !isEmpty(content);
10383
11138
  const shouldSplitActions = Boolean(onActionClick);
@@ -10396,22 +11151,22 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10396
11151
  emphasis,
10397
11152
  isOpen: showChildren,
10398
11153
  isSelected,
10399
- prefix: CLASSNAME$X
11154
+ prefix: CLASSNAME$Y
10400
11155
  }))
10401
11156
  }), shouldSplitActions ? /*#__PURE__*/React.createElement("div", {
10402
- className: `${CLASSNAME$X}__wrapper`
11157
+ className: `${CLASSNAME$Y}__wrapper`
10403
11158
  }, renderLink(_objectSpread2(_objectSpread2({
10404
11159
  linkAs
10405
11160
  }, linkProps), {}, {
10406
- className: `${CLASSNAME$X}__link`,
11161
+ className: `${CLASSNAME$Y}__link`,
10407
11162
  onClick,
10408
11163
  tabIndex: 0
10409
11164
  }), icon && /*#__PURE__*/React.createElement(Icon, {
10410
- className: `${CLASSNAME$X}__icon`,
11165
+ className: `${CLASSNAME$Y}__icon`,
10411
11166
  icon: icon,
10412
11167
  size: Size.xs
10413
11168
  }), /*#__PURE__*/React.createElement("span", null, label)), /*#__PURE__*/React.createElement(IconButton, _extends({}, toggleButtonProps, {
10414
- className: `${CLASSNAME$X}__toggle`,
11169
+ className: `${CLASSNAME$Y}__toggle`,
10415
11170
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
10416
11171
  size: Size.m,
10417
11172
  emphasis: Emphasis.low,
@@ -10419,27 +11174,27 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10419
11174
  }, ariaProps))) : renderButtonOrLink(_objectSpread2(_objectSpread2({
10420
11175
  linkAs
10421
11176
  }, linkProps), {}, {
10422
- className: `${CLASSNAME$X}__link`,
11177
+ className: `${CLASSNAME$Y}__link`,
10423
11178
  tabIndex: 0,
10424
11179
  onClick
10425
11180
  }, ariaProps), icon && /*#__PURE__*/React.createElement(Icon, {
10426
- className: `${CLASSNAME$X}__icon`,
11181
+ className: `${CLASSNAME$Y}__icon`,
10427
11182
  icon: icon,
10428
11183
  size: Size.xs
10429
11184
  }), /*#__PURE__*/React.createElement("span", null, label), hasContent && /*#__PURE__*/React.createElement(Icon, {
10430
- className: `${CLASSNAME$X}__chevron`,
11185
+ className: `${CLASSNAME$Y}__chevron`,
10431
11186
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
10432
11187
  size: Size.xs
10433
11188
  })), (closeMode === 'hide' || showChildren) && /*#__PURE__*/React.createElement("ul", {
10434
- className: `${CLASSNAME$X}__children`,
11189
+ className: `${CLASSNAME$Y}__children`,
10435
11190
  id: contentId
10436
11191
  }, content));
10437
11192
  });
10438
- SideNavigationItem.displayName = COMPONENT_NAME$_;
10439
- SideNavigationItem.className = CLASSNAME$X;
11193
+ SideNavigationItem.displayName = COMPONENT_NAME$$;
11194
+ SideNavigationItem.className = CLASSNAME$Y;
10440
11195
  SideNavigationItem.defaultProps = DEFAULT_PROPS$K;
10441
11196
 
10442
- const _excluded$12 = ["className", "size", "color", "theme"];
11197
+ const _excluded$15 = ["className", "size", "color", "theme"];
10443
11198
 
10444
11199
  /**
10445
11200
  * Defines the props of the component.
@@ -10452,12 +11207,12 @@ const DEFAULT_PROPS$L = {
10452
11207
  /**
10453
11208
  * Component display name.
10454
11209
  */
10455
- const COMPONENT_NAME$$ = 'SkeletonCircle';
11210
+ const COMPONENT_NAME$10 = 'SkeletonCircle';
10456
11211
 
10457
11212
  /**
10458
11213
  * Component default class name and class prefix.
10459
11214
  */
10460
- const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
11215
+ const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
10461
11216
 
10462
11217
  /**
10463
11218
  * SkeletonCircle component.
@@ -10473,23 +11228,23 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
10473
11228
  color,
10474
11229
  theme
10475
11230
  } = props,
10476
- forwardedProps = _objectWithoutProperties(props, _excluded$12);
11231
+ forwardedProps = _objectWithoutProperties(props, _excluded$15);
10477
11232
  return /*#__PURE__*/React.createElement("div", _extends({
10478
11233
  ref: ref
10479
11234
  }, forwardedProps, {
10480
11235
  className: classnames(className, handleBasicClasses({
10481
- prefix: CLASSNAME$Y,
11236
+ prefix: CLASSNAME$Z,
10482
11237
  size,
10483
11238
  color,
10484
11239
  theme
10485
11240
  }))
10486
11241
  }));
10487
11242
  });
10488
- SkeletonCircle.displayName = COMPONENT_NAME$$;
11243
+ SkeletonCircle.displayName = COMPONENT_NAME$10;
10489
11244
  SkeletonCircle.defaultProps = DEFAULT_PROPS$L;
10490
- SkeletonCircle.className = CLASSNAME$Y;
11245
+ SkeletonCircle.className = CLASSNAME$Z;
10491
11246
 
10492
- const _excluded$13 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11247
+ const _excluded$16 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
10493
11248
 
10494
11249
  /**
10495
11250
  * Skeleton variants.
@@ -10512,12 +11267,12 @@ const DEFAULT_PROPS$M = {
10512
11267
  /**
10513
11268
  * Component display name.
10514
11269
  */
10515
- const COMPONENT_NAME$10 = 'SkeletonRectangle';
11270
+ const COMPONENT_NAME$11 = 'SkeletonRectangle';
10516
11271
 
10517
11272
  /**
10518
11273
  * Component default class name and class prefix.
10519
11274
  */
10520
- const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
11275
+ const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
10521
11276
 
10522
11277
  /**
10523
11278
  * SkeletonRectangle component.
@@ -10536,12 +11291,12 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
10536
11291
  width,
10537
11292
  color
10538
11293
  } = props,
10539
- forwardedProps = _objectWithoutProperties(props, _excluded$13);
11294
+ forwardedProps = _objectWithoutProperties(props, _excluded$16);
10540
11295
  return /*#__PURE__*/React.createElement("div", _extends({
10541
11296
  ref: ref
10542
11297
  }, forwardedProps, {
10543
11298
  className: classnames(className, handleBasicClasses({
10544
- prefix: CLASSNAME$Z,
11299
+ prefix: CLASSNAME$_,
10545
11300
  aspectRatio,
10546
11301
  height: aspectRatio ? undefined : height,
10547
11302
  theme,
@@ -10550,14 +11305,14 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
10550
11305
  color
10551
11306
  }))
10552
11307
  }), /*#__PURE__*/React.createElement("div", {
10553
- className: `${CLASSNAME$Z}__inner`
11308
+ className: `${CLASSNAME$_}__inner`
10554
11309
  }));
10555
11310
  });
10556
- SkeletonRectangle.displayName = COMPONENT_NAME$10;
10557
- SkeletonRectangle.className = CLASSNAME$Z;
11311
+ SkeletonRectangle.displayName = COMPONENT_NAME$11;
11312
+ SkeletonRectangle.className = CLASSNAME$_;
10558
11313
  SkeletonRectangle.defaultProps = DEFAULT_PROPS$M;
10559
11314
 
10560
- const _excluded$14 = ["className", "theme", "typography", "width", "color"];
11315
+ const _excluded$17 = ["className", "theme", "typography", "width", "color"];
10561
11316
 
10562
11317
  /**
10563
11318
  * Defines the props of the component.
@@ -10570,12 +11325,12 @@ const DEFAULT_PROPS$N = {
10570
11325
  /**
10571
11326
  * Component display name.
10572
11327
  */
10573
- const COMPONENT_NAME$11 = 'SkeletonTypography';
11328
+ const COMPONENT_NAME$12 = 'SkeletonTypography';
10574
11329
 
10575
11330
  /**
10576
11331
  * Component default class name and class prefix.
10577
11332
  */
10578
- const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
11333
+ const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
10579
11334
 
10580
11335
  /**
10581
11336
  * SkeletonTypography component.
@@ -10592,12 +11347,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
10592
11347
  width,
10593
11348
  color
10594
11349
  } = props,
10595
- forwardedProps = _objectWithoutProperties(props, _excluded$14);
11350
+ forwardedProps = _objectWithoutProperties(props, _excluded$17);
10596
11351
  return /*#__PURE__*/React.createElement("div", _extends({
10597
11352
  ref: ref
10598
11353
  }, forwardedProps, {
10599
11354
  className: classnames(className, handleBasicClasses({
10600
- prefix: CLASSNAME$_,
11355
+ prefix: CLASSNAME$$,
10601
11356
  theme,
10602
11357
  typography,
10603
11358
  color
@@ -10606,12 +11361,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
10606
11361
  width
10607
11362
  })
10608
11363
  }), /*#__PURE__*/React.createElement("div", {
10609
- className: `${CLASSNAME$_}__inner`
11364
+ className: `${CLASSNAME$$}__inner`
10610
11365
  }));
10611
11366
  });
10612
- SkeletonTypography.displayName = COMPONENT_NAME$11;
11367
+ SkeletonTypography.displayName = COMPONENT_NAME$12;
10613
11368
  SkeletonTypography.defaultProps = DEFAULT_PROPS$N;
10614
- SkeletonTypography.className = CLASSNAME$_;
11369
+ SkeletonTypography.className = CLASSNAME$$;
10615
11370
 
10616
11371
  const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
10617
11372
 
@@ -10647,7 +11402,7 @@ const clamp = (value, min, max) => {
10647
11402
  return value;
10648
11403
  };
10649
11404
 
10650
- const _excluded$15 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11405
+ const _excluded$18 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
10651
11406
 
10652
11407
  /**
10653
11408
  * Defines the props of the component.
@@ -10656,12 +11411,12 @@ const _excluded$15 = ["className", "disabled", "helper", "hideMinMaxLabel", "id"
10656
11411
  /**
10657
11412
  * Component display name.
10658
11413
  */
10659
- const COMPONENT_NAME$12 = 'Slider';
11414
+ const COMPONENT_NAME$13 = 'Slider';
10660
11415
 
10661
11416
  /**
10662
11417
  * Component default class name and class prefix.
10663
11418
  */
10664
- const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
11419
+ const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
10665
11420
 
10666
11421
  /**
10667
11422
  * Component default props.
@@ -10722,7 +11477,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10722
11477
  theme,
10723
11478
  value
10724
11479
  } = props,
10725
- forwardedProps = _objectWithoutProperties(props, _excluded$15);
11480
+ forwardedProps = _objectWithoutProperties(props, _excluded$18);
10726
11481
  const sliderId = useMemo(() => id || `slider-${uid()}`, [id]);
10727
11482
  const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
10728
11483
  const sliderRef = useRef(null);
@@ -10855,7 +11610,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10855
11610
  ref: ref
10856
11611
  }, forwardedProps, {
10857
11612
  className: classnames(className, handleBasicClasses({
10858
- prefix: CLASSNAME$$,
11613
+ prefix: CLASSNAME$10,
10859
11614
  theme,
10860
11615
  hasLabel: Boolean(label)
10861
11616
  })),
@@ -10864,30 +11619,30 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10864
11619
  }), label && /*#__PURE__*/React.createElement(InputLabel, {
10865
11620
  id: sliderLabelId,
10866
11621
  htmlFor: sliderId,
10867
- className: `${CLASSNAME$$}__label`,
11622
+ className: `${CLASSNAME$10}__label`,
10868
11623
  theme: theme
10869
11624
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
10870
- className: `${CLASSNAME$$}__helper`,
11625
+ className: `${CLASSNAME$10}__helper`,
10871
11626
  theme: theme
10872
11627
  }, helper), /*#__PURE__*/React.createElement("div", {
10873
- className: `${CLASSNAME$$}__ui-wrapper`
11628
+ className: `${CLASSNAME$10}__ui-wrapper`
10874
11629
  }, !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
10875
- className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--min`
11630
+ className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--min`
10876
11631
  }, min), /*#__PURE__*/React.createElement("div", {
10877
- className: `${CLASSNAME$$}__wrapper`,
11632
+ className: `${CLASSNAME$10}__wrapper`,
10878
11633
  ref: sliderRef
10879
11634
  }, /*#__PURE__*/React.createElement("div", {
10880
- className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--background`
11635
+ className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--background`
10881
11636
  }), /*#__PURE__*/React.createElement("div", {
10882
- className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--active`,
11637
+ className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--active`,
10883
11638
  style: {
10884
11639
  width: percentString
10885
11640
  }
10886
11641
  }), steps ? /*#__PURE__*/React.createElement("div", {
10887
- className: `${CLASSNAME$$}__ticks`
11642
+ className: `${CLASSNAME$10}__ticks`
10888
11643
  }, availableSteps.map((step, idx) => /*#__PURE__*/React.createElement("div", {
10889
11644
  key: `tick_${idx}`,
10890
- className: `${CLASSNAME$$}__tick`,
11645
+ className: `${CLASSNAME$10}__tick`,
10891
11646
  style: {
10892
11647
  left: `${step * 100}%`
10893
11648
  }
@@ -10896,18 +11651,18 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10896
11651
  "aria-labelledby": sliderLabelId,
10897
11652
  name: name,
10898
11653
  id: sliderId,
10899
- className: `${CLASSNAME$$}__handle`,
11654
+ className: `${CLASSNAME$10}__handle`,
10900
11655
  style: {
10901
11656
  left: percentString
10902
11657
  },
10903
11658
  onKeyDown: handleKeyDown,
10904
11659
  disabled: isDisabled
10905
11660
  })), !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
10906
- className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--max`
11661
+ className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--max`
10907
11662
  }, max)));
10908
11663
  });
10909
- Slider.displayName = COMPONENT_NAME$12;
10910
- Slider.className = CLASSNAME$$;
11664
+ Slider.displayName = COMPONENT_NAME$13;
11665
+ Slider.className = CLASSNAME$10;
10911
11666
  Slider.defaultProps = DEFAULT_PROPS$O;
10912
11667
 
10913
11668
  /**
@@ -11228,7 +11983,7 @@ const useSlideFocusManagement = _ref => {
11228
11983
  }, [isSlideDisplayed, slideRef]);
11229
11984
  };
11230
11985
 
11231
- const _excluded$16 = ["className", "children", "role", "label", "isDisplayed"];
11986
+ const _excluded$19 = ["className", "children", "role", "label", "isDisplayed"];
11232
11987
 
11233
11988
  /**
11234
11989
  * Defines the props of the component.
@@ -11237,12 +11992,12 @@ const _excluded$16 = ["className", "children", "role", "label", "isDisplayed"];
11237
11992
  /**
11238
11993
  * Component display name.
11239
11994
  */
11240
- const COMPONENT_NAME$13 = 'SlideshowItemGroup';
11995
+ const COMPONENT_NAME$14 = 'SlideshowItemGroup';
11241
11996
 
11242
11997
  /**
11243
11998
  * Component default class name and class prefix.
11244
11999
  */
11245
- const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
12000
+ const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
11246
12001
  const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
11247
12002
 
11248
12003
  /**
@@ -11260,7 +12015,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11260
12015
  label,
11261
12016
  isDisplayed
11262
12017
  } = props,
11263
- forwardedProps = _objectWithoutProperties(props, _excluded$16);
12018
+ forwardedProps = _objectWithoutProperties(props, _excluded$19);
11264
12019
  const groupRef = React.useRef(null);
11265
12020
  useSlideFocusManagement({
11266
12021
  isSlideDisplayed: isDisplayed,
@@ -11270,16 +12025,16 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11270
12025
  ref: mergeRefs(groupRef, ref),
11271
12026
  role: role,
11272
12027
  className: classnames(className, handleBasicClasses({
11273
- prefix: CLASSNAME$10
12028
+ prefix: CLASSNAME$11
11274
12029
  })),
11275
12030
  "aria-roledescription": "slide",
11276
12031
  "aria-label": label
11277
12032
  }, forwardedProps), children);
11278
12033
  });
11279
- SlideshowItemGroup.displayName = COMPONENT_NAME$13;
11280
- SlideshowItemGroup.className = CLASSNAME$10;
12034
+ SlideshowItemGroup.displayName = COMPONENT_NAME$14;
12035
+ SlideshowItemGroup.className = CLASSNAME$11;
11281
12036
 
11282
- const _excluded$17 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
12037
+ const _excluded$1a = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
11283
12038
 
11284
12039
  /**
11285
12040
  * Defines the props of the component.
@@ -11315,7 +12070,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
11315
12070
  slidesId,
11316
12071
  slideGroupLabel
11317
12072
  } = props,
11318
- forwardedProps = _objectWithoutProperties(props, _excluded$17);
12073
+ forwardedProps = _objectWithoutProperties(props, _excluded$1a);
11319
12074
  // Number of slideshow items.
11320
12075
  const itemsCount = React.Children.count(children);
11321
12076
  const {
@@ -11397,7 +12152,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
11397
12152
  Slideshow.displayName = 'Slideshow';
11398
12153
  Slideshow.defaultProps = DEFAULT_PROPS$P;
11399
12154
 
11400
- const _excluded$18 = ["className", "children"];
12155
+ const _excluded$1b = ["className", "children"];
11401
12156
 
11402
12157
  /**
11403
12158
  * Defines the props of the component.
@@ -11406,12 +12161,12 @@ const _excluded$18 = ["className", "children"];
11406
12161
  /**
11407
12162
  * Component display name.
11408
12163
  */
11409
- const COMPONENT_NAME$14 = 'SlideshowItem';
12164
+ const COMPONENT_NAME$15 = 'SlideshowItem';
11410
12165
 
11411
12166
  /**
11412
12167
  * Component default class name and class prefix.
11413
12168
  */
11414
- const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
12169
+ const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
11415
12170
 
11416
12171
  /**
11417
12172
  * SlideshowItem component.
@@ -11425,16 +12180,16 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
11425
12180
  className,
11426
12181
  children
11427
12182
  } = props,
11428
- forwardedProps = _objectWithoutProperties(props, _excluded$18);
12183
+ forwardedProps = _objectWithoutProperties(props, _excluded$1b);
11429
12184
  return /*#__PURE__*/React.createElement("div", _extends({
11430
12185
  ref: ref,
11431
12186
  className: classnames(className, handleBasicClasses({
11432
- prefix: CLASSNAME$11
12187
+ prefix: CLASSNAME$12
11433
12188
  }))
11434
12189
  }, forwardedProps), children);
11435
12190
  });
11436
- SlideshowItem.displayName = COMPONENT_NAME$14;
11437
- SlideshowItem.className = CLASSNAME$11;
12191
+ SlideshowItem.displayName = COMPONENT_NAME$15;
12192
+ SlideshowItem.className = CLASSNAME$12;
11438
12193
 
11439
12194
  const isTouchDevice = () => 'ontouchstart' in window;
11440
12195
 
@@ -11493,7 +12248,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
11493
12248
  }, [activeIndex, slideCount]);
11494
12249
  }
11495
12250
 
11496
- const _excluded$19 = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12251
+ const _excluded$1c = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
11497
12252
  _excluded2$2 = ["className", "label"];
11498
12253
 
11499
12254
  /**
@@ -11503,12 +12258,12 @@ const _excluded$19 = ["activeIndex", "className", "nextButtonProps", "onNextClic
11503
12258
  /**
11504
12259
  * Component display name.
11505
12260
  */
11506
- const COMPONENT_NAME$15 = 'SlideshowControls';
12261
+ const COMPONENT_NAME$16 = 'SlideshowControls';
11507
12262
 
11508
12263
  /**
11509
12264
  * Component default class name and class prefix.
11510
12265
  */
11511
- const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
12266
+ const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
11512
12267
 
11513
12268
  /**
11514
12269
  * Component default props.
@@ -11543,7 +12298,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11543
12298
  paginationItemLabel,
11544
12299
  paginationItemProps
11545
12300
  } = props,
11546
- forwardedProps = _objectWithoutProperties(props, _excluded$19);
12301
+ forwardedProps = _objectWithoutProperties(props, _excluded$1c);
11547
12302
  let parent;
11548
12303
  if (WINDOW) {
11549
12304
  // Checking window object to avoid errors in SSR.
@@ -11580,22 +12335,22 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11580
12335
  ref: ref
11581
12336
  }, forwardedProps, {
11582
12337
  className: classnames(className, handleBasicClasses({
11583
- prefix: CLASSNAME$12,
12338
+ prefix: CLASSNAME$13,
11584
12339
  theme
11585
12340
  }), {
11586
- [`${CLASSNAME$12}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
12341
+ [`${CLASSNAME$13}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
11587
12342
  })
11588
12343
  }), /*#__PURE__*/React.createElement(IconButton, _extends({}, previousButtonProps, {
11589
12344
  icon: mdiChevronLeft,
11590
- className: `${CLASSNAME$12}__navigation`,
12345
+ className: `${CLASSNAME$13}__navigation`,
11591
12346
  color: theme === Theme.dark ? 'light' : 'dark',
11592
12347
  emphasis: Emphasis.low,
11593
12348
  onClick: onPreviousClick
11594
12349
  })), /*#__PURE__*/React.createElement("div", {
11595
12350
  ref: paginationRef,
11596
- className: `${CLASSNAME$12}__pagination`
12351
+ className: `${CLASSNAME$13}__pagination`
11597
12352
  }, /*#__PURE__*/React.createElement("div", _extends({
11598
- className: `${CLASSNAME$12}__pagination-items`,
12353
+ className: `${CLASSNAME$13}__pagination-items`,
11599
12354
  style: wrapperStyle,
11600
12355
  role: "tablist"
11601
12356
  }, paginationProps), useMemo(() => range(slidesCount).map(index => {
@@ -11611,7 +12366,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11611
12366
  const ariaLabel = label || (paginationItemLabel === null || paginationItemLabel === void 0 ? void 0 : paginationItemLabel(index)) || `${index + 1} / ${slidesCount}`;
11612
12367
  return /*#__PURE__*/React.createElement("button", _extends({
11613
12368
  className: classnames(handleBasicClasses({
11614
- prefix: `${CLASSNAME$12}__pagination-item`,
12369
+ prefix: `${CLASSNAME$13}__pagination-item`,
11615
12370
  isActive,
11616
12371
  isOnEdge,
11617
12372
  isOutRange
@@ -11626,35 +12381,35 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11626
12381
  }, itemProps));
11627
12382
  }), [slidesCount, visibleRange.min, visibleRange.max, activeIndex, paginationItemProps, paginationItemLabel, onPaginationClick]))), playButtonProps ? /*#__PURE__*/React.createElement(IconButton, _extends({}, playButtonProps, {
11628
12383
  icon: isAutoPlaying ? mdiPauseCircleOutline : mdiPlayCircleOutline,
11629
- className: `${CLASSNAME$12}__play`,
12384
+ className: `${CLASSNAME$13}__play`,
11630
12385
  color: theme === Theme.dark ? 'light' : 'dark',
11631
12386
  emphasis: Emphasis.low
11632
12387
  })) : null, /*#__PURE__*/React.createElement(IconButton, _extends({}, nextButtonProps, {
11633
12388
  icon: mdiChevronRight,
11634
- className: `${CLASSNAME$12}__navigation`,
12389
+ className: `${CLASSNAME$13}__navigation`,
11635
12390
  color: theme === Theme.dark ? 'light' : 'dark',
11636
12391
  emphasis: Emphasis.low,
11637
12392
  onClick: onNextClick
11638
12393
  })));
11639
12394
  });
11640
- InternalSlideshowControls.displayName = COMPONENT_NAME$15;
11641
- InternalSlideshowControls.className = CLASSNAME$12;
12395
+ InternalSlideshowControls.displayName = COMPONENT_NAME$16;
12396
+ InternalSlideshowControls.className = CLASSNAME$13;
11642
12397
  InternalSlideshowControls.defaultProps = DEFAULT_PROPS$Q;
11643
12398
  const SlideshowControls = Object.assign(InternalSlideshowControls, {
11644
12399
  useSlideshowControls,
11645
12400
  useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
11646
12401
  });
11647
12402
 
11648
- const _excluded$1a = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12403
+ const _excluded$1d = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
11649
12404
  /**
11650
12405
  * Component display name.
11651
12406
  */
11652
- const COMPONENT_NAME$16 = 'Slideshow';
12407
+ const COMPONENT_NAME$17 = 'Slideshow';
11653
12408
 
11654
12409
  /**
11655
12410
  * Component default class name and class prefix.
11656
12411
  */
11657
- const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
12412
+ const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
11658
12413
 
11659
12414
  /**
11660
12415
  * Slides component.
@@ -11679,7 +12434,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11679
12434
  hasControls,
11680
12435
  slideGroupLabel
11681
12436
  } = props,
11682
- forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12437
+ forwardedProps = _objectWithoutProperties(props, _excluded$1d);
11683
12438
  const wrapperRef = React.useRef(null);
11684
12439
  const startIndexVisible = activeIndex;
11685
12440
  const endIndexVisible = startIndexVisible + 1;
@@ -11697,22 +12452,22 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11697
12452
  ref: ref
11698
12453
  }, forwardedProps, {
11699
12454
  className: classnames(className, handleBasicClasses({
11700
- prefix: CLASSNAME$13,
12455
+ prefix: CLASSNAME$14,
11701
12456
  theme
11702
12457
  }), {
11703
- [`${CLASSNAME$13}--fill-height`]: fillHeight,
11704
- [`${CLASSNAME$13}--group-by-${groupBy}`]: Boolean(groupBy)
12458
+ [`${CLASSNAME$14}--fill-height`]: fillHeight,
12459
+ [`${CLASSNAME$14}--group-by-${groupBy}`]: Boolean(groupBy)
11705
12460
  }),
11706
12461
  "aria-roledescription": "carousel"
11707
12462
  }), /*#__PURE__*/React.createElement("div", {
11708
12463
  id: slidesId,
11709
- className: `${CLASSNAME$13}__slides`,
12464
+ className: `${CLASSNAME$14}__slides`,
11710
12465
  onMouseEnter: toggleAutoPlay,
11711
12466
  onMouseLeave: toggleAutoPlay,
11712
12467
  "aria-live": isAutoPlaying ? 'off' : 'polite'
11713
12468
  }, /*#__PURE__*/React.createElement("div", {
11714
12469
  ref: wrapperRef,
11715
- className: `${CLASSNAME$13}__wrapper`,
12470
+ className: `${CLASSNAME$14}__wrapper`,
11716
12471
  style: wrapperStyle
11717
12472
  }, groups.map((group, index) => /*#__PURE__*/React.createElement(SlideshowItemGroup, {
11718
12473
  key: index,
@@ -11722,10 +12477,10 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11722
12477
  isDisplayed: index >= startIndexVisible && index < endIndexVisible
11723
12478
  }, group)))), afterSlides);
11724
12479
  });
11725
- Slides.displayName = COMPONENT_NAME$16;
11726
- Slides.className = CLASSNAME$13;
12480
+ Slides.displayName = COMPONENT_NAME$17;
12481
+ Slides.className = CLASSNAME$14;
11727
12482
 
11728
- const _excluded$1b = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12483
+ const _excluded$1e = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
11729
12484
 
11730
12485
  /**
11731
12486
  * Defines the props of the component.
@@ -11734,12 +12489,12 @@ const _excluded$1b = ["checked", "children", "className", "disabled", "helper",
11734
12489
  /**
11735
12490
  * Component display name.
11736
12491
  */
11737
- const COMPONENT_NAME$17 = 'Switch';
12492
+ const COMPONENT_NAME$18 = 'Switch';
11738
12493
 
11739
12494
  /**
11740
12495
  * Component default class name and class prefix.
11741
12496
  */
11742
- const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
12497
+ const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
11743
12498
 
11744
12499
  /**
11745
12500
  * Component default props.
@@ -11773,7 +12528,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11773
12528
  value,
11774
12529
  inputProps = {}
11775
12530
  } = props,
11776
- forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12531
+ forwardedProps = _objectWithoutProperties(props, _excluded$1e);
11777
12532
  const inputId = useMemo(() => id || `switch-${uid()}`, [id]);
11778
12533
  const handleChange = event => {
11779
12534
  if (onChange) {
@@ -11784,7 +12539,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11784
12539
  ref: ref
11785
12540
  }, forwardedProps, {
11786
12541
  className: classnames(className, handleBasicClasses({
11787
- prefix: CLASSNAME$14,
12542
+ prefix: CLASSNAME$15,
11788
12543
  isChecked,
11789
12544
  isDisabled,
11790
12545
  position,
@@ -11793,12 +12548,12 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11793
12548
  })),
11794
12549
  "aria-disabled": isDisabled
11795
12550
  }), /*#__PURE__*/React.createElement("div", {
11796
- className: `${CLASSNAME$14}__input-wrapper`
12551
+ className: `${CLASSNAME$15}__input-wrapper`
11797
12552
  }, /*#__PURE__*/React.createElement("input", _extends({
11798
12553
  type: "checkbox",
11799
12554
  role: "switch",
11800
12555
  id: inputId,
11801
- className: `${CLASSNAME$14}__input-native`,
12556
+ className: `${CLASSNAME$15}__input-native`,
11802
12557
  name: name,
11803
12558
  value: value,
11804
12559
  disabled: isDisabled,
@@ -11807,28 +12562,28 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11807
12562
  onChange: handleChange,
11808
12563
  "aria-describedby": helper ? `${inputId}-helper` : undefined
11809
12564
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
11810
- className: `${CLASSNAME$14}__input-placeholder`
12565
+ className: `${CLASSNAME$15}__input-placeholder`
11811
12566
  }, /*#__PURE__*/React.createElement("div", {
11812
- className: `${CLASSNAME$14}__input-background`
12567
+ className: `${CLASSNAME$15}__input-background`
11813
12568
  }), /*#__PURE__*/React.createElement("div", {
11814
- className: `${CLASSNAME$14}__input-indicator`
12569
+ className: `${CLASSNAME$15}__input-indicator`
11815
12570
  }))), Children.count(children) > 0 && /*#__PURE__*/React.createElement("div", {
11816
- className: `${CLASSNAME$14}__content`
12571
+ className: `${CLASSNAME$15}__content`
11817
12572
  }, /*#__PURE__*/React.createElement(InputLabel, {
11818
12573
  htmlFor: inputId,
11819
12574
  theme: theme,
11820
- className: `${CLASSNAME$14}__label`
12575
+ className: `${CLASSNAME$15}__label`
11821
12576
  }, children), !isEmpty(helper) && /*#__PURE__*/React.createElement(InputHelper, {
11822
12577
  id: `${inputId}-helper`,
11823
12578
  theme: theme,
11824
- className: `${CLASSNAME$14}__helper`
12579
+ className: `${CLASSNAME$15}__helper`
11825
12580
  }, helper)));
11826
12581
  });
11827
- Switch.displayName = COMPONENT_NAME$17;
11828
- Switch.className = CLASSNAME$14;
12582
+ Switch.displayName = COMPONENT_NAME$18;
12583
+ Switch.className = CLASSNAME$15;
11829
12584
  Switch.defaultProps = DEFAULT_PROPS$R;
11830
12585
 
11831
- const _excluded$1c = ["children", "className", "hasBefore", "hasDividers", "theme"];
12586
+ const _excluded$1f = ["children", "className", "hasBefore", "hasDividers", "theme"];
11832
12587
 
11833
12588
  /**
11834
12589
  * Defines the props of the component.
@@ -11837,12 +12592,12 @@ const _excluded$1c = ["children", "className", "hasBefore", "hasDividers", "them
11837
12592
  /**
11838
12593
  * Component display name.
11839
12594
  */
11840
- const COMPONENT_NAME$18 = 'Table';
12595
+ const COMPONENT_NAME$19 = 'Table';
11841
12596
 
11842
12597
  /**
11843
12598
  * Component default class name and class prefix.
11844
12599
  */
11845
- const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
12600
+ const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19);
11846
12601
 
11847
12602
  /**
11848
12603
  * Component default props.
@@ -11866,23 +12621,23 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
11866
12621
  hasDividers,
11867
12622
  theme
11868
12623
  } = props,
11869
- forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12624
+ forwardedProps = _objectWithoutProperties(props, _excluded$1f);
11870
12625
  return /*#__PURE__*/React.createElement("table", _extends({
11871
12626
  ref: ref
11872
12627
  }, forwardedProps, {
11873
12628
  className: classnames(className, handleBasicClasses({
11874
- prefix: CLASSNAME$15,
12629
+ prefix: CLASSNAME$16,
11875
12630
  hasBefore,
11876
12631
  hasDividers,
11877
12632
  theme
11878
12633
  }))
11879
12634
  }), children);
11880
12635
  });
11881
- Table.displayName = COMPONENT_NAME$18;
11882
- Table.className = CLASSNAME$15;
12636
+ Table.displayName = COMPONENT_NAME$19;
12637
+ Table.className = CLASSNAME$16;
11883
12638
  Table.defaultProps = DEFAULT_PROPS$S;
11884
12639
 
11885
- const _excluded$1d = ["children", "className"];
12640
+ const _excluded$1g = ["children", "className"];
11886
12641
 
11887
12642
  /**
11888
12643
  * Defines the props of the component.
@@ -11891,12 +12646,12 @@ const _excluded$1d = ["children", "className"];
11891
12646
  /**
11892
12647
  * Component display name.
11893
12648
  */
11894
- const COMPONENT_NAME$19 = 'TableBody';
12649
+ const COMPONENT_NAME$1a = 'TableBody';
11895
12650
 
11896
12651
  /**
11897
12652
  * Component default class name and class prefix.
11898
12653
  */
11899
- const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19, true);
12654
+ const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
11900
12655
 
11901
12656
  /**
11902
12657
  * TableBody component.
@@ -11910,19 +12665,19 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
11910
12665
  children,
11911
12666
  className
11912
12667
  } = props,
11913
- forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12668
+ forwardedProps = _objectWithoutProperties(props, _excluded$1g);
11914
12669
  return /*#__PURE__*/React.createElement("tbody", _extends({
11915
12670
  ref: ref
11916
12671
  }, forwardedProps, {
11917
12672
  className: classnames(className, handleBasicClasses({
11918
- prefix: CLASSNAME$16
12673
+ prefix: CLASSNAME$17
11919
12674
  }))
11920
12675
  }), children);
11921
12676
  });
11922
- TableBody.displayName = COMPONENT_NAME$19;
11923
- TableBody.className = CLASSNAME$16;
12677
+ TableBody.displayName = COMPONENT_NAME$1a;
12678
+ TableBody.className = CLASSNAME$17;
11924
12679
 
11925
- const _excluded$1e = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12680
+ const _excluded$1h = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
11926
12681
 
11927
12682
  /**
11928
12683
  * Table head cell sort order.
@@ -11946,12 +12701,12 @@ const TableCellVariant = {
11946
12701
  /**
11947
12702
  * Component display name.
11948
12703
  */
11949
- const COMPONENT_NAME$1a = 'TableCell';
12704
+ const COMPONENT_NAME$1b = 'TableCell';
11950
12705
 
11951
12706
  /**
11952
12707
  * Component default class name and class prefix.
11953
12708
  */
11954
- const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
12709
+ const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
11955
12710
 
11956
12711
  /**
11957
12712
  * Component default props.
@@ -11977,7 +12732,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
11977
12732
  sortOrder,
11978
12733
  variant
11979
12734
  } = props,
11980
- forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12735
+ forwardedProps = _objectWithoutProperties(props, _excluded$1h);
11981
12736
 
11982
12737
  // Use button if clickable
11983
12738
  const Wrapper = onHeaderClick ? 'button' : 'div';
@@ -11997,40 +12752,40 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
11997
12752
  ref: ref
11998
12753
  }, forwardedProps, {
11999
12754
  className: classnames(handleBasicClasses({
12000
- prefix: CLASSNAME$17,
12755
+ prefix: CLASSNAME$18,
12001
12756
  isSortable,
12002
12757
  isSorted: isSortable && !!sortOrder
12003
- }), className, `${CLASSNAME$17}--head`),
12758
+ }), className, `${CLASSNAME$18}--head`),
12004
12759
  "aria-sort": ariaSort
12005
12760
  }), /*#__PURE__*/React.createElement(Wrapper, _extends({
12006
- className: `${CLASSNAME$17}-wrapper`
12761
+ className: `${CLASSNAME$18}-wrapper`
12007
12762
  }, wrapperProps), icon && !isSortable && /*#__PURE__*/React.createElement(Icon, {
12008
- className: `${CLASSNAME$17}-icon`,
12763
+ className: `${CLASSNAME$18}-icon`,
12009
12764
  icon: icon,
12010
12765
  size: Size.xxs
12011
12766
  }), isSortable && sortOrder === ThOrder.asc && /*#__PURE__*/React.createElement(Icon, {
12012
- className: `${CLASSNAME$17}-icon`,
12767
+ className: `${CLASSNAME$18}-icon`,
12013
12768
  icon: mdiArrowUp,
12014
12769
  size: Size.xxs
12015
12770
  }), isSortable && sortOrder === ThOrder.desc && /*#__PURE__*/React.createElement(Icon, {
12016
- className: `${CLASSNAME$17}-icon`,
12771
+ className: `${CLASSNAME$18}-icon`,
12017
12772
  icon: mdiArrowDown,
12018
12773
  size: Size.xxs
12019
12774
  }), /*#__PURE__*/React.createElement("div", {
12020
- className: `${CLASSNAME$17}-content`
12775
+ className: `${CLASSNAME$18}-content`
12021
12776
  }, children))), variant === TableCellVariant.body && /*#__PURE__*/React.createElement("td", _extends({}, forwardedProps, {
12022
12777
  className: classnames(className, handleBasicClasses({
12023
- prefix: CLASSNAME$17
12024
- }), `${CLASSNAME$17}--body`)
12778
+ prefix: CLASSNAME$18
12779
+ }), `${CLASSNAME$18}--body`)
12025
12780
  }), /*#__PURE__*/React.createElement("div", {
12026
- className: `${CLASSNAME$17}-content`
12781
+ className: `${CLASSNAME$18}-content`
12027
12782
  }, children)));
12028
12783
  });
12029
- TableCell.displayName = COMPONENT_NAME$1a;
12030
- TableCell.className = CLASSNAME$17;
12784
+ TableCell.displayName = COMPONENT_NAME$1b;
12785
+ TableCell.className = CLASSNAME$18;
12031
12786
  TableCell.defaultProps = DEFAULT_PROPS$T;
12032
12787
 
12033
- const _excluded$1f = ["children", "className"];
12788
+ const _excluded$1i = ["children", "className"];
12034
12789
 
12035
12790
  /**
12036
12791
  * Defines the props of the component.
@@ -12039,12 +12794,12 @@ const _excluded$1f = ["children", "className"];
12039
12794
  /**
12040
12795
  * Component display name.
12041
12796
  */
12042
- const COMPONENT_NAME$1b = 'TableHeader';
12797
+ const COMPONENT_NAME$1c = 'TableHeader';
12043
12798
 
12044
12799
  /**
12045
12800
  * Component default class name and class prefix.
12046
12801
  */
12047
- const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
12802
+ const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12048
12803
 
12049
12804
  /**
12050
12805
  * Component default props.
@@ -12063,20 +12818,20 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
12063
12818
  children,
12064
12819
  className
12065
12820
  } = props,
12066
- forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12821
+ forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12067
12822
  return /*#__PURE__*/React.createElement("thead", _extends({
12068
12823
  ref: ref
12069
12824
  }, forwardedProps, {
12070
12825
  className: classnames(className, handleBasicClasses({
12071
- prefix: CLASSNAME$18
12826
+ prefix: CLASSNAME$19
12072
12827
  }))
12073
12828
  }), children);
12074
12829
  });
12075
- TableHeader.displayName = COMPONENT_NAME$1b;
12076
- TableHeader.className = CLASSNAME$18;
12830
+ TableHeader.displayName = COMPONENT_NAME$1c;
12831
+ TableHeader.className = CLASSNAME$19;
12077
12832
  TableHeader.defaultProps = DEFAULT_PROPS$U;
12078
12833
 
12079
- const _excluded$1g = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12834
+ const _excluded$1j = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12080
12835
 
12081
12836
  /**
12082
12837
  * Defines the props of the component.
@@ -12085,12 +12840,12 @@ const _excluded$1g = ["children", "className", "disabled", "isClickable", "isDis
12085
12840
  /**
12086
12841
  * Component display name.
12087
12842
  */
12088
- const COMPONENT_NAME$1c = 'TableRow';
12843
+ const COMPONENT_NAME$1d = 'TableRow';
12089
12844
 
12090
12845
  /**
12091
12846
  * Component default class name and class prefix.
12092
12847
  */
12093
- const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12848
+ const CLASSNAME$1a = getRootClassName(COMPONENT_NAME$1d, true);
12094
12849
 
12095
12850
  /**
12096
12851
  * Component default props.
@@ -12113,7 +12868,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12113
12868
  isDisabled = disabled,
12114
12869
  isSelected
12115
12870
  } = props,
12116
- forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12871
+ forwardedProps = _objectWithoutProperties(props, _excluded$1j);
12117
12872
  return /*#__PURE__*/React.createElement("tr", _extends({
12118
12873
  ref: ref,
12119
12874
  tabIndex: isClickable && !isDisabled ? 0 : -1
@@ -12122,16 +12877,16 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12122
12877
  isClickable: isClickable && !isDisabled,
12123
12878
  isDisabled,
12124
12879
  isSelected: isSelected && !isDisabled,
12125
- prefix: CLASSNAME$19
12880
+ prefix: CLASSNAME$1a
12126
12881
  })),
12127
12882
  "aria-disabled": isDisabled
12128
12883
  }), children);
12129
12884
  });
12130
- TableRow.displayName = COMPONENT_NAME$1c;
12131
- TableRow.className = CLASSNAME$19;
12885
+ TableRow.displayName = COMPONENT_NAME$1d;
12886
+ TableRow.className = CLASSNAME$1a;
12132
12887
  TableRow.defaultProps = DEFAULT_PROPS$V;
12133
12888
 
12134
- const _excluded$1h = ["children", "onChange"];
12889
+ const _excluded$1k = ["children", "onChange"];
12135
12890
  const DEFAULT_PROPS$W = {
12136
12891
  isLazy: INIT_STATE.isLazy,
12137
12892
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -12151,7 +12906,7 @@ const TabProvider = props => {
12151
12906
  children,
12152
12907
  onChange
12153
12908
  } = props,
12154
- propState = _objectWithoutProperties(props, _excluded$1h);
12909
+ propState = _objectWithoutProperties(props, _excluded$1k);
12155
12910
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
12156
12911
 
12157
12912
  // On prop state change => dispatch update.
@@ -12179,7 +12934,7 @@ const TabProvider = props => {
12179
12934
  };
12180
12935
  TabProvider.defaultProps = DEFAULT_PROPS$W;
12181
12936
 
12182
- const _excluded$1i = ["aria-label", "children", "className", "layout", "position", "theme"];
12937
+ const _excluded$1l = ["aria-label", "children", "className", "layout", "position", "theme"];
12183
12938
  let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12184
12939
  TabListLayout["clustered"] = "clustered";
12185
12940
  TabListLayout["fixed"] = "fixed";
@@ -12193,12 +12948,12 @@ let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12193
12948
  /**
12194
12949
  * Component display name.
12195
12950
  */
12196
- const COMPONENT_NAME$1d = 'TabList';
12951
+ const COMPONENT_NAME$1e = 'TabList';
12197
12952
 
12198
12953
  /**
12199
12954
  * Component default class name and class prefix.
12200
12955
  */
12201
- const CLASSNAME$1a = `${CSS_PREFIX}-tabs`;
12956
+ const CLASSNAME$1b = `${CSS_PREFIX}-tabs`;
12202
12957
 
12203
12958
  /**
12204
12959
  * Component default props.
@@ -12227,7 +12982,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12227
12982
  position,
12228
12983
  theme
12229
12984
  } = props,
12230
- forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12985
+ forwardedProps = _objectWithoutProperties(props, _excluded$1l);
12231
12986
  const tabListRef = React.useRef(null);
12232
12987
  useRovingTabIndex({
12233
12988
  parentRef: tabListRef,
@@ -12239,22 +12994,22 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12239
12994
  ref: mergeRefs(ref, tabListRef)
12240
12995
  }, forwardedProps, {
12241
12996
  className: classnames(className, handleBasicClasses({
12242
- prefix: CLASSNAME$1a,
12997
+ prefix: CLASSNAME$1b,
12243
12998
  layout,
12244
12999
  position,
12245
13000
  theme
12246
13001
  }))
12247
13002
  }), /*#__PURE__*/React.createElement("div", {
12248
- className: `${CLASSNAME$1a}__links`,
13003
+ className: `${CLASSNAME$1b}__links`,
12249
13004
  role: "tablist",
12250
13005
  "aria-label": ariaLabel
12251
13006
  }, children));
12252
13007
  });
12253
- TabList.displayName = COMPONENT_NAME$1d;
12254
- TabList.className = CLASSNAME$1a;
13008
+ TabList.displayName = COMPONENT_NAME$1e;
13009
+ TabList.className = CLASSNAME$1b;
12255
13010
  TabList.defaultProps = DEFAULT_PROPS$X;
12256
13011
 
12257
- const _excluded$1j = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
13012
+ const _excluded$1m = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12258
13013
 
12259
13014
  /**
12260
13015
  * Defines the props of the component.
@@ -12263,12 +13018,12 @@ const _excluded$1j = ["className", "disabled", "icon", "iconProps", "id", "isAct
12263
13018
  /**
12264
13019
  * Component display name.
12265
13020
  */
12266
- const COMPONENT_NAME$1e = 'Tab';
13021
+ const COMPONENT_NAME$1f = 'Tab';
12267
13022
 
12268
13023
  /**
12269
13024
  * Component default class name and class prefix.
12270
13025
  */
12271
- const CLASSNAME$1b = `${CSS_PREFIX}-tabs__link`;
13026
+ const CLASSNAME$1c = `${CSS_PREFIX}-tabs__link`;
12272
13027
 
12273
13028
  /**
12274
13029
  * Component default props.
@@ -12298,7 +13053,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12298
13053
  onKeyPress,
12299
13054
  tabIndex = -1
12300
13055
  } = props,
12301
- forwardedProps = _objectWithoutProperties(props, _excluded$1j);
13056
+ forwardedProps = _objectWithoutProperties(props, _excluded$1m);
12302
13057
  const state = useTabProviderContext('tab', id);
12303
13058
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
12304
13059
  const changeToCurrentTab = useCallback(() => {
@@ -12326,7 +13081,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12326
13081
  type: "button",
12327
13082
  id: state === null || state === void 0 ? void 0 : state.tabId,
12328
13083
  className: classnames(className, handleBasicClasses({
12329
- prefix: CLASSNAME$1b,
13084
+ prefix: CLASSNAME$1c,
12330
13085
  isActive,
12331
13086
  isDisabled
12332
13087
  })),
@@ -12343,11 +13098,11 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12343
13098
  size: Size.xs
12344
13099
  }, iconProps)), label && /*#__PURE__*/React.createElement("span", null, label));
12345
13100
  });
12346
- Tab.displayName = COMPONENT_NAME$1e;
12347
- Tab.className = CLASSNAME$1b;
13101
+ Tab.displayName = COMPONENT_NAME$1f;
13102
+ Tab.className = CLASSNAME$1c;
12348
13103
  Tab.defaultProps = DEFAULT_PROPS$Y;
12349
13104
 
12350
- const _excluded$1k = ["children", "id", "className", "isActive"];
13105
+ const _excluded$1n = ["children", "id", "className", "isActive"];
12351
13106
 
12352
13107
  /**
12353
13108
  * Defines the props of the component.
@@ -12356,12 +13111,12 @@ const _excluded$1k = ["children", "id", "className", "isActive"];
12356
13111
  /**
12357
13112
  * Component display name.
12358
13113
  */
12359
- const COMPONENT_NAME$1f = 'TabPanel';
13114
+ const COMPONENT_NAME$1g = 'TabPanel';
12360
13115
 
12361
13116
  /**
12362
13117
  * Component default class name and class prefix.
12363
13118
  */
12364
- const CLASSNAME$1c = `${CSS_PREFIX}-tab-panel`;
13119
+ const CLASSNAME$1d = `${CSS_PREFIX}-tab-panel`;
12365
13120
 
12366
13121
  /**
12367
13122
  * Component default props.
@@ -12384,7 +13139,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12384
13139
  className,
12385
13140
  isActive: propIsActive
12386
13141
  } = props,
12387
- forwardedProps = _objectWithoutProperties(props, _excluded$1k);
13142
+ forwardedProps = _objectWithoutProperties(props, _excluded$1n);
12388
13143
  const state = useTabProviderContext('tabPanel', id);
12389
13144
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
12390
13145
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -12392,7 +13147,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12392
13147
  }, forwardedProps, {
12393
13148
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
12394
13149
  className: classnames(className, handleBasicClasses({
12395
- prefix: CLASSNAME$1c,
13150
+ prefix: CLASSNAME$1d,
12396
13151
  isActive
12397
13152
  })),
12398
13153
  role: "tabpanel",
@@ -12400,11 +13155,11 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12400
13155
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
12401
13156
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
12402
13157
  });
12403
- TabPanel.displayName = COMPONENT_NAME$1f;
12404
- TabPanel.className = CLASSNAME$1c;
13158
+ TabPanel.displayName = COMPONENT_NAME$1g;
13159
+ TabPanel.className = CLASSNAME$1d;
12405
13160
  TabPanel.defaultProps = DEFAULT_PROPS$Z;
12406
13161
 
12407
- const _excluded$1l = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13162
+ const _excluded$1o = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
12408
13163
  _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"];
12409
13164
 
12410
13165
  /**
@@ -12414,12 +13169,12 @@ const _excluded$1l = ["id", "isDisabled", "isRequired", "placeholder", "multilin
12414
13169
  /**
12415
13170
  * Component display name.
12416
13171
  */
12417
- const COMPONENT_NAME$1g = 'TextField';
13172
+ const COMPONENT_NAME$1h = 'TextField';
12418
13173
 
12419
13174
  /**
12420
13175
  * Component default class name and class prefix.
12421
13176
  */
12422
- const CLASSNAME$1d = getRootClassName(COMPONENT_NAME$1g);
13177
+ const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
12423
13178
 
12424
13179
  /**
12425
13180
  * Default minimum number of rows in the multiline mode.
@@ -12489,7 +13244,7 @@ const renderInputNative = props => {
12489
13244
  hasError,
12490
13245
  describedById
12491
13246
  } = props,
12492
- forwardedProps = _objectWithoutProperties(props, _excluded$1l);
13247
+ forwardedProps = _objectWithoutProperties(props, _excluded$1o);
12493
13248
  // eslint-disable-next-line react-hooks/rules-of-hooks
12494
13249
  const ref = useRef(null);
12495
13250
 
@@ -12514,7 +13269,7 @@ const renderInputNative = props => {
12514
13269
  const Component = multiline ? 'textarea' : 'input';
12515
13270
  const inputProps = _objectSpread2(_objectSpread2({}, forwardedProps), {}, {
12516
13271
  id,
12517
- className: multiline ? `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--textarea` : `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--text`,
13272
+ className: multiline ? `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--textarea` : `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--text`,
12518
13273
  placeholder,
12519
13274
  value,
12520
13275
  name,
@@ -12635,31 +13390,31 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12635
13390
  isDisabled,
12636
13391
  isFocus: isFocus || forceFocusStyle,
12637
13392
  isValid,
12638
- prefix: CLASSNAME$1d,
13393
+ prefix: CLASSNAME$1e,
12639
13394
  theme
12640
13395
  }))
12641
13396
  }, (label || maxLength) && /*#__PURE__*/React.createElement("div", {
12642
- className: `${CLASSNAME$1d}__header`
13397
+ className: `${CLASSNAME$1e}__header`
12643
13398
  }, label && /*#__PURE__*/React.createElement(InputLabel, _extends({}, labelProps, {
12644
13399
  htmlFor: textFieldId,
12645
- className: `${CLASSNAME$1d}__label`,
13400
+ className: `${CLASSNAME$1e}__label`,
12646
13401
  isRequired: isRequired,
12647
13402
  theme: theme
12648
13403
  }), label), maxLength && /*#__PURE__*/React.createElement("div", {
12649
- className: `${CLASSNAME$1d}__char-counter`
13404
+ className: `${CLASSNAME$1e}__char-counter`
12650
13405
  }, /*#__PURE__*/React.createElement("span", null, maxLength - valueLength), maxLength - valueLength === 0 && /*#__PURE__*/React.createElement(Icon, {
12651
13406
  icon: mdiAlertCircle,
12652
13407
  size: Size.xxs
12653
13408
  }))), /*#__PURE__*/React.createElement("div", {
12654
- className: `${CLASSNAME$1d}__wrapper`,
13409
+ className: `${CLASSNAME$1e}__wrapper`,
12655
13410
  ref: textFieldRef
12656
13411
  }, icon && /*#__PURE__*/React.createElement(Icon, {
12657
- className: `${CLASSNAME$1d}__input-icon`,
13412
+ className: `${CLASSNAME$1e}__input-icon`,
12658
13413
  color: theme === Theme.dark ? 'light' : undefined,
12659
13414
  icon: icon,
12660
13415
  size: Size.xs
12661
13416
  }), chips && /*#__PURE__*/React.createElement("div", {
12662
- className: `${CLASSNAME$1d}__chips`
13417
+ className: `${CLASSNAME$1e}__chips`
12663
13418
  }, chips, renderInputNative(_objectSpread2({
12664
13419
  id: textFieldId,
12665
13420
  inputRef,
@@ -12680,7 +13435,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12680
13435
  hasError,
12681
13436
  describedById
12682
13437
  }, forwardedProps))), !chips && /*#__PURE__*/React.createElement("div", {
12683
- className: `${CLASSNAME$1d}__input-wrapper`
13438
+ className: `${CLASSNAME$1e}__input-wrapper`
12684
13439
  }, renderInputNative(_objectSpread2({
12685
13440
  id: textFieldId,
12686
13441
  inputRef,
@@ -12701,12 +13456,12 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12701
13456
  hasError,
12702
13457
  describedById
12703
13458
  }, forwardedProps))), (isValid || hasError) && /*#__PURE__*/React.createElement(Icon, {
12704
- className: `${CLASSNAME$1d}__input-validity`,
13459
+ className: `${CLASSNAME$1e}__input-validity`,
12705
13460
  color: theme === Theme.dark ? 'light' : undefined,
12706
13461
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
12707
13462
  size: Size.xxs
12708
13463
  }), clearButtonProps && isNotEmpty && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
12709
- className: `${CLASSNAME$1d}__input-clear`,
13464
+ className: `${CLASSNAME$1e}__input-clear`,
12710
13465
  icon: mdiCloseCircle,
12711
13466
  emphasis: Emphasis.low,
12712
13467
  size: Size.s,
@@ -12714,20 +13469,20 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12714
13469
  onClick: handleClear,
12715
13470
  type: "button"
12716
13471
  })), afterElement && /*#__PURE__*/React.createElement("div", {
12717
- className: `${CLASSNAME$1d}__after-element`
13472
+ className: `${CLASSNAME$1e}__after-element`
12718
13473
  }, afterElement)), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
12719
- className: `${CLASSNAME$1d}__helper`,
13474
+ className: `${CLASSNAME$1e}__helper`,
12720
13475
  kind: Kind.error,
12721
13476
  theme: theme,
12722
13477
  id: errorId
12723
13478
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
12724
- className: `${CLASSNAME$1d}__helper`,
13479
+ className: `${CLASSNAME$1e}__helper`,
12725
13480
  theme: theme,
12726
13481
  id: helperId
12727
13482
  }, helper));
12728
13483
  });
12729
- TextField.displayName = COMPONENT_NAME$1g;
12730
- TextField.className = CLASSNAME$1d;
13484
+ TextField.displayName = COMPONENT_NAME$1h;
13485
+ TextField.className = CLASSNAME$1e;
12731
13486
  TextField.defaultProps = DEFAULT_PROPS$_;
12732
13487
 
12733
13488
  function getState(img, event) {
@@ -12780,6 +13535,7 @@ function shiftPosition(_ref) {
12780
13535
  const shift = startFocus / (scaledSize - containerSize);
12781
13536
  return Math.floor(Math.max(Math.min(shift, 1), 0) * 100);
12782
13537
  }
13538
+
12783
13539
  // Compute CSS properties to apply the focus point.
12784
13540
  const useFocusPointStyle = (_ref2, element, isLoaded) => {
12785
13541
  let {
@@ -12872,7 +13628,7 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
12872
13628
  return style;
12873
13629
  };
12874
13630
 
12875
- const _excluded$1m = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
13631
+ const _excluded$1p = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "loadingPlaceholderImageRef", "size", "theme", "variant", "linkProps", "linkAs"];
12876
13632
 
12877
13633
  /**
12878
13634
  * Defines the props of the component.
@@ -12881,12 +13637,12 @@ const _excluded$1m = ["align", "alt", "aspectRatio", "badge", "className", "cros
12881
13637
  /**
12882
13638
  * Component display name.
12883
13639
  */
12884
- const COMPONENT_NAME$1h = 'Thumbnail';
13640
+ const COMPONENT_NAME$1i = 'Thumbnail';
12885
13641
 
12886
13642
  /**
12887
13643
  * Component default class name and class prefix.
12888
13644
  */
12889
- const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
13645
+ const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
12890
13646
 
12891
13647
  /**
12892
13648
  * Component default props.
@@ -12905,6 +13661,7 @@ const DEFAULT_PROPS$$ = {
12905
13661
  * @return React element.
12906
13662
  */
12907
13663
  const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13664
+ var _loadingPlaceholderIm;
12908
13665
  const {
12909
13666
  align,
12910
13667
  alt,
@@ -12923,13 +13680,14 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12923
13680
  isLoading: isLoadingProp,
12924
13681
  objectFit,
12925
13682
  loading,
13683
+ loadingPlaceholderImageRef,
12926
13684
  size,
12927
13685
  theme,
12928
13686
  variant,
12929
13687
  linkProps,
12930
13688
  linkAs
12931
13689
  } = props,
12932
- forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13690
+ forwardedProps = _objectWithoutProperties(props, _excluded$1p);
12933
13691
  const [imgElement, setImgElement] = useState();
12934
13692
 
12935
13693
  // Image loading state.
@@ -12963,12 +13721,20 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12963
13721
  wrapperProps.type = forwardedProps.type || 'button';
12964
13722
  wrapperProps['aria-label'] = forwardedProps['aria-label'] || alt;
12965
13723
  }
13724
+
13725
+ // If we have a loading placeholder image that is really loaded (complete)
13726
+ const loadingPlaceholderImage = isLoading && (loadingPlaceholderImageRef === null || loadingPlaceholderImageRef === void 0 ? void 0 : (_loadingPlaceholderIm = loadingPlaceholderImageRef.current) === null || _loadingPlaceholderIm === void 0 ? void 0 : _loadingPlaceholderIm.complete) && (loadingPlaceholderImageRef === null || loadingPlaceholderImageRef === void 0 ? void 0 : loadingPlaceholderImageRef.current) || undefined;
13727
+
13728
+ // Set loading placeholder image as background
13729
+ const loadingStyle = loadingPlaceholderImage ? {
13730
+ backgroundImage: `url(${loadingPlaceholderImage.src})`
13731
+ } : undefined;
12966
13732
  return /*#__PURE__*/React.createElement(Wrapper, _extends({}, wrapperProps, {
12967
13733
  ref: ref,
12968
13734
  className: classnames(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className, handleBasicClasses({
12969
13735
  align,
12970
13736
  aspectRatio,
12971
- prefix: CLASSNAME$1e,
13737
+ prefix: CLASSNAME$1f,
12972
13738
  size,
12973
13739
  theme,
12974
13740
  variant,
@@ -12979,14 +13745,21 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12979
13745
  isLoading,
12980
13746
  objectFit,
12981
13747
  hasBadge: !!badge
12982
- }), fillHeight && `${CLASSNAME$1e}--fill-height`)
13748
+ }), fillHeight && `${CLASSNAME$1f}--fill-height`)
12983
13749
  }), /*#__PURE__*/React.createElement("span", {
12984
- className: `${CLASSNAME$1e}__background`
12985
- }, /*#__PURE__*/React.createElement("img", _extends({}, imgProps, {
12986
- style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), imageErrorStyle), focusPointStyle),
12987
- ref: mergeRefs(setImgElement, propImgRef),
13750
+ className: `${CLASSNAME$1f}__background`
13751
+ }, /*#__PURE__*/React.createElement("img", _extends({
13752
+ // Use placeholder image size
13753
+ width: loadingPlaceholderImage === null || loadingPlaceholderImage === void 0 ? void 0 : loadingPlaceholderImage.naturalWidth,
13754
+ height: loadingPlaceholderImage === null || loadingPlaceholderImage === void 0 ? void 0 : loadingPlaceholderImage.naturalHeight
13755
+ }, imgProps, {
13756
+ style: _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
13757
+ // Reserve space while loading (when possible)
13758
+ width: isLoading ? (imgProps === null || imgProps === void 0 ? void 0 : imgProps.width) || (loadingPlaceholderImage === null || loadingPlaceholderImage === void 0 ? void 0 : loadingPlaceholderImage.naturalWidth) : undefined
13759
+ }, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), imageErrorStyle), focusPointStyle), loadingStyle),
13760
+ ref: useMergeRefs(setImgElement, propImgRef),
12988
13761
  className: classnames(handleBasicClasses({
12989
- prefix: `${CLASSNAME$1e}__image`,
13762
+ prefix: `${CLASSNAME$1f}__image`,
12990
13763
  isLoading,
12991
13764
  hasDefinedSize: Boolean((imgProps === null || imgProps === void 0 ? void 0 : imgProps.height) && imgProps.width)
12992
13765
  }), imgProps === null || imgProps === void 0 ? void 0 : imgProps.className),
@@ -12995,17 +13768,17 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12995
13768
  alt: alt,
12996
13769
  loading: loading
12997
13770
  })), !isLoading && hasError && /*#__PURE__*/React.createElement("span", {
12998
- className: `${CLASSNAME$1e}__fallback`
13771
+ className: `${CLASSNAME$1f}__fallback`
12999
13772
  }, hasIconErrorFallback ? /*#__PURE__*/React.createElement(Icon, {
13000
13773
  icon: fallback,
13001
13774
  size: Size.xxs,
13002
13775
  theme: theme
13003
13776
  }) : fallback)), badge && /*#__PURE__*/React.cloneElement(badge, {
13004
- className: classnames(`${CLASSNAME$1e}__badge`, badge.props.className)
13777
+ className: classnames(`${CLASSNAME$1f}__badge`, badge.props.className)
13005
13778
  }));
13006
13779
  });
13007
- Thumbnail.displayName = COMPONENT_NAME$1h;
13008
- Thumbnail.className = CLASSNAME$1e;
13780
+ Thumbnail.displayName = COMPONENT_NAME$1i;
13781
+ Thumbnail.className = CLASSNAME$1f;
13009
13782
  Thumbnail.defaultProps = DEFAULT_PROPS$$;
13010
13783
 
13011
13784
  /**
@@ -13043,7 +13816,7 @@ const ThumbnailObjectFit = {
13043
13816
  contain: 'contain'
13044
13817
  };
13045
13818
 
13046
- const _excluded$1n = ["after", "before", "className", "label"];
13819
+ const _excluded$1q = ["after", "before", "className", "label"];
13047
13820
 
13048
13821
  /**
13049
13822
  * Defines the props of the component.
@@ -13052,12 +13825,12 @@ const _excluded$1n = ["after", "before", "className", "label"];
13052
13825
  /**
13053
13826
  * Component display name.
13054
13827
  */
13055
- const COMPONENT_NAME$1i = 'Toolbar';
13828
+ const COMPONENT_NAME$1j = 'Toolbar';
13056
13829
 
13057
13830
  /**
13058
13831
  * Component default class name and class prefix.
13059
13832
  */
13060
- const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
13833
+ const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
13061
13834
 
13062
13835
  /**
13063
13836
  * Component default props.
@@ -13078,7 +13851,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13078
13851
  className,
13079
13852
  label
13080
13853
  } = props,
13081
- forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13854
+ forwardedProps = _objectWithoutProperties(props, _excluded$1q);
13082
13855
  return /*#__PURE__*/React.createElement("div", _extends({
13083
13856
  ref: ref
13084
13857
  }, forwardedProps, {
@@ -13086,18 +13859,18 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13086
13859
  hasAfter: Boolean(after),
13087
13860
  hasBefore: Boolean(before),
13088
13861
  hasLabel: Boolean(label),
13089
- prefix: CLASSNAME$1f
13862
+ prefix: CLASSNAME$1g
13090
13863
  }))
13091
13864
  }), before && /*#__PURE__*/React.createElement("div", {
13092
- className: `${CLASSNAME$1f}__before`
13865
+ className: `${CLASSNAME$1g}__before`
13093
13866
  }, before), label && /*#__PURE__*/React.createElement("div", {
13094
- className: `${CLASSNAME$1f}__label`
13867
+ className: `${CLASSNAME$1g}__label`
13095
13868
  }, label), after && /*#__PURE__*/React.createElement("div", {
13096
- className: `${CLASSNAME$1f}__after`
13869
+ className: `${CLASSNAME$1g}__after`
13097
13870
  }, after));
13098
13871
  });
13099
- Toolbar.displayName = COMPONENT_NAME$1i;
13100
- Toolbar.className = CLASSNAME$1f;
13872
+ Toolbar.displayName = COMPONENT_NAME$1j;
13873
+ Toolbar.className = CLASSNAME$1g;
13101
13874
  Toolbar.defaultProps = DEFAULT_PROPS$10;
13102
13875
 
13103
13876
  /**
@@ -13275,7 +14048,7 @@ function useTooltipOpen(delay, anchorElement) {
13275
14048
  };
13276
14049
  }
13277
14050
 
13278
- const _excluded$1o = ["label", "children", "className", "delay", "placement", "forceOpen"];
14051
+ const _excluded$1r = ["label", "children", "className", "delay", "placement", "forceOpen"];
13279
14052
 
13280
14053
  /** Position of the tooltip relative to the anchor element. */
13281
14054
 
@@ -13286,12 +14059,12 @@ const _excluded$1o = ["label", "children", "className", "delay", "placement", "f
13286
14059
  /**
13287
14060
  * Component display name.
13288
14061
  */
13289
- const COMPONENT_NAME$1j = 'Tooltip';
14062
+ const COMPONENT_NAME$1k = 'Tooltip';
13290
14063
 
13291
14064
  /**
13292
14065
  * Component default class name and class prefix.
13293
14066
  */
13294
- const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
14067
+ const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
13295
14068
 
13296
14069
  /**
13297
14070
  * Component default props.
@@ -13322,7 +14095,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
13322
14095
  placement,
13323
14096
  forceOpen
13324
14097
  } = props,
13325
- forwardedProps = _objectWithoutProperties(props, _excluded$1o);
14098
+ forwardedProps = _objectWithoutProperties(props, _excluded$1r);
13326
14099
  // Disable in SSR or without a label.
13327
14100
  if (!DOCUMENT || !label) {
13328
14101
  return /*#__PURE__*/React.createElement(TooltipContextProvider, null, children);
@@ -13356,23 +14129,23 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
13356
14129
  role: "tooltip",
13357
14130
  "aria-label": label,
13358
14131
  className: classnames(className, handleBasicClasses({
13359
- prefix: CLASSNAME$1g,
14132
+ prefix: CLASSNAME$1h,
13360
14133
  position
13361
14134
  })),
13362
14135
  style: styles.popper
13363
14136
  }, attributes.popper), /*#__PURE__*/React.createElement("div", {
13364
- className: `${CLASSNAME$1g}__arrow`
14137
+ className: `${CLASSNAME$1h}__arrow`
13365
14138
  }), /*#__PURE__*/React.createElement("div", {
13366
- className: `${CLASSNAME$1g}__inner`
14139
+ className: `${CLASSNAME$1h}__inner`
13367
14140
  }, label.indexOf('\n') !== -1 ? label.split('\n').map(sentence => /*#__PURE__*/React.createElement("p", {
13368
14141
  key: sentence
13369
14142
  }, sentence)) : label)), document.body));
13370
14143
  });
13371
- Tooltip.displayName = COMPONENT_NAME$1j;
13372
- Tooltip.className = CLASSNAME$1g;
14144
+ Tooltip.displayName = COMPONENT_NAME$1k;
14145
+ Tooltip.className = CLASSNAME$1h;
13373
14146
  Tooltip.defaultProps = DEFAULT_PROPS$11;
13374
14147
 
13375
- const _excluded$1p = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14148
+ const _excluded$1s = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
13376
14149
 
13377
14150
  /**
13378
14151
  * Uploader variants.
@@ -13398,12 +14171,12 @@ const UploaderVariant = {
13398
14171
  /**
13399
14172
  * Component display name.
13400
14173
  */
13401
- const COMPONENT_NAME$1k = 'Uploader';
14174
+ const COMPONENT_NAME$1l = 'Uploader';
13402
14175
 
13403
14176
  /**
13404
14177
  * Component default class name and class prefix.
13405
14178
  */
13406
- const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
14179
+ const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
13407
14180
 
13408
14181
  /**
13409
14182
  * Component default props.
@@ -13433,7 +14206,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13433
14206
  variant,
13434
14207
  fileInputProps
13435
14208
  } = props,
13436
- forwardedProps = _objectWithoutProperties(props, _excluded$1p);
14209
+ forwardedProps = _objectWithoutProperties(props, _excluded$1s);
13437
14210
  // Adjust to square aspect ratio when using circle variants.
13438
14211
  const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
13439
14212
  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]);
@@ -13462,26 +14235,26 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13462
14235
  }, wrapper.props, forwardedProps, {
13463
14236
  className: classnames(className, handleBasicClasses({
13464
14237
  aspectRatio: adjustedAspectRatio,
13465
- prefix: CLASSNAME$1h,
14238
+ prefix: CLASSNAME$1i,
13466
14239
  size,
13467
14240
  theme,
13468
14241
  variant,
13469
14242
  isDragHovering
13470
14243
  }))
13471
14244
  }), /*#__PURE__*/React.createElement("span", {
13472
- className: `${CLASSNAME$1h}__background`
14245
+ className: `${CLASSNAME$1i}__background`
13473
14246
  }), /*#__PURE__*/React.createElement("span", {
13474
- className: `${CLASSNAME$1h}__wrapper`
14247
+ className: `${CLASSNAME$1i}__wrapper`
13475
14248
  }, icon && /*#__PURE__*/React.createElement(Icon, {
13476
- className: `${CLASSNAME$1h}__icon`,
14249
+ className: `${CLASSNAME$1i}__icon`,
13477
14250
  icon: icon,
13478
14251
  size: Size.s
13479
14252
  }), label && /*#__PURE__*/React.createElement("span", {
13480
- className: `${CLASSNAME$1h}__label`
14253
+ className: `${CLASSNAME$1i}__label`
13481
14254
  }, label)), fileInputProps && /*#__PURE__*/React.createElement("input", _extends({
13482
14255
  type: "file",
13483
14256
  id: inputId,
13484
- className: `${CLASSNAME$1h}__input`
14257
+ className: `${CLASSNAME$1i}__input`
13485
14258
  }, fileInputProps, {
13486
14259
  onChange: onChange,
13487
14260
  onDragEnter: setDragHovering,
@@ -13489,11 +14262,11 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13489
14262
  onDrop: unsetDragHovering
13490
14263
  })));
13491
14264
  });
13492
- Uploader.displayName = COMPONENT_NAME$1k;
13493
- Uploader.className = CLASSNAME$1h;
14265
+ Uploader.displayName = COMPONENT_NAME$1l;
14266
+ Uploader.className = CLASSNAME$1i;
13494
14267
  Uploader.defaultProps = DEFAULT_PROPS$12;
13495
14268
 
13496
- const _excluded$1q = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14269
+ const _excluded$1t = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
13497
14270
 
13498
14271
  /**
13499
14272
  * User block sizes.
@@ -13506,12 +14279,12 @@ const _excluded$1q = ["avatarProps", "className", "fields", "linkProps", "linkAs
13506
14279
  /**
13507
14280
  * Component display name.
13508
14281
  */
13509
- const COMPONENT_NAME$1l = 'UserBlock';
14282
+ const COMPONENT_NAME$1m = 'UserBlock';
13510
14283
 
13511
14284
  /**
13512
14285
  * Component default class name and class prefix.
13513
14286
  */
13514
- const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
14287
+ const CLASSNAME$1j = getRootClassName(COMPONENT_NAME$1m);
13515
14288
 
13516
14289
  /**
13517
14290
  * Component default props.
@@ -13547,7 +14320,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13547
14320
  size,
13548
14321
  theme
13549
14322
  } = props,
13550
- forwardedProps = _objectWithoutProperties(props, _excluded$1q);
14323
+ forwardedProps = _objectWithoutProperties(props, _excluded$1t);
13551
14324
  let componentSize = size;
13552
14325
 
13553
14326
  // Special case - When using vertical orientation force the size to be Sizes.l.
@@ -13563,7 +14336,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13563
14336
  }
13564
14337
  let NameComponent = 'span';
13565
14338
  const nProps = _objectSpread2(_objectSpread2({}, nameProps), {}, {
13566
- className: classnames(`${CLASSNAME$1i}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
14339
+ className: classnames(`${CLASSNAME$1j}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
13567
14340
  });
13568
14341
  if (isClickable) {
13569
14342
  NameComponent = Link;
@@ -13580,16 +14353,16 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13580
14353
  return /*#__PURE__*/React.createElement(NameComponent, nProps, name);
13581
14354
  }, [avatarProps, isClickable, linkAs, linkProps, name, nameProps, onClick]);
13582
14355
  const fieldsBlock = fields && componentSize !== Size.s && /*#__PURE__*/React.createElement("div", {
13583
- className: `${CLASSNAME$1i}__fields`
14356
+ className: `${CLASSNAME$1j}__fields`
13584
14357
  }, fields.map((field, idx) => /*#__PURE__*/React.createElement("span", {
13585
14358
  key: idx,
13586
- className: `${CLASSNAME$1i}__field`
14359
+ className: `${CLASSNAME$1j}__field`
13587
14360
  }, field)));
13588
14361
  return /*#__PURE__*/React.createElement("div", _extends({
13589
14362
  ref: ref
13590
14363
  }, forwardedProps, {
13591
14364
  className: classnames(className, handleBasicClasses({
13592
- prefix: CLASSNAME$1i,
14365
+ prefix: CLASSNAME$1j,
13593
14366
  orientation,
13594
14367
  size: componentSize,
13595
14368
  theme,
@@ -13602,21 +14375,21 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13602
14375
  linkProps: linkProps,
13603
14376
  alt: ""
13604
14377
  }, avatarProps, {
13605
- className: classnames(`${CLASSNAME$1i}__avatar`, avatarProps.className),
14378
+ className: classnames(`${CLASSNAME$1j}__avatar`, avatarProps.className),
13606
14379
  size: componentSize,
13607
14380
  onClick: onClick,
13608
14381
  theme: theme
13609
14382
  })), (fields || name) && /*#__PURE__*/React.createElement("div", {
13610
- className: `${CLASSNAME$1i}__wrapper`
14383
+ className: `${CLASSNAME$1j}__wrapper`
13611
14384
  }, nameBlock, fieldsBlock), shouldDisplayActions && simpleAction && /*#__PURE__*/React.createElement("div", {
13612
- className: `${CLASSNAME$1i}__action`
14385
+ className: `${CLASSNAME$1j}__action`
13613
14386
  }, simpleAction), shouldDisplayActions && multipleActions && /*#__PURE__*/React.createElement("div", {
13614
- className: `${CLASSNAME$1i}__actions`
14387
+ className: `${CLASSNAME$1j}__actions`
13615
14388
  }, multipleActions));
13616
14389
  });
13617
- UserBlock.displayName = COMPONENT_NAME$1l;
13618
- UserBlock.className = CLASSNAME$1i;
14390
+ UserBlock.displayName = COMPONENT_NAME$1m;
14391
+ UserBlock.className = CLASSNAME$1j;
13619
14392
  UserBlock.defaultProps = DEFAULT_PROPS$13;
13620
14393
 
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 };
14394
+ 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 };
13622
14395
  //# sourceMappingURL=index.js.map