@patternfly/quickstarts 6.0.0-alpha.1 → 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 (118) 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 +18 -1
  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 -5
  19. package/dist/catalog/Toolbar/QuickStartCatalogFilter.d.ts +0 -1
  20. package/dist/controller/QuickStartContent.d.ts +1 -1
  21. package/dist/controller/QuickStartFooter.d.ts +1 -1
  22. package/dist/controller/QuickStartIntroduction.d.ts +0 -1
  23. package/dist/controller/QuickStartTaskHeaderList.d.ts +0 -1
  24. package/dist/controller/QuickStartTaskReview.d.ts +0 -1
  25. package/dist/controller/QuickStartTasks.d.ts +0 -1
  26. package/dist/index.es.js +196 -288
  27. package/dist/index.es.js.map +1 -1
  28. package/dist/index.js +197 -288
  29. package/dist/index.js.map +1 -1
  30. package/dist/patternfly-docs/quick-starts/examples/HelpTopic.jsx +4 -4
  31. package/dist/patternfly-docs/quick-starts/examples/example-data/example-help-topics.js +9 -18
  32. package/dist/patternfly-global.css +20 -66
  33. package/dist/patternfly-nested.css +2036 -2119
  34. package/dist/quickstarts-base.css +38 -415
  35. package/dist/quickstarts-full.es.js +1417 -847
  36. package/dist/quickstarts-full.es.js.map +1 -1
  37. package/dist/quickstarts-standalone.css +41 -376
  38. package/dist/quickstarts-standalone.min.css +3 -3
  39. package/dist/quickstarts-vendor.css +6 -11
  40. package/dist/quickstarts.css +44 -426
  41. package/dist/quickstarts.min.css +1 -1
  42. package/dist/utils/quick-start-context.d.ts +2 -0
  43. package/dist/utils/quick-start-types.d.ts +1 -1
  44. package/package.json +13 -15
  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 +2 -2
  62. package/src/QuickStartDrawer.tsx +2 -7
  63. package/src/QuickStartPanelContent.scss +7 -39
  64. package/src/QuickStartPanelContent.tsx +23 -47
  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 +135 -62
  71. package/src/catalog/QuickStartTileDescription.tsx +28 -42
  72. package/src/catalog/QuickStartTileFooter.tsx +13 -19
  73. package/src/catalog/QuickStartTileHeader.tsx +8 -58
  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/controller/QuickStartConclusion.tsx +4 -4
  80. package/src/controller/QuickStartContent.scss +3 -7
  81. package/src/controller/QuickStartContent.tsx +3 -5
  82. package/src/controller/QuickStartFooter.scss +1 -11
  83. package/src/controller/QuickStartFooter.tsx +27 -21
  84. package/src/controller/QuickStartIntroduction.tsx +11 -16
  85. package/src/controller/QuickStartTaskHeader.scss +20 -42
  86. package/src/controller/QuickStartTaskHeader.tsx +25 -62
  87. package/src/controller/QuickStartTaskHeaderList.tsx +4 -6
  88. package/src/controller/QuickStartTaskReview.tsx +6 -12
  89. package/src/controller/QuickStartTasks.tsx +6 -8
  90. package/src/controller/__tests__/QuickStartConclusion.spec.tsx +6 -19
  91. package/src/controller/__tests__/QuickStartFooter.spec.tsx +9 -54
  92. package/src/controller/__tests__/QuickStartTaskHeader.spec.tsx +1 -1
  93. package/src/controller/__tests__/QuickStartTaskReview.spec.tsx +3 -6
  94. package/src/controller/__tests__/QuickStartTasks.spec.tsx +3 -6
  95. package/src/styles/_base.scss +3 -45
  96. package/src/styles/style.scss +1 -6
  97. package/src/utils/help-topic-context.tsx +2 -3
  98. package/src/utils/quick-start-context.tsx +12 -13
  99. package/src/utils/quick-start-types.ts +1 -1
  100. package/src/utils/quick-start-utils.ts +4 -2
  101. package/src/ConsoleInternal/components/_icon-and-text.scss +0 -14
  102. package/src/ConsoleInternal/components/_markdown-view.scss +0 -19
  103. package/src/ConsoleInternal/components/catalog/_catalog.scss +0 -392
  104. package/src/ConsoleInternal/components/utils/_status-box.scss +0 -58
  105. package/src/ConsoleShared/src/components/layout/PageLayout.scss +0 -29
  106. package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +0 -52
  107. package/src/ConsoleShared/src/components/modal/Modal.scss +0 -3
  108. package/src/ConsoleShared/src/components/spotlight/spotlight.scss +0 -63
  109. package/src/QuickStartDrawer.scss +0 -11
  110. package/src/catalog/QuickStartCatalog.scss +0 -8
  111. package/src/catalog/QuickStartTileDescription.scss +0 -29
  112. package/src/catalog/QuickStartTileHeader.scss +0 -12
  113. package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +0 -25
  114. package/src/controller/QuickStartIntroduction.scss +0 -35
  115. package/src/controller/QuickStartTaskHeaderList.scss +0 -17
  116. package/src/controller/QuickStartTaskReview.scss +0 -30
  117. package/src/controller/QuickStartTasks.scss +0 -90
  118. 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",
@@ -11000,6 +11014,7 @@ const QuickStartContextDefaults = {
11000
11014
  markdown: null,
11001
11015
  loading: false,
11002
11016
  alwaysShowTaskReview: true,
11017
+ focusOnQuickStart: true,
11003
11018
  };
11004
11019
  const QuickStartContext = createContext(QuickStartContextDefaults);
11005
11020
  const getResource = (resource, options, resourceBundle, lng) => {
@@ -11176,9 +11191,7 @@ const useValuesForQuickStartContext = (value = {}) => {
11176
11191
  setAllQuickStartStates((qs) => (Object.assign(Object.assign({}, qs), { [activeQuickStartID]: updatedQuickStart })));
11177
11192
  }, [allQuickStartStates, activeQuickStartID, setAllQuickStartStates]);
11178
11193
  const activeQuickStartState = (_b = allQuickStartStates === null || allQuickStartStates === void 0 ? void 0 : allQuickStartStates[activeQuickStartID]) !== null && _b !== void 0 ? _b : {};
11179
- const getQuickStartForId = useCallback((id) => allQuickStartStates[id], [
11180
- allQuickStartStates,
11181
- ]);
11194
+ const getQuickStartForId = useCallback((id) => allQuickStartStates[id], [allQuickStartStates]);
11182
11195
  return {
11183
11196
  allQuickStarts: quickStarts,
11184
11197
  setAllQuickStarts: updateAllQuickStarts,
@@ -11257,66 +11270,6 @@ const CamelCaseWrap = ({ value, dataTest }) => {
11257
11270
  return rendered;
11258
11271
  };
11259
11272
 
11260
- class CatalogTile extends React.Component {
11261
- constructor(props) {
11262
- super(props);
11263
- this.handleClick = (e) => {
11264
- const { onClick, href } = this.props;
11265
- if (!href) {
11266
- e.preventDefault();
11267
- }
11268
- if (onClick) {
11269
- onClick(e);
11270
- }
11271
- };
11272
- this.renderBadges = (badges) => {
11273
- if (!badges || !badges.length) {
11274
- return null;
11275
- }
11276
- return (React.createElement("div", { className: "catalog-tile-pf-badge-container" }, badges.map((badge, index) => (React.createElement("span", { key: `badge-${index}` }, badge)))));
11277
- };
11278
- this.generatedId = getUniqueId('pf-catalog-tile');
11279
- }
11280
- render() {
11281
- const _a = this.props, { id, className, featured, onClick, href, icon, iconImg, iconAlt, iconClass, badges, title, vendor, description, footer,
11282
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
11283
- ref, children } = _a, props = __rest(_a, ["id", "className", "featured", "onClick", "href", "icon", "iconImg", "iconAlt", "iconClass", "badges", "title", "vendor", "description", "footer", "ref", "children"]);
11284
- 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),
11285
- (badges.length > 0 || iconImg || iconClass || icon || onClick) && (React.createElement(CardHeader, { actions: { actions: badges.length > 0 && this.renderBadges(badges), hasNoOffset: true }, selectableActions: onClick && {
11286
- selectableActionId: id + '-input',
11287
- onClickAction: (e) => this.handleClick(e),
11288
- selectableActionAriaLabelledby: id
11289
- } },
11290
- iconImg && React.createElement("img", { className: "catalog-tile-pf-icon", src: iconImg, alt: iconAlt }),
11291
- !iconImg && (iconClass || icon) && React.createElement("span", { className: `catalog-tile-pf-icon ${iconClass}` }, icon))),
11292
- React.createElement(CardTitle, { className: "catalog-tile-pf-header" },
11293
- React.createElement("div", { className: "catalog-tile-pf-title" }, title),
11294
- vendor && React.createElement("div", { className: "catalog-tile-pf-subtitle" }, vendor)),
11295
- (description || children) && (React.createElement(CardBody, { className: "catalog-tile-pf-body" },
11296
- description && (React.createElement("div", { className: "catalog-tile-pf-description" },
11297
- React.createElement("span", { className: css({ 'has-footer': footer }) }, description))),
11298
- children)),
11299
- footer && React.createElement(CardFooter, { className: "catalog-tile-pf-footer" }, footer)));
11300
- }
11301
- }
11302
- CatalogTile.displayName = 'CatalogTile';
11303
- CatalogTile.defaultProps = {
11304
- id: null,
11305
- className: '',
11306
- featured: false,
11307
- onClick: null,
11308
- href: null,
11309
- iconImg: null,
11310
- iconAlt: '',
11311
- iconClass: '',
11312
- icon: null,
11313
- badges: [],
11314
- vendor: null,
11315
- description: null,
11316
- footer: null,
11317
- children: null
11318
- };
11319
-
11320
11273
  var rocketIcon = createCommonjsModule(function (module, exports) {
11321
11274
  exports.__esModule = true;
11322
11275
  exports.RocketIconConfig = {
@@ -11466,44 +11419,6 @@ var Shadows;
11466
11419
  Shadows["top"] = "top";
11467
11420
  Shadows["bottom"] = "bottom";
11468
11421
  })(Shadows || (Shadows = {}));
11469
- const useScrollShadows = (node) => {
11470
- const [shadows, setShadows] = React.useState(Shadows.none);
11471
- const computeShadows = React.useCallback(() => {
11472
- if (node) {
11473
- const { scrollTop, clientHeight, scrollHeight } = node;
11474
- const top = scrollTop !== 0;
11475
- const bottom = scrollTop + clientHeight < scrollHeight;
11476
- if (top && bottom) {
11477
- setShadows(Shadows.both);
11478
- }
11479
- else if (top) {
11480
- setShadows(Shadows.top);
11481
- }
11482
- else if (bottom) {
11483
- setShadows(Shadows.bottom);
11484
- }
11485
- else {
11486
- setShadows(Shadows.none);
11487
- }
11488
- }
11489
- }, [node]);
11490
- // recompute when the scroll container changes in size
11491
- useResizeObserver(computeShadows, node);
11492
- React.useEffect(() => {
11493
- if (node) {
11494
- // compute initial shadows
11495
- computeShadows();
11496
- // listen for scroll events
11497
- node.addEventListener('scroll', computeShadows);
11498
- }
11499
- return () => {
11500
- if (node) {
11501
- node.removeEventListener('scroll', computeShadows);
11502
- }
11503
- };
11504
- }, [node, computeShadows]);
11505
- return shadows;
11506
- };
11507
11422
 
11508
11423
  const useBoundingClientRect = (targetElement) => {
11509
11424
  const [clientRect, setClientRect] = React.useState(() => targetElement ? targetElement.getBoundingClientRect() : null);
@@ -26065,6 +25980,7 @@ const useInlineCopyClipboardShowdownExtension = () => {
26065
25980
  }), [getResource]);
26066
25981
  };
26067
25982
 
