@patternfly/react-core 4.192.7 → 4.192.8

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/esm/components/Label/Label.d.ts.map +1 -1
  3. package/dist/esm/components/Label/Label.js +38 -25
  4. package/dist/esm/components/Label/Label.js.map +1 -1
  5. package/dist/esm/components/TimePicker/TimePicker.d.ts +4 -6
  6. package/dist/esm/components/TimePicker/TimePicker.d.ts.map +1 -1
  7. package/dist/esm/components/TimePicker/TimePicker.js +74 -42
  8. package/dist/esm/components/TimePicker/TimePicker.js.map +1 -1
  9. package/dist/js/components/Label/Label.d.ts.map +1 -1
  10. package/dist/js/components/Label/Label.js +38 -25
  11. package/dist/js/components/Label/Label.js.map +1 -1
  12. package/dist/js/components/TimePicker/TimePicker.d.ts +4 -6
  13. package/dist/js/components/TimePicker/TimePicker.d.ts.map +1 -1
  14. package/dist/js/components/TimePicker/TimePicker.js +73 -41
  15. package/dist/js/components/TimePicker/TimePicker.js.map +1 -1
  16. package/dist/umd/react-core.css +0 -104
  17. package/dist/umd/react-core.js +630 -607
  18. package/dist/umd/react-core.min.css +14 -118
  19. package/dist/umd/react-core.min.js +1 -1
  20. package/package.json +5 -5
  21. package/src/components/Alert/examples/AlertAsyncLiveRegion.tsx +1 -1
  22. package/src/components/ApplicationLauncher/examples/ApplicationLauncher.md +11 -577
  23. package/src/components/ApplicationLauncher/examples/ApplicationLauncherAlignRight.tsx +32 -0
  24. package/src/components/ApplicationLauncher/examples/ApplicationLauncherAlignTop.tsx +31 -0
  25. package/src/components/ApplicationLauncher/examples/ApplicationLauncherBasic.tsx +23 -0
  26. package/src/components/ApplicationLauncher/examples/ApplicationLauncherCustomIcon.tsx +32 -0
  27. package/src/components/ApplicationLauncher/examples/ApplicationLauncherDisabled.tsx +25 -0
  28. package/src/components/ApplicationLauncher/examples/ApplicationLauncherDocumentBody.tsx +31 -0
  29. package/src/components/ApplicationLauncher/examples/ApplicationLauncherFavoritesAndSearch.tsx +105 -0
  30. package/src/components/ApplicationLauncher/examples/ApplicationLauncherRouterLink.tsx +50 -0
  31. package/src/components/ApplicationLauncher/examples/ApplicationLauncherSectionsAndIcons.tsx +47 -0
  32. package/src/components/ApplicationLauncher/examples/ApplicationLauncherTooltip.tsx +35 -0
  33. package/src/components/Label/Label.tsx +58 -39
  34. package/src/components/Label/__tests__/Label.test.tsx +19 -1
  35. package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +109 -0
  36. package/src/components/Label/examples/Label.md +1 -41
  37. package/src/components/Label/examples/LabelEditable.tsx +57 -0
  38. package/src/components/TimePicker/TimePicker.tsx +112 -124
  39. package/src/components/TimePicker/examples/TimePicker.md +16 -10
@@ -95,7 +95,7 @@
95
95
  return classes.join(' ');
96
96
  }
97
97
 
98
- var _default$1q = {
98
+ var _default$1p = {
99
99
  "backdrop": "pf-c-backdrop",
100
100
  "backdropOpen": "pf-c-backdrop__open"
101
101
  };
@@ -3466,11 +3466,11 @@
3466
3466
  };
3467
3467
  };
3468
3468
 
3469
- var _default$1p = {
3469
+ var _default$1o = {
3470
3470
  "bullseye": "pf-l-bullseye"
3471
3471
  };
3472
3472
 
3473
- var _default$1o = {
3473
+ var _default$1n = {
3474
3474
  "aboutModalBox": "pf-c-about-modal-box",
3475
3475
  "aboutModalBoxBrand": "pf-c-about-modal-box__brand",
3476
3476
  "aboutModalBoxBrandImage": "pf-c-about-modal-box__brand-image",
@@ -3486,7 +3486,7 @@
3486
3486
  }
3487
3487
  };
3488
3488
 
3489
- var _default$1n = {
3489
+ var _default$1m = {
3490
3490
  "content": "pf-c-content",
3491
3491
  "modifiers": {
3492
3492
  "visited": "pf-m-visited",
@@ -3496,13 +3496,13 @@
3496
3496
 
3497
3497
  const AboutModalBoxContent = (_a) => {
3498
3498
  var { children, className = '', trademark, id, noAboutModalBoxContentContainer = false } = _a, props = __rest$1(_a, ["children", "className", "trademark", "id", "noAboutModalBoxContentContainer"]);
3499
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$1o.aboutModalBoxContent, className), id: id }, props),
3500
- React__namespace.createElement("div", { className: css('pf-c-about-modal-box__body') }, noAboutModalBoxContentContainer ? children : React__namespace.createElement("div", { className: css(_default$1n.content) }, children)),
3501
- React__namespace.createElement("p", { className: css(_default$1o.aboutModalBoxStrapline) }, trademark)));
3499
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$1n.aboutModalBoxContent, className), id: id }, props),
3500
+ React__namespace.createElement("div", { className: css('pf-c-about-modal-box__body') }, noAboutModalBoxContentContainer ? children : React__namespace.createElement("div", { className: css(_default$1m.content) }, children)),
3501
+ React__namespace.createElement("p", { className: css(_default$1n.aboutModalBoxStrapline) }, trademark)));
3502
3502
  };
3503
3503
  AboutModalBoxContent.displayName = 'AboutModalBoxContent';
3504
3504
 
3505
- var _default$1m = {
3505
+ var _default$1l = {
3506
3506
  "modifiers": {
3507
3507
  "4xl": "pf-m-4xl",
3508
3508
  "3xl": "pf-m-3xl",
@@ -3536,13 +3536,13 @@
3536
3536
  const Title = (_a) => {
3537
3537
  var { className = '', children = '', headingLevel: HeadingLevel, size = headingLevelSizeMap[HeadingLevel], ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["className", "children", "headingLevel", "size", "ouiaId", "ouiaSafe"]);
3538
3538
  const ouiaProps = useOUIAProps(Title.displayName, ouiaId, ouiaSafe);
3539
- return (React__namespace.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(_default$1m.title, size && _default$1m.modifiers[size], className) }), children));
3539
+ return (React__namespace.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(_default$1l.title, size && _default$1l.modifiers[size], className) }), children));
3540
3540
  };
3541
3541
  Title.displayName = 'Title';
3542
3542
 
3543
3543
  const AboutModalBoxHeader = (_a) => {
3544
3544
  var { className = '', productName = '', id } = _a, props = __rest$1(_a, ["className", "productName", "id"]);
3545
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$1o.aboutModalBoxHeader, className) }, props),
3545
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$1n.aboutModalBoxHeader, className) }, props),
3546
3546
  React__namespace.createElement(Title, { headingLevel: "h1", size: "4xl", id: id }, productName)));
3547
3547
  };
3548
3548
  AboutModalBoxHeader.displayName = 'AboutModalBoxHeader';
@@ -3560,18 +3560,18 @@
3560
3560
  /* eslint-disable camelcase */
3561
3561
  backgroundImageSrc !== ''
3562
3562
  ? { [c_about_modal_box__hero_sm_BackgroundImage$1.name]: `url(${backgroundImageSrc})` }
3563
- : {}, className: css(_default$1o.aboutModalBoxHero, className) }, props)));
3563
+ : {}, className: css(_default$1n.aboutModalBoxHero, className) }, props)));
3564
3564
  };
3565
3565
  AboutModalBoxHero.displayName = 'AboutModalBoxHero';
3566
3566
 
3567
3567
  const AboutModalBoxBrand = (_a) => {
3568
3568
  var { className = '', src = '', alt } = _a, props = __rest$1(_a, ["className", "src", "alt"]);
3569
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$1o.aboutModalBoxBrand, className) }, props),
3570
- React__namespace.createElement("img", { className: css(_default$1o.aboutModalBoxBrandImage), src: src, alt: alt })));
3569
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$1n.aboutModalBoxBrand, className) }, props),
3570
+ React__namespace.createElement("img", { className: css(_default$1n.aboutModalBoxBrandImage), src: src, alt: alt })));
3571
3571
  };
3572
3572
  AboutModalBoxBrand.displayName = 'AboutModalBoxBrand';
3573
3573
 
3574
- var _default$1l = {
3574
+ var _default$1k = {
3575
3575
  "button": "pf-c-button",
3576
3576
  "buttonIcon": "pf-c-button__icon",
3577
3577
  "buttonProgress": "pf-c-button__progress",
@@ -3601,7 +3601,7 @@
3601
3601
  "spinner": "pf-c-spinner"
3602
3602
  };
3603
3603
 
3604
- var _default$1k = {
3604
+ var _default$1j = {
3605
3605
  "modifiers": {
3606
3606
  "sm": "pf-m-sm",
3607
3607
  "md": "pf-m-md",
@@ -3627,10 +3627,10 @@
3627
3627
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3628
3628
  className = '', size = 'xl', 'aria-valuetext': ariaValueText = 'Loading...', isSVG = false, diameter } = _a, props = __rest$1(_a, ["className", "size", 'aria-valuetext', "isSVG", "diameter"]);
3629
3629
  const Component = isSVG ? 'svg' : 'span';
3630
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$1k.spinner, _default$1k.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText }, (isSVG && { viewBox: '0 0 100 100' }), (diameter && { style: { '--pf-c-spinner--diameter': diameter } }), props), isSVG ? (React__namespace.createElement("circle", { className: _default$1k.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })) : (React__namespace.createElement(React__namespace.Fragment, null,
3631
- React__namespace.createElement("span", { className: css(_default$1k.spinnerClipper) }),
3632
- React__namespace.createElement("span", { className: css(_default$1k.spinnerLeadBall) }),
3633
- React__namespace.createElement("span", { className: css(_default$1k.spinnerTailBall) })))));
3630
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$1j.spinner, _default$1j.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText }, (isSVG && { viewBox: '0 0 100 100' }), (diameter && { style: { '--pf-c-spinner--diameter': diameter } }), props), isSVG ? (React__namespace.createElement("circle", { className: _default$1j.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })) : (React__namespace.createElement(React__namespace.Fragment, null,
3631
+ React__namespace.createElement("span", { className: css(_default$1j.spinnerClipper) }),
3632
+ React__namespace.createElement("span", { className: css(_default$1j.spinnerLeadBall) }),
3633
+ React__namespace.createElement("span", { className: css(_default$1j.spinnerTailBall) })))));
3634
3634
  };
3635
3635
  Spinner.displayName = 'Spinner';
3636
3636
 
@@ -3671,12 +3671,12 @@
3671
3671
  return 0;
3672
3672
  }
3673
3673
  };
3674
- return (React__namespace.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$1l.button, _default$1l.modifiers[variant], isBlock && _default$1l.modifiers.block, isDisabled && _default$1l.modifiers.disabled, isAriaDisabled && _default$1l.modifiers.ariaDisabled, isActive && _default$1l.modifiers.active, isInline && variant === exports.ButtonVariant.link && _default$1l.modifiers.inline, isDanger && (variant === exports.ButtonVariant.secondary || variant === exports.ButtonVariant.link) && _default$1l.modifiers.danger, isLoading !== null && _default$1l.modifiers.progress, isLoading && _default$1l.modifiers.inProgress, isSmall && _default$1l.modifiers.small, isLarge && _default$1l.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3675
- isLoading && (React__namespace.createElement("span", { className: css(_default$1l.buttonProgress) },
3674
+ return (React__namespace.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$1k.button, _default$1k.modifiers[variant], isBlock && _default$1k.modifiers.block, isDisabled && _default$1k.modifiers.disabled, isAriaDisabled && _default$1k.modifiers.ariaDisabled, isActive && _default$1k.modifiers.active, isInline && variant === exports.ButtonVariant.link && _default$1k.modifiers.inline, isDanger && (variant === exports.ButtonVariant.secondary || variant === exports.ButtonVariant.link) && _default$1k.modifiers.danger, isLoading !== null && _default$1k.modifiers.progress, isLoading && _default$1k.modifiers.inProgress, isSmall && _default$1k.modifiers.small, isLarge && _default$1k.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3675
+ isLoading && (React__namespace.createElement("span", { className: css(_default$1k.buttonProgress) },
3676
3676
  React__namespace.createElement(Spinner, { size: exports.spinnerSize.md, "aria-valuetext": spinnerAriaValueText }))),
3677
- variant !== exports.ButtonVariant.plain && icon && iconPosition === 'left' && (React__namespace.createElement("span", { className: css(_default$1l.buttonIcon, _default$1l.modifiers.start) }, icon)),
3677
+ variant !== exports.ButtonVariant.plain && icon && iconPosition === 'left' && (React__namespace.createElement("span", { className: css(_default$1k.buttonIcon, _default$1k.modifiers.start) }, icon)),
3678
3678
  children,
3679
- variant !== exports.ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(_default$1l.buttonIcon, _default$1l.modifiers.end) }, icon))));
3679
+ variant !== exports.ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(_default$1k.buttonIcon, _default$1k.modifiers.end) }, icon))));
3680
3680
  };
3681
3681
  const Button = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(ButtonBase, Object.assign({ innerRef: ref }, props))));
3682
3682
  Button.displayName = 'Button';
@@ -3776,7 +3776,7 @@
3776
3776
 
3777
3777
  const AboutModalBoxCloseButton = (_a) => {
3778
3778
  var { className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close Dialog' } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label']);
3779
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$1o.aboutModalBoxClose, className) }, props),
3779
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$1n.aboutModalBoxClose, className) }, props),
3780
3780
  React__namespace.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel },
3781
3781
  React__namespace.createElement(TimesIcon$1, null))));
3782
3782
  };
@@ -3784,13 +3784,13 @@
3784
3784
 
3785
3785
  const AboutModalBox = (_a) => {
3786
3786
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
3787
- return (React__namespace.createElement("div", Object.assign({ role: "dialog", "aria-modal": "true", className: css(_default$1o.aboutModalBox, className) }, props), children));
3787
+ return (React__namespace.createElement("div", Object.assign({ role: "dialog", "aria-modal": "true", className: css(_default$1n.aboutModalBox, className) }, props), children));
3788
3788
  };
3789
3789
  AboutModalBox.displayName = 'AboutModalBox';
3790
3790
 
3791
3791
  const Backdrop = (_a) => {
3792
3792
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
3793
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$1q.backdrop, className) }), children));
3793
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$1p.backdrop, className) }), children));
3794
3794
  };
3795
3795
  Backdrop.displayName = 'Backdrop';
3796
3796
 
@@ -3800,7 +3800,7 @@
3800
3800
  return null;
3801
3801
  }
3802
3802
  return (React__namespace.createElement(Backdrop, null,
3803
- React__namespace.createElement(FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true }, className: css(_default$1p.bullseye) },
3803
+ React__namespace.createElement(FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true }, className: css(_default$1o.bullseye) },
3804
3804
  React__namespace.createElement(AboutModalBox, { className: className, "aria-labelledby": aboutModalBoxHeaderId, "aria-describedby": aboutModalBoxContentId },
3805
3805
  React__namespace.createElement(AboutModalBoxBrand, { src: brandImageSrc, alt: brandImageAlt }),
3806
3806
  React__namespace.createElement(AboutModalBoxCloseButton, { "aria-label": closeButtonAriaLabel, onClose: onClose }),
@@ -3852,20 +3852,20 @@
3852
3852
  target.appendChild(container);
3853
3853
  target.addEventListener('keydown', this.handleEscKeyClick, false);
3854
3854
  if (this.props.isOpen) {
3855
- target.classList.add(css(_default$1q.backdropOpen));
3855
+ target.classList.add(css(_default$1p.backdropOpen));
3856
3856
  }
3857
3857
  else {
3858
- target.classList.remove(css(_default$1q.backdropOpen));
3858
+ target.classList.remove(css(_default$1p.backdropOpen));
3859
3859
  }
3860
3860
  }
3861
3861
  componentDidUpdate() {
3862
3862
  const target = this.getElement(this.props.appendTo);
3863
3863
  if (this.props.isOpen) {
3864
- target.classList.add(css(_default$1q.backdropOpen));
3864
+ target.classList.add(css(_default$1p.backdropOpen));
3865
3865
  this.toggleSiblingsFromScreenReaders(true);
3866
3866
  }
3867
3867
  else {
3868
- target.classList.remove(css(_default$1q.backdropOpen));
3868
+ target.classList.remove(css(_default$1p.backdropOpen));
3869
3869
  this.toggleSiblingsFromScreenReaders(false);
3870
3870
  }
3871
3871
  }
@@ -3875,7 +3875,7 @@
3875
3875
  target.removeChild(this.state.container);
3876
3876
  }
3877
3877
  target.removeEventListener('keydown', this.handleEscKeyClick, false);
3878
- target.classList.remove(css(_default$1q.backdropOpen));
3878
+ target.classList.remove(css(_default$1p.backdropOpen));
3879
3879
  }
3880
3880
  render() {
3881
3881
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3900,7 +3900,7 @@
3900
3900
  appendTo: null
3901
3901
  };
3902
3902
 
3903
- var _default$1j = {
3903
+ var _default$1i = {
3904
3904
  "accordion": "pf-c-accordion",
3905
3905
  "accordionExpandedContent": "pf-c-accordion__expanded-content",
3906
3906
  "accordionExpandedContentBody": "pf-c-accordion__expanded-content-body",
@@ -3920,7 +3920,7 @@
3920
3920
  const Accordion = (_a) => {
3921
3921
  var { children = null, className = '', 'aria-label': ariaLabel = '', headingLevel = 'h3', asDefinitionList = true, isBordered = false, displaySize = 'default' } = _a, props = __rest$1(_a, ["children", "className", 'aria-label', "headingLevel", "asDefinitionList", "isBordered", "displaySize"]);
3922
3922
  const AccordionList = asDefinitionList ? 'dl' : 'div';
3923
- return (React__namespace.createElement(AccordionList, Object.assign({ className: css(_default$1j.accordion, isBordered && _default$1j.modifiers.bordered, displaySize === 'large' && _default$1j.modifiers.displayLg, className), "aria-label": ariaLabel }, props),
3923
+ return (React__namespace.createElement(AccordionList, Object.assign({ className: css(_default$1i.accordion, isBordered && _default$1i.modifiers.bordered, displaySize === 'large' && _default$1i.modifiers.displayLg, className), "aria-label": ariaLabel }, props),
3924
3924
  React__namespace.createElement(AccordionContext.Provider, { value: {
3925
3925
  ContentContainer: asDefinitionList ? 'dd' : 'div',
3926
3926
  ToggleContainer: asDefinitionList ? 'dt' : headingLevel
@@ -3928,14 +3928,14 @@
3928
3928
  };
3929
3929
  Accordion.displayName = 'Accordion';
3930
3930
 
3931
- const AccordionExpandedContentBody = ({ children = null }) => React__namespace.createElement("div", { className: css(_default$1j.accordionExpandedContentBody) }, children);
3931
+ const AccordionExpandedContentBody = ({ children = null }) => React__namespace.createElement("div", { className: css(_default$1i.accordionExpandedContentBody) }, children);
3932
3932
  AccordionExpandedContentBody.displayName = 'AccordionExpandedContentBody';
3933
3933
 
3934
3934
  const AccordionContent = (_a) => {
3935
3935
  var { className = '', children = null, id = '', isHidden = false, isFixed = false, isCustomContent = false, 'aria-label': ariaLabel = '', component } = _a, props = __rest$1(_a, ["className", "children", "id", "isHidden", "isFixed", "isCustomContent", 'aria-label', "component"]);
3936
3936
  return (React__namespace.createElement(AccordionContext.Consumer, null, ({ ContentContainer }) => {
3937
3937
  const Container = component || ContentContainer;
3938
- return (React__namespace.createElement(Container, Object.assign({ id: id, className: css(_default$1j.accordionExpandedContent, isFixed && _default$1j.modifiers.fixed, !isHidden && _default$1j.modifiers.expanded, className), hidden: isHidden, "aria-label": ariaLabel }, props), isCustomContent ? children : React__namespace.createElement(AccordionExpandedContentBody, null, children)));
3938
+ return (React__namespace.createElement(Container, Object.assign({ id: id, className: css(_default$1i.accordionExpandedContent, isFixed && _default$1i.modifiers.fixed, !isHidden && _default$1i.modifiers.expanded, className), hidden: isHidden, "aria-label": ariaLabel }, props), isCustomContent ? children : React__namespace.createElement(AccordionExpandedContentBody, null, children)));
3939
3939
  }));
3940
3940
  };
3941
3941
  AccordionContent.displayName = 'AccordionContent';
@@ -3961,15 +3961,15 @@
3961
3961
  return (React__namespace.createElement(AccordionContext.Consumer, null, ({ ToggleContainer }) => {
3962
3962
  const Container = component || ToggleContainer;
3963
3963
  return (React__namespace.createElement(Container, null,
3964
- React__namespace.createElement("button", Object.assign({ id: id, className: css(_default$1j.accordionToggle, isExpanded && _default$1j.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
3965
- React__namespace.createElement("span", { className: css(_default$1j.accordionToggleText) }, children),
3966
- React__namespace.createElement("span", { className: css(_default$1j.accordionToggleIcon) },
3964
+ React__namespace.createElement("button", Object.assign({ id: id, className: css(_default$1i.accordionToggle, isExpanded && _default$1i.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
3965
+ React__namespace.createElement("span", { className: css(_default$1i.accordionToggleText) }, children),
3966
+ React__namespace.createElement("span", { className: css(_default$1i.accordionToggleIcon) },
3967
3967
  React__namespace.createElement(AngleRightIcon$1, null)))));
3968
3968
  }));
3969
3969
  };
3970
3970
  AccordionToggle.displayName = 'AccordionToggle';
3971
3971
 
3972
- var _default$1i = {
3972
+ var _default$1h = {
3973
3973
  "actionList": "pf-c-action-list",
3974
3974
  "actionListGroup": "pf-c-action-list__group",
3975
3975
  "modifiers": {
@@ -3979,13 +3979,13 @@
3979
3979
 
3980
3980
  const ActionList = (_a) => {
3981
3981
  var { children, isIconList, className = '' } = _a, props = __rest$1(_a, ["children", "isIconList", "className"]);
3982
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$1i.actionList, isIconList && _default$1i.modifiers.icons, className) }, props), children));
3982
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$1h.actionList, isIconList && _default$1h.modifiers.icons, className) }, props), children));
3983
3983
  };
3984
3984
  ActionList.displayName = 'ActionList';
3985
3985
 
3986
3986
  const ActionListGroup = (_a) => {
3987
3987
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
3988
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$1i.actionListGroup, className) }, props), children));
3988
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$1h.actionListGroup, className) }, props), children));
3989
3989
  };
3990
3990
  ActionListGroup.displayName = 'ActionListGroup';
3991
3991
 
@@ -3995,7 +3995,7 @@
3995
3995
  };
3996
3996
  ActionListItem.displayName = 'ActionListItem';
3997
3997
 
3998
- var _default$1h = {
3998
+ var _default$1g = {
3999
3999
  "alert": "pf-c-alert",
4000
4000
  "alertAction": "pf-c-alert__action",
4001
4001
  "alertActionGroup": "pf-c-alert__action-group",
@@ -4019,7 +4019,7 @@
4019
4019
  }
4020
4020
  };
4021
4021
 
4022
- var _default$1g = {
4022
+ var _default$1f = {
4023
4023
  "hidden": "pf-u-hidden",
4024
4024
  "hiddenOnLg": "pf-u-hidden-on-lg",
4025
4025
  "hiddenOnMd": "pf-u-hidden-on-md",
@@ -4115,7 +4115,7 @@
4115
4115
  const AlertIcon = (_a) => {
4116
4116
  var { variant, customIcon, className = '' } = _a, props = __rest$1(_a, ["variant", "customIcon", "className"]);
4117
4117
  const Icon = variantIcons$2[variant];
4118
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$1h.alertIcon, className) }), customIcon || React__namespace.createElement(Icon, null)));
4118
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$1g.alertIcon, className) }), customIcon || React__namespace.createElement(Icon, null)));
4119
4119
  };
4120
4120
 
4121
4121
  const AlertContext = React__namespace.createContext(null);
@@ -4127,7 +4127,7 @@
4127
4127
  };
4128
4128
  var maxLines$2 = c_alert__title_max_lines;
4129
4129
 
4130
- var _default$1f = {
4130
+ var _default$1e = {
4131
4131
  "modifiers": {
4132
4132
  "top": "pf-m-top",
4133
4133
  "topLeft": "pf-m-top-left",
@@ -4150,13 +4150,13 @@
4150
4150
 
4151
4151
  const TooltipContent = (_a) => {
4152
4152
  var { className, children, isLeftAligned } = _a, props = __rest$1(_a, ["className", "children", "isLeftAligned"]);
4153
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$1f.tooltipContent, isLeftAligned && _default$1f.modifiers.textAlignLeft, className) }, props), children));
4153
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$1e.tooltipContent, isLeftAligned && _default$1e.modifiers.textAlignLeft, className) }, props), children));
4154
4154
  };
4155
4155
  TooltipContent.displayName = 'TooltipContent';
4156
4156
 
4157
4157
  const TooltipArrow = (_a) => {
4158
4158
  var { className } = _a, props = __rest$1(_a, ["className"]);
4159
- return React__namespace.createElement("div", Object.assign({ className: css(_default$1f.tooltipArrow, className) }, props));
4159
+ return React__namespace.createElement("div", Object.assign({ className: css(_default$1e.tooltipArrow, className) }, props));
4160
4160
  };
4161
4161
  TooltipArrow.displayName = 'TooltipArrow';
4162
4162
 
@@ -4248,13 +4248,13 @@
4248
4248
  }, exitDelay);
4249
4249
  };
4250
4250
  const positionModifiers = {
4251
- top: _default$1f.modifiers.top,
4252
- bottom: _default$1f.modifiers.bottom,
4253
- left: _default$1f.modifiers.left,
4254
- right: _default$1f.modifiers.right
4251
+ top: _default$1e.modifiers.top,
4252
+ bottom: _default$1e.modifiers.bottom,
4253
+ left: _default$1e.modifiers.left,
4254
+ right: _default$1e.modifiers.right
4255
4255
  };
4256
4256
  const hasCustomMaxWidth = maxWidth !== tooltipMaxWidth.value;
