@lumx/react 3.0.6-alpha.2 → 3.0.6

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
@@ -3,6 +3,7 @@ import kebabCase from 'lodash/kebabCase';
3
3
  import isBoolean from 'lodash/isBoolean';
4
4
  import isEmpty from 'lodash/isEmpty';
5
5
  import noop from 'lodash/noop';
6
+ import get from 'lodash/get';
6
7
  import isFunction from 'lodash/isFunction';
7
8
  import moment$1 from 'moment';
8
9
  import range from 'lodash/range';
@@ -10,7 +11,6 @@ import { extendMoment } from 'moment-range';
10
11
  import last from 'lodash/last';
11
12
  import pull from 'lodash/pull';
12
13
  import { createPortal } from 'react-dom';
13
- import get from 'lodash/get';
14
14
  import concat from 'lodash/concat';
15
15
  import dropRight from 'lodash/dropRight';
16
16
  import partition from 'lodash/partition';
@@ -1156,6 +1156,35 @@ Badge.displayName = COMPONENT_NAME$4;
1156
1156
  Badge.className = CLASSNAME$4;
1157
1157
  Badge.defaultProps = DEFAULT_PROPS$4;
1158
1158
 
1159
+ /**
1160
+ * Properties of a component to use to determine it's name.
1161
+ * In the order of preference.
1162
+ */
1163
+ const NAME_PROPERTIES = ['type', 'type.displayName', 'displayName', 'name', 'type.name', 'props.mdxType', '_reactInternalFiber.elementType.name'];
1164
+
1165
+ /** LumX Component Type. */
1166
+
1167
+ /**
1168
+ * Create a predicate function that checks if a ReactNode is a react element from the given component.
1169
+ *
1170
+ * @param component React function component or the component name
1171
+ * @return predicate returning true if value is instance of the component
1172
+ */
1173
+ const isComponent = component => instance => {
1174
+ const componentName = typeof component === 'string' ? component : component.displayName;
1175
+ return !!get(instance, '$$typeof') && NAME_PROPERTIES.some(nameProperty => get(instance, nameProperty) === componentName);
1176
+ };
1177
+
1178
+ /**
1179
+ * Similar to `isComponent` but more precise as it's not based on the component `displayName` but on the component function reference.
1180
+ */
1181
+ const isComponentType = type => node => /*#__PURE__*/React.isValidElement(node) && node.type === type;
1182
+
1183
+ /**
1184
+ * JS falsy values.
1185
+ * (excluding `NaN` as it can't be distinguished from `number`)
1186
+ */
1187
+
1159
1188
  const _excluded$6 = ["linkAs"];
1160
1189
  /**
1161
1190
  * Render link with default <a> HTML component or a custom one provided by `linkAs`.
@@ -1369,7 +1398,7 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
1369
1398
  variant: "button"
1370
1399
  }), leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
1371
1400
  icon: leftIcon
1372
- }), children && /*#__PURE__*/React.createElement("span", null, children), rightIcon && !isEmpty(rightIcon) && /*#__PURE__*/React.createElement(Icon, {
1401
+ }), children && (isComponent(Text)(children) ? children : /*#__PURE__*/React.createElement("span", null, children)), rightIcon && !isEmpty(rightIcon) && /*#__PURE__*/React.createElement(Icon, {
1373
1402
  icon: rightIcon
1374
1403
  }));
1375
1404
  });
@@ -2413,35 +2442,6 @@ function useIntersectionObserver(elements, options) {
2413
2442
  return intersections;
2414
2443
  }
2415
2444
 
2416
- /**
2417
- * Properties of a component to use to determine it's name.
2418
- * In the order of preference.
2419
- */
2420
- const NAME_PROPERTIES = ['type', 'type.displayName', 'displayName', 'name', 'type.name', 'props.mdxType', '_reactInternalFiber.elementType.name'];
2421
-
2422
- /** LumX Component Type. */
2423
-
2424
- /**
2425
- * Create a predicate function that checks if a ReactNode is a react element from the given component.
2426
- *
2427
- * @param component React function component or the component name
2428
- * @return predicate returning true if value is instance of the component
2429
- */
2430
- const isComponent = component => instance => {
2431
- const componentName = typeof component === 'string' ? component : component.displayName;
2432
- return !!get(instance, '$$typeof') && NAME_PROPERTIES.some(nameProperty => get(instance, nameProperty) === componentName);
2433
- };
2434
-
2435
- /**
2436
- * Similar to `isComponent` but more precise as it's not based on the component `displayName` but on the component function reference.
2437
- */
2438
- const isComponentType = type => node => /*#__PURE__*/React.isValidElement(node) && node.type === type;
2439
-
2440
- /**
2441
- * JS falsy values.
2442
- * (excluding `NaN` as it can't be distinguished from `number`)
2443
- */
2444
-
2445
2445
  /**
2446
2446
  * Similar to lodash `partition` function but working with multiple predicates.
2447
2447
  *
@@ -5846,7 +5846,7 @@ const useFocusWithin = _ref => {
5846
5846
  }, [onFocusIn, element, onFocusOut]);
5847
5847
  };
5848
5848
 
5849
- const _excluded$m = ["anchorRef", "boundaryRef", "children", "className", "closeOnClickAway", "closeOnEscape", "elevation", "fitToAnchorWidth", "fitWithinViewportHeight", "focusElement", "hasArrow", "isOpen", "offset", "onClose", "parentElement", "placement", "style", "usePortal", "zIndex", "focusAnchorOnClose"];
5849
+ const _excluded$m = ["anchorRef", "boundaryRef", "children", "className", "closeOnClickAway", "closeOnEscape", "elevation", "fitToAnchorWidth", "fitWithinViewportHeight", "focusElement", "hasArrow", "isOpen", "offset", "onClose", "parentElement", "placement", "style", "usePortal", "zIndex", "focusAnchorOnClose", "withFocusTrap"];
5850
5850
 
5851
5851
  /**
5852
5852
  * Different possible placements for the popover.
@@ -6013,7 +6013,8 @@ const Popover = /*#__PURE__*/forwardRef((props, ref) => {
6013
6013
  style,
6014
6014
  usePortal,
6015
6015
  zIndex,
6016
- focusAnchorOnClose = true
6016
+ focusAnchorOnClose = true,
6017
+ withFocusTrap
6017
6018
  } = props,
6018
6019
  forwardedProps = _objectWithoutProperties(props, _excluded$m);
6019
6020
  // eslint-disable-next-line react-hooks/rules-of-hooks
@@ -6022,6 +6023,8 @@ const Popover = /*#__PURE__*/forwardRef((props, ref) => {
6022
6023
  const [arrowElement, setArrowElement] = useState(null);
6023
6024
  // eslint-disable-next-line react-hooks/rules-of-hooks
6024
6025
  const clickAwayRef = useRef(null);
6026
+ // eslint-disable-next-line react-hooks/rules-of-hooks
6027
+ const contentRef = useRef(null);
6025
6028
 
6026
6029
  /**
6027
6030
  * Track whether the focus is currently set in the
@@ -6141,13 +6144,17 @@ const Popover = /*#__PURE__*/forwardRef((props, ref) => {
6141
6144
 
6142
6145
  // eslint-disable-next-line react-hooks/rules-of-hooks
6143
6146
  useCallbackOnEscape(handleClose, isOpen && closeOnEscape);
6147
+
6148
+ /** Only set focus within if the focus trap is disabled as they interfere with one another. */
6144
6149
  // eslint-disable-next-line react-hooks/rules-of-hooks
6145
- useFocus(focusElement === null || focusElement === void 0 ? void 0 : focusElement.current, isOpen && ((_state$rects$popper$y = state === null || state === void 0 ? void 0 : (_state$rects = state.rects) === null || _state$rects === void 0 ? void 0 : (_state$rects$popper = _state$rects.popper) === null || _state$rects$popper === void 0 ? void 0 : _state$rects$popper.y) !== null && _state$rects$popper$y !== void 0 ? _state$rects$popper$y : -1) >= 0);
6150
+ useFocus(focusElement === null || focusElement === void 0 ? void 0 : focusElement.current, !withFocusTrap && isOpen && ((_state$rects$popper$y = state === null || state === void 0 ? void 0 : (_state$rects = state.rects) === null || _state$rects === void 0 ? void 0 : (_state$rects$popper = _state$rects.popper) === null || _state$rects$popper === void 0 ? void 0 : _state$rects$popper.y) !== null && _state$rects$popper$y !== void 0 ? _state$rects$popper$y : -1) >= 0);
6151
+ // eslint-disable-next-line react-hooks/rules-of-hooks
6152
+ useFocusTrap(withFocusTrap && isOpen && (contentRef === null || contentRef === void 0 ? void 0 : contentRef.current), focusElement === null || focusElement === void 0 ? void 0 : focusElement.current);
6146
6153
 
6147
6154
  // eslint-disable-next-line react-hooks/rules-of-hooks
6148
6155
  const clickAwayRefs = useRef([clickAwayRef, anchorRef]);
6149
6156
  return isOpen ? renderPopover( /*#__PURE__*/React.createElement("div", _extends({}, forwardedProps, {
6150
- ref: mergeRefs(setPopperElement, ref, clickAwayRef),
6157
+ ref: mergeRefs(setPopperElement, ref, clickAwayRef, contentRef),
6151
6158
  className: classnames(className, handleBasicClasses({
6152
6159
  prefix: CLASSNAME$i,
6153
6160
  elevation: Math.min(elevation || 0, 5),
@@ -7966,16 +7973,17 @@ Notification.displayName = COMPONENT_NAME$H;
7966
7973
  Notification.className = CLASSNAME$E;
7967
7974
  Notification.defaultProps = DEFAULT_PROPS$v;
7968
7975
 
7969
- const _excluded$J = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
7976
+ const _excluded$J = ["children", "isOpen", "focusElement", "label", "className"];
7970
7977
 
7971
7978
  /**
7972
- * Defines the props of the component.
7979
+ * PopoverDialog props.
7980
+ * The PopoverDialog has the same props as the Popover but requires an accessible label.
7973
7981
  */
7974
7982
 
7975
7983
  /**
7976
7984
  * Component display name.
7977
7985
  */
7978
- const COMPONENT_NAME$I = 'PostBlock';
7986
+ const COMPONENT_NAME$I = 'PopoverDialog';
7979
7987
 
7980
7988
  /**
7981
7989
  * Component default class name and class prefix.
@@ -7985,7 +7993,67 @@ const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
7985
7993
  /**
7986
7994
  * Component default props.
7987
7995
  */
7988
- const DEFAULT_PROPS$w = {
7996
+ const DEFAULT_PROPS$w = {};
7997
+
7998
+ /**
7999
+ * PopoverDialog component.
8000
+ * Defines a popover that acts like a dialog
8001
+ * * Has a dialog aria role
8002
+ * * Sets a focus trap within the popover
8003
+ * * Closes on click away and escape.
8004
+ */
8005
+ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
8006
+ const {
8007
+ children,
8008
+ isOpen,
8009
+ focusElement,
8010
+ label,
8011
+ className
8012
+ } = props,
8013
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
8014
+ return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
8015
+ ref: ref,
8016
+ className: classnames(className, handleBasicClasses({
8017
+ prefix: CLASSNAME$F
8018
+ })),
8019
+ role: "dialog",
8020
+ "aria-modal": "true"
8021
+ /**
8022
+ * If a label is set, set as aria-label.
8023
+ * If it is undefined, the label can be set using the `aria-label` and `aria-labelledby` props
8024
+ */,
8025
+ "aria-label": label,
8026
+ isOpen: isOpen,
8027
+ focusElement: focusElement,
8028
+ closeOnClickAway: true,
8029
+ closeOnEscape: true,
8030
+ withFocusTrap: true
8031
+ }), children);
8032
+ });
8033
+ PopoverDialog.displayName = COMPONENT_NAME$I;
8034
+ PopoverDialog.className = CLASSNAME$F;
8035
+ PopoverDialog.defaultProps = DEFAULT_PROPS$w;
8036
+
8037
+ const _excluded$K = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
8038
+
8039
+ /**
8040
+ * Defines the props of the component.
8041
+ */
8042
+
8043
+ /**
8044
+ * Component display name.
8045
+ */
8046
+ const COMPONENT_NAME$J = 'PostBlock';
8047
+
8048
+ /**
8049
+ * Component default class name and class prefix.
8050
+ */
8051
+ const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
8052
+
8053
+ /**
8054
+ * Component default props.
8055
+ */
8056
+ const DEFAULT_PROPS$x = {
7989
8057
  orientation: Orientation.horizontal,
7990
8058
  theme: Theme.light
7991
8059
  };
@@ -8012,52 +8080,52 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
8012
8080
  thumbnailProps,
8013
8081
  title
8014
8082
  } = props,
8015
- forwardedProps = _objectWithoutProperties(props, _excluded$J);
8083
+ forwardedProps = _objectWithoutProperties(props, _excluded$K);
8016
8084
  return /*#__PURE__*/React.createElement("div", _extends({
8017
8085
  ref: ref,
8018
8086
  className: classnames(className, handleBasicClasses({
8019
- prefix: CLASSNAME$F,
8087
+ prefix: CLASSNAME$G,
8020
8088
  orientation,
8021
8089
  theme
8022
8090
  }))
8023
8091
  }, forwardedProps), thumbnailProps && /*#__PURE__*/React.createElement("div", {
8024
- className: `${CLASSNAME$F}__thumbnail`
8092
+ className: `${CLASSNAME$G}__thumbnail`
8025
8093
  }, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
8026
8094
  theme: theme,
8027
8095
  variant: ThumbnailVariant.rounded
8028
8096
  }))), /*#__PURE__*/React.createElement("div", {
8029
- className: `${CLASSNAME$F}__wrapper`
8097
+ className: `${CLASSNAME$G}__wrapper`
8030
8098
  }, author && /*#__PURE__*/React.createElement("div", {
8031
- className: `${CLASSNAME$F}__author`
8099
+ className: `${CLASSNAME$G}__author`
8032
8100
  }, author), title && /*#__PURE__*/React.createElement("button", {
8033
8101
  type: "button",
8034
- className: `${CLASSNAME$F}__title`,
8102
+ className: `${CLASSNAME$G}__title`,
8035
8103
  onClick: onClick
8036
8104
  }, title), meta && /*#__PURE__*/React.createElement("span", {
8037
- className: `${CLASSNAME$F}__meta`
8105
+ className: `${CLASSNAME$G}__meta`
8038
8106
  }, meta), isObject(text) && text.__html ?
8039
8107
  /*#__PURE__*/
8040
8108
  // eslint-disable-next-line react/no-danger
8041
8109
  React.createElement("p", {
8042
8110
  dangerouslySetInnerHTML: text,
8043
- className: `${CLASSNAME$F}__text`
8111
+ className: `${CLASSNAME$G}__text`
8044
8112
  }) : /*#__PURE__*/React.createElement("p", {
8045
- className: `${CLASSNAME$F}__text`
8113
+ className: `${CLASSNAME$G}__text`
8046
8114
  }, text), attachments && /*#__PURE__*/React.createElement("div", {
8047
- className: `${CLASSNAME$F}__attachments`
8115
+ className: `${CLASSNAME$G}__attachments`
8048
8116
  }, attachments), (tags || actions) && /*#__PURE__*/React.createElement("div", {
8049
- className: `${CLASSNAME$F}__toolbar`
8117
+ className: `${CLASSNAME$G}__toolbar`
8050
8118
  }, tags && /*#__PURE__*/React.createElement("div", {
8051
- className: `${CLASSNAME$F}__tags`
8119
+ className: `${CLASSNAME$G}__tags`
8052
8120
  }, tags), actions && /*#__PURE__*/React.createElement("div", {
8053
- className: `${CLASSNAME$F}__actions`
8121
+ className: `${CLASSNAME$G}__actions`
8054
8122
  }, actions))));
8055
8123
  });
8056
- PostBlock.displayName = COMPONENT_NAME$I;
8057
- PostBlock.className = CLASSNAME$F;
8058
- PostBlock.defaultProps = DEFAULT_PROPS$w;
8124
+ PostBlock.displayName = COMPONENT_NAME$J;
8125
+ PostBlock.className = CLASSNAME$G;
8126
+ PostBlock.defaultProps = DEFAULT_PROPS$x;
8059
8127
 
8060
- const _excluded$K = ["className", "theme", "variant"];
8128
+ const _excluded$L = ["className", "theme", "variant"];
8061
8129
 
8062
8130
  /**
8063
8131
  * Progress variants.
@@ -8069,17 +8137,17 @@ const ProgressVariant = {
8069
8137
  /**
8070
8138
  * Component display name.
8071
8139
  */
8072
- const COMPONENT_NAME$J = 'Progress';
8140
+ const COMPONENT_NAME$K = 'Progress';
8073
8141
 
8074
8142
  /**
8075
8143
  * Component default class name and class prefix.
8076
8144
  */
8077
- const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
8145
+ const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
8078
8146
 
8079
8147
  /**
8080
8148
  * Component default props.
8081
8149
  */
8082
- const DEFAULT_PROPS$x = {
8150
+ const DEFAULT_PROPS$y = {
8083
8151
  theme: Theme.light,
8084
8152
  variant: ProgressVariant.circular
8085
8153
  };
@@ -8096,17 +8164,17 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
8096
8164
  theme,
8097
8165
  variant
8098
8166
  } = props,
8099
- forwardedProps = _objectWithoutProperties(props, _excluded$K);
8167
+ forwardedProps = _objectWithoutProperties(props, _excluded$L);
8100
8168
  return /*#__PURE__*/React.createElement("div", _extends({
8101
8169
  ref: ref
8102
8170
  }, forwardedProps, {
8103
8171
  className: classnames(className, handleBasicClasses({
8104
- prefix: CLASSNAME$G,
8172
+ prefix: CLASSNAME$H,
8105
8173
  theme,
8106
8174
  variant
8107
8175
  }))
8108
8176
  }), /*#__PURE__*/React.createElement("div", {
8109
- className: classnames(`${CLASSNAME$G}-${variant}`)
8177
+ className: classnames(`${CLASSNAME$H}-${variant}`)
8110
8178
  }, variant === ProgressVariant.circular && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
8111
8179
  className: "lumx-progress-circular__double-bounce1"
8112
8180
  }), /*#__PURE__*/React.createElement("div", {
@@ -8127,9 +8195,9 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
8127
8195
  className: "lumx-progress-linear__line2"
8128
8196
  }))));