25983
+ /* eslint-disable max-len */
26068
25984
  const useMultilineCopyClipboardShowdownExtension = () => {
26069
25985
  const { getResource } = React.useContext(QuickStartContext);
26070
25986
  return React.useMemo(() => ({
@@ -26085,10 +26001,7 @@ const useMultilineCopyClipboardShowdownExtension = () => {
26085
26001
  </div>
26086
26002
  </div>
26087
26003
  <div class="pf-v6-c-code-block__content">
26088
- <pre class="pf-v6-c-code-block__pre pfext-code-block__pre">
26089
- <code class="pf-v6-c-code-block__code"
26090
- ${MARKDOWN_SNIPPET_ID}="${groupId}">${group.trim()}</code>
26091
- </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>
26092
26005
  </div>
26093
26006
  </div>`;
26094
26007
  },
@@ -26228,72 +26141,77 @@ function getDefaultOpts (simple) {
26228
26141
  },
26229
26142
  smartIndentationFix: {
26230
26143
  defaultValue: false,
26231
- description: 'Tries to smartly fix indentation in es6 strings',
26144
+ describe: 'Tries to smartly fix indentation in es6 strings',
26232
26145
  type: 'boolean'
26233
26146
  },
26234
26147
  disableForced4SpacesIndentedSublists: {
26235
26148
  defaultValue: false,
26236
- description: 'Disables the requirement of indenting nested sublists by 4 spaces',
26149
+ describe: 'Disables the requirement of indenting nested sublists by 4 spaces',
26237
26150
  type: 'boolean'
26238
26151
  },
26239
26152
  simpleLineBreaks: {
26240
26153
  defaultValue: false,
26241
- description: 'Parses simple line breaks as <br> (GFM Style)',
26154
+ describe: 'Parses simple line breaks as <br> (GFM Style)',
26242
26155
  type: 'boolean'
26243
26156
  },
26244
26157
  requireSpaceBeforeHeadingText: {
26245
26158
  defaultValue: false,
26246
- description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',
26159
+ describe: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',
26247
26160
  type: 'boolean'
26248
26161
  },
26249
26162
  ghMentions: {
26250
26163
  defaultValue: false,
26251
- description: 'Enables github @mentions',
26164
+ describe: 'Enables github @mentions',
26252
26165
  type: 'boolean'
26253
26166
  },
26254
26167
  ghMentionsLink: {
26255
26168
  defaultValue: 'https://github.com/{u}',
26256
- description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',
26169
+ describe: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',
26257
26170
  type: 'string'
26258
26171
  },
26259
26172
  encodeEmails: {
26260
26173
  defaultValue: true,
26261
- description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
26174
+ describe: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
26262
26175
  type: 'boolean'
26263
26176
  },
26264
26177
  openLinksInNewWindow: {
26265
26178
  defaultValue: false,
26266
- description: 'Open all links in new windows',
26179
+ describe: 'Open all links in new windows',
26267
26180
  type: 'boolean'
26268
26181
  },
26269
26182
  backslashEscapesHTMLTags: {
26270
26183
  defaultValue: false,
26271
- description: 'Support for HTML Tag escaping. ex: \<div>foo\</div>',
26184
+ describe: 'Support for HTML Tag escaping. ex: \<div>foo\</div>',
26272
26185
  type: 'boolean'
26273
26186
  },
26274
26187
  emoji: {
26275
26188
  defaultValue: false,
26276
- description: 'Enable emoji support. Ex: `this is a :smile: emoji`',
26189
+ describe: 'Enable emoji support. Ex: `this is a :smile: emoji`',
26277
26190
  type: 'boolean'
26278
26191
  },
26279
26192
  underline: {
26280
26193
  defaultValue: false,
26281
- description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`',
26194
+ describe: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`',
26195
+ type: 'boolean'
26196
+ },
26197
+ ellipsis: {
26198
+ defaultValue: true,
26199
+ describe: 'Replaces three dots with the ellipsis unicode character',
26282
26200
  type: 'boolean'
26283
26201
  },
26284
26202
  completeHTMLDocument: {
26285
26203
  defaultValue: false,
26286
- description: 'Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags',
26204
+ describe: 'Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags',
26287
26205
  type: 'boolean'
26288
26206
  },
26289
26207
  metadata: {
26290
26208
  defaultValue: false,
26291
- description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',
26209
+ describe: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',
26292
26210
  type: 'boolean'
26293
26211
  },
26294
26212
  splitAdjacentBlockquotes: {
26295
26213
  defaultValue: false,
26296
- description: 'Split adjacent blockquote blocks',
26214
+ describe: 'Split adjacent blockquote blocks',
26297
26215
  type: 'boolean'
26298
26216
  }
26299
26217
  };
@@ -26501,7 +26419,7 @@ showdown.subParser = function (name, func) {
26501
26419
  * Gets or registers an extension
26502
26420
  * @static
26503
26421
  * @param {string} name
26504
- * @param {object|function=} ext
26422
+ * @param {object|object[]|function=} ext
26505
26423
  * @returns {*}
26506
26424
  */
26507
26425
  showdown.extension = function (name, ext) {
@@ -26820,6 +26738,20 @@ showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash
26820
26738
  return text;
26821
26739
  };
26822
26740
 
26741
+ /**
26742
+ * Unescape HTML entities
26743
+ * @param txt
26744
+ * @returns {string}
26745
+ */
26746
+ showdown.helper.unescapeHTMLEntities = function (txt) {
26747
+
26748
+ return txt
26749
+ .replace(/&quot;/g, '"')
26750
+ .replace(/&lt;/g, '<')
26751
+ .replace(/&gt;/g, '>')
26752
+ .replace(/&amp;/g, '&');
26753
+ };
26754
+
26823
26755
  var rgxFindMatchPos = function (str, left, right, flags) {
26824
26756
  var f = flags || '',
26825
26757
  g = f.indexOf('g') > -1,
@@ -27024,11 +26956,35 @@ showdown.helper.encodeEmailAddress = function (mail) {
27024
26956
  return mail;
27025
26957
  };
27026
26958
 
26959
+ /**
26960
+ *
26961
+ * @param str
26962
+ * @param targetLength
26963
+ * @param padString
26964
+ * @returns {string}
26965
+ */
26966
+ showdown.helper.padEnd = function padEnd (str, targetLength, padString) {
26967
+ /*jshint bitwise: false*/
26968
+ // eslint-disable-next-line space-infix-ops
26969
+ targetLength = targetLength>>0; //floor if number or convert non-number to 0;
26970
+ /*jshint bitwise: true*/
26971
+ padString = String(padString || ' ');
26972
+ if (str.length > targetLength) {
26973
+ return String(str);
26974
+ } else {
26975
+ targetLength = targetLength - str.length;
26976
+ if (targetLength > padString.length) {
26977
+ padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed
26978
+ }
26979
+ return String(str) + padString.slice(0,targetLength);
26980
+ }
26981
+ };
26982
+
27027
26983
  /**
27028
26984
  * POLYFILLS
27029
26985
  */
27030
26986
  // use this instead of builtin is undefined for IE8 compatibility
27031
- if (typeof(console) === 'undefined') {
26987
+ if (typeof (console) === 'undefined') {
27032
26988
  console = {
27033
26989
  warn: function (msg) {
27034
26990
  alert(msg);
@@ -28229,8 +28185,8 @@ showdown.helper.emojis = {
28229
28185
  'zzz':'\ud83d\udca4',
28230
28186
 
28231
28187
  /* special emojis :P */
28232
- 'octocat': '<img width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAOwUlEQVR42uVbCVyO6RbPmn0sw9gZS0aZO4y5GTEUE2ObxjZjrbHEJVy3sWS5pkaWxjLEkCVDSbSgFLdESaWSLIVUSIi4kvb9f895vi/zbbR+yZ339/tbnu99n/ec/3Oe85xznufV0CjDBaAdwZqwnzCJ0FXjHV70/i8J5oQDhCFV8cJdq1atwqxZs+Ds7Iz4+HhqwgXCLELNKlK6G2Ej4e6lS5ewZcsWzJgxA+fOnWNZFqvzxT1v3boF/qcsBg0ahP3796OwsJAFWKYuIqjfPoS9cXFxWL58Obp06SInh5aWFr//jjoJWLlu3TolAorRuXNn7Ny5k4W4Spgj81xrgj5hLmED4RDhlNRygglBhADCSakpWxFMCHoETUJTwrYHDx7A1NT0je9nPHz4kN/fXl0EeI0aNeqtAjB69+4NPz8/FsSdlXvy5An8/f1hZ2cHCwsLGBsbY/To0cJy9PT0MGDAAAwePBhGRkbClNesWYODBw8iODgYOTk53M/d9evXo27duiW++8iRI3z/ZHURENOjR48ShSjGuHHjhHJ16tQp9TOKaNWqlZKpvw1MHluQOpSvk5eXh5YtW5ZbmarAvHnzmIBd6iCgXnZ2Npo1a1atCWAfwY5SHQTUKCoqQocOHao1AebmHBJgi7p8QBDP6epMwKFDvMDAWF0ELLS1ta3WBNy9e5cJMFIXAdvt7e2rNQHDhw9nAv5D+KKylV9y8+bNCi1pVYWZM2cyCfaVTcDdsqzH7xpBQRxcwqyylLdi5/K+KM/Q0dFhAqIri4Bn1T0AUgVpdmhYUeVHnD59+r1TnjF27Fgm4HhFCThoYmLyXhLQoEGD4mRKsyIE3OrZs+d7SQCDCyZcNSqv8k1evXoFTU3NUr+wzUcfYqRBf8yb/C2WzfoBFoTF08fBdMIITDD8CsP1+kL30x7Q6dYZH7drjfZ0f4fWLdG1Q1t81qMLBvTRwejB/TBl1BDMnzQGS2dMxKo5k7Fs9iSY/jAaBvR8Pc26pZaH02quLZSXgO6xsbGlelGnli1wZKcVMqN8gKcRwItrf+K/VB95doXaLwOJIVSzOU/+2Re5kV7IuuyJrIhTyLt6mmztLBBPNZLHoUAy9fE8UvJ8ikxfj8PwJPQErJeYlkquTZs2MQFLykuANgc/Jb2kn3Z3ZMaQUrmxwO1zyAo7gfRAJ6RfOIyMEFdkXj5F8BTK5lzxQv610yi8QcFatI8gQoCIK7x+hojwRnaE5H4JTiEj9Pjr/rJDqcZyn9b4ovu45LYbdWvXeqtsXMHiSlZ5CegRExPz1hd83PYj5POo0QinXyLFg48hnZTOiQ1Dzr1IZEaeQRoJn0HKZIR7lA2kfHrQUerXHTlx4ZL+rnjjFRGRGeYB5MUj2GnbW+XbuJFrp1heXgI6JCYmvvUFN1x3Aek3SWkapRAXMeJFGS8ge2Xfuog0toaykED3Mpk8+shOk+sv68Y50V9WuKewBKt5094o39atW/mRf5WXgIYZGRlo3Lixys4nj6A6Z1YMcqRCpwU4ouDlUyHk/QA/hNttR25Wlvh/ZthJUsil9ATQ/axkYbqEzDgfL0Ts/x35+aLyTES7IY36Q6w/+Q4/tP6wuUoZ9+7dy7ebVmQZjO/atavKzn32rAdeXkd6KCkXdAxZ13yFcLFnvPD73zrDVrsdTs6eggKSuSjjORHkUGoC0i86Iyc6QPQX7eqMnTodYNuzHU4vnosiaitMSUSavwMy6d3IvEUrzViVMrq5uXEX4ytCgL++vr5Sx7Vr1cIDX0dKkQJfj37Rs3jw1sBxkwlwGD4Ax3+ciN1faCHW76xQRFgAOcjSEMBkIe0x8nLzcez7kTg8Rh/uxuOxR/cTJISFSfq7eATpZCk8CAfXLVFJwIULXHnHoIoQYLtw4UKljps2aogXQcQuef/XAiMDKY+S4DhyEFwpDnCj9f+Afl8EbbWRTANaAdihlYoAMn8aZzyNuYODX/eD29TvRH/7v+qN8H27JdOAyWQfQQ74xPafVRLAPox9WUlK6hIGEgx4f00Kg2JcvHhRqeP6FIwknXemyen/2gLIIeC/CYk49M0AuE4xgtu0sThg8AUCN62TEuBdRgJo2Y+Kxh9D/k59SQiwH9QHobt3SAk4KSGA4oWjm1YqyVi8U6Soj4yOrHM/jTAyKVby/PnzIoNi8L+L4eXlpXoFcLcTgc1rAlISkJeXDxeK2A6P1hdTwI6mQPTJE+WbAlnJyE7PhNO3Q3BkrKGYWtxfHMkkmQLO0ilwA7+vXqAkn66urtBLUZ9iHfm30NBQaPAf165dA0d9vP2UlJSEp0+f4vHjx3j06JH4e+rUqUovcNmyGkiNEkLwklXsBG+ecMUOnfbYod1emG5uboFKJ8jPFVD0l0dBUHqoPDHpQeQEb0qc4FUHe3KAbYUT9JgzDbwOFL5MfN0fXkXhJ5PxSvLt2LFD1Ah5u4z1YJ14l4qnBe8v3rhxAzz4PAVG8nLHivIP0dHRiIiIQGRkpEgmrl69ClW1QBMjQ7LDW8hmU+RRI69ckJIkhL7jfRJBm62R+TJVYq6h0jhBRslsivqenT2MF/7OyI70VmkFhWnPJaS6OyPkt43IycqR9EfWlH7JDQUUTuNhCHR7Ke9YcRp/5coVoQPrcvnyZURFRYmBZlLS0kR8MVLD29sbnp6e8PHxQUBAgCgn8YO8E3z79m3BGKeVc+bMkXuBZt06SA12F/F5Go0gR4C8HBalPZMPXKL8lQKhPAqF+f97KXFyNx6HQsoPsshJ/kmAp2TKkJLISpXvjyxNhMYcDVLOEO+lPDi8B5mamipkZx1YF9YpJCRErAy+vr5CZ9ZdWABhDGEYYTBhAOFz3g4nfMJelNCbkNCpUye5F034mvxIPi1/FM+zQCw0k5B9O0iEr5kRXkqhMJOVf9NXIHjtT7hmaymSoBzKETimkAuFpaF1dkwI9RcmIYaXv3BJXoGCuyIgk5WpefPmKCgoYK46SmX/RKoL69Sfl0WuFEl1HlmWJXE5z6WmTZvKJxxmxkIQ3AuU5APk6NICj4hRT6eITTEEzqWk55HHPjz3cxJhNF5cxeNT9kj2cRDTQjEkzpDtjyyCic5l5fEA7uSHFEefR5pPsahrb2B9QkICFHeJ51HunkdLIg0VLY0BFKdLwllVHp4dHyvst3QuEiiju21vA/+VZkiluIKt4I3RIfWXQ4QgKUxkni47LJWUP3PmjHo2RxVI+CebmKJP6EiFDVurxUgmExe5PHlnPAkn8w4QqW62NCVmYopozid5H0CI9RKE21ggJeAYEeMnfitOnRn5XCfgeJ+VTosWQU8MOc6ZE0cqnUm4fv165SrPBVHCfMI4TowUfmOfsIcdJh92kBWmUcP6GDt8EDZbzIffH5tx3/ewSFjw5LKk0MEFEkZenDBjgew7Yiog5brkt+QrknvJmhIp4Apw/A1bVpjhG/0v5d7Vrl07bNu2TelUSqUoz8uI3Z49OEtBAy+TdP1CqKtwHzvQUxxgTJs2TeX5gdq1a0ObSmCjh+jB+NuvRamL1+3ls77HCip1rTSdJP5eNnMizKndjMLoH42G4bthX+FzHS3UVVEC69evH3799VeKMXJZrlWKclUGAZ5jxoxB02ZNsNlxH74aagBHZyex986HlVTczyGmI58h4CjL2toa48ePFxsUPEotWrQoc0GT0/C2bduiY8eO4ISMcxLeoOFYhS6qm2EpoZG65jmbv+dPSyRZlt5QfVjvtX19AOFNL+aDFNI4m0eFc9Ho5ORkaGtrl5kAVp6DMOk88efEjLe++ZhclZwHTJHEHbs4YOCmLj2645fdvwnTK42zoXtaEHwNDQ3LXdZm5yad3/2r+gQmDsRnIF5KAldX6zdsgG/GG8F44Vzcu3eP2y1K6GPr2rVrK1zbnz59Or/LoaoJCPZ4kCZsjw9GECL79OmDj9q2wb+320C3/5fgPQO6Vrzh+fpcDqxXr16lbHBwgkZXm6okYJr0ECMrX5vraiJ1lArEjrEnzWuOqemiYj9spGd2ee478XkiPsJakmJ83qA05/8qXNurJFLiunXrhpo1a6LxB02wyHIFZpovgOHwYfjZ0hK2lH5u2rwZ5suWYv5ycyUlmjRpgl69eimlrFy3kwuoyOvXr19frm3RokVMwPZ3TYC57E6xVq+e6KzVDSaL/oEp82Zh8IhhWLjGAp/p9oX5ujVKBNjY2MDV1VWuzd3dXaTesm2biUQuZ8u28elSPmKr8a4vdog8GnJpcT1N1KHUuBbt0jSgWuGbzJh3mVhh2TYHBwdxjFa2jVcZnvPVlQBOLXdZWlqW2ZFxNYYVlm07fPgwAgMD5dr4OD5HeHLFFxM+O42DGtXhIkFaMQlcUjIzM0P37t1Ro0YNpZPjPJcVK7SOjo5ybU5OTqIAo0gAh97VlgAZIj4l8Pn4WFaO64ocuXG6zJtDbMqySnC7IgF8uptLVrJtq1evFuWqak+A4j4i4TNpltiJ8LPiNFFFwNGjRyWFyfedAFUny/joekkEuLi4KK0CfykCeFnkiu1flgBeFtl3/D8SsMbKykpOifv37ysRcPz4cVHKUiSA8wwNdR9/VTMBSh9Y8S4Nf2qnSICiBbDzVCRg9uzZTMC+94kAv6FDh8opwRsVHPjItnl4eEDxHNLKlStFXV+2javQ/M1SpZe+1KA4L4G7WDG57fSm/OUbXiqG0ewAFYOeYcN4fwZhvLkp2y4tftrxcltdlf/w+fPn4qNGxTCYU2m6nrRu3VqunT/EoiuZvw6TTZHpyuNNmEaNGsndP3fu3OJAq1N1JOAHDmyKheVtNP4OkE2crULRAW7fvl20EyyLy24a8p+/7WISFixYIMLt4t82bNhQYjXqXREgPq3j74mlX3AmSL8E1eOPIBXnuVT5OsVZpuLnOMeOHeN7vifwiYhYzhC5IpwlOXj1QXWdBmy/XWU/X+UqMZfKBw4cKAobHPlJlZe9h6tOu+7cuSN2dg0MDMSSyZUpmXvaSD+crq/xvl0k9BTCRa7qEPq+5T4t6ffF52WVV+f1P6zyLG30bsU4AAAAAElFTkSuQmCC">',
28233
- 'showdown': '<img width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAECtaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzA2NyA3OS4xNTc3NDcsIDIwMTUvMDMvMzAtMjM6NDA6NDIgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTctMTAtMjRUMTM6MzE6MzArMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8cGhvdG9zaG9wOkNvbG9yTW9kZT4zPC9waG90b3Nob3A6Q29sb3JNb2RlPgogICAgICAgICA8cGhvdG9zaG9wOklDQ1Byb2ZpbGU+c1JHQiBJRUM2MTk2Ni0yLjE8L3Bob3Rvc2hvcDpJQ0NQcm9maWxlPgogICAgICAgICA8cGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgICAgIDxyZGY6QmFnPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHBob3Rvc2hvcDpMYXllck5hbWU+UyAtPC9waG90b3Nob3A6TGF5ZXJOYW1lPgogICAgICAgICAgICAgICAgICA8cGhvdG9zaG9wOkxheWVyVGV4dD5TIC08L3Bob3Rvc2hvcDpMYXllclRleHQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpCYWc+CiAgICAgICAgIDwvcGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnhtcC5paWQ6N2NkMzQxNzctOWYyZi0yNDRiLWEyYjQtMzU1MzJkY2Y1MWJiPC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD5hZG9iZTpkb2NpZDpwaG90b3Nob3A6M2E1YzgxYmYtYjhiNy0xMWU3LTk0NDktYTQ2MzdlZjJkNjMzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE3LTEwLTI0VDEzOjMxOjMwKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjdjZDM0MTc3LTlmMmYtMjQ0Yi1hMmI0LTM1NTMyZGNmNTFiYjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjYwQzVBRTY1RjY5Q0U0MTE5NDVBODU1RTNCQ0E3RUVCPC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOlhSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WVJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDxleGlmOkNvbG9yU3BhY2U+MTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pse7bzcAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAA1JJREFUeNrsm1+OmlAUhz+aeS9dwZggJn1AnRUMO6jpBgZXULuC2hWUWUGZBTSxKyiuoA4mfUBMnB04K5g+9DihRBHlyh/lJLwIXLgf99xzzu9etZeXFy7Z3nDh1gBoAFy4XeVtQNO0zNcapmUDfUBPnFoBfhQGq6IBaHmjwD4Ahmk5wAD4kKG5J8CNwsAFaHe6DvA9cc0wCgOv8gDka3vA9RHNPgo0D7hNnJtGYWBXxgV2dH4MfMnRRA+Y1WIO2NJ5F/ikoKm3tYsChmkNFHW+fmHQMC1dfHaXPQP3wM1yMdc2B/AOGALTWobBmI1Shu0UGCwX83XyRBQGawHntTtdG5gUNfxVu4CTNqNv6/wWGL7kCc+1AmCYVisl3I2ydD4GYZUCs7IjoLXrxHIx9w9tLAqDCfBwDrXAY457x+cAoCfuwRGjYFUnAGk+PsjR7s8Dn1VeLWCYVlpDw+VivjVHSHt+u9PVJbzGzZXQWTkAkz0V31fATUaEsjVJlQBs4FeGcteLgzgbAALBA+4y3voAeJL8nA0AHfClnM1qm1HhnYUidCSE+KzvSSJUTwAxCOMcpfETMFYpfRUKIAbCFhC3OTJJJwqDWS0BxED0JZ4Pjix1P2+E0loCSMBwyK4S/xc1ojBwag8gMU84cvTKGgmlAYhngu1O9xAXuVE5J1QCQCz3bwHuHvdQui5QKQAxEO6eEKpsFCgTRSXkvdoxSlBMCxhJJbgrrbZRtHCiShN0pRB6PeQ3ckBw2K0oKXMBVYJIP+Nvh9qulFivGoBt1lLQxowT2ykBXCfnhZIglgYACWmqXQv+baioBYCeiCQHm+QEg1O7RhF7hO4OhSAhcJKSFU7qBGADwZeqMMuXn6TUBw8qlaMrirNb4LdhWlP+SWD+cjFfxTpuS2GUpik+o3jFSEkqbJiWn0P0OMSGqlWiOu0TvD+FRHZKAE+oW+cfRmEwqlsesJJEJs8y91QqP+9UL6lqEtz2gpuNEY5sm9sIHln2DRa2aFKGJtiXkZEMiWtgVvRKUSUFkSKt2S7fAGgAXLYpmQQXf36MUChTZdUa2u8/rkvPA6Tz30r4eH3ybcBS5gJ6SaNXb+aABkA1AMxKenclBZLW/He4cYEGwEXb3wEASelexk6LIIIAAAAASUVORK5CYII=">'
28188
+ 'octocat': '<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',
28189
+ 'showdown': '<span style="font-family: \'Anonymous Pro\', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span>'
28234
28190
  };
28235
28191
 
28236
28192
  /**
@@ -28279,10 +28235,10 @@ showdown.Converter = function (converterOptions) {
28279
28235
  */
28280
28236
  setConvFlavor = setFlavor,
28281
28237
 
28282
- /**
28283
- * Metadata of the document
28284
- * @type {{parsed: {}, raw: string, format: string}}
28285
- */
28238
+ /**
28239
+ * Metadata of the document
28240
+ * @type {{parsed: {}, raw: string, format: string}}
28241
+ */
28286
28242
  metadata = {
28287
28243
  parsed: {},
28288
28244
  raw: '',
@@ -28341,7 +28297,7 @@ showdown.Converter = function (converterOptions) {
28341
28297
  'Please inform the developer that the extension should be updated!');
28342
28298
  legacyExtensionLoading(showdown.extensions[ext], ext);
28343
28299
  return;
28344
- // END LEGACY SUPPORT CODE
28300
+ // END LEGACY SUPPORT CODE
28345
28301
 
28346
28302
  } else if (!showdown.helper.isUndefined(extensions[ext])) {
28347
28303
  ext = extensions[ext];
@@ -28521,8 +28477,8 @@ showdown.Converter = function (converterOptions) {
28521
28477
  text = text.replace(/\r\n/g, '\n'); // DOS to Unix
28522
28478
  text = text.replace(/\r/g, '\n'); // Mac to Unix
28523
28479
 
28524
- // Stardardize line spaces (nbsp causes trouble in older browsers and some regex flavors)
28525
- text = text.replace(/\u00A0/g, ' ');
28480
+ // Stardardize line spaces
28481
+ text = text.replace(/\u00A0/g, '&nbsp;');
28526
28482
 
28527
28483
  if (options.smartIndentationFix) {
28528
28484
  text = rTrimInputText(text);
@@ -28577,6 +28533,112 @@ showdown.Converter = function (converterOptions) {
28577
28533
  return text;
28578
28534
  };
28579
28535
 
28536
+ /**
28537
+ * Converts an HTML string into a markdown string
28538
+ * @param src
28539
+ * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.
28540
+ * @returns {string}
28541
+ */
28542
+ this.makeMarkdown = this.makeMd = function (src, HTMLParser) {
28543
+
28544
+ // replace \r\n with \n
28545
+ src = src.replace(/\r\n/g, '\n');
28546
+ src = src.replace(/\r/g, '\n'); // old macs
28547
+
28548
+ // due to an edge case, we need to find this: > <
28549
+ // to prevent removing of non silent white spaces
28550
+ // ex: <em>this is</em> <strong>sparta</strong>
28551
+ src = src.replace(/>[ \t]+</, '>¨NBSP;<');
28552
+
28553
+ if (!HTMLParser) {
28554
+ if (window && window.document) {
28555
+ HTMLParser = window.document;
28556
+ } else {
28557
+ throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');
28558
+ }
28559
+ }
28560
+
28561
+ var doc = HTMLParser.createElement('div');
28562
+ doc.innerHTML = src;
28563
+
28564
+ var globals = {
28565
+ preList: substitutePreCodeTags(doc)
28566
+ };
28567
+
28568
+ // remove all newlines and collapse spaces
28569
+ clean(doc);
28570
+
28571
+ // some stuff, like accidental reference links must now be escaped
28572
+ // TODO
28573
+ // doc.innerHTML = doc.innerHTML.replace(/\[[\S\t ]]/);
28574
+
28575
+ var nodes = doc.childNodes,
28576
+ mdDoc = '';
28577
+
28578
+ for (var i = 0; i < nodes.length; i++) {
28579
+ mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);
28580
+ }
28581
+
28582
+ function clean (node) {
28583
+ for (var n = 0; n < node.childNodes.length; ++n) {
28584
+ var child = node.childNodes[n];
28585
+ if (child.nodeType === 3) {
28586
+ if (!/\S/.test(child.nodeValue) && !/^[ ]+$/.test(child.nodeValue)) {
28587
+ node.removeChild(child);
28588
+ --n;
28589
+ } else {
28590
+ child.nodeValue = child.nodeValue.split('\n').join(' ');
28591
+ child.nodeValue = child.nodeValue.replace(/(\s)+/g, '$1');
28592
+ }
28593
+ } else if (child.nodeType === 1) {
28594
+ clean(child);
28595
+ }
28596
+ }
28597
+ }
28598
+
28599
+ // find all pre tags and replace contents with placeholder
28600
+ // we need this so that we can remove all indentation from html
28601
+ // to ease up parsing
28602
+ function substitutePreCodeTags (doc) {
28603
+
28604
+ var pres = doc.querySelectorAll('pre'),
28605
+ presPH = [];
28606
+
28607
+ for (var i = 0; i < pres.length; ++i) {
28608
+
28609
+ if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {
28610
+ var content = pres[i].firstChild.innerHTML.trim(),
28611
+ language = pres[i].firstChild.getAttribute('data-language') || '';
28612
+
28613
+ // if data-language attribute is not defined, then we look for class language-*
28614
+ if (language === '') {
28615
+ var classes = pres[i].firstChild.className.split(' ');
28616
+ for (var c = 0; c < classes.length; ++c) {
28617
+ var matches = classes[c].match(/^language-(.+)$/);
28618
+ if (matches !== null) {
28619
+ language = matches[1];
28620
+ break;
28621
+ }
28622
+ }
28623
+ }
28624
+
28625
+ // unescape html entities in content
28626
+ content = showdown.helper.unescapeHTMLEntities(content);
28627
+
28628
+ presPH.push(content);
28629
+ pres[i].outerHTML = '<precode language="' + language + '" precodenum="' + i.toString() + '"></precode>';
28630
+ } else {
28631
+ presPH.push(pres[i].innerHTML);
28632
+ pres[i].innerHTML = '';
28633
+ pres[i].setAttribute('prenum', i.toString());
28634
+ }
28635
+ }
28636
+ return presPH;
28637
+ }
28638
+
28639
+ return mdDoc;
28640
+ };
28641
+
28580
28642
  /**
28581
28643
  * Set an option of this Converter instance
28582
28644
  * @param {string} key
@@ -28660,12 +28722,12 @@ showdown.Converter = function (converterOptions) {
28660
28722
  var ext = extension[a];
28661
28723
  for (var i = 0; i < langExtensions.length; ++i) {
28662
28724
  if (langExtensions[i] === ext) {
28663
- langExtensions[i].splice(i, 1);
28725
+ langExtensions.splice(i, 1);
28664
28726
  }
28665
28727
  }
28666
- for (var ii = 0; ii < outputModifiers.length; ++i) {
28728
+ for (var ii = 0; ii < outputModifiers.length; ++ii) {
28667
28729
  if (outputModifiers[ii] === ext) {
28668
- outputModifiers[ii].splice(i, 1);
28730
+ outputModifiers.splice(ii, 1);
28669
28731
  }
28670
28732
  }
28671
28733
  }
@@ -28778,7 +28840,7 @@ showdown.subParser('anchors', function (text, options, globals) {
28778
28840
  // to external links. Hash links (#) open in same page
28779
28841
  if (options.openLinksInNewWindow && !/^#/.test(url)) {
28780
28842
  // escaped _
28781
- result += ' target="¨E95Eblank"';
28843
+ result += ' rel="noopener noreferrer" target="¨E95Eblank"';
28782
28844
  }
28783
28845
 
28784
28846
  result += '>' + linkText + '</a>';
@@ -28796,7 +28858,7 @@ showdown.subParser('anchors', function (text, options, globals) {
28796
28858
 
28797
28859
  // normal cases
28798
28860
  text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,
28799
- writeAnchorTag);
28861
+ writeAnchorTag);
28800
28862
 
28801
28863
  // handle reference-style shortcuts: [link text]
28802
28864
  // These must come last in case you've also got [link test][1]
@@ -28805,7 +28867,7 @@ showdown.subParser('anchors', function (text, options, globals) {
28805
28867
 
28806
28868
  // Lastly handle GithubMentions if option is enabled
28807
28869
  if (options.ghMentions) {
28808
- text = text.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gmi, function (wm, st, escape, mentions, username) {
28870
+ text = text.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi, function (wm, st, escape, mentions, username) {
28809
28871
  if (escape === '\\') {
28810
28872
  return st + mentions;
28811
28873
  }
@@ -28817,7 +28879,7 @@ showdown.subParser('anchors', function (text, options, globals) {
28817
28879
  var lnk = options.ghMentionsLink.replace(/\{u}/g, username),
28818
28880
  target = '';
28819
28881
  if (options.openLinksInNewWindow) {
28820
- target = ' target="¨E95Eblank"';
28882
+ target = ' rel="noopener noreferrer" target="¨E95Eblank"';
28821
28883
  }
28822
28884
  return st + '<a href="' + lnk + '"' + target + '>' + mentions + '</a>';
28823
28885
  });
@@ -28850,7 +28912,7 @@ var simpleURLRegex = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'
28850
28912
  append = trailingPunctuation;
28851
28913
  }
28852
28914
  if (options.openLinksInNewWindow) {
28853
- target = ' target="¨E95Eblank"';
28915
+ target = ' rel="noopener noreferrer" target="¨E95Eblank"';
28854
28916
  }
28855
28917
  return lmc + '<a href="' + link + '"' + target + '>' + lnkTxt + '</a>' + append + tmc;
28856
28918
  };
@@ -29044,7 +29106,7 @@ showdown.subParser('codeSpans', function (text, options, globals) {
29044
29106
 
29045
29107
  text = globals.converter._dispatch('codeSpans.before', text, options, globals);
29046
29108
 
29047
- if (typeof(text) === 'undefined') {
29109
+ if (typeof (text) === 'undefined') {
29048
29110
  text = '';
29049
29111
  }
29050
29112
  text = text.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,
@@ -29064,7 +29126,7 @@ showdown.subParser('codeSpans', function (text, options, globals) {
29064
29126
  });
29065
29127
 
29066
29128
  /**
29067
- * Turn Markdown link shortcuts into XHTML <a> tags.
29129
+ * Create a full HTML document from the processed markdown
29068
29130
  */
29069
29131
  showdown.subParser('completeHTMLDocument', function (text, options, globals) {
29070
29132
 
@@ -29160,6 +29222,10 @@ showdown.subParser('detab', function (text, options, globals) {
29160
29222
 
29161
29223
  showdown.subParser('ellipsis', function (text, options, globals) {
29162
29224
 
29225
+ if (!options.ellipsis) {
29226
+ return text;
29227
+ }
29228
+
29163
29229
  text = globals.converter._dispatch('ellipsis.before', text, options, globals);
29164
29230
 
29165
29231
  text = text.replace(/\.\.\./g, '…');
@@ -29170,8 +29236,9 @@ showdown.subParser('ellipsis', function (text, options, globals) {
29170
29236
  });
29171
29237
 
29172
29238
  /**
29173
- * These are all the transformations that occur *within* block-level
29174
- * tags like paragraphs, headers, and list items.
29239
+ * Turn emoji codes into emojis
29240
+ *
29241
+ * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis
29175
29242
  */
29176
29243
  showdown.subParser('emoji', function (text, options, globals) {
29177
29244
 
@@ -29233,7 +29300,7 @@ showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {
29233
29300
  text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);
29234
29301
 
29235
29302
  text = text.replace(/\\(\\)/g, showdown.helper.escapeCharactersCallback);
29236
- text = text.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);
29303
+ text = text.replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g, showdown.helper.escapeCharactersCallback);
29237
29304
 
29238
29305
  text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);
29239
29306
  return text;
@@ -29309,7 +29376,7 @@ showdown.subParser('githubCodeBlocks', function (text, options, globals) {
29309
29376
 
29310
29377
  text += '¨0';
29311
29378
 
29312
- text = text.replace(/(?:^|\n)(```+|~~~+)([^\s`~]*)\n([\s\S]*?)\n\1/g, function (wholeMatch, delim, language, codeblock) {
29379
+ text = text.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g, function (wholeMatch, delim, language, codeblock) {
29313
29380
  var end = (options.omitExtraWLInCodeBlocks) ? '' : '\n';
29314
29381
 
29315
29382
  // First parse the github code block
@@ -29450,7 +29517,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
29450
29517
 
29451
29518
  //2. Split the text in that position
29452
29519
  var subTexts = showdown.helper.splitAtIndex(text, opTagPos),
29453
- //3. Match recursively
29520
+ //3. Match recursively
29454
29521
  newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');
29455
29522
 
29456
29523
  // prevent an infinite loop
@@ -29565,13 +29632,13 @@ showdown.subParser('headers', function (text, options, globals) {
29565
29632
 
29566
29633
  var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),
29567
29634
 
29568
- // Set text-style headers:
29569
- // Header 1
29570
- // ========
29571
- //
29572
- // Header 2
29573
- // --------
29574
- //
29635
+ // Set text-style headers:
29636
+ // Header 1
29637
+ // ========
29638
+ //
29639
+ // Header 2
29640
+ // --------
29641
+ //
29575
29642
  setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n={2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n=+[ \t]*\n+/gm,
29576
29643
  setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n-+[ \t]*\n+/gm;
29577
29644
 
@@ -29762,7 +29829,7 @@ showdown.subParser('images', function (text, options, globals) {
29762
29829
  url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
29763
29830
  var result = '<img src="' + url + '" alt="' + altText + '"';
29764
29831
 
29765
- if (title) {
29832
+ if (title && showdown.helper.isString(title)) {
29766
29833
  title = title
29767
29834
  .replace(/"/g, '&quot;')
29768
29835
  //title = showdown.helper.escapeCharacters(title, '*_', false);
@@ -29823,10 +29890,10 @@ showdown.subParser('italicsAndBold', function (text, options, globals) {
29823
29890
 
29824
29891
  // Parse underscores
29825
29892
  if (options.literalMidWordUnderscores) {
29826
- text = text.replace(/\b___(\S[\s\S]*)___\b/g, function (wm, txt) {
29893
+ text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
29827
29894
  return parseInside (txt, '<strong><em>', '</em></strong>');
29828
29895
  });
29829
- text = text.replace(/\b__(\S[\s\S]*)__\b/g, function (wm, txt) {
29896
+ text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
29830
29897
  return parseInside (txt, '<strong>', '</strong>');
29831
29898
  });
29832
29899
  text = text.replace(/\b_(\S[\s\S]*?)_\b/g, function (wm, txt) {
@@ -29847,13 +29914,13 @@ showdown.subParser('italicsAndBold', function (text, options, globals) {
29847
29914
 
29848
29915
  // Now parse asterisks
29849
29916
  if (options.literalMidWordAsterisks) {
29850
- text = text.replace(/([^*]|^)\B\*\*\*(\S[\s\S]+?)\*\*\*\B(?!\*)/g, function (wm, lead, txt) {
29917
+ text = text.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g, function (wm, lead, txt) {
29851
29918
  return parseInside (txt, lead + '<strong><em>', '</em></strong>');
29852
29919
  });
29853
- text = text.replace(/([^*]|^)\B\*\*(\S[\s\S]+?)\*\*\B(?!\*)/g, function (wm, lead, txt) {
29920
+ text = text.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g, function (wm, lead, txt) {
29854
29921
  return parseInside (txt, lead + '<strong>', '</strong>');
29855
29922
  });
29856
- text = text.replace(/([^*]|^)\B\*(\S[\s\S]+?)\*\B(?!\*)/g, function (wm, lead, txt) {
29923
+ text = text.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g, function (wm, lead, txt) {
29857
29924
  return parseInside (txt, lead + '<em>', '</em>');
29858
29925
  });
29859
29926
  } else {
@@ -30307,14 +30374,19 @@ showdown.subParser('strikethrough', function (text, options, globals) {
30307
30374
  */
30308
30375
  showdown.subParser('stripLinkDefinitions', function (text, options, globals) {
30309
30376
 
30310
- var regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,
30311
- base64Regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;
30377
+ var regex = /^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,
30378
+ base64Regex = /^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;
30312
30379
 
30313
30380
  // attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
30314
30381
  text += '¨0';
30315
30382
 
30316
30383
  var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {
30384
+
30385
+ // if there aren't two instances of linkId it must not be a reference link so back out
30317
30386
  linkId = linkId.toLowerCase();
30387
+ if (text.toLowerCase().split(linkId).length - 1 < 2) {
30388
+ return wholeMatch;
30389
+ }
30318
30390
  if (url.match(/^data:.+?\/.+?;base64,/)) {
30319
30391
  // remove newlines
30320
30392
  globals.gUrls[linkId] = url.replace(/\s/g, '');
@@ -30360,7 +30432,7 @@ showdown.subParser('tables', function (text, options, globals) {
30360
30432
  }
30361
30433
 
30362
30434
  var tableRgx = /^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,
30363
- //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm;
30435
+ //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm;
30364
30436
  singeColTblRgx = /^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;
30365
30437
 
30366
30438
  function parseStyles (sLine) {
@@ -30502,11 +30574,17 @@ showdown.subParser('underline', function (text, options, globals) {
30502
30574
  text = globals.converter._dispatch('underline.before', text, options, globals);
30503
30575
 
30504
30576
  if (options.literalMidWordUnderscores) {
30505
- text = text.replace(/\b_?__(\S[\s\S]*)___?\b/g, function (wm, txt) {
30577
+ text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
30578
+ return '<u>' + txt + '</u>';
30579
+ });
30580
+ text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
30506
30581
  return '<u>' + txt + '</u>';
30507
30582
  });
30508
30583
  } else {
30509
- text = text.replace(/_?__(\S[\s\S]*?)___?/g, function (wm, m) {
30584
+ text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) {
30585
+ return (/\S$/.test(m)) ? '<u>' + m + '</u>' : wm;
30586
+ });
30587
+ text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) {
30510
30588
  return (/\S$/.test(m)) ? '<u>' + m + '</u>' : wm;
30511
30589
  });
30512
30590
  }
@@ -30534,6 +30612,474 @@ showdown.subParser('unescapeSpecialChars', function (text, options, globals) {
30534
30612
  return text;
30535
30613
  });
30536
30614
 
30615
+ showdown.subParser('makeMarkdown.blockquote', function (node, globals) {
30616
+
30617
+ var txt = '';
30618
+ if (node.hasChildNodes()) {
30619
+ var children = node.childNodes,
30620
+ childrenLength = children.length;
30621
+
30622
+ for (var i = 0; i < childrenLength; ++i) {
30623
+ var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);
30624
+
30625
+ if (innerTxt === '') {
30626
+ continue;
30627
+ }
30628
+ txt += innerTxt;
30629
+ }
30630
+ }
30631
+ // cleanup
30632
+ txt = txt.trim();
30633
+ txt = '> ' + txt.split('\n').join('\n> ');
30634
+ return txt;
30635
+ });
30636
+
30637
+ showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {
30638
+
30639
+ var lang = node.getAttribute('language'),
30640
+ num = node.getAttribute('precodenum');
30641
+ return '```' + lang + '\n' + globals.preList[num] + '\n```';
30642
+ });
30643
+
30644
+ showdown.subParser('makeMarkdown.codeSpan', function (node) {
30645
+
30646
+ return '`' + node.innerHTML + '`';
30647
+ });
30648
+
30649
+ showdown.subParser('makeMarkdown.emphasis', function (node, globals) {
30650
+
30651
+ var txt = '';
30652
+ if (node.hasChildNodes()) {
30653
+ txt += '*';
30654
+ var children = node.childNodes,
30655
+ childrenLength = children.length;
30656
+ for (var i = 0; i < childrenLength; ++i) {
30657
+ txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
30658
+ }
30659
+ txt += '*';
30660
+ }
30661
+ return txt;
30662
+ });
30663
+
30664
+ showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {
30665
+
30666
+ var headerMark = new Array(headerLevel + 1).join('#'),
30667
+ txt = '';
30668
+
30669
+ if (node.hasChildNodes()) {
30670
+ txt = headerMark + ' ';
30671
+ var children = node.childNodes,
30672
+ childrenLength = children.length;
30673
+
30674
+ for (var i = 0; i < childrenLength; ++i) {
30675
+ txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
30676
+ }
30677
+ }
30678
+ return txt;
30679
+ });
30680
+
30681
+ showdown.subParser('makeMarkdown.hr', function () {
30682
+
30683
+ return '---';
30684
+ });
30685
+
30686
+ showdown.subParser('makeMarkdown.image', function (node) {
30687
+
30688
+ var txt = '';
30689
+ if (node.hasAttribute('src')) {
30690
+ txt += '![' + node.getAttribute('alt') + '](';
30691
+ txt += '<' + node.getAttribute('src') + '>';
30692
+ if (node.hasAttribute('width') && node.hasAttribute('height')) {
30693
+ txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');
30694
+ }
30695
+
30696
+ if (node.hasAttribute('title')) {
30697
+ txt += ' "' + node.getAttribute('title') + '"';
30698
+ }
30699
+ txt += ')';
30700
+ }
30701
+ return txt;
30702
+ });
30703
+
30704
+ showdown.subParser('makeMarkdown.links', function (node, globals) {
30705
+
30706
+ var txt = '';
30707
+ if (node.hasChildNodes() && node.hasAttribute('href')) {
30708
+ var children = node.childNodes,
30709
+ childrenLength = children.length;
30710
+ txt = '[';
30711
+ for (var i = 0; i < childrenLength; ++i) {
30712
+ txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
30713
+ }
30714
+ txt += '](';
30715
+ txt += '<' + node.getAttribute('href') + '>';
30716
+ if (node.hasAttribute('title')) {
30717
+ txt += ' "' + node.getAttribute('title') + '"';
30718
+ }
30719
+ txt += ')';
30720
+ }
30721
+ return txt;
30722
+ });
30723
+
30724
+ showdown.subParser('makeMarkdown.list', function (node, globals, type) {
30725
+
30726
+ var txt = '';
30727
+ if (!node.hasChildNodes()) {
30728
+ return '';
30729
+ }
30730
+ var listItems = node.childNodes,
30731
+ listItemsLenght = listItems.length,
30732
+ listNum = node.getAttribute('start') || 1;
30733
+
30734
+ for (var i = 0; i < listItemsLenght; ++i) {
30735
+ if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {
30736
+ continue;
30737
+ }
30738
+
30739
+ // define the bullet to use in list
30740
+ var bullet = '';
30741
+ if (type === 'ol') {
30742
+ bullet = listNum.toString() + '. ';
30743
+ } else {
30744
+ bullet = '- ';
30745
+ }
30746
+
30747
+ // parse list item
30748
+ txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);
30749
+ ++listNum;
30750
+ }
30751
+
30752
+ // add comment at the end to prevent consecutive lists to be parsed as one
30753
+ txt += '\n<!-- -->\n';
30754
+ return txt.trim();
30755
+ });
30756
+
30757
+ showdown.subParser('makeMarkdown.listItem', function (node, globals) {
30758
+
30759
+ var listItemTxt = '';
30760
+
30761
+ var children = node.childNodes,
30762
+ childrenLenght = children.length;
30763
+
30764
+ for (var i = 0; i < childrenLenght; ++i) {
30765
+ listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);
30766
+ }
30767
+ // if it's only one liner, we need to add a newline at the end
30768
+ if (!/\n$/.test(listItemTxt)) {
30769
+ listItemTxt += '\n';
30770
+ } else {
30771
+ // it's multiparagraph, so we need to indent
30772
+ listItemTxt = listItemTxt
30773
+ .split('\n')
30774
+ .join('\n ')
30775
+ .replace(/^ {4}$/gm, '')
30776
+ .replace(/\n\n+/g, '\n\n');
30777
+ }
30778
+
30779
+ return listItemTxt;
30780
+ });
30781
+
30782
+
30783
+
30784
+ showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {
30785
+
30786
+ spansOnly = spansOnly || false;
30787
+
30788
+ var txt = '';
30789
+
30790
+ // edge case of text without wrapper paragraph
30791
+ if (node.nodeType === 3) {
30792
+ return showdown.subParser('makeMarkdown.txt')(node, globals);
30793
+ }
30794
+
30795
+ // HTML comment
30796
+ if (node.nodeType === 8) {
30797
+ return '<!--' + node.data + '-->\n\n';
30798
+ }
30799
+
30800
+ // process only node elements
30801
+ if (node.nodeType !== 1) {
30802
+ return '';
30803
+ }
30804
+
30805
+ var tagName = node.tagName.toLowerCase();
30806
+
30807
+ switch (tagName) {
30808
+
30809
+ //
30810
+ // BLOCKS
30811
+ //
30812
+ case 'h1':
30813
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\n\n'; }
30814
+ break;
30815
+ case 'h2':
30816
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\n\n'; }
30817
+ break;
30818
+ case 'h3':
30819
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\n\n'; }
30820
+ break;
30821
+ case 'h4':
30822
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\n\n'; }
30823
+ break;
30824
+ case 'h5':
30825
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\n\n'; }
30826
+ break;
30827
+ case 'h6':
30828
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\n\n'; }
30829
+ break;
30830
+
30831
+ case 'p':
30832
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\n\n'; }
30833
+ break;
30834
+
30835
+ case 'blockquote':
30836
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\n\n'; }
30837
+ break;
30838
+
30839
+ case 'hr':
30840
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\n\n'; }
30841
+ break;
30842
+
30843
+ case 'ol':
30844
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\n\n'; }
30845
+ break;
30846
+
30847
+ case 'ul':
30848
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\n\n'; }
30849
+ break;
30850
+
30851
+ case 'precode':
30852
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\n\n'; }
30853
+ break;
30854
+
30855
+ case 'pre':
30856
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\n\n'; }
30857
+ break;
30858
+
30859
+ case 'table':
30860
+ if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\n\n'; }
30861
+ break;
30862
+
30863
+ //
30864
+ // SPANS
30865
+ //
30866
+ case 'code':
30867
+ txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);
30868
+ break;
30869
+
30870
+ case 'em':
30871
+ case 'i':
30872
+ txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);
30873
+ break;
30874
+
30875
+ case 'strong':
30876
+ case 'b':
30877
+ txt = showdown.subParser('makeMarkdown.strong')(node, globals);
30878
+ break;
30879
+
30880
+ case 'del':
30881
+ txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);
30882
+ break;
30883
+
30884
+ case 'a':
30885
+ txt = showdown.subParser('makeMarkdown.links')(node, globals);
30886
+ break;
30887
+
30888
+ case 'img':
30889
+ txt = showdown.subParser('makeMarkdown.image')(node, globals);
30890
+ break;
30891
+
30892
+ default:
30893
+ txt = node.outerHTML + '\n\n';
30894
+ }
30895
+
30896
+ // common normalization
30897
+ // TODO eventually
30898
+
30899
+ return txt;
30900
+ });
30901
+
30902
+ showdown.subParser('makeMarkdown.paragraph', function (node, globals) {
30903
+
30904
+ var txt = '';
30905
+ if (node.hasChildNodes()) {
30906
+ var children = node.childNodes,
30907
+ childrenLength = children.length;
30908
+ for (var i = 0; i < childrenLength; ++i) {
30909
+ txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
30910
+ }
30911
+ }
30912
+
30913
+ // some text normalization
30914
+ txt = txt.trim();
30915
+
30916
+ return txt;
30917
+ });
30918
+
30919
+ showdown.subParser('makeMarkdown.pre', function (node, globals) {
30920
+
30921
+ var num = node.getAttribute('prenum');
30922
+ return '<pre>' + globals.preList[num] + '</pre>';
30923
+ });
30924
+
30925
+ showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {
30926
+
30927
+ var txt = '';
30928
+ if (node.hasChildNodes()) {
30929
+ txt += '~~';
30930
+ var children = node.childNodes,
30931
+ childrenLength = children.length;
30932
+ for (var i = 0; i < childrenLength; ++i) {
30933
+ txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
30934
+ }
30935
+ txt += '~~';
30936
+ }
30937
+ return txt;
30938
+ });
30939
+
30940
+ showdown.subParser('makeMarkdown.strong', function (node, globals) {
30941
+
30942
+ var txt = '';
30943
+ if (node.hasChildNodes()) {
30944
+ txt += '**';
30945
+ var children = node.childNodes,
30946
+ childrenLength = children.length;
30947
+ for (var i = 0; i < childrenLength; ++i) {
30948
+ txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
30949
+ }
30950
+ txt += '**';
30951
+ }
30952
+ return txt;
30953
+ });
30954
+
30955
+ showdown.subParser('makeMarkdown.table', function (node, globals) {
30956
+
30957
+ var txt = '',
30958
+ tableArray = [[], []],
30959
+ headings = node.querySelectorAll('thead>tr>th'),
30960
+ rows = node.querySelectorAll('tbody>tr'),
30961
+ i, ii;
30962
+ for (i = 0; i < headings.length; ++i) {
30963
+ var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),
30964
+ allign = '---';
30965
+
30966
+ if (headings[i].hasAttribute('style')) {
30967
+ var style = headings[i].getAttribute('style').toLowerCase().replace(/\s/g, '');
30968
+ switch (style) {
30969
+ case 'text-align:left;':
30970
+ allign = ':---';
30971
+ break;
30972
+ case 'text-align:right;':
30973
+ allign = '---:';
30974
+ break;
30975
+ case 'text-align:center;':
30976
+ allign = ':---:';
30977
+ break;
30978
+ }
30979
+ }
30980
+ tableArray[0][i] = headContent.trim();
30981
+ tableArray[1][i] = allign;
30982
+ }
30983
+
30984
+ for (i = 0; i < rows.length; ++i) {
30985
+ var r = tableArray.push([]) - 1,
30986
+ cols = rows[i].getElementsByTagName('td');
30987
+
30988
+ for (ii = 0; ii < headings.length; ++ii) {
30989
+ var cellContent = ' ';
30990
+ if (typeof cols[ii] !== 'undefined') {
30991
+ cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);
30992
+ }
30993
+ tableArray[r].push(cellContent);
30994
+ }
30995
+ }
30996
+
30997
+ var cellSpacesCount = 3;
30998
+ for (i = 0; i < tableArray.length; ++i) {
30999
+ for (ii = 0; ii < tableArray[i].length; ++ii) {
31000
+ var strLen = tableArray[i][ii].length;
31001
+ if (strLen > cellSpacesCount) {
31002
+ cellSpacesCount = strLen;
31003
+ }
31004
+ }
31005
+ }
31006
+
31007
+ for (i = 0; i < tableArray.length; ++i) {
31008
+ for (ii = 0; ii < tableArray[i].length; ++ii) {
31009
+ if (i === 1) {
31010
+ if (tableArray[i][ii].slice(-1) === ':') {
31011
+ tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';
31012
+ } else {
31013
+ tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');
31014
+ }
31015
+ } else {
31016
+ tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);
31017
+ }
31018
+ }
31019
+ txt += '| ' + tableArray[i].join(' | ') + ' |\n';
31020
+ }
31021
+
31022
+ return txt.trim();
31023
+ });
31024
+
31025
+ showdown.subParser('makeMarkdown.tableCell', function (node, globals) {
31026
+
31027
+ var txt = '';
31028
+ if (!node.hasChildNodes()) {
31029
+ return '';
31030
+ }
31031
+ var children = node.childNodes,
31032
+ childrenLength = children.length;
31033
+
31034
+ for (var i = 0; i < childrenLength; ++i) {
31035
+ txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);
31036
+ }
31037
+ return txt.trim();
31038
+ });
31039
+
31040
+ showdown.subParser('makeMarkdown.txt', function (node) {
31041
+
31042
+ var txt = node.nodeValue;
31043
+
31044
+ // multiple spaces are collapsed
31045
+ txt = txt.replace(/ +/g, ' ');
31046
+
31047
+ // replace the custom ¨NBSP; with a space
31048
+ txt = txt.replace(/¨NBSP;/g, ' ');
31049
+
31050
+ // ", <, > and & should replace escaped html entities
31051
+ txt = showdown.helper.unescapeHTMLEntities(txt);
31052
+
31053
+ // escape markdown magic characters
31054
+ // emphasis, strong and strikethrough - can appear everywhere
31055
+ // we also escape pipe (|) because of tables
31056
+ // and escape ` because of code blocks and spans
31057
+ txt = txt.replace(/([*_~|`])/g, '\\$1');
31058
+
31059
+ // escape > because of blockquotes
31060
+ txt = txt.replace(/^(\s*)>/g, '\\$1>');
31061
+
31062
+ // hash character, only troublesome at the beginning of a line because of headers
31063
+ txt = txt.replace(/^#/gm, '\\#');
31064
+
31065
+ // horizontal rules
31066
+ txt = txt.replace(/^(\s*)([-=]{3,})(\s*)$/, '$1\\$2$3');
31067
+
31068
+ // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer
31069
+ txt = txt.replace(/^( {0,3}\d+)\./gm, '$1\\.');
31070
+
31071
+ // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)
31072
+ txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\$2');
31073
+
31074
+ // images and links, ] followed by ( is problematic, so we escape it
31075
+ txt = txt.replace(/]([\s]*)\(/g, '\\]$1\\(');
31076
+
31077
+ // reference URIs must also be escaped
31078
+ txt = txt.replace(/^ {0,3}\[([\S \t]*?)]:/gm, '\\[$1]:');
31079
+
31080
+ return txt;
31081
+ });
31082
+
30537
31083
  var root = this;
30538
31084
 
30539
31085
  // AMD Loader
@@ -30563,16 +31109,40 @@ const markdownConvert = (markdown, extensions) => {
30563
31109
  }
30564
31110
  DOMPurify.addHook('beforeSanitizeElements', function (node) {
30565
31111
  // nodeType 1 = element type
31112
+ var _a;
30566
31113
  // transform anchor tags
30567
31114
  if (node.nodeType === 1 && node.nodeName.toLowerCase() === 'a') {
30568
31115
  node.setAttribute('rel', 'noopener noreferrer');
30569
31116
  return node;
30570
31117
  }
30571
- // add PF class to ul and ol lists
30572
- if (node.nodeType === 1 &&
30573
- (node.nodeName.toLowerCase() === 'ul' || node.nodeName.toLowerCase() === 'ol')) {
30574
- node.setAttribute('class', 'pf-v6-c-list');
30575
- 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
+ }
30576
31146
  }
30577
31147
  });
30578
31148
  // Add a hook to make all links open a new window
@@ -30640,7 +31210,7 @@ const RenderExtension = ({ renderExtension, selector, markup, docContext, }) =>
30640
31210
  };
30641
31211
  const InlineMarkdownView = ({ markup, isEmpty, renderExtension, className, }) => {
30642
31212
  const id = React.useMemo(() => uniqueId('markdown'), []);
30643
- 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 },
30644
31214
  React.createElement("div", { dangerouslySetInnerHTML: { __html: markup } }),
30645
31215
  renderExtension && (React.createElement(RenderExtension, { renderExtension: renderExtension, selector: `#${id}`, markup: markup }))));
30646
31216
  };
@@ -30712,7 +31282,6 @@ const SELECTOR_ID = `[\\w-]+`;
30712
31282
  // [linkLabel]{{action id}}
30713
31283
  const HIGHLIGHT_REGEXP = new RegExp(`\\[(${LINK_LABEL})]{{(${HIGHLIGHT_ACTIONS.join('|')}) (${SELECTOR_ID})}}`, 'g');
30714
31284
 
30715
- const removeParagraphWrap = (markdown) => markdown.replace(/^<p>|<\/p>$/g, '');
30716
31285
  const QuickStartMarkdownView = ({ content, exactHeight, className, }) => {
30717
31286
  const { markdown } = React.useContext(QuickStartContext);
30718
31287
  const inlineCopyClipboardShowdownExtension = useInlineCopyClipboardShowdownExtension();
@@ -30764,7 +31333,7 @@ var AdmonitionType;
30764
31333
  })(AdmonitionType || (AdmonitionType = {}));
30765
31334
  const admonitionToAlertVariantMap = {
30766
31335
  [AdmonitionType.NOTE]: { variant: 'info' },
30767
- [AdmonitionType.TIP]: { variant: 'default', customIcon: React.createElement(LightbulbIcon, null) },
31336
+ [AdmonitionType.TIP]: { variant: 'custom', customIcon: React.createElement(LightbulbIcon, null) },
30768
31337
  [AdmonitionType.IMPORTANT]: { variant: 'danger' },
30769
31338
  [AdmonitionType.CAUTION]: { variant: 'warning', customIcon: React.createElement(FireIcon, null) },
30770
31339
  [AdmonitionType.WARNING]: { variant: 'warning' },
@@ -30780,9 +31349,8 @@ React.useMemo(() => ({
30780
31349
  }
30781
31350
  admonitionType = admonitionType.toUpperCase();
30782
31351
  const { variant, customIcon } = admonitionToAlertVariantMap[admonitionType];
30783
- const style = admonitionType === AdmonitionType.CAUTION ? { backgroundColor: '#ec7a0915' } : {};
30784
31352
  const mdContent = React.createElement(QuickStartMarkdownView, { content: content });
30785
- 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));
30786
31354
  return removeTemplateWhitespace(renderToStaticMarkup(pfAlert));
30787
31355
  },
30788
31356
  }), []);
@@ -30939,42 +31507,39 @@ const StatusIcon = ({ status }) => (React.createElement(Status, { status: status
30939
31507
  const QuickStartTileDescription = ({ description, prerequisites, }) => {
30940
31508
  const { getResource } = React.useContext(QuickStartContext);
30941
31509
  const prereqs = prerequisites === null || prerequisites === void 0 ? void 0 : prerequisites.filter((p) => p);
31510
+ const buttonRef = React.useRef(null);
30942
31511
  return (React.createElement(React.Fragment, null,
30943
- React.createElement(QuickStartMarkdownView, { content: description, className: "pfext-quick-start-tile-description" }),
30944
- (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement("div", { className: "pfext-quick-start-tile-prerequisites" },
30945
- 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,
30946
31515
  getResource('Prerequisites ({{totalPrereqs}})').replace('{{totalPrereqs}}', prereqs.length),
30947
31516
  ' '),
30948
- React.createElement(Popover, { "aria-label": getResource('Prerequisites'), headerContent: getResource('Prerequisites'), className: "pfext-quick-start__base", bodyContent: React.createElement("div", { className: "pfext-popover__base" },
30949
- 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) => (
30950
31524
  // eslint-disable-next-line react/no-array-index-key
30951
- React.createElement(TextListItem, { key: index },
30952
- React.createElement(QuickStartMarkdownView, { content: prerequisite })))))) },
30953
- React.createElement(Button, { variant: "link", isInline: true, className: "pfext-quick-start-tile-prerequisites__icon", "data-testid": "qs-card-prereqs", onClick: (e) => {
30954
- e.preventDefault();
30955
- e.stopPropagation();
30956
- }, "aria-label": getResource('Show prerequisites') },
30957
- React.createElement(InfoCircleIcon, null)))))));
31525
+ React.createElement("li", { key: index },
31526
+ React.createElement(QuickStartMarkdownView, { content: prerequisite })))))) })))));
30958
31527
  };