4257
- const content = (React__namespace.createElement("div", Object.assign({ className: css(_default$1f.tooltip, className), role: "tooltip", id: id, style: {
4257
+ const content = (React__namespace.createElement("div", Object.assign({ className: css(_default$1e.tooltip, className), role: "tooltip", id: id, style: {
4258
4258
  maxWidth: hasCustomMaxWidth ? maxWidth : null,
4259
4259
  opacity,
4260
4260
  transition: getOpacityTransition(animationDuration)
@@ -4291,7 +4291,7 @@
4291
4291
  var { 'aria-label': ariaLabel, variantLabel, onToggleExpand, isExpanded } = _a, props = __rest$1(_a, ['aria-label', "variantLabel", "onToggleExpand", "isExpanded"]);
4292
4292
  const { title, variantLabel: alertVariantLabel } = React__namespace.useContext(AlertContext);
4293
4293
  return (React__namespace.createElement(Button, Object.assign({ variant: exports.ButtonVariant.plain, onClick: onToggleExpand, "aria-expanded": isExpanded, "aria-label": ariaLabel === '' ? `Toggle ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel }, props),
4294
- React__namespace.createElement("span", { className: css(_default$1h.alertToggleIcon) },
4294
+ React__namespace.createElement("span", { className: css(_default$1g.alertToggleIcon) },
4295
4295
  React__namespace.createElement(AngleRightIcon$1, { "aria-hidden": "true" }))));
4296
4296
  };
4297
4297
  AlertToggleExpandButton.displayName = 'AlertToggleExpandButton';
@@ -4308,7 +4308,7 @@
4308
4308
  var { variant = exports.AlertVariant.default, isInline = false, isPlain = false, isLiveRegion = false, variantLabel = `${capitalize(variant)} alert:`, 'aria-label': ariaLabel = `${capitalize(variant)} Alert`, actionClose, actionLinks, title, titleHeadingLevel: TitleHeadingLevel = 'h4', children = '', className = '', ouiaId, ouiaSafe = true, timeout = false, timeoutAnimation = 3000, onTimeout = () => { }, truncateTitle = 0, tooltipPosition, customIcon, isExpandable = false, toggleAriaLabel = `${capitalize(variant)} alert details`, onMouseEnter = () => { }, onMouseLeave = () => { } } = _a, props = __rest$1(_a, ["variant", "isInline", "isPlain", "isLiveRegion", "variantLabel", 'aria-label', "actionClose", "actionLinks", "title", "titleHeadingLevel", "children", "className", "ouiaId", "ouiaSafe", "timeout", "timeoutAnimation", "onTimeout", "truncateTitle", "tooltipPosition", "customIcon", "isExpandable", "toggleAriaLabel", "onMouseEnter", "onMouseLeave"]);
4309
4309
  const ouiaProps = useOUIAProps(Alert.displayName, ouiaId, ouiaSafe, variant);
4310
4310
  const getHeadingContent = (React__namespace.createElement(React__namespace.Fragment, null,
4311
- React__namespace.createElement("span", { className: css(_default$1g.screenReader) }, variantLabel),
4311
+ React__namespace.createElement("span", { className: css(_default$1f.screenReader) }, variantLabel),
4312
4312
  title));
4313
4313
  const titleRef = React__namespace.useRef(null);
4314
4314
  const divRef = React__namespace.useRef();
@@ -4375,20 +4375,20 @@
4375
4375
  if (dismissed) {
4376
4376
  return null;
4377
4377
  }
4378
- const Title = (React__namespace.createElement(TitleHeadingLevel, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(_default$1h.alertTitle, truncateTitle && _default$1h.modifiers.truncate) }), getHeadingContent));
4379
- return (React__namespace.createElement("div", Object.assign({ ref: divRef, className: css(_default$1h.alert, isInline && _default$1h.modifiers.inline, isPlain && _default$1h.modifiers.plain, isExpandable && _default$1h.modifiers.expandable, isExpanded && _default$1h.modifiers.expanded, _default$1h.modifiers[variant], className), "aria-label": ariaLabel }, ouiaProps, (isLiveRegion && {
4378
+ const Title = (React__namespace.createElement(TitleHeadingLevel, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(_default$1g.alertTitle, truncateTitle && _default$1g.modifiers.truncate) }), getHeadingContent));
4379
+ return (React__namespace.createElement("div", Object.assign({ ref: divRef, className: css(_default$1g.alert, isInline && _default$1g.modifiers.inline, isPlain && _default$1g.modifiers.plain, isExpandable && _default$1g.modifiers.expandable, isExpanded && _default$1g.modifiers.expanded, _default$1g.modifiers[variant], className), "aria-label": ariaLabel }, ouiaProps, (isLiveRegion && {
4380
4380
  'aria-live': 'polite',
4381
4381
  'aria-atomic': 'false'
4382
4382
  }), { onMouseEnter: myOnMouseEnter, onMouseLeave: myOnMouseLeave }, props),
4383
4383
  isExpandable && (React__namespace.createElement(AlertContext.Provider, { value: { title, variantLabel } },
4384
- React__namespace.createElement("div", { className: css(_default$1h.alertToggle) },
4384
+ React__namespace.createElement("div", { className: css(_default$1g.alertToggle) },
4385
4385
  React__namespace.createElement(AlertToggleExpandButton, { isExpanded: isExpanded, onToggleExpand: onToggleExpand, "aria-label": toggleAriaLabel })))),
4386
4386
  React__namespace.createElement(AlertIcon, { variant: variant, customIcon: customIcon }),
4387
4387
  isTooltipVisible ? (React__namespace.createElement(Tooltip, { content: getHeadingContent, position: tooltipPosition }, Title)) : (Title),
4388
4388
  actionClose && (React__namespace.createElement(AlertContext.Provider, { value: { title, variantLabel } },
4389
- React__namespace.createElement("div", { className: css(_default$1h.alertAction) }, actionClose))),
4390
- children && (!isExpandable || (isExpandable && isExpanded)) && (React__namespace.createElement("div", { className: css(_default$1h.alertDescription) }, children)),
4391
- actionLinks && React__namespace.createElement("div", { className: css(_default$1h.alertActionGroup) }, actionLinks)));
4389
+ React__namespace.createElement("div", { className: css(_default$1g.alertAction) }, actionClose))),
4390
+ children && (!isExpandable || (isExpandable && isExpanded)) && (React__namespace.createElement("div", { className: css(_default$1g.alertDescription) }, children)),
4391
+ actionLinks && React__namespace.createElement("div", { className: css(_default$1g.alertActionGroup) }, actionLinks)));
4392
4392
  };
4393
4393
  Alert.displayName = 'Alert';
4394
4394
 
@@ -4407,7 +4407,7 @@
4407
4407
  };
4408
4408
  AlertActionLink.displayName = 'AlertActionLink';
4409
4409
 
4410
- var _default$1e = {
4410
+ var _default$1d = {
4411
4411
  "alertGroup": "pf-c-alert-group",
4412
4412
  "modifiers": {
4413
4413
  "toast": "pf-m-toast"
@@ -4416,7 +4416,7 @@
4416
4416
 
4417
4417
  const AlertGroupInline = (_a) => {
4418
4418
  var { className, children, isToast, isLiveRegion } = _a, rest = __rest$1(_a, ["className", "children", "isToast", "isLiveRegion"]);
4419
- return (React__namespace.createElement("ul", Object.assign({ "aria-live": isLiveRegion ? 'polite' : null, "aria-atomic": isLiveRegion ? false : null, className: css(_default$1e.alertGroup, className, isToast ? _default$1e.modifiers.toast : '') }, rest), React__namespace.Children.toArray(children).map((Alert, index) => (React__namespace.createElement("li", { key: index }, Alert)))));
4419
+ return (React__namespace.createElement("ul", Object.assign({ "aria-live": isLiveRegion ? 'polite' : null, "aria-atomic": isLiveRegion ? false : null, className: css(_default$1d.alertGroup, className, isToast ? _default$1d.modifiers.toast : '') }, rest), React__namespace.Children.toArray(children).map((Alert, index) => (React__namespace.createElement("li", { key: index }, Alert)))));
4420
4420
  };
4421
4421
  AlertGroupInline.displayName = 'AlertGroupInline';
4422
4422
 
@@ -4461,7 +4461,7 @@
4461
4461
  }
4462
4462
  AlertGroup.displayName = 'AlertGroup';
4463
4463
 
4464
- var _default$1d = {
4464
+ var _default$1c = {
4465
4465
  "appLauncher": "pf-c-app-launcher",
4466
4466
  "appLauncherGroup": "pf-c-app-launcher__group",
4467
4467
  "appLauncherGroupTitle": "pf-c-app-launcher__group-title",
@@ -4487,7 +4487,7 @@
4487
4487
  }
4488
4488
  };
4489
4489
 
4490
- var _default$1c = {
4490
+ var _default$1b = {
4491
4491
  "formControl": "pf-c-form-control",
4492
4492
  "modifiers": {
4493
4493
  "success": "pf-m-success",
@@ -4516,7 +4516,7 @@
4516
4516
 
4517
4517
  var ThIcon$1 = ThIcon;
4518
4518
 
4519
- var _default$1b = {
4519
+ var _default$1a = {
4520
4520
  "badge": "pf-c-badge",
4521
4521
  "check": "pf-c-check",
4522
4522
  "divider": "pf-c-divider",
@@ -4697,12 +4697,12 @@
4697
4697
  return (React__namespace.createElement(DropdownArrowContext.Provider, { value: {
4698
4698
  keyHandler: this.childKeyHandler,
4699
4699
  sendRef: this.sendRef
4700
- } }, component === 'div' ? (React__namespace.createElement(DropdownContext.Consumer, null, ({ onSelect, menuClass }) => (React__namespace.createElement("div", { className: css(menuClass, position === exports.DropdownPosition.right && _default$1b.modifiers.alignRight, formatBreakpointMods(alignments, _default$1b, 'align-'), className), hidden: !isOpen, onClick: event => onSelect && onSelect(event), ref: setMenuComponentRef }, children)))) : ((isGrouped && (React__namespace.createElement(DropdownContext.Consumer, null, ({ menuClass, menuComponent }) => {
4700
+ } }, component === 'div' ? (React__namespace.createElement(DropdownContext.Consumer, null, ({ onSelect, menuClass }) => (React__namespace.createElement("div", { className: css(menuClass, position === exports.DropdownPosition.right && _default$1a.modifiers.alignRight, formatBreakpointMods(alignments, _default$1a, 'align-'), className), hidden: !isOpen, onClick: event => onSelect && onSelect(event), ref: setMenuComponentRef }, children)))) : ((isGrouped && (React__namespace.createElement(DropdownContext.Consumer, null, ({ menuClass, menuComponent }) => {
4701
4701
  const MenuComponent = (menuComponent || 'div');
4702
- return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === exports.DropdownPosition.right && _default$1b.modifiers.alignRight, formatBreakpointMods(alignments, _default$1b, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
4702
+ return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === exports.DropdownPosition.right && _default$1a.modifiers.alignRight, formatBreakpointMods(alignments, _default$1a, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
4703
4703
  }))) || (React__namespace.createElement(DropdownContext.Consumer, null, ({ menuClass, menuComponent }) => {
4704
4704
  const MenuComponent = (menuComponent || component);
4705
- return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === exports.DropdownPosition.right && _default$1b.modifiers.alignRight, formatBreakpointMods(alignments, _default$1b, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
4705
+ return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === exports.DropdownPosition.right && _default$1a.modifiers.alignRight, formatBreakpointMods(alignments, _default$1a, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
4706
4706
  })))));
4707
4707
  }
4708
4708
  }
@@ -4717,7 +4717,7 @@
4717
4717
  isGrouped: false,
4718
4718
  setMenuComponentRef: null
4719
4719
  };
4720
- DropdownMenu.validToggleClasses = [_default$1b.dropdownToggle, _default$1b.dropdownToggleButton];
4720
+ DropdownMenu.validToggleClasses = [_default$1a.dropdownToggle, _default$1a.dropdownToggleButton];
4721
4721
  DropdownMenu.focusFirstRef = (refCollection) => {
4722
4722
  if (refCollection && refCollection[0] && refCollection[0].focus) {
4723
4723
  setTimeout(() => refCollection[0].focus());
@@ -4769,8 +4769,8 @@
4769
4769
  return (React__namespace.createElement(DropdownContext.Consumer, null, ({ baseClass, baseComponent, id: contextId, ouiaId, ouiaComponentType, ouiaSafe, alignments }) => {
4770
4770
  const BaseComponent = baseComponent;
4771
4771
  const menuContainer = (React__namespace.createElement(DropdownMenu, { setMenuComponentRef: this.setMenuComponentRef, component: component, isOpen: isOpen, position: position, "aria-labelledby": contextId ? `${contextId}-toggle` : id, isGrouped: isGrouped, autoFocus: openedOnEnter && autoFocus, alignments: alignments }, renderedContent));
4772
- const popperContainer = (React__namespace.createElement("div", { className: css(baseClass, direction === exports.DropdownDirection.up && _default$1b.modifiers.top, position === exports.DropdownPosition.right && _default$1b.modifiers.alignRight, isOpen && _default$1b.modifiers.expanded, className) }, isOpen && menuContainer));
4773
- const mainContainer = (React__namespace.createElement(BaseComponent, Object.assign({}, props, { className: css(baseClass, direction === exports.DropdownDirection.up && _default$1b.modifiers.top, position === exports.DropdownPosition.right && _default$1b.modifiers.alignRight, isOpen && _default$1b.modifiers.expanded, isFullHeight && _default$1b.modifiers.fullHeight, className), ref: this.baseComponentRef }, getOUIAProps(ouiaComponentType, ouiaId, ouiaSafe)),
4772
+ const popperContainer = (React__namespace.createElement("div", { className: css(baseClass, direction === exports.DropdownDirection.up && _default$1a.modifiers.top, position === exports.DropdownPosition.right && _default$1a.modifiers.alignRight, isOpen && _default$1a.modifiers.expanded, className) }, isOpen && menuContainer));
4773
+ const mainContainer = (React__namespace.createElement(BaseComponent, Object.assign({}, props, { className: css(baseClass, direction === exports.DropdownDirection.up && _default$1a.modifiers.top, position === exports.DropdownPosition.right && _default$1a.modifiers.alignRight, isOpen && _default$1a.modifiers.expanded, isFullHeight && _default$1a.modifiers.fullHeight, className), ref: this.baseComponentRef }, getOUIAProps(ouiaComponentType, ouiaId, ouiaSafe)),
4774
4774
  React__namespace.Children.map(toggle, oneToggle => React__namespace.cloneElement(oneToggle, {
4775
4775
  parentRef: this.baseComponentRef,
4776
4776
  getMenuRef: this.getMenuComponentRef,
@@ -4817,7 +4817,7 @@
4817
4817
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
4818
4818
  ref, // Types of Ref are different for React.FC vs React.Component
4819
4819
  ouiaId, ouiaSafe, alignments, contextProps } = _a, props = __rest$1(_a, ["onSelect", "ref", "ouiaId", "ouiaSafe", "alignments", "contextProps"]);
4820
- return (React__namespace.createElement(DropdownContext.Provider, { value: Object.assign({ onSelect: event => onSelect && onSelect(event), toggleTextClass: _default$1b.dropdownToggleText, toggleIconClass: _default$1b.dropdownToggleImage, toggleIndicatorClass: _default$1b.dropdownToggleIcon, menuClass: _default$1b.dropdownMenu, itemClass: _default$1b.dropdownMenuItem, toggleClass: _default$1b.dropdownToggle, baseClass: _default$1b.dropdown, baseComponent: 'div', sectionClass: _default$1b.dropdownGroup, sectionTitleClass: _default$1b.dropdownGroupTitle, sectionComponent: 'section', disabledClass: _default$1b.modifiers.disabled, plainTextClass: _default$1b.modifiers.text, ouiaId: useOUIAId(Dropdown.displayName, ouiaId), ouiaSafe, ouiaComponentType: Dropdown.displayName, alignments }, contextProps) },
4820
+ return (React__namespace.createElement(DropdownContext.Provider, { value: Object.assign({ onSelect: event => onSelect && onSelect(event), toggleTextClass: _default$1a.dropdownToggleText, toggleIconClass: _default$1a.dropdownToggleImage, toggleIndicatorClass: _default$1a.dropdownToggleIcon, menuClass: _default$1a.dropdownMenu, itemClass: _default$1a.dropdownMenuItem, toggleClass: _default$1a.dropdownToggle, baseClass: _default$1a.dropdown, baseComponent: 'div', sectionClass: _default$1a.dropdownGroup, sectionTitleClass: _default$1a.dropdownGroupTitle, sectionComponent: 'section', disabledClass: _default$1a.modifiers.disabled, plainTextClass: _default$1a.modifiers.text, ouiaId: useOUIAId(Dropdown.displayName, ouiaId), ouiaSafe, ouiaComponentType: Dropdown.displayName, alignments }, contextProps) },
4821
4821
  React__namespace.createElement(DropdownWithContext, Object.assign({}, props))));
4822
4822
  };
4823
4823
  Dropdown.displayName = 'Dropdown';
@@ -4902,7 +4902,7 @@
4902
4902
  /* eslint-disable @typescript-eslint/no-unused-vars */
4903
4903
  const _a = this.props, { className, children, isHovered, context, onClick, component, role, isDisabled, isAriaDisabled, isPlainText, index, href, tooltip, tooltipProps, id, componentID, listItemClassName, additionalChild, customChild, enterTriggersArrowDown, icon, autoFocus, styleChildren, description, inoperableEvents } = _a, additionalProps = __rest$1(_a, ["className", "children", "isHovered", "context", "onClick", "component", "role", "isDisabled", "isAriaDisabled", "isPlainText", "index", "href", "tooltip", "tooltipProps", "id", "componentID", "listItemClassName", "additionalChild", "customChild", "enterTriggersArrowDown", "icon", "autoFocus", "styleChildren", "description", "inoperableEvents"]);
4904
4904
  /* eslint-enable @typescript-eslint/no-unused-vars */
4905
- let classes = css(icon && _default$1b.modifiers.icon, isAriaDisabled && _default$1b.modifiers.ariaDisabled, className);
4905
+ let classes = css(icon && _default$1a.modifiers.icon, isAriaDisabled && _default$1a.modifiers.ariaDisabled, className);
4906
4906
  if (component === 'a') {
4907
4907
  additionalProps['aria-disabled'] = isDisabled || isAriaDisabled;
4908
4908
  }
@@ -4917,17 +4917,17 @@
4917
4917
  const renderDefaultComponent = (tag) => {
4918
4918
  const Component = tag;
4919
4919
  const componentContent = description ? (React__namespace.createElement(React__namespace.Fragment, null,
4920
- React__namespace.createElement("div", { className: _default$1b.dropdownMenuItemMain },
4921
- icon && React__namespace.createElement("span", { className: css(_default$1b.dropdownMenuItemIcon) }, icon),
4920
+ React__namespace.createElement("div", { className: _default$1a.dropdownMenuItemMain },
4921
+ icon && React__namespace.createElement("span", { className: css(_default$1a.dropdownMenuItemIcon) }, icon),
4922
4922
  children),
4923
- React__namespace.createElement("div", { className: _default$1b.dropdownMenuItemDescription }, description))) : (React__namespace.createElement(React__namespace.Fragment, null,
4924
- icon && React__namespace.createElement("span", { className: css(_default$1b.dropdownMenuItemIcon) }, icon),
4923
+ React__namespace.createElement("div", { className: _default$1a.dropdownMenuItemDescription }, description))) : (React__namespace.createElement(React__namespace.Fragment, null,
4924
+ icon && React__namespace.createElement("span", { className: css(_default$1a.dropdownMenuItemIcon) }, icon),
4925
4925
  children));
4926
4926
  return (React__namespace.createElement(Component, Object.assign({}, additionalProps, (isDisabled || isAriaDisabled ? preventedEvents(inoperableEvents) : null), { href: href, ref: this.ref, className: classes, id: componentID }), componentContent));
4927
4927
  };
4928
4928
  return (React__namespace.createElement(DropdownContext.Consumer, null, ({ onSelect, itemClass, disabledClass, plainTextClass }) => {
4929
4929
  if (this.props.role !== 'separator') {
4930
- classes = css(classes, isDisabled && disabledClass, isPlainText && plainTextClass, itemClass, description && _default$1b.modifiers.description);
4930
+ classes = css(classes, isDisabled && disabledClass, isPlainText && plainTextClass, itemClass, description && _default$1a.modifiers.description);
4931
4931
  }
4932
4932
  if (customChild) {
4933
4933
  return React__namespace.cloneElement(customChild, {
@@ -4981,7 +4981,7 @@
4981
4981
  };
4982
4982
  DropdownItem.displayName = 'DropdownItem';
4983
4983
 
4984
- var _default$1a = {
4984
+ var _default$19 = {
4985
4985
  "divider": "pf-c-divider",
4986
4986
  "modifiers": {
4987
4987
  "hidden": "pf-m-hidden",
@@ -5056,7 +5056,7 @@
5056
5056
  const Divider = (_a) => {
5057
5057
  var { className, component = exports.DividerVariant.hr, isVertical = false, inset } = _a, props = __rest$1(_a, ["className", "component", "isVertical", "inset"]);
5058
5058
  const Component = component;
5059
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$1a.divider, isVertical && _default$1a.modifiers.vertical, formatBreakpointMods(inset, _default$1a), className) }, (component !== 'hr' && { role: 'separator' }), props)));
5059
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$19.divider, isVertical && _default$19.modifiers.vertical, formatBreakpointMods(inset, _default$19), className) }, (component !== 'hr' && { role: 'separator' }), props)));
5060
5060
  };
5061
5061
  Divider.displayName = 'Divider';
5062
5062
 
@@ -5085,8 +5085,8 @@
5085
5085
 
5086
5086
  const buttonVariantStyles = {
5087
5087
  default: '',
5088
- primary: _default$1b.modifiers.primary,
5089
- secondary: _default$1b.modifiers.secondary
5088
+ primary: _default$1a.modifiers.primary,
5089
+ secondary: _default$1a.modifiers.secondary
5090
5090
  };
5091
5091
  class Toggle extends React__namespace.Component {
5092
5092
  constructor() {
@@ -5151,7 +5151,7 @@
5151
5151
  isActive, bubbleEvent, onEnter, parentRef, getMenuRef,
5152
5152
  /* eslint-enable @typescript-eslint/no-unused-vars */
5153
5153
  id, type } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isDisabled", "isPlain", "isText", "isPrimary", "isSplitButton", "toggleVariant", "onToggle", 'aria-haspopup', "isActive", "bubbleEvent", "onEnter", "parentRef", "getMenuRef", "id", "type"]);
5154
- return (React__namespace.createElement(DropdownContext.Consumer, null, ({ toggleClass }) => (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.buttonRef, className: css(isSplitButton ? _default$1b.dropdownToggleButton : toggleClass || _default$1b.dropdownToggle, isActive && _default$1b.modifiers.active, isPlain && _default$1b.modifiers.plain, isText && _default$1b.modifiers.text, isPrimary && _default$1b.modifiers.primary, buttonVariantStyles[toggleVariant], className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
5154
+ return (React__namespace.createElement(DropdownContext.Consumer, null, ({ toggleClass }) => (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.buttonRef, className: css(isSplitButton ? _default$1a.dropdownToggleButton : toggleClass || _default$1a.dropdownToggle, isActive && _default$1a.modifiers.active, isPlain && _default$1a.modifiers.plain, isText && _default$1a.modifiers.text, isPrimary && _default$1a.modifiers.primary, buttonVariantStyles[toggleVariant], className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
5155
5155
  }
5156
5156
  }
5157
5157
  Toggle.displayName = 'Toggle';
@@ -5169,7 +5169,7 @@
5169
5169
  bubbleEvent: false
5170
5170
  };
5171
5171
 
5172
- var _default$19 = {
5172
+ var _default$18 = {
5173
5173
  "badge": "pf-c-badge",
5174
5174
  "modifiers": {
5175
5175
  "read": "pf-m-read",
@@ -5179,7 +5179,7 @@
5179
5179
 
5180
5180
  const Badge = (_a) => {
5181
5181
  var { isRead = false, className = '', children = '' } = _a, props = __rest$1(_a, ["isRead", "className", "children"]);
5182
- return (React__namespace.createElement("span", Object.assign({}, props, { className: css(_default$19.badge, (isRead ? _default$19.modifiers.read : _default$19.modifiers.unread), className) }), children));
5182
+ return (React__namespace.createElement("span", Object.assign({}, props, { className: css(_default$18.badge, (isRead ? _default$18.modifiers.read : _default$18.modifiers.unread), className) }), children));
5183
5183
  };
5184
5184
  Badge.displayName = 'Badge';
5185
5185
 
@@ -5191,7 +5191,7 @@
5191
5191
  return (React__namespace.createElement(Toggle, Object.assign({ id: id, className: className, isOpen: isOpen, "aria-label": ariaLabel, parentRef: parentRef, getMenuRef: getMenuRef, isActive: isActive, isPlain: isPlain || true, isDisabled: isDisabled, onToggle: onToggle, bubbleEvent: bubbleEvent }, props),
5192
5192
  React__namespace.createElement(Badge, Object.assign({}, badgeProps),
5193
5193
  children,
5194
- React__namespace.createElement("span", { className: css(_default$1b.dropdownToggleIcon) },
5194
+ React__namespace.createElement("span", { className: css(_default$1a.dropdownToggleIcon) },
5195
5195
  React__namespace.createElement(CaretDownIcon$1, null)))));
5196
5196
  };
5197
5197
  BadgeToggle.displayName = 'BadgeToggle';
@@ -5237,7 +5237,7 @@
5237
5237
  ToggleIndicator && (React__namespace.createElement("span", { className: css(!splitButtonItems && toggleIndicatorClass) },
5238
5238
  React__namespace.createElement(ToggleIndicator, null)))))));
5239
5239
  if (splitButtonItems) {
5240
- return (React__namespace.createElement("div", { className: css(_default$1b.dropdownToggle, _default$1b.modifiers.splitButton, splitButtonVariant === 'action' && _default$1b.modifiers.action, (toggleVariant === 'primary' || isPrimary) && splitButtonVariant === 'action' && _default$1b.modifiers.primary, isDisabled && _default$1b.modifiers.disabled) },
5240
+ return (React__namespace.createElement("div", { className: css(_default$1a.dropdownToggle, _default$1a.modifiers.splitButton, splitButtonVariant === 'action' && _default$1a.modifiers.action, (toggleVariant === 'primary' || isPrimary) && splitButtonVariant === 'action' && _default$1a.modifiers.primary, isDisabled && _default$1a.modifiers.disabled) },
5241
5241
  splitButtonItems,
5242
5242
  toggle));
5243
5243
  }
@@ -5272,8 +5272,8 @@
5272
5272
  onChange, checked } = _a,
5273
5273
  /* eslint-enable @typescript-eslint/no-unused-vars */
5274
5274
  props = __rest$1(_a, ["className", "isValid", "isDisabled", "isChecked", "children", "ouiaId", "ouiaSafe", "onChange", "checked"]);
5275
- const text = children && (React__namespace.createElement("span", { className: css(_default$1b.dropdownToggleText, className), "aria-hidden": "true", id: `${props.id}-text` }, children));
5276
- return (React__namespace.createElement("label", { className: css(_default$1b.dropdownToggleCheck, className), htmlFor: props.id },
5275
+ const text = children && (React__namespace.createElement("span", { className: css(_default$1a.dropdownToggleText, className), "aria-hidden": "true", id: `${props.id}-text` }, children));
5276
+ return (React__namespace.createElement("label", { className: css(_default$1a.dropdownToggleCheck, className), htmlFor: props.id },
5277
5277
  React__namespace.createElement("input", Object.assign({}, props, (this.calculateChecked() !== undefined && { onChange: this.handleChange }), { type: "checkbox", ref: elem => elem && (elem.indeterminate = isChecked === null), "aria-invalid": !isValid, disabled: isDisabled, checked: this.calculateChecked() }, getOUIAProps(DropdownToggleCheckbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))),
5278
5278
  text));
5279
5279
  }
@@ -5289,7 +5289,7 @@
5289
5289
  class DropdownToggleAction extends React__namespace.Component {
5290
5290
  render() {
5291
5291
  const _a = this.props, { id, className, onClick, isDisabled, children } = _a, props = __rest$1(_a, ["id", "className", "onClick", "isDisabled", "children"]);
5292
- return (React__namespace.createElement("button", Object.assign({ id: id, className: css(_default$1b.dropdownToggleButton, className), onClick: onClick }, (isDisabled && { disabled: true, 'aria-disabled': true }), props), children));
5292
+ return (React__namespace.createElement("button", Object.assign({ id: id, className: css(_default$1a.dropdownToggleButton, className), onClick: onClick }, (isDisabled && { disabled: true, 'aria-disabled': true }), props), children));
5293
5293
  }
5294
5294
  }
5295
5295
  DropdownToggleAction.displayName = 'DropdownToggleAction';
@@ -5315,7 +5315,7 @@
5315
5315
  var {
5316
5316
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5317
5317
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
5318
- return (React__namespace.createElement("span", Object.assign({ className: css(_default$1d.appLauncherMenuItemIcon) }, props), children));
5318
+ return (React__namespace.createElement("span", Object.assign({ className: css(_default$1c.appLauncherMenuItemIcon) }, props), children));
5319
5319
  };
5320
5320
  ApplicationLauncherIcon.displayName = 'ApplicationLauncherIcon';
5321
5321
 
@@ -5344,9 +5344,9 @@
5344
5344
  icon && React__namespace.createElement(ApplicationLauncherIcon, null, icon),
5345
5345
  icon ? React__namespace.createElement(ApplicationLauncherText, null, children) : children,
5346
5346
  isExternal && (React__namespace.createElement(React__namespace.Fragment, null,
5347
- React__namespace.createElement("span", { className: css(_default$1d.appLauncherMenuItemExternalIcon) },
5347
+ React__namespace.createElement("span", { className: css(_default$1c.appLauncherMenuItemExternalIcon) },
5348
5348
  React__namespace.createElement(ExternalLinkAltIcon$1, null)),
5349
- React__namespace.createElement("span", { className: css(_default$1g.screenReader) }, "(opens new window)")))))));
5349
+ React__namespace.createElement("span", { className: css(_default$1f.screenReader) }, "(opens new window)")))))));
5350
5350
  ApplicationLauncherContent.displayName = 'ApplicationLauncherContent';
5351
5351
 
5352
5352
  const ApplicationLauncherContext = React__namespace.createContext({
@@ -5370,8 +5370,8 @@
5370
5370
  const ApplicationLauncherItem = (_a) => {
5371
5371
  var { className = '', id, children, icon = null, isExternal = false, href, tooltip = null, tooltipProps = null, component = 'a', isFavorite = null, ariaIsFavoriteLabel = 'starred', ariaIsNotFavoriteLabel = 'not starred', customChild, enterTriggersArrowDown = false } = _a, props = __rest$1(_a, ["className", "id", "children", "icon", "isExternal", "href", "tooltip", "tooltipProps", "component", "isFavorite", "ariaIsFavoriteLabel", "ariaIsNotFavoriteLabel", "customChild", "enterTriggersArrowDown"]);
5372
5372
  return (React__namespace.createElement(ApplicationLauncherItemContext.Provider, { value: { isExternal, icon } },
5373
- React__namespace.createElement(ApplicationLauncherContext.Consumer, null, ({ onFavorite }) => (React__namespace.createElement(DropdownItem, Object.assign({ id: id, component: component, href: href || null, className: css(isExternal && _default$1d.modifiers.external, isFavorite !== null && _default$1d.modifiers.link, className), listItemClassName: css(onFavorite && _default$1d.appLauncherMenuWrapper, isFavorite && _default$1d.modifiers.favorite), tooltip: tooltip, tooltipProps: tooltipProps }, (enterTriggersArrowDown === true && { enterTriggersArrowDown }), (customChild && { customChild }), (isFavorite !== null && {
5374
- additionalChild: (React__namespace.createElement("button", { className: css(_default$1d.appLauncherMenuItem, _default$1d.modifiers.action), "aria-label": isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel, onClick: () => {
5373
+ React__namespace.createElement(ApplicationLauncherContext.Consumer, null, ({ onFavorite }) => (React__namespace.createElement(DropdownItem, Object.assign({ id: id, component: component, href: href || null, className: css(isExternal && _default$1c.modifiers.external, isFavorite !== null && _default$1c.modifiers.link, className), listItemClassName: css(onFavorite && _default$1c.appLauncherMenuWrapper, isFavorite && _default$1c.modifiers.favorite), tooltip: tooltip, tooltipProps: tooltipProps }, (enterTriggersArrowDown === true && { enterTriggersArrowDown }), (customChild && { customChild }), (isFavorite !== null && {
5374
+ additionalChild: (React__namespace.createElement("button", { className: css(_default$1c.appLauncherMenuItem, _default$1c.modifiers.action), "aria-label": isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel, onClick: () => {
5375
5375
  onFavorite((id || getUniqueId('app-launcher-option')).replace('favorite-', ''), isFavorite);
5376
5376
  } },
5377
5377
  React__namespace.createElement(StarIcon$1, null)))
@@ -5445,8 +5445,8 @@
5445
5445
  super(...arguments);
5446
5446
  this.createSearchBox = () => {
5447
5447
  const { onSearch, searchPlaceholderText, searchProps } = this.props;
5448
- return (React__namespace.createElement("div", { key: "search", className: css(_default$1d.appLauncherMenuSearch) },
5449
- React__namespace.createElement(ApplicationLauncherItem, { customChild: React__namespace.createElement("input", Object.assign({ type: "search", className: css(_default$1c.formControl), placeholder: searchPlaceholderText, onChange: e => onSearch(e.target.value) }, searchProps)) })));
5448
+ return (React__namespace.createElement("div", { key: "search", className: css(_default$1c.appLauncherMenuSearch) },
5449
+ React__namespace.createElement(ApplicationLauncherItem, { customChild: React__namespace.createElement("input", Object.assign({ type: "search", className: css(_default$1b.formControl), placeholder: searchPlaceholderText, onChange: e => onSearch(e.target.value) }, searchProps)) })));
5450
5450
  };
5451
5451
  }
5452
5452
  render() {
@@ -5489,15 +5489,15 @@
5489
5489
  return (React__namespace.createElement(ApplicationLauncherContext.Provider, { value: { onFavorite } },
5490
5490
  React__namespace.createElement(DropdownContext.Provider, { value: {
5491
5491
  onSelect,
5492
- menuClass: _default$1d.appLauncherMenu,
5493
- itemClass: _default$1d.appLauncherMenuItem,
5494
- toggleClass: _default$1d.appLauncherToggle,
5495
- baseClass: _default$1d.appLauncher,
5492
+ menuClass: _default$1c.appLauncherMenu,
5493
+ itemClass: _default$1c.appLauncherMenuItem,
5494
+ toggleClass: _default$1c.appLauncherToggle,
5495
+ baseClass: _default$1c.appLauncher,
5496
5496
  baseComponent: 'nav',
5497
- sectionClass: _default$1d.appLauncherGroup,
5498
- sectionTitleClass: _default$1d.appLauncherGroupTitle,
5497
+ sectionClass: _default$1c.appLauncherGroup,
5498
+ sectionTitleClass: _default$1c.appLauncherGroupTitle,
5499
5499
  sectionComponent: 'section',
5500
- disabledClass: _default$1d.modifiers.disabled,
5500
+ disabledClass: _default$1c.modifiers.disabled,
5501
5501
  ouiaComponentType: ApplicationLauncher.displayName
5502
5502
  } },
5503
5503
  React__namespace.createElement(DropdownWithContext, Object.assign({}, props, { dropdownItems: renderableItems, isOpen: isOpen, className: className, "aria-label": ariaLabel, menuAppendTo: menuAppendTo, toggle: React__namespace.createElement(DropdownToggle, { id: toggleId, toggleIndicator: null, isOpen: isOpen, onToggle: onToggle, isDisabled: isDisabled, "aria-label": ariaLabel }, toggleIcon), isGrouped: isGrouped })))));
@@ -5524,7 +5524,7 @@
5524
5524
  menuAppendTo: 'inline'
5525
5525
  };
5526
5526
 
5527
- var _default$18 = {
5527
+ var _default$17 = {
5528
5528
  "avatar": "pf-c-avatar",
5529
5529
  "modifiers": {
5530
5530
  "light": "pf-m-light",
@@ -5534,11 +5534,11 @@
5534
5534
 
5535
5535
  const Avatar = (_a) => {
5536
5536
  var { className = '', src = '', alt, border } = _a, props = __rest$1(_a, ["className", "src", "alt", "border"]);
5537
- return (React__namespace.createElement("img", Object.assign({ src: src, alt: alt, className: css(_default$18.avatar, border === 'light' && _default$18.modifiers.light, border === 'dark' && _default$18.modifiers.dark, className) }, props)));
5537
+ return (React__namespace.createElement("img", Object.assign({ src: src, alt: alt, className: css(_default$17.avatar, border === 'light' && _default$17.modifiers.light, border === 'dark' && _default$17.modifiers.dark, className) }, props)));
5538
5538
  };
5539
5539
  Avatar.displayName = 'Avatar';
5540
5540
 
5541
- var _default$17 = {
5541
+ var _default$16 = {
5542
5542
  "backToTop": "pf-c-back-to-top",
5543
5543
  "button": "pf-c-button",
5544
5544
  "modifiers": {
@@ -5605,7 +5605,7 @@
5605
5605
  const handleClick = () => {
5606
5606
  scrollElement.scrollTo({ top: 0, behavior: 'smooth' });
5607
5607
  };
5608
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$17.backToTop, !visible && _default$17.modifiers.hidden, className), ref: innerRef, onClick: handleClick }, props),
5608
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$16.backToTop, !visible && _default$16.modifiers.hidden, className), ref: innerRef, onClick: handleClick }, props),
5609
5609
  React__namespace.createElement(Button, { variant: "primary", icon: React__namespace.createElement(AngleUpIcon$1, { "aria-hidden": "true" }), iconPosition: "right" }, title)));
5610
5610
  };
5611
5611
  const BackToTop = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(BackToTopBase, Object.assign({ innerRef: ref }, props))));
@@ -5653,7 +5653,7 @@
5653
5653
  };
5654
5654
  var cssVarNameFilter = c_background_image_Filter;
5655
5655
 
5656
- var _default$16 = {
5656
+ var _default$15 = {
5657
5657
  "backgroundImage": "pf-c-background-image",
5658
5658
  "backgroundImageFilter": "pf-c-background-image__filter"
5659
5659
  };
@@ -5687,12 +5687,12 @@
5687
5687
  [cssVarNameLg.name]: getUrlValue('lg'),
5688
5688
  [cssVarNameFilter.name]: `url(#${filterId})`
5689
5689
  };
5690
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$16.backgroundImage, className), style: style }, props),
5690
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$15.backgroundImage, className), style: style }, props),
5691
5691
  React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: "pf-c-background-image__filter", width: "0", height: "0" }, React__namespace.cloneElement(filter, { id: filterId }))));
5692
5692
  };
5693
5693
  BackgroundImage.displayName = 'BackgroundImage';
5694
5694
 
5695
- var _default$15 = {
5695
+ var _default$14 = {
5696
5696
  "banner": "pf-c-banner",
5697
5697
  "button": "pf-c-button",
5698
5698
  "card": "pf-c-card",
@@ -5709,7 +5709,7 @@
5709
5709
 
5710
5710
  const Banner = (_a) => {
5711
5711
  var { children, className, variant = 'default', isSticky = false } = _a, props = __rest$1(_a, ["children", "className", "variant", "isSticky"]);
5712
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$15.banner, _default$15.modifiers[variant], isSticky && _default$15.modifiers.sticky, className) }, props), children));
5712
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$14.banner, _default$14.modifiers[variant], isSticky && _default$14.modifiers.sticky, className) }, props), children));
5713
5713
  };
5714
5714
  Banner.displayName = 'Banner';
5715
5715
 
@@ -5721,7 +5721,7 @@
5721
5721
  };
5722
5722
  Brand.displayName = 'Brand';
5723
5723
 