8129
8197
  });
8130
- Progress.displayName = COMPONENT_NAME$J;
8131
- Progress.className = CLASSNAME$G;
8132
- Progress.defaultProps = DEFAULT_PROPS$x;
8198
+ Progress.displayName = COMPONENT_NAME$K;
8199
+ Progress.className = CLASSNAME$H;
8200
+ Progress.defaultProps = DEFAULT_PROPS$y;
8133
8201
 
8134
8202
  const INIT_STATE = {
8135
8203
  isLazy: true,
@@ -8250,8 +8318,8 @@ const useTabProviderContextState = () => {
8250
8318
  return context === null || context === void 0 ? void 0 : context[0];
8251
8319
  };
8252
8320
 
8253
- const _excluded$L = ["children", "onChange"];
8254
- const DEFAULT_PROPS$y = {
8321
+ const _excluded$M = ["children", "onChange"];
8322
+ const DEFAULT_PROPS$z = {
8255
8323
  isLazy: INIT_STATE.isLazy,
8256
8324
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
8257
8325
  };
@@ -8272,7 +8340,7 @@ const ProgressTrackerProvider = props => {
8272
8340
  children,
8273
8341
  onChange
8274
8342
  } = props,
8275
- propState = _objectWithoutProperties(props, _excluded$L);
8343
+ propState = _objectWithoutProperties(props, _excluded$M);
8276
8344
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
8277
8345
 
8278
8346
  // On prop state change => dispatch update.
@@ -8300,7 +8368,7 @@ const ProgressTrackerProvider = props => {
8300
8368
  value: [state, dispatch]
8301
8369
  }, children);
8302
8370
  };
8303
- ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$y;
8371
+ ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$z;
8304
8372
 
8305
8373
  const useRovingTabIndex = _ref => {
8306
8374
  let {
@@ -8376,7 +8444,7 @@ const useRovingTabIndex = _ref => {
8376
8444
  [parentRef, ...extraDependencies]);
8377
8445
  };
8378
8446
 
8379
- const _excluded$M = ["aria-label", "children", "className"];
8447
+ const _excluded$N = ["aria-label", "children", "className"];
8380
8448
 
8381
8449
  /**
8382
8450
  * Defines the props of the component.
@@ -8385,17 +8453,17 @@ const _excluded$M = ["aria-label", "children", "className"];
8385
8453
  /**
8386
8454
  * Component display name.
8387
8455
  */
8388
- const COMPONENT_NAME$K = 'ProgressTracker';
8456
+ const COMPONENT_NAME$L = 'ProgressTracker';
8389
8457
 
8390
8458
  /**
8391
8459
  * Component default class name and class prefix.
8392
8460
  */
8393
- const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
8461
+ const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
8394
8462
 
8395
8463
  /**
8396
8464
  * Component default props.
8397
8465
  */
8398
- const DEFAULT_PROPS$z = {};
8466
+ const DEFAULT_PROPS$A = {};
8399
8467
 
8400
8468
  /**
8401
8469
  * ProgressTracker component.
@@ -8413,7 +8481,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
8413
8481
  children,
8414
8482
  className
8415
8483
  } = props,
8416
- forwardedProps = _objectWithoutProperties(props, _excluded$M);
8484
+ forwardedProps = _objectWithoutProperties(props, _excluded$N);
8417
8485
  const stepListRef = React.useRef(null);
8418
8486
  useRovingTabIndex({
8419
8487
  parentRef: stepListRef,
@@ -8429,20 +8497,20 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
8429
8497
  ref: mergeRefs(ref, stepListRef)
8430
8498
  }, forwardedProps, {
8431
8499
  className: classnames(className, handleBasicClasses({
8432
- prefix: CLASSNAME$H
8500
+ prefix: CLASSNAME$I
8433
8501
  }))
8434
8502
  }), /*#__PURE__*/React.createElement("div", {
8435
- className: `${CLASSNAME$H}__steps`,
8503
+ className: `${CLASSNAME$I}__steps`,
8436
8504
  role: "tablist",
8437
8505
  "aria-label": ariaLabel
8438
8506
  }, children), /*#__PURE__*/React.createElement("div", {
8439
- className: `${CLASSNAME$H}__background-bar`,
8507
+ className: `${CLASSNAME$I}__background-bar`,
8440
8508
  style: {
8441
8509
  left: `${backgroundPosition}%`,
8442
8510
  right: `${backgroundPosition}%`
8443
8511
  }
8444
8512
  }), /*#__PURE__*/React.createElement("div", {
8445
- className: `${CLASSNAME$H}__foreground-bar`,
8513
+ className: `${CLASSNAME$I}__foreground-bar`,
8446
8514
  style: {
8447
8515
  left: `${backgroundPosition}%`,
8448
8516
  right: `${backgroundPosition}%`,
@@ -8450,11 +8518,11 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
8450
8518
  }
8451
8519
  }));
8452
8520
  });
8453
- ProgressTracker.displayName = COMPONENT_NAME$K;
8454
- ProgressTracker.className = CLASSNAME$H;
8455
- ProgressTracker.defaultProps = DEFAULT_PROPS$z;
8521
+ ProgressTracker.displayName = COMPONENT_NAME$L;
8522
+ ProgressTracker.className = CLASSNAME$I;
8523
+ ProgressTracker.defaultProps = DEFAULT_PROPS$A;
8456
8524
 
8457
- const _excluded$N = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
8525
+ const _excluded$O = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
8458
8526
 
8459
8527
  /**
8460
8528
  * Defines the props of the component.
@@ -8463,17 +8531,17 @@ const _excluded$N = ["className", "disabled", "hasError", "helper", "id", "isAct
8463
8531
  /**
8464
8532
  * Component display name.
8465
8533
  */
8466
- const COMPONENT_NAME$L = 'ProgressTrackerStep';
8534
+ const COMPONENT_NAME$M = 'ProgressTrackerStep';
8467
8535
 
8468
8536
  /**
8469
8537
  * Component default class name and class prefix.
8470
8538
  */
8471
- const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
8539
+ const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
8472
8540
 
8473
8541
  /**
8474
8542
  * Component default props.
8475
8543
  */
8476
- const DEFAULT_PROPS$A = {};
8544
+ const DEFAULT_PROPS$B = {};
8477
8545
 
8478
8546
  /**
8479
8547
  * ProgressTrackerStep component.
@@ -8499,7 +8567,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
8499
8567
  onKeyPress,
8500
8568
  tabIndex = -1
8501
8569
  } = props,
8502
- forwardedProps = _objectWithoutProperties(props, _excluded$N);
8570
+ forwardedProps = _objectWithoutProperties(props, _excluded$O);
8503
8571
  const state = useTabProviderContext('tab', id);
8504
8572
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
8505
8573
  const changeToCurrentTab = useCallback(() => {
@@ -8536,7 +8604,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
8536
8604
  type: "button",
8537
8605
  id: state === null || state === void 0 ? void 0 : state.tabId,
8538
8606
  className: classnames(className, handleBasicClasses({
8539
- prefix: CLASSNAME$I,
8607
+ prefix: CLASSNAME$J,
8540
8608
  hasError,
8541
8609
  isActive,
8542
8610
  isClickable: state && !isDisabled,
@@ -8551,22 +8619,22 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
8551
8619
  "aria-selected": isActive,
8552
8620
  "aria-controls": state === null || state === void 0 ? void 0 : state.tabPanelId
8553
8621
  }), /*#__PURE__*/React.createElement(Icon, {
8554
- className: `${CLASSNAME$I}__state`,
8622
+ className: `${CLASSNAME$J}__state`,
8555
8623
  icon: getIcon(),
8556
8624
  size: Size.s
8557
8625
  }), /*#__PURE__*/React.createElement(InputLabel, {
8558
8626
  htmlFor: (state === null || state === void 0 ? void 0 : state.tabId) || '',
8559
- className: `${CLASSNAME$I}__label`
8627
+ className: `${CLASSNAME$J}__label`
8560
8628
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
8561
8629
  kind: hasError ? Kind.error : Kind.info,
8562
- className: `${CLASSNAME$I}__helper`
8630
+ className: `${CLASSNAME$J}__helper`
8563
8631
  }, helper));
8564
8632
  });
8565
- ProgressTrackerStep.displayName = COMPONENT_NAME$L;
8566
- ProgressTrackerStep.className = CLASSNAME$I;
8567
- ProgressTrackerStep.defaultProps = DEFAULT_PROPS$A;
8633
+ ProgressTrackerStep.displayName = COMPONENT_NAME$M;
8634
+ ProgressTrackerStep.className = CLASSNAME$J;
8635
+ ProgressTrackerStep.defaultProps = DEFAULT_PROPS$B;
8568
8636
 
8569
- const _excluded$O = ["children", "id", "className", "isActive"];
8637
+ const _excluded$P = ["children", "id", "className", "isActive"];
8570
8638
 
8571
8639
  /**
8572
8640
  * Defines the props of the component.
@@ -8575,17 +8643,17 @@ const _excluded$O = ["children", "id", "className", "isActive"];
8575
8643
  /**
8576
8644
  * Component display name.
8577
8645
  */
8578
- const COMPONENT_NAME$M = 'ProgressTrackerStepPanel';
8646
+ const COMPONENT_NAME$N = 'ProgressTrackerStepPanel';
8579
8647
 
8580
8648
  /**
8581
8649
  * Component default class name and class prefix.
8582
8650
  */
8583
- const CLASSNAME$J = `${CSS_PREFIX}-step-panel`;
8651
+ const CLASSNAME$K = `${CSS_PREFIX}-step-panel`;
8584
8652
 
8585
8653
  /**
8586
8654
  * Component default props.
8587
8655
  */
8588
- const DEFAULT_PROPS$B = {};
8656
+ const DEFAULT_PROPS$C = {};
8589
8657
 
8590
8658
  /**
8591
8659
  * ProgressTrackerStepPanel component.
@@ -8603,7 +8671,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
8603
8671
  className,
8604
8672
  isActive: propIsActive
8605
8673
  } = props,
8606
- forwardedProps = _objectWithoutProperties(props, _excluded$O);
8674
+ forwardedProps = _objectWithoutProperties(props, _excluded$P);
8607
8675
  const state = useTabProviderContext('tabPanel', id);
8608
8676
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
8609
8677
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -8611,7 +8679,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
8611
8679
  }, forwardedProps, {
8612
8680
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
8613
8681
  className: classnames(className, handleBasicClasses({
8614
- prefix: CLASSNAME$J,
8682
+ prefix: CLASSNAME$K,
8615
8683
  isActive
8616
8684
  })),
8617
8685
  role: "tabpanel",
@@ -8619,11 +8687,11 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
8619
8687
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
8620
8688
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
8621
8689
  });
8622
- ProgressTrackerStepPanel.displayName = COMPONENT_NAME$M;
8623
- ProgressTrackerStepPanel.className = CLASSNAME$J;
8624
- ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$B;
8690
+ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$N;
8691
+ ProgressTrackerStepPanel.className = CLASSNAME$K;
8692
+ ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$C;
8625
8693
 
8626
- const _excluded$P = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
8694
+ const _excluded$Q = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
8627
8695
 
8628
8696
  /**
8629
8697
  * Defines the props of the component.
@@ -8632,17 +8700,17 @@ const _excluded$P = ["checked", "className", "disabled", "helper", "id", "inputR
8632
8700
  /**
8633
8701
  * Component display name.
8634
8702
  */
8635
- const COMPONENT_NAME$N = 'RadioButton';
8703
+ const COMPONENT_NAME$O = 'RadioButton';
8636
8704
 
8637
8705
  /**
8638
8706
  * Component default class name and class prefix.
8639
8707
  */
8640
- const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
8708
+ const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
8641
8709
 
8642
8710
  /**
8643
8711
  * Component default props.
8644
8712
  */
8645
- const DEFAULT_PROPS$C = {
8713
+ const DEFAULT_PROPS$D = {
8646
8714
  theme: Theme.light
8647
8715
  };
8648
8716
 
@@ -8670,8 +8738,8 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
8670
8738
  value,
8671
8739
  inputProps
8672
8740
  } = props,
8673
- forwardedProps = _objectWithoutProperties(props, _excluded$P);
8674
- const inputId = useMemo(() => id || `${CLASSNAME$K.toLowerCase()}-${uid()}`, [id]);
8741
+ forwardedProps = _objectWithoutProperties(props, _excluded$Q);
8742
+ const inputId = useMemo(() => id || `${CLASSNAME$L.toLowerCase()}-${uid()}`, [id]);
8675
8743
  const handleChange = event => {
8676
8744
  if (onChange) {
8677
8745
  onChange(value, name, event);
@@ -8684,14 +8752,14 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
8684
8752
  isChecked,
8685
8753
  isDisabled,
8686
8754
  isUnchecked: !isChecked,
8687
- prefix: CLASSNAME$K,
8755
+ prefix: CLASSNAME$L,
8688
8756
  theme
8689
8757
  }))
8690
8758
  }), /*#__PURE__*/React.createElement("div", {
8691
- className: `${CLASSNAME$K}__input-wrapper`
8759
+ className: `${CLASSNAME$L}__input-wrapper`
8692
8760
  }, /*#__PURE__*/React.createElement("input", _extends({
8693
8761
  ref: inputRef,
8694
- className: `${CLASSNAME$K}__input-native`,
8762
+ className: `${CLASSNAME$L}__input-native`,
8695
8763
  disabled: isDisabled,
8696
8764
  id: inputId,
8697
8765
  tabIndex: isDisabled ? -1 : 0,
@@ -8702,28 +8770,28 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
8702
8770
  onChange: handleChange,
8703
8771
  "aria-describedby": helper ? `${inputId}-helper` : undefined
8704
8772
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
8705
- className: `${CLASSNAME$K}__input-placeholder`
8773
+ className: `${CLASSNAME$L}__input-placeholder`
8706
8774
  }, /*#__PURE__*/React.createElement("div", {
8707
- className: `${CLASSNAME$K}__input-background`
8775
+ className: `${CLASSNAME$L}__input-background`
8708
8776
  }), /*#__PURE__*/React.createElement("div", {
8709
- className: `${CLASSNAME$K}__input-indicator`
8777
+ className: `${CLASSNAME$L}__input-indicator`
8710
8778
  }))), /*#__PURE__*/React.createElement("div", {
8711
- className: `${CLASSNAME$K}__content`
8779
+ className: `${CLASSNAME$L}__content`
8712
8780
  }, label && /*#__PURE__*/React.createElement(InputLabel, {
8713
8781
  htmlFor: inputId,
8714
8782
  theme: theme,
8715
- className: `${CLASSNAME$K}__label`
8783
+ className: `${CLASSNAME$L}__label`
8716
8784
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
8717
8785
  id: `${inputId}-helper`,
8718
8786
  theme: theme,
8719
- className: `${CLASSNAME$K}__helper`
8787
+ className: `${CLASSNAME$L}__helper`
8720
8788
  }, helper)));
8721
8789
  });
8722
- RadioButton.displayName = COMPONENT_NAME$N;
8723
- RadioButton.className = CLASSNAME$K;
8724
- RadioButton.defaultProps = DEFAULT_PROPS$C;
8790
+ RadioButton.displayName = COMPONENT_NAME$O;
8791
+ RadioButton.className = CLASSNAME$L;
8792
+ RadioButton.defaultProps = DEFAULT_PROPS$D;
8725
8793
 
8726
- const _excluded$Q = ["children", "className"];
8794
+ const _excluded$R = ["children", "className"];
8727
8795
 