30959
31528
 
30960
- const QuickStartTileFooter = ({ quickStartId, status, totalTasks, }) => {
31529
+ const QuickStartTileFooter = ({ quickStartId, status, totalTasks, onClickContinue, }) => {
30961
31530
  const { getResource } = React.useContext(QuickStartContext);
30962
31531
  const { activeQuickStartID, startQuickStart, restartQuickStart } = React.useContext(QuickStartContext);
30963
- const start = React.useCallback((e) => {
30964
- e.preventDefault();
30965
- e.stopPropagation();
31532
+ const start = React.useCallback(() => {
30966
31533
  startQuickStart(quickStartId, totalTasks);
30967
31534
  }, [quickStartId, startQuickStart, totalTasks]);
30968
- const restart = React.useCallback((e) => {
30969
- e.preventDefault();
30970
- e.stopPropagation();
31535
+ const restart = React.useCallback(() => {
30971
31536
  restartQuickStart(quickStartId, totalTasks);
30972
31537
  }, [quickStartId, restartQuickStart, totalTasks]);
30973
31538
  return (React.createElement(Flex, { justifyContent: { default: 'justifyContentSpaceBetween' } },
30974
31539
  status === QuickStartStatus.NOT_STARTED && (React.createElement(FlexItem, null,
30975
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')))),
30976
31541
  status === QuickStartStatus.IN_PROGRESS && activeQuickStartID !== quickStartId && (React.createElement(FlexItem, null,
30977
- 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')))),
30978
31543
  status === QuickStartStatus.COMPLETE && (React.createElement(FlexItem, null,
30979
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')))),
30980
31545
  status === QuickStartStatus.IN_PROGRESS && (React.createElement(FlexItem, null,
@@ -31004,6 +31569,29 @@ const QuickStartTileFooterExternal = ({ link, quickStartId, }) => {
31004
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))));
31005
31570
  };
31006
31571
 
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 })))));
31577
+ };
31578
+
31579
+ var outlinedBookmarkIcon = createCommonjsModule(function (module, exports) {
31580
+ exports.__esModule = true;
31581
+ exports.OutlinedBookmarkIconConfig = {
31582
+ name: 'OutlinedBookmarkIcon',
31583
+ height: 512,
31584
+ width: 384,
31585
+ svgPath: 'M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z',
31586
+ yOffset: 0,
31587
+ xOffset: 0,
31588
+ };
31589
+ exports.OutlinedBookmarkIcon = createIcon_1.createIcon(exports.OutlinedBookmarkIconConfig);
31590
+ exports["default"] = exports.OutlinedBookmarkIcon;
31591
+ });
31592
+
31593
+ var OutlinedBookmarkIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedBookmarkIcon);
31594
+
31007
31595
  var outlinedClockIcon = createCommonjsModule(function (module, exports) {
31008
31596
  exports.__esModule = true;
31009
31597
  exports.OutlinedClockIconConfig = {
@@ -31020,39 +31608,36 @@ exports["default"] = exports.OutlinedClockIcon;
31020
31608
 
31021
31609
  var OutlinedClockIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedClockIcon);
31022
31610
 
31023
- const statusColorMap = {
31024
- [QuickStartStatus.COMPLETE]: 'green',
31025
- [QuickStartStatus.IN_PROGRESS]: 'purple',
31026
- [QuickStartStatus.NOT_STARTED]: 'grey',
31027
- };
31028
- const QuickStartTileHeader = ({ status, duration, name, type, quickStartId, }) => {
31029
- const { getResource } = React.useContext(QuickStartContext);
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
+ };
31030
31619
  const statusLocaleMap = {
31031
31620
  [QuickStartStatus.COMPLETE]: getResource('Complete'),
31032
31621
  [QuickStartStatus.IN_PROGRESS]: getResource('In progress'),
31033
31622
  [QuickStartStatus.NOT_STARTED]: getResource('Not started'),
31034
31623
  };
31035
- return (React.createElement("div", { className: "pfext-quick-start-tile-header" },
31036
- React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
31037
- React.createElement(QuickStartMarkdownView, { content: name })),
31038
- React.createElement("div", { className: "pfext-quick-start-tile-header__status" },
31039
- type && (React.createElement(Label, { className: "pfext-quick-start-tile-header--margin", color: type.color }, type.text)),
31040
- 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))),
31041
- status !== QuickStartStatus.NOT_STARTED && (React.createElement(Label, { variant: "outline", color: statusColorMap[status], icon: React.createElement(StatusIcon, { status: status }), "data-test": "status" }, statusLocaleMap[status])))));
31042
- };
31043
-
31044
- const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, }) => {
31045
- const { metadata: { name: id }, spec: { icon, tasks, displayName, description, durationMinutes, prerequisites, link, type }, } = quickStart;
31046
- const { setActiveQuickStart, footer } = React.useContext(QuickStartContext);
31047
- const ref = React.useRef(null);
31048
31624
  let quickStartIcon;
31049
31625
  if (typeof icon === 'object') {
31050
- quickStartIcon = React.createElement(Icon, { size: "xl" }, icon);
31626
+ quickStartIcon = React.createElement(Icon, { size: "2xl" }, icon);
31051
31627
  }
31052
31628
  else {
31053
- quickStartIcon = (React.createElement(Icon, { size: "xl" },
31054
- 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) })));
31055
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
+ };
31056
31641
  const footerComponent = React.useMemo(() => {
31057
31642
  if (footer && footer.show === false) {
31058
31643
  return null;
@@ -31060,47 +31645,44 @@ const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, })
31060
31645
  if (link) {
31061
31646
  return React.createElement(QuickStartTileFooterExternal, { link: link, quickStartId: id });
31062
31647
  }
31063
- 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 }));
31064
31649
  }, [footer, id, link, status, tasks === null || tasks === void 0 ? void 0 : tasks.length]);