5724
- var _default$14 = {
5724
+ var _default$13 = {
5725
5725
  "breadcrumb": "pf-c-breadcrumb",
5726
5726
  "breadcrumbDropdown": "pf-c-breadcrumb__dropdown",
5727
5727
  "breadcrumbHeading": "pf-c-breadcrumb__heading",
@@ -5739,8 +5739,8 @@
5739
5739
  const Breadcrumb = (_a) => {
5740
5740
  var { children = null, className = '', 'aria-label': ariaLabel = 'Breadcrumb', ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "className", 'aria-label', "ouiaId", "ouiaSafe"]);
5741
5741
  const ouiaProps = useOUIAProps(Breadcrumb.displayName, ouiaId, ouiaSafe);
5742
- return (React__namespace.createElement("nav", Object.assign({}, props, { "aria-label": ariaLabel, className: css(_default$14.breadcrumb, className) }, ouiaProps),
5743
- React__namespace.createElement("ol", { className: _default$14.breadcrumbList }, React__namespace.Children.map(children, (child, index) => {
5742
+ return (React__namespace.createElement("nav", Object.assign({}, props, { "aria-label": ariaLabel, className: css(_default$13.breadcrumb, className) }, ouiaProps),
5743
+ React__namespace.createElement("ol", { className: _default$13.breadcrumbList }, React__namespace.Children.map(children, (child, index) => {
5744
5744
  const showDivider = index > 0;
5745
5745
  if (React__namespace.isValidElement(child)) {
5746
5746
  return React__namespace.cloneElement(child, { showDivider });
@@ -5754,12 +5754,12 @@
5754
5754
  var { children = null, className: classNameProp = '', to = undefined, isActive = false, isDropdown = false, showDivider, target = undefined, component = 'a', render = undefined } = _a, props = __rest$1(_a, ["children", "className", "to", "isActive", "isDropdown", "showDivider", "target", "component", "render"]);
5755
5755
  const Component = component;
5756
5756
  const ariaCurrent = isActive ? 'page' : undefined;
5757
- const className = css(_default$14.breadcrumbLink, isActive && _default$14.modifiers.current);
5758
- return (React__namespace.createElement("li", Object.assign({}, props, { className: css(_default$14.breadcrumbItem, classNameProp) }),
5759
- showDivider && (React__namespace.createElement("span", { className: _default$14.breadcrumbItemDivider },
5757
+ const className = css(_default$13.breadcrumbLink, isActive && _default$13.modifiers.current);
5758
+ return (React__namespace.createElement("li", Object.assign({}, props, { className: css(_default$13.breadcrumbItem, classNameProp) }),
5759
+ showDivider && (React__namespace.createElement("span", { className: _default$13.breadcrumbItemDivider },
5760
5760
  React__namespace.createElement(AngleRightIcon$1, null))),
5761
5761
  component === 'button' && (React__namespace.createElement("button", { className: className, "aria-current": ariaCurrent, type: "button" }, children)),
5762
- isDropdown && React__namespace.createElement("span", { className: css(_default$14.breadcrumbDropdown) }, children),
5762
+ isDropdown && React__namespace.createElement("span", { className: css(_default$13.breadcrumbDropdown) }, children),
5763
5763
  render && render({ className, ariaCurrent }),
5764
5764
  to && !render && (React__namespace.createElement(Component, { href: to, target: target, className: className, "aria-current": ariaCurrent }, children)),
5765
5765
  !to && component !== 'button' && !isDropdown && children));
@@ -5769,12 +5769,12 @@
5769
5769
  const BreadcrumbHeading = (_a) => {
5770
5770
  var { children = null, className = '', to = undefined, target = undefined, component = 'a', showDivider } = _a, props = __rest$1(_a, ["children", "className", "to", "target", "component", "showDivider"]);
5771
5771
  const Component = component;
5772
- return (React__namespace.createElement("li", Object.assign({}, props, { className: css(_default$14.breadcrumbItem, className) }),
5773
- showDivider && (React__namespace.createElement("span", { className: _default$14.breadcrumbItemDivider },
5772
+ return (React__namespace.createElement("li", Object.assign({}, props, { className: css(_default$13.breadcrumbItem, className) }),
5773
+ showDivider && (React__namespace.createElement("span", { className: _default$13.breadcrumbItemDivider },
5774
5774
  React__namespace.createElement(AngleRightIcon$1, null))),
5775
- React__namespace.createElement("h1", { className: _default$14.breadcrumbHeading },
5776
- !to && component === 'button' && (React__namespace.createElement("button", { className: css(_default$14.breadcrumbLink, _default$14.modifiers.current), "aria-current": true, type: "button" }, children)),
5777
- to && (React__namespace.createElement(Component, { href: to, target: target, className: css(_default$14.breadcrumbLink, _default$14.modifiers.current), "aria-current": "page" }, children)),
5775
+ React__namespace.createElement("h1", { className: _default$13.breadcrumbHeading },
5776
+ !to && component === 'button' && (React__namespace.createElement("button", { className: css(_default$13.breadcrumbLink, _default$13.modifiers.current), "aria-current": true, type: "button" }, children)),
5777
+ to && (React__namespace.createElement(Component, { href: to, target: target, className: css(_default$13.breadcrumbLink, _default$13.modifiers.current), "aria-current": "page" }, children)),
5778
5778
  !to && component !== 'button' && React__namespace.createElement(React__namespace.Fragment, null, children))));
5779
5779
  };
5780
5780
  BreadcrumbHeading.displayName = 'BreadcrumbHeading';
@@ -5863,7 +5863,7 @@
5863
5863
  if (customIconDimensions) {
5864
5864
  customIconStyle.backgroundSize = customIconDimensions;
5865
5865
  }
5866
- return (React__namespace.createElement("input", Object.assign({}, props, { onFocus: this.onFocus, onBlur: this.onBlur, className: css(_default$1c.formControl, validated === exports.ValidatedOptions.success && _default$1c.modifiers.success, validated === exports.ValidatedOptions.warning && _default$1c.modifiers.warning, ((iconVariant && iconVariant !== 'search') || customIconUrl) && _default$1c.modifiers.icon, iconVariant && _default$1c.modifiers[iconVariant], className), onChange: this.handleChange, type: type, value: value, "aria-invalid": props['aria-invalid'] ? props['aria-invalid'] : validated === exports.ValidatedOptions.error, required: isRequired, disabled: isDisabled, readOnly: isReadOnly, ref: innerRef || this.inputRef }, ((customIconUrl || customIconDimensions) && { style: customIconStyle }), getOUIAProps(TextInput.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
5866
+ return (React__namespace.createElement("input", Object.assign({}, props, { onFocus: this.onFocus, onBlur: this.onBlur, className: css(_default$1b.formControl, validated === exports.ValidatedOptions.success && _default$1b.modifiers.success, validated === exports.ValidatedOptions.warning && _default$1b.modifiers.warning, ((iconVariant && iconVariant !== 'search') || customIconUrl) && _default$1b.modifiers.icon, iconVariant && _default$1b.modifiers[iconVariant], className), onChange: this.handleChange, type: type, value: value, "aria-invalid": props['aria-invalid'] ? props['aria-invalid'] : validated === exports.ValidatedOptions.error, required: isRequired, disabled: isDisabled, readOnly: isReadOnly, ref: innerRef || this.inputRef }, ((customIconUrl || customIconDimensions) && { style: customIconStyle }), getOUIAProps(TextInput.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
5867
5867
  }
5868
5868
  }
5869
5869
  TextInputBase.displayName = 'TextInputBase';
@@ -5882,7 +5882,7 @@
5882
5882
  const TextInput = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TextInputBase, Object.assign({}, props, { innerRef: ref }))));
5883
5883
  TextInput.displayName = 'TextInput';
5884
5884
 
5885
- var _default$13 = {
5885
+ var _default$12 = {
5886
5886
  "check": "pf-c-check",
5887
5887
  "checkLabel": "pf-c-check__label",
5888
5888
  "chipGroup": "pf-c-chip-group",
@@ -5953,7 +5953,7 @@
5953
5953
 
5954
5954
  var TimesCircleIcon$1 = TimesCircleIcon;
5955
5955
 
5956
- var _default$12 = {
5956
+ var _default$11 = {
5957
5957
  "form": "pf-c-form",
5958
5958
  "formActions": "pf-c-form__actions",
5959
5959
  "formFieldGroup": "pf-c-form__field-group",
@@ -6006,7 +6006,7 @@
6006
6006
  }
6007
6007
  };
6008
6008
 
6009
- var _default$11 = {
6009
+ var _default$10 = {
6010
6010
  "check": "pf-c-check",
6011
6011
  "checkBody": "pf-c-check__body",
6012
6012
  "checkDescription": "pf-c-check__description",
@@ -6130,16 +6130,16 @@
6130
6130
  console.error('Please provide an id to use the favorites feature.');
6131
6131
  }
6132
6132
  const generatedId = id || getUniqueId('select-option');
6133
- const favoriteButton = (onFavorite) => (React__namespace.createElement("button", { className: css(_default$13.selectMenuItem, _default$13.modifiers.action, _default$13.modifiers.favoriteAction), "aria-label": isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel, onClick: () => {
6133
+ const favoriteButton = (onFavorite) => (React__namespace.createElement("button", { className: css(_default$12.selectMenuItem, _default$12.modifiers.action, _default$12.modifiers.favoriteAction), "aria-label": isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel, onClick: () => {
6134
6134
  onFavorite(generatedId.replace('favorite-', ''), isFavorite);
6135
6135
  }, onKeyDown: event => {
6136
6136
  this.onKeyDown(event, 1, () => onFavorite(generatedId.replace('favorite-', '')));
6137
6137
  }, ref: this.favoriteRef },
6138
- React__namespace.createElement("span", { className: css(_default$13.selectMenuItemActionIcon) },
6138
+ React__namespace.createElement("span", { className: css(_default$12.selectMenuItemActionIcon) },
6139
6139
  React__namespace.createElement(StarIcon$1, null))));
6140
- const itemDisplay = itemCount ? (React__namespace.createElement("span", { className: css(_default$13.selectMenuItemRow) },
6141
- React__namespace.createElement("span", { className: css(_default$13.selectMenuItemText) }, children || (value && value.toString && value.toString())),
6142
- React__namespace.createElement("span", { className: css(_default$13.selectMenuItemCount) }, itemCount))) : (children || value.toString());
6140
+ const itemDisplay = itemCount ? (React__namespace.createElement("span", { className: css(_default$12.selectMenuItemRow) },
6141
+ React__namespace.createElement("span", { className: css(_default$12.selectMenuItemText) }, children || (value && value.toString && value.toString())),
6142
+ React__namespace.createElement("span", { className: css(_default$12.selectMenuItemCount) }, itemCount))) : (children || value.toString());
6143
6143
  const onViewMoreClick = (event) => {
6144
6144
  // Set the index for the next item to focus after view more clicked, then call view more callback
6145
6145
  setViewMoreNextIndex();
@@ -6147,24 +6147,24 @@
6147
6147
  };
6148
6148
  const renderOption = (onSelect, onClose, variant, inputIdPrefix, onFavorite) => {
6149
6149
  if (variant !== exports.SelectVariant.checkbox && isLoading && isGrouped) {
6150
- return (React__namespace.createElement("div", { role: "presentation", className: css(_default$13.selectListItem, isLoading && _default$13.modifiers.loading, className) }, children));
6150
+ return (React__namespace.createElement("div", { role: "presentation", className: css(_default$12.selectListItem, isLoading && _default$12.modifiers.loading, className) }, children));
6151
6151
  }
6152
6152
  else if (variant !== exports.SelectVariant.checkbox && isLoad && isGrouped) {
6153
6153
  return (React__namespace.createElement("div", null,
6154
- React__namespace.createElement("button", Object.assign({}, props, { role: "presentation", className: css(_default$13.selectMenuItem, _default$13.modifiers.load, className), onClick: (event) => {
6154
+ React__namespace.createElement("button", Object.assign({}, props, { role: "presentation", className: css(_default$12.selectMenuItem, _default$12.modifiers.load, className), onClick: (event) => {
6155
6155
  onViewMoreClick(event);
6156
6156
  event.stopPropagation();
6157
6157
  }, ref: this.ref, type: "button" }), children || value.toString())));
6158
6158
  }
6159
6159
  else if (variant !== exports.SelectVariant.checkbox) {
6160
- return (React__namespace.createElement("li", { id: generatedId, role: "presentation", className: css(isLoading && _default$13.selectListItem, !isLoad && !isLoading && _default$13.selectMenuWrapper, isFavorite && _default$13.modifiers.favorite, isFocused && _default$13.modifiers.focus, isLoading && _default$13.modifiers.loading), ref: this.liRef },
6160
+ return (React__namespace.createElement("li", { id: generatedId, role: "presentation", className: css(isLoading && _default$12.selectListItem, !isLoad && !isLoading && _default$12.selectMenuWrapper, isFavorite && _default$12.modifiers.favorite, isFocused && _default$12.modifiers.focus, isLoading && _default$12.modifiers.loading), ref: this.liRef },
6161
6161
  isLoading && children,
6162
- isLoad && !isGrouped && (React__namespace.createElement("button", Object.assign({}, props, { className: css(_default$13.selectMenuItem, _default$13.modifiers.load, className), onClick: (event) => {
6162
+ isLoad && !isGrouped && (React__namespace.createElement("button", Object.assign({}, props, { className: css(_default$12.selectMenuItem, _default$12.modifiers.load, className), onClick: (event) => {
6163
6163
  onViewMoreClick(event);
6164
6164
  event.stopPropagation();
6165
6165
  }, ref: this.ref, type: "button" }), itemDisplay)),
6166
6166
  !isLoading && !isLoad && (React__namespace.createElement(React__namespace.Fragment, null,
6167
- React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$13.selectMenuItem, isLoad && _default$13.modifiers.load, isSelected && _default$13.modifiers.selected, isDisabled && _default$13.modifiers.disabled, description && _default$13.modifiers.description, isFavorite !== null && _default$13.modifiers.link, className), onClick: (event) => {
6167
+ React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$12.selectMenuItem, isLoad && _default$12.modifiers.load, isSelected && _default$12.modifiers.selected, isDisabled && _default$12.modifiers.disabled, description && _default$12.modifiers.description, isFavorite !== null && _default$12.modifiers.link, className), onClick: (event) => {
6168
6168
  if (!isDisabled) {
6169
6169
  onClick(event);
6170
6170
  onSelect(event, value, isPlaceholder);
@@ -6174,19 +6174,19 @@
6174
6174
  this.onKeyDown(event, 0);
6175
6175
  }, type: "button" }),
6176
6176
  description && (React__namespace.createElement(React__namespace.Fragment, null,
6177
- React__namespace.createElement("span", { className: css(_default$13.selectMenuItemMain) },
6177
+ React__namespace.createElement("span", { className: css(_default$12.selectMenuItemMain) },
6178
6178
  itemDisplay,
6179
- isSelected && (React__namespace.createElement("span", { className: css(_default$13.selectMenuItemIcon) },
6179
+ isSelected && (React__namespace.createElement("span", { className: css(_default$12.selectMenuItemIcon) },
6180
6180
  React__namespace.createElement(CheckIcon$1, { "aria-hidden": true })))),
6181
- React__namespace.createElement("span", { className: css(_default$13.selectMenuItemDescription) }, description))),
6181
+ React__namespace.createElement("span", { className: css(_default$12.selectMenuItemDescription) }, description))),
6182
6182
  !description && (React__namespace.createElement(React__namespace.Fragment, null,
6183
6183
  itemDisplay,
6184
- isSelected && (React__namespace.createElement("span", { className: css(_default$13.selectMenuItemIcon) },
6184
+ isSelected && (React__namespace.createElement("span", { className: css(_default$12.selectMenuItemIcon) },
6185
6185
  React__namespace.createElement(CheckIcon$1, { "aria-hidden": true })))))),
6186
6186
  isFavorite !== null && id && favoriteButton(onFavorite)))));
6187
6187
  }
6188
6188
  else if (variant === exports.SelectVariant.checkbox && isLoad) {
6189
- return (React__namespace.createElement("button", { className: css(_default$13.selectMenuItem, _default$13.modifiers.load, isFocused && _default$13.modifiers.focus, className), onKeyDown: (event) => {
6189
+ return (React__namespace.createElement("button", { className: css(_default$12.selectMenuItem, _default$12.modifiers.load, isFocused && _default$12.modifiers.focus, className), onKeyDown: (event) => {
6190
6190
  this.onKeyDown(event, 0, undefined, true);
6191
6191
  }, onClick: (event) => {
6192
6192
  onViewMoreClick(event);
@@ -6194,24 +6194,24 @@
6194
6194
  }, ref: this.ref }, children || (value && value.toString && value.toString())));
6195
6195
  }
6196
6196
  else if (variant === exports.SelectVariant.checkbox && isLoading) {
6197
- return (React__namespace.createElement("div", { className: css(_default$13.selectListItem, isLoading && _default$13.modifiers.loading, className) }, children));
6197
+ return (React__namespace.createElement("div", { className: css(_default$12.selectListItem, isLoading && _default$12.modifiers.loading, className) }, children));
6198
6198
  }
6199
6199
  else if (variant === exports.SelectVariant.checkbox && !isNoResultsOption && !isLoading && !isLoad) {
6200
- return (React__namespace.createElement("label", Object.assign({}, props, { className: css(_default$11.check, _default$13.selectMenuItem, isDisabled && _default$13.modifiers.disabled, description && _default$13.modifiers.description, className), onKeyDown: (event) => {
6200
+ return (React__namespace.createElement("label", Object.assign({}, props, { className: css(_default$10.check, _default$12.selectMenuItem, isDisabled && _default$12.modifiers.disabled, description && _default$12.modifiers.description, className), onKeyDown: (event) => {
6201
6201
  this.onKeyDown(event, 0, undefined, true);
6202
6202
  } }),
6203
- React__namespace.createElement("input", { id: inputId || `${inputIdPrefix}-${value.toString()}`, className: css(_default$11.checkInput), type: "checkbox", onChange: event => {
6203
+ React__namespace.createElement("input", { id: inputId || `${inputIdPrefix}-${value.toString()}`, className: css(_default$10.checkInput), type: "checkbox", onChange: event => {
6204
6204
  if (!isDisabled) {
6205
6205
  onClick(event);
6206
6206
  onSelect(event, value);
6207
6207
  }
6208
6208
  }, ref: this.ref, checked: isChecked || false, disabled: isDisabled }),
6209
- React__namespace.createElement("span", { className: css(_default$11.checkLabel, isDisabled && _default$13.modifiers.disabled) }, itemDisplay),
6210
- description && React__namespace.createElement("div", { className: css(_default$11.checkDescription) }, description)));
6209
+ React__namespace.createElement("span", { className: css(_default$10.checkLabel, isDisabled && _default$12.modifiers.disabled) }, itemDisplay),
6210
+ description && React__namespace.createElement("div", { className: css(_default$10.checkDescription) }, description)));
6211
6211
  }
6212
6212
  else if (variant === exports.SelectVariant.checkbox && isNoResultsOption && !isLoading && !isLoad) {
6213
6213
  return (React__namespace.createElement("div", null,
6214
- React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$13.selectMenuItem, isSelected && _default$13.modifiers.selected, isDisabled && _default$13.modifiers.disabled, className), role: "option", "aria-selected": isSelected || null, ref: this.ref, onKeyDown: (event) => {
6214
+ React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$12.selectMenuItem, isSelected && _default$12.modifiers.selected, isDisabled && _default$12.modifiers.disabled, className), role: "option", "aria-selected": isSelected || null, ref: this.ref, onKeyDown: (event) => {
6215
6215
  this.onKeyDown(event, 0, undefined, true);
6216
6216
  }, type: "button" }), itemDisplay)));
6217
6217
  }
@@ -6243,8 +6243,8 @@
6243
6243
 
6244
6244
  const SelectGroup = (_a) => {
6245
6245
  var { children = [], className = '', label = '', titleId = '' } = _a, props = __rest$1(_a, ["children", "className", "label", "titleId"]);
6246
- return (React__namespace.createElement(SelectConsumer, null, ({ variant }) => (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$13.selectMenuGroup, className) }),
6247
- React__namespace.createElement("div", { className: css(_default$13.selectMenuGroupTitle), id: titleId, "aria-hidden": true }, label),
6246
+ return (React__namespace.createElement(SelectConsumer, null, ({ variant }) => (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$12.selectMenuGroup, className) }),
6247
+ React__namespace.createElement("div", { className: css(_default$12.selectMenuGroupTitle), id: titleId, "aria-hidden": true }, label),
6248
6248
  variant === exports.SelectVariant.checkbox ? children : React__namespace.createElement("ul", { role: "listbox" }, children)))));
6249
6249
  };
6250
6250
  SelectGroup.displayName = 'SelectGroup';
@@ -6317,7 +6317,7 @@
6317
6317
  }
6318
6318
  return React__namespace.cloneElement(group, {
6319
6319
  titleId: group.props.label && group.props.label.replace(/\W/g, '-'),
6320
- children: group.props.children ? (React__namespace.createElement("fieldset", { "aria-labelledby": group.props.label && group.props.label.replace(/\W/g, '-'), className: css(_default$13.selectMenuFieldset) }, React__namespace.Children.map(group.props.children, (option) => option.type === Divider
6320
+ children: group.props.children ? (React__namespace.createElement("fieldset", { "aria-labelledby": group.props.label && group.props.label.replace(/\W/g, '-'), className: css(_default$12.selectMenuFieldset) }, React__namespace.Children.map(group.props.children, (option) => option.type === Divider
6321
6321
  ? option
6322
6322
  : React__namespace.cloneElement(option, {
6323
6323
  isChecked: this.checkForValue(option.props.value, checked),
@@ -6343,7 +6343,7 @@
6343
6343
  const _a = this.props, { children, isCustomContent, className, isExpanded, openedOnEnter, selected, checked, isGrouped, position, sendRef, keyHandler, maxHeight, noResultsFoundText, createText, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, hasInlineFilter, innerRef, footer, footerRef, isLastOptionBeforeFooter } = _a, props = __rest$1(_a, ["children", "isCustomContent", "className", "isExpanded", "openedOnEnter", "selected", "checked", "isGrouped", "position", "sendRef", "keyHandler", "maxHeight", "noResultsFoundText", "createText", 'aria-label', 'aria-labelledby', "hasInlineFilter", "innerRef", "footer", "footerRef", "isLastOptionBeforeFooter"]);
6344
6344
  /* eslint-enable @typescript-eslint/no-unused-vars */
6345
6345
  let Component = 'div';
6346
- const variantProps = Object.assign({ ref: innerRef, className: css(!footer ? _default$13.selectMenu : 'pf-c-select__menu-list', position === exports.SelectPosition.right && _default$13.modifiers.alignRight, className) }, (maxHeight && { style: { maxHeight, overflow: 'auto' } }));
6346
+ const variantProps = Object.assign({ ref: innerRef, className: css(!footer ? _default$12.selectMenu : 'pf-c-select__menu-list', position === exports.SelectPosition.right && _default$12.modifiers.alignRight, className) }, (maxHeight && { style: { maxHeight, overflow: 'auto' } }));
6347
6347
  const extendedChildren = () => variant === exports.SelectVariant.checkbox
6348
6348
  ? this.extendCheckboxChildren(children)
6349
6349
  : this.extendChildren(inputIdPrefix);
@@ -6352,10 +6352,10 @@
6352
6352
  }
6353
6353
  else if (hasInlineFilter) {
6354
6354
  if (React__namespace.Children.count(children) === 0) {
6355
- variantProps.children = React__namespace.createElement("fieldset", { className: css(_default$13.selectMenuFieldset) });
6355
+ variantProps.children = React__namespace.createElement("fieldset", { className: css(_default$12.selectMenuFieldset) });
6356
6356
  }
6357
6357
  else {
6358
- variantProps.children = (React__namespace.createElement("fieldset", { "aria-label": ariaLabel, "aria-labelledby": (!ariaLabel && ariaLabelledBy) || null, className: css(_default$12.formFieldset) },
6358
+ variantProps.children = (React__namespace.createElement("fieldset", { "aria-label": ariaLabel, "aria-labelledby": (!ariaLabel && ariaLabelledBy) || null, className: css(_default$11.formFieldset) },
6359
6359
  children.shift(),
6360
6360
  extendedChildren()));
6361
6361
  }
@@ -6371,7 +6371,7 @@
6371
6371
  }
6372
6372
  return (React__namespace.createElement(React__namespace.Fragment, null,
6373
6373
  React__namespace.createElement(Component, Object.assign({}, variantProps, props)),
6374
- footer && (React__namespace.createElement("div", { className: css(_default$13.selectMenuFooter), ref: footerRef }, footer))));
6374
+ footer && (React__namespace.createElement("div", { className: css(_default$12.selectMenuFooter), ref: footerRef }, footer))));
6375
6375
  }
6376
6376
  render() {
6377
6377
  return React__namespace.createElement(SelectConsumer, null, context => this.renderSelectMenu(context));
@@ -6525,7 +6525,7 @@
6525
6525
  'aria-haspopup': (variant !== exports.SelectVariant.checkbox && 'listbox') || null
6526
6526
  };
6527
6527
  return (React__namespace.createElement(React__namespace.Fragment, null,
6528
- !isTypeahead && (React__namespace.createElement("button", Object.assign({}, props, toggleProps, { ref: this.toggle, type: type, className: css(_default$13.selectToggle, hasPlaceholderStyle && _default$13.modifiers.placeholder, isDisabled && _default$13.modifiers.disabled, isPlain && _default$13.modifiers.plain, isActive && _default$13.modifiers.active, className), "aria-label": ariaLabel,
6528
+ !isTypeahead && (React__namespace.createElement("button", Object.assign({}, props, toggleProps, { ref: this.toggle, type: type, className: css(_default$12.selectToggle, hasPlaceholderStyle && _default$12.modifiers.placeholder, isDisabled && _default$12.modifiers.disabled, isPlain && _default$12.modifiers.plain, isActive && _default$12.modifiers.active, className), "aria-label": ariaLabel,
6529
6529
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
6530
6530
  onClick: _event => {
6531
6531
  onToggle(!isOpen);
@@ -6534,9 +6534,9 @@
6534
6534
  }
6535
6535
  }, onKeyDown: this.onKeyDown, disabled: isDisabled }),
6536
6536
  children,
6537
- React__namespace.createElement("span", { className: css(_default$13.selectToggleArrow) },
6537
+ React__namespace.createElement("span", { className: css(_default$12.selectToggleArrow) },
6538
6538
  React__namespace.createElement(CaretDownIcon$1, null)))),
6539
- isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(_default$13.selectToggle, hasPlaceholderStyle && _default$13.modifiers.placeholder, isDisabled && _default$13.modifiers.disabled, isPlain && _default$13.modifiers.plain, isTypeahead && _default$13.modifiers.typeahead, className),
6539
+ isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(_default$12.selectToggle, hasPlaceholderStyle && _default$12.modifiers.placeholder, isDisabled && _default$12.modifiers.disabled, isPlain && _default$12.modifiers.plain, isTypeahead && _default$12.modifiers.typeahead, className),
6540
6540
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
6541
6541
  onClick: _event => {
6542
6542
  if (!isDisabled) {
@@ -6544,7 +6544,7 @@
6544
6544
  }
6545
6545
  }, onKeyDown: this.onKeyDown }),
6546
6546
  children,
6547
- React__namespace.createElement("button", Object.assign({}, toggleProps, { type: type, className: css(_default$1l.button, _default$13.selectToggleButton, _default$13.modifiers.plain), "aria-label": ariaLabel, onClick: _event => {
6547
+ React__namespace.createElement("button", Object.assign({}, toggleProps, { type: type, className: css(_default$1k.button, _default$12.selectToggleButton, _default$12.modifiers.plain), "aria-label": ariaLabel, onClick: _event => {
6548
6548
  onToggle(!isOpen);
6549
6549
  if (isOpen) {
6550
6550
  onClose();
@@ -6553,7 +6553,7 @@
6553
6553
  } }, ((variant === exports.SelectVariant.typeahead || variant === exports.SelectVariant.typeaheadMulti) && {
6554
6554
  tabIndex: -1
6555
6555
  }), { disabled: isDisabled }),
6556
- React__namespace.createElement(CaretDownIcon$1, { className: css(_default$13.selectToggleArrow) }))))));
6556
+ React__namespace.createElement(CaretDownIcon$1, { className: css(_default$12.selectToggleArrow) }))))));
6557
6557
  }
6558
6558
  }
6559
6559
  SelectToggle.displayName = 'SelectToggle';
@@ -6576,7 +6576,7 @@
6576
6576
  onClickTypeaheadToggleButton: () => { }
6577
6577
  };
6578
6578
 
6579
- var _default$10 = {
6579
+ var _default$$ = {
6580
6580
  "chipGroup": "pf-c-chip-group",
6581
6581
  "chipGroupClose": "pf-c-chip-group__close",
6582
6582
  "chipGroupLabel": "pf-c-chip-group__label",
@@ -6588,7 +6588,7 @@
6588
6588
  }
6589
6589
  };
6590
6590
 
6591
- var _default$$ = {
6591
+ var _default$_ = {
6592
6592
  "badge": "pf-c-badge",
6593
6593
  "button": "pf-c-button",
6594
6594
  "chip": "pf-c-chip",
@@ -6607,8 +6607,8 @@
6607
6607
  this.renderOverflowChip = () => {
6608
6608
  const { children, className, onClick, ouiaId } = this.props;
6609
6609
  const Component = this.props.component;
6610
- return (React__namespace.createElement(Component, Object.assign({ onClick: onClick, className: css(_default$$.chip, _default$$.modifiers.overflow, className) }, (this.props.component === 'button' ? { type: 'button' } : {}), getOUIAProps('OverflowChip', ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
6611
- React__namespace.createElement("span", { className: css(_default$$.chipText) }, children)));
6610
+ return (React__namespace.createElement(Component, Object.assign({ onClick: onClick, className: css(_default$_.chip, _default$_.modifiers.overflow, className) }, (this.props.component === 'button' ? { type: 'button' } : {}), getOUIAProps('OverflowChip', ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
6611
+ React__namespace.createElement("span", { className: css(_default$_.chipText) }, children)));
6612
6612
  };
6613
6613
  this.renderChip = (randomId) => {
6614
6614
  const { children, tooltipPosition } = this.props;
@@ -6630,8 +6630,8 @@
6630
6630
  renderInnerChip(id) {
6631
6631
  const { children, className, onClick, closeBtnAriaLabel, isReadOnly, component, ouiaId } = this.props;
6632
6632
  const Component = component;
6633
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$$.chip, className) }, (this.state.isTooltipVisible && { tabIndex: 0 }), getOUIAProps(Chip.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
6634
- React__namespace.createElement("span", { ref: this.span, className: css(_default$$.chipText), id: id }, children),
6633
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$_.chip, className) }, (this.state.isTooltipVisible && { tabIndex: 0 }), getOUIAProps(Chip.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
6634
+ React__namespace.createElement("span", { ref: this.span, className: css(_default$_.chipText), id: id }, children),
6635
6635
  !isReadOnly && (React__namespace.createElement(Button, { onClick: onClick, variant: "plain", "aria-label": closeBtnAriaLabel, id: `remove_${id}`, "aria-labelledby": `remove_${id} ${id}`, ouiaId: ouiaId || closeBtnAriaLabel },
6636
6636
  React__namespace.createElement(TimesIcon$1, { "aria-hidden": "true" })))));
6637
6637
  }
@@ -6676,8 +6676,8 @@
6676
6676
  const { categoryName, tooltipPosition } = this.props;
6677
6677
  const { isTooltipVisible } = this.state;
6678
6678
  return isTooltipVisible ? (React__namespace.createElement(Tooltip, { position: tooltipPosition, content: categoryName },
6679
- React__namespace.createElement("span", { tabIndex: 0, ref: this.headingRef, className: css(_default$10.chipGroupLabel), id: id, "aria-label": categoryName },
6680
- React__namespace.createElement("span", { "aria-hidden": "true" }, categoryName)))) : (React__namespace.createElement("span", { ref: this.headingRef, className: css(_default$10.chipGroupLabel), "aria-hidden": "true", id: id }, categoryName));
6679
+ React__namespace.createElement("span", { tabIndex: 0, ref: this.headingRef, className: css(_default$$.chipGroupLabel), id: id, "aria-label": categoryName },
6680
+ React__namespace.createElement("span", { "aria-hidden": "true" }, categoryName)))) : (React__namespace.createElement("span", { ref: this.headingRef, className: css(_default$$.chipGroupLabel), "aria-hidden": "true", id: id }, categoryName));
6681
6681
  }
6682
6682
  render() {
6683
6683
  const _a = this.props, { categoryName, children, className, isClosable, closeBtnAriaLabel, 'aria-label': ariaLabel, onClick, onOverflowChipClick, numChips, expandedText, collapsedText, ouiaId,
@@ -6694,17 +6694,17 @@
6694
6694
  const chipArray = !isOpen
6695
6695
  ? React__namespace.Children.toArray(children).slice(0, numChips)
6696
6696
  : React__namespace.Children.toArray(children);
6697
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$10.chipGroup, className, categoryName && _default$10.modifiers.category) }, getOUIAProps(ChipGroup.displayName, ouiaId)),
6698
- React__namespace.createElement("div", { className: css(_default$10.chipGroupMain) },
6697
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$$.chipGroup, className, categoryName && _default$$.modifiers.category) }, getOUIAProps(ChipGroup.displayName, ouiaId)),
6698
+ React__namespace.createElement("div", { className: css(_default$$.chipGroupMain) },
6699
6699
  categoryName && this.renderLabel(id),
6700
- React__namespace.createElement("ul", Object.assign({ className: css(_default$10.chipGroupList) }, (categoryName && { 'aria-labelledby': id }), (!categoryName && { 'aria-label': ariaLabel }), { role: "list" }, rest),
6701
- chipArray.map((child, i) => (React__namespace.createElement("li", { className: css(_default$10.chipGroupListItem), key: i }, child))),
6702
- numChildren > numChips && (React__namespace.createElement("li", { className: css(_default$10.chipGroupListItem) },
6700
+ React__namespace.createElement("ul", Object.assign({ className: css(_default$$.chipGroupList) }, (categoryName && { 'aria-labelledby': id }), (!categoryName && { 'aria-label': ariaLabel }), { role: "list" }, rest),
6701
+ chipArray.map((child, i) => (React__namespace.createElement("li", { className: css(_default$$.chipGroupListItem), key: i }, child))),
6702
+ numChildren > numChips && (React__namespace.createElement("li", { className: css(_default$$.chipGroupListItem) },
6703
6703
  React__namespace.createElement(Chip, { isOverflowChip: true, onClick: event => {
6704
6704
  this.toggleCollapse();
6705
6705
  onOverflowChipClick(event);
6706
6706
  }, component: "button" }, isOpen ? expandedText : collapsedTextResult))))),
6707
- isClosable && (React__namespace.createElement("div", { className: css(_default$10.chipGroupClose) },
6707
+ isClosable && (React__namespace.createElement("div", { className: css(_default$$.chipGroupClose) },
6708
6708
  React__namespace.createElement(Button, { variant: "plain", "aria-label": closeBtnAriaLabel, onClick: onClick, id: `remove_group_${id}`, "aria-labelledby": `remove_group_${id} ${id}`, ouiaId: ouiaId || closeBtnAriaLabel },
6709
6709
  React__namespace.createElement(TimesCircleIcon$1, { "aria-hidden": "true" }))))));
6710
6710
  };
@@ -7233,7 +7233,7 @@
7233
7233
  }
7234
7234
  }
7235
7235
  const hasOnClear = onClear !== Select.defaultProps.onClear;
7236
- const clearBtn = (React__namespace.createElement("button", { className: css(_default$1l.button, _default$1l.modifiers.plain, _default$13.selectToggleClear), onClick: e => {
7236
+ const clearBtn = (React__namespace.createElement("button", { className: css(_default$1k.button, _default$1k.modifiers.plain, _default$12.selectToggleClear), onClick: e => {
7237
7237
  this.clearSelection(e);
7238
7238
  onClear(e);
7239
7239
  }, "aria-label": clearSelectionsAriaLabel, type: "button", disabled: isDisabled, ref: this.clearRef, onKeyDown: event => {
@@ -7249,8 +7249,8 @@
7249
7249
  }
7250
7250
  if (hasInlineFilter) {
7251
7251
  const filterBox = (React__namespace.createElement(React__namespace.Fragment, null,
7252
- React__namespace.createElement("div", { key: "inline-filter", className: css(_default$13.selectMenuSearch) },
7253
- React__namespace.createElement("input", { key: "inline-filter-input", type: "search", className: css(_default$1c.formControl, _default$1c.modifiers.search), onChange: this.onChange, placeholder: inlineFilterPlaceholderText, onKeyDown: event => {
7252
+ React__namespace.createElement("div", { key: "inline-filter", className: css(_default$12.selectMenuSearch) },
7253
+ React__namespace.createElement("input", { key: "inline-filter-input", type: "search", className: css(_default$1b.formControl, _default$1b.modifiers.search), onChange: this.onChange, placeholder: inlineFilterPlaceholderText, onKeyDown: event => {
7254
7254
  if (event.key === KeyTypes.ArrowUp) {
7255
7255
  this.handleMenuKeys(0, 0, 'up');
7256
7256
  event.preventDefault();
@@ -7335,46 +7335,46 @@
7335
7335
  }
7336
7336
  }
7337
7337
  const innerMenu = (React__namespace.createElement(SelectMenu, Object.assign({}, props, { isGrouped: isGrouped, selected: selections }, variantProps, { openedOnEnter: openedOnEnter, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, sendRef: this.sendRef, keyHandler: this.handleMenuKeys, maxHeight: maxHeight, ref: this.menuComponentRef, footer: footer, footerRef: this.footerRef, isLastOptionBeforeFooter: this.isLastOptionBeforeFooter }), variantChildren));
7338
- const menuContainer = footer ? React__namespace.createElement("div", { className: css(_default$13.selectMenu) },
7338
+ const menuContainer = footer ? React__namespace.createElement("div", { className: css(_default$12.selectMenu) },
7339
7339
  " ",
7340
7340
  innerMenu,
7341
7341
  " ") : innerMenu;
7342
- const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$13.select, isOpen && _default$13.modifiers.expanded, validated === exports.ValidatedOptions.success && _default$13.modifiers.success, validated === exports.ValidatedOptions.warning && _default$13.modifiers.warning, validated === exports.ValidatedOptions.error && _default$13.modifiers.invalid, direction === exports.SelectDirection.up && _default$13.modifiers.top, className) }, (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })), isOpen && menuContainer));
7343
- const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$13.select, isOpen && _default$13.modifiers.expanded, validated === exports.ValidatedOptions.success && _default$13.modifiers.success, validated === exports.ValidatedOptions.warning && _default$13.modifiers.warning, validated === exports.ValidatedOptions.error && _default$13.modifiers.invalid, direction === exports.SelectDirection.up && _default$13.modifiers.top, className), ref: this.parentRef }, getOUIAProps(Select.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })),
7342
+ const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$12.select, isOpen && _default$12.modifiers.expanded, validated === exports.ValidatedOptions.success && _default$12.modifiers.success, validated === exports.ValidatedOptions.warning && _default$12.modifiers.warning, validated === exports.ValidatedOptions.error && _default$12.modifiers.invalid, direction === exports.SelectDirection.up && _default$12.modifiers.top, className) }, (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })), isOpen && menuContainer));
7343
+ const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$12.select, isOpen && _default$12.modifiers.expanded, validated === exports.ValidatedOptions.success && _default$12.modifiers.success, validated === exports.ValidatedOptions.warning && _default$12.modifiers.warning, validated === exports.ValidatedOptions.error && _default$12.modifiers.invalid, direction === exports.SelectDirection.up && _default$12.modifiers.top, className), ref: this.parentRef }, getOUIAProps(Select.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })),
7344
7344
  React__namespace.createElement(SelectToggle, Object.assign({ id: selectToggleId, parentRef: this.parentRef, menuRef: this.menuComponentRef }, (footer && { footerRef: this.footerRef }), { isOpen: isOpen, isPlain: isPlain, hasPlaceholderStyle: hasPlaceholderStyle && (!selections.length || selections[0] === null || isSelectedPlaceholder), onToggle: this.onToggle, onEnter: this.onEnter, onClose: this.onClose, variant: variant, "aria-labelledby": `${ariaLabelledBy || ''} ${selectToggleId}`, "aria-label": toggleAriaLabel, handleTypeaheadKeys: this.handleTypeaheadKeys, isDisabled: isDisabled, hasClearButton: hasOnClear, hasFooter: footer !== undefined, onClickTypeaheadToggleButton: this.onClickTypeaheadToggleButton }),
7345
- customContent && (React__namespace.createElement("div", { className: css(_default$13.selectToggleWrapper) },
7346
- toggleIcon && React__namespace.createElement("span", { className: css(_default$13.selectToggleIcon) }, toggleIcon),
7347
- React__namespace.createElement("span", { className: css(_default$13.selectToggleText) }, placeholderText))),
7345
+ customContent && (React__namespace.createElement("div", { className: css(_default$12.selectToggleWrapper) },
7346
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$12.selectToggleIcon) }, toggleIcon),
7347
+ React__namespace.createElement("span", { className: css(_default$12.selectToggleText) }, placeholderText))),
7348
7348
  variant === exports.SelectVariant.single && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
7349
- React__namespace.createElement("div", { className: css(_default$13.selectToggleWrapper) },
7350
- toggleIcon && React__namespace.createElement("span", { className: css(_default$13.selectToggleIcon) }, toggleIcon),
7351
- React__namespace.createElement("span", { className: css(_default$13.selectToggleText) }, this.getDisplay(selections[0], 'node') || placeholderText || childPlaceholderText)),
7349
+ React__namespace.createElement("div", { className: css(_default$12.selectToggleWrapper) },
7350
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$12.selectToggleIcon) }, toggleIcon),
7351
+ React__namespace.createElement("span", { className: css(_default$12.selectToggleText) }, this.getDisplay(selections[0], 'node') || placeholderText || childPlaceholderText)),
7352
7352
  hasOnClear && hasAnySelections && clearBtn)),
7353
7353
  variant === exports.SelectVariant.checkbox && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
7354
- React__namespace.createElement("div", { className: css(_default$13.selectToggleWrapper) },
7355
- toggleIcon && React__namespace.createElement("span", { className: css(_default$13.selectToggleIcon) }, toggleIcon),
7356
- React__namespace.createElement("span", { className: css(_default$13.selectToggleText) }, placeholderText),
7357
- !isCheckboxSelectionBadgeHidden && hasAnySelections && (React__namespace.createElement("div", { className: css(_default$13.selectToggleBadge) },
7358
- React__namespace.createElement("span", { className: css(_default$19.badge, _default$19.modifiers.read) }, this.generateSelectedBadge())))),
7354
+ React__namespace.createElement("div", { className: css(_default$12.selectToggleWrapper) },
7355
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$12.selectToggleIcon) }, toggleIcon),
7356
+ React__namespace.createElement("span", { className: css(_default$12.selectToggleText) }, placeholderText),
7357
+ !isCheckboxSelectionBadgeHidden && hasAnySelections && (React__namespace.createElement("div", { className: css(_default$12.selectToggleBadge) },
7358
+ React__namespace.createElement("span", { className: css(_default$18.badge, _default$18.modifiers.read) }, this.generateSelectedBadge())))),
7359
7359
  hasOnClear && hasAnySelections && clearBtn)),
7360
7360
  variant === exports.SelectVariant.typeahead && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
7361
- React__namespace.createElement("div", { className: css(_default$13.selectToggleWrapper) },
7362
- toggleIcon && React__namespace.createElement("span", { className: css(_default$13.selectToggleIcon) }, toggleIcon),
7363
- React__namespace.createElement("input", { className: css(_default$1c.formControl, _default$13.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-typeahead`, "aria-label": typeAheadAriaLabel, placeholder: placeholderText, value: typeaheadInputValue !== null
7361
+ React__namespace.createElement("div", { className: css(_default$12.selectToggleWrapper) },
7362
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$12.selectToggleIcon) }, toggleIcon),
7363
+ React__namespace.createElement("input", { className: css(_default$1b.formControl, _default$12.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-typeahead`, "aria-label": typeAheadAriaLabel, placeholder: placeholderText, value: typeaheadInputValue !== null
7364
7364
  ? typeaheadInputValue
7365
7365
  : this.getDisplay(selections[0], 'text') || '', type: "text", onClick: this.onClick, onChange: this.onChange, autoComplete: "never", disabled: isDisabled, ref: this.inputRef })),
7366
7366
  hasOnClear && (selections[0] || typeaheadInputValue) && clearBtn)),
7367
7367
  variant === exports.SelectVariant.typeaheadMulti && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
7368
- React__namespace.createElement("div", { className: css(_default$13.selectToggleWrapper) },
7369
- toggleIcon && React__namespace.createElement("span", { className: css(_default$13.selectToggleIcon) }, toggleIcon),
7368
+ React__namespace.createElement("div", { className: css(_default$12.selectToggleWrapper) },
7369
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$12.selectToggleIcon) }, toggleIcon),
7370
7370
  selections && Array.isArray(selections) && selections.length > 0 && selectedChips,
7371
- React__namespace.createElement("input", { className: css(_default$1c.formControl, _default$13.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === exports.ValidatedOptions.error, placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: "never", disabled: isDisabled, ref: this.inputRef })),
7371
+ React__namespace.createElement("input", { className: css(_default$1b.formControl, _default$12.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === exports.ValidatedOptions.error, placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: "never", disabled: isDisabled, ref: this.inputRef })),
7372
7372
  hasOnClear && ((selections && selections.length > 0) || typeaheadInputValue) && clearBtn)),
7373
- validated === exports.ValidatedOptions.success && (React__namespace.createElement("span", { className: css(_default$13.selectToggleStatusIcon) },
7373
+ validated === exports.ValidatedOptions.success && (React__namespace.createElement("span", { className: css(_default$12.selectToggleStatusIcon) },
7374
7374
  React__namespace.createElement(CheckCircleIcon$1, { "aria-hidden": "true" }))),
7375
- validated === exports.ValidatedOptions.error && (React__namespace.createElement("span", { className: css(_default$13.selectToggleStatusIcon) },
7375
+ validated === exports.ValidatedOptions.error && (React__namespace.createElement("span", { className: css(_default$12.selectToggleStatusIcon) },
7376
7376
  React__namespace.createElement(ExclamationCircleIcon$1, { "aria-hidden": "true" }))),
7377
- validated === exports.ValidatedOptions.warning && (React__namespace.createElement("span", { className: css(_default$13.selectToggleStatusIcon) },
7377
+ validated === exports.ValidatedOptions.warning && (React__namespace.createElement("span", { className: css(_default$12.selectToggleStatusIcon) },
7378
7378
  React__namespace.createElement(ExclamationTriangleIcon$1, { "aria-hidden": "true" })))),
7379
7379
  isOpen && menuAppendTo === 'inline' && menuContainer));
7380
7380
  const getParentElement = () => {
@@ -7460,7 +7460,7 @@
7460
7460
 
7461
7461
  var ArrowRightIcon$1 = ArrowRightIcon;
7462
7462
 
7463
- var _default$_ = {
7463
+ var _default$Z = {
7464
7464
  "calendarMonth": "pf-c-calendar-month",
7465
7465
  "calendarMonthCalendar": "pf-c-calendar-month__calendar",
7466
7466
  "calendarMonthDate": "pf-c-calendar-month__date",
@@ -7611,12 +7611,12 @@
7611
7611
  const isHoveredDateValid = isValidated(hoveredDate);
7612
7612
  const monthFormatted = monthFormat(focusedDate);
7613
7613
  const yearFormatted = yearFormat(focusedDate);
7614
- return (React__default["default"].createElement("div", Object.assign({ className: css(_default$_.calendarMonth, className) }, props),
7615
- React__default["default"].createElement("div", { className: _default$_.calendarMonthHeader },
7616
- React__default["default"].createElement("div", { className: css(_default$_.calendarMonthHeaderNavControl, _default$_.modifiers.prevMonth) },
7614
+ return (React__default["default"].createElement("div", Object.assign({ className: css(_default$Z.calendarMonth, className) }, props),
7615
+ React__default["default"].createElement("div", { className: _default$Z.calendarMonthHeader },
7616
+ React__default["default"].createElement("div", { className: css(_default$Z.calendarMonthHeaderNavControl, _default$Z.modifiers.prevMonth) },
7617
7617
  React__default["default"].createElement(Button, { variant: "plain", "aria-label": prevMonthAriaLabel, onClick: () => onMonthClick(prevMonth) },
7618
7618
  React__default["default"].createElement(ArrowLeftIcon$1, { "aria-hidden": true }))),
7619
- React__default["default"].createElement("div", { className: _default$_.calendarMonthHeaderMonth },
7619
+ React__default["default"].createElement("div", { className: _default$Z.calendarMonthHeaderMonth },
7620
7620
  React__default["default"].createElement("span", { id: hiddenMonthId, hidden: true }, "Month"),
7621
7621
  React__default["default"].createElement(Select
7622
7622
  // Max width with "September"
@@ -7638,7 +7638,7 @@
7638
7638
  setShouldFocus(false);
7639
7639
  }, 0);
7640
7640
  }, variant: "single", selections: monthFormatted }, longMonths.map((longMonth, index) => (React__default["default"].createElement(SelectOption, { key: index, value: index, isSelected: longMonth === monthFormatted }, longMonth))))),
7641
- React__default["default"].createElement("div", { className: _default$_.calendarMonthHeaderYear },
7641
+ React__default["default"].createElement("div", { className: _default$Z.calendarMonthHeaderYear },
7642
7642
  React__default["default"].createElement(TextInput, { "aria-label": yearInputAriaLabel, type: "number", value: yearFormatted, onChange: year => {
7643
7643
  const newDate = new Date(focusedDate);
7644
7644
  newDate.setFullYear(+year);
@@ -7646,15 +7646,15 @@
7646
7646
  setHoveredDate(newDate);
7647
7647
  setShouldFocus(false);
7648
7648
  } })),
7649
- React__default["default"].createElement("div", { className: css(_default$_.calendarMonthHeaderNavControl, _default$_.modifiers.nextMonth) },
7649
+ React__default["default"].createElement("div", { className: css(_default$Z.calendarMonthHeaderNavControl, _default$Z.modifiers.nextMonth) },
7650
7650
  React__default["default"].createElement(Button, { variant: "plain", "aria-label": nextMonthAriaLabel, onClick: () => onMonthClick(nextMonth) },
7651
7651
  React__default["default"].createElement(ArrowRightIcon$1, { "aria-hidden": true })))),
7652
- React__default["default"].createElement("table", { className: _default$_.calendarMonthCalendar },
7653
- React__default["default"].createElement("thead", { className: _default$_.calendarMonthDays },
7654
- React__default["default"].createElement("tr", null, calendar[0].map(({ date }, index) => (React__default["default"].createElement("th", { key: index, className: _default$_.calendarMonthDay, scope: "col" },
7652
+ React__default["default"].createElement("table", { className: _default$Z.calendarMonthCalendar },
7653
+ React__default["default"].createElement("thead", { className: _default$Z.calendarMonthDays },
7654
+ React__default["default"].createElement("tr", null, calendar[0].map(({ date }, index) => (React__default["default"].createElement("th", { key: index, className: _default$Z.calendarMonthDay, scope: "col" },
7655
7655
  React__default["default"].createElement("span", { className: "pf-screen-reader" }, longWeekdayFormat(date)),
7656
7656
  React__default["default"].createElement("span", { "aria-hidden": true }, weekdayFormat(date))))))),
7657
- React__default["default"].createElement("tbody", { onKeyDown: onKeyDown }, calendar.map((week, index) => (React__default["default"].createElement("tr", { key: index, className: _default$_.calendarMonthDatesRow }, week.map(({ date, isValid }, index) => {
7657
+ React__default["default"].createElement("tbody", { onKeyDown: onKeyDown }, calendar.map((week, index) => (React__default["default"].createElement("tr", { key: index, className: _default$Z.calendarMonthDatesRow }, week.map(({ date, isValid }, index) => {
7658
7658
  const dayFormatted = dayFormat(date);
7659
7659
  const isToday = isSameDate(date, today);
7660
7660
  const isSelected = isValidDate(dateProp) && isSameDate(date, dateProp);
@@ -7672,12 +7672,12 @@
7672
7672
  // Don't handle focused dates before start dates for now.
7673
7673
  // Core would likely need new styles
7674
7674
  }
7675
- return (React__default["default"].createElement("td", { key: index, className: css(_default$_.calendarMonthDatesCell, isAdjacentMonth && _default$_.modifiers.adjacentMonth, isToday && _default$_.modifiers.current, (isSelected || isRangeStart) && _default$_.modifiers.selected, !isValid && _default$_.modifiers.disabled, (isInRange || isRangeStart || isRangeEnd) && _default$_.modifiers.inRange, isRangeStart && _default$_.modifiers.startRange, isRangeEnd && _default$_.modifiers.endRange) },
7676
- React__default["default"].createElement("button", Object.assign({ className: css(_default$_.calendarMonthDate, isRangeEnd && _default$_.modifiers.hover, !isValid && _default$_.modifiers.disabled), type: "button", onClick: () => onChange(date), onMouseOver: () => setHoveredDate(date), tabIndex: isFocused ? 0 : -1, disabled: !isValid, "aria-label": cellAriaLabel ? cellAriaLabel(date) : `${dayFormatted} ${monthFormatted} ${yearFormatted}` }, (isFocused && { ref: focusRef })), dayFormatted)));
7675
+ return (React__default["default"].createElement("td", { key: index, className: css(_default$Z.calendarMonthDatesCell, isAdjacentMonth && _default$Z.modifiers.adjacentMonth, isToday && _default$Z.modifiers.current, (isSelected || isRangeStart) && _default$Z.modifiers.selected, !isValid && _default$Z.modifiers.disabled, (isInRange || isRangeStart || isRangeEnd) && _default$Z.modifiers.inRange, isRangeStart && _default$Z.modifiers.startRange, isRangeEnd && _default$Z.modifiers.endRange) },
7676
+ React__default["default"].createElement("button", Object.assign({ className: css(_default$Z.calendarMonthDate, isRangeEnd && _default$Z.modifiers.hover, !isValid && _default$Z.modifiers.disabled), type: "button", onClick: () => onChange(date), onMouseOver: () => setHoveredDate(date), tabIndex: isFocused ? 0 : -1, disabled: !isValid, "aria-label": cellAriaLabel ? cellAriaLabel(date) : `${dayFormatted} ${monthFormatted} ${yearFormatted}` }, (isFocused && { ref: focusRef })), dayFormatted)));
7677
7677
  }))))))));
7678
7678
  };
7679
7679
 
7680
- var _default$Z = {
7680
+ var _default$Y = {
7681
7681
  "card": "pf-c-card",
7682
7682
  "cardActions": "pf-c-card__actions",
7683
7683
  "cardBody": "pf-c-card__body",
@@ -7725,13 +7725,13 @@
7725
7725
  }
7726
7726
  const getSelectableModifiers = () => {
7727
7727
  if (isDisabledRaised) {
7728
- return css(_default$Z.modifiers.nonSelectableRaised);
7728
+ return css(_default$Y.modifiers.nonSelectableRaised);
7729
7729
  }
7730
7730
  if (isSelectableRaised) {
7731
- return css(_default$Z.modifiers.selectableRaised, isSelected && _default$Z.modifiers.selectedRaised);
7731
+ return css(_default$Y.modifiers.selectableRaised, isSelected && _default$Y.modifiers.selectedRaised);
7732
7732
  }
7733
7733
  if (isSelectable || isHoverable) {
7734
- return css(_default$Z.modifiers.selectable, isSelected && _default$Z.modifiers.selected);
7734
+ return css(_default$Y.modifiers.selectable, isSelected && _default$Y.modifiers.selected);
7735
7735
  }
7736
7736
  return '';
7737
7737
  };
@@ -7739,53 +7739,53 @@
7739
7739
  cardId: id,
7740
7740
  isExpanded
7741
7741
  } },
7742
- React__namespace.createElement(Component, Object.assign({ id: id, className: css(_default$Z.card, isCompact && _default$Z.modifiers.compact, isExpanded && _default$Z.modifiers.expanded, isFlat && _default$Z.modifiers.flat, isRounded && _default$Z.modifiers.rounded, isLarge && _default$Z.modifiers.displayLg, isFullHeight && _default$Z.modifiers.fullHeight, isPlain && _default$Z.modifiers.plain, getSelectableModifiers(), className), tabIndex: isSelectable || isSelectableRaised ? '0' : undefined }, props, ouiaProps), children)));
7742
+ React__namespace.createElement(Component, Object.assign({ id: id, className: css(_default$Y.card, isCompact && _default$Y.modifiers.compact, isExpanded && _default$Y.modifiers.expanded, isFlat && _default$Y.modifiers.flat, isRounded && _default$Y.modifiers.rounded, isLarge && _default$Y.modifiers.displayLg, isFullHeight && _default$Y.modifiers.fullHeight, isPlain && _default$Y.modifiers.plain, getSelectableModifiers(), className), tabIndex: isSelectable || isSelectableRaised ? '0' : undefined }, props, ouiaProps), children)));
7743
7743
  };
7744
7744
  Card.displayName = 'Card';
7745
7745
 
7746
7746
  const CardActions = (_a) => {
7747
7747
  var { children = null, className = '', hasNoOffset = false } = _a, props = __rest$1(_a, ["children", "className", "hasNoOffset"]);
7748
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$Z.cardActions, hasNoOffset && _default$Z.modifiers.noOffset, className) }, props), children));
7748
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$Y.cardActions, hasNoOffset && _default$Y.modifiers.noOffset, className) }, props), children));
7749
7749
  };
7750
7750
  CardActions.displayName = 'CardActions';
7751
7751
 
7752
7752
  const CardBody = (_a) => {
7753
7753
  var { children = null, className = '', component = 'div', isFilled = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isFilled"]);
7754
7754
  const Component = component;
7755
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$Z.cardBody, !isFilled && _default$Z.modifiers.noFill, className) }, props), children));
7755
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$Y.cardBody, !isFilled && _default$Y.modifiers.noFill, className) }, props), children));
7756
7756
  };
7757
7757
  CardBody.displayName = 'CardBody';
7758
7758
 
7759
7759
  const CardExpandableContent = (_a) => {
7760
7760
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
7761
- return (React__namespace.createElement(CardContext.Consumer, null, ({ isExpanded }) => isExpanded ? (React__namespace.createElement("div", Object.assign({ className: css(_default$Z.cardExpandableContent, className) }, props), children)) : null));
7761
+ return (React__namespace.createElement(CardContext.Consumer, null, ({ isExpanded }) => isExpanded ? (React__namespace.createElement("div", Object.assign({ className: css(_default$Y.cardExpandableContent, className) }, props), children)) : null));
7762
7762
  };
7763
7763
  CardExpandableContent.displayName = 'CardExpandableContent';
7764
7764
 
7765
7765
  const CardFooter = (_a) => {
7766
7766
  var { children = null, className = '', component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
7767
7767
  const Component = component;
7768
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$Z.cardFooter, className) }, props), children));
7768
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$Y.cardFooter, className) }, props), children));
7769
7769
  };
7770
7770
  CardFooter.displayName = 'CardFooter';
7771
7771
 
7772
7772
  const CardTitle = (_a) => {
7773
7773
  var { children = null, className = '', component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
7774
7774
  const Component = component;
7775
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$Z.cardTitle, className) }, props), children));
7775
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$Y.cardTitle, className) }, props), children));
7776
7776
  };
7777
7777
  CardTitle.displayName = 'CardTitle';
7778
7778
 
7779
7779
  const CardHeader = (_a) => {
7780
7780
  var { children = null, className = '', id, onExpand, toggleButtonProps, isToggleRightAligned } = _a, props = __rest$1(_a, ["children", "className", "id", "onExpand", "toggleButtonProps", "isToggleRightAligned"]);
7781
7781
  return (React__namespace.createElement(CardContext.Consumer, null, ({ cardId }) => {
7782
- const cardHeaderToggle = (React__namespace.createElement("div", { className: css(_default$Z.cardHeaderToggle) },
7782
+ const cardHeaderToggle = (React__namespace.createElement("div", { className: css(_default$Y.cardHeaderToggle) },
7783
7783
  React__namespace.createElement(Button, Object.assign({ variant: "plain", type: "button", onClick: evt => {
7784
7784
  onExpand(evt, cardId);
7785
7785
  } }, toggleButtonProps),
7786
- React__namespace.createElement("span", { className: css(_default$Z.cardHeaderToggleIcon) },
7786
+ React__namespace.createElement("span", { className: css(_default$Y.cardHeaderToggleIcon) },
7787
7787
  React__namespace.createElement(AngleRightIcon$1, { "aria-hidden": "true" })))));
7788
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$Z.cardHeader, isToggleRightAligned && _default$Z.modifiers.toggleRight, className), id: id }, props),
7788
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$Y.cardHeader, isToggleRightAligned && _default$Y.modifiers.toggleRight, className), id: id }, props),
7789
7789
  onExpand && !isToggleRightAligned && cardHeaderToggle,
7790
7790
  children,
7791
7791
  onExpand && isToggleRightAligned && cardHeaderToggle));
@@ -7828,11 +7828,11 @@
7828
7828
  checkedProps.defaultChecked = defaultChecked;
7829
7829
  }
7830
7830
  checkedProps.checked = checkedProps.checked === null ? false : checkedProps.checked;
7831
- return (React__namespace.createElement("div", { className: css(_default$11.check, !label && _default$11.modifiers.standalone, className) },
7832
- React__namespace.createElement("input", Object.assign({}, props, { className: css(_default$11.checkInput), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, ref: elem => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))),
7833
- label && (React__namespace.createElement("label", { className: css(_default$11.checkLabel, isDisabled && _default$11.modifiers.disabled), htmlFor: props.id }, label)),
7834
- description && React__namespace.createElement("span", { className: css(_default$11.checkDescription) }, description),
7835
- body && React__namespace.createElement("span", { className: css(_default$11.checkBody) }, body)));
7831
+ return (React__namespace.createElement("div", { className: css(_default$10.check, !label && _default$10.modifiers.standalone, className) },
7832
+ React__namespace.createElement("input", Object.assign({}, props, { className: css(_default$10.checkInput), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, ref: elem => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))),
7833
+ label && (React__namespace.createElement("label", { className: css(_default$10.checkLabel, isDisabled && _default$10.modifiers.disabled), htmlFor: props.id }, label)),
7834
+ description && React__namespace.createElement("span", { className: css(_default$10.checkDescription) }, description),
7835
+ body && React__namespace.createElement("span", { className: css(_default$10.checkBody) }, body)));
7836
7836
  }
7837
7837
  }
7838
7838
  Checkbox.displayName = 'Checkbox';
@@ -7845,7 +7845,7 @@
7845
7845
  ouiaSafe: true
7846
7846
  };
7847
7847
 
7848
- var _default$Y = {
7848
+ var _default$X = {
7849
7849
  "button": "pf-c-button",
7850
7850
  "clipboardCopy": "pf-c-clipboard-copy",
7851
7851
  "clipboardCopyActions": "pf-c-clipboard-copy__actions",
@@ -7908,7 +7908,7 @@
7908
7908
  }
7909
7909
  render() {
7910
7910
  const _a = this.props, { className, children, onChange, isReadOnly, isCode } = _a, props = __rest$1(_a, ["className", "children", "onChange", "isReadOnly", "isCode"]);
7911
- return (React__namespace.createElement("div", Object.assign({ suppressContentEditableWarning: true, className: css(_default$Y.clipboardCopyExpandableContent, className), onInput: (e) => onChange(e.target.innerText, e), contentEditable: !isReadOnly }, props), isCode ? React__namespace.createElement("pre", null, children) : children));
7911
+ return (React__namespace.createElement("div", Object.assign({ suppressContentEditableWarning: true, className: css(_default$X.clipboardCopyExpandableContent, className), onInput: (e) => onChange(e.target.innerText, e), contentEditable: !isReadOnly }, props), isCode ? React__namespace.createElement("pre", null, children) : children));
7912
7912
  }
7913
7913
  }
7914
7914
  ClipboardCopyExpanded.displayName = 'ClipboardCopyExpanded';
@@ -7968,12 +7968,12 @@
7968
7968
  const textIdPrefix = 'text-input-';
7969
7969
  const toggleIdPrefix = 'toggle-';
7970
7970
  const contentIdPrefix = 'content-';
7971
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$Y.clipboardCopy, variant === 'inline-compact' && _default$Y.modifiers.inline, isBlock && _default$Y.modifiers.block, this.state.expanded && _default$Y.modifiers.expanded, className) }, divProps),
7971
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$X.clipboardCopy, variant === 'inline-compact' && _default$X.modifiers.inline, isBlock && _default$X.modifiers.block, this.state.expanded && _default$X.modifiers.expanded, className) }, divProps),
7972
7972
  variant === 'inline-compact' && (React__namespace.createElement(GenerateId, { prefix: "" }, id => (React__namespace.createElement(React__namespace.Fragment, null,
7973
- !isCode && (React__namespace.createElement("span", { className: css(_default$Y.clipboardCopyText), id: `${textIdPrefix}${id}` }, this.state.text)),
7974
- isCode && (React__namespace.createElement("code", { className: css(_default$Y.clipboardCopyText, _default$Y.modifiers.code), id: `${textIdPrefix}${id}` }, this.state.text)),
7975
- React__namespace.createElement("span", { className: css(_default$Y.clipboardCopyActions) },
7976
- React__namespace.createElement("span", { className: css(_default$Y.clipboardCopyActionsItem) },
7973
+ !isCode && (React__namespace.createElement("span", { className: css(_default$X.clipboardCopyText), id: `${textIdPrefix}${id}` }, this.state.text)),
7974
+ isCode && (React__namespace.createElement("code", { className: css(_default$X.clipboardCopyText, _default$X.modifiers.code), id: `${textIdPrefix}${id}` }, this.state.text)),
7975
+ React__namespace.createElement("span", { className: css(_default$X.clipboardCopyActions) },
7976
+ React__namespace.createElement("span", { className: css(_default$X.clipboardCopyActionsItem) },
7977
7977
  React__namespace.createElement(ClipboardCopyButton, { variant: "plain", exitDelay: exitDelay, entryDelay: entryDelay, maxWidth: maxWidth, position: position, id: `copy-button-${id}`, textId: `text-input-${id}`, "aria-label": hoverTip, onClick: (event) => {
7978
7978
  if (this.timer) {
7979
7979
  window.clearTimeout(this.timer);
@@ -7989,7 +7989,7 @@
7989
7989
  } }, this.state.copied ? clickTip : hoverTip)),
7990
7990
  additionalActions && additionalActions))))),
7991
7991
  variant !== 'inline-compact' && (React__namespace.createElement(GenerateId, { prefix: "" }, id => (React__namespace.createElement(React__namespace.Fragment, null,
7992
- React__namespace.createElement("div", { className: css(_default$Y.clipboardCopyGroup) },
7992
+ React__namespace.createElement("div", { className: css(_default$X.clipboardCopyGroup) },
7993
7993
  variant === 'expansion' && (React__namespace.createElement(ClipboardCopyToggle, { isExpanded: this.state.expanded, onClick: this.expandContent, id: `${toggleIdPrefix}${id}`, textId: `${textIdPrefix}${id}`, contentId: `${contentIdPrefix}${id}`, "aria-label": toggleAriaLabel })),
7994
7994
  React__namespace.createElement(TextInput, { isReadOnly: isReadOnly || this.state.expanded, onChange: this.updateText, value: this.state.text, id: `text-input-${id}`, "aria-label": textAriaLabel }),
7995
7995
  React__namespace.createElement(ClipboardCopyButton, { exitDelay: exitDelay, entryDelay: entryDelay, maxWidth: maxWidth, position: position, id: `copy-button-${id}`, textId: `text-input-${id}`, "aria-label": hoverTip, onClick: (event) => {
@@ -8036,11 +8036,11 @@
8036
8036
 
8037
8037
  const ClipboardCopyAction = (_a) => {
8038
8038
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
8039
- return (React__namespace.createElement("span", Object.assign({ className: css(_default$Y.clipboardCopyActionsItem, className) }, props), children));
8039
+ return (React__namespace.createElement("span", Object.assign({ className: css(_default$X.clipboardCopyActionsItem, className) }, props), children));
8040
8040
  };
8041
8041
  ClipboardCopyAction.displayName = 'ClipboardCopyAction';
8042
8042
 
8043
- var _default$X = {
8043
+ var _default$W = {
8044
8044
  "codeBlock": "pf-c-code-block",
8045
8045
  "codeBlockActions": "pf-c-code-block__actions",
8046
8046
  "codeBlockCode": "pf-c-code-block__code",
@@ -8051,17 +8051,17 @@
8051
8051
 
8052
8052
  const CodeBlock = (_a) => {
8053
8053
  var { children = null, className, actions = null } = _a, props = __rest$1(_a, ["children", "className", "actions"]);
8054
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$X.codeBlock, className) }, props),
8055
- React__namespace.createElement("div", { className: css(_default$X.codeBlockHeader) },
8056
- React__namespace.createElement("div", { className: css(_default$X.codeBlockActions) }, actions && actions)),
8057
- React__namespace.createElement("div", { className: css(_default$X.codeBlockContent) }, children)));
8054
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$W.codeBlock, className) }, props),
8055
+ React__namespace.createElement("div", { className: css(_default$W.codeBlockHeader) },
8056
+ React__namespace.createElement("div", { className: css(_default$W.codeBlockActions) }, actions && actions)),
8057
+ React__namespace.createElement("div", { className: css(_default$W.codeBlockContent) }, children)));
8058
8058
  };
8059
8059
  CodeBlock.displayName = 'CodeBlock';
8060
8060
 
8061
8061
  const CodeBlockCode = (_a) => {
8062
8062
  var { children = null } = _a, props = __rest$1(_a, ["children"]);
8063
- return (React__namespace.createElement("pre", Object.assign({ className: css(_default$X.codeBlockPre) }, props),
8064
- React__namespace.createElement("code", { className: css(_default$X.codeBlockCode) }, children)));
8063
+ return (React__namespace.createElement("pre", Object.assign({ className: css(_default$W.codeBlockPre) }, props),
8064
+ React__namespace.createElement("code", { className: css(_default$W.codeBlockCode) }, children)));
8065
8065
  };
8066
8066
  CodeBlockCode.displayName = 'CodeBlockCode';
8067
8067
 
@@ -8071,7 +8071,7 @@
8071
8071
  };
8072
8072
  CodeBlockAction.displayName = 'CodeBlockAction';
8073
8073
 
8074
- var _default$W = {
8074
+ var _default$V = {
8075
8075
  "contextSelector": "pf-c-context-selector",
8076
8076
  "contextSelectorMenu": "pf-c-context-selector__menu",
8077
8077
  "contextSelectorMenuFooter": "pf-c-context-selector__menu-footer",
@@ -8157,9 +8157,9 @@
8157
8157
  isActive, onEnter, parentRef } = _a,
8158
8158
  /* eslint-enable @typescript-eslint/no-unused-vars */
8159
8159
  props = __rest$1(_a, ["className", "toggleText", "isOpen", "onToggle", "id", "isPlain", "isText", "isActive", "onEnter", "parentRef"]);
8160
- return (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.toggle, className: css(_default$W.contextSelectorToggle, isActive && _default$W.modifiers.active, isPlain && _default$W.modifiers.plain, isText && _default$W.modifiers.text, className), type: "button", onClick: event => onToggle(event, !isOpen), "aria-expanded": isOpen, onKeyDown: this.onKeyDown }),
8161
- React__namespace.createElement("span", { className: css(_default$W.contextSelectorToggleText) }, toggleText),
8162
- React__namespace.createElement("span", { className: css(_default$W.contextSelectorToggleIcon) },
8160
+ return (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.toggle, className: css(_default$V.contextSelectorToggle, isActive && _default$V.modifiers.active, isPlain && _default$V.modifiers.plain, isText && _default$V.modifiers.text, className), type: "button", onClick: event => onToggle(event, !isOpen), "aria-expanded": isOpen, onKeyDown: this.onKeyDown }),
8161
+ React__namespace.createElement("span", { className: css(_default$V.contextSelectorToggleText) }, toggleText),
8162
+ React__namespace.createElement("span", { className: css(_default$V.contextSelectorToggleIcon) },
8163
8163
  React__namespace.createElement(CaretDownIcon$1, { "aria-hidden": true }))));
8164
8164
  }