8728
8796
  /**
8729
8797
  * Defines the props of the component.
@@ -8732,12 +8800,12 @@ const _excluded$Q = ["children", "className"];
8732
8800
  /**
8733
8801
  * Component display name.
8734
8802
  */
8735
- const COMPONENT_NAME$O = 'RadioGroup';
8803
+ const COMPONENT_NAME$P = 'RadioGroup';
8736
8804
 
8737
8805
  /**
8738
8806
  * Component default class name and class prefix.
8739
8807
  */
8740
- const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
8808
+ const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
8741
8809
 
8742
8810
  /**
8743
8811
  * RadioGroup component.
@@ -8751,17 +8819,17 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
8751
8819
  children,
8752
8820
  className
8753
8821
  } = props,
8754
- forwardedProps = _objectWithoutProperties(props, _excluded$Q);
8822
+ forwardedProps = _objectWithoutProperties(props, _excluded$R);
8755
8823
  return /*#__PURE__*/React.createElement("div", _extends({
8756
8824
  ref: ref
8757
8825
  }, forwardedProps, {
8758
8826
  className: classnames(className, handleBasicClasses({
8759
- prefix: CLASSNAME$L
8827
+ prefix: CLASSNAME$M
8760
8828
  }))
8761
8829
  }), children);
8762
8830
  });
8763
- RadioGroup.displayName = COMPONENT_NAME$O;
8764
- RadioGroup.className = CLASSNAME$L;
8831
+ RadioGroup.displayName = COMPONENT_NAME$P;
8832
+ RadioGroup.className = CLASSNAME$M;
8765
8833
 
8766
8834
  /**
8767
8835
  * Listen on element focus to store the focus status.
@@ -8795,16 +8863,16 @@ const SelectVariant = {
8795
8863
  chip: 'chip'
8796
8864
  };
8797
8865
 
8798
- const _excluded$R = ["children", "className", "isMultiple", "closeOnClick", "disabled", "error", "hasError", "helper", "id", "isDisabled", "isEmpty", "isOpen", "isRequired", "isValid", "label", "onClear", "onDropdownClose", "onInfiniteScroll", "onInputClick", "placeholder", "theme", "value", "variant"];
8866
+ const _excluded$S = ["children", "className", "isMultiple", "closeOnClick", "disabled", "error", "hasError", "helper", "id", "isDisabled", "isEmpty", "isOpen", "isRequired", "isValid", "label", "onClear", "onDropdownClose", "onInfiniteScroll", "onInputClick", "placeholder", "theme", "value", "variant"];
8799
8867
 
8800
8868
  /** The display name of the component. */
8801
- const COMPONENT_NAME$P = 'Select';
8869
+ const COMPONENT_NAME$Q = 'Select';
8802
8870
 
8803
8871
  /** The default class name and classes prefix for this component. */
8804
- const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
8872
+ const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
8805
8873
 
8806
8874
  /** The default value of props. */
8807
- const DEFAULT_PROPS$D = {
8875
+ const DEFAULT_PROPS$E = {
8808
8876
  theme: Theme.light,
8809
8877
  variant: SelectVariant.input
8810
8878
  };
@@ -8830,11 +8898,11 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
8830
8898
  onInfiniteScroll,
8831
8899
  onInputClick,
8832
8900
  placeholder,
8833
- theme = DEFAULT_PROPS$D.theme,
8901
+ theme = DEFAULT_PROPS$E.theme,
8834
8902
  value,
8835
- variant = DEFAULT_PROPS$D.variant
8903
+ variant = DEFAULT_PROPS$E.variant
8836
8904
  } = _ref,
8837
- forwardedProps = _objectWithoutProperties(_ref, _excluded$R);
8905
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$S);
8838
8906
  const selectId = useMemo(() => id || `select-${uid()}`, [id]);
8839
8907
  const anchorRef = useRef(null);
8840
8908
  const selectRef = useRef(null);
@@ -8864,7 +8932,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
8864
8932
  isFocus,
8865
8933
  isOpen,
8866
8934
  isValid,
8867
- prefix: CLASSNAME$M,
8935
+ prefix: CLASSNAME$N,
8868
8936
  theme: theme === Theme.light ? Theme.light : Theme.dark
8869
8937
  }))
8870
8938
  }, /*#__PURE__*/React.createElement(SelectElement, _extends({}, forwardedProps, {
@@ -8894,25 +8962,25 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
8894
8962
  onClose: onClose,
8895
8963
  onInfiniteScroll: onInfiniteScroll
8896
8964
  }, children), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
8897
- className: `${CLASSNAME$M}__helper`,
8965
+ className: `${CLASSNAME$N}__helper`,
8898
8966
  kind: Kind.error,
8899
8967
  theme: theme
8900
8968
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
8901
- className: `${CLASSNAME$M}__helper`,
8969
+ className: `${CLASSNAME$N}__helper`,
8902
8970
  theme: theme
8903
8971
  }, helper));
8904
8972
  };
8905
8973
 
8906
- const _excluded$S = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant"];
8974
+ const _excluded$T = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant"];
8907
8975
 
8908
8976
  /** The display name of the component. */
8909
- const COMPONENT_NAME$Q = 'Select';
8977
+ const COMPONENT_NAME$R = 'Select';
8910
8978
 
8911
8979
  /** The default class name and classes prefix for this component. */
8912
- const CLASSNAME$N = getRootClassName(COMPONENT_NAME$Q);
8980
+ const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
8913
8981
 
8914
8982
  /** The default value of props. */
8915
- const DEFAULT_PROPS$E = {
8983
+ const DEFAULT_PROPS$F = {
8916
8984
  selectedValueRender: choice => choice
8917
8985
  };
8918
8986
  const stopPropagation = evt => evt.stopPropagation();
@@ -8942,36 +9010,36 @@ const SelectField = _ref => {
8942
9010
  value,
8943
9011
  variant
8944
9012
  } = _ref,
8945
- forwardedProps = _objectWithoutProperties(_ref, _excluded$S);
9013
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$T);
8946
9014
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
8947
- className: `${CLASSNAME$N}__header`
9015
+ className: `${CLASSNAME$O}__header`
8948
9016
  }, /*#__PURE__*/React.createElement(InputLabel, {
8949
9017
  htmlFor: id,
8950
- className: `${CLASSNAME$N}__label`,
9018
+ className: `${CLASSNAME$O}__label`,
8951
9019
  isRequired: isRequired,
8952
9020
  theme: theme
8953
9021
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
8954
9022
  ref: anchorRef,
8955
9023
  id: id,
8956
- className: `${CLASSNAME$N}__wrapper`,
9024
+ className: `${CLASSNAME$O}__wrapper`,
8957
9025
  onClick: onInputClick,
8958
9026
  onKeyDown: handleKeyboardNav,
8959
9027
  tabIndex: isDisabled ? undefined : 0,
8960
9028
  "aria-disabled": isDisabled || undefined
8961
9029
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
8962
- className: `${CLASSNAME$N}__input-icon`,
9030
+ className: `${CLASSNAME$O}__input-icon`,
8963
9031
  color: theme === Theme.dark ? 'light' : undefined,
8964
9032
  icon: icon,
8965
9033
  size: Size.xs
8966
9034
  }), /*#__PURE__*/React.createElement("div", {
8967
- className: classnames([`${CLASSNAME$N}__input-native`, isEmpty && placeholder && `${CLASSNAME$N}__input-native--placeholder`])
9035
+ className: classnames([`${CLASSNAME$O}__input-native`, isEmpty && placeholder && `${CLASSNAME$O}__input-native--placeholder`])
8968
9036
  }, !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", {
8969
- className: `${CLASSNAME$N}__input-validity`
9037
+ className: `${CLASSNAME$O}__input-validity`
8970
9038
  }, /*#__PURE__*/React.createElement(Icon, {
8971
9039
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
8972
9040
  size: Size.xxs
8973
9041
  })), hasInputClear && clearButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
8974
- className: `${CLASSNAME$N}__input-clear`,
9042
+ className: `${CLASSNAME$O}__input-clear`,
8975
9043
  icon: mdiCloseCircle,
8976
9044
  emphasis: Emphasis.low,
8977
9045
  size: Size.s,
@@ -8979,7 +9047,7 @@ const SelectField = _ref => {
8979
9047
  onClick: onClear,
8980
9048
  onKeyDown: stopPropagation
8981
9049
  })), /*#__PURE__*/React.createElement("div", {
8982
- className: `${CLASSNAME$N}__input-indicator`
9050
+ className: `${CLASSNAME$O}__input-indicator`
8983
9051
  }, /*#__PURE__*/React.createElement(Icon, {
8984
9052
  icon: mdiMenuDown,
8985
9053
  size: Size.s
@@ -9011,29 +9079,29 @@ const Select = /*#__PURE__*/forwardRef((props, ref) => {
9011
9079
  className: classnames(props.className, handleBasicClasses({
9012
9080
  hasInputClear,
9013
9081
  hasUnique: !props.isEmpty,
9014
- prefix: CLASSNAME$N
9082
+ prefix: CLASSNAME$O
9015
9083
  })),
9016
9084
  hasInputClear,
9017
9085
  isEmpty: isEmpty$1
9018
9086
  }), ref);
9019
9087
  });
9020
- Select.displayName = COMPONENT_NAME$Q;
9021
- Select.className = CLASSNAME$N;
9022
- Select.defaultProps = DEFAULT_PROPS$E;
9023
- Select.className = CLASSNAME$N;
9088
+ Select.displayName = COMPONENT_NAME$R;
9089
+ Select.className = CLASSNAME$O;
9090
+ Select.defaultProps = DEFAULT_PROPS$F;
9091
+ Select.className = CLASSNAME$O;
9024
9092
 
9025
- const _excluded$T = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant"];
9093
+ const _excluded$U = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant"];
9026
9094
 
9027
9095
  /** Defines the props of the component. */
9028
9096
 
9029
9097
  /** The display name of the component. */
9030
- const COMPONENT_NAME$R = 'Select';
9098
+ const COMPONENT_NAME$S = 'Select';
9031
9099
 
9032
9100
  /** The default class name and classes prefix for this component. */
9033
- const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
9101
+ const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
9034
9102
 
9035
9103
  /** The default value of props. */
9036
- const DEFAULT_PROPS$F = {
9104
+ const DEFAULT_PROPS$G = {
9037
9105
  selectedChipRender(choice, index, onClear, isDisabled, theme) {
9038
9106
  const onClick = event => onClear && onClear(event, choice);
9039
9107
  return /*#__PURE__*/React.createElement(Chip, {
@@ -9072,38 +9140,38 @@ const SelectMultipleField = _ref => {
9072
9140
  value,
9073
9141
  variant
9074
9142
  } = _ref,
9075
- forwardedProps = _objectWithoutProperties(_ref, _excluded$T);
9143
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$U);
9076
9144
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
9077
- className: `${CLASSNAME$O}__header`
9145
+ className: `${CLASSNAME$P}__header`
9078
9146
  }, /*#__PURE__*/React.createElement(InputLabel, {
9079
9147
  htmlFor: id,
9080
- className: `${CLASSNAME$O}__label`,
9148
+ className: `${CLASSNAME$P}__label`,
9081
9149
  isRequired: isRequired,
9082
9150
  theme: theme
9083
9151
  }, label)), /*#__PURE__*/React.createElement("div", _extends({
9084
9152
  ref: anchorRef,
9085
9153
  id: id,
9086
- className: `${CLASSNAME$O}__wrapper`,
9154
+ className: `${CLASSNAME$P}__wrapper`,
9087
9155
  onClick: onInputClick,
9088
9156
  onKeyDown: handleKeyboardNav,
9089
9157
  tabIndex: isDisabled ? undefined : 0,
9090
9158
  "aria-disabled": isDisabled || undefined
9091
9159
  }, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
9092
- className: `${CLASSNAME$O}__input-icon`,
9160
+ className: `${CLASSNAME$P}__input-icon`,
9093
9161
  color: theme === Theme.dark ? 'light' : undefined,
9094
9162
  icon: icon,
9095
9163
  size: Size.xs
9096
9164
  }), /*#__PURE__*/React.createElement("div", {
9097
- className: `${CLASSNAME$O}__chips`
9165
+ className: `${CLASSNAME$P}__chips`
9098
9166
  }, !isEmpty && value.map((val, index) => selectedChipRender === null || selectedChipRender === void 0 ? void 0 : selectedChipRender(val, index, onClear, isDisabled, theme))), isEmpty && placeholder && /*#__PURE__*/React.createElement("div", {
9099
- className: classnames([`${CLASSNAME$O}__input-native`, `${CLASSNAME$O}__input-native--placeholder`])
9167
+ className: classnames([`${CLASSNAME$P}__input-native`, `${CLASSNAME$P}__input-native--placeholder`])
9100
9168
  }, /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
9101
- className: `${CLASSNAME$O}__input-validity`
9169
+ className: `${CLASSNAME$P}__input-validity`
9102
9170
  }, /*#__PURE__*/React.createElement(Icon, {
9103
9171
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
9104
9172
  size: Size.xxs
9105
9173
  })), /*#__PURE__*/React.createElement("div", {
9106
- className: `${CLASSNAME$O}__input-indicator`
9174
+ className: `${CLASSNAME$P}__input-indicator`
9107
9175
  }, /*#__PURE__*/React.createElement(Icon, {
9108
9176
  icon: mdiMenuDown,
9109
9177
  size: Size.s
@@ -9132,17 +9200,17 @@ const SelectMultiple = /*#__PURE__*/forwardRef((props, ref) => {
9132
9200
  return WithSelectContext(SelectMultipleField, _objectSpread2(_objectSpread2({}, props), {}, {
9133
9201
  className: classnames(props.className, handleBasicClasses({
9134
9202
  hasMultiple: !props.isEmpty,
9135
- prefix: CLASSNAME$O
9203
+ prefix: CLASSNAME$P
9136
9204
  })),
9137
9205
  isEmpty: props.value.length === 0,
9138
9206
  isMultiple: true
9139
9207
  }), ref);
9140
9208
  });
9141
- SelectMultiple.displayName = COMPONENT_NAME$R;
9142
- SelectMultiple.className = CLASSNAME$O;
9143
- SelectMultiple.defaultProps = DEFAULT_PROPS$F;
9209
+ SelectMultiple.displayName = COMPONENT_NAME$S;
9210
+ SelectMultiple.className = CLASSNAME$P;
9211
+ SelectMultiple.defaultProps = DEFAULT_PROPS$G;
9144
9212
 
9145
- const _excluded$U = ["children", "className", "theme"];
9213
+ const _excluded$V = ["children", "className", "theme"];
9146
9214
 
9147
9215
  /**
9148
9216
  * Defines the props of the component.
@@ -9151,12 +9219,12 @@ const _excluded$U = ["children", "className", "theme"];
9151
9219
  /**
9152
9220
  * Component display name.
9153
9221
  */
9154
- const COMPONENT_NAME$S = 'SideNavigation';
9222
+ const COMPONENT_NAME$T = 'SideNavigation';
9155
9223
 
9156
9224
  /**
9157
9225
  * Component default class name and class prefix.
9158
9226
  */
9159
- const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
9227
+ const CLASSNAME$Q = getRootClassName(COMPONENT_NAME$T);
9160
9228
 
9161
9229
  /**
9162
9230
  * SideNavigation component.
@@ -9171,20 +9239,20 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
9171
9239
  className,
9172
9240
  theme
9173
9241
  } = props,
9174
- forwardedProps = _objectWithoutProperties(props, _excluded$U);
9242
+ forwardedProps = _objectWithoutProperties(props, _excluded$V);
9175
9243
  const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
9176
9244
  return /*#__PURE__*/React.createElement("ul", _extends({
9177
9245
  ref: ref
9178
9246
  }, forwardedProps, {
9179
9247
  className: classnames(className, theme === Theme.dark && 'lumx-color-font-light-N', handleBasicClasses({
9180
- prefix: CLASSNAME$P
9248
+ prefix: CLASSNAME$Q
9181
9249
  }))
9182
9250
  }), content);
9183
9251
  });
9184
- SideNavigation.displayName = COMPONENT_NAME$S;
9185
- SideNavigation.className = CLASSNAME$P;
9252
+ SideNavigation.displayName = COMPONENT_NAME$T;
9253
+ SideNavigation.className = CLASSNAME$Q;
9186
9254
 
9187
- const _excluded$V = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
9255
+ const _excluded$W = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
9188
9256
 
9189
9257
  /**
9190
9258
  * Defines the props of the component.
@@ -9193,17 +9261,17 @@ const _excluded$V = ["children", "className", "emphasis", "icon", "isOpen", "isS
9193
9261
  /**
9194
9262
  * Component display name.
9195
9263
  */
9196
- const COMPONENT_NAME$T = 'SideNavigationItem';
9264
+ const COMPONENT_NAME$U = 'SideNavigationItem';
9197
9265
 
9198
9266
  /**
9199
9267
  * Component default class name and class prefix.
9200
9268
  */
9201
- const CLASSNAME$Q = getRootClassName(COMPONENT_NAME$T);
9269
+ const CLASSNAME$R = getRootClassName(COMPONENT_NAME$U);
9202
9270
 
9203
9271
  /**
9204
9272
  * Component default props.
9205
9273
  */
9206
- const DEFAULT_PROPS$G = {
9274
+ const DEFAULT_PROPS$H = {
9207
9275
  emphasis: Emphasis.high,
9208
9276
  closeMode: 'unmount'
9209
9277
  };
@@ -9231,7 +9299,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
9231
9299
  toggleButtonProps,
9232
9300
  closeMode = 'unmount'
9233
9301
  } = props,
9234
- forwardedProps = _objectWithoutProperties(props, _excluded$V);
9302
+ forwardedProps = _objectWithoutProperties(props, _excluded$W);
9235
9303
  const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
9236
9304
  const hasContent = !isEmpty(content);
9237
9305
  const shouldSplitActions = Boolean(onActionClick);
@@ -9243,22 +9311,22 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
9243
9311
  emphasis,
9244
9312
  isOpen: showChildren,
9245
9313
  isSelected,
9246
- prefix: CLASSNAME$Q
9314
+ prefix: CLASSNAME$R
9247
9315
  }))
