@patternfly/quickstarts 6.0.0-alpha.2 → 6.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/ConsoleInternal/components/markdown-view.d.ts +0 -1
  2. package/dist/ConsoleShared/src/components/markdown-extensions/accordion-extension.d.ts +0 -1
  3. package/dist/ConsoleShared/src/components/markdown-extensions/admonition-extension.d.ts +0 -1
  4. package/dist/ConsoleShared/src/components/markdown-extensions/code-extension.d.ts +0 -1
  5. package/dist/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.d.ts +0 -1
  6. package/dist/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.d.ts +0 -1
  7. package/dist/ConsoleShared/src/components/modal/Modal.d.ts +1 -2
  8. package/dist/ConsoleShared/src/components/spotlight/InteractiveSpotlight.d.ts +0 -1
  9. package/dist/ConsoleShared/src/components/spotlight/StaticSpotlight.d.ts +0 -1
  10. package/dist/HelpTopicDrawer.d.ts +0 -1
  11. package/dist/HelpTopicPanelContent.d.ts +0 -1
  12. package/dist/QuickStartDrawer.d.ts +0 -1
  13. package/dist/QuickStartPanelContent.d.ts +2 -2
  14. package/dist/catalog/QuickStartCatalog.d.ts +0 -1
  15. package/dist/catalog/QuickStartTile.d.ts +16 -2
  16. package/dist/catalog/QuickStartTileDescription.d.ts +0 -1
  17. package/dist/catalog/QuickStartTileFooter.d.ts +1 -0
  18. package/dist/catalog/QuickStartTileHeader.d.ts +1 -17
  19. package/dist/catalog/Toolbar/QuickStartCatalogFilter.d.ts +0 -1
  20. package/dist/catalog/index.d.ts +1 -1
  21. package/dist/controller/QuickStartContent.d.ts +1 -1
  22. package/dist/controller/QuickStartFooter.d.ts +1 -1
  23. package/dist/controller/QuickStartIntroduction.d.ts +0 -1
  24. package/dist/controller/QuickStartTaskHeaderList.d.ts +0 -1
  25. package/dist/controller/QuickStartTaskReview.d.ts +0 -1
  26. package/dist/controller/QuickStartTasks.d.ts +0 -1
  27. package/dist/index.es.js +188 -291
  28. package/dist/index.es.js.map +1 -1
  29. package/dist/index.js +189 -292
  30. package/dist/index.js.map +1 -1
  31. package/dist/patternfly-docs/quick-starts/examples/HelpTopic.jsx +4 -4
  32. package/dist/patternfly-docs/quick-starts/examples/example-data/example-help-topics.js +9 -18
  33. package/dist/patternfly-global.css +20 -66
  34. package/dist/patternfly-nested.css +2036 -2119
  35. package/dist/quickstarts-base.css +40 -420
  36. package/dist/quickstarts-full.es.js +715 -804
  37. package/dist/quickstarts-full.es.js.map +1 -1
  38. package/dist/quickstarts-standalone.css +41 -382
  39. package/dist/quickstarts-standalone.min.css +3 -3
  40. package/dist/quickstarts-vendor.css +6 -11
  41. package/dist/quickstarts.css +46 -431
  42. package/dist/quickstarts.min.css +1 -1
  43. package/dist/utils/quick-start-types.d.ts +1 -1
  44. package/package.json +10 -11
  45. package/src/ConsoleInternal/components/markdown-view.tsx +29 -9
  46. package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +10 -17
  47. package/src/ConsoleShared/src/components/markdown-extensions/admonition-extension.tsx +5 -11
  48. package/src/ConsoleShared/src/components/markdown-extensions/code-extension.tsx +2 -2
  49. package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +0 -1
  50. package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +2 -6
  51. package/src/ConsoleShared/src/components/markdown-extensions/utils.ts +2 -1
  52. package/src/ConsoleShared/src/components/modal/Modal.tsx +1 -2
  53. package/src/ConsoleShared/src/components/popper/SimplePopper.tsx +5 -2
  54. package/src/ConsoleShared/src/components/spotlight/InteractiveSpotlight.tsx +0 -1
  55. package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +0 -1
  56. package/src/ConsoleShared/src/components/status/icons.tsx +1 -5
  57. package/src/HelpTopicDrawer.tsx +1 -4
  58. package/src/HelpTopicPanelContent.tsx +4 -16
  59. package/src/QuickStartCatalogPage.tsx +34 -25
  60. package/src/QuickStartCloseModal.tsx +2 -2
  61. package/src/QuickStartController.tsx +1 -1
  62. package/src/QuickStartDrawer.tsx +2 -7
  63. package/src/QuickStartPanelContent.scss +7 -39
  64. package/src/QuickStartPanelContent.tsx +20 -44
  65. package/src/catalog/Catalog/QuickStartCatalogHeader.tsx +5 -4
  66. package/src/catalog/Catalog/QuickStartCatalogSection.tsx +1 -1
  67. package/src/catalog/Catalog/QuickStartCatalogToolbar.tsx +1 -3
  68. package/src/catalog/QuickStartCatalog.tsx +12 -16
  69. package/src/catalog/QuickStartTile.scss +11 -9
  70. package/src/catalog/QuickStartTile.tsx +133 -72
  71. package/src/catalog/QuickStartTileDescription.tsx +28 -42
  72. package/src/catalog/QuickStartTileFooter.tsx +13 -19
  73. package/src/catalog/QuickStartTileHeader.tsx +9 -86
  74. package/src/catalog/Toolbar/QuickStartCatalogFilter.tsx +8 -10
  75. package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +2 -5
  76. package/src/catalog/__tests__/QuickStartCatalog.spec.tsx +3 -3
  77. package/src/catalog/__tests__/QuickStartTile.spec.tsx +5 -5
  78. package/src/catalog/__tests__/QuickStartTileDescription.spec.tsx +1 -1
  79. package/src/catalog/index.ts +1 -1
  80. package/src/controller/QuickStartConclusion.tsx +4 -4
  81. package/src/controller/QuickStartContent.scss +3 -7
  82. package/src/controller/QuickStartContent.tsx +3 -5
  83. package/src/controller/QuickStartFooter.scss +1 -11
  84. package/src/controller/QuickStartFooter.tsx +27 -21
  85. package/src/controller/QuickStartIntroduction.tsx +11 -16
  86. package/src/controller/QuickStartTaskHeader.scss +20 -42
  87. package/src/controller/QuickStartTaskHeader.tsx +21 -60
  88. package/src/controller/QuickStartTaskHeaderList.tsx +4 -6
  89. package/src/controller/QuickStartTaskReview.tsx +6 -12
  90. package/src/controller/QuickStartTasks.tsx +6 -8
  91. package/src/controller/__tests__/QuickStartConclusion.spec.tsx +6 -19
  92. package/src/controller/__tests__/QuickStartFooter.spec.tsx +9 -54
  93. package/src/controller/__tests__/QuickStartTaskHeader.spec.tsx +1 -1
  94. package/src/controller/__tests__/QuickStartTaskReview.spec.tsx +3 -6
  95. package/src/controller/__tests__/QuickStartTasks.spec.tsx +3 -6
  96. package/src/styles/_base.scss +3 -45
  97. package/src/styles/style.scss +1 -6
  98. package/src/utils/help-topic-context.tsx +2 -3
  99. package/src/utils/quick-start-context.tsx +10 -13
  100. package/src/utils/quick-start-types.ts +1 -1
  101. package/src/utils/quick-start-utils.ts +4 -2
  102. package/src/ConsoleInternal/components/_icon-and-text.scss +0 -14
  103. package/src/ConsoleInternal/components/_markdown-view.scss +0 -19
  104. package/src/ConsoleInternal/components/catalog/_catalog.scss +0 -392
  105. package/src/ConsoleInternal/components/utils/_status-box.scss +0 -58
  106. package/src/ConsoleShared/src/components/layout/PageLayout.scss +0 -29
  107. package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +0 -52
  108. package/src/ConsoleShared/src/components/modal/Modal.scss +0 -3
  109. package/src/ConsoleShared/src/components/spotlight/spotlight.scss +0 -63
  110. package/src/QuickStartDrawer.scss +0 -11
  111. package/src/catalog/QuickStartCatalog.scss +0 -8
  112. package/src/catalog/QuickStartTileDescription.scss +0 -29
  113. package/src/catalog/QuickStartTileHeader.scss +0 -16
  114. package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +0 -25
  115. package/src/controller/QuickStartIntroduction.scss +0 -35
  116. package/src/controller/QuickStartTaskHeaderList.scss +0 -17
  117. package/src/controller/QuickStartTaskReview.scss +0 -30
  118. package/src/controller/QuickStartTasks.scss +0 -90
  119. package/src/styles/_dark-custom-override.scss +0 -47
@@ -66,7 +66,7 @@ function css(...args) {
66
66
  return classes.join(' ');
67
67
  }
68
68
 
69
- var styles$r = {
69
+ var styles$v = {
70
70
  "content": "pf-v6-c-content",
71
71
  "contentA": "pf-v6-c-content--a",
72
72
  "contentBlockquote": "pf-v6-c-content--blockquote",
@@ -93,7 +93,7 @@ var styles$r = {
93
93
  }
94
94
  };
95
95
 
96
- var styles$q = {
96
+ var styles$u = {
97
97
  "modifiers": {
98
98
  "4xl": "pf-m-4xl",
99
99
  "3xl": "pf-m-3xl",
@@ -113,61 +113,61 @@ var styles$q = {
113
113
 
114
114
  const global_breakpoint_sm = {
115
115
  "name": "--pf-t--global--breakpoint--sm",
116
- "value": "576px",
116
+ "value": "36rem",
117
117
  "var": "var(--pf-t--global--breakpoint--sm)"
118
118
  };
119
119
 
120
120
  const global_breakpoint_md = {
121
121
  "name": "--pf-t--global--breakpoint--md",
122
- "value": "768px",
122
+ "value": "48rem",
123
123
  "var": "var(--pf-t--global--breakpoint--md)"
124
124
  };
125
125
 
126
126
  const global_breakpoint_lg = {
127
127
  "name": "--pf-t--global--breakpoint--lg",
128
- "value": "992px",
128
+ "value": "62rem",
129
129
  "var": "var(--pf-t--global--breakpoint--lg)"
130
130
  };
131
131
 
132
132
  const global_breakpoint_xl = {
133
133
  "name": "--pf-t--global--breakpoint--xl",
134
- "value": "1200px",
134
+ "value": "75rem",
135
135
  "var": "var(--pf-t--global--breakpoint--xl)"
136
136
  };
137
137
 
138
138
  const global_breakpoint_2xl = {
139
139
  "name": "--pf-t--global--breakpoint--2xl",
140
- "value": "1450px",
140
+ "value": "90.625rem",
141
141
  "var": "var(--pf-t--global--breakpoint--2xl)"
142
142
  };
143
143
 
144
144
  const global_breakpoint_height_sm = {
145
145
  "name": "--pf-t--global--breakpoint--height--sm",
146
- "value": "0px",
146
+ "value": "0rem",
147
147
  "var": "var(--pf-t--global--breakpoint--height--sm)"
148
148
  };
149
149
 
150
150
  const global_breakpoint_height_md = {
151
151
  "name": "--pf-t--global--breakpoint--height--md",
152
- "value": "640px",
152
+ "value": "40rem",
153
153
  "var": "var(--pf-t--global--breakpoint--height--md)"
154
154
  };
155
155
 
156
156
  const global_breakpoint_height_lg = {
157
157
  "name": "--pf-t--global--breakpoint--height--lg",
158
- "value": "768px",
158
+ "value": "48rem",
159
159
  "var": "var(--pf-t--global--breakpoint--height--lg)"
160
160
  };
161
161
 
162
162
  const global_breakpoint_height_xl = {
163
163
  "name": "--pf-t--global--breakpoint--height--xl",
164
- "value": "960px",
164
+ "value": "60rem",
165
165
  "var": "var(--pf-t--global--breakpoint--height--xl)"
166
166
  };
167
167
 
168
168
  const global_breakpoint_height_2xl = {
169
169
  "name": "--pf-t--global--breakpoint--height--2xl",
170
- "value": "1280px",
170
+ "value": "80rem",
171
171
  "var": "var(--pf-t--global--breakpoint--height--2xl)"
172
172
  };
173
173
 
@@ -620,18 +620,18 @@ const KeyTypes = {
620
620
  ArrowRight: 'ArrowRight'
621
621
  };
622
622
  const globalWidthBreakpoints = {
623
- sm: parseInt(global_breakpoint_sm.value),
624
- md: parseInt(global_breakpoint_md.value),
625
- lg: parseInt(global_breakpoint_lg.value),
626
- xl: parseInt(global_breakpoint_xl.value),
627
- '2xl': parseInt(global_breakpoint_2xl.value)
623
+ sm: parseInt(global_breakpoint_sm.value) * 16,
624
+ md: parseInt(global_breakpoint_md.value) * 16,
625
+ lg: parseInt(global_breakpoint_lg.value) * 16,
626
+ xl: parseInt(global_breakpoint_xl.value) * 16,
627
+ '2xl': parseInt(global_breakpoint_2xl.value) * 16
628
628
  };
629
629
  const globalHeightBreakpoints = {
630
- sm: parseInt(global_breakpoint_height_sm.value),
631
- md: parseInt(global_breakpoint_height_md.value),
632
- lg: parseInt(global_breakpoint_height_lg.value),
633
- xl: parseInt(global_breakpoint_height_xl.value),
634
- '2xl': parseInt(global_breakpoint_height_2xl.value)
630
+ sm: parseInt(global_breakpoint_height_sm.value) * 16,
631
+ md: parseInt(global_breakpoint_height_md.value) * 16,
632
+ lg: parseInt(global_breakpoint_height_lg.value) * 16,
633
+ xl: parseInt(global_breakpoint_height_xl.value) * 16,
634
+ '2xl': parseInt(global_breakpoint_height_2xl.value) * 16
635
635
  };
636
636
  const statusIcons$2 = {
637
637
  success: CheckCircleIcon$1,
@@ -4239,7 +4239,7 @@ const hash = {
4239
4239
  };
4240
4240
  const getOppositePlacement = (placement) => placement.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g, (matched) => hash[matched]);
4241
4241
  const getOpacityTransition = (animationDuration) => `opacity ${animationDuration}ms cubic-bezier(.54, 1.5, .38, 1.11)`;
4242
- const Popper = ({ trigger, popper, direction = 'down', position = 'start', placement, width, minWidth = 'trigger', maxWidth, appendTo = 'inline', zIndex = 9999, isVisible = true, positionModifiers, distance = 0, onMouseEnter, onMouseLeave, onFocus, onBlur, onDocumentClick, onTriggerClick, onTriggerEnter, onPopperClick, onPopperMouseEnter, onPopperMouseLeave, onDocumentKeyDown, enableFlip = true, flipBehavior = 'flip', triggerRef, popperRef, animationDuration = 0, entryDelay = 0, exitDelay = 0, onHidden = () => { }, onHide = () => { }, onMount = () => { }, onShow = () => { }, onShown = () => { }, preventOverflow = false }) => {
4242
+ const Popper = ({ trigger, popper, direction = 'down', position = 'start', placement, width, minWidth = 'trigger', maxWidth, appendTo = () => document.body, zIndex = 9999, isVisible = true, positionModifiers, distance = 0, onMouseEnter, onMouseLeave, onFocus, onBlur, onDocumentClick, onTriggerClick, onTriggerEnter, onPopperClick, onPopperMouseEnter, onPopperMouseLeave, onDocumentKeyDown, enableFlip = true, flipBehavior = 'flip', triggerRef, popperRef, animationDuration = 0, entryDelay = 0, exitDelay = 0, onHidden = () => { }, onHide = () => { }, onMount = () => { }, onShow = () => { }, onShown = () => { }, preventOverflow = false }) => {
4243
4243
  var _a;
4244
4244
  const [triggerElement, setTriggerElement] = React.useState(null);
4245
4245
  const [refElement, setRefElement] = React.useState(null);
@@ -4804,7 +4804,7 @@ var TitleSizes;
4804
4804
  const Title = (_a) => {
4805
4805
  var { className = '', children = '', headingLevel: HeadingLevel, size, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["className", "children", "headingLevel", "size", "ouiaId", "ouiaSafe"]);
4806
4806
  const ouiaProps = useOUIAProps(Title.displayName, ouiaId, ouiaSafe);
4807
- return (React.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(styles$q.title, size ? styles$q.modifiers[size] : styles$q.modifiers[HeadingLevel], className) }), children));
4807
+ return (React.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(styles$u.title, size ? styles$u.modifiers[size] : styles$u.modifiers[HeadingLevel], className) }), children));
4808
4808
  };
4809
4809
  Title.displayName = 'Title';
4810
4810
 
@@ -4843,7 +4843,7 @@ var buttonStyles = {
4843
4843
  "spinner": "pf-v6-c-spinner"
4844
4844
  };
4845
4845
 
4846
- var styles$p = {
4846
+ var styles$t = {
4847
4847
  "modifiers": {
4848
4848
  "inline": "pf-m-inline",
4849
4849
  "sm": "pf-m-sm",
@@ -4857,7 +4857,7 @@ var styles$p = {
4857
4857
 
4858
4858
  const c_spinner_diameter = {
4859
4859
  "name": "--pf-v6-c-spinner--diameter",
4860
- "value": "1em",
4860
+ "value": "3.5rem",
4861
4861
  "var": "var(--pf-v6-c-spinner--diameter)"
4862
4862
  };
4863
4863
 
@@ -4872,23 +4872,24 @@ const Spinner = (_a) => {
4872
4872
  var {
4873
4873
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
4874
4874
  className = '', size = 'xl', 'aria-valuetext': ariaValueText = 'Loading...', diameter, isInline = false, 'aria-label': ariaLabel, 'aria-labelledBy': ariaLabelledBy } = _a, props = __rest$1(_a, ["className", "size", 'aria-valuetext', "diameter", "isInline", 'aria-label', 'aria-labelledBy']);
4875
- return (React.createElement("svg", Object.assign({ className: css(styles$p.spinner, isInline ? styles$p.modifiers.inline : styles$p.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText, viewBox: "0 0 100 100" }, (diameter && { style: { [c_spinner_diameter.name]: diameter } }), (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledBy && { 'aria-labelledBy': ariaLabelledBy }), (!ariaLabel && !ariaLabelledBy && { 'aria-label': 'Contents' }), props),
4876
- React.createElement("circle", { className: styles$p.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })));
4875
+ return (React.createElement("svg", Object.assign({ className: css(styles$t.spinner, isInline ? styles$t.modifiers.inline : styles$t.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText, viewBox: "0 0 100 100" }, (diameter && { style: { [c_spinner_diameter.name]: diameter } }), (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledBy && { 'aria-labelledBy': ariaLabelledBy }), (!ariaLabel && !ariaLabelledBy && { 'aria-label': 'Contents' }), props),
4876
+ React.createElement("circle", { className: styles$t.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })));
4877
4877
  };
4878
4878
  Spinner.displayName = 'Spinner';
4879
4879
 
4880
- var styles$o = {
4880
+ var styles$s = {
4881
4881
  "badge": "pf-v6-c-badge",
4882
4882
  "badgeToggleIcon": "pf-v6-c-badge__toggle-icon",
4883
4883
  "modifiers": {
4884
4884
  "read": "pf-m-read",
4885
- "unread": "pf-m-unread"
4885
+ "unread": "pf-m-unread",
4886
+ "disabled": "pf-m-disabled"
4886
4887
  }
4887
4888
  };
4888
4889
 
4889
4890
  const Badge = (_a) => {
4890
- var { isRead = false, className = '', children = '', screenReaderText } = _a, props = __rest$1(_a, ["isRead", "className", "children", "screenReaderText"]);
4891
- return (React.createElement("span", Object.assign({}, props, { className: css(styles$o.badge, (isRead ? styles$o.modifiers.read : styles$o.modifiers.unread), className) }),
4891
+ var { isRead = false, isDisabled = false, className = '', children = '', screenReaderText } = _a, props = __rest$1(_a, ["isRead", "isDisabled", "className", "children", "screenReaderText"]);
4892
+ return (React.createElement("span", Object.assign({}, props, { className: css(styles$s.badge, (isRead ? styles$s.modifiers.read : styles$s.modifiers.unread), isDisabled && styles$s.modifiers.disabled, className) }),
4892
4893
  children,
4893
4894
  screenReaderText && React.createElement("span", { className: "pf-v6-screen-reader" }, screenReaderText)));
4894
4895
  };
@@ -4947,12 +4948,11 @@ const ButtonBase = (_a) => {
4947
4948
  return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isAriaDisabled || (!isButtonElement && isDisabled), "aria-label": ariaLabel, className: css(buttonStyles.button, buttonStyles.modifiers[variant], isBlock && buttonStyles.modifiers.block, isDisabled && !isButtonElement && buttonStyles.modifiers.disabled, isAriaDisabled && buttonStyles.modifiers.ariaDisabled, isClicked && buttonStyles.modifiers.clicked, isInline && variant === ButtonVariant.link && buttonStyles.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && buttonStyles.modifiers.danger, isLoading !== null && variant !== ButtonVariant.plain && buttonStyles.modifiers.progress, isLoading && buttonStyles.modifiers.inProgress, hasNoPadding && variant === ButtonVariant.plain && buttonStyles.modifiers.noPadding, variant === ButtonVariant.stateful && buttonStyles.modifiers[state], size === ButtonSize.sm && buttonStyles.modifiers.small, size === ButtonSize.lg && buttonStyles.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : role, ref: innerRef }, ouiaProps),
4948
4949
  isLoading && (React.createElement("span", { className: css(buttonStyles.buttonProgress) },
4949
4950
  React.createElement(Spinner, { size: spinnerSize.md, isInline: isInline, "aria-valuetext": spinnerAriaValueText, "aria-label": spinnerAriaLabel, "aria-labelledby": spinnerAriaLabelledBy }))),
4950
- variant === ButtonVariant.plain && children === null && icon ? icon : null,
4951
- variant !== ButtonVariant.plain && icon && (iconPosition === 'start' || iconPosition === 'left') && (React.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.start) }, icon)),
4952
- children,
4953
- variant !== ButtonVariant.plain && icon && (iconPosition === 'end' || iconPosition === 'right') && (React.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.end) }, icon)),
4951
+ icon && (iconPosition === 'start' || iconPosition === 'left') && (React.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.start) }, icon)),
4952
+ children && React.createElement("span", { className: css('pf-v6-c-button__text') }, children),
4953
+ icon && (iconPosition === 'end' || iconPosition === 'right') && (React.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.end) }, icon)),
4954
4954
  countOptions && (React.createElement("span", { className: css(buttonStyles.buttonCount, countOptions.className) },
4955
- React.createElement(Badge, { isRead: countOptions.isRead }, countOptions.count)))));
4955
+ React.createElement(Badge, { isRead: countOptions.isRead, isDisabled: isDisabled }, countOptions.count)))));
4956
4956
  };
4957
4957
  const Button = React.forwardRef((props, ref) => (React.createElement(ButtonBase, Object.assign({ innerRef: ref }, props))));
4958
4958
  Button.displayName = 'Button';