8165
8165
  }
@@ -8185,7 +8185,7 @@
8185
8185
  this.render = () => {
8186
8186
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
8187
8187
  const _a = this.props, { className, isOpen, children } = _a, props = __rest$1(_a, ["className", "isOpen", "children"]);
8188
- return (React__namespace.createElement("ul", Object.assign({ className: css(_default$W.contextSelectorMenuList, className), hidden: !isOpen, role: "menu" }, props), this.extendChildren()));
8188
+ return (React__namespace.createElement("ul", Object.assign({ className: css(_default$V.contextSelectorMenuList, className), hidden: !isOpen, role: "menu" }, props), this.extendChildren()));
8189
8189
  };
8190
8190
  }
8191
8191
  extendChildren() {
@@ -8207,7 +8207,7 @@
8207
8207
  onSelect: (event, value) => undefined
8208
8208
  });
8209
8209
 
8210
- var _default$V = {
8210
+ var _default$U = {
8211
8211
  "formControl": "pf-c-form-control",
8212
8212
  "inputGroup": "pf-c-input-group",
8213
8213
  "inputGroupText": "pf-c-input-group__text",
@@ -8235,7 +8235,7 @@
8235
8235
  /* find selected option and get placeholder flag */
8236
8236
  const selectedOption = React__namespace.Children.toArray(children).find((option) => option.props.value === value);
8237
8237
  const isSelectedPlaceholder = selectedOption && selectedOption.props.isPlaceholder;
8238
- return (React__namespace.createElement("select", Object.assign({}, props, { className: css(_default$1c.formControl, className, validated === exports.ValidatedOptions.success && _default$1c.modifiers.success, validated === exports.ValidatedOptions.warning && _default$1c.modifiers.warning, isSelectedPlaceholder && _default$1c.modifiers.placeholder), "aria-invalid": validated === exports.ValidatedOptions.error }, getOUIAProps(FormSelect.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), { onChange: this.handleChange, disabled: isDisabled, required: isRequired, value: value }), children));
8238
+ return (React__namespace.createElement("select", Object.assign({}, props, { className: css(_default$1b.formControl, className, validated === exports.ValidatedOptions.success && _default$1b.modifiers.success, validated === exports.ValidatedOptions.warning && _default$1b.modifiers.warning, isSelectedPlaceholder && _default$1b.modifiers.placeholder), "aria-invalid": validated === exports.ValidatedOptions.error }, getOUIAProps(FormSelect.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), { onChange: this.handleChange, disabled: isDisabled, required: isRequired, value: value }), children));
8239
8239
  }
8240
8240
  }
8241
8241
  FormSelect.displayName = 'FormSelect';
@@ -8311,7 +8311,7 @@
8311
8311
  /* eslint-enable @typescript-eslint/no-unused-vars */
8312
8312
  props = __rest$1(_a, ["className", "value", "validated", "isRequired", "isDisabled", "isReadOnly", "resizeOrientation", "innerRef", "readOnly", "disabled", "autoResize", "onChange"]);
8313
8313
  const orientation = `resize${capitalize(resizeOrientation)}`;
8314
- return (React__namespace.createElement("textarea", Object.assign({ className: css(_default$1c.formControl, className, resizeOrientation !== exports.TextAreResizeOrientation.both && _default$1c.modifiers[orientation], validated === exports.ValidatedOptions.success && _default$1c.modifiers.success, validated === exports.ValidatedOptions.warning && _default$1c.modifiers.warning), onChange: this.handleChange }, (typeof this.props.defaultValue !== 'string' && { value }), { "aria-invalid": validated === exports.ValidatedOptions.error, required: isRequired, disabled: isDisabled || disabled, readOnly: isReadOnly || readOnly, ref: innerRef }, props)));
8314
+ return (React__namespace.createElement("textarea", Object.assign({ className: css(_default$1b.formControl, className, resizeOrientation !== exports.TextAreResizeOrientation.both && _default$1b.modifiers[orientation], validated === exports.ValidatedOptions.success && _default$1b.modifiers.success, validated === exports.ValidatedOptions.warning && _default$1b.modifiers.warning), onChange: this.handleChange }, (typeof this.props.defaultValue !== 'string' && { value }), { "aria-invalid": validated === exports.ValidatedOptions.error, required: isRequired, disabled: isDisabled || disabled, readOnly: isReadOnly || readOnly, ref: innerRef }, props)));
8315
8315
  }
