@lumx/react 3.0.6-alpha.2 → 3.0.7-alpha.0

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