@@ -4968,12 +4968,12 @@ const TimesIconConfig = {
4968
4968
 
4969
4969
  const TimesIcon = createIcon(TimesIconConfig);
4970
4970
 
4971
- var styles$n = {
4971
+ var styles$r = {
4972
4972
  "backdrop": "pf-v6-c-backdrop",
4973
4973
  "backdropOpen": "pf-v6-c-backdrop__open"
4974
4974
  };
4975
4975
 
4976
- var modalStyles = {
4976
+ var styles$q = {
4977
4977
  "button": "pf-v6-c-button",
4978
4978
  "modalBox": "pf-v6-c-modal-box",
4979
4979
  "modalBoxBody": "pf-v6-c-modal-box__body",
@@ -5000,33 +5000,32 @@ var modalStyles = {
5000
5000
  }
5001
5001
  };
5002
5002
 
5003
- var styles$m = {
5003
+ var styles$p = {
5004
5004
  "bullseye": "pf-v6-l-bullseye"
5005
5005
  };
5006
5006
 
5007
5007
  const Backdrop = (_a) => {
5008
5008
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5009
- return (React.createElement("div", Object.assign({}, props, { className: css(styles$n.backdrop, className) }), children));
5009
+ return (React.createElement("div", Object.assign({}, props, { className: css(styles$r.backdrop, className) }), children));
5010
5010
  };
5011
5011
  Backdrop.displayName = 'Backdrop';
5012
5012
 
5013
5013
  const ModalBoxBody = (_a) => {
5014
5014
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5015
- return (React.createElement("div", Object.assign({}, props, { className: css(modalStyles.modalBoxBody, className) }), children));
5015
+ return (React.createElement("div", Object.assign({}, props, { className: css(styles$q.modalBoxBody, className) }), children));
5016
5016
  };
5017
5017
  ModalBoxBody.displayName = 'ModalBoxBody';
5018
5018
 
5019
5019
  const ModalBoxCloseButton = (_a) => {
5020
5020
  var { className, onClose = () => undefined, 'aria-label': ariaLabel = 'Close', ouiaId } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label', "ouiaId"]);
5021
- return (React.createElement("div", { className: css(modalStyles.modalBoxClose, className) },
5022
- React.createElement(Button, Object.assign({ variant: "plain", onClick: (event) => onClose(event), "aria-label": ariaLabel }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props),
5023
- React.createElement(TimesIcon, null))));
5021
+ return (React.createElement("div", { className: css(styles$q.modalBoxClose, className) },
5022
+ React.createElement(Button, Object.assign({ variant: "plain", onClick: (event) => onClose(event), "aria-label": ariaLabel }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props, { icon: React.createElement(TimesIcon, null) }))));
5024
5023
  };
5025
5024
  ModalBoxCloseButton.displayName = 'ModalBoxCloseButton';
5026
5025
 
5027
5026
  const c_modal_box_m_align_top_spacer = {
5028
5027
  "name": "--pf-v6-c-modal-box--m-align-top--spacer",
5029
- "value": "8px",
5028
+ "value": "0.5rem",
5030
5029
  "var": "var(--pf-v6-c-modal-box--m-align-top--spacer)"
5031
5030
  };
5032
5031
 
@@ -5036,33 +5035,33 @@ const ModalBox = (_a) => {
5036
5035
  style = style || {};
5037
5036
  style[c_modal_box_m_align_top_spacer.name] = positionOffset;
5038
5037
  }
5039
- return (React.createElement("div", Object.assign({}, props, { role: "dialog", "aria-label": ariaLabel || null, "aria-labelledby": ariaLabelledby || null, "aria-describedby": ariaDescribedby, "aria-modal": "true", className: css(modalStyles.modalBox, className, position === 'top' && modalStyles.modifiers.alignTop, variant === 'large' && modalStyles.modifiers.lg, variant === 'small' && modalStyles.modifiers.sm, variant === 'medium' && modalStyles.modifiers.md), style: style }), children));
5038
+ return (React.createElement("div", Object.assign({}, props, { role: "dialog", "aria-label": ariaLabel || null, "aria-labelledby": ariaLabelledby || null, "aria-describedby": ariaDescribedby, "aria-modal": "true", className: css(styles$q.modalBox, className, position === 'top' && styles$q.modifiers.alignTop, variant === 'large' && styles$q.modifiers.lg, variant === 'small' && styles$q.modifiers.sm, variant === 'medium' && styles$q.modifiers.md), style: style }), children));
5040
5039
  };
5041
5040
  ModalBox.displayName = 'ModalBox';
5042
5041
 
5043
5042
  const ModalBoxFooter = (_a) => {
5044
5043
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5045
- return (React.createElement("footer", Object.assign({}, props, { className: css(modalStyles.modalBoxFooter, className) }), children));
5044
+ return (React.createElement("footer", Object.assign({}, props, { className: css(styles$q.modalBoxFooter, className) }), children));
5046
5045
  };
5047
5046
  ModalBoxFooter.displayName = 'ModalBoxFooter';
5048
5047
 
5049
5048
  const ModalBoxDescription = (_a) => {
5050
5049
  var { children = null, className = '', id = '' } = _a, props = __rest$1(_a, ["children", "className", "id"]);
5051
- return (React.createElement("div", Object.assign({}, props, { id: id, className: css(modalStyles.modalBoxDescription, className) }), children));
5050
+ return (React.createElement("div", Object.assign({}, props, { id: id, className: css(styles$q.modalBoxDescription, className) }), children));
5052
5051
  };
5053
5052
  ModalBoxDescription.displayName = 'ModalBoxDescription';
5054
5053
 
5055
5054
  const ModalBoxHeader = (_a) => {
5056
5055
  var { children = null, className = '', help = null } = _a, props = __rest$1(_a, ["children", "className", "help"]);
5057
- return (React.createElement("header", Object.assign({ className: css(modalStyles.modalBoxHeader, help && modalStyles.modifiers.help, className) }, props),
5056
+ return (React.createElement("header", Object.assign({ className: css(styles$q.modalBoxHeader, help && styles$q.modifiers.help, className) }, props),
5058
5057
  help && (React.createElement(React.Fragment, null,
5059
- React.createElement("div", { className: css(modalStyles.modalBoxHeaderMain) }, children),
5060
- React.createElement("div", { className: `${modalStyles.modalBoxHeader}-help` }, help))),
5058
+ React.createElement("div", { className: css(styles$q.modalBoxHeaderMain) }, children),
5059
+ React.createElement("div", { className: `${styles$q.modalBoxHeader}-help` }, help))),
5061
5060
  !help && children));
5062
5061
  };
5063
5062
  ModalBoxHeader.displayName = 'ModalBoxHeader';
5064
5063
 
5065
- var styles$l = {
5064
+ var styles$o = {
5066
5065
  "modifiers": {
5067
5066
  "top": "pf-m-top",
5068
5067
  "topLeft": "pf-m-top-left",
@@ -5085,13 +5084,13 @@ var styles$l = {
5085
5084
 
5086
5085
  const TooltipContent = (_a) => {
5087
5086
  var { className, children, isLeftAligned } = _a, props = __rest$1(_a, ["className", "children", "isLeftAligned"]);
5088
- return (React.createElement("div", Object.assign({ className: css(styles$l.tooltipContent, isLeftAligned && styles$l.modifiers.textAlignLeft, className) }, props), children));
5087
+ return (React.createElement("div", Object.assign({ className: css(styles$o.tooltipContent, isLeftAligned && styles$o.modifiers.textAlignLeft, className) }, props), children));
5089
5088
  };
5090
5089
  TooltipContent.displayName = 'TooltipContent';
5091
5090
 
5092
5091
  const TooltipArrow = (_a) => {
5093
5092
  var { className } = _a, props = __rest$1(_a, ["className"]);
5094
- return React.createElement("div", Object.assign({ className: css(styles$l.tooltipArrow, className) }, props));
5093
+ return React.createElement("div", Object.assign({ className: css(styles$o.tooltipArrow, className) }, props));
5095
5094
  };
5096
5095
  TooltipArrow.displayName = 'TooltipArrow';
5097
5096
 
@@ -5161,21 +5160,21 @@ const Tooltip = (_a) => {
5161
5160
  setVisible(false);
5162
5161
  };
5163
5162
  const positionModifiers = {
5164
- top: styles$l.modifiers.top,
5165
- bottom: styles$l.modifiers.bottom,
5166
- left: styles$l.modifiers.left,
5167
- right: styles$l.modifiers.right,
5168
- 'top-start': styles$l.modifiers.topLeft,
5169
- 'top-end': styles$l.modifiers.topRight,
5170
- 'bottom-start': styles$l.modifiers.bottomLeft,
5171
- 'bottom-end': styles$l.modifiers.bottomRight,
5172
- 'left-start': styles$l.modifiers.leftTop,
5173
- 'left-end': styles$l.modifiers.leftBottom,
5174
- 'right-start': styles$l.modifiers.rightTop,
5175
- 'right-end': styles$l.modifiers.rightBottom
5163
+ top: styles$o.modifiers.top,
5164
+ bottom: styles$o.modifiers.bottom,
5165
+ left: styles$o.modifiers.left,
5166
+ right: styles$o.modifiers.right,
5167
+ 'top-start': styles$o.modifiers.topLeft,
5168
+ 'top-end': styles$o.modifiers.topRight,
5169
+ 'bottom-start': styles$o.modifiers.bottomLeft,
5170
+ 'bottom-end': styles$o.modifiers.bottomRight,
5171
+ 'left-start': styles$o.modifiers.leftTop,
5172
+ 'left-end': styles$o.modifiers.leftBottom,
5173
+ 'right-start': styles$o.modifiers.rightTop,
5174
+ 'right-end': styles$o.modifiers.rightBottom
5176
5175
  };
5177
5176
  const hasCustomMaxWidth = maxWidth !== c_tooltip_MaxWidth.value;
5178
- const content = (React.createElement("div", Object.assign({ "aria-live": ariaLive, className: css(styles$l.tooltip, className), role: "tooltip", id: id, style: {
5177
+ const content = (React.createElement("div", Object.assign({ "aria-live": ariaLive, className: css(styles$o.tooltip, className), role: "tooltip", id: id, style: {
5179
5178
  maxWidth: hasCustomMaxWidth ? maxWidth : null
5180
5179
  }, ref: popperRef }, rest),
5181
5180
  React.createElement(TooltipArrow, null),
@@ -5223,10 +5222,10 @@ const ModalBoxTitle = (_a) => {
5223
5222
  useIsomorphicLayoutEffect(() => {
5224
5223
  setHasTooltip(h1.current && h1.current.offsetWidth < h1.current.scrollWidth);
5225
5224
  }, []);
5226
- const content = (React.createElement("h1", Object.assign({ id: id, ref: h1, className: css(modalStyles.modalBoxTitle, titleIconVariant && modalStyles.modifiers.icon, className) }, props),
5227
- titleIconVariant && (React.createElement("span", { className: css(modalStyles.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React.createElement(CustomIcon, null))),
5225
+ const content = (React.createElement("h1", Object.assign({ id: id, ref: h1, className: css(styles$q.modalBoxTitle, titleIconVariant && styles$q.modifiers.icon, className) }, props),
5226
+ titleIconVariant && (React.createElement("span", { className: css(styles$q.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React.createElement(CustomIcon, null))),
5228
5227
  label && React.createElement("span", { className: "pf-v6-screen-reader" }, label),
5229
- React.createElement("span", { className: css(modalStyles.modalBoxTitleText) }, title)));
5228
+ React.createElement("span", { className: css(styles$q.modalBoxTitleText) }, title)));
5230
5229
  return hasTooltip ? React.createElement(Tooltip, { content: title }, content) : content;
5231
5230
  };
5232
5231
  ModalBoxTitle.displayName = 'ModalBoxTitle';
@@ -5260,7 +5259,7 @@ const ModalContent = (_a) => {
5260
5259
  }
5261
5260
  return idRefList.join(' ');
5262
5261
  };
5263
- const modalBox = (React.createElement(ModalBox, Object.assign({ id: boxId, className: css(className, isVariantIcon(titleIconVariant) && modalStyles.modifiers[titleIconVariant]), variant: variant, position: position, positionOffset: positionOffset, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyFormatted(), "aria-describedby": ariaDescribedby || (hasNoBodyWrapper ? null : descriptorId) }, getOUIAProps(ModalContent.displayName, ouiaId, ouiaSafe), { style: Object.assign(Object.assign({}, (width && { '--pf-v6-c-modal-box--Width': typeof width !== 'number' ? width : `${width}px` })), (maxWidth && {
5262
+ const modalBox = (React.createElement(ModalBox, Object.assign({ id: boxId, className: css(className, isVariantIcon(titleIconVariant) && styles$q.modifiers[titleIconVariant]), variant: variant, position: position, positionOffset: positionOffset, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyFormatted(), "aria-describedby": ariaDescribedby || (hasNoBodyWrapper ? null : descriptorId) }, getOUIAProps(ModalContent.displayName, ouiaId, ouiaSafe), { style: Object.assign(Object.assign({}, (width && { '--pf-v6-c-modal-box--Width': typeof width !== 'number' ? width : `${width}px` })), (maxWidth && {
5264
5263
  '--pf-v6-c-modal-box--MaxWidth': typeof maxWidth !== 'number' ? maxWidth : `${maxWidth}px`
5265
5264
  })) }),
5266
5265
  showClose && React.createElement(ModalBoxCloseButton, { onClose: (event) => onClose(event), ouiaId: ouiaId }),
@@ -5274,7 +5273,7 @@ const ModalContent = (_a) => {
5274
5273
  // FocusTrap's initialFocus can accept false as a value to prevent initial focus.
5275
5274
  // We want to prevent this in case false is ever passed in.
5276
5275
  initialFocus: elementToFocus || undefined
5277
- }, className: css(styles$m.bullseye) }, modalBox)));
5276
+ }, className: css(styles$p.bullseye) }, modalBox)));
5278
5277
  };
5279
5278
  ModalContent.displayName = 'ModalContent';
5280
5279
 
@@ -5334,12 +5333,12 @@ class Modal$1 extends React.Component {
5334
5333
  target.appendChild(container);
5335
5334
  target.addEventListener('keydown', this.handleEscKeyClick, false);
5336
5335
  if (this.props.isOpen) {
5337
- target.classList.add(css(styles$n.backdropOpen));
5336
+ target.classList.add(css(styles$r.backdropOpen));
5338
5337
  }
5339
5338
  else {
5340
- target.classList.remove(css(styles$n.backdropOpen));
5339
+ target.classList.remove(css(styles$r.backdropOpen));
5341
5340
  }
5342
- if (this.isEmpty(title) && this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby)) {
5341
+ if (!title && this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby)) {
5343
5342
  // eslint-disable-next-line no-console
5344
5343
  console.error('Modal: Specify at least one of: title, aria-label, aria-labelledby.');
5345
5344
  }
@@ -5352,11 +5351,11 @@ class Modal$1 extends React.Component {
5352
5351
  const { appendTo } = this.props;
5353
5352
  const target = this.getElement(appendTo);
5354
5353
  if (this.props.isOpen) {
5355
- target.classList.add(css(styles$n.backdropOpen));
5354
+ target.classList.add(css(styles$r.backdropOpen));
5356
5355
  this.toggleSiblingsFromScreenReaders(true);
5357
5356
  }
5358
5357
  else {
5359
- target.classList.remove(css(styles$n.backdropOpen));
5358
+ target.classList.remove(css(styles$r.backdropOpen));
5360
5359
  this.toggleSiblingsFromScreenReaders(false);
5361
5360
  }
5362
5361
  }
@@ -5367,7 +5366,7 @@ class Modal$1 extends React.Component {
5367
5366
  target.removeChild(this.state.container);
5368
5367
  }
5369
5368
  target.removeEventListener('keydown', this.handleEscKeyClick, false);
5370
- target.classList.remove(css(styles$n.backdropOpen));
5369
+ target.classList.remove(css(styles$r.backdropOpen));
5371
5370
  this.toggleSiblingsFromScreenReaders(false);
5372
5371
  }
5373
5372
  render() {
@@ -5405,7 +5404,7 @@ Modal$1.defaultProps = {
5405
5404
  position: 'default'
5406
5405
  };
5407
5406
 
5408
- var styles$k = {
5407
+ var styles$n = {
5409
5408
  "accordion": "pf-v6-c-accordion",
5410
5409
  "accordionExpandableContent": "pf-v6-c-accordion__expandable-content",
5411
5410
  "accordionExpandableContentBody": "pf-v6-c-accordion__expandable-content-body",
@@ -5429,7 +5428,7 @@ const AccordionItemContext = React.createContext({});
5429
5428
  const Accordion = (_a) => {
5430
5429
  var { children = null, className = '', 'aria-label': ariaLabel, headingLevel = 'h3', asDefinitionList = true, isBordered = false, displaySize = 'default', togglePosition = 'end' } = _a, props = __rest$1(_a, ["children", "className", 'aria-label', "headingLevel", "asDefinitionList", "isBordered", "displaySize", "togglePosition"]);
5431
5430
  const AccordionList = asDefinitionList ? 'dl' : 'div';
5432
- return (React.createElement(AccordionList, Object.assign({ className: css(styles$k.accordion, isBordered && styles$k.modifiers.bordered, togglePosition === 'start' && styles$k.modifiers.toggleStart, displaySize === 'lg' && styles$k.modifiers.displayLg, className), "aria-label": ariaLabel }, (!asDefinitionList && ariaLabel && { role: 'region' }), props),
5431
+ return (React.createElement(AccordionList, Object.assign({ className: css(styles$n.accordion, isBordered && styles$n.modifiers.bordered, togglePosition === 'start' && styles$n.modifiers.toggleStart, displaySize === 'lg' && styles$n.modifiers.displayLg, className), "aria-label": ariaLabel }, (!asDefinitionList && ariaLabel && { role: 'region' }), props),
5433
5432
  React.createElement(AccordionContext.Provider, { value: {
5434
5433
  ContentContainer: asDefinitionList ? 'dd' : 'div',
5435
5434
  ToggleContainer: asDefinitionList ? 'dt' : headingLevel,
@@ -5438,11 +5437,14 @@ const Accordion = (_a) => {
5438
5437
  };
5439
5438
  Accordion.displayName = 'Accordion';
5440
5439
 
5441
- const AccordionExpandableContentBody = ({ children = null }) => React.createElement("div", { className: css(styles$k.accordionExpandableContentBody) }, children);
5440
+ const AccordionExpandableContentBody = (_a) => {
5441
+ var { children = null } = _a, props = __rest$1(_a, ["children"]);
5442
+ return (React.createElement("div", Object.assign({ className: css(styles$n.accordionExpandableContentBody) }, props), children));
5443
+ };
5442
5444
  AccordionExpandableContentBody.displayName = 'AccordionExpandableContentBody';
5443
5445
 
5444
5446
  const AccordionContent = (_a) => {
5445
- var { className = '', children = null, id = '', isFixed = false, isCustomContent = false, 'aria-label': ariaLabel = '', 'aria-labelledby': ariaLabelledby, component } = _a, props = __rest$1(_a, ["className", "children", "id", "isFixed", "isCustomContent", 'aria-label', 'aria-labelledby', "component"]);
5447
+ var { className = '', children = null, id = '', isFixed = false, isCustomContent = false, 'aria-label': ariaLabel = '', 'aria-labelledby': ariaLabelledby, component, contentBodyProps } = _a, props = __rest$1(_a, ["className", "children", "id", "isFixed", "isCustomContent", 'aria-label', 'aria-labelledby', "component", "contentBodyProps"]);
5446
5448
  const [hasScrollbar, setHasScrollbar] = React.useState(false);
5447
5449
  const containerRef = React.useRef(null);
5448
5450
  const { isExpanded } = React.useContext(AccordionItemContext);
@@ -5457,15 +5459,18 @@ const AccordionContent = (_a) => {
5457
5459
  }, [containerRef, isFixed, isExpanded]);
5458
5460
  return (React.createElement(AccordionContext.Consumer, null, ({ ContentContainer }) => {
5459
5461
  const Container = component || ContentContainer;
5460
- return (React.createElement(Container, Object.assign({ ref: containerRef, id: id, className: css(styles$k.accordionExpandableContent, isFixed && styles$k.modifiers.fixed, className), hidden: !isExpanded }, (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledby && { 'aria-labelledby': ariaLabelledby }), (hasScrollbar && { tabIndex: 0 }), (hasScrollbar && Container === 'div' && { role: 'region' }), props), isCustomContent ? children : React.createElement(AccordionExpandableContentBody, null, children)));
5462
+ return (React.createElement(Container, Object.assign({ ref: containerRef, id: id, className: css(styles$n.accordionExpandableContent, isFixed && styles$n.modifiers.fixed, className), hidden: !isExpanded }, (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledby && { 'aria-labelledby': ariaLabelledby }), (hasScrollbar && { tabIndex: 0 }), (hasScrollbar && Container === 'div' && { role: 'region' }), props), isCustomContent ? (children) : (React.createElement(AccordionExpandableContentBody, Object.assign({}, contentBodyProps), children))));
5461
5463
  }));
5462
5464
  };
5463
5465
  AccordionContent.displayName = 'AccordionContent';
5464
5466
 
5465
- const AccordionItem = ({ children = null, className, isExpanded: isExpandedProp = false }) => (React.createElement(AccordionItemContext.Provider, { value: {
5466
- isExpanded: isExpandedProp
5467
- } },
5468
- React.createElement("div", { className: css(styles$k.accordionItem, isExpandedProp && styles$k.modifiers.expanded, className) }, children)));
5467
+ const AccordionItem = (_a) => {
5468
+ var { children = null, className, isExpanded: isExpandedProp = false } = _a, props = __rest$1(_a, ["children", "className", "isExpanded"]);
5469
+ return (React.createElement(AccordionItemContext.Provider, { value: {
5470
+ isExpanded: isExpandedProp
5471
+ } },
5472
+ React.createElement("div", Object.assign({ className: css(styles$n.accordionItem, isExpandedProp && styles$n.modifiers.expanded, className) }, props), children)));
5473
+ };
5469
5474
  AccordionItem.displayName = 'AccordionItem';
5470
5475
 
5471
5476
  const AngleRightIconConfig = {
@@ -5481,22 +5486,48 @@ const AngleRightIcon = createIcon(AngleRightIconConfig);
5481
5486
 
5482
5487
  const AccordionToggle = (_a) => {
5483
5488
  var { className = '', id, children = null, component } = _a, props = __rest$1(_a, ["className", "id", "children", "component"]);
5484
- const renderToggleIcon = () => (React.createElement("span", { className: css(styles$k.accordionToggleIcon) },
5489
+ const renderToggleIcon = () => (React.createElement("span", { className: css(styles$n.accordionToggleIcon) },
5485
5490
  React.createElement(AngleRightIcon, null)));
5486
5491
  const { isExpanded } = React.useContext(AccordionItemContext);
5487
5492
  return (React.createElement(AccordionContext.Consumer, null, ({ ToggleContainer, togglePosition }) => {
5488
5493
  const Container = component || ToggleContainer;
5489
5494
  const isToggleStartPositioned = togglePosition === 'start';
5490
5495
  return (React.createElement(Container, null,
5491
- React.createElement("button", Object.assign({ id: id, className: css(styles$k.accordionToggle, isExpanded && styles$k.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
5496
+ React.createElement("button", Object.assign({ id: id, className: css(styles$n.accordionToggle, isExpanded && styles$n.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
5492
5497
  isToggleStartPositioned && renderToggleIcon(),
5493
- React.createElement("span", { className: css(styles$k.accordionToggleText) }, children),
5498
+ React.createElement("span", { className: css(styles$n.accordionToggleText) }, children),
5494
5499
  !isToggleStartPositioned && renderToggleIcon())));
5495
5500
  }));
5496
5501
  };
5497
5502
  AccordionToggle.displayName = 'AccordionToggle';
5498
5503
 
5499
- var styles$j = {
5504
+ var styles$m = {
5505
+ "actionList": "pf-v6-c-action-list",
5506
+ "actionListGroup": "pf-v6-c-action-list__group",
5507
+ "modifiers": {
5508
+ "icons": "pf-m-icons"
5509
+ }
5510
+ };
5511
+
5512
+ const ActionList = (_a) => {
5513
+ var { children, isIconList, className } = _a, props = __rest$1(_a, ["children", "isIconList", "className"]);
5514
+ return (React.createElement("div", Object.assign({ className: css(styles$m.actionList, isIconList && styles$m.modifiers.icons, className) }, props), children));
5515
+ };
5516
+ ActionList.displayName = 'ActionList';
5517
+
5518
+ const ActionListGroup = (_a) => {
5519
+ var { children, className, isIconGroup } = _a, props = __rest$1(_a, ["children", "className", "isIconGroup"]);
5520
+ return (React.createElement("div", Object.assign({ className: css(styles$m.actionListGroup, isIconGroup && styles$m.modifiers.icons, className) }, props), children));
5521
+ };
5522
+ ActionListGroup.displayName = 'ActionListGroup';
5523
+
5524
+ const ActionListItem = (_a) => {
5525
+ var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
5526
+ return (React.createElement("div", Object.assign({ className: css(`${styles$m.actionList}__item`, className) }, props), children));
5527
+ };
5528
+ ActionListItem.displayName = 'ActionListItem';
5529
+
5530
+ var styles$l = {
5500
5531
  "alert": "pf-v6-c-alert",
5501
5532
  "alertAction": "pf-v6-c-alert__action",
5502
5533
  "alertActionGroup": "pf-v6-c-alert__action-group",
@@ -5531,7 +5562,7 @@ const variantIcons = {
5531
5562
  const AlertIcon = (_a) => {
5532
5563
  var { variant, customIcon, className = '' } = _a, props = __rest$1(_a, ["variant", "customIcon", "className"]);
5533
5564
  const Icon = variantIcons[variant];
5534
- return Icon ? (React.createElement("div", Object.assign({}, props, { className: css(styles$j.alertIcon, className) }), customIcon || React.createElement(Icon, null))) : null;
5565
+ return Icon ? (React.createElement("div", Object.assign({}, props, { className: css(styles$l.alertIcon, className) }), customIcon || React.createElement(Icon, null))) : null;
5535
5566
  };
5536
5567
 
5537
5568
  const AlertContext = React.createContext(null);
@@ -5545,9 +5576,8 @@ const c_alert__title_max_lines = {
5545
5576
  const AlertToggleExpandButton = (_a) => {
5546
5577
  var { 'aria-label': ariaLabel = '', variantLabel, onToggleExpand, isExpanded = false } = _a, props = __rest$1(_a, ['aria-label', "variantLabel", "onToggleExpand", "isExpanded"]);
5547
5578
  const { title, variantLabel: alertVariantLabel } = React.useContext(AlertContext);
5548
- return (React.createElement(Button, Object.assign({ variant: ButtonVariant.plain, onClick: onToggleExpand, "aria-expanded": isExpanded, "aria-label": ariaLabel === '' ? `Toggle ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel }, props),
5549
- React.createElement("span", { className: css(styles$j.alertToggleIcon) },
5550
- React.createElement(AngleRightIcon, { "aria-hidden": "true" }))));
5579
+ return (React.createElement(Button, Object.assign({ variant: ButtonVariant.plain, onClick: onToggleExpand, "aria-expanded": isExpanded, "aria-label": ariaLabel === '' ? `Toggle ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel }, props, { icon: React.createElement("span", { className: css(styles$l.alertToggleIcon) },
5580
+ React.createElement(AngleRightIcon, { "aria-hidden": "true" })) })));
5551
5581
  };
5552
5582
  AlertToggleExpandButton.displayName = 'AlertToggleExpandButton';
5553
5583
 
@@ -5631,20 +5661,20 @@ const Alert = (_a) => {
5631
5661
  if (dismissed) {
5632
5662
  return null;
5633
5663
  }
5634
- const Title = (React.createElement(TitleComponent, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(styles$j.alertTitle, truncateTitle && styles$j.modifiers.truncate) }), getHeadingContent));
5635
- return (React.createElement("div", Object.assign({ ref: divRef, className: css(styles$j.alert, isInline && styles$j.modifiers.inline, isPlain && styles$j.modifiers.plain, isExpandable && styles$j.modifiers.expandable, isExpanded && styles$j.modifiers.expanded, styles$j.modifiers[variant], className) }, ouiaProps, (isLiveRegion && {
5664
+ const Title = (React.createElement(TitleComponent, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(styles$l.alertTitle, truncateTitle && styles$l.modifiers.truncate) }), getHeadingContent));
5665
+ return (React.createElement("div", Object.assign({ ref: divRef, className: css(styles$l.alert, isInline && styles$l.modifiers.inline, isPlain && styles$l.modifiers.plain, isExpandable && styles$l.modifiers.expandable, isExpanded && styles$l.modifiers.expanded, styles$l.modifiers[variant], className) }, ouiaProps, (isLiveRegion && {
5636
5666
  'aria-live': 'polite',
5637
5667
  'aria-atomic': 'false'
5638
5668
  }), { onMouseEnter: myOnMouseEnter, onMouseLeave: myOnMouseLeave, id: id }, props),
5639
5669
  isExpandable && (React.createElement(AlertContext.Provider, { value: { title, variantLabel } },
5640
- React.createElement("div", { className: css(styles$j.alertToggle) },
5670
+ React.createElement("div", { className: css(styles$l.alertToggle) },
5641
5671
  React.createElement(AlertToggleExpandButton, { isExpanded: isExpanded, onToggleExpand: onToggleExpand, "aria-label": toggleAriaLabel })))),
5642
5672
  React.createElement(AlertIcon, { variant: variant, customIcon: customIcon }),
5643
5673
  isTooltipVisible ? (React.createElement(Tooltip, { content: getHeadingContent, position: tooltipPosition }, Title)) : (Title),
5644
5674
  actionClose && (React.createElement(AlertContext.Provider, { value: { title, variantLabel } },
5645
- React.createElement("div", { className: css(styles$j.alertAction) }, actionClose))),
5646
- children && (!isExpandable || (isExpandable && isExpanded)) && (React.createElement("div", { className: css(styles$j.alertDescription) }, children)),
5647
- actionLinks && React.createElement("div", { className: css(styles$j.alertActionGroup) }, actionLinks)));
5675
+ React.createElement("div", { className: css(styles$l.alertAction) }, actionClose))),
5676
+ children && (!isExpandable || (isExpandable && isExpanded)) && (React.createElement("div", { className: css(styles$l.alertDescription) }, children)),
5677
+ actionLinks && React.createElement("div", { className: css(styles$l.alertActionGroup) }, actionLinks)));
5648
5678
  };
5649
5679
  Alert.displayName = 'Alert';
5650
5680
 
@@ -5668,13 +5698,12 @@ var breadcrumbStyles = {
5668
5698
  "breadcrumbLink": "pf-v6-c-breadcrumb__link",
5669
5699
  "breadcrumbList": "pf-v6-c-breadcrumb__list",
5670
5700
  "dirRtl": "pf-v6-m-dir-rtl",
5671
- "menuToggle": "pf-v6-c-menu-toggle",
5672
5701
  "modifiers": {
5673
5702
  "current": "pf-m-current"
5674
5703
  }
5675
5704
  };
5676
5705
 
5677
- var formStyles$1 = {
5706
+ var formStyles = {
5678
5707
  "formControl": "pf-v6-c-form-control",
5679
5708
  "formControlIcon": "pf-v6-c-form-control__icon",
5680
5709
  "formControlToggleIcon": "pf-v6-c-form-control__toggle-icon",
@@ -5704,7 +5733,7 @@ const statusIcons$1 = {
5704
5733
  const FormControlIcon = (_a) => {
5705
5734
  var { status, customIcon, className } = _a, props = __rest$1(_a, ["status", "customIcon", "className"]);
5706
5735
  const StatusIcon = status && statusIcons$1[status];
5707
- return (React.createElement("span", Object.assign({ className: css(formStyles$1.formControlIcon, status && formStyles$1.modifiers.status, className) }, props), customIcon || React.createElement(StatusIcon, null)));
5736
+ return (React.createElement("span", Object.assign({ className: css(formStyles.formControlIcon, status && formStyles.modifiers.status, className) }, props), customIcon || React.createElement(StatusIcon, null)));
5708
5737
  };
5709
5738
 
5710
5739
  var TextInputTypes;
@@ -5793,9 +5822,9 @@ class TextInputBase extends React.Component {
5793
5822
  const ariaExpandedProps = expandedProps
5794
5823
  ? { 'aria-expanded': expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.isExpanded, 'aria-controls': expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.ariaControls, role: 'combobox' }
5795
5824
  : {};
5796
- return (React.createElement("span", { className: css(formStyles$1.formControl, readOnlyVariant && formStyles$1.modifiers.readonly, readOnlyVariant === 'plain' && formStyles$1.modifiers.plain, isDisabled && formStyles$1.modifiers.disabled, (isExpanded || (expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.isExpanded)) && formStyles$1.modifiers.expanded, customIcon && formStyles$1.modifiers.icon, hasStatusIcon && formStyles$1.modifiers[validated], className) },
5825
+ return (React.createElement("span", { className: css(formStyles.formControl, readOnlyVariant && formStyles.modifiers.readonly, readOnlyVariant === 'plain' && formStyles.modifiers.plain, isDisabled && formStyles.modifiers.disabled, (isExpanded || (expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.isExpanded)) && formStyles.modifiers.expanded, customIcon && formStyles.modifiers.icon, hasStatusIcon && formStyles.modifiers[validated], className) },
5797
5826
  React.createElement("input", Object.assign({}, props, { onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange, type: type, value: this.sanitizeInputValue(value), "aria-invalid": props['aria-invalid'] ? props['aria-invalid'] : validated === ValidatedOptions.error }, ariaExpandedProps, { required: isRequired, disabled: isDisabled, readOnly: !!readOnlyVariant || readOnly, ref: innerRef || this.inputRef, placeholder: placeholder }, getOUIAProps(TextInput.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))),
5798
- (customIcon || hasStatusIcon) && (React.createElement("span", { className: css(formStyles$1.formControlUtilities) },
5827
+ (customIcon || hasStatusIcon) && (React.createElement("span", { className: css(formStyles.formControlUtilities) },
5799
5828
  customIcon && React.createElement(FormControlIcon, { customIcon: customIcon }),
5800
5829
  hasStatusIcon && React.createElement(FormControlIcon, { status: validated })))));
5801
5830
  }
@@ -6167,7 +6196,7 @@ const CheckIconConfig = {
6167
6196
 
6168
6197
  const CheckIcon = createIcon(CheckIconConfig);
6169
6198
 
6170
- var styles$i = {
6199
+ var styles$k = {
6171
6200
  "check": "pf-v6-c-check",
6172
6201
  "checkBody": "pf-v6-c-check__body",
6173
6202
  "checkDescription": "pf-v6-c-check__description",
@@ -6208,22 +6237,22 @@ class Checkbox extends React.Component {
6208
6237
  if ([false, true].includes(defaultChecked)) {
6209
6238
  checkedProps.defaultChecked = defaultChecked;
6210
6239
  }
6211
- const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(styles$i.checkInput, inputClassName), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, required: isRequired, ref: (elem) => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
6240
+ const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(styles$k.checkInput, inputClassName), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, required: isRequired, ref: (elem) => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
6212
6241
  const wrapWithLabel = (isLabelWrapped && !component) || component === 'label';
6213
6242
  const Label = wrapWithLabel ? 'span' : 'label';
6214
- const labelRendered = label ? (React.createElement(Label, { className: css(styles$i.checkLabel, isDisabled && styles$i.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined },
6243
+ const labelRendered = label ? (React.createElement(Label, { className: css(styles$k.checkLabel, isDisabled && styles$k.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined },
6215
6244
  label,
6216
- isRequired && (React.createElement("span", { className: css(styles$i.checkLabelRequired), "aria-hidden": "true" }, ASTERISK)))) : null;
6245
+ isRequired && (React.createElement("span", { className: css(styles$k.checkLabelRequired), "aria-hidden": "true" }, ASTERISK)))) : null;
6217
6246
  const Component = component !== null && component !== void 0 ? component : (wrapWithLabel ? 'label' : 'div');
6218
6247
  checkedProps.checked = checkedProps.checked === null ? false : checkedProps.checked;
6219
- return (React.createElement(Component, { className: css(styles$i.check, !label && styles$i.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6248
+ return (React.createElement(Component, { className: css(styles$k.check, !label && styles$k.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6220
6249
  labelPosition === 'start' ? (React.createElement(React.Fragment, null,
6221
6250
  labelRendered,
6222
6251
  inputRendered)) : (React.createElement(React.Fragment, null,
6223
6252
  inputRendered,
6224
6253
  labelRendered)),
6225
- description && React.createElement("span", { className: css(styles$i.checkDescription) }, description),
6226
- body && React.createElement("span", { className: css(styles$i.checkBody) }, body)));
6254
+ description && React.createElement("span", { className: css(styles$k.checkDescription) }, description),
6255
+ body && React.createElement("span", { className: css(styles$k.checkBody) }, body)));
6227
6256
  }
6228
6257
  }
6229
6258
  Checkbox.displayName = 'Checkbox';
@@ -6259,7 +6288,7 @@ const MenuItemActionBase = (_a) => {
6259
6288
  onActionClick && onActionClick(event, itemId, actionId);
6260
6289
  };
6261
6290
  return (React.createElement("div", Object.assign({ className: css(menuStyles.menuItemAction, isFavorited !== null && 'pf-m-favorite', isFavorited && menuStyles.modifiers.favorited, className) }, props),
6262
- React.createElement(Button, { "aria-label": ariaLabel, onClick: onClickButton, ref: innerRef, role: "menuitem", variant: "plain", tabIndex: -1, isDisabled: isDisabled || isDisabledContext }, icon === 'favorites' || isFavorited !== null ? React.createElement(StarIcon, { "aria-hidden": true }) : icon)));
6291
+ React.createElement(Button, { "aria-label": ariaLabel, onClick: onClickButton, ref: innerRef, role: "menuitem", variant: "plain", tabIndex: -1, isDisabled: isDisabled || isDisabledContext, icon: icon === 'favorites' || isFavorited !== null ? React.createElement(StarIcon, { "aria-hidden": true }) : icon })));
6263
6292
  }))));
6264
6293
  };
6265
6294
  const MenuItemAction = React.forwardRef((props, ref) => (React.createElement(MenuItemActionBase, Object.assign({}, props, { innerRef: ref }))));
@@ -6576,7 +6605,7 @@ const SelectOptionBase = (_a) => {
6576
6605
  const SelectOption = React__default.forwardRef((props, ref) => (React__default.createElement(SelectOptionBase, Object.assign({}, props, { innerRef: ref }))));
6577
6606
  SelectOption.displayName = 'SelectOption';
6578
6607
 
6579
- var styles$h = {
6608
+ var styles$j = {
6580
6609
  "button": "pf-v6-c-button",
6581
6610
  "check": "pf-v6-c-check",
6582
6611
  "checkInput": "pf-v6-c-check__input",
@@ -6595,7 +6624,6 @@ var styles$h = {
6595
6624
  "fullWidth": "pf-m-full-width",
6596
6625
  "plain": "pf-m-plain",
6597
6626
  "expanded": "pf-m-expanded",
6598
- "active": "pf-m-active",
6599
6627
  "disabled": "pf-m-disabled",
6600
6628
  "small": "pf-m-small",
6601
6629
  "success": "pf-m-success",
@@ -6603,7 +6631,8 @@ var styles$h = {
6603
6631
  "danger": "pf-m-danger",
6604
6632
  "splitButton": "pf-m-split-button",
6605
6633
  "action": "pf-m-action",
6606
- "typeahead": "pf-m-typeahead"
6634
+ "typeahead": "pf-m-typeahead",
6635
+ "text": "pf-m-text"
6607
6636
  },
6608
6637
  "textInputGroup": "pf-v6-c-text-input-group"
6609
6638
  };
@@ -6629,12 +6658,16 @@ class MenuToggleBase extends React.Component {
6629
6658
  constructor() {
6630
6659
  super(...arguments);
6631
6660
  this.displayName = 'MenuToggleBase';
6661
+ this.state = {
6662
+ ouiaStateId: getDefaultOUIAId(MenuToggle.displayName, this.props.variant)
6663
+ };
6632
6664
  }
6633
6665
  render() {
6634
- const _a = this.props, { children, className, icon, badge, isExpanded, isDisabled, isFullHeight, isFullWidth, splitButtonOptions, variant, status, statusIcon, innerRef, onClick, 'aria-label': ariaLabel } = _a, otherProps = __rest$1(_a, ["children", "className", "icon", "badge", "isExpanded", "isDisabled", "isFullHeight", "isFullWidth", "splitButtonOptions", "variant", "status", "statusIcon", "innerRef", "onClick", 'aria-label']);
6666
+ const _a = this.props, { children, className, icon, badge, isExpanded, isDisabled, isFullHeight, isFullWidth, splitButtonOptions, variant, status, statusIcon, innerRef, onClick, 'aria-label': ariaLabel, ouiaId, ouiaSafe } = _a, otherProps = __rest$1(_a, ["children", "className", "icon", "badge", "isExpanded", "isDisabled", "isFullHeight", "isFullWidth", "splitButtonOptions", "variant", "status", "statusIcon", "innerRef", "onClick", 'aria-label', "ouiaId", "ouiaSafe"]);
6635
6667
  const isPlain = variant === 'plain';
6636
6668
  const isPlainText = variant === 'plainText';
6637
6669
  const isTypeahead = variant === 'typeahead';
6670
+ const ouiaProps = getOUIAProps(MenuToggle.displayName, ouiaId !== null && ouiaId !== void 0 ? ouiaId : this.state.ouiaStateId, ouiaSafe);
6638
6671
  let _statusIcon = statusIcon;
6639
6672
  if (!statusIcon) {
6640
6673
  switch (status) {
@@ -6649,28 +6682,28 @@ class MenuToggleBase extends React.Component {
6649
6682
  break;
6650
6683
  }
6651
6684
  }
6652
- const toggleControls = (React.createElement("span", { className: css(styles$h.menuToggleControls) },
6653
- status !== undefined && React.createElement("span", { className: css(styles$h.menuToggleStatusIcon) }, _statusIcon),
6654
- React.createElement("span", { className: css(styles$h.menuToggleToggleIcon) },
6685
+ const toggleControls = (React.createElement("span", { className: css(styles$j.menuToggleControls) },
6686
+ status !== undefined && React.createElement("span", { className: css(styles$j.menuToggleStatusIcon) }, _statusIcon),
6687
+ React.createElement("span", { className: css(styles$j.menuToggleToggleIcon) },
6655
6688
  React.createElement(CaretDownIcon, { "aria-hidden": true }))));
6656
6689
  const content = (React.createElement(React.Fragment, null,
6657
- icon && React.createElement("span", { className: css(styles$h.menuToggleIcon) }, icon),
6658
- isTypeahead ? children : children && React.createElement("span", { className: css(styles$h.menuToggleText) }, children),
6659
- React.isValidElement(badge) && React.createElement("span", { className: css(styles$h.menuToggleCount) }, badge),
6660
- isTypeahead ? (React.createElement("button", { type: "button", className: css(styles$h.menuToggleButton), "aria-expanded": isExpanded, onClick: onClick, "aria-label": ariaLabel || 'Menu toggle', tabIndex: -1 }, toggleControls)) : (!isPlain && toggleControls)));
6661
- const commonStyles = css(styles$h.menuToggle, isExpanded && styles$h.modifiers.expanded, variant === 'primary' && styles$h.modifiers.primary, variant === 'secondary' && styles$h.modifiers.secondary, status && styles$h.modifiers[status], (isPlain || isPlainText) && styles$h.modifiers.plain, isPlainText && 'pf-m-text', isFullHeight && styles$h.modifiers.fullHeight, isFullWidth && styles$h.modifiers.fullWidth, isDisabled && styles$h.modifiers.disabled, className);
6690
+ icon && React.createElement("span", { className: css(styles$j.menuToggleIcon) }, icon),
6691
+ isTypeahead ? children : children && React.createElement("span", { className: css(styles$j.menuToggleText) }, children),
6692
+ React.isValidElement(badge) && React.createElement("span", { className: css(styles$j.menuToggleCount) }, badge),
6693
+ isTypeahead ? (React.createElement("button", Object.assign({ type: "button", className: css(styles$j.menuToggleButton), "aria-expanded": isExpanded, onClick: onClick, "aria-label": ariaLabel || 'Menu toggle', tabIndex: -1 }, ouiaProps), toggleControls)) : (!isPlain && toggleControls)));
6694
+ const commonStyles = css(styles$j.menuToggle, isExpanded && styles$j.modifiers.expanded, variant === 'primary' && styles$j.modifiers.primary, variant === 'secondary' && styles$j.modifiers.secondary, status && styles$j.modifiers[status], (isPlain || isPlainText) && styles$j.modifiers.plain, isPlainText && 'pf-m-text', isFullHeight && styles$j.modifiers.fullHeight, isFullWidth && styles$j.modifiers.fullWidth, isDisabled && styles$j.modifiers.disabled, className);
6662
6695
  const componentProps = Object.assign(Object.assign({ children: content }, (isDisabled && { disabled: true })), otherProps);
6663
6696
  if (isTypeahead) {
6664
- return (React.createElement("div", Object.assign({ ref: innerRef, className: css(commonStyles, styles$h.modifiers.typeahead) }, componentProps)));
6697
+ return (React.createElement("div", Object.assign({ ref: innerRef, className: css(commonStyles, styles$j.modifiers.typeahead) }, componentProps)));
6665
6698
  }
6666
6699
  if (splitButtonOptions) {
6667
- return (React.createElement("div", { ref: innerRef, className: css(commonStyles, styles$h.modifiers.splitButton, (splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 : splitButtonOptions.variant) === 'action' && styles$h.modifiers.action) }, splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 :
6700
+ return (React.createElement("div", { ref: innerRef, className: css(commonStyles, styles$j.modifiers.splitButton, (splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 : splitButtonOptions.variant) === 'action' && styles$j.modifiers.action) }, splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 :
6668
6701
  splitButtonOptions.items,
6669
- React.createElement("button", Object.assign({ className: css(styles$h.menuToggleButton), type: "button", "aria-expanded": isExpanded, "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick }, (children && { style: { display: 'flex', paddingLeft: 'var(--pf-v5-global--spacer--sm)' } }), otherProps),
6670
- children && React.createElement("span", { className: css(styles$h.menuToggleText) }, children),
6702
+ React.createElement("button", Object.assign({ className: css(styles$j.menuToggleButton, children && styles$j.modifiers.text), type: "button", "aria-expanded": isExpanded, "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick }, otherProps, ouiaProps),
6703
+ children && React.createElement("span", { className: css(styles$j.menuToggleText) }, children),
6671
6704
  toggleControls)));
6672
6705
  }
6673
- return (React.createElement("button", Object.assign({ className: css(commonStyles), type: "button", "aria-label": ariaLabel, "aria-expanded": isExpanded, ref: innerRef, disabled: isDisabled, onClick: onClick }, componentProps)));
6706
+ return (React.createElement("button", Object.assign({ className: css(commonStyles), type: "button", "aria-label": ariaLabel, "aria-expanded": isExpanded, ref: innerRef, disabled: isDisabled, onClick: onClick }, componentProps, ouiaProps)));
6674
6707
  }
6675
6708
  }
6676
6709
  MenuToggleBase.defaultProps = {
@@ -6678,12 +6711,13 @@ MenuToggleBase.defaultProps = {
6678
6711
  isExpanded: false,
6679
6712
  isDisabled: false,
6680
6713
  isFullWidth: false,
6681
- isFullHeight: false
6714
+ isFullHeight: false,
6715
+ ouiaSafe: true
6682
6716
  };
6683
6717
  const MenuToggle = React.forwardRef((props, ref) => (React.createElement(MenuToggleBase, Object.assign({ innerRef: ref }, props))));
6684
6718
  MenuToggle.displayName = 'MenuToggle';
6685
6719
 
6686
- var styles$g = {
6720
+ var styles$i = {
6687
6721
  "inputGroup": "pf-v6-c-input-group",
6688
6722
  "inputGroupItem": "pf-v6-c-input-group__item",
6689
6723
  "inputGroupText": "pf-v6-c-input-group__text",
@@ -6699,7 +6733,7 @@ const InputGroupBase = (_a) => {
6699
6733
  var { className, children, innerRef } = _a, props = __rest$1(_a, ["className", "children", "innerRef"]);
6700
6734
  const ref = React.useRef(null);
6701
6735
  const inputGroupRef = innerRef || ref;
6702
- return (React.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$g.inputGroup, className) }, props), children));
6736
+ return (React.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$i.inputGroup, className) }, props), children));
6703
6737
  };
6704
6738
  InputGroupBase.displayName = 'InputGroupBase';
6705
6739
  const InputGroup = React.forwardRef((props, ref) => (React.createElement(InputGroupBase, Object.assign({ innerRef: ref }, props))));
@@ -6707,11 +6741,12 @@ InputGroup.displayName = 'InputGroup';
6707
6741
 
6708
6742
  const InputGroupItem = (_a) => {
6709
6743
  var { className, children, isFill = false, isBox = false, isPlain, isDisabled } = _a, props = __rest$1(_a, ["className", "children", "isFill", "isBox", "isPlain", "isDisabled"]);
6710
- return (React.createElement("div", Object.assign({ className: css(styles$g.inputGroupItem, isFill && styles$g.modifiers.fill, isBox && styles$g.modifiers.box, isPlain && styles$g.modifiers.plain, isDisabled && styles$g.modifiers.disabled, className) }, props), children));
6744
+ return (React.createElement("div", Object.assign({ className: css(styles$i.inputGroupItem, isFill && styles$i.modifiers.fill, isBox && styles$i.modifiers.box, isPlain && styles$i.modifiers.plain, isDisabled && styles$i.modifiers.disabled, className) }, props), children));
6711
6745
  };
6712
6746
  InputGroupItem.displayName = 'InputGroupItem';
6713
6747
 
6714
- var styles$f = {
6748
+ var styles$h = {
6749
+ "button": "pf-v6-c-button",
6715
6750
  "card": "pf-v6-c-card",
6716
6751
  "cardActions": "pf-v6-c-card__actions",
6717
6752
  "cardBody": "pf-v6-c-card__body",
@@ -6771,13 +6806,13 @@ const Card = (_a) => {
6771
6806
  }
6772
6807
  const getSelectableModifiers = () => {
6773
6808
  if (isSelectable && isClickable) {
6774
- return css(styles$f.modifiers.selectable, styles$f.modifiers.clickable, (isSelected || isClicked) && styles$f.modifiers.current);
6809
+ return css(styles$h.modifiers.selectable, styles$h.modifiers.clickable, (isSelected || isClicked) && styles$h.modifiers.current);
6775
6810
  }
6776
6811
  if (isSelectable) {
6777
- return css(styles$f.modifiers.selectable, isSelected && styles$f.modifiers.selected);
6812
+ return css(styles$h.modifiers.selectable, isSelected && styles$h.modifiers.selected);
6778
6813
  }
6779
6814
  if (isClickable) {
6780
- return css(styles$f.modifiers.clickable, isClicked && styles$f.modifiers.current);
6815
+ return css(styles$h.modifiers.clickable, isClicked && styles$h.modifiers.current);
6781
6816
  }
6782
6817
  return '';
6783
6818
  };
@@ -6790,21 +6825,21 @@ const Card = (_a) => {
6790
6825
  isClicked,
6791
6826
  isDisabled
6792
6827
  } },
6793
- React.createElement(Component, Object.assign({ id: id, className: css(styles$f.card, isCompact && styles$f.modifiers.compact, isExpanded && styles$f.modifiers.expanded, isLarge && styles$f.modifiers.displayLg, isFullHeight && styles$f.modifiers.fullHeight, isPlain && styles$f.modifiers.plain, variant === 'secondary' && styles$f.modifiers.secondary, getSelectableModifiers(), isDisabled && styles$f.modifiers.disabled, className) }, props, ouiaProps), children)));
6828
+ React.createElement(Component, Object.assign({ id: id, className: css(styles$h.card, isCompact && styles$h.modifiers.compact, isExpanded && styles$h.modifiers.expanded, isLarge && styles$h.modifiers.displayLg, isFullHeight && styles$h.modifiers.fullHeight, isPlain && styles$h.modifiers.plain, variant === 'secondary' && styles$h.modifiers.secondary, getSelectableModifiers(), isDisabled && styles$h.modifiers.disabled, className) }, props, ouiaProps), children)));
6794
6829
  };
6795
6830
  Card.displayName = 'Card';
6796
6831
 
6797
6832
  const CardBody = (_a) => {
6798
6833
  var { children, className, component = 'div', isFilled = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isFilled"]);
6799
6834
  const Component = component;
6800
- return (React.createElement(Component, Object.assign({ className: css(styles$f.cardBody, !isFilled && styles$f.modifiers.noFill, className) }, props), children));
6835
+ return (React.createElement(Component, Object.assign({ className: css(styles$h.cardBody, !isFilled && styles$h.modifiers.noFill, className) }, props), children));
6801
6836
  };
6802
6837
  CardBody.displayName = 'CardBody';
6803
6838
 
6804
6839
  const CardFooter = (_a) => {
6805
6840
  var { children, className, component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
6806
6841
  const Component = component;
6807
- return (React.createElement(Component, Object.assign({ className: css(styles$f.cardFooter, className) }, props), children));
6842
+ return (React.createElement(Component, Object.assign({ className: css(styles$h.cardFooter, className) }, props), children));
6808
6843
  };
6809
6844
  CardFooter.displayName = 'CardFooter';
6810
6845
 
@@ -6813,30 +6848,30 @@ const CardTitle = (_a) => {
6813
6848
  const { cardId } = React.useContext(CardContext);
6814
6849
  const Component = component;
6815
6850
  const titleId = cardId ? `${cardId}-title` : '';
6816
- return (React.createElement("div", { className: css(styles$f.cardTitle) },
6817
- React.createElement(Component, Object.assign({ className: css(styles$f.cardTitleText, className), id: titleId || undefined }, props), children)));
6851
+ return (React.createElement("div", { className: css(styles$h.cardTitle) },
6852
+ React.createElement(Component, Object.assign({ className: css(styles$h.cardTitleText, className), id: titleId || undefined }, props), children)));
6818
6853
  };
6819
6854
  CardTitle.displayName = 'CardTitle';
6820
6855
 
6821
6856
  const CardHeaderMain = (_a) => {
6822
6857
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
6823
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardHeaderMain, className) }, props), children));
6858
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardHeaderMain, className) }, props), children));
6824
6859
  };
6825
6860
  CardHeaderMain.displayName = 'CardHeaderMain';
6826
6861
 
6827
6862
  const CardActions = (_a) => {
6828
6863
  var { children, className, hasNoOffset = false } = _a, props = __rest$1(_a, ["children", "className", "hasNoOffset"]);
6829
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardActions, hasNoOffset && styles$f.modifiers.noOffset, className) }, props), children));
6864
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardActions, hasNoOffset && styles$h.modifiers.noOffset, className) }, props), children));
6830
6865
  };
6831
6866
  CardActions.displayName = 'CardActions';
6832
6867
 
6833
6868
  const CardSelectableActions = (_a) => {
6834
6869
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
6835
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardSelectableActions, className) }, props), children));
6870
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardSelectableActions, className) }, props), children));
6836
6871
  };
6837
6872
  CardSelectableActions.displayName = 'CardSelectableActions';
6838
6873
 
6839
- var styles$e = {
6874
+ var styles$g = {
6840
6875
  "modifiers": {
6841
6876
  "standalone": "pf-m-standalone",
6842
6877
  "disabled": "pf-m-disabled"
@@ -6870,19 +6905,19 @@ class Radio extends React.Component {
6870
6905
  // eslint-disable-next-line no-console
6871
6906
  console.error('Radio:', 'id is required to make input accessible');
6872
6907
  }
6873
- const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(styles$e.radioInput, inputClassName), type: "radio", onChange: this.handleChange, "aria-invalid": !isValid, disabled: isDisabled, checked: checked || isChecked }, (checked === undefined && { defaultChecked }), (!label && { 'aria-label': ariaLabel }), getOUIAProps(Radio.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
6908
+ const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(styles$g.radioInput, inputClassName), type: "radio", onChange: this.handleChange, "aria-invalid": !isValid, disabled: isDisabled, checked: checked || isChecked }, (checked === undefined && { defaultChecked }), (!label && { 'aria-label': ariaLabel }), getOUIAProps(Radio.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
6874
6909
  const wrapWithLabel = (isLabelWrapped && !component) || component === 'label';
6875
6910
  const Label = wrapWithLabel ? 'span' : 'label';
6876
- const labelRendered = label ? (React.createElement(Label, { className: css(styles$e.radioLabel, isDisabled && styles$e.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined }, label)) : null;
6911
+ const labelRendered = label ? (React.createElement(Label, { className: css(styles$g.radioLabel, isDisabled && styles$g.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined }, label)) : null;
6877
6912
  const Component = component !== null && component !== void 0 ? component : (wrapWithLabel ? 'label' : 'div');
6878
- return (React.createElement(Component, { className: css(styles$e.radio, !label && styles$e.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6913
+ return (React.createElement(Component, { className: css(styles$g.radio, !label && styles$g.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6879
6914
  labelPosition === 'start' ? (React.createElement(React.Fragment, null,
6880
6915
  labelRendered,
6881
6916
  inputRendered)) : (React.createElement(React.Fragment, null,
6882
6917
  inputRendered,
6883
6918
  labelRendered)),
6884
- description && React.createElement("span", { className: css(styles$e.radioDescription) }, description),
6885
- body && React.createElement("span", { className: css(styles$e.radioBody) }, body)));
6919
+ description && React.createElement("span", { className: css(styles$g.radioDescription) }, description),
6920
+ body && React.createElement("span", { className: css(styles$g.radioBody) }, body)));
6886
6921
  }
6887
6922
  }
6888
6923
  Radio.displayName = 'Radio';
@@ -6896,12 +6931,11 @@ Radio.defaultProps = {
6896
6931
  const CardHeader = (_a) => {
6897
6932
  var { children, className, actions, selectableActions, id, onExpand, toggleButtonProps, isToggleRightAligned } = _a, props = __rest$1(_a, ["children", "className", "actions", "selectableActions", "id", "onExpand", "toggleButtonProps", "isToggleRightAligned"]);
6898
6933
  return (React.createElement(CardContext.Consumer, null, ({ cardId, isClickable, isSelectable, isSelected, isClicked, isDisabled: isCardDisabled }) => {
6899
- const cardHeaderToggle = (React.createElement("div", { className: css(styles$f.cardHeaderToggle) },
6934
+ const cardHeaderToggle = (React.createElement("div", { className: css(styles$h.cardHeaderToggle) },
6900
6935
  React.createElement(Button, Object.assign({ variant: "plain", type: "button", onClick: (evt) => {
6901
6936
  onExpand(evt, cardId);
6902
- } }, toggleButtonProps),
6903
- React.createElement("span", { className: css(styles$f.cardHeaderToggleIcon) },
6904
- React.createElement(AngleRightIcon, { "aria-hidden": "true" })))));
6937
+ } }, toggleButtonProps, { icon: React.createElement("span", { className: css(styles$h.cardHeaderToggleIcon) },
6938
+ React.createElement(AngleRightIcon, { "aria-hidden": "true" })) }))));
6905
6939
  const isClickableOrSelectableOnly = (isClickable && !isSelectable) || (isSelectable && !isClickable);
6906
6940
  if ((actions === null || actions === void 0 ? void 0 : actions.actions) && isClickableOrSelectableOnly) {
6907
6941
  // eslint-disable-next-line no-console
@@ -6936,7 +6970,7 @@ const CardHeader = (_a) => {
6936
6970
  }
6937
6971
  return baseProps;
6938
6972
  };
6939
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardHeader, isToggleRightAligned && styles$f.modifiers.toggleRight, className), id: id }, props),
6973
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardHeader, isToggleRightAligned && styles$h.modifiers.toggleRight, className), id: id }, props),
6940
6974
  onExpand && !isToggleRightAligned && cardHeaderToggle,
6941
6975
  (actions || (selectableActions && (isClickable || isSelectable))) && (React.createElement(CardActions, { className: actions === null || actions === void 0 ? void 0 : actions.className, hasNoOffset: (actions === null || actions === void 0 ? void 0 : actions.hasNoOffset) || (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.hasNoOffset) }, actions === null || actions === void 0 ? void 0 :
6942
6976
  actions.actions,
@@ -6947,7 +6981,7 @@ const CardHeader = (_a) => {
6947
6981
  };
6948
6982
  CardHeader.displayName = 'CardHeader';
6949
6983
 
6950
- var styles$d = {
6984
+ var styles$f = {
6951
6985
  "codeBlock": "pf-v6-c-code-block",
6952
6986
  "codeBlockActions": "pf-v6-c-code-block__actions",
6953
6987
  "codeBlockCode": "pf-v6-c-code-block__code",
@@ -6958,14 +6992,66 @@ var styles$d = {
6958
6992
 
6959
6993
  const CodeBlock = (_a) => {
6960
6994
  var { children = null, className, actions = null } = _a, props = __rest$1(_a, ["children", "className", "actions"]);
6961
- return (React.createElement("div", Object.assign({ className: css(styles$d.codeBlock, className) }, props),
6962
- actions && (React.createElement("div", { className: css(styles$d.codeBlockHeader) },
6963
- React.createElement("div", { className: css(styles$d.codeBlockActions) }, actions))),
6964
- React.createElement("div", { className: css(styles$d.codeBlockContent) }, children)));
6995
+ return (React.createElement("div", Object.assign({ className: css(styles$f.codeBlock, className) }, props),
6996
+ actions && (React.createElement("div", { className: css(styles$f.codeBlockHeader) },
6997
+ React.createElement("div", { className: css(styles$f.codeBlockActions) }, actions))),
6998
+ React.createElement("div", { className: css(styles$f.codeBlockContent) }, children)));
6965
6999
  };
6966
7000
  CodeBlock.displayName = 'CodeBlock';
6967
7001
 
6968
- var styles$c = {
7002
+ var ContentVariants;
7003
+ (function (ContentVariants) {
7004
+ ContentVariants["h1"] = "h1";
7005
+ ContentVariants["h2"] = "h2";
7006
+ ContentVariants["h3"] = "h3";
7007
+ ContentVariants["h4"] = "h4";
7008
+ ContentVariants["h5"] = "h5";
7009
+ ContentVariants["h6"] = "h6";
7010
+ ContentVariants["p"] = "p";
7011
+ ContentVariants["a"] = "a";
7012
+ ContentVariants["small"] = "small";
7013
+ ContentVariants["blockquote"] = "blockquote";
7014
+ ContentVariants["pre"] = "pre";
7015
+ ContentVariants["hr"] = "hr";
7016
+ ContentVariants["ul"] = "ul";
7017
+ ContentVariants["ol"] = "ol";
7018
+ ContentVariants["dl"] = "dl";
7019
+ ContentVariants["li"] = "li";
7020
+ ContentVariants["dt"] = "dt";
7021
+ ContentVariants["dd"] = "dd";
7022
+ })(ContentVariants || (ContentVariants = {}));
7023
+ const componentStyles = {
7024
+ div: styles$v.content,
7025
+ h1: styles$v.contentH1,
7026
+ h2: styles$v.contentH2,
7027
+ h3: styles$v.contentH3,
7028
+ h4: styles$v.contentH4,
7029
+ h5: styles$v.contentH5,
7030
+ h6: styles$v.contentH6,
7031
+ p: styles$v.contentP,
7032
+ a: styles$v.contentA,
7033
+ small: styles$v.contentSmall,
7034
+ blockquote: styles$v.contentBlockquote,
7035
+ pre: styles$v.contentPre,
7036
+ hr: styles$v.contentHr,
7037
+ ul: styles$v.contentUl,
7038
+ ol: styles$v.contentOl,
7039
+ dl: styles$v.contentDl,
7040
+ li: styles$v.contentLi,
7041
+ dt: styles$v.contentDt,
7042
+ dd: styles$v.contentDd
7043
+ };
7044
+ const Content = (_a) => {
7045
+ var { children, className = '', component, isPlainList = false, isVisitedLink = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isPlainList", "isVisitedLink", "ouiaId", "ouiaSafe"]);
7046
+ const wrappingComponent = component !== null && component !== void 0 ? component : 'div';
7047
+ const Component = wrappingComponent;
7048
+ const ouiaProps = useOUIAProps(Content.displayName, ouiaId, ouiaSafe);
7049
+ const isList = ['ul', 'ol', 'dl'].includes(wrappingComponent);
7050
+ return (React.createElement(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(componentStyles[wrappingComponent], isList && isPlainList && styles$v.modifiers.plain, isVisitedLink && styles$v.modifiers.visited, className) }), children));
7051
+ };
7052
+ Content.displayName = 'Content';
7053
+
7054
+ var styles$e = {
6969
7055
  "modifiers": {
6970
7056
  "noPadding": "pf-m-no-padding",
6971
7057
  "widthAuto": "pf-m-width-auto",
@@ -7003,33 +7089,33 @@ const PopoverContext = React.createContext({});
7003
7089
 
7004
7090
  const PopoverContent = (_a) => {
7005
7091
  var { className = null, children } = _a, props = __rest$1(_a, ["className", "children"]);
7006
- return (React.createElement("div", Object.assign({ className: css(styles$c.popoverContent, className) }, props), children));
7092
+ return (React.createElement("div", Object.assign({ className: css(styles$e.popoverContent, className) }, props), children));
7007
7093
  };
7008
7094
  PopoverContent.displayName = 'PopoverContent';
7009
7095
 
7010
7096
  const PopoverBody = (_a) => {
7011
7097
  var { children, id, className } = _a, props = __rest$1(_a, ["children", "id", "className"]);
7012
- return (React.createElement("div", Object.assign({ className: css(styles$c.popoverBody, className), id: id }, props), children));
7098
+ return (React.createElement("div", Object.assign({ className: css(styles$e.popoverBody, className), id: id }, props), children));
7013
7099
  };
7014
7100
  PopoverBody.displayName = 'PopoverBody';
7015
7101
 
7016
7102
  const PopoverHeaderIcon = (_a) => {
7017
7103
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
7018
- return (React.createElement("span", Object.assign({ className: css(styles$c.popoverTitleIcon, className) }, props), children));
7104
+ return (React.createElement("span", Object.assign({ className: css(styles$e.popoverTitleIcon, className) }, props), children));
7019
7105
  };
7020
7106
  PopoverHeaderIcon.displayName = 'PopoverHeaderIcon';
7021
7107
 
7022
7108
  const PopoverHeaderText = (_a) => {
7023
7109
  var { children, className, headingLevel } = _a, props = __rest$1(_a, ["children", "className", "headingLevel"]);
7024
7110
  const HeadingLevel = headingLevel;
7025
- return (React.createElement(HeadingLevel, Object.assign({ className: css(styles$c.popoverTitleText, className) }, props), children));
7111
+ return (React.createElement(HeadingLevel, Object.assign({ className: css(styles$e.popoverTitleText, className) }, props), children));
7026
7112
  };
7027
7113
  PopoverHeaderText.displayName = 'PopoverHeaderText';
7028
7114
 
7029
7115
  const PopoverHeader = (_a) => {
7030
7116
  var { children, icon, className, titleHeadingLevel = 'h6', alertSeverityVariant, id, alertSeverityScreenReaderText } = _a, props = __rest$1(_a, ["children", "icon", "className", "titleHeadingLevel", "alertSeverityVariant", "id", "alertSeverityScreenReaderText"]);
7031
- return (React.createElement("header", Object.assign({ className: css(styles$c.popoverHeader, className) }, props),
7032
- React.createElement("div", { className: css(styles$c.popoverTitle), id: id },
7117
+ return (React.createElement("header", Object.assign({ className: css(styles$e.popoverHeader, className) }, props),
7118
+ React.createElement("div", { className: css(styles$e.popoverTitle), id: id },
7033
7119
  icon && React.createElement(PopoverHeaderIcon, null, icon),
7034
7120
  React.createElement(PopoverHeaderText, { headingLevel: titleHeadingLevel },
7035
7121
  alertSeverityVariant && alertSeverityScreenReaderText && (React.createElement("span", { className: "pf-v6-screen-reader" }, alertSeverityScreenReaderText)),
@@ -7039,21 +7125,20 @@ PopoverHeader.displayName = 'PopoverHeader';
7039
7125
 
7040
7126
  const PopoverFooter = (_a) => {
7041
7127
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
7042
- return (React.createElement("footer", Object.assign({ className: css(styles$c.popoverFooter, className) }, props), children));
7128
+ return (React.createElement("footer", Object.assign({ className: css(styles$e.popoverFooter, className) }, props), children));
7043
7129
  };
7044
7130
  PopoverFooter.displayName = 'PopoverFooter';
7045
7131
 
7046
7132
  const PopoverCloseButton = (_a) => {
7047
7133
  var { onClose = () => undefined } = _a, props = __rest$1(_a, ["onClose"]);
7048
- return (React.createElement("div", { className: css(styles$c.popoverClose) },
7049
- React.createElement(Button, Object.assign({ onClick: onClose, variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' } }),
7050
- React.createElement(TimesIcon, null))));
7134
+ return (React.createElement("div", { className: css(styles$e.popoverClose) },
7135
+ React.createElement(Button, Object.assign({ onClick: onClose, variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' }, icon: React.createElement(TimesIcon, null) }))));
7051
7136
  };
7052
7137
  PopoverCloseButton.displayName = 'PopoverCloseButton';
7053
7138
 
7054
7139
  const PopoverArrow = (_a) => {
7055
7140
  var { className = '' } = _a, props = __rest$1(_a, ["className"]);
7056
- return React.createElement("div", Object.assign({ className: css(styles$c.popoverArrow, className) }, props));
7141
+ return React.createElement("div", Object.assign({ className: css(styles$e.popoverArrow, className) }, props));
7057
7142
  };
7058
7143
  PopoverArrow.displayName = 'PopoverArrow';
7059
7144
 
@@ -7086,11 +7171,11 @@ var PopoverPosition;
7086
7171
  PopoverPosition["rightEnd"] = "right-end";
7087
7172
  })(PopoverPosition || (PopoverPosition = {}));
7088
7173
  const alertStyle = {
7089
- custom: styles$c.modifiers.custom,
7090
- info: styles$c.modifiers.info,
7091
- success: styles$c.modifiers.success,
7092
- warning: styles$c.modifiers.warning,
7093
- danger: styles$c.modifiers.danger
7174
+ custom: styles$e.modifiers.custom,
7175
+ info: styles$e.modifiers.info,
7176
+ success: styles$e.modifiers.success,
7177
+ warning: styles$e.modifiers.warning,
7178
+ danger: styles$e.modifiers.danger
7094
7179
  };
7095
7180
  const Popover = (_a) => {
7096
7181
  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, triggerAction = 'click', minWidth = c_popover_MinWidth && c_popover_MinWidth.value, maxWidth = c_popover_MaxWidth && c_popover_MaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25, flipBehavior = [
@@ -7137,18 +7222,18 @@ const Popover = (_a) => {
7137
7222
  setVisible(false);
7138
7223
  };
7139
7224
  const positionModifiers = {
7140
- top: styles$c.modifiers.top,
7141
- bottom: styles$c.modifiers.bottom,
7142
- left: styles$c.modifiers.left,
7143
- right: styles$c.modifiers.right,
7144
- 'top-start': styles$c.modifiers.topLeft,
7145
- 'top-end': styles$c.modifiers.topRight,
7146
- 'bottom-start': styles$c.modifiers.bottomLeft,
7147
- 'bottom-end': styles$c.modifiers.bottomRight,
7148
- 'left-start': styles$c.modifiers.leftTop,
7149
- 'left-end': styles$c.modifiers.leftBottom,
7150
- 'right-start': styles$c.modifiers.rightTop,
7151
- 'right-end': styles$c.modifiers.rightBottom
7225
+ top: styles$e.modifiers.top,
7226
+ bottom: styles$e.modifiers.bottom,
7227
+ left: styles$e.modifiers.left,
7228
+ right: styles$e.modifiers.right,
7229
+ 'top-start': styles$e.modifiers.topLeft,
7230
+ 'top-end': styles$e.modifiers.topRight,
7231
+ 'bottom-start': styles$e.modifiers.bottomLeft,
7232
+ 'bottom-end': styles$e.modifiers.bottomRight,
7233
+ 'left-start': styles$e.modifiers.leftTop,
7234
+ 'left-end': styles$e.modifiers.leftBottom,
7235
+ 'right-start': styles$e.modifiers.rightTop,
7236
+ 'right-end': styles$e.modifiers.rightBottom
7152
7237
  };
7153
7238
  const hasCustomMinWidth = minWidth !== c_popover_MinWidth.value;
7154
7239
  const hasCustomMaxWidth = maxWidth !== c_popover_MaxWidth.value;
@@ -7268,7 +7353,7 @@ const Popover = (_a) => {
7268
7353
  }
7269
7354
  return node;
7270
7355
  }
7271
- }, preventScrollOnDeactivate: true, className: css(styles$c.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && styles$c.modifiers.noPadding, hasAutoWidth && styles$c.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: {
7356
+ }, preventScrollOnDeactivate: true, className: css(styles$e.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && styles$e.modifiers.noPadding, hasAutoWidth && styles$e.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: {
7272
7357
  minWidth: hasCustomMinWidth ? minWidth : null,
7273
7358
  maxWidth: hasCustomMaxWidth ? maxWidth : null
7274
7359
  } }, rest),
@@ -7373,7 +7458,7 @@ const Divider = (_a) => {
7373
7458
  };
7374
7459
  Divider.displayName = 'Divider';
7375
7460
 
7376
- var styles$b = {
7461
+ var styles$d = {
7377
7462
  "dirRtl": "pf-v6-m-dir-rtl",
7378
7463
  "drawer": "pf-v6-c-drawer",
7379
7464
  "drawerActions": "pf-v6-c-drawer__actions",
@@ -7457,7 +7542,7 @@ const Drawer = (_a) => {
7457
7542
  const drawerRef = React.useRef();
7458
7543
  const drawerContentRef = React.useRef();
7459
7544
  return (React.createElement(DrawerContext.Provider, { value: { isExpanded, isStatic, onExpand, position, drawerRef, drawerContentRef, isInline } },
7460
- React.createElement("div", Object.assign({ className: css(styles$b.drawer, isExpanded && styles$b.modifiers.expanded, isInline && styles$b.modifiers.inline, isStatic && styles$b.modifiers.static, (position === 'left' || position === 'start') && styles$b.modifiers.panelLeft, position === 'bottom' && styles$b.modifiers.panelBottom, className), ref: drawerRef }, props), children)));
7545
+ React.createElement("div", Object.assign({ className: css(styles$d.drawer, isExpanded && styles$d.modifiers.expanded, isInline && styles$d.modifiers.inline, isStatic && styles$d.modifiers.static, (position === 'left' || position === 'start') && styles$d.modifiers.panelLeft, position === 'bottom' && styles$d.modifiers.panelBottom, className), ref: drawerRef }, props), children)));
7461
7546
  };
7462
7547
  Drawer.displayName = 'Drawer';
7463
7548
 
@@ -7465,7 +7550,7 @@ const DrawerActions = (_a) => {
7465
7550
  var {
7466
7551
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7467
7552
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7468
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerActions, className) }, props), children));
7553
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerActions, className) }, props), children));
7469
7554
  };
7470
7555
  DrawerActions.displayName = 'DrawerActions';
7471
7556
 
@@ -7473,7 +7558,7 @@ const DrawerCloseButton = (_a) => {
7473
7558
  var {
7474
7559
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7475
7560
  className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close drawer panel' } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label']);
7476
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerClose, className) }, props),
7561
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerClose, className) }, props),
7477
7562
  React.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel },
7478
7563
  React.createElement(TimesIcon, null))));
7479
7564
  };
@@ -7483,7 +7568,7 @@ const DrawerMain = (_a) => {
7483
7568
  var {
7484
7569
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7485
7570
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7486
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerMain, className) }, props), children));
7571
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerMain, className) }, props), children));
7487
7572
  };
7488
7573
  DrawerMain.displayName = 'DrawerMain';
7489
7574
 
@@ -7497,7 +7582,7 @@ const DrawerContent = (_a) => {
7497
7582
  var { className, children, panelContent, colorVariant = DrawerContentColorVariant.default } = _a, props = __rest$1(_a, ["className", "children", "panelContent", "colorVariant"]);
7498
7583
  const { drawerContentRef } = React.useContext(DrawerContext);
7499
7584
  return (React.createElement(DrawerMain, null,
7500
- React.createElement("div", Object.assign({ className: css(styles$b.drawerContent, colorVariant === DrawerContentColorVariant.primary && styles$b.modifiers.primary, colorVariant === DrawerContentColorVariant.secondary && styles$b.modifiers.secondary, className), ref: drawerContentRef }, props), children),
7585
+ React.createElement("div", Object.assign({ className: css(styles$d.drawerContent, colorVariant === DrawerContentColorVariant.primary && styles$d.modifiers.primary, colorVariant === DrawerContentColorVariant.secondary && styles$d.modifiers.secondary, className), ref: drawerContentRef }, props), children),
7501
7586
  panelContent));
7502
7587
  };
7503
7588
  DrawerContent.displayName = 'DrawerContent';
@@ -7506,7 +7591,7 @@ const DrawerContentBody = (_a) => {
7506
7591
  var {
7507
7592
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7508
7593
  className = '', children, hasPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasPadding"]);
7509
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerBody, hasPadding && styles$b.modifiers.padding, className) }, props), children));
7594
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerBody, hasPadding && styles$d.modifiers.padding, className) }, props), children));
7510
7595
  };
7511
7596
  DrawerContentBody.displayName = 'DrawerContentBody';
7512
7597
 
@@ -7514,7 +7599,7 @@ const DrawerHead = (_a) => {
7514
7599
  var {
7515
7600
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7516
7601
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7517
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerHead, className) }, props), children));
7602
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerHead, className) }, props), children));
7518
7603
  };