8316
8316
  }
8317
8317
  TextAreaBase.displayName = 'TextArea';
@@ -8331,7 +8331,7 @@
8331
8331
  var { className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
8332
8332
  const formCtrls = [FormSelect, TextArea, TextInput].map(comp => comp.displayName);
8333
8333
  const idItem = React__namespace.Children.toArray(children).find((child) => !formCtrls.includes(child.type.displayName) && child.props.id);
8334
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$V.inputGroup, className) }, props), idItem
8334
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$U.inputGroup, className) }, props), idItem
8335
8335
  ? React__namespace.Children.map(children, (child) => formCtrls.includes(child.type.displayName)
8336
8336
  ? React__namespace.cloneElement(child, { 'aria-describedby': idItem.props.id })
8337
8337
  : child)
@@ -8347,7 +8347,7 @@
8347
8347
  const InputGroupText = (_a) => {
8348
8348
  var { className = '', component = 'span', children, variant = exports.InputGroupTextVariant.default } = _a, props = __rest$1(_a, ["className", "component", "children", "variant"]);
8349
8349
  const Component = component;
8350
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$V.inputGroupText, variant === exports.InputGroupTextVariant.plain && _default$V.modifiers.plain, className) }, props), children));
8350
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$U.inputGroupText, variant === exports.InputGroupTextVariant.plain && _default$U.modifiers.plain, className) }, props), children));
8351
8351
  };
8352
8352
  InputGroupText.displayName = 'InputGroupText';
8353
8353
 
@@ -8372,8 +8372,8 @@
8372
8372
  const screenReaderLabelId = `pf-context-selector-label-id-${newId}`;
8373
8373
  const searchButtonId = `pf-context-selector-search-button-id-${newId}`;
8374
8374
  const _a = this.props, { children, className, isOpen, isFullHeight, onToggle, onSelect, screenReaderLabel, toggleText, searchButtonAriaLabel, searchInputValue, onSearchInputChange, searchInputPlaceholder, onSearchButtonClick, menuAppendTo, ouiaId, ouiaSafe, isPlain, isText, footer, disableFocusTrap } = _a, props = __rest$1(_a, ["children", "className", "isOpen", "isFullHeight", "onToggle", "onSelect", "screenReaderLabel", "toggleText", "searchButtonAriaLabel", "searchInputValue", "onSearchInputChange", "searchInputPlaceholder", "onSearchButtonClick", "menuAppendTo", "ouiaId", "ouiaSafe", "isPlain", "isText", "footer", "disableFocusTrap"]);
8375
- const menuContainer = (React__namespace.createElement("div", { className: css(_default$W.contextSelectorMenu) }, isOpen && (React__namespace.createElement(FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true } },
8376
- React__namespace.createElement("div", { className: css(_default$W.contextSelectorMenuSearch) },
8375
+ const menuContainer = (React__namespace.createElement("div", { className: css(_default$V.contextSelectorMenu) }, isOpen && (React__namespace.createElement(FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true } },
8376
+ React__namespace.createElement("div", { className: css(_default$V.contextSelectorMenuSearch) },
8377
8377
  React__namespace.createElement(InputGroup, null,
8378
8378
  React__namespace.createElement(TextInput, { value: searchInputValue, type: "search", placeholder: searchInputPlaceholder, onChange: onSearchInputChange, onKeyPress: this.onEnterPressed, "aria-labelledby": searchButtonId }),
8379
8379
  React__namespace.createElement(Button, { variant: exports.ButtonVariant.control, "aria-label": searchButtonAriaLabel, id: searchButtonId, onClick: onSearchButtonClick },
@@ -8381,8 +8381,8 @@
8381
8381
  React__namespace.createElement(ContextSelectorContext.Provider, { value: { onSelect } },
8382
8382
  React__namespace.createElement(ContextSelectorMenuList, { isOpen: isOpen }, children)),
8383
8383
  footer))));
8384
- const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$W.contextSelector, isOpen && _default$W.modifiers.expanded, className), ref: this.parentRef }, props), isOpen && menuContainer));
8385
- const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$W.contextSelector, isOpen && _default$W.modifiers.expanded, isFullHeight && _default$W.modifiers.fullHeight, className), ref: this.parentRef }, getOUIAProps(ContextSelector.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), props),
8384
+ const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$V.contextSelector, isOpen && _default$V.modifiers.expanded, className), ref: this.parentRef }, props), isOpen && menuContainer));
8385
+ const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$V.contextSelector, isOpen && _default$V.modifiers.expanded, isFullHeight && _default$V.modifiers.fullHeight, className), ref: this.parentRef }, getOUIAProps(ContextSelector.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), props),
8386
8386
  screenReaderLabel && (React__namespace.createElement("span", { id: screenReaderLabelId, hidden: true }, screenReaderLabel)),
8387
8387
  React__namespace.createElement(ContextSelectorToggle, { onToggle: onToggle, isOpen: isOpen, toggleText: toggleText, id: toggleId, parentRef: this.parentRef.current, "aria-labelledby": `${screenReaderLabelId} ${toggleId}`, isPlain: isPlain, isText: isText }),
8388
8388
  isOpen && menuAppendTo === 'inline' && menuContainer));
@@ -8432,7 +8432,7 @@
8432
8432
  const Component = href ? 'a' : 'button';
8433
8433
  const isDisabledLink = href && isDisabled;
8434
8434
  return (React__namespace.createElement(ContextSelectorContext.Consumer, null, ({ onSelect }) => (React__namespace.createElement("li", { role: "none" },
8435
- React__namespace.createElement(Component, Object.assign({ className: css(_default$W.contextSelectorMenuListItem, isDisabledLink && _default$W.modifiers.disabled, className), ref: this.ref, onClick: event => {
8435
+ React__namespace.createElement(Component, Object.assign({ className: css(_default$V.contextSelectorMenuListItem, isDisabledLink && _default$V.modifiers.disabled, className), ref: this.ref, onClick: event => {
8436
8436
  if (!isDisabled) {
8437
8437
  onClick(event);
8438
8438
  onSelect(event, children);
@@ -8453,11 +8453,11 @@
8453
8453
 
8454
8454
  const ContextSelectorFooter = (_a) => {
8455
8455
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
8456
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$W.contextSelectorMenuFooter, className) }), children));
8456
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$V.contextSelectorMenuFooter, className) }), children));
8457
8457
  };
8458
8458
  ContextSelectorFooter.displayName = 'ContextSelectorFooter';
8459
8459
 
8460
- var _default$U = {
8460
+ var _default$T = {
8461
8461
  "dataList": "pf-c-data-list",
8462
8462
  "dataListAction": "pf-c-data-list__action",
8463
8463
  "dataListCell": "pf-c-data-list__cell",
@@ -8513,7 +8513,7 @@
8513
8513
  }
8514
8514
  };
8515
8515
 
8516
- var _default$T = {
8516
+ var _default$S = {
8517
8517
  "dataList": "pf-c-data-list",
8518
8518
  "dataListCell": "pf-c-data-list__cell",
8519
8519
  "dataListExpandableContent": "pf-c-data-list__expandable-content",
@@ -8536,13 +8536,13 @@
8536
8536
  };
8537
8537
 
8538
8538
  const gridBreakpointClasses = {
8539
- none: _default$T.modifiers.gridNone,
8539
+ none: _default$S.modifiers.gridNone,
8540
8540
  always: 'pf-m-grid',
8541
- sm: _default$T.modifiers.gridSm,
8542
- md: _default$T.modifiers.gridMd,
8543
- lg: _default$T.modifiers.gridLg,
8544
- xl: _default$T.modifiers.gridXl,
8545
- '2xl': _default$T.modifiers.grid_2xl
8541
+ sm: _default$S.modifiers.gridSm,
8542
+ md: _default$S.modifiers.gridMd,
8543
+ lg: _default$S.modifiers.gridLg,
8544
+ xl: _default$S.modifiers.gridXl,
8545
+ '2xl': _default$S.modifiers.grid_2xl
8546
8546
  };
8547
8547
  exports.DataListWrapModifier = void 0;
8548
8548
  (function (DataListWrapModifier) {
@@ -8592,7 +8592,7 @@
8592
8592
  this.dragStart0 = (el) => {
8593
8593
  const { onDragStart } = this.props;
8594
8594
  const draggedItemId = el.id;
8595
- el.classList.add(_default$U.modifiers.ghostRow);
8595
+ el.classList.add(_default$T.modifiers.ghostRow);
8596
8596
  el.setAttribute('aria-pressed', 'true');
8597
8597
  this.setState({
8598
8598
  draggedItemId,
@@ -8608,8 +8608,8 @@
8608
8608
  this.onDragCancel = () => {
8609
8609
  this.move(this.props.itemOrder);
8610
8610
  Array.from(this.ref.current.children).forEach(el => {
8611
- el.classList.remove(_default$U.modifiers.ghostRow);
8612
- el.classList.remove(_default$U.modifiers.dragOver);
8611
+ el.classList.remove(_default$T.modifiers.ghostRow);
8612
+ el.classList.remove(_default$T.modifiers.dragOver);
8613
8613
  el.setAttribute('aria-pressed', 'false');
8614
8614
  });
8615
8615
  this.setState({
@@ -8631,8 +8631,8 @@
8631
8631
  }
8632
8632
  };
8633
8633
  this.dragEnd0 = (el) => {
8634
- el.classList.remove(_default$U.modifiers.ghostRow);
8635
- el.classList.remove(_default$U.modifiers.dragOver);
8634
+ el.classList.remove(_default$T.modifiers.ghostRow);
8635
+ el.classList.remove(_default$T.modifiers.dragOver);
8636
8636
  el.setAttribute('aria-pressed', 'false');
8637
8637
  this.setState({
8638
8638
  draggedItemId: null,
@@ -8711,14 +8711,14 @@
8711
8711
  const nextSelection = dragItem.previousSibling;
8712
8712
  if (nextSelection) {
8713
8713
  this.dragOver0(nextSelection.id);
8714
- dragItem.querySelector(`.${_default$U.dataListItemDraggableButton}`).focus();
8714
+ dragItem.querySelector(`.${_default$T.dataListItemDraggableButton}`).focus();
8715
8715
  }
8716
8716
  }
8717
8717
  else if (evt.key === 'ArrowDown') {
8718
8718
  const nextSelection = dragItem.nextSibling;
8719
8719
  if (nextSelection) {
8720
8720
  this.dragOver0(nextSelection.id);
8721
- dragItem.querySelector(`.${_default$U.dataListItemDraggableButton}`).focus();
8721
+ dragItem.querySelector(`.${_default$T.dataListItemDraggableButton}`).focus();
8722
8722
  }
8723
8723
  }
8724
8724
  }
@@ -8768,7 +8768,7 @@
8768
8768
  drop: this.drop,
8769
8769
  dragKeyHandler: this.handleDragButtonKeys
8770
8770
  } },
8771
- React__namespace.createElement("ul", Object.assign({ className: css(_default$U.dataList, isCompact && _default$U.modifiers.compact, gridBreakpointClasses[gridBreakpoint], wrapModifier && _default$U.modifiers[wrapModifier], dragging && _default$U.modifiers.dragOver, className), style: props.style }, props, dragProps, { ref: this.ref }), children)));
8771
+ React__namespace.createElement("ul", Object.assign({ className: css(_default$T.dataList, isCompact && _default$T.modifiers.compact, gridBreakpointClasses[gridBreakpoint], wrapModifier && _default$T.modifiers[wrapModifier], dragging && _default$T.modifiers.dragOver, className), style: props.style }, props, dragProps, { ref: this.ref }), children)));
8772
8772
  }
8773
8773
  }
8774
8774
  DataList.displayName = 'DataList';
@@ -8787,13 +8787,13 @@
8787
8787
  id, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, isPlainButtonAction } = _a,
8788
8788
  /* eslint-enable @typescript-eslint/no-unused-vars */
8789
8789
  props = __rest$1(_a, ["children", "className", "visibility", "id", 'aria-label', 'aria-labelledby', "isPlainButtonAction"]);
8790
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$U.dataListItemAction, formatBreakpointMods(visibility, _default$U), className) }, props), isPlainButtonAction ? React__namespace.createElement("div", { className: css(_default$U.dataListAction) }, children) : children));
8790
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$T.dataListItemAction, formatBreakpointMods(visibility, _default$T), className) }, props), isPlainButtonAction ? React__namespace.createElement("div", { className: css(_default$T.dataListAction) }, children) : children));
8791
8791
  };
8792
8792
  DataListAction.displayName = 'DataListAction';
8793
8793
 
8794
8794
  const DataListCell = (_a) => {
8795
8795
  var { children = null, className = '', width = 1, isFilled = true, alignRight = false, isIcon = false, wrapModifier = null } = _a, props = __rest$1(_a, ["children", "className", "width", "isFilled", "alignRight", "isIcon", "wrapModifier"]);
8796
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$U.dataListCell, width > 1 && _default$U.modifiers[`flex_${width}`], !isFilled && _default$U.modifiers.noFill, alignRight && _default$U.modifiers.alignRight, isIcon && _default$U.modifiers.icon, className, wrapModifier && _default$U.modifiers[wrapModifier]) }, props), children));
8796
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$T.dataListCell, width > 1 && _default$T.modifiers[`flex_${width}`], !isFilled && _default$T.modifiers.noFill, alignRight && _default$T.modifiers.alignRight, isIcon && _default$T.modifiers.icon, className, wrapModifier && _default$T.modifiers[wrapModifier]) }, props), children));
8797
8797
  };
8798
8798
  DataListCell.displayName = 'DataListCell';
8799
8799
 
@@ -8801,17 +8801,17 @@
8801
8801
  var { className = '',
8802
8802
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
8803
8803
  onChange = (checked, event) => { }, isValid = true, isDisabled = false, isChecked = null, checked = null, otherControls = false } = _a, props = __rest$1(_a, ["className", "onChange", "isValid", "isDisabled", "isChecked", "checked", "otherControls"]);
8804
- const check = (React__namespace.createElement("div", { className: css(_default$U.dataListCheck) },
8804
+ const check = (React__namespace.createElement("div", { className: css(_default$T.dataListCheck) },
8805
8805
  React__namespace.createElement("input", Object.assign({}, props, { type: "checkbox", onChange: event => onChange(event.currentTarget.checked, event), "aria-invalid": !isValid, disabled: isDisabled, checked: isChecked || checked }))));
8806
8806
  return (React__namespace.createElement(React__namespace.Fragment, null,
8807
- !otherControls && React__namespace.createElement("div", { className: css(_default$U.dataListItemControl, className) }, check),
8807
+ !otherControls && React__namespace.createElement("div", { className: css(_default$T.dataListItemControl, className) }, check),
8808
8808
  otherControls && check));
8809
8809
  };
8810
8810
  DataListCheck.displayName = 'DataListCheck';
8811
8811
 
8812
8812
  const DataListControl = (_a) => {
8813
8813
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
8814
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$U.dataListItemControl, className) }, props), children));
8814
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$T.dataListItemControl, className) }, props), children));
8815
8815
  };
8816
8816
  DataListControl.displayName = 'DataListControl';
8817
8817
 
@@ -8830,8 +8830,8 @@
8830
8830
 
8831
8831
  const DataListDragButton = (_a) => {
8832
8832
  var { className = '', isDisabled = false } = _a, props = __rest$1(_a, ["className", "isDisabled"]);
8833
- return (React__namespace.createElement(DataListContext.Consumer, null, ({ dragKeyHandler }) => (React__namespace.createElement("button", Object.assign({ className: css(_default$U.dataListItemDraggableButton, isDisabled && _default$U.modifiers.disabled, className), onKeyDown: dragKeyHandler, type: "button", disabled: isDisabled }, props),
8834
- React__namespace.createElement("span", { className: css(_default$U.dataListItemDraggableIcon) },
8833
+ return (React__namespace.createElement(DataListContext.Consumer, null, ({ dragKeyHandler }) => (React__namespace.createElement("button", Object.assign({ className: css(_default$T.dataListItemDraggableButton, isDisabled && _default$T.modifiers.disabled, className), onKeyDown: dragKeyHandler, type: "button", disabled: isDisabled }, props),
8834
+ React__namespace.createElement("span", { className: css(_default$T.dataListItemDraggableIcon) },
8835
8835
  React__namespace.createElement(GripVerticalIcon$1, null))))));
8836
8836
  };
8837
8837
  DataListDragButton.displayName = 'DataListDragButton';
@@ -8861,8 +8861,8 @@
8861
8861
  let target = event.target;
8862
8862
  while (event.currentTarget !== target) {
8863
8863
  if (('onclick' in target && target.onclick) ||
8864
- target.parentNode.classList.contains(_default$U.dataListItemAction) ||
8865
- target.parentNode.classList.contains(_default$U.dataListItemControl)) {
8864
+ target.parentNode.classList.contains(_default$T.dataListItemAction) ||
8865
+ target.parentNode.classList.contains(_default$T.dataListItemControl)) {
8866
8866
  // check other event handlers are not present.
8867
8867
  return;
8868
8868
  }
@@ -8887,7 +8887,7 @@
8887
8887
  onDragEnd: dragEnd,
8888
8888
  onDragStart: dragStart
8889
8889
  };
8890
- return (React__namespace.createElement("li", Object.assign({ id: id, className: css(_default$U.dataListItem, isExpanded && _default$U.modifiers.expanded, isSelectable && _default$U.modifiers.selectable, selectedDataListItemId && selectedDataListItemId === id && _default$U.modifiers.selected, className), "aria-labelledby": ariaLabelledBy }, (isSelectable && { tabIndex: 0, onClick: selectDataListItem, onKeyDown }), (isSelectable && selectedDataListItemId === id && { 'aria-selected': true }), props, dragProps), React__namespace.Children.map(children, child => React__namespace.isValidElement(child) &&
8890
+ return (React__namespace.createElement("li", Object.assign({ id: id, className: css(_default$T.dataListItem, isExpanded && _default$T.modifiers.expanded, isSelectable && _default$T.modifiers.selectable, selectedDataListItemId && selectedDataListItemId === id && _default$T.modifiers.selected, className), "aria-labelledby": ariaLabelledBy }, (isSelectable && { tabIndex: 0, onClick: selectDataListItem, onKeyDown }), (isSelectable && selectedDataListItemId === id && { 'aria-selected': true }), props, dragProps), React__namespace.Children.map(children, child => React__namespace.isValidElement(child) &&
8891
8891
  React__namespace.cloneElement(child, {
8892
8892
  rowid: ariaLabelledBy
8893
8893
  }))));
@@ -8907,13 +8907,13 @@
8907
8907
  var { className = '', dataListCells,
8908
8908
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
8909
8909
  rowid = '' } = _a, props = __rest$1(_a, ["className", "dataListCells", "rowid"]);
8910
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$U.dataListItemContent, className) }, props), dataListCells));
8910
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$T.dataListItemContent, className) }, props), dataListCells));
8911
8911
  };
8912
8912
  DataListItemCells.displayName = 'DataListItemCells';
8913
8913
 
8914
8914
  const DataListItemRow = (_a) => {
8915
8915
  var { children, className = '', rowid = '', wrapModifier = null } = _a, props = __rest$1(_a, ["children", "className", "rowid", "wrapModifier"]);
8916
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$U.dataListItemRow, className, wrapModifier && _default$U.modifiers[wrapModifier]) }, props), React__namespace.Children.map(children, child => React__namespace.isValidElement(child) &&
8916
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$T.dataListItemRow, className, wrapModifier && _default$T.modifiers[wrapModifier]) }, props), React__namespace.Children.map(children, child => React__namespace.isValidElement(child) &&
8917
8917
  React__namespace.cloneElement(child, {
8918
8918
  rowid
8919
8919
  }))));
@@ -8922,10 +8922,10 @@
8922
8922
 
8923
8923
  const DataListToggle = (_a) => {
8924
8924
  var { className = '', isExpanded = false, 'aria-controls': ariaControls = '', 'aria-label': ariaLabel = 'Details', rowid = '', id } = _a, props = __rest$1(_a, ["className", "isExpanded", 'aria-controls', 'aria-label', "rowid", "id"]);
8925
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$U.dataListItemControl, className) }, props),
8926
- React__namespace.createElement("div", { className: css(_default$U.dataListToggle) },
8925
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$T.dataListItemControl, className) }, props),
8926
+ React__namespace.createElement("div", { className: css(_default$T.dataListToggle) },
8927
8927
  React__namespace.createElement(Button, { id: id, variant: exports.ButtonVariant.plain, "aria-controls": ariaControls !== '' && ariaControls, "aria-label": ariaLabel, "aria-labelledby": ariaLabel !== 'Details' ? null : `${rowid} ${id}`, "aria-expanded": isExpanded },
8928
- React__namespace.createElement("div", { className: css(_default$U.dataListToggleIcon) },
8928
+ React__namespace.createElement("div", { className: css(_default$T.dataListToggleIcon) },
8929
8929
  React__namespace.createElement(AngleRightIcon$1, null))))));
8930
8930
  };
8931
8931
  DataListToggle.displayName = 'DataListToggle';
@@ -8934,8 +8934,8 @@
8934
8934
  var { className = '', children = null, id = '', isHidden = false, 'aria-label': ariaLabel, hasNoPadding = false,
8935
8935
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
8936
8936
  rowid = '' } = _a, props = __rest$1(_a, ["className", "children", "id", "isHidden", 'aria-label', "hasNoPadding", "rowid"]);
8937
- return (React__namespace.createElement("section", Object.assign({ id: id, className: css(_default$U.dataListExpandableContent, className), hidden: isHidden, "aria-label": ariaLabel }, props),
8938
- React__namespace.createElement("div", { className: css(_default$U.dataListExpandableContentBody, hasNoPadding && _default$U.modifiers.noPadding) }, children)));
8937
+ return (React__namespace.createElement("section", Object.assign({ id: id, className: css(_default$T.dataListExpandableContent, className), hidden: isHidden, "aria-label": ariaLabel }, props),
8938
+ React__namespace.createElement("div", { className: css(_default$T.dataListExpandableContentBody, hasNoPadding && _default$T.modifiers.noPadding) }, children)));
8939
8939
  };
8940
8940
  DataListContent.displayName = 'DataListContent';
8941
8941
 
@@ -8952,12 +8952,12 @@
8952
8952
  }
8953
8953
  onMouseEnterProp(event);
8954
8954
  };
8955
- const text = (React__namespace.createElement(Component, Object.assign({ onMouseEnter: onMouseEnter, className: css(className, wrapModifier && _default$U.modifiers[wrapModifier], _default$U.dataListText) }, props), children));
8955
+ const text = (React__namespace.createElement(Component, Object.assign({ onMouseEnter: onMouseEnter, className: css(className, wrapModifier && _default$T.modifiers[wrapModifier], _default$T.dataListText) }, props), children));
8956
8956
  return tooltip !== '' ? (React__namespace.createElement(Tooltip, { content: tooltip, isVisible: true }, text)) : (text);
8957
8957
  };
8958
8958
  DataListText.displayName = 'DataListText';
8959
8959
 
8960
- var _default$S = {
8960
+ var _default$R = {
8961
8961
  "datePicker": "pf-c-date-picker",
8962
8962
  "datePickerCalendar": "pf-c-date-picker__calendar",
8963
8963
  "datePickerHelperText": "pf-c-date-picker__helper-text",
@@ -8970,7 +8970,7 @@
8970
8970
  }
8971
8971
  };
8972
8972
 
8973
- var _default$R = {
8973
+ var _default$Q = {
8974
8974
  "button": "pf-c-button",
8975
8975
  "modifiers": {
8976
8976
  "noPadding": "pf-m-no-padding",
@@ -9009,25 +9009,25 @@
9009
9009
 
9010
9010
  const PopoverContent = (_a) => {
9011
9011
  var { className = null, children } = _a, props = __rest$1(_a, ["className", "children"]);
9012
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$R.popoverContent, className) }, props), children));
9012
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$Q.popoverContent, className) }, props), children));
9013
9013
  };
9014
9014
  PopoverContent.displayName = 'PopoverContent';
9015
9015
 
9016
9016
  const PopoverBody = (_a) => {
9017
9017
  var { children, id, className } = _a, props = __rest$1(_a, ["children", "id", "className"]);
9018
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$R.popoverBody, className), id: id }, props), children));
9018
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$Q.popoverBody, className), id: id }, props), children));
9019
9019
  };
9020
9020
  PopoverBody.displayName = 'PopoverBody';
9021
9021
 
9022
9022
  const PopoverHeaderIcon = (_a) => {
9023
9023
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
9024
- return (React__namespace.createElement("span", Object.assign({ className: css(_default$R.popoverTitleIcon, className) }, props), children));
9024
+ return (React__namespace.createElement("span", Object.assign({ className: css(_default$Q.popoverTitleIcon, className) }, props), children));
9025
9025
  };
9026
9026
  PopoverHeaderIcon.displayName = 'PopoverHeaderIcon';
9027
9027
 
9028
9028
  const PopoverHeaderText = (_a) => {
9029
9029
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
9030
- return (React__namespace.createElement("span", Object.assign({ className: css(_default$R.popoverTitleText, className) }, props), children));
9030
+ return (React__namespace.createElement("span", Object.assign({ className: css(_default$Q.popoverTitleText, className) }, props), children));
9031
9031
  };
9032
9032
  PopoverHeaderText.displayName = 'PopoverHeaderText';
9033
9033
 
@@ -9035,7 +9035,7 @@
9035
9035
  var { children, icon, className, titleHeadingLevel = 'h6', alertSeverityVariant, id, alertSeverityScreenReaderText } = _a, props = __rest$1(_a, ["children", "icon", "className", "titleHeadingLevel", "alertSeverityVariant", "id", "alertSeverityScreenReaderText"]);
9036
9036
  const HeadingLevel = titleHeadingLevel;
9037
9037
  return icon || alertSeverityVariant ? (React__namespace.createElement("header", Object.assign({ className: css('pf-c-popover__header', className), id: id }, props),
9038
- React__namespace.createElement(HeadingLevel, { className: css(_default$R.popoverTitle, icon && _default$R.modifiers.icon) },
9038
+ React__namespace.createElement(HeadingLevel, { className: css(_default$Q.popoverTitle, icon && _default$Q.modifiers.icon) },
9039
9039
  icon && React__namespace.createElement(PopoverHeaderIcon, null, icon),
9040
9040
  alertSeverityVariant && alertSeverityScreenReaderText && (React__namespace.createElement("span", { className: "pf-u-screen-reader" }, alertSeverityScreenReaderText)),
9041
9041
  React__namespace.createElement(PopoverHeaderText, null, children)))) : (React__namespace.createElement(Title, Object.assign({ headingLevel: titleHeadingLevel, size: exports.TitleSizes.md, id: id, className: className }, props), children));
@@ -9044,7 +9044,7 @@
9044
9044
 
9045
9045
  const PopoverFooter = (_a) => {
9046
9046
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
9047
- return (React__namespace.createElement("footer", Object.assign({ className: css(_default$R.popoverFooter, className) }, props), children));
9047
+ return (React__namespace.createElement("footer", Object.assign({ className: css(_default$Q.popoverFooter, className) }, props), children));
9048
9048
  };
9049
9049
  PopoverFooter.displayName = 'PopoverFooter';
9050
9050
 
@@ -9065,7 +9065,7 @@
9065
9065
 
9066
9066
  const PopoverArrow = (_a) => {
9067
9067
  var { className = '' } = _a, props = __rest$1(_a, ["className"]);
9068
- return React__namespace.createElement("div", Object.assign({ className: css(_default$R.popoverArrow, className) }, props));
9068
+ return React__namespace.createElement("div", Object.assign({ className: css(_default$Q.popoverArrow, className) }, props));
9069
9069
  };
9070
9070
  PopoverArrow.displayName = 'PopoverArrow';
9071
9071
 
@@ -9100,11 +9100,11 @@
9100
9100
  PopoverPosition["rightEnd"] = "right-end";
9101
9101
  })(exports.PopoverPosition || (exports.PopoverPosition = {}));
9102
9102
  const alertStyle = {
9103
- default: _default$R.modifiers.default,
9104
- info: _default$R.modifiers.info,
9105
- success: _default$R.modifiers.success,
9106
- warning: _default$R.modifiers.warning,
9107
- danger: _default$R.modifiers.danger
9103
+ default: _default$Q.modifiers.default,
9104
+ info: _default$Q.modifiers.info,
9105
+ success: _default$Q.modifiers.success,
9106
+ warning: _default$Q.modifiers.warning,
9107
+ danger: _default$Q.modifiers.danger
9108
9108
  };
9109
9109
  const Popover = (_a) => {
9110
9110
  var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', headerIcon = null, alertSeverityVariant, alertSeverityScreenReaderText, footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, minWidth = popoverMinWidth && popoverMinWidth.value, maxWidth = popoverMaxWidth && popoverMaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25,
@@ -9168,18 +9168,18 @@
9168
9168
  }, 0);
9169
9169
  };
9170
9170
  const positionModifiers = {
9171
- top: _default$R.modifiers.top,
9172
- bottom: _default$R.modifiers.bottom,
9173
- left: _default$R.modifiers.left,
9174
- right: _default$R.modifiers.right,
9175
- 'top-start': _default$R.modifiers.topLeft,
9176
- 'top-end': _default$R.modifiers.topRight,
9177
- 'bottom-start': _default$R.modifiers.bottomLeft,
9178
- 'bottom-end': _default$R.modifiers.bottomRight,
9179
- 'left-start': _default$R.modifiers.leftTop,
9180
- 'left-end': _default$R.modifiers.leftBottom,
9181
- 'right-start': _default$R.modifiers.rightTop,
9182
- 'right-end': _default$R.modifiers.rightBottom
9171
+ top: _default$Q.modifiers.top,
9172
+ bottom: _default$Q.modifiers.bottom,
9173
+ left: _default$Q.modifiers.left,
9174
+ right: _default$Q.modifiers.right,
9175
+ 'top-start': _default$Q.modifiers.topLeft,
9176
+ 'top-end': _default$Q.modifiers.topRight,
9177
+ 'bottom-start': _default$Q.modifiers.bottomLeft,
9178
+ 'bottom-end': _default$Q.modifiers.bottomRight,
9179
+ 'left-start': _default$Q.modifiers.leftTop,
9180
+ 'left-end': _default$Q.modifiers.leftBottom,
9181
+ 'right-start': _default$Q.modifiers.rightTop,
9182
+ 'right-end': _default$Q.modifiers.rightBottom
9183
9183
  };
9184
9184
  const hasCustomMinWidth = minWidth !== popoverMinWidth.value;
9185
9185
  const hasCustomMaxWidth = maxWidth !== popoverMaxWidth.value;
@@ -9255,7 +9255,7 @@
9255
9255
  }
9256
9256
  return node;
9257
9257
  }
9258
- }, preventScrollOnDeactivate: true, className: css(_default$R.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && _default$R.modifiers.noPadding, hasAutoWidth && _default$R.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
9258
+ }, preventScrollOnDeactivate: true, className: css(_default$Q.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && _default$Q.modifiers.noPadding, hasAutoWidth && _default$Q.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
9259
9259
  minWidth: hasCustomMinWidth ? minWidth : null,
9260
9260
  maxWidth: hasCustomMaxWidth ? maxWidth : null,
9261
9261
  opacity,
@@ -9356,7 +9356,7 @@
9356
9356
  setCalendarOpen: (isOpen) => setPopoverOpen(isOpen),
9357
9357
  toggleCalendar: () => setPopoverOpen(prev => !prev)
9358
9358
  }), [setPopoverOpen]);
9359
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$S.datePicker, className), style: style }, props),
9359
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$R.datePicker, className), style: style }, props),
9360
9360
  React__namespace.createElement(Popover, Object.assign({ position: "bottom", bodyContent: React__namespace.createElement(CalendarMonth, { date: valueDate, onChange: onDateClick, locale: locale,
9361
9361
  // Use truthy values of strings
9362
9362
  validators: validators.map(validator => (date) => !validator(date)), onSelectToggle: open => setSelectOpen(open), monthFormat: monthFormat, weekdayFormat: weekdayFormat, longWeekdayFormat: longWeekdayFormat, dayFormat: dayFormat, weekStart: weekStart, rangeStart: rangeStart }), showClose: false, isVisible: popoverOpen, shouldClose: (_1, _2, event) => {
@@ -9372,18 +9372,18 @@
9372
9372
  setPopoverOpen(false);
9373
9373
  return true;
9374
9374
  }, withFocusTrap: true, hasNoPadding: true, hasAutoWidth: true, appendTo: appendTo }, popoverProps),
9375
- React__namespace.createElement("div", { className: _default$S.datePickerInput },
9375
+ React__namespace.createElement("div", { className: _default$R.datePickerInput },
9376
9376
  React__namespace.createElement(InputGroup, null,
9377
9377
  React__namespace.createElement(TextInput, Object.assign({ isDisabled: isDisabled, "aria-label": ariaLabel, placeholder: placeholder, validated: errorText ? 'error' : 'default', value: value, onChange: onTextInput, onBlur: onInputBlur, onKeyPress: onKeyPress }, inputProps)),
9378
- React__namespace.createElement("button", { ref: buttonRef, className: css(_default$1l.button, _default$1l.modifiers.control), "aria-label": buttonAriaLabel, type: "button", onClick: () => setPopoverOpen(!popoverOpen), disabled: isDisabled },
9378
+ React__namespace.createElement("button", { ref: buttonRef, className: css(_default$1k.button, _default$1k.modifiers.control), "aria-label": buttonAriaLabel, type: "button", onClick: () => setPopoverOpen(!popoverOpen), disabled: isDisabled },
9379
9379
  React__namespace.createElement(OutlinedCalendarAltIcon$1, null))))),
9380
- helperText && React__namespace.createElement("div", { className: _default$S.datePickerHelperText }, helperText),
9381
- errorText.trim() && React__namespace.createElement("div", { className: css(_default$S.datePickerHelperText, _default$S.modifiers.error) }, errorText)));
9380
+ helperText && React__namespace.createElement("div", { className: _default$R.datePickerHelperText }, helperText),
9381
+ errorText.trim() && React__namespace.createElement("div", { className: css(_default$R.datePickerHelperText, _default$R.modifiers.error) }, errorText)));
9382
9382
  };
9383
9383
  const DatePicker = React__namespace.forwardRef(DatePickerBase);
9384
9384
  DatePicker.displayName = 'DatePicker';
9385
9385
 