31065
- const handleClick = (e) => {
31066
- var _a;
31067
- if ((_a = ref.current) === null || _a === void 0 ? void 0 : _a.contains(e.target)) {
31068
- if (link) {
31069
- window.open(link.href);
31070
- }
31071
- else {
31072
- setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31073
- }
31074
- onClick();
31075
- }
31076
- };
31077
- return (React.createElement("div", { ref: ref },
31078
- React.createElement(CatalogTile, { id: id + '-catalog-tile', style: {
31079
- cursor: 'pointer',
31080
- }, 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 }), onClick: handleClick, onKeyDown: (event) => {
31081
- if (event.key === 'Enter' || event.key === ' ') {
31082
- setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31083
- onClick();
31084
- }
31085
- },
31086
- // https://github.com/patternfly/patternfly-react/issues/7039
31087
- href: link === null || link === void 0 ? void 0 : link.href, "data-test": `tile ${id}`, description: React.createElement(QuickStartTileDescription, { description: description, prerequisites: prerequisites }), footer: footerComponent, tabIndex: 0 })));
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)));
31088
31671
  };
31089
31672
 
31090
31673
  const QuickStartCatalog = ({ quickStarts }) => {
31091
31674
  const { activeQuickStartID, allQuickStartStates } = React.useContext(QuickStartContext);
31092
- return (React.createElement("div", { className: "pfext-page-layout__content" },
31093
- 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) => {
31094
31677
  const { metadata: { name: id }, } = quickStart;
31095
- return (React.createElement(GalleryItem, { key: id, className: "pfext-quick-start-catalog__gallery-item" },
31096
- 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) }));
31097
31679
  }))));