7519
7604
  DrawerHead.displayName = 'DrawerHead';
7520
7605
 
@@ -7522,7 +7607,7 @@ const DrawerPanelBody = (_a) => {
7522
7607
  var {
7523
7608
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7524
7609
  className = '', children, hasNoPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasNoPadding"]);
7525
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerBody, hasNoPadding && styles$b.modifiers.noPadding, className) }, props), children));
7610
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerBody, hasNoPadding && styles$d.modifiers.noPadding, className) }, props), children));
7526
7611
  };
7527
7612
  DrawerPanelBody.displayName = 'DrawerPanelBody';
7528
7613
 
@@ -7647,7 +7732,7 @@ const DrawerPanelContent = (_a) => {
7647
7732
  e.preventDefault();
7648
7733
  document.addEventListener('mousemove', callbackMouseMove);
7649
7734
  document.addEventListener('mouseup', callbackMouseUp);
7650
- drawerRef.current.classList.add(css(styles$b.modifiers.resizing));
7735
+ drawerRef.current.classList.add(css(styles$d.modifiers.resizing));
7651
7736
  isResizing = true;
7652
7737
  setInitialVals = true;
7653
7738
  };
@@ -7702,7 +7787,7 @@ const DrawerPanelContent = (_a) => {
7702
7787
  if (!isResizing) {
7703
7788
  return;
7704
7789
  }
7705
- drawerRef.current.classList.remove(css(styles$b.modifiers.resizing));
7790
+ drawerRef.current.classList.remove(css(styles$d.modifiers.resizing));
7706
7791
  isResizing = false;
7707
7792
  onResize && onResize(e, currWidth, id);
7708
7793
  setInitialVals = true;
@@ -7813,7 +7898,7 @@ const DrawerPanelContent = (_a) => {
7813
7898
  escapeDeactivates: false
7814
7899
  }
7815
7900
  };