9248
9316
  }), shouldSplitActions ? /*#__PURE__*/React.createElement("div", {
9249
- className: `${CLASSNAME$Q}__wrapper`
9317
+ className: `${CLASSNAME$R}__wrapper`
9250
9318
  }, renderLink(_objectSpread2(_objectSpread2({
9251
9319
  linkAs
9252
9320
  }, linkProps), {}, {
9253
- className: `${CLASSNAME$Q}__link`,
9321
+ className: `${CLASSNAME$R}__link`,
9254
9322
  onClick,
9255
9323
  tabIndex: 0
9256
9324
  }), icon && /*#__PURE__*/React.createElement(Icon, {
9257
- className: `${CLASSNAME$Q}__icon`,
9325
+ className: `${CLASSNAME$R}__icon`,
9258
9326
  icon: icon,
9259
9327
  size: Size.xs
9260
9328
  }), /*#__PURE__*/React.createElement("span", null, label)), /*#__PURE__*/React.createElement(IconButton, _extends({}, toggleButtonProps, {
9261
- className: `${CLASSNAME$Q}__toggle`,
9329
+ className: `${CLASSNAME$R}__toggle`,
9262
9330
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
9263
9331
  size: Size.m,
9264
9332
  emphasis: Emphasis.low,
@@ -9266,45 +9334,45 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
9266
9334
  }))) : renderLink(_objectSpread2(_objectSpread2({
9267
9335
  linkAs
9268
9336
  }, linkProps), {}, {
9269
- className: `${CLASSNAME$Q}__link`,
9337
+ className: `${CLASSNAME$R}__link`,
9270
9338
  tabIndex: 0,
9271
9339
  onClick,
9272
9340
  onKeyDown: onClick ? onEnterPressed(onClick) : undefined
9273
9341
  }), icon && /*#__PURE__*/React.createElement(Icon, {
9274
- className: `${CLASSNAME$Q}__icon`,
9342
+ className: `${CLASSNAME$R}__icon`,
9275
9343
  icon: icon,
9276
9344
  size: Size.xs
9277
9345
  }), /*#__PURE__*/React.createElement("span", null, label), hasContent && /*#__PURE__*/React.createElement(Icon, {
9278
- className: `${CLASSNAME$Q}__chevron`,
9346
+ className: `${CLASSNAME$R}__chevron`,
9279
9347
  icon: isOpen ? mdiChevronUp : mdiChevronDown,
9280
9348
  size: Size.xs
9281
9349
  })), (closeMode === 'hide' || showChildren) && /*#__PURE__*/React.createElement("ul", {
9282
- className: `${CLASSNAME$Q}__children`
9350
+ className: `${CLASSNAME$R}__children`
9283
9351
  }, content));
9284
9352
  });
9285
- SideNavigationItem.displayName = COMPONENT_NAME$T;
9286
- SideNavigationItem.className = CLASSNAME$Q;
9287
- SideNavigationItem.defaultProps = DEFAULT_PROPS$G;
9353
+ SideNavigationItem.displayName = COMPONENT_NAME$U;
9354
+ SideNavigationItem.className = CLASSNAME$R;
9355
+ SideNavigationItem.defaultProps = DEFAULT_PROPS$H;
9288
9356
 
9289
- const _excluded$W = ["className", "size", "color", "theme"];
9357
+ const _excluded$X = ["className", "size", "color", "theme"];
9290
9358
 
9291
9359
  /**
9292
9360
  * Defines the props of the component.
9293
9361
  */
9294
9362
 
9295
- const DEFAULT_PROPS$H = {
9363
+ const DEFAULT_PROPS$I = {
9296
9364
  theme: Theme.light
9297
9365
  };
9298
9366
 
9299
9367
  /**
9300
9368
  * Component display name.
9301
9369
  */
9302
- const COMPONENT_NAME$U = 'SkeletonCircle';
9370
+ const COMPONENT_NAME$V = 'SkeletonCircle';
9303
9371
 
9304
9372
  /**
9305
9373
  * Component default class name and class prefix.
9306
9374
  */
9307
- const CLASSNAME$R = getRootClassName(COMPONENT_NAME$U);
9375
+ const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
9308
9376
 
9309
9377
  /**
9310
9378
  * SkeletonCircle component.
@@ -9320,23 +9388,23 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
9320
9388
  color,
9321
9389
  theme
9322
9390
  } = props,
9323
- forwardedProps = _objectWithoutProperties(props, _excluded$W);
9391
+ forwardedProps = _objectWithoutProperties(props, _excluded$X);
9324
9392
  return /*#__PURE__*/React.createElement("div", _extends({
9325
9393
  ref: ref
9326
9394
  }, forwardedProps, {
9327
9395
  className: classnames(className, handleBasicClasses({
9328
- prefix: CLASSNAME$R,
9396
+ prefix: CLASSNAME$S,
9329
9397
  size,
9330
9398
  color,
9331
9399
  theme
9332
9400
  }))
9333
9401
  }));
9334
9402
  });
9335
- SkeletonCircle.displayName = COMPONENT_NAME$U;
9336
- SkeletonCircle.defaultProps = DEFAULT_PROPS$H;
9337
- SkeletonCircle.className = CLASSNAME$R;
9403
+ SkeletonCircle.displayName = COMPONENT_NAME$V;
9404
+ SkeletonCircle.defaultProps = DEFAULT_PROPS$I;
9405
+ SkeletonCircle.className = CLASSNAME$S;
9338
9406
 
9339
- const _excluded$X = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
9407
+ const _excluded$Y = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
9340
9408
 
9341
9409
  /**
9342
9410
  * Skeleton variants.
@@ -9346,7 +9414,7 @@ const SkeletonRectangleVariant = {
9346
9414
  rounded: 'rounded',
9347
9415
  pill: 'pill'
9348
9416
  };
9349
- const DEFAULT_PROPS$I = {
9417
+ const DEFAULT_PROPS$J = {
9350
9418
  theme: Theme.light,
9351
9419
  variant: SkeletonRectangleVariant.squared
9352
9420
  };
@@ -9354,12 +9422,12 @@ const DEFAULT_PROPS$I = {
9354
9422
  /**
9355
9423
  * Component display name.
9356
9424
  */
9357
- const COMPONENT_NAME$V = 'SkeletonRectangle';
9425
+ const COMPONENT_NAME$W = 'SkeletonRectangle';
9358
9426
 
9359
9427
  /**
9360
9428
  * Component default class name and class prefix.
9361
9429
  */
9362
- const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
9430
+ const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
9363
9431
 
9364
9432
  /**
9365
9433
  * SkeletonRectangle component.
@@ -9378,12 +9446,12 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
9378
9446
  width,
9379
9447
  color
9380
9448
  } = props,
9381
- forwardedProps = _objectWithoutProperties(props, _excluded$X);
9449
+ forwardedProps = _objectWithoutProperties(props, _excluded$Y);
9382
9450
  return /*#__PURE__*/React.createElement("div", _extends({
9383
9451
  ref: ref
9384
9452
  }, forwardedProps, {
9385
9453
  className: classnames(className, handleBasicClasses({
9386
- prefix: CLASSNAME$S,
9454
+ prefix: CLASSNAME$T,
9387
9455
  aspectRatio,
9388
9456
  height: aspectRatio ? undefined : height,
9389
9457
  theme,
@@ -9392,32 +9460,32 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
9392
9460
  color
9393
9461
  }))
9394
9462
  }), /*#__PURE__*/React.createElement("div", {
9395
- className: `${CLASSNAME$S}__inner`
9463
+ className: `${CLASSNAME$T}__inner`
9396
9464
  }));
9397
9465
  });
9398
- SkeletonRectangle.displayName = COMPONENT_NAME$V;
9399
- SkeletonRectangle.className = CLASSNAME$S;
9400
- SkeletonRectangle.defaultProps = DEFAULT_PROPS$I;
9466
+ SkeletonRectangle.displayName = COMPONENT_NAME$W;
9467
+ SkeletonRectangle.className = CLASSNAME$T;
9468
+ SkeletonRectangle.defaultProps = DEFAULT_PROPS$J;
9401
9469
 
9402
- const _excluded$Y = ["className", "theme", "typography", "width", "color"];
9470
+ const _excluded$Z = ["className", "theme", "typography", "width", "color"];
9403
9471
 
9404
9472
  /**
9405
9473
  * Defines the props of the component.
9406
9474
  */
9407
9475
 
9408
- const DEFAULT_PROPS$J = {
9476
+ const DEFAULT_PROPS$K = {
9409
9477
  theme: Theme.light
9410
9478
  };
9411
9479
 
9412
9480
  /**
9413
9481
  * Component display name.
9414
9482
  */
9415
- const COMPONENT_NAME$W = 'SkeletonTypography';
9483
+ const COMPONENT_NAME$X = 'SkeletonTypography';
9416
9484
 
9417
9485
  /**
9418
9486
  * Component default class name and class prefix.
9419
9487
  */
9420
- const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
9488
+ const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
9421
9489
 
9422
9490
  /**
9423
9491
  * SkeletonTypography component.
@@ -9434,12 +9502,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
9434
9502
  width,
9435
9503
  color
9436
9504
  } = props,
9437
- forwardedProps = _objectWithoutProperties(props, _excluded$Y);
9505
+ forwardedProps = _objectWithoutProperties(props, _excluded$Z);
9438
9506
  return /*#__PURE__*/React.createElement("div", _extends({
9439
9507
  ref: ref
9440
9508
  }, forwardedProps, {
9441
9509
  className: classnames(className, handleBasicClasses({
9442
- prefix: CLASSNAME$T,
9510
+ prefix: CLASSNAME$U,
9443
9511
  theme,
9444
9512
  typography,
9445
9513
  color
@@ -9448,12 +9516,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
9448
9516
  width
9449
9517
  })
9450
9518
  }), /*#__PURE__*/React.createElement("div", {
9451
- className: `${CLASSNAME$T}__inner`
9519
+ className: `${CLASSNAME$U}__inner`
9452
9520
  }));
9453
9521
  });
9454
- SkeletonTypography.displayName = COMPONENT_NAME$W;
9455
- SkeletonTypography.defaultProps = DEFAULT_PROPS$J;
9456
- SkeletonTypography.className = CLASSNAME$T;
9522
+ SkeletonTypography.displayName = COMPONENT_NAME$X;
9523
+ SkeletonTypography.defaultProps = DEFAULT_PROPS$K;
9524
+ SkeletonTypography.className = CLASSNAME$U;
9457
9525
 
9458
9526
  const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
9459
9527
 
@@ -9489,7 +9557,7 @@ const clamp = (value, min, max) => {
9489
9557
  return value;
9490
9558
  };
9491
9559
 
9492
- const _excluded$Z = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
9560
+ const _excluded$_ = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
9493
9561
 
9494
9562
  /**
9495
9563
  * Defines the props of the component.
@@ -9498,17 +9566,17 @@ const _excluded$Z = ["className", "disabled", "helper", "hideMinMaxLabel", "id",
9498
9566
  /**
9499
9567
  * Component display name.
9500
9568
  */
9501
- const COMPONENT_NAME$X = 'Slider';
9569
+ const COMPONENT_NAME$Y = 'Slider';
9502
9570
 
9503
9571
  /**
9504
9572
  * Component default class name and class prefix.
9505
9573
  */
9506
- const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
9574
+ const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
9507
9575
 
9508
9576
  /**
9509
9577
  * Component default props.
9510
9578
  */
9511
- const DEFAULT_PROPS$K = {
9579
+ const DEFAULT_PROPS$L = {
9512
9580
  precision: 0,
9513
9581
  steps: 0,
9514
9582
  theme: Theme.light
@@ -9564,7 +9632,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
9564
9632
  theme,
9565
9633
  value
9566
9634
  } = props,
9567
- forwardedProps = _objectWithoutProperties(props, _excluded$Z);
9635
+ forwardedProps = _objectWithoutProperties(props, _excluded$_);
9568
9636
  const sliderId = useMemo(() => id || `slider-${uid()}`, [id]);
9569
9637
  const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
9570
9638
  const sliderRef = useRef(null);
@@ -9697,7 +9765,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
9697
9765
  ref: ref
9698
9766
  }, forwardedProps, {
9699
9767
  className: classnames(className, handleBasicClasses({
9700
- prefix: CLASSNAME$U,
9768
+ prefix: CLASSNAME$V,
9701
9769
  theme,
9702
9770
  hasLabel: Boolean(label)
9703
9771
  })),
@@ -9706,30 +9774,30 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
9706
9774
  }), label && /*#__PURE__*/React.createElement(InputLabel, {
9707
9775
  id: sliderLabelId,
9708
9776
  htmlFor: sliderId,
9709
- className: `${CLASSNAME$U}__label`,
9777
+ className: `${CLASSNAME$V}__label`,
9710
9778
  theme: theme
9711
9779
  }, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
9712
- className: `${CLASSNAME$U}__helper`,
9780
+ className: `${CLASSNAME$V}__helper`,
9713
9781
  theme: theme
9714
9782
  }, helper), /*#__PURE__*/React.createElement("div", {
9715
- className: `${CLASSNAME$U}__ui-wrapper`
9783
+ className: `${CLASSNAME$V}__ui-wrapper`
9716
9784
  }, !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
9717
- className: `${CLASSNAME$U}__value-label ${CLASSNAME$U}__value-label--min`
9785
+ className: `${CLASSNAME$V}__value-label ${CLASSNAME$V}__value-label--min`
9718
9786
  }, min), /*#__PURE__*/React.createElement("div", {
9719
- className: `${CLASSNAME$U}__wrapper`,
9787
+ className: `${CLASSNAME$V}__wrapper`,
9720
9788
  ref: sliderRef
9721
9789
  }, /*#__PURE__*/React.createElement("div", {
9722
- className: `${CLASSNAME$U}__track ${CLASSNAME$U}__track--background`
9790
+ className: `${CLASSNAME$V}__track ${CLASSNAME$V}__track--background`
9723
9791
  }), /*#__PURE__*/React.createElement("div", {
9724
- className: `${CLASSNAME$U}__track ${CLASSNAME$U}__track--active`,
9792
+ className: `${CLASSNAME$V}__track ${CLASSNAME$V}__track--active`,
9725
9793
  style: {
9726
9794
  width: percentString
9727
9795
  }
9728
9796
  }), steps ? /*#__PURE__*/React.createElement("div", {
9729
- className: `${CLASSNAME$U}__ticks`
9797
+ className: `${CLASSNAME$V}__ticks`
9730
9798
  }, availableSteps.map((step, idx) => /*#__PURE__*/React.createElement("div", {
9731
9799
  key: `tick_${idx}`,
9732
- className: `${CLASSNAME$U}__tick`,
9800
+ className: `${CLASSNAME$V}__tick`,
9733
9801
  style: {
9734
9802
  left: `${step * 100}%`
9735
9803
  }
@@ -9738,19 +9806,19 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
9738
9806
  "aria-labelledby": sliderLabelId,
9739
9807
  name: name,
9740
9808
  id: sliderId,
9741
- className: `${CLASSNAME$U}__handle`,
9809
+ className: `${CLASSNAME$V}__handle`,
9742
9810
  style: {
9743
9811
  left: percentString
9744
9812
  },
9745
9813
  onKeyDown: handleKeyDown,
9746
9814
  disabled: isDisabled
9747
9815
  })), !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
9748
- className: `${CLASSNAME$U}__value-label ${CLASSNAME$U}__value-label--max`
9816
+ className: `${CLASSNAME$V}__value-label ${CLASSNAME$V}__value-label--max`
9749
9817
  }, max)));
9750
9818
  });