31098
31680
  };
31099
31681
 
31100
31682
  const QuickStartCatalogFilterSearch = (_a) => {
31101
31683
  var { searchInputText, handleTextChange } = _a, props = __rest(_a, ["searchInputText", "handleTextChange"]);
31102
31684
  const { getResource } = React.useContext(QuickStartContext);
31103
- return (React.createElement(ToolbarItem, { className: "pfext-quick-start-catalog-filter__input" },
31685
+ return (React.createElement(ToolbarItem, null,
31104
31686
  React.createElement(SearchInput, Object.assign({ placeholder: getResource('Filter by keyword...'), value: searchInputText, onChange: (_ev, value) => handleTextChange(value), onClear: () => handleTextChange('') }, props))));
31105
31687
  };
31106
31688
  const QuickStartCatalogFilterSelect = (_a) => {
@@ -31115,7 +31697,7 @@ const QuickStartCatalogFilterSelect = (_a) => {
31115
31697
  };
31116
31698
  const QuickStartCatalogFilterCount = ({ quickStartsCount }) => {
31117
31699
  const { getResource } = React.useContext(QuickStartContext);
31118
- 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)));
31119
31701
  };
31120
31702
  const QuickStartCatalogFilterSearchWrapper = ({ onSearchInputChange = () => { } }) => {
31121
31703
  const { useQueryParams, filter, setFilter } = React.useContext(QuickStartContext);
@@ -31205,7 +31787,7 @@ const QuickStartCatalogFilterCountWrapper = ({ quickStartsCount }) => React.crea
31205
31787
 
31206
31788
  const QuickStartCatalogFilter = (_a) => {
31207
31789
  var { quickStartsCount, onSearchInputChange = () => { }, onStatusChange = () => { } } = _a, props = __rest(_a, ["quickStartsCount", "onSearchInputChange", "onStatusChange"]);
31208
- return (React.createElement(Toolbar, Object.assign({ usePageInsets: true, className: "pfext-quick-start-catalog-filter__flex" }, props),
31790
+ return (React.createElement(Toolbar, Object.assign({}, props),
31209
31791
  React.createElement(ToolbarContent, null,
31210
31792
  React.createElement(QuickStartCatalogFilterSearchWrapper, { onSearchInputChange: onSearchInputChange }),
31211
31793
  React.createElement(QuickStartCatalogFilterStatusWrapper, { onStatusChange: onStatusChange }),
@@ -31281,28 +31863,29 @@ const QuickStartCatalogPage = ({ quickStarts, showFilter, sortFnc = (q1, q2) =>
31281
31863
  if (!allQuickStarts || allQuickStarts.length === 0) {
31282
31864
  return React.createElement(EmptyBox, { label: getResource('Quick Starts') });
31283
31865
  }
31284
- return (React.createElement("div", { className: "pfext-quick-start__base" },
31285
- showTitle && (React.createElement("div", { className: "pfext-page-layout__header" },
31286
- React.createElement(Text, { component: "h1", className: "pfext-page-layout__title", "data-test": "page-title" }, title || getResource('Quick Starts')),
31287
- hint && React.createElement("div", { className: "pfext-page-layout__hint" }, hint))),
31288
- showTitle && React.createElement(Divider, { component: "div" }),
31289
- showFilter && (React.createElement(React.Fragment, null,
31290
- React.createElement(QuickStartCatalogFilter, { quickStartsCount: filteredQuickStarts.length, onSearchInputChange: onSearchInputChange, onStatusChange: onStatusChange }),
31291
- React.createElement(Divider, { component: "div" }))),
31292
- 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 })))));
31293
31876
  };
31294
31877
 
31295
- const QuickStartCatalogHeader = ({ title, hint, }) => (React.createElement("div", { className: "pfext-page-layout__header" },
31296
- React.createElement("h1", { "data-pf-content": "true", className: "pfext-page-layout__title" }, title),
31297
- 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)));
31298
31881
 
31299
- const QuickStartCatalogSection = ({ children }) => (React.createElement("div", { className: "pfext-page-layout__content" }, children));
31882
+ const QuickStartCatalogSection = ({ children }) => (React.createElement("div", null, children));
31300
31883
 
31301
- 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));
31302
31885
 
31303
31886
  const QuickStartCloseModal = ({ isOpen, onConfirm, onCancel, }) => {
31304
31887
  const { getResource } = React.useContext(QuickStartContext);
31305
- 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,
31306
31889
  React.createElement(FlexItem, { align: { default: 'alignRight' } },
31307
31890
  React.createElement(Button, { variant: "secondary", "data-test": "cancel button", onClick: onCancel }, getResource('Cancel'))),
31308
31891
  React.createElement(FlexItem, null,
@@ -31327,35 +31910,35 @@ var ArrowRightIcon = /*@__PURE__*/getDefaultExportFromCjs(arrowRightIcon);
31327
31910
 
31328
31911
  const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, isActiveTask, onTaskSelect, children, }) => {
31329
31912
  const titleRef = React.useRef(null);
31913
+ const { focusOnQuickStart } = React.useContext(QuickStartContext);
31330
31914
  React.useEffect(() => {
31331
- if (isActiveTask) {
31915
+ if (focusOnQuickStart && isActiveTask) {
31332
31916
  // Focus the WizardNavItem button element that contains the title
31333
31917
  titleRef.current.parentNode.focus();
31334
31918
  }
31335
- }, [isActiveTask]);
31336
- css('pfext-quick-start-task-header__title', {
31337
- 'pfext-quick-start-task-header__title-success': taskStatus === QuickStartTaskStatus.SUCCESS,
31338
- 'pfext-quick-start-task-header__title-failed': taskStatus === (QuickStartTaskStatus.FAILED || QuickStartTaskStatus.VISITED),
31339
- });
31340
- // const notCompleted = taskStatus === QuickStartTaskStatus.VISITED;
31341
- // const skippedReview = taskStatus === QuickStartTaskStatus.REVIEW;
31919
+ }, [focusOnQuickStart, isActiveTask]);
31342
31920
  const failedReview = taskStatus === QuickStartTaskStatus.FAILED;
31343
- // TODO: toned down when this is shown, investigate further when we should display it
31344
- // related: https://github.com/patternfly/patternfly-quickstarts/issues/104
31345
31921
  const tryAgain = failedReview && (React.createElement(React.Fragment, null,
31346
31922
  React.createElement("div", null),
31347
31923
  React.createElement("div", { className: "pfext-quick-start-task-header__tryagain" }, "Try the steps again.")));
31348
31924
  const content = (React.createElement("div", { ref: titleRef },
31349
- React.createElement(Title, { headingLevel: "h3" },
31350
- React.createElement("span", { dangerouslySetInnerHTML: { __html: removeParagraphWrap(markdownConvert(title)) } }),
31351
- 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,
31352
31928
  ' ',
31353
- 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))),
31354
31930
  tryAgain)));