7816
- return (React.createElement(Component, Object.assign({}, (isValidFocusTrap && focusTrapProps), { id: id || panelId, className: css(styles$b.drawerPanel, isResizable && styles$b.modifiers.resizable, hasNoBorder && styles$b.modifiers.noBorder, formatBreakpointMods(widths, styles$b), colorVariant === DrawerColorVariant.noBackground && styles$b.modifiers.noBackground, colorVariant === DrawerColorVariant.secondary && styles$b.modifiers.secondary, className), onTransitionEnd: (ev) => {
7901
+ return (React.createElement(Component, Object.assign({}, (isValidFocusTrap && focusTrapProps), { id: id || panelId, className: css(styles$d.drawerPanel, isResizable && styles$d.modifiers.resizable, hasNoBorder && styles$d.modifiers.noBorder, formatBreakpointMods(widths, styles$d), colorVariant === DrawerColorVariant.noBackground && styles$d.modifiers.noBackground, colorVariant === DrawerColorVariant.secondary && styles$d.modifiers.secondary, className), onTransitionEnd: (ev) => {
7817
7902
  if (ev.target === panel.current) {
7818
7903
  if (!hidden && ev.nativeEvent.propertyName === 'transform') {
7819
7904
  onExpand(ev);
@@ -7827,15 +7912,15 @@ const DrawerPanelContent = (_a) => {
7827
7912
  style: boundaryCssVars
7828
7913
  }), props, { ref: panel }), isExpandedInternal && (React.createElement(React.Fragment, null,
7829
7914
  isResizable && (React.createElement(React.Fragment, null,
7830
- React.createElement("div", { className: css(styles$b.drawerSplitter, position !== 'bottom' && styles$b.modifiers.vertical), role: "separator", tabIndex: 0, "aria-orientation": position === 'bottom' ? 'horizontal' : 'vertical', "aria-label": resizeAriaLabel, "aria-valuenow": separatorValue, "aria-valuemin": 0, "aria-valuemax": 100, "aria-controls": id || panelId, onMouseDown: handleMousedown, onKeyDown: handleKeys, onTouchStart: handleTouchStart, ref: splitterRef },
7831
- React.createElement("div", { className: css(styles$b.drawerSplitterHandle), "aria-hidden": true })),
7832
- React.createElement("div", { className: css(styles$b.drawerPanelMain) }, children))),
7915
+ React.createElement("div", { className: css(styles$d.drawerSplitter, position !== 'bottom' && styles$d.modifiers.vertical), role: "separator", tabIndex: 0, "aria-orientation": position === 'bottom' ? 'horizontal' : 'vertical', "aria-label": resizeAriaLabel, "aria-valuenow": separatorValue, "aria-valuemin": 0, "aria-valuemax": 100, "aria-controls": id || panelId, onMouseDown: handleMousedown, onKeyDown: handleKeys, onTouchStart: handleTouchStart, ref: splitterRef },
7916
+ React.createElement("div", { className: css(styles$d.drawerSplitterHandle), "aria-hidden": true })),
7917
+ React.createElement("div", { className: css(styles$d.drawerPanelMain) }, children))),
7833
7918
  !isResizable && children))));
7834
7919
  }));
7835
7920
  };
7836
7921
  DrawerPanelContent.displayName = 'DrawerPanelContent';
7837
7922
 
7838
- var styles$a = {
7923
+ var styles$c = {
7839
7924
  "icon": "pf-v6-c-icon",
7840
7925
  "iconContent": "pf-v6-c-icon__content",
7841
7926
  "iconProgress": "pf-v6-c-icon__progress",
@@ -7869,9 +7954,9 @@ var styles$a = {
7869
7954
  const Icon = (_a) => {
7870
7955
  var { children, className, progressIcon, size, iconSize, progressIconSize, status, isInline = false, isInProgress = false, defaultProgressArialabel = 'Loading...', shouldMirrorRTL = false } = _a, props = __rest$1(_a, ["children", "className", "progressIcon", "size", "iconSize", "progressIconSize", "status", "isInline", "isInProgress", "defaultProgressArialabel", "shouldMirrorRTL"]);
7871
7956
  const _progressIcon = progressIcon !== null && progressIcon !== void 0 ? progressIcon : React.createElement(Spinner, { diameter: "1em", "aria-label": defaultProgressArialabel });
7872
- return (React.createElement("span", Object.assign({ className: css(styles$a.icon, isInline && styles$a.modifiers.inline, isInProgress && styles$a.modifiers.inProgress, styles$a.modifiers[size], className) }, props),
7873
- React.createElement("span", { className: css(styles$a.iconContent, styles$a.modifiers[iconSize], styles$a.modifiers[status], shouldMirrorRTL && 'pf-v6-m-mirror-inline-rtl') }, children),
7874
- isInProgress && (React.createElement("span", { className: css(styles$a.iconProgress, styles$a.modifiers[progressIconSize], className) }, _progressIcon))));
7957
+ return (React.createElement("span", Object.assign({ className: css(styles$c.icon, isInline && styles$c.modifiers.inline, isInProgress && styles$c.modifiers.inProgress, styles$c.modifiers[size], className) }, props),
7958
+ React.createElement("span", { className: css(styles$c.iconContent, styles$c.modifiers[iconSize], styles$c.modifiers[status], shouldMirrorRTL && 'pf-v6-m-mirror-inline-rtl') }, children),
7959
+ isInProgress && (React.createElement("span", { className: css(styles$c.iconProgress, styles$c.modifiers[progressIconSize], className) }, _progressIcon))));
7875
7960
  };
7876
7961
  Icon.displayName = 'Icon';
7877
7962
 
@@ -7908,7 +7993,7 @@ const ArrowRightIconConfig = {
7908
7993
 
7909
7994
  const ArrowRightIcon$1 = createIcon(ArrowRightIconConfig);
7910
7995
 
7911
- var formStyles = {
7996
+ var styles$b = {
7912
7997
  "button": "pf-v6-c-button",
7913
7998
  "dirRtl": "pf-v6-m-dir-rtl",
7914
7999
  "form": "pf-v6-c-form",
@@ -7941,6 +8026,7 @@ var formStyles = {
7941
8026
  "horizontal": "pf-m-horizontal",
7942
8027
  "alignRight": "pf-m-align-right",
7943
8028
  "noPaddingTop": "pf-m-no-padding-top",
8029
+ "info": "pf-m-info",
7944
8030
  "horizontalOnXs": "pf-m-horizontal-on-xs",
7945
8031
  "horizontalOnSm": "pf-m-horizontal-on-sm",
7946
8032
  "horizontalOnMd": "pf-m-horizontal-on-md",
@@ -7949,7 +8035,6 @@ var formStyles = {
7949
8035
  "horizontalOn_2xl": "pf-m-horizontal-on-2xl",
7950
8036
  "limitWidth": "pf-m-limit-width",
7951
8037
  "action": "pf-m-action",
7952
- "info": "pf-m-info",
7953
8038
  "disabled": "pf-m-disabled",
7954
8039
  "inline": "pf-m-inline",
7955
8040
  "stack": "pf-m-stack",
@@ -7961,10 +8046,10 @@ var formStyles = {
7961
8046
 
7962
8047
  const ActionGroup = (_a) => {
7963
8048
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
7964
- const customClassName = css(formStyles.formGroup, formStyles.modifiers.action, className);
7965
- const formActionsComponent = React.createElement("div", { className: css(formStyles.formActions) }, children);
8049
+ const customClassName = css(styles$b.formGroup, styles$b.modifiers.action, className);
8050
+ const formActionsComponent = React.createElement("div", { className: css(styles$b.formActions) }, children);
7966
8051
  return (React.createElement("div", Object.assign({}, props, { className: customClassName }),
7967
- React.createElement("div", { className: css(formStyles.formGroupControl) }, formActionsComponent)));
8052
+ React.createElement("div", { className: css(styles$b.formGroupControl) }, formActionsComponent)));
7968
8053
  };
7969
8054
  ActionGroup.displayName = 'ActionGroup';
7970
8055
 
@@ -7978,7 +8063,7 @@ const FormBase = (_a) => {
7978
8063
  var { children = null, className = '', isHorizontal = false, isWidthLimited = false, maxWidth = '', innerRef } = _a, props = __rest$1(_a, ["children", "className", "isHorizontal", "isWidthLimited", "maxWidth", "innerRef"]);
7979
8064
  return (React.createElement("form", Object.assign({ noValidate: true }, (maxWidth && {
7980
8065
  style: Object.assign({ [c_form_m_limit_width_MaxWidth.name]: maxWidth }, props.style)
7981
- }), props, { className: css(formStyles.form, isHorizontal && formStyles.modifiers.horizontal, (isWidthLimited || maxWidth) && formStyles.modifiers.limitWidth, className), ref: innerRef }), children));
8066
+ }), props, { className: css(styles$b.form, isHorizontal && styles$b.modifiers.horizontal, (isWidthLimited || maxWidth) && styles$b.modifiers.limitWidth, className), ref: innerRef }), children));
7982
8067
  };
7983
8068
  const Form = React.forwardRef((props, ref) => React.createElement(FormBase, Object.assign({ innerRef: ref }, props)));
7984
8069
  Form.displayName = 'Form';
@@ -7988,24 +8073,24 @@ const FormGroup = (_a) => {
7988
8073
  const isGroupOrRadioGroup = role === 'group' || role === 'radiogroup';
7989
8074
  const LabelComponent = isGroupOrRadioGroup ? 'span' : 'label';
7990
8075
  const labelContent = (React.createElement(React.Fragment, null,
7991
- React.createElement(LabelComponent, Object.assign({ className: css(formStyles.formLabel) }, (!isGroupOrRadioGroup && { htmlFor: fieldId })),
7992
- React.createElement("span", { className: css(formStyles.formLabelText) }, label),
7993
- isRequired && (React.createElement("span", { className: css(formStyles.formLabelRequired), "aria-hidden": "true" },
8076
+ React.createElement(LabelComponent, Object.assign({ className: css(styles$b.formLabel) }, (!isGroupOrRadioGroup && { htmlFor: fieldId })),
8077
+ React.createElement("span", { className: css(styles$b.formLabelText) }, label),
8078
+ isRequired && (React.createElement("span", { className: css(styles$b.formLabelRequired), "aria-hidden": "true" },
7994
8079
  ' ',
7995
8080
  ASTERISK))),
7996
8081
  React.createElement(React.Fragment, null, "\u00A0\u00A0"),
7997
- React.isValidElement(labelHelp) && React.createElement("span", { className: formStyles.formGroupLabelHelp }, labelHelp)));
7998
- return (React.createElement(GenerateId, null, (randomId) => (React.createElement("div", Object.assign({ className: css(formStyles.formGroup, className) }, (role && { role }), (isGroupOrRadioGroup && { 'aria-labelledby': `${fieldId || randomId}-legend` }), props),
7999
- label && (React.createElement("div", Object.assign({ className: css(formStyles.formGroupLabel, labelInfo && formStyles.modifiers.info, hasNoPaddingTop && formStyles.modifiers.noPaddingTop) }, (isGroupOrRadioGroup && { id: `${fieldId || randomId}-legend` })),
8082
+ React.isValidElement(labelHelp) && React.createElement("span", { className: styles$b.formGroupLabelHelp }, labelHelp)));
8083
+ return (React.createElement(GenerateId, null, (randomId) => (React.createElement("div", Object.assign({ className: css(styles$b.formGroup, className) }, (role && { role }), (isGroupOrRadioGroup && { 'aria-labelledby': `${fieldId || randomId}-legend` }), props),
8084
+ label && (React.createElement("div", Object.assign({ className: css(styles$b.formGroupLabel, labelInfo && styles$b.modifiers.info, hasNoPaddingTop && styles$b.modifiers.noPaddingTop) }, (isGroupOrRadioGroup && { id: `${fieldId || randomId}-legend` })),
8000
8085
  labelInfo && (React.createElement(React.Fragment, null,
8001
- React.createElement("div", { className: css(formStyles.formGroupLabelMain) }, labelContent),
8002
- React.createElement("div", { className: css(formStyles.formGroupLabelInfo) }, labelInfo))),
8086
+ React.createElement("div", { className: css(styles$b.formGroupLabelMain) }, labelContent),
8087
+ React.createElement("div", { className: css(styles$b.formGroupLabelInfo) }, labelInfo))),
8003
8088
  !labelInfo && labelContent)),
8004
- React.createElement("div", { className: css(formStyles.formGroupControl, isInline && formStyles.modifiers.inline, isStack && formStyles.modifiers.stack) }, children)))));
8089
+ React.createElement("div", { className: css(styles$b.formGroupControl, isInline && styles$b.modifiers.inline, isStack && styles$b.modifiers.stack) }, children)))));
8005
8090
  };
8006
8091
  FormGroup.displayName = 'FormGroup';
8007
8092
 
8008
- var styles$9 = {
8093
+ var styles$a = {
8009
8094
  "modifiers": {
8010
8095
  "bordered": "pf-m-bordered",
8011
8096
  "secondary": "pf-m-secondary",
@@ -8021,7 +8106,7 @@ var styles$9 = {
8021
8106
 
8022
8107
  const PanelBase = (_a) => {
8023
8108
  var { className, children, variant, isScrollable, innerRef } = _a, props = __rest$1(_a, ["className", "children", "variant", "isScrollable", "innerRef"]);
8024
- return (React.createElement("div", Object.assign({ className: css(styles$9.panel, variant && styles$9.modifiers[variant], isScrollable && styles$9.modifiers.scrollable, className), ref: innerRef }, props), children));
8109
+ return (React.createElement("div", Object.assign({ className: css(styles$a.panel, variant && styles$a.modifiers[variant], isScrollable && styles$a.modifiers.scrollable, className), ref: innerRef }, props), children));
8025
8110
  };
8026
8111
  const Panel = React.forwardRef((props, ref) => (React.createElement(PanelBase, Object.assign({ innerRef: ref }, props))));
8027
8112
  Panel.displayName = 'Panel';
@@ -8034,13 +8119,13 @@ const c_panel__main_MaxHeight = {
8034
8119
 
8035
8120
  const PanelMain = (_a) => {
8036
8121
  var { className, children, maxHeight } = _a, props = __rest$1(_a, ["className", "children", "maxHeight"]);
8037
- return (React.createElement("div", Object.assign({ className: css(styles$9.panelMain, className), style: { [c_panel__main_MaxHeight.name]: maxHeight } }, props), children));
8122
+ return (React.createElement("div", Object.assign({ className: css(styles$a.panelMain, className), style: { [c_panel__main_MaxHeight.name]: maxHeight } }, props), children));
8038
8123
  };
8039
8124
  PanelMain.displayName = 'PanelMain';
8040
8125
 
8041
8126
  const PanelMainBody = (_a) => {
8042
8127
  var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
8043
- return (React.createElement("div", Object.assign({ className: css(styles$9.panelMainBody, className) }, props), children));
8128
+ return (React.createElement("div", Object.assign({ className: css(styles$a.panelMainBody, className) }, props), children));
8044
8129
  };
8045
8130
  PanelMainBody.displayName = 'PanelMainBody';
8046
8131
 
@@ -8157,7 +8242,11 @@ var textInputGroupStyles = {
8157
8242
  "modifiers": {
8158
8243
  "disabled": "pf-m-disabled",
8159
8244
  "plain": "pf-m-plain",
8245
+ "success": "pf-m-success",
8246
+ "warning": "pf-m-warning",
8247
+ "error": "pf-m-error",
8160
8248
  "icon": "pf-m-icon",
8249
+ "status": "pf-m-status",
8161
8250
  "hint": "pf-m-hint"
8162
8251
  },
8163
8252
  "textInputGroup": "pf-v6-c-text-input-group",
@@ -8326,12 +8415,9 @@ const SearchInputBase = (_a) => {
8326
8415
  (renderUtilities || areUtilitiesDisplayed) && (React.createElement(TextInputGroupUtilities, null,
8327
8416
  resultsCount && React.createElement(Badge, { isRead: true }, resultsCount),
8328
8417
  !!onNextClick && !!onPreviousClick && (React.createElement("div", { className: textInputGroupStyles.textInputGroupGroup },
8329
- React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick },
8330
- React.createElement(AngleUpIcon, null)),
8331
- React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick },
8332
- React.createElement(AngleDownIcon, null)))),
8333
- !!onClear && !expandableInput && (React.createElement(Button, { variant: ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput },
8334
- React.createElement(TimesIcon, null)))))));
8418
+ React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick, icon: React.createElement(AngleUpIcon, null) }),
8419
+ React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick, icon: React.createElement(AngleDownIcon, null) }))),
8420
+ !!onClear && !expandableInput && (React.createElement(Button, { variant: ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput, icon: React.createElement(TimesIcon, null) }))))));
8335
8421
  };
8336
8422
  const expandableToggle = (React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": toggleAriaLabel, "aria-expanded": isExpanded, icon: isExpanded ? React.createElement(TimesIcon, null) : React.createElement(SearchIcon$1, null), onClick: onExpandHandler, ref: searchInputExpandableToggleRef }));
8337
8423
  const buildExpandableSearchInput = (_a = {}) => {
@@ -8354,12 +8440,10 @@ const SearchInputBase = (_a) => {
8354
8440
  return (React.createElement(InputGroup, Object.assign({ ref: triggerRef }, searchInputProps),
8355
8441
  React.createElement(InputGroupItem, { isFill: true }, buildTextInputGroup()),
8356
8442
  (attributes.length > 0 || onToggleAdvancedSearch) && (React.createElement(InputGroupItem, { isPlain: true },
8357
- React.createElement(Button, { className: isSearchMenuOpen && 'pf-m-expanded', variant: ButtonVariant.control, "aria-label": openMenuButtonAriaLabel, onClick: onToggle, isDisabled: isDisabled, "aria-expanded": isSearchMenuOpen },
8358
- React.createElement(CaretDownIcon, null)))),
8443
+ React.createElement(Button, { className: isSearchMenuOpen && 'pf-m-expanded', variant: ButtonVariant.control, "aria-label": openMenuButtonAriaLabel, onClick: onToggle, isDisabled: isDisabled, "aria-expanded": isSearchMenuOpen, icon: React.createElement(CaretDownIcon, null) }))),
8359
8444
  !!onSearch && (React.createElement(InputGroupItem, null,
8360
- React.createElement(Button, { type: "submit", variant: ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled },
8361
- React.createElement(Icon, { shouldMirrorRTL: true },
8362
- React.createElement(ArrowRightIcon$1, null))))),
8445
+ React.createElement(Button, { type: "submit", variant: ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled, icon: React.createElement(Icon, { shouldMirrorRTL: true },
8446
+ React.createElement(ArrowRightIcon$1, null)) }))),
8363
8447
  expandableInput && React.createElement(InputGroupItem, null, expandableToggle)));
8364
8448
  };
8365
8449
  const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css(className), innerRef: searchInputRef });
@@ -8386,7 +8470,7 @@ SearchInputBase.displayName = 'SearchInputBase';
8386
8470
  const SearchInput = React.forwardRef((props, ref) => (React.createElement(SearchInputBase, Object.assign({}, props, { innerRef: ref }))));
8387
8471
  SearchInput.displayName = 'SearchInput';
8388
8472
 
8389
- var styles$8 = {
8473
+ var styles$9 = {
8390
8474
  "emptyState": "pf-v6-c-empty-state",
8391
8475
  "emptyStateActions": "pf-v6-c-empty-state__actions",
8392
8476
  "emptyStateBody": "pf-v6-c-empty-state__body",
@@ -8412,7 +8496,7 @@ const isSpinner = (icon) => icon.type === Spinner;
8412
8496
  const EmptyStateIcon = (_a) => {
8413
8497
  var { className, icon: IconComponent } = _a, props = __rest$1(_a, ["className", "icon"]);
8414
8498
  const iconIsSpinner = isSpinner(React.createElement(IconComponent, null));
8415
- return (React.createElement("div", { className: css(styles$8.emptyStateIcon) },
8499
+ return (React.createElement("div", { className: css(styles$9.emptyStateIcon) },
8416
8500
  React.createElement(IconComponent, Object.assign({ className: className, "aria-hidden": !iconIsSpinner }, props))));
8417
8501
  };
8418
8502
  EmptyStateIcon.displayName = 'EmptyStateIcon';
@@ -8428,10 +8512,10 @@ var EmptyStateHeadingLevel;
8428
8512
  })(EmptyStateHeadingLevel || (EmptyStateHeadingLevel = {}));
8429
8513
  const EmptyStateHeader = (_a) => {
8430
8514
  var { className, titleClassName, titleText, headingLevel: HeadingLevel = EmptyStateHeadingLevel.h1, icon: Icon } = _a, props = __rest$1(_a, ["className", "titleClassName", "titleText", "headingLevel", "icon"]);
8431
- return (React.createElement("div", Object.assign({ className: css(`${styles$8.emptyState}__header`, className) }, props),
8515
+ return (React.createElement("div", Object.assign({ className: css(`${styles$9.emptyState}__header`, className) }, props),
8432
8516
  Icon && React.createElement(EmptyStateIcon, { icon: Icon }),
8433
- React.createElement("div", { className: css(`${styles$8.emptyState}__title`) },
8434
- React.createElement(HeadingLevel, { className: css(styles$8.emptyStateTitleText, titleClassName) }, titleText))));
8517
+ React.createElement("div", { className: css(`${styles$9.emptyState}__title`) },
8518
+ React.createElement(HeadingLevel, { className: css(styles$9.emptyStateTitleText, titleClassName) }, titleText))));
8435
8519
  };
8436
8520
  EmptyStateHeader.displayName = 'EmptyStateHeader';
8437
8521
 
@@ -8455,8 +8539,8 @@ const EmptyState = (_a) => {
8455
8539
  var { children, className, variant = EmptyStateVariant.full, isFullHeight, status, icon: customIcon, titleText, titleClassName, headerClassName, headingLevel } = _a, props = __rest$1(_a, ["children", "className", "variant", "isFullHeight", "status", "icon", "titleText", "titleClassName", "headerClassName", "headingLevel"]);
8456
8540
  const statusIcon = status && statusIcons$2[status];
8457
8541
  const icon = customIcon || statusIcon;
8458
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyState, variant !== 'full' && styles$8.modifiers[variant], isFullHeight && styles$8.modifiers.fullHeight, status && styles$8.modifiers[status], className) }, props),
8459
- React.createElement("div", { className: css(styles$8.emptyStateContent) },
8542
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyState, variant !== 'full' && styles$9.modifiers[variant], isFullHeight && styles$9.modifiers.fullHeight, status && styles$9.modifiers[status], className) }, props),
8543
+ React.createElement("div", { className: css(styles$9.emptyStateContent) },
8460
8544
  React.createElement(EmptyStateHeader, { icon: icon, titleText: titleText, titleClassName: titleClassName, className: headerClassName, headingLevel: headingLevel }),
8461
8545
  children)));
8462
8546
  };
@@ -8464,23 +8548,23 @@ EmptyState.displayName = 'EmptyState';
8464
8548
 
8465
8549
  const EmptyStateBody = (_a) => {
8466
8550
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8467
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyStateBody, className) }, props), children));
8551
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyStateBody, className) }, props), children));
8468
8552
  };
8469
8553
  EmptyStateBody.displayName = 'EmptyStateBody';
8470
8554
 
8471
8555
  const EmptyStateFooter = (_a) => {
8472
8556
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8473
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyStateFooter, className) }, props), children));
8557
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyStateFooter, className) }, props), children));
8474
8558
  };
8475
8559
  EmptyStateFooter.displayName = 'EmptyStateFooter';
8476
8560
 
8477
8561
  const EmptyStateActions = (_a) => {
8478
8562
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8479
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyStateActions, className) }, props), children));
8563
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyStateActions, className) }, props), children));
8480
8564
  };
8481
8565
  EmptyStateActions.displayName = 'EmptyStateActions';
8482
8566
 
