@lumx/react 3.7.6-alpha.0 → 3.7.6-alpha.2

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
@@ -8313,6 +8313,8 @@ async function startViewTransition(_ref) {
8313
8313
  /** Find image in element including the element */
8314
8314
  const findImage = element => element !== null && element !== void 0 && element.matches('img') ? element : element === null || element === void 0 ? void 0 : element.querySelector('img');
8315
8315
 
8316
+ const _excluded$A = ["images"];
8317
+
8316
8318
  /** Subset of the ImageLightboxProps managed by the useImageLightbox hook */
8317
8319
 
8318
8320
  const EMPTY_PROPS = {
@@ -8328,10 +8330,17 @@ const EMPTY_PROPS = {
8328
8330
  * - Associate a trigger with an image to display on open
8329
8331
  * - Automatically provide a view transition between an image trigger and the displayed image on open & close
8330
8332
  *
8331
- * @param images Images to display in the image lightbox
8333
+ * @param initialProps Images to display in the image lightbox
8332
8334
  */
8333
- function useImageLightbox() {
8334
- let images = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
8335
+ function useImageLightbox(initialProps) {
8336
+ const {
8337
+ images = []
8338
+ } = initialProps,
8339
+ otherProps = _objectWithoutProperties(initialProps, _excluded$A);
8340
+ const basePropsRef = React.useRef(EMPTY_PROPS);
8341
+ React.useEffect(() => {
8342
+ basePropsRef.current = _objectSpread2(_objectSpread2({}, EMPTY_PROPS), otherProps);
8343
+ }, [otherProps]);
8335
8344
  const imagesPropsRef = React.useRef(images);
8336
8345
  React.useEffect(() => {
8337
8346
  imagesPropsRef.current = images.map(props => _objectSpread2({
@@ -8339,7 +8348,7 @@ function useImageLightbox() {
8339
8348
  }, props));
8340
8349
  }, [images]);
8341
8350
  const currentImageRef = React.useRef(null);
8342
- const [imageLightboxProps, setImageLightboxProps] = React.useState(EMPTY_PROPS);
8351
+ const [imageLightboxProps, setImageLightboxProps] = React.useState(basePropsRef.current);
8343
8352
  const getTriggerProps = React.useMemo(() => {
8344
8353
  const triggerImageRefs = {};
8345
8354
  async function closeLightbox() {
@@ -8360,7 +8369,7 @@ function useImageLightbox() {
8360
8369
  let {
8361
8370
  parentElement
8362
8371
  } = _ref2;
8363
- return _objectSpread2(_objectSpread2({}, EMPTY_PROPS), {}, {
8372
+ return _objectSpread2(_objectSpread2({}, basePropsRef.current), {}, {
8364
8373
  parentElement
8365
8374
  });
8366
8375
  });
@@ -8396,7 +8405,7 @@ function useImageLightbox() {
8396
8405
  await startViewTransition({
8397
8406
  changes: () => {
8398
8407
  // Open lightbox with setup props
8399
- setImageLightboxProps({
8408
+ setImageLightboxProps(_objectSpread2(_objectSpread2({}, basePropsRef.current), {}, {
8400
8409
  activeImageRef: currentImageRef,
8401
8410
  parentElement: {
8402
8411
  current: triggerElement
@@ -8405,7 +8414,7 @@ function useImageLightbox() {
8405
8414
  onClose: closeLightbox,
8406
8415
  images: imagesWithFallbackSize,
8407
8416
  activeImageIndex: index || 0
8408
- });
8417
+ }));
8409
8418
  },
8410
8419
  // Morph from the image in trigger to the image in lightbox
8411
8420
  viewTransitionName: {
@@ -8433,7 +8442,7 @@ function useImageLightbox() {
8433
8442
  };
8434
8443
  }
8435
8444
 
8436
- const _excluded$A = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8445
+ const _excluded$B = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8437
8446
  const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8438
8447
  const {
8439
8448
  className,
@@ -8449,7 +8458,7 @@ const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8449
8458
  zoomInButtonProps,
8450
8459
  activeImageRef: propImageRef
8451
8460
  } = props,
8452
- forwardedProps = _objectWithoutProperties(props, _excluded$A);
8461
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
8453
8462
  const currentPaginationItemRef = React.useRef(null);
8454
8463
  const footerRef = React.useRef(null);
8455
8464
  const imageRef = React.useRef(null);
@@ -8491,7 +8500,7 @@ const ImageLightbox = Object.assign(Inner, {
8491
8500
  useImageLightbox
8492
8501
  });
8493
8502
 
8494
- const _excluded$B = ["className", "color", "colorVariant", "typography", "children", "wrap"];
8503
+ const _excluded$C = ["className", "color", "colorVariant", "typography", "children", "wrap"];
8495
8504
 
8496
8505
  /**
8497
8506
  * Defines the props of the component.
@@ -8528,7 +8537,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
8528
8537
  children,
8529
8538
  wrap
8530
8539
  } = props,
8531
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
8540
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
8532
8541
  const fontColorClassName = color && getFontColorClassName(color, colorVariant);
8533
8542
  const typographyClassName = typography && getTypographyClassName(typography);
8534
8543
  return (
@@ -8574,7 +8583,7 @@ const INPUT_HELPER_CONFIGURATION = {
8574
8583
  }
8575
8584
  };
8576
8585
 
8577
- const _excluded$C = ["children", "className", "kind", "theme"];
8586
+ const _excluded$D = ["children", "className", "kind", "theme"];
8578
8587
 
8579
8588
  /**
8580
8589
  * Defines the props of the component.
@@ -8612,7 +8621,7 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
8612
8621
  kind,
8613
8622
  theme
8614
8623
  } = props,
8615
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
8624
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
8616
8625
  const {
8617
8626
  color
8618
8627
  } = INPUT_HELPER_CONFIGURATION[kind] || {};
@@ -8630,7 +8639,7 @@ InputHelper.displayName = COMPONENT_NAME$A;
8630
8639
  InputHelper.className = CLASSNAME$x;
8631
8640
  InputHelper.defaultProps = DEFAULT_PROPS$s;
8632
8641
 
8633
- const _excluded$D = ["children", "className", "htmlFor", "isRequired", "theme"];
8642
+ const _excluded$E = ["children", "className", "htmlFor", "isRequired", "theme"];
8634
8643
 
8635
8644
  /**
8636
8645
  * Defines the props of the component.
@@ -8668,7 +8677,7 @@ const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
8668
8677
  isRequired,
8669
8678
  theme
8670
8679
  } = props,
8671
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
8680
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
8672
8681
  return /*#__PURE__*/React.createElement("label", _extends({
8673
8682
  ref: ref
8674
8683
  }, forwardedProps, {
@@ -8684,7 +8693,7 @@ InputLabel.displayName = COMPONENT_NAME$B;
8684
8693
  InputLabel.className = CLASSNAME$y;
8685
8694
  InputLabel.defaultProps = DEFAULT_PROPS$t;
8686
8695
 
8687
- const _excluded$E = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8696
+ const _excluded$F = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8688
8697
 
8689
8698
  /**
8690
8699
  * Defines the props of the component.
@@ -8724,7 +8733,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8724
8733
  theme,
8725
8734
  zIndex
8726
8735
  } = props,
8727
- forwardedProps = _objectWithoutProperties(props, _excluded$E);
8736
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
8728
8737
  if (!DOCUMENT) {
8729
8738
  // Can't render in SSR.
8730
8739
  return null;
@@ -8815,7 +8824,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8815
8824
  Lightbox.displayName = COMPONENT_NAME$C;
8816
8825
  Lightbox.className = CLASSNAME$z;
8817
8826
 
8818
- const _excluded$F = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8827
+ const _excluded$G = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8819
8828
 
8820
8829
  /**
8821
8830
  * Defines the props of the component.
@@ -8878,7 +8887,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8878
8887
  target,
8879
8888
  typography
8880
8889
  } = props,
8881
- forwardedProps = _objectWithoutProperties(props, _excluded$F);
8890
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
8882
8891
  const renderedChildren = useMemo(() => /*#__PURE__*/React.createElement(React.Fragment, null, leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
8883
8892
  icon: leftIcon,
8884
8893
  className: `${CLASSNAME$A}__left-icon`,
@@ -8926,7 +8935,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8926
8935
  Link.displayName = COMPONENT_NAME$D;
8927
8936
  Link.className = CLASSNAME$A;
8928
8937
 
8929
- const _excluded$G = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8938
+ const _excluded$H = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
8930
8939
 
8931
8940
  /**
8932
8941
  * Defines the props of the component.
@@ -8971,7 +8980,7 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
8971
8980
  title,
8972
8981
  titleHeading
8973
8982
  } = props,
8974
- forwardedProps = _objectWithoutProperties(props, _excluded$G);
8983
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
8975
8984
  // Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
8976
8985
  const TitleHeading = titleHeading;
8977
8986
  return /*#__PURE__*/React.createElement("article", _extends({
@@ -9026,7 +9035,7 @@ LinkPreview.displayName = COMPONENT_NAME$E;
9026
9035
  LinkPreview.className = CLASSNAME$B;
9027
9036
  LinkPreview.defaultProps = DEFAULT_PROPS$u;
9028
9037
 
9029
- const _excluded$H = ["className"];
9038
+ const _excluded$I = ["className"];
9030
9039
 
9031
9040
  /**
9032
9041
  * Defines the props of the component.
@@ -9053,7 +9062,7 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
9053
9062
  const {
9054
9063
  className
9055
9064
  } = props,
9056
- forwardedProps = _objectWithoutProperties(props, _excluded$H);
9065
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
9057
9066
  return /*#__PURE__*/React.createElement("li", _extends({
9058
9067
  ref: ref
9059
9068
  }, forwardedProps, {
@@ -9065,7 +9074,7 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
9065
9074
  ListDivider.displayName = COMPONENT_NAME$F;
9066
9075
  ListDivider.className = CLASSNAME$C;
9067
9076
 
9068
- const _excluded$I = ["children", "className"];
9077
+ const _excluded$J = ["children", "className"];
9069
9078
 
9070
9079
  /**
9071
9080
  * Defines the props of the component.
@@ -9093,7 +9102,7 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
9093
9102
  children,
9094
9103
  className
9095
9104
  } = props,
9096
- forwardedProps = _objectWithoutProperties(props, _excluded$I);
9105
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
9097
9106
  return /*#__PURE__*/React.createElement("li", _extends({
9098
9107
  ref: ref
9099
9108
  }, forwardedProps, {
@@ -9105,7 +9114,7 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
9105
9114
  ListSubheader.displayName = COMPONENT_NAME$G;
9106
9115
  ListSubheader.className = CLASSNAME$D;
9107
9116
 
9108
- const _excluded$J = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9117
+ const _excluded$K = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9109
9118
 
9110
9119
  /**
9111
9120
  * Defines the props of the component.
@@ -9159,7 +9168,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
9159
9168
  icon: customIcon,
9160
9169
  closeButtonProps
9161
9170
  } = props,
9162
- forwardedProps = _objectWithoutProperties(props, _excluded$J);
9171
+ forwardedProps = _objectWithoutProperties(props, _excluded$K);
9163
9172
  const {
9164
9173
  color,
9165
9174
  icon
@@ -9194,7 +9203,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
9194
9203
  Message.displayName = COMPONENT_NAME$H;
9195
9204
  Message.className = CLASSNAME$E;
9196
9205
 
9197
- const _excluded$K = ["className", "theme", "thumbnails", "onImageClick"],
9206
+ const _excluded$L = ["className", "theme", "thumbnails", "onImageClick"],
9198
9207
  _excluded2$1 = ["image", "onClick", "align"];
9199
9208
 
9200
9209
  /**
@@ -9232,7 +9241,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
9232
9241
  thumbnails,
9233
9242
  onImageClick
9234
9243
  } = props,
9235
- forwardedProps = _objectWithoutProperties(props, _excluded$K);
9244
+ forwardedProps = _objectWithoutProperties(props, _excluded$L);
9236
9245
  const handleImageClick = useMemo(() => {
9237
9246
  if (!onImageClick) return undefined;
9238
9247
  return (index, onClick) => event => {
@@ -9287,7 +9296,7 @@ function forwardRefPolymorphic(render) {
9287
9296
  return /*#__PURE__*/React.forwardRef(render);
9288
9297
  }
9289
9298
 
9290
- const _excluded$L = ["className", "icon", "label", "isCurrentPage", "as"];
9299
+ const _excluded$M = ["className", "icon", "label", "isCurrentPage", "as"];
9291
9300
 
9292
9301
  /** Make `href` required when `as` is `a` */
9293
9302
 
@@ -9312,7 +9321,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
9312
9321
  isCurrentPage,
9313
9322
  as: Element = 'a'
9314
9323
  } = props,
9315
- forwardedProps = _objectWithoutProperties(props, _excluded$L);
9324
+ forwardedProps = _objectWithoutProperties(props, _excluded$M);
9316
9325
  const theme = useContext(ThemeContext);
9317
9326
  const {
9318
9327
  tooltipLabel,
@@ -9356,7 +9365,7 @@ const NavigationContext = /*#__PURE__*/createContext({
9356
9365
  orientation: Orientation.vertical
9357
9366
  });
9358
9367
 
9359
- const _excluded$M = ["children", "className", "label", "icon"];
9368
+ const _excluded$N = ["children", "className", "label", "icon"];
9360
9369
  /**
9361
9370
  * Component display name.
9362
9371
  */
@@ -9373,7 +9382,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9373
9382
  label,
9374
9383
  icon
9375
9384
  } = props,
9376
- forwardedProps = _objectWithoutProperties(props, _excluded$M);
9385
+ forwardedProps = _objectWithoutProperties(props, _excluded$N);
9377
9386
  const [isOpen, setIsOpen] = useState(false);
9378
9387
  const buttonRef = useRef(null);
9379
9388
  const sectionId = useMemo(() => uniqueId('section'), []);
@@ -9438,7 +9447,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9438
9447
  className: CLASSNAME$H
9439
9448
  });
9440
9449
 
9441
- const _excluded$N = ["children", "className", "theme", "orientation"];
9450
+ const _excluded$O = ["children", "className", "theme", "orientation"];
9442
9451
  /**
9443
9452
  * Component display name.
9444
9453
  */
@@ -9458,7 +9467,7 @@ forwardRef((props, ref) => {
9458
9467
  theme,
9459
9468
  orientation
9460
9469
  } = props,
9461
- forwardedProps = _objectWithoutProperties(props, _excluded$N);
9470
+ forwardedProps = _objectWithoutProperties(props, _excluded$O);
9462
9471
  return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
9463
9472
  value: theme
9464
9473
  }, /*#__PURE__*/React.createElement("nav", _extends({
@@ -9509,7 +9518,7 @@ const NOTIFICATION_CONFIGURATION = {
9509
9518
  }
9510
9519
  };
9511
9520
 
9512
- const _excluded$O = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9521
+ const _excluded$P = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9513
9522
 
9514
9523
  /**
9515
9524
  * Defines the props of the component.
@@ -9556,7 +9565,7 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
9556
9565
  usePortal,
9557
9566
  style
9558
9567
  } = props,
9559
- forwardedProps = _objectWithoutProperties(props, _excluded$O);
9568
+ forwardedProps = _objectWithoutProperties(props, _excluded$P);
9560
9569
  if (!DOCUMENT) {
9561
9570
  // Can't render in SSR.
9562
9571
  return null;
@@ -9614,7 +9623,7 @@ Notification.displayName = COMPONENT_NAME$M;
9614
9623
  Notification.className = CLASSNAME$J;
9615
9624
  Notification.defaultProps = DEFAULT_PROPS$w;
9616
9625
 
9617
- const _excluded$P = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9626
+ const _excluded$Q = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9618
9627
 
9619
9628
  /**
9620
9629
  * PopoverDialog props.
@@ -9652,7 +9661,7 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
9652
9661
  label = ariaLabel,
9653
9662
  className
9654
9663
  } = props,
9655
- forwardedProps = _objectWithoutProperties(props, _excluded$P);
9664
+ forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9656
9665
  return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
9657
9666
  ref: ref,
9658
9667
  className: classnames(className, handleBasicClasses({
@@ -9676,7 +9685,7 @@ PopoverDialog.displayName = COMPONENT_NAME$N;
9676
9685
  PopoverDialog.className = CLASSNAME$K;
9677
9686
  PopoverDialog.defaultProps = DEFAULT_PROPS$x;
9678
9687
 
9679
- const _excluded$Q = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9688
+ const _excluded$R = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9680
9689
 
9681
9690
  /**
9682
9691
  * Defines the props of the component.
@@ -9722,7 +9731,7 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
9722
9731
  thumbnailProps,
9723
9732
  title
9724
9733
  } = props,
9725
- forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9734
+ forwardedProps = _objectWithoutProperties(props, _excluded$R);
9726
9735
  return /*#__PURE__*/React.createElement("div", _extends({
9727
9736
  ref: ref,
9728
9737
  className: classnames(className, handleBasicClasses({
@@ -9767,7 +9776,7 @@ PostBlock.displayName = COMPONENT_NAME$O;
9767
9776
  PostBlock.className = CLASSNAME$L;
9768
9777
  PostBlock.defaultProps = DEFAULT_PROPS$y;
9769
9778
 
9770
- const _excluded$R = ["className", "theme"];
9779
+ const _excluded$S = ["className", "theme"];
9771
9780
  /**
9772
9781
  * Component display name.
9773
9782
  */
@@ -9797,7 +9806,7 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9797
9806
  className,
9798
9807
  theme
9799
9808
  } = props,
9800
- forwardedProps = _objectWithoutProperties(props, _excluded$R);
9809
+ forwardedProps = _objectWithoutProperties(props, _excluded$S);
9801
9810
  return /*#__PURE__*/React.createElement("div", _extends({
9802
9811
  ref: ref
9803
9812
  }, forwardedProps, {
@@ -9815,7 +9824,7 @@ ProgressLinear.displayName = COMPONENT_NAME$P;
9815
9824
  ProgressLinear.className = CLASSNAME$M;
9816
9825
  ProgressLinear.defaultProps = DEFAULT_PROPS$z;
9817
9826
 
9818
- const _excluded$S = ["className", "theme", "size"];
9827
+ const _excluded$T = ["className", "theme", "size"];
9819
9828
 
9820
9829
  /**
9821
9830
  * Progress sizes.
@@ -9856,7 +9865,7 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9856
9865
  theme,
9857
9866
  size
9858
9867
  } = props,
9859
- forwardedProps = _objectWithoutProperties(props, _excluded$S);
9868
+ forwardedProps = _objectWithoutProperties(props, _excluded$T);
9860
9869
  return /*#__PURE__*/React.createElement("div", _extends({
9861
9870
  ref: ref
9862
9871
  }, forwardedProps, {
@@ -9885,7 +9894,7 @@ ProgressCircular.displayName = COMPONENT_NAME$Q;
9885
9894
  ProgressCircular.className = CLASSNAME$N;
9886
9895
  ProgressCircular.defaultProps = DEFAULT_PROPS$A;
9887
9896
 
9888
- const _excluded$T = ["className", "theme", "variant"];
9897
+ const _excluded$U = ["className", "theme", "variant"];
9889
9898
 
9890
9899
  /**
9891
9900
  * Progress variants.
@@ -9931,7 +9940,7 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
9931
9940
  theme,
9932
9941
  variant
9933
9942
  } = props,
9934
- forwardedProps = _objectWithoutProperties(props, _excluded$T);
9943
+ forwardedProps = _objectWithoutProperties(props, _excluded$U);
9935
9944
  return /*#__PURE__*/React.createElement("div", _extends({
9936
9945
  ref: ref
9937
9946
  }, forwardedProps, {
@@ -10069,7 +10078,7 @@ const useTabProviderContextState = () => {
10069
10078
  return context === null || context === void 0 ? void 0 : context[0];
10070
10079
  };
10071
10080
 
10072
- const _excluded$U = ["children", "onChange"];
10081
+ const _excluded$V = ["children", "onChange"];
10073
10082
  const DEFAULT_PROPS$C = {
10074
10083
  isLazy: INIT_STATE.isLazy,
10075
10084
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -10091,7 +10100,7 @@ const ProgressTrackerProvider = props => {
10091
10100
  children,
10092
10101
  onChange
10093
10102
  } = props,
10094
- propState = _objectWithoutProperties(props, _excluded$U);
10103
+ propState = _objectWithoutProperties(props, _excluded$V);
10095
10104
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
10096
10105
 
10097
10106
  // On prop state change => dispatch update.
@@ -10195,7 +10204,7 @@ const useRovingTabIndex = _ref => {
10195
10204
  [parentRef, ...extraDependencies]);
10196
10205
  };
10197
10206
 
10198
- const _excluded$V = ["aria-label", "children", "className"];
10207
+ const _excluded$W = ["aria-label", "children", "className"];
10199
10208
 
10200
10209
  /**
10201
10210
  * Defines the props of the component.
@@ -10232,7 +10241,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
10232
10241
  children,
10233
10242
  className
10234
10243
  } = props,
10235
- forwardedProps = _objectWithoutProperties(props, _excluded$V);
10244
+ forwardedProps = _objectWithoutProperties(props, _excluded$W);
10236
10245
  const stepListRef = React.useRef(null);
10237
10246
  useRovingTabIndex({
10238
10247
  parentRef: stepListRef,
@@ -10273,7 +10282,7 @@ ProgressTracker.displayName = COMPONENT_NAME$S;
10273
10282
  ProgressTracker.className = CLASSNAME$P;
10274
10283
  ProgressTracker.defaultProps = DEFAULT_PROPS$D;
10275
10284
 
10276
- const _excluded$W = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10285
+ const _excluded$X = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10277
10286
 
10278
10287
  /**
10279
10288
  * Defines the props of the component.
@@ -10318,7 +10327,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
10318
10327
  onKeyPress,
10319
10328
  tabIndex = -1
10320
10329
  } = props,
10321
- forwardedProps = _objectWithoutProperties(props, _excluded$W);
10330
+ forwardedProps = _objectWithoutProperties(props, _excluded$X);
10322
10331
  const state = useTabProviderContext('tab', id);
10323
10332
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
10324
10333
  const changeToCurrentTab = useCallback(() => {
@@ -10385,7 +10394,7 @@ ProgressTrackerStep.displayName = COMPONENT_NAME$T;
10385
10394
  ProgressTrackerStep.className = CLASSNAME$Q;
10386
10395
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$E;
10387
10396
 
10388
- const _excluded$X = ["children", "id", "className", "isActive"];
10397
+ const _excluded$Y = ["children", "id", "className", "isActive"];
10389
10398
 
10390
10399
  /**
10391
10400
  * Defines the props of the component.
@@ -10422,7 +10431,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
10422
10431
  className,
10423
10432
  isActive: propIsActive
10424
10433
  } = props,
10425
- forwardedProps = _objectWithoutProperties(props, _excluded$X);
10434
+ forwardedProps = _objectWithoutProperties(props, _excluded$Y);
10426
10435
  const state = useTabProviderContext('tabPanel', id);
10427
10436
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
10428
10437
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -10442,7 +10451,7 @@ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$U;
10442
10451
  ProgressTrackerStepPanel.className = CLASSNAME$R;
10443
10452
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$F;
10444
10453
 
10445
- const _excluded$Y = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10454
+ const _excluded$Z = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10446
10455
 
10447
10456
  /**
10448
10457
  * Defines the props of the component.
@@ -10489,7 +10498,7 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
10489
10498
  value,
10490
10499
  inputProps
10491
10500
  } = props,
10492
- forwardedProps = _objectWithoutProperties(props, _excluded$Y);
10501
+ forwardedProps = _objectWithoutProperties(props, _excluded$Z);
10493
10502
  const inputId = useMemo(() => id || `${CLASSNAME$S.toLowerCase()}-${uid()}`, [id]);
10494
10503
  const handleChange = event => {
10495
10504
  if (onChange) {
@@ -10542,7 +10551,7 @@ RadioButton.displayName = COMPONENT_NAME$V;
10542
10551
  RadioButton.className = CLASSNAME$S;
10543
10552
  RadioButton.defaultProps = DEFAULT_PROPS$G;
10544
10553
 
10545
- const _excluded$Z = ["children", "className"];
10554
+ const _excluded$_ = ["children", "className"];
10546
10555
 
10547
10556
  /**
10548
10557
  * Defines the props of the component.
@@ -10570,7 +10579,7 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
10570
10579
  children,
10571
10580
  className
10572
10581
  } = props,
10573
- forwardedProps = _objectWithoutProperties(props, _excluded$Z);
10582
+ forwardedProps = _objectWithoutProperties(props, _excluded$_);
10574
10583
  return /*#__PURE__*/React.createElement("div", _extends({
10575
10584
  ref: ref
10576
10585
  }, forwardedProps, {
@@ -10614,7 +10623,7 @@ const SelectVariant = {
10614
10623
  chip: 'chip'
10615
10624
  };
10616
10625
 
10617
- const _excluded$_ = ["children", "className", "focusElement", "isMultiple", "closeOnClick", "disabled", "error", "hasError", "helper", "id", "isDisabled", "isEmpty", "isOpen", "isRequired", "isValid", "label", "onClear", "onDropdownClose", "onInfiniteScroll", "onInputClick", "placeholder", "theme", "value", "variant"];
10626
+ const _excluded$$ = ["children", "className", "focusElement", "isMultiple", "closeOnClick", "disabled", "error", "hasError", "helper", "id", "isDisabled", "isEmpty", "isOpen", "isRequired", "isValid", "label", "onClear", "onDropdownClose", "onInfiniteScroll", "onInputClick", "placeholder", "theme", "value", "variant"];
10618
10627
 
10619
10628
  /** The display name of the component. */
10620
10629
  const COMPONENT_NAME$X = 'Select';
@@ -10654,7 +10663,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10654
10663
  value,
10655
10664
  variant = DEFAULT_PROPS$H.variant
10656
10665
  } = _ref,
10657
- forwardedProps = _objectWithoutProperties(_ref, _excluded$_);
10666
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
10658
10667
  const selectId = useMemo(() => id || `select-${uid()}`, [id]);
10659
10668
  const anchorRef = useRef(null);
10660
10669
  const selectRef = useRef(null);
@@ -10728,7 +10737,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10728
10737
  }, helper));
10729
10738
  };
10730
10739
 
10731
- const _excluded$$ = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10740
+ const _excluded$10 = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10732
10741
 
10733
10742
  /** The display name of the component. */
10734
10743
  const COMPONENT_NAME$Y = 'Select';
@@ -10768,7 +10777,7 @@ const SelectField = _ref => {
10768
10777
  variant,
10769
10778
  selectElementRef
10770
10779
  } = _ref,
10771
- forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
10780
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10772
10781
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10773
10782
  className: `${CLASSNAME$V}__header`
10774
10783
  }, /*#__PURE__*/React.createElement(InputLabel, {
@@ -10848,7 +10857,7 @@ Select.className = CLASSNAME$V;
10848
10857
  Select.defaultProps = DEFAULT_PROPS$I;
10849
10858
  Select.className = CLASSNAME$V;
10850
10859
 
10851
- const _excluded$10 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10860
+ const _excluded$11 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10852
10861
 
10853
10862
  /** Defines the props of the component. */
10854
10863
 
@@ -10899,7 +10908,7 @@ const SelectMultipleField = _ref => {
10899
10908
  variant,
10900
10909
  selectElementRef
10901
10910
  } = _ref,
10902
- forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10911
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$11);
10903
10912
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10904
10913
  className: `${CLASSNAME$W}__header`
10905
10914
  }, /*#__PURE__*/React.createElement(InputLabel, {
@@ -10969,7 +10978,7 @@ SelectMultiple.displayName = COMPONENT_NAME$Z;
10969
10978
  SelectMultiple.className = CLASSNAME$W;
10970
10979
  SelectMultiple.defaultProps = DEFAULT_PROPS$J;
10971
10980
 
10972
- const _excluded$11 = ["children", "className", "theme"];
10981
+ const _excluded$12 = ["children", "className", "theme"];
10973
10982
 
10974
10983
  /**
10975
10984
  * Defines the props of the component.
@@ -10998,7 +11007,7 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
10998
11007
  className,
10999
11008
  theme
11000
11009
  } = props,
11001
- forwardedProps = _objectWithoutProperties(props, _excluded$11);
11010
+ forwardedProps = _objectWithoutProperties(props, _excluded$12);
11002
11011
  const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
11003
11012
  return /*#__PURE__*/React.createElement("ul", _extends({
11004
11013
  ref: ref
@@ -11011,7 +11020,7 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
11011
11020
  SideNavigation.displayName = COMPONENT_NAME$_;
11012
11021
  SideNavigation.className = CLASSNAME$X;
11013
11022
 
11014
- const _excluded$12 = ["linkAs", "href"];
11023
+ const _excluded$13 = ["linkAs", "href"];
11015
11024
  /**
11016
11025
  * Render <button> HTML component, fallbacks to `<a>` when a `href` is provided or a custom component with `linkAs`.
11017
11026
  */
@@ -11020,7 +11029,7 @@ const renderButtonOrLink = function (props) {
11020
11029
  linkAs,
11021
11030
  href
11022
11031
  } = props,
11023
- forwardedProps = _objectWithoutProperties(props, _excluded$12);
11032
+ forwardedProps = _objectWithoutProperties(props, _excluded$13);
11024
11033
  for (var _len = arguments.length, children = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
11025
11034
  children[_key - 1] = arguments[_key];
11026
11035
  }
@@ -11030,7 +11039,7 @@ const renderButtonOrLink = function (props) {
11030
11039
  }, forwardedProps), ...children);
11031
11040
  };
11032
11041
 
11033
- const _excluded$13 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11042
+ const _excluded$14 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11034
11043
 
11035
11044
  /**
11036
11045
  * Defines the props of the component.
@@ -11077,7 +11086,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
11077
11086
  toggleButtonProps,
11078
11087
  closeMode = 'unmount'
11079
11088
  } = props,
11080
- forwardedProps = _objectWithoutProperties(props, _excluded$13);
11089
+ forwardedProps = _objectWithoutProperties(props, _excluded$14);
11081
11090
  const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
11082
11091
  const hasContent = !isEmpty(content);
11083
11092
  const shouldSplitActions = Boolean(onActionClick);
@@ -11139,7 +11148,7 @@ SideNavigationItem.displayName = COMPONENT_NAME$$;
11139
11148
  SideNavigationItem.className = CLASSNAME$Y;
11140
11149
  SideNavigationItem.defaultProps = DEFAULT_PROPS$K;
11141
11150
 
11142
- const _excluded$14 = ["className", "size", "color", "theme"];
11151
+ const _excluded$15 = ["className", "size", "color", "theme"];
11143
11152
 
11144
11153
  /**
11145
11154
  * Defines the props of the component.
@@ -11173,7 +11182,7 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
11173
11182
  color,
11174
11183
  theme
11175
11184
  } = props,
11176
- forwardedProps = _objectWithoutProperties(props, _excluded$14);
11185
+ forwardedProps = _objectWithoutProperties(props, _excluded$15);
11177
11186
  return /*#__PURE__*/React.createElement("div", _extends({
11178
11187
  ref: ref
11179
11188
  }, forwardedProps, {
@@ -11189,7 +11198,7 @@ SkeletonCircle.displayName = COMPONENT_NAME$10;
11189
11198
  SkeletonCircle.defaultProps = DEFAULT_PROPS$L;
11190
11199
  SkeletonCircle.className = CLASSNAME$Z;
11191
11200
 
11192
- const _excluded$15 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11201
+ const _excluded$16 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11193
11202
 
11194
11203
  /**
11195
11204
  * Skeleton variants.
@@ -11236,7 +11245,7 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
11236
11245
  width,
11237
11246
  color
11238
11247
  } = props,
11239
- forwardedProps = _objectWithoutProperties(props, _excluded$15);
11248
+ forwardedProps = _objectWithoutProperties(props, _excluded$16);
11240
11249
  return /*#__PURE__*/React.createElement("div", _extends({
11241
11250
  ref: ref
11242
11251
  }, forwardedProps, {
@@ -11257,7 +11266,7 @@ SkeletonRectangle.displayName = COMPONENT_NAME$11;
11257
11266
  SkeletonRectangle.className = CLASSNAME$_;
11258
11267
  SkeletonRectangle.defaultProps = DEFAULT_PROPS$M;
11259
11268
 
11260
- const _excluded$16 = ["className", "theme", "typography", "width", "color"];
11269
+ const _excluded$17 = ["className", "theme", "typography", "width", "color"];
11261
11270
 
11262
11271
  /**
11263
11272
  * Defines the props of the component.
@@ -11292,7 +11301,7 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
11292
11301
  width,
11293
11302
  color
11294
11303
  } = props,
11295
- forwardedProps = _objectWithoutProperties(props, _excluded$16);
11304
+ forwardedProps = _objectWithoutProperties(props, _excluded$17);
11296
11305
  return /*#__PURE__*/React.createElement("div", _extends({
11297
11306
  ref: ref
11298
11307
  }, forwardedProps, {
@@ -11347,7 +11356,7 @@ const clamp = (value, min, max) => {
11347
11356
  return value;
11348
11357
  };
11349
11358
 
11350
- const _excluded$17 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11359
+ const _excluded$18 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11351
11360
 
11352
11361
  /**
11353
11362
  * Defines the props of the component.
@@ -11422,7 +11431,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
11422
11431
  theme,
11423
11432
  value
11424
11433
  } = props,
11425
- forwardedProps = _objectWithoutProperties(props, _excluded$17);
11434
+ forwardedProps = _objectWithoutProperties(props, _excluded$18);
11426
11435
  const sliderId = useMemo(() => id || `slider-${uid()}`, [id]);
11427
11436
  const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
11428
11437
  const sliderRef = useRef(null);
@@ -11928,7 +11937,7 @@ const useSlideFocusManagement = _ref => {
11928
11937
  }, [isSlideDisplayed, slideRef]);
11929
11938
  };
11930
11939
 
11931
- const _excluded$18 = ["className", "children", "role", "label", "isDisplayed"];
11940
+ const _excluded$19 = ["className", "children", "role", "label", "isDisplayed"];
11932
11941
 
11933
11942
  /**
11934
11943
  * Defines the props of the component.
@@ -11960,7 +11969,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11960
11969
  label,
11961
11970
  isDisplayed
11962
11971
  } = props,
11963
- forwardedProps = _objectWithoutProperties(props, _excluded$18);
11972
+ forwardedProps = _objectWithoutProperties(props, _excluded$19);
11964
11973
  const groupRef = React.useRef(null);
11965
11974
  useSlideFocusManagement({
11966
11975
  isSlideDisplayed: isDisplayed,
@@ -11979,7 +11988,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
11979
11988
  SlideshowItemGroup.displayName = COMPONENT_NAME$14;
11980
11989
  SlideshowItemGroup.className = CLASSNAME$11;
11981
11990
 
11982
- const _excluded$19 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
11991
+ const _excluded$1a = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
11983
11992
 
11984
11993
  /**
11985
11994
  * Defines the props of the component.
@@ -12015,7 +12024,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
12015
12024
  slidesId,
12016
12025
  slideGroupLabel
12017
12026
  } = props,
12018
- forwardedProps = _objectWithoutProperties(props, _excluded$19);
12027
+ forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12019
12028
  // Number of slideshow items.
12020
12029
  const itemsCount = React.Children.count(children);
12021
12030
  const {
@@ -12097,7 +12106,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
12097
12106
  Slideshow.displayName = 'Slideshow';
12098
12107
  Slideshow.defaultProps = DEFAULT_PROPS$P;
12099
12108
 
12100
- const _excluded$1a = ["className", "children"];
12109
+ const _excluded$1b = ["className", "children"];
12101
12110
 
12102
12111
  /**
12103
12112
  * Defines the props of the component.
@@ -12125,7 +12134,7 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
12125
12134
  className,
12126
12135
  children
12127
12136
  } = props,
12128
- forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12137
+ forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12129
12138
  return /*#__PURE__*/React.createElement("div", _extends({
12130
12139
  ref: ref,
12131
12140
  className: classnames(className, handleBasicClasses({
@@ -12193,7 +12202,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
12193
12202
  }, [activeIndex, slideCount]);
12194
12203
  }
12195
12204
 
12196
- const _excluded$1b = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12205
+ const _excluded$1c = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12197
12206
  _excluded2$2 = ["className", "label"];
12198
12207
 
12199
12208
  /**
@@ -12243,7 +12252,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
12243
12252
  paginationItemLabel,
12244
12253
  paginationItemProps
12245
12254
  } = props,
12246
- forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12255
+ forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12247
12256
  let parent;
12248
12257
  if (WINDOW) {
12249
12258
  // Checking window object to avoid errors in SSR.
@@ -12345,7 +12354,7 @@ const SlideshowControls = Object.assign(InternalSlideshowControls, {
12345
12354
  useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
12346
12355
  });
12347
12356
 
12348
- const _excluded$1c = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12357
+ const _excluded$1d = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12349
12358
  /**
12350
12359
  * Component display name.
12351
12360
  */
@@ -12379,7 +12388,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
12379
12388
  hasControls,
12380
12389
  slideGroupLabel
12381
12390
  } = props,
12382
- forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12391
+ forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12383
12392
  const wrapperRef = React.useRef(null);
12384
12393
  const startIndexVisible = activeIndex;
12385
12394
  const endIndexVisible = startIndexVisible + 1;
@@ -12425,7 +12434,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
12425
12434
  Slides.displayName = COMPONENT_NAME$17;
12426
12435
  Slides.className = CLASSNAME$14;
12427
12436
 
12428
- const _excluded$1d = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12437
+ const _excluded$1e = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12429
12438
 
12430
12439
  /**
12431
12440
  * Defines the props of the component.
@@ -12473,7 +12482,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
12473
12482
  value,
12474
12483
  inputProps = {}
12475
12484
  } = props,
12476
- forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12485
+ forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12477
12486
  const inputId = useMemo(() => id || `switch-${uid()}`, [id]);
12478
12487
  const handleChange = event => {
12479
12488
  if (onChange) {
@@ -12528,7 +12537,7 @@ Switch.displayName = COMPONENT_NAME$18;
12528
12537
  Switch.className = CLASSNAME$15;
12529
12538
  Switch.defaultProps = DEFAULT_PROPS$R;
12530
12539
 
12531
- const _excluded$1e = ["children", "className", "hasBefore", "hasDividers", "theme"];
12540
+ const _excluded$1f = ["children", "className", "hasBefore", "hasDividers", "theme"];
12532
12541
 
12533
12542
  /**
12534
12543
  * Defines the props of the component.
@@ -12566,7 +12575,7 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
12566
12575
  hasDividers,
12567
12576
  theme
12568
12577
  } = props,
12569
- forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12578
+ forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12570
12579
  return /*#__PURE__*/React.createElement("table", _extends({
12571
12580
  ref: ref
12572
12581
  }, forwardedProps, {
@@ -12582,7 +12591,7 @@ Table.displayName = COMPONENT_NAME$19;
12582
12591
  Table.className = CLASSNAME$16;
12583
12592
  Table.defaultProps = DEFAULT_PROPS$S;
12584
12593
 
12585
- const _excluded$1f = ["children", "className"];
12594
+ const _excluded$1g = ["children", "className"];
12586
12595
 
12587
12596
  /**
12588
12597
  * Defines the props of the component.
@@ -12610,7 +12619,7 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
12610
12619
  children,
12611
12620
  className
12612
12621
  } = props,
12613
- forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12622
+ forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12614
12623
  return /*#__PURE__*/React.createElement("tbody", _extends({
12615
12624
  ref: ref
12616
12625
  }, forwardedProps, {
@@ -12622,7 +12631,7 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
12622
12631
  TableBody.displayName = COMPONENT_NAME$1a;
12623
12632
  TableBody.className = CLASSNAME$17;
12624
12633
 
12625
- const _excluded$1g = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12634
+ const _excluded$1h = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12626
12635
 
12627
12636
  /**
12628
12637
  * Table head cell sort order.
@@ -12677,7 +12686,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
12677
12686
  sortOrder,
12678
12687
  variant
12679
12688
  } = props,
12680
- forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12689
+ forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12681
12690
 
12682
12691
  // Use button if clickable
12683
12692
  const Wrapper = onHeaderClick ? 'button' : 'div';
@@ -12730,7 +12739,7 @@ TableCell.displayName = COMPONENT_NAME$1b;
12730
12739
  TableCell.className = CLASSNAME$18;
12731
12740
  TableCell.defaultProps = DEFAULT_PROPS$T;
12732
12741
 
12733
- const _excluded$1h = ["children", "className"];
12742
+ const _excluded$1i = ["children", "className"];
12734
12743
 
12735
12744
  /**
12736
12745
  * Defines the props of the component.
@@ -12763,7 +12772,7 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
12763
12772
  children,
12764
12773
  className
12765
12774
  } = props,
12766
- forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12775
+ forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12767
12776
  return /*#__PURE__*/React.createElement("thead", _extends({
12768
12777
  ref: ref
12769
12778
  }, forwardedProps, {
@@ -12776,7 +12785,7 @@ TableHeader.displayName = COMPONENT_NAME$1c;
12776
12785
  TableHeader.className = CLASSNAME$19;
12777
12786
  TableHeader.defaultProps = DEFAULT_PROPS$U;
12778
12787
 
12779
- const _excluded$1i = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12788
+ const _excluded$1j = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12780
12789
 
12781
12790
  /**
12782
12791
  * Defines the props of the component.
@@ -12813,7 +12822,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12813
12822
  isDisabled = disabled,
12814
12823
  isSelected
12815
12824
  } = props,
12816
- forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12825
+ forwardedProps = _objectWithoutProperties(props, _excluded$1j);
12817
12826
  return /*#__PURE__*/React.createElement("tr", _extends({
12818
12827
  ref: ref,
12819
12828
  tabIndex: isClickable && !isDisabled ? 0 : -1
@@ -12831,7 +12840,7 @@ TableRow.displayName = COMPONENT_NAME$1d;
12831
12840
  TableRow.className = CLASSNAME$1a;
12832
12841
  TableRow.defaultProps = DEFAULT_PROPS$V;
12833
12842
 
12834
- const _excluded$1j = ["children", "onChange"];
12843
+ const _excluded$1k = ["children", "onChange"];
12835
12844
  const DEFAULT_PROPS$W = {
12836
12845
  isLazy: INIT_STATE.isLazy,
12837
12846
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -12851,7 +12860,7 @@ const TabProvider = props => {
12851
12860
  children,
12852
12861
  onChange
12853
12862
  } = props,
12854
- propState = _objectWithoutProperties(props, _excluded$1j);
12863
+ propState = _objectWithoutProperties(props, _excluded$1k);
12855
12864
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
12856
12865
 
12857
12866
  // On prop state change => dispatch update.
@@ -12879,7 +12888,7 @@ const TabProvider = props => {
12879
12888
  };
12880
12889
  TabProvider.defaultProps = DEFAULT_PROPS$W;
12881
12890
 
12882
- const _excluded$1k = ["aria-label", "children", "className", "layout", "position", "theme"];
12891
+ const _excluded$1l = ["aria-label", "children", "className", "layout", "position", "theme"];
12883
12892
  let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12884
12893
  TabListLayout["clustered"] = "clustered";
12885
12894
  TabListLayout["fixed"] = "fixed";
@@ -12927,7 +12936,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
12927
12936
  position,
12928
12937
  theme
12929
12938
  } = props,
12930
- forwardedProps = _objectWithoutProperties(props, _excluded$1k);
12939
+ forwardedProps = _objectWithoutProperties(props, _excluded$1l);
12931
12940
  const tabListRef = React.useRef(null);
12932
12941
  useRovingTabIndex({
12933
12942
  parentRef: tabListRef,
@@ -12954,7 +12963,7 @@ TabList.displayName = COMPONENT_NAME$1e;
12954
12963
  TabList.className = CLASSNAME$1b;
12955
12964
  TabList.defaultProps = DEFAULT_PROPS$X;
12956
12965
 
12957
- const _excluded$1l = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12966
+ const _excluded$1m = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
12958
12967
 
12959
12968
  /**
12960
12969
  * Defines the props of the component.
@@ -12998,7 +13007,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
12998
13007
  onKeyPress,
12999
13008
  tabIndex = -1
13000
13009
  } = props,
13001
- forwardedProps = _objectWithoutProperties(props, _excluded$1l);
13010
+ forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13002
13011
  const state = useTabProviderContext('tab', id);
13003
13012
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
13004
13013
  const changeToCurrentTab = useCallback(() => {
@@ -13047,7 +13056,7 @@ Tab.displayName = COMPONENT_NAME$1f;
13047
13056
  Tab.className = CLASSNAME$1c;
13048
13057
  Tab.defaultProps = DEFAULT_PROPS$Y;
13049
13058
 
13050
- const _excluded$1m = ["children", "id", "className", "isActive"];
13059
+ const _excluded$1n = ["children", "id", "className", "isActive"];
13051
13060
 
13052
13061
  /**
13053
13062
  * Defines the props of the component.
@@ -13084,7 +13093,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
13084
13093
  className,
13085
13094
  isActive: propIsActive
13086
13095
  } = props,
13087
- forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13096
+ forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13088
13097
  const state = useTabProviderContext('tabPanel', id);
13089
13098
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
13090
13099
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -13104,7 +13113,7 @@ TabPanel.displayName = COMPONENT_NAME$1g;
13104
13113
  TabPanel.className = CLASSNAME$1d;
13105
13114
  TabPanel.defaultProps = DEFAULT_PROPS$Z;
13106
13115
 
13107
- const _excluded$1n = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13116
+ const _excluded$1o = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13108
13117
  _excluded2$3 = ["chips", "className", "clearButtonProps", "disabled", "error", "forceFocusStyle", "hasError", "helper", "icon", "id", "inputRef", "isDisabled", "isRequired", "isValid", "label", "labelProps", "maxLength", "minimumRows", "multiline", "name", "onBlur", "onChange", "onClear", "onFocus", "placeholder", "textFieldRef", "theme", "type", "value", "afterElement"];
13109
13118
 
13110
13119
  /**
@@ -13189,7 +13198,7 @@ const renderInputNative = props => {
13189
13198
  hasError,
13190
13199
  describedById
13191
13200
  } = props,
13192
- forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13201
+ forwardedProps = _objectWithoutProperties(props, _excluded$1o);
13193
13202
  // eslint-disable-next-line react-hooks/rules-of-hooks
13194
13203
  const ref = useRef(null);
13195
13204
 
@@ -13573,7 +13582,7 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
13573
13582
  return style;
13574
13583
  };
13575
13584
 
13576
- const _excluded$1o = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
13585
+ const _excluded$1p = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
13577
13586
 
13578
13587
  /**
13579
13588
  * Defines the props of the component.
@@ -13630,7 +13639,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13630
13639
  linkProps,
13631
13640
  linkAs
13632
13641
  } = props,
13633
- forwardedProps = _objectWithoutProperties(props, _excluded$1o);
13642
+ forwardedProps = _objectWithoutProperties(props, _excluded$1p);
13634
13643
  const [imgElement, setImgElement] = useState();
13635
13644
 
13636
13645
  // Image loading state.
@@ -13744,7 +13753,7 @@ const ThumbnailObjectFit = {
13744
13753
  contain: 'contain'
13745
13754
  };
13746
13755
 
13747
- const _excluded$1p = ["after", "before", "className", "label"];
13756
+ const _excluded$1q = ["after", "before", "className", "label"];
13748
13757
 
13749
13758
  /**
13750
13759
  * Defines the props of the component.
@@ -13779,7 +13788,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13779
13788
  className,
13780
13789
  label
13781
13790
  } = props,
13782
- forwardedProps = _objectWithoutProperties(props, _excluded$1p);
13791
+ forwardedProps = _objectWithoutProperties(props, _excluded$1q);
13783
13792
  return /*#__PURE__*/React.createElement("div", _extends({
13784
13793
  ref: ref
13785
13794
  }, forwardedProps, {
@@ -13976,7 +13985,7 @@ function useTooltipOpen(delay, anchorElement) {
13976
13985
  };
13977
13986
  }
13978
13987
 
13979
- const _excluded$1q = ["label", "children", "className", "delay", "placement", "forceOpen"];
13988
+ const _excluded$1r = ["label", "children", "className", "delay", "placement", "forceOpen"];
13980
13989
 
13981
13990
  /** Position of the tooltip relative to the anchor element. */
13982
13991
 
@@ -14023,7 +14032,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
14023
14032
  placement,
14024
14033
  forceOpen
14025
14034
  } = props,
14026
- forwardedProps = _objectWithoutProperties(props, _excluded$1q);
14035
+ forwardedProps = _objectWithoutProperties(props, _excluded$1r);
14027
14036
  // Disable in SSR or without a label.
14028
14037
  if (!DOCUMENT || !label) {
14029
14038
  return /*#__PURE__*/React.createElement(TooltipContextProvider, null, children);
@@ -14073,7 +14082,7 @@ Tooltip.displayName = COMPONENT_NAME$1k;
14073
14082
  Tooltip.className = CLASSNAME$1h;
14074
14083
  Tooltip.defaultProps = DEFAULT_PROPS$11;
14075
14084
 
14076
- const _excluded$1r = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14085
+ const _excluded$1s = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14077
14086
 
14078
14087
  /**
14079
14088
  * Uploader variants.
@@ -14134,7 +14143,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
14134
14143
  variant,
14135
14144
  fileInputProps
14136
14145
  } = props,
14137
- forwardedProps = _objectWithoutProperties(props, _excluded$1r);
14146
+ forwardedProps = _objectWithoutProperties(props, _excluded$1s);
14138
14147
  // Adjust to square aspect ratio when using circle variants.
14139
14148
  const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
14140
14149
  const inputId = React.useMemo(() => (fileInputProps === null || fileInputProps === void 0 ? void 0 : fileInputProps.id) || uniqueId('uploader-input-'), [fileInputProps === null || fileInputProps === void 0 ? void 0 : fileInputProps.id]);
@@ -14194,7 +14203,7 @@ Uploader.displayName = COMPONENT_NAME$1l;
14194
14203
  Uploader.className = CLASSNAME$1i;
14195
14204
  Uploader.defaultProps = DEFAULT_PROPS$12;
14196
14205
 
14197
- const _excluded$1s = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14206
+ const _excluded$1t = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14198
14207
 
14199
14208
  /**
14200
14209
  * User block sizes.
@@ -14248,7 +14257,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
14248
14257
  size,
14249
14258
  theme
14250
14259
  } = props,
14251
- forwardedProps = _objectWithoutProperties(props, _excluded$1s);
14260
+ forwardedProps = _objectWithoutProperties(props, _excluded$1t);
14252
14261
  let componentSize = size;
14253
14262
 
14254
14263
  // Special case - When using vertical orientation force the size to be Sizes.l.