31355
- 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));
31356
31939
  };
31357
31940
 
31358
- 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;
31359
31942
 
31360
31943
  const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickStarts, onQuickStartChange, onTaskSelect, }) => {
31361
31944
  const hasFailedTask = allTaskStatuses.includes(QuickStartTaskStatus.FAILED);
@@ -31370,10 +31953,7 @@ const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickSta
31370
31953
  nextQuickStarts.length > 0 &&
31371
31954
  nextQuickStarts.map((nextQuickStart, index) => {
31372
31955
  var _a;
31373
- return (React.createElement(Button, { variant: "link", onClick: () => onQuickStartChange(nextQuickStart.metadata.name), isInline: true, isBlock: true, key: index },
31374
- 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),
31375
- ' ',
31376
- 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)));
31377
31957
  })));
31378
31958
  };
31379
31959
 
@@ -31381,15 +31961,14 @@ const QuickStartIntroduction = ({ tasks, introduction, allTaskStatuses, prerequi
31381
31961
  const { getResource } = React.useContext(QuickStartContext);
31382
31962
  const prereqs = prerequisites === null || prerequisites === void 0 ? void 0 : prerequisites.filter((p) => p);
31383
31963
  const [isPrereqsExpanded, setIsPrereqsExpanded] = React.useState(false);
31384
- 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" },
31385
- 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" },
31386
- React.createElement("span", { className: "pfext-quick-start-intro__prereq-list__item-content" },
31387
- React.createElement(QuickStartMarkdownView, { content: pr }))))))));
31388
- 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 },
31389
31968
  React.createElement(QuickStartMarkdownView, { content: introduction }),