8483
- var styles$7 = {
8567
+ var styles$8 = {
8484
8568
  "dirRtl": "pf-v6-m-dir-rtl",
8485
8569
  "expandableSection": "pf-v6-c-expandable-section",
8486
8570
  "expandableSectionContent": "pf-v6-c-expandable-section__content",
@@ -8531,10 +8615,12 @@ class ExpandableSection extends React.Component {
8531
8615
  }
8532
8616
  };
8533
8617
  this.resize = () => {
8534
- const { offsetWidth } = this.expandableContentRef.current;
8535
- if (this.state.previousWidth !== offsetWidth) {
8536
- this.setState({ previousWidth: offsetWidth });
8537
- this.checkToggleVisibility();
8618
+ if (this.expandableContentRef.current) {
8619
+ const { offsetWidth } = this.expandableContentRef.current;
8620
+ if (this.state.previousWidth !== offsetWidth) {
8621
+ this.setState({ previousWidth: offsetWidth });
8622
+ this.checkToggleVisibility();
8623
+ }
8538
8624
  }
8539
8625
  };
8540
8626
  this.handleResize = debounce$1(this.resize, 250);
@@ -8597,13 +8683,13 @@ class ExpandableSection extends React.Component {
8597
8683
  };
8598
8684
  }
8599
8685
  const computedToggleText = this.calculateToggleText(toggleText, toggleTextExpanded, toggleTextCollapsed, propOrStateIsExpanded);
8600
- const expandableToggle = !isDetached && (React.createElement("button", { className: css(styles$7.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, "aria-controls": uniqueContentId, id: uniqueToggleId, onClick: (event) => onToggle(event, !propOrStateIsExpanded) },
8601
- variant !== ExpandableSectionVariant.truncate && (React.createElement("span", { className: css(styles$7.expandableSectionToggleIcon) },
8686
+ const expandableToggle = !isDetached && (React.createElement("button", { className: css(styles$8.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, "aria-controls": uniqueContentId, id: uniqueToggleId, onClick: (event) => onToggle(event, !propOrStateIsExpanded) },
8687
+ variant !== ExpandableSectionVariant.truncate && (React.createElement("span", { className: css(styles$8.expandableSectionToggleIcon) },
8602
8688
  React.createElement(AngleRightIcon, { "aria-hidden": true }))),
8603
- React.createElement("span", { className: css(styles$7.expandableSectionToggleText) }, toggleContent || computedToggleText)));
8604
- return (React.createElement("div", Object.assign({ className: css(styles$7.expandableSection, propOrStateIsExpanded && styles$7.modifiers.expanded, displaySize === 'lg' && styles$7.modifiers.displayLg, isWidthLimited && styles$7.modifiers.limitWidth, isIndented && styles$7.modifiers.indented, variant === ExpandableSectionVariant.truncate && styles$7.modifiers.truncate, className) }, props),
8689
+ React.createElement("span", { className: css(styles$8.expandableSectionToggleText) }, toggleContent || computedToggleText)));
8690
+ return (React.createElement("div", Object.assign({ className: css(styles$8.expandableSection, propOrStateIsExpanded && styles$8.modifiers.expanded, displaySize === 'lg' && styles$8.modifiers.displayLg, isWidthLimited && styles$8.modifiers.limitWidth, isIndented && styles$8.modifiers.indented, variant === ExpandableSectionVariant.truncate && styles$8.modifiers.truncate, className) }, props),
8605
8691
  variant === ExpandableSectionVariant.default && expandableToggle,
8606
- React.createElement("div", { ref: this.expandableContentRef, className: css(styles$7.expandableSectionContent), hidden: variant !== ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: uniqueContentId, "aria-labelledby": uniqueToggleId, role: "region" }, children),
8692
+ React.createElement("div", { ref: this.expandableContentRef, className: css(styles$8.expandableSectionContent), hidden: variant !== ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: uniqueContentId, "aria-labelledby": uniqueToggleId, role: "region" }, children),
8607
8693
  variant === ExpandableSectionVariant.truncate && this.state.hasToggle && expandableToggle));
8608
8694
  }
8609
8695
  }
@@ -8660,9 +8746,9 @@ var labelStyles = {
8660
8746
  "red": "pf-m-red",
8661
8747
  "orange": "pf-m-orange",
8662
8748
  "orangered": "pf-m-orangered",
8663
- "gold": "pf-m-gold",
8749
+ "yellow": "pf-m-yellow",
8664
8750
  "green": "pf-m-green",
8665
- "cyan": "pf-m-cyan",
8751
+ "teal": "pf-m-teal",
8666
8752
  "purple": "pf-m-purple",
8667
8753
  "success": "pf-m-success",
8668
8754
  "warning": "pf-m-warning",
@@ -8681,7 +8767,7 @@ var labelStyles = {
8681
8767
  }
8682
8768
  };
8683
8769
 
8684
- var styles$6 = {
8770
+ var styles$7 = {
8685
8771
  "button": "pf-v6-c-button",
8686
8772
  "labelGroup": "pf-v6-c-label-group",
8687
8773
  "labelGroupClose": "pf-v6-c-label-group__close",
@@ -8706,13 +8792,13 @@ const c_label__text_MaxWidth = {
8706
8792
 
8707
8793
  const colorStyles = {
8708
8794
  blue: labelStyles.modifiers.blue,
8709
- cyan: labelStyles.modifiers.cyan,
8795
+ teal: labelStyles.modifiers.teal,
8710
8796
  green: labelStyles.modifiers.green,
8711
8797
  orange: labelStyles.modifiers.orange,
8712
8798
  purple: labelStyles.modifiers.purple,
8713
8799
  red: labelStyles.modifiers.red,
8714
8800
  orangered: labelStyles.modifiers.orangered,
8715
- gold: labelStyles.modifiers.gold,
8801
+ yellow: labelStyles.modifiers.yellow,
8716
8802
  grey: ''
8717
8803
  };
8718
8804
  const statusIcons = {
@@ -8813,8 +8899,7 @@ const Label = (_a) => {
8813
8899
  }
8814
8900
  };
8815
8901
  const isClickableDisabled = (href || onLabelClick) && isDisabled;
8816
- const defaultCloseButton = (React.createElement(Button, Object.assign({ type: "button", variant: "plain", hasNoPadding: true, onClick: onClose, "aria-label": closeBtnAriaLabel || `Close ${children}` }, (isClickableDisabled && { isDisabled: true }), closeBtnProps),
8817
- React.createElement(TimesIcon, null)));
8902
+ const defaultCloseButton = (React.createElement(Button, Object.assign({ type: "button", variant: "plain", hasNoPadding: true, onClick: onClose, "aria-label": closeBtnAriaLabel || `Close ${children}` }, (isClickableDisabled && { isDisabled: true }), closeBtnProps, { icon: React.createElement(TimesIcon, null) })));
8818
8903
  const closeButton = React.createElement("span", { className: css(labelStyles.labelActions) }, closeBtn || defaultCloseButton);
8819
8904
  const textRef = React.createRef();
8820
8905
  // ref to apply tooltip when rendered is used
@@ -8871,14 +8956,14 @@ const Label = (_a) => {
8871
8956
  labelComponentChild = (React.createElement(Tooltip, { content: children, position: tooltipPosition }, labelComponentChild));
8872
8957
  }
8873
8958
  const LabelComponent = (isOverflowLabel ? 'button' : 'span');
8874
- return (React.createElement(LabelComponent, Object.assign({}, props, { className: css(labelStyles.label, isClickableDisabled && labelStyles.modifiers.disabled, colorStyles[color], variant === 'filled' && labelStyles.modifiers.filled, variant === 'outline' && labelStyles.modifiers.outline, status && labelStyles.modifiers[status], isOverflowLabel && labelStyles.modifiers.overflow, isCompact && labelStyles.modifiers.compact, isEditable && styles$6.modifiers.editable, isEditableActive && labelStyles.modifiers.editableActive, isClickable && labelStyles.modifiers.clickable, isAddLabel && labelStyles.modifiers.add, className), onClick: isOverflowLabel || isAddLabel ? onLabelClick : undefined }),
8959
+ return (React.createElement(LabelComponent, Object.assign({}, props, { className: css(labelStyles.label, isClickableDisabled && labelStyles.modifiers.disabled, colorStyles[color], variant === 'filled' && labelStyles.modifiers.filled, variant === 'outline' && labelStyles.modifiers.outline, status && labelStyles.modifiers[status], isOverflowLabel && labelStyles.modifiers.overflow, isCompact && labelStyles.modifiers.compact, isEditable && styles$7.modifiers.editable, isEditableActive && labelStyles.modifiers.editableActive, isClickable && labelStyles.modifiers.clickable, isAddLabel && labelStyles.modifiers.add, className), onClick: isOverflowLabel || isAddLabel ? onLabelClick : undefined }, (LabelComponent === 'button' && { type: 'button' })),
8875
8960
  !isEditableActive && labelComponentChild,
8876
8961
  !isEditableActive && onClose && closeButton,
8877
8962
  isEditableActive && (React.createElement("input", Object.assign({ className: css(labelStyles.labelContent), type: "text", id: "editable-input", ref: editableInputRef, value: currValue, onChange: updateVal }, editableProps)))));
8878
8963
  };
8879
8964
  Label.displayName = 'Label';
8880
8965
 
8881
- var styles$5 = {
8966
+ var styles$6 = {
8882
8967
  "list": "pf-v6-c-list",
8883
8968
  "listItem": "pf-v6-c-list__item",
8884
8969
  "listItemIcon": "pf-v6-c-list__item-icon",
@@ -8909,15 +8994,15 @@ var ListComponent;
8909
8994
  })(ListComponent || (ListComponent = {}));
8910
8995
  const List = (_a) => {
8911
8996
  var { className = '', children = null, variant = null, isBordered = false, isPlain = false, iconSize = 'default', type = OrderType.number, ref = null, component = ListComponent.ul } = _a, props = __rest$1(_a, ["className", "children", "variant", "isBordered", "isPlain", "iconSize", "type", "ref", "component"]);
8912
- return component === ListComponent.ol ? (React.createElement("ol", Object.assign({ ref: ref, type: type }, (isPlain && { role: 'list' }), props, { className: css(styles$5.list, variant && styles$5.modifiers[variant], isBordered && styles$5.modifiers.bordered, isPlain && styles$5.modifiers.plain, iconSize && iconSize === 'large' && styles$5.modifiers.iconLg, className) }), children)) : (React.createElement("ul", Object.assign({ ref: ref }, (isPlain && { role: 'list' }), props, { className: css(styles$5.list, variant && styles$5.modifiers[variant], isBordered && styles$5.modifiers.bordered, isPlain && styles$5.modifiers.plain, iconSize && iconSize === 'large' && styles$5.modifiers.iconLg, className) }), children));
8997
+ return component === ListComponent.ol ? (React.createElement("ol", Object.assign({ ref: ref, type: type }, (isPlain && { role: 'list' }), props, { className: css(styles$6.list, variant && styles$6.modifiers[variant], isBordered && styles$6.modifiers.bordered, isPlain && styles$6.modifiers.plain, iconSize && iconSize === 'large' && styles$6.modifiers.iconLg, className) }), children)) : (React.createElement("ul", Object.assign({ ref: ref }, (isPlain && { role: 'list' }), props, { className: css(styles$6.list, variant && styles$6.modifiers[variant], isBordered && styles$6.modifiers.bordered, isPlain && styles$6.modifiers.plain, iconSize && iconSize === 'large' && styles$6.modifiers.iconLg, className) }), children));
8913
8998
  };
8914
8999
  List.displayName = 'List';
8915
9000
 
8916
9001
  const ListItem = (_a) => {
8917
9002
  var { icon = null, children = null } = _a, props = __rest$1(_a, ["icon", "children"]);
8918
- return (React.createElement("li", Object.assign({ className: css(icon && styles$5.listItem) }, props),
8919
- icon && React.createElement("span", { className: css(styles$5.listItemIcon) }, icon),
8920
- React.createElement("span", { className: icon && css(`${styles$5.list}__item-text`) }, children)));
9003
+ return (React.createElement("li", Object.assign({ className: css(icon && styles$6.listItem) }, props),
9004
+ icon && React.createElement("span", { className: css(styles$6.listItemIcon) }, icon),
9005
+ React.createElement("span", { className: icon && css(`${styles$6.list}__item-text`) }, children)));
8921
9006
  };
8922
9007
  ListItem.displayName = 'ListItem';
8923
9008
 
@@ -8934,82 +9019,114 @@ const PageContext = React.createContext(pageContextDefaults);
8934
9019
  PageContext.Provider;
8935
9020
  PageContext.Consumer;
8936
9021
 
8937
- var TextVariants;
8938
- (function (TextVariants) {
8939
- TextVariants["h1"] = "h1";
8940
- TextVariants["h2"] = "h2";
8941
- TextVariants["h3"] = "h3";
8942
- TextVariants["h4"] = "h4";
8943
- TextVariants["h5"] = "h5";
8944
- TextVariants["h6"] = "h6";
8945
- TextVariants["p"] = "p";
8946
- TextVariants["a"] = "a";
8947
- TextVariants["small"] = "small";
8948
- TextVariants["blockquote"] = "blockquote";
8949
- TextVariants["pre"] = "pre";
8950
- })(TextVariants || (TextVariants = {}));
8951
- const componentStyles$2 = {
8952
- h1: styles$r.contentH1,
8953
- h2: styles$r.contentH2,
8954
- h3: styles$r.contentH3,
8955
- h4: styles$r.contentH4,
8956
- h5: styles$r.contentH5,
8957
- h6: styles$r.contentH6,
8958
- p: styles$r.contentP,
8959
- a: styles$r.contentA,
8960
- small: styles$r.contentSmall,
8961
- blockquote: styles$r.contentBlockquote,
8962
- pre: styles$r.contentPre
8963
- };
8964
- const Text = (_a) => {
8965
- var { children = null, className = '', component = TextVariants.p, isVisitedLink = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isVisitedLink", "ouiaId", "ouiaSafe"]);
8966
- const Component = component;
8967
- const ouiaProps = useOUIAProps(Text.displayName, ouiaId, ouiaSafe);
8968
- return (React.createElement(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(isVisitedLink && component === TextVariants.a && styles$r.modifiers.visited, componentStyles$2[component], className) }), children));
8969
- };
8970
- Text.displayName = 'Text';
8971
-
8972
- var TextListVariants;
8973
- (function (TextListVariants) {
8974
- TextListVariants["ul"] = "ul";
8975
- TextListVariants["ol"] = "ol";
8976
- TextListVariants["dl"] = "dl";
8977
- })(TextListVariants || (TextListVariants = {}));
8978
- const componentStyles$1 = {
8979
- ul: styles$r.contentUl,
8980
- ol: styles$r.contentOl,
8981
- dl: styles$r.contentDl
8982
- };
8983
- const TextList = (_a) => {
8984
- var { children = null, className = '', component = TextListVariants.ul, isPlain = false } = _a, props = __rest$1(_a, ["children", "className", "component", "isPlain"]);
8985
- const Component = component;
8986
- return (React.createElement(Component, Object.assign({}, props, { className: css(isPlain && styles$r.modifiers.plain, componentStyles$1[component], className) }), children));
8987
- };
8988
- TextList.displayName = 'TextList';
8989
-
8990
- var TextListItemVariants;
8991
- (function (TextListItemVariants) {
8992
- TextListItemVariants["li"] = "li";
8993
- TextListItemVariants["dt"] = "dt";
8994
- TextListItemVariants["dd"] = "dd";
8995
- })(TextListItemVariants || (TextListItemVariants = {}));
8996
- const componentStyles = {
8997
- li: styles$r.contentLi,
8998
- dt: styles$r.contentDt,
8999
- dd: styles$r.contentDd
9000
- };
9001
- const TextListItem = (_a) => {
9002
- var { children = null, className = '', component = TextListItemVariants.li } = _a, props = __rest$1(_a, ["children", "className", "component"]);
9022
+ var styles$5 = {
9023
+ "dirRtl": "pf-v6-m-dir-rtl",
9024
+ "drawer": "pf-v6-c-drawer",
9025
+ "masthead": "pf-v6-c-masthead",
9026
+ "modifiers": {
9027
+ "expanded": "pf-m-expanded",
9028
+ "collapsed": "pf-m-collapsed",
9029
+ "pageInsets": "pf-m-page-insets",
9030
+ "contextSelector": "pf-m-context-selector",
9031
+ "insetNone": "pf-m-inset-none",
9032
+ "fill": "pf-m-fill",
9033
+ "noFill": "pf-m-no-fill",
9034
+ "limitWidth": "pf-m-limit-width",
9035
+ "alignCenter": "pf-m-align-center",
9036
+ "overflowScroll": "pf-m-overflow-scroll",
9037
+ "shadowBottom": "pf-m-shadow-bottom",
9038
+ "shadowTop": "pf-m-shadow-top",
9039
+ "stickyTop": "pf-m-sticky-top",
9040
+ "stickyBottom": "pf-m-sticky-bottom",
9041
+ "stickyTopOnSmHeight": "pf-m-sticky-top-on-sm-height",
9042
+ "stickyBottomOnSmHeight": "pf-m-sticky-bottom-on-sm-height",
9043
+ "stickyTopOnMdHeight": "pf-m-sticky-top-on-md-height",
9044
+ "stickyBottomOnMdHeight": "pf-m-sticky-bottom-on-md-height",
9045
+ "stickyTopOnLgHeight": "pf-m-sticky-top-on-lg-height",
9046
+ "stickyBottomOnLgHeight": "pf-m-sticky-bottom-on-lg-height",
9047
+ "stickyTopOnXlHeight": "pf-m-sticky-top-on-xl-height",
9048
+ "stickyBottomOnXlHeight": "pf-m-sticky-bottom-on-xl-height",
9049
+ "stickyTopOn_2xlHeight": "pf-m-sticky-top-on-2xl-height",
9050
+ "stickyBottomOn_2xlHeight": "pf-m-sticky-bottom-on-2xl-height",
9051
+ "secondary": "pf-m-secondary",
9052
+ "padding": "pf-m-padding",
9053
+ "noPadding": "pf-m-no-padding",
9054
+ "paddingOnSm": "pf-m-padding-on-sm",
9055
+ "noPaddingOnSm": "pf-m-no-padding-on-sm",
9056
+ "paddingOnMd": "pf-m-padding-on-md",
9057
+ "noPaddingOnMd": "pf-m-no-padding-on-md",
9058
+ "paddingOnLg": "pf-m-padding-on-lg",
9059
+ "noPaddingOnLg": "pf-m-no-padding-on-lg",
9060
+ "paddingOnXl": "pf-m-padding-on-xl",
9061
+ "noPaddingOnXl": "pf-m-no-padding-on-xl",
9062
+ "paddingOn_2xl": "pf-m-padding-on-2xl",
9063
+ "noPaddingOn_2xl": "pf-m-no-padding-on-2xl"
9064
+ },
9065
+ "page": "pf-v6-c-page",
9066
+ "pageDrawer": "pf-v6-c-page__drawer",
9067
+ "pageMain": "pf-v6-c-page__main",
9068
+ "pageMainBody": "pf-v6-c-page__main-body",
9069
+ "pageMainBreadcrumb": "pf-v6-c-page__main-breadcrumb",
9070
+ "pageMainContainer": "pf-v6-c-page__main-container",
9071
+ "pageMainDrawer": "pf-v6-c-page__main-drawer",
9072
+ "pageMainGroup": "pf-v6-c-page__main-group",
9073
+ "pageMainSection": "pf-v6-c-page__main-section",
9074
+ "pageMainSubnav": "pf-v6-c-page__main-subnav",
9075
+ "pageMainTabs": "pf-v6-c-page__main-tabs",
9076
+ "pageMainWizard": "pf-v6-c-page__main-wizard",
9077
+ "pageSidebar": "pf-v6-c-page__sidebar",
9078
+ "pageSidebarBody": "pf-v6-c-page__sidebar-body",
9079
+ "pageSidebarHeader": "pf-v6-c-page__sidebar-header",
9080
+ "pageSidebarTitle": "pf-v6-c-page__sidebar-title"
9081
+ };
9082
+
9083
+ const PageBody = (_a) => {
9084
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
9085
+ return (React.createElement("div", Object.assign({}, props, { className: css(styles$5.pageMainBody, className) }), children));
9086
+ };
9087
+ PageBody.displayName = 'PageBody';
9088
+
9089
+ var PageSectionVariants;
9090
+ (function (PageSectionVariants) {
9091
+ PageSectionVariants["default"] = "default";
9092
+ PageSectionVariants["secondary"] = "secondary";
9093
+ })(PageSectionVariants || (PageSectionVariants = {}));
9094
+ var PageSectionTypes;
9095
+ (function (PageSectionTypes) {
9096
+ PageSectionTypes["default"] = "default";
9097
+ PageSectionTypes["subNav"] = "subnav";
9098
+ PageSectionTypes["breadcrumb"] = "breadcrumb";
9099
+ PageSectionTypes["tabs"] = "tabs";
9100
+ PageSectionTypes["wizard"] = "wizard";
9101
+ })(PageSectionTypes || (PageSectionTypes = {}));
9102
+ const variantType = {
9103
+ [PageSectionTypes.default]: styles$5.pageMainSection,
9104
+ [PageSectionTypes.subNav]: styles$5.pageMainSubnav,
9105
+ [PageSectionTypes.breadcrumb]: styles$5.pageMainBreadcrumb,
9106
+ [PageSectionTypes.tabs]: styles$5.pageMainTabs,
9107
+ [PageSectionTypes.wizard]: styles$5.pageMainWizard
9108
+ };
9109
+ const variantStyle = {
9110
+ [PageSectionVariants.default]: '',
9111
+ [PageSectionVariants.secondary]: styles$5.modifiers.secondary
9112
+ };
9113
+ const PageSection = (_a) => {
9114
+ var { className = '', children, variant = 'default', type = 'default', padding, isFilled, isWidthLimited = false, isCenterAligned = false, stickyOnBreakpoint, hasShadowTop = false, hasShadowBottom = false, hasOverflowScroll = false, 'aria-label': ariaLabel, component = 'section', hasBodyWrapper = true } = _a, props = __rest$1(_a, ["className", "children", "variant", "type", "padding", "isFilled", "isWidthLimited", "isCenterAligned", "stickyOnBreakpoint", "hasShadowTop", "hasShadowBottom", "hasOverflowScroll", 'aria-label', "component", "hasBodyWrapper"]);
9115
+ const { height, getVerticalBreakpoint } = React.useContext(PageContext);
9116
+ React.useEffect(() => {
9117
+ if (hasOverflowScroll && !ariaLabel) {
9118
+ /* eslint-disable no-console */
9119
+ console.warn('PageSection: An accessible aria-label is required when hasOverflowScroll is set to true.');
9120
+ }
9121
+ }, [hasOverflowScroll, ariaLabel]);
9003
9122
  const Component = component;
9004
- return (React.createElement(Component, Object.assign({}, props, { className: css(componentStyles[component], className) }), children));
9123
+ return (React.createElement(Component, Object.assign({}, props, { className: css(variantType[type], formatBreakpointMods(padding, styles$5), formatBreakpointMods(stickyOnBreakpoint, styles$5, 'sticky-', getVerticalBreakpoint(height), true), type === PageSectionTypes.default && variantStyle[variant], isFilled === false && styles$5.modifiers.noFill, isFilled === true && styles$5.modifiers.fill, isWidthLimited && styles$5.modifiers.limitWidth, isWidthLimited && isCenterAligned && type !== PageSectionTypes.subNav && styles$5.modifiers.alignCenter, hasShadowTop && styles$5.modifiers.shadowTop, hasShadowBottom && styles$5.modifiers.shadowBottom, hasOverflowScroll && styles$5.modifiers.overflowScroll, className) }, (hasOverflowScroll && { tabIndex: 0 }), { "aria-label": ariaLabel }), hasBodyWrapper ? React.createElement(PageBody, null, children) : children));
9005
9124
  };
9006
- TextListItem.displayName = 'TextListItem';
9125
+ PageSection.displayName = 'PageSection';
9007
9126
 
9008
9127
  var styles$4 = {
9009
9128
  "dirRtl": "pf-v6-m-dir-rtl",
9010
9129
  "modifiers": {
9011
- "labelGroupContainer": "pf-m-label-group-container",
9012
- "labelGroup": "pf-m-label-group",
9013
9130
  "hidden": "pf-m-hidden",
9014
9131
  "hiddenOnSm": "pf-m-hidden-on-sm",
9015
9132
  "visibleOnSm": "pf-m-visible-on-sm",
@@ -9024,17 +9141,19 @@ var styles$4 = {
9024
9141
  "sticky": "pf-m-sticky",
9025
9142
  "static": "pf-m-static",
9026
9143
  "fullHeight": "pf-m-full-height",
9027
- "pageInsets": "pf-m-page-insets",
9028
9144
  "primary": "pf-m-primary",
9029
9145
  "secondary": "pf-m-secondary",
9030
9146
  "noBackground": "pf-m-no-background",
9031
- "pagination": "pf-m-pagination",
9032
9147
  "expandAll": "pf-m-expand-all",
9033
9148
  "expanded": "pf-m-expanded",
9034
9149
  "label": "pf-m-label",
9150
+ "pagination": "pf-m-pagination",
9035
9151
  "overflowContainer": "pf-m-overflow-container",
9036
- "iconButtonGroup": "pf-m-icon-button-group",
9037
9152
  "filterGroup": "pf-m-filter-group",
9153
+ "labelGroup": "pf-m-label-group",
9154
+ "actionGroup": "pf-m-action-group",
9155
+ "actionGroupPlain": "pf-m-action-group-plain",
9156
+ "actionGroupInline": "pf-m-action-group-inline",
9038
9157
  "alignStart": "pf-m-align-start",
9039
9158
  "alignCenter": "pf-m-align-center",
9040
9159
  "alignEnd": "pf-m-align-end",
@@ -9071,40 +9190,22 @@ var styles$4 = {
9071
9190
  "gap_4xl": "pf-m-gap-4xl",
9072
9191
  "columnGapNone": "pf-m-column-gap-none",
9073
9192
  "rowGapNone": "pf-m-row-gap-none",
9074
- "marginInlineStartnone": "pf-m-margin-inline-startnone",
9075
- "marginInlineEndnone": "pf-m-margin-inline-endnone",
9076
9193
  "columnGapXs": "pf-m-column-gap-xs",
9077
9194
  "rowGapXs": "pf-m-row-gap-xs",
9078
- "marginInlineStartxs": "pf-m-margin-inline-startxs",
9079
- "marginInlineEndxs": "pf-m-margin-inline-endxs",
9080
9195
  "columnGapSm": "pf-m-column-gap-sm",
9081
9196
  "rowGapSm": "pf-m-row-gap-sm",
9082
- "marginInlineStartsm": "pf-m-margin-inline-startsm",
9083
- "marginInlineEndsm": "pf-m-margin-inline-endsm",
9084
9197
  "columnGapMd": "pf-m-column-gap-md",
9085
9198
  "rowGapMd": "pf-m-row-gap-md",
9086
- "marginInlineStartmd": "pf-m-margin-inline-startmd",
9087
- "marginInlineEndmd": "pf-m-margin-inline-endmd",
9088
9199
  "columnGapLg": "pf-m-column-gap-lg",
9089
9200
  "rowGapLg": "pf-m-row-gap-lg",
9090
- "marginInlineStartlg": "pf-m-margin-inline-startlg",
9091
- "marginInlineEndlg": "pf-m-margin-inline-endlg",
9092
9201
  "columnGapXl": "pf-m-column-gap-xl",
9093
9202
  "rowGapXl": "pf-m-row-gap-xl",
9094
- "marginInlineStartxl": "pf-m-margin-inline-startxl",
9095
- "marginInlineEndxl": "pf-m-margin-inline-endxl",
9096
9203
  "columnGap_2xl": "pf-m-column-gap-2xl",
9097
9204
  "rowGap_2xl": "pf-m-row-gap-2xl",
9098
- "marginInlineStart2xl": "pf-m-margin-inline-start2xl",
9099
- "marginInlineEnd2xl": "pf-m-margin-inline-end2xl",
9100
9205
  "columnGap_3xl": "pf-m-column-gap-3xl",
9101
9206
  "rowGap_3xl": "pf-m-row-gap-3xl",
9102
- "marginInlineStart3xl": "pf-m-margin-inline-start3xl",
9103
- "marginInlineEnd3xl": "pf-m-margin-inline-end3xl",
9104
9207
  "columnGap_4xl": "pf-m-column-gap-4xl",
9105
9208
  "rowGap_4xl": "pf-m-row-gap-4xl",
9106
- "marginInlineStart4xl": "pf-m-margin-inline-start4xl",
9107
- "marginInlineEnd4xl": "pf-m-margin-inline-end4xl",
9108
9209
  "toggleGroup": "pf-m-toggle-group",
9109
9210
  "show": "pf-m-show",
9110
9211
  "hide": "pf-m-hide",
@@ -9144,40 +9245,22 @@ var styles$4 = {
9144
9245
  "gap_4xlOnSm": "pf-m-gap-4xl-on-sm",
9145
9246
  "columnGapNoneOnSm": "pf-m-column-gap-none-on-sm",
9146
9247
  "rowGapNoneOnSm": "pf-m-row-gap-none-on-sm",
9147
- "marginInlineStartnoneOnSm": "pf-m-margin-inline-startnone-on-sm",
9148
- "marginInlineEndnoneOnSm": "pf-m-margin-inline-endnone-on-sm",
9149
9248
  "columnGapXsOnSm": "pf-m-column-gap-xs-on-sm",
9150
9249
  "rowGapXsOnSm": "pf-m-row-gap-xs-on-sm",
9151
- "marginInlineStartxsOnSm": "pf-m-margin-inline-startxs-on-sm",
9152
- "marginInlineEndxsOnSm": "pf-m-margin-inline-endxs-on-sm",
9153
9250
  "columnGapSmOnSm": "pf-m-column-gap-sm-on-sm",
9154
9251
  "rowGapSmOnSm": "pf-m-row-gap-sm-on-sm",
9155
- "marginInlineStartsmOnSm": "pf-m-margin-inline-startsm-on-sm",
9156
- "marginInlineEndsmOnSm": "pf-m-margin-inline-endsm-on-sm",
9157
9252
  "columnGapMdOnSm": "pf-m-column-gap-md-on-sm",
9158
9253
  "rowGapMdOnSm": "pf-m-row-gap-md-on-sm",
9159
- "marginInlineStartmdOnSm": "pf-m-margin-inline-startmd-on-sm",
9160
- "marginInlineEndmdOnSm": "pf-m-margin-inline-endmd-on-sm",
9161
9254
  "columnGapLgOnSm": "pf-m-column-gap-lg-on-sm",
9162
9255
  "rowGapLgOnSm": "pf-m-row-gap-lg-on-sm",
9163
- "marginInlineStartlgOnSm": "pf-m-margin-inline-startlg-on-sm",
9164
- "marginInlineEndlgOnSm": "pf-m-margin-inline-endlg-on-sm",
9165
9256
  "columnGapXlOnSm": "pf-m-column-gap-xl-on-sm",
9166
9257
  "rowGapXlOnSm": "pf-m-row-gap-xl-on-sm",
9167
- "marginInlineStartxlOnSm": "pf-m-margin-inline-startxl-on-sm",
9168
- "marginInlineEndxlOnSm": "pf-m-margin-inline-endxl-on-sm",
9169
9258
  "columnGap_2xlOnSm": "pf-m-column-gap-2xl-on-sm",
9170
9259
  "rowGap_2xlOnSm": "pf-m-row-gap-2xl-on-sm",
9171
- "marginInlineStart2xlOnSm": "pf-m-margin-inline-start2xl-on-sm",
9172
- "marginInlineEnd2xlOnSm": "pf-m-margin-inline-end2xl-on-sm",
9173
9260
  "columnGap_3xlOnSm": "pf-m-column-gap-3xl-on-sm",
9174
9261
  "rowGap_3xlOnSm": "pf-m-row-gap-3xl-on-sm",
9175
- "marginInlineStart3xlOnSm": "pf-m-margin-inline-start3xl-on-sm",
9176
- "marginInlineEnd3xlOnSm": "pf-m-margin-inline-end3xl-on-sm",
9177
9262
  "columnGap_4xlOnSm": "pf-m-column-gap-4xl-on-sm",
9178
9263
  "rowGap_4xlOnSm": "pf-m-row-gap-4xl-on-sm",
9179
- "marginInlineStart4xlOnSm": "pf-m-margin-inline-start4xl-on-sm",
9180
- "marginInlineEnd4xlOnSm": "pf-m-margin-inline-end4xl-on-sm",
9181
9264
  "showOnSm": "pf-m-show-on-sm",
9182
9265
  "hideOnSm": "pf-m-hide-on-sm",
9183
9266
  "alignStartOnMd": "pf-m-align-start-on-md",
@@ -9216,40 +9299,22 @@ var styles$4 = {
9216
9299
  "gap_4xlOnMd": "pf-m-gap-4xl-on-md",
9217
9300
  "columnGapNoneOnMd": "pf-m-column-gap-none-on-md",
9218
9301
  "rowGapNoneOnMd": "pf-m-row-gap-none-on-md",
9219
- "marginInlineStartnoneOnMd": "pf-m-margin-inline-startnone-on-md",
9220
- "marginInlineEndnoneOnMd": "pf-m-margin-inline-endnone-on-md",
9221
9302
  "columnGapXsOnMd": "pf-m-column-gap-xs-on-md",
9222
9303
  "rowGapXsOnMd": "pf-m-row-gap-xs-on-md",
9223
- "marginInlineStartxsOnMd": "pf-m-margin-inline-startxs-on-md",
9224
- "marginInlineEndxsOnMd": "pf-m-margin-inline-endxs-on-md",
9225
9304
  "columnGapSmOnMd": "pf-m-column-gap-sm-on-md",
9226
9305
  "rowGapSmOnMd": "pf-m-row-gap-sm-on-md",
9227
- "marginInlineStartsmOnMd": "pf-m-margin-inline-startsm-on-md",
9228
- "marginInlineEndsmOnMd": "pf-m-margin-inline-endsm-on-md",
9229
9306
  "columnGapMdOnMd": "pf-m-column-gap-md-on-md",
9230
9307
  "rowGapMdOnMd": "pf-m-row-gap-md-on-md",
9231
- "marginInlineStartmdOnMd": "pf-m-margin-inline-startmd-on-md",
9232
- "marginInlineEndmdOnMd": "pf-m-margin-inline-endmd-on-md",
9233
9308
  "columnGapLgOnMd": "pf-m-column-gap-lg-on-md",
9234
9309
  "rowGapLgOnMd": "pf-m-row-gap-lg-on-md",
9235
- "marginInlineStartlgOnMd": "pf-m-margin-inline-startlg-on-md",
9236
- "marginInlineEndlgOnMd": "pf-m-margin-inline-endlg-on-md",
9237
9310
  "columnGapXlOnMd": "pf-m-column-gap-xl-on-md",
9238
9311
  "rowGapXlOnMd": "pf-m-row-gap-xl-on-md",
9239
- "marginInlineStartxlOnMd": "pf-m-margin-inline-startxl-on-md",
9240
- "marginInlineEndxlOnMd": "pf-m-margin-inline-endxl-on-md",
9241
9312
  "columnGap_2xlOnMd": "pf-m-column-gap-2xl-on-md",
9242
9313
  "rowGap_2xlOnMd": "pf-m-row-gap-2xl-on-md",
9243
- "marginInlineStart2xlOnMd": "pf-m-margin-inline-start2xl-on-md",
9244
- "marginInlineEnd2xlOnMd": "pf-m-margin-inline-end2xl-on-md",
9245
9314
  "columnGap_3xlOnMd": "pf-m-column-gap-3xl-on-md",
9246
9315
  "rowGap_3xlOnMd": "pf-m-row-gap-3xl-on-md",
9247
- "marginInlineStart3xlOnMd": "pf-m-margin-inline-start3xl-on-md",
9248
- "marginInlineEnd3xlOnMd": "pf-m-margin-inline-end3xl-on-md",
9249
9316
  "columnGap_4xlOnMd": "pf-m-column-gap-4xl-on-md",
9250
9317
  "rowGap_4xlOnMd": "pf-m-row-gap-4xl-on-md",
9251
- "marginInlineStart4xlOnMd": "pf-m-margin-inline-start4xl-on-md",
9252
- "marginInlineEnd4xlOnMd": "pf-m-margin-inline-end4xl-on-md",
9253
9318
  "showOnMd": "pf-m-show-on-md",
9254
9319
  "hideOnMd": "pf-m-hide-on-md",
9255
9320
  "alignStartOnLg": "pf-m-align-start-on-lg",
@@ -9288,40 +9353,22 @@ var styles$4 = {
9288
9353
  "gap_4xlOnLg": "pf-m-gap-4xl-on-lg",
9289
9354
  "columnGapNoneOnLg": "pf-m-column-gap-none-on-lg",
9290
9355
  "rowGapNoneOnLg": "pf-m-row-gap-none-on-lg",
9291
- "marginInlineStartnoneOnLg": "pf-m-margin-inline-startnone-on-lg",
9292
- "marginInlineEndnoneOnLg": "pf-m-margin-inline-endnone-on-lg",
9293
9356
  "columnGapXsOnLg": "pf-m-column-gap-xs-on-lg",
9294
9357
  "rowGapXsOnLg": "pf-m-row-gap-xs-on-lg",
9295
- "marginInlineStartxsOnLg": "pf-m-margin-inline-startxs-on-lg",
9296
- "marginInlineEndxsOnLg": "pf-m-margin-inline-endxs-on-lg",
9297
9358
  "columnGapSmOnLg": "pf-m-column-gap-sm-on-lg",
9298
9359
  "rowGapSmOnLg": "pf-m-row-gap-sm-on-lg",
9299
- "marginInlineStartsmOnLg": "pf-m-margin-inline-startsm-on-lg",
9300
- "marginInlineEndsmOnLg": "pf-m-margin-inline-endsm-on-lg",
9301
9360
  "columnGapMdOnLg": "pf-m-column-gap-md-on-lg",
9302
9361
  "rowGapMdOnLg": "pf-m-row-gap-md-on-lg",
9303
- "marginInlineStartmdOnLg": "pf-m-margin-inline-startmd-on-lg",
9304
- "marginInlineEndmdOnLg": "pf-m-margin-inline-endmd-on-lg",
9305
9362
  "columnGapLgOnLg": "pf-m-column-gap-lg-on-lg",
9306
9363
  "rowGapLgOnLg": "pf-m-row-gap-lg-on-lg",
9307
- "marginInlineStartlgOnLg": "pf-m-margin-inline-startlg-on-lg",
9308
- "marginInlineEndlgOnLg": "pf-m-margin-inline-endlg-on-lg",
9309
9364
  "columnGapXlOnLg": "pf-m-column-gap-xl-on-lg",
9310
9365
  "rowGapXlOnLg": "pf-m-row-gap-xl-on-lg",
9311
- "marginInlineStartxlOnLg": "pf-m-margin-inline-startxl-on-lg",
9312
- "marginInlineEndxlOnLg": "pf-m-margin-inline-endxl-on-lg",
9313
9366
  "columnGap_2xlOnLg": "pf-m-column-gap-2xl-on-lg",
9314
9367
  "rowGap_2xlOnLg": "pf-m-row-gap-2xl-on-lg",
9315
- "marginInlineStart2xlOnLg": "pf-m-margin-inline-start2xl-on-lg",
9316
- "marginInlineEnd2xlOnLg": "pf-m-margin-inline-end2xl-on-lg",
9317
9368
  "columnGap_3xlOnLg": "pf-m-column-gap-3xl-on-lg",
9318
9369
  "rowGap_3xlOnLg": "pf-m-row-gap-3xl-on-lg",
9319
- "marginInlineStart3xlOnLg": "pf-m-margin-inline-start3xl-on-lg",
9320
- "marginInlineEnd3xlOnLg": "pf-m-margin-inline-end3xl-on-lg",
9321
9370
  "columnGap_4xlOnLg": "pf-m-column-gap-4xl-on-lg",
9322
9371
  "rowGap_4xlOnLg": "pf-m-row-gap-4xl-on-lg",
9323
- "marginInlineStart4xlOnLg": "pf-m-margin-inline-start4xl-on-lg",
9324
- "marginInlineEnd4xlOnLg": "pf-m-margin-inline-end4xl-on-lg",
9325
9372
  "showOnLg": "pf-m-show-on-lg",
9326
9373
  "hideOnLg": "pf-m-hide-on-lg",
9327
9374
  "alignStartOnXl": "pf-m-align-start-on-xl",
@@ -9360,40 +9407,22 @@ var styles$4 = {
9360
9407
  "gap_4xlOnXl": "pf-m-gap-4xl-on-xl",
9361
9408
  "columnGapNoneOnXl": "pf-m-column-gap-none-on-xl",
9362
9409
  "rowGapNoneOnXl": "pf-m-row-gap-none-on-xl",
9363
- "marginInlineStartnoneOnXl": "pf-m-margin-inline-startnone-on-xl",
9364
- "marginInlineEndnoneOnXl": "pf-m-margin-inline-endnone-on-xl",
9365
9410
  "columnGapXsOnXl": "pf-m-column-gap-xs-on-xl",
9366
9411
  "rowGapXsOnXl": "pf-m-row-gap-xs-on-xl",
9367
- "marginInlineStartxsOnXl": "pf-m-margin-inline-startxs-on-xl",
9368
- "marginInlineEndxsOnXl": "pf-m-margin-inline-endxs-on-xl",
9369
9412
  "columnGapSmOnXl": "pf-m-column-gap-sm-on-xl",
9370
9413
  "rowGapSmOnXl": "pf-m-row-gap-sm-on-xl",
9371
- "marginInlineStartsmOnXl": "pf-m-margin-inline-startsm-on-xl",
9372
- "marginInlineEndsmOnXl": "pf-m-margin-inline-endsm-on-xl",
9373
9414
  "columnGapMdOnXl": "pf-m-column-gap-md-on-xl",
9374
9415
  "rowGapMdOnXl": "pf-m-row-gap-md-on-xl",
9375
- "marginInlineStartmdOnXl": "pf-m-margin-inline-startmd-on-xl",
9376
- "marginInlineEndmdOnXl": "pf-m-margin-inline-endmd-on-xl",
9377
9416
  "columnGapLgOnXl": "pf-m-column-gap-lg-on-xl",
9378
9417
  "rowGapLgOnXl": "pf-m-row-gap-lg-on-xl",
9379
- "marginInlineStartlgOnXl": "pf-m-margin-inline-startlg-on-xl",
9380
- "marginInlineEndlgOnXl": "pf-m-margin-inline-endlg-on-xl",
9381
9418
  "columnGapXlOnXl": "pf-m-column-gap-xl-on-xl",
9382
9419
  "rowGapXlOnXl": "pf-m-row-gap-xl-on-xl",
9383
- "marginInlineStartxlOnXl": "pf-m-margin-inline-startxl-on-xl",
9384
- "marginInlineEndxlOnXl": "pf-m-margin-inline-endxl-on-xl",
9385
9420
  "columnGap_2xlOnXl": "pf-m-column-gap-2xl-on-xl",
9386
9421
  "rowGap_2xlOnXl": "pf-m-row-gap-2xl-on-xl",
9387
- "marginInlineStart2xlOnXl": "pf-m-margin-inline-start2xl-on-xl",
9388
- "marginInlineEnd2xlOnXl": "pf-m-margin-inline-end2xl-on-xl",
9389
9422
  "columnGap_3xlOnXl": "pf-m-column-gap-3xl-on-xl",
9390
9423
  "rowGap_3xlOnXl": "pf-m-row-gap-3xl-on-xl",
9391
- "marginInlineStart3xlOnXl": "pf-m-margin-inline-start3xl-on-xl",
9392
- "marginInlineEnd3xlOnXl": "pf-m-margin-inline-end3xl-on-xl",
9393
9424
  "columnGap_4xlOnXl": "pf-m-column-gap-4xl-on-xl",
9394
9425
  "rowGap_4xlOnXl": "pf-m-row-gap-4xl-on-xl",
9395
- "marginInlineStart4xlOnXl": "pf-m-margin-inline-start4xl-on-xl",
9396
- "marginInlineEnd4xlOnXl": "pf-m-margin-inline-end4xl-on-xl",
9397
9426
  "showOnXl": "pf-m-show-on-xl",
9398
9427
  "hideOnXl": "pf-m-hide-on-xl",
9399
9428
  "alignStartOn_2xl": "pf-m-align-start-on-2xl",
@@ -9432,40 +9461,22 @@ var styles$4 = {
9432
9461
  "gap_4xlOn_2xl": "pf-m-gap-4xl-on-2xl",
9433
9462
  "columnGapNoneOn_2xl": "pf-m-column-gap-none-on-2xl",
9434
9463
  "rowGapNoneOn_2xl": "pf-m-row-gap-none-on-2xl",
9435
- "marginInlineStartnoneOn_2xl": "pf-m-margin-inline-startnone-on-2xl",
9436
- "marginInlineEndnoneOn_2xl": "pf-m-margin-inline-endnone-on-2xl",
9437
9464
  "columnGapXsOn_2xl": "pf-m-column-gap-xs-on-2xl",
9438
9465
  "rowGapXsOn_2xl": "pf-m-row-gap-xs-on-2xl",
9439
- "marginInlineStartxsOn_2xl": "pf-m-margin-inline-startxs-on-2xl",
9440
- "marginInlineEndxsOn_2xl": "pf-m-margin-inline-endxs-on-2xl",
9441
9466
  "columnGapSmOn_2xl": "pf-m-column-gap-sm-on-2xl",
9442
9467
  "rowGapSmOn_2xl": "pf-m-row-gap-sm-on-2xl",
9443
- "marginInlineStartsmOn_2xl": "pf-m-margin-inline-startsm-on-2xl",
9444
- "marginInlineEndsmOn_2xl": "pf-m-margin-inline-endsm-on-2xl",
9445
9468
  "columnGapMdOn_2xl": "pf-m-column-gap-md-on-2xl",
9446
9469
  "rowGapMdOn_2xl": "pf-m-row-gap-md-on-2xl",
9447
- "marginInlineStartmdOn_2xl": "pf-m-margin-inline-startmd-on-2xl",
9448
- "marginInlineEndmdOn_2xl": "pf-m-margin-inline-endmd-on-2xl",
9449
9470
  "columnGapLgOn_2xl": "pf-m-column-gap-lg-on-2xl",
9450
9471
  "rowGapLgOn_2xl": "pf-m-row-gap-lg-on-2xl",
9451
- "marginInlineStartlgOn_2xl": "pf-m-margin-inline-startlg-on-2xl",
9452
- "marginInlineEndlgOn_2xl": "pf-m-margin-inline-endlg-on-2xl",
9453
9472
  "columnGapXlOn_2xl": "pf-m-column-gap-xl-on-2xl",
9454
9473
  "rowGapXlOn_2xl": "pf-m-row-gap-xl-on-2xl",
9455
- "marginInlineStartxlOn_2xl": "pf-m-margin-inline-startxl-on-2xl",
9456
- "marginInlineEndxlOn_2xl": "pf-m-margin-inline-endxl-on-2xl",
9457
9474
  "columnGap_2xlOn_2xl": "pf-m-column-gap-2xl-on-2xl",
9458
9475
  "rowGap_2xlOn_2xl": "pf-m-row-gap-2xl-on-2xl",
9459
- "marginInlineStart2xlOn_2xl": "pf-m-margin-inline-start2xl-on-2xl",
9460
- "marginInlineEnd2xlOn_2xl": "pf-m-margin-inline-end2xl-on-2xl",
9461
9476
  "columnGap_3xlOn_2xl": "pf-m-column-gap-3xl-on-2xl",
9462
9477
  "rowGap_3xlOn_2xl": "pf-m-row-gap-3xl-on-2xl",
9463
- "marginInlineStart3xlOn_2xl": "pf-m-margin-inline-start3xl-on-2xl",
9464
- "marginInlineEnd3xlOn_2xl": "pf-m-margin-inline-end3xl-on-2xl",
9465
9478
  "columnGap_4xlOn_2xl": "pf-m-column-gap-4xl-on-2xl",
9466
9479
  "rowGap_4xlOn_2xl": "pf-m-row-gap-4xl-on-2xl",
9467
- "marginInlineStart4xlOn_2xl": "pf-m-margin-inline-start4xl-on-2xl",
9468
- "marginInlineEnd4xlOn_2xl": "pf-m-margin-inline-end4xl-on-2xl",
9469
9480
  "showOn_2xl": "pf-m-show-on-2xl",
9470
9481
  "hideOn_2xl": "pf-m-hide-on-2xl"
9471
9482
  },
@@ -9483,7 +9494,7 @@ var styles$4 = {
9483
9494
  const ToolbarContext = React.createContext({
9484
9495
  isExpanded: false,
9485
9496
  toggleIsExpanded: () => { },
9486
- chipGroupContentRef: null,
9497
+ labelGroupContentRef: null,
9487
9498
  updateNumberFilters: () => { },
9488
9499
  numberOfFilters: 0,
9489
9500
  clearAllFilters: () => { }
@@ -9491,14 +9502,14 @@ const ToolbarContext = React.createContext({
9491
9502
  const ToolbarContentContext = React.createContext({
9492
9503
  expandableContentRef: null,
9493
9504
  expandableContentId: '',
9494
- chipContainerRef: null,
9505
+ labelContainerRef: null,
9495
9506
  clearAllFilters: () => { }
9496
9507
  });
9497
9508
  const globalBreakpoints = {
9498
- md: parseInt(global_breakpoint_md.value),
9499
- lg: parseInt(global_breakpoint_lg.value),
9500
- xl: parseInt(global_breakpoint_xl.value),
9501
- '2xl': parseInt(global_breakpoint_2xl.value)
9509
+ md: parseInt(global_breakpoint_md.value) * 16,
9510
+ lg: parseInt(global_breakpoint_lg.value) * 16,
9511
+ xl: parseInt(global_breakpoint_xl.value) * 16,
9512
+ '2xl': parseInt(global_breakpoint_2xl.value) * 16
9502
9513
  };
9503
9514
 
9504
9515
  var ToolbarItemVariant;
@@ -9506,7 +9517,7 @@ var ToolbarItemVariant;
9506
9517
  ToolbarItemVariant["separator"] = "separator";
9507
9518
  ToolbarItemVariant["pagination"] = "pagination";
9508
9519
  ToolbarItemVariant["label"] = "label";
9509
- ToolbarItemVariant["chip-group"] = "chip-group";
9520
+ ToolbarItemVariant["label-group"] = "label-group";
9510
9521
  ToolbarItemVariant["expand-all"] = "expand-all";
9511
9522
  })(ToolbarItemVariant || (ToolbarItemVariant = {}));
9512
9523
  const ToolbarItem = (_a) => {
@@ -9514,27 +9525,31 @@ const ToolbarItem = (_a) => {
9514
9525
  if (variant === ToolbarItemVariant.separator) {
9515
9526
  return React.createElement(Divider, Object.assign({ className: css(className), orientation: { default: 'vertical' } }, props));
9516
9527
  }
9517
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarItem, variant && styles$4.modifiers[toCamel(variant)], variant === ToolbarItemVariant['chip-group'] && styles$4.modifiers.labelGroup, isAllExpanded && styles$4.modifiers.expanded, isOverflowContainer && styles$4.modifiers.overflowContainer, formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, className) }, (variant === 'label' && { 'aria-hidden': true }), { id: id }, props), children))));
9528
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarItem, variant && styles$4.modifiers[toCamel(variant)], variant === ToolbarItemVariant['label-group'] && styles$4.modifiers.labelGroup, isAllExpanded && styles$4.modifiers.expanded, isOverflowContainer && styles$4.modifiers.overflowContainer, formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, className) }, (variant === 'label' && { 'aria-hidden': true }), { id: id }, props), children))));
9518
9529
  };
9519
9530
  ToolbarItem.displayName = 'ToolbarItem';
9520
9531
 
9521
9532
  var ToolbarGroupVariant;
9522
9533
  (function (ToolbarGroupVariant) {
9523
9534
  ToolbarGroupVariant["filter-group"] = "filter-group";
9524
- ToolbarGroupVariant["icon-button-group"] = "icon-button-group";
9535
+ ToolbarGroupVariant["action-group"] = "action-group";
9536
+ ToolbarGroupVariant["action-group-inline"] = "action-group-inline";
9537
+ ToolbarGroupVariant["action-group-plain"] = "action-group-plain";
9538
+ ToolbarGroupVariant["label-group"] = "label-group";
9525
9539
  })(ToolbarGroupVariant || (ToolbarGroupVariant = {}));
9526
9540
  class ToolbarGroupWithRef extends React.Component {
9527
9541
  render() {
9528
9542
  const _a = this.props, { visibility, align, alignItems, alignSelf, gap, columnGap, rowGap, className, variant, children, isOverflowContainer, innerRef } = _a, props = __rest$1(_a, ["visibility", "align", "alignItems", "alignSelf", "gap", "columnGap", "rowGap", "className", "variant", "children", "isOverflowContainer", "innerRef"]);
9529
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarGroup, variant && styles$4.modifiers[toCamel(variant)], formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, isOverflowContainer && styles$4.modifiers.overflowContainer, className) }, props, { ref: innerRef }), children))));
9543
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarGroup, variant &&
9544
+ styles$4.modifiers[toCamel(variant)], formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, isOverflowContainer && styles$4.modifiers.overflowContainer, className) }, props, { ref: innerRef }), children))));
9530
9545
  }
