@lumx/react 3.9.0 → 3.9.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -8263,7 +8263,7 @@ const ImageSlideshow = _ref => {
8263
8263
  const zoomOut = React.useCallback(() => onScaleChange === null || onScaleChange === void 0 ? void 0 : onScaleChange(0.5), [onScaleChange]);
8264
8264
  React.useEffect(() => {
8265
8265
  // Reset scale on slide change
8266
- if (activeIndex) setScale(undefined);
8266
+ if (typeof activeIndex === 'number') setScale(undefined);
8267
8267
  }, [activeIndex]);
8268
8268
  const zoomControls = zoomEnabled && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconButton, _extends({}, zoomInButtonProps, {
8269
8269
  theme: "dark",
@@ -8381,8 +8381,6 @@ async function startViewTransition(_ref) {
8381
8381
  /** Find image in element including the element */
8382
8382
  const findImage = element => element !== null && element !== void 0 && element.matches('img') ? element : (element === null || element === void 0 ? void 0 : element.querySelector('img')) || null;
8383
8383
 
8384
- const _excluded$A = ["images"];
8385
-
8386
8384
  /** Subset of the ImageLightboxProps managed by the useImageLightbox hook */
8387
8385
 
8388
8386
  const EMPTY_PROPS = {
@@ -8397,29 +8395,30 @@ const EMPTY_PROPS = {
8397
8395
  * - Associate a trigger with an image to display on open
8398
8396
  * - Automatically provide a view transition between an image trigger and the displayed image on open & close
8399
8397
  *
8400
- * @param initialProps Images to display in the image lightbox
8398
+ * @param props Images to display in the image lightbox
8401
8399
  */
8402
- function useImageLightbox(initialProps) {
8403
- const {
8404
- images = []
8405
- } = initialProps,
8406
- otherProps = _objectWithoutProperties(initialProps, _excluded$A);
8407
- const imagesPropsRef = React.useRef(images);
8400
+ function useImageLightbox(props) {
8401
+ const propsRef = React.useRef(props);
8408
8402
  React.useEffect(() => {
8409
- imagesPropsRef.current = images.map(props => _objectSpread2({
8410
- imgRef: /*#__PURE__*/React.createRef()
8411
- }, props));
8412
- }, [images]);
8403
+ const newProps = _objectSpread2({}, props);
8404
+ if (newProps !== null && newProps !== void 0 && newProps.images) {
8405
+ newProps.images = newProps.images.map(image => _objectSpread2({
8406
+ imgRef: /*#__PURE__*/React.createRef()
8407
+ }, image));
8408
+ }
8409
+ propsRef.current = newProps;
8410
+ }, [props]);
8413
8411
  const currentImageRef = React.useRef(null);
8414
- const [imageLightboxProps, setImageLightboxProps] = React.useState(() => _objectSpread2(_objectSpread2({}, EMPTY_PROPS), otherProps));
8412
+ const [imageLightboxProps, setImageLightboxProps] = React.useState(() => _objectSpread2(_objectSpread2({}, EMPTY_PROPS), props));
8415
8413
  const getTriggerProps = React.useMemo(() => {
8416
8414
  const triggerImageRefs = {};
8417
8415
  async function close() {
8416
+ var _propsRef$current, _propsRef$current$ima;
8418
8417
  const currentImage = currentImageRef.current;
8419
8418
  if (!currentImage) {
8420
8419
  return;
8421
8420
  }
8422
- const currentIndex = imagesPropsRef.current.findIndex(_ref => {
8421
+ const currentIndex = (_propsRef$current = propsRef.current) === null || _propsRef$current === void 0 ? void 0 : (_propsRef$current$ima = _propsRef$current.images) === null || _propsRef$current$ima === void 0 ? void 0 : _propsRef$current$ima.findIndex(_ref => {
8423
8422
  let {
8424
8423
  imgRef
8425
8424
  } = _ref;
@@ -8441,7 +8440,7 @@ function useImageLightbox(initialProps) {
8441
8440
  });
8442
8441
  }
8443
8442
  async function open(triggerElement) {
8444
- var _triggerImageRefs;
8443
+ var _triggerImageRefs, _propsRef$current2, _propsRef$current2$im;
8445
8444
  let {
8446
8445
  activeImageIndex
8447
8446
  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -8449,7 +8448,7 @@ function useImageLightbox(initialProps) {
8449
8448
  const triggerImage = ((_triggerImageRefs = triggerImageRefs[activeImageIndex]) === null || _triggerImageRefs === void 0 ? void 0 : _triggerImageRefs.current) || findImage(triggerElement);
8450
8449
 
8451
8450
  // Inject the trigger image as loading placeholder for better loading state
8452
- const imagesWithFallbackSize = imagesPropsRef.current.map((image, idx) => {
8451
+ const imagesWithFallbackSize = (_propsRef$current2 = propsRef.current) === null || _propsRef$current2 === void 0 ? void 0 : (_propsRef$current2$im = _propsRef$current2.images) === null || _propsRef$current2$im === void 0 ? void 0 : _propsRef$current2$im.map((image, idx) => {
8453
8452
  if (triggerImage && idx === activeImageIndex && !image.loadingPlaceholderImageRef) {
8454
8453
  return _objectSpread2(_objectSpread2({}, image), {}, {
8455
8454
  loadingPlaceholderImageRef: {
@@ -8462,7 +8461,7 @@ function useImageLightbox(initialProps) {
8462
8461
  await startViewTransition({
8463
8462
  changes: () => {
8464
8463
  // Open lightbox with setup props
8465
- setImageLightboxProps(prevProps => _objectSpread2(_objectSpread2({}, prevProps), {}, {
8464
+ setImageLightboxProps(prevProps => _objectSpread2(_objectSpread2(_objectSpread2({}, prevProps), propsRef.current), {}, {
8466
8465
  activeImageRef: currentImageRef,
8467
8466
  parentElement: {
8468
8467
  current: triggerElement
@@ -8505,7 +8504,7 @@ function useImageLightbox(initialProps) {
8505
8504
  };
8506
8505
  }
8507
8506
 
8508
- const _excluded$B = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8507
+ const _excluded$A = ["className", "isOpen", "closeButtonProps", "onClose", "parentElement", "activeImageIndex", "slideshowControlsProps", "slideGroupLabel", "images", "zoomOutButtonProps", "zoomInButtonProps", "activeImageRef"];
8509
8508
  const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8510
8509
  const {
8511
8510
  className,
@@ -8521,7 +8520,7 @@ const Inner = /*#__PURE__*/forwardRef((props, ref) => {
8521
8520
  zoomInButtonProps,
8522
8521
  activeImageRef: propImageRef
8523
8522
  } = props,
8524
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
8523
+ forwardedProps = _objectWithoutProperties(props, _excluded$A);
8525
8524
  const currentPaginationItemRef = React.useRef(null);
8526
8525
  const footerRef = React.useRef(null);
8527
8526
  const imageRef = React.useRef(null);
@@ -8571,7 +8570,7 @@ const ImageLightbox = Object.assign(Inner, {
8571
8570
  useImageLightbox
8572
8571
  });
8573
8572
 
8574
- const _excluded$C = ["className", "color", "colorVariant", "typography", "children", "wrap"];
8573
+ const _excluded$B = ["className", "color", "colorVariant", "typography", "children", "wrap"];
8575
8574
 
8576
8575
  /**
8577
8576
  * Defines the props of the component.
@@ -8608,7 +8607,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
8608
8607
  children,
8609
8608
  wrap
8610
8609
  } = props,
8611
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
8610
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
8612
8611
  const fontColorClassName = color && getFontColorClassName(color, colorVariant);
8613
8612
  const typographyClassName = typography && getTypographyClassName(typography);
8614
8613
  return (
@@ -8654,7 +8653,7 @@ const INPUT_HELPER_CONFIGURATION = {
8654
8653
  }
8655
8654
  };
8656
8655
 
8657
- const _excluded$D = ["children", "className", "kind", "theme"];
8656
+ const _excluded$C = ["children", "className", "kind", "theme"];
8658
8657
 
8659
8658
  /**
8660
8659
  * Defines the props of the component.
@@ -8692,7 +8691,7 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
8692
8691
  kind,
8693
8692
  theme
8694
8693
  } = props,
8695
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
8694
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
8696
8695
  const {
8697
8696
  color
8698
8697
  } = INPUT_HELPER_CONFIGURATION[kind] || {};
@@ -8710,7 +8709,7 @@ InputHelper.displayName = COMPONENT_NAME$A;
8710
8709
  InputHelper.className = CLASSNAME$x;
8711
8710
  InputHelper.defaultProps = DEFAULT_PROPS$s;
8712
8711
 
8713
- const _excluded$E = ["children", "className", "htmlFor", "isRequired", "theme"];
8712
+ const _excluded$D = ["children", "className", "htmlFor", "isRequired", "theme"];
8714
8713
 
8715
8714
  /**
8716
8715
  * Defines the props of the component.
@@ -8748,7 +8747,7 @@ const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
8748
8747
  isRequired,
8749
8748
  theme
8750
8749
  } = props,
8751
- forwardedProps = _objectWithoutProperties(props, _excluded$E);
8750
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
8752
8751
  return /*#__PURE__*/React.createElement("label", _extends({
8753
8752
  ref: ref
8754
8753
  }, forwardedProps, {
@@ -8764,7 +8763,7 @@ InputLabel.displayName = COMPONENT_NAME$B;
8764
8763
  InputLabel.className = CLASSNAME$y;
8765
8764
  InputLabel.defaultProps = DEFAULT_PROPS$t;
8766
8765
 
8767
- const _excluded$F = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8766
+ const _excluded$E = ["aria-labelledby", "ariaLabelledBy", "aria-label", "ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "focusElement", "preventAutoClose", "theme", "zIndex"];
8768
8767
 
8769
8768
  /**
8770
8769
  * Defines the props of the component.
@@ -8804,7 +8803,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8804
8803
  theme,
8805
8804
  zIndex
8806
8805
  } = props,
8807
- forwardedProps = _objectWithoutProperties(props, _excluded$F);
8806
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
8808
8807
  if (!DOCUMENT) {
8809
8808
  // Can't render in SSR.
8810
8809
  return null;
@@ -8895,7 +8894,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
8895
8894
  Lightbox.displayName = COMPONENT_NAME$C;
8896
8895
  Lightbox.className = CLASSNAME$z;
8897
8896
 
8898
- const _excluded$G = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8897
+ const _excluded$F = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
8899
8898
 
8900
8899
  /**
8901
8900
  * Defines the props of the component.
@@ -8958,7 +8957,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8958
8957
  target,
8959
8958
  typography
8960
8959
  } = props,
8961
- forwardedProps = _objectWithoutProperties(props, _excluded$G);
8960
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
8962
8961
  const renderedChildren = useMemo(() => /*#__PURE__*/React.createElement(React.Fragment, null, leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
8963
8962
  icon: leftIcon,
8964
8963
  className: `${CLASSNAME$A}__left-icon`,
@@ -9006,7 +9005,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
9006
9005
  Link.displayName = COMPONENT_NAME$D;
9007
9006
  Link.className = CLASSNAME$A;
9008
9007
 
9009
- const _excluded$H = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
9008
+ const _excluded$G = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
9010
9009
 
9011
9010
  /**
9012
9011
  * Defines the props of the component.
@@ -9051,7 +9050,7 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
9051
9050
  title,
9052
9051
  titleHeading
9053
9052
  } = props,
9054
- forwardedProps = _objectWithoutProperties(props, _excluded$H);
9053
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
9055
9054
  // Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
9056
9055
  const TitleHeading = titleHeading;
9057
9056
  return /*#__PURE__*/React.createElement("article", _extends({
@@ -9106,7 +9105,7 @@ LinkPreview.displayName = COMPONENT_NAME$E;
9106
9105
  LinkPreview.className = CLASSNAME$B;
9107
9106
  LinkPreview.defaultProps = DEFAULT_PROPS$u;
9108
9107
 
9109
- const _excluded$I = ["className"];
9108
+ const _excluded$H = ["className"];
9110
9109
 
9111
9110
  /**
9112
9111
  * Defines the props of the component.
@@ -9133,7 +9132,7 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
9133
9132
  const {
9134
9133
  className
9135
9134
  } = props,
9136
- forwardedProps = _objectWithoutProperties(props, _excluded$I);
9135
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
9137
9136
  return /*#__PURE__*/React.createElement("li", _extends({
9138
9137
  ref: ref
9139
9138
  }, forwardedProps, {
@@ -9145,7 +9144,7 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
9145
9144
  ListDivider.displayName = COMPONENT_NAME$F;
9146
9145
  ListDivider.className = CLASSNAME$C;
9147
9146
 
9148
- const _excluded$J = ["children", "className"];
9147
+ const _excluded$I = ["children", "className"];
9149
9148
 
9150
9149
  /**
9151
9150
  * Defines the props of the component.
@@ -9173,7 +9172,7 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
9173
9172
  children,
9174
9173
  className
9175
9174
  } = props,
9176
- forwardedProps = _objectWithoutProperties(props, _excluded$J);
9175
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
9177
9176
  return /*#__PURE__*/React.createElement("li", _extends({
9178
9177
  ref: ref
9179
9178
  }, forwardedProps, {
@@ -9185,7 +9184,7 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
9185
9184
  ListSubheader.displayName = COMPONENT_NAME$G;
9186
9185
  ListSubheader.className = CLASSNAME$D;
9187
9186
 
9188
- const _excluded$K = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9187
+ const _excluded$J = ["children", "className", "hasBackground", "kind", "icon", "closeButtonProps"];
9189
9188
 
9190
9189
  /**
9191
9190
  * Defines the props of the component.
@@ -9239,7 +9238,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
9239
9238
  icon: customIcon,
9240
9239
  closeButtonProps
9241
9240
  } = props,
9242
- forwardedProps = _objectWithoutProperties(props, _excluded$K);
9241
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
9243
9242
  const {
9244
9243
  color,
9245
9244
  icon
@@ -9274,7 +9273,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
9274
9273
  Message.displayName = COMPONENT_NAME$H;
9275
9274
  Message.className = CLASSNAME$E;
9276
9275
 
9277
- const _excluded$L = ["className", "theme", "thumbnails", "onImageClick"],
9276
+ const _excluded$K = ["className", "theme", "thumbnails", "onImageClick"],
9278
9277
  _excluded2$1 = ["image", "onClick", "align"];
9279
9278
 
9280
9279
  /**
@@ -9312,7 +9311,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
9312
9311
  thumbnails,
9313
9312
  onImageClick
9314
9313
  } = props,
9315
- forwardedProps = _objectWithoutProperties(props, _excluded$L);
9314
+ forwardedProps = _objectWithoutProperties(props, _excluded$K);
9316
9315
  const handleImageClick = useMemo(() => {
9317
9316
  if (!onImageClick) return undefined;
9318
9317
  return (index, onClick) => event => {
@@ -9367,7 +9366,7 @@ function forwardRefPolymorphic(render) {
9367
9366
  return /*#__PURE__*/React.forwardRef(render);
9368
9367
  }
9369
9368
 
9370
- const _excluded$M = ["className", "icon", "label", "isCurrentPage", "as"];
9369
+ const _excluded$L = ["className", "icon", "label", "isCurrentPage", "as"];
9371
9370
 
9372
9371
  /** Make `href` required when `as` is `a` */
9373
9372
 
@@ -9392,7 +9391,7 @@ const NavigationItem = Object.assign(forwardRefPolymorphic((props, ref) => {
9392
9391
  isCurrentPage,
9393
9392
  as: Element = 'a'
9394
9393
  } = props,
9395
- forwardedProps = _objectWithoutProperties(props, _excluded$M);
9394
+ forwardedProps = _objectWithoutProperties(props, _excluded$L);
9396
9395
  const theme = useContext(ThemeContext);
9397
9396
  const {
9398
9397
  tooltipLabel,
@@ -9436,7 +9435,7 @@ const NavigationContext = /*#__PURE__*/createContext({
9436
9435
  orientation: Orientation.vertical
9437
9436
  });
9438
9437
 
9439
- const _excluded$N = ["children", "className", "label", "icon"];
9438
+ const _excluded$M = ["children", "className", "label", "icon"];
9440
9439
  /**
9441
9440
  * Component display name.
9442
9441
  */
@@ -9453,7 +9452,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9453
9452
  label,
9454
9453
  icon
9455
9454
  } = props,
9456
- forwardedProps = _objectWithoutProperties(props, _excluded$N);
9455
+ forwardedProps = _objectWithoutProperties(props, _excluded$M);
9457
9456
  const [isOpen, setIsOpen] = useState(false);
9458
9457
  const buttonRef = useRef(null);
9459
9458
  const sectionId = useId();
@@ -9518,7 +9517,7 @@ const NavigationSection = Object.assign( /*#__PURE__*/forwardRef((props, ref) =>
9518
9517
  className: CLASSNAME$H
9519
9518
  });
9520
9519
 
9521
- const _excluded$O = ["children", "className", "theme", "orientation"];
9520
+ const _excluded$N = ["children", "className", "theme", "orientation"];
9522
9521
  /**
9523
9522
  * Component display name.
9524
9523
  */
@@ -9538,7 +9537,7 @@ forwardRef((props, ref) => {
9538
9537
  theme,
9539
9538
  orientation
9540
9539
  } = props,
9541
- forwardedProps = _objectWithoutProperties(props, _excluded$O);
9540
+ forwardedProps = _objectWithoutProperties(props, _excluded$N);
9542
9541
  return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
9543
9542
  value: theme
9544
9543
  }, /*#__PURE__*/React.createElement("nav", _extends({
@@ -9589,7 +9588,7 @@ const NOTIFICATION_CONFIGURATION = {
9589
9588
  }
9590
9589
  };
9591
9590
 
9592
- const _excluded$P = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9591
+ const _excluded$O = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex", "usePortal", "style"];
9593
9592
 
9594
9593
  /**
9595
9594
  * Defines the props of the component.
@@ -9636,7 +9635,7 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
9636
9635
  usePortal,
9637
9636
  style
9638
9637
  } = props,
9639
- forwardedProps = _objectWithoutProperties(props, _excluded$P);
9638
+ forwardedProps = _objectWithoutProperties(props, _excluded$O);
9640
9639
  if (!DOCUMENT) {
9641
9640
  // Can't render in SSR.
9642
9641
  return null;
@@ -9694,7 +9693,7 @@ Notification.displayName = COMPONENT_NAME$M;
9694
9693
  Notification.className = CLASSNAME$J;
9695
9694
  Notification.defaultProps = DEFAULT_PROPS$w;
9696
9695
 
9697
- const _excluded$Q = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9696
+ const _excluded$P = ["children", "isOpen", "focusElement", "aria-label", "label", "className"];
9698
9697
 
9699
9698
  /**
9700
9699
  * PopoverDialog props.
@@ -9732,7 +9731,7 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
9732
9731
  label = ariaLabel,
9733
9732
  className
9734
9733
  } = props,
9735
- forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9734
+ forwardedProps = _objectWithoutProperties(props, _excluded$P);
9736
9735
  return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
9737
9736
  ref: ref,
9738
9737
  className: classnames(className, handleBasicClasses({
@@ -9756,7 +9755,7 @@ PopoverDialog.displayName = COMPONENT_NAME$N;
9756
9755
  PopoverDialog.className = CLASSNAME$K;
9757
9756
  PopoverDialog.defaultProps = DEFAULT_PROPS$x;
9758
9757
 
9759
- const _excluded$R = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9758
+ const _excluded$Q = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
9760
9759
 
9761
9760
  /**
9762
9761
  * Defines the props of the component.
@@ -9802,7 +9801,7 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
9802
9801
  thumbnailProps,
9803
9802
  title
9804
9803
  } = props,
9805
- forwardedProps = _objectWithoutProperties(props, _excluded$R);
9804
+ forwardedProps = _objectWithoutProperties(props, _excluded$Q);
9806
9805
  return /*#__PURE__*/React.createElement("div", _extends({
9807
9806
  ref: ref,
9808
9807
  className: classnames(className, handleBasicClasses({
@@ -9847,7 +9846,7 @@ PostBlock.displayName = COMPONENT_NAME$O;
9847
9846
  PostBlock.className = CLASSNAME$L;
9848
9847
  PostBlock.defaultProps = DEFAULT_PROPS$y;
9849
9848
 
9850
- const _excluded$S = ["className", "theme"];
9849
+ const _excluded$R = ["className", "theme"];
9851
9850
  /**
9852
9851
  * Component display name.
9853
9852
  */
@@ -9877,7 +9876,7 @@ const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
9877
9876
  className,
9878
9877
  theme
9879
9878
  } = props,
9880
- forwardedProps = _objectWithoutProperties(props, _excluded$S);
9879
+ forwardedProps = _objectWithoutProperties(props, _excluded$R);
9881
9880
  return /*#__PURE__*/React.createElement("div", _extends({
9882
9881
  ref: ref
9883
9882
  }, forwardedProps, {
@@ -9895,7 +9894,7 @@ ProgressLinear.displayName = COMPONENT_NAME$P;
9895
9894
  ProgressLinear.className = CLASSNAME$M;
9896
9895
  ProgressLinear.defaultProps = DEFAULT_PROPS$z;
9897
9896
 
9898
- const _excluded$T = ["className", "theme", "size"];
9897
+ const _excluded$S = ["className", "theme", "size"];
9899
9898
 
9900
9899
  /**
9901
9900
  * Progress sizes.
@@ -9936,7 +9935,7 @@ const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
9936
9935
  theme,
9937
9936
  size
9938
9937
  } = props,
9939
- forwardedProps = _objectWithoutProperties(props, _excluded$T);
9938
+ forwardedProps = _objectWithoutProperties(props, _excluded$S);
9940
9939
  return /*#__PURE__*/React.createElement("div", _extends({
9941
9940
  ref: ref
9942
9941
  }, forwardedProps, {
@@ -9965,7 +9964,7 @@ ProgressCircular.displayName = COMPONENT_NAME$Q;
9965
9964
  ProgressCircular.className = CLASSNAME$N;
9966
9965
  ProgressCircular.defaultProps = DEFAULT_PROPS$A;
9967
9966
 
9968
- const _excluded$U = ["className", "theme", "variant"];
9967
+ const _excluded$T = ["className", "theme", "variant"];
9969
9968
 
9970
9969
  /**
9971
9970
  * Progress variants.
@@ -10011,7 +10010,7 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
10011
10010
  theme,
10012
10011
  variant
10013
10012
  } = props,
10014
- forwardedProps = _objectWithoutProperties(props, _excluded$U);
10013
+ forwardedProps = _objectWithoutProperties(props, _excluded$T);
10015
10014
  return /*#__PURE__*/React.createElement("div", _extends({
10016
10015
  ref: ref
10017
10016
  }, forwardedProps, {
@@ -10148,7 +10147,7 @@ const useTabProviderContextState = () => {
10148
10147
  return context === null || context === void 0 ? void 0 : context[0];
10149
10148
  };
10150
10149
 
10151
- const _excluded$V = ["children", "onChange"];
10150
+ const _excluded$U = ["children", "onChange"];
10152
10151
  const DEFAULT_PROPS$C = {
10153
10152
  isLazy: INIT_STATE.isLazy,
10154
10153
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -10170,7 +10169,7 @@ const ProgressTrackerProvider = props => {
10170
10169
  children,
10171
10170
  onChange
10172
10171
  } = props,
10173
- propState = _objectWithoutProperties(props, _excluded$V);
10172
+ propState = _objectWithoutProperties(props, _excluded$U);
10174
10173
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
10175
10174
 
10176
10175
  // On prop state change => dispatch update.
@@ -10274,7 +10273,7 @@ const useRovingTabIndex = _ref => {
10274
10273
  [parentRef, ...extraDependencies]);
10275
10274
  };
10276
10275
 
10277
- const _excluded$W = ["aria-label", "children", "className"];
10276
+ const _excluded$V = ["aria-label", "children", "className"];
10278
10277
 
10279
10278
  /**
10280
10279
  * Defines the props of the component.
@@ -10311,7 +10310,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
10311
10310
  children,
10312
10311
  className
10313
10312
  } = props,
10314
- forwardedProps = _objectWithoutProperties(props, _excluded$W);
10313
+ forwardedProps = _objectWithoutProperties(props, _excluded$V);
10315
10314
  const stepListRef = React.useRef(null);
10316
10315
  useRovingTabIndex({
10317
10316
  parentRef: stepListRef,
@@ -10352,7 +10351,7 @@ ProgressTracker.displayName = COMPONENT_NAME$S;
10352
10351
  ProgressTracker.className = CLASSNAME$P;
10353
10352
  ProgressTracker.defaultProps = DEFAULT_PROPS$D;
10354
10353
 
10355
- const _excluded$X = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10354
+ const _excluded$W = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
10356
10355
 
10357
10356
  /**
10358
10357
  * Defines the props of the component.
@@ -10397,7 +10396,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
10397
10396
  onKeyPress,
10398
10397
  tabIndex = -1
10399
10398
  } = props,
10400
- forwardedProps = _objectWithoutProperties(props, _excluded$X);
10399
+ forwardedProps = _objectWithoutProperties(props, _excluded$W);
10401
10400
  const state = useTabProviderContext('tab', id);
10402
10401
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
10403
10402
  const changeToCurrentTab = useCallback(() => {
@@ -10464,7 +10463,7 @@ ProgressTrackerStep.displayName = COMPONENT_NAME$T;
10464
10463
  ProgressTrackerStep.className = CLASSNAME$Q;
10465
10464
  ProgressTrackerStep.defaultProps = DEFAULT_PROPS$E;
10466
10465
 
10467
- const _excluded$Y = ["children", "id", "className", "isActive"];
10466
+ const _excluded$X = ["children", "id", "className", "isActive"];
10468
10467
 
10469
10468
  /**
10470
10469
  * Defines the props of the component.
@@ -10501,7 +10500,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
10501
10500
  className,
10502
10501
  isActive: propIsActive
10503
10502
  } = props,
10504
- forwardedProps = _objectWithoutProperties(props, _excluded$Y);
10503
+ forwardedProps = _objectWithoutProperties(props, _excluded$X);
10505
10504
  const state = useTabProviderContext('tabPanel', id);
10506
10505
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
10507
10506
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -10521,7 +10520,7 @@ ProgressTrackerStepPanel.displayName = COMPONENT_NAME$U;
10521
10520
  ProgressTrackerStepPanel.className = CLASSNAME$R;
10522
10521
  ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$F;
10523
10522
 
10524
- const _excluded$Z = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10523
+ const _excluded$Y = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
10525
10524
 
10526
10525
  /**
10527
10526
  * Defines the props of the component.
@@ -10568,7 +10567,7 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
10568
10567
  value,
10569
10568
  inputProps
10570
10569
  } = props,
10571
- forwardedProps = _objectWithoutProperties(props, _excluded$Z);
10570
+ forwardedProps = _objectWithoutProperties(props, _excluded$Y);
10572
10571
  const generatedInputId = useId();
10573
10572
  const inputId = id || generatedInputId;
10574
10573
  const handleChange = event => {
@@ -10622,7 +10621,7 @@ RadioButton.displayName = COMPONENT_NAME$V;
10622
10621
  RadioButton.className = CLASSNAME$S;
10623
10622
  RadioButton.defaultProps = DEFAULT_PROPS$G;
10624
10623
 
10625
- const _excluded$_ = ["children", "className"];
10624
+ const _excluded$Z = ["children", "className"];
10626
10625
 
10627
10626
  /**
10628
10627
  * Defines the props of the component.
@@ -10650,7 +10649,7 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
10650
10649
  children,
10651
10650
  className
10652
10651
  } = props,
10653
- forwardedProps = _objectWithoutProperties(props, _excluded$_);
10652
+ forwardedProps = _objectWithoutProperties(props, _excluded$Z);
10654
10653
  return /*#__PURE__*/React.createElement("div", _extends({
10655
10654
  ref: ref
10656
10655
  }, forwardedProps, {
@@ -10694,7 +10693,7 @@ const SelectVariant = {
10694
10693
  chip: 'chip'
10695
10694
  };
10696
10695
 
10697
- 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"];
10696
+ 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"];
10698
10697
 
10699
10698
  /** The display name of the component. */
10700
10699
  const COMPONENT_NAME$X = 'Select';
@@ -10734,7 +10733,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10734
10733
  value,
10735
10734
  variant = DEFAULT_PROPS$H.variant
10736
10735
  } = _ref,
10737
- forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
10736
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$_);
10738
10737
  const generatedSelectId = useId();
10739
10738
  const selectId = id || generatedSelectId;
10740
10739
  const anchorRef = useRef(null);
@@ -10809,7 +10808,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
10809
10808
  }, helper));
10810
10809
  };
10811
10810
 
10812
- const _excluded$10 = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10811
+ const _excluded$$ = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10813
10812
 
10814
10813
  /** The display name of the component. */
10815
10814
  const COMPONENT_NAME$Y = 'Select';
@@ -10849,7 +10848,7 @@ const SelectField = _ref => {
10849
10848
  variant,
10850
10849
  selectElementRef
10851
10850
  } = _ref,
10852
- forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10851
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$$);
10853
10852
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10854
10853
  className: `${CLASSNAME$V}__header`
10855
10854
  }, /*#__PURE__*/React.createElement(InputLabel, {
@@ -10929,7 +10928,7 @@ Select.className = CLASSNAME$V;
10929
10928
  Select.defaultProps = DEFAULT_PROPS$I;
10930
10929
  Select.className = CLASSNAME$V;
10931
10930
 
10932
- const _excluded$11 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10931
+ const _excluded$10 = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant", "selectElementRef"];
10933
10932
 
10934
10933
  /** Defines the props of the component. */
10935
10934
 
@@ -10980,7 +10979,7 @@ const SelectMultipleField = _ref => {
10980
10979
  variant,
10981
10980
  selectElementRef
10982
10981
  } = _ref,
10983
- forwardedProps = _objectWithoutProperties(_ref, _excluded$11);
10982
+ forwardedProps = _objectWithoutProperties(_ref, _excluded$10);
10984
10983
  return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
10985
10984
  className: `${CLASSNAME$W}__header`
10986
10985
  }, /*#__PURE__*/React.createElement(InputLabel, {
@@ -11050,7 +11049,7 @@ SelectMultiple.displayName = COMPONENT_NAME$Z;
11050
11049
  SelectMultiple.className = CLASSNAME$W;
11051
11050
  SelectMultiple.defaultProps = DEFAULT_PROPS$J;
11052
11051
 
11053
- const _excluded$12 = ["children", "className", "theme"];
11052
+ const _excluded$11 = ["children", "className", "theme"];
11054
11053
 
11055
11054
  /**
11056
11055
  * Defines the props of the component.
@@ -11079,7 +11078,7 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
11079
11078
  className,
11080
11079
  theme
11081
11080
  } = props,
11082
- forwardedProps = _objectWithoutProperties(props, _excluded$12);
11081
+ forwardedProps = _objectWithoutProperties(props, _excluded$11);
11083
11082
  const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
11084
11083
  return /*#__PURE__*/React.createElement("ul", _extends({
11085
11084
  ref: ref
@@ -11092,7 +11091,7 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
11092
11091
  SideNavigation.displayName = COMPONENT_NAME$_;
11093
11092
  SideNavigation.className = CLASSNAME$X;
11094
11093
 
11095
- const _excluded$13 = ["linkAs", "href"];
11094
+ const _excluded$12 = ["linkAs", "href"];
11096
11095
  /**
11097
11096
  * Render <button> HTML component, fallbacks to `<a>` when a `href` is provided or a custom component with `linkAs`.
11098
11097
  */
@@ -11101,7 +11100,7 @@ const renderButtonOrLink = function (props) {
11101
11100
  linkAs,
11102
11101
  href
11103
11102
  } = props,
11104
- forwardedProps = _objectWithoutProperties(props, _excluded$13);
11103
+ forwardedProps = _objectWithoutProperties(props, _excluded$12);
11105
11104
  for (var _len = arguments.length, children = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
11106
11105
  children[_key - 1] = arguments[_key];
11107
11106
  }
@@ -11111,7 +11110,7 @@ const renderButtonOrLink = function (props) {
11111
11110
  }, forwardedProps), ...children);
11112
11111
  };
11113
11112
 
11114
- const _excluded$14 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11113
+ const _excluded$13 = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
11115
11114
 
11116
11115
  /**
11117
11116
  * Defines the props of the component.
@@ -11158,7 +11157,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
11158
11157
  toggleButtonProps,
11159
11158
  closeMode = 'unmount'
11160
11159
  } = props,
11161
- forwardedProps = _objectWithoutProperties(props, _excluded$14);
11160
+ forwardedProps = _objectWithoutProperties(props, _excluded$13);
11162
11161
  const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
11163
11162
  const hasContent = !isEmpty(content);
11164
11163
  const shouldSplitActions = Boolean(onActionClick);
@@ -11220,7 +11219,7 @@ SideNavigationItem.displayName = COMPONENT_NAME$$;
11220
11219
  SideNavigationItem.className = CLASSNAME$Y;
11221
11220
  SideNavigationItem.defaultProps = DEFAULT_PROPS$K;
11222
11221
 
11223
- const _excluded$15 = ["className", "size", "color", "theme"];
11222
+ const _excluded$14 = ["className", "size", "color", "theme"];
11224
11223
 
11225
11224
  /**
11226
11225
  * Defines the props of the component.
@@ -11254,7 +11253,7 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
11254
11253
  color,
11255
11254
  theme
11256
11255
  } = props,
11257
- forwardedProps = _objectWithoutProperties(props, _excluded$15);
11256
+ forwardedProps = _objectWithoutProperties(props, _excluded$14);
11258
11257
  return /*#__PURE__*/React.createElement("div", _extends({
11259
11258
  ref: ref
11260
11259
  }, forwardedProps, {
@@ -11270,7 +11269,7 @@ SkeletonCircle.displayName = COMPONENT_NAME$10;
11270
11269
  SkeletonCircle.defaultProps = DEFAULT_PROPS$L;
11271
11270
  SkeletonCircle.className = CLASSNAME$Z;
11272
11271
 
11273
- const _excluded$16 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11272
+ const _excluded$15 = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
11274
11273
 
11275
11274
  /**
11276
11275
  * Skeleton variants.
@@ -11317,7 +11316,7 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
11317
11316
  width,
11318
11317
  color
11319
11318
  } = props,
11320
- forwardedProps = _objectWithoutProperties(props, _excluded$16);
11319
+ forwardedProps = _objectWithoutProperties(props, _excluded$15);
11321
11320
  return /*#__PURE__*/React.createElement("div", _extends({
11322
11321
  ref: ref
11323
11322
  }, forwardedProps, {
@@ -11338,7 +11337,7 @@ SkeletonRectangle.displayName = COMPONENT_NAME$11;
11338
11337
  SkeletonRectangle.className = CLASSNAME$_;
11339
11338
  SkeletonRectangle.defaultProps = DEFAULT_PROPS$M;
11340
11339
 
11341
- const _excluded$17 = ["className", "theme", "typography", "width", "color"];
11340
+ const _excluded$16 = ["className", "theme", "typography", "width", "color"];
11342
11341
 
11343
11342
  /**
11344
11343
  * Defines the props of the component.
@@ -11373,7 +11372,7 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
11373
11372
  width,
11374
11373
  color
11375
11374
  } = props,
11376
- forwardedProps = _objectWithoutProperties(props, _excluded$17);
11375
+ forwardedProps = _objectWithoutProperties(props, _excluded$16);
11377
11376
  return /*#__PURE__*/React.createElement("div", _extends({
11378
11377
  ref: ref
11379
11378
  }, forwardedProps, {
@@ -11428,7 +11427,7 @@ const clamp = (value, min, max) => {
11428
11427
  return value;
11429
11428
  };
11430
11429
 
11431
- const _excluded$18 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11430
+ const _excluded$17 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
11432
11431
 
11433
11432
  /**
11434
11433
  * Defines the props of the component.
@@ -11503,7 +11502,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
11503
11502
  theme,
11504
11503
  value
11505
11504
  } = props,
11506
- forwardedProps = _objectWithoutProperties(props, _excluded$18);
11505
+ forwardedProps = _objectWithoutProperties(props, _excluded$17);
11507
11506
  const generatedId = useId();
11508
11507
  const sliderId = id || generatedId;
11509
11508
  const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
@@ -12012,7 +12011,7 @@ const useSlideFocusManagement = _ref => {
12012
12011
  }, [isSlideDisplayed, slideRef]);
12013
12012
  };
12014
12013
 
12015
- const _excluded$19 = ["className", "children", "role", "label", "isDisplayed"];
12014
+ const _excluded$18 = ["className", "children", "role", "label", "isDisplayed"];
12016
12015
 
12017
12016
  /**
12018
12017
  * Defines the props of the component.
@@ -12044,7 +12043,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
12044
12043
  label,
12045
12044
  isDisplayed
12046
12045
  } = props,
12047
- forwardedProps = _objectWithoutProperties(props, _excluded$19);
12046
+ forwardedProps = _objectWithoutProperties(props, _excluded$18);
12048
12047
  const groupRef = React.useRef(null);
12049
12048
  useSlideFocusManagement({
12050
12049
  isSlideDisplayed: isDisplayed,
@@ -12063,7 +12062,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
12063
12062
  SlideshowItemGroup.displayName = COMPONENT_NAME$14;
12064
12063
  SlideshowItemGroup.className = CLASSNAME$11;
12065
12064
 
12066
- const _excluded$1a = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
12065
+ const _excluded$19 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
12067
12066
 
12068
12067
  /**
12069
12068
  * Defines the props of the component.
@@ -12099,7 +12098,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
12099
12098
  slidesId,
12100
12099
  slideGroupLabel
12101
12100
  } = props,
12102
- forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12101
+ forwardedProps = _objectWithoutProperties(props, _excluded$19);
12103
12102
  // Number of slideshow items.
12104
12103
  const itemsCount = React.Children.count(children);
12105
12104
  const {
@@ -12181,7 +12180,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
12181
12180
  Slideshow.displayName = 'Slideshow';
12182
12181
  Slideshow.defaultProps = DEFAULT_PROPS$P;
12183
12182
 
12184
- const _excluded$1b = ["className", "children"];
12183
+ const _excluded$1a = ["className", "children"];
12185
12184
 
12186
12185
  /**
12187
12186
  * Defines the props of the component.
@@ -12209,7 +12208,7 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
12209
12208
  className,
12210
12209
  children
12211
12210
  } = props,
12212
- forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12211
+ forwardedProps = _objectWithoutProperties(props, _excluded$1a);
12213
12212
  return /*#__PURE__*/React.createElement("div", _extends({
12214
12213
  ref: ref,
12215
12214
  className: classnames(className, handleBasicClasses({
@@ -12277,7 +12276,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
12277
12276
  }, [activeIndex, slideCount]);
12278
12277
  }
12279
12278
 
12280
- const _excluded$1c = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12279
+ const _excluded$1b = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
12281
12280
  _excluded2$2 = ["className", "label"];
12282
12281
 
12283
12282
  /**
@@ -12327,7 +12326,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
12327
12326
  paginationItemLabel,
12328
12327
  paginationItemProps
12329
12328
  } = props,
12330
- forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12329
+ forwardedProps = _objectWithoutProperties(props, _excluded$1b);
12331
12330
  let parent;
12332
12331
  if (WINDOW) {
12333
12332
  // Checking window object to avoid errors in SSR.
@@ -12429,7 +12428,7 @@ const SlideshowControls = Object.assign(InternalSlideshowControls, {
12429
12428
  useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
12430
12429
  });
12431
12430
 
12432
- const _excluded$1d = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12431
+ const _excluded$1c = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
12433
12432
  /**
12434
12433
  * Component display name.
12435
12434
  */
@@ -12463,7 +12462,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
12463
12462
  hasControls,
12464
12463
  slideGroupLabel
12465
12464
  } = props,
12466
- forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12465
+ forwardedProps = _objectWithoutProperties(props, _excluded$1c);
12467
12466
  const wrapperRef = React.useRef(null);
12468
12467
  const startIndexVisible = activeIndex;
12469
12468
  const endIndexVisible = startIndexVisible + 1;
@@ -12509,7 +12508,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
12509
12508
  Slides.displayName = COMPONENT_NAME$17;
12510
12509
  Slides.className = CLASSNAME$14;
12511
12510
 
12512
- const _excluded$1e = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12511
+ const _excluded$1d = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
12513
12512
 
12514
12513
  /**
12515
12514
  * Defines the props of the component.
@@ -12557,7 +12556,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
12557
12556
  value,
12558
12557
  inputProps = {}
12559
12558
  } = props,
12560
- forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12559
+ forwardedProps = _objectWithoutProperties(props, _excluded$1d);
12561
12560
  const generatedInputId = useId();
12562
12561
  const inputId = id || generatedInputId;
12563
12562
  const handleChange = event => {
@@ -12613,7 +12612,7 @@ Switch.displayName = COMPONENT_NAME$18;
12613
12612
  Switch.className = CLASSNAME$15;
12614
12613
  Switch.defaultProps = DEFAULT_PROPS$R;
12615
12614
 
12616
- const _excluded$1f = ["children", "className", "hasBefore", "hasDividers", "theme"];
12615
+ const _excluded$1e = ["children", "className", "hasBefore", "hasDividers", "theme"];
12617
12616
 
12618
12617
  /**
12619
12618
  * Defines the props of the component.
@@ -12651,7 +12650,7 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
12651
12650
  hasDividers,
12652
12651
  theme
12653
12652
  } = props,
12654
- forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12653
+ forwardedProps = _objectWithoutProperties(props, _excluded$1e);
12655
12654
  return /*#__PURE__*/React.createElement("table", _extends({
12656
12655
  ref: ref
12657
12656
  }, forwardedProps, {
@@ -12667,7 +12666,7 @@ Table.displayName = COMPONENT_NAME$19;
12667
12666
  Table.className = CLASSNAME$16;
12668
12667
  Table.defaultProps = DEFAULT_PROPS$S;
12669
12668
 
12670
- const _excluded$1g = ["children", "className"];
12669
+ const _excluded$1f = ["children", "className"];
12671
12670
 
12672
12671
  /**
12673
12672
  * Defines the props of the component.
@@ -12695,7 +12694,7 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
12695
12694
  children,
12696
12695
  className
12697
12696
  } = props,
12698
- forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12697
+ forwardedProps = _objectWithoutProperties(props, _excluded$1f);
12699
12698
  return /*#__PURE__*/React.createElement("tbody", _extends({
12700
12699
  ref: ref
12701
12700
  }, forwardedProps, {
@@ -12707,7 +12706,7 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
12707
12706
  TableBody.displayName = COMPONENT_NAME$1a;
12708
12707
  TableBody.className = CLASSNAME$17;
12709
12708
 
12710
- const _excluded$1h = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12709
+ const _excluded$1g = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
12711
12710
 
12712
12711
  /**
12713
12712
  * Table head cell sort order.
@@ -12762,7 +12761,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
12762
12761
  sortOrder,
12763
12762
  variant
12764
12763
  } = props,
12765
- forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12764
+ forwardedProps = _objectWithoutProperties(props, _excluded$1g);
12766
12765
 
12767
12766
  // Use button if clickable
12768
12767
  const Wrapper = onHeaderClick ? 'button' : 'div';
@@ -12815,7 +12814,7 @@ TableCell.displayName = COMPONENT_NAME$1b;
12815
12814
  TableCell.className = CLASSNAME$18;
12816
12815
  TableCell.defaultProps = DEFAULT_PROPS$T;
12817
12816
 
12818
- const _excluded$1i = ["children", "className"];
12817
+ const _excluded$1h = ["children", "className"];
12819
12818
 
12820
12819
  /**
12821
12820
  * Defines the props of the component.
@@ -12848,7 +12847,7 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
12848
12847
  children,
12849
12848
  className
12850
12849
  } = props,
12851
- forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12850
+ forwardedProps = _objectWithoutProperties(props, _excluded$1h);
12852
12851
  return /*#__PURE__*/React.createElement("thead", _extends({
12853
12852
  ref: ref
12854
12853
  }, forwardedProps, {
@@ -12861,7 +12860,7 @@ TableHeader.displayName = COMPONENT_NAME$1c;
12861
12860
  TableHeader.className = CLASSNAME$19;
12862
12861
  TableHeader.defaultProps = DEFAULT_PROPS$U;
12863
12862
 
12864
- const _excluded$1j = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12863
+ const _excluded$1i = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
12865
12864
 
12866
12865
  /**
12867
12866
  * Defines the props of the component.
@@ -12898,7 +12897,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
12898
12897
  isDisabled = disabled,
12899
12898
  isSelected
12900
12899
  } = props,
12901
- forwardedProps = _objectWithoutProperties(props, _excluded$1j);
12900
+ forwardedProps = _objectWithoutProperties(props, _excluded$1i);
12902
12901
  return /*#__PURE__*/React.createElement("tr", _extends({
12903
12902
  ref: ref,
12904
12903
  tabIndex: isClickable && !isDisabled ? 0 : -1
@@ -12916,7 +12915,7 @@ TableRow.displayName = COMPONENT_NAME$1d;
12916
12915
  TableRow.className = CLASSNAME$1a;
12917
12916
  TableRow.defaultProps = DEFAULT_PROPS$V;
12918
12917
 
12919
- const _excluded$1k = ["children", "onChange"];
12918
+ const _excluded$1j = ["children", "onChange"];
12920
12919
  const DEFAULT_PROPS$W = {
12921
12920
  isLazy: INIT_STATE.isLazy,
12922
12921
  shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
@@ -12936,7 +12935,7 @@ const TabProvider = props => {
12936
12935
  children,
12937
12936
  onChange
12938
12937
  } = props,
12939
- propState = _objectWithoutProperties(props, _excluded$1k);
12938
+ propState = _objectWithoutProperties(props, _excluded$1j);
12940
12939
  const [state, dispatch] = useReducer(reducer, INIT_STATE);
12941
12940
 
12942
12941
  // On prop state change => dispatch update.
@@ -12964,7 +12963,7 @@ const TabProvider = props => {
12964
12963
  };
12965
12964
  TabProvider.defaultProps = DEFAULT_PROPS$W;
12966
12965
 
12967
- const _excluded$1l = ["aria-label", "children", "className", "layout", "position", "theme"];
12966
+ const _excluded$1k = ["aria-label", "children", "className", "layout", "position", "theme"];
12968
12967
  let TabListLayout = /*#__PURE__*/function (TabListLayout) {
12969
12968
  TabListLayout["clustered"] = "clustered";
12970
12969
  TabListLayout["fixed"] = "fixed";
@@ -13012,7 +13011,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
13012
13011
  position,
13013
13012
  theme
13014
13013
  } = props,
13015
- forwardedProps = _objectWithoutProperties(props, _excluded$1l);
13014
+ forwardedProps = _objectWithoutProperties(props, _excluded$1k);
13016
13015
  const tabListRef = React.useRef(null);
13017
13016
  useRovingTabIndex({
13018
13017
  parentRef: tabListRef,
@@ -13039,7 +13038,7 @@ TabList.displayName = COMPONENT_NAME$1e;
13039
13038
  TabList.className = CLASSNAME$1b;
13040
13039
  TabList.defaultProps = DEFAULT_PROPS$X;
13041
13040
 
13042
- const _excluded$1m = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
13041
+ const _excluded$1l = ["className", "disabled", "icon", "iconProps", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
13043
13042
 
13044
13043
  /**
13045
13044
  * Defines the props of the component.
@@ -13083,7 +13082,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
13083
13082
  onKeyPress,
13084
13083
  tabIndex = -1
13085
13084
  } = props,
13086
- forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13085
+ forwardedProps = _objectWithoutProperties(props, _excluded$1l);
13087
13086
  const state = useTabProviderContext('tab', id);
13088
13087
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
13089
13088
  const changeToCurrentTab = useCallback(() => {
@@ -13132,7 +13131,7 @@ Tab.displayName = COMPONENT_NAME$1f;
13132
13131
  Tab.className = CLASSNAME$1c;
13133
13132
  Tab.defaultProps = DEFAULT_PROPS$Y;
13134
13133
 
13135
- const _excluded$1n = ["children", "id", "className", "isActive"];
13134
+ const _excluded$1m = ["children", "id", "className", "isActive"];
13136
13135
 
13137
13136
  /**
13138
13137
  * Defines the props of the component.
@@ -13169,7 +13168,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
13169
13168
  className,
13170
13169
  isActive: propIsActive
13171
13170
  } = props,
13172
- forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13171
+ forwardedProps = _objectWithoutProperties(props, _excluded$1m);
13173
13172
  const state = useTabProviderContext('tabPanel', id);
13174
13173
  const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
13175
13174
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -13189,7 +13188,7 @@ TabPanel.displayName = COMPONENT_NAME$1g;
13189
13188
  TabPanel.className = CLASSNAME$1d;
13190
13189
  TabPanel.defaultProps = DEFAULT_PROPS$Z;
13191
13190
 
13192
- const _excluded$1o = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13191
+ const _excluded$1n = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name", "hasError", "describedById"],
13193
13192
  _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"];
13194
13193
 
13195
13194
  /**
@@ -13274,7 +13273,7 @@ const renderInputNative = props => {
13274
13273
  hasError,
13275
13274
  describedById
13276
13275
  } = props,
13277
- forwardedProps = _objectWithoutProperties(props, _excluded$1o);
13276
+ forwardedProps = _objectWithoutProperties(props, _excluded$1n);
13278
13277
  // eslint-disable-next-line react-hooks/rules-of-hooks
13279
13278
  const ref = useRef(null);
13280
13279
 
@@ -13659,7 +13658,7 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
13659
13658
  return style;
13660
13659
  };
13661
13660
 
13662
- const _excluded$1p = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "loadingPlaceholderImageRef", "size", "theme", "variant", "linkProps", "linkAs"];
13661
+ const _excluded$1o = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "objectFit", "loading", "loadingPlaceholderImageRef", "size", "theme", "variant", "linkProps", "linkAs"];
13663
13662
 
13664
13663
  /**
13665
13664
  * Defines the props of the component.
@@ -13718,7 +13717,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
13718
13717
  linkProps,
13719
13718
  linkAs
13720
13719
  } = props,
13721
- forwardedProps = _objectWithoutProperties(props, _excluded$1p);
13720
+ forwardedProps = _objectWithoutProperties(props, _excluded$1o);
13722
13721
  const [imgElement, setImgElement] = useState();
13723
13722
 
13724
13723
  // Image loading state.
@@ -13847,7 +13846,7 @@ const ThumbnailObjectFit = {
13847
13846
  contain: 'contain'
13848
13847
  };
13849
13848
 
13850
- const _excluded$1q = ["after", "before", "className", "label"];
13849
+ const _excluded$1p = ["after", "before", "className", "label"];
13851
13850
 
13852
13851
  /**
13853
13852
  * Defines the props of the component.
@@ -13882,7 +13881,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
13882
13881
  className,
13883
13882
  label
13884
13883
  } = props,
13885
- forwardedProps = _objectWithoutProperties(props, _excluded$1q);
13884
+ forwardedProps = _objectWithoutProperties(props, _excluded$1p);
13886
13885
  return /*#__PURE__*/React.createElement("div", _extends({
13887
13886
  ref: ref
13888
13887
  }, forwardedProps, {
@@ -13920,6 +13919,8 @@ const useInjectTooltipRef = (children, setAnchorElement, isOpen, id, label) => {
13920
13919
  // Only add description when open
13921
13920
  const describedBy = isOpen ? id : undefined;
13922
13921
  return useMemo(() => {
13922
+ if (!label) return children;
13923
+
13923
13924
  // Non-disabled element
13924
13925
  if ( /*#__PURE__*/React.isValidElement(children) && children.props.disabled !== true && children.props.isDisabled !== true) {
13925
13926
  const ref = mergeRefs(children.ref, setAnchorElement);
@@ -14079,7 +14080,7 @@ function useTooltipOpen(delay, anchorElement) {
14079
14080
  };
14080
14081
  }
14081
14082
 
14082
- const _excluded$1r = ["label", "children", "className", "delay", "placement", "forceOpen"];
14083
+ const _excluded$1q = ["label", "children", "className", "delay", "placement", "forceOpen"];
14083
14084
 
14084
14085
  /** Position of the tooltip relative to the anchor element. */
14085
14086
 
@@ -14126,10 +14127,10 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
14126
14127
  placement,
14127
14128
  forceOpen
14128
14129
  } = props,
14129
- forwardedProps = _objectWithoutProperties(props, _excluded$1r);
14130
- // Disable in SSR or without a label.
14131
- if (!DOCUMENT || !label) {
14132
- return /*#__PURE__*/React.createElement(TooltipContextProvider, null, children);
14130
+ forwardedProps = _objectWithoutProperties(props, _excluded$1q);
14131
+ // Disable in SSR.
14132
+ if (!DOCUMENT) {
14133
+ return /*#__PURE__*/React.createElement(React.Fragment, null, children);
14133
14134
  }
14134
14135
  const id = useId();
14135
14136
  const [popperElement, setPopperElement] = useState(null);
@@ -14151,7 +14152,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
14151
14152
  isOpen: isActivated,
14152
14153
  onPopperMount
14153
14154
  } = useTooltipOpen(delay, anchorElement);
14154
- const isOpen = isActivated || forceOpen;
14155
+ const isOpen = (isActivated || forceOpen) && !!label;
14155
14156
  const wrappedChildren = useInjectTooltipRef(children, setAnchorElement, isOpen, id, label);
14156
14157
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TooltipContextProvider, null, wrappedChildren), isOpen && /*#__PURE__*/createPortal( /*#__PURE__*/React.createElement("div", _extends({
14157
14158
  ref: mergeRefs(ref, setPopperElement, onPopperMount)
@@ -14176,7 +14177,7 @@ Tooltip.displayName = COMPONENT_NAME$1k;
14176
14177
  Tooltip.className = CLASSNAME$1h;
14177
14178
  Tooltip.defaultProps = DEFAULT_PROPS$11;
14178
14179
 
14179
- const _excluded$1s = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14180
+ const _excluded$1r = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant", "fileInputProps"];
14180
14181
 
14181
14182
  /**
14182
14183
  * Uploader variants.
@@ -14237,7 +14238,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
14237
14238
  variant,
14238
14239
  fileInputProps
14239
14240
  } = props,
14240
- forwardedProps = _objectWithoutProperties(props, _excluded$1s);
14241
+ forwardedProps = _objectWithoutProperties(props, _excluded$1r);
14241
14242
  // Adjust to square aspect ratio when using circle variants.
14242
14243
  const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
14243
14244
  const generatedInputId = useId();
@@ -14298,7 +14299,7 @@ Uploader.displayName = COMPONENT_NAME$1l;
14298
14299
  Uploader.className = CLASSNAME$1i;
14299
14300
  Uploader.defaultProps = DEFAULT_PROPS$12;
14300
14301
 
14301
- const _excluded$1t = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14302
+ const _excluded$1s = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
14302
14303
 
14303
14304
  /**
14304
14305
  * User block sizes.
@@ -14352,7 +14353,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
14352
14353
  size,
14353
14354
  theme
14354
14355
  } = props,
14355
- forwardedProps = _objectWithoutProperties(props, _excluded$1t);
14356
+ forwardedProps = _objectWithoutProperties(props, _excluded$1s);
14356
14357
  let componentSize = size;
14357
14358
 
14358
14359
  // Special case - When using vertical orientation force the size to be Sizes.l.