31390
31969
  prereqList,
31391
- React.createElement("p", { style: { marginBottom: 'var(--pf-t--global--spacer--md)' } },
31392
- 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),
31393
31972
  ":"),
31394
31973
  React.createElement(QuickStartTaskHeaderList, { tasks: tasks, allTaskStatuses: allTaskStatuses, onTaskSelect: onTaskSelect })));
31395
31974
  };
@@ -31407,12 +31986,9 @@ const getAlertVariant = (status) => {
31407
31986
  const QuickStartTaskReview = ({ review, taskStatus, onTaskReview, }) => {
31408
31987
  const { instructions, failedTaskHelp: taskHelp } = review;
31409
31988
  const { getResource } = React.useContext(QuickStartContext);
31410
- const alertClassNames = css('pfext-quick-start-task-review', {
31411
- 'pfext-quick-start-task-review--success': taskStatus === QuickStartTaskStatus.SUCCESS,
31412
- 'pfext-quick-start-task-review--failed': taskStatus === QuickStartTaskStatus.FAILED,
31413
- });
31414
- const title = React.createElement("span", { className: alertClassNames }, getResource('Check your work'));
31415
- 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
+ } },
31416
31992
  React.createElement(QuickStartMarkdownView, { content: instructions }),
31417
31993
  React.createElement("span", { className: "pfext-quick-start-task-review__actions" },
31418
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) }),
@@ -31422,7 +31998,7 @@ const QuickStartTaskReview = ({ review, taskStatus, onTaskReview, }) => {
31422
31998
 
31423
31999
  const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onTaskSelect, }) => {
31424
32000
  const { getResource, alwaysShowTaskReview } = React.useContext(QuickStartContext);
31425
- 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' } },
31426
32002
  React.createElement("ul", null, tasks
31427
32003
  .filter((_, index) => allTaskStatuses[index] !== QuickStartTaskStatus.INIT)
31428
32004
  .map((task, index) => {
@@ -31434,7 +32010,7 @@ const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onT
31434
32010
  return (React.createElement(React.Fragment, { key: title },
31435
32011
  React.createElement(QuickStartTaskHeader, { taskIndex: index + 1, title: title, size: "md", subtitle: getResource('{{index, number}} of {{tasks, number}}')
31436
32012
  .replace('{{index, number}}', index + 1)
31437
- .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 },
31438
32014
  React.createElement(QuickStartMarkdownView, { content: description }),
31439
32015
  shouldShowTaskReview && (React.createElement(QuickStartTaskReview, { review: review, taskStatus: taskStatus, onTaskReview: onTaskReview })))))));
31440
32016
  }))));