9386
- var _default$Q = {
9386
+ var _default$P = {
9387
9387
  "descriptionList": "pf-c-description-list",
9388
9388
  "descriptionListDescription": "pf-c-description-list__description",
9389
9389
  "descriptionListGroup": "pf-c-description-list__group",
@@ -9438,44 +9438,44 @@
9438
9438
  };
9439
9439
  const DescriptionList = (_a) => {
9440
9440
  var { className = '', children = null, isHorizontal = false, isAutoColumnWidths, isAutoFit, isInlineGrid, isCompact, isFluid, isFillColumns, columnModifier, autoFitMinModifier, orientation, style } = _a, props = __rest$1(_a, ["className", "children", "isHorizontal", "isAutoColumnWidths", "isAutoFit", "isInlineGrid", "isCompact", "isFluid", "isFillColumns", "columnModifier", "autoFitMinModifier", "orientation", "style"]);
9441
- return (React__namespace.createElement("dl", Object.assign({ className: css(_default$Q.descriptionList, (isHorizontal || isFluid) && _default$Q.modifiers.horizontal, isAutoColumnWidths && _default$Q.modifiers.autoColumnWidths, isAutoFit && _default$Q.modifiers.autoFit, formatBreakpointMods(columnModifier, _default$Q), formatBreakpointMods(orientation, _default$Q), isInlineGrid && _default$Q.modifiers.inlineGrid, isCompact && _default$Q.modifiers.compact, isFluid && _default$Q.modifiers.fluid, isFillColumns && _default$Q.modifiers.fillColumns, className), style: autoFitMinModifier || style
9441
+ return (React__namespace.createElement("dl", Object.assign({ className: css(_default$P.descriptionList, (isHorizontal || isFluid) && _default$P.modifiers.horizontal, isAutoColumnWidths && _default$P.modifiers.autoColumnWidths, isAutoFit && _default$P.modifiers.autoFit, formatBreakpointMods(columnModifier, _default$P), formatBreakpointMods(orientation, _default$P), isInlineGrid && _default$P.modifiers.inlineGrid, isCompact && _default$P.modifiers.compact, isFluid && _default$P.modifiers.fluid, isFillColumns && _default$P.modifiers.fillColumns, className), style: autoFitMinModifier || style
9442
9442
  ? Object.assign(Object.assign({}, (isAutoFit ? setAutoFitMinModifiers(autoFitMinModifier) : {})), style) : undefined }, props), children));
9443
9443
  };
9444
9444
  DescriptionList.displayName = 'DescriptionList';
9445
9445
 
9446
9446
  const DescriptionListDescription = (_a) => {
9447
9447
  var { children = null, className } = _a, props = __rest$1(_a, ["children", "className"]);
9448
- return (React__namespace.createElement("dd", Object.assign({ className: css(_default$Q.descriptionListDescription, className) }, props),
9448
+ return (React__namespace.createElement("dd", Object.assign({ className: css(_default$P.descriptionListDescription, className) }, props),
9449
9449
  React__namespace.createElement("div", { className: 'pf-c-description-list__text' }, children)));
9450
9450
  };
9451
9451
  DescriptionListDescription.displayName = 'DescriptionListDescription';
9452
9452
 
9453
9453
  const DescriptionListGroup = (_a) => {
9454
9454
  var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
9455
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$Q.descriptionListGroup, className) }, props), children));
9455
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$P.descriptionListGroup, className) }, props), children));
9456
9456
  };
9457
9457
  DescriptionListGroup.displayName = 'DescriptionListGroup';
9458
9458
 
9459
9459
  const DescriptionListTerm = (_a) => {
9460
9460
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
9461
- return (React__namespace.createElement("dt", Object.assign({ className: css(_default$Q.descriptionListTerm, className) }, props),
9462
- React__namespace.createElement("span", { className: css(_default$Q.descriptionListText) }, children)));
9461
+ return (React__namespace.createElement("dt", Object.assign({ className: css(_default$P.descriptionListTerm, className) }, props),
9462
+ React__namespace.createElement("span", { className: css(_default$P.descriptionListText) }, children)));
9463
9463
  };
9464
9464
  DescriptionListTerm.displayName = 'DescriptionListTerm';
9465
9465
 
9466
9466
  const DescriptionListTermHelpText = (_a) => {
9467
9467
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
9468
- return (React__namespace.createElement("dt", Object.assign({ className: css(_default$Q.descriptionListTerm, className) }, props), children));
9468
+ return (React__namespace.createElement("dt", Object.assign({ className: css(_default$P.descriptionListTerm, className) }, props), children));
9469
9469
  };
9470
9470
  DescriptionListTermHelpText.displayName = 'DescriptionListTermHelpText';
9471
9471
 
9472
9472
  const DescriptionListTermHelpTextButton = (_a) => {
9473
9473
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
9474
- return (React__namespace.createElement("span", Object.assign({ className: css(className, _default$Q.descriptionListText, _default$Q.modifiers.helpText), role: "button", type: "button", tabIndex: 0 }, props), children));
9474
+ return (React__namespace.createElement("span", Object.assign({ className: css(className, _default$P.descriptionListText, _default$P.modifiers.helpText), role: "button", type: "button", tabIndex: 0 }, props), children));
9475
9475
  };
9476
9476
  DescriptionListTermHelpTextButton.displayName = 'DescriptionListTermHelpTextButton';
9477
9477
 
9478
- var _default$P = {
9478
+ var _default$O = {
9479
9479
  "drawer": "pf-c-drawer",
9480
9480
  "drawerActions": "pf-c-drawer__actions",
9481
9481
  "drawerBody": "pf-c-drawer__body",
@@ -9552,7 +9552,7 @@
9552
9552
  var { className = '', children, isExpanded = false, isInline = false, isStatic = false, position = 'right', onExpand = () => { } } = _a, props = __rest$1(_a, ["className", "children", "isExpanded", "isInline", "isStatic", "position", "onExpand"]);
9553
9553
  const drawerRef = React__namespace.useRef();
9554
9554
  return (React__namespace.createElement(DrawerContext.Provider, { value: { isExpanded, isStatic, onExpand, position, drawerRef } },
9555
- React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawer, isExpanded && _default$P.modifiers.expanded, isInline && _default$P.modifiers.inline, isStatic && _default$P.modifiers.static, position === 'left' && _default$P.modifiers.panelLeft, position === 'bottom' && _default$P.modifiers.panelBottom, className), ref: drawerRef }, props), children)));
9555
+ React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawer, isExpanded && _default$O.modifiers.expanded, isInline && _default$O.modifiers.inline, isStatic && _default$O.modifiers.static, position === 'left' && _default$O.modifiers.panelLeft, position === 'bottom' && _default$O.modifiers.panelBottom, className), ref: drawerRef }, props), children)));
9556
9556
  };
9557
9557
  Drawer.displayName = 'Drawer';
9558
9558
 
@@ -9560,7 +9560,7 @@
9560
9560
  var {
9561
9561
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9562
9562
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
9563
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerActions, className) }, props), children));
9563
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerActions, className) }, props), children));
9564
9564
  };
9565
9565
  DrawerActions.displayName = 'DrawerActions';
9566
9566
 
@@ -9568,7 +9568,7 @@
9568
9568
  var {
9569
9569
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9570
9570
  className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close drawer panel' } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label']);
9571
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerClose, className) }, props),
9571
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerClose, className) }, props),
9572
9572
  React__namespace.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel },
9573
9573
  React__namespace.createElement(TimesIcon$1, null))));
9574
9574
  };
@@ -9578,7 +9578,7 @@
9578
9578
  var {
9579
9579
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9580
9580
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
9581
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerMain, className) }, props), children));
9581
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerMain, className) }, props), children));
9582
9582
  };
9583
9583
  DrawerMain.displayName = 'DrawerMain';
9584
9584
 
@@ -9587,7 +9587,7 @@
9587
9587
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9588
9588
  className = '', children, panelContent, colorVariant = exports.DrawerColorVariant.default } = _a, props = __rest$1(_a, ["className", "children", "panelContent", "colorVariant"]);
9589
9589
  return (React__namespace.createElement(DrawerMain, null,
9590
- React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerContent, colorVariant === exports.DrawerColorVariant.light200 && _default$P.modifiers.light_200, className) }, props), children),
9590
+ React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerContent, colorVariant === exports.DrawerColorVariant.light200 && _default$O.modifiers.light_200, className) }, props), children),
9591
9591
  panelContent));
9592
9592
  };
9593
9593
  DrawerContent.displayName = 'DrawerContent';
@@ -9596,7 +9596,7 @@
9596
9596
  var {
9597
9597
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9598
9598
  className = '', children, hasPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasPadding"]);
9599
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerBody, hasPadding && _default$P.modifiers.padding, className) }, props), children));
9599
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerBody, hasPadding && _default$O.modifiers.padding, className) }, props), children));
9600
9600
  };
9601
9601
  DrawerContentBody.displayName = 'DrawerContentBody';
9602
9602
 
@@ -9604,7 +9604,7 @@
9604
9604
  var {
9605
9605
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9606
9606
  className = '', children, hasNoPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasNoPadding"]);
9607
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerBody, hasNoPadding && _default$P.modifiers.noPadding, className) }, props), children));
9607
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerBody, hasNoPadding && _default$O.modifiers.noPadding, className) }, props), children));
9608
9608
  };
9609
9609
  DrawerPanelBody.displayName = 'DrawerPanelBody';
9610
9610
 
@@ -9613,7 +9613,7 @@
9613
9613
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9614
9614
  className = '', children, hasNoPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasNoPadding"]);
9615
9615
  return (React__namespace.createElement(DrawerPanelBody, { hasNoPadding: hasNoPadding },
9616
- React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerHead, className) }, props), children)));
9616
+ React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerHead, className) }, props), children)));
9617
9617
  };
9618
9618
  DrawerHead.displayName = 'DrawerHead';
9619
9619
 
@@ -9647,7 +9647,7 @@
9647
9647
  e.preventDefault();
9648
9648
  document.addEventListener('mousemove', callbackMouseMove);
9649
9649
  document.addEventListener('mouseup', callbackMouseUp);
9650
- drawerRef.current.classList.add(css(_default$P.modifiers.resizing));
9650
+ drawerRef.current.classList.add(css(_default$O.modifiers.resizing));
9651
9651
  isResizing = true;
9652
9652
  setInitialVals = true;
9653
9653
  };
@@ -9694,7 +9694,7 @@
9694
9694
  if (!isResizing) {
9695
9695
  return;
9696
9696
  }
9697
- drawerRef.current.classList.remove(css(_default$P.modifiers.resizing));
9697
+ drawerRef.current.classList.remove(css(_default$O.modifiers.resizing));
9698
9698
  isResizing = false;
9699
9699
  onResize && onResize(currWidth, id);
9700
9700
  setInitialVals = true;
@@ -9773,7 +9773,7 @@
9773
9773
  if (maxSize) {
9774
9774
  boundaryCssVars['--pf-c-drawer__panel--md--FlexBasis--max'] = maxSize;
9775
9775
  }
9776
- return (React__namespace.createElement("div", Object.assign({ id: id, className: css(_default$P.drawerPanel, isResizable && _default$P.modifiers.resizable, hasNoBorder && _default$P.modifiers.noBorder, formatBreakpointMods(widths, _default$P), colorVariant === exports.DrawerColorVariant.light200 && _default$P.modifiers.light_200, className), ref: panel, onTransitionEnd: ev => {
9776
+ return (React__namespace.createElement("div", Object.assign({ id: id, className: css(_default$O.drawerPanel, isResizable && _default$O.modifiers.resizable, hasNoBorder && _default$O.modifiers.noBorder, formatBreakpointMods(widths, _default$O), colorVariant === exports.DrawerColorVariant.light200 && _default$O.modifiers.light_200, className), ref: panel, onTransitionEnd: ev => {
9777
9777
  if (!hidden && ev.nativeEvent.propertyName === 'transform') {
9778
9778
  onExpand();
9779
9779
  }
@@ -9782,9 +9782,9 @@
9782
9782
  style: boundaryCssVars
9783
9783
  }), props), isExpandedInternal && (React__namespace.createElement(React__namespace.Fragment, null,
9784
9784
  isResizable && (React__namespace.createElement(React__namespace.Fragment, null,
9785
- React__namespace.createElement("div", { className: css(_default$P.drawerSplitter, position !== 'bottom' && _default$P.modifiers.vertical), role: "separator", tabIndex: 0, "aria-orientation": position === 'bottom' ? 'horizontal' : 'vertical', "aria-label": resizeAriaLabel, "aria-describedby": resizeAriaDescribedBy, onMouseDown: handleMousedown, onKeyDown: handleKeys, onTouchStart: handleTouchStart },
9786
- React__namespace.createElement("div", { className: css(_default$P.drawerSplitterHandle), "aria-hidden": true })),
9787
- React__namespace.createElement("div", { className: css(_default$P.drawerPanelMain) }, children))),
9785
+ React__namespace.createElement("div", { className: css(_default$O.drawerSplitter, position !== 'bottom' && _default$O.modifiers.vertical), role: "separator", tabIndex: 0, "aria-orientation": position === 'bottom' ? 'horizontal' : 'vertical', "aria-label": resizeAriaLabel, "aria-describedby": resizeAriaDescribedBy, onMouseDown: handleMousedown, onKeyDown: handleKeys, onTouchStart: handleTouchStart },
9786
+ React__namespace.createElement("div", { className: css(_default$O.drawerSplitterHandle), "aria-hidden": true })),
9787
+ React__namespace.createElement("div", { className: css(_default$O.drawerPanelMain) }, children))),
9788
9788
  !isResizable && children))));
9789
9789
  };
9790
9790
  DrawerPanelContent.displayName = 'DrawerPanelContent';
@@ -9793,11 +9793,11 @@
9793
9793
  var {
9794
9794
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9795
9795
  className = '', children, colorVariant = exports.DrawerColorVariant.default } = _a, props = __rest$1(_a, ["className", "children", "colorVariant"]);
9796
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$P.drawerSection, colorVariant === exports.DrawerColorVariant.light200 && _default$P.modifiers.light_200, className) }, props), children));
9796
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.drawerSection, colorVariant === exports.DrawerColorVariant.light200 && _default$O.modifiers.light_200, className) }, props), children));
9797
9797
  };
9798
9798
  DrawerSection.displayName = 'DrawerSection';
9799
9799
 
9800
- var _default$O = {
9800
+ var _default$N = {
9801
9801
  "badge": "pf-c-badge",
9802
9802
  "button": "pf-c-button",
9803
9803
  "dualListSelector": "pf-c-dual-list-selector",
@@ -9957,16 +9957,16 @@
9957
9957
  React__namespace.useEffect(() => {
9958
9958
  setIsExpanded(defaultExpanded);
9959
9959
  }, [defaultExpanded]);
9960
- return (React__namespace.createElement("li", Object.assign({ className: css(_default$O.dualListSelectorListItem, className, children && _default$O.modifiers.expandable, isExpanded && _default$O.modifiers.expanded, isDisabled && _default$O.modifiers.disabled), id: id }, props, { "aria-selected": isChecked, role: "treeitem" }, (isExpanded && { 'aria-expanded': 'true' })),
9961
- React__namespace.createElement("div", { className: css(_default$O.dualListSelectorListItemRow, isChecked && _default$O.modifiers.selected, _default$O.modifiers.check) },
9962
- React__namespace.createElement("div", { className: css(_default$O.dualListSelectorItem), ref: ref, tabIndex: -1, onClick: isDisabled
9960
+ return (React__namespace.createElement("li", Object.assign({ className: css(_default$N.dualListSelectorListItem, className, children && _default$N.modifiers.expandable, isExpanded && _default$N.modifiers.expanded, isDisabled && _default$N.modifiers.disabled), id: id }, props, { "aria-selected": isChecked, role: "treeitem" }, (isExpanded && { 'aria-expanded': 'true' })),
9961
+ React__namespace.createElement("div", { className: css(_default$N.dualListSelectorListItemRow, isChecked && _default$N.modifiers.selected, _default$N.modifiers.check) },
9962
+ React__namespace.createElement("div", { className: css(_default$N.dualListSelectorItem), ref: ref, tabIndex: -1, onClick: isDisabled
9963
9963
  ? undefined
9964
9964
  : evt => {
9965
9965
  onOptionCheck && onOptionCheck(evt, !isChecked, itemData);
9966
9966
  setFocusedOption(id);
9967
9967
  } },
9968
- React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItemMain) },
9969
- children && (React__namespace.createElement("div", { className: css(_default$O.dualListSelectorItemToggle), onClick: e => {
9968
+ React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItemMain) },
9969
+ children && (React__namespace.createElement("div", { className: css(_default$N.dualListSelectorItemToggle), onClick: e => {
9970
9970
  if (children) {
9971
9971
  setIsExpanded(!isExpanded);
9972
9972
  }
@@ -9977,9 +9977,9 @@
9977
9977
  e.preventDefault();
9978
9978
  }
9979
9979
  }, tabIndex: -1 },
9980
- React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItemToggleIcon) },
9980
+ React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItemToggleIcon) },
9981
9981
  React__namespace.createElement(AngleRightIcon$1, { "aria-hidden": true })))),
9982
- React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItemCheck) },
9982
+ React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItemCheck) },
9983
9983
  React__namespace.createElement("input", Object.assign({ type: "checkbox", onChange: (evt) => {
9984
9984
  onOptionCheck && onOptionCheck(evt, !isChecked, itemData);
9985
9985
  setFocusedOption(id);
@@ -9990,8 +9990,8 @@
9990
9990
  e.preventDefault();
9991
9991
  }
9992
9992
  }, ref: elem => elem && (elem.indeterminate = isChecked === null), checked: isChecked || false, tabIndex: -1 }, checkProps))),
9993
- React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItemText) }, text),
9994
- hasBadge && children && (React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItemCount) },
9993
+ React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItemText) }, text),
9994
+ hasBadge && children && (React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItemCount) },
9995
9995
  React__namespace.createElement(Badge, Object.assign({}, badgeProps), flattenTree(children.props.data).length)))))),
9996
9996
  isExpanded && children));
9997
9997
  };
@@ -10020,7 +10020,7 @@
10020
10020
  const tree = dataToRender.map(item => (React__namespace.createElement(DualListSelectorTreeItem, Object.assign({ key: item.id, text: item.text, id: item.id, defaultExpanded: item.defaultExpanded !== undefined ? item.defaultExpanded : defaultAllExpanded, onOptionCheck: onOptionCheck, isChecked: item.isChecked, checkProps: item.checkProps, hasBadge: item.hasBadge !== undefined ? item.hasBadge : hasBadges, badgeProps: item.badgeProps, itemData: item, isDisabled: isDisabled, useMemo: true }, (item.children && {
10021
10021
  children: (React__namespace.createElement(DualListSelectorTree, { isNested: true, data: item.children, hasBadges: hasBadges, defaultAllExpanded: defaultAllExpanded, onOptionCheck: onOptionCheck, isDisabled: isDisabled }))
10022
10022
  })))));
10023
- return isNested ? (React__namespace.createElement("ul", Object.assign({ className: css(_default$O.dualListSelectorList), role: "group" }, props), tree)) : (React__namespace.createElement(React__namespace.Fragment, null, tree));
10023
+ return isNested ? (React__namespace.createElement("ul", Object.assign({ className: css(_default$N.dualListSelectorList), role: "group" }, props), tree)) : (React__namespace.createElement(React__namespace.Fragment, null, tree));
10024
10024
  };
10025
10025
  DualListSelectorTree.displayName = 'DualListSelectorTree';
10026
10026
 
@@ -10028,7 +10028,7 @@
10028
10028
  var { onOptionSelect, orderIndex, children, className, id = getUniqueId('dual-list-selector-list-item'), isSelected, innerRef, isDraggable = false, draggableButtonAriaLabel = 'Reorder option', isDisabled } = _a, props = __rest$1(_a, ["onOptionSelect", "orderIndex", "children", "className", "id", "isSelected", "innerRef", "isDraggable", "draggableButtonAriaLabel", "isDisabled"]);
10029
10029
  const ref = innerRef || React__namespace.useRef(null);
10030
10030
  const { setFocusedOption } = React__namespace.useContext(DualListSelectorListContext);
10031
- return (React__namespace.createElement("li", Object.assign({ className: css(_default$O.dualListSelectorListItem, className, isDisabled && _default$O.modifiers.disabled), key: orderIndex, onClick: isDisabled
10031
+ return (React__namespace.createElement("li", Object.assign({ className: css(_default$N.dualListSelectorListItem, className, isDisabled && _default$N.modifiers.disabled), key: orderIndex, onClick: isDisabled
10032
10032
  ? undefined
10033
10033
  : (e) => {
10034
10034
  setFocusedOption(id);
@@ -10039,13 +10039,13 @@
10039
10039
  e.preventDefault();
10040
10040
  }
10041
10041
  }, "aria-selected": isSelected, id: id, ref: ref, role: "option", tabIndex: -1 }, props),
10042
- React__namespace.createElement("div", { className: css(_default$O.dualListSelectorListItemRow, isSelected && _default$O.modifiers.selected) },
10043
- isDraggable && !isDisabled && (React__namespace.createElement("div", { className: css(_default$O.dualListSelectorDraggable) },
10042
+ React__namespace.createElement("div", { className: css(_default$N.dualListSelectorListItemRow, isSelected && _default$N.modifiers.selected) },
10043
+ isDraggable && !isDisabled && (React__namespace.createElement("div", { className: css(_default$N.dualListSelectorDraggable) },
10044
10044
  React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": draggableButtonAriaLabel, component: "span" },
10045
10045
  React__namespace.createElement(GripVerticalIcon$1, { style: { verticalAlign: '-0.3em' } })))),
10046
- React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItem) },
10047
- React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItemMain) },
10048
- React__namespace.createElement("span", { className: css(_default$O.dualListSelectorItemText) }, children))))));
10046
+ React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItem) },
10047
+ React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItemMain) },
10048
+ React__namespace.createElement("span", { className: css(_default$N.dualListSelectorItemText) }, children))))));
10049
10049
  };
10050
10050
  DualListSelectorListItemBase.displayName = 'DualListSelectorListItemBase';
10051
10051
  const DualListSelectorListItem = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(DualListSelectorListItemBase, Object.assign({ innerRef: ref }, props))));
@@ -10059,7 +10059,7 @@
10059
10059
  setFocusedOption(id);
10060
10060
  onOptionSelect(e, index, id);
10061
10061
  };
10062
- return (React__namespace.createElement("ul", Object.assign({ className: css(_default$O.dualListSelectorList), role: isTree ? 'tree' : 'listbox', "aria-multiselectable": "true", "aria-labelledby": ariaLabelledBy, "aria-activedescendant": focusedOption, "aria-disabled": isDisabled ? 'true' : undefined }, props), options.length === 0
10062
+ return (React__namespace.createElement("ul", Object.assign({ className: css(_default$N.dualListSelectorList), role: isTree ? 'tree' : 'listbox', "aria-multiselectable": "true", "aria-labelledby": ariaLabelledBy, "aria-activedescendant": focusedOption, "aria-disabled": isDisabled ? 'true' : undefined }, props), options.length === 0
10063
10063
  ? children
10064
10064
  : options.map((option, index) => {
10065
10065
  if (displayOption(option)) {
@@ -10104,7 +10104,7 @@
10104
10104
  window.removeEventListener('keydown', handleKeys);
10105
10105
  };
10106
10106
  }, [menuRef.current]);
10107
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.dualListSelectorMenu, className), ref: menuRef, tabIndex: 0 }, props),
10107
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$N.dualListSelectorMenu, className), ref: menuRef, tabIndex: 0 }, props),
10108
10108
  React__namespace.createElement(DualListSelectorListContext.Provider, { value: {
10109
10109
  setFocusedOption,
10110
10110
  isTree,
@@ -10175,15 +10175,15 @@
10175
10175
  .includes(input.toLowerCase());
10176
10176
  }
10177
10177
  };
10178
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.dualListSelectorPane, isChosen ? _default$O.modifiers.chosen : 'pf-m-available', className) }, props),
10179
- title && (React__namespace.createElement("div", { className: css(_default$O.dualListSelectorHeader) },
10178
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$N.dualListSelectorPane, isChosen ? _default$N.modifiers.chosen : 'pf-m-available', className) }, props),
10179
+ title && (React__namespace.createElement("div", { className: css(_default$N.dualListSelectorHeader) },
10180
10180
  React__namespace.createElement("div", { className: "pf-c-dual-list-selector__title" },
10181
- React__namespace.createElement("div", { className: css(_default$O.dualListSelectorTitleText) }, title)))),
10182
- (actions || searchInput || isSearchable) && (React__namespace.createElement("div", { className: css(_default$O.dualListSelectorTools) },
10183
- (isSearchable || searchInput) && (React__namespace.createElement("div", { className: css(_default$O.dualListSelectorToolsFilter) }, searchInput ? (searchInput) : (React__namespace.createElement("input", { className: css(_default$1c.formControl, _default$1c.modifiers.search), type: "search", onChange: isDisabled ? undefined : onChange, "aria-label": searchInputAriaLabel, disabled: isDisabled })))),
10184
- actions && React__namespace.createElement("div", { className: css(_default$O.dualListSelectorToolsActions) }, actions))),
10185
- status && (React__namespace.createElement("div", { className: css(_default$O.dualListSelectorStatus) },
10186
- React__namespace.createElement("div", { className: css(_default$O.dualListSelectorStatusText), id: `${id}-status` }, status))),
10181
+ React__namespace.createElement("div", { className: css(_default$N.dualListSelectorTitleText) }, title)))),
10182
+ (actions || searchInput || isSearchable) && (React__namespace.createElement("div", { className: css(_default$N.dualListSelectorTools) },
10183
+ (isSearchable || searchInput) && (React__namespace.createElement("div", { className: css(_default$N.dualListSelectorToolsFilter) }, searchInput ? (searchInput) : (React__namespace.createElement("input", { className: css(_default$1b.formControl, _default$1b.modifiers.search), type: "search", onChange: isDisabled ? undefined : onChange, "aria-label": searchInputAriaLabel, disabled: isDisabled })))),
10184
+ actions && React__namespace.createElement("div", { className: css(_default$N.dualListSelectorToolsActions) }, actions))),
10185
+ status && (React__namespace.createElement("div", { className: css(_default$N.dualListSelectorStatus) },
10186
+ React__namespace.createElement("div", { className: css(_default$N.dualListSelectorStatusText), id: `${id}-status` }, status))),
10187
10187
  React__namespace.createElement(DualListSelectorPaneContext.Provider, { value: { isChosen } },
10188
10188
  !isTree && (React__namespace.createElement(DualListSelectorListWrapper, { "aria-labelledby": `${id}-status`, options: options, selectedOptions: selectedOptions, onOptionSelect: (e, index, id) => onOptionSelect(e, index, isChosen, id), displayOption: displayOption, id: `${id}-list`, isDisabled: isDisabled }, children)),
10189
10189
  isTree && (React__namespace.createElement(DualListSelectorListWrapper, { "aria-labelledby": `${id}-status`, id: `${id}-list` }, options.length > 0 ? (React__namespace.createElement(DualListSelectorList, null,
@@ -10217,7 +10217,7 @@
10217
10217
  window.removeEventListener('keydown', handleKeys);
10218
10218
  };
10219
10219
  }, [wrapperRef.current]);
10220
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$O.dualListSelectorControls, className), tabIndex: 0, ref: wrapperRef, "aria-label": ariaLabel }, props), children));
10220
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$N.dualListSelectorControls, className), tabIndex: 0, ref: wrapperRef, "aria-label": ariaLabel }, props), children));
10221
10221
  };
10222
10222
  DualListSelectorControlsWrapperBase.displayName = 'DualListSelectorControlsWrapperBase';
10223
10223
  const DualListSelectorControlsWrapper = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(DualListSelectorControlsWrapperBase, Object.assign({ innerRef: ref }, props))));
@@ -10616,7 +10616,7 @@
10616
10616
  ? chosenOptions.map(item => this.mapChecked(item, true))
10617
10617
  : chosenOptions;
10618
10618
  return (React__namespace.createElement(DualListSelectorContext.Provider, { value: { isTree } },
10619
- React__namespace.createElement("div", Object.assign({ className: css(_default$O.dualListSelector, className), id: id }, props), children === '' ? (React__namespace.createElement(React__namespace.Fragment, null,
10619
+ React__namespace.createElement("div", Object.assign({ className: css(_default$N.dualListSelector, className), id: id }, props), children === '' ? (React__namespace.createElement(React__namespace.Fragment, null,
10620
10620
  React__namespace.createElement(DualListSelectorPane, { isSearchable: isSearchable, onFilterUpdate: this.onFilterUpdate, searchInputAriaLabel: availableOptionsSearchAriaLabel, filterOption: filterOption, onSearchInputChanged: onAvailableOptionsSearchInputChanged, status: availableOptionsStatusToDisplay, title: availableOptionsTitle, options: available, selectedOptions: isTree ? availableTreeOptionsChecked : availableOptionsSelected, onOptionSelect: this.onOptionSelect, onOptionCheck: (e, isChecked, itemData) => this.onTreeOptionCheck(e, isChecked, itemData, false), actions: availableOptionsActions, id: `${id}-available-pane`, isDisabled: isDisabled }),
10621
10621
  React__namespace.createElement(DualListSelectorControlsWrapper, { "aria-label": controlsAriaLabel },
10622
10622
  React__namespace.createElement(DualListSelectorControl, { isDisabled: (isTree ? availableTreeOptionsChecked.length === 0 : availableOptionsSelected.length === 0) ||
@@ -10650,7 +10650,7 @@
10650
10650
  isDisabled: false
10651
10651
  };
10652
10652
 
10653
- var _default$N = {
10653
+ var _default$M = {
10654
10654
  "button": "pf-c-button",
10655
10655
  "emptyState": "pf-c-empty-state",
10656
10656
  "emptyStateBody": "pf-c-empty-state__body",
@@ -10680,20 +10680,20 @@
10680
10680
  })(exports.EmptyStateVariant || (exports.EmptyStateVariant = {}));
10681
10681
  const EmptyState = (_a) => {
10682
10682
  var { children, className = '', variant = exports.EmptyStateVariant.full, isFullHeight } = _a, props = __rest$1(_a, ["children", "className", "variant", "isFullHeight"]);
10683
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$N.emptyState, variant === 'xs' && _default$N.modifiers.xs, variant === 'small' && _default$N.modifiers.sm, variant === 'large' && _default$N.modifiers.lg, variant === 'xl' && _default$N.modifiers.xl, isFullHeight && _default$N.modifiers.fullHeight, className) }, props),
10684
- React__namespace.createElement("div", { className: css(_default$N.emptyStateContent) }, children)));
10683
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$M.emptyState, variant === 'xs' && _default$M.modifiers.xs, variant === 'small' && _default$M.modifiers.sm, variant === 'large' && _default$M.modifiers.lg, variant === 'xl' && _default$M.modifiers.xl, isFullHeight && _default$M.modifiers.fullHeight, className) }, props),
10684
+ React__namespace.createElement("div", { className: css(_default$M.emptyStateContent) }, children)));
10685
10685
  };
10686
10686
  EmptyState.displayName = 'EmptyState';
10687
10687
 
10688
10688
  const EmptyStateBody = (_a) => {
10689
10689
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
10690
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$N.emptyStateBody, className) }, props), children));
10690
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$M.emptyStateBody, className) }, props), children));
10691
10691
  };
10692
10692
  EmptyStateBody.displayName = 'EmptyStateBody';
10693
10693
 
10694
10694
  const EmptyStateIcon = (_a) => {
10695
10695
  var { className = '', icon: IconComponent, component: AnyComponent, variant = 'icon' } = _a, props = __rest$1(_a, ["className", "icon", "component", "variant"]);
10696
- const classNames = css(_default$N.emptyStateIcon, className);
10696
+ const classNames = css(_default$M.emptyStateIcon, className);
10697
10697
  return variant === 'icon' ? (React__namespace.createElement(IconComponent, Object.assign({ className: classNames }, props, { "aria-hidden": "true" }))) : (React__namespace.createElement("div", { className: classNames },
10698
10698
  React__namespace.createElement(AnyComponent, null)));
10699
10699
  };
@@ -10701,17 +10701,17 @@
10701
10701
 
10702
10702
  const EmptyStateSecondaryActions = (_a) => {
10703
10703
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
10704
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$N.emptyStateSecondary, className) }, props), children));
10704
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$M.emptyStateSecondary, className) }, props), children));
10705
10705
  };
10706
10706
  EmptyStateSecondaryActions.displayName = 'EmptyStateSecondaryActions';
10707
10707
 
10708
10708
  const EmptyStatePrimary = (_a) => {
10709
10709
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
10710
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$N.emptyStatePrimary, className) }, props), children));
10710
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$M.emptyStatePrimary, className) }, props), children));
10711
10711
  };
10712
10712
  EmptyStatePrimary.displayName = 'EmptyStatePrimary';
10713
10713
 
10714
- var _default$M = {
10714
+ var _default$L = {
10715
10715
  "expandableSection": "pf-c-expandable-section",
10716
10716
  "expandableSectionContent": "pf-c-expandable-section__content",
10717
10717
  "expandableSectionToggle": "pf-c-expandable-section__toggle",
@@ -10759,12 +10759,12 @@
10759
10759
  };
10760
10760
  }
10761
10761
  const computedToggleText = this.calculateToggleText(toggleText, toggleTextExpanded, toggleTextCollapsed, propOrStateIsExpanded);
10762
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$M.expandableSection, propOrStateIsExpanded && _default$M.modifiers.expanded, isActive && _default$M.modifiers.active, isDetached && _default$M.modifiers.detached, displaySize === 'large' && _default$M.modifiers.displayLg, isWidthLimited && _default$M.modifiers.limitWidth, isIndented && _default$M.modifiers.indented, className) }),
10763
- !isDetached && (React__namespace.createElement("button", { className: css(_default$M.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, onClick: () => onToggle(!propOrStateIsExpanded) },
10764
- React__namespace.createElement("span", { className: css(_default$M.expandableSectionToggleIcon) },
10762
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$L.expandableSection, propOrStateIsExpanded && _default$L.modifiers.expanded, isActive && _default$L.modifiers.active, isDetached && _default$L.modifiers.detached, displaySize === 'large' && _default$L.modifiers.displayLg, isWidthLimited && _default$L.modifiers.limitWidth, isIndented && _default$L.modifiers.indented, className) }),
10763
+ !isDetached && (React__namespace.createElement("button", { className: css(_default$L.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, onClick: () => onToggle(!propOrStateIsExpanded) },
10764
+ React__namespace.createElement("span", { className: css(_default$L.expandableSectionToggleIcon) },
10765
10765
  React__namespace.createElement(AngleRightIcon$1, { "aria-hidden": true })),
10766
- React__namespace.createElement("span", { className: css(_default$M.expandableSectionToggleText) }, computedToggleText))),
10767
- React__namespace.createElement("div", { className: css(_default$M.expandableSectionContent), hidden: !propOrStateIsExpanded, id: contentId }, children)));
10766
+ React__namespace.createElement("span", { className: css(_default$L.expandableSectionToggleText) }, computedToggleText))),
10767
+ React__namespace.createElement("div", { className: css(_default$L.expandableSectionContent), hidden: !propOrStateIsExpanded, id: contentId }, children)));
10768
10768
  }
10769
10769
  }
10770
10770
  ExpandableSection.displayName = 'ExpandableSection';
@@ -10785,15 +10785,15 @@
10785
10785
 
10786
10786
  const ExpandableSectionToggle = (_a) => {
10787
10787
  var { children, className = '', isExpanded = false, onToggle, contentId, direction = 'down' } = _a, props = __rest$1(_a, ["children", "className", "isExpanded", "onToggle", "contentId", "direction"]);
10788
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$M.expandableSection, isExpanded && _default$M.modifiers.expanded, _default$M.modifiers.detached, className) }),
10789
- React__namespace.createElement("button", { className: css(_default$M.expandableSectionToggle), type: "button", "aria-expanded": isExpanded, "aria-controls": contentId, onClick: () => onToggle(!isExpanded) },
10790
- React__namespace.createElement("span", { className: css(_default$M.expandableSectionToggleIcon, isExpanded && direction === 'up' && _default$M.modifiers.expandTop) },
10788
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$L.expandableSection, isExpanded && _default$L.modifiers.expanded, _default$L.modifiers.detached, className) }),
10789
+ React__namespace.createElement("button", { className: css(_default$L.expandableSectionToggle), type: "button", "aria-expanded": isExpanded, "aria-controls": contentId, onClick: () => onToggle(!isExpanded) },
10790
+ React__namespace.createElement("span", { className: css(_default$L.expandableSectionToggleIcon, isExpanded && direction === 'up' && _default$L.modifiers.expandTop) },
10791
10791
  React__namespace.createElement(AngleRightIcon$1, { "aria-hidden": true })),
10792
- React__namespace.createElement("span", { className: css(_default$M.expandableSectionToggleText) }, children))));
10792
+ React__namespace.createElement("span", { className: css(_default$L.expandableSectionToggleText) }, children))));
10793
10793
  };
10794
10794
  ExpandableSectionToggle.displayName = 'ExpandableSectionToggle';
10795
10795
 