9751
- Slider.displayName = COMPONENT_NAME$X;
9752
- Slider.className = CLASSNAME$U;
9753
- Slider.defaultProps = DEFAULT_PROPS$K;
9819
+ Slider.displayName = COMPONENT_NAME$Y;
9820
+ Slider.className = CLASSNAME$V;
9821
+ Slider.defaultProps = DEFAULT_PROPS$L;
9754
9822
 
9755
9823
  /**
9756
9824
  * Making setInterval Declarative with React Hooks.
@@ -10045,7 +10113,7 @@ const useSlideFocusManagement = _ref => {
10045
10113
  }, [isSlideDisplayed, slideRef]);
10046
10114
  };
10047
10115
 
10048
- const _excluded$_ = ["className", "children", "role", "label", "isDisplayed"];
10116
+ const _excluded$$ = ["className", "children", "role", "label", "isDisplayed"];
10049
10117
 
10050
10118
  /**
10051
10119
  * Defines the props of the component.
@@ -10054,12 +10122,12 @@ const _excluded$_ = ["className", "children", "role", "label", "isDisplayed"];
10054
10122
  /**
10055
10123
  * Component display name.
10056
10124
  */
10057
- const COMPONENT_NAME$Y = 'SlideshowItemGroup';
10125
+ const COMPONENT_NAME$Z = 'SlideshowItemGroup';
10058
10126
 
10059
10127
  /**
10060
10128
  * Component default class name and class prefix.
10061
10129
  */
10062
- const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
10130
+ const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
10063
10131
  const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
10064
10132
 
10065
10133
  /**
@@ -10077,7 +10145,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
10077
10145
  label,
10078
10146
  isDisplayed
10079
10147
  } = props,
10080
- forwardedProps = _objectWithoutProperties(props, _excluded$_);
10148
+ forwardedProps = _objectWithoutProperties(props, _excluded$$);
10081
10149
  const groupRef = React.useRef(null);
10082
10150
  useSlideFocusManagement({
10083
10151
  isSlideDisplayed: isDisplayed,
@@ -10087,16 +10155,16 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
10087
10155
  ref: mergeRefs(groupRef, ref),
10088
10156
  role: role,
10089
10157
  className: classnames(className, handleBasicClasses({
10090
- prefix: CLASSNAME$V
10158
+ prefix: CLASSNAME$W
10091
10159
  })),
10092
10160
  "aria-roledescription": "slide",
10093
10161
  "aria-label": label
10094
10162
  }, forwardedProps), children);
10095
10163
  });
10096
- SlideshowItemGroup.displayName = COMPONENT_NAME$Y;
10097
- SlideshowItemGroup.className = CLASSNAME$V;
10164
+ SlideshowItemGroup.displayName = COMPONENT_NAME$Z;
10165
+ SlideshowItemGroup.className = CLASSNAME$W;
10098
10166
 
10099
- const _excluded$$ = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
10167
+ const _excluded$10 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
10100
10168
 
10101
10169
  /**
10102
10170
  * Defines the props of the component.
@@ -10105,7 +10173,7 @@ const _excluded$$ = ["activeIndex", "autoPlay", "children", "className", "fillHe
10105
10173
  /**
10106
10174
  * Component default props.
10107
10175
  */
10108
- const DEFAULT_PROPS$L = _objectSpread2(_objectSpread2({}, DEFAULT_OPTIONS$1), {}, {
10176
+ const DEFAULT_PROPS$M = _objectSpread2(_objectSpread2({}, DEFAULT_OPTIONS$1), {}, {
10109
10177
  theme: Theme.light
10110
10178
  });
10111
10179
 
@@ -10132,7 +10200,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
10132
10200
  slidesId,
10133
10201
  slideGroupLabel
10134
10202
  } = props,
10135
- forwardedProps = _objectWithoutProperties(props, _excluded$$);
10203
+ forwardedProps = _objectWithoutProperties(props, _excluded$10);
10136
10204
  // Number of slideshow items.
10137
10205
  const itemsCount = React.Children.count(children);
10138
10206
  const {
@@ -10152,7 +10220,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
10152
10220
  toggleForcePause
10153
10221
  } = SlideshowControls.useSlideshowControls({
10154
10222
  activeIndex,
10155
- defaultActiveIndex: DEFAULT_PROPS$L.activeIndex,
10223
+ defaultActiveIndex: DEFAULT_PROPS$M.activeIndex,
10156
10224
  autoPlay: Boolean(autoPlay),
10157
10225
  itemsCount,
10158
10226
  groupBy,
@@ -10212,9 +10280,9 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
10212
10280
  }, forwardedProps), children);
10213
10281
  });
10214
10282
  Slideshow.displayName = 'Slideshow';
10215
- Slideshow.defaultProps = DEFAULT_PROPS$L;
10283
+ Slideshow.defaultProps = DEFAULT_PROPS$M;
10216
10284
 
10217
- const _excluded$10 = ["className", "children"];
10285
+ const _excluded$11 = ["className", "children"];
10218
10286
 
10219
10287
  /**
10220
10288
  * Defines the props of the component.
@@ -10223,12 +10291,12 @@ const _excluded$10 = ["className", "children"];
10223
10291
  /**
10224
10292
  * Component display name.
10225
10293
  */
10226
- const COMPONENT_NAME$Z = 'SlideshowItem';
10294
+ const COMPONENT_NAME$_ = 'SlideshowItem';
10227
10295
 
10228
10296
  /**
10229
10297
  * Component default class name and class prefix.
10230
10298
  */
10231
- const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
10299
+ const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
10232
10300
 
10233
10301
  /**
10234
10302
  * SlideshowItem component.
@@ -10242,16 +10310,16 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
10242
10310
  className,
10243
10311
  children
10244
10312
  } = props,
10245
- forwardedProps = _objectWithoutProperties(props, _excluded$10);
10313
+ forwardedProps = _objectWithoutProperties(props, _excluded$11);
10246
10314
  return /*#__PURE__*/React.createElement("div", _extends({
10247
10315
  ref: ref,
10248
10316
  className: classnames(className, handleBasicClasses({
10249
- prefix: CLASSNAME$W
10317
+ prefix: CLASSNAME$X
10250
10318
  }))
10251
10319
  }, forwardedProps), children);
10252
10320
  });
10253
- SlideshowItem.displayName = COMPONENT_NAME$Z;
10254
- SlideshowItem.className = CLASSNAME$W;
10321
+ SlideshowItem.displayName = COMPONENT_NAME$_;
10322
+ SlideshowItem.className = CLASSNAME$X;
10255
10323
 
10256
10324
  const isTouchDevice = () => 'ontouchstart' in window;
10257
10325
 
@@ -10310,7 +10378,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
10310
10378
  }, [activeIndex, slideCount]);
10311
10379
  }
10312
10380
 
10313
- const _excluded$11 = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
10381
+ const _excluded$12 = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
10314
10382
  _excluded2$2 = ["className", "label"];
10315
10383
 
10316
10384
  /**
@@ -10320,17 +10388,17 @@ const _excluded$11 = ["activeIndex", "className", "nextButtonProps", "onNextClic
10320
10388
  /**
10321
10389
  * Component display name.
10322
10390
  */
10323
- const COMPONENT_NAME$_ = 'SlideshowControls';
10391
+ const COMPONENT_NAME$$ = 'SlideshowControls';
10324
10392
 
10325
10393
  /**
10326
10394
  * Component default class name and class prefix.
10327
10395
  */
10328
- const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
10396
+ const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
10329
10397
 
10330
10398
  /**
10331
10399
  * Component default props.
10332
10400
  */
10333
- const DEFAULT_PROPS$M = {
10401
+ const DEFAULT_PROPS$N = {
10334
10402
  activeIndex: 0,
10335
10403
  theme: Theme.light
10336
10404
  };
@@ -10360,7 +10428,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
10360
10428
  paginationItemLabel,
10361
10429
  paginationItemProps
10362
10430
  } = props,
10363
- forwardedProps = _objectWithoutProperties(props, _excluded$11);
10431
+ forwardedProps = _objectWithoutProperties(props, _excluded$12);
10364
10432
  let parent;
10365
10433
  if (WINDOW) {
10366
10434
  // Checking window object to avoid errors in SSR.
@@ -10397,22 +10465,22 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
10397
10465
  ref: ref
10398
10466
  }, forwardedProps, {
10399
10467
  className: classnames(className, handleBasicClasses({
10400
- prefix: CLASSNAME$X,
10468
+ prefix: CLASSNAME$Y,
10401
10469
  theme
10402
10470
  }), {
10403
- [`${CLASSNAME$X}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
10471
+ [`${CLASSNAME$Y}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
10404
10472
  })
10405
10473
  }), /*#__PURE__*/React.createElement(IconButton, _extends({}, previousButtonProps, {
10406
10474
  icon: mdiChevronLeft,
10407
- className: `${CLASSNAME$X}__navigation`,
10475
+ className: `${CLASSNAME$Y}__navigation`,
10408
10476
  color: theme === Theme.dark ? 'light' : 'dark',
10409
10477
  emphasis: Emphasis.low,
10410
10478
  onClick: onPreviousClick
10411
10479
  })), /*#__PURE__*/React.createElement("div", {
10412
10480
  ref: paginationRef,
10413
- className: `${CLASSNAME$X}__pagination`
10481
+ className: `${CLASSNAME$Y}__pagination`
10414
10482
  }, /*#__PURE__*/React.createElement("div", _extends({
10415
- className: `${CLASSNAME$X}__pagination-items`,
10483
+ className: `${CLASSNAME$Y}__pagination-items`,
10416
10484
  style: wrapperStyle,
10417
10485
  role: "tablist"
10418
10486
  }, paginationProps), useMemo(() => range(slidesCount).map(index => {
@@ -10428,7 +10496,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
10428
10496
  const ariaLabel = label || (paginationItemLabel === null || paginationItemLabel === void 0 ? void 0 : paginationItemLabel(index)) || `${index + 1} / ${slidesCount}`;
10429
10497
  return /*#__PURE__*/React.createElement("button", _extends({
10430
10498
  className: classnames(handleBasicClasses({
10431
- prefix: `${CLASSNAME$X}__pagination-item`,
10499
+ prefix: `${CLASSNAME$Y}__pagination-item`,
10432
10500
  isActive,
10433
10501
  isOnEdge,
10434
10502
  isOutRange
@@ -10443,35 +10511,35 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
10443
10511
  }, itemProps));
10444
10512
  }), [slidesCount, visibleRange.min, visibleRange.max, activeIndex, paginationItemProps, paginationItemLabel, onPaginationClick]))), playButtonProps ? /*#__PURE__*/React.createElement(IconButton, _extends({}, playButtonProps, {
10445
10513
  icon: isAutoPlaying ? mdiPauseCircleOutline : mdiPlayCircleOutline,
10446
- className: `${CLASSNAME$X}__play`,
10514
+ className: `${CLASSNAME$Y}__play`,
10447
10515
  color: theme === Theme.dark ? 'light' : 'dark',
10448
10516
  emphasis: Emphasis.low
10449
10517
  })) : null, /*#__PURE__*/React.createElement(IconButton, _extends({}, nextButtonProps, {
10450
10518
  icon: mdiChevronRight,
10451
- className: `${CLASSNAME$X}__navigation`,
10519
+ className: `${CLASSNAME$Y}__navigation`,
10452
10520
  color: theme === Theme.dark ? 'light' : 'dark',
10453
10521
  emphasis: Emphasis.low,
10454
10522
  onClick: onNextClick
10455
10523
  })));
10456
10524
  });
10457
- InternalSlideshowControls.displayName = COMPONENT_NAME$_;
10458
- InternalSlideshowControls.className = CLASSNAME$X;
10459
- InternalSlideshowControls.defaultProps = DEFAULT_PROPS$M;
10525
+ InternalSlideshowControls.displayName = COMPONENT_NAME$$;
10526
+ InternalSlideshowControls.className = CLASSNAME$Y;
10527
+ InternalSlideshowControls.defaultProps = DEFAULT_PROPS$N;
10460
10528
  const SlideshowControls = Object.assign(InternalSlideshowControls, {
10461
10529
  useSlideshowControls,
10462
10530
  useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
10463
10531
  });
10464
10532
 
10465
- const _excluded$12 = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
10533
+ const _excluded$13 = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
10466
10534
  /**
10467
10535
  * Component display name.
10468
10536
  */
10469
- const COMPONENT_NAME$$ = 'Slideshow';
10537
+ const COMPONENT_NAME$10 = 'Slideshow';
10470
10538
 
10471
10539
  /**
10472
10540
  * Component default class name and class prefix.
10473
10541
  */
10474
- const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
10542
+ const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
10475
10543
 
10476
10544
  /**
10477
10545
  * Slides component.
@@ -10496,7 +10564,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
10496
10564
  hasControls,
10497
10565
  slideGroupLabel
10498
10566
  } = props,
10499
- forwardedProps = _objectWithoutProperties(props, _excluded$12);
10567
+ forwardedProps = _objectWithoutProperties(props, _excluded$13);
10500
10568
  const wrapperRef = React.useRef(null);
10501
10569
  const startIndexVisible = activeIndex;
10502
10570
  const endIndexVisible = startIndexVisible + 1;
@@ -10514,22 +10582,22 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
10514
10582
  ref: ref
10515
10583
  }, forwardedProps, {
10516
10584
  className: classnames(className, handleBasicClasses({
10517
- prefix: CLASSNAME$Y,
10585
+ prefix: CLASSNAME$Z,
10518
10586
  theme
10519
10587
  }), {
10520
- [`${CLASSNAME$Y}--fill-height`]: fillHeight,
10521
- [`${CLASSNAME$Y}--group-by-${groupBy}`]: Boolean(groupBy)
10588
+ [`${CLASSNAME$Z}--fill-height`]: fillHeight,
10589
+ [`${CLASSNAME$Z}--group-by-${groupBy}`]: Boolean(groupBy)
10522
10590
  }),
10523
10591
  "aria-roledescription": "carousel"
10524
10592
  }), /*#__PURE__*/React.createElement("div", {
10525
10593
  id: slidesId,
10526
- className: `${CLASSNAME$Y}__slides`,
10594
+ className: `${CLASSNAME$Z}__slides`,
10527
10595
  onMouseEnter: toggleAutoPlay,
10528
10596
  onMouseLeave: toggleAutoPlay,
10529
10597
  "aria-live": isAutoPlaying ? 'off' : 'polite'
10530
10598
  }, /*#__PURE__*/React.createElement("div", {
10531
10599
  ref: wrapperRef,
10532
- className: `${CLASSNAME$Y}__wrapper`,
10600
+ className: `${CLASSNAME$Z}__wrapper`,
10533
10601
  style: wrapperStyle
10534
10602
  }, groups.map((group, index) => /*#__PURE__*/React.createElement(SlideshowItemGroup, {
10535
10603
  key: index,
@@ -10539,10 +10607,10 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
10539
10607
  isDisplayed: index >= startIndexVisible && index < endIndexVisible
10540
10608
  }, group)))), afterSlides);
10541
10609
  });
10542
- Slides.displayName = COMPONENT_NAME$$;
10543
- Slides.className = CLASSNAME$Y;
10610
+ Slides.displayName = COMPONENT_NAME$10;
10611
+ Slides.className = CLASSNAME$Z;
10544
10612
 
10545
- const _excluded$13 = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
10613
+ const _excluded$14 = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
10546
10614
 
10547
10615
  /**
10548
10616
  * Defines the props of the component.
@@ -10551,17 +10619,17 @@ const _excluded$13 = ["checked", "children", "className", "disabled", "helper",
10551
10619
  /**
10552
10620
  * Component display name.
10553
10621
  */
10554
- const COMPONENT_NAME$10 = 'Switch';
10622
+ const COMPONENT_NAME$11 = 'Switch';
10555
10623
 
10556
10624
  /**
10557
10625
  * Component default class name and class prefix.
10558
10626
  */
10559
- const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
10627
+ const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
10560
10628
 
10561
10629
  /**
10562
10630
  * Component default props.
10563
10631
  */
10564
- const DEFAULT_PROPS$N = {
10632
+ const DEFAULT_PROPS$O = {
10565
10633
  position: Alignment.left,
10566
10634
  theme: Theme.light
10567
10635
  };
@@ -10590,7 +10658,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10590
10658
  value,
10591
10659
  inputProps = {}
10592
10660
  } = props,
10593
- forwardedProps = _objectWithoutProperties(props, _excluded$13);
10661
+ forwardedProps = _objectWithoutProperties(props, _excluded$14);
10594
10662
  const inputId = useMemo(() => id || `switch-${uid()}`, [id]);