@@ -31442,14 +32018,14 @@ const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onT
31442
32018
 
31443
32019
  const QuickStartContent = React.forwardRef(({ quickStart, nextQuickStarts = [], taskNumber, allTaskStatuses, onTaskSelect, onTaskReview, onQuickStartChange, }, ref) => {
31444
32020
  const { spec: { introduction, tasks, conclusion, prerequisites }, } = quickStart;
31445
- const totalTasks = tasks.length;
31446
- 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 },
31447
32023
  taskNumber === -1 && (React.createElement(QuickStartIntroduction, { tasks: tasks, allTaskStatuses: allTaskStatuses, introduction: introduction, prerequisites: prerequisites, onTaskSelect: onTaskSelect })),
31448
32024
  taskNumber > -1 && taskNumber < totalTasks && (React.createElement(QuickStartTasks, { tasks: tasks, taskNumber: taskNumber, allTaskStatuses: allTaskStatuses, onTaskReview: onTaskReview, onTaskSelect: onTaskSelect })),
31449
32025
  taskNumber === totalTasks && (React.createElement(QuickStartConclusion, { tasks: tasks, conclusion: conclusion, allTaskStatuses: allTaskStatuses, nextQuickStarts: nextQuickStarts, onQuickStartChange: onQuickStartChange, onTaskSelect: onTaskSelect }))));
31450
32026
  });
31451
32027
 
31452
- const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, footerClass, quickStartId, }) => {
32028
+ const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, quickStartId, className, }) => {
31453
32029
  const { restartQuickStart, getResource } = React.useContext(QuickStartContext);
31454
32030
  const PrimaryButtonText = React.useMemo(() => ({
31455
32031
  START: getResource('Start'),
@@ -31478,13 +32054,16 @@ const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, foot
31478
32054
  }
31479
32055
  return PrimaryButtonText.CONTINUE;
31480
32056
  }, [taskNumber, totalTasks, PrimaryButtonText, status]);
31481
- 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]);
31482
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]);
31483
- 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]);
31484
- return (React.createElement("div", { className: `pfext-quick-start-footer ${footerClass}` },
31485
- getPrimaryButton,
31486
- getSecondaryButton,
31487
- 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)))));
31488
32067
  };
31489
32068
 
31490
32069
  const QuickStartController = ({ quickStart, nextQuickStarts, contentRef, footerClass, }) => {
@@ -31499,7 +32078,7 @@ const QuickStartController = ({ quickStart, nextQuickStarts, contentRef, footerC
31499
32078
  const getQuickStartActiveTask = React.useCallback(() => {
31500
32079
  let activeTaskNumber = 0;
31501
32080
  while (activeTaskNumber !== totalTasks &&
31502
- activeQuickStartState[`taskStatus${activeTaskNumber}`] !== QuickStartTaskStatus.INIT) {
32081
+ activeQuickStartState[`taskStatus${activeTaskNumber}`] === QuickStartTaskStatus.SUCCESS) {
31503
32082
  activeTaskNumber++;
31504
32083
  }
31505
32084
  return activeTaskNumber;
@@ -31523,7 +32102,7 @@ const QuickStartController = ({ quickStart, nextQuickStarts, contentRef, footerC
31523
32102
  }, [name, setQuickStartTaskNumber]);
31524
32103
  return (React.createElement(React.Fragment, null,
31525
32104
  React.createElement(QuickStartContent, { quickStart: quickStart, nextQuickStarts: nextQuickStarts, taskNumber: taskNumber, allTaskStatuses: allTaskStatuses, onTaskSelect: handleTaskSelect, onTaskReview: handleTaskStatusChange, onQuickStartChange: handleQuickStartChange, ref: contentRef }),
31526
- 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 })));
31527
32106
  };
31528
32107
 
31529
32108
  const getElement = (appendTo) => {
@@ -31540,24 +32119,17 @@ const useScrollTopOnTaskNumberChange = (node, taskNumber) => {
31540
32119
  }, [taskNumber, node]);
31541
32120
  };
31542
32121
  const QuickStartPanelContent = (_a) => {
31543
- 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"]);
31544
32123
  const titleRef = React.useRef(null);
31545
- const { getResource, activeQuickStartState } = React.useContext(QuickStartContext);
32124
+ const { getResource, activeQuickStartState, focusOnQuickStart } = React.useContext(QuickStartContext);
31546
32125
  const [contentRef, setContentRef] = React.useState();
31547
- const shadows = useScrollShadows(contentRef);
31548
32126
  const quickStart = quickStarts.find((qs) => qs.metadata.name === activeQuickStartID);
31549
32127
  const taskNumber = activeQuickStartState === null || activeQuickStartState === void 0 ? void 0 : activeQuickStartState.taskNumber;
31550
32128
  useScrollTopOnTaskNumberChange(contentRef, taskNumber);
31551
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); });
31552
- const headerClasses = css('pfext-quick-start-panel-content__header', {
31553
- 'pfext-quick-start-panel-content__header__shadow': shadows === Shadows.top || shadows === Shadows.both,
31554
- 'pfext-quick-start-panel-content__header--blue-white': headerVariant === 'blue-white',
31555
- });
31556
- const footerClass = css({
31557
- 'pfext-quick-start-panel-content__footer__shadow': shadows === Shadows.bottom || shadows === Shadows.both,
31558
- });
31559
32130
  const getStep = () => {
31560
- 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;
31561
32133
  if (Number.parseInt(taskNumber) === -1) {
31562
32134
  return 'intro';
31563
32135
  }
@@ -31567,27 +32139,25 @@ const QuickStartPanelContent = (_a) => {
31567
32139
  return Number.parseInt(taskNumber) + 1;
31568
32140
  };
31569
32141
  React.useEffect(() => {
31570
- if (quickStart) {
32142
+ if (focusOnQuickStart && quickStart) {
31571
32143
  titleRef.current.focus();
31572
32144
  }
31573
- }, [quickStart]);
31574
- 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),
31575
- React.createElement("div", { className: headerClasses },
32145
+ }, [focusOnQuickStart, quickStart]);
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" },
31576
32148
  React.createElement(DrawerHead, null,
31577
- React.createElement("div", { className: "pfext-quick-start-panel-content__title", tabIndex: -1, ref: titleRef },
31578
- React.createElement(Title, { headingLevel: "h2", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-t--global--spacer--md)' } },
31579
- React.createElement("span", { dangerouslySetInnerHTML: {
31580
- __html: removeParagraphWrap(markdownConvert(quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.displayName)),
31581
- } }),
31582
- ' ',
31583
- React.createElement("small", { className: "pfext-quick-start-panel-content__duration" }, (quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
31584
- ? getResource('{{type}} • {{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
31585
- .replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
31586
- .replace('{{type}}', getResource('Type'))
31587
- : 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'))),
31588
32158
  showClose && (React.createElement(DrawerActions, null,
31589
32159
  React.createElement(DrawerCloseButton, { onClick: handleClose, className: "pfext-quick-start-panel-content__close-button", "data-testid": "qs-drawer-close" }))))),
31590
- 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" },
31591
32161
  React.createElement(QuickStartController, { quickStart: quickStart, nextQuickStarts: nextQuickStarts, footerClass: footerClass, contentRef: setContentRef })))) : null;
31592
32162
  if (appendTo) {
31593
32163
  return ReactDOM.createPortal(content, getElement(appendTo));
@@ -31627,7 +32197,7 @@ const QuickStartContainer = (_a) => {
31627
32197
  };
31628
32198
  const QuickStartDrawer = (_a) => {
31629
32199
  var { quickStarts = [], children, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress } = _a, props = __rest(_a, ["quickStarts", "children", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress"]);
31630
- const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, useLegacyHeaderColors, } = React.useContext(QuickStartContext);
32200
+ const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, } = React.useContext(QuickStartContext);
31631
32201
  const combinedQuickStarts = allQuickStarts.concat(quickStarts);
31632
32202
  React.useEffect(() => {
31633
32203
  const params = new URLSearchParams(window.location.search);
@@ -31686,10 +32256,10 @@ const QuickStartDrawer = (_a) => {
31686
32256
  },
31687
32257
  }
31688
32258
  : {};
31689
- 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)));
31690
32260
  return (React.createElement(React.Fragment, null,
31691
32261
  React.createElement(Drawer, Object.assign({ isExpanded: !!activeQuickStartID, isInline: true }, props), children ? (React.createElement(DrawerContent, Object.assign({ panelContent: panelContent }, fullWidthBodyStyle),
31692
- 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))),
31693
32263
  React.createElement(QuickStartCloseModal, { isOpen: modalOpen, onConfirm: onModalConfirm, onCancel: onModalCancel })));
31694
32264
  };
31695
32265
 
@@ -31767,17 +32337,17 @@ const HelpTopicPanelContent = (_a) => {
31767
32337
  !!((_b = activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.links) === null || _b === void 0 ? void 0 : _b.length) && React.createElement(Divider, null),
31768
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 },
31769
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))))))));
31770
- 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),
31771
32341
  React.createElement("div", null,
31772
32342
  React.createElement(DrawerHead, null,
31773
- React.createElement("div", { className: "pfext-quick-start-panel-content__title" },
32343
+ React.createElement("div", null,
31774
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)) },
31775
32345
  React.createElement(SelectList, null, helpTopicOptions))),
31776
- 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)),
31777
32347
  React.createElement(DrawerActions, null,
31778
- 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" }))),
31779
32349
  React.createElement(Divider, null),
31780
- React.createElement(DrawerPanelBody, { hasNoPadding: true, className: "pfext-quick-start-panel-content__body", "data-test": "content" }, panelBodyItems))));
32350
+ React.createElement(DrawerPanelBody, { "data-test": "content" }, panelBodyItems))));
31781
32351
  return content;
31782
32352
  };
31783
32353
 
@@ -31809,7 +32379,7 @@ const HelpTopicDrawer = (_a) => {
31809
32379
  const panelContent = (React.createElement(HelpTopicPanelContent, { activeHelpTopic: activeHelpTopic, filteredHelpTopics: filteredHelpTopics, onClose: onClose }));
31810
32380
  return (React.createElement(React.Fragment, null,
31811
32381
  React.createElement(Drawer, Object.assign({ isExpanded: !!activeHelpTopic, isInline: true }, props), children ? (React.createElement(DrawerContent, { panelContent: panelContent },
31812
- 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)))));
31813
32383
  };
31814
32384
 
31815
32385
  const useLocalStorage = (key, initialValue) => {