10796
- var _default$L = {
10796
+ var _default$K = {
10797
10797
  "button": "pf-c-button",
10798
10798
  "fileUpload": "pf-c-file-upload",
10799
10799
  "fileUploadFileDetails": "pf-c-file-upload__file-details",
@@ -10842,16 +10842,16 @@
10842
10842
  onChange(newValue, filename, event);
10843
10843
  onTextChange === null || onTextChange === void 0 ? void 0 : onTextChange(newValue);
10844
10844
  };
10845
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$L.fileUpload, isDragActive && _default$L.modifiers.dragHover, isLoading && _default$L.modifiers.loading, className), ref: containerRef }, props),
10846
- React__namespace.createElement("div", { className: _default$L.fileUploadFileSelect },
10845
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$K.fileUpload, isDragActive && _default$K.modifiers.dragHover, isLoading && _default$K.modifiers.loading, className), ref: containerRef }, props),
10846
+ React__namespace.createElement("div", { className: _default$K.fileUploadFileSelect },
10847
10847
  React__namespace.createElement(InputGroup, null,
10848
10848
  React__namespace.createElement(TextInput, { isReadOnly // Always read-only regardless of isReadOnly prop (which is just for the TextArea)
10849
10849
  : true, isDisabled: isDisabled, id: `${id}-filename`, name: `${id}-filename`, "aria-label": filenameAriaLabel, placeholder: filenamePlaceholder, "aria-describedby": `${id}-browse-button`, value: filename }),
10850
10850
  React__namespace.createElement(Button, { id: `${id}-browse-button`, variant: exports.ButtonVariant.control, onClick: onBrowseButtonClick, isDisabled: isDisabled }, browseButtonText),
10851
10851
  React__namespace.createElement(Button, { variant: exports.ButtonVariant.control, isDisabled: isDisabled || isClearButtonDisabled, onClick: onClearButtonClick }, clearButtonText))),
10852
- React__namespace.createElement("div", { className: _default$L.fileUploadFileDetails },
10852
+ React__namespace.createElement("div", { className: _default$K.fileUploadFileDetails },
10853
10853
  !hideDefaultPreview && type === fileReaderType.text && (React__namespace.createElement(TextArea, { readOnly: isReadOnly || (!!filename && !allowEditingUploadedText), disabled: isDisabled, isRequired: isRequired, resizeOrientation: exports.TextAreResizeOrientation.vertical, validated: validated, id: id, name: id, "aria-label": ariaLabel, value: value, onChange: onTextAreaChange, onClick: onTextAreaClick })),
10854
- isLoading && (React__namespace.createElement("div", { className: _default$L.fileUploadFileDetailsSpinner },
10854
+ isLoading && (React__namespace.createElement("div", { className: _default$K.fileUploadFileDetailsSpinner },
10855
10855
  React__namespace.createElement(Spinner, { size: exports.spinnerSize.lg, "aria-valuetext": spinnerAriaValueText })))),
10856
10856
  children));
10857
10857
  };
@@ -12940,16 +12940,16 @@
12940
12940
 
12941
12941
  const ActionGroup = (_a) => {
12942
12942
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
12943
- const customClassName = css(_default$12.formGroup, _default$12.modifiers.action, className);
12944
- const formActionsComponent = React__namespace.createElement("div", { className: css(_default$12.formActions) }, children);
12943
+ const customClassName = css(_default$11.formGroup, _default$11.modifiers.action, className);
12944
+ const formActionsComponent = React__namespace.createElement("div", { className: css(_default$11.formActions) }, children);
12945
12945
  return (React__namespace.createElement("div", Object.assign({}, props, { className: customClassName }),
12946
- React__namespace.createElement("div", { className: css(_default$12.formGroupControl) }, formActionsComponent)));
12946
+ React__namespace.createElement("div", { className: css(_default$11.formGroupControl) }, formActionsComponent)));
12947
12947
  };
12948
12948
  ActionGroup.displayName = 'ActionGroup';
12949
12949
 
12950
12950
  const Form = (_a) => {
12951
12951
  var { children = null, className = '', isHorizontal = false, isWidthLimited = false } = _a, props = __rest$1(_a, ["children", "className", "isHorizontal", "isWidthLimited"]);
12952
- return (React__namespace.createElement("form", Object.assign({ noValidate: true }, props, { className: css(_default$12.form, isHorizontal && _default$12.modifiers.horizontal, isWidthLimited && _default$12.modifiers.limitWidth, className) }), children));
12952
+ return (React__namespace.createElement("form", Object.assign({ noValidate: true }, props, { className: css(_default$11.form, isHorizontal && _default$11.modifiers.horizontal, isWidthLimited && _default$11.modifiers.limitWidth, className) }), children));
12953
12953
  };
12954
12954
  Form.displayName = 'Form';
12955
12955
 
@@ -12964,10 +12964,10 @@
12964
12964
 
12965
12965
  const FormFieldGroupToggle = (_a) => {
12966
12966
  var { className, onToggle, isExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, toggleId } = _a, props = __rest$1(_a, ["className", "onToggle", "isExpanded", 'aria-label', 'aria-labelledby', "toggleId"]);
12967
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$12.formFieldGroupToggle, className) }, props),
12968
- React__namespace.createElement("div", { className: css(_default$12.formFieldGroupToggleButton) },
12967
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$11.formFieldGroupToggle, className) }, props),
12968
+ React__namespace.createElement("div", { className: css(_default$11.formFieldGroupToggleButton) },
12969
12969
  React__namespace.createElement(Button, { variant: "plain", "aria-label": ariaLabel, onClick: onToggle, "aria-expanded": isExpanded, "aria-labelledby": ariaLabelledby, id: toggleId },
12970
- React__namespace.createElement("span", { className: css(_default$12.formFieldGroupToggleIcon) },
12970
+ React__namespace.createElement("span", { className: css(_default$11.formFieldGroupToggleIcon) },
12971
12971
  React__namespace.createElement(AngleRightIcon$1, { "aria-hidden": "true" }))))));
12972
12972
  };
12973
12973
  FormFieldGroupToggle.displayName = 'FormFieldGroupToggle';
@@ -12979,10 +12979,10 @@
12979
12979
  // eslint-disable-next-line no-console
12980
12980
  console.error('FormFieldGroupExpandable:', 'toggleAriaLabel or the titleText prop of FormFieldGroupHeader is required to make the toggle button accessible');
12981
12981
  }
12982
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$12.formFieldGroup, isExpanded && isExpandable && _default$12.modifiers.expanded, className) }, props),
12982
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$11.formFieldGroup, isExpanded && isExpandable && _default$11.modifiers.expanded, className) }, props),
12983
12983
  isExpandable && (React__namespace.createElement(GenerateId, { prefix: "form-field-group-toggle" }, id => (React__namespace.createElement(FormFieldGroupToggle, Object.assign({ onToggle: onToggle, isExpanded: isExpanded, "aria-label": toggleAriaLabel, toggleId: id }, (headerTitleText && { 'aria-labelledby': `${header.props.titleText.id} ${id}` })))))),
12984
12984
  header && header,
12985
- (!isExpandable || (isExpandable && isExpanded)) && (React__namespace.createElement("div", { className: css(_default$12.formFieldGroupBody) }, children))));
12985
+ (!isExpandable || (isExpandable && isExpanded)) && (React__namespace.createElement("div", { className: css(_default$11.formFieldGroupBody) }, children))));
12986
12986
  };
12987
12987
  InternalFormFieldGroup.displayName = 'InternalFormFieldGroup';
12988
12988
 
@@ -13001,40 +13001,40 @@
13001
13001
 
13002
13002
  const FormFieldGroupHeader = (_a) => {
13003
13003
  var { className, titleText, titleDescription, actions } = _a, props = __rest$1(_a, ["className", "titleText", "titleDescription", "actions"]);
13004
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$12.formFieldGroupHeader, className) }, props),
13005
- React__namespace.createElement("div", { className: css(_default$12.formFieldGroupHeaderMain) },
13006
- titleText && (React__namespace.createElement("div", { className: css(_default$12.formFieldGroupHeaderTitle) },
13007
- React__namespace.createElement("div", { className: css(_default$12.formFieldGroupHeaderTitleText), id: titleText.id }, titleText.text))),
13008
- titleDescription && React__namespace.createElement("div", { className: css(_default$12.formFieldGroupHeaderDescription) }, titleDescription)),
13009
- React__namespace.createElement("div", { className: css(_default$12.formFieldGroupHeaderActions) }, actions && actions)));
13004
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$11.formFieldGroupHeader, className) }, props),
13005
+ React__namespace.createElement("div", { className: css(_default$11.formFieldGroupHeaderMain) },
13006
+ titleText && (React__namespace.createElement("div", { className: css(_default$11.formFieldGroupHeaderTitle) },
13007
+ React__namespace.createElement("div", { className: css(_default$11.formFieldGroupHeaderTitleText), id: titleText.id }, titleText.text))),
13008
+ titleDescription && React__namespace.createElement("div", { className: css(_default$11.formFieldGroupHeaderDescription) }, titleDescription)),
13009
+ React__namespace.createElement("div", { className: css(_default$11.formFieldGroupHeaderActions) }, actions && actions)));
13010
13010
  };
13011
13011
  FormFieldGroupHeader.displayName = 'FormFieldGroupHeader';
13012
13012
 
13013
13013
  const FormGroup = (_a) => {
13014
13014
  var { children = null, className = '', label, labelInfo, labelIcon, isRequired = false, validated = 'default', isInline = false, hasNoPaddingTop = false, isStack = false, helperText, isHelperTextBeforeField = false, helperTextInvalid, helperTextIcon, helperTextInvalidIcon, fieldId } = _a, props = __rest$1(_a, ["children", "className", "label", "labelInfo", "labelIcon", "isRequired", "validated", "isInline", "hasNoPaddingTop", "isStack", "helperText", "isHelperTextBeforeField", "helperTextInvalid", "helperTextIcon", "helperTextInvalidIcon", "fieldId"]);
13015
- const validHelperText = typeof helperText !== 'string' ? (helperText) : (React__namespace.createElement("div", { className: css(_default$12.formHelperText, validated === exports.ValidatedOptions.success && _default$12.modifiers.success, validated === exports.ValidatedOptions.warning && _default$12.modifiers.warning), id: `${fieldId}-helper`, "aria-live": "polite" },
13016
- helperTextIcon && React__namespace.createElement("span", { className: css(_default$12.formHelperTextIcon) }, helperTextIcon),
13015
+ const validHelperText = typeof helperText !== 'string' ? (helperText) : (React__namespace.createElement("div", { className: css(_default$11.formHelperText, validated === exports.ValidatedOptions.success && _default$11.modifiers.success, validated === exports.ValidatedOptions.warning && _default$11.modifiers.warning), id: `${fieldId}-helper`, "aria-live": "polite" },
13016
+ helperTextIcon && React__namespace.createElement("span", { className: css(_default$11.formHelperTextIcon) }, helperTextIcon),
13017
13017
  helperText));
13018
- const inValidHelperText = typeof helperTextInvalid !== 'string' ? (helperTextInvalid) : (React__namespace.createElement("div", { className: css(_default$12.formHelperText, _default$12.modifiers.error), id: `${fieldId}-helper`, "aria-live": "polite" },
13019
- helperTextInvalidIcon && React__namespace.createElement("span", { className: css(_default$12.formHelperTextIcon) }, helperTextInvalidIcon),
13018
+ const inValidHelperText = typeof helperTextInvalid !== 'string' ? (helperTextInvalid) : (React__namespace.createElement("div", { className: css(_default$11.formHelperText, _default$11.modifiers.error), id: `${fieldId}-helper`, "aria-live": "polite" },
13019
+ helperTextInvalidIcon && React__namespace.createElement("span", { className: css(_default$11.formHelperTextIcon) }, helperTextInvalidIcon),
13020
13020
  helperTextInvalid));
13021
13021
  const showValidHelperTxt = (validationType) => validationType !== exports.ValidatedOptions.error && helperText ? validHelperText : '';
13022
13022
  const helperTextToDisplay = validated === exports.ValidatedOptions.error && helperTextInvalid ? inValidHelperText : showValidHelperTxt(validated);
13023
13023
  const labelContent = (React__namespace.createElement(React__namespace.Fragment, null,
13024
- React__namespace.createElement("label", { className: css(_default$12.formLabel), htmlFor: fieldId },
13025
- React__namespace.createElement("span", { className: css(_default$12.formLabelText) }, label),
13026
- isRequired && (React__namespace.createElement("span", { className: css(_default$12.formLabelRequired), "aria-hidden": "true" },
13024
+ React__namespace.createElement("label", { className: css(_default$11.formLabel), htmlFor: fieldId },
13025
+ React__namespace.createElement("span", { className: css(_default$11.formLabelText) }, label),
13026
+ isRequired && (React__namespace.createElement("span", { className: css(_default$11.formLabelRequired), "aria-hidden": "true" },
13027
13027
  ' ',
13028
13028
  ASTERISK))),
13029
13029
  ' ',
13030
13030
  React__namespace.isValidElement(labelIcon) && labelIcon));
13031
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$12.formGroup, className) }),
13032
- label && (React__namespace.createElement("div", { className: css(_default$12.formGroupLabel, labelInfo && _default$12.modifiers.info, hasNoPaddingTop && _default$12.modifiers.noPaddingTop) },
13031
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$11.formGroup, className) }),
13032
+ label && (React__namespace.createElement("div", { className: css(_default$11.formGroupLabel, labelInfo && _default$11.modifiers.info, hasNoPaddingTop && _default$11.modifiers.noPaddingTop) },
13033
13033
  labelInfo && (React__namespace.createElement(React__namespace.Fragment, null,
13034
- React__namespace.createElement("div", { className: css(_default$12.formGroupLabelMain) }, labelContent),
13035
- React__namespace.createElement("div", { className: css(_default$12.formGroupLabelInfo) }, labelInfo))),
13034
+ React__namespace.createElement("div", { className: css(_default$11.formGroupLabelMain) }, labelContent),
13035
+ React__namespace.createElement("div", { className: css(_default$11.formGroupLabelInfo) }, labelInfo))),
13036
13036
  !labelInfo && labelContent)),
13037
- React__namespace.createElement("div", { className: css(_default$12.formGroupControl, isInline && _default$12.modifiers.inline, isStack && _default$12.modifiers.stack) },
13037
+ React__namespace.createElement("div", { className: css(_default$11.formGroupControl, isInline && _default$11.modifiers.inline, isStack && _default$11.modifiers.stack) },
13038
13038
  isHelperTextBeforeField && helperTextToDisplay,
13039
13039
  children,
13040
13040
  !isHelperTextBeforeField && helperTextToDisplay)));
@@ -13044,21 +13044,21 @@
13044
13044
  const FormHelperText = (_a) => {
13045
13045
  var { children = null, isError = false, isHidden = true, className = '', icon = null, component = 'p' } = _a, props = __rest$1(_a, ["children", "isError", "isHidden", "className", "icon", "component"]);
13046
13046
  const Component = component;
13047
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$12.formHelperText, isError && _default$12.modifiers.error, isHidden && _default$12.modifiers.hidden, className) }, props),
13048
- icon && React__namespace.createElement("span", { className: css(_default$12.formHelperTextIcon) }, icon),
13047
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$11.formHelperText, isError && _default$11.modifiers.error, isHidden && _default$11.modifiers.hidden, className) }, props),
13048
+ icon && React__namespace.createElement("span", { className: css(_default$11.formHelperTextIcon) }, icon),
13049
13049
  children));
13050
13050
  };
13051
13051
  FormHelperText.displayName = 'FormHelperText';
13052
13052
 
13053
13053
  const FormSection = (_a) => {
13054
13054
  var { className = '', children, title = '', titleElement: TitleElement = 'div' } = _a, props = __rest$1(_a, ["className", "children", "title", "titleElement"]);
13055
- return (React__namespace.createElement("section", Object.assign({}, props, { className: css(_default$12.formSection, className) }),
13056
- title && React__namespace.createElement(TitleElement, { className: css(_default$12.formSectionTitle, className) }, title),
13055
+ return (React__namespace.createElement("section", Object.assign({}, props, { className: css(_default$11.formSection, className) }),
13056
+ title && React__namespace.createElement(TitleElement, { className: css(_default$11.formSectionTitle, className) }, title),
13057
13057
  children));
13058
13058
  };
13059
13059
  FormSection.displayName = 'FormSection';
13060
13060
 
13061
- var _default$K = {
13061
+ var _default$J = {
13062
13062
  "helperText": "pf-c-helper-text",
13063
13063
  "helperTextItem": "pf-c-helper-text__item",
13064
13064
  "helperTextItemIcon": "pf-c-helper-text__item-icon",
@@ -13075,7 +13075,7 @@
13075
13075
  const HelperText = (_a) => {
13076
13076
  var { children, className, component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
13077
13077
  const Component = component;
13078
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$K.helperText, className) }, props), children));
13078
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$J.helperText, className) }, props), children));
13079
13079
  };
13080
13080
  HelperText.displayName = 'HelperText';
13081
13081
 
@@ -13094,26 +13094,26 @@
13094
13094
 
13095
13095
  const variantStyle$4 = {
13096
13096
  default: '',
13097
- indeterminate: _default$K.modifiers.indeterminate,
13098
- warning: _default$K.modifiers.warning,
13099
- success: _default$K.modifiers.success,
13100
- error: _default$K.modifiers.error
13097
+ indeterminate: _default$J.modifiers.indeterminate,
13098
+ warning: _default$J.modifiers.warning,
13099
+ success: _default$J.modifiers.success,
13100
+ error: _default$J.modifiers.error
13101
13101
  };
13102
13102
  const HelperTextItem = (_a) => {
13103
13103
  var { children, className, component = 'div', variant = 'default', icon, isDynamic = false, hasIcon = isDynamic } = _a, props = __rest$1(_a, ["children", "className", "component", "variant", "icon", "isDynamic", "hasIcon"]);
13104
13104
  const Component = component;
13105
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$K.helperTextItem, variantStyle$4[variant], isDynamic && _default$K.modifiers.dynamic, className) }, props),
13106
- icon && (React__namespace.createElement("span", { className: css(_default$K.helperTextItemIcon), "aria-hidden": true }, icon)),
13107
- hasIcon && !icon && (React__namespace.createElement("span", { className: css(_default$K.helperTextItemIcon), "aria-hidden": true },
13105
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$J.helperTextItem, variantStyle$4[variant], isDynamic && _default$J.modifiers.dynamic, className) }, props),
13106
+ icon && (React__namespace.createElement("span", { className: css(_default$J.helperTextItemIcon), "aria-hidden": true }, icon)),
13107
+ hasIcon && !icon && (React__namespace.createElement("span", { className: css(_default$J.helperTextItemIcon), "aria-hidden": true },
13108
13108
  (variant === 'default' || variant === 'indeterminate') && React__namespace.createElement(MinusIcon$1, null),
13109
13109
  variant === 'warning' && React__namespace.createElement(ExclamationTriangleIcon$1, null),
13110
13110
  variant === 'success' && React__namespace.createElement(CheckCircleIcon$1, null),
13111
13111
  variant === 'error' && React__namespace.createElement(ExclamationCircleIcon$1, null))),
13112
- React__namespace.createElement("span", { className: css(_default$K.helperTextItemText) }, children)));
13112
+ React__namespace.createElement("span", { className: css(_default$J.helperTextItemText) }, children)));
13113
13113
  };
13114
13114
  HelperTextItem.displayName = 'HelperTextItem';
13115
13115
 
13116
- var _default$J = {
13116
+ var _default$I = {
13117
13117
  "button": "pf-c-button",
13118
13118
  "dropdown": "pf-c-dropdown",
13119
13119
  "dropdownToggle": "pf-c-dropdown__toggle",
@@ -13131,31 +13131,31 @@
13131
13131
 
13132
13132
  const Hint = (_a) => {
13133
13133
  var { children, className, actions } = _a, props = __rest$1(_a, ["children", "className", "actions"]);
13134
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$J.hint, className) }, props),
13135
- React__namespace.createElement("div", { className: css(_default$J.hintActions) }, actions),
13134
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$I.hint, className) }, props),
13135
+ React__namespace.createElement("div", { className: css(_default$I.hintActions) }, actions),
13136
13136
  children));
13137
13137
  };
13138
13138
  Hint.displayName = 'Hint';
13139
13139
 
13140
13140
  const HintBody = (_a) => {
13141
13141
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
13142
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$J.hintBody, className) }, props), children));
13142
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$I.hintBody, className) }, props), children));
13143
13143
  };
13144
13144
  HintBody.displayName = 'HintBody';
13145
13145
 
13146
13146
  const HintFooter = (_a) => {
13147
13147
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
13148
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$J.hintFooter, className) }, props), children));
13148
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$I.hintFooter, className) }, props), children));
13149
13149
  };
13150
13150
  HintFooter.displayName = 'HintFooter';
13151
13151
 
13152
13152
  const HintTitle = (_a) => {
13153
13153
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
13154
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$J.hintTitle, className) }, props), children));
13154
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$I.hintTitle, className) }, props), children));
13155
13155
  };
13156
13156
  HintTitle.displayName = 'HintTitle';
13157
13157
 
13158
- var _default$I = {
13158
+ var _default$H = {
13159
13159
  "button": "pf-c-button",
13160
13160
  "jumpLinks": "pf-c-jump-links",
13161
13161
  "jumpLinksItem": "pf-c-jump-links__item",
@@ -13187,7 +13187,7 @@
13187
13187
  }
13188
13188
  };
13189
13189
 
13190
- var _default$H = {
13190
+ var _default$G = {
13191
13191
  "modifiers": {
13192
13192
  "gutter": "pf-m-gutter",
13193
13193
  "panelRight": "pf-m-panel-right",
@@ -13247,7 +13247,7 @@
13247
13247
 
13248
13248
  const JumpLinksList = (_a) => {
13249
13249
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
13250
- return (React__namespace.createElement("ul", Object.assign({ className: css(_default$I.jumpLinksList, className) }, props), children));
13250
+ return (React__namespace.createElement("ul", Object.assign({ className: css(_default$H.jumpLinksList, className) }, props), children));
13251
13251
  };
13252
13252
  JumpLinksList.displayName = 'JumpLinksList';
13253
13253
 
@@ -13258,9 +13258,9 @@
13258
13258
  const childrenArr = React__namespace.Children.toArray(children);
13259
13259
  const sublists = childrenArr.filter(child => child.type === JumpLinksList);
13260
13260
  children = childrenArr.filter(child => child.type !== JumpLinksList);
13261
- return (React__namespace.createElement("li", Object.assign({ className: css(_default$I.jumpLinksItem, isActive && _default$I.modifiers.current, className) }, props),
13262
- React__namespace.createElement("a", { className: _default$I.jumpLinksLink, href: href, onClick: onClick },
13263
- React__namespace.createElement("span", { className: _default$I.jumpLinksLinkText }, children)),
13261
+ return (React__namespace.createElement("li", Object.assign({ className: css(_default$H.jumpLinksItem, isActive && _default$H.modifiers.current, className) }, props),
13262
+ React__namespace.createElement("a", { className: _default$H.jumpLinksLink, href: href, onClick: onClick },
13263
+ React__namespace.createElement("span", { className: _default$H.jumpLinksLinkText }, children)),
13264
13264
  sublists));
13265
13265
  };
13266
13266
  JumpLinksItem.displayName = 'JumpLinksItem';
@@ -13382,10 +13382,10 @@
13382
13382
  if (isResponsive(navRef.current)) {
13383
13383
  // Remove class immediately so we can get collapsed height
13384
13384
  if (navRef.current) {
13385
- navRef.current.classList.remove(_default$I.modifiers.expanded);
13385
+ navRef.current.classList.remove(_default$H.modifiers.expanded);
13386
13386
  }
13387
13387
  let stickyParent = navRef.current && navRef.current.parentElement;
13388
- while (stickyParent && !stickyParent.classList.contains(_default$H.modifiers.sticky)) {
13388
+ while (stickyParent && !stickyParent.classList.contains(_default$G.modifiers.sticky)) {
13389
13389
  stickyParent = stickyParent.parentElement;
13390
13390
  }
13391
13391
  setIsExpanded(false);
@@ -13415,23 +13415,23 @@
13415
13415
  }
13416
13416
  return child;
13417
13417
  });
13418
- return (React__namespace.createElement("nav", Object.assign({ className: css(_default$I.jumpLinks, isCentered && _default$I.modifiers.center, isVertical && _default$I.modifiers.vertical, formatBreakpointMods(expandable, _default$I), isExpanded && _default$I.modifiers.expanded, className), "aria-label": ariaLabel, ref: navRef }, props),
13419
- React__namespace.createElement("div", { className: _default$I.jumpLinksMain },
13418
+ return (React__namespace.createElement("nav", Object.assign({ className: css(_default$H.jumpLinks, isCentered && _default$H.modifiers.center, isVertical && _default$H.modifiers.vertical, formatBreakpointMods(expandable, _default$H), isExpanded && _default$H.modifiers.expanded, className), "aria-label": ariaLabel, ref: navRef }, props),
13419
+ React__namespace.createElement("div", { className: _default$H.jumpLinksMain },
13420
13420
  React__namespace.createElement("div", { className: css('pf-c-jump-links__header') },
13421
- expandable && (React__namespace.createElement("div", { className: _default$I.jumpLinksToggle },
13421
+ expandable && (React__namespace.createElement("div", { className: _default$H.jumpLinksToggle },
13422
13422
  React__namespace.createElement(Button, { variant: "plain", onClick: () => setIsExpanded(!isExpanded), "aria-label": toggleAriaLabel, "aria-expanded": isExpanded },
13423
- React__namespace.createElement("span", { className: _default$I.jumpLinksToggleIcon },
13423
+ React__namespace.createElement("span", { className: _default$H.jumpLinksToggleIcon },
13424
13424
  React__namespace.createElement(AngleRightIcon$1, null)),
13425
- label && React__namespace.createElement("span", { className: css(_default$I.jumpLinksToggleText) },
13425
+ label && React__namespace.createElement("span", { className: css(_default$H.jumpLinksToggleText) },
13426
13426
  " ",
13427
13427
  label,
13428
13428
  " ")))),
13429
- label && alwaysShowLabel && React__namespace.createElement("div", { className: css(_default$I.jumpLinksLabel) }, label)),
13430
- React__namespace.createElement("ul", { className: _default$I.jumpLinksList }, cloneChildren(children)))));
13429
+ label && alwaysShowLabel && React__namespace.createElement("div", { className: css(_default$H.jumpLinksLabel) }, label)),
13430
+ React__namespace.createElement("ul", { className: _default$H.jumpLinksList }, cloneChildren(children)))));
13431
13431
  };
13432
13432
  JumpLinks.displayName = 'JumpLinks';
13433
13433
 
13434
- var _default$G = {
13434
+ var _default$F = {
13435
13435
  "button": "pf-c-button",
13436
13436
  "label": "pf-c-label",
13437
13437
  "labelContent": "pf-c-label__content",
@@ -13453,7 +13453,7 @@
13453
13453
  }
13454
13454
  };
13455
13455
 
13456
- var _default$F = {
13456
+ var _default$E = {
13457
13457
  "button": "pf-c-button",
13458
13458
  "labelGroup": "pf-c-label-group",
13459
13459
  "labelGroupClose": "pf-c-label-group__close",
@@ -13470,42 +13470,21 @@
13470
13470
  }
13471
13471
  };
13472
13472
 
13473
- var _default$E = {
13474
- "button": "pf-c-button",
13475
- "inlineEdit": "pf-c-inline-edit",
13476
- "inlineEditAction": "pf-c-inline-edit__action",
13477
- "inlineEditEditableText": "pf-c-inline-edit__editable-text",
13478
- "inlineEditGroup": "pf-c-inline-edit__group",
13479
- "inlineEditInput": "pf-c-inline-edit__input",
13480
- "inlineEditLabel": "pf-c-inline-edit__label",
13481
- "inlineEditValue": "pf-c-inline-edit__value",
13482
- "modifiers": {
13483
- "iconGroup": "pf-m-icon-group",
13484
- "footer": "pf-m-footer",
13485
- "column": "pf-m-column",
13486
- "valid": "pf-m-valid",
13487
- "plain": "pf-m-plain",
13488
- "actionGroup": "pf-m-action-group",
13489
- "enableEditable": "pf-m-enable-editable",
13490
- "inlineEditable": "pf-m-inline-editable",
13491
- "enable": "pf-m-enable",
13492
- "bold": "pf-m-bold"
13493
- }
13494
- };
13495
-
13496
13473
  const colorStyles = {
13497
- blue: _default$G.modifiers.blue,
13498
- cyan: _default$G.modifiers.cyan,
13499
- green: _default$G.modifiers.green,
13500
- orange: _default$G.modifiers.orange,
13501
- purple: _default$G.modifiers.purple,
13502
- red: _default$G.modifiers.red,
13474
+ blue: _default$F.modifiers.blue,
13475
+ cyan: _default$F.modifiers.cyan,
13476
+ green: _default$F.modifiers.green,
13477
+ orange: _default$F.modifiers.orange,
13478
+ purple: _default$F.modifiers.purple,
13479
+ red: _default$F.modifiers.red,
13503
13480
  grey: ''
13504
13481
  };
13505
13482
  const Label = (_a) => {
13506
13483
  var { children, className = '', color = 'grey', variant = 'filled', isCompact = false, isEditable = false, editableProps, isTruncated = false, tooltipPosition, icon, onClose, onEditCancel, onEditComplete, closeBtn, closeBtnAriaLabel, closeBtnProps, href, isOverflowLabel, render } = _a, props = __rest$1(_a, ["children", "className", "color", "variant", "isCompact", "isEditable", "editableProps", "isTruncated", "tooltipPosition", "icon", "onClose", "onEditCancel", "onEditComplete", "closeBtn", "closeBtnAriaLabel", "closeBtnProps", "href", "isOverflowLabel", "render"]);
13507
13484
  const [isEditableActive, setIsEditableActive] = React.useState(false);
13508
- const editableDivRef = React__namespace.createRef();
13485
+ const [currValue, setCurrValue] = React.useState(children);
13486
+ const editableButtonRef = React__namespace.useRef();
13487
+ const editableInputRef = React__namespace.useRef();
13509
13488
  React__namespace.useEffect(() => {
13510
13489
  document.addEventListener('click', onDocClick);
13511
13490
  document.addEventListener('keydown', onKeyDown);
@@ -13516,30 +13495,41 @@
13516
13495
  });
13517
13496
  const onDocClick = (event) => {
13518
13497
  if (isEditableActive &&
13519
- editableDivRef &&
13520
- editableDivRef.current &&
13521
- !editableDivRef.current.contains(event.target)) {
13522
- onEditComplete && onEditComplete(editableDivRef.current.textContent);
13498
+ editableInputRef &&
13499
+ editableInputRef.current &&
13500
+ !editableInputRef.current.contains(event.target)) {
13501
+ if (editableInputRef.current.value) {
13502
+ onEditComplete && onEditComplete(editableInputRef.current.value);
13503
+ }
13523
13504
  setIsEditableActive(false);
13524
13505
  }
13525
13506
  };
13526
13507
  const onKeyDown = (event) => {
13527
13508
  const key = event.key;
13528
- if (!editableDivRef || !editableDivRef.current || !editableDivRef.current.contains(event.target)) {
13509
+ if ((!isEditableActive &&
13510
+ (!editableButtonRef ||
13511
+ !editableButtonRef.current ||
13512
+ !editableButtonRef.current.contains(event.target))) ||
13513
+ (isEditableActive &&
13514
+ (!editableInputRef || !editableInputRef.current || !editableInputRef.current.contains(event.target)))) {
13529
13515
  return;
13530
13516
  }
13531
13517
  if (isEditableActive && (key === 'Enter' || key === 'Tab')) {
13532
13518
  event.preventDefault();
13533
13519
  event.stopImmediatePropagation();
13534
- onEditComplete && onEditComplete(editableDivRef.current.textContent);
13520
+ if (editableInputRef.current.value) {
13521
+ onEditComplete && onEditComplete(editableInputRef.current.value);
13522
+ }
13535
13523
  setIsEditableActive(false);
13536
13524
  }
13537
13525
  if (isEditableActive && key === 'Escape') {
13538
13526
  event.preventDefault();
13539
13527
  event.stopImmediatePropagation();
13540
13528
  // Reset div text to initial children prop - pre-edit
13541
- editableDivRef.current.textContent = children;
13542
- onEditCancel && onEditCancel(children);
13529
+ if (editableInputRef.current.value) {
13530
+ editableInputRef.current.value = children;
13531
+ onEditCancel && onEditCancel(children);
13532
+ }
13543
13533
  setIsEditableActive(false);
13544
13534
  }
13545
13535
  if (!isEditableActive && key === 'Enter') {
@@ -13568,40 +13558,41 @@
13568
13558
  setIsTooltipVisible(textRef.current && textRef.current.offsetWidth < textRef.current.scrollWidth);
13569
13559
  }, []);
13570
13560
  let content = (React__namespace.createElement(React__namespace.Fragment, null,
13571
- icon && React__namespace.createElement("span", { className: css(_default$G.labelIcon) }, icon),
13572
- isTruncated && (React__namespace.createElement("span", { ref: textRef, className: css(_default$G.labelText) }, children)),
13561
+ icon && React__namespace.createElement("span", { className: css(_default$F.labelIcon) }, icon),
13562
+ isTruncated && (React__namespace.createElement("span", { ref: textRef, className: css(_default$F.labelText) }, children)),
13573
13563
  !isTruncated && children));
13564
+ React__namespace.useEffect(() => {
13565
+ if (isEditableActive && editableInputRef) {
13566
+ editableInputRef.current && editableInputRef.current.focus();
13567
+ }
13568
+ }, [editableInputRef, isEditableActive]);
13569
+ const updateVal = () => {
13570
+ setCurrValue(editableInputRef.current.value);
13571
+ };
13574
13572
  if (isEditable) {
13575
- content = (React__namespace.createElement(React__namespace.Fragment, null,
13576
- React__namespace.createElement("div", { className: css(_default$E.inlineEdit) },
13577
- React__namespace.createElement("div", Object.assign({ tabIndex: 0, ref: editableDivRef, className: css(_default$E.inlineEditEditableText), role: "textbox" }, (isEditableActive && { contentEditable: true }), { suppressContentEditableWarning: true }, editableProps), children))));
13573
+ content = (React__namespace.createElement("button", Object.assign({ ref: editableButtonRef, className: css(_default$F.labelEditableText), onClick: e => {
13574
+ setIsEditableActive(true);
13575
+ e.stopPropagation();
13576
+ } }, editableProps), children));
13578
13577
  }
13579
- let labelComponentChild = (React__namespace.createElement(Component, Object.assign({ className: css(_default$G.labelContent) }, (href && { href })), content));
13578
+ let labelComponentChild = (React__namespace.createElement(Component, Object.assign({ className: css(_default$F.labelContent) }, (href && { href })), content));
13580
13579
  if (render) {
13581
13580
  labelComponentChild = (React__namespace.createElement(React__namespace.Fragment, null,
13582
13581
  isTooltipVisible && React__namespace.createElement(Tooltip, { reference: componentRef, content: children, position: tooltipPosition }),
13583
13582
  render({
13584
- className: _default$G.labelContent,
13583
+ className: _default$F.labelContent,
13585
13584
  content,
13586
13585
  componentRef
13587
13586
  })));
13588
13587
  }
13589
13588
  else if (isTooltipVisible) {
13590
13589
  labelComponentChild = (React__namespace.createElement(Tooltip, { content: children, position: tooltipPosition },
13591
- React__namespace.createElement(Component, Object.assign({ className: css(_default$G.labelContent) }, (href && { href })), content)));
13590
+ React__namespace.createElement(Component, Object.assign({ className: css(_default$F.labelContent) }, (href && { href })), content)));
13592
13591
  }
13593
- return (React__namespace.createElement(LabelComponent, Object.assign({}, props, { className: css(_default$G.label, colorStyles[color], variant === 'outline' && _default$G.modifiers.outline, isOverflowLabel && _default$G.modifiers.overflow, isCompact && _default$G.modifiers.compact, isEditable && _default$F.modifiers.editable, isEditableActive && _default$G.modifiers.editableActive, className) }, (isEditable && {
13594
- onClick: (evt) => {
13595
- const isEvtFromButton = evt.target.closest('button');
13596
- if (isEvtFromButton !== null) {
13597
- return;
13598
- }
13599
- setIsEditableActive(true);
13600
- editableDivRef.current.focus();
13601
- }
13602
- })),
13603
- labelComponentChild,
13604
- onClose && button));
13592
+ return (React__namespace.createElement(LabelComponent, Object.assign({}, props, { className: css(_default$F.label, colorStyles[color], variant === 'outline' && _default$F.modifiers.outline, isOverflowLabel && _default$F.modifiers.overflow, isCompact && _default$F.modifiers.compact, isEditable && _default$E.modifiers.editable, isEditableActive && _default$F.modifiers.editableActive, className) }),
13593
+ !isEditableActive && labelComponentChild,
13594
+ !isEditableActive && onClose && button,
13595
+ isEditableActive && (React__namespace.createElement("input", Object.assign({ className: css(_default$F.labelEditableText), type: "text", id: "editable-input", ref: editableInputRef, value: currValue, onChange: updateVal }, editableProps)))));
13605
13596
  };
13606
13597
  Label.displayName = 'Label';
13607
13598
 
@@ -13629,8 +13620,8 @@
13629
13620
  const { categoryName, tooltipPosition } = this.props;
13630
13621
  const { isTooltipVisible } = this.state;
13631
13622
  return isTooltipVisible ? (React__namespace.createElement(Tooltip, { position: tooltipPosition, content: categoryName },
13632
- React__namespace.createElement("span", { tabIndex: 0, ref: this.headingRef, className: css(_default$F.labelGroupLabel), id: id, "aria-label": categoryName },
13633
- React__namespace.createElement("span", { "aria-hidden": "true" }, categoryName)))) : (React__namespace.createElement("span", { ref: this.headingRef, className: css(_default$F.labelGroupLabel), "aria-hidden": "true", id: id }, categoryName));
13623
+ React__namespace.createElement("span", { tabIndex: 0, ref: this.headingRef, className: css(_default$E.labelGroupLabel), id: id, "aria-label": categoryName },
13624
+ React__namespace.createElement("span", { "aria-hidden": "true" }, categoryName)))) : (React__namespace.createElement("span", { ref: this.headingRef, className: css(_default$E.labelGroupLabel), "aria-hidden": "true", id: id }, categoryName));
13634
13625
  }
13635
13626
  render() {
13636
13627
  const _a = this.props, { categoryName, children, className, isClosable, isCompact, closeBtnAriaLabel, 'aria-label': ariaLabel, onClick, numLabels, expandedText, collapsedText,
@@ -13649,17 +13640,17 @@
13649
13640
  : React__namespace.Children.toArray(children);
13650
13641
  const content = (React__namespace.createElement(React__namespace.Fragment, null,
13651
13642
  categoryName && this.renderLabel(id),
13652
- React__namespace.createElement("ul", Object.assign({ className: css(_default$F.labelGroupList) }, (categoryName && { 'aria-labelledby': id }), (!categoryName && { 'aria-label': ariaLabel }), { role: "list" }, rest),
13653
- labelArray.map((child, i) => (React__namespace.createElement("li", { className: css(_default$F.labelGroupListItem), key: i }, child))),
13654
- numChildren > numLabels && (React__namespace.createElement("li", { className: css(_default$F.labelGroupListItem) },
13655
- React__namespace.createElement(Label, { isOverflowLabel: true, onClick: this.toggleCollapse, className: css(isCompact && _default$G.modifiers.compact) }, isOpen ? expandedText : collapsedTextResult))),
13656
- isEditable && hasEditableTextArea && (React__namespace.createElement("li", { className: css(_default$F.labelGroupListItem, _default$F.modifiers.textarea) },
13657
- React__namespace.createElement("textarea", Object.assign({ className: css(_default$F.labelGroupTextarea), rows: 1, tabIndex: 0 }, editableTextAreaProps)))))));
13658
- const close = (React__namespace.createElement("div", { className: css(_default$F.labelGroupClose) },
13643
+ React__namespace.createElement("ul", Object.assign({ className: css(_default$E.labelGroupList) }, (categoryName && { 'aria-labelledby': id }), (!categoryName && { 'aria-label': ariaLabel }), { role: "list" }, rest),
13644
+ labelArray.map((child, i) => (React__namespace.createElement("li", { className: css(_default$E.labelGroupListItem), key: i }, child))),
13645
+ numChildren > numLabels && (React__namespace.createElement("li", { className: css(_default$E.labelGroupListItem) },
13646
+ React__namespace.createElement(Label, { isOverflowLabel: true, onClick: this.toggleCollapse, className: css(isCompact && _default$F.modifiers.compact) }, isOpen ? expandedText : collapsedTextResult))),
13647
+ isEditable && hasEditableTextArea && (React__namespace.createElement("li", { className: css(_default$E.labelGroupListItem, _default$E.modifiers.textarea) },
13648
+ React__namespace.createElement("textarea", Object.assign({ className: css(_default$E.labelGroupTextarea), rows: 1, tabIndex: 0 }, editableTextAreaProps)))))));
13649
+ const close = (React__namespace.createElement("div", { className: css(_default$E.labelGroupClose) },
13659
13650
  React__namespace.createElement(Button, { variant: "plain", "aria-label": closeBtnAriaLabel, onClick: onClick, id: `remove_group_${id}`, "aria-labelledby": `remove_group_${id} ${id}` },
13660
13651
  React__namespace.createElement(TimesCircleIcon$1, { "aria-hidden": "true" }))));
13661
- return (React__namespace.createElement("div", { className: css(_default$F.labelGroup, className, categoryName && _default$F.modifiers.category, isVertical && _default$F.modifiers.vertical, isEditable && _default$F.modifiers.editable) },
13662
- React__namespace.createElement("div", { className: css(_default$F.labelGroupMain) }, content),
13652
+ return (React__namespace.createElement("div", { className: css(_default$E.labelGroup, className, categoryName && _default$E.modifiers.category, isVertical && _default$E.modifiers.vertical, isEditable && _default$E.modifiers.editable) },
13653
+ React__namespace.createElement("div", { className: css(_default$E.labelGroupMain) }, content),
13663
13654
  isClosable && close));
13664
13655
  };
13665
13656
  return numChildren === 0 ? null : (React__namespace.createElement(GenerateId, null, randomId => renderLabelGroup(this.props.id || randomId)));
@@ -14892,7 +14883,7 @@
14892
14883
  }, []);
14893
14884
  const content = (React__namespace.createElement("h1", Object.assign({ id: id, ref: h1, className: css(_default$x.modalBoxTitle, titleIconVariant && _default$x.modifiers.icon, className) }, props),
14894
14885
  titleIconVariant && (React__namespace.createElement("span", { className: css(_default$x.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React__namespace.createElement(CustomIcon, null))),
14895
- label && React__namespace.createElement("span", { className: css(_default$1g.screenReader) }, label),
14886
+ label && React__namespace.createElement("span", { className: css(_default$1f.screenReader) }, label),
14896
14887
  React__namespace.createElement("span", { className: css(_default$x.modalBoxTitleText) }, title)));
14897
14888
  return isTooltipVisible ? (React__namespace.createElement(Tooltip, { content: title, isVisible: true }, content)) : (content);
14898
14889
  };
@@ -14932,7 +14923,7 @@
14932
14923
  modalBody,
14933
14924
  modalBoxFooter));
14934
14925
  return (React__namespace.createElement(Backdrop, null,
14935
- React__namespace.createElement(FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true }, className: css(_default$1p.bullseye) }, modalBox)));
14926
+ React__namespace.createElement(FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true }, className: css(_default$1o.bullseye) }, modalBox)));
14936
14927
  };
