@lumx/react 3.8.1 → 3.8.2-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.
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 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
+ 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`.
@@ -7814,7 +7827,736 @@ ImageBlock.displayName = COMPONENT_NAME$x;
7814
7827
  ImageBlock.className = CLASSNAME$u;
7815
7828
  ImageBlock.defaultProps = DEFAULT_PROPS$q;
7816
7829
 
7817
- const _excluded$z = ["className", "color", "colorVariant", "typography", "children", "wrap"];
7830
+ /**
7831
+ * Component display name.
7832
+ */
7833
+ const COMPONENT_NAME$y = 'ImageLightbox';
7834
+
7835
+ /**
7836
+ * Component default class name and class prefix.
7837
+ */
7838
+ const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
7839
+
7840
+ /**
7841
+ * Observe element size (only works if it's size depends on the window size).
7842
+ *
7843
+ * (Not using ResizeObserver for better browser backward compat)
7844
+ *
7845
+ * @param elementRef Element to observe
7846
+ * @return the size and a manual update callback
7847
+ */
7848
+ function useElementSizeDependentOfWindowSize(elementRef) {
7849
+ const [size, setSize] = React.useState(null);
7850
+ const updateSize = React.useMemo(() => throttle(() => {
7851
+ var _elementRef$current;
7852
+ const newSize = (_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.getBoundingClientRect();
7853
+ if (newSize) setSize(newSize);
7854
+ }, 10), [elementRef]);
7855
+ React.useEffect(() => {
7856
+ updateSize();
7857
+ window.addEventListener('resize', updateSize);
7858
+ return () => window.removeEventListener('resize', updateSize);
7859
+ }, [updateSize]);
7860
+ return [size, updateSize];
7861
+ }
7862
+
7863
+ /** Get natural image size after load. */
7864
+ function useImageSize(imgRef, getInitialSize) {
7865
+ const [imageSize, setImageSize] = React.useState(getInitialSize || null);
7866
+ React.useEffect(() => {
7867
+ const {
7868
+ current: img
7869
+ } = imgRef;
7870
+ if (!img) {
7871
+ return undefined;
7872
+ }
7873
+ const onLoad = () => setImageSize({
7874
+ width: img.naturalWidth,
7875
+ height: img.naturalHeight
7876
+ });
7877
+ img.addEventListener('load', onLoad);
7878
+ return () => img.removeEventListener('load', onLoad);
7879
+ }, [imgRef]);
7880
+ return imageSize;
7881
+ }
7882
+
7883
+ /** Check if user prefers reduced motion */
7884
+ function getPrefersReducedMotion() {
7885
+ var _WINDOW$matchMedia;
7886
+ 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;
7887
+ }
7888
+
7889
+ /** Minimal recursive deep equal of JS values */
7890
+ function isEqual(obj1, obj2) {
7891
+ if (obj1 === obj2) return true;
7892
+ if (typeof obj1 === 'object' && typeof obj2 === 'object') {
7893
+ const keys1 = Object.keys(obj1);
7894
+ const keys2 = Object.keys(obj2);
7895
+ if (keys1.length !== keys2.length) return false;
7896
+ return keys1.every(key1 => isEqual(obj1[key1], obj2[key1]));
7897
+ }
7898
+ return false;
7899
+ }
7900
+
7901
+ /**
7902
+ * Listen to mouse wheel + ctrl and multi-pointer pinch to zoom
7903
+ */
7904
+ function usePointerZoom(scrollAreaRef, onScaleChange, animateScroll) {
7905
+ const [isPointerZooming, setPointerZooming] = React.useState(false);
7906
+ React.useEffect(() => {
7907
+ const scrollArea = scrollAreaRef.current;
7908
+ if (!scrollArea || !onScaleChange) {
7909
+ return undefined;
7910
+ }
7911
+ let animationFrame;
7912
+ let zoomStateTimeoutId;
7913
+ function updateScaleOnNextFrame(newScale, mousePosition) {
7914
+ // Cancel previously scheduled frame
7915
+ if (animationFrame) cancelAnimationFrame(animationFrame);
7916
+
7917
+ // Cancel previously scheduled zoom state change
7918
+ if (zoomStateTimeoutId) clearTimeout(zoomStateTimeoutId);
7919
+ function nextFrame() {
7920
+ setPointerZooming(true);
7921
+ onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(newScale);
7922
+ animationFrame = null;
7923
+ // Wait a bit before indicating the pointer zooming is finished
7924
+ zoomStateTimeoutId = setTimeout(() => setPointerZooming(false), 100);
7925
+ }
7926
+ animationFrame = requestAnimationFrame(nextFrame);
7927
+
7928
+ // Animate scroll in parallel (centering on the current mouse position)
7929
+ animateScroll(mousePosition, {
7930
+ width: scrollArea.scrollWidth,
7931
+ height: scrollArea.scrollHeight
7932
+ });
7933
+ }
7934
+ function onWheel(event) {
7935
+ if (!event.ctrlKey) {
7936
+ return;
7937
+ }
7938
+ event.preventDefault();
7939
+ const newScale = Math.exp(-event.deltaY / 50);
7940
+
7941
+ // Update scale on next frame (focused on the mouse position)
7942
+ updateScaleOnNextFrame(newScale, {
7943
+ x: event.pageX,
7944
+ y: event.pageY
7945
+ });
7946
+ }
7947
+ const activePointers = {};
7948
+ let prevDistance = null;
7949
+ let previousCenterPoint = null;
7950
+ function onPointerDown(event) {
7951
+ activePointers[event.pointerId] = event;
7952
+ }
7953
+ function onPointerMove(event) {
7954
+ // Update pointer in cache
7955
+ if (activePointers[event.pointerId]) {
7956
+ activePointers[event.pointerId] = event;
7957
+ }
7958
+ const pointers = Object.values(activePointers);
7959
+
7960
+ // Make sure we run computation on one of the pointer in the group
7961
+ if (pointers[0].pointerId !== event.pointerId) {
7962
+ return;
7963
+ }
7964
+
7965
+ // Centered point between all pointers
7966
+ const centerPoint = {
7967
+ x: pointers.reduce((x, _ref) => {
7968
+ let {
7969
+ clientX
7970
+ } = _ref;
7971
+ return x + clientX;
7972
+ }, 0) / pointers.length,
7973
+ y: pointers.reduce((y, _ref2) => {
7974
+ let {
7975
+ clientY
7976
+ } = _ref2;
7977
+ return y + clientY;
7978
+ }, 0) / pointers.length
7979
+ };
7980
+
7981
+ // Movement of the center point
7982
+ const deltaCenterPoint = previousCenterPoint && {
7983
+ left: previousCenterPoint.x - centerPoint.x,
7984
+ top: previousCenterPoint.y - centerPoint.y
7985
+ };
7986
+
7987
+ // Pan X & Y
7988
+ if (deltaCenterPoint) {
7989
+ // Apply movement of the center point to the scroll
7990
+ scrollArea.scrollBy({
7991
+ top: deltaCenterPoint.top / 2,
7992
+ left: deltaCenterPoint.left / 2
7993
+ });
7994
+ }
7995
+
7996
+ // Pinch to zoom
7997
+ if (pointers.length === 2) {
7998
+ const [pointer1, pointer2] = pointers;
7999
+ const distance = Math.hypot(pointer2.clientX - pointer1.clientX, pointer2.clientY - pointer1.clientY);
8000
+ if (prevDistance && deltaCenterPoint) {
8001
+ const delta = prevDistance - distance;
8002
+ const absDelta = Math.abs(delta);
8003
+
8004
+ // Zoom only if we are "pinching" more than we are moving the pointers
8005
+ if (absDelta > Math.abs(deltaCenterPoint.left) && absDelta > Math.abs(deltaCenterPoint.top)) {
8006
+ // Update scale on next frame (focused on the center point between the two pointers)
8007
+ const newScale = Math.exp(-delta / 100);
8008
+ updateScaleOnNextFrame(newScale, centerPoint);
8009
+ }
8010
+ }
8011
+ prevDistance = distance;
8012
+ }
8013
+ previousCenterPoint = centerPoint;
8014
+ }
8015
+ function onPointerUp(event) {
8016
+ prevDistance = null;
8017
+ previousCenterPoint = null;
8018
+ delete activePointers[event.pointerId];
8019
+ }
8020
+ scrollArea.addEventListener('wheel', onWheel, {
8021
+ passive: false
8022
+ });
8023
+ const isMultiTouch = navigator.maxTouchPoints >= 2;
8024
+ if (isMultiTouch) {
8025
+ scrollArea.addEventListener('pointerdown', onPointerDown);
8026
+ scrollArea.addEventListener('pointermove', onPointerMove);
8027
+ scrollArea.addEventListener('pointerup', onPointerUp);
8028
+ }
8029
+ return () => {
8030
+ scrollArea.removeEventListener('wheel', onWheel);
8031
+ if (isMultiTouch) {
8032
+ scrollArea.removeEventListener('pointerdown', onPointerDown);
8033
+ scrollArea.removeEventListener('pointermove', onPointerMove);
8034
+ scrollArea.removeEventListener('pointerup', onPointerUp);
8035
+ }
8036
+ };
8037
+ }, [animateScroll, onScaleChange, scrollAreaRef]);
8038
+ return isPointerZooming;
8039
+ }
8040
+
8041
+ /** Maintains the scroll position centered relative to the original scroll area's dimensions when the content scales. */
8042
+ function useAnimateScroll(scrollAreaRef) {
8043
+ return React.useMemo(() => {
8044
+ let animationFrame = null;
8045
+ return function animate(centerPoint, initialScrollAreaSize) {
8046
+ const scrollArea = scrollAreaRef.current;
8047
+ if (!scrollArea) {
8048
+ return;
8049
+ }
8050
+
8051
+ // Cancel previously running animation
8052
+ if (animationFrame) cancelAnimationFrame(animationFrame);
8053
+
8054
+ // Center on the given point or else on the scroll area visual center
8055
+ const clientHeightRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.y ? centerPoint.y / scrollArea.clientHeight : 0.5;
8056
+ const clientWidthRatio = centerPoint !== null && centerPoint !== void 0 && centerPoint.x ? centerPoint.x / scrollArea.clientWidth : 0.5;
8057
+ const initialScrollHeight = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.height) || scrollArea.scrollHeight;
8058
+ const initialScrollWidth = (initialScrollAreaSize === null || initialScrollAreaSize === void 0 ? void 0 : initialScrollAreaSize.width) || scrollArea.scrollWidth;
8059
+ const heightCenter = scrollArea.scrollTop + scrollArea.clientHeight * clientHeightRatio;
8060
+ const heightRatio = heightCenter / initialScrollHeight;
8061
+ const widthCenter = scrollArea.scrollLeft + scrollArea.clientWidth * clientWidthRatio;
8062
+ const widthRatio = widthCenter / initialScrollWidth;
8063
+ let prevScrollHeight = 0;
8064
+ let prevScrollWidth = 0;
8065
+ function nextFrame() {
8066
+ const {
8067
+ scrollHeight,
8068
+ scrollWidth,
8069
+ clientHeight,
8070
+ clientWidth
8071
+ } = scrollArea;
8072
+
8073
+ // Scroll area stopped expanding => stop animation
8074
+ if (scrollHeight === prevScrollHeight && scrollWidth === prevScrollWidth) {
8075
+ animationFrame = null;
8076
+ return;
8077
+ }
8078
+
8079
+ // Compute next scroll position
8080
+ const top = heightRatio * scrollHeight - clientHeight * clientHeightRatio;
8081
+ const left = widthRatio * scrollWidth - clientWidth * clientWidthRatio;
8082
+ scrollArea.scrollTo({
8083
+ top,
8084
+ left
8085
+ });
8086
+ prevScrollHeight = scrollHeight;
8087
+ prevScrollWidth = scrollWidth;
8088
+ animationFrame = requestAnimationFrame(nextFrame);
8089
+ }
8090
+ animationFrame = requestAnimationFrame(nextFrame);
8091
+ };
8092
+ }, [scrollAreaRef]);
8093
+ }
8094
+
8095
+ /** Internal image slide component for ImageLightbox */
8096
+ const ImageSlide = /*#__PURE__*/React.memo(props => {
8097
+ const {
8098
+ isActive,
8099
+ scale,
8100
+ onScaleChange,
8101
+ image: {
8102
+ image,
8103
+ imgRef: propImgRef,
8104
+ imgProps,
8105
+ alt,
8106
+ loadingPlaceholderImageRef
8107
+ }
8108
+ } = props;
8109
+
8110
+ // Get scroll area size
8111
+ const scrollAreaRef = React.useRef(null);
8112
+ const [scrollAreaSize, updateSize] = useElementSizeDependentOfWindowSize(scrollAreaRef);
8113
+ React.useEffect(() => {
8114
+ // Update size when active
8115
+ if (isActive) updateSize();
8116
+ }, [isActive, updateSize]);
8117
+
8118
+ // Get image size
8119
+ const imgRef = React.useRef(null);
8120
+ const imageSize = useImageSize(imgRef, () => {
8121
+ const width = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.width, 10);
8122
+ const height = Number.parseInt(imgProps === null || imgProps === void 0 ? void 0 : imgProps.height, 10);
8123
+ return width && height ? {
8124
+ width,
8125
+ height
8126
+ } : null;
8127
+ });
8128
+
8129
+ // Calculate new image size with scale
8130
+ const scaledImageSize = React.useMemo(() => {
8131
+ if (!scrollAreaSize || !imageSize) {
8132
+ return null;
8133
+ }
8134
+ const horizontalScale = scrollAreaSize.width / imageSize.width;
8135
+ const verticalScale = scrollAreaSize.height / imageSize.height;
8136
+ const baseScale = Math.min(1, Math.min(horizontalScale, verticalScale));
8137
+ return {
8138
+ width: imageSize.width * baseScale * (scale !== null && scale !== void 0 ? scale : 1),
8139
+ height: imageSize.height * baseScale * (scale !== null && scale !== void 0 ? scale : 1)
8140
+ };
8141
+ }, [scrollAreaSize, imageSize, scale]);
8142
+
8143
+ // Animate scroll to preserve the center of the current visible window in the scroll area
8144
+ const animateScroll = useAnimateScroll(scrollAreaRef);
8145
+
8146
+ // Zoom via mouse wheel or multi-touch pinch zoom
8147
+ const isPointerZooming = usePointerZoom(scrollAreaRef, onScaleChange, animateScroll);
8148
+
8149
+ // Animate scroll on scale change
8150
+ React.useLayoutEffect(() => {
8151
+ if (scale && !isPointerZooming) {
8152
+ animateScroll();
8153
+ }
8154
+ }, [isPointerZooming, scale, animateScroll]);
8155
+ const isScrollable = scaledImageSize && scrollAreaSize && (scaledImageSize.width > scrollAreaSize.width || scaledImageSize.height > scrollAreaSize.height);
8156
+ return /*#__PURE__*/React.createElement(SlideshowItem, {
8157
+ ref: scrollAreaRef
8158
+ // Make it accessible to keyboard nav when the zone is scrollable
8159
+ ,
8160
+ tabIndex: isScrollable ? 0 : undefined,
8161
+ className: `${CLASSNAME$v}__image-slide`
8162
+ }, /*#__PURE__*/React.createElement(Thumbnail, {
8163
+ imgRef: useMergeRefs(imgRef, propImgRef),
8164
+ image: image,
8165
+ alt: alt,
8166
+ className: `${CLASSNAME$v}__thumbnail`,
8167
+ imgProps: _objectSpread2(_objectSpread2({}, imgProps), {}, {
8168
+ style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), scaledImageSize || {
8169
+ maxHeight: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.height,
8170
+ maxWidth: scrollAreaSize === null || scrollAreaSize === void 0 ? void 0 : scrollAreaSize.width
8171
+ }), {}, {
8172
+ // Only animate when scale is set, and we are not pointer zooming and the user does not prefer reduced motion
8173
+ transition: scale && !isPointerZooming && !getPrefersReducedMotion() ? 'all 250ms' : undefined
8174
+ })
8175
+ }),
8176
+ loadingPlaceholderImageRef: loadingPlaceholderImageRef
8177
+ }));
8178
+ }, isEqual);
8179
+
8180
+ const _excluded$z = ["image", "imgRef"];
8181
+ /** Internal image slideshow component for ImageLightbox */
8182
+ const ImageSlideshow = _ref => {
8183
+ var _images$activeIndex, _images$activeIndex2, _images$activeIndex3;
8184
+ let {
8185
+ activeImageIndex,
8186
+ images,
8187
+ slideGroupLabel,
8188
+ zoomInButtonProps,
8189
+ zoomOutButtonProps,
8190
+ slideshowControlsProps,
8191
+ currentPaginationItemRef,
8192
+ footerRef,
8193
+ activeImageRef
8194
+ } = _ref;
8195
+ const {
8196
+ activeIndex,
8197
+ slideshowId,
8198
+ setSlideshow,
8199
+ slideshowSlidesId,
8200
+ slidesCount,
8201
+ onNextClick,
8202
+ onPaginationClick,
8203
+ onPreviousClick,
8204
+ toggleAutoPlay
8205
+ } = SlideshowControls.useSlideshowControls({
8206
+ itemsCount: images.length,
8207
+ activeIndex: activeImageIndex
8208
+ });
8209
+
8210
+ // Image metadata (caption)
8211
+ const title = (_images$activeIndex = images[activeIndex]) === null || _images$activeIndex === void 0 ? void 0 : _images$activeIndex.title;
8212
+ const description = (_images$activeIndex2 = images[activeIndex]) === null || _images$activeIndex2 === void 0 ? void 0 : _images$activeIndex2.description;
8213
+ const tags = (_images$activeIndex3 = images[activeIndex]) === null || _images$activeIndex3 === void 0 ? void 0 : _images$activeIndex3.tags;
8214
+ const metadata = title || description || tags ? /*#__PURE__*/React.createElement(ImageCaption, {
8215
+ theme: "dark",
8216
+ as: "div",
8217
+ title: title,
8218
+ description: description,
8219
+ tags: tags,
8220
+ align: "center"
8221
+ }) : null;
8222
+
8223
+ // Slideshow controls
8224
+ const slideShowControls = slidesCount > 1 && slideshowControlsProps ? /*#__PURE__*/React.createElement(SlideshowControls, _extends({
8225
+ theme: "dark",
8226
+ activeIndex: activeIndex,
8227
+ slidesCount: slidesCount,
8228
+ onNextClick: onNextClick,
8229
+ onPreviousClick: onPreviousClick,
8230
+ onPaginationClick: onPaginationClick
8231
+ }, slideshowControlsProps, {
8232
+ paginationItemProps: index => {
8233
+ var _slideshowControlsPro;
8234
+ const props = (slideshowControlsProps === null || slideshowControlsProps === void 0 ? void 0 : (_slideshowControlsPro = slideshowControlsProps.paginationItemProps) === null || _slideshowControlsPro === void 0 ? void 0 : _slideshowControlsPro.call(slideshowControlsProps, index)) || {};
8235
+ return _objectSpread2(_objectSpread2({}, props), {}, {
8236
+ ref: mergeRefs(props === null || props === void 0 ? void 0 : props.ref,
8237
+ // Focus the active pagination item once on mount
8238
+ activeIndex === index ? currentPaginationItemRef : undefined)
8239
+ });
8240
+ }
8241
+ })) : null;
8242
+
8243
+ // Zoom controls
8244
+ const [scale, setScale] = React.useState(undefined);
8245
+ const zoomEnabled = zoomInButtonProps && zoomOutButtonProps;
8246
+ const onScaleChange = React.useMemo(() => {
8247
+ if (!zoomEnabled) return undefined;
8248
+ return newScale => {
8249
+ setScale(function () {
8250
+ let prevScale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
8251
+ return Math.max(1, newScale * prevScale);
8252
+ });
8253
+ };
8254
+ }, [zoomEnabled]);
8255
+ const zoomIn = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(1.5), [onScaleChange]);
8256
+ const zoomOut = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(0.5), [onScaleChange]);
8257
+ React.useEffect(() => {
8258
+ // Reset scale on slide change
8259
+ if (activeIndex) setScale(undefined);
8260
+ }, [activeIndex]);
8261
+ const zoomControls = zoomEnabled && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomInButtonProps, {
8262
+ theme: "dark",
8263
+ emphasis: "low",
8264
+ icon: mdiMagnifyPlusOutline,
8265
+ onClick: zoomIn
8266
+ })), /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomOutButtonProps, {
8267
+ theme: "dark",
8268
+ emphasis: "low",
8269
+ isDisabled: !scale || scale <= 1,
8270
+ icon: mdiMagnifyMinusOutline,
8271
+ onClick: zoomOut
8272
+ })));
8273
+ const getImgRef = React.useMemo(() => memoize((index, isActive) => {
8274
+ return mergeRefs(images === null || images === void 0 ? void 0 : images[index].imgRef, isActive ? activeImageRef : undefined);
8275
+ },
8276
+ // memoize based on both arguments
8277
+ function () {
8278
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8279
+ args[_key] = arguments[_key];
8280
+ }
8281
+ return args.join();
8282
+ }), [images, activeImageRef]);
8283
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Slides, {
8284
+ activeIndex: activeIndex,
8285
+ theme: "dark",
8286
+ slideGroupLabel: slideGroupLabel,
8287
+ fillHeight: true,
8288
+ id: slideshowId,
8289
+ ref: setSlideshow,
8290
+ slidesId: slideshowSlidesId,
8291
+ toggleAutoPlay: toggleAutoPlay
8292
+ }, images.map((_ref2, index) => {
8293
+ let {
8294
+ image,
8295
+ imgRef
8296
+ } = _ref2,
8297
+ imageProps = _objectWithoutProperties(_ref2, _excluded$z);
8298
+ const isActive = index === activeIndex;
8299
+ return /*#__PURE__*/React.createElement(ImageSlide, {
8300
+ isActive: isActive,
8301
+ key: image,
8302
+ image: _objectSpread2(_objectSpread2({}, imageProps), {}, {
8303
+ image,
8304
+ imgRef: getImgRef(index, isActive)
8305
+ }),
8306
+ scale: isActive ? scale : undefined,
8307
+ onScaleChange: onScaleChange
8308
+ });
8309
+ })), (metadata || slideShowControls || zoomControls) && /*#__PURE__*/React.createElement(FlexBox, {
8310
+ ref: footerRef,
8311
+ className: `${CLASSNAME$v}__footer`,
8312
+ orientation: "vertical",
8313
+ vAlign: "center",
8314
+ gap: "big"
8315
+ }, metadata, /*#__PURE__*/React.createElement(FlexBox, {
8316
+ className: `${CLASSNAME$v}__footer-actions`,
8317
+ orientation: "horizontal",
8318
+ gap: "regular"
8319
+ }, slideShowControls, zoomControls)));
8320
+ };
8321
+
8322
+ /** Unref a react ref or element */
8323
+ function unref(maybeElement) {
8324
+ if (maybeElement instanceof HTMLElement) return maybeElement;
8325
+ return maybeElement === null || maybeElement === void 0 ? void 0 : maybeElement.current;
8326
+ }
8327
+
8328
+ function setTransitionViewName(elementRef, name) {
8329
+ const element = unref(elementRef);
8330
+ if (element) element.style.viewTransitionName = name;
8331
+ }
8332
+
8333
+ /**
8334
+ * Wrapper around the `document.startViewTransition` handling browser incompatibilities, react DOM flush and
8335
+ * user preference.
8336
+ *
8337
+ * @param changes callback containing the changes to apply within the view transition.
8338
+ * @param setViewTransitionName set the `viewTransitionName` style on a `source` & `target` to morph these elements.
8339
+ */
8340
+ async function startViewTransition(_ref) {
8341
+ var _document, _document$startViewTr;
8342
+ let {
8343
+ changes,
8344
+ viewTransitionName
8345
+ } = _ref;
8346
+ 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);
8347
+ const prefersReducedMotion = getPrefersReducedMotion();
8348
+ const {
8349
+ flushSync
8350
+ } = ReactDOM;
8351
+ if (prefersReducedMotion || !start || !flushSync || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.source) || !(viewTransitionName !== null && viewTransitionName !== void 0 && viewTransitionName.target)) {
8352
+ // Skip, apply changes without a transition
8353
+ changes();
8354
+ return;
8355
+ }
8356
+
8357
+ // Set transition name on source element
8358
+ setTransitionViewName(viewTransitionName.source, viewTransitionName.name);
8359
+
8360
+ // Start view transition, apply changes & flush to DOM
8361
+ await start(() => {
8362
+ // Un-set transition name on source element
8363
+ setTransitionViewName(viewTransitionName.source, null);
8364
+ flushSync(changes);
8365
+
8366
+ // Set transition name on target element
8367
+ setTransitionViewName(viewTransitionName.target, viewTransitionName.name);
8368
+ }).updateCallbackDone;
8369
+
8370
+ // Un-set transition name on target element
8371
+ setTransitionViewName(viewTransitionName.target, null);
8372
+ }
8373
+
8374
+ /** Find image in element including the element */
8375
+ const findImage = element => element !== null && element !== void 0 && element.matches('img') ? element : (element === null || element === void 0 ? void 0 : element.querySelector('img')) || null;
8376
+
8377
+ const _excluded$A = ["images"];
8378
+
8379
+ /** Subset of the ImageLightboxProps managed by the useImageLightbox hook */
8380
+
8381
+ const EMPTY_PROPS = {
8382
+ isOpen: false,
8383
+ images: [],
8384
+ parentElement: /*#__PURE__*/React.createRef()
8385
+ };
8386
+ /**
8387
+ * Set up an ImageLightbox with images and triggers.
8388
+ *
8389
+ * - Associate a trigger with the lightbox to properly focus the trigger on close
8390
+ * - Associate a trigger with an image to display on open
8391
+ * - Automatically provide a view transition between an image trigger and the displayed image on open & close
8392
+ *
8393
+ * @param initialProps Images to display in the image lightbox
8394
+ */
8395
+ function useImageLightbox(initialProps) {
8396
+ const {
8397
+ images = []
8398
+ } = initialProps,
8399
+ otherProps = _objectWithoutProperties(initialProps, _excluded$A);
8400
+ const imagesPropsRef = React.useRef(images);
8401
+ React.useEffect(() => {
8402
+ imagesPropsRef.current = images.map(props => _objectSpread2({
8403
+ imgRef: /*#__PURE__*/React.createRef()
8404
+ }, props));
8405
+ }, [images]);
8406
+ const currentImageRef = React.useRef(null);
8407
+ const [imageLightboxProps, setImageLightboxProps] = React.useState(() => _objectSpread2(_objectSpread2({}, EMPTY_PROPS), otherProps));
8408
+ const getTriggerProps = React.useMemo(() => {
8409
+ const triggerImageRefs = {};
8410
+ async function close() {
8411
+ const currentImage = currentImageRef.current;
8412
+ if (!currentImage) {
8413
+ return;
8414
+ }
8415
+ const currentIndex = imagesPropsRef.current.findIndex(_ref => {
8416
+ let {
8417
+ imgRef
8418
+ } = _ref;
8419
+ return (imgRef === null || imgRef === void 0 ? void 0 : imgRef.current) === currentImage;
8420
+ });
8421
+ await startViewTransition({
8422
+ changes() {
8423
+ // Close lightbox
8424
+ setImageLightboxProps(prevProps => _objectSpread2(_objectSpread2({}, prevProps), {}, {
8425
+ isOpen: false
8426
+ }));
8427
+ },
8428
+ // Morph from the image in lightbox to the image in trigger
8429
+ viewTransitionName: {
8430
+ source: currentImageRef,
8431
+ target: triggerImageRefs[currentIndex],
8432
+ name: CLASSNAME$v
8433
+ }
8434
+ });
8435
+ }
8436
+ async function open(triggerElement) {
8437
+ var _triggerImageRefs;
8438
+ let {
8439
+ activeImageIndex
8440
+ } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8441
+ // If we find an image inside the trigger, animate it in transition with the opening image
8442
+ const triggerImage = ((_triggerImageRefs = triggerImageRefs[activeImageIndex]) === null || _triggerImageRefs === void 0 ? void 0 : _triggerImageRefs.current) || findImage(triggerElement);
8443
+
8444
+ // Inject the trigger image as loading placeholder for better loading state
8445
+ const imagesWithFallbackSize = imagesPropsRef.current.map((image, idx) => {
8446
+ if (triggerImage && idx === activeImageIndex && !image.loadingPlaceholderImageRef) {
8447
+ return _objectSpread2(_objectSpread2({}, image), {}, {
8448
+ loadingPlaceholderImageRef: {
8449
+ current: triggerImage
8450
+ }
8451
+ });
8452
+ }
8453
+ return image;
8454
+ });
8455
+ await startViewTransition({
8456
+ changes: () => {
8457
+ // Open lightbox with setup props
8458
+ setImageLightboxProps(prevProps => _objectSpread2(_objectSpread2({}, prevProps), {}, {
8459
+ activeImageRef: currentImageRef,
8460
+ parentElement: {
8461
+ current: triggerElement
8462
+ },
8463
+ isOpen: true,
8464
+ onClose: () => {
8465
+ var _prevProps$onClose;
8466
+ close();
8467
+ prevProps === null || prevProps === void 0 ? void 0 : (_prevProps$onClose = prevProps.onClose) === null || _prevProps$onClose === void 0 ? void 0 : _prevProps$onClose.call(prevProps);
8468
+ },
8469
+ images: imagesWithFallbackSize,
8470
+ activeImageIndex: activeImageIndex || 0
8471
+ }));
8472
+ },
8473
+ // Morph from the image in trigger to the image in lightbox
8474
+ viewTransitionName: {
8475
+ source: triggerImage,
8476
+ target: currentImageRef,
8477
+ name: CLASSNAME$v
8478
+ }
8479
+ });
8480
+ }
8481
+ return memoize(options => ({
8482
+ ref(element) {
8483
+ // Track trigger image ref if any
8484
+ if ((options === null || options === void 0 ? void 0 : options.activeImageIndex) !== undefined && element) {
8485
+ triggerImageRefs[options.activeImageIndex] = {
8486
+ current: findImage(element)
8487
+ };
8488
+ }
8489
+ },
8490
+ onClick(e) {
8491
+ open(e.target, options);
8492
+ }
8493
+ }));
8494
+ }, []);
8495
+ return {
8496
+ getTriggerProps,
8497
+ imageLightboxProps
8498
+ };
8499
+ }
8500
+
8501
+ const _excluded$B = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8502
+ const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8503
+ const {
8504
+ className,
8505
+ isOpen,
8506
+ closeButtonProps,
8507
+ onClose,
8508
+ parentElement,
8509
+ activeImageIndex,
8510
+ slideshowControlsProps,
8511
+ slideGroupLabel,
8512
+ images,
8513
+ zoomOutButtonProps,
8514
+ zoomInButtonProps,
8515
+ activeImageRef: propImageRef
8516
+ } = props,
8517
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
8518
+ const currentPaginationItemRef = React.useRef(null);
8519
+ const footerRef = React.useRef(null);
8520
+ const imageRef = React.useRef(null);
8521
+ const clickAwayChildrenRefs = React.useRef([imageRef, footerRef]);
8522
+ return /*#__PURE__*/React.createElement(Lightbox, _extends({
8523
+ ref: ref,
8524
+ className: classnames(className, CLASSNAME$v),
8525
+ parentElement: parentElement,
8526
+ isOpen: isOpen,
8527
+ onClose: onClose,
8528
+ closeButtonProps: closeButtonProps,
8529
+ focusElement: currentPaginationItemRef
8530
+ }, forwardedProps), /*#__PURE__*/React.createElement(ClickAwayProvider, {
8531
+ childrenRefs: clickAwayChildrenRefs,
8532
+ callback: onClose
8533
+ }, /*#__PURE__*/React.createElement(ImageSlideshow, {
8534
+ activeImageIndex: activeImageIndex,
8535
+ slideGroupLabel: slideGroupLabel,
8536
+ slideshowControlsProps: slideshowControlsProps,
8537
+ images: images,
8538
+ zoomInButtonProps: zoomInButtonProps,
8539
+ zoomOutButtonProps: zoomOutButtonProps,
8540
+ footerRef: footerRef,
8541
+ activeImageRef: mergeRefs(propImageRef, imageRef),
8542
+ currentPaginationItemRef: currentPaginationItemRef
8543
+ })));
8544
+ });
8545
+ Inner.displayName = COMPONENT_NAME$y;
8546
+ Inner.className = CLASSNAME$v;
8547
+
8548
+ /**
8549
+ * ImageLightbox component.
8550
+ *
8551
+ * @param props Component props.
8552
+ * @param ref Component ref.
8553
+ * @return React element.
8554
+ */
8555
+ const ImageLightbox = Object.assign(Inner, {
8556
+ useImageLightbox
8557
+ });
8558
+
8559
+ const _excluded$C = ["className", "color", "colorVariant", "typography", "children", "wrap"];
7818
8560
 
7819
8561
  /**
7820
8562
  * Defines the props of the component.
@@ -7823,12 +8565,12 @@ const _excluded$z = ["className", "color", "colorVariant", "typography", "childr
7823
8565
  /**
7824
8566
  * Component display name.
7825
8567
  */
7826
- const COMPONENT_NAME$y = 'InlineList';
8568
+ const COMPONENT_NAME$z = 'InlineList';
7827
8569
 
7828
8570
  /**
7829
8571
  * Component default class name and class prefix.
7830
8572
  */
7831
- const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
8573
+ const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
7832
8574
 
7833
8575
  /**
7834
8576
  * Component default props.
@@ -7851,7 +8593,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
7851
8593
  children,
7852
8594
  wrap
7853
8595
  } = props,
7854
- forwardedProps = _objectWithoutProperties(props, _excluded$z);
8596
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
7855
8597
  const fontColorClassName = color && getFontColorClassName(color, colorVariant);
7856
8598
  const typographyClassName = typography && getTypographyClassName(typography);
7857
8599
  return (
@@ -7859,7 +8601,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
7859
8601
  // eslint-disable-next-line jsx-a11y/no-redundant-roles
7860
8602
  React.createElement("ul", _extends({}, forwardedProps, {
7861
8603
  ref: ref,
7862
- className: classnames(className, CLASSNAME$v, wrap && `${CLASSNAME$v}--wrap`, fontColorClassName, typographyClassName)
8604
+ className: classnames(className, CLASSNAME$w, wrap && `${CLASSNAME$w}--wrap`, fontColorClassName, typographyClassName)
7863
8605
  // Lists with removed bullet style can lose their a11y list role on some browsers
7864
8606
  ,
7865
8607
  role: "list"
@@ -7872,17 +8614,17 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
7872
8614
  React.createElement("li", {
7873
8615
  key: key,
7874
8616
  role: "listitem",
7875
- className: `${CLASSNAME$v}__item`
8617
+ className: `${CLASSNAME$w}__item`
7876
8618
  }, index !== 0 && /*#__PURE__*/React.createElement("span", {
7877
- className: `${CLASSNAME$v}__item-separator`,
8619
+ className: `${CLASSNAME$w}__item-separator`,
7878
8620
  "aria-hidden": "true"
7879
8621
  }, '\u00A0•\u00A0'), child)
7880
8622
  );
7881
8623
  }))
7882
8624
  );
7883
8625
  });
7884
- InlineList.displayName = COMPONENT_NAME$y;
7885
- InlineList.className = CLASSNAME$v;
8626
+ InlineList.displayName = COMPONENT_NAME$z;
8627
+ InlineList.className = CLASSNAME$w;
7886
8628
  InlineList.defaultProps = DEFAULT_PROPS$r;
7887
8629
 
7888
8630
  const INPUT_HELPER_CONFIGURATION = {
@@ -7897,7 +8639,7 @@ const INPUT_HELPER_CONFIGURATION = {
7897
8639
  }
7898
8640
  };
7899
8641
 
7900
- const _excluded$A = ["children", "className", "kind", "theme"];
8642
+ const _excluded$D = ["children", "className", "kind", "theme"];
7901
8643
 
7902
8644
  /**
7903
8645
  * Defines the props of the component.
@@ -7906,12 +8648,12 @@ const _excluded$A = ["children", "className", "kind", "theme"];
7906
8648
  /**
7907
8649
  * Component display name.
7908
8650
  */
7909
- const COMPONENT_NAME$z = 'InputHelper';
8651
+ const COMPONENT_NAME$A = 'InputHelper';
7910
8652
 
7911
8653
  /**
7912
8654
  * Component default class name and class prefix.
7913
8655
  */
7914
- const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
8656
+ const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
7915
8657
 
7916
8658
  /**
7917
8659
  * Component default props.
@@ -7935,7 +8677,7 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
7935
8677
  kind,
7936
8678
  theme
7937
8679
  } = props,
7938
- forwardedProps = _objectWithoutProperties(props, _excluded$A);
8680
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
7939
8681
  const {
7940
8682
  color
7941
8683
  } = INPUT_HELPER_CONFIGURATION[kind] || {};
@@ -7943,17 +8685,17 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
7943
8685
  ref: ref
7944
8686
  }, forwardedProps, {
7945
8687
  className: classnames(className, handleBasicClasses({
7946
- prefix: CLASSNAME$w,
8688
+ prefix: CLASSNAME$x,
7947
8689
  color,
7948
8690
  theme
7949
8691
  }))
7950
8692
  }), children);
7951
8693
  });
7952
- InputHelper.displayName = COMPONENT_NAME$z;
7953
- InputHelper.className = CLASSNAME$w;
8694
+ InputHelper.displayName = COMPONENT_NAME$A;
8695
+ InputHelper.className = CLASSNAME$x;
7954
8696
  InputHelper.defaultProps = DEFAULT_PROPS$s;
7955
8697
 
7956
- const _excluded$B = ["children", "className", "htmlFor", "isRequired", "theme"];
8698
+ const _excluded$E = ["children", "className", "htmlFor", "isRequired", "theme"];
7957
8699
 
7958
8700
  /**
7959
8701
  * Defines the props of the component.
@@ -7962,12 +8704,12 @@ const _excluded$B = ["children", "className", "htmlFor", "isRequired", "theme"];
7962
8704
  /**
7963
8705
  * Component display name.
7964
8706
  */
7965
- const COMPONENT_NAME$A = 'InputLabel';
8707
+ const COMPONENT_NAME$B = 'InputLabel';
7966
8708
 
7967
8709
  /**
7968
8710
  * Component default class name and class prefix.
7969
8711
  */
7970
- const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
8712
+ const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
7971
8713
 
7972
8714
  /**
7973
8715
  * Component default props.
@@ -7991,23 +8733,23 @@ const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
7991
8733
  isRequired,
7992
8734
  theme
7993
8735
  } = props,
7994
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
8736
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
7995
8737
  return /*#__PURE__*/React.createElement("label", _extends({
7996
8738
  ref: ref
7997
8739
  }, forwardedProps, {
7998
8740
  htmlFor: htmlFor,
7999
8741
  className: classnames(className, handleBasicClasses({
8000
- prefix: CLASSNAME$x,
8742
+ prefix: CLASSNAME$y,
8001
8743
  isRequired,
8002
8744
  theme
8003
8745
  }))
8004
8746
  }), children);
8005
8747
  });
8006
- InputLabel.displayName = COMPONENT_NAME$A;
8007
- InputLabel.className = CLASSNAME$x;
8748
+ InputLabel.displayName = COMPONENT_NAME$B;
8749
+ InputLabel.className = CLASSNAME$y;
8008
8750
  InputLabel.defaultProps = DEFAULT_PROPS$t;
8009
8751
 
8010
- const _excluded$C = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8752
+ const _excluded$F = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8011
8753
 
8012
8754
  /**
8013
8755
  * Defines the props of the component.
@@ -8016,12 +8758,12 @@ const _excluded$C = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLab
8016
8758
  /**
8017
8759
  * Component display name.
8018
8760
  */
8019
- const COMPONENT_NAME$B = 'Lightbox';
8761
+ const COMPONENT_NAME$C = 'Lightbox';
8020
8762
 
8021
8763
  /**
8022
8764
  * Component default class name and class prefix.
8023
8765
  */
8024
- const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
8766
+ const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8025
8767
 
8026
8768
  /**
8027
8769
  * Lightbox component.
@@ -8047,7 +8789,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8047
8789
  theme,
8048
8790
  zIndex
8049
8791
  } = props,
8050
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
8792
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
8051
8793
  if (!DOCUMENT) {
8052
8794
  // Can't render in SSR.
8053
8795
  return null;
@@ -8108,7 +8850,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8108
8850
  role: "dialog",
8109
8851
  tabIndex: -1,
8110
8852
  className: classnames(className, handleBasicClasses({
8111
- prefix: CLASSNAME$y,
8853
+ prefix: CLASSNAME$z,
8112
8854
  isHidden: !isOpen,
8113
8855
  isShown: isOpen || isVisible,
8114
8856
  theme
@@ -8117,7 +8859,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8117
8859
  zIndex
8118
8860
  }
8119
8861
  }), closeButtonProps && /*#__PURE__*/React.createElement("div", {
8120
- className: `${CLASSNAME$y}__close`
8862
+ className: `${CLASSNAME$z}__close`
8121
8863
  }, /*#__PURE__*/React.createElement(IconButton, _extends({}, closeButtonProps, {
8122
8864
  ref: closeButtonRef,
8123
8865
  emphasis: "low",
@@ -8131,14 +8873,14 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8131
8873
  childrenRefs: clickAwayRefs
8132
8874
  }, /*#__PURE__*/React.createElement("div", {
8133
8875
  ref: childrenRef,
8134
- className: `${CLASSNAME$y}__wrapper`,
8876
+ className: `${CLASSNAME$z}__wrapper`,
8135
8877
  role: "presentation"
8136
8878
  }, children))), document.body);
8137
8879
  });
8138
- Lightbox.displayName = COMPONENT_NAME$B;
8139
- Lightbox.className = CLASSNAME$y;
8880
+ Lightbox.displayName = COMPONENT_NAME$C;
8881
+ Lightbox.className = CLASSNAME$z;
8140
8882
 
8141
- const _excluded$D = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8883
+ const _excluded$G = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8142
8884
 
8143
8885
  /**
8144
8886
  * Defines the props of the component.
@@ -8147,12 +8889,12 @@ const _excluded$D = ["children", "className", "color", "colorVariant", "disabled
8147
8889
  /**
8148
8890
  * Component display name.
8149
8891
  */
8150
- const COMPONENT_NAME$C = 'Link';
8892
+ const COMPONENT_NAME$D = 'Link';
8151
8893
 
8152
8894
  /**
8153
8895
  * Component default class name and class prefix.
8154
8896
  */
8155
- const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
8897
+ const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
8156
8898
  const getIconSize = typography => {
8157
8899
  switch (typography) {
8158
8900
  case Typography.display1:
@@ -8201,18 +8943,18 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8201
8943
  target,
8202
8944
  typography
8203
8945
  } = props,
8204
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
8946
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
8205
8947
  const renderedChildren = useMemo(() => /*#__PURE__*/React.createElement(React.Fragment, null, leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
8206
8948
  icon: leftIcon,
8207
- className: `${CLASSNAME$z}__left-icon`,
8949
+ className: `${CLASSNAME$A}__left-icon`,
8208
8950
  size: getIconSize(typography)
8209
8951
  }), children && /*#__PURE__*/React.createElement("span", {
8210
- className: classnames(`${CLASSNAME$z}__content`, {
8952
+ className: classnames(`${CLASSNAME$A}__content`, {
8211
8953
  [`lumx-typography-${typography}`]: typography
8212
8954
  })
8213
8955
  }, children), rightIcon && !isEmpty(rightIcon) && /*#__PURE__*/React.createElement(Icon, {
8214
8956
  icon: rightIcon,
8215
- className: `${CLASSNAME$z}__right-icon`,
8957
+ className: `${CLASSNAME$A}__right-icon`,
8216
8958
  size: getIconSize(typography)
8217
8959
  })), [leftIcon, typography, children, rightIcon]);
8218
8960
 
@@ -8227,7 +8969,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8227
8969
  ref: ref,
8228
8970
  disabled: isDisabled,
8229
8971
  className: classnames(className, handleBasicClasses({
8230
- prefix: CLASSNAME$z,
8972
+ prefix: CLASSNAME$A,
8231
8973
  color,
8232
8974
  colorVariant
8233
8975
  }))
@@ -8239,17 +8981,17 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8239
8981
  href,
8240
8982
  target,
8241
8983
  className: classnames(className, handleBasicClasses({
8242
- prefix: CLASSNAME$z,
8984
+ prefix: CLASSNAME$A,
8243
8985
  color,
8244
8986
  colorVariant
8245
8987
  })),
8246
8988
  ref: ref
8247
8989
  }), renderedChildren);
8248
8990
  });
8249
- Link.displayName = COMPONENT_NAME$C;
8250
- Link.className = CLASSNAME$z;
8991
+ Link.displayName = COMPONENT_NAME$D;
8992
+ Link.className = CLASSNAME$A;
8251
8993
 
8252
- const _excluded$E = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8994
+ const _excluded$H = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8253
8995
 
8254
8996
  /**
8255
8997
  * Defines the props of the component.
@@ -8258,12 +9000,12 @@ const _excluded$E = ["className", "description", "link", "linkAs", "linkProps",
8258
9000
  /**
8259
9001
  * Component display name.
8260
9002
  */
8261
- const COMPONENT_NAME$D = 'LinkPreview';
9003
+ const COMPONENT_NAME$E = 'LinkPreview';
8262
9004
 
8263
9005
  /**
8264
9006
  * Component default class name and class prefix.
8265
9007
  */
8266
- const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
9008
+ const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
8267
9009
 
8268
9010
  /**
8269
9011
  * Component default props.
@@ -8294,21 +9036,21 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8294
9036
  title,
8295
9037
  titleHeading
8296
9038
  } = props,
8297
- forwardedProps = _objectWithoutProperties(props, _excluded$E);
9039
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
8298
9040
  // Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
8299
9041
  const TitleHeading = titleHeading;
8300
9042
  return /*#__PURE__*/React.createElement("article", _extends({
8301
9043
  ref: ref
8302
9044
  }, forwardedProps, {
8303
9045
  className: classnames(className, handleBasicClasses({
8304
- prefix: CLASSNAME$A,
9046
+ prefix: CLASSNAME$B,
8305
9047
  size: size === Size.big && thumbnailProps ? Size.big : Size.regular,
8306
9048
  theme
8307
9049
  }))
8308
9050
  }), /*#__PURE__*/React.createElement("div", {
8309
- className: `${CLASSNAME$A}__wrapper`
9051
+ className: `${CLASSNAME$B}__wrapper`
8310
9052
  }, thumbnailProps && /*#__PURE__*/React.createElement("div", {
8311
- className: `${CLASSNAME$A}__thumbnail`
9053
+ className: `${CLASSNAME$B}__thumbnail`
8312
9054
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8313
9055
  linkAs: linkAs,
8314
9056
  linkProps: _objectSpread2(_objectSpread2({}, linkProps), {}, {
@@ -8320,9 +9062,9 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8320
9062
  aspectRatio: AspectRatio.free,
8321
9063
  fillHeight: true
8322
9064
  }))), /*#__PURE__*/React.createElement("div", {
8323
- className: `${CLASSNAME$A}__container`
9065
+ className: `${CLASSNAME$B}__container`
8324
9066
  }, title && /*#__PURE__*/React.createElement(TitleHeading, {
8325
- className: `${CLASSNAME$A}__title`
9067
+ className: `${CLASSNAME$B}__title`
8326
9068
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
8327
9069
  linkAs: linkAs,
8328
9070
  target: "_blank",
@@ -8330,12 +9072,12 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8330
9072
  color: theme === Theme.light ? ColorPalette.dark : ColorPalette.light,
8331
9073
  colorVariant: ColorVariant.N
8332
9074
  }), title)), description && /*#__PURE__*/React.createElement("p", {
8333
- className: `${CLASSNAME$A}__description`
9075
+ className: `${CLASSNAME$B}__description`
8334
9076
  }, description), /*#__PURE__*/React.createElement("div", {
8335
- className: `${CLASSNAME$A}__link`
9077
+ className: `${CLASSNAME$B}__link`
8336
9078
  }, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
8337
9079
  linkAs: linkAs,
8338
- className: classnames(`${CLASSNAME$A}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
9080
+ className: classnames(`${CLASSNAME$B}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
8339
9081
  target: "_blank",
8340
9082
  href: link,
8341
9083
  color: theme === Theme.light ? ColorPalette.primary : ColorPalette.light,
@@ -8345,11 +9087,11 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8345
9087
  tabIndex: title ? '-1' : undefined
8346
9088
  }), link)))));
8347
9089
  });
8348
- LinkPreview.displayName = COMPONENT_NAME$D;
8349
- LinkPreview.className = CLASSNAME$A;
9090
+ LinkPreview.displayName = COMPONENT_NAME$E;
9091
+ LinkPreview.className = CLASSNAME$B;
8350
9092
  LinkPreview.defaultProps = DEFAULT_PROPS$u;
8351
9093
 
8352
- const _excluded$F = ["className"];
9094
+ const _excluded$I = ["className"];
8353
9095
 
8354
9096
  /**
8355
9097
  * Defines the props of the component.
@@ -8358,12 +9100,12 @@ const _excluded$F = ["className"];
8358
9100
  /**
8359
9101
  * Component display name.
8360
9102
  */
8361
- const COMPONENT_NAME$E = 'ListDivider';
9103
+ const COMPONENT_NAME$F = 'ListDivider';
8362
9104
 
8363
9105
  /**
8364
9106
  * Component default class name and class prefix.
8365
9107
  */
8366
- const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
9108
+ const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
8367
9109
 
8368
9110
  /**
8369
9111
  * ListDivider component.
@@ -8376,19 +9118,19 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
8376
9118
  const {
8377
9119
  className
8378
9120
  } = props,
8379
- forwardedProps = _objectWithoutProperties(props, _excluded$F);
9121
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
8380
9122
  return /*#__PURE__*/React.createElement("li", _extends({
8381
9123
  ref: ref
8382
9124
  }, forwardedProps, {
8383
9125
  className: classnames(className, handleBasicClasses({
8384
- prefix: CLASSNAME$B
9126
+ prefix: CLASSNAME$C
8385
9127
  }))
8386
9128
  }));
8387
9129
  });
8388
- ListDivider.displayName = COMPONENT_NAME$E;
8389
- ListDivider.className = CLASSNAME$B;
9130
+ ListDivider.displayName = COMPONENT_NAME$F;
9131
+ ListDivider.className = CLASSNAME$C;
8390
9132
 
8391
- const _excluded$G = ["children", "className"];
9133
+ const _excluded$J = ["children", "className"];
8392
9134
 
8393
9135
  /**
8394
9136
  * Defines the props of the component.
@@ -8397,12 +9139,12 @@ const _excluded$G = ["children", "className"];
8397
9139
  /**
8398
9140
  * Component display name.
8399
9141
  */
8400
- const COMPONENT_NAME$F = 'ListSubheader';
9142
+ const COMPONENT_NAME$G = 'ListSubheader';
8401
9143
 
8402
9144
  /**
8403
9145
  * Component default class name and class prefix.
8404
9146
  */
8405
- const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
9147
+ const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
8406
9148
 
8407
9149
  /**
8408
9150
  * ListSubheader component.
@@ -8416,19 +9158,19 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
8416
9158
  children,
8417
9159
  className
8418
9160
  } = props,
8419
- forwardedProps = _objectWithoutProperties(props, _excluded$G);
9161
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
8420
9162
  return /*#__PURE__*/React.createElement("li", _extends({
8421
9163
  ref: ref
8422
9164
  }, forwardedProps, {
8423
9165
  className: classnames(className, handleBasicClasses({
8424
- prefix: CLASSNAME$C
9166
+ prefix: CLASSNAME$D
8425
9167
  }))
8426
9168
  }), children);
8427
9169
  });
8428
- ListSubheader.displayName = COMPONENT_NAME$F;
8429
- ListSubheader.className = CLASSNAME$C;
9170
+ ListSubheader.displayName = COMPONENT_NAME$G;
9171
+ ListSubheader.className = CLASSNAME$D;
8430
9172
 
8431
- const _excluded$H = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9173
+ const _excluded$K = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
8432
9174
 
8433
9175
  /**
8434
9176
  * Defines the props of the component.
@@ -8437,12 +9179,12 @@ const _excluded$H = ["children", "className", "hasBackground", "kind", "icon", "
8437
9179
  /**
8438
9180
  * Component display name.
8439
9181
  */
8440
- const COMPONENT_NAME$G = 'Message';
9182
+ const COMPONENT_NAME$H = 'Message';
8441
9183
 
8442
9184
  /**
8443
9185
  * Component default class name and class prefix.
8444
9186
  */
8445
- const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
9187
+ const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
8446
9188
 
8447
9189
  /**
8448
9190
  * Associative map from message kind to color and icon.
@@ -8482,7 +9224,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
8482
9224
  icon: customIcon,
8483
9225
  closeButtonProps
8484
9226
  } = props,
8485
- forwardedProps = _objectWithoutProperties(props, _excluded$H);
9227
+ forwardedProps = _objectWithoutProperties(props, _excluded$K);
8486
9228
  const {
8487
9229
  color,
8488
9230
  icon
@@ -8497,27 +9239,27 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
8497
9239
  className: classnames(className, handleBasicClasses({
8498
9240
  color,
8499
9241
  hasBackground,
8500
- prefix: CLASSNAME$D
9242
+ prefix: CLASSNAME$E
8501
9243
  }))
8502
9244
  }, forwardedProps), (customIcon || icon) && /*#__PURE__*/React.createElement(Icon, {
8503
- className: `${CLASSNAME$D}__icon`,
9245
+ className: `${CLASSNAME$E}__icon`,
8504
9246
  icon: customIcon || icon,
8505
9247
  size: Size.xs,
8506
9248
  color: color
8507
9249
  }), /*#__PURE__*/React.createElement("div", {
8508
- className: `${CLASSNAME$D}__text`
9250
+ className: `${CLASSNAME$E}__text`
8509
9251
  }, children), isCloseButtonDisplayed && /*#__PURE__*/React.createElement(IconButton, {
8510
- className: `${CLASSNAME$D}__close-button`,
9252
+ className: `${CLASSNAME$E}__close-button`,
8511
9253
  icon: mdiClose,
8512
9254
  onClick: onClick,
8513
9255
  label: closeButtonLabel,
8514
9256
  emphasis: Emphasis.low
8515
9257
  }));
8516
9258
  });
8517
- Message.displayName = COMPONENT_NAME$G;
8518
- Message.className = CLASSNAME$D;
9259
+ Message.displayName = COMPONENT_NAME$H;
9260
+ Message.className = CLASSNAME$E;
8519
9261
 
8520
- const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
9262
+ const _excluded$L = ["className", "theme", "thumbnails", "onImageClick"],
8521
9263
  _excluded2$1 = ["image", "onClick", "align"];
8522
9264
 
8523
9265
  /**
@@ -8527,12 +9269,12 @@ const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
8527
9269
  /**
8528
9270
  * Component display name.
8529
9271
  */
8530
- const COMPONENT_NAME$H = 'Mosaic';
9272
+ const COMPONENT_NAME$I = 'Mosaic';
8531
9273
 
8532
9274
  /**
8533
9275
  * Component default class name and class prefix.
8534
9276
  */
8535
- const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
9277
+ const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
8536
9278
 
8537
9279
  /**
8538
9280
  * Component default props.
@@ -8555,7 +9297,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8555
9297
  thumbnails,
8556
9298
  onImageClick
8557
9299
  } = props,
8558
- forwardedProps = _objectWithoutProperties(props, _excluded$I);
9300
+ forwardedProps = _objectWithoutProperties(props, _excluded$L);
8559
9301
  const handleImageClick = useMemo(() => {
8560
9302
  if (!onImageClick) return undefined;
8561
9303
  return (index, onClick) => event => {
@@ -8567,16 +9309,16 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8567
9309
  ref: ref
8568
9310
  }, forwardedProps, {
8569
9311
  className: classnames(className, handleBasicClasses({
8570
- prefix: CLASSNAME$E,
9312
+ prefix: CLASSNAME$F,
8571
9313
  theme
8572
9314
  }), {
8573
- [`${CLASSNAME$E}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
8574
- [`${CLASSNAME$E}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
8575
- [`${CLASSNAME$E}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
8576
- [`${CLASSNAME$E}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
9315
+ [`${CLASSNAME$F}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
9316
+ [`${CLASSNAME$F}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
9317
+ [`${CLASSNAME$F}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
9318
+ [`${CLASSNAME$F}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
8577
9319
  })
8578
9320
  }), /*#__PURE__*/React.createElement("div", {
8579
- className: `${CLASSNAME$E}__wrapper`
9321
+ className: `${CLASSNAME$F}__wrapper`
8580
9322
  }, take(thumbnails, 4).map((thumbnail, index) => {
8581
9323
  const {
8582
9324
  image,
@@ -8586,7 +9328,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8586
9328
  thumbnailProps = _objectWithoutProperties(thumbnail, _excluded2$1);
8587
9329
  return /*#__PURE__*/React.createElement("div", {
8588
9330
  key: index,
8589
- className: `${CLASSNAME$E}__thumbnail`
9331
+ className: `${CLASSNAME$F}__thumbnail`
8590
9332
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8591
9333
  align: align || Alignment.left,
8592
9334
  image: image,
@@ -8595,12 +9337,12 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
8595
9337
  fillHeight: true,
8596
9338
  onClick: (handleImageClick === null || handleImageClick === void 0 ? void 0 : handleImageClick(index, onClick)) || onClick
8597
9339
  })), thumbnails.length > 4 && index === 3 && /*#__PURE__*/React.createElement("div", {
8598
- className: `${CLASSNAME$E}__overlay`
9340
+ className: `${CLASSNAME$F}__overlay`
8599
9341
  }, /*#__PURE__*/React.createElement("span", null, "+", thumbnails.length - 4)));
8600
9342
  })));
8601
9343
  });
8602
- Mosaic.displayName = COMPONENT_NAME$H;
8603
- Mosaic.className = CLASSNAME$E;
9344
+ Mosaic.displayName = COMPONENT_NAME$I;
9345
+ Mosaic.className = CLASSNAME$F;
8604
9346
  Mosaic.defaultProps = DEFAULT_PROPS$v;
8605
9347
 
8606
9348
  const ThemeContext = /*#__PURE__*/createContext(undefined);
@@ -8610,7 +9352,7 @@ function forwardRefPolymorphic(render) {
8610
9352
  return /*#__PURE__*/React.forwardRef(render);
8611
9353
  }
8612
9354
 
8613
- const _excluded$J = ["className", "icon", "label", "isCurrentPage", "as"];
9355
+ const _excluded$M = ["className", "icon", "label", "isCurrentPage", "as"];
8614
9356
 
8615
9357
  /** Make `href` required when `as` is `a` */
8616
9358
 
@@ -8621,12 +9363,12 @@ const _excluded$J = ["className", "icon", "label", "isCurrentPage", "as"];
8621
9363
  /**
8622
9364
  * Component display name.
8623
9365
  */
8624
- const COMPONENT_NAME$I = 'NavigationItem';
9366
+ const COMPONENT_NAME$J = 'NavigationItem';
8625
9367
 
8626
9368
  /**
8627
9369
  * Component default class name and class prefix.
8628
9370
  */
8629
- const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
9371
+ const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
8630
9372
  const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8631
9373
  const {
8632
9374
  className,
@@ -8635,7 +9377,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8635
9377
  isCurrentPage,
8636
9378
  as: Element = 'a'
8637
9379
  } = props,
8638
- forwardedProps = _objectWithoutProperties(props, _excluded$J);
9380
+ forwardedProps = _objectWithoutProperties(props, _excluded$M);
8639
9381
  const theme = useContext(ThemeContext);
8640
9382
  const {
8641
9383
  tooltipLabel,
@@ -8646,7 +9388,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8646
9388
  } : {};
8647
9389
  return /*#__PURE__*/React.createElement("li", {
8648
9390
  className: classnames(className, handleBasicClasses({
8649
- prefix: CLASSNAME$F,
9391
+ prefix: CLASSNAME$G,
8650
9392
  theme
8651
9393
  }))
8652
9394
  }, /*#__PURE__*/React.createElement(Tooltip, {
@@ -8654,41 +9396,41 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
8654
9396
  placement: Placement.TOP
8655
9397
  }, /*#__PURE__*/React.createElement(Element, _extends({
8656
9398
  className: handleBasicClasses({
8657
- prefix: `${CLASSNAME$F}__link`,
9399
+ prefix: `${CLASSNAME$G}__link`,
8658
9400
  isSelected: isCurrentPage
8659
9401
  }),
8660
9402
  ref: ref,
8661
9403
  "aria-current": isCurrentPage ? 'page' : undefined
8662
9404
  }, buttonProps, forwardedProps), icon ? /*#__PURE__*/React.createElement(Icon, {
8663
- className: `${CLASSNAME$F}__icon`,
9405
+ className: `${CLASSNAME$G}__icon`,
8664
9406
  icon: icon,
8665
9407
  size: Size.xs,
8666
9408
  theme: theme
8667
9409
  }) : null, /*#__PURE__*/React.createElement(Text, {
8668
9410
  as: "span",
8669
9411
  truncate: true,
8670
- className: `${CLASSNAME$F}__label`,
9412
+ className: `${CLASSNAME$G}__label`,
8671
9413
  ref: labelRef
8672
9414
  }, label))));
8673
9415
  }), {
8674
- displayName: COMPONENT_NAME$I,
8675
- className: CLASSNAME$F
9416
+ displayName: COMPONENT_NAME$J,
9417
+ className: CLASSNAME$G
8676
9418
  });
8677
9419
 
8678
9420
  const NavigationContext = /*#__PURE__*/createContext({
8679
9421
  orientation: Orientation.vertical
8680
9422
  });
8681
9423
 
8682
- const _excluded$K = ["children", "className", "label", "icon"];
9424
+ const _excluded$N = ["children", "className", "label", "icon"];
8683
9425
  /**
8684
9426
  * Component display name.
8685
9427
  */
8686
- const COMPONENT_NAME$J = 'NavigationSection';
9428
+ const COMPONENT_NAME$K = 'NavigationSection';
8687
9429
 
8688
9430
  /**
8689
9431
  * Component default class name and class prefix.
8690
9432
  */
8691
- const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
9433
+ const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
8692
9434
  const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) => {
8693
9435
  const {
8694
9436
  children,
@@ -8696,7 +9438,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8696
9438
  label,
8697
9439
  icon
8698
9440
  } = props,
8699
- forwardedProps = _objectWithoutProperties(props, _excluded$K);
9441
+ forwardedProps = _objectWithoutProperties(props, _excluded$N);
8700
9442
  const [isOpen, setIsOpen] = useState(false);
8701
9443
  const buttonRef = useRef(null);
8702
9444
  const sectionId = useMemo(() => uniqueId('section'), []);
@@ -8706,15 +9448,15 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8706
9448
  const theme = useContext(ThemeContext);
8707
9449
  const isDropdown = orientation === Orientation.horizontal;
8708
9450
  return /*#__PURE__*/React.createElement("li", _extends({
8709
- className: classnames(className, CLASSNAME$G, CLASSNAME$F, handleBasicClasses({
8710
- prefix: CLASSNAME$F,
9451
+ className: classnames(className, CLASSNAME$H, CLASSNAME$G, handleBasicClasses({
9452
+ prefix: CLASSNAME$G,
8711
9453
  theme
8712
9454
  })),
8713
9455
  ref: ref
8714
9456
  }, forwardedProps), /*#__PURE__*/React.createElement("button", {
8715
9457
  "aria-controls": sectionId,
8716
9458
  "aria-expanded": isOpen,
8717
- className: classnames(`${CLASSNAME$F}__link`),
9459
+ className: classnames(`${CLASSNAME$G}__link`),
8718
9460
  ref: buttonRef,
8719
9461
  onClick: event => {
8720
9462
  setIsOpen(!isOpen);
@@ -8722,16 +9464,16 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8722
9464
  },
8723
9465
  type: "button"
8724
9466
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
8725
- className: `${CLASSNAME$F}__icon`,
9467
+ className: `${CLASSNAME$G}__icon`,
8726
9468
  icon: icon,
8727
9469
  size: Size.xs
8728
9470
  }) : null, /*#__PURE__*/React.createElement(Text, {
8729
9471
  as: "span",
8730
9472
  truncate: true,
8731
- className: `${CLASSNAME$F}__label`,
9473
+ className: `${CLASSNAME$G}__label`,
8732
9474
  ref: ref
8733
9475
  }, label), /*#__PURE__*/React.createElement(Icon, {
8734
- className: classnames(`${CLASSNAME$F}__icon`, `${CLASSNAME$G}__chevron`),
9476
+ className: classnames(`${CLASSNAME$G}__icon`, `${CLASSNAME$H}__chevron`),
8735
9477
  icon: isOpen ? mdiChevronUp : mdiChevronDown
8736
9478
  })), isOpen && (isDropdown ? /*#__PURE__*/React.createElement(Popover, {
8737
9479
  anchorRef: buttonRef,
@@ -8746,31 +9488,31 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
8746
9488
  }, /*#__PURE__*/React.createElement(ThemeContext.Provider, {
8747
9489
  value: Theme.light
8748
9490
  }, /*#__PURE__*/React.createElement("ul", {
8749
- className: `${CLASSNAME$G}__drawer--popover`,
9491
+ className: `${CLASSNAME$H}__drawer--popover`,
8750
9492
  id: sectionId
8751
9493
  }, /*#__PURE__*/React.createElement(NavigationContext.Provider, {
8752
9494
  value: {
8753
9495
  orientation: Orientation.vertical
8754
9496
  }
8755
9497
  }, children)))) : /*#__PURE__*/React.createElement("ul", {
8756
- className: `${CLASSNAME$G}__drawer`,
9498
+ className: `${CLASSNAME$H}__drawer`,
8757
9499
  id: sectionId
8758
9500
  }, children)));
8759
9501
  }), {
8760
- displayName: COMPONENT_NAME$J,
8761
- className: CLASSNAME$G
9502
+ displayName: COMPONENT_NAME$K,
9503
+ className: CLASSNAME$H
8762
9504
  });
8763
9505
 
8764
- const _excluded$L = ["children", "className", "theme", "orientation"];
9506
+ const _excluded$O = ["children", "className", "theme", "orientation"];
8765
9507
  /**
8766
9508
  * Component display name.
8767
9509
  */
8768
- const COMPONENT_NAME$K = 'Navigation';
9510
+ const COMPONENT_NAME$L = 'Navigation';
8769
9511
 
8770
9512
  /**
8771
9513
  * Component default class name and class prefix.
8772
9514
  */
8773
- const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
9515
+ const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
8774
9516
  const Navigation = Object.assign(
8775
9517
  /*#__PURE__*/
8776
9518
  // eslint-disable-next-line react/display-name
@@ -8781,12 +9523,12 @@ forwardRef((props, ref) => {
8781
9523
  theme,
8782
9524
  orientation
8783
9525
  } = props,
8784
- forwardedProps = _objectWithoutProperties(props, _excluded$L);
9526
+ forwardedProps = _objectWithoutProperties(props, _excluded$O);
8785
9527
  return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
8786
9528
  value: theme
8787
9529
  }, /*#__PURE__*/React.createElement("nav", _extends({
8788
9530
  className: classnames(className, handleBasicClasses({
8789
- prefix: CLASSNAME$H,
9531
+ prefix: CLASSNAME$I,
8790
9532
  theme,
8791
9533
  orientation
8792
9534
  })),
@@ -8796,11 +9538,11 @@ forwardRef((props, ref) => {
8796
9538
  orientation
8797
9539
  }
8798
9540
  }, /*#__PURE__*/React.createElement("ul", {
8799
- className: `${CLASSNAME$H}__list`
9541
+ className: `${CLASSNAME$I}__list`
8800
9542
  }, children))));
8801
9543
  }), {
8802
- displayName: COMPONENT_NAME$K,
8803
- className: CLASSNAME$H,
9544
+ displayName: COMPONENT_NAME$L,
9545
+ className: CLASSNAME$I,
8804
9546
  defaultProps: {
8805
9547
  theme: Theme.light,
8806
9548
  orientation: Orientation.vertical
@@ -8832,7 +9574,7 @@ const NOTIFICATION_CONFIGURATION = {
8832
9574
  }
8833
9575
  };
8834
9576
 
8835
- const _excluded$M = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9577
+ const _excluded$P = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
8836
9578
 
8837
9579
  /**
8838
9580
  * Defines the props of the component.
@@ -8841,12 +9583,12 @@ const _excluded$M = ["actionLabel", "className", "content", "isOpen", "onActionC
8841
9583
  /**
8842
9584
  * Component display name.
8843
9585
  */
8844
- const COMPONENT_NAME$L = 'Notification';
9586
+ const COMPONENT_NAME$M = 'Notification';
8845
9587
 
8846
9588
  /**
8847
9589
  * Component default class name and class prefix.
8848
9590
  */
8849
- const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
9591
+ const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
8850
9592
 
8851
9593
  /**
8852
9594
  * Component default props.
@@ -8879,7 +9621,7 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8879
9621
  usePortal,
8880
9622
  style
8881
9623
  } = props,
8882
- forwardedProps = _objectWithoutProperties(props, _excluded$M);
9624
+ forwardedProps = _objectWithoutProperties(props, _excluded$P);
8883
9625
  if (!DOCUMENT) {
8884
9626
  // Can't render in SSR.
8885
9627
  return null;
@@ -8911,21 +9653,21 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8911
9653
  color,
8912
9654
  hasAction,
8913
9655
  isHidden: !isOpen,
8914
- prefix: CLASSNAME$I
9656
+ prefix: CLASSNAME$J
8915
9657
  })),
8916
9658
  onClick: onClick,
8917
9659
  style: _objectSpread2(_objectSpread2({}, style), {}, {
8918
9660
  zIndex
8919
9661
  })
8920
9662
  }), /*#__PURE__*/React.createElement("div", {
8921
- className: `${CLASSNAME$I}__icon`
9663
+ className: `${CLASSNAME$J}__icon`
8922
9664
  }, /*#__PURE__*/React.createElement(Icon, {
8923
9665
  icon: icon,
8924
9666
  size: Size.s
8925
9667
  })), /*#__PURE__*/React.createElement("div", {
8926
- className: `${CLASSNAME$I}__content`
9668
+ className: `${CLASSNAME$J}__content`
8927
9669
  }, content), hasAction && /*#__PURE__*/React.createElement("div", {
8928
- className: `${CLASSNAME$I}__action`
9670
+ className: `${CLASSNAME$J}__action`
8929
9671
  }, /*#__PURE__*/React.createElement(Button, {
8930
9672
  emphasis: Emphasis.medium,
8931
9673
  theme: theme,
@@ -8933,11 +9675,11 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
8933
9675
  }, /*#__PURE__*/React.createElement("span", null, actionLabel))));
8934
9676
  return usePortal ? /*#__PURE__*/createPortal(notification, document.body) : notification;
8935
9677
  });
8936
- Notification.displayName = COMPONENT_NAME$L;
8937
- Notification.className = CLASSNAME$I;
9678
+ Notification.displayName = COMPONENT_NAME$M;
9679
+ Notification.className = CLASSNAME$J;
8938
9680
  Notification.defaultProps = DEFAULT_PROPS$w;
8939
9681
 
8940
- const _excluded$N = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9682
+ const _excluded$Q = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
8941
9683
 
8942
9684
  /**
8943
9685
  * PopoverDialog props.
@@ -8947,12 +9689,12 @@ const _excluded$N = ["children", "isOpen", "focusElement", "aria-label", "label"
8947
9689
  /**
8948
9690
  * Component display name.
8949
9691
  */
8950
- const COMPONENT_NAME$M = 'PopoverDialog';
9692
+ const COMPONENT_NAME$N = 'PopoverDialog';
8951
9693
 
8952
9694
  /**
8953
9695
  * Component default class name and class prefix.
8954
9696
  */
8955
- const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
9697
+ const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
8956
9698
 
8957
9699
  /**
8958
9700
  * Component default props.
@@ -8975,11 +9717,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
8975
9717
  label = ariaLabel,
8976
9718
  className
8977
9719
  } = props,
8978
- forwardedProps = _objectWithoutProperties(props, _excluded$N);
9720
+ forwardedProps = _objectWithoutProperties(props, _excluded$Q);
8979
9721
  return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
8980
9722
  ref: ref,
8981
9723
  className: classnames(className, handleBasicClasses({
8982
- prefix: CLASSNAME$J
9724
+ prefix: CLASSNAME$K
8983
9725
  })),
8984
9726
  role: "dialog",
8985
9727
  "aria-modal": "true"
@@ -8995,11 +9737,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
8995
9737
  withFocusTrap: true
8996
9738
  }), children);
8997
9739
  });
8998
- PopoverDialog.displayName = COMPONENT_NAME$M;
8999
- PopoverDialog.className = CLASSNAME$J;
9740
+ PopoverDialog.displayName = COMPONENT_NAME$N;
9741
+ PopoverDialog.className = CLASSNAME$K;
9000
9742
  PopoverDialog.defaultProps = DEFAULT_PROPS$x;
9001
9743
 
9002
- const _excluded$O = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9744
+ const _excluded$R = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9003
9745
 
9004
9746
  /**
9005
9747
  * Defines the props of the component.
@@ -9008,12 +9750,12 @@ const _excluded$O = ["actions", "attachments", "author", "className", "meta", "o
9008
9750
  /**
9009
9751
  * Component display name.
9010
9752
  */
9011
- const COMPONENT_NAME$N = 'PostBlock';
9753
+ const COMPONENT_NAME$O = 'PostBlock';
9012
9754
 
9013
9755
  /**
9014
9756
  * Component default class name and class prefix.
9015
9757
  */
9016
- const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
9758
+ const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
9017
9759
 
9018
9760
  /**
9019
9761
  * Component default props.
@@ -9045,61 +9787,61 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
9045
9787
  thumbnailProps,
9046
9788
  title
9047
9789
  } = props,
9048
- forwardedProps = _objectWithoutProperties(props, _excluded$O);
9790
+ forwardedProps = _objectWithoutProperties(props, _excluded$R);
9049
9791
  return /*#__PURE__*/React.createElement("div", _extends({
9050
9792
  ref: ref,
9051
9793
  className: classnames(className, handleBasicClasses({
9052
- prefix: CLASSNAME$K,
9794
+ prefix: CLASSNAME$L,
9053
9795
  orientation,
9054
9796
  theme
9055
9797
  }))
9056
9798
  }, forwardedProps), thumbnailProps && /*#__PURE__*/React.createElement("div", {
9057
- className: `${CLASSNAME$K}__thumbnail`
9799
+ className: `${CLASSNAME$L}__thumbnail`
9058
9800
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
9059
9801
  theme: theme,
9060
9802
  variant: ThumbnailVariant.rounded
9061
9803
  }))), /*#__PURE__*/React.createElement("div", {
9062
- className: `${CLASSNAME$K}__wrapper`
9804
+ className: `${CLASSNAME$L}__wrapper`
9063
9805
  }, author && /*#__PURE__*/React.createElement("div", {
9064
- className: `${CLASSNAME$K}__author`
9806
+ className: `${CLASSNAME$L}__author`
9065
9807
  }, author), title && /*#__PURE__*/React.createElement("button", {
9066
9808
  type: "button",
9067
- className: `${CLASSNAME$K}__title`,
9809
+ className: `${CLASSNAME$L}__title`,
9068
9810
  onClick: onClick
9069
9811
  }, title), meta && /*#__PURE__*/React.createElement("span", {
9070
- className: `${CLASSNAME$K}__meta`
9812
+ className: `${CLASSNAME$L}__meta`
9071
9813
  }, meta), isObject(text) && text.__html ?
9072
9814
  /*#__PURE__*/
9073
9815
  // eslint-disable-next-line react/no-danger
9074
9816
  React.createElement("p", {
9075
9817
  dangerouslySetInnerHTML: text,
9076
- className: `${CLASSNAME$K}__text`
9818
+ className: `${CLASSNAME$L}__text`
9077
9819
  }) : /*#__PURE__*/React.createElement("p", {
9078
- className: `${CLASSNAME$K}__text`
9820
+ className: `${CLASSNAME$L}__text`
9079
9821
  }, text), attachments && /*#__PURE__*/React.createElement("div", {
9080
- className: `${CLASSNAME$K}__attachments`
9822
+ className: `${CLASSNAME$L}__attachments`
9081
9823
  }, attachments), (tags || actions) && /*#__PURE__*/React.createElement("div", {
9082
- className: `${CLASSNAME$K}__toolbar`
9824
+ className: `${CLASSNAME$L}__toolbar`
9083
9825
  }, tags && /*#__PURE__*/React.createElement("div", {
9084
- className: `${CLASSNAME$K}__tags`
9826
+ className: `${CLASSNAME$L}__tags`
9085
9827
  }, tags), actions && /*#__PURE__*/React.createElement("div", {
9086
- className: `${CLASSNAME$K}__actions`
9828
+ className: `${CLASSNAME$L}__actions`
9087
9829
  }, actions))));
9088
9830
  });
9089
- PostBlock.displayName = COMPONENT_NAME$N;
9090
- PostBlock.className = CLASSNAME$K;
9831
+ PostBlock.displayName = COMPONENT_NAME$O;
9832
+ PostBlock.className = CLASSNAME$L;
9091
9833
  PostBlock.defaultProps = DEFAULT_PROPS$y;
9092
9834
 
9093
- const _excluded$P = ["className", "theme"];
9835
+ const _excluded$S = ["className", "theme"];
9094
9836
  /**
9095
9837
  * Component display name.
9096
9838
  */
9097
- const COMPONENT_NAME$O = 'ProgressLinear';
9839
+ const COMPONENT_NAME$P = 'ProgressLinear';
9098
9840
 
9099
9841
  /**
9100
9842
  * Component default class name and class prefix.
9101
9843
  */
9102
- const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
9844
+ const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9103
9845
 
9104
9846
  /**
9105
9847
  * Component default props.
@@ -9120,12 +9862,12 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9120
9862
  className,
9121
9863
  theme
9122
9864
  } = props,
9123
- forwardedProps = _objectWithoutProperties(props, _excluded$P);
9865
+ forwardedProps = _objectWithoutProperties(props, _excluded$S);
9124
9866
  return /*#__PURE__*/React.createElement("div", _extends({
9125
9867
  ref: ref
9126
9868
  }, forwardedProps, {
9127
9869
  className: classnames(className, handleBasicClasses({
9128
- prefix: CLASSNAME$L,
9870
+ prefix: CLASSNAME$M,
9129
9871
  theme
9130
9872
  }))
9131
9873
  }), /*#__PURE__*/React.createElement("div", {
@@ -9134,11 +9876,11 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9134
9876
  className: "lumx-progress-linear__line2"
9135
9877
  }));
9136
9878
  });
9137
- ProgressLinear.displayName = COMPONENT_NAME$O;
9138
- ProgressLinear.className = CLASSNAME$L;
9879
+ ProgressLinear.displayName = COMPONENT_NAME$P;
9880
+ ProgressLinear.className = CLASSNAME$M;
9139
9881
  ProgressLinear.defaultProps = DEFAULT_PROPS$z;
9140
9882
 
9141
- const _excluded$Q = ["className", "theme", "size"];
9883
+ const _excluded$T = ["className", "theme", "size"];
9142
9884
 
9143
9885
  /**
9144
9886
  * Progress sizes.
@@ -9151,12 +9893,12 @@ const _excluded$Q = ["className", "theme", "size"];
9151
9893
  /**
9152
9894
  * Component display name.
9153
9895
  */
9154
- const COMPONENT_NAME$P = 'ProgressCircular';
9896
+ const COMPONENT_NAME$Q = 'ProgressCircular';
9155
9897
 
9156
9898
  /**
9157
9899
  * Component default class name and class prefix.
9158
9900
  */
9159
- const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
9901
+ const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9160
9902
 
9161
9903
  /**
9162
9904
  * Component default props.
@@ -9179,12 +9921,12 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9179
9921
  theme,
9180
9922
  size
9181
9923
  } = props,
9182
- forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9924
+ forwardedProps = _objectWithoutProperties(props, _excluded$T);
9183
9925
  return /*#__PURE__*/React.createElement("div", _extends({
9184
9926
  ref: ref
9185
9927
  }, forwardedProps, {
9186
9928
  className: classnames(className, handleBasicClasses({
9187
- prefix: CLASSNAME$M,
9929
+ prefix: CLASSNAME$N,
9188
9930
  theme,
9189
9931
  size
9190
9932
  }))
@@ -9204,11 +9946,11 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9204
9946
  strokeWidth: "5"
9205
9947
  })));
9206
9948
  });
9207
- ProgressCircular.displayName = COMPONENT_NAME$P;
9208
- ProgressCircular.className = CLASSNAME$M;
9949
+ ProgressCircular.displayName = COMPONENT_NAME$Q;
9950
+ ProgressCircular.className = CLASSNAME$N;
9209
9951
  ProgressCircular.defaultProps = DEFAULT_PROPS$A;
9210
9952
 
9211
- const _excluded$R = ["className", "theme", "variant"];
9953
+ const _excluded$U = ["className", "theme", "variant"];
9212
9954
 
9213
9955
  /**
9214
9956
  * Progress variants.
@@ -9225,12 +9967,12 @@ const ProgressVariant = {
9225
9967
  /**
9226
9968
  * Component display name.
9227
9969
  */
9228
- const COMPONENT_NAME$Q = 'Progress';
9970
+ const COMPONENT_NAME$R = 'Progress';
9229
9971
 
9230
9972
  /**
9231
9973
  * Component default class name and class prefix.
9232
9974
  */
9233
- const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
9975
+ const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
9234
9976
 
9235
9977
  /**
9236
9978
  * Component default props.
@@ -9254,12 +9996,12 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9254
9996
  theme,
9255
9997
  variant
9256
9998
  } = props,
9257
- forwardedProps = _objectWithoutProperties(props, _excluded$R);
9999
+ forwardedProps = _objectWithoutProperties(props, _excluded$U);
9258
10000
  return /*#__PURE__*/React.createElement("div", _extends({
9259
10001
  ref: ref
9260
10002
  }, forwardedProps, {
9261
10003
  className: classnames(className, handleBasicClasses({
9262
- prefix: CLASSNAME$N,
10004
+ prefix: CLASSNAME$O,
9263
10005
  theme,
9264
10006
  variant
9265
10007
  }))
@@ -9269,8 +10011,8 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9269
10011
  theme: theme
9270
10012
  }));
9271
10013
  });
9272
- Progress.displayName = COMPONENT_NAME$Q;
9273
- Progress.className = CLASSNAME$N;
10014
+ Progress.displayName = COMPONENT_NAME$R;
10015
+ Progress.className = CLASSNAME$O;
9274
10016
  Progress.defaultProps = DEFAULT_PROPS$B;
9275
10017
 
9276
10018
  const INIT_STATE = {
@@ -9392,7 +10134,7 @@ const useTabProviderContextState = () => {
9392
10134
  return context === null || context === void 0 ? void 0 : context[0];
9393
10135
  };
9394
10136
 
9395
- const _excluded$S = ["children", "onChange"];
10137
+ const _excluded$V = ["children", "onChange"];
9396
10138
  const DEFAULT_PROPS$C = {
9397
10139
  isLazy: INIT_STATE.isLazy,
9398
10140
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -9414,7 +10156,7 @@ const ProgressTrackerProvider = props => {
9414
10156
  children,
9415
10157
  onChange
9416
10158
  } = props,
9417
- propState = _objectWithoutProperties(props, _excluded$S);
10159
+ propState = _objectWithoutProperties(props, _excluded$V);
9418
10160
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
9419
10161
 
9420
10162
  // On prop state change => dispatch update.
@@ -9518,7 +10260,7 @@ const useRovingTabIndex = _ref => {
9518
10260
  [parentRef, ...extraDependencies]);
9519
10261
  };
9520
10262
 
9521
- const _excluded$T = ["aria-label", "children", "className"];
10263
+ const _excluded$W = ["aria-label", "children", "className"];
9522
10264
 
9523
10265
  /**
9524
10266
  * Defines the props of the component.
@@ -9527,12 +10269,12 @@ const _excluded$T = ["aria-label", "children", "className"];
9527
10269
  /**
9528
10270
  * Component display name.
9529
10271
  */
9530
- const COMPONENT_NAME$R = 'ProgressTracker';
10272
+ const COMPONENT_NAME$S = 'ProgressTracker';
9531
10273
 
9532
10274
  /**
9533
10275
  * Component default class name and class prefix.
9534
10276
  */
9535
- const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
10277
+ const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
9536
10278
 
9537
10279
  /**
9538
10280
  * Component default props.
@@ -9555,7 +10297,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9555
10297
  children,
9556
10298
  className
9557
10299
  } = props,
9558
- forwardedProps = _objectWithoutProperties(props, _excluded$T);
10300
+ forwardedProps = _objectWithoutProperties(props, _excluded$W);
9559
10301
  const stepListRef = React.useRef(null);
9560
10302
  useRovingTabIndex({
9561
10303
  parentRef: stepListRef,
@@ -9571,20 +10313,20 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9571
10313
  ref: mergeRefs(ref, stepListRef)
9572
10314
  }, forwardedProps, {
9573
10315
  className: classnames(className, handleBasicClasses({
9574
- prefix: CLASSNAME$O
10316
+ prefix: CLASSNAME$P
9575
10317
  }))
9576
10318
  }), /*#__PURE__*/React.createElement("div", {
9577
- className: `${CLASSNAME$O}__steps`,
10319
+ className: `${CLASSNAME$P}__steps`,
9578
10320
  role: "tablist",
9579
10321
  "aria-label": ariaLabel
9580
10322
  }, children), /*#__PURE__*/React.createElement("div", {
9581
- className: `${CLASSNAME$O}__background-bar`,
10323
+ className: `${CLASSNAME$P}__background-bar`,
9582
10324
  style: {
9583
10325
  left: `${backgroundPosition}%`,
9584
10326
  right: `${backgroundPosition}%`
9585
10327
  }
9586
10328
  }), /*#__PURE__*/React.createElement("div", {
9587
- className: `${CLASSNAME$O}__foreground-bar`,
10329
+ className: `${CLASSNAME$P}__foreground-bar`,
9588
10330
  style: {
9589
10331
  left: `${backgroundPosition}%`,
9590
10332
  right: `${backgroundPosition}%`,
@@ -9592,11 +10334,11 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
9592
10334
  }
9593
10335
  }));
9594
10336
  });
9595
- ProgressTracker.displayName = COMPONENT_NAME$R;
9596
- ProgressTracker.className = CLASSNAME$O;
10337
+ ProgressTracker.displayName = COMPONENT_NAME$S;
10338
+ ProgressTracker.className = CLASSNAME$P;
9597
10339
  ProgressTracker.defaultProps = DEFAULT_PROPS$D;
9598
10340
 
9599
- const _excluded$U = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10341
+ const _excluded$X = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
9600
10342
 
9601
10343
  /**
9602
10344
  * Defines the props of the component.
@@ -9605,12 +10347,12 @@ const _excluded$U = ["className", "disabled", "hasError", "helper", "id", "isAct
9605
10347
  /**
9606
10348
  * Component display name.
9607
10349
  */
9608
- const COMPONENT_NAME$S = 'ProgressTrackerStep';
10350
+ const COMPONENT_NAME$T = 'ProgressTrackerStep';
9609
10351
 
9610
10352
  /**
9611
10353
  * Component default class name and class prefix.
9612
10354
  */
9613
- const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
10355
+ const CLASSNAME$Q = getRootClassName(COMPONENT_NAME$T);
9614
10356
 
9615
10357
  /**
9616
10358
  * Component default props.
@@ -9641,7 +10383,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9641
10383
  onKeyPress,
9642
10384
  tabIndex = -1
9643
10385
  } = props,
9644
- forwardedProps = _objectWithoutProperties(props, _excluded$U);
10386
+ forwardedProps = _objectWithoutProperties(props, _excluded$X);
9645
10387
  const state = useTabProviderContext('tab', id);
9646
10388
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
9647
10389
  const changeToCurrentTab = useCallback(() => {
@@ -9678,7 +10420,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9678
10420
  type: "button",
9679
10421
  id: state === null || state === void 0 ? void 0 : state.tabId,
9680
10422
  className: classnames(className, handleBasicClasses({
9681
- prefix: CLASSNAME$P,
10423
+ prefix: CLASSNAME$Q,
9682
10424
  hasError,
9683
10425
  isActive,
9684
10426
  isClickable: state && !isDisabled,
@@ -9693,22 +10435,22 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
9693
10435
  "aria-selected": isActive,
9694
10436
  "aria-controls": state === null || state === void 0 ? void 0 : state.tabPanelId
9695
10437
  }), /*#__PURE__*/React.createElement(Icon, {
9696
- className: `${CLASSNAME$P}__state`,
10438
+ className: `${CLASSNAME$Q}__state`,
9697
10439
  icon: getIcon(),
9698
10440
  size: Size.s
9699
10441
  }), /*#__PURE__*/React.createElement(InputLabel, {
9700
10442
  htmlFor: (state === null || state === void 0 ? void 0 : state.tabId) || '',
9701
- className: `${CLASSNAME$P}__label`
10443
+ className: `${CLASSNAME$Q}__label`
9702
10444
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
9703
10445
  kind: hasError ? Kind.error : Kind.info,
9704
- className: `${CLASSNAME$P}__helper`
10446
+ className: `${CLASSNAME$Q}__helper`
9705
10447
  }, helper));
9706
10448
  });
9707
- ProgressTrackerStep.displayName = COMPONENT_NAME$S;
9708
- ProgressTrackerStep.className = CLASSNAME$P;
10449
+ ProgressTrackerStep.displayName = COMPONENT_NAME$T;
10450
+ ProgressTrackerStep.className = CLASSNAME$Q;
9709
10451
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$E;
9710
10452
 
9711
- const _excluded$V = ["children", "id", "className", "isActive"];
10453
+ const _excluded$Y = ["children", "id", "className", "isActive"];
9712
10454
 
9713
10455
  /**
9714
10456
  * Defines the props of the component.
@@ -9717,12 +10459,12 @@ const _excluded$V = ["children", "id", "className", "isActive"];
9717
10459
  /**
9718
10460
  * Component display name.
9719
10461
  */
9720
- const COMPONENT_NAME$T = 'ProgressTrackerStepPanel';
10462
+ const COMPONENT_NAME$U = 'ProgressTrackerStepPanel';
9721
10463
 
9722
10464
  /**
9723
10465
  * Component default class name and class prefix.
9724
10466
  */
9725
- const CLASSNAME$Q = `${CSS_PREFIX}-step-panel`;
10467
+ const CLASSNAME$R = `${CSS_PREFIX}-step-panel`;
9726
10468
 
9727
10469
  /**
9728
10470
  * Component default props.
@@ -9745,7 +10487,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9745
10487
  className,
9746
10488
  isActive: propIsActive
9747
10489
  } = props,
9748
- forwardedProps = _objectWithoutProperties(props, _excluded$V);
10490
+ forwardedProps = _objectWithoutProperties(props, _excluded$Y);
9749
10491
  const state = useTabProviderContext('tabPanel', id);
9750
10492
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
9751
10493
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -9753,7 +10495,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9753
10495
  }, forwardedProps, {
9754
10496
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
9755
10497
  className: classnames(className, handleBasicClasses({
9756
- prefix: CLASSNAME$Q,
10498
+ prefix: CLASSNAME$R,
9757
10499
  isActive
9758
10500
  })),
9759
10501
  role: "tabpanel",
@@ -9761,11 +10503,11 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
9761
10503
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
9762
10504
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
9763
10505
  });
9764
- ProgressTrackerStepPanel.displayName = COMPONENT_NAME$T;
9765
- ProgressTrackerStepPanel.className = CLASSNAME$Q;
10506
+ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$U;
10507
+ ProgressTrackerStepPanel.className = CLASSNAME$R;
9766
10508
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$F;
9767
10509
 
9768
- const _excluded$W = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10510
+ const _excluded$Z = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
9769
10511
 
9770
10512
  /**
9771
10513
  * Defines the props of the component.
@@ -9774,12 +10516,12 @@ const _excluded$W = ["checked", "className", "disabled", "helper", "id", "inputR
9774
10516
  /**
9775
10517
  * Component display name.
9776
10518
  */
9777
- const COMPONENT_NAME$U = 'RadioButton';
10519
+ const COMPONENT_NAME$V = 'RadioButton';
9778
10520
 
9779
10521
  /**
9780
10522
  * Component default class name and class prefix.
9781
10523
  */
9782
- const CLASSNAME$R = getRootClassName(COMPONENT_NAME$U);
10524
+ const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
9783
10525
 
9784
10526
  /**
9785
10527
  * Component default props.
@@ -9812,8 +10554,8 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9812
10554
  value,
9813
10555
  inputProps
9814
10556
  } = props,
9815
- forwardedProps = _objectWithoutProperties(props, _excluded$W);
9816
- const inputId = useMemo(() => id || `${CLASSNAME$R.toLowerCase()}-${uid()}`, [id]);
10557
+ forwardedProps = _objectWithoutProperties(props, _excluded$Z);
10558
+ const inputId = useMemo(() => id || `${CLASSNAME$S.toLowerCase()}-${uid()}`, [id]);
9817
10559
  const handleChange = event => {
9818
10560
  if (onChange) {
9819
10561
  onChange(value, name, event);
@@ -9826,14 +10568,14 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9826
10568
  isChecked,
9827
10569
  isDisabled,
9828
10570
  isUnchecked: !isChecked,
9829
- prefix: CLASSNAME$R,
10571
+ prefix: CLASSNAME$S,
9830
10572
  theme
9831
10573
  }))
9832
10574
  }), /*#__PURE__*/React.createElement("div", {
9833
- className: `${CLASSNAME$R}__input-wrapper`
10575
+ className: `${CLASSNAME$S}__input-wrapper`
9834
10576
  }, /*#__PURE__*/React.createElement("input", _extends({
9835
10577
  ref: inputRef,
9836
- className: `${CLASSNAME$R}__input-native`,
10578
+ className: `${CLASSNAME$S}__input-native`,
9837
10579
  disabled: isDisabled,
9838
10580
  id: inputId,
9839
10581
  tabIndex: isDisabled ? -1 : 0,
@@ -9844,28 +10586,28 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
9844
10586
  onChange: handleChange,
9845
10587
  "aria-describedby": helper ? `${inputId}-helper` : undefined
9846
10588
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
9847
- className: `${CLASSNAME$R}__input-placeholder`
10589
+ className: `${CLASSNAME$S}__input-placeholder`
9848
10590
  }, /*#__PURE__*/React.createElement("div", {
9849
- className: `${CLASSNAME$R}__input-background`
10591
+ className: `${CLASSNAME$S}__input-background`
9850
10592
  }), /*#__PURE__*/React.createElement("div", {
9851
- className: `${CLASSNAME$R}__input-indicator`
10593
+ className: `${CLASSNAME$S}__input-indicator`
9852
10594
  }))), /*#__PURE__*/React.createElement("div", {
9853
- className: `${CLASSNAME$R}__content`
10595
+ className: `${CLASSNAME$S}__content`
9854
10596
  }, label && /*#__PURE__*/React.createElement(InputLabel, {
9855
10597
  htmlFor: inputId,
9856
10598
  theme: theme,
9857
- className: `${CLASSNAME$R}__label`
10599
+ className: `${CLASSNAME$S}__label`
9858
10600
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
9859
10601
  id: `${inputId}-helper`,
9860
10602
  theme: theme,
9861
- className: `${CLASSNAME$R}__helper`
10603
+ className: `${CLASSNAME$S}__helper`
9862
10604
  }, helper)));
9863
10605
  });
9864
- RadioButton.displayName = COMPONENT_NAME$U;
9865
- RadioButton.className = CLASSNAME$R;
10606
+ RadioButton.displayName = COMPONENT_NAME$V;
10607
+ RadioButton.className = CLASSNAME$S;
9866
10608
  RadioButton.defaultProps = DEFAULT_PROPS$G;
9867
10609
 
9868
- const _excluded$X = ["children", "className"];
10610
+ const _excluded$_ = ["children", "className"];
9869
10611
 
9870
10612
  /**
9871
10613
  * Defines the props of the component.
@@ -9874,12 +10616,12 @@ const _excluded$X = ["children", "className"];
9874
10616
  /**
9875
10617
  * Component display name.
9876
10618
  */
9877
- const COMPONENT_NAME$V = 'RadioGroup';
10619
+ const COMPONENT_NAME$W = 'RadioGroup';
9878
10620
 
9879
10621
  /**
9880
10622
  * Component default class name and class prefix.
9881
10623
  */
9882
- const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
10624
+ const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
9883
10625
 
9884
10626
  /**
9885
10627
  * RadioGroup component.
@@ -9893,17 +10635,17 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9893
10635
  children,
9894
10636
  className
9895
10637
  } = props,
9896
- forwardedProps = _objectWithoutProperties(props, _excluded$X);
10638
+ forwardedProps = _objectWithoutProperties(props, _excluded$_);
9897
10639
  return /*#__PURE__*/React.createElement("div", _extends({
9898
10640
  ref: ref
9899
10641
  }, forwardedProps, {
9900
10642
  className: classnames(className, handleBasicClasses({
9901
- prefix: CLASSNAME$S
10643
+ prefix: CLASSNAME$T
9902
10644
  }))
9903
10645
  }), children);
9904
10646
  });
9905
- RadioGroup.displayName = COMPONENT_NAME$V;
9906
- RadioGroup.className = CLASSNAME$S;
10647
+ RadioGroup.displayName = COMPONENT_NAME$W;
10648
+ RadioGroup.className = CLASSNAME$T;
9907
10649
 
9908
10650
  /**
9909
10651
  * Listen on element focus to store the focus status.
@@ -9937,13 +10679,13 @@ const SelectVariant = {
9937
10679
  chip: 'chip'
9938
10680
  };
9939
10681
 
9940
- 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"];
10682
+ 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"];
9941
10683
 
9942
10684
  /** The display name of the component. */
9943
- const COMPONENT_NAME$W = 'Select';
10685
+ const COMPONENT_NAME$X = 'Select';
9944
10686
 
9945
10687
  /** The default class name and classes prefix for this component. */
9946
- const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
10688
+ const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
9947
10689
 
9948
10690
  /** The default value of props. */
9949
10691
  const DEFAULT_PROPS$H = {
@@ -9977,7 +10719,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
9977
10719
  value,
9978
10720
  variant = DEFAULT_PROPS$H.variant
9979
10721
  } = _ref,
9980
- forwardedProps = _objectWithoutProperties(_ref, _excluded$Y);
10722
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
9981
10723
  const selectId = useMemo(() => id || `select-${uid()}`, [id]);
9982
10724
  const anchorRef = useRef(null);
9983
10725
  const selectRef = useRef(null);
@@ -10011,7 +10753,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10011
10753
  isFocus,
10012
10754
  isOpen,
10013
10755
  isValid,
10014
- prefix: CLASSNAME$T,
10756
+ prefix: CLASSNAME$U,
10015
10757
  theme: theme === Theme.light ? Theme.light : Theme.dark
10016
10758
  }))
10017
10759
  }, /*#__PURE__*/React.createElement(SelectElement, _extends({}, forwardedProps, {
@@ -10042,22 +10784,22 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10042
10784
  onInfiniteScroll: onInfiniteScroll,
10043
10785
  ref: dropdownRef
10044
10786
  }, children), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
10045
- className: `${CLASSNAME$T}__helper`,
10787
+ className: `${CLASSNAME$U}__helper`,
10046
10788
  kind: Kind.error,
10047
10789
  theme: theme
10048
10790
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
10049
- className: `${CLASSNAME$T}__helper`,
10791
+ className: `${CLASSNAME$U}__helper`,
10050
10792
  theme: theme
10051
10793
  }, helper));
10052
10794
  };
10053
10795
 
10054
- const _excluded$Z = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10796
+ const _excluded$10 = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10055
10797
 
10056
10798
  /** The display name of the component. */
10057
- const COMPONENT_NAME$X = 'Select';
10799
+ const COMPONENT_NAME$Y = 'Select';
10058
10800
 
10059
10801
  /** The default class name and classes prefix for this component. */
10060
- const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
10802
+ const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10061
10803
 
10062
10804
  /** The default value of props. */
10063
10805
  const DEFAULT_PROPS$I = {
@@ -10091,36 +10833,36 @@ const SelectField = _ref => {
10091
10833
  variant,
10092
10834
  selectElementRef
10093
10835
  } = _ref,
10094
- forwardedProps = _objectWithoutProperties(_ref, _excluded$Z);
10836
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10095
10837
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10096
- className: `${CLASSNAME$U}__header`
10838
+ className: `${CLASSNAME$V}__header`
10097
10839
  }, /*#__PURE__*/React.createElement(InputLabel, {
10098
10840
  htmlFor: id,
10099
- className: `${CLASSNAME$U}__label`,
10841
+ className: `${CLASSNAME$V}__label`,
10100
10842
  isRequired: isRequired,
10101
10843
  theme: theme
10102
10844
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10103
10845
  ref: mergeRefs(anchorRef, selectElementRef),
10104
10846
  id: id,
10105
- className: `${CLASSNAME$U}__wrapper`,
10847
+ className: `${CLASSNAME$V}__wrapper`,
10106
10848
  onClick: onInputClick,
10107
10849
  onKeyDown: handleKeyboardNav,
10108
10850
  tabIndex: isDisabled ? undefined : 0,
10109
10851
  "aria-disabled": isDisabled || undefined
10110
10852
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10111
- className: `${CLASSNAME$U}__input-icon`,
10853
+ className: `${CLASSNAME$V}__input-icon`,
10112
10854
  color: theme === Theme.dark ? 'light' : undefined,
10113
10855
  icon: icon,
10114
10856
  size: Size.xs
10115
10857
  }), /*#__PURE__*/React.createElement("div", {
10116
- className: classnames([`${CLASSNAME$U}__input-native`, isEmpty && placeholder && `${CLASSNAME$U}__input-native--placeholder`])
10858
+ className: classnames([`${CLASSNAME$V}__input-native`, isEmpty && placeholder && `${CLASSNAME$V}__input-native--placeholder`])
10117
10859
  }, !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", {
10118
- className: `${CLASSNAME$U}__input-validity`
10860
+ className: `${CLASSNAME$V}__input-validity`
10119
10861
  }, /*#__PURE__*/React.createElement(Icon, {
10120
10862
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10121
10863
  size: Size.xxs
10122
10864
  })), hasInputClear && clearButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
10123
- className: `${CLASSNAME$U}__input-clear`,
10865
+ className: `${CLASSNAME$V}__input-clear`,
10124
10866
  icon: mdiCloseCircle,
10125
10867
  emphasis: Emphasis.low,
10126
10868
  size: Size.s,
@@ -10128,7 +10870,7 @@ const SelectField = _ref => {
10128
10870
  onClick: onClear,
10129
10871
  onKeyDown: stopPropagation
10130
10872
  })), /*#__PURE__*/React.createElement("div", {
10131
- className: `${CLASSNAME$U}__input-indicator`
10873
+ className: `${CLASSNAME$V}__input-indicator`
10132
10874
  }, /*#__PURE__*/React.createElement(Icon, {
10133
10875
  icon: mdiMenuDown,
10134
10876
  size: Size.s
@@ -10160,26 +10902,26 @@ const Select = /*#__PURE__*/forwardRef((props, ref) => {
10160
10902
  className: classnames(props.className, handleBasicClasses({
10161
10903
  hasInputClear,
10162
10904
  hasUnique: !props.isEmpty,
10163
- prefix: CLASSNAME$U
10905
+ prefix: CLASSNAME$V
10164
10906
  })),
10165
10907
  hasInputClear,
10166
10908
  isEmpty: isEmpty$1
10167
10909
  }), ref);
10168
10910
  });
10169
- Select.displayName = COMPONENT_NAME$X;
10170
- Select.className = CLASSNAME$U;
10911
+ Select.displayName = COMPONENT_NAME$Y;
10912
+ Select.className = CLASSNAME$V;
10171
10913
  Select.defaultProps = DEFAULT_PROPS$I;
10172
- Select.className = CLASSNAME$U;
10914
+ Select.className = CLASSNAME$V;
10173
10915
 
10174
- const _excluded$_ = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10916
+ const _excluded$11 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10175
10917
 
10176
10918
  /** Defines the props of the component. */
10177
10919
 
10178
10920
  /** The display name of the component. */
10179
- const COMPONENT_NAME$Y = 'Select';
10921
+ const COMPONENT_NAME$Z = 'Select';
10180
10922
 
10181
10923
  /** The default class name and classes prefix for this component. */
10182
- const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10924
+ const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
10183
10925
 
10184
10926
  /** The default value of props. */
10185
10927
  const DEFAULT_PROPS$J = {
@@ -10222,38 +10964,38 @@ const SelectMultipleField = _ref => {
10222
10964
  variant,
10223
10965
  selectElementRef
10224
10966
  } = _ref,
10225
- forwardedProps = _objectWithoutProperties(_ref, _excluded$_);
10967
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$11);
10226
10968
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10227
- className: `${CLASSNAME$V}__header`
10969
+ className: `${CLASSNAME$W}__header`
10228
10970
  }, /*#__PURE__*/React.createElement(InputLabel, {
10229
10971
  htmlFor: id,
10230
- className: `${CLASSNAME$V}__label`,
10972
+ className: `${CLASSNAME$W}__label`,
10231
10973
  isRequired: isRequired,
10232
10974
  theme: theme
10233
10975
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
10234
10976
  ref: mergeRefs(anchorRef, selectElementRef),
10235
10977
  id: id,
10236
- className: `${CLASSNAME$V}__wrapper`,
10978
+ className: `${CLASSNAME$W}__wrapper`,
10237
10979
  onClick: onInputClick,
10238
10980
  onKeyDown: handleKeyboardNav,
10239
10981
  tabIndex: isDisabled ? undefined : 0,
10240
10982
  "aria-disabled": isDisabled || undefined
10241
10983
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
10242
- className: `${CLASSNAME$V}__input-icon`,
10984
+ className: `${CLASSNAME$W}__input-icon`,
10243
10985
  color: theme === Theme.dark ? 'light' : undefined,
10244
10986
  icon: icon,
10245
10987
  size: Size.xs
10246
10988
  }), /*#__PURE__*/React.createElement("div", {
10247
- className: `${CLASSNAME$V}__chips`
10989
+ className: `${CLASSNAME$W}__chips`
10248
10990
  }, !isEmpty && value.map((val, index) => selectedChipRender === null || selectedChipRender === void 0 ? void 0 : selectedChipRender(val, index, onClear, isDisabled, theme))), isEmpty && placeholder && /*#__PURE__*/React.createElement("div", {
10249
- className: classnames([`${CLASSNAME$V}__input-native`, `${CLASSNAME$V}__input-native--placeholder`])
10991
+ className: classnames([`${CLASSNAME$W}__input-native`, `${CLASSNAME$W}__input-native--placeholder`])
10250
10992
  }, /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
10251
- className: `${CLASSNAME$V}__input-validity`
10993
+ className: `${CLASSNAME$W}__input-validity`
10252
10994
  }, /*#__PURE__*/React.createElement(Icon, {
10253
10995
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
10254
10996
  size: Size.xxs
10255
10997
  })), /*#__PURE__*/React.createElement("div", {
10256
- className: `${CLASSNAME$V}__input-indicator`
10998
+ className: `${CLASSNAME$W}__input-indicator`
10257
10999
  }, /*#__PURE__*/React.createElement(Icon, {
10258
11000
  icon: mdiMenuDown,
10259
11001
  size: Size.s
@@ -10282,17 +11024,17 @@ const SelectMultiple = /*#__PURE__*/forwardRef((props, ref) => {
10282
11024
  return WithSelectContext(SelectMultipleField, _objectSpread2(_objectSpread2({}, props), {}, {
10283
11025
  className: classnames(props.className, handleBasicClasses({
10284
11026
  hasMultiple: !props.isEmpty,
10285
- prefix: CLASSNAME$V
11027
+ prefix: CLASSNAME$W
10286
11028
  })),
10287
11029
  isEmpty: props.value.length === 0,
10288
11030
  isMultiple: true
10289
11031
  }), ref);
10290
11032
  });
10291
- SelectMultiple.displayName = COMPONENT_NAME$Y;
10292
- SelectMultiple.className = CLASSNAME$V;
11033
+ SelectMultiple.displayName = COMPONENT_NAME$Z;
11034
+ SelectMultiple.className = CLASSNAME$W;
10293
11035
  SelectMultiple.defaultProps = DEFAULT_PROPS$J;
10294
11036
 
10295
- const _excluded$$ = ["children", "className", "theme"];
11037
+ const _excluded$12 = ["children", "className", "theme"];
10296
11038
 
10297
11039
  /**
10298
11040
  * Defines the props of the component.
@@ -10301,12 +11043,12 @@ const _excluded$$ = ["children", "className", "theme"];
10301
11043
  /**
10302
11044
  * Component display name.
10303
11045
  */
10304
- const COMPONENT_NAME$Z = 'SideNavigation';
11046
+ const COMPONENT_NAME$_ = 'SideNavigation';
10305
11047
 
10306
11048
  /**
10307
11049
  * Component default class name and class prefix.
10308
11050
  */
10309
- const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
11051
+ const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
10310
11052
 
10311
11053
  /**
10312
11054
  * SideNavigation component.
@@ -10321,20 +11063,20 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
10321
11063
  className,
10322
11064
  theme
10323
11065
  } = props,
10324
- forwardedProps = _objectWithoutProperties(props, _excluded$$);
11066
+ forwardedProps = _objectWithoutProperties(props, _excluded$12);
10325
11067
  const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
10326
11068
  return /*#__PURE__*/React.createElement("ul", _extends({
10327
11069
  ref: ref
10328
11070
  }, forwardedProps, {
10329
11071
  className: classnames(className, theme === Theme.dark && 'lumx-color-font-light-N', handleBasicClasses({
10330
- prefix: CLASSNAME$W
11072
+ prefix: CLASSNAME$X
10331
11073
  }))
10332
11074
  }), content);
10333
11075
  });
10334
- SideNavigation.displayName = COMPONENT_NAME$Z;
10335
- SideNavigation.className = CLASSNAME$W;
11076
+ SideNavigation.displayName = COMPONENT_NAME$_;
11077
+ SideNavigation.className = CLASSNAME$X;
10336
11078
 
10337
- const _excluded$10 = ["linkAs", "href"];
11079
+ const _excluded$13 = ["linkAs", "href"];
10338
11080
  /**
10339
11081
  * Render <button> HTML component, fallbacks to `<a>` when a `href` is provided or a custom component with `linkAs`.
10340
11082
  */
@@ -10343,7 +11085,7 @@ const renderButtonOrLink = function (props) {
10343
11085
  linkAs,
10344
11086
  href
10345
11087
  } = props,
10346
- forwardedProps = _objectWithoutProperties(props, _excluded$10);
11088
+ forwardedProps = _objectWithoutProperties(props, _excluded$13);
10347
11089
  for (var _len = arguments.length, children = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
10348
11090
  children[_key - 1] = arguments[_key];
10349
11091
  }
@@ -10353,7 +11095,7 @@ const renderButtonOrLink = function (props) {
10353
11095
  }, forwardedProps), ...children);
10354
11096
  };
10355
11097
 
10356
- const _excluded$11 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11098
+ const _excluded$14 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
10357
11099
 
10358
11100
  /**
10359
11101
  * Defines the props of the component.
@@ -10362,12 +11104,12 @@ const _excluded$11 = ["children", "className", "emphasis", "icon", "isOpen", "is
10362
11104
  /**
10363
11105
  * Component display name.
10364
11106
  */
10365
- const COMPONENT_NAME$_ = 'SideNavigationItem';
11107
+ const COMPONENT_NAME$$ = 'SideNavigationItem';
10366
11108
 
10367
11109
  /**
10368
11110
  * Component default class name and class prefix.
10369
11111
  */
10370
- const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
11112
+ const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
10371
11113
 
10372
11114
  /**
10373
11115
  * Component default props.
@@ -10400,7 +11142,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10400
11142
  toggleButtonProps,
10401
11143
  closeMode = 'unmount'
10402
11144
  } = props,
10403
- forwardedProps = _objectWithoutProperties(props, _excluded$11);
11145
+ forwardedProps = _objectWithoutProperties(props, _excluded$14);
10404
11146
  const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
10405
11147
  const hasContent = !isEmpty(content);
10406
11148
  const shouldSplitActions = Boolean(onActionClick);
@@ -10419,22 +11161,22 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10419
11161
  emphasis,
10420
11162
  isOpen: showChildren,
10421
11163
  isSelected,
10422
- prefix: CLASSNAME$X
11164
+ prefix: CLASSNAME$Y
10423
11165
  }))
10424
11166
  }), shouldSplitActions ? /*#__PURE__*/React.createElement("div", {
10425
- className: `${CLASSNAME$X}__wrapper`
11167
+ className: `${CLASSNAME$Y}__wrapper`
10426
11168
  }, renderLink(_objectSpread2(_objectSpread2({
10427
11169
  linkAs
10428
11170
  }, linkProps), {}, {
10429
- className: `${CLASSNAME$X}__link`,
11171
+ className: `${CLASSNAME$Y}__link`,
10430
11172
  onClick,
10431
11173
  tabIndex: 0
10432
11174
  }), icon && /*#__PURE__*/React.createElement(Icon, {
10433
- className: `${CLASSNAME$X}__icon`,
11175
+ className: `${CLASSNAME$Y}__icon`,
10434
11176
  icon: icon,
10435
11177
  size: Size.xs
10436
11178
  }), /*#__PURE__*/React.createElement("span", null, label)), /*#__PURE__*/React.createElement(IconButton, _extends({}, toggleButtonProps, {
10437
- className: `${CLASSNAME$X}__toggle`,
11179
+ className: `${CLASSNAME$Y}__toggle`,
10438
11180
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
10439
11181
  size: Size.m,
10440
11182
  emphasis: Emphasis.low,
@@ -10442,27 +11184,27 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
10442
11184
  }, ariaProps))) : renderButtonOrLink(_objectSpread2(_objectSpread2({
10443
11185
  linkAs
10444
11186
  }, linkProps), {}, {
10445
- className: `${CLASSNAME$X}__link`,
11187
+ className: `${CLASSNAME$Y}__link`,
10446
11188
  tabIndex: 0,
10447
11189
  onClick
10448
11190
  }, ariaProps), icon && /*#__PURE__*/React.createElement(Icon, {
10449
- className: `${CLASSNAME$X}__icon`,
11191
+ className: `${CLASSNAME$Y}__icon`,
10450
11192
  icon: icon,
10451
11193
  size: Size.xs
10452
11194
  }), /*#__PURE__*/React.createElement("span", null, label), hasContent && /*#__PURE__*/React.createElement(Icon, {
10453
- className: `${CLASSNAME$X}__chevron`,
11195
+ className: `${CLASSNAME$Y}__chevron`,
10454
11196
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
10455
11197
  size: Size.xs
10456
11198
  })), (closeMode === 'hide' || showChildren) && /*#__PURE__*/React.createElement("ul", {
10457
- className: `${CLASSNAME$X}__children`,
11199
+ className: `${CLASSNAME$Y}__children`,
10458
11200
  id: contentId
10459
11201
  }, content));
10460
11202
  });
10461
- SideNavigationItem.displayName = COMPONENT_NAME$_;
10462
- SideNavigationItem.className = CLASSNAME$X;
11203
+ SideNavigationItem.displayName = COMPONENT_NAME$$;
11204
+ SideNavigationItem.className = CLASSNAME$Y;
10463
11205
  SideNavigationItem.defaultProps = DEFAULT_PROPS$K;
10464
11206
 
10465
- const _excluded$12 = ["className", "size", "color", "theme"];
11207
+ const _excluded$15 = ["className", "size", "color", "theme"];
10466
11208
 
10467
11209
  /**
10468
11210
  * Defines the props of the component.
@@ -10475,12 +11217,12 @@ const DEFAULT_PROPS$L = {
10475
11217
  /**
10476
11218
  * Component display name.
10477
11219
  */
10478
- const COMPONENT_NAME$$ = 'SkeletonCircle';
11220
+ const COMPONENT_NAME$10 = 'SkeletonCircle';
10479
11221
 
10480
11222
  /**
10481
11223
  * Component default class name and class prefix.
10482
11224
  */
10483
- const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
11225
+ const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
10484
11226
 
10485
11227
  /**
10486
11228
  * SkeletonCircle component.
@@ -10496,23 +11238,23 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
10496
11238
  color,
10497
11239
  theme
10498
11240
  } = props,
10499
- forwardedProps = _objectWithoutProperties(props, _excluded$12);
11241
+ forwardedProps = _objectWithoutProperties(props, _excluded$15);
10500
11242
  return /*#__PURE__*/React.createElement("div", _extends({
10501
11243
  ref: ref
10502
11244
  }, forwardedProps, {
10503
11245
  className: classnames(className, handleBasicClasses({
10504
- prefix: CLASSNAME$Y,
11246
+ prefix: CLASSNAME$Z,
10505
11247
  size,
10506
11248
  color,
10507
11249
  theme
10508
11250
  }))
10509
11251
  }));
10510
11252
  });
10511
- SkeletonCircle.displayName = COMPONENT_NAME$$;
11253
+ SkeletonCircle.displayName = COMPONENT_NAME$10;
10512
11254
  SkeletonCircle.defaultProps = DEFAULT_PROPS$L;
10513
- SkeletonCircle.className = CLASSNAME$Y;
11255
+ SkeletonCircle.className = CLASSNAME$Z;
10514
11256
 
10515
- const _excluded$13 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11257
+ const _excluded$16 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
10516
11258
 
10517
11259
  /**
10518
11260
  * Skeleton variants.
@@ -10535,12 +11277,12 @@ const DEFAULT_PROPS$M = {
10535
11277
  /**
10536
11278
  * Component display name.
10537
11279
  */
10538
- const COMPONENT_NAME$10 = 'SkeletonRectangle';
11280
+ const COMPONENT_NAME$11 = 'SkeletonRectangle';
10539
11281
 
10540
11282
  /**
10541
11283
  * Component default class name and class prefix.
10542
11284
  */
10543
- const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
11285
+ const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
10544
11286
 
10545
11287
  /**
10546
11288
  * SkeletonRectangle component.
@@ -10559,12 +11301,12 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
10559
11301
  width,
10560
11302
  color
10561
11303
  } = props,
10562
- forwardedProps = _objectWithoutProperties(props, _excluded$13);
11304
+ forwardedProps = _objectWithoutProperties(props, _excluded$16);
10563
11305
  return /*#__PURE__*/React.createElement("div", _extends({
10564
11306
  ref: ref
10565
11307
  }, forwardedProps, {
10566
11308
  className: classnames(className, handleBasicClasses({
10567
- prefix: CLASSNAME$Z,
11309
+ prefix: CLASSNAME$_,
10568
11310
  aspectRatio,
10569
11311
  height: aspectRatio ? undefined : height,
10570
11312
  theme,
@@ -10573,14 +11315,14 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
10573
11315
  color
10574
11316
  }))
10575
11317
  }), /*#__PURE__*/React.createElement("div", {
10576
- className: `${CLASSNAME$Z}__inner`
11318
+ className: `${CLASSNAME$_}__inner`
10577
11319
  }));
10578
11320
  });
10579
- SkeletonRectangle.displayName = COMPONENT_NAME$10;
10580
- SkeletonRectangle.className = CLASSNAME$Z;
11321
+ SkeletonRectangle.displayName = COMPONENT_NAME$11;
11322
+ SkeletonRectangle.className = CLASSNAME$_;
10581
11323
  SkeletonRectangle.defaultProps = DEFAULT_PROPS$M;
10582
11324
 
10583
- const _excluded$14 = ["className", "theme", "typography", "width", "color"];
11325
+ const _excluded$17 = ["className", "theme", "typography", "width", "color"];
10584
11326
 
10585
11327
  /**
10586
11328
  * Defines the props of the component.
@@ -10593,12 +11335,12 @@ const DEFAULT_PROPS$N = {
10593
11335
  /**
10594
11336
  * Component display name.
10595
11337
  */
10596
- const COMPONENT_NAME$11 = 'SkeletonTypography';
11338
+ const COMPONENT_NAME$12 = 'SkeletonTypography';
10597
11339
 
10598
11340
  /**
10599
11341
  * Component default class name and class prefix.
10600
11342
  */
10601
- const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
11343
+ const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
10602
11344
 
10603
11345
  /**
10604
11346
  * SkeletonTypography component.
@@ -10615,12 +11357,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
10615
11357
  width,
10616
11358
  color
10617
11359
  } = props,
10618
- forwardedProps = _objectWithoutProperties(props, _excluded$14);
11360
+ forwardedProps = _objectWithoutProperties(props, _excluded$17);
10619
11361
  return /*#__PURE__*/React.createElement("div", _extends({
10620
11362
  ref: ref
10621
11363
  }, forwardedProps, {
10622
11364
  className: classnames(className, handleBasicClasses({
10623
- prefix: CLASSNAME$_,
11365
+ prefix: CLASSNAME$$,
10624
11366
  theme,
10625
11367
  typography,
10626
11368
  color
@@ -10629,12 +11371,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
10629
11371
  width
10630
11372
  })
10631
11373
  }), /*#__PURE__*/React.createElement("div", {
10632
- className: `${CLASSNAME$_}__inner`
11374
+ className: `${CLASSNAME$$}__inner`
10633
11375
  }));
10634
11376
  });
10635
- SkeletonTypography.displayName = COMPONENT_NAME$11;
11377
+ SkeletonTypography.displayName = COMPONENT_NAME$12;
10636
11378
  SkeletonTypography.defaultProps = DEFAULT_PROPS$N;
10637
- SkeletonTypography.className = CLASSNAME$_;
11379
+ SkeletonTypography.className = CLASSNAME$$;
10638
11380
 
10639
11381
  const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
10640
11382
 
@@ -10670,7 +11412,7 @@ const clamp = (value, min, max) => {
10670
11412
  return value;
10671
11413
  };
10672
11414
 
10673
- const _excluded$15 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11415
+ const _excluded$18 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
10674
11416
 
10675
11417
  /**
10676
11418
  * Defines the props of the component.
@@ -10679,12 +11421,12 @@ const _excluded$15 = ["className", "disabled", "helper", "hideMinMaxLabel", "id"
10679
11421
  /**
10680
11422
  * Component display name.
10681
11423
  */
10682
- const COMPONENT_NAME$12 = 'Slider';
11424
+ const COMPONENT_NAME$13 = 'Slider';
10683
11425
 
10684
11426
  /**
10685
11427
  * Component default class name and class prefix.
10686
11428
  */
10687
- const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
11429
+ const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
10688
11430
 
10689
11431
  /**
10690
11432
  * Component default props.
@@ -10745,7 +11487,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10745
11487
  theme,
10746
11488
  value
10747
11489
  } = props,
10748
- forwardedProps = _objectWithoutProperties(props, _excluded$15);
11490
+ forwardedProps = _objectWithoutProperties(props, _excluded$18);
10749
11491
  const sliderId = useMemo(() => id || `slider-${uid()}`, [id]);
10750
11492
  const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
10751
11493
  const sliderRef = useRef(null);
@@ -10878,7 +11620,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10878
11620
  ref: ref
10879
11621
  }, forwardedProps, {
10880
11622
  className: classnames(className, handleBasicClasses({
10881
- prefix: CLASSNAME$$,
11623
+ prefix: CLASSNAME$10,
10882
11624
  theme,
10883
11625
  hasLabel: Boolean(label)
10884
11626
  })),
@@ -10887,30 +11629,30 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10887
11629
  }), label && /*#__PURE__*/React.createElement(InputLabel, {
10888
11630
  id: sliderLabelId,
10889
11631
  htmlFor: sliderId,
10890
- className: `${CLASSNAME$$}__label`,
11632
+ className: `${CLASSNAME$10}__label`,
10891
11633
  theme: theme
10892
11634
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
10893
- className: `${CLASSNAME$$}__helper`,
11635
+ className: `${CLASSNAME$10}__helper`,
10894
11636
  theme: theme
10895
11637
  }, helper), /*#__PURE__*/React.createElement("div", {
10896
- className: `${CLASSNAME$$}__ui-wrapper`
11638
+ className: `${CLASSNAME$10}__ui-wrapper`
10897
11639
  }, !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
10898
- className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--min`
11640
+ className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--min`
10899
11641
  }, min), /*#__PURE__*/React.createElement("div", {
10900
- className: `${CLASSNAME$$}__wrapper`,
11642
+ className: `${CLASSNAME$10}__wrapper`,
10901
11643
  ref: sliderRef
10902
11644
  }, /*#__PURE__*/React.createElement("div", {
10903
- className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--background`
11645
+ className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--background`
10904
11646
  }), /*#__PURE__*/React.createElement("div", {
10905
- className: `${CLASSNAME$$}__track ${CLASSNAME$$}__track--active`,
11647
+ className: `${CLASSNAME$10}__track ${CLASSNAME$10}__track--active`,
10906
11648
  style: {
10907
11649
  width: percentString
10908
11650
  }
10909
11651
  }), steps ? /*#__PURE__*/React.createElement("div", {
10910
- className: `${CLASSNAME$$}__ticks`
11652
+ className: `${CLASSNAME$10}__ticks`
10911
11653
  }, availableSteps.map((step, idx) => /*#__PURE__*/React.createElement("div", {
10912
11654
  key: `tick_${idx}`,
10913
- className: `${CLASSNAME$$}__tick`,
11655
+ className: `${CLASSNAME$10}__tick`,
10914
11656
  style: {
10915
11657
  left: `${step * 100}%`
10916
11658
  }
@@ -10919,18 +11661,18 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
10919
11661
  "aria-labelledby": sliderLabelId,
10920
11662
  name: name,
10921
11663
  id: sliderId,
10922
- className: `${CLASSNAME$$}__handle`,
11664
+ className: `${CLASSNAME$10}__handle`,
10923
11665
  style: {
10924
11666
  left: percentString
10925
11667
  },
10926
11668
  onKeyDown: handleKeyDown,
10927
11669
  disabled: isDisabled
10928
11670
  })), !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
10929
- className: `${CLASSNAME$$}__value-label ${CLASSNAME$$}__value-label--max`
11671
+ className: `${CLASSNAME$10}__value-label ${CLASSNAME$10}__value-label--max`
10930
11672
  }, max)));
10931
11673
  });
10932
- Slider.displayName = COMPONENT_NAME$12;
10933
- Slider.className = CLASSNAME$$;
11674
+ Slider.displayName = COMPONENT_NAME$13;
11675
+ Slider.className = CLASSNAME$10;
10934
11676
  Slider.defaultProps = DEFAULT_PROPS$O;
10935
11677
 
10936
11678
  /**
@@ -11251,7 +11993,7 @@ const useSlideFocusManagement = _ref => {
11251
11993
  }, [isSlideDisplayed, slideRef]);
11252
11994
  };
11253
11995
 
11254
- const _excluded$16 = ["className", "children", "role", "label", "isDisplayed"];
11996
+ const _excluded$19 = ["className", "children", "role", "label", "isDisplayed"];
11255
11997
 
11256
11998
  /**
11257
11999
  * Defines the props of the component.
@@ -11260,12 +12002,12 @@ const _excluded$16 = ["className", "children", "role", "label", "isDisplayed"];
11260
12002
  /**
11261
12003
  * Component display name.
11262
12004
  */
11263
- const COMPONENT_NAME$13 = 'SlideshowItemGroup';
12005
+ const COMPONENT_NAME$14 = 'SlideshowItemGroup';
11264
12006
 
11265
12007
  /**
11266
12008
  * Component default class name and class prefix.
11267
12009
  */
11268
- const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
12010
+ const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
11269
12011
  const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
11270
12012
 
11271
12013
  /**
@@ -11283,7 +12025,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11283
12025
  label,
11284
12026
  isDisplayed
11285
12027
  } = props,
11286
- forwardedProps = _objectWithoutProperties(props, _excluded$16);
12028
+ forwardedProps = _objectWithoutProperties(props, _excluded$19);
11287
12029
  const groupRef = React.useRef(null);
11288
12030
  useSlideFocusManagement({
11289
12031
  isSlideDisplayed: isDisplayed,
@@ -11293,16 +12035,16 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11293
12035
  ref: mergeRefs(groupRef, ref),
11294
12036
  role: role,
11295
12037
  className: classnames(className, handleBasicClasses({
11296
- prefix: CLASSNAME$10
12038
+ prefix: CLASSNAME$11
11297
12039
  })),
11298
12040
  "aria-roledescription": "slide",
11299
12041
  "aria-label": label
11300
12042
  }, forwardedProps), children);
11301
12043
  });
11302
- SlideshowItemGroup.displayName = COMPONENT_NAME$13;
11303
- SlideshowItemGroup.className = CLASSNAME$10;
12044
+ SlideshowItemGroup.displayName = COMPONENT_NAME$14;
12045
+ SlideshowItemGroup.className = CLASSNAME$11;
11304
12046
 
11305
- const _excluded$17 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
12047
+ const _excluded$1a = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
11306
12048
 
11307
12049
  /**
11308
12050
  * Defines the props of the component.
@@ -11338,7 +12080,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
11338
12080
  slidesId,
11339
12081
  slideGroupLabel
11340
12082
  } = props,
11341
- forwardedProps = _objectWithoutProperties(props, _excluded$17);
12083
+ forwardedProps = _objectWithoutProperties(props, _excluded$1a);
11342
12084
  // Number of slideshow items.
11343
12085
  const itemsCount = React.Children.count(children);
11344
12086
  const {
@@ -11420,7 +12162,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
11420
12162
  Slideshow.displayName = 'Slideshow';
11421
12163
  Slideshow.defaultProps = DEFAULT_PROPS$P;
11422
12164
 
11423
- const _excluded$18 = ["className", "children"];
12165
+ const _excluded$1b = ["className", "children"];
11424
12166
 
11425
12167
  /**
11426
12168
  * Defines the props of the component.
@@ -11429,12 +12171,12 @@ const _excluded$18 = ["className", "children"];
11429
12171
  /**
11430
12172
  * Component display name.
11431
12173
  */
11432
- const COMPONENT_NAME$14 = 'SlideshowItem';
12174
+ const COMPONENT_NAME$15 = 'SlideshowItem';
11433
12175
 
11434
12176
  /**
11435
12177
  * Component default class name and class prefix.
11436
12178
  */
11437
- const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
12179
+ const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
11438
12180
 
11439
12181
  /**
11440
12182
  * SlideshowItem component.
@@ -11448,16 +12190,16 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
11448
12190
  className,
11449
12191
  children
11450
12192
  } = props,
11451
- forwardedProps = _objectWithoutProperties(props, _excluded$18);
12193
+ forwardedProps = _objectWithoutProperties(props, _excluded$1b);
11452
12194
  return /*#__PURE__*/React.createElement("div", _extends({
11453
12195
  ref: ref,
11454
12196
  className: classnames(className, handleBasicClasses({
11455
- prefix: CLASSNAME$11
12197
+ prefix: CLASSNAME$12
11456
12198
  }))
11457
12199
  }, forwardedProps), children);
11458
12200
  });
11459
- SlideshowItem.displayName = COMPONENT_NAME$14;
11460
- SlideshowItem.className = CLASSNAME$11;
12201
+ SlideshowItem.displayName = COMPONENT_NAME$15;
12202
+ SlideshowItem.className = CLASSNAME$12;
11461
12203
 
11462
12204
  const isTouchDevice = () => 'ontouchstart' in window;
11463
12205
 
@@ -11516,7 +12258,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
11516
12258
  }, [activeIndex, slideCount]);
11517
12259
  }
11518
12260
 
11519
- const _excluded$19 = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12261
+ const _excluded$1c = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
11520
12262
  _excluded2$2 = ["className", "label"];
11521
12263
 
11522
12264
  /**
@@ -11526,12 +12268,12 @@ const _excluded$19 = ["activeIndex", "className", "nextButtonProps", "onNextClic
11526
12268
  /**
11527
12269
  * Component display name.
11528
12270
  */
11529
- const COMPONENT_NAME$15 = 'SlideshowControls';
12271
+ const COMPONENT_NAME$16 = 'SlideshowControls';
11530
12272
 
11531
12273
  /**
11532
12274
  * Component default class name and class prefix.
11533
12275
  */
11534
- const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
12276
+ const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
11535
12277
 
11536
12278
  /**
11537
12279
  * Component default props.
@@ -11566,7 +12308,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11566
12308
  paginationItemLabel,
11567
12309
  paginationItemProps
11568
12310
  } = props,
11569
- forwardedProps = _objectWithoutProperties(props, _excluded$19);
12311
+ forwardedProps = _objectWithoutProperties(props, _excluded$1c);
11570
12312
  let parent;
11571
12313
  if (WINDOW) {
11572
12314
  // Checking window object to avoid errors in SSR.
@@ -11603,22 +12345,22 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11603
12345
  ref: ref
11604
12346
  }, forwardedProps, {
11605
12347
  className: classnames(className, handleBasicClasses({
11606
- prefix: CLASSNAME$12,
12348
+ prefix: CLASSNAME$13,
11607
12349
  theme
11608
12350
  }), {
11609
- [`${CLASSNAME$12}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
12351
+ [`${CLASSNAME$13}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
11610
12352
  })
11611
12353
  }), /*#__PURE__*/React.createElement(IconButton, _extends({}, previousButtonProps, {
11612
12354
  icon: mdiChevronLeft,
11613
- className: `${CLASSNAME$12}__navigation`,
12355
+ className: `${CLASSNAME$13}__navigation`,
11614
12356
  color: theme === Theme.dark ? 'light' : 'dark',
11615
12357
  emphasis: Emphasis.low,
11616
12358
  onClick: onPreviousClick
11617
12359
  })), /*#__PURE__*/React.createElement("div", {
11618
12360
  ref: paginationRef,
11619
- className: `${CLASSNAME$12}__pagination`
12361
+ className: `${CLASSNAME$13}__pagination`
11620
12362
  }, /*#__PURE__*/React.createElement("div", _extends({
11621
- className: `${CLASSNAME$12}__pagination-items`,
12363
+ className: `${CLASSNAME$13}__pagination-items`,
11622
12364
  style: wrapperStyle,
11623
12365
  role: "tablist"
11624
12366
  }, paginationProps), useMemo(() => range(slidesCount).map(index => {
@@ -11634,7 +12376,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11634
12376
  const ariaLabel = label || (paginationItemLabel === null || paginationItemLabel === void 0 ? void 0 : paginationItemLabel(index)) || `${index + 1} / ${slidesCount}`;
11635
12377
  return /*#__PURE__*/React.createElement("button", _extends({
11636
12378
  className: classnames(handleBasicClasses({
11637
- prefix: `${CLASSNAME$12}__pagination-item`,
12379
+ prefix: `${CLASSNAME$13}__pagination-item`,
11638
12380
  isActive,
11639
12381
  isOnEdge,
11640
12382
  isOutRange
@@ -11649,35 +12391,35 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
11649
12391
  }, itemProps));
11650
12392
  }), [slidesCount, visibleRange.min, visibleRange.max, activeIndex, paginationItemProps, paginationItemLabel, onPaginationClick]))), playButtonProps ? /*#__PURE__*/React.createElement(IconButton, _extends({}, playButtonProps, {
11651
12393
  icon: isAutoPlaying ? mdiPauseCircleOutline : mdiPlayCircleOutline,
11652
- className: `${CLASSNAME$12}__play`,
12394
+ className: `${CLASSNAME$13}__play`,
11653
12395
  color: theme === Theme.dark ? 'light' : 'dark',
11654
12396
  emphasis: Emphasis.low
11655
12397
  })) : null, /*#__PURE__*/React.createElement(IconButton, _extends({}, nextButtonProps, {
11656
12398
  icon: mdiChevronRight,
11657
- className: `${CLASSNAME$12}__navigation`,
12399
+ className: `${CLASSNAME$13}__navigation`,
11658
12400
  color: theme === Theme.dark ? 'light' : 'dark',
11659
12401
  emphasis: Emphasis.low,
11660
12402
  onClick: onNextClick
11661
12403
  })));
11662
12404
  });
11663
- InternalSlideshowControls.displayName = COMPONENT_NAME$15;
11664
- InternalSlideshowControls.className = CLASSNAME$12;
12405
+ InternalSlideshowControls.displayName = COMPONENT_NAME$16;
12406
+ InternalSlideshowControls.className = CLASSNAME$13;
11665
12407
  InternalSlideshowControls.defaultProps = DEFAULT_PROPS$Q;
11666
12408
  const SlideshowControls = Object.assign(InternalSlideshowControls, {
11667
12409
  useSlideshowControls,
11668
12410
  useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
11669
12411
  });
11670
12412
 
11671
- const _excluded$1a = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12413
+ const _excluded$1d = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
11672
12414
  /**
11673
12415
  * Component display name.
11674
12416
  */
11675
- const COMPONENT_NAME$16 = 'Slideshow';
12417
+ const COMPONENT_NAME$17 = 'Slideshow';
11676
12418
 
11677
12419
  /**
11678
12420
  * Component default class name and class prefix.
11679
12421
  */
11680
- const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16);
12422
+ const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
11681
12423
 
11682
12424
  /**
11683
12425
  * Slides component.
@@ -11702,7 +12444,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11702
12444
  hasControls,
11703
12445
  slideGroupLabel
11704
12446
  } = props,
11705
- forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12447
+ forwardedProps = _objectWithoutProperties(props, _excluded$1d);
11706
12448
  const wrapperRef = React.useRef(null);
11707
12449
  const startIndexVisible = activeIndex;
11708
12450
  const endIndexVisible = startIndexVisible + 1;
@@ -11720,22 +12462,22 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11720
12462
  ref: ref
11721
12463
  }, forwardedProps, {
11722
12464
  className: classnames(className, handleBasicClasses({
11723
- prefix: CLASSNAME$13,
12465
+ prefix: CLASSNAME$14,
11724
12466
  theme
11725
12467
  }), {
11726
- [`${CLASSNAME$13}--fill-height`]: fillHeight,
11727
- [`${CLASSNAME$13}--group-by-${groupBy}`]: Boolean(groupBy)
12468
+ [`${CLASSNAME$14}--fill-height`]: fillHeight,
12469
+ [`${CLASSNAME$14}--group-by-${groupBy}`]: Boolean(groupBy)
11728
12470
  }),
11729
12471
  "aria-roledescription": "carousel"
11730
12472
  }), /*#__PURE__*/React.createElement("div", {
11731
12473
  id: slidesId,
11732
- className: `${CLASSNAME$13}__slides`,
12474
+ className: `${CLASSNAME$14}__slides`,
11733
12475
  onMouseEnter: toggleAutoPlay,
11734
12476
  onMouseLeave: toggleAutoPlay,
11735
12477
  "aria-live": isAutoPlaying ? 'off' : 'polite'
11736
12478
  }, /*#__PURE__*/React.createElement("div", {
11737
12479
  ref: wrapperRef,
11738
- className: `${CLASSNAME$13}__wrapper`,
12480
+ className: `${CLASSNAME$14}__wrapper`,
11739
12481
  style: wrapperStyle
11740
12482
  }, groups.map((group, index) => /*#__PURE__*/React.createElement(SlideshowItemGroup, {
11741
12483
  key: index,
@@ -11745,10 +12487,10 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
11745
12487
  isDisplayed: index >= startIndexVisible && index < endIndexVisible
11746
12488
  }, group)))), afterSlides);
11747
12489
  });
11748
- Slides.displayName = COMPONENT_NAME$16;
11749
- Slides.className = CLASSNAME$13;
12490
+ Slides.displayName = COMPONENT_NAME$17;
12491
+ Slides.className = CLASSNAME$14;
11750
12492
 
11751
- const _excluded$1b = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12493
+ const _excluded$1e = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
11752
12494
 
11753
12495
  /**
11754
12496
  * Defines the props of the component.
@@ -11757,12 +12499,12 @@ const _excluded$1b = ["checked", "children", "className", "disabled", "helper",
11757
12499
  /**
11758
12500
  * Component display name.
11759
12501
  */
11760
- const COMPONENT_NAME$17 = 'Switch';
12502
+ const COMPONENT_NAME$18 = 'Switch';
11761
12503
 
11762
12504
  /**
11763
12505
  * Component default class name and class prefix.
11764
12506
  */
11765
- const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17);
12507
+ const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
11766
12508
 
11767
12509
  /**
11768
12510
  * Component default props.
@@ -11796,7 +12538,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11796
12538
  value,
11797
12539
  inputProps = {}
11798
12540
  } = props,
11799
- forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12541
+ forwardedProps = _objectWithoutProperties(props, _excluded$1e);
11800
12542
  const inputId = useMemo(() => id || `switch-${uid()}`, [id]);
11801
12543
  const handleChange = event => {
11802
12544
  if (onChange) {
@@ -11807,7 +12549,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11807
12549
  ref: ref
11808
12550
  }, forwardedProps, {
11809
12551
  className: classnames(className, handleBasicClasses({
11810
- prefix: CLASSNAME$14,
12552
+ prefix: CLASSNAME$15,
11811
12553
  isChecked,
11812
12554
  isDisabled,
11813
12555
  position,
@@ -11816,12 +12558,12 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11816
12558
  })),
11817
12559
  "aria-disabled": isDisabled
11818
12560
  }), /*#__PURE__*/React.createElement("div", {
11819
- className: `${CLASSNAME$14}__input-wrapper`
12561
+ className: `${CLASSNAME$15}__input-wrapper`
11820
12562
  }, /*#__PURE__*/React.createElement("input", _extends({
11821
12563
  type: "checkbox",
11822
12564
  role: "switch",
11823
12565
  id: inputId,
11824
- className: `${CLASSNAME$14}__input-native`,
12566
+ className: `${CLASSNAME$15}__input-native`,
11825
12567
  name: name,
11826
12568
  value: value,
11827
12569
  disabled: isDisabled,
@@ -11830,28 +12572,28 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
11830
12572
  onChange: handleChange,
11831
12573
  "aria-describedby": helper ? `${inputId}-helper` : undefined
11832
12574
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
11833
- className: `${CLASSNAME$14}__input-placeholder`
12575
+ className: `${CLASSNAME$15}__input-placeholder`
11834
12576
  }, /*#__PURE__*/React.createElement("div", {
11835
- className: `${CLASSNAME$14}__input-background`
12577
+ className: `${CLASSNAME$15}__input-background`
11836
12578
  }), /*#__PURE__*/React.createElement("div", {
11837
- className: `${CLASSNAME$14}__input-indicator`
12579
+ className: `${CLASSNAME$15}__input-indicator`
11838
12580
  }))), Children.count(children) > 0 && /*#__PURE__*/React.createElement("div", {
11839
- className: `${CLASSNAME$14}__content`
12581
+ className: `${CLASSNAME$15}__content`
11840
12582
  }, /*#__PURE__*/React.createElement(InputLabel, {
11841
12583
  htmlFor: inputId,
11842
12584
  theme: theme,
11843
- className: `${CLASSNAME$14}__label`
12585
+ className: `${CLASSNAME$15}__label`
11844
12586
  }, children), !isEmpty(helper) && /*#__PURE__*/React.createElement(InputHelper, {
11845
12587
  id: `${inputId}-helper`,
11846
12588
  theme: theme,
11847
- className: `${CLASSNAME$14}__helper`
12589
+ className: `${CLASSNAME$15}__helper`
11848
12590
  }, helper)));
11849
12591
  });
11850
- Switch.displayName = COMPONENT_NAME$17;
11851
- Switch.className = CLASSNAME$14;
12592
+ Switch.displayName = COMPONENT_NAME$18;
12593
+ Switch.className = CLASSNAME$15;
11852
12594
  Switch.defaultProps = DEFAULT_PROPS$R;
11853
12595
 
11854
- const _excluded$1c = ["children", "className", "hasBefore", "hasDividers", "theme"];
12596
+ const _excluded$1f = ["children", "className", "hasBefore", "hasDividers", "theme"];
11855
12597
 
11856
12598
  /**
11857
12599
  * Defines the props of the component.
@@ -11860,12 +12602,12 @@ const _excluded$1c = ["children", "className", "hasBefore", "hasDividers", "them
11860
12602
  /**
11861
12603
  * Component display name.
11862
12604
  */
11863
- const COMPONENT_NAME$18 = 'Table';
12605
+ const COMPONENT_NAME$19 = 'Table';
11864
12606
 
11865
12607
  /**
11866
12608
  * Component default class name and class prefix.
11867
12609
  */
11868
- const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18);
12610
+ const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19);
11869
12611
 
11870
12612
  /**
11871
12613
  * Component default props.
@@ -11889,23 +12631,23 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
11889
12631
  hasDividers,
11890
12632
  theme
11891
12633
  } = props,
11892
- forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12634
+ forwardedProps = _objectWithoutProperties(props, _excluded$1f);
11893
12635
  return /*#__PURE__*/React.createElement("table", _extends({
11894
12636
  ref: ref
11895
12637
  }, forwardedProps, {
11896
12638
  className: classnames(className, handleBasicClasses({
11897
- prefix: CLASSNAME$15,
12639
+ prefix: CLASSNAME$16,
11898
12640
  hasBefore,
11899
12641
  hasDividers,
11900
12642
  theme
11901
12643
  }))
11902
12644
  }), children);
11903
12645
  });
11904
- Table.displayName = COMPONENT_NAME$18;
11905
- Table.className = CLASSNAME$15;
12646
+ Table.displayName = COMPONENT_NAME$19;
12647
+ Table.className = CLASSNAME$16;
11906
12648
  Table.defaultProps = DEFAULT_PROPS$S;
11907
12649
 
11908
- const _excluded$1d = ["children", "className"];
12650
+ const _excluded$1g = ["children", "className"];
11909
12651
 
11910
12652
  /**
11911
12653
  * Defines the props of the component.
@@ -11914,12 +12656,12 @@ const _excluded$1d = ["children", "className"];
11914
12656
  /**
11915
12657
  * Component display name.
11916
12658
  */
11917
- const COMPONENT_NAME$19 = 'TableBody';
12659
+ const COMPONENT_NAME$1a = 'TableBody';
11918
12660
 
11919
12661
  /**
11920
12662
  * Component default class name and class prefix.
11921
12663
  */
11922
- const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19, true);
12664
+ const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
11923
12665
 
11924
12666
  /**
11925
12667
  * TableBody component.
@@ -11933,19 +12675,19 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
11933
12675
  children,
11934
12676
  className
11935
12677
  } = props,
11936
- forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12678
+ forwardedProps = _objectWithoutProperties(props, _excluded$1g);
11937
12679
  return /*#__PURE__*/React.createElement("tbody", _extends({
11938
12680
  ref: ref
11939
12681
  }, forwardedProps, {
11940
12682
  className: classnames(className, handleBasicClasses({
11941
- prefix: CLASSNAME$16
12683
+ prefix: CLASSNAME$17
11942
12684
  }))
11943
12685
  }), children);
11944
12686
  });
11945
- TableBody.displayName = COMPONENT_NAME$19;
11946
- TableBody.className = CLASSNAME$16;
12687
+ TableBody.displayName = COMPONENT_NAME$1a;
12688
+ TableBody.className = CLASSNAME$17;
11947
12689
 
11948
- const _excluded$1e = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12690
+ const _excluded$1h = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
11949
12691
 
11950
12692
  /**
11951
12693
  * Table head cell sort order.
@@ -11969,12 +12711,12 @@ const TableCellVariant = {
11969
12711
  /**
11970
12712
  * Component display name.
11971
12713
  */
11972
- const COMPONENT_NAME$1a = 'TableCell';
12714
+ const COMPONENT_NAME$1b = 'TableCell';
11973
12715
 
11974
12716
  /**
11975
12717
  * Component default class name and class prefix.
11976
12718
  */
11977
- const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a, true);
12719
+ const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
11978
12720
 
11979
12721
  /**
11980
12722
  * Component default props.
@@ -12000,7 +12742,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
12000
12742
  sortOrder,
12001
12743
  variant
12002
12744
  } = props,
12003
- forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12745
+ forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12004
12746
 
12005
12747
  // Use button if clickable
12006
12748
  const Wrapper = onHeaderClick ? 'button' : 'div';
@@ -12020,40 +12762,40 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
12020
12762
  ref: ref
12021
12763
  }, forwardedProps, {
12022
12764
  className: classnames(handleBasicClasses({
12023
- prefix: CLASSNAME$17,
12765
+ prefix: CLASSNAME$18,
12024
12766
  isSortable,
12025
12767
  isSorted: isSortable && !!sortOrder
12026
- }), className, `${CLASSNAME$17}--head`),
12768
+ }), className, `${CLASSNAME$18}--head`),
12027
12769
  "aria-sort": ariaSort
12028
12770
  }), /*#__PURE__*/React.createElement(Wrapper, _extends({
12029
- className: `${CLASSNAME$17}-wrapper`
12771
+ className: `${CLASSNAME$18}-wrapper`
12030
12772
  }, wrapperProps), icon && !isSortable && /*#__PURE__*/React.createElement(Icon, {
12031
- className: `${CLASSNAME$17}-icon`,
12773
+ className: `${CLASSNAME$18}-icon`,
12032
12774
  icon: icon,
12033
12775
  size: Size.xxs
12034
12776
  }), isSortable && sortOrder === ThOrder.asc && /*#__PURE__*/React.createElement(Icon, {
12035
- className: `${CLASSNAME$17}-icon`,
12777
+ className: `${CLASSNAME$18}-icon`,
12036
12778
  icon: mdiArrowUp,
12037
12779
  size: Size.xxs
12038
12780
  }), isSortable && sortOrder === ThOrder.desc && /*#__PURE__*/React.createElement(Icon, {
12039
- className: `${CLASSNAME$17}-icon`,
12781
+ className: `${CLASSNAME$18}-icon`,
12040
12782
  icon: mdiArrowDown,
12041
12783
  size: Size.xxs
12042
12784
  }), /*#__PURE__*/React.createElement("div", {
12043
- className: `${CLASSNAME$17}-content`
12785
+ className: `${CLASSNAME$18}-content`
12044
12786
  }, children))), variant === TableCellVariant.body && /*#__PURE__*/React.createElement("td", _extends({}, forwardedProps, {
12045
12787
  className: classnames(className, handleBasicClasses({
12046
- prefix: CLASSNAME$17
12047
- }), `${CLASSNAME$17}--body`)
12788
+ prefix: CLASSNAME$18
12789
+ }), `${CLASSNAME$18}--body`)
12048
12790
  }), /*#__PURE__*/React.createElement("div", {
12049
- className: `${CLASSNAME$17}-content`
12791
+ className: `${CLASSNAME$18}-content`
12050
12792
  }, children)));
12051
12793
  });
12052
- TableCell.displayName = COMPONENT_NAME$1a;
12053
- TableCell.className = CLASSNAME$17;
12794
+ TableCell.displayName = COMPONENT_NAME$1b;
12795
+ TableCell.className = CLASSNAME$18;
12054
12796
  TableCell.defaultProps = DEFAULT_PROPS$T;
12055
12797
 
12056
- const _excluded$1f = ["children", "className"];
12798
+ const _excluded$1i = ["children", "className"];
12057
12799
 
12058
12800
  /**
12059
12801
  * Defines the props of the component.
@@ -12062,12 +12804,12 @@ const _excluded$1f = ["children", "className"];
12062
12804
  /**
12063
12805
  * Component display name.
12064
12806
  */
12065
- const COMPONENT_NAME$1b = 'TableHeader';
12807
+ const COMPONENT_NAME$1c = 'TableHeader';
12066
12808
 
12067
12809
  /**
12068
12810
  * Component default class name and class prefix.
12069
12811
  */
12070
- const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b, true);
12812
+ const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12071
12813
 
12072
12814
  /**
12073
12815
  * Component default props.
@@ -12086,20 +12828,20 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
12086
12828
  children,
12087
12829
  className
12088
12830
  } = props,
12089
- forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12831
+ forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12090
12832
  return /*#__PURE__*/React.createElement("thead", _extends({
12091
12833
  ref: ref
12092
12834
  }, forwardedProps, {
12093
12835
  className: classnames(className, handleBasicClasses({
12094
- prefix: CLASSNAME$18
12836
+ prefix: CLASSNAME$19
12095
12837
  }))
12096
12838
  }), children);
12097
12839
  });
12098
- TableHeader.displayName = COMPONENT_NAME$1b;
12099
- TableHeader.className = CLASSNAME$18;
12840
+ TableHeader.displayName = COMPONENT_NAME$1c;
12841
+ TableHeader.className = CLASSNAME$19;
12100
12842
  TableHeader.defaultProps = DEFAULT_PROPS$U;
12101
12843
 
12102
- const _excluded$1g = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12844
+ const _excluded$1j = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12103
12845
 
12104
12846
  /**
12105
12847
  * Defines the props of the component.
@@ -12108,12 +12850,12 @@ const _excluded$1g = ["children", "className", "disabled", "isClickable", "isDis
12108
12850
  /**
12109
12851
  * Component display name.
12110
12852
  */
12111
- const COMPONENT_NAME$1c = 'TableRow';
12853
+ const COMPONENT_NAME$1d = 'TableRow';
12112
12854
 
12113
12855
  /**
12114
12856
  * Component default class name and class prefix.
12115
12857
  */
12116
- const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c, true);
12858
+ const CLASSNAME$1a = getRootClassName(COMPONENT_NAME$1d, true);
12117
12859
 
12118
12860
  /**
12119
12861
  * Component default props.
@@ -12136,7 +12878,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12136
12878
  isDisabled = disabled,
12137
12879
  isSelected
12138
12880
  } = props,
12139
- forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12881
+ forwardedProps = _objectWithoutProperties(props, _excluded$1j);
12140
12882
  return /*#__PURE__*/React.createElement("tr", _extends({
12141
12883
  ref: ref,
12142
12884
  tabIndex: isClickable && !isDisabled ? 0 : -1
@@ -12145,16 +12887,16 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12145
12887
  isClickable: isClickable && !isDisabled,
12146
12888
  isDisabled,
12147
12889
  isSelected: isSelected && !isDisabled,
12148
- prefix: CLASSNAME$19
12890
+ prefix: CLASSNAME$1a
12149
12891
  })),
12150
12892
  "aria-disabled": isDisabled
12151
12893
  }), children);
12152
12894
  });
12153
- TableRow.displayName = COMPONENT_NAME$1c;
12154
- TableRow.className = CLASSNAME$19;
12895
+ TableRow.displayName = COMPONENT_NAME$1d;
12896
+ TableRow.className = CLASSNAME$1a;
12155
12897
  TableRow.defaultProps = DEFAULT_PROPS$V;
12156
12898
 
12157
- const _excluded$1h = ["children", "onChange"];
12899
+ const _excluded$1k = ["children", "onChange"];
12158
12900
  const DEFAULT_PROPS$W = {
12159
12901
  isLazy: INIT_STATE.isLazy,
12160
12902
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -12174,7 +12916,7 @@ const TabProvider = props => {
12174
12916
  children,
12175
12917
  onChange
12176
12918
  } = props,
12177
- propState = _objectWithoutProperties(props, _excluded$1h);
12919
+ propState = _objectWithoutProperties(props, _excluded$1k);
12178
12920
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
12179
12921
 
12180
12922
  // On prop state change => dispatch update.
@@ -12202,7 +12944,7 @@ const TabProvider = props => {
12202
12944
  };
12203
12945
  TabProvider.defaultProps = DEFAULT_PROPS$W;
12204
12946
 
12205
- const _excluded$1i = ["aria-label", "children", "className", "layout", "position", "theme"];
12947
+ const _excluded$1l = ["aria-label", "children", "className", "layout", "position", "theme"];
12206
12948
  let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12207
12949
  TabListLayout["clustered"] = "clustered";
12208
12950
  TabListLayout["fixed"] = "fixed";
@@ -12216,12 +12958,12 @@ let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12216
12958
  /**
12217
12959
  * Component display name.
12218
12960
  */
12219
- const COMPONENT_NAME$1d = 'TabList';
12961
+ const COMPONENT_NAME$1e = 'TabList';
12220
12962
 
12221
12963
  /**
12222
12964
  * Component default class name and class prefix.
12223
12965
  */
12224
- const CLASSNAME$1a = `${CSS_PREFIX}-tabs`;
12966
+ const CLASSNAME$1b = `${CSS_PREFIX}-tabs`;
12225
12967
 
12226
12968
  /**
12227
12969
  * Component default props.
@@ -12250,7 +12992,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12250
12992
  position,
12251
12993
  theme
12252
12994
  } = props,
12253
- forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12995
+ forwardedProps = _objectWithoutProperties(props, _excluded$1l);
12254
12996
  const tabListRef = React.useRef(null);
12255
12997
  useRovingTabIndex({
12256
12998
  parentRef: tabListRef,
@@ -12262,22 +13004,22 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12262
13004
  ref: mergeRefs(ref, tabListRef)
12263
13005
  }, forwardedProps, {
12264
13006
  className: classnames(className, handleBasicClasses({
12265
- prefix: CLASSNAME$1a,
13007
+ prefix: CLASSNAME$1b,
12266
13008
  layout,
12267
13009
  position,
12268
13010
  theme
12269
13011
  }))
12270
13012
  }), /*#__PURE__*/React.createElement("div", {
12271
- className: `${CLASSNAME$1a}__links`,
13013
+ className: `${CLASSNAME$1b}__links`,
12272
13014
  role: "tablist",
12273
13015
  "aria-label": ariaLabel
12274
13016
  }, children));
12275
13017
  });
12276
- TabList.displayName = COMPONENT_NAME$1d;
12277
- TabList.className = CLASSNAME$1a;
13018
+ TabList.displayName = COMPONENT_NAME$1e;
13019
+ TabList.className = CLASSNAME$1b;
12278
13020
  TabList.defaultProps = DEFAULT_PROPS$X;
12279
13021
 
12280
- const _excluded$1j = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
13022
+ const _excluded$1m = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12281
13023
 
12282
13024
  /**
12283
13025
  * Defines the props of the component.
@@ -12286,12 +13028,12 @@ const _excluded$1j = ["className", "disabled", "icon", "iconProps", "id", "isAct
12286
13028
  /**
12287
13029
  * Component display name.
12288
13030
  */
12289
- const COMPONENT_NAME$1e = 'Tab';
13031
+ const COMPONENT_NAME$1f = 'Tab';
12290
13032
 
12291
13033
  /**
12292
13034
  * Component default class name and class prefix.
12293
13035
  */
12294
- const CLASSNAME$1b = `${CSS_PREFIX}-tabs__link`;
13036
+ const CLASSNAME$1c = `${CSS_PREFIX}-tabs__link`;
12295
13037
 
12296
13038
  /**
12297
13039
  * Component default props.
@@ -12321,7 +13063,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12321
13063
  onKeyPress,
12322
13064
  tabIndex = -1
12323
13065
  } = props,
12324
- forwardedProps = _objectWithoutProperties(props, _excluded$1j);
13066
+ forwardedProps = _objectWithoutProperties(props, _excluded$1m);
12325
13067
  const state = useTabProviderContext('tab', id);
12326
13068
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
12327
13069
  const changeToCurrentTab = useCallback(() => {
@@ -12349,7 +13091,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12349
13091
  type: "button",
12350
13092
  id: state === null || state === void 0 ? void 0 : state.tabId,
12351
13093
  className: classnames(className, handleBasicClasses({
12352
- prefix: CLASSNAME$1b,
13094
+ prefix: CLASSNAME$1c,
12353
13095
  isActive,
12354
13096
  isDisabled
12355
13097
  })),
@@ -12366,11 +13108,11 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12366
13108
  size: Size.xs
12367
13109
  }, iconProps)), label && /*#__PURE__*/React.createElement("span", null, label));
12368
13110
  });
12369
- Tab.displayName = COMPONENT_NAME$1e;
12370
- Tab.className = CLASSNAME$1b;
13111
+ Tab.displayName = COMPONENT_NAME$1f;
13112
+ Tab.className = CLASSNAME$1c;
12371
13113
  Tab.defaultProps = DEFAULT_PROPS$Y;
12372
13114
 
12373
- const _excluded$1k = ["children", "id", "className", "isActive"];
13115
+ const _excluded$1n = ["children", "id", "className", "isActive"];
12374
13116
 
12375
13117
  /**
12376
13118
  * Defines the props of the component.
@@ -12379,12 +13121,12 @@ const _excluded$1k = ["children", "id", "className", "isActive"];
12379
13121
  /**
12380
13122
  * Component display name.
12381
13123
  */
12382
- const COMPONENT_NAME$1f = 'TabPanel';
13124
+ const COMPONENT_NAME$1g = 'TabPanel';
12383
13125
 
12384
13126
  /**
12385
13127
  * Component default class name and class prefix.
12386
13128
  */
12387
- const CLASSNAME$1c = `${CSS_PREFIX}-tab-panel`;
13129
+ const CLASSNAME$1d = `${CSS_PREFIX}-tab-panel`;
12388
13130
 
12389
13131
  /**
12390
13132
  * Component default props.
@@ -12407,7 +13149,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12407
13149
  className,
12408
13150
  isActive: propIsActive
12409
13151
  } = props,
12410
- forwardedProps = _objectWithoutProperties(props, _excluded$1k);
13152
+ forwardedProps = _objectWithoutProperties(props, _excluded$1n);
12411
13153
  const state = useTabProviderContext('tabPanel', id);
12412
13154
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
12413
13155
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -12415,7 +13157,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12415
13157
  }, forwardedProps, {
12416
13158
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
12417
13159
  className: classnames(className, handleBasicClasses({
12418
- prefix: CLASSNAME$1c,
13160
+ prefix: CLASSNAME$1d,
12419
13161
  isActive
12420
13162
  })),
12421
13163
  role: "tabpanel",
@@ -12423,11 +13165,11 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
12423
13165
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
12424
13166
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
12425
13167
  });
12426
- TabPanel.displayName = COMPONENT_NAME$1f;
12427
- TabPanel.className = CLASSNAME$1c;
13168
+ TabPanel.displayName = COMPONENT_NAME$1g;
13169
+ TabPanel.className = CLASSNAME$1d;
12428
13170
  TabPanel.defaultProps = DEFAULT_PROPS$Z;
12429
13171
 
12430
- const _excluded$1l = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13172
+ const _excluded$1o = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
12431
13173
  _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"];
12432
13174
 
12433
13175
  /**
@@ -12437,12 +13179,12 @@ const _excluded$1l = ["id", "isDisabled", "isRequired", "placeholder", "multilin
12437
13179
  /**
12438
13180
  * Component display name.
12439
13181
  */
12440
- const COMPONENT_NAME$1g = 'TextField';
13182
+ const COMPONENT_NAME$1h = 'TextField';
12441
13183
 
12442
13184
  /**
12443
13185
  * Component default class name and class prefix.
12444
13186
  */
12445
- const CLASSNAME$1d = getRootClassName(COMPONENT_NAME$1g);
13187
+ const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
12446
13188
 
12447
13189
  /**
12448
13190
  * Default minimum number of rows in the multiline mode.
@@ -12512,7 +13254,7 @@ const renderInputNative = props => {
12512
13254
  hasError,
12513
13255
  describedById
12514
13256
  } = props,
12515
- forwardedProps = _objectWithoutProperties(props, _excluded$1l);
13257
+ forwardedProps = _objectWithoutProperties(props, _excluded$1o);
12516
13258
  // eslint-disable-next-line react-hooks/rules-of-hooks
12517
13259
  const ref = useRef(null);
12518
13260
 
@@ -12537,7 +13279,7 @@ const renderInputNative = props => {
12537
13279
  const Component = multiline ? 'textarea' : 'input';
12538
13280
  const inputProps = _objectSpread2(_objectSpread2({}, forwardedProps), {}, {
12539
13281
  id,
12540
- className: multiline ? `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--textarea` : `${CLASSNAME$1d}__input-native ${CLASSNAME$1d}__input-native--text`,
13282
+ className: multiline ? `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--textarea` : `${CLASSNAME$1e}__input-native ${CLASSNAME$1e}__input-native--text`,
12541
13283
  placeholder,
12542
13284
  value,
12543
13285
  name,
@@ -12658,31 +13400,31 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12658
13400
  isDisabled,
12659
13401
  isFocus: isFocus || forceFocusStyle,
12660
13402
  isValid,
12661
- prefix: CLASSNAME$1d,
13403
+ prefix: CLASSNAME$1e,
12662
13404
  theme
12663
13405
  }))
12664
13406
  }, (label || maxLength) && /*#__PURE__*/React.createElement("div", {
12665
- className: `${CLASSNAME$1d}__header`
13407
+ className: `${CLASSNAME$1e}__header`
12666
13408
  }, label && /*#__PURE__*/React.createElement(InputLabel, _extends({}, labelProps, {
12667
13409
  htmlFor: textFieldId,
12668
- className: `${CLASSNAME$1d}__label`,
13410
+ className: `${CLASSNAME$1e}__label`,
12669
13411
  isRequired: isRequired,
12670
13412
  theme: theme
12671
13413
  }), label), maxLength && /*#__PURE__*/React.createElement("div", {
12672
- className: `${CLASSNAME$1d}__char-counter`
13414
+ className: `${CLASSNAME$1e}__char-counter`
12673
13415
  }, /*#__PURE__*/React.createElement("span", null, maxLength - valueLength), maxLength - valueLength === 0 && /*#__PURE__*/React.createElement(Icon, {
12674
13416
  icon: mdiAlertCircle,
12675
13417
  size: Size.xxs
12676
13418
  }))), /*#__PURE__*/React.createElement("div", {
12677
- className: `${CLASSNAME$1d}__wrapper`,
13419
+ className: `${CLASSNAME$1e}__wrapper`,
12678
13420
  ref: textFieldRef
12679
13421
  }, icon && /*#__PURE__*/React.createElement(Icon, {
12680
- className: `${CLASSNAME$1d}__input-icon`,
13422
+ className: `${CLASSNAME$1e}__input-icon`,
12681
13423
  color: theme === Theme.dark ? 'light' : undefined,
12682
13424
  icon: icon,
12683
13425
  size: Size.xs
12684
13426
  }), chips && /*#__PURE__*/React.createElement("div", {
12685
- className: `${CLASSNAME$1d}__chips`
13427
+ className: `${CLASSNAME$1e}__chips`
12686
13428
  }, chips, renderInputNative(_objectSpread2({
12687
13429
  id: textFieldId,
12688
13430
  inputRef,
@@ -12703,7 +13445,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12703
13445
  hasError,
12704
13446
  describedById
12705
13447
  }, forwardedProps))), !chips && /*#__PURE__*/React.createElement("div", {
12706
- className: `${CLASSNAME$1d}__input-wrapper`
13448
+ className: `${CLASSNAME$1e}__input-wrapper`
12707
13449
  }, renderInputNative(_objectSpread2({
12708
13450
  id: textFieldId,
12709
13451
  inputRef,
@@ -12724,12 +13466,12 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12724
13466
  hasError,
12725
13467
  describedById
12726
13468
  }, forwardedProps))), (isValid || hasError) && /*#__PURE__*/React.createElement(Icon, {
12727
- className: `${CLASSNAME$1d}__input-validity`,
13469
+ className: `${CLASSNAME$1e}__input-validity`,
12728
13470
  color: theme === Theme.dark ? 'light' : undefined,
12729
13471
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
12730
13472
  size: Size.xxs
12731
13473
  }), clearButtonProps && isNotEmpty && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
12732
- className: `${CLASSNAME$1d}__input-clear`,
13474
+ className: `${CLASSNAME$1e}__input-clear`,
12733
13475
  icon: mdiCloseCircle,
12734
13476
  emphasis: Emphasis.low,
12735
13477
  size: Size.s,
@@ -12737,20 +13479,20 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
12737
13479
  onClick: handleClear,
12738
13480
  type: "button"
12739
13481
  })), afterElement && /*#__PURE__*/React.createElement("div", {
12740
- className: `${CLASSNAME$1d}__after-element`
13482
+ className: `${CLASSNAME$1e}__after-element`
12741
13483
  }, afterElement)), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
12742
- className: `${CLASSNAME$1d}__helper`,
13484
+ className: `${CLASSNAME$1e}__helper`,
12743
13485
  kind: Kind.error,
12744
13486
  theme: theme,
12745
13487
  id: errorId
12746
13488
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
12747
- className: `${CLASSNAME$1d}__helper`,
13489
+ className: `${CLASSNAME$1e}__helper`,
12748
13490
  theme: theme,
12749
13491
  id: helperId
12750
13492
  }, helper));
12751
13493
  });
12752
- TextField.displayName = COMPONENT_NAME$1g;
12753
- TextField.className = CLASSNAME$1d;
13494
+ TextField.displayName = COMPONENT_NAME$1h;
13495
+ TextField.className = CLASSNAME$1e;
12754
13496
  TextField.defaultProps = DEFAULT_PROPS$_;
12755
13497
 
12756
13498
  function getState(img, event) {
@@ -12803,6 +13545,7 @@ function shiftPosition(_ref) {
12803
13545
  const shift = startFocus / (scaledSize - containerSize);
12804
13546
  return Math.floor(Math.max(Math.min(shift, 1), 0) * 100);
12805
13547
  }
13548
+
12806
13549
  // Compute CSS properties to apply the focus point.
12807
13550
  const useFocusPointStyle = (_ref2, element, isLoaded) => {
12808
13551
  let {
@@ -12895,7 +13638,7 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
12895
13638
  return style;
12896
13639
  };
12897
13640
 
12898
- const _excluded$1m = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "loadingPlaceholderImageRef", "size", "theme", "variant", "linkProps", "linkAs"];
13641
+ const _excluded$1p = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "loadingPlaceholderImageRef", "size", "theme", "variant", "linkProps", "linkAs"];
12899
13642
 
12900
13643
  /**
12901
13644
  * Defines the props of the component.
@@ -12904,12 +13647,12 @@ const _excluded$1m = ["align", "alt", "aspectRatio", "badge", "className", "cros
12904
13647
  /**
12905
13648
  * Component display name.
12906
13649
  */
12907
- const COMPONENT_NAME$1h = 'Thumbnail';
13650
+ const COMPONENT_NAME$1i = 'Thumbnail';
12908
13651
 
12909
13652
  /**
12910
13653
  * Component default class name and class prefix.
12911
13654
  */
12912
- const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
13655
+ const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
12913
13656
 
12914
13657
  /**
12915
13658
  * Component default props.
@@ -12954,7 +13697,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
12954
13697
  linkProps,
12955
13698
  linkAs
12956
13699
  } = props,
12957
- forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13700
+ forwardedProps = _objectWithoutProperties(props, _excluded$1p);
12958
13701
  const [imgElement, setImgElement] = useState();
12959
13702
 
12960
13703
  // Image loading state.
@@ -13001,7 +13744,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13001
13744
  className: classnames(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className, handleBasicClasses({
13002
13745
  align,
13003
13746
  aspectRatio,
13004
- prefix: CLASSNAME$1e,
13747
+ prefix: CLASSNAME$1f,
13005
13748
  size,
13006
13749
  theme,
13007
13750
  variant,
@@ -13012,9 +13755,9 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13012
13755
  isLoading,
13013
13756
  objectFit,
13014
13757
  hasBadge: !!badge
13015
- }), fillHeight && `${CLASSNAME$1e}--fill-height`)
13758
+ }), fillHeight && `${CLASSNAME$1f}--fill-height`)
13016
13759
  }), /*#__PURE__*/React.createElement("span", {
13017
- className: `${CLASSNAME$1e}__background`
13760
+ className: `${CLASSNAME$1f}__background`
13018
13761
  }, /*#__PURE__*/React.createElement("img", _extends({
13019
13762
  // Use placeholder image size
13020
13763
  width: loadingPlaceholderImage === null || loadingPlaceholderImage === void 0 ? void 0 : loadingPlaceholderImage.naturalWidth,
@@ -13026,7 +13769,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13026
13769
  }, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), imageErrorStyle), focusPointStyle), loadingStyle),
13027
13770
  ref: useMergeRefs(setImgElement, propImgRef),
13028
13771
  className: classnames(handleBasicClasses({
13029
- prefix: `${CLASSNAME$1e}__image`,
13772
+ prefix: `${CLASSNAME$1f}__image`,
13030
13773
  isLoading,
13031
13774
  hasDefinedSize: Boolean((imgProps === null || imgProps === void 0 ? void 0 : imgProps.height) && imgProps.width)
13032
13775
  }), imgProps === null || imgProps === void 0 ? void 0 : imgProps.className),
@@ -13035,17 +13778,17 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13035
13778
  alt: alt,
13036
13779
  loading: loading
13037
13780
  })), !isLoading && hasError && /*#__PURE__*/React.createElement("span", {
13038
- className: `${CLASSNAME$1e}__fallback`
13781
+ className: `${CLASSNAME$1f}__fallback`
13039
13782
  }, hasIconErrorFallback ? /*#__PURE__*/React.createElement(Icon, {
13040
13783
  icon: fallback,
13041
13784
  size: Size.xxs,
13042
13785
  theme: theme
13043
13786
  }) : fallback)), badge && /*#__PURE__*/React.cloneElement(badge, {
13044
- className: classnames(`${CLASSNAME$1e}__badge`, badge.props.className)
13787
+ className: classnames(`${CLASSNAME$1f}__badge`, badge.props.className)
13045
13788
  }));
13046
13789
  });
13047
- Thumbnail.displayName = COMPONENT_NAME$1h;
13048
- Thumbnail.className = CLASSNAME$1e;
13790
+ Thumbnail.displayName = COMPONENT_NAME$1i;
13791
+ Thumbnail.className = CLASSNAME$1f;
13049
13792
  Thumbnail.defaultProps = DEFAULT_PROPS$$;
13050
13793
 
13051
13794
  /**
@@ -13083,7 +13826,7 @@ const ThumbnailObjectFit = {
13083
13826
  contain: 'contain'
13084
13827
  };
13085
13828
 
13086
- const _excluded$1n = ["after", "before", "className", "label"];
13829
+ const _excluded$1q = ["after", "before", "className", "label"];
13087
13830
 
13088
13831
  /**
13089
13832
  * Defines the props of the component.
@@ -13092,12 +13835,12 @@ const _excluded$1n = ["after", "before", "className", "label"];
13092
13835
  /**
13093
13836
  * Component display name.
13094
13837
  */
13095
- const COMPONENT_NAME$1i = 'Toolbar';
13838
+ const COMPONENT_NAME$1j = 'Toolbar';
13096
13839
 
13097
13840
  /**
13098
13841
  * Component default class name and class prefix.
13099
13842
  */
13100
- const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
13843
+ const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
13101
13844
 
13102
13845
  /**
13103
13846
  * Component default props.
@@ -13118,7 +13861,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13118
13861
  className,
13119
13862
  label
13120
13863
  } = props,
13121
- forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13864
+ forwardedProps = _objectWithoutProperties(props, _excluded$1q);
13122
13865
  return /*#__PURE__*/React.createElement("div", _extends({
13123
13866
  ref: ref
13124
13867
  }, forwardedProps, {
@@ -13126,18 +13869,18 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13126
13869
  hasAfter: Boolean(after),
13127
13870
  hasBefore: Boolean(before),
13128
13871
  hasLabel: Boolean(label),
13129
- prefix: CLASSNAME$1f
13872
+ prefix: CLASSNAME$1g
13130
13873
  }))
13131
13874
  }), before && /*#__PURE__*/React.createElement("div", {
13132
- className: `${CLASSNAME$1f}__before`
13875
+ className: `${CLASSNAME$1g}__before`
13133
13876
  }, before), label && /*#__PURE__*/React.createElement("div", {
13134
- className: `${CLASSNAME$1f}__label`
13877
+ className: `${CLASSNAME$1g}__label`
13135
13878
  }, label), after && /*#__PURE__*/React.createElement("div", {
13136
- className: `${CLASSNAME$1f}__after`
13879
+ className: `${CLASSNAME$1g}__after`
13137
13880
  }, after));
13138
13881
  });
13139
- Toolbar.displayName = COMPONENT_NAME$1i;
13140
- Toolbar.className = CLASSNAME$1f;
13882
+ Toolbar.displayName = COMPONENT_NAME$1j;
13883
+ Toolbar.className = CLASSNAME$1g;
13141
13884
  Toolbar.defaultProps = DEFAULT_PROPS$10;
13142
13885
 
13143
13886
  /**
@@ -13315,7 +14058,7 @@ function useTooltipOpen(delay, anchorElement) {
13315
14058
  };
13316
14059
  }
13317
14060
 
13318
- const _excluded$1o = ["label", "children", "className", "delay", "placement", "forceOpen"];
14061
+ const _excluded$1r = ["label", "children", "className", "delay", "placement", "forceOpen"];
13319
14062
 
13320
14063
  /** Position of the tooltip relative to the anchor element. */
13321
14064
 
@@ -13326,12 +14069,12 @@ const _excluded$1o = ["label", "children", "className", "delay", "placement", "f
13326
14069
  /**
13327
14070
  * Component display name.
13328
14071
  */
13329
- const COMPONENT_NAME$1j = 'Tooltip';
14072
+ const COMPONENT_NAME$1k = 'Tooltip';
13330
14073
 
13331
14074
  /**
13332
14075
  * Component default class name and class prefix.
13333
14076
  */
13334
- const CLASSNAME$1g = getRootClassName(COMPONENT_NAME$1j);
14077
+ const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
13335
14078
 
13336
14079
  /**
13337
14080
  * Component default props.
@@ -13362,7 +14105,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
13362
14105
  placement,
13363
14106
  forceOpen
13364
14107
  } = props,
13365
- forwardedProps = _objectWithoutProperties(props, _excluded$1o);
14108
+ forwardedProps = _objectWithoutProperties(props, _excluded$1r);
13366
14109
  // Disable in SSR or without a label.
13367
14110
  if (!DOCUMENT || !label) {
13368
14111
  return /*#__PURE__*/React.createElement(TooltipContextProvider, null, children);
@@ -13396,23 +14139,23 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
13396
14139
  role: "tooltip",
13397
14140
  "aria-label": label,
13398
14141
  className: classnames(className, handleBasicClasses({
13399
- prefix: CLASSNAME$1g,
14142
+ prefix: CLASSNAME$1h,
13400
14143
  position
13401
14144
  })),
13402
14145
  style: styles.popper
13403
14146
  }, attributes.popper), /*#__PURE__*/React.createElement("div", {
13404
- className: `${CLASSNAME$1g}__arrow`
14147
+ className: `${CLASSNAME$1h}__arrow`
13405
14148
  }), /*#__PURE__*/React.createElement("div", {
13406
- className: `${CLASSNAME$1g}__inner`
14149
+ className: `${CLASSNAME$1h}__inner`
13407
14150
  }, label.indexOf('\n') !== -1 ? label.split('\n').map(sentence => /*#__PURE__*/React.createElement("p", {
13408
14151
  key: sentence
13409
14152
  }, sentence)) : label)), document.body));
13410
14153
  });
13411
- Tooltip.displayName = COMPONENT_NAME$1j;
13412
- Tooltip.className = CLASSNAME$1g;
14154
+ Tooltip.displayName = COMPONENT_NAME$1k;
14155
+ Tooltip.className = CLASSNAME$1h;
13413
14156
  Tooltip.defaultProps = DEFAULT_PROPS$11;
13414
14157
 
13415
- const _excluded$1p = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14158
+ const _excluded$1s = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
13416
14159
 
13417
14160
  /**
13418
14161
  * Uploader variants.
@@ -13438,12 +14181,12 @@ const UploaderVariant = {
13438
14181
  /**
13439
14182
  * Component display name.
13440
14183
  */
13441
- const COMPONENT_NAME$1k = 'Uploader';
14184
+ const COMPONENT_NAME$1l = 'Uploader';
13442
14185
 
13443
14186
  /**
13444
14187
  * Component default class name and class prefix.
13445
14188
  */
13446
- const CLASSNAME$1h = getRootClassName(COMPONENT_NAME$1k);
14189
+ const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
13447
14190
 
13448
14191
  /**
13449
14192
  * Component default props.
@@ -13473,7 +14216,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13473
14216
  variant,
13474
14217
  fileInputProps
13475
14218
  } = props,
13476
- forwardedProps = _objectWithoutProperties(props, _excluded$1p);
14219
+ forwardedProps = _objectWithoutProperties(props, _excluded$1s);
13477
14220
  // Adjust to square aspect ratio when using circle variants.
13478
14221
  const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
13479
14222
  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]);
@@ -13502,26 +14245,26 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13502
14245
  }, wrapper.props, forwardedProps, {
13503
14246
  className: classnames(className, handleBasicClasses({
13504
14247
  aspectRatio: adjustedAspectRatio,
13505
- prefix: CLASSNAME$1h,
14248
+ prefix: CLASSNAME$1i,
13506
14249
  size,
13507
14250
  theme,
13508
14251
  variant,
13509
14252
  isDragHovering
13510
14253
  }))
13511
14254
  }), /*#__PURE__*/React.createElement("span", {
13512
- className: `${CLASSNAME$1h}__background`
14255
+ className: `${CLASSNAME$1i}__background`
13513
14256
  }), /*#__PURE__*/React.createElement("span", {
13514
- className: `${CLASSNAME$1h}__wrapper`
14257
+ className: `${CLASSNAME$1i}__wrapper`
13515
14258
  }, icon && /*#__PURE__*/React.createElement(Icon, {
13516
- className: `${CLASSNAME$1h}__icon`,
14259
+ className: `${CLASSNAME$1i}__icon`,
13517
14260
  icon: icon,
13518
14261
  size: Size.s
13519
14262
  }), label && /*#__PURE__*/React.createElement("span", {
13520
- className: `${CLASSNAME$1h}__label`
14263
+ className: `${CLASSNAME$1i}__label`
13521
14264
  }, label)), fileInputProps && /*#__PURE__*/React.createElement("input", _extends({
13522
14265
  type: "file",
13523
14266
  id: inputId,
13524
- className: `${CLASSNAME$1h}__input`
14267
+ className: `${CLASSNAME$1i}__input`
13525
14268
  }, fileInputProps, {
13526
14269
  onChange: onChange,
13527
14270
  onDragEnter: setDragHovering,
@@ -13529,11 +14272,11 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
13529
14272
  onDrop: unsetDragHovering
13530
14273
  })));
13531
14274
  });
13532
- Uploader.displayName = COMPONENT_NAME$1k;
13533
- Uploader.className = CLASSNAME$1h;
14275
+ Uploader.displayName = COMPONENT_NAME$1l;
14276
+ Uploader.className = CLASSNAME$1i;
13534
14277
  Uploader.defaultProps = DEFAULT_PROPS$12;
13535
14278
 
13536
- const _excluded$1q = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14279
+ const _excluded$1t = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
13537
14280
 
13538
14281
  /**
13539
14282
  * User block sizes.
@@ -13546,12 +14289,12 @@ const _excluded$1q = ["avatarProps", "className", "fields", "linkProps", "linkAs
13546
14289
  /**
13547
14290
  * Component display name.
13548
14291
  */
13549
- const COMPONENT_NAME$1l = 'UserBlock';
14292
+ const COMPONENT_NAME$1m = 'UserBlock';
13550
14293
 
13551
14294
  /**
13552
14295
  * Component default class name and class prefix.
13553
14296
  */
13554
- const CLASSNAME$1i = getRootClassName(COMPONENT_NAME$1l);
14297
+ const CLASSNAME$1j = getRootClassName(COMPONENT_NAME$1m);
13555
14298
 
13556
14299
  /**
13557
14300
  * Component default props.
@@ -13587,7 +14330,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13587
14330
  size,
13588
14331
  theme
13589
14332
  } = props,
13590
- forwardedProps = _objectWithoutProperties(props, _excluded$1q);
14333
+ forwardedProps = _objectWithoutProperties(props, _excluded$1t);
13591
14334
  let componentSize = size;
13592
14335
 
13593
14336
  // Special case - When using vertical orientation force the size to be Sizes.l.
@@ -13603,7 +14346,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13603
14346
  }
13604
14347
  let NameComponent = 'span';
13605
14348
  const nProps = _objectSpread2(_objectSpread2({}, nameProps), {}, {
13606
- className: classnames(`${CLASSNAME$1i}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
14349
+ className: classnames(`${CLASSNAME$1j}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
13607
14350
  });
13608
14351
  if (isClickable) {
13609
14352
  NameComponent = Link;
@@ -13620,16 +14363,16 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13620
14363
  return /*#__PURE__*/React.createElement(NameComponent, nProps, name);
13621
14364
  }, [avatarProps, isClickable, linkAs, linkProps, name, nameProps, onClick]);
13622
14365
  const fieldsBlock = fields && componentSize !== Size.s && /*#__PURE__*/React.createElement("div", {
13623
- className: `${CLASSNAME$1i}__fields`
14366
+ className: `${CLASSNAME$1j}__fields`
13624
14367
  }, fields.map((field, idx) => /*#__PURE__*/React.createElement("span", {
13625
14368
  key: idx,
13626
- className: `${CLASSNAME$1i}__field`
14369
+ className: `${CLASSNAME$1j}__field`
13627
14370
  }, field)));
13628
14371
  return /*#__PURE__*/React.createElement("div", _extends({
13629
14372
  ref: ref
13630
14373
  }, forwardedProps, {
13631
14374
  className: classnames(className, handleBasicClasses({
13632
- prefix: CLASSNAME$1i,
14375
+ prefix: CLASSNAME$1j,
13633
14376
  orientation,
13634
14377
  size: componentSize,
13635
14378
  theme,
@@ -13642,21 +14385,21 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
13642
14385
  linkProps: linkProps,
13643
14386
  alt: ""
13644
14387
  }, avatarProps, {
13645
- className: classnames(`${CLASSNAME$1i}__avatar`, avatarProps.className),
14388
+ className: classnames(`${CLASSNAME$1j}__avatar`, avatarProps.className),
13646
14389
  size: componentSize,
13647
14390
  onClick: onClick,
13648
14391
  theme: theme
13649
14392
  })), (fields || name) && /*#__PURE__*/React.createElement("div", {
13650
- className: `${CLASSNAME$1i}__wrapper`
14393
+ className: `${CLASSNAME$1j}__wrapper`
13651
14394
  }, nameBlock, fieldsBlock), shouldDisplayActions && simpleAction && /*#__PURE__*/React.createElement("div", {
13652
- className: `${CLASSNAME$1i}__action`
14395
+ className: `${CLASSNAME$1j}__action`
13653
14396
  }, simpleAction), shouldDisplayActions && multipleActions && /*#__PURE__*/React.createElement("div", {
13654
- className: `${CLASSNAME$1i}__actions`
14397
+ className: `${CLASSNAME$1j}__actions`
13655
14398
  }, multipleActions));
13656
14399
  });
13657
- UserBlock.displayName = COMPONENT_NAME$1l;
13658
- UserBlock.className = CLASSNAME$1i;
14400
+ UserBlock.displayName = COMPONENT_NAME$1m;
14401
+ UserBlock.className = CLASSNAME$1j;
13659
14402
  UserBlock.defaultProps = DEFAULT_PROPS$13;
13660
14403
 
13661
- 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 };
14404
+ 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 };
13662
14405
  //# sourceMappingURL=index.js.map