10595
10663
  const handleChange = event => {
10596
10664
  if (onChange) {
@@ -10601,7 +10669,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10601
10669
  ref: ref
10602
10670
  }, forwardedProps, {
10603
10671
  className: classnames(className, handleBasicClasses({
10604
- prefix: CLASSNAME$Z,
10672
+ prefix: CLASSNAME$_,
10605
10673
  isChecked,
10606
10674
  isDisabled,
10607
10675
  position,
@@ -10610,12 +10678,12 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10610
10678
  })),
10611
10679
  "aria-disabled": isDisabled
10612
10680
  }), /*#__PURE__*/React.createElement("div", {
10613
- className: `${CLASSNAME$Z}__input-wrapper`
10681
+ className: `${CLASSNAME$_}__input-wrapper`
10614
10682
  }, /*#__PURE__*/React.createElement("input", _extends({
10615
10683
  type: "checkbox",
10616
10684
  role: "switch",
10617
10685
  id: inputId,
10618
- className: `${CLASSNAME$Z}__input-native`,
10686
+ className: `${CLASSNAME$_}__input-native`,
10619
10687
  name: name,
10620
10688
  value: value,
10621
10689
  disabled: isDisabled,
@@ -10624,28 +10692,28 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10624
10692
  onChange: handleChange,
10625
10693
  "aria-describedby": helper ? `${inputId}-helper` : undefined
10626
10694
  }, inputProps)), /*#__PURE__*/React.createElement("div", {
10627
- className: `${CLASSNAME$Z}__input-placeholder`
10695
+ className: `${CLASSNAME$_}__input-placeholder`
10628
10696
  }, /*#__PURE__*/React.createElement("div", {
10629
- className: `${CLASSNAME$Z}__input-background`
10697
+ className: `${CLASSNAME$_}__input-background`
10630
10698
  }), /*#__PURE__*/React.createElement("div", {
10631
- className: `${CLASSNAME$Z}__input-indicator`
10699
+ className: `${CLASSNAME$_}__input-indicator`
10632
10700
  }))), Children.count(children) > 0 && /*#__PURE__*/React.createElement("div", {
10633
- className: `${CLASSNAME$Z}__content`
10701
+ className: `${CLASSNAME$_}__content`
10634
10702
  }, /*#__PURE__*/React.createElement(InputLabel, {
10635
10703
  htmlFor: inputId,
10636
10704
  theme: theme,
10637
- className: `${CLASSNAME$Z}__label`
10705
+ className: `${CLASSNAME$_}__label`
10638
10706
  }, children), !isEmpty(helper) && /*#__PURE__*/React.createElement(InputHelper, {
10639
10707
  id: `${inputId}-helper`,
10640
10708
  theme: theme,
10641
- className: `${CLASSNAME$Z}__helper`
10709
+ className: `${CLASSNAME$_}__helper`
10642
10710
  }, helper)));
10643
10711
  });
10644
- Switch.displayName = COMPONENT_NAME$10;
10645
- Switch.className = CLASSNAME$Z;
10646
- Switch.defaultProps = DEFAULT_PROPS$N;
10712
+ Switch.displayName = COMPONENT_NAME$11;
10713
+ Switch.className = CLASSNAME$_;
10714
+ Switch.defaultProps = DEFAULT_PROPS$O;
10647
10715
 
10648
- const _excluded$14 = ["children", "className", "hasBefore", "hasDividers", "theme"];
10716
+ const _excluded$15 = ["children", "className", "hasBefore", "hasDividers", "theme"];
10649
10717
 
10650
10718
  /**
10651
10719
  * Defines the props of the component.
@@ -10654,17 +10722,17 @@ const _excluded$14 = ["children", "className", "hasBefore", "hasDividers", "them
10654
10722
  /**
10655
10723
  * Component display name.
10656
10724
  */
10657
- const COMPONENT_NAME$11 = 'Table';
10725
+ const COMPONENT_NAME$12 = 'Table';
10658
10726
 
10659
10727
  /**
10660
10728
  * Component default class name and class prefix.
10661
10729
  */
10662
- const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
10730
+ const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
10663
10731
 
10664
10732
  /**
10665
10733
  * Component default props.
10666
10734
  */
10667
- const DEFAULT_PROPS$O = {
10735
+ const DEFAULT_PROPS$P = {
10668
10736
  theme: Theme.light
10669
10737
  };
10670
10738
 
@@ -10683,23 +10751,23 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
10683
10751
  hasDividers,
10684
10752
  theme
10685
10753
  } = props,
10686
- forwardedProps = _objectWithoutProperties(props, _excluded$14);
10754
+ forwardedProps = _objectWithoutProperties(props, _excluded$15);
10687
10755
  return /*#__PURE__*/React.createElement("table", _extends({
10688
10756
  ref: ref
10689
10757
  }, forwardedProps, {
10690
10758
  className: classnames(className, handleBasicClasses({
10691
- prefix: CLASSNAME$_,
10759
+ prefix: CLASSNAME$$,
10692
10760
  hasBefore,
10693
10761
  hasDividers,
10694
10762
  theme
10695
10763
  }))
10696
10764
  }), children);
10697
10765
  });
10698
- Table.displayName = COMPONENT_NAME$11;
10699
- Table.className = CLASSNAME$_;
10700
- Table.defaultProps = DEFAULT_PROPS$O;
10766
+ Table.displayName = COMPONENT_NAME$12;
10767
+ Table.className = CLASSNAME$$;
10768
+ Table.defaultProps = DEFAULT_PROPS$P;
10701
10769
 
10702
- const _excluded$15 = ["children", "className"];
10770
+ const _excluded$16 = ["children", "className"];
10703
10771
 
10704
10772
  /**
10705
10773
  * Defines the props of the component.
@@ -10708,12 +10776,12 @@ const _excluded$15 = ["children", "className"];
10708
10776
  /**
10709
10777
  * Component display name.
10710
10778
  */
10711
- const COMPONENT_NAME$12 = 'TableBody';
10779
+ const COMPONENT_NAME$13 = 'TableBody';
10712
10780
 
10713
10781
  /**
10714
10782
  * Component default class name and class prefix.
10715
10783
  */
10716
- const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12, true);
10784
+ const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13, true);
10717
10785
 
10718
10786
  /**
10719
10787
  * TableBody component.
@@ -10727,19 +10795,19 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
10727
10795
  children,
10728
10796
  className
10729
10797
  } = props,
10730
- forwardedProps = _objectWithoutProperties(props, _excluded$15);
10798
+ forwardedProps = _objectWithoutProperties(props, _excluded$16);
10731
10799
  return /*#__PURE__*/React.createElement("tbody", _extends({
10732
10800
  ref: ref
10733
10801
  }, forwardedProps, {
10734
10802
  className: classnames(className, handleBasicClasses({
10735
- prefix: CLASSNAME$$
10803
+ prefix: CLASSNAME$10
10736
10804
  }))
10737
10805
  }), children);
10738
10806
  });
10739
- TableBody.displayName = COMPONENT_NAME$12;
10740
- TableBody.className = CLASSNAME$$;
10807
+ TableBody.displayName = COMPONENT_NAME$13;
10808
+ TableBody.className = CLASSNAME$10;
10741
10809
 
10742
- const _excluded$16 = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
10810
+ const _excluded$17 = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
10743
10811
 
10744
10812
  /**
10745
10813
  * Table head cell sort order.
@@ -10758,17 +10826,17 @@ const TableCellVariant = {
10758
10826
  /**
10759
10827
  * Component display name.
10760
10828
  */
10761
- const COMPONENT_NAME$13 = 'TableCell';
10829
+ const COMPONENT_NAME$14 = 'TableCell';
10762
10830
 
10763
10831
  /**
10764
10832
  * Component default class name and class prefix.
10765
10833
  */
10766
- const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13, true);
10834
+ const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14, true);
10767
10835
 
10768
10836
  /**
10769
10837
  * Component default props.
10770
10838
  */
10771
- const DEFAULT_PROPS$P = {
10839
+ const DEFAULT_PROPS$Q = {
10772
10840
  variant: TableCellVariant.body
10773
10841
  };
10774
10842
 
@@ -10789,7 +10857,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
10789
10857
  sortOrder,
10790
10858
  variant
10791
10859
  } = props,
10792
- forwardedProps = _objectWithoutProperties(props, _excluded$16);
10860
+ forwardedProps = _objectWithoutProperties(props, _excluded$17);
10793
10861
 
10794
10862
  /**
10795
10863
  * Handle click on the ordered thead.
@@ -10803,43 +10871,43 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
10803
10871
  ref: ref
10804
10872
  }, forwardedProps, {
10805
10873
  className: classnames(handleBasicClasses({
10806
- prefix: CLASSNAME$10,
10874
+ prefix: CLASSNAME$11,
10807
10875
  isSortable
10808
- }), className, `${CLASSNAME$10}--head`, {
10809
- [`${CLASSNAME$10}--is-sorted`]: isSortable && sortOrder
10876
+ }), className, `${CLASSNAME$11}--head`, {
10877
+ [`${CLASSNAME$11}--is-sorted`]: isSortable && sortOrder
10810
10878
  }),
10811
10879
  tabIndex: isSortable && isFunction(onHeaderClick) ? 0 : -1,
10812
10880
  onClick: handleOnHeaderClick,
10813
10881
  onKeyDown: onEnterPressed(handleOnHeaderClick)
10814
10882
  }), /*#__PURE__*/React.createElement("div", {
10815
- className: `${CLASSNAME$10}-wrapper`
10883
+ className: `${CLASSNAME$11}-wrapper`
10816
10884
  }, icon && !isSortable && /*#__PURE__*/React.createElement(Icon, {
10817
- className: `${CLASSNAME$10}-icon`,
10885
+ className: `${CLASSNAME$11}-icon`,
10818
10886
  icon: icon,
10819
10887
  size: Size.xxs
10820
10888
  }), isSortable && sortOrder === ThOrder.asc && /*#__PURE__*/React.createElement(Icon, {
10821
- className: `${CLASSNAME$10}-icon`,
10889
+ className: `${CLASSNAME$11}-icon`,
10822
10890
  icon: mdiArrowUp,
10823
10891
  size: Size.xxs
10824
10892
  }), isSortable && sortOrder === ThOrder.desc && /*#__PURE__*/React.createElement(Icon, {
10825
- className: `${CLASSNAME$10}-icon`,
10893
+ className: `${CLASSNAME$11}-icon`,
10826
10894
  icon: mdiArrowDown,
10827
10895
  size: Size.xxs
10828
10896
  }), /*#__PURE__*/React.createElement("div", {
10829
- className: `${CLASSNAME$10}-content`
10897
+ className: `${CLASSNAME$11}-content`
10830
10898
  }, children))), variant === TableCellVariant.body && /*#__PURE__*/React.createElement("td", _extends({}, forwardedProps, {
10831
10899
  className: classnames(className, handleBasicClasses({
10832
- prefix: CLASSNAME$10
10833
- }), `${CLASSNAME$10}--body`)
10900
+ prefix: CLASSNAME$11
10901
+ }), `${CLASSNAME$11}--body`)
10834
10902
  }), /*#__PURE__*/React.createElement("div", {
10835
- className: `${CLASSNAME$10}-content`
10903
+ className: `${CLASSNAME$11}-content`
10836
10904
  }, children)));
10837
10905
  });
10838
- TableCell.displayName = COMPONENT_NAME$13;
10839
- TableCell.className = CLASSNAME$10;
10840
- TableCell.defaultProps = DEFAULT_PROPS$P;
10906
+ TableCell.displayName = COMPONENT_NAME$14;
10907
+ TableCell.className = CLASSNAME$11;
10908
+ TableCell.defaultProps = DEFAULT_PROPS$Q;
10841
10909
 
10842
- const _excluded$17 = ["children", "className"];
10910
+ const _excluded$18 = ["children", "className"];
10843
10911
 
10844
10912
  /**
10845
10913
  * Defines the props of the component.
@@ -10848,17 +10916,17 @@ const _excluded$17 = ["children", "className"];
10848
10916
  /**
10849
10917
  * Component display name.
10850
10918
  */
10851
- const COMPONENT_NAME$14 = 'TableHeader';
10919
+ const COMPONENT_NAME$15 = 'TableHeader';
10852
10920
 
10853
10921
  /**
10854
10922
  * Component default class name and class prefix.
10855
10923
  */
10856
- const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14, true);
10924
+ const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15, true);
10857
10925
 
10858
10926
  /**
10859
10927
  * Component default props.
10860
10928
  */
10861
- const DEFAULT_PROPS$Q = {};
10929
+ const DEFAULT_PROPS$R = {};
10862
10930
 
10863
10931
  /**
10864
10932
  * TableHeader component.
@@ -10872,20 +10940,20 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
10872
10940
  children,
10873
10941
  className
10874
10942
  } = props,
10875
- forwardedProps = _objectWithoutProperties(props, _excluded$17);
10943
+ forwardedProps = _objectWithoutProperties(props, _excluded$18);
10876
10944
  return /*#__PURE__*/React.createElement("thead", _extends({
10877
10945
  ref: ref
10878
10946
  }, forwardedProps, {
10879
10947
  className: classnames(className, handleBasicClasses({
10880
- prefix: CLASSNAME$11
10948
+ prefix: CLASSNAME$12
10881
10949
  }))
10882
10950
  }), children);
10883
10951
  });
10884
- TableHeader.displayName = COMPONENT_NAME$14;
10885
- TableHeader.className = CLASSNAME$11;
10886
- TableHeader.defaultProps = DEFAULT_PROPS$Q;
10952
+ TableHeader.displayName = COMPONENT_NAME$15;
10953
+ TableHeader.className = CLASSNAME$12;
10954
+ TableHeader.defaultProps = DEFAULT_PROPS$R;
10887
10955
 
10888
- const _excluded$18 = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
10956
+ const _excluded$19 = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
10889
10957
 
10890
10958
  /**
10891
10959
  * Defines the props of the component.
@@ -10894,17 +10962,17 @@ const _excluded$18 = ["children", "className", "disabled", "isClickable", "isDis
10894
10962
  /**
10895
10963
  * Component display name.
10896
10964
  */
10897
- const COMPONENT_NAME$15 = 'TableRow';
10965
+ const COMPONENT_NAME$16 = 'TableRow';
10898
10966
 
10899
10967
  /**
10900
10968
  * Component default class name and class prefix.
10901
10969
  */
10902
- const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15, true);
10970
+ const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16, true);
10903
10971
 
10904
10972
  /**
10905
10973
  * Component default props.
10906
10974
  */
10907
- const DEFAULT_PROPS$R = {};
10975
+ const DEFAULT_PROPS$S = {};
10908
10976
 
10909
10977
  /**
10910
10978
  * TableRow component.
@@ -10922,7 +10990,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
10922
10990
  isDisabled = disabled,
10923
10991
  isSelected
10924
10992
  } = props,
10925
- forwardedProps = _objectWithoutProperties(props, _excluded$18);
10993
+ forwardedProps = _objectWithoutProperties(props, _excluded$19);
10926
10994
  return /*#__PURE__*/React.createElement("tr", _extends({
10927
10995
  ref: ref,
10928
10996
  tabIndex: isClickable && !isDisabled ? 0 : -1
@@ -10931,17 +10999,17 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
10931
10999
  isClickable: isClickable && !isDisabled,
10932
11000
  isDisabled,
10933
11001
  isSelected: isSelected && !isDisabled,
10934
- prefix: CLASSNAME$12
11002
+ prefix: CLASSNAME$13
10935
11003
  })),
10936
11004
  "aria-disabled": isDisabled
10937
11005
  }), children);
10938
11006
  });
10939
- TableRow.displayName = COMPONENT_NAME$15;
10940
- TableRow.className = CLASSNAME$12;
10941
- TableRow.defaultProps = DEFAULT_PROPS$R;
11007
+ TableRow.displayName = COMPONENT_NAME$16;
11008
+ TableRow.className = CLASSNAME$13;
11009
+ TableRow.defaultProps = DEFAULT_PROPS$S;
10942
11010
 
10943
- const _excluded$19 = ["children", "onChange"];
10944
- const DEFAULT_PROPS$S = {
11011
+ const _excluded$1a = ["children", "onChange"];
11012
+ const DEFAULT_PROPS$T = {
10945
11013
  isLazy: INIT_STATE.isLazy,
10946
11014
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
10947
11015
  };
@@ -10960,7 +11028,7 @@ const TabProvider = props => {
10960
11028
  children,
10961
11029
  onChange
10962
11030
  } = props,
10963
- propState = _objectWithoutProperties(props, _excluded$19);
11031
+ propState = _objectWithoutProperties(props, _excluded$1a);
10964
11032
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
10965
11033
 
10966
11034
  // On prop state change => dispatch update.
@@ -10986,9 +11054,9 @@ const TabProvider = props => {
10986
11054
  value: [state, dispatch]
10987
11055
  }, children);
10988
11056
  };
10989
- TabProvider.defaultProps = DEFAULT_PROPS$S;
11057
+ TabProvider.defaultProps = DEFAULT_PROPS$T;
10990
11058
 
10991
- const _excluded$1a = ["aria-label", "children", "className", "layout", "position", "theme"];
11059
+ const _excluded$1b = ["aria-label", "children", "className", "layout", "position", "theme"];
10992
11060
  let TabListLayout;
10993
11061
 
10994
11062
  /**
@@ -11001,17 +11069,17 @@ let TabListLayout;
11001
11069
  /**
11002
11070
  * Component display name.
11003
11071
  */