14937
14928
  ModalContent.displayName = 'ModalContent';
14938
14929
 
@@ -14991,10 +14982,10 @@
14991
14982
  target.appendChild(container);
14992
14983
  target.addEventListener('keydown', this.handleEscKeyClick, false);
14993
14984
  if (this.props.isOpen) {
14994
- target.classList.add(css(_default$1q.backdropOpen));
14985
+ target.classList.add(css(_default$1p.backdropOpen));
14995
14986
  }
14996
14987
  else {
14997
- target.classList.remove(css(_default$1q.backdropOpen));
14988
+ target.classList.remove(css(_default$1p.backdropOpen));
14998
14989
  }
14999
14990
  if (this.isEmpty(title) && this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby)) {
15000
14991
  // eslint-disable-next-line no-console
@@ -15009,11 +15000,11 @@
15009
15000
  const { appendTo } = this.props;
15010
15001
  const target = this.getElement(appendTo);
15011
15002
  if (this.props.isOpen) {
15012
- target.classList.add(css(_default$1q.backdropOpen));
15003
+ target.classList.add(css(_default$1p.backdropOpen));
15013
15004
  this.toggleSiblingsFromScreenReaders(true);
15014
15005
  }
15015
15006
  else {
15016
- target.classList.remove(css(_default$1q.backdropOpen));
15007
+ target.classList.remove(css(_default$1p.backdropOpen));
15017
15008
  this.toggleSiblingsFromScreenReaders(false);
15018
15009
  }
15019
15010
  }
@@ -15024,7 +15015,7 @@
15024
15015
  target.removeChild(this.state.container);
15025
15016
  }
15026
15017
  target.removeEventListener('keydown', this.handleEscKeyClick, false);
15027
- target.classList.remove(css(_default$1q.backdropOpen));
15018
+ target.classList.remove(css(_default$1p.backdropOpen));
15028
15019
  }
15029
15020
  render() {
15030
15021
  const _a = this.props, {
@@ -15428,7 +15419,7 @@
15428
15419
  React__namespace.createElement("span", { className: css(_default$w.navToggleIcon) },
15429
15420
  React__namespace.createElement(AngleRightIcon$1, { "aria-hidden": "true" })))))),
15430
15421
  React__namespace.createElement("section", { className: css(_default$w.navSubnav), "aria-labelledby": this.id, hidden: expandedState ? null : true },
15431
- srText && (React__namespace.createElement("h2", { className: css(_default$1g.screenReader), id: this.id }, srText)),
15422
+ srText && (React__namespace.createElement("h2", { className: css(_default$1f.screenReader), id: this.id }, srText)),
15432
15423
  React__namespace.createElement("ul", { className: css(_default$w.navList) }, children))))));
15433
15424
  }
15434
15425
  }
@@ -15585,7 +15576,7 @@
15585
15576
 
15586
15577
  const TextContent = (_a) => {
15587
15578
  var { children = null, className = '', isVisited = false } = _a, props = __rest$1(_a, ["children", "className", "isVisited"]);
15588
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$1n.content, isVisited && _default$1n.modifiers.visited, className) }), children));
15579
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$1m.content, isVisited && _default$1m.modifiers.visited, className) }), children));
15589
15580
  };
15590
15581
  TextContent.displayName = 'TextContent';
15591
15582
 
@@ -15607,7 +15598,7 @@
15607
15598
  var { children = null, className = '', component = exports.TextVariants.p, isVisitedLink = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isVisitedLink", "ouiaId", "ouiaSafe"]);
15608
15599
  const Component = component;
15609
15600
  const ouiaProps = useOUIAProps(Text.displayName, ouiaId, ouiaSafe);
15610
- return (React__namespace.createElement(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(isVisitedLink && component === exports.TextVariants.a && _default$1n.modifiers.visited, className) }), children));
15601
+ return (React__namespace.createElement(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(isVisitedLink && component === exports.TextVariants.a && _default$1m.modifiers.visited, className) }), children));
15611
15602
  };
15612
15603
  Text.displayName = 'Text';
15613
15604
 
@@ -15708,7 +15699,7 @@
15708
15699
  }, [titleRef, truncateTitle, isTooltipVisible]);
15709
15700
  const Icon = variantIcons$1[variant];
15710
15701
  const Title = (React__namespace.createElement("h2", Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(_default$u.notificationDrawerListItemHeaderTitle, truncateTitle && _default$u.modifiers.truncate) }),
15711
- srTitle && React__namespace.createElement("span", { className: css(_default$1g.screenReader) }, srTitle),
15702
+ srTitle && React__namespace.createElement("span", { className: css(_default$1f.screenReader) }, srTitle),
15712
15703
  title));
15713
15704
  return (React__namespace.createElement(React__namespace.Fragment, null,
15714
15705
  React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$u.notificationDrawerListItemHeader, className) }),
@@ -16984,20 +16975,20 @@
16984
16975
 
16985
16976
  const Sidebar = (_a) => {
16986
16977
  var { className, children, orientation, isPanelRight = false, hasGutter, hasNoBackground } = _a, props = __rest$1(_a, ["className", "children", "orientation", "isPanelRight", "hasGutter", "hasNoBackground"]);
16987
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$H.sidebar, hasGutter && _default$H.modifiers.gutter, hasNoBackground && _default$H.modifiers.noBackground, isPanelRight && _default$H.modifiers.panelRight, _default$H.modifiers[orientation], className) }, props),
16988
- React__namespace.createElement("div", { className: _default$H.sidebarMain }, children)));
16978
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$G.sidebar, hasGutter && _default$G.modifiers.gutter, hasNoBackground && _default$G.modifiers.noBackground, isPanelRight && _default$G.modifiers.panelRight, _default$G.modifiers[orientation], className) }, props),
16979
+ React__namespace.createElement("div", { className: _default$G.sidebarMain }, children)));
16989
16980
  };
16990
16981
  Sidebar.displayName = 'Sidebar';
16991
16982
 
16992
16983
  const SidebarContent = (_a) => {
16993
16984
  var { className, children, hasNoBackground } = _a, props = __rest$1(_a, ["className", "children", "hasNoBackground"]);
16994
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$H.sidebarContent, hasNoBackground && _default$H.modifiers.noBackground, className) }, props), children));
16985
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$G.sidebarContent, hasNoBackground && _default$G.modifiers.noBackground, className) }, props), children));
16995
16986
  };
16996
16987
  SidebarContent.displayName = 'SidebarContent';
16997
16988
 
16998
16989
  const SidebarPanel = (_a) => {
16999
16990
  var { className, children, variant = 'default', hasNoBackground, width } = _a, props = __rest$1(_a, ["className", "children", "variant", "hasNoBackground", "width"]);
17000
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$H.sidebarPanel, variant !== 'default' && _default$H.modifiers[variant], hasNoBackground && _default$H.modifiers.noBackground, formatBreakpointMods(width, _default$H), className) }, props), children));
16991
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$G.sidebarPanel, variant !== 'default' && _default$G.modifiers[variant], hasNoBackground && _default$G.modifiers.noBackground, formatBreakpointMods(width, _default$G), className) }, props), children));
17001
16992
  };
17002
16993
  SidebarPanel.displayName = 'SidebarPanel';
17003
16994
 
@@ -17158,7 +17149,7 @@
17158
17149
  render() {
17159
17150
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
17160
17151
  const _a = this.props, { children, className, href, show, type } = _a, rest = __rest$1(_a, ["children", "className", "href", "show", "type"]);
17161
- return (React__namespace.createElement("a", Object.assign({}, rest, { className: css(_default$1l.button, _default$1l.modifiers.primary, _default$k.skipToContent, className), ref: this.componentRef, href: href }), children));
17152
+ return (React__namespace.createElement("a", Object.assign({}, rest, { className: css(_default$1k.button, _default$1k.modifiers.primary, _default$k.skipToContent, className), ref: this.componentRef, href: href }), children));
17162
17153
  }
17163
17154
  }
17164
17155
  SkipToContent.displayName = 'SkipToContent';
@@ -17809,10 +17800,10 @@
17809
17800
  React__namespace.createElement("span", { className: css(_default$h.tabsToggleIcon) },
17810
17801
  React__namespace.createElement(AngleRightIcon$1, { "arian-hidden": "true" })),
17811
17802
  toggleText && (React__namespace.createElement("span", { className: css('pf-c-tabs__toggle-text'), id: `${randomId}-text` }, toggleText)))))))),
17812
- React__namespace.createElement("button", { className: css(_default$h.tabsScrollButton, isSecondary && _default$1l.modifiers.secondary), "aria-label": leftScrollAriaLabel, onClick: this.scrollLeft, disabled: disableLeftScrollButton, "aria-hidden": disableLeftScrollButton },
17803
+ React__namespace.createElement("button", { className: css(_default$h.tabsScrollButton, isSecondary && _default$1k.modifiers.secondary), "aria-label": leftScrollAriaLabel, onClick: this.scrollLeft, disabled: disableLeftScrollButton, "aria-hidden": disableLeftScrollButton },
17813
17804
  React__namespace.createElement(AngleLeftIcon$1, null)),
17814
17805
  React__namespace.createElement("ul", { className: css(_default$h.tabsList), ref: this.tabList, onScroll: this.handleScrollButtons }, filteredChildren),
17815
- React__namespace.createElement("button", { className: css(_default$h.tabsScrollButton, isSecondary && _default$1l.modifiers.secondary), "aria-label": rightScrollAriaLabel, onClick: this.scrollRight, disabled: disableRightScrollButton, "aria-hidden": disableRightScrollButton },
17806
+ React__namespace.createElement("button", { className: css(_default$h.tabsScrollButton, isSecondary && _default$1k.modifiers.secondary), "aria-label": rightScrollAriaLabel, onClick: this.scrollRight, disabled: disableRightScrollButton, "aria-hidden": disableRightScrollButton },
17816
17807
  React__namespace.createElement(AngleRightIcon$1, null))),
17817
17808
  filteredChildren
17818
17809
  .filter(child => child.props.children &&
@@ -17882,15 +17873,6 @@
17882
17873
  };
17883
17874
  Tile.displayName = 'Tile';
17884
17875
 
17885
- const TimeOption = (_a) => {
17886
- var { className = '', value = '', onSelect = () => { }, children, id, isFocused } = _a, props = __rest$1(_a, ["className", "value", "onSelect", "children", "id", "isFocused"]);
17887
- return (React__namespace.createElement("li", Object.assign({ role: "presentation", className: css(_default$13.selectMenuWrapper, isFocused && _default$13.modifiers.focus, className) }, props),
17888
- React__namespace.createElement("button", { className: css(_default$13.selectMenuItem), onClick: event => {
17889
- onSelect(value, event);
17890
- }, role: "option", type: "button", id: id }, children || value.toString())));
17891
- };
17892
- TimeOption.displayName = 'TimeOption';
17893
-
17894
17876
  const amSuffix = ' AM';
17895
17877
  const pmSuffix = ' PM';
17896
17878
  const makeTimeOptions = (stepMinutes, hour12, delimiter, minTime, maxTime) => {
@@ -18048,53 +18030,61 @@
18048
18030
  this.inputRef = React__namespace.createRef();
18049
18031
  this.menuRef = React__namespace.createRef();
18050
18032
  this.onDocClick = (event) => {
18051
- const clickedOnToggle = this.parentRef && this.parentRef.current && this.parentRef.current.contains(event.target);
18052
- const clickedWithinMenu = this.menuRef &&
18053
- this.menuRef.current &&
18054
- this.menuRef.current.contains &&
18055
- this.menuRef.current.contains(event.target);
18033
+ var _a, _b, _c, _d;
18034
+ const clickedOnToggle = (_b = (_a = this.parentRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(event.target);
18035
+ const clickedWithinMenu = (_d = (_c = this.menuRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.contains(event.target);
18056
18036
  if (this.state.isOpen && !(clickedOnToggle || clickedWithinMenu)) {
18057
18037
  this.onToggle(false);
18058
18038
  }
18059
18039
  };
18060
18040
  this.handleGlobalKeys = (event) => {
18061
- const { isOpen, focusedIndex } = this.state;
18041
+ var _a, _b, _c, _d;
18042
+ const { isOpen, focusedIndex, scrollIndex } = this.state;
18062
18043
  // keyboard pressed while focus on toggle
18063
- if (this.inputRef && this.inputRef.current && this.inputRef.current.contains(event.target)) {
18044
+ if ((_b = (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(event.target)) {
18064
18045
  if (!isOpen && event.key !== KeyTypes.Tab) {
18065
18046
  this.onToggle(true);
18066
18047
  }
18067
18048
  else if (isOpen) {
18068
- if (event.key === KeyTypes.Escape) {
18069
- this.onToggle(false);
18070
- }
18071
- else if (event.key === KeyTypes.Tab) {
18049
+ if (event.key === KeyTypes.Escape || event.key === KeyTypes.Tab) {
18072
18050
  this.onToggle(false);
18073
18051
  }
18074
18052
  else if (event.key === KeyTypes.Enter) {
18075
18053
  if (focusedIndex !== null) {
18076
- this.onSelect(this.getOptions()[focusedIndex].innerText);
18054
+ this.focusSelection(focusedIndex);
18077
18055
  event.stopPropagation();
18078
18056
  }
18079
18057
  else {
18080
18058
  this.onToggle(false);
18081
18059
  }
18082
18060
  }
18083
- else if (event.key === KeyTypes.ArrowDown) {
18084
- this.updateFocusedIndex(1);
18085
- event.preventDefault();
18086
- }
18087
- else if (event.key === KeyTypes.ArrowUp) {
18088
- this.updateFocusedIndex(-1);
18061
+ else if (event.key === KeyTypes.ArrowDown || event.key === KeyTypes.ArrowUp) {
18062
+ this.focusSelection(scrollIndex);
18063
+ this.updateFocusedIndex(0);
18089
18064
  event.preventDefault();
18090
18065
  }
18091
18066
  }
18067
+ // keyboard pressed while focus on menu item
18068
+ }
18069
+ else if ((_d = (_c = this.menuRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.contains(event.target)) {
18070
+ if (event.key === KeyTypes.ArrowDown) {
18071
+ this.updateFocusedIndex(1);
18072
+ event.preventDefault();
18073
+ }
18074
+ else if (event.key === KeyTypes.ArrowUp) {
18075
+ this.updateFocusedIndex(-1);
18076
+ event.preventDefault();
18077
+ }
18078
+ else if (event.key === KeyTypes.Escape || event.key === KeyTypes.Tab) {
18079
+ this.inputRef.current.focus();
18080
+ this.onToggle(false);
18081
+ }
18092
18082
  }
18093
18083
  };
18094
18084
  this.updateFocusedIndex = (increment) => {
18095
18085
  this.setState(prevState => {
18096
18086
  const maxIndex = this.getOptions().length - 1;
18097
- let nextIndex = prevState.focusedIndex !== null ? prevState.focusedIndex + increment : prevState.scrollIndex;
18087
+ let nextIndex = prevState.focusedIndex !== null ? prevState.focusedIndex + increment : prevState.scrollIndex + increment;
18098
18088
  if (nextIndex < 0) {
18099
18089
  nextIndex = maxIndex;
18100
18090
  }
@@ -18107,8 +18097,22 @@
18107
18097
  };
18108
18098
  });
18109
18099
  };
18100
+ // fixes issue where menutAppendTo="inline" results in the menu item that should be scrolled to being out of view; this will select the menu item that comes before the intended one, causing that before-item to be placed out of view instead
18101
+ this.getIndexToScroll = (index) => {
18102
+ if (this.props.menuAppendTo === 'inline') {
18103
+ return index > 0 ? index - 1 : 0;
18104
+ }
18105
+ return index;
18106
+ };
18110
18107
  this.scrollToIndex = (index) => {
18111
- this.getOptions()[index].offsetParent.scrollTop = this.getOptions()[index].offsetTop;
18108
+ this.getOptions()[index].closest(`.${_default$z.menuContent}`).scrollTop = this.getOptions()[this.getIndexToScroll(index)].offsetTop;
18109
+ };
18110
+ this.focusSelection = (index) => {
18111
+ var _a;
18112
+ const indexToFocus = index !== -1 ? index : 0;
18113
+ if ((_a = this.menuRef) === null || _a === void 0 ? void 0 : _a.current) {
18114
+ this.getOptions()[indexToFocus].querySelector(`.${_default$z.menuItem}`).focus();
18115
+ }
18112
18116
  };
18113
18117
  this.scrollToSelection = (time) => {
18114
18118
  const { delimiter, is24Hour } = this.props;
@@ -18118,6 +18122,11 @@
18118
18122
  if (splitTime.length < 2) {
18119
18123
  time = `${time}${delimiter}00`;
18120
18124
  splitTime = time.split(delimiter);
18125
+ // due to only the input including seconds when includeSeconds=true, we need to build a temporary time here without those seconds so that an exact or close match can be scrolled to within the menu (which does not include seconds in any of the options)
18126
+ }
18127
+ else if (splitTime.length > 2) {
18128
+ time = parseTime(time, this.state.timeRegex, delimiter, !is24Hour, false);
18129
+ splitTime = time.split(delimiter);
18121
18130
  }
18122
18131
  // for 12hr variant, autoscroll to pm if it's currently the afternoon, otherwise autoscroll to am
18123
18132
  if (!is24Hour && splitTime.length > 1 && splitTime[1].length < 2) {
@@ -18167,7 +18176,12 @@
18167
18176
  }
18168
18177
  return new RegExp(`^${baseRegex}${is24Hour ? '' : '\\s*([AaPp][Mm])?'}\\s*$`);
18169
18178
  };
18170
- this.getOptions = () => (this.menuRef && this.menuRef.current ? Array.from(this.menuRef.current.children) : []);
18179
+ this.getOptions = () => {
18180
+ var _a;
18181
+ return (((_a = this.menuRef) === null || _a === void 0 ? void 0 : _a.current)
18182
+ ? Array.from(this.menuRef.current.querySelectorAll(`.${_default$z.menuListItem}`))
18183
+ : []);
18184
+ };
18171
18185
  this.isValidFormat = (time) => {
18172
18186
  if (this.props.validateTime) {
18173
18187
  return this.props.validateTime(time);
@@ -18194,13 +18208,14 @@
18194
18208
  };
18195
18209
  });
18196
18210
  };
18197
- this.onSelect = (selection) => {
18211
+ this.onSelect = (e) => {
18198
18212
  const { timeRegex, timeState } = this.state;
18199
18213
  const { delimiter, is24Hour, includeSeconds } = this.props;
18200
- const time = parseTime(selection, timeRegex, delimiter, !is24Hour, includeSeconds);
18214
+ const time = parseTime(e.target.textContent, timeRegex, delimiter, !is24Hour, includeSeconds);
18201
18215
  if (time !== timeState) {
18202
18216
  this.onInputChange(time);
18203
18217
  }
18218
+ this.inputRef.current.focus();
18204
18219
  this.setState({
18205
18220
  isOpen: false
18206
18221
  });
@@ -18281,26 +18296,27 @@
18281
18296
  }
18282
18297
  }
18283
18298
  render() {
18284
- const _a = this.props, { 'aria-label': ariaLabel, isDisabled, className, placeholder, id, menuAppendTo, is24Hour, invalidFormatErrorMessage, invalidMinMaxErrorMessage, direction, stepMinutes, width, delimiter, inputProps,
18299
+ const _a = this.props, { 'aria-label': ariaLabel, isDisabled, className, placeholder, id, menuAppendTo, is24Hour, invalidFormatErrorMessage, invalidMinMaxErrorMessage, stepMinutes, width, delimiter, inputProps,
18285
18300
  /* eslint-disable @typescript-eslint/no-unused-vars */
18286
18301
  onChange, time, validateTime, minTime, maxTime, includeSeconds } = _a,
18287
18302
  /* eslint-enable @typescript-eslint/no-unused-vars */
18288
- props = __rest$1(_a, ['aria-label', "isDisabled", "className", "placeholder", "id", "menuAppendTo", "is24Hour", "invalidFormatErrorMessage", "invalidMinMaxErrorMessage", "direction", "stepMinutes", "width", "delimiter", "inputProps", "onChange", "time", "validateTime", "minTime", "maxTime", "includeSeconds"]);
18289
- const { timeState, isOpen, isInvalid, focusedIndex, minTimeState, maxTimeState } = this.state;
18303
+ props = __rest$1(_a, ['aria-label', "isDisabled", "className", "placeholder", "id", "menuAppendTo", "is24Hour", "invalidFormatErrorMessage", "invalidMinMaxErrorMessage", "stepMinutes", "width", "delimiter", "inputProps", "onChange", "time", "validateTime", "minTime", "maxTime", "includeSeconds"]);
18304
+ const { timeState, isOpen, isInvalid, minTimeState, maxTimeState } = this.state;
18290
18305
  const style = { '--pf-c-date-picker__input--c-form-control--Width': width };
18291
18306
  const options = makeTimeOptions(stepMinutes, !is24Hour, delimiter, minTimeState, maxTimeState);
18292
18307
  const isValidFormat = this.isValidFormat(timeState);
18293
18308
  const randomId = id || getUniqueId('time-picker');
18294
- const menuContainer = (React__namespace.createElement("ul", { ref: this.menuRef, className: css(_default$13.selectMenu), role: "listbox", "aria-labelledby": `${id}-input`, style: { maxHeight: '200px', overflowY: 'auto' } }, options.map((option, index) => (React__namespace.createElement(TimeOption, { key: index, value: option, index: index, onSelect: this.onSelect, isFocused: index === focusedIndex, id: `${id}-option-${index}` })))));
18295
- const inputAndToggle = (React__namespace.createElement("div", Object.assign({ className: css(_default$S.datePickerInput), style: style }, props),
18296
- React__namespace.createElement(InputGroup, null,
18297
- React__namespace.createElement("div", { className: css(_default$13.select, isOpen && _default$13.modifiers.expanded, direction === exports.SelectDirection.up && _default$13.modifiers.top, className), id: randomId, ref: this.parentRef },
18298
- React__namespace.createElement("div", { ref: this.toggleRef, className: css(_default$13.selectToggle, isDisabled && _default$13.modifiers.disabled, _default$13.modifiers.typeahead), style: { paddingLeft: '0' } },
18299
- React__namespace.createElement(TextInput, Object.assign({ className: css(_default$1c.formControl, _default$13.selectToggleTypeahead), id: `${randomId}-input`, "aria-label": ariaLabel, validated: isInvalid ? 'error' : 'default', placeholder: placeholder, value: timeState || '', type: "text", iconVariant: "clock", onClick: this.onInputFocus, onFocus: this.onInputFocus, onChange: this.onInputChange, onBlur: this.onBlur, autoComplete: "off", isDisabled: isDisabled, ref: this.inputRef }, inputProps))),
18300
- isOpen && menuAppendTo === 'inline' && menuContainer)),
18301
- isInvalid && (React__namespace.createElement("div", { className: css(_default$S.datePickerHelperText, _default$S.modifiers.error) }, !isValidFormat ? invalidFormatErrorMessage : invalidMinMaxErrorMessage))));
18302
- const popperContainer = (React__namespace.createElement("div", { className: css(_default$13.select, isOpen && _default$13.modifiers.expanded, direction === exports.SelectDirection.up && _default$13.modifiers.top, className) }, isOpen && menuContainer));
18303
- return (React__namespace.createElement("div", { className: css(_default$S.datePicker, className) }, menuAppendTo === 'inline' ? (inputAndToggle) : (React__namespace.createElement(Popper, { trigger: inputAndToggle, popper: popperContainer, direction: direction, appendTo: menuAppendTo, isVisible: isOpen }))));
18309
+ const menuContainer = (React__namespace.createElement(Menu, { ref: this.menuRef, isScrollable: true },
18310
+ React__namespace.createElement(MenuContent, { maxMenuHeight: "200px" },
18311
+ React__namespace.createElement(MenuList, { "aria-labelledby": `${randomId}-input` }, options.map((option, index) => (React__namespace.createElement(MenuItem, { onClick: this.onSelect, key: option, id: `${randomId}-option-${index}` }, option)))))));
18312
+ const textInput = (React__namespace.createElement(TextInput, Object.assign({ className: css(_default$1b.formControl), id: `${randomId}-input`, "aria-label": ariaLabel, validated: isInvalid ? 'error' : 'default', placeholder: placeholder, value: timeState || '', type: "text", iconVariant: "clock", onClick: this.onInputFocus, onFocus: this.onInputFocus, onChange: this.onInputChange, onBlur: this.onBlur, autoComplete: "off", isDisabled: isDisabled, ref: this.inputRef }, inputProps)));
18313
+ return (React__namespace.createElement("div", { className: css(_default$R.datePicker, className) },
18314
+ React__namespace.createElement("div", Object.assign({ className: css(_default$R.datePickerInput), style: style }, props),
18315
+ React__namespace.createElement(InputGroup, null,
18316
+ React__namespace.createElement("div", { id: randomId, ref: this.parentRef },
18317
+ React__namespace.createElement("div", { ref: this.toggleRef, style: { paddingLeft: '0' } }, menuAppendTo !== 'inline' ? (React__namespace.createElement(Popper, { appendTo: this.parentRef.current, trigger: textInput, popper: menuContainer, isVisible: isOpen })) : (textInput)),
18318
+ isOpen && menuAppendTo === 'inline' && menuContainer)),
18319
+ isInvalid && (React__namespace.createElement("div", { className: css(_default$R.datePickerHelperText, _default$R.modifiers.error) }, !isValidFormat ? invalidFormatErrorMessage : invalidMinMaxErrorMessage)))));
18304
18320
  }
18305
18321
  }
18306
18322
  TimePicker.displayName = 'TimePicker';
@@ -18314,15 +18330,22 @@
18314
18330
  placeholder: 'hh:mm',
18315
18331
  delimiter: ':',
18316
18332
  'aria-label': 'Time picker',
18317
- menuAppendTo: 'inline',
18318
- direction: 'down',
18319
- width: 150,
18333
+ width: '150px',
18320
18334
  stepMinutes: 30,
18321
18335
  inputProps: {},
18322
18336
  minTime: '',
18323
18337
  maxTime: ''
18324
18338
  };
18325
18339
 
18340
+ const TimeOption = (_a) => {
18341
+ var { className = '', value = '', onSelect = () => { }, children, id, isFocused } = _a, props = __rest$1(_a, ["className", "value", "onSelect", "children", "id", "isFocused"]);
18342
+ return (React__namespace.createElement("li", Object.assign({ role: "presentation", className: css(_default$12.selectMenuWrapper, isFocused && _default$12.modifiers.focus, className) }, props),
18343
+ React__namespace.createElement("button", { className: css(_default$12.selectMenuItem), onClick: event => {
18344
+ onSelect(value, event);
18345
+ }, role: "option", type: "button", id: id }, children || value.toString())));
18346
+ };
18347
+ TimeOption.displayName = 'TimeOption';
18348
+
18326
18349
  var _default$e = {
18327
18350
  "modifiers": {
18328
18351
  "compact": "pf-m-compact",
@@ -19189,7 +19212,7 @@
19189
19212
  const TreeViewSearch = (_a) => {
19190
19213
  var { className, onSearch, id, name, 'aria-label': ariaLabel } = _a, props = __rest$1(_a, ["className", "onSearch", "id", "name", 'aria-label']);
19191
19214
  return (React__namespace.createElement("div", { className: css(_default$b.treeViewSearch, className) },
19192
- React__namespace.createElement("input", Object.assign({ className: css(_default$1c.formControl, _default$1c.modifiers.search), onChange: onSearch, id: id, name: name, "aria-label": ariaLabel, type: "search" }, props))));
19215
+ React__namespace.createElement("input", Object.assign({ className: css(_default$1b.formControl, _default$1b.modifiers.search), onChange: onSearch, id: id, name: name, "aria-label": ariaLabel, type: "search" }, props))));
19193
19216
  };
19194
19217
  TreeViewSearch.displayName = 'TreeViewSearch';
19195
19218
 
@@ -20009,7 +20032,7 @@
20009
20032
  const Bullseye = (_a) => {
20010
20033
  var { children = null, className = '', component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
20011
20034
  const Component = component;
20012
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$1p.bullseye, className) }, props), children));
20035
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$1o.bullseye, className) }, props), children));
20013
20036
  };
20014
20037
  Bullseye.displayName = 'Bullseye';
20015
20038