@lumx/react 3.7.6-alpha.1 → 3.7.6-alpha.3

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