11004
- const COMPONENT_NAME$16 = 'TabList';
11072
+ const COMPONENT_NAME$17 = 'TabList';
11005
11073
 
11006
11074
  /**
11007
11075
  * Component default class name and class prefix.
11008
11076
  */
11009
- const CLASSNAME$13 = `${CSS_PREFIX}-tabs`;
11077
+ const CLASSNAME$14 = `${CSS_PREFIX}-tabs`;
11010
11078
 
11011
11079
  /**
11012
11080
  * Component default props.
11013
11081
  */
11014
- const DEFAULT_PROPS$T = {
11082
+ const DEFAULT_PROPS$U = {
11015
11083
  layout: TabListLayout.fixed,
11016
11084
  position: Alignment.left,
11017
11085
  theme: Theme.light
@@ -11035,7 +11103,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
11035
11103
  position,
11036
11104
  theme
11037
11105
  } = props,
11038
- forwardedProps = _objectWithoutProperties(props, _excluded$1a);
11106
+ forwardedProps = _objectWithoutProperties(props, _excluded$1b);
11039
11107
  const tabListRef = React.useRef(null);
11040
11108
  useRovingTabIndex({
11041
11109
  parentRef: tabListRef,
@@ -11047,22 +11115,22 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
11047
11115
  ref: mergeRefs(ref, tabListRef)
11048
11116
  }, forwardedProps, {
11049
11117
  className: classnames(className, handleBasicClasses({
11050
- prefix: CLASSNAME$13,
11118
+ prefix: CLASSNAME$14,
11051
11119
  layout,
11052
11120
  position,
11053
11121
  theme
11054
11122
  }))
11055
11123
  }), /*#__PURE__*/React.createElement("div", {
11056
- className: `${CLASSNAME$13}__links`,
11124
+ className: `${CLASSNAME$14}__links`,
11057
11125
  role: "tablist",
11058
11126
  "aria-label": ariaLabel
11059
11127
  }, children));
11060
11128
  });
11061
- TabList.displayName = COMPONENT_NAME$16;
11062
- TabList.className = CLASSNAME$13;
11063
- TabList.defaultProps = DEFAULT_PROPS$T;
11129
+ TabList.displayName = COMPONENT_NAME$17;
11130
+ TabList.className = CLASSNAME$14;
11131
+ TabList.defaultProps = DEFAULT_PROPS$U;
11064
11132
 
11065
- const _excluded$1b = ["className", "disabled", "icon", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
11133
+ const _excluded$1c = ["className", "disabled", "icon", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
11066
11134
 
11067
11135
  /**
11068
11136
  * Defines the props of the component.
@@ -11071,17 +11139,17 @@ const _excluded$1b = ["className", "disabled", "icon", "id", "isActive", "isDisa
11071
11139
  /**
11072
11140
  * Component display name.
11073
11141
  */
11074
- const COMPONENT_NAME$17 = 'Tab';
11142
+ const COMPONENT_NAME$18 = 'Tab';
11075
11143
 
11076
11144
  /**
11077
11145
  * Component default class name and class prefix.
11078
11146
  */
11079
- const CLASSNAME$14 = `${CSS_PREFIX}-tabs__link`;
11147
+ const CLASSNAME$15 = `${CSS_PREFIX}-tabs__link`;
11080
11148
 
11081
11149
  /**
11082
11150
  * Component default props.
11083
11151
  */
11084
- const DEFAULT_PROPS$U = {};
11152
+ const DEFAULT_PROPS$V = {};
11085
11153
 
11086
11154
  /**
11087
11155
  * Tab component.
@@ -11105,7 +11173,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
11105
11173
  onKeyPress,
11106
11174
  tabIndex = -1
11107
11175
  } = props,
11108
- forwardedProps = _objectWithoutProperties(props, _excluded$1b);
11176
+ forwardedProps = _objectWithoutProperties(props, _excluded$1c);
11109
11177
  const state = useTabProviderContext('tab', id);
11110
11178
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
11111
11179
  const changeToCurrentTab = useCallback(() => {
@@ -11133,7 +11201,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
11133
11201
  type: "button",
11134
11202
  id: state === null || state === void 0 ? void 0 : state.tabId,
11135
11203
  className: classnames(className, handleBasicClasses({
11136
- prefix: CLASSNAME$14,
11204
+ prefix: CLASSNAME$15,
11137
11205
  isActive,
11138
11206
  isDisabled
11139
11207
  })),
@@ -11150,11 +11218,11 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
11150
11218
  size: Size.xs
11151
11219
  }), label && /*#__PURE__*/React.createElement("span", null, label));
11152
11220
  });
11153
- Tab.displayName = COMPONENT_NAME$17;
11154
- Tab.className = CLASSNAME$14;
11155
- Tab.defaultProps = DEFAULT_PROPS$U;
11221
+ Tab.displayName = COMPONENT_NAME$18;
11222
+ Tab.className = CLASSNAME$15;
11223
+ Tab.defaultProps = DEFAULT_PROPS$V;
11156
11224
 
11157
- const _excluded$1c = ["children", "id", "className", "isActive"];
11225
+ const _excluded$1d = ["children", "id", "className", "isActive"];
11158
11226
 
11159
11227
  /**
11160
11228
  * Defines the props of the component.
@@ -11163,17 +11231,17 @@ const _excluded$1c = ["children", "id", "className", "isActive"];
11163
11231
  /**
11164
11232
  * Component display name.
11165
11233
  */
11166
- const COMPONENT_NAME$18 = 'TabPanel';
11234
+ const COMPONENT_NAME$19 = 'TabPanel';
11167
11235
 
11168
11236
  /**
11169
11237
  * Component default class name and class prefix.
11170
11238
  */
11171
- const CLASSNAME$15 = `${CSS_PREFIX}-tab-panel`;
11239
+ const CLASSNAME$16 = `${CSS_PREFIX}-tab-panel`;
11172
11240
 
11173
11241
  /**
11174
11242
  * Component default props.
11175
11243
  */
11176
- const DEFAULT_PROPS$V = {};
11244
+ const DEFAULT_PROPS$W = {};
11177
11245
 
11178
11246
  /**
11179
11247
  * TabPanel component.
@@ -11191,7 +11259,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
11191
11259
  className,
11192
11260
  isActive: propIsActive
11193
11261
  } = props,
11194
- forwardedProps = _objectWithoutProperties(props, _excluded$1c);
11262
+ forwardedProps = _objectWithoutProperties(props, _excluded$1d);
11195
11263
  const state = useTabProviderContext('tabPanel', id);
11196
11264
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
11197
11265
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -11199,7 +11267,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
11199
11267
  }, forwardedProps, {
11200
11268
  id: state === null || state === void 0 ? void 0 : state.tabPanelId,
11201
11269
  className: classnames(className, handleBasicClasses({
11202
- prefix: CLASSNAME$15,
11270
+ prefix: CLASSNAME$16,
11203
11271
  isActive
11204
11272
  })),
11205
11273
  role: "tabpanel",
@@ -11207,11 +11275,11 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
11207
11275
  "aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
11208
11276
  }), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
11209
11277
  });
11210
- TabPanel.displayName = COMPONENT_NAME$18;
11211
- TabPanel.className = CLASSNAME$15;
11212
- TabPanel.defaultProps = DEFAULT_PROPS$V;
11278
+ TabPanel.displayName = COMPONENT_NAME$19;
11279
+ TabPanel.className = CLASSNAME$16;
11280
+ TabPanel.defaultProps = DEFAULT_PROPS$W;
11213
11281
 
11214
- const _excluded$1d = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name"],
11282
+ const _excluded$1e = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name"],
11215
11283
  _excluded2$3 = ["chips", "className", "clearButtonProps", "disabled", "error", "forceFocusStyle", "hasError", "helper", "icon", "id", "inputRef", "isDisabled", "isRequired", "isValid", "label", "maxLength", "minimumRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "textFieldRef", "theme", "type", "value", "afterElement"];
11216
11284
 
11217
11285
  /**
@@ -11221,12 +11289,12 @@ const _excluded$1d = ["id", "isDisabled", "isRequired", "placeholder", "multilin
11221
11289
  /**
11222
11290
  * Component display name.
11223
11291
  */
11224
- const COMPONENT_NAME$19 = 'TextField';
11292
+ const COMPONENT_NAME$1a = 'TextField';
11225
11293
 
11226
11294
  /**
11227
11295
  * Component default class name and class prefix.
11228
11296
  */
11229
- const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19);
11297
+ const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a);
11230
11298
 
11231
11299
  /**
11232
11300
  * Default minimum number of rows in the multiline mode.
@@ -11236,7 +11304,7 @@ const DEFAULT_MIN_ROWS = 2;
11236
11304
  /**
11237
11305
  * Component default props.
11238
11306
  */
11239
- const DEFAULT_PROPS$W = {
11307
+ const DEFAULT_PROPS$X = {
11240
11308
  theme: Theme.light,
11241
11309
  type: 'text'
11242
11310
  };
@@ -11294,7 +11362,7 @@ const renderInputNative = props => {
11294
11362
  type,
11295
11363
  name
11296
11364
  } = props,
11297
- forwardedProps = _objectWithoutProperties(props, _excluded$1d);
11365
+ forwardedProps = _objectWithoutProperties(props, _excluded$1e);
11298
11366
  // eslint-disable-next-line react-hooks/rules-of-hooks
11299
11367
  const ref = useRef(null);
11300
11368
 
@@ -11319,7 +11387,7 @@ const renderInputNative = props => {
11319
11387
  const Component = multiline ? 'textarea' : 'input';
11320
11388
  const inputProps = _objectSpread2(_objectSpread2({}, forwardedProps), {}, {
11321
11389
  id,
11322
- className: multiline ? `${CLASSNAME$16}__input-native ${CLASSNAME$16}__input-native--textarea` : `${CLASSNAME$16}__input-native ${CLASSNAME$16}__input-native--text`,
11390
+ className: multiline ? `${CLASSNAME$17}__input-native ${CLASSNAME$17}__input-native--textarea` : `${CLASSNAME$17}__input-native ${CLASSNAME$17}__input-native--text`,
11323
11391
  placeholder,
11324
11392
  value,
11325
11393
  name,
@@ -11413,31 +11481,31 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
11413
11481
  isDisabled,
11414
11482
  isFocus: isFocus || forceFocusStyle,
11415
11483
  isValid,
11416
- prefix: CLASSNAME$16,
11484
+ prefix: CLASSNAME$17,
11417
11485
  theme
11418
11486
  }))
11419
11487
  }, (label || maxLength) && /*#__PURE__*/React.createElement("div", {
11420
- className: `${CLASSNAME$16}__header`
11488
+ className: `${CLASSNAME$17}__header`
11421
11489
  }, label && /*#__PURE__*/React.createElement(InputLabel, {
11422
11490
  htmlFor: textFieldId,
11423
- className: `${CLASSNAME$16}__label`,
11491
+ className: `${CLASSNAME$17}__label`,
11424
11492
  isRequired: isRequired,
11425
11493
  theme: theme
11426
11494
  }, label), maxLength && /*#__PURE__*/React.createElement("div", {
11427
- className: `${CLASSNAME$16}__char-counter`
11495
+ className: `${CLASSNAME$17}__char-counter`
11428
11496
  }, /*#__PURE__*/React.createElement("span", null, maxLength - valueLength), maxLength - valueLength === 0 && /*#__PURE__*/React.createElement(Icon, {
11429
11497
  icon: mdiAlertCircle,
11430
11498
  size: Size.xxs
11431
11499
  }))), /*#__PURE__*/React.createElement("div", {
11432
- className: `${CLASSNAME$16}__wrapper`,
11500
+ className: `${CLASSNAME$17}__wrapper`,
11433
11501
  ref: textFieldRef
11434
11502
  }, icon && /*#__PURE__*/React.createElement(Icon, {
11435
- className: `${CLASSNAME$16}__input-icon`,
11503
+ className: `${CLASSNAME$17}__input-icon`,
11436
11504
  color: theme === Theme.dark ? 'light' : undefined,
11437
11505
  icon: icon,
11438
11506
  size: Size.xs
11439
11507
  }), chips && /*#__PURE__*/React.createElement("div", {
11440
- className: `${CLASSNAME$16}__chips`
11508
+ className: `${CLASSNAME$17}__chips`
11441
11509
  }, chips, renderInputNative(_objectSpread2({
11442
11510
  id: textFieldId,
11443
11511
  inputRef,
@@ -11456,7 +11524,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
11456
11524
  value,
11457
11525
  name
11458
11526
  }, forwardedProps))), !chips && /*#__PURE__*/React.createElement("div", {
11459
- className: `${CLASSNAME$16}__input-wrapper`
11527
+ className: `${CLASSNAME$17}__input-wrapper`
11460
11528
  }, renderInputNative(_objectSpread2({
11461
11529
  id: textFieldId,
11462
11530
  inputRef,
@@ -11475,12 +11543,12 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
11475
11543
  value,
11476
11544
  name
11477
11545
  }, forwardedProps))), (isValid || hasError) && /*#__PURE__*/React.createElement(Icon, {
11478
- className: `${CLASSNAME$16}__input-validity`,
11546
+ className: `${CLASSNAME$17}__input-validity`,
11479
11547
  color: theme === Theme.dark ? 'light' : undefined,
11480
11548
  icon: isValid ? mdiCheckCircle : mdiAlertCircle,
11481
11549
  size: Size.xxs
11482
11550
  }), clearButtonProps && isNotEmpty && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
11483
- className: `${CLASSNAME$16}__input-clear`,
11551
+ className: `${CLASSNAME$17}__input-clear`,
11484
11552
  icon: mdiCloseCircle,
11485
11553
  emphasis: Emphasis.low,
11486
11554
  size: Size.s,
@@ -11488,19 +11556,19 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
11488
11556
  onClick: onClear,
11489
11557
  type: "button"
11490
11558
  })), afterElement && /*#__PURE__*/React.createElement("div", {
11491
- className: `${CLASSNAME$16}__after-element`
11559
+ className: `${CLASSNAME$17}__after-element`
11492
11560
  }, afterElement)), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
11493
- className: `${CLASSNAME$16}__helper`,
11561
+ className: `${CLASSNAME$17}__helper`,
11494
11562
  kind: Kind.error,
11495
11563
  theme: theme
11496
11564
  }, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
11497
- className: `${CLASSNAME$16}__helper`,
11565
+ className: `${CLASSNAME$17}__helper`,
11498
11566
  theme: theme
11499
11567
  }, helper));
11500
11568
  });
11501
- TextField.displayName = COMPONENT_NAME$19;
11502
- TextField.className = CLASSNAME$16;
11503
- TextField.defaultProps = DEFAULT_PROPS$W;
11569
+ TextField.displayName = COMPONENT_NAME$1a;
11570
+ TextField.className = CLASSNAME$17;
11571
+ TextField.defaultProps = DEFAULT_PROPS$X;
11504
11572
 
11505
11573
  function getState(img, event) {
11506
11574
  // Error event occurred or image loaded empty.
@@ -11644,21 +11712,21 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
11644
11712
  return style;
11645
11713
  };
11646
11714
 
11647
- const _excluded$1e = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
11715
+ const _excluded$1f = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
11648
11716
  /**
11649
11717
  * Component display name.
11650
11718
  */
11651
- const COMPONENT_NAME$1a = 'Thumbnail';
11719
+ const COMPONENT_NAME$1b = 'Thumbnail';
11652
11720
 
11653
11721
  /**
11654
11722
  * Component default class name and class prefix.
11655
11723
  */
11656
- const CLASSNAME$17 = getRootClassName(COMPONENT_NAME$1a);
11724
+ const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b);
11657
11725
 
11658
11726
  /**
11659
11727
  * Component default props.
11660
11728
  */
11661
- const DEFAULT_PROPS$X = {
11729
+ const DEFAULT_PROPS$Y = {
11662
11730
  fallback: mdiImageBroken,
11663
11731
  loading: 'lazy',
11664
11732
  theme: Theme.light
@@ -11695,7 +11763,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
11695
11763
  linkProps,
11696
11764
  linkAs
11697
11765
  } = props,
11698
- forwardedProps = _objectWithoutProperties(props, _excluded$1e);
11766
+ forwardedProps = _objectWithoutProperties(props, _excluded$1f);
11699
11767
  const [imgElement, setImgElement] = useState();
11700
11768
 
11701
11769
  // Image loading state.
@@ -11734,7 +11802,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
11734
11802
  className: classnames(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className, handleBasicClasses({
11735
11803
  align,
11736
11804
  aspectRatio,
11737
- prefix: CLASSNAME$17,
11805
+ prefix: CLASSNAME$18,
11738
11806
  size,
11739
11807
  theme,
11740
11808
  variant,
@@ -11744,14 +11812,14 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
11744
11812
  hasCustomErrorFallback,
11745
11813
  isLoading,
11746
11814
  hasBadge: !!badge
11747
- }), fillHeight && `${CLASSNAME$17}--fill-height`)
11815
+ }), fillHeight && `${CLASSNAME$18}--fill-height`)
11748
11816
  }), /*#__PURE__*/React.createElement("div", {
11749
- className: `${CLASSNAME$17}__background`
11817
+ className: `${CLASSNAME$18}__background`
11750
11818
  }, /*#__PURE__*/React.createElement("img", _extends({}, imgProps, {
11751
11819
  style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), imageErrorStyle), focusPointStyle),
11752
11820
  ref: mergeRefs(setImgElement, propImgRef),
11753
11821
  className: classnames(handleBasicClasses({
11754
- prefix: `${CLASSNAME$17}__image`,
11822
+ prefix: `${CLASSNAME$18}__image`,
11755
11823
  isLoading,
11756
11824
  hasDefinedSize: Boolean((imgProps === null || imgProps === void 0 ? void 0 : imgProps.height) && imgProps.width)
11757
11825
  }), imgProps === null || imgProps === void 0 ? void 0 : imgProps.className),
@@ -11760,18 +11828,18 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
11760
11828
  alt: alt,
11761
11829
  loading: loading
11762
11830
  })), !isLoading && hasError && /*#__PURE__*/React.createElement("div", {
11763
- className: `${CLASSNAME$17}__fallback`
11831
+ className: `${CLASSNAME$18}__fallback`
11764
11832
  }, hasIconErrorFallback ? /*#__PURE__*/React.createElement(Icon, {
11765
11833
  icon: fallback,
11766
11834
  size: Size.xxs,
11767
11835
  theme: theme
11768
11836
  }) : fallback)), badge && /*#__PURE__*/React.cloneElement(badge, {
11769
- className: classnames(`${CLASSNAME$17}__badge`, badge.props.className)
11837
+ className: classnames(`${CLASSNAME$18}__badge`, badge.props.className)
11770
11838
  }));
11771
11839
  });
11772
- Thumbnail.displayName = COMPONENT_NAME$1a;
11773
- Thumbnail.className = CLASSNAME$17;
11774
- Thumbnail.defaultProps = DEFAULT_PROPS$X;
11840
+ Thumbnail.displayName = COMPONENT_NAME$1b;
11841
+ Thumbnail.className = CLASSNAME$18;
11842
+ Thumbnail.defaultProps = DEFAULT_PROPS$Y;
11775
11843
 
11776
11844
  /**
11777
11845
  * All available aspect ratios.
@@ -11791,7 +11859,7 @@ const ThumbnailVariant = {
11791
11859
  rounded: 'rounded'
11792
11860
  };
11793
11861
 
11794
- const _excluded$1f = ["after", "before", "className", "label"];
11862
+ const _excluded$1g = ["after", "before", "className", "label"];
11795
11863
 
11796
11864
  /**
11797
11865
  * Defines the props of the component.
@@ -11800,17 +11868,17 @@ const _excluded$1f = ["after", "before", "className", "label"];
11800
11868
  /**
11801
11869
  * Component display name.
11802
11870
  */
11803
- const COMPONENT_NAME$1b = 'Toolbar';
11871
+ const COMPONENT_NAME$1c = 'Toolbar';
11804
11872
 
11805
11873
  /**
11806
11874
  * Component default class name and class prefix.
11807
11875
  */
11808
- const CLASSNAME$18 = getRootClassName(COMPONENT_NAME$1b);
11876
+ const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c);
11809
11877
 
11810
11878
  /**
11811
11879
  * Component default props.
11812
11880
  */
11813
- const DEFAULT_PROPS$Y = {};
11881
+ const DEFAULT_PROPS$Z = {};
11814
11882
 
11815
11883
  /**
11816
11884
  * Toolbar component.
@@ -11826,7 +11894,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
11826
11894
  className,
11827
11895
  label
11828
11896
  } = props,
11829
- forwardedProps = _objectWithoutProperties(props, _excluded$1f);
11897
+ forwardedProps = _objectWithoutProperties(props, _excluded$1g);
11830
11898
  return /*#__PURE__*/React.createElement("div", _extends({
11831
11899
  ref: ref
11832
11900
  }, forwardedProps, {
@@ -11834,19 +11902,19 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
11834
11902
  hasAfter: Boolean(after),
11835
11903
  hasBefore: Boolean(before),
11836
11904
  hasLabel: Boolean(label),
11837
- prefix: CLASSNAME$18
11905
+ prefix: CLASSNAME$19
11838
11906
  }))
11839
11907
  }), before && /*#__PURE__*/React.createElement("div", {
11840
- className: `${CLASSNAME$18}__before`
11908
+ className: `${CLASSNAME$19}__before`
11841
11909
  }, before), label && /*#__PURE__*/React.createElement("div", {
11842
- className: `${CLASSNAME$18}__label`
11910
+ className: `${CLASSNAME$19}__label`
11843
11911
  }, label), after && /*#__PURE__*/React.createElement("div", {
11844
- className: `${CLASSNAME$18}__after`
11912
+ className: `${CLASSNAME$19}__after`
11845
11913
  }, after));
11846
11914
  });
11847
- Toolbar.displayName = COMPONENT_NAME$1b;
11848
- Toolbar.className = CLASSNAME$18;
11849
- Toolbar.defaultProps = DEFAULT_PROPS$Y;
11915
+ Toolbar.displayName = COMPONENT_NAME$1c;
11916
+ Toolbar.className = CLASSNAME$19;
11917
+ Toolbar.defaultProps = DEFAULT_PROPS$Z;
11850
11918
 
11851
11919
  /**
11852
11920
  * Add ref and ARIA attribute(s) in tooltip children or wrapped children.
@@ -11980,24 +12048,24 @@ function useTooltipOpen(delay, anchorElement) {
11980
12048
  return isOpen;
11981
12049
  }
11982
12050
 
11983
- const _excluded$1g = ["label", "children", "className", "delay", "placement", "forceOpen"];
12051
+ const _excluded$1h = ["label", "children", "className", "delay", "placement", "forceOpen"];
11984
12052
 
11985
12053
  /** Position of the tooltip relative to the anchor element. */
11986
12054
 
11987
12055
  /**
11988
12056
  * Component display name.
11989
12057
  */
11990
- const COMPONENT_NAME$1c = 'Tooltip';
12058
+ const COMPONENT_NAME$1d = 'Tooltip';
11991
12059
 
11992
12060
  /**
11993
12061
  * Component default class name and class prefix.
11994
12062
  */
11995
- const CLASSNAME$19 = getRootClassName(COMPONENT_NAME$1c);
12063
+ const CLASSNAME$1a = getRootClassName(COMPONENT_NAME$1d);
11996
12064
 
11997
12065
  /**
11998
12066
  * Component default props.
11999
12067
  */
12000
- const DEFAULT_PROPS$Z = {
12068
+ const DEFAULT_PROPS$_ = {
12001
12069
  placement: Placement.BOTTOM
12002
12070
  };
12003
12071
 
@@ -12023,7 +12091,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
12023
12091
  placement,
12024
12092
  forceOpen
12025
12093
  } = props,
12026
- forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12094
+ forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12027
12095
  // Disable in SSR or without a label.
12028
12096
  if (!DOCUMENT || !label) {
12029
12097
  return /*#__PURE__*/React.createElement(React.Fragment, null, children);
@@ -12053,23 +12121,23 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
12053
12121
  role: "tooltip",
12054
12122
  "aria-label": label,
12055
12123
  className: classnames(className, handleBasicClasses({
12056
- prefix: CLASSNAME$19,
12124
+ prefix: CLASSNAME$1a,
12057
12125
  position
12058
12126
  })),
12059
12127
  style: styles.popper
12060
12128
  }, attributes.popper), /*#__PURE__*/React.createElement("div", {
12061
- className: `${CLASSNAME$19}__arrow`
12129
+ className: `${CLASSNAME$1a}__arrow`
12062
12130
  }), /*#__PURE__*/React.createElement("div", {
12063
- className: `${CLASSNAME$19}__inner`
12131
+ className: `${CLASSNAME$1a}__inner`
12064
12132
  }, label.indexOf('\n') !== -1 ? label.split('\n').map(sentence => /*#__PURE__*/React.createElement("p", {
12065
12133
  key: sentence
12066
12134
  }, sentence)) : label)), document.body));
12067
12135
  });
12068
- Tooltip.displayName = COMPONENT_NAME$1c;
12069
- Tooltip.className = CLASSNAME$19;
12070
- Tooltip.defaultProps = DEFAULT_PROPS$Z;
12136
+ Tooltip.displayName = COMPONENT_NAME$1d;
12137
+ Tooltip.className = CLASSNAME$1a;
12138
+ Tooltip.defaultProps = DEFAULT_PROPS$_;
12071
12139
 
12072
- const _excluded$1h = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant"];
12140
+ const _excluded$1i = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant"];
12073
12141
 
12074
12142
  /**
12075
12143
  * Uploader variants.
@@ -12082,17 +12150,17 @@ const UploaderVariant = {
12082
12150
  /**
12083
12151
  * Component display name.
12084
12152
  */
12085
- const COMPONENT_NAME$1d = 'Uploader';
12153
+ const COMPONENT_NAME$1e = 'Uploader';
12086
12154
 
12087
12155
  /**
12088
12156
  * Component default class name and class prefix.
12089
12157
  */
12090
- const CLASSNAME$1a = getRootClassName(COMPONENT_NAME$1d);
12158
+ const CLASSNAME$1b = getRootClassName(COMPONENT_NAME$1e);
12091
12159
 
12092
12160
  /**
12093
12161
  * Component default props.
12094
12162
  */
12095
- const DEFAULT_PROPS$_ = {
12163
+ const DEFAULT_PROPS$$ = {
12096
12164
  aspectRatio: AspectRatio.horizontal,
12097
12165
  size: Size.xl,
12098
12166
  theme: Theme.light,
@@ -12116,7 +12184,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
12116
12184
  theme,
12117
12185
  variant
12118
12186
  } = props,
12119
- forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12187
+ forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12120
12188
  // Adjust to square aspect ratio when using circle variants.
12121
12189
  const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
12122
12190
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -12124,43 +12192,43 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
12124
12192
  }, forwardedProps, {
12125
12193
  className: classnames(className, handleBasicClasses({
12126
12194
  aspectRatio: adjustedAspectRatio,
12127
- prefix: CLASSNAME$1a,
12195
+ prefix: CLASSNAME$1b,
12128
12196
  size,
12129
12197
  theme,
12130
12198
  variant
12131
12199
  }))
12132
12200
  }), /*#__PURE__*/React.createElement("div", {
12133
- className: `${CLASSNAME$1a}__background`
12201
+ className: `${CLASSNAME$1b}__background`
12134
12202
  }), /*#__PURE__*/React.createElement("div", {
12135
- className: `${CLASSNAME$1a}__wrapper`
12203
+ className: `${CLASSNAME$1b}__wrapper`
12136
12204
  }, icon && /*#__PURE__*/React.createElement("div", {
12137
- className: `${CLASSNAME$1a}__icon`
12205
+ className: `${CLASSNAME$1b}__icon`
12138
12206
  }, /*#__PURE__*/React.createElement(Icon, {
12139
12207
  icon: icon,
12140
12208
  size: Size.s
12141
12209
  })), label && /*#__PURE__*/React.createElement("span", {
12142
- className: `${CLASSNAME$1a}__label`
12210
+ className: `${CLASSNAME$1b}__label`
12143
12211
  }, label)));
12144
12212
  });
12145
- Uploader.displayName = COMPONENT_NAME$1d;
12146
- Uploader.className = CLASSNAME$1a;
12147
- Uploader.defaultProps = DEFAULT_PROPS$_;
12213
+ Uploader.displayName = COMPONENT_NAME$1e;
12214
+ Uploader.className = CLASSNAME$1b;
12215
+ Uploader.defaultProps = DEFAULT_PROPS$$;
12148
12216
 
12149
- const _excluded$1i = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
12217
+ const _excluded$1j = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
12150
12218
  /**
12151
12219
  * Component display name.
12152
12220
  */
12153
- const COMPONENT_NAME$1e = 'UserBlock';
12221
+ const COMPONENT_NAME$1f = 'UserBlock';
12154
12222
 
12155
12223
  /**
12156
12224
  * Component default class name and class prefix.
12157
12225
  */
12158
- const CLASSNAME$1b = getRootClassName(COMPONENT_NAME$1e);
12226
+ const CLASSNAME$1c = getRootClassName(COMPONENT_NAME$1f);
12159
12227
 
12160
12228
  /**
12161
12229
  * Component default props.
12162
12230
  */
12163
- const DEFAULT_PROPS$$ = {
12231
+ const DEFAULT_PROPS$10 = {
12164
12232
  orientation: Orientation.horizontal,
12165
12233
  size: Size.m,
12166
12234
  theme: Theme.light
@@ -12191,7 +12259,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
12191
12259
  size,
12192
12260
  theme
12193
12261
  } = props,
12194
- forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12262
+ forwardedProps = _objectWithoutProperties(props, _excluded$1j);
12195
12263
  let componentSize = size;
12196
12264
 
12197
12265
  // Special case - When using vertical orientation force the size to be Sizes.l.
@@ -12207,7 +12275,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
12207
12275
  }
12208
12276
  let NameComponent = 'span';
12209
12277
  const nProps = _objectSpread2(_objectSpread2({}, nameProps), {}, {
12210
- className: classnames(`${CLASSNAME$1b}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
12278
+ className: classnames(`${CLASSNAME$1c}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
12211
12279
  });
12212
12280
  if (isClickable) {
12213
12281
  NameComponent = Link;
@@ -12224,16 +12292,16 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
12224
12292
  return /*#__PURE__*/React.createElement(NameComponent, nProps, name);
12225
12293
  }, [avatarProps, isClickable, linkAs, linkProps, name, nameProps, onClick]);
12226
12294
  const fieldsBlock = fields && componentSize !== Size.s && /*#__PURE__*/React.createElement("div", {
12227
- className: `${CLASSNAME$1b}__fields`
12295
+ className: `${CLASSNAME$1c}__fields`
12228
12296
  }, fields.map((field, idx) => /*#__PURE__*/React.createElement("span", {
12229
12297
  key: idx,
12230
- className: `${CLASSNAME$1b}__field`
12298
+ className: `${CLASSNAME$1c}__field`
12231
12299
  }, field)));
12232
12300
  return /*#__PURE__*/React.createElement("div", _extends({
12233
12301
  ref: ref
12234
12302
  }, forwardedProps, {
12235
12303
  className: classnames(className, handleBasicClasses({
12236
- prefix: CLASSNAME$1b,
12304
+ prefix: CLASSNAME$1c,
12237
12305
  orientation,
12238
12306
  size: componentSize,
12239
12307
  theme,
@@ -12246,21 +12314,21 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
12246
12314
  linkProps: linkProps,
12247
12315
  alt: ""
12248
12316
  }, avatarProps, {
12249
- className: classnames(`${CLASSNAME$1b}__avatar`, avatarProps.className),
12317
+ className: classnames(`${CLASSNAME$1c}__avatar`, avatarProps.className),
12250
12318
  size: componentSize,
12251
12319
  onClick: onClick,
12252
12320
  theme: theme
12253
12321
  })), (fields || name) && /*#__PURE__*/React.createElement("div", {
12254
- className: `${CLASSNAME$1b}__wrapper`
12322
+ className: `${CLASSNAME$1c}__wrapper`
12255
12323
  }, nameBlock, fieldsBlock), shouldDisplayActions && simpleAction && /*#__PURE__*/React.createElement("div", {
12256
- className: `${CLASSNAME$1b}__action`
12324
+ className: `${CLASSNAME$1c}__action`
12257
12325
  }, simpleAction), shouldDisplayActions && multipleActions && /*#__PURE__*/React.createElement("div", {
12258
- className: `${CLASSNAME$1b}__actions`
12326
+ className: `${CLASSNAME$1c}__actions`
12259
12327
  }, multipleActions));
12260
12328
  });
12261
- UserBlock.displayName = COMPONENT_NAME$1e;
12262
- UserBlock.className = CLASSNAME$1b;
12263
- UserBlock.defaultProps = DEFAULT_PROPS$$;
12329
+ UserBlock.displayName = COMPONENT_NAME$1f;
12330
+ UserBlock.className = CLASSNAME$1c;
12331
+ UserBlock.defaultProps = DEFAULT_PROPS$10;
12264
12332
 
12265
- 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, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, InlineList, InputHelper, InputLabel, Kind, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Notification, Orientation, Placement, Popover, PostBlock, Progress, 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, ThumbnailVariant, Toolbar, Tooltip, Typography, TypographyCustom, TypographyInterface, TypographyTitleCustom, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel };
12333
+ 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, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, InlineList, InputHelper, InputLabel, Kind, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Notification, Orientation, Placement, Popover, PopoverDialog, PostBlock, Progress, 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, ThumbnailVariant, Toolbar, Tooltip, Typography, TypographyCustom, TypographyInterface, TypographyTitleCustom, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel };
12266
12334
  //# sourceMappingURL=index.js.map