9531
9546
  }
9532
9547
  const ToolbarGroup = React.forwardRef((props, ref) => (React.createElement(ToolbarGroupWithRef, Object.assign({}, props, { innerRef: ref }))));
9533
9548
 
9534
- class ToolbarChipGroupContent extends React.Component {
9549
+ class ToolbarLabelGroupContent extends React.Component {
9535
9550
  render() {
9536
- const _a = this.props, { className, isExpanded, chipGroupContentRef, clearAllFilters, showClearFiltersButton, clearFiltersButtonText, collapseListedFiltersBreakpoint, numberOfFilters, numberOfFiltersText, customChipGroupContent } = _a, props = __rest$1(_a, ["className", "isExpanded", "chipGroupContentRef", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "numberOfFilters", "numberOfFiltersText", "customChipGroupContent"]);
9537
- const clearChipGroups = () => {
9551
+ const _a = this.props, { className, isExpanded, labelGroupContentRef, clearAllFilters, showClearFiltersButton, clearFiltersButtonText, collapseListedFiltersBreakpoint, numberOfFilters, numberOfFiltersText, customLabelGroupContent } = _a, props = __rest$1(_a, ["className", "isExpanded", "labelGroupContentRef", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "numberOfFilters", "numberOfFiltersText", "customLabelGroupContent"]);
9552
+ const clearLabelGroups = () => {
9538
9553
  clearAllFilters();
9539
9554
  };
9540
9555
  let collapseListedFilters = false;
@@ -9546,17 +9561,19 @@ class ToolbarChipGroupContent extends React.Component {
9546
9561
  (canUseDOM ? window.innerWidth : 1200) < globalBreakpoints[collapseListedFiltersBreakpoint];
9547
9562
  }
9548
9563
  const isHidden = numberOfFilters === 0 || isExpanded;
9549
- return (React.createElement("div", Object.assign({ className: css(styles$4.toolbarContent, isHidden && styles$4.modifiers.hidden, className) }, ((numberOfFilters === 0 || isExpanded) && { hidden: true }), { ref: chipGroupContentRef }, props),
9564
+ const showNumberOfFilters = collapseListedFilters && numberOfFilters > 0 && !isExpanded;
9565
+ const showDefaultClearFilter = showClearFiltersButton && !isExpanded && !customLabelGroupContent;
9566
+ return (React.createElement("div", Object.assign({ className: css(styles$4.toolbarContent, isHidden && styles$4.modifiers.hidden, className) }, ((numberOfFilters === 0 || isExpanded) && { hidden: true }), { ref: labelGroupContentRef }, props),
9550
9567
  React.createElement(ToolbarGroup, Object.assign({ className: css(collapseListedFilters && styles$4.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
9551
- collapseListedFilters && numberOfFilters > 0 && !isExpanded && (React.createElement(ToolbarGroup, null,
9552
- React.createElement(ToolbarItem, null, numberOfFiltersText(numberOfFilters)))),
9553
- showClearFiltersButton && !isExpanded && !customChipGroupContent && (React.createElement(ToolbarItem, null,
9554
- React.createElement(Button, { variant: "link", onClick: clearChipGroups, isInline: true }, clearFiltersButtonText))),
9555
- customChipGroupContent && customChipGroupContent));
9568
+ (showNumberOfFilters || showDefaultClearFilter || customLabelGroupContent) && (React.createElement(ToolbarGroup, { variant: "action-group-inline" },
9569
+ showNumberOfFilters && React.createElement(ToolbarItem, null, numberOfFiltersText(numberOfFilters)),
9570
+ showDefaultClearFilter && (React.createElement(ToolbarItem, null,
9571
+ React.createElement(Button, { variant: "link", onClick: clearLabelGroups, isInline: true }, clearFiltersButtonText))),
9572
+ customLabelGroupContent && customLabelGroupContent))));
9556
9573
  }
9557
9574
  }
9558
- ToolbarChipGroupContent.displayName = 'ToolbarChipGroupContent';
9559
- ToolbarChipGroupContent.defaultProps = {
9575
+ ToolbarLabelGroupContent.displayName = 'ToolbarLabelGroupContent';
9576
+ ToolbarLabelGroupContent.defaultProps = {
9560
9577
  clearFiltersButtonText: 'Clear all filters',
9561
9578
  collapseListedFiltersBreakpoint: 'lg',
9562
9579
  numberOfFiltersText: (numberOfFilters) => `${numberOfFilters} filters applied`
@@ -9572,7 +9589,7 @@ var ToolbarColorVariant;
9572
9589
  class Toolbar extends React.Component {
9573
9590
  constructor() {
9574
9591
  super(...arguments);
9575
- this.chipGroupContentRef = React.createRef();
9592
+ this.labelGroupContentRef = React.createRef();
9576
9593
  this.staticFilterInfo = {};
9577
9594
  this.state = {
9578
9595
  isManagedToggleExpanded: false,
@@ -9604,27 +9621,27 @@ class Toolbar extends React.Component {
9604
9621
  };
9605
9622
  this.getNumberOfFilters = () => Object.values(this.state.filterInfo).reduce((acc, cur) => acc + cur, 0);
9606
9623
  this.renderToolbar = (randomId) => {
9607
- const _a = this.props, { clearAllFilters, clearFiltersButtonText, collapseListedFiltersBreakpoint, isExpanded: isExpandedProp, toggleIsExpanded, className, children, isFullHeight, isStatic, inset, usePageInsets, isSticky, ouiaId, numberOfFiltersText, customChipGroupContent, colorVariant = ToolbarColorVariant.default } = _a, props = __rest$1(_a, ["clearAllFilters", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "isExpanded", "toggleIsExpanded", "className", "children", "isFullHeight", "isStatic", "inset", "usePageInsets", "isSticky", "ouiaId", "numberOfFiltersText", "customChipGroupContent", "colorVariant"]);
9624
+ const _a = this.props, { clearAllFilters, clearFiltersButtonText, collapseListedFiltersBreakpoint, isExpanded: isExpandedProp, toggleIsExpanded, className, children, isFullHeight, isStatic, inset, isSticky, ouiaId, numberOfFiltersText, customLabelGroupContent, colorVariant = ToolbarColorVariant.default } = _a, props = __rest$1(_a, ["clearAllFilters", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "isExpanded", "toggleIsExpanded", "className", "children", "isFullHeight", "isStatic", "inset", "isSticky", "ouiaId", "numberOfFiltersText", "customLabelGroupContent", "colorVariant"]);
9608
9625
  const { isManagedToggleExpanded } = this.state;
9609
9626
  const isToggleManaged = this.isToggleManaged();
9610
9627
  const isExpanded = isToggleManaged ? isManagedToggleExpanded : isExpandedProp;
9611
9628
  const numberOfFilters = this.getNumberOfFilters();
9612
9629
  const showClearFiltersButton = numberOfFilters > 0;
9613
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbar, isFullHeight && styles$4.modifiers.fullHeight, isStatic && styles$4.modifiers.static, usePageInsets && styles$4.modifiers.pageInsets, isSticky && styles$4.modifiers.sticky, formatBreakpointMods(inset, styles$4, '', getBreakpoint(width)), colorVariant === 'primary' && styles$4.modifiers.primary, colorVariant === 'secondary' && styles$4.modifiers.secondary, colorVariant === 'no-background' && styles$4.modifiers.noBackground, className), id: randomId }, getOUIAProps(Toolbar.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId), props),
9630
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbar, isFullHeight && styles$4.modifiers.fullHeight, isStatic && styles$4.modifiers.static, isSticky && styles$4.modifiers.sticky, formatBreakpointMods(inset, styles$4, '', getBreakpoint(width)), colorVariant === 'primary' && styles$4.modifiers.primary, colorVariant === 'secondary' && styles$4.modifiers.secondary, colorVariant === 'no-background' && styles$4.modifiers.noBackground, className), id: randomId }, getOUIAProps(Toolbar.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId), props),
9614
9631
  React.createElement(ToolbarContext.Provider, { value: {
9615
9632
  isExpanded,
9616
9633
  toggleIsExpanded: isToggleManaged ? this.toggleIsExpanded : toggleIsExpanded,
9617
- chipGroupContentRef: this.chipGroupContentRef,
9634
+ labelGroupContentRef: this.labelGroupContentRef,
9618
9635
  updateNumberFilters: this.updateNumberFilters,
9619
9636
  numberOfFilters,
9620
9637
  clearAllFilters,
9621
9638
  clearFiltersButtonText,
9622
9639
  showClearFiltersButton,
9623
9640
  toolbarId: randomId,
9624
- customChipGroupContent
9641
+ customLabelGroupContent
9625
9642
  } },
9626
9643
  children,
9627
- React.createElement(ToolbarChipGroupContent, { isExpanded: isExpanded, chipGroupContentRef: this.chipGroupContentRef, clearAllFilters: clearAllFilters, showClearFiltersButton: showClearFiltersButton, clearFiltersButtonText: clearFiltersButtonText, numberOfFilters: numberOfFilters, numberOfFiltersText: numberOfFiltersText, collapseListedFiltersBreakpoint: collapseListedFiltersBreakpoint, customChipGroupContent: customChipGroupContent }))))));
9644
+ React.createElement(ToolbarLabelGroupContent, { isExpanded: isExpanded, labelGroupContentRef: this.labelGroupContentRef, clearAllFilters: clearAllFilters, showClearFiltersButton: showClearFiltersButton, clearFiltersButtonText: clearFiltersButtonText, numberOfFilters: numberOfFilters, numberOfFiltersText: numberOfFiltersText, collapseListedFiltersBreakpoint: collapseListedFiltersBreakpoint, customLabelGroupContent: customLabelGroupContent }))))));
9628
9645
  };
9629
9646
  }
9630
9647
  componentDidMount() {
@@ -9647,23 +9664,23 @@ class ToolbarContent extends React.Component {
9647
9664
  constructor() {
9648
9665
  super(...arguments);
9649
9666
  this.expandableContentRef = React.createRef();
9650
- this.chipContainerRef = React.createRef();
9667
+ this.labelContainerRef = React.createRef();
9651
9668
  }
9652
9669
  render() {
9653
- const _a = this.props, { className, children, isExpanded, toolbarId, visibility, alignItems, clearAllFilters, showClearFiltersButton, clearFiltersButtonText, alignSelf } = _a, props = __rest$1(_a, ["className", "children", "isExpanded", "toolbarId", "visibility", "alignItems", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText", "alignSelf"]);
9670
+ const _a = this.props, { className, children, isExpanded, toolbarId, visibility, alignItems, clearAllFilters, showClearFiltersButton, clearFiltersButtonText } = _a, props = __rest$1(_a, ["className", "children", "isExpanded", "toolbarId", "visibility", "alignItems", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText"]);
9654
9671
  return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarContent, formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), className), ref: this.expandableContentRef }, props),
9655
9672
  React.createElement(ToolbarContext.Consumer, null, ({ clearAllFilters: clearAllFiltersContext, clearFiltersButtonText: clearFiltersButtonContext, showClearFiltersButton: showClearFiltersButtonContext, isExpanded: isExpandedContext, toolbarId: toolbarIdContext }) => {
9656
9673
  const expandableContentId = `${toolbarId || toolbarIdContext}-expandable-content-${ToolbarContent.currentId++}`;
9657
9674
  return (React.createElement(ToolbarContentContext.Provider, { value: {
9658
9675
  expandableContentRef: this.expandableContentRef,
9659
9676
  expandableContentId,
9660
- chipContainerRef: this.chipContainerRef,
9677
+ labelContainerRef: this.labelContainerRef,
9661
9678
  isExpanded: isExpanded || isExpandedContext,
9662
9679
  clearAllFilters: clearAllFilters || clearAllFiltersContext,
9663
9680
  clearFiltersButtonText: clearFiltersButtonText || clearFiltersButtonContext,
9664
9681
  showClearFiltersButton: showClearFiltersButton || showClearFiltersButtonContext
9665
9682
  } },
9666
- React.createElement("div", { className: css(styles$4.toolbarContentSection, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline) }, children)));
9683
+ React.createElement("div", { className: css(styles$4.toolbarContentSection, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline) }, children)));
9667
9684
  })))));
9668
9685
  }
9669
9686
  }
@@ -9682,6 +9699,7 @@ var styles$3 = {
9682
9699
  "finished": "pf-m-finished",
9683
9700
  "expanded": "pf-m-expanded",
9684
9701
  "danger": "pf-m-danger",
9702
+ "success": "pf-m-success",
9685
9703
  "current": "pf-m-current",
9686
9704
  "expandable": "pf-m-expandable",
9687
9705
  "disabled": "pf-m-disabled",
@@ -9720,6 +9738,7 @@ var WizardNavItemStatus;
9720
9738
  (function (WizardNavItemStatus) {
9721
9739
  WizardNavItemStatus["Default"] = "default";
9722
9740
  WizardNavItemStatus["Error"] = "error";
9741
+ WizardNavItemStatus["Success"] = "success";
9723
9742
  })(WizardNavItemStatus || (WizardNavItemStatus = {}));
9724
9743
  var WizardStepChangeScope;
9725
9744
  (function (WizardStepChangeScope) {
@@ -9728,9 +9747,10 @@ var WizardStepChangeScope;
9728
9747
  WizardStepChangeScope["Nav"] = "nav";
9729
9748
  })(WizardStepChangeScope || (WizardStepChangeScope = {}));
9730
9749
 
9731
- const WizardNavItem = ({ children = null, content = '', isCurrent = false, isDisabled = false,
9732
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9733
- isVisited = false, stepIndex, onClick, component: NavItemComponent = 'button', href, isExpandable = false, id, status = 'default', target, ouiaId, ouiaSafe = true }) => {
9750
+ const WizardNavItem = (_a) => {
9751
+ var { children = null, content = '', isCurrent = false, isDisabled = false,
9752
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9753
+ isVisited = false, stepIndex, onClick, component: NavItemComponent = 'button', href, isExpandable = false, id, status = 'default', target, ouiaId, ouiaSafe = true, className } = _a, props = __rest$1(_a, ["children", "content", "isCurrent", "isDisabled", "isVisited", "stepIndex", "onClick", "component", "href", "isExpandable", "id", "status", "target", "ouiaId", "ouiaSafe", "className"]);
9734
9754
  const [isExpanded, setIsExpanded] = React.useState(false);
9735
9755
  const ouiaProps = useOUIAProps(WizardNavItem.displayName, ouiaId, ouiaSafe);
9736
9756
  React.useEffect(() => {
@@ -9740,19 +9760,20 @@ isVisited = false, stepIndex, onClick, component: NavItemComponent = 'button', h
9740
9760
  // eslint-disable-next-line no-console
9741
9761
  console.error('WizardNavItem: When using an anchor, please provide an href');
9742
9762
  }
9743
- return (React.createElement("li", { className: css(styles$3.wizardNavItem, isExpandable && styles$3.modifiers.expandable, isExpandable && isExpanded && styles$3.modifiers.expanded) },
9763
+ return (React.createElement("li", Object.assign({ className: css(styles$3.wizardNavItem, isExpandable && styles$3.modifiers.expandable, isExpandable && isExpanded && styles$3.modifiers.expanded, className) }, props),
9744
9764
  React.createElement(NavItemComponent, Object.assign({}, (NavItemComponent === 'a'
9745
9765
  ? { tabIndex: isDisabled ? -1 : undefined, href, target }
9746
9766
  : { disabled: isDisabled }), (id && { id: id.toString() }), { onClick: (e) => {
9747
9767
  e.stopPropagation();
9748
9768
  isExpandable ? setIsExpanded(!isExpanded || isCurrent) : onClick === null || onClick === void 0 ? void 0 : onClick(e, stepIndex);
9749
- }, className: css(styles$3.wizardNavLink, isCurrent && styles$3.modifiers.current, isDisabled && styles$3.modifiers.disabled, status === WizardNavItemStatus.Error && styles$3.modifiers.danger), "aria-disabled": isDisabled ? true : null, "aria-current": isCurrent && !children ? 'step' : false }, (isExpandable && { 'aria-expanded': isExpanded }), ouiaProps),
9750
- status === WizardNavItemStatus.Error && (React.createElement(React.Fragment, null,
9751
- React.createElement("span", { className: "pf-v5-screen-reader" },
9769
+ }, className: css(styles$3.wizardNavLink, isCurrent && styles$3.modifiers.current, isDisabled && styles$3.modifiers.disabled, status === WizardNavItemStatus.Error && styles$3.modifiers.danger, status === WizardNavItemStatus.Success && styles$3.modifiers.success), "aria-disabled": isDisabled ? true : null, "aria-current": isCurrent && !children ? 'step' : false }, (isExpandable && { 'aria-expanded': isExpanded }), ouiaProps),
9770
+ status !== WizardNavItemStatus.Default && (React.createElement(React.Fragment, null,
9771
+ React.createElement("span", { className: "pf-v6-screen-reader" },
9752
9772
  ", ",
9753
9773
  status),
9754
9774
  React.createElement("span", { className: css(styles$3.wizardNavLinkStatusIcon) },
9755
- React.createElement(ExclamationCircleIcon, null)))),
9775
+ status === WizardNavItemStatus.Error && React.createElement(ExclamationCircleIcon, null),
9776
+ status === WizardNavItemStatus.Success && React.createElement(CheckCircleIcon$1, null)))),
9756
9777
  React.createElement("span", { className: css(styles$3.wizardNavLinkMain) }, isExpandable ? (React.createElement(React.Fragment, null,
9757
9778
  React.createElement("span", { className: css(styles$3.wizardNavLinkText) }, content),
9758
9779
  React.createElement("span", { className: css(styles$3.wizardNavLinkToggle) },
@@ -10365,13 +10386,6 @@ const Gallery = (_a) => {
10365
10386
  };
10366
10387
  Gallery.displayName = 'Gallery';
10367
10388
 
10368
- const GalleryItem = (_a) => {
10369
- var { children = null, component = 'div' } = _a, props = __rest$1(_a, ["children", "component"]);
10370
- const Component = component;
10371
- return React.createElement(Component, Object.assign({}, props), children);
10372
- };
10373
- GalleryItem.displayName = 'GalleryItem';
10374
-
10375
10389
  var styles = {
10376
10390
  "modifiers": {
10377
10391
  "fill": "pf-m-fill",
@@ -11177,9 +11191,7 @@ const useValuesForQuickStartContext = (value = {}) => {
11177
11191
  setAllQuickStartStates((qs) => (Object.assign(Object.assign({}, qs), { [activeQuickStartID]: updatedQuickStart })));
11178
11192
  }, [allQuickStartStates, activeQuickStartID, setAllQuickStartStates]);
11179
11193
  const activeQuickStartState = (_b = allQuickStartStates === null || allQuickStartStates === void 0 ? void 0 : allQuickStartStates[activeQuickStartID]) !== null && _b !== void 0 ? _b : {};
11180
- const getQuickStartForId = useCallback((id) => allQuickStartStates[id], [
11181
- allQuickStartStates,
11182
- ]);
11194
+ const getQuickStartForId = useCallback((id) => allQuickStartStates[id], [allQuickStartStates]);
11183
11195
  return {
11184
11196
  allQuickStarts: quickStarts,
11185
11197
  setAllQuickStarts: updateAllQuickStarts,
@@ -11258,66 +11270,6 @@ const CamelCaseWrap = ({ value, dataTest }) => {
11258
11270
  return rendered;
11259
11271
  };
11260
11272
 
11261
- class CatalogTile extends React.Component {
11262
- constructor(props) {
11263
- super(props);
11264
- this.handleClick = (e) => {
11265
- const { onClick, href } = this.props;
11266
- if (!href) {
11267
- e.preventDefault();
11268
- }
11269
- if (onClick) {
11270
- onClick(e);
11271
- }
11272
- };
11273
- this.renderBadges = (badges) => {
11274
- if (!badges || !badges.length) {
11275
- return null;
11276
- }
11277
- return (React.createElement("div", { className: "catalog-tile-pf-badge-container" }, badges.map((badge, index) => (React.createElement("span", { key: `badge-${index}` }, badge)))));
11278
- };
11279
- this.generatedId = getUniqueId('pf-catalog-tile');
11280
- }
11281
- render() {
11282
- const _a = this.props, { id, className, featured, onClick, href, icon, iconImg, iconAlt, iconClass, badges, title, vendor, description, footer,
11283
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
11284
- ref, children } = _a, props = __rest(_a, ["id", "className", "featured", "onClick", "href", "icon", "iconImg", "iconAlt", "iconClass", "badges", "title", "vendor", "description", "footer", "ref", "children"]);
11285
- return (React.createElement(Card, Object.assign({ component: href ? 'a' : 'div', id: id || this.generatedId, href: href || '#', className: css('catalog-tile-pf', { featured }, className), variant: featured ? 'secondary' : 'default', isClickable: !!onClick }, props),
11286
- (badges.length > 0 || iconImg || iconClass || icon || onClick) && (React.createElement(CardHeader, { actions: { actions: badges.length > 0 && this.renderBadges(badges), hasNoOffset: true }, selectableActions: onClick && {
11287
- selectableActionId: id + '-input',
11288
- onClickAction: (e) => this.handleClick(e),
11289
- selectableActionAriaLabelledby: id
11290
- } },
11291
- iconImg && React.createElement("img", { className: "catalog-tile-pf-icon", src: iconImg, alt: iconAlt }),
11292
- !iconImg && (iconClass || icon) && React.createElement("span", { className: `catalog-tile-pf-icon ${iconClass}` }, icon))),
11293
- React.createElement(CardTitle, { className: "catalog-tile-pf-header" },
11294
- React.createElement("div", { className: "catalog-tile-pf-title" }, title),
11295
- vendor && React.createElement("div", { className: "catalog-tile-pf-subtitle" }, vendor)),
11296
- (description || children) && (React.createElement(CardBody, { className: "catalog-tile-pf-body" },
11297
- description && (React.createElement("div", { className: "catalog-tile-pf-description" },
11298
- React.createElement("span", { className: css({ 'has-footer': footer }) }, description))),
11299
- children)),
11300
- footer && React.createElement(CardFooter, { className: "catalog-tile-pf-footer" }, footer)));
11301
- }
11302
- }
11303
- CatalogTile.displayName = 'CatalogTile';
11304
- CatalogTile.defaultProps = {
11305
- id: null,
11306
- className: '',
11307
- featured: false,
11308
- onClick: null,
11309
- href: null,
11310
- iconImg: null,
11311
- iconAlt: '',
11312
- iconClass: '',
11313
- icon: null,
11314
- badges: [],
11315
- vendor: null,
11316
- description: null,
11317
- footer: null,
11318
- children: null
11319
- };
11320
-
11321
11273
  var rocketIcon = createCommonjsModule(function (module, exports) {
11322
11274
  exports.__esModule = true;
11323
11275
  exports.RocketIconConfig = {
@@ -11467,44 +11419,6 @@ var Shadows;
11467
11419
  Shadows["top"] = "top";
11468
11420
  Shadows["bottom"] = "bottom";
11469
11421
  })(Shadows || (Shadows = {}));
11470
- const useScrollShadows = (node) => {
11471
- const [shadows, setShadows] = React.useState(Shadows.none);
11472
- const computeShadows = React.useCallback(() => {
11473
- if (node) {
11474
- const { scrollTop, clientHeight, scrollHeight } = node;
11475
- const top = scrollTop !== 0;
11476
- const bottom = scrollTop + clientHeight < scrollHeight;
11477
- if (top && bottom) {
11478
- setShadows(Shadows.both);
11479
- }
11480
- else if (top) {
11481
- setShadows(Shadows.top);
11482
- }
11483
- else if (bottom) {
11484
- setShadows(Shadows.bottom);
11485
- }
11486
- else {
11487
- setShadows(Shadows.none);
11488
- }
11489
- }
11490
- }, [node]);
11491
- // recompute when the scroll container changes in size
11492
- useResizeObserver(computeShadows, node);
11493
- React.useEffect(() => {
11494
- if (node) {
11495
- // compute initial shadows
11496
- computeShadows();
11497
- // listen for scroll events
11498
- node.addEventListener('scroll', computeShadows);
11499
- }
11500
- return () => {
11501
- if (node) {
11502
- node.removeEventListener('scroll', computeShadows);
11503
- }
11504
- };
11505
- }, [node, computeShadows]);
11506
- return shadows;
11507
- };
11508
11422
 
11509
11423
  const useBoundingClientRect = (targetElement) => {
11510
11424
  const [clientRect, setClientRect] = React.useState(() => targetElement ? targetElement.getBoundingClientRect() : null);
@@ -26066,6 +25980,7 @@ const useInlineCopyClipboardShowdownExtension = () => {
26066
25980
  }), [getResource]);
26067
25981
  };
26068
25982
 
25983
+ /* eslint-disable max-len */
26069
25984
  const useMultilineCopyClipboardShowdownExtension = () => {
26070
25985
  const { getResource } = React.useContext(QuickStartContext);
26071
25986
  return React.useMemo(() => ({
@@ -26086,10 +26001,7 @@ const useMultilineCopyClipboardShowdownExtension = () => {
26086
26001
  </div>
26087
26002
  </div>
26088
26003
  <div class="pf-v6-c-code-block__content">
26089
- <pre class="pf-v6-c-code-block__pre pfext-code-block__pre">
26090
- <code class="pf-v6-c-code-block__code"
26091
- ${MARKDOWN_SNIPPET_ID}="${groupId}">${group.trim()}</code>
26092
- </pre>
26004
+ <pre class="pf-v6-c-code-block__pre pfext-code-block__pre"><code class="pf-v6-c-code-block__code"${MARKDOWN_SNIPPET_ID}="${groupId}">${group.trim()}</code></pre>
26093
26005
  </div>
26094
26006
  </div>`;
26095
26007
  },
@@ -31197,16 +31109,40 @@ const markdownConvert = (markdown, extensions) => {
31197
31109
  }
31198
31110
  DOMPurify.addHook('beforeSanitizeElements', function (node) {
31199
31111
  // nodeType 1 = element type
31112
+ var _a;
31200
31113
  // transform anchor tags
31201
31114
  if (node.nodeType === 1 && node.nodeName.toLowerCase() === 'a') {
31202
31115
  node.setAttribute('rel', 'noopener noreferrer');
31203
31116
  return node;
31204
31117
  }
31205
- // add PF class to ul and ol lists
31206
- if (node.nodeType === 1 &&
31207
- (node.nodeName.toLowerCase() === 'ul' || node.nodeName.toLowerCase() === 'ol')) {
31208
- node.setAttribute('class', 'pf-v6-c-list');
31209
- return node;
31118
+ // add PF content classes
31119
+ if (node.nodeType === 1) {
31120
+ const contentElements = [
31121
+ 'ul',
31122
+ 'ol',
31123
+ 'p',
31124
+ 'li',
31125
+ 'hr',
31126
+ 'h1',
31127
+ 'h2',
31128
+ 'h3',
31129
+ 'h4',
31130
+ 'h5',
31131
+ 'h6',
31132
+ 'blockquote',
31133
+ 'pre',
31134
+ 'dl',
31135
+ 'dt',
31136
+ 'dd',
31137
+ 'table',
31138
+ ];
31139
+ if (contentElements.includes(node.nodeName.toLowerCase())) {
31140
+ // don't overwrite elements already being styled by PatternFly
31141
+ if (!((_a = node.getAttribute('class')) === null || _a === void 0 ? void 0 : _a.includes('pf-v6-c-'))) {
31142
+ node.setAttribute('class', `pf-v6-c-content--${node.nodeName.toLowerCase()}`);
31143
+ return node;
31144
+ }
31145
+ }
31210
31146
  }
31211
31147
  });
31212
31148
  // Add a hook to make all links open a new window
@@ -31274,7 +31210,7 @@ const RenderExtension = ({ renderExtension, selector, markup, docContext, }) =>
31274
31210
  };
31275
31211
  const InlineMarkdownView = ({ markup, isEmpty, renderExtension, className, }) => {
31276
31212
  const id = React.useMemo(() => uniqueId('markdown'), []);
31277
- return (React.createElement("div", { className: css('pfext-markdown-view', { 'is-empty': isEmpty }, className), id: id },
31213
+ return (React.createElement("div", { className: css({ 'is-empty': isEmpty }, className), id: id },
31278
31214
  React.createElement("div", { dangerouslySetInnerHTML: { __html: markup } }),
31279
31215
  renderExtension && (React.createElement(RenderExtension, { renderExtension: renderExtension, selector: `#${id}`, markup: markup }))));
31280
31216
  };
@@ -31346,7 +31282,6 @@ const SELECTOR_ID = `[\\w-]+`;
31346
31282
  // [linkLabel]{{action id}}
31347
31283
  const HIGHLIGHT_REGEXP = new RegExp(`\\[(${LINK_LABEL})]{{(${HIGHLIGHT_ACTIONS.join('|')}) (${SELECTOR_ID})}}`, 'g');
31348
31284
 
31349
- const removeParagraphWrap = (markdown) => markdown.replace(/^<p>|<\/p>$/g, '');
31350
31285
  const QuickStartMarkdownView = ({ content, exactHeight, className, }) => {
31351
31286
  const { markdown } = React.useContext(QuickStartContext);
31352
31287
  const inlineCopyClipboardShowdownExtension = useInlineCopyClipboardShowdownExtension();
@@ -31398,7 +31333,7 @@ var AdmonitionType;
31398
31333
  })(AdmonitionType || (AdmonitionType = {}));
31399
31334
  const admonitionToAlertVariantMap = {
31400
31335
  [AdmonitionType.NOTE]: { variant: 'info' },
31401
- [AdmonitionType.TIP]: { variant: 'default', customIcon: React.createElement(LightbulbIcon, null) },
31336
+ [AdmonitionType.TIP]: { variant: 'custom', customIcon: React.createElement(LightbulbIcon, null) },
31402
31337
  [AdmonitionType.IMPORTANT]: { variant: 'danger' },
31403
31338
  [AdmonitionType.CAUTION]: { variant: 'warning', customIcon: React.createElement(FireIcon, null) },
31404
31339
  [AdmonitionType.WARNING]: { variant: 'warning' },
@@ -31414,9 +31349,8 @@ React.useMemo(() => ({
31414
31349
  }
31415
31350
  admonitionType = admonitionType.toUpperCase();
31416
31351
  const { variant, customIcon } = admonitionToAlertVariantMap[admonitionType];
31417
- const style = admonitionType === AdmonitionType.CAUTION ? { backgroundColor: '#ec7a0915' } : {};
31418
31352
  const mdContent = React.createElement(QuickStartMarkdownView, { content: content });
31419
- const pfAlert = (React.createElement(Alert, { variant: variant, customIcon: customIcon && customIcon, isInline: true, title: admonitionType, className: "pfext-markdown-admonition", style: style }, mdContent));
31353
+ const pfAlert = (React.createElement(Alert, Object.assign({ variant: variant }, (customIcon && { customIcon }), { isInline: true, title: admonitionType, className: "pfext-markdown-admonition" }), mdContent));
31420
31354
  return removeTemplateWhitespace(renderToStaticMarkup(pfAlert));
31421
31355
  },
31422
31356
  }), []);
@@ -31573,42 +31507,39 @@ const StatusIcon = ({ status }) => (React.createElement(Status, { status: status
31573
31507
  const QuickStartTileDescription = ({ description, prerequisites, }) => {
31574
31508
  const { getResource } = React.useContext(QuickStartContext);
31575
31509
  const prereqs = prerequisites === null || prerequisites === void 0 ? void 0 : prerequisites.filter((p) => p);
31510
+ const buttonRef = React.useRef(null);
31576
31511
  return (React.createElement(React.Fragment, null,
31577
- React.createElement(QuickStartMarkdownView, { content: description, className: "pfext-quick-start-tile-description" }),
31578
- (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement("div", { className: "pfext-quick-start-tile-prerequisites" },
31579
- React.createElement(Text, { component: TextVariants.h5, className: "pfext-quick-start-tile-prerequisites__text" },
31512
+ React.createElement(QuickStartMarkdownView, { content: description }),
31513
+ (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement(Flex, { spaceItems: { default: 'spaceItemsSm' } },
31514
+ React.createElement("h5", null,
31580
31515
  getResource('Prerequisites ({{totalPrereqs}})').replace('{{totalPrereqs}}', prereqs.length),
31581
31516
  ' '),
31582
- React.createElement(Popover, { "aria-label": getResource('Prerequisites'), headerContent: getResource('Prerequisites'), className: "pfext-quick-start__base", bodyContent: React.createElement("div", { className: "pfext-popover__base" },
31583
- React.createElement(TextList, { "aria-label": getResource('Prerequisites'), className: "pfext-quick-start-tile-prerequisites-list" }, prereqs.map((prerequisite, index) => (
31517
+ React.createElement(Button, { variant: "link", isInline: true, "data-testid": "qs-card-prereqs", ref: buttonRef, onClick: (e) => {
31518
+ e.preventDefault();
31519
+ e.stopPropagation();
31520
+ }, "aria-label": getResource('Show prerequisites') },
31521
+ React.createElement(InfoCircleIcon, null)),
31522
+ React.createElement(Popover, { "aria-label": getResource('Prerequisites'), headerContent: getResource('Prerequisites'), triggerRef: buttonRef, bodyContent: React.createElement("div", null,
31523
+ React.createElement("ul", { "aria-label": getResource('Prerequisites') }, prereqs.map((prerequisite, index) => (
31584
31524
  // eslint-disable-next-line react/no-array-index-key
31585
- React.createElement(TextListItem, { key: index },
31586
- React.createElement(QuickStartMarkdownView, { content: prerequisite })))))) },
31587
- React.createElement(Button, { variant: "link", isInline: true, className: "pfext-quick-start-tile-prerequisites__icon", "data-testid": "qs-card-prereqs", onClick: (e) => {
31588
- e.preventDefault();
31589
- e.stopPropagation();
31590
- }, "aria-label": getResource('Show prerequisites') },
31591
- React.createElement(InfoCircleIcon, null)))))));
31525
+ React.createElement("li", { key: index },
31526
+ React.createElement(QuickStartMarkdownView, { content: prerequisite })))))) })))));
31592
31527
  };
31593
31528
 
31594
- const QuickStartTileFooter = ({ quickStartId, status, totalTasks, }) => {
31529
+ const QuickStartTileFooter = ({ quickStartId, status, totalTasks, onClickContinue, }) => {
31595
31530
  const { getResource } = React.useContext(QuickStartContext);
31596
31531
  const { activeQuickStartID, startQuickStart, restartQuickStart } = React.useContext(QuickStartContext);
31597
- const start = React.useCallback((e) => {
31598
- e.preventDefault();
31599
- e.stopPropagation();
31532
+ const start = React.useCallback(() => {
31600
31533
  startQuickStart(quickStartId, totalTasks);
31601
31534
  }, [quickStartId, startQuickStart, totalTasks]);
31602
- const restart = React.useCallback((e) => {
31603
- e.preventDefault();
31604
- e.stopPropagation();
31535
+ const restart = React.useCallback(() => {
31605
31536
  restartQuickStart(quickStartId, totalTasks);
31606
31537
  }, [quickStartId, restartQuickStart, totalTasks]);
31607
31538
  return (React.createElement(Flex, { justifyContent: { default: 'justifyContentSpaceBetween' } },
31608
31539
  status === QuickStartStatus.NOT_STARTED && (React.createElement(FlexItem, null,
31609
31540
  React.createElement(Button, { onClick: start, variant: "link", isInline: true, "data-testid": "qs-card-notStarted-start", id: `${quickStartId}-start`, "aria-labelledby": `${quickStartId}-start ${quickStartId}` }, getResource('Start')))),
31610
31541
  status === QuickStartStatus.IN_PROGRESS && activeQuickStartID !== quickStartId && (React.createElement(FlexItem, null,
31611
- React.createElement(Button, { variant: "link", isInline: true, "data-testid": "qs-card-inProgress-resume", id: `${quickStartId}-continue`, "aria-labelledby": `${quickStartId}-continue ${quickStartId}` }, getResource('Continue')))),
31542
+ React.createElement(Button, { variant: "link", onClick: onClickContinue, isInline: true, "data-testid": "qs-card-inProgress-resume", id: `${quickStartId}-continue`, "aria-labelledby": `${quickStartId}-continue ${quickStartId}` }, getResource('Continue')))),
31612
31543
  status === QuickStartStatus.COMPLETE && (React.createElement(FlexItem, null,
31613
31544
  React.createElement(Button, { onClick: restart, variant: "link", isInline: true, "data-testid": "qs-card-complete-restart", id: `${quickStartId}-restart`, "aria-labelledby": `${quickStartId}-restart ${quickStartId}` }, getResource('Restart')))),
31614
31545
  status === QuickStartStatus.IN_PROGRESS && (React.createElement(FlexItem, null,
@@ -31638,21 +31569,12 @@ const QuickStartTileFooterExternal = ({ link, quickStartId, }) => {
31638
31569
  React.createElement(Button, { component: "a", href: href, target: "_blank", rel: "noopener noreferrer", variant: "link", "aria-label": `Open documentation in new window`, isInline: true, icon: React.createElement(ExternalLinkAltIcon, null), iconPosition: "right", id: quickStartId, "aria-labelledby": `${quickStartId}-external ${quickStartId}` }, text || href))));
31639
31570
  };
31640
31571
 
31641
- var outlinedClockIcon = createCommonjsModule(function (module, exports) {
31642
- exports.__esModule = true;
31643
- exports.OutlinedClockIconConfig = {
31644
- name: 'OutlinedClockIcon',
31645
- height: 512,
31646
- width: 512,
31647
- svgPath: 'M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z',
31648
- yOffset: 0,
31649
- xOffset: 0,
31572
+ const QuickStartTileHeader = ({ name, quickStartId, onSelect, }) => {
31573
+ return (React.createElement(Flex, { flexWrap: { default: 'nowrap' } },
31574
+ React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
31575
+ React.createElement(Button, { variant: "link", isInline: true, onClick: onSelect },
31576
+ React.createElement(QuickStartMarkdownView, { content: name })))));
31650
31577
  };
31651
- exports.OutlinedClockIcon = createIcon_1.createIcon(exports.OutlinedClockIconConfig);
31652
- exports["default"] = exports.OutlinedClockIcon;
31653
- });
31654
-
31655
- var OutlinedClockIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedClockIcon);
31656
31578
 
31657
31579
  var outlinedBookmarkIcon = createCommonjsModule(function (module, exports) {
31658
31580
  exports.__esModule = true;
@@ -31670,42 +31592,52 @@ exports["default"] = exports.OutlinedBookmarkIcon;
31670
31592
 
31671
31593
  var OutlinedBookmarkIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedBookmarkIcon);
31672
31594
 
31673
- const statusColorMap = {
31674
- [QuickStartStatus.COMPLETE]: 'green',
31675
- [QuickStartStatus.IN_PROGRESS]: 'purple',
31676
- [QuickStartStatus.NOT_STARTED]: 'grey',
31595
+ var outlinedClockIcon = createCommonjsModule(function (module, exports) {
31596
+ exports.__esModule = true;
31597
+ exports.OutlinedClockIconConfig = {
31598
+ name: 'OutlinedClockIcon',
31599
+ height: 512,
31600
+ width: 512,
31601
+ svgPath: 'M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z',
31602
+ yOffset: 0,
31603
+ xOffset: 0,
31677
31604
  };
31678
- const QuickStartTileHeader = ({ status, duration, name, type, quickStartId, action, }) => {
31679
- const { getResource } = React.useContext(QuickStartContext);
31605
+ exports.OutlinedClockIcon = createIcon_1.createIcon(exports.OutlinedClockIconConfig);
31606
+ exports["default"] = exports.OutlinedClockIcon;
31607
+ });
31608
+
31609
+ var OutlinedClockIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedClockIcon);
31610
+
31611
+ const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, action, }) => {
31612
+ const { metadata: { name: id }, spec: { icon, tasks, displayName, description, durationMinutes, prerequisites, link, type }, } = quickStart;
31613
+ const { setActiveQuickStart, footer, getResource } = React.useContext(QuickStartContext);
31614
+ const statusColorMap = {
31615
+ [QuickStartStatus.COMPLETE]: 'green',
31616
+ [QuickStartStatus.IN_PROGRESS]: 'purple',
31617
+ [QuickStartStatus.NOT_STARTED]: 'grey',
31618
+ };
31680
31619
  const statusLocaleMap = {
31681
31620
  [QuickStartStatus.COMPLETE]: getResource('Complete'),
31682
31621
  [QuickStartStatus.IN_PROGRESS]: getResource('In progress'),
31683
31622
  [QuickStartStatus.NOT_STARTED]: getResource('Not started'),
31684
31623
  };
31685
- const ActionIcon = (action === null || action === void 0 ? void 0 : action.icon) || OutlinedBookmarkIcon;
31686
- return (React.createElement("div", { className: "pfext-quick-start-tile-header" },
31687
- React.createElement(Flex, { flexWrap: { default: 'nowrap' } },
31688
- React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
31689
- React.createElement(QuickStartMarkdownView, { content: name })),
31690
- action && (React.createElement(Button, Object.assign({ "aria-label": action['aria-label'], icon: React.createElement(ActionIcon, null), variant: "plain", onClick: action.onClick }, action.buttonProps)))),
31691
- React.createElement("div", { className: "pfext-quick-start-tile-header__status" },
31692
- type && (React.createElement(Label, { className: "pfext-quick-start-tile-header--margin", color: type.color }, type.text)),
31693
- duration && (React.createElement(Label, { variant: "outline", "data-test": "duration", icon: React.createElement(OutlinedClockIcon, null), className: "pfext-quick-start-tile-header--margin" }, getResource('{{duration, number}} minutes', duration).replace('{{duration, number}}', duration))),
31694
- status !== QuickStartStatus.NOT_STARTED && (React.createElement(Label, { variant: "outline", color: statusColorMap[status], icon: React.createElement(StatusIcon, { status: status }), "data-test": "status" }, statusLocaleMap[status])))));
31695
- };
31696
-
31697
- const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, action, }) => {
31698
- const { metadata: { name: id }, spec: { icon, tasks, displayName, description, durationMinutes, prerequisites, link, type }, } = quickStart;
31699
- const { setActiveQuickStart, footer } = React.useContext(QuickStartContext);
31700
- const ref = React.useRef(null);
31701
31624
  let quickStartIcon;
31702
31625
  if (typeof icon === 'object') {
31703
- quickStartIcon = React.createElement(Icon, { size: "xl" }, icon);
31626
+ quickStartIcon = React.createElement(Icon, { size: "2xl" }, icon);
31704
31627
  }
31705
31628
  else {
31706
- quickStartIcon = (React.createElement(Icon, { size: "xl" },
31707
- React.createElement(FallbackImg, { className: "pfext-catalog-item-icon__img--large", src: icon, alt: "", fallback: React.createElement(RocketIcon, null) })));
31629
+ quickStartIcon = (React.createElement(Icon, { size: "2xl" },
31630
+ React.createElement(FallbackImg, { src: icon, alt: "", className: "pfext-catalog-item-icon__img", fallback: React.createElement(RocketIcon, null) })));
31708
31631
  }
31632
+ const onSelect = () => {
31633
+ if (!link) {
31634
+ setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31635
+ }
31636
+ else {
31637
+ window.open(link.href, '_blank', 'noopener,noreferrer');
31638
+ }
31639
+ onClick();
31640
+ };
31709
31641
  const footerComponent = React.useMemo(() => {
31710
31642
  if (footer && footer.show === false) {
31711
31643
  return null;
@@ -31713,52 +31645,44 @@ const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, act
31713
31645
  if (link) {
31714
31646
  return React.createElement(QuickStartTileFooterExternal, { link: link, quickStartId: id });
31715
31647
  }
31716
- return React.createElement(QuickStartTileFooter, { quickStartId: id, status: status, totalTasks: tasks === null || tasks === void 0 ? void 0 : tasks.length });
31648
+ return (React.createElement(QuickStartTileFooter, { quickStartId: id, status: status, totalTasks: tasks === null || tasks === void 0 ? void 0 : tasks.length, onClickContinue: onSelect }));
31717
31649
  }, [footer, id, link, status, tasks === null || tasks === void 0 ? void 0 : tasks.length]);
31718
- const handleClick = (e) => {
31719
- var _a;
31720
- if ((_a = ref.current) === null || _a === void 0 ? void 0 : _a.contains(e.target)) {
31721
- if (!link) {
31722
- setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31723
- }
31724
- onClick();
31725
- }
31726
- };
31727
- const linkProps = link
31728
- ? {
31729
- href: link.href,
31730
- target: '_blank',
31731
- rel: 'noreferrer',
31732
- }
31733
- : {};
31734
- return (React.createElement("div", { ref: ref, onClick: handleClick },
31735
- React.createElement(CatalogTile, Object.assign({ id: id + '-catalog-tile', style: {
31736
- cursor: 'pointer',
31737
- }, icon: quickStartIcon, className: "pfext-quick-start-tile", "data-testid": `qs-card-${camelize(displayName)}`, featured: isActive, title: React.createElement(QuickStartTileHeader, { name: displayName, status: status, duration: durationMinutes, type: type, quickStartId: id, action: action }), onKeyDown: (event) => {
31738
- if (event.key === 'Enter' || event.key === ' ') {
31739
- setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31740
- onClick();
31741
- }
31742
- } }, linkProps, { "data-test": `tile ${id}`, description: React.createElement(QuickStartTileDescription, { description: description, prerequisites: prerequisites }), footer: footerComponent, tabIndex: 0,
31743
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
31744
- // @ts-ignore-next-line
31745
- isSelectableRaised: true }))));
31650
+ const ActionIcon = (action === null || action === void 0 ? void 0 : action.icon) || OutlinedBookmarkIcon;
31651
+ const additionalAction = action ? (React.createElement(Button, Object.assign({ "aria-label": action['aria-label'], icon: React.createElement(ActionIcon, null), variant: "plain", onClick: action.onClick }, action.buttonProps))) : undefined;
31652
+ return (React.createElement(Card, Object.assign({ id: `${id}-catalog-tile`, style: { height: '100%' }, "data-testid": `qs-card-${camelize(displayName)}` }, (isActive && {
31653
+ isClickable: true,
31654
+ isSelectable: true,
31655
+ isSelected: true,
31656
+ isClicked: true,
31657
+ })),
31658
+ React.createElement(CardHeader, Object.assign({}, (action && {
31659
+ actions: { actions: additionalAction },
31660
+ })), quickStartIcon),
31661
+ React.createElement(CardTitle, null,
31662
+ React.createElement(QuickStartTileHeader, { name: displayName, onSelect: onSelect, quickStartId: id })),
31663
+ React.createElement(CardBody, null,
31664
+ React.createElement(Stack, { hasGutter: true },
31665
+ React.createElement(Flex, { spaceItems: { default: 'spaceItemsSm' } },
31666
+ type && React.createElement(Label, { color: type.color }, type.text),
31667
+ durationMinutes && (React.createElement(Label, { variant: "outline", "data-test": "duration", icon: React.createElement(OutlinedClockIcon, null) }, getResource('{{duration, number}} minutes', durationMinutes).replace('{{duration, number}}', durationMinutes))),
31668
+ status !== QuickStartStatus.NOT_STARTED && (React.createElement(Label, { variant: "outline", color: statusColorMap[status], icon: React.createElement(StatusIcon, { status: status }), "data-test": "status" }, statusLocaleMap[status]))),
31669
+ React.createElement(QuickStartTileDescription, { description: description, prerequisites: prerequisites }))),
31670
+ React.createElement(CardFooter, null, footerComponent)));
31746
31671
  };
31747
31672
 
31748
31673
  const QuickStartCatalog = ({ quickStarts }) => {
31749
31674
  const { activeQuickStartID, allQuickStartStates } = React.useContext(QuickStartContext);
31750
- return (React.createElement("div", { className: "pfext-page-layout__content" },
31751
- React.createElement(Gallery, { className: "pfext-quick-start-catalog__gallery", hasGutter: true }, quickStarts.map((quickStart) => {
31675
+ return (React.createElement("div", null,
31676
+ React.createElement(Gallery, { hasGutter: true }, quickStarts.map((quickStart, index) => {
31752
31677
  const { metadata: { name: id }, } = quickStart;
31753
- return (React.createElement(GalleryItem, { key: id, className: "pfext-quick-start-catalog__gallery-item" },
31754
- React.createElement(QuickStartTile, { quickStart: quickStart, isActive: id === activeQuickStartID, status: getQuickStartStatus(allQuickStartStates, id) })));
31678
+ return (React.createElement(QuickStartTile, { key: index, quickStart: quickStart, isActive: id === activeQuickStartID, status: getQuickStartStatus(allQuickStartStates, id) }));
31755
31679
  }))));
31756
31680
  };
31757
31681
 
31758
31682
  const QuickStartCatalogFilterSearch = (_a) => {
31759
31683
  var { searchInputText, handleTextChange } = _a, props = __rest(_a, ["searchInputText", "handleTextChange"]);
31760
31684
  const { getResource } = React.useContext(QuickStartContext);
31761
- return (React.createElement(ToolbarItem, { className: "pfext-quick-start-catalog-filter__input" },
31685
+ return (React.createElement(ToolbarItem, null,
31762
31686
  React.createElement(SearchInput, Object.assign({ placeholder: getResource('Filter by keyword...'), value: searchInputText, onChange: (_ev, value) => handleTextChange(value), onClear: () => handleTextChange('') }, props))));
31763
31687
  };
31764
31688
  const QuickStartCatalogFilterSelect = (_a) => {
@@ -31773,7 +31697,7 @@ const QuickStartCatalogFilterSelect = (_a) => {
31773
31697
  };
31774
31698
  const QuickStartCatalogFilterCount = ({ quickStartsCount }) => {
31775
31699
  const { getResource } = React.useContext(QuickStartContext);
31776
- return (React.createElement(ToolbarItem, { className: "pfext-quick-start-catalog-filter__count", align: { default: 'alignEnd' } }, getResource('{{count, number}} item', quickStartsCount).replace('{{count, number}}', quickStartsCount)));
31700
+ return (React.createElement(ToolbarItem, { align: { default: 'alignEnd' } }, getResource('{{count, number}} item', quickStartsCount).replace('{{count, number}}', quickStartsCount)));
31777
31701
  };
31778
31702
  const QuickStartCatalogFilterSearchWrapper = ({ onSearchInputChange = () => { } }) => {
31779
31703
  const { useQueryParams, filter, setFilter } = React.useContext(QuickStartContext);
@@ -31863,7 +31787,7 @@ const QuickStartCatalogFilterCountWrapper = ({ quickStartsCount }) => React.crea
31863
31787
 
31864
31788
  const QuickStartCatalogFilter = (_a) => {
31865
31789
  var { quickStartsCount, onSearchInputChange = () => { }, onStatusChange = () => { } } = _a, props = __rest(_a, ["quickStartsCount", "onSearchInputChange", "onStatusChange"]);
31866
- return (React.createElement(Toolbar, Object.assign({ usePageInsets: true, className: "pfext-quick-start-catalog-filter__flex" }, props),
31790
+ return (React.createElement(Toolbar, Object.assign({}, props),
31867
31791
  React.createElement(ToolbarContent, null,
31868
31792
  React.createElement(QuickStartCatalogFilterSearchWrapper, { onSearchInputChange: onSearchInputChange }),
31869
31793
  React.createElement(QuickStartCatalogFilterStatusWrapper, { onStatusChange: onStatusChange }),
@@ -31939,28 +31863,29 @@ const QuickStartCatalogPage = ({ quickStarts, showFilter, sortFnc = (q1, q2) =>
31939
31863
  if (!allQuickStarts || allQuickStarts.length === 0) {
31940
31864
  return React.createElement(EmptyBox, { label: getResource('Quick Starts') });
31941
31865
  }
31942
- return (React.createElement("div", { className: "pfext-quick-start__base" },
31943
- showTitle && (React.createElement("div", { className: "pfext-page-layout__header" },
31944
- React.createElement(Text, { component: "h1", className: "pfext-page-layout__title", "data-test": "page-title" }, title || getResource('Quick Starts')),
31945
- hint && React.createElement("div", { className: "pfext-page-layout__hint" }, hint))),
31946
- showTitle && React.createElement(Divider, { component: "div" }),
31947
- showFilter && (React.createElement(React.Fragment, null,
31948
- React.createElement(QuickStartCatalogFilter, { quickStartsCount: filteredQuickStarts.length, onSearchInputChange: onSearchInputChange, onStatusChange: onStatusChange }),
31949
- React.createElement(Divider, { component: "div" }))),
31950
- React.createElement(React.Fragment, null, filteredQuickStarts.length === 0 ? (React.createElement(QuickStartCatalogEmptyState, { clearFilters: clearFilters })) : (React.createElement(QuickStartCatalog, { quickStarts: filteredQuickStarts })))));
31866
+ return (React.createElement(React.Fragment, null,
31867
+ (showTitle || showFilter) && (React.createElement(PageSection, { hasBodyWrapper: false },
31868
+ showTitle && (React.createElement(React.Fragment, null,
31869
+ React.createElement(Content, { component: "h1", "data-test": "page-title" }, title || getResource('Quick Starts')),
31870
+ hint && React.createElement("div", null, hint))),
31871
+ showTitle && React.createElement(Divider, { component: "div" }),
31872
+ showFilter && (React.createElement(React.Fragment, null,
31873
+ React.createElement(QuickStartCatalogFilter, { quickStartsCount: filteredQuickStarts.length, onSearchInputChange: onSearchInputChange, onStatusChange: onStatusChange }),
31874
+ React.createElement(Divider, { component: "div" }))))),
31875
+ React.createElement(PageSection, { hasBodyWrapper: false }, filteredQuickStarts.length === 0 ? (React.createElement(QuickStartCatalogEmptyState, { clearFilters: clearFilters })) : (React.createElement(QuickStartCatalog, { quickStarts: filteredQuickStarts })))));
31951
31876
  };
31952
31877
 
31953
- const QuickStartCatalogHeader = ({ title, hint, }) => (React.createElement("div", { className: "pfext-page-layout__header" },
31954
- React.createElement("h1", { "data-pf-content": "true", className: "pfext-page-layout__title" }, title),
31955
- hint && React.createElement("div", { className: "pfext-page-layout__hint" }, hint)));
31878
+ const QuickStartCatalogHeader = ({ title, hint, }) => (React.createElement("div", null,
31879
+ React.createElement(Title, { headingLevel: "h1", "data-pf-content": "true" }, title),
31880
+ hint && React.createElement("div", null, hint)));
31956
31881
 
31957
- const QuickStartCatalogSection = ({ children }) => (React.createElement("div", { className: "pfext-page-layout__content" }, children));
31882
+ const QuickStartCatalogSection = ({ children }) => (React.createElement("div", null, children));
31958
31883
 
31959
- const QuickStartCatalogToolbar = ({ children }) => (React.createElement(Toolbar, { usePageInsets: true, className: "pfext-quick-start-catalog-filter__flex" }, children));
31884
+ const QuickStartCatalogToolbar = ({ children }) => (React.createElement(Toolbar, null, children));
31960
31885
 
31961
31886
  const QuickStartCloseModal = ({ isOpen, onConfirm, onCancel, }) => {
31962
31887
  const { getResource } = React.useContext(QuickStartContext);
31963
- return (React.createElement(Modal, { className: "pfext-quick-start-drawer__modal pfext-quick-start__base", isOpen: isOpen, variant: ModalVariant.small, showClose: false, "data-test": "leave-quickstart", title: getResource('Leave quick start?'), footer: React.createElement(Flex, null,
31888
+ return (React.createElement(Modal, { isOpen: isOpen, variant: ModalVariant.small, showClose: false, "data-test": "leave-quickstart", title: getResource('Leave quick start?'), footer: React.createElement(Flex, null,
31964
31889
  React.createElement(FlexItem, { align: { default: 'alignRight' } },
31965
31890
  React.createElement(Button, { variant: "secondary", "data-test": "cancel button", onClick: onCancel }, getResource('Cancel'))),
31966
31891
  React.createElement(FlexItem, null,
@@ -31992,29 +31917,28 @@ const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, is
31992
31917
  titleRef.current.parentNode.focus();
31993
31918
  }
31994
31919
  }, [focusOnQuickStart, isActiveTask]);
31995
- css('pfext-quick-start-task-header__title', {
31996
- 'pfext-quick-start-task-header__title-success': taskStatus === QuickStartTaskStatus.SUCCESS,
31997
- 'pfext-quick-start-task-header__title-failed': taskStatus === (QuickStartTaskStatus.FAILED || QuickStartTaskStatus.VISITED),
31998
- });
31999
- // const notCompleted = taskStatus === QuickStartTaskStatus.VISITED;
32000
- // const skippedReview = taskStatus === QuickStartTaskStatus.REVIEW;
32001
31920
  const failedReview = taskStatus === QuickStartTaskStatus.FAILED;
32002
- // TODO: toned down when this is shown, investigate further when we should display it
32003
- // related: https://github.com/patternfly/patternfly-quickstarts/issues/104
32004
31921
  const tryAgain = failedReview && (React.createElement(React.Fragment, null,
32005
31922
  React.createElement("div", null),
32006
31923
  React.createElement("div", { className: "pfext-quick-start-task-header__tryagain" }, "Try the steps again.")));
32007
31924
  const content = (React.createElement("div", { ref: titleRef },
32008
- React.createElement(Title, { headingLevel: "h3" },
32009
- React.createElement("span", { dangerouslySetInnerHTML: { __html: removeParagraphWrap(markdownConvert(title)) } }),
32010
- isActiveTask && subtitle && (React.createElement("span", { "data-test-id": "quick-start-task-subtitle" },
31925
+ React.createElement(Title, { headingLevel: "h3", size: size },
31926
+ React.createElement("span", { className: "pfext-quick-start-task-header__title" }, title),
31927
+ isActiveTask && subtitle && (React.createElement("span", null,
32011
31928
  ' ',
32012
- React.createElement(Text, { component: TextVariants.small }, subtitle))),
31929
+ React.createElement("span", { "data-test-id": "quick-start-task-subtitle", className: "pfext-quick-start-task-header__subtitle" }, subtitle))),
32013
31930
  tryAgain)));
32014
- return (React.createElement(WizardNavItem, { content: content, stepIndex: taskIndex, onClick: () => onTaskSelect(taskIndex - 1), component: "button", isCurrent: isActiveTask }, children));
31931
+ let status = 'default';
31932
+ if (taskStatus === QuickStartTaskStatus.FAILED) {
31933
+ status = 'error';
31934
+ }
31935
+ else if (taskStatus === QuickStartTaskStatus.SUCCESS) {
31936
+ status = 'success';
31937
+ }
31938
+ return (React.createElement(WizardNavItem, { content: content, stepIndex: taskIndex, onClick: () => onTaskSelect(taskIndex - 1), component: "button", isCurrent: isActiveTask, status: status }, children));
32015
31939
  };
32016
31940
 
32017
- const QuickStartTaskHeaderList = ({ tasks, allTaskStatuses, onTaskSelect, }) => tasks.length > 0 ? (React.createElement(List, { className: "pf-v6-c-wizard__nav-list" }, tasks.map((task, index) => (React.createElement(QuickStartTaskHeader, { key: task.title, title: task.title, taskIndex: index + 1, size: "md", taskStatus: allTaskStatuses[index], onTaskSelect: onTaskSelect }))))) : null;
31941
+ const QuickStartTaskHeaderList = ({ tasks, allTaskStatuses, onTaskSelect, }) => (tasks === null || tasks === void 0 ? void 0 : tasks.length) > 0 ? (React.createElement("div", { className: "pf-v6-c-wizard__nav-list" }, tasks.map((task, index) => (React.createElement(QuickStartTaskHeader, { key: task.title, title: task.title, taskIndex: index + 1, size: "md", taskStatus: allTaskStatuses[index], onTaskSelect: onTaskSelect }))))) : null;
32018
31942
 
32019
31943
  const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickStarts, onQuickStartChange, onTaskSelect, }) => {
32020
31944
  const hasFailedTask = allTaskStatuses.includes(QuickStartTaskStatus.FAILED);
@@ -32029,10 +31953,7 @@ const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickSta
32029
31953
  nextQuickStarts.length > 0 &&
32030
31954
  nextQuickStarts.map((nextQuickStart, index) => {
32031
31955
  var _a;
32032
- return (React.createElement(Button, { variant: "link", onClick: () => onQuickStartChange(nextQuickStart.metadata.name), isInline: true, isBlock: true, key: index },
32033
- getResource('Start {{nextQSDisplayName}} quick start').replace('{{nextQSDisplayName}}', (_a = nextQuickStart === null || nextQuickStart === void 0 ? void 0 : nextQuickStart.spec) === null || _a === void 0 ? void 0 : _a.displayName),
32034
- ' ',
32035
- React.createElement(ArrowRightIcon, { style: { marginLeft: 'var(--pf-t--global--spacer--xs)', verticalAlign: 'middle' } })));
31956
+ return (React.createElement(Button, { variant: "link", onClick: () => onQuickStartChange(nextQuickStart.metadata.name), isInline: true, icon: React.createElement(ArrowRightIcon, null), iconPosition: "end", isBlock: true, key: index, style: { marginTop: 'var(--pf-t--global--spacer--md' } }, getResource('Start {{nextQSDisplayName}} quick start').replace('{{nextQSDisplayName}}', (_a = nextQuickStart === null || nextQuickStart === void 0 ? void 0 : nextQuickStart.spec) === null || _a === void 0 ? void 0 : _a.displayName)));
32036
31957
  })));
32037
31958
  };
32038
31959
 
@@ -32040,15 +31961,14 @@ const QuickStartIntroduction = ({ tasks, introduction, allTaskStatuses, prerequi
32040
31961
  const { getResource } = React.useContext(QuickStartContext);
32041
31962
  const prereqs = prerequisites === null || prerequisites === void 0 ? void 0 : prerequisites.filter((p) => p);
32042
31963
  const [isPrereqsExpanded, setIsPrereqsExpanded] = React.useState(false);
32043
- const prereqList = (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement(ExpandableSection, { toggleText: getResource('View Prerequisites ({{totalPrereqs}})').replace('{{totalPrereqs}}', prereqs.length), onToggle: () => setIsPrereqsExpanded(!isPrereqsExpanded), className: "pfext-quick-start-intro__prereq" },
32044
- React.createElement(List, { className: "pfext-quick-start-intro__prereq-list" }, prereqs.map((pr) => (React.createElement(ListItem, { key: pr, className: "pfext-quick-start-intro__prereq-list__item" },
32045
- React.createElement("span", { className: "pfext-quick-start-intro__prereq-list__item-content" },
32046
- React.createElement(QuickStartMarkdownView, { content: pr }))))))));
32047
- return (React.createElement(React.Fragment, null,
31964
+ const prereqList = (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement(ExpandableSection, { toggleText: getResource('View Prerequisites ({{totalPrereqs}})').replace('{{totalPrereqs}}', prereqs.length), onToggle: () => setIsPrereqsExpanded(!isPrereqsExpanded) },
31965
+ React.createElement(List, null, prereqs.map((pr) => (React.createElement(ListItem, { key: pr },
31966
+ React.createElement(QuickStartMarkdownView, { content: pr })))))));
31967
+ return (React.createElement(Stack, { hasGutter: true },
32048
31968
  React.createElement(QuickStartMarkdownView, { content: introduction }),
32049
31969
  prereqList,
32050
- React.createElement("p", { style: { marginBottom: 'var(--pf-t--global--spacer--md)' } },
32051
- getResource('In this quick start, you will complete {{count, number}} task', tasks.length).replace('{{count, number}}', tasks.length),
31970
+ React.createElement("p", null,
31971
+ getResource('In this quick start, you will complete {{count, number}} task', tasks === null || tasks === void 0 ? void 0 : tasks.length).replace('{{count, number}}', (tasks === null || tasks === void 0 ? void 0 : tasks.length) || 0),
32052
31972
  ":"),
32053
31973
  React.createElement(QuickStartTaskHeaderList, { tasks: tasks, allTaskStatuses: allTaskStatuses, onTaskSelect: onTaskSelect })));
32054
31974
  };
@@ -32066,12 +31986,9 @@ const getAlertVariant = (status) => {
32066
31986
  const QuickStartTaskReview = ({ review, taskStatus, onTaskReview, }) => {
32067
31987
  const { instructions, failedTaskHelp: taskHelp } = review;
32068
31988
  const { getResource } = React.useContext(QuickStartContext);
32069
- const alertClassNames = css('pfext-quick-start-task-review', {
32070
- 'pfext-quick-start-task-review--success': taskStatus === QuickStartTaskStatus.SUCCESS,
32071
- 'pfext-quick-start-task-review--failed': taskStatus === QuickStartTaskStatus.FAILED,
32072
- });
32073
- const title = React.createElement("span", { className: alertClassNames }, getResource('Check your work'));
32074
- return (React.createElement(Alert, { className: "pfext-quick-start-task-review-alert", variant: getAlertVariant(taskStatus), title: title, isInline: true, role: "alert" },
31989
+ return (React.createElement(Alert, { variant: getAlertVariant(taskStatus), title: getResource('Check your work'), isInline: true, role: "alert", style: {
31990
+ marginBottom: 'var(--pf-t--global--spacer--md)',
31991
+ } },
32075
31992
  React.createElement(QuickStartMarkdownView, { content: instructions }),
32076
31993
  React.createElement("span", { className: "pfext-quick-start-task-review__actions" },
32077
31994
  React.createElement(Radio, { id: "review-success", name: "review-success", "data-testid": "qs-drawer-check-yes", label: getResource('Yes'), className: "pfext-quick-start-task-review__radio", isChecked: taskStatus === QuickStartTaskStatus.SUCCESS, onChange: () => onTaskReview(QuickStartTaskStatus.SUCCESS) }),
@@ -32081,7 +31998,7 @@ const QuickStartTaskReview = ({ review, taskStatus, onTaskReview, }) => {
32081
31998
 
32082
31999
  const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onTaskSelect, }) => {
32083
32000
  const { getResource, alwaysShowTaskReview } = React.useContext(QuickStartContext);
32084
- return (React.createElement("div", { className: "pfext-quick-start-tasks__list" },
32001
+ return (React.createElement("div", { className: "pf-v6-c-wizard__nav-list", style: { padding: '0 0 0 0' } },
32085
32002
  React.createElement("ul", null, tasks
32086
32003
  .filter((_, index) => allTaskStatuses[index] !== QuickStartTaskStatus.INIT)
32087
32004
  .map((task, index) => {
@@ -32093,7 +32010,7 @@ const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onT
32093
32010
  return (React.createElement(React.Fragment, { key: title },
32094
32011
  React.createElement(QuickStartTaskHeader, { taskIndex: index + 1, title: title, size: "md", subtitle: getResource('{{index, number}} of {{tasks, number}}')
32095
32012
  .replace('{{index, number}}', index + 1)
32096
- .replace('{{tasks, number}}', tasks.length), taskStatus: taskStatus, isActiveTask: isActiveTask, onTaskSelect: onTaskSelect }, isActiveTask && (React.createElement("div", { className: "pfext-quick-start-task__content" },
32013
+ .replace('{{tasks, number}}', tasks.length), taskStatus: taskStatus, isActiveTask: isActiveTask, onTaskSelect: onTaskSelect }, isActiveTask && (React.createElement(Stack, { hasGutter: true },
32097
32014
  React.createElement(QuickStartMarkdownView, { content: description }),
32098
32015
  shouldShowTaskReview && (React.createElement(QuickStartTaskReview, { review: review, taskStatus: taskStatus, onTaskReview: onTaskReview })))))));
32099
32016
  }))));
@@ -32101,14 +32018,14 @@ const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onT
32101
32018
 
32102
32019
  const QuickStartContent = React.forwardRef(({ quickStart, nextQuickStarts = [], taskNumber, allTaskStatuses, onTaskSelect, onTaskReview, onQuickStartChange, }, ref) => {
32103
32020
  const { spec: { introduction, tasks, conclusion, prerequisites }, } = quickStart;
32104
- const totalTasks = tasks.length;
32105
- return (React.createElement("div", { className: "pfext-quick-start-content", ref: ref },
32021
+ const totalTasks = tasks === null || tasks === void 0 ? void 0 : tasks.length;
32022
+ return (React.createElement("div", { className: "pfext-quick-start-task", ref: ref },
32106
32023
  taskNumber === -1 && (React.createElement(QuickStartIntroduction, { tasks: tasks, allTaskStatuses: allTaskStatuses, introduction: introduction, prerequisites: prerequisites, onTaskSelect: onTaskSelect })),
32107
32024
  taskNumber > -1 && taskNumber < totalTasks && (React.createElement(QuickStartTasks, { tasks: tasks, taskNumber: taskNumber, allTaskStatuses: allTaskStatuses, onTaskReview: onTaskReview, onTaskSelect: onTaskSelect })),
32108
32025
  taskNumber === totalTasks && (React.createElement(QuickStartConclusion, { tasks: tasks, conclusion: conclusion, allTaskStatuses: allTaskStatuses, nextQuickStarts: nextQuickStarts, onQuickStartChange: onQuickStartChange, onTaskSelect: onTaskSelect }))));
32109
32026
  });
32110
32027
 
32111
- const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, footerClass, quickStartId, }) => {
32028
+ const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, quickStartId, className, }) => {
32112
32029
  const { restartQuickStart, getResource } = React.useContext(QuickStartContext);
32113
32030
  const PrimaryButtonText = React.useMemo(() => ({
32114
32031
  START: getResource('Start'),
@@ -32137,13 +32054,16 @@ const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, foot
32137
32054
  }
32138
32055
  return PrimaryButtonText.CONTINUE;
32139
32056
  }, [taskNumber, totalTasks, PrimaryButtonText, status]);
32140
- const getPrimaryButton = React.useMemo(() => (React.createElement(Button, { variant: "primary", className: "pfext-quick-start-footer__actionbtn", onClick: onNext, "data-testid": `qs-drawer-${camelize(getPrimaryButtonText)}`, "data-test": `${getPrimaryButtonText} button` }, getPrimaryButtonText)), [getPrimaryButtonText, onNext]);
32057
+ const getPrimaryButton = React.useMemo(() => (React.createElement(Button, { variant: "primary", onClick: onNext, "data-testid": `qs-drawer-${camelize(getPrimaryButtonText)}`, "data-test": `${getPrimaryButtonText} button` }, getPrimaryButtonText)), [getPrimaryButtonText, onNext]);
32141
32058
  const getSecondaryButton = React.useMemo(() => taskNumber === -1 && status !== QuickStartStatus.NOT_STARTED ? (React.createElement(Button, { variant: "secondary", onClick: onRestart, "data-testid": "qs-drawer-restart" }, SecondaryButtonText.RESTART)) : (taskNumber > -1 && (React.createElement(Button, { variant: "secondary", onClick: onBack, "data-testid": "qs-drawer-back" }, SecondaryButtonText.BACK))), [onRestart, onBack, SecondaryButtonText, status, taskNumber]);
32142
- const getSideNoteAction = React.useMemo(() => taskNumber !== -1 && (React.createElement(Button, { variant: "link", className: "pfext-quick-start-footer__restartbtn", onClick: onRestart, "data-testid": "qs-drawer-side-note-action" }, SecondaryButtonText.RESTART)), [taskNumber, onRestart, SecondaryButtonText.RESTART]);
32143
- return (React.createElement("div", { className: `pfext-quick-start-footer ${footerClass}` },
32144
- getPrimaryButton,
32145
- getSecondaryButton,
32146
- getSideNoteAction));
32059
+ const getSideNoteAction = React.useMemo(() => taskNumber !== -1 && (React.createElement(Button, { variant: "link", onClick: onRestart, "data-testid": "qs-drawer-side-note-action" }, SecondaryButtonText.RESTART)), [taskNumber, onRestart, SecondaryButtonText.RESTART]);
32060
+ return (React.createElement("div", { className: css('pfext-quick-start-footer', className) },
32061
+ React.createElement(ActionList, null,
32062
+ React.createElement(ActionListGroup, null,
32063
+ React.createElement(ActionListItem, null, getPrimaryButton),
32064
+ React.createElement(ActionListItem, null, getSecondaryButton)),
32065
+ React.createElement(ActionListGroup, null,
32066
+ React.createElement(ActionListItem, null, getSideNoteAction)))));
32147
32067
  };
32148
32068
 
32149
32069
  const QuickStartController = ({ quickStart, nextQuickStarts, contentRef, footerClass, }) => {
@@ -32182,7 +32102,7 @@ const QuickStartController = ({ quickStart, nextQuickStarts, contentRef, footerC
32182
32102
  }, [name, setQuickStartTaskNumber]);
32183
32103
  return (React.createElement(React.Fragment, null,
32184
32104
  React.createElement(QuickStartContent, { quickStart: quickStart, nextQuickStarts: nextQuickStarts, taskNumber: taskNumber, allTaskStatuses: allTaskStatuses, onTaskSelect: handleTaskSelect, onTaskReview: handleTaskStatusChange, onQuickStartChange: handleQuickStartChange, ref: contentRef }),
32185
- React.createElement(QuickStartFooter, { status: status, taskNumber: taskNumber, totalTasks: totalTasks, onNext: handleNext, onBack: handleBack, footerClass: footerClass, quickStartId: quickStart.metadata.name })));
32105
+ React.createElement(QuickStartFooter, { status: status, taskNumber: taskNumber, totalTasks: totalTasks, onNext: handleNext, onBack: handleBack, className: footerClass, quickStartId: quickStart.metadata.name })));
32186
32106
  };
32187
32107
 
32188
32108
  const getElement = (appendTo) => {
@@ -32199,24 +32119,17 @@ const useScrollTopOnTaskNumberChange = (node, taskNumber) => {
32199
32119
  }, [taskNumber, node]);
32200
32120
  };
32201
32121
  const QuickStartPanelContent = (_a) => {
32202
- var { quickStarts = [], handleClose, activeQuickStartID, appendTo, isResizable = true, showClose = true, headerVariant = '' } = _a, props = __rest(_a, ["quickStarts", "handleClose", "activeQuickStartID", "appendTo", "isResizable", "showClose", "headerVariant"]);
32122
+ var { quickStarts = [], handleClose, activeQuickStartID, appendTo, isResizable = true, showClose = true, footerClass } = _a, props = __rest(_a, ["quickStarts", "handleClose", "activeQuickStartID", "appendTo", "isResizable", "showClose", "footerClass"]);
32203
32123
  const titleRef = React.useRef(null);
32204
32124
  const { getResource, activeQuickStartState, focusOnQuickStart } = React.useContext(QuickStartContext);
32205
32125
  const [contentRef, setContentRef] = React.useState();
32206
- const shadows = useScrollShadows(contentRef);
32207
32126
  const quickStart = quickStarts.find((qs) => qs.metadata.name === activeQuickStartID);
32208
32127
  const taskNumber = activeQuickStartState === null || activeQuickStartState === void 0 ? void 0 : activeQuickStartState.taskNumber;
32209
32128
  useScrollTopOnTaskNumberChange(contentRef, taskNumber);
32210
32129
  const nextQuickStarts = quickStarts.filter((qs) => { var _a; return (_a = quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.nextQuickStart) === null || _a === void 0 ? void 0 : _a.includes(qs.metadata.name); });
32211
- const headerClasses = css('pfext-quick-start-panel-content__header', {
32212
- 'pfext-quick-start-panel-content__header__shadow': shadows === Shadows.top || shadows === Shadows.both,
32213
- 'pfext-quick-start-panel-content__header--blue-white': headerVariant === 'blue-white',
32214
- });
32215
- const footerClass = css({
32216
- 'pfext-quick-start-panel-content__footer__shadow': shadows === Shadows.bottom || shadows === Shadows.both,
32217
- });
32218
32130
  const getStep = () => {
32219
- const tasks = quickStart.spec.tasks.length;
32131
+ var _a;
32132
+ const tasks = ((_a = quickStart.spec.tasks) === null || _a === void 0 ? void 0 : _a.length) || 0;
32220
32133
  if (Number.parseInt(taskNumber) === -1) {
32221
32134
  return 'intro';
32222
32135
  }
@@ -32230,23 +32143,21 @@ const QuickStartPanelContent = (_a) => {
32230
32143
  titleRef.current.focus();
32231
32144
  }
32232
32145
  }, [focusOnQuickStart, quickStart]);
32233
- const content = quickStart ? (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable, className: "pfext-quick-start__base", "data-testid": `qs-drawer-${camelize(quickStart.spec.displayName)}`, "data-qs": `qs-step-${getStep()}`, "data-test": "quickstart drawer" }, props),
32234
- React.createElement("div", { className: headerClasses },
32146
+ const content = quickStart ? (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable, "data-testid": `qs-drawer-${camelize(quickStart.spec.displayName)}`, "data-qs": `qs-step-${getStep()}`, "data-test": "quickstart drawer", style: { '--pf-v6-c-drawer__panel--PaddingBlockStart': '0' } }, props),
32147
+ React.createElement("div", { className: "pfext-quick-start-panel-content" },
32235
32148
  React.createElement(DrawerHead, null,
32236
- React.createElement("div", { className: "pfext-quick-start-panel-content__title", tabIndex: -1, ref: titleRef },
32237
- React.createElement(Title, { headingLevel: "h2", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-t--global--spacer--md)' } },
32238
- React.createElement("span", { dangerouslySetInnerHTML: {
32239
- __html: removeParagraphWrap(markdownConvert(quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.displayName)),
32240
- } }),
32241
- ' ',
32242
- React.createElement("small", { className: "pfext-quick-start-panel-content__duration" }, (quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32243
- ? getResource('{{type}} • {{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32244
- .replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32245
- .replace('{{type}}', getResource('Type'))
32246
- : getResource('Type')))),
32149
+ React.createElement("div", { tabIndex: -1, ref: titleRef },
32150
+ React.createElement(Title, { headingLevel: "h2", size: "xl", style: { marginRight: 'var(--pf-t--global--spacer--md)' } },
32151
+ React.createElement("span", null, quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.displayName),
32152
+ ' '),
32153
+ React.createElement("span", null, (quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32154
+ ? getResource('{{type}} • {{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32155
+ .replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32156
+ .replace('{{type}}', getResource('Type'))
32157
+ : getResource('Type'))),
32247
32158
  showClose && (React.createElement(DrawerActions, null,
32248
32159
  React.createElement(DrawerCloseButton, { onClick: handleClose, className: "pfext-quick-start-panel-content__close-button", "data-testid": "qs-drawer-close" }))))),
32249
- React.createElement(DrawerPanelBody, { hasNoPadding: true, className: "pfext-quick-start-panel-content__body", "data-test": "content" },
32160
+ React.createElement(DrawerPanelBody, { className: "pfext-quick-start-panel-content__body", "data-test": "content" },
32250
32161
  React.createElement(QuickStartController, { quickStart: quickStart, nextQuickStarts: nextQuickStarts, footerClass: footerClass, contentRef: setContentRef })))) : null;
32251
32162
  if (appendTo) {
32252
32163
  return ReactDOM.createPortal(content, getElement(appendTo));
@@ -32286,7 +32197,7 @@ const QuickStartContainer = (_a) => {
32286
32197
  };
32287
32198
  const QuickStartDrawer = (_a) => {
32288
32199
  var { quickStarts = [], children, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress } = _a, props = __rest(_a, ["quickStarts", "children", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress"]);
32289
- const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, useLegacyHeaderColors, } = React.useContext(QuickStartContext);
32200
+ const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, } = React.useContext(QuickStartContext);
32290
32201
  const combinedQuickStarts = allQuickStarts.concat(quickStarts);
32291
32202
  React.useEffect(() => {
32292
32203
  const params = new URLSearchParams(window.location.search);
@@ -32345,10 +32256,10 @@ const QuickStartDrawer = (_a) => {
32345
32256
  },
32346
32257
  }
32347
32258
  : {};
32348
- const panelContent = (React.createElement(QuickStartPanelContent, Object.assign({ quickStarts: combinedQuickStarts, handleClose: handleClose, activeQuickStartID: activeQuickStartID, appendTo: appendTo, isResizable: !fullWidth, headerVariant: useLegacyHeaderColors ? '' : 'blue-white' }, fullWidthPanelStyle)));
32259
+ const panelContent = (React.createElement(QuickStartPanelContent, Object.assign({ quickStarts: combinedQuickStarts, handleClose: handleClose, activeQuickStartID: activeQuickStartID, appendTo: appendTo, isResizable: !fullWidth }, fullWidthPanelStyle)));
32349
32260
  return (React.createElement(React.Fragment, null,
32350
32261
  React.createElement(Drawer, Object.assign({ isExpanded: !!activeQuickStartID, isInline: true }, props), children ? (React.createElement(DrawerContent, Object.assign({ panelContent: panelContent }, fullWidthBodyStyle),
32351
- React.createElement(DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent))),
32262
+ React.createElement(DrawerContentBody, null, children))) : (React.createElement("div", null, panelContent))),
32352
32263
  React.createElement(QuickStartCloseModal, { isOpen: modalOpen, onConfirm: onModalConfirm, onCancel: onModalCancel })));
32353
32264
  };
32354
32265
 
@@ -32426,17 +32337,17 @@ const HelpTopicPanelContent = (_a) => {
32426
32337
  !!((_b = activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.links) === null || _b === void 0 ? void 0 : _b.length) && React.createElement(Divider, null),
32427
32338
  paddingContainer(React.createElement(Stack, { hasGutter: true }, (_c = activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.links) === null || _c === void 0 ? void 0 : _c.map(({ href, text, newTab, isExternal }, index) => (React.createElement(StackItem, { key: index },
32428
32339
  React.createElement(Button, { component: "a", href: href, target: newTab ? '_blank' : '', rel: "noopener noreferrer", variant: "link", "aria-label": `Open documentation in new window`, isInline: true, icon: isExternal ? React.createElement(ExternalLinkAltIcon, null) : null, iconPosition: "right", style: { fontSize: 'inherit' } }, text || href))))))));
32429
- const content = (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable, className: "pfext-quick-start__base" }, props),
32340
+ const content = (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable }, props),
32430
32341
  React.createElement("div", null,
32431
32342
  React.createElement(DrawerHead, null,
32432
- React.createElement("div", { className: "pfext-quick-start-panel-content__title" },
32343
+ React.createElement("div", null,
32433
32344
  helpTopicOptions && (React.createElement(Select, { isPlain: true, id: "help-topics-select", selected: activeHelpTopic, isOpen: isHelpTopicMenuOpen, onSelect: onSelectHelpTopic, onOpenChange: (isOpen) => setIsHelpTopicMenuOpen(isOpen), toggle: (toggleRef) => (React.createElement(MenuToggle, { isFullWidth: true, ref: toggleRef, icon: React.createElement(BarsIcon, null), onClick: toggleHelpTopicMenu, isExpanded: isHelpTopicMenuOpen }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)) },
32434
32345
  React.createElement(SelectList, null, helpTopicOptions))),
32435
- React.createElement(Title, { headingLevel: "h1", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-t--global--spacer--md)' } }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)),
32346
+ React.createElement(Title, { headingLevel: "h1", size: "xl", style: { marginRight: 'var(--pf-t--global--spacer--md)' } }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)),
32436
32347
  React.createElement(DrawerActions, null,
32437
- React.createElement(DrawerCloseButton, { onClick: onClose, className: "pfext-quick-start-panel-content__close-button", "data-testid": "qs-drawer-close" }))),
32348
+ React.createElement(DrawerCloseButton, { onClick: onClose, "data-testid": "qs-drawer-close" }))),
32438
32349
  React.createElement(Divider, null),
32439
- React.createElement(DrawerPanelBody, { hasNoPadding: true, className: "pfext-quick-start-panel-content__body", "data-test": "content" }, panelBodyItems))));
32350
+ React.createElement(DrawerPanelBody, { "data-test": "content" }, panelBodyItems))));
32440
32351
  return content;
32441
32352
  };
32442
32353
 
@@ -32468,7 +32379,7 @@ const HelpTopicDrawer = (_a) => {
32468
32379
  const panelContent = (React.createElement(HelpTopicPanelContent, { activeHelpTopic: activeHelpTopic, filteredHelpTopics: filteredHelpTopics, onClose: onClose }));
32469
32380
  return (React.createElement(React.Fragment, null,
32470
32381
  React.createElement(Drawer, Object.assign({ isExpanded: !!activeHelpTopic, isInline: true }, props), children ? (React.createElement(DrawerContent, { panelContent: panelContent },
32471
- React.createElement(DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent)))));
32382
+ React.createElement(DrawerContentBody, null, children))) : (React.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent)))));
32472
32383
  };
32473
32384
 
32474
32385
  const useLocalStorage = (key, initialValue) => {