@patternfly/react-table 4.39.4 → 4.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/esm/components/Table/base/provider.d.ts +5 -5
  3. package/dist/esm/components/Table/base/types.d.ts +5 -5
  4. package/dist/esm/components/TableComposable/InnerScrollContainer.d.ts +9 -0
  5. package/dist/esm/components/TableComposable/InnerScrollContainer.d.ts.map +1 -0
  6. package/dist/esm/components/TableComposable/InnerScrollContainer.js +10 -0
  7. package/dist/esm/components/TableComposable/InnerScrollContainer.js.map +1 -0
  8. package/dist/esm/components/TableComposable/OuterScrollContainer.d.ts +9 -0
  9. package/dist/esm/components/TableComposable/OuterScrollContainer.d.ts.map +1 -0
  10. package/dist/esm/components/TableComposable/OuterScrollContainer.js +10 -0
  11. package/dist/esm/components/TableComposable/OuterScrollContainer.js.map +1 -0
  12. package/dist/esm/components/TableComposable/TableComposable.d.ts +3 -1
  13. package/dist/esm/components/TableComposable/TableComposable.d.ts.map +1 -1
  14. package/dist/esm/components/TableComposable/TableComposable.js +12 -2
  15. package/dist/esm/components/TableComposable/TableComposable.js.map +1 -1
  16. package/dist/esm/components/TableComposable/Th.d.ts +11 -1
  17. package/dist/esm/components/TableComposable/Th.d.ts.map +1 -1
  18. package/dist/esm/components/TableComposable/Th.js +5 -2
  19. package/dist/esm/components/TableComposable/Th.js.map +1 -1
  20. package/dist/esm/components/TableComposable/Thead.d.ts +3 -1
  21. package/dist/esm/components/TableComposable/Thead.d.ts.map +1 -1
  22. package/dist/esm/components/TableComposable/Thead.js +2 -2
  23. package/dist/esm/components/TableComposable/Thead.js.map +1 -1
  24. package/dist/esm/components/TableComposable/Tr.d.ts +3 -1
  25. package/dist/esm/components/TableComposable/Tr.d.ts.map +1 -1
  26. package/dist/esm/components/TableComposable/Tr.js +2 -2
  27. package/dist/esm/components/TableComposable/Tr.js.map +1 -1
  28. package/dist/esm/components/TableComposable/index.d.ts +2 -0
  29. package/dist/esm/components/TableComposable/index.d.ts.map +1 -1
  30. package/dist/esm/components/TableComposable/index.js +2 -0
  31. package/dist/esm/components/TableComposable/index.js.map +1 -1
  32. package/dist/js/components/Table/base/provider.d.ts +5 -5
  33. package/dist/js/components/Table/base/types.d.ts +5 -5
  34. package/dist/js/components/TableComposable/InnerScrollContainer.d.ts +9 -0
  35. package/dist/js/components/TableComposable/InnerScrollContainer.d.ts.map +1 -0
  36. package/dist/js/components/TableComposable/InnerScrollContainer.js +14 -0
  37. package/dist/js/components/TableComposable/InnerScrollContainer.js.map +1 -0
  38. package/dist/js/components/TableComposable/OuterScrollContainer.d.ts +9 -0
  39. package/dist/js/components/TableComposable/OuterScrollContainer.d.ts.map +1 -0
  40. package/dist/js/components/TableComposable/OuterScrollContainer.js +14 -0
  41. package/dist/js/components/TableComposable/OuterScrollContainer.js.map +1 -0
  42. package/dist/js/components/TableComposable/TableComposable.d.ts +3 -1
  43. package/dist/js/components/TableComposable/TableComposable.d.ts.map +1 -1
  44. package/dist/js/components/TableComposable/TableComposable.js +12 -2
  45. package/dist/js/components/TableComposable/TableComposable.js.map +1 -1
  46. package/dist/js/components/TableComposable/Th.d.ts +11 -1
  47. package/dist/js/components/TableComposable/Th.d.ts.map +1 -1
  48. package/dist/js/components/TableComposable/Th.js +5 -2
  49. package/dist/js/components/TableComposable/Th.js.map +1 -1
  50. package/dist/js/components/TableComposable/Thead.d.ts +3 -1
  51. package/dist/js/components/TableComposable/Thead.d.ts.map +1 -1
  52. package/dist/js/components/TableComposable/Thead.js +2 -2
  53. package/dist/js/components/TableComposable/Thead.js.map +1 -1
  54. package/dist/js/components/TableComposable/Tr.d.ts +3 -1
  55. package/dist/js/components/TableComposable/Tr.d.ts.map +1 -1
  56. package/dist/js/components/TableComposable/Tr.js +2 -2
  57. package/dist/js/components/TableComposable/Tr.js.map +1 -1
  58. package/dist/js/components/TableComposable/index.d.ts +2 -0
  59. package/dist/js/components/TableComposable/index.d.ts.map +1 -1
  60. package/dist/js/components/TableComposable/index.js +2 -0
  61. package/dist/js/components/TableComposable/index.js.map +1 -1
  62. package/dist/umd/react-table.css +57 -0
  63. package/dist/umd/react-table.js +244 -206
  64. package/dist/umd/react-table.min.css +57 -0
  65. package/dist/umd/react-table.min.js +3 -3
  66. package/package.json +6 -6
  67. package/src/components/TableComposable/InnerScrollContainer.tsx +22 -0
  68. package/src/components/TableComposable/OuterScrollContainer.tsx +22 -0
  69. package/src/components/TableComposable/TableComposable.tsx +11 -0
  70. package/src/components/TableComposable/Th.tsx +26 -0
  71. package/src/components/TableComposable/Thead.tsx +12 -1
  72. package/src/components/TableComposable/Tr.tsx +5 -1
  73. package/src/components/TableComposable/examples/ComposableTable.md +1106 -0
  74. package/src/components/TableComposable/index.ts +2 -0
@@ -3331,11 +3331,11 @@
3331
3331
  };
3332
3332
  };
3333
3333
 
3334
- var _default$j = {
3334
+ var _default$k = {
3335
3335
  "bullseye": "pf-l-bullseye"
3336
3336
  };
3337
3337
 
3338
- var _default$i = {
3338
+ var _default$j = {
3339
3339
  "modifiers": {
3340
3340
  "4xl": "pf-m-4xl",
3341
3341
  "3xl": "pf-m-3xl",
@@ -3369,11 +3369,11 @@
3369
3369
  const Title = (_a) => {
3370
3370
  var { className = '', children = '', headingLevel: HeadingLevel, size = headingLevelSizeMap[HeadingLevel], ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["className", "children", "headingLevel", "size", "ouiaId", "ouiaSafe"]);
3371
3371
  const ouiaProps = useOUIAProps(Title.displayName, ouiaId, ouiaSafe);
3372
- return (React__namespace.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(_default$i.title, size && _default$i.modifiers[size], className) }), children));
3372
+ return (React__namespace.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(_default$j.title, size && _default$j.modifiers[size], className) }), children));
3373
3373
  };
3374
3374
  Title.displayName = 'Title';
3375
3375
 
3376
- var _default$h = {
3376
+ var _default$i = {
3377
3377
  "button": "pf-c-button",
3378
3378
  "buttonIcon": "pf-c-button__icon",
3379
3379
  "buttonProgress": "pf-c-button__progress",
@@ -3403,7 +3403,7 @@
3403
3403
  "spinner": "pf-c-spinner"
3404
3404
  };
3405
3405
 
3406
- var _default$g = {
3406
+ var _default$h = {
3407
3407
  "modifiers": {
3408
3408
  "sm": "pf-m-sm",
3409
3409
  "md": "pf-m-md",
@@ -3429,10 +3429,10 @@
3429
3429
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3430
3430
  className = '', size = 'xl', 'aria-valuetext': ariaValueText = 'Loading...', isSVG = false, diameter } = _a, props = __rest$1(_a, ["className", "size", 'aria-valuetext', "isSVG", "diameter"]);
3431
3431
  const Component = isSVG ? 'svg' : 'span';
3432
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$g.spinner, _default$g.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText }, (isSVG && { viewBox: '0 0 100 100' }), (diameter && { style: { '--pf-c-spinner--diameter': diameter } }), props), isSVG ? (React__namespace.createElement("circle", { className: _default$g.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })) : (React__namespace.createElement(React__namespace.Fragment, null,
3433
- React__namespace.createElement("span", { className: css(_default$g.spinnerClipper) }),
3434
- React__namespace.createElement("span", { className: css(_default$g.spinnerLeadBall) }),
3435
- React__namespace.createElement("span", { className: css(_default$g.spinnerTailBall) })))));
3432
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$h.spinner, _default$h.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText }, (isSVG && { viewBox: '0 0 100 100' }), (diameter && { style: { '--pf-c-spinner--diameter': diameter } }), props), isSVG ? (React__namespace.createElement("circle", { className: _default$h.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })) : (React__namespace.createElement(React__namespace.Fragment, null,
3433
+ React__namespace.createElement("span", { className: css(_default$h.spinnerClipper) }),
3434
+ React__namespace.createElement("span", { className: css(_default$h.spinnerLeadBall) }),
3435
+ React__namespace.createElement("span", { className: css(_default$h.spinnerTailBall) })))));
3436
3436
  };
3437
3437
  Spinner.displayName = 'Spinner';
3438
3438
 
@@ -3473,12 +3473,12 @@
3473
3473
  return 0;
3474
3474
  }
3475
3475
  };
3476
- return (React__namespace.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$h.button, _default$h.modifiers[variant], isBlock && _default$h.modifiers.block, isDisabled && _default$h.modifiers.disabled, isAriaDisabled && _default$h.modifiers.ariaDisabled, isActive && _default$h.modifiers.active, isInline && variant === ButtonVariant.link && _default$h.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && _default$h.modifiers.danger, isLoading !== null && _default$h.modifiers.progress, isLoading && _default$h.modifiers.inProgress, isSmall && _default$h.modifiers.small, isLarge && _default$h.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3477
- isLoading && (React__namespace.createElement("span", { className: css(_default$h.buttonProgress) },
3476
+ return (React__namespace.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$i.button, _default$i.modifiers[variant], isBlock && _default$i.modifiers.block, isDisabled && _default$i.modifiers.disabled, isAriaDisabled && _default$i.modifiers.ariaDisabled, isActive && _default$i.modifiers.active, isInline && variant === ButtonVariant.link && _default$i.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && _default$i.modifiers.danger, isLoading !== null && _default$i.modifiers.progress, isLoading && _default$i.modifiers.inProgress, isSmall && _default$i.modifiers.small, isLarge && _default$i.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3477
+ isLoading && (React__namespace.createElement("span", { className: css(_default$i.buttonProgress) },
3478
3478
  React__namespace.createElement(Spinner, { size: spinnerSize.md, "aria-valuetext": spinnerAriaValueText }))),
3479
- variant !== ButtonVariant.plain && icon && iconPosition === 'left' && (React__namespace.createElement("span", { className: css(_default$h.buttonIcon, _default$h.modifiers.start) }, icon)),
3479
+ variant !== ButtonVariant.plain && icon && iconPosition === 'left' && (React__namespace.createElement("span", { className: css(_default$i.buttonIcon, _default$i.modifiers.start) }, icon)),
3480
3480
  children,
3481
- variant !== ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(_default$h.buttonIcon, _default$h.modifiers.end) }, icon))));
3481
+ variant !== ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(_default$i.buttonIcon, _default$i.modifiers.end) }, icon))));
3482
3482
  };
3483
3483
  const Button = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(ButtonBase, Object.assign({ innerRef: ref }, props))));
3484
3484
  Button.displayName = 'Button';
@@ -3615,7 +3615,7 @@
3615
3615
 
3616
3616
  var ExclamationTriangleIcon$1 = ExclamationTriangleIcon;
3617
3617
 
3618
- var _default$f = {
3618
+ var _default$g = {
3619
3619
  "modifiers": {
3620
3620
  "top": "pf-m-top",
3621
3621
  "topLeft": "pf-m-top-left",
@@ -3638,13 +3638,13 @@
3638
3638
 
3639
3639
  const TooltipContent = (_a) => {
3640
3640
  var { className, children, isLeftAligned } = _a, props = __rest$1(_a, ["className", "children", "isLeftAligned"]);
3641
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$f.tooltipContent, isLeftAligned && _default$f.modifiers.textAlignLeft, className) }, props), children));
3641
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$g.tooltipContent, isLeftAligned && _default$g.modifiers.textAlignLeft, className) }, props), children));
3642
3642
  };
3643
3643
  TooltipContent.displayName = 'TooltipContent';
3644
3644
 
3645
3645
  const TooltipArrow = (_a) => {
3646
3646
  var { className } = _a, props = __rest$1(_a, ["className"]);
3647
- return React__namespace.createElement("div", Object.assign({ className: css(_default$f.tooltipArrow, className) }, props));
3647
+ return React__namespace.createElement("div", Object.assign({ className: css(_default$g.tooltipArrow, className) }, props));
3648
3648
  };
3649
3649
  TooltipArrow.displayName = 'TooltipArrow';
3650
3650
 
@@ -3736,13 +3736,13 @@
3736
3736
  }, exitDelay);
3737
3737
  };
3738
3738
  const positionModifiers = {
3739
- top: _default$f.modifiers.top,
3740
- bottom: _default$f.modifiers.bottom,
3741
- left: _default$f.modifiers.left,
3742
- right: _default$f.modifiers.right
3739
+ top: _default$g.modifiers.top,
3740
+ bottom: _default$g.modifiers.bottom,
3741
+ left: _default$g.modifiers.left,
3742
+ right: _default$g.modifiers.right
3743
3743
  };
3744
3744
  const hasCustomMaxWidth = maxWidth !== tooltipMaxWidth.value;
3745
- const content = (React__namespace.createElement("div", Object.assign({ className: css(_default$f.tooltip, className), role: "tooltip", id: id, style: {
3745
+ const content = (React__namespace.createElement("div", Object.assign({ className: css(_default$g.tooltip, className), role: "tooltip", id: id, style: {
3746
3746
  maxWidth: hasCustomMaxWidth ? maxWidth : null,
3747
3747
  opacity,
3748
3748
  transition: getOpacityTransition(animationDuration)
@@ -3775,7 +3775,7 @@
3775
3775
  };
3776
3776
  Tooltip.displayName = 'Tooltip';
3777
3777
 
3778
- var _default$e = {
3778
+ var _default$f = {
3779
3779
  "formControl": "pf-c-form-control",
3780
3780
  "modifiers": {
3781
3781
  "success": "pf-m-success",
@@ -3791,7 +3791,7 @@
3791
3791
  }
3792
3792
  };
3793
3793
 
3794
- var _default$d = {
3794
+ var _default$e = {
3795
3795
  "badge": "pf-c-badge",
3796
3796
  "check": "pf-c-check",
3797
3797
  "divider": "pf-c-divider",
@@ -3971,12 +3971,12 @@
3971
3971
  return (React__namespace.createElement(DropdownArrowContext.Provider, { value: {
3972
3972
  keyHandler: this.childKeyHandler,
3973
3973
  sendRef: this.sendRef
3974
- } }, component === 'div' ? (React__namespace.createElement(DropdownContext.Consumer, null, ({ onSelect, menuClass }) => (React__namespace.createElement("div", { className: css(menuClass, position === DropdownPosition.right && _default$d.modifiers.alignRight, formatBreakpointMods(alignments, _default$d, 'align-'), className), hidden: !isOpen, onClick: event => onSelect && onSelect(event), ref: setMenuComponentRef }, children)))) : ((isGrouped && (React__namespace.createElement(DropdownContext.Consumer, null, ({ menuClass, menuComponent }) => {
3974
+ } }, component === 'div' ? (React__namespace.createElement(DropdownContext.Consumer, null, ({ onSelect, menuClass }) => (React__namespace.createElement("div", { className: css(menuClass, position === DropdownPosition.right && _default$e.modifiers.alignRight, formatBreakpointMods(alignments, _default$e, 'align-'), className), hidden: !isOpen, onClick: event => onSelect && onSelect(event), ref: setMenuComponentRef }, children)))) : ((isGrouped && (React__namespace.createElement(DropdownContext.Consumer, null, ({ menuClass, menuComponent }) => {
3975
3975
  const MenuComponent = (menuComponent || 'div');
3976
- return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === DropdownPosition.right && _default$d.modifiers.alignRight, formatBreakpointMods(alignments, _default$d, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
3976
+ return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === DropdownPosition.right && _default$e.modifiers.alignRight, formatBreakpointMods(alignments, _default$e, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
3977
3977
  }))) || (React__namespace.createElement(DropdownContext.Consumer, null, ({ menuClass, menuComponent }) => {
3978
3978
  const MenuComponent = (menuComponent || component);
3979
- return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === DropdownPosition.right && _default$d.modifiers.alignRight, formatBreakpointMods(alignments, _default$d, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
3979
+ return (React__namespace.createElement(MenuComponent, Object.assign({}, props, { className: css(menuClass, position === DropdownPosition.right && _default$e.modifiers.alignRight, formatBreakpointMods(alignments, _default$e, 'align-'), className), hidden: !isOpen, role: "menu", ref: setMenuComponentRef }), this.extendChildren()));
3980
3980
  })))));
3981
3981
  }
3982
3982
  }
@@ -3991,7 +3991,7 @@
3991
3991
  isGrouped: false,
3992
3992
  setMenuComponentRef: null
3993
3993
  };
3994
- DropdownMenu.validToggleClasses = [_default$d.dropdownToggle, _default$d.dropdownToggleButton];
3994
+ DropdownMenu.validToggleClasses = [_default$e.dropdownToggle, _default$e.dropdownToggleButton];
3995
3995
  DropdownMenu.focusFirstRef = (refCollection) => {
3996
3996
  if (refCollection && refCollection[0] && refCollection[0].focus) {
3997
3997
  setTimeout(() => refCollection[0].focus());
@@ -4043,8 +4043,8 @@
4043
4043
  return (React__namespace.createElement(DropdownContext.Consumer, null, ({ baseClass, baseComponent, id: contextId, ouiaId, ouiaComponentType, ouiaSafe, alignments }) => {
4044
4044
  const BaseComponent = baseComponent;
4045
4045
  const menuContainer = (React__namespace.createElement(DropdownMenu, { setMenuComponentRef: this.setMenuComponentRef, component: component, isOpen: isOpen, position: position, "aria-labelledby": contextId ? `${contextId}-toggle` : id, isGrouped: isGrouped, autoFocus: openedOnEnter && autoFocus, alignments: alignments }, renderedContent));
4046
- const popperContainer = (React__namespace.createElement("div", { className: css(baseClass, direction === DropdownDirection.up && _default$d.modifiers.top, position === DropdownPosition.right && _default$d.modifiers.alignRight, isOpen && _default$d.modifiers.expanded, className) }, isOpen && menuContainer));
4047
- const mainContainer = (React__namespace.createElement(BaseComponent, Object.assign({}, props, { className: css(baseClass, direction === DropdownDirection.up && _default$d.modifiers.top, position === DropdownPosition.right && _default$d.modifiers.alignRight, isOpen && _default$d.modifiers.expanded, isFullHeight && _default$d.modifiers.fullHeight, className), ref: this.baseComponentRef }, getOUIAProps(ouiaComponentType, ouiaId, ouiaSafe)),
4046
+ const popperContainer = (React__namespace.createElement("div", { className: css(baseClass, direction === DropdownDirection.up && _default$e.modifiers.top, position === DropdownPosition.right && _default$e.modifiers.alignRight, isOpen && _default$e.modifiers.expanded, className) }, isOpen && menuContainer));
4047
+ const mainContainer = (React__namespace.createElement(BaseComponent, Object.assign({}, props, { className: css(baseClass, direction === DropdownDirection.up && _default$e.modifiers.top, position === DropdownPosition.right && _default$e.modifiers.alignRight, isOpen && _default$e.modifiers.expanded, isFullHeight && _default$e.modifiers.fullHeight, className), ref: this.baseComponentRef }, getOUIAProps(ouiaComponentType, ouiaId, ouiaSafe)),
4048
4048
  React__namespace.Children.map(toggle, oneToggle => React__namespace.cloneElement(oneToggle, {
4049
4049
  parentRef: this.baseComponentRef,
4050
4050
  getMenuRef: this.getMenuComponentRef,
@@ -4089,7 +4089,7 @@
4089
4089
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
4090
4090
  ref, // Types of Ref are different for React.FC vs React.Component
4091
4091
  ouiaId, ouiaSafe, alignments, contextProps } = _a, props = __rest$1(_a, ["onSelect", "ref", "ouiaId", "ouiaSafe", "alignments", "contextProps"]);
4092
- return (React__namespace.createElement(DropdownContext.Provider, { value: Object.assign({ onSelect: event => onSelect && onSelect(event), toggleTextClass: _default$d.dropdownToggleText, toggleIconClass: _default$d.dropdownToggleImage, toggleIndicatorClass: _default$d.dropdownToggleIcon, menuClass: _default$d.dropdownMenu, itemClass: _default$d.dropdownMenuItem, toggleClass: _default$d.dropdownToggle, baseClass: _default$d.dropdown, baseComponent: 'div', sectionClass: _default$d.dropdownGroup, sectionTitleClass: _default$d.dropdownGroupTitle, sectionComponent: 'section', disabledClass: _default$d.modifiers.disabled, plainTextClass: _default$d.modifiers.text, ouiaId: useOUIAId(Dropdown.displayName, ouiaId), ouiaSafe, ouiaComponentType: Dropdown.displayName, alignments }, contextProps) },
4092
+ return (React__namespace.createElement(DropdownContext.Provider, { value: Object.assign({ onSelect: event => onSelect && onSelect(event), toggleTextClass: _default$e.dropdownToggleText, toggleIconClass: _default$e.dropdownToggleImage, toggleIndicatorClass: _default$e.dropdownToggleIcon, menuClass: _default$e.dropdownMenu, itemClass: _default$e.dropdownMenuItem, toggleClass: _default$e.dropdownToggle, baseClass: _default$e.dropdown, baseComponent: 'div', sectionClass: _default$e.dropdownGroup, sectionTitleClass: _default$e.dropdownGroupTitle, sectionComponent: 'section', disabledClass: _default$e.modifiers.disabled, plainTextClass: _default$e.modifiers.text, ouiaId: useOUIAId(Dropdown.displayName, ouiaId), ouiaSafe, ouiaComponentType: Dropdown.displayName, alignments }, contextProps) },
4093
4093
  React__namespace.createElement(DropdownWithContext, Object.assign({}, props))));
4094
4094
  };
4095
4095
  Dropdown.displayName = 'Dropdown';
@@ -4163,7 +4163,7 @@
4163
4163
  /* eslint-disable @typescript-eslint/no-unused-vars */
4164
4164
  const _a = this.props, { className, children, isHovered, context, onClick, component, role, isDisabled, isAriaDisabled, isPlainText, index, href, tooltip, tooltipProps, id, componentID, listItemClassName, additionalChild, customChild, enterTriggersArrowDown, icon, autoFocus, styleChildren, description, inoperableEvents } = _a, additionalProps = __rest$1(_a, ["className", "children", "isHovered", "context", "onClick", "component", "role", "isDisabled", "isAriaDisabled", "isPlainText", "index", "href", "tooltip", "tooltipProps", "id", "componentID", "listItemClassName", "additionalChild", "customChild", "enterTriggersArrowDown", "icon", "autoFocus", "styleChildren", "description", "inoperableEvents"]);
4165
4165
  /* eslint-enable @typescript-eslint/no-unused-vars */
4166
- let classes = css(icon && _default$d.modifiers.icon, isAriaDisabled && _default$d.modifiers.ariaDisabled, className);
4166
+ let classes = css(icon && _default$e.modifiers.icon, isAriaDisabled && _default$e.modifiers.ariaDisabled, className);
4167
4167
  if (component === 'a') {
4168
4168
  additionalProps['aria-disabled'] = isDisabled || isAriaDisabled;
4169
4169
  }
@@ -4178,17 +4178,17 @@
4178
4178
  const renderDefaultComponent = (tag) => {
4179
4179
  const Component = tag;
4180
4180
  const componentContent = description ? (React__namespace.createElement(React__namespace.Fragment, null,
4181
- React__namespace.createElement("div", { className: _default$d.dropdownMenuItemMain },
4182
- icon && React__namespace.createElement("span", { className: css(_default$d.dropdownMenuItemIcon) }, icon),
4181
+ React__namespace.createElement("div", { className: _default$e.dropdownMenuItemMain },
4182
+ icon && React__namespace.createElement("span", { className: css(_default$e.dropdownMenuItemIcon) }, icon),
4183
4183
  children),
4184
- React__namespace.createElement("div", { className: _default$d.dropdownMenuItemDescription }, description))) : (React__namespace.createElement(React__namespace.Fragment, null,
4185
- icon && React__namespace.createElement("span", { className: css(_default$d.dropdownMenuItemIcon) }, icon),
4184
+ React__namespace.createElement("div", { className: _default$e.dropdownMenuItemDescription }, description))) : (React__namespace.createElement(React__namespace.Fragment, null,
4185
+ icon && React__namespace.createElement("span", { className: css(_default$e.dropdownMenuItemIcon) }, icon),
4186
4186
  children));
4187
4187
  return (React__namespace.createElement(Component, Object.assign({}, additionalProps, (isDisabled || isAriaDisabled ? preventedEvents(inoperableEvents) : null), { href: href, ref: this.ref, className: classes, id: componentID }), componentContent));
4188
4188
  };
4189
4189
  return (React__namespace.createElement(DropdownContext.Consumer, null, ({ onSelect, itemClass, disabledClass, plainTextClass }) => {
4190
4190
  if (this.props.role !== 'separator') {
4191
- classes = css(classes, isDisabled && disabledClass, isPlainText && plainTextClass, itemClass, description && _default$d.modifiers.description);
4191
+ classes = css(classes, isDisabled && disabledClass, isPlainText && plainTextClass, itemClass, description && _default$e.modifiers.description);
4192
4192
  }
4193
4193
  if (customChild) {
4194
4194
  return React__namespace.cloneElement(customChild, {
@@ -4242,7 +4242,7 @@
4242
4242
  };
4243
4243
  DropdownItem.displayName = 'DropdownItem';
4244
4244
 
4245
- var _default$c = {
4245
+ var _default$d = {
4246
4246
  "divider": "pf-c-divider",
4247
4247
  "modifiers": {
4248
4248
  "hidden": "pf-m-hidden",
@@ -4317,7 +4317,7 @@
4317
4317
  const Divider = (_a) => {
4318
4318
  var { className, component = DividerVariant.hr, isVertical = false, inset } = _a, props = __rest$1(_a, ["className", "component", "isVertical", "inset"]);
4319
4319
  const Component = component;
4320
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$c.divider, isVertical && _default$c.modifiers.vertical, formatBreakpointMods(inset, _default$c), className) }, (component !== 'hr' && { role: 'separator' }), props)));
4320
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$d.divider, isVertical && _default$d.modifiers.vertical, formatBreakpointMods(inset, _default$d), className) }, (component !== 'hr' && { role: 'separator' }), props)));
4321
4321
  };
4322
4322
  Divider.displayName = 'Divider';
4323
4323
 
@@ -4407,7 +4407,7 @@
4407
4407
  isActive, bubbleEvent, onEnter, parentRef, getMenuRef,
4408
4408
  /* eslint-enable @typescript-eslint/no-unused-vars */
4409
4409
  id, type } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isDisabled", "isPlain", "isPrimary", "isSplitButton", "onToggle", 'aria-haspopup', "isActive", "bubbleEvent", "onEnter", "parentRef", "getMenuRef", "id", "type"]);
4410
- return (React__namespace.createElement(DropdownContext.Consumer, null, ({ toggleClass }) => (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.buttonRef, className: css(isSplitButton ? _default$d.dropdownToggleButton : toggleClass || _default$d.dropdownToggle, isActive && _default$d.modifiers.active, isPlain && _default$d.modifiers.plain, isPrimary && _default$d.modifiers.primary, className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
4410
+ return (React__namespace.createElement(DropdownContext.Consumer, null, ({ toggleClass }) => (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.buttonRef, className: css(isSplitButton ? _default$e.dropdownToggleButton : toggleClass || _default$e.dropdownToggle, isActive && _default$e.modifiers.active, isPlain && _default$e.modifiers.plain, isPrimary && _default$e.modifiers.primary, className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
4411
4411
  }
4412
4412
  }
4413
4413
  Toggle.displayName = 'Toggle';
@@ -4424,7 +4424,7 @@
4424
4424
  bubbleEvent: false
4425
4425
  };
4426
4426
 
4427
- var _default$b = {
4427
+ var _default$c = {
4428
4428
  "badge": "pf-c-badge",
4429
4429
  "modifiers": {
4430
4430
  "read": "pf-m-read",
@@ -4621,7 +4621,7 @@
4621
4621
  if (customIconDimensions) {
4622
4622
  customIconStyle.backgroundSize = customIconDimensions;
4623
4623
  }
4624
- return (React__namespace.createElement("input", Object.assign({}, props, { onFocus: this.onFocus, onBlur: this.onBlur, className: css(_default$e.formControl, validated === ValidatedOptions.success && _default$e.modifiers.success, validated === ValidatedOptions.warning && _default$e.modifiers.warning, ((iconVariant && iconVariant !== 'search') || customIconUrl) && _default$e.modifiers.icon, iconVariant && _default$e.modifiers[iconVariant], className), onChange: this.handleChange, type: type, value: value, "aria-invalid": props['aria-invalid'] ? props['aria-invalid'] : validated === ValidatedOptions.error, required: isRequired, disabled: isDisabled, readOnly: isReadOnly, ref: innerRef || this.inputRef }, ((customIconUrl || customIconDimensions) && { style: customIconStyle }), getOUIAProps(TextInput.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
4624
+ return (React__namespace.createElement("input", Object.assign({}, props, { onFocus: this.onFocus, onBlur: this.onBlur, className: css(_default$f.formControl, validated === ValidatedOptions.success && _default$f.modifiers.success, validated === ValidatedOptions.warning && _default$f.modifiers.warning, ((iconVariant && iconVariant !== 'search') || customIconUrl) && _default$f.modifiers.icon, iconVariant && _default$f.modifiers[iconVariant], className), onChange: this.handleChange, type: type, value: value, "aria-invalid": props['aria-invalid'] ? props['aria-invalid'] : validated === ValidatedOptions.error, required: isRequired, disabled: isDisabled, readOnly: isReadOnly, ref: innerRef || this.inputRef }, ((customIconUrl || customIconDimensions) && { style: customIconStyle }), getOUIAProps(TextInput.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
4625
4625
  }
4626
4626
  }
4627
4627
  TextInputBase.displayName = 'TextInputBase';
@@ -4640,7 +4640,7 @@
4640
4640
  const TextInput = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TextInputBase, Object.assign({}, props, { innerRef: ref }))));
4641
4641
  TextInput.displayName = 'TextInput';
4642
4642
 
4643
- var _default$a = {
4643
+ var _default$b = {
4644
4644
  "check": "pf-c-check",
4645
4645
  "checkLabel": "pf-c-check__label",
4646
4646
  "chipGroup": "pf-c-chip-group",
@@ -4711,7 +4711,7 @@
4711
4711
 
4712
4712
  var TimesCircleIcon$1 = TimesCircleIcon;
4713
4713
 
4714
- var _default$9 = {
4714
+ var _default$a = {
4715
4715
  "form": "pf-c-form",
4716
4716
  "formActions": "pf-c-form__actions",
4717
4717
  "formFieldGroup": "pf-c-form__field-group",
@@ -4758,7 +4758,7 @@
4758
4758
  }
4759
4759
  };
4760
4760
 
4761
- var _default$8 = {
4761
+ var _default$9 = {
4762
4762
  "check": "pf-c-check",
4763
4763
  "checkBody": "pf-c-check__body",
4764
4764
  "checkDescription": "pf-c-check__description",
@@ -4882,26 +4882,26 @@
4882
4882
  console.error('Please provide an id to use the favorites feature.');
4883
4883
  }
4884
4884
  const generatedId = id || getUniqueId('select-option');
4885
- const favoriteButton = (onFavorite) => (React__namespace.createElement("button", { className: css(_default$a.selectMenuItem, _default$a.modifiers.action, _default$a.modifiers.favoriteAction), "aria-label": isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel, onClick: () => {
4885
+ const favoriteButton = (onFavorite) => (React__namespace.createElement("button", { className: css(_default$b.selectMenuItem, _default$b.modifiers.action, _default$b.modifiers.favoriteAction), "aria-label": isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel, onClick: () => {
4886
4886
  onFavorite(generatedId.replace('favorite-', ''), isFavorite);
4887
4887
  }, onKeyDown: event => {
4888
4888
  this.onKeyDown(event, 1, () => onFavorite(generatedId.replace('favorite-', '')));
4889
4889
  }, ref: this.favoriteRef },
4890
- React__namespace.createElement("span", { className: css(_default$a.selectMenuItemActionIcon) },
4890
+ React__namespace.createElement("span", { className: css(_default$b.selectMenuItemActionIcon) },
4891
4891
  React__namespace.createElement(StarIcon$1, null))));
4892
- const itemDisplay = itemCount ? (React__namespace.createElement("span", { className: css(_default$a.selectMenuItemRow) },
4893
- React__namespace.createElement("span", { className: css(_default$a.selectMenuItemText) }, children || (value && value.toString && value.toString())),
4894
- React__namespace.createElement("span", { className: css(_default$a.selectMenuItemCount) }, itemCount))) : (children || value.toString());
4892
+ const itemDisplay = itemCount ? (React__namespace.createElement("span", { className: css(_default$b.selectMenuItemRow) },
4893
+ React__namespace.createElement("span", { className: css(_default$b.selectMenuItemText) }, children || (value && value.toString && value.toString())),
4894
+ React__namespace.createElement("span", { className: css(_default$b.selectMenuItemCount) }, itemCount))) : (children || value.toString());
4895
4895
  const onViewMoreClick = (event) => {
4896
4896
  // Set the index for the next item to focus after view more clicked, then call view more callback
4897
4897
  setViewMoreNextIndex();
4898
4898
  onClick(event);
4899
4899
  };
4900
4900
  return (React__namespace.createElement(SelectConsumer, null, ({ onSelect, onClose, variant, inputIdPrefix, onFavorite }) => (React__namespace.createElement(React__namespace.Fragment, null,
4901
- variant !== SelectVariant.checkbox && (React__namespace.createElement("li", { id: generatedId, role: "presentation", className: css(isLoading && _default$a.selectListItem, !isLoad && !isLoading && _default$a.selectMenuWrapper, isFavorite && _default$a.modifiers.favorite, isFocused && _default$a.modifiers.focus, isLoading && _default$a.modifiers.loading), ref: this.liRef },
4901
+ variant !== SelectVariant.checkbox && (React__namespace.createElement("li", { id: generatedId, role: "presentation", className: css(isLoading && _default$b.selectListItem, !isLoad && !isLoading && _default$b.selectMenuWrapper, isFavorite && _default$b.modifiers.favorite, isFocused && _default$b.modifiers.focus, isLoading && _default$b.modifiers.loading), ref: this.liRef },
4902
4902
  isLoading && children,
4903
4903
  !isLoading && (React__namespace.createElement(React__namespace.Fragment, null,
4904
- React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$a.selectMenuItem, isLoad && _default$a.modifiers.load, isSelected && _default$a.modifiers.selected, isDisabled && _default$a.modifiers.disabled, description && _default$a.modifiers.description, isFavorite !== null && _default$a.modifiers.link, className), onClick: (event) => {
4904
+ React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$b.selectMenuItem, isLoad && _default$b.modifiers.load, isSelected && _default$b.modifiers.selected, isDisabled && _default$b.modifiers.disabled, description && _default$b.modifiers.description, isFavorite !== null && _default$b.modifiers.link, className), onClick: (event) => {
4905
4905
  if (isLoad) {
4906
4906
  onViewMoreClick(event);
4907
4907
  event.stopPropagation();
@@ -4915,36 +4915,36 @@
4915
4915
  this.onKeyDown(event, 0);
4916
4916
  }, type: "button" }),
4917
4917
  description && (React__namespace.createElement(React__namespace.Fragment, null,
4918
- React__namespace.createElement("span", { className: css(_default$a.selectMenuItemMain) },
4918
+ React__namespace.createElement("span", { className: css(_default$b.selectMenuItemMain) },
4919
4919
  itemDisplay,
4920
- isSelected && (React__namespace.createElement("span", { className: css(_default$a.selectMenuItemIcon) },
4920
+ isSelected && (React__namespace.createElement("span", { className: css(_default$b.selectMenuItemIcon) },
4921
4921
  React__namespace.createElement(CheckIcon$1, { "aria-hidden": true })))),
4922
- React__namespace.createElement("span", { className: css(_default$a.selectMenuItemDescription) }, description))),
4922
+ React__namespace.createElement("span", { className: css(_default$b.selectMenuItemDescription) }, description))),
4923
4923
  !description && (React__namespace.createElement(React__namespace.Fragment, null,
4924
4924
  itemDisplay,
4925
- isSelected && (React__namespace.createElement("span", { className: css(_default$a.selectMenuItemIcon) },
4925
+ isSelected && (React__namespace.createElement("span", { className: css(_default$b.selectMenuItemIcon) },
4926
4926
  React__namespace.createElement(CheckIcon$1, { "aria-hidden": true })))))),
4927
4927
  isFavorite !== null && id && favoriteButton(onFavorite))))),
4928
- variant === SelectVariant.checkbox && isLoad && (React__namespace.createElement("button", { className: css(_default$a.selectMenuItem, _default$a.modifiers.load, isFocused && _default$a.modifiers.focus, className), onKeyDown: (event) => {
4928
+ variant === SelectVariant.checkbox && isLoad && (React__namespace.createElement("button", { className: css(_default$b.selectMenuItem, _default$b.modifiers.load, isFocused && _default$b.modifiers.focus, className), onKeyDown: (event) => {
4929
4929
  this.onKeyDown(event, 0, undefined, true);
4930
4930
  }, onClick: (event) => {
4931
4931
  onViewMoreClick(event);
4932
4932
  event.stopPropagation();
4933
4933
  }, ref: this.ref }, children || (value && value.toString && value.toString()))),
4934
- variant === SelectVariant.checkbox && isLoading && (React__namespace.createElement("div", { className: css(_default$a.selectListItem, isLoading && _default$a.modifiers.loading, className) }, children)),
4935
- variant === SelectVariant.checkbox && !isNoResultsOption && !isLoading && !isLoad && (React__namespace.createElement("label", Object.assign({}, props, { className: css(_default$8.check, _default$a.selectMenuItem, isDisabled && _default$a.modifiers.disabled, description && _default$a.modifiers.description, className), onKeyDown: (event) => {
4934
+ variant === SelectVariant.checkbox && isLoading && (React__namespace.createElement("div", { className: css(_default$b.selectListItem, isLoading && _default$b.modifiers.loading, className) }, children)),
4935
+ variant === SelectVariant.checkbox && !isNoResultsOption && !isLoading && !isLoad && (React__namespace.createElement("label", Object.assign({}, props, { className: css(_default$9.check, _default$b.selectMenuItem, isDisabled && _default$b.modifiers.disabled, description && _default$b.modifiers.description, className), onKeyDown: (event) => {
4936
4936
  this.onKeyDown(event, 0, undefined, true);
4937
4937
  } }),
4938
- React__namespace.createElement("input", { id: inputId || `${inputIdPrefix}-${value.toString()}`, className: css(_default$8.checkInput), type: "checkbox", onChange: event => {
4938
+ React__namespace.createElement("input", { id: inputId || `${inputIdPrefix}-${value.toString()}`, className: css(_default$9.checkInput), type: "checkbox", onChange: event => {
4939
4939
  if (!isDisabled) {
4940
4940
  onClick(event);
4941
4941
  onSelect(event, value);
4942
4942
  }
4943
4943
  }, ref: this.ref, checked: isChecked || false, disabled: isDisabled }),
4944
- React__namespace.createElement("span", { className: css(_default$8.checkLabel, isDisabled && _default$a.modifiers.disabled) }, itemDisplay),
4945
- description && React__namespace.createElement("div", { className: css(_default$8.checkDescription) }, description))),
4944
+ React__namespace.createElement("span", { className: css(_default$9.checkLabel, isDisabled && _default$b.modifiers.disabled) }, itemDisplay),
4945
+ description && React__namespace.createElement("div", { className: css(_default$9.checkDescription) }, description))),
4946
4946
  variant === SelectVariant.checkbox && isNoResultsOption && !isLoading && !isLoad && (React__namespace.createElement("div", null,
4947
- React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$a.selectMenuItem, isSelected && _default$a.modifiers.selected, isDisabled && _default$a.modifiers.disabled, className), role: "option", "aria-selected": isSelected || null, ref: this.ref, onKeyDown: (event) => {
4947
+ React__namespace.createElement(Component, Object.assign({}, props, { className: css(_default$b.selectMenuItem, isSelected && _default$b.modifiers.selected, isDisabled && _default$b.modifiers.disabled, className), role: "option", "aria-selected": isSelected || null, ref: this.ref, onKeyDown: (event) => {
4948
4948
  this.onKeyDown(event, 0, undefined, true);
4949
4949
  }, type: "button" }), itemDisplay)))))));
4950
4950
  }
@@ -4973,8 +4973,8 @@
4973
4973
 
4974
4974
  const SelectGroup = (_a) => {
4975
4975
  var { children = [], className = '', label = '', titleId = '' } = _a, props = __rest$1(_a, ["children", "className", "label", "titleId"]);
4976
- return (React__namespace.createElement(SelectConsumer, null, ({ variant }) => (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$a.selectMenuGroup, className) }),
4977
- React__namespace.createElement("div", { className: css(_default$a.selectMenuGroupTitle), id: titleId, "aria-hidden": true }, label),
4976
+ return (React__namespace.createElement(SelectConsumer, null, ({ variant }) => (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$b.selectMenuGroup, className) }),
4977
+ React__namespace.createElement("div", { className: css(_default$b.selectMenuGroupTitle), id: titleId, "aria-hidden": true }, label),
4978
4978
  variant === SelectVariant.checkbox ? children : React__namespace.createElement("ul", { role: "listbox" }, children)))));
4979
4979
  };
4980
4980
  SelectGroup.displayName = 'SelectGroup';
@@ -5047,7 +5047,7 @@
5047
5047
  }
5048
5048
  return React__namespace.cloneElement(group, {
5049
5049
  titleId: group.props.label && group.props.label.replace(/\W/g, '-'),
5050
- children: group.props.children ? (React__namespace.createElement("fieldset", { "aria-labelledby": group.props.label && group.props.label.replace(/\W/g, '-'), className: css(_default$a.selectMenuFieldset) }, React__namespace.Children.map(group.props.children, (option) => option.type === Divider
5050
+ children: group.props.children ? (React__namespace.createElement("fieldset", { "aria-labelledby": group.props.label && group.props.label.replace(/\W/g, '-'), className: css(_default$b.selectMenuFieldset) }, React__namespace.Children.map(group.props.children, (option) => option.type === Divider
5051
5051
  ? option
5052
5052
  : React__namespace.cloneElement(option, {
5053
5053
  isChecked: this.checkForValue(option.props.value, checked),
@@ -5073,7 +5073,7 @@
5073
5073
  const _a = this.props, { children, isCustomContent, className, isExpanded, openedOnEnter, selected, checked, isGrouped, position, sendRef, keyHandler, maxHeight, noResultsFoundText, createText, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, hasInlineFilter, innerRef, footer, footerRef, isLastOptionBeforeFooter } = _a, props = __rest$1(_a, ["children", "isCustomContent", "className", "isExpanded", "openedOnEnter", "selected", "checked", "isGrouped", "position", "sendRef", "keyHandler", "maxHeight", "noResultsFoundText", "createText", 'aria-label', 'aria-labelledby', "hasInlineFilter", "innerRef", "footer", "footerRef", "isLastOptionBeforeFooter"]);
5074
5074
  /* eslint-enable @typescript-eslint/no-unused-vars */
5075
5075
  let Component = 'div';
5076
- const variantProps = Object.assign({ ref: innerRef, className: css(!footer ? _default$a.selectMenu : 'pf-c-select__menu-list', position === SelectPosition.right && _default$a.modifiers.alignRight, className) }, (maxHeight && { style: { maxHeight, overflow: 'auto' } }));
5076
+ const variantProps = Object.assign({ ref: innerRef, className: css(!footer ? _default$b.selectMenu : 'pf-c-select__menu-list', position === SelectPosition.right && _default$b.modifiers.alignRight, className) }, (maxHeight && { style: { maxHeight, overflow: 'auto' } }));
5077
5077
  const extendedChildren = () => variant === SelectVariant.checkbox
5078
5078
  ? this.extendCheckboxChildren(children)
5079
5079
  : this.extendChildren(inputIdPrefix);
@@ -5082,10 +5082,10 @@
5082
5082
  }
5083
5083
  else if (hasInlineFilter) {
5084
5084
  if (React__namespace.Children.count(children) === 0) {
5085
- variantProps.children = React__namespace.createElement("fieldset", { className: css(_default$a.selectMenuFieldset) });
5085
+ variantProps.children = React__namespace.createElement("fieldset", { className: css(_default$b.selectMenuFieldset) });
5086
5086
  }
5087
5087
  else {
5088
- variantProps.children = (React__namespace.createElement("fieldset", { "aria-label": ariaLabel, "aria-labelledby": (!ariaLabel && ariaLabelledBy) || null, className: css(_default$9.formFieldset) },
5088
+ variantProps.children = (React__namespace.createElement("fieldset", { "aria-label": ariaLabel, "aria-labelledby": (!ariaLabel && ariaLabelledBy) || null, className: css(_default$a.formFieldset) },
5089
5089
  children.shift(),
5090
5090
  extendedChildren()));
5091
5091
  }
@@ -5101,7 +5101,7 @@
5101
5101
  }
5102
5102
  return (React__namespace.createElement(React__namespace.Fragment, null,
5103
5103
  React__namespace.createElement(Component, Object.assign({}, variantProps, props)),
5104
- footer && (React__namespace.createElement("div", { className: css(_default$a.selectMenuFooter), ref: footerRef }, footer))));
5104
+ footer && (React__namespace.createElement("div", { className: css(_default$b.selectMenuFooter), ref: footerRef }, footer))));
5105
5105
  }
5106
5106
  render() {
5107
5107
  return React__namespace.createElement(SelectConsumer, null, context => this.renderSelectMenu(context));
@@ -5255,7 +5255,7 @@
5255
5255
  'aria-haspopup': (variant !== SelectVariant.checkbox && 'listbox') || null
5256
5256
  };
5257
5257
  return (React__namespace.createElement(React__namespace.Fragment, null,
5258
- !isTypeahead && (React__namespace.createElement("button", Object.assign({}, props, toggleProps, { ref: this.toggle, type: type, className: css(_default$a.selectToggle, hasPlaceholderStyle && _default$a.modifiers.placeholder, isDisabled && _default$a.modifiers.disabled, isPlain && _default$a.modifiers.plain, isActive && _default$a.modifiers.active, className), "aria-label": ariaLabel,
5258
+ !isTypeahead && (React__namespace.createElement("button", Object.assign({}, props, toggleProps, { ref: this.toggle, type: type, className: css(_default$b.selectToggle, hasPlaceholderStyle && _default$b.modifiers.placeholder, isDisabled && _default$b.modifiers.disabled, isPlain && _default$b.modifiers.plain, isActive && _default$b.modifiers.active, className), "aria-label": ariaLabel,
5259
5259
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5260
5260
  onClick: _event => {
5261
5261
  onToggle(!isOpen);
@@ -5264,9 +5264,9 @@
5264
5264
  }
5265
5265
  }, onKeyDown: this.onKeyDown, disabled: isDisabled }),
5266
5266
  children,
5267
- React__namespace.createElement("span", { className: css(_default$a.selectToggleArrow) },
5267
+ React__namespace.createElement("span", { className: css(_default$b.selectToggleArrow) },
5268
5268
  React__namespace.createElement(CaretDownIcon$1, null)))),
5269
- isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(_default$a.selectToggle, hasPlaceholderStyle && _default$a.modifiers.placeholder, isDisabled && _default$a.modifiers.disabled, isPlain && _default$a.modifiers.plain, isTypeahead && _default$a.modifiers.typeahead, className),
5269
+ isTypeahead && (React__namespace.createElement("div", Object.assign({}, props, { ref: this.toggle, className: css(_default$b.selectToggle, hasPlaceholderStyle && _default$b.modifiers.placeholder, isDisabled && _default$b.modifiers.disabled, isPlain && _default$b.modifiers.plain, isTypeahead && _default$b.modifiers.typeahead, className),
5270
5270
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5271
5271
  onClick: _event => {
5272
5272
  if (!isDisabled) {
@@ -5274,7 +5274,7 @@
5274
5274
  }
5275
5275
  }, onKeyDown: this.onKeyDown }),
5276
5276
  children,
5277
- React__namespace.createElement("button", Object.assign({}, toggleProps, { type: type, className: css(_default$h.button, _default$a.selectToggleButton, _default$a.modifiers.plain), "aria-label": ariaLabel, onClick: _event => {
5277
+ React__namespace.createElement("button", Object.assign({}, toggleProps, { type: type, className: css(_default$i.button, _default$b.selectToggleButton, _default$b.modifiers.plain), "aria-label": ariaLabel, onClick: _event => {
5278
5278
  onToggle(!isOpen);
5279
5279
  if (isOpen) {
5280
5280
  onClose();
@@ -5283,7 +5283,7 @@
5283
5283
  } }, ((variant === SelectVariant.typeahead || variant === SelectVariant.typeaheadMulti) && {
5284
5284
  tabIndex: -1
5285
5285
  }), { disabled: isDisabled }),
5286
- React__namespace.createElement(CaretDownIcon$1, { className: css(_default$a.selectToggleArrow) }))))));
5286
+ React__namespace.createElement(CaretDownIcon$1, { className: css(_default$b.selectToggleArrow) }))))));
5287
5287
  }
5288
5288
  }
5289
5289
  SelectToggle.displayName = 'SelectToggle';
@@ -5306,7 +5306,7 @@
5306
5306
  onClickTypeaheadToggleButton: () => { }
5307
5307
  };
5308
5308
 
5309
- var _default$7 = {
5309
+ var _default$8 = {
5310
5310
  "chipGroup": "pf-c-chip-group",
5311
5311
  "chipGroupClose": "pf-c-chip-group__close",
5312
5312
  "chipGroupLabel": "pf-c-chip-group__label",
@@ -5318,7 +5318,7 @@
5318
5318
  }
5319
5319
  };
5320
5320
 
5321
- var _default$6 = {
5321
+ var _default$7 = {
5322
5322
  "badge": "pf-c-badge",
5323
5323
  "button": "pf-c-button",
5324
5324
  "chip": "pf-c-chip",
@@ -5337,8 +5337,8 @@
5337
5337
  this.renderOverflowChip = () => {
5338
5338
  const { children, className, onClick, ouiaId } = this.props;
5339
5339
  const Component = this.props.component;
5340
- return (React__namespace.createElement(Component, Object.assign({ onClick: onClick, className: css(_default$6.chip, _default$6.modifiers.overflow, className) }, (this.props.component === 'button' ? { type: 'button' } : {}), getOUIAProps('OverflowChip', ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5341
- React__namespace.createElement("span", { className: css(_default$6.chipText) }, children)));
5340
+ return (React__namespace.createElement(Component, Object.assign({ onClick: onClick, className: css(_default$7.chip, _default$7.modifiers.overflow, className) }, (this.props.component === 'button' ? { type: 'button' } : {}), getOUIAProps('OverflowChip', ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5341
+ React__namespace.createElement("span", { className: css(_default$7.chipText) }, children)));
5342
5342
  };
5343
5343
  this.renderChip = (randomId) => {
5344
5344
  const { children, tooltipPosition } = this.props;
@@ -5360,8 +5360,8 @@
5360
5360
  renderInnerChip(id) {
5361
5361
  const { children, className, onClick, closeBtnAriaLabel, isReadOnly, component, ouiaId } = this.props;
5362
5362
  const Component = component;
5363
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$6.chip, className) }, (this.state.isTooltipVisible && { tabIndex: 0 }), getOUIAProps(Chip.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5364
- React__namespace.createElement("span", { ref: this.span, className: css(_default$6.chipText), id: id }, children),
5363
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$7.chip, className) }, (this.state.isTooltipVisible && { tabIndex: 0 }), getOUIAProps(Chip.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5364
+ React__namespace.createElement("span", { ref: this.span, className: css(_default$7.chipText), id: id }, children),
5365
5365
  !isReadOnly && (React__namespace.createElement(Button, { onClick: onClick, variant: "plain", "aria-label": closeBtnAriaLabel, id: `remove_${id}`, "aria-labelledby": `remove_${id} ${id}`, ouiaId: ouiaId || closeBtnAriaLabel },
5366
5366
  React__namespace.createElement(TimesIcon$1, { "aria-hidden": "true" })))));
5367
5367
  }
@@ -5406,8 +5406,8 @@
5406
5406
  const { categoryName, tooltipPosition } = this.props;
5407
5407
  const { isTooltipVisible } = this.state;
5408
5408
  return isTooltipVisible ? (React__namespace.createElement(Tooltip, { position: tooltipPosition, content: categoryName },
5409
- React__namespace.createElement("span", { tabIndex: 0, ref: this.headingRef, className: css(_default$7.chipGroupLabel), id: id, "aria-label": categoryName },
5410
- React__namespace.createElement("span", { "aria-hidden": "true" }, categoryName)))) : (React__namespace.createElement("span", { ref: this.headingRef, className: css(_default$7.chipGroupLabel), "aria-hidden": "true", id: id }, categoryName));
5409
+ React__namespace.createElement("span", { tabIndex: 0, ref: this.headingRef, className: css(_default$8.chipGroupLabel), id: id, "aria-label": categoryName },
5410
+ React__namespace.createElement("span", { "aria-hidden": "true" }, categoryName)))) : (React__namespace.createElement("span", { ref: this.headingRef, className: css(_default$8.chipGroupLabel), "aria-hidden": "true", id: id }, categoryName));
5411
5411
  }
5412
5412
  render() {
5413
5413
  const _a = this.props, { categoryName, children, className, isClosable, closeBtnAriaLabel, 'aria-label': ariaLabel, onClick, onOverflowChipClick, numChips, expandedText, collapsedText, ouiaId,
@@ -5424,17 +5424,17 @@
5424
5424
  const chipArray = !isOpen
5425
5425
  ? React__namespace.Children.toArray(children).slice(0, numChips)
5426
5426
  : React__namespace.Children.toArray(children);
5427
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$7.chipGroup, className, categoryName && _default$7.modifiers.category) }, getOUIAProps(ChipGroup.displayName, ouiaId)),
5428
- React__namespace.createElement("div", { className: css(_default$7.chipGroupMain) },
5427
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$8.chipGroup, className, categoryName && _default$8.modifiers.category) }, getOUIAProps(ChipGroup.displayName, ouiaId)),
5428
+ React__namespace.createElement("div", { className: css(_default$8.chipGroupMain) },
5429
5429
  categoryName && this.renderLabel(id),
5430
- React__namespace.createElement("ul", Object.assign({ className: css(_default$7.chipGroupList) }, (categoryName && { 'aria-labelledby': id }), (!categoryName && { 'aria-label': ariaLabel }), { role: "list" }, rest),
5431
- chipArray.map((child, i) => (React__namespace.createElement("li", { className: css(_default$7.chipGroupListItem), key: i }, child))),
5432
- numChildren > numChips && (React__namespace.createElement("li", { className: css(_default$7.chipGroupListItem) },
5430
+ React__namespace.createElement("ul", Object.assign({ className: css(_default$8.chipGroupList) }, (categoryName && { 'aria-labelledby': id }), (!categoryName && { 'aria-label': ariaLabel }), { role: "list" }, rest),
5431
+ chipArray.map((child, i) => (React__namespace.createElement("li", { className: css(_default$8.chipGroupListItem), key: i }, child))),
5432
+ numChildren > numChips && (React__namespace.createElement("li", { className: css(_default$8.chipGroupListItem) },
5433
5433
  React__namespace.createElement(Chip, { isOverflowChip: true, onClick: event => {
5434
5434
  this.toggleCollapse();
5435
5435
  onOverflowChipClick(event);
5436
5436
  }, component: "button" }, isOpen ? expandedText : collapsedTextResult))))),
5437
- isClosable && (React__namespace.createElement("div", { className: css(_default$7.chipGroupClose) },
5437
+ isClosable && (React__namespace.createElement("div", { className: css(_default$8.chipGroupClose) },
5438
5438
  React__namespace.createElement(Button, { variant: "plain", "aria-label": closeBtnAriaLabel, onClick: onClick, id: `remove_group_${id}`, "aria-labelledby": `remove_group_${id} ${id}`, ouiaId: ouiaId || closeBtnAriaLabel },
5439
5439
  React__namespace.createElement(TimesCircleIcon$1, { "aria-hidden": "true" }))))));
5440
5440
  };
@@ -5959,7 +5959,7 @@
5959
5959
  }
5960
5960
  }
5961
5961
  const hasOnClear = onClear !== Select.defaultProps.onClear;
5962
- const clearBtn = (React__namespace.createElement("button", { className: css(_default$h.button, _default$h.modifiers.plain, _default$a.selectToggleClear), onClick: e => {
5962
+ const clearBtn = (React__namespace.createElement("button", { className: css(_default$i.button, _default$i.modifiers.plain, _default$b.selectToggleClear), onClick: e => {
5963
5963
  this.clearSelection(e);
5964
5964
  onClear(e);
5965
5965
  }, "aria-label": clearSelectionsAriaLabel, type: "button", disabled: isDisabled, ref: this.clearRef, onKeyDown: event => {
@@ -5975,8 +5975,8 @@
5975
5975
  }
5976
5976
  if (hasInlineFilter) {
5977
5977
  const filterBox = (React__namespace.createElement(React__namespace.Fragment, null,
5978
- React__namespace.createElement("div", { key: "inline-filter", className: css(_default$a.selectMenuSearch) },
5979
- React__namespace.createElement("input", { key: "inline-filter-input", type: "search", className: css(_default$e.formControl, _default$e.modifiers.search), onChange: this.onChange, placeholder: inlineFilterPlaceholderText, onKeyDown: event => {
5978
+ React__namespace.createElement("div", { key: "inline-filter", className: css(_default$b.selectMenuSearch) },
5979
+ React__namespace.createElement("input", { key: "inline-filter-input", type: "search", className: css(_default$f.formControl, _default$f.modifiers.search), onChange: this.onChange, placeholder: inlineFilterPlaceholderText, onKeyDown: event => {
5980
5980
  if (event.key === KeyTypes.ArrowUp) {
5981
5981
  this.handleMenuKeys(0, 0, 'up');
5982
5982
  event.preventDefault();
@@ -6061,46 +6061,46 @@
6061
6061
  }
6062
6062
  }
6063
6063
  const innerMenu = (React__namespace.createElement(SelectMenu, Object.assign({}, props, { isGrouped: isGrouped, selected: selections }, variantProps, { openedOnEnter: openedOnEnter, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, sendRef: this.sendRef, keyHandler: this.handleMenuKeys, maxHeight: maxHeight, ref: this.menuComponentRef, footer: footer, footerRef: this.footerRef, isLastOptionBeforeFooter: this.isLastOptionBeforeFooter }), variantChildren));
6064
- const menuContainer = footer ? React__namespace.createElement("div", { className: css(_default$a.selectMenu) },
6064
+ const menuContainer = footer ? React__namespace.createElement("div", { className: css(_default$b.selectMenu) },
6065
6065
  " ",
6066
6066
  innerMenu,
6067
6067
  " ") : innerMenu;
6068
- const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$a.select, isOpen && _default$a.modifiers.expanded, validated === ValidatedOptions.success && _default$a.modifiers.success, validated === ValidatedOptions.warning && _default$a.modifiers.warning, validated === ValidatedOptions.error && _default$a.modifiers.invalid, direction === SelectDirection.up && _default$a.modifiers.top, className) }, (width && { style: { width } }), (validated !== ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== ValidatedOptions.default && { 'aria-invalid': ariaInvalid })), isOpen && menuContainer));
6069
- const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$a.select, isOpen && _default$a.modifiers.expanded, validated === ValidatedOptions.success && _default$a.modifiers.success, validated === ValidatedOptions.warning && _default$a.modifiers.warning, validated === ValidatedOptions.error && _default$a.modifiers.invalid, direction === SelectDirection.up && _default$a.modifiers.top, className), ref: this.parentRef }, getOUIAProps(Select.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), (width && { style: { width } }), (validated !== ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== ValidatedOptions.default && { 'aria-invalid': ariaInvalid })),
6068
+ const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$b.select, isOpen && _default$b.modifiers.expanded, validated === ValidatedOptions.success && _default$b.modifiers.success, validated === ValidatedOptions.warning && _default$b.modifiers.warning, validated === ValidatedOptions.error && _default$b.modifiers.invalid, direction === SelectDirection.up && _default$b.modifiers.top, className) }, (width && { style: { width } }), (validated !== ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== ValidatedOptions.default && { 'aria-invalid': ariaInvalid })), isOpen && menuContainer));
6069
+ const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(_default$b.select, isOpen && _default$b.modifiers.expanded, validated === ValidatedOptions.success && _default$b.modifiers.success, validated === ValidatedOptions.warning && _default$b.modifiers.warning, validated === ValidatedOptions.error && _default$b.modifiers.invalid, direction === SelectDirection.up && _default$b.modifiers.top, className), ref: this.parentRef }, getOUIAProps(Select.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), (width && { style: { width } }), (validated !== ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== ValidatedOptions.default && { 'aria-invalid': ariaInvalid })),
6070
6070
  React__namespace.createElement(SelectToggle, Object.assign({ id: selectToggleId, parentRef: this.parentRef, menuRef: this.menuComponentRef }, (footer && { footerRef: this.footerRef }), { isOpen: isOpen, isPlain: isPlain, hasPlaceholderStyle: hasPlaceholderStyle && (!selections.length || selections[0] === null || isSelectedPlaceholder), onToggle: this.onToggle, onEnter: this.onEnter, onClose: this.onClose, variant: variant, "aria-labelledby": `${ariaLabelledBy || ''} ${selectToggleId}`, "aria-label": toggleAriaLabel, handleTypeaheadKeys: this.handleTypeaheadKeys, isDisabled: isDisabled, hasClearButton: hasOnClear, hasFooter: footer !== undefined, onClickTypeaheadToggleButton: this.onClickTypeaheadToggleButton }),
6071
- customContent && (React__namespace.createElement("div", { className: css(_default$a.selectToggleWrapper) },
6072
- toggleIcon && React__namespace.createElement("span", { className: css(_default$a.selectToggleIcon) }, toggleIcon),
6073
- React__namespace.createElement("span", { className: css(_default$a.selectToggleText) }, placeholderText))),
6071
+ customContent && (React__namespace.createElement("div", { className: css(_default$b.selectToggleWrapper) },
6072
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$b.selectToggleIcon) }, toggleIcon),
6073
+ React__namespace.createElement("span", { className: css(_default$b.selectToggleText) }, placeholderText))),
6074
6074
  variant === SelectVariant.single && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
6075
- React__namespace.createElement("div", { className: css(_default$a.selectToggleWrapper) },
6076
- toggleIcon && React__namespace.createElement("span", { className: css(_default$a.selectToggleIcon) }, toggleIcon),
6077
- React__namespace.createElement("span", { className: css(_default$a.selectToggleText) }, this.getDisplay(selections[0], 'node') || placeholderText || childPlaceholderText)),
6075
+ React__namespace.createElement("div", { className: css(_default$b.selectToggleWrapper) },
6076
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$b.selectToggleIcon) }, toggleIcon),
6077
+ React__namespace.createElement("span", { className: css(_default$b.selectToggleText) }, this.getDisplay(selections[0], 'node') || placeholderText || childPlaceholderText)),
6078
6078
  hasOnClear && hasAnySelections && clearBtn)),
6079
6079
  variant === SelectVariant.checkbox && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
6080
- React__namespace.createElement("div", { className: css(_default$a.selectToggleWrapper) },
6081
- toggleIcon && React__namespace.createElement("span", { className: css(_default$a.selectToggleIcon) }, toggleIcon),
6082
- React__namespace.createElement("span", { className: css(_default$a.selectToggleText) }, placeholderText),
6083
- !isCheckboxSelectionBadgeHidden && hasAnySelections && (React__namespace.createElement("div", { className: css(_default$a.selectToggleBadge) },
6084
- React__namespace.createElement("span", { className: css(_default$b.badge, _default$b.modifiers.read) }, this.generateSelectedBadge())))),
6080
+ React__namespace.createElement("div", { className: css(_default$b.selectToggleWrapper) },
6081
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$b.selectToggleIcon) }, toggleIcon),
6082
+ React__namespace.createElement("span", { className: css(_default$b.selectToggleText) }, placeholderText),
6083
+ !isCheckboxSelectionBadgeHidden && hasAnySelections && (React__namespace.createElement("div", { className: css(_default$b.selectToggleBadge) },
6084
+ React__namespace.createElement("span", { className: css(_default$c.badge, _default$c.modifiers.read) }, this.generateSelectedBadge())))),
6085
6085
  hasOnClear && hasAnySelections && clearBtn)),
6086
6086
  variant === SelectVariant.typeahead && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
6087
- React__namespace.createElement("div", { className: css(_default$a.selectToggleWrapper) },
6088
- toggleIcon && React__namespace.createElement("span", { className: css(_default$a.selectToggleIcon) }, toggleIcon),
6089
- React__namespace.createElement("input", { className: css(_default$e.formControl, _default$a.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-typeahead`, "aria-label": typeAheadAriaLabel, placeholder: placeholderText, value: typeaheadInputValue !== null
6087
+ React__namespace.createElement("div", { className: css(_default$b.selectToggleWrapper) },
6088
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$b.selectToggleIcon) }, toggleIcon),
6089
+ React__namespace.createElement("input", { className: css(_default$f.formControl, _default$b.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-typeahead`, "aria-label": typeAheadAriaLabel, placeholder: placeholderText, value: typeaheadInputValue !== null
6090
6090
  ? typeaheadInputValue
6091
6091
  : this.getDisplay(selections[0], 'text') || '', type: "text", onClick: this.onClick, onChange: this.onChange, autoComplete: "off", disabled: isDisabled, ref: this.inputRef })),
6092
6092
  hasOnClear && (selections[0] || typeaheadInputValue) && clearBtn)),
6093
6093
  variant === SelectVariant.typeaheadMulti && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
6094
- React__namespace.createElement("div", { className: css(_default$a.selectToggleWrapper) },
6095
- toggleIcon && React__namespace.createElement("span", { className: css(_default$a.selectToggleIcon) }, toggleIcon),
6094
+ React__namespace.createElement("div", { className: css(_default$b.selectToggleWrapper) },
6095
+ toggleIcon && React__namespace.createElement("span", { className: css(_default$b.selectToggleIcon) }, toggleIcon),
6096
6096
  selections && Array.isArray(selections) && selections.length > 0 && selectedChips,
6097
- React__namespace.createElement("input", { className: css(_default$e.formControl, _default$a.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === ValidatedOptions.error, placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: "off", disabled: isDisabled, ref: this.inputRef })),
6097
+ React__namespace.createElement("input", { className: css(_default$f.formControl, _default$b.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === ValidatedOptions.error, placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: "off", disabled: isDisabled, ref: this.inputRef })),
6098
6098
  hasOnClear && ((selections && selections.length > 0) || typeaheadInputValue) && clearBtn)),
6099
- validated === ValidatedOptions.success && (React__namespace.createElement("span", { className: css(_default$a.selectToggleStatusIcon) },
6099
+ validated === ValidatedOptions.success && (React__namespace.createElement("span", { className: css(_default$b.selectToggleStatusIcon) },
6100
6100
  React__namespace.createElement(CheckCircleIcon$1, { "aria-hidden": "true" }))),
6101
- validated === ValidatedOptions.error && (React__namespace.createElement("span", { className: css(_default$a.selectToggleStatusIcon) },
6101
+ validated === ValidatedOptions.error && (React__namespace.createElement("span", { className: css(_default$b.selectToggleStatusIcon) },
6102
6102
  React__namespace.createElement(ExclamationCircleIcon$1, { "aria-hidden": "true" }))),
6103
- validated === ValidatedOptions.warning && (React__namespace.createElement("span", { className: css(_default$a.selectToggleStatusIcon) },
6103
+ validated === ValidatedOptions.warning && (React__namespace.createElement("span", { className: css(_default$b.selectToggleStatusIcon) },
6104
6104
  React__namespace.createElement(ExclamationTriangleIcon$1, { "aria-hidden": "true" })))),
6105
6105
  isOpen && menuAppendTo === 'inline' && menuContainer));
6106
6106
  const getParentElement = () => {
@@ -6188,11 +6188,11 @@
6188
6188
  checkedProps.defaultChecked = defaultChecked;
6189
6189
  }
6190
6190
  checkedProps.checked = checkedProps.checked === null ? false : checkedProps.checked;
6191
- return (React__namespace.createElement("div", { className: css(_default$8.check, !label && _default$8.modifiers.standalone, className) },
6192
- React__namespace.createElement("input", Object.assign({}, props, { className: css(_default$8.checkInput), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, ref: elem => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))),
6193
- label && (React__namespace.createElement("label", { className: css(_default$8.checkLabel, isDisabled && _default$8.modifiers.disabled), htmlFor: props.id }, label)),
6194
- description && React__namespace.createElement("span", { className: css(_default$8.checkDescription) }, description),
6195
- body && React__namespace.createElement("span", { className: css(_default$8.checkBody) }, body)));
6191
+ return (React__namespace.createElement("div", { className: css(_default$9.check, !label && _default$9.modifiers.standalone, className) },
6192
+ React__namespace.createElement("input", Object.assign({}, props, { className: css(_default$9.checkInput), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, ref: elem => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))),
6193
+ label && (React__namespace.createElement("label", { className: css(_default$9.checkLabel, isDisabled && _default$9.modifiers.disabled), htmlFor: props.id }, label)),
6194
+ description && React__namespace.createElement("span", { className: css(_default$9.checkDescription) }, description),
6195
+ body && React__namespace.createElement("span", { className: css(_default$9.checkBody) }, body)));
6196
6196
  }
6197
6197
  }
6198
6198
  Checkbox.displayName = 'Checkbox';
@@ -6231,7 +6231,7 @@
6231
6231
 
6232
6232
  var GripVerticalIcon$1 = GripVerticalIcon;
6233
6233
 
6234
- var _default$5 = {
6234
+ var _default$6 = {
6235
6235
  "button": "pf-c-button",
6236
6236
  "modifiers": {
6237
6237
  "noPadding": "pf-m-no-padding",
@@ -6270,13 +6270,13 @@
6270
6270
 
6271
6271
  const PopoverContent = (_a) => {
6272
6272
  var { className = null, children } = _a, props = __rest$1(_a, ["className", "children"]);
6273
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$5.popoverContent, className) }, props), children));
6273
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$6.popoverContent, className) }, props), children));
6274
6274
  };
6275
6275
  PopoverContent.displayName = 'PopoverContent';
6276
6276
 
6277
6277
  const PopoverBody = (_a) => {
6278
6278
  var { children, id } = _a, props = __rest$1(_a, ["children", "id"]);
6279
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$5.popoverBody), id: id }, props), children));
6279
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$6.popoverBody), id: id }, props), children));
6280
6280
  };
6281
6281
  PopoverBody.displayName = 'PopoverBody';
6282
6282
 
@@ -6288,7 +6288,7 @@
6288
6288
 
6289
6289
  const PopoverFooter = (_a) => {
6290
6290
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
6291
- return (React__namespace.createElement("footer", Object.assign({ className: css(_default$5.popoverFooter, className) }, props), children));
6291
+ return (React__namespace.createElement("footer", Object.assign({ className: css(_default$6.popoverFooter, className) }, props), children));
6292
6292
  };
6293
6293
  PopoverFooter.displayName = 'PopoverFooter';
6294
6294
 
@@ -6309,7 +6309,7 @@
6309
6309
 
6310
6310
  const PopoverArrow = (_a) => {
6311
6311
  var { className = '' } = _a, props = __rest$1(_a, ["className"]);
6312
- return React__namespace.createElement("div", Object.assign({ className: css(_default$5.popoverArrow, className) }, props));
6312
+ return React__namespace.createElement("div", Object.assign({ className: css(_default$6.popoverArrow, className) }, props));
6313
6313
  };
6314
6314
  PopoverArrow.displayName = 'PopoverArrow';
6315
6315
 
@@ -6405,18 +6405,18 @@
6405
6405
  }, 0);
6406
6406
  };
6407
6407
  const positionModifiers = {
6408
- top: _default$5.modifiers.top,
6409
- bottom: _default$5.modifiers.bottom,
6410
- left: _default$5.modifiers.left,
6411
- right: _default$5.modifiers.right,
6412
- 'top-start': _default$5.modifiers.topLeft,
6413
- 'top-end': _default$5.modifiers.topRight,
6414
- 'bottom-start': _default$5.modifiers.bottomLeft,
6415
- 'bottom-end': _default$5.modifiers.bottomRight,
6416
- 'left-start': _default$5.modifiers.leftTop,
6417
- 'left-end': _default$5.modifiers.leftBottom,
6418
- 'right-start': _default$5.modifiers.rightTop,
6419
- 'right-end': _default$5.modifiers.rightBottom
6408
+ top: _default$6.modifiers.top,
6409
+ bottom: _default$6.modifiers.bottom,
6410
+ left: _default$6.modifiers.left,
6411
+ right: _default$6.modifiers.right,
6412
+ 'top-start': _default$6.modifiers.topLeft,
6413
+ 'top-end': _default$6.modifiers.topRight,
6414
+ 'bottom-start': _default$6.modifiers.bottomLeft,
6415
+ 'bottom-end': _default$6.modifiers.bottomRight,
6416
+ 'left-start': _default$6.modifiers.leftTop,
6417
+ 'left-end': _default$6.modifiers.leftBottom,
6418
+ 'right-start': _default$6.modifiers.rightTop,
6419
+ 'right-end': _default$6.modifiers.rightBottom
6420
6420
  };
6421
6421
  const hasCustomMinWidth = minWidth !== popoverMinWidth.value;
6422
6422
  const hasCustomMaxWidth = maxWidth !== popoverMaxWidth.value;
@@ -6512,7 +6512,7 @@
6512
6512
  }
6513
6513
  return node;
6514
6514
  }
6515
- }, preventScrollOnDeactivate: true, className: css(_default$5.popover, hasNoPadding && _default$5.modifiers.noPadding, hasAutoWidth && _default$5.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: {
6515
+ }, preventScrollOnDeactivate: true, className: css(_default$6.popover, hasNoPadding && _default$6.modifiers.noPadding, hasAutoWidth && _default$6.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: {
6516
6516
  minWidth: hasCustomMinWidth ? minWidth : null,
6517
6517
  maxWidth: hasCustomMaxWidth ? maxWidth : null,
6518
6518
  opacity,
@@ -6529,7 +6529,7 @@
6529
6529
  };
6530
6530
  Popover.displayName = 'Popover';
6531
6531
 
6532
- var _default$4 = {
6532
+ var _default$5 = {
6533
6533
  "button": "pf-c-button",
6534
6534
  "emptyState": "pf-c-empty-state",
6535
6535
  "emptyStateBody": "pf-c-empty-state__body",
@@ -6559,12 +6559,12 @@
6559
6559
  })(EmptyStateVariant || (EmptyStateVariant = {}));
6560
6560
  const EmptyState = (_a) => {
6561
6561
  var { children, className = '', variant = EmptyStateVariant.full, isFullHeight } = _a, props = __rest$1(_a, ["children", "className", "variant", "isFullHeight"]);
6562
- return (React__namespace.createElement("div", Object.assign({ className: css(_default$4.emptyState, variant === 'xs' && _default$4.modifiers.xs, variant === 'small' && _default$4.modifiers.sm, variant === 'large' && _default$4.modifiers.lg, variant === 'xl' && _default$4.modifiers.xl, isFullHeight && _default$4.modifiers.fullHeight, className) }, props),
6563
- React__namespace.createElement("div", { className: css(_default$4.emptyStateContent) }, children)));
6562
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$5.emptyState, variant === 'xs' && _default$5.modifiers.xs, variant === 'small' && _default$5.modifiers.sm, variant === 'large' && _default$5.modifiers.lg, variant === 'xl' && _default$5.modifiers.xl, isFullHeight && _default$5.modifiers.fullHeight, className) }, props),
6563
+ React__namespace.createElement("div", { className: css(_default$5.emptyStateContent) }, children)));
6564
6564
  };
6565
6565
  EmptyState.displayName = 'EmptyState';
6566
6566
 
6567
- var _default$3 = {
6567
+ var _default$4 = {
6568
6568
  "button": "pf-c-button",
6569
6569
  "inlineEdit": "pf-c-inline-edit",
6570
6570
  "inlineEditAction": "pf-c-inline-edit__action",
@@ -6590,11 +6590,11 @@
6590
6590
  const Bullseye = (_a) => {
6591
6591
  var { children = null, className = '', component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
6592
6592
  const Component = component;
6593
- return (React__namespace.createElement(Component, Object.assign({ className: css(_default$j.bullseye, className) }, props), children));
6593
+ return (React__namespace.createElement(Component, Object.assign({ className: css(_default$k.bullseye, className) }, props), children));
6594
6594
  };
6595
6595
  Bullseye.displayName = 'Bullseye';
6596
6596
 
6597
- var _default$2 = {
6597
+ var _default$3 = {
6598
6598
  "button": "pf-c-button",
6599
6599
  "modifiers": {
6600
6600
  "hidden": "pf-m-hidden",
@@ -6670,7 +6670,7 @@
6670
6670
  "tableToggleIcon": "pf-c-table__toggle-icon"
6671
6671
  };
6672
6672
 
6673
- var _default$1 = {
6673
+ var _default$2 = {
6674
6674
  "button": "pf-c-button",
6675
6675
  "modifiers": {
6676
6676
  "grid": "pf-m-grid",
@@ -6702,7 +6702,7 @@
6702
6702
  "tableToggleIcon": "pf-c-table__toggle-icon"
6703
6703
  };
6704
6704
 
6705
- var _default = {
6705
+ var _default$1 = {
6706
6706
  "dropdown": "pf-c-dropdown",
6707
6707
  "modifiers": {
6708
6708
  "treeView": "pf-m-tree-view",
@@ -6856,7 +6856,7 @@
6856
6856
 
6857
6857
  const TableComposableBase = (_a) => {
6858
6858
  var _b, _c;
6859
- var { children, className, variant, borders = true, isStickyHeader = false, gridBreakPoint = exports.TableGridBreakpoint.gridMd, 'aria-label': ariaLabel, role = 'grid', innerRef, ouiaId, ouiaSafe = true, isTreeTable = false, isNested = false } = _a, props = __rest$2(_a, ["children", "className", "variant", "borders", "isStickyHeader", "gridBreakPoint", 'aria-label', "role", "innerRef", "ouiaId", "ouiaSafe", "isTreeTable", "isNested"]);
6859
+ var { children, className, variant, borders = true, isStickyHeader = false, gridBreakPoint = exports.TableGridBreakpoint.gridMd, 'aria-label': ariaLabel, role = 'grid', innerRef, ouiaId, ouiaSafe = true, isTreeTable = false, isNested = false, nestedHeaderColumnSpans } = _a, props = __rest$2(_a, ["children", "className", "variant", "borders", "isStickyHeader", "gridBreakPoint", 'aria-label', "role", "innerRef", "ouiaId", "ouiaSafe", "isTreeTable", "isNested", "nestedHeaderColumnSpans"]);
6860
6860
  const tableRef = innerRef || React__namespace.useRef(null);
6861
6861
  React__namespace.useEffect(() => {
6862
6862
  document.addEventListener('keydown', handleKeys);
@@ -6870,9 +6870,9 @@
6870
6870
  };
6871
6871
  }, [tableRef, tableRef.current]);
6872
6872
  const ouiaProps = useOUIAProps('Table', ouiaId, ouiaSafe);
6873
- const grid = (_b = _default$1.modifiers) === null || _b === void 0 ? void 0 : _b[toCamel(gridBreakPoint || '').replace(/-?2xl/, '_2xl')];
6873
+ const grid = (_b = _default$2.modifiers) === null || _b === void 0 ? void 0 : _b[toCamel(gridBreakPoint || '').replace(/-?2xl/, '_2xl')];
6874
6874
  const breakPointPrefix = `treeView${gridBreakPoint.charAt(0).toUpperCase() + gridBreakPoint.slice(1)}`;
6875
- const treeGrid = (_c = _default.modifiers) === null || _c === void 0 ? void 0 : _c[toCamel(breakPointPrefix || '').replace(/-?2xl/, '_2xl')];
6875
+ const treeGrid = (_c = _default$1.modifiers) === null || _c === void 0 ? void 0 : _c[toCamel(breakPointPrefix || '').replace(/-?2xl/, '_2xl')];
6876
6876
  const handleKeys = (event) => {
6877
6877
  if (isNested ||
6878
6878
  !(tableRef && tableRef.current && tableRef.current.classList.contains('pf-m-tree-view')) || // implements roving tab-index to tree tables only
@@ -6889,27 +6889,37 @@
6889
6889
  const getFocusableElement = (element) => element.querySelectorAll('button:not(:disabled), input:not(:disabled), a:not(:disabled)')[0];
6890
6890
  handleArrows(event, rows, (element) => element === activeElement.closest('tr'), getFocusableElement, ['button', 'input', 'a'], undefined, false, true, false);
6891
6891
  };
6892
- return (React__namespace.createElement("table", Object.assign({ "aria-label": ariaLabel, role: role, className: css(className, _default$2.table, isTreeTable ? treeGrid : grid, _default$2.modifiers[variant], !borders && _default$2.modifiers.noBorderRows, isStickyHeader && _default$2.modifiers.stickyHeader, isTreeTable && _default.modifiers.treeView, isNested && 'pf-m-nested'), ref: tableRef }, (isTreeTable && { role: 'treegrid' }), ouiaProps, props), children));
6892
+ return (React__namespace.createElement("table", Object.assign({ "aria-label": ariaLabel, role: role, className: css(className, _default$3.table, isTreeTable ? treeGrid : grid, _default$3.modifiers[variant], !borders && _default$3.modifiers.noBorderRows, isStickyHeader && _default$3.modifiers.stickyHeader, isTreeTable && _default$1.modifiers.treeView, isNested && 'pf-m-nested'), ref: tableRef }, (isTreeTable && { role: 'treegrid' }), ouiaProps, props),
6893
+ nestedHeaderColumnSpans &&
6894
+ nestedHeaderColumnSpans.map((span, index) => {
6895
+ if (span === 1) {
6896
+ return React__namespace.createElement("col", { key: index });
6897
+ }
6898
+ else {
6899
+ return React__namespace.createElement("colgroup", { key: index, span: span });
6900
+ }
6901
+ }),
6902
+ children));
6893
6903
  };
6894
6904
  const TableComposable = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TableComposableBase, Object.assign({}, props, { innerRef: ref }))));
6895
6905
  TableComposable.displayName = 'TableComposable';
6896
6906
 
6897
6907
  const TheadBase = (_a) => {
6898
- var { children, className, noWrap = false, innerRef } = _a, props = __rest$2(_a, ["children", "className", "noWrap", "innerRef"]);
6899
- return (React__namespace.createElement("thead", Object.assign({ className: css(className, noWrap && _default$2.modifiers.nowrap), ref: innerRef }, props), children));
6908
+ var { children, className, noWrap = false, innerRef, hasNestedHeader } = _a, props = __rest$2(_a, ["children", "className", "noWrap", "innerRef", "hasNestedHeader"]);
6909
+ return (React__namespace.createElement("thead", Object.assign({ className: css(className, noWrap && _default$3.modifiers.nowrap, hasNestedHeader && _default$3.modifiers.nestedColumnHeader), ref: innerRef }, props), children));
6900
6910
  };
6901
6911
  const Thead = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TheadBase, Object.assign({}, props, { innerRef: ref }))));
6902
6912
  Thead.displayName = 'Thead';
6903
6913
 
6904
6914
  const TbodyBase = (_a) => {
6905
6915
  var { children, className, isExpanded, innerRef } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "innerRef"]);
6906
- return (React__namespace.createElement("tbody", Object.assign({ role: "rowgroup", className: css(className, isExpanded && _default$2.modifiers.expanded), ref: innerRef }, props), children));
6916
+ return (React__namespace.createElement("tbody", Object.assign({ role: "rowgroup", className: css(className, isExpanded && _default$3.modifiers.expanded), ref: innerRef }, props), children));
6907
6917
  };
6908
6918
  const Tbody = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TbodyBase, Object.assign({}, props, { innerRef: ref }))));
6909
6919
  Tbody.displayName = 'Tbody';
6910
6920
 
6911
6921
  const TrBase = (_a) => {
6912
- var { children, className, isExpanded, isEditable, isHidden = false, isHoverable = false, isRowSelected = false, innerRef, ouiaId, ouiaSafe = true, onRowClick } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "isEditable", "isHidden", "isHoverable", "isRowSelected", "innerRef", "ouiaId", "ouiaSafe", "onRowClick"]);
6922
+ var { children, className, isExpanded, isEditable, isHidden = false, isHoverable = false, isRowSelected = false, innerRef, ouiaId, ouiaSafe = true, resetOffset = false, onRowClick } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "isEditable", "isHidden", "isHoverable", "isRowSelected", "innerRef", "ouiaId", "ouiaSafe", "resetOffset", "onRowClick"]);
6913
6923
  const ouiaProps = useOUIAProps('TableRow', ouiaId, ouiaSafe);
6914
6924
  let onKeyDown = null;
6915
6925
  if (onRowClick) {
@@ -6920,11 +6930,23 @@
6920
6930
  }
6921
6931
  };
6922
6932
  }
6923
- return (React__namespace.createElement("tr", Object.assign({ className: css(className, isExpanded !== undefined && _default$2.tableExpandableRow, isExpanded && _default$2.modifiers.expanded, isEditable && _default$3.modifiers.inlineEditable, isHoverable && _default$2.modifiers.hoverable, isRowSelected && _default$2.modifiers.selected), hidden: isHidden || (isExpanded !== undefined && !isExpanded) }, (isHoverable && { tabIndex: 0 }), { ref: innerRef }, (onRowClick && { onClick: onRowClick, onKeyDown }), ouiaProps, props), children));
6933
+ return (React__namespace.createElement("tr", Object.assign({ className: css(className, isExpanded !== undefined && _default$3.tableExpandableRow, isExpanded && _default$3.modifiers.expanded, isEditable && _default$4.modifiers.inlineEditable, isHoverable && _default$3.modifiers.hoverable, isRowSelected && _default$3.modifiers.selected, resetOffset && _default$3.modifiers.firstCellOffsetReset), hidden: isHidden || (isExpanded !== undefined && !isExpanded) }, (isHoverable && { tabIndex: 0 }), { ref: innerRef }, (onRowClick && { onClick: onRowClick, onKeyDown }), ouiaProps, props), children));
6924
6934
  };
6925
6935
  const Tr = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TrBase, Object.assign({}, props, { innerRef: ref }))));
6926
6936
  Tr.displayName = 'Tr';
6927
6937
 
6938
+ var _default = {
6939
+ "modifiers": {
6940
+ "borderRight": "pf-m-border-right",
6941
+ "borderLeft": "pf-m-border-left",
6942
+ "stickyHeader": "pf-m-sticky-header"
6943
+ },
6944
+ "scrollInnerWrapper": "pf-c-scroll-inner-wrapper",
6945
+ "scrollOuterWrapper": "pf-c-scroll-outer-wrapper",
6946
+ "table": "pf-c-table",
6947
+ "tableStickyColumn": "pf-c-table__sticky-column"
6948
+ };
6949
+
6928
6950
  const HelpIconConfig = {
6929
6951
  name: 'HelpIcon',
6930
6952
  height: 1024,
@@ -6964,14 +6986,14 @@
6964
6986
  }
6965
6987
  onMouseEnterProp(event);
6966
6988
  };
6967
- const text = (React__namespace.createElement(Component, Object.assign({ onMouseEnter: onMouseEnter, className: css(className, wrapModifier && _default$2.modifiers[wrapModifier], _default$2.tableText) }, props), children));
6989
+ const text = (React__namespace.createElement(Component, Object.assign({ onMouseEnter: onMouseEnter, className: css(className, wrapModifier && _default$3.modifiers[wrapModifier], _default$3.tableText) }, props), children));
6968
6990
  return tooltip !== '' ? (React__namespace.createElement(Tooltip, Object.assign({ content: tooltip, isVisible: true }, tooltipProps), text)) : (text);
6969
6991
  };
6970
6992
  TableText.displayName = 'TableText';
6971
6993
 
6972
- const HeaderCellInfoWrapper = ({ children, info, className, variant = 'tooltip', popoverProps, tooltipProps, ariaLabel }) => (React__namespace.createElement("div", { className: css(_default$2.tableColumnHelp, className) },
6994
+ const HeaderCellInfoWrapper = ({ children, info, className, variant = 'tooltip', popoverProps, tooltipProps, ariaLabel }) => (React__namespace.createElement("div", { className: css(_default$3.tableColumnHelp, className) },
6973
6995
  typeof children === 'string' ? React__namespace.createElement(TableText, null, children) : children,
6974
- React__namespace.createElement("span", { className: css(_default$2.tableColumnHelpAction) }, variant === 'tooltip' ? (React__namespace.createElement(Tooltip, Object.assign({ content: info }, tooltipProps),
6996
+ React__namespace.createElement("span", { className: css(_default$3.tableColumnHelpAction) }, variant === 'tooltip' ? (React__namespace.createElement(Tooltip, Object.assign({ content: info }, tooltipProps),
6975
6997
  React__namespace.createElement(Button, { variant: "plain", "aria-label": ariaLabel || (typeof info === 'string' && info) || 'More info' },
6976
6998
  React__namespace.createElement(HelpIcon$1, { noVerticalAlign: true })))) : (React__namespace.createElement(Popover, Object.assign({ bodyContent: info }, popoverProps),
6977
6999
  React__namespace.createElement(Button, { variant: "plain", "aria-label": ariaLabel || (typeof info === 'string' && info) || 'More info' },
@@ -6980,7 +7002,7 @@
6980
7002
 
6981
7003
  const info = ({ tooltip, tooltipProps, popover, popoverProps, className, ariaLabel }) => {
6982
7004
  const infoObj = (value) => ({
6983
- className: _default$2.modifiers.help,
7005
+ className: _default$3.modifiers.help,
6984
7006
  children: tooltip ? (React__namespace.createElement(HeaderCellInfoWrapper, { variant: "tooltip", info: tooltip, tooltipProps: tooltipProps, ariaLabel: ariaLabel, className: className }, value)) : (React__namespace.createElement(HeaderCellInfoWrapper, { variant: "popover", info: popover, popoverProps: popoverProps, ariaLabel: ariaLabel, className: className }, value))
6985
7007
  });
6986
7008
  return infoObj;
@@ -7039,17 +7061,17 @@
7039
7061
  else {
7040
7062
  SortedByIcon = ArrowsAltVIcon$1;
7041
7063
  }
7042
- return (React__namespace.createElement("button", Object.assign({}, props, { type: type, className: css(className, _default$2.tableButton), onClick: event => onSort && onSort(event) }),
7043
- React__namespace.createElement("div", { className: css(className, _default$2.tableButtonContent) },
7064
+ return (React__namespace.createElement("button", Object.assign({}, props, { type: type, className: css(className, _default$3.tableButton), onClick: event => onSort && onSort(event) }),
7065
+ React__namespace.createElement("div", { className: css(className, _default$3.tableButtonContent) },
7044
7066
  React__namespace.createElement(TableText, null, children),
7045
- React__namespace.createElement("span", { className: css(_default$2.tableSortIndicator) },
7067
+ React__namespace.createElement("span", { className: css(_default$3.tableSortIndicator) },
7046
7068
  React__namespace.createElement(SortedByIcon, null)))));
7047
7069
  };
7048
7070
  SortColumn.displayName = 'SortColumn';
7049
7071
 
7050
7072
  const sortableFavorites = (sort) => () => sortable(React__namespace.createElement(StarIcon$1, { "aria-hidden": true }), {
7051
7073
  columnIndex: sort.columnIndex,
7052
- className: _default$2.modifiers.favorite,
7074
+ className: _default$3.modifiers.favorite,
7053
7075
  ariaLabel: 'Sort favorites',
7054
7076
  column: {
7055
7077
  extraParams: {
@@ -7081,7 +7103,7 @@
7081
7103
  onSort && onSort(event, columnIndex, reversedDirection, extraData);
7082
7104
  }
7083
7105
  return {
7084
- className: css(_default$2.tableSort, isSortedBy && _default$2.modifiers.selected, className),
7106
+ className: css(_default$3.tableSort, isSortedBy && _default$3.modifiers.selected, className),
7085
7107
  'aria-sort': isSortedBy ? `${sortBy.direction}ending` : 'none',
7086
7108
  children: (React__namespace.createElement(SortColumn, { isSortedBy: isSortedBy, sortDirection: isSortedBy ? sortBy.direction : '', onSort: sortClicked, "aria-label": ariaLabel }, label))
7087
7109
  };
@@ -7136,7 +7158,7 @@
7136
7158
  })), (rowData &&
7137
7159
  (rowData.disableCheckbox || rowData.disableSelection) && {
7138
7160
  disabled: true,
7139
- className: _default$8.checkInput
7161
+ className: _default$9.checkInput
7140
7162
  })), (!rowData && isHeaderSelectDisabled && { disabled: true }));
7141
7163
  let selectName = 'check-all';
7142
7164
  if (rowId !== -1 && selectVariant === exports.RowSelectVariant.checkbox) {
@@ -7146,7 +7168,7 @@
7146
7168
  selectName = 'radioGroup';
7147
7169
  }
7148
7170
  return {
7149
- className: css(_default$2.tableCheck),
7171
+ className: css(_default$3.tableCheck),
7150
7172
  component: 'td',
7151
7173
  isVisible: !rowData || !rowData.fullWidth,
7152
7174
  children: (React__namespace.createElement(SelectColumn, Object.assign({}, customProps, { selectVariant: selectVariant, onSelect: selectClick, name: selectName }), label))
@@ -7154,7 +7176,7 @@
7154
7176
  };
7155
7177
 
7156
7178
  const cellWidth = (width) => () => ({
7157
- className: css(_default$2.modifiers[typeof width === 'number' ? `width_${width}` : `width${capitalize(width)}`])
7179
+ className: css(_default$3.modifiers[typeof width === 'number' ? `width_${width}` : `width${capitalize(width)}`])
7158
7180
  });
7159
7181
 
7160
7182
  const visibilityModifiers = [
@@ -7171,10 +7193,10 @@
7171
7193
  'visibleOn_2xl'
7172
7194
  ];
7173
7195
  const Visibility = visibilityModifiers
7174
- .filter(key => _default$2.modifiers[key])
7196
+ .filter(key => _default$3.modifiers[key])
7175
7197
  .reduce((acc, curr) => {
7176
7198
  const key2 = curr.replace('_2xl', '2Xl');
7177
- acc[key2] = _default$2.modifiers[curr];
7199
+ acc[key2] = _default$3.modifiers[curr];
7178
7200
  return acc;
7179
7201
  }, {});
7180
7202
  const classNames = (...classes) => () => ({
@@ -9774,7 +9796,7 @@
9774
9796
  }
9775
9797
 
9776
9798
  const ThBase = (_a) => {
9777
- var { children, className, component = 'th', dataLabel, scope = 'col', textCenter = false, sort = null, modifier, select = null, tooltip = '', onMouseEnter: onMouseEnterProp = () => { }, width, visibility, innerRef, info: infoProps } = _a, props = __rest$2(_a, ["children", "className", "component", "dataLabel", "scope", "textCenter", "sort", "modifier", "select", "tooltip", "onMouseEnter", "width", "visibility", "innerRef", "info"]);
9799
+ var { children, className, component = 'th', dataLabel, scope = 'col', textCenter = false, sort = null, modifier, select = null, tooltip = '', onMouseEnter: onMouseEnterProp = () => { }, width, visibility, innerRef, info: infoProps, isStickyColumn = false, hasRightBorder = false, stickyMinWidth = '120px', stickyLeftOffset, isSubheader = false } = _a, props = __rest$2(_a, ["children", "className", "component", "dataLabel", "scope", "textCenter", "sort", "modifier", "select", "tooltip", "onMouseEnter", "width", "visibility", "innerRef", "info", "isStickyColumn", "hasRightBorder", "stickyMinWidth", "stickyLeftOffset", "isSubheader"]);
9778
9800
  const [showTooltip, setShowTooltip] = React__namespace.useState(false);
9779
9801
  const onMouseEnter = (event) => {
9780
9802
  if (event.target.offsetWidth < event.target.scrollWidth) {
@@ -9837,7 +9859,9 @@
9837
9859
  // selectable adds this but we don't want it
9838
9860
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9839
9861
  isVisible = null, className: mergedClassName = '', component: MergedComponent = component } = merged, mergedProps = __rest$2(merged, ["children", "isVisible", "className", "component"]);
9840
- const cell = (React__namespace.createElement(MergedComponent, Object.assign({ "data-label": dataLabel, onMouseEnter: tooltip !== null ? onMouseEnter : onMouseEnterProp, scope: component === 'th' && children ? scope : null, ref: innerRef, className: css(className, textCenter && _default$2.modifiers.center, modifier && _default$2.modifiers[modifier], mergedClassName) }, mergedProps, props), transformedChildren));
9862
+ const cell = (React__namespace.createElement(MergedComponent, Object.assign({ "data-label": dataLabel, onMouseEnter: tooltip !== null ? onMouseEnter : onMouseEnterProp, scope: component === 'th' && children ? scope : null, ref: innerRef, className: css(className, textCenter && _default$3.modifiers.center, isSubheader && _default$3.tableSubhead, isStickyColumn && _default.tableStickyColumn, hasRightBorder && _default.modifiers.borderRight, modifier && _default$3.modifiers[modifier], mergedClassName) }, mergedProps, props, (isStickyColumn && {
9863
+ style: Object.assign({ '--pf-c-table__sticky-column--MinWidth': stickyMinWidth ? stickyMinWidth : undefined, '--pf-c-table__sticky-column--Left': stickyLeftOffset ? stickyLeftOffset : undefined }, props.style)
9864
+ })), transformedChildren));
9841
9865
  const canDefault = tooltip === '' ? typeof children === 'string' : true;
9842
9866
  return tooltip !== null && canDefault && showTooltip ? (React__namespace.createElement(Tooltip, { content: tooltip || (tooltip === '' && children), isVisible: true }, cell)) : (cell);
9843
9867
  };
@@ -9915,14 +9939,14 @@
9915
9939
  children: (React__namespace.createElement(ActionsColumn, { items: resolvedActions, dropdownPosition: dropdownPosition, dropdownDirection: dropdownDirection, isDisabled: resolvedIsDisabled, rowData: rowData, extraData: extraData, actionsToggle: actionsToggle }, label))
9916
9940
  }
9917
9941
  : {};
9918
- return Object.assign({ className: css(_default$2.tableAction), style: { width: 'auto', paddingRight: 0 }, isVisible: true }, renderProps);
9942
+ return Object.assign({ className: css(_default$3.tableAction), style: { width: 'auto', paddingRight: 0 }, isVisible: true }, renderProps);
9919
9943
  };
9920
9944
 
9921
9945
  const CollapseColumn = (_a) => {
9922
9946
  var { className = '', children = null, isOpen, onToggle } = _a, props = __rest$2(_a, ["className", "children", "isOpen", "onToggle"]);
9923
9947
  return (React__namespace.createElement(React__namespace.Fragment, null,
9924
- isOpen !== undefined && (React__namespace.createElement(Button, Object.assign({ className: css(className, isOpen && _default$2.modifiers.expanded) }, props, { variant: "plain", "aria-label": "Details", onClick: onToggle, "aria-expanded": isOpen }),
9925
- React__namespace.createElement("div", { className: css(_default$2.tableToggleIcon) },
9948
+ isOpen !== undefined && (React__namespace.createElement(Button, Object.assign({ className: css(className, isOpen && _default$3.modifiers.expanded) }, props, { variant: "plain", "aria-label": "Details", onClick: onToggle, "aria-expanded": isOpen }),
9949
+ React__namespace.createElement("div", { className: css(_default$3.tableToggleIcon) },
9926
9950
  React__namespace.createElement(AngleDownIcon$1, null)))),
9927
9951
  children));
9928
9952
  };
@@ -9930,7 +9954,7 @@
9930
9954
 
9931
9955
  const ExpandableRowContent = (_a) => {
9932
9956
  var { children = null } = _a, props = __rest$2(_a, ["children"]);
9933
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$2.tableExpandableRowContent) }), children));
9957
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(_default$3.tableExpandableRowContent) }), children));
9934
9958
  };
9935
9959
  ExpandableRowContent.displayName = 'ExpandableRowContent';
9936
9960
 
@@ -9950,7 +9974,7 @@
9950
9974
  onCollapse && onCollapse(event, rowIndex, rowData && !rowData.isOpen, rowData, extraData);
9951
9975
  }
9952
9976
  return {
9953
- className: rowData.isOpen !== undefined && css(_default$2.tableToggle),
9977
+ className: rowData.isOpen !== undefined && css(_default$3.tableToggle),
9954
9978
  isVisible: !rowData.fullWidth,
9955
9979
  children: (React__namespace.createElement(CollapseColumn, { "aria-labelledby": `${rowLabeledBy}${rowIndex} ${expandId}${rowIndex}`, onToggle: onToggle, id: expandId + rowIndex, isOpen: rowData && rowData.isOpen }, value))
9956
9980
  };
@@ -9962,7 +9986,7 @@
9962
9986
  // todo: rewrite this logic, it is not type safe
9963
9987
  colSpan: !rowData.cells || rowData.cells.length === 1 ? colSpan + !!rowData.fullWidth : 1,
9964
9988
  id: contentId + rowIndex + (columnIndex ? '-' + columnIndex : ''),
9965
- className: rowData.noPadding && css(_default$2.modifiers.noPadding)
9989
+ className: rowData.noPadding && css(_default$3.modifiers.noPadding)
9966
9990
  };
9967
9991
  return expandedRowFormatter;
9968
9992
  };
@@ -9987,8 +10011,8 @@
9987
10011
  onExpand && onExpand(event, rowIndex, columnIndex, props.isOpen, rowData, extraData);
9988
10012
  }
9989
10013
  return {
9990
- className: css(_default$2.tableCompoundExpansionToggle, props.isOpen && _default$2.modifiers.expanded),
9991
- children: props.isOpen !== undefined && (React__namespace.createElement("button", { type: "button", className: css(_default$2.tableButton), onClick: onToggle, "aria-expanded": props.isOpen, "aria-controls": props.ariaControls },
10014
+ className: css(_default$3.tableCompoundExpansionToggle, props.isOpen && _default$3.modifiers.expanded),
10015
+ children: props.isOpen !== undefined && (React__namespace.createElement("button", { type: "button", className: css(_default$3.tableButton), onClick: onToggle, "aria-expanded": props.isOpen, "aria-controls": props.ariaControls },
9992
10016
  React__namespace.createElement(TableText, null, title)))
9993
10017
  };
9994
10018
  };
@@ -10030,7 +10054,7 @@
10030
10054
  }
10031
10055
  const additionalProps = rowData.favoritesProps || {};
10032
10056
  return {
10033
- className: css(_default$2.tableFavorite, rowData && rowData.favorited && _default$2.modifiers.favorited),
10057
+ className: css(_default$3.tableFavorite, rowData && rowData.favorited && _default$3.modifiers.favorited),
10034
10058
  isVisible: !rowData || !rowData.fullWidth,
10035
10059
  children: (React__namespace.createElement(FavoritesCell, Object.assign({ rowIndex: rowIndex, onFavorite: favoritesClick, isFavorited: rowData && rowData.favorited }, additionalProps)))
10036
10060
  };
@@ -10067,8 +10091,8 @@
10067
10091
  const treeRow = (onCollapse, onCheckChange, onToggleRowDetails) => (value, { rowIndex, rowData }) => {
10068
10092
  const { isExpanded, isDetailsExpanded, 'aria-level': level, 'aria-setsize': setsize, toggleAriaLabel, checkAriaLabel, showDetailsAriaLabel, isChecked, checkboxId, icon } = rowData.props;
10069
10093
  const content = value.title || value;
10070
- const text = (React__namespace.createElement("div", { className: css(_default.tableTreeViewText), key: "tree-view-text" },
10071
- icon && (React__namespace.createElement("span", { className: css(_default.tableTreeViewIcon), key: "tree-view-text-icon" }, icon)),
10094
+ const text = (React__namespace.createElement("div", { className: css(_default$1.tableTreeViewText), key: "tree-view-text" },
10095
+ icon && (React__namespace.createElement("span", { className: css(_default$1.tableTreeViewIcon), key: "tree-view-text-icon" }, icon)),
10072
10096
  React__namespace.createElement("span", { className: "pf-c-table__text", key: "table-text" }, content)));
10073
10097
  const onChange = (isChecked, event) => {
10074
10098
  onCheckChange(event, isChecked, rowIndex, content, rowData);
@@ -10076,15 +10100,15 @@
10076
10100
  return {
10077
10101
  component: 'th',
10078
10102
  className: 'pf-c-table__tree-view-title-cell',
10079
- children: level !== undefined ? (React__namespace.createElement("div", { className: css(_default.tableTreeViewMain) },
10080
- setsize > 0 && (React__namespace.createElement("span", { className: css(_default.tableToggle), key: "table-toggle" },
10081
- React__namespace.createElement(Button, { variant: "plain", onClick: event => onCollapse && onCollapse(event, rowIndex, content, rowData), className: css(isExpanded && _default$2.modifiers.expanded), "aria-expanded": isExpanded, "aria-label": toggleAriaLabel || `${isExpanded ? 'Collapse' : 'Expand'} row ${rowIndex}` },
10082
- React__namespace.createElement("div", { className: css(_default.tableToggleIcon) },
10103
+ children: level !== undefined ? (React__namespace.createElement("div", { className: css(_default$1.tableTreeViewMain) },
10104
+ setsize > 0 && (React__namespace.createElement("span", { className: css(_default$1.tableToggle), key: "table-toggle" },
10105
+ React__namespace.createElement(Button, { variant: "plain", onClick: event => onCollapse && onCollapse(event, rowIndex, content, rowData), className: css(isExpanded && _default$3.modifiers.expanded), "aria-expanded": isExpanded, "aria-label": toggleAriaLabel || `${isExpanded ? 'Collapse' : 'Expand'} row ${rowIndex}` },
10106
+ React__namespace.createElement("div", { className: css(_default$1.tableToggleIcon) },
10083
10107
  React__namespace.createElement(AngleDownIcon$1, { "aria-hidden": "true" }))))),
10084
- !!onCheckChange && (React__namespace.createElement("span", { className: css(_default.tableCheck), key: "table-check" },
10108
+ !!onCheckChange && (React__namespace.createElement("span", { className: css(_default$1.tableCheck), key: "table-check" },
10085
10109
  React__namespace.createElement(Checkbox, { id: checkboxId || `checkbox_${rowIndex}`, "aria-label": checkAriaLabel || `Row ${rowIndex} checkbox`, isChecked: isChecked, onChange: onChange }))),
10086
10110
  text,
10087
- !!onToggleRowDetails && (React__namespace.createElement("span", { className: css(_default.tableTreeViewDetailsToggle), key: "view-details-toggle" },
10111
+ !!onToggleRowDetails && (React__namespace.createElement("span", { className: css(_default$1.tableTreeViewDetailsToggle), key: "view-details-toggle" },
10088
10112
  React__namespace.createElement(Button, { variant: "plain", "aria-expanded": isDetailsExpanded, "aria-label": showDetailsAriaLabel || 'Show row details', onClick: event => onToggleRowDetails && onToggleRowDetails(event, rowIndex, content, rowData) },
10089
10113
  React__namespace.createElement("span", { className: "pf-c-table__details-toggle-icon" },
10090
10114
  React__namespace.createElement(EllipsisHIcon$1, { "aria-hidden": true }))))))) : (text)
@@ -10194,7 +10218,7 @@
10194
10218
  isVisible = null, children: mergedChildren = null, className: mergedClassName = '', component: MergedComponent = component } = merged, mergedProps = __rest$2(merged, ["isVisible", "children", "className", "component"]);
10195
10219
  const treeTableTitleCell = (className && className.includes('pf-c-table__tree-view-title-cell')) ||
10196
10220
  (mergedClassName && mergedClassName.includes('pf-c-table__tree-view-title-cell'));
10197
- return (React__namespace.createElement(MergedComponent, Object.assign({}, (!treeTableTitleCell && { 'data-label': dataLabel }), { className: css(className, textCenter && _default$2.modifiers.center, noPadding && _default$2.modifiers.noPadding, _default$2.modifiers[modifier], draggableParams && _default$2.tableDraggable, mergedClassName), ref: innerRef }, mergedProps, props), mergedChildren || children));
10221
+ return (React__namespace.createElement(MergedComponent, Object.assign({}, (!treeTableTitleCell && { 'data-label': dataLabel }), { className: css(className, textCenter && _default$3.modifiers.center, noPadding && _default$3.modifiers.noPadding, _default$3.modifiers[modifier], draggableParams && _default$3.tableDraggable, mergedClassName), ref: innerRef }, mergedProps, props), mergedChildren || children));
10198
10222
  };
10199
10223
  const Td = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TdBase, Object.assign({}, props, { innerRef: ref }))));
10200
10224
  Td.displayName = 'Td';
@@ -11588,14 +11612,14 @@
11588
11612
  /* eslint-enable @typescript-eslint/no-unused-vars */
11589
11613
  saveAriaLabel, cancelAriaLabel, editAriaLabel } = _a, props = __rest$2(_a, ["onClick", "className", "editing", "valid", "saveAriaLabel", "cancelAriaLabel", "editAriaLabel"]);
11590
11614
  return (React__namespace.createElement(React__namespace.Fragment, null,
11591
- React__namespace.createElement("div", { className: css(_default$3.inlineEditGroup, _default$3.modifiers.iconGroup, 'pf-m-action-group') },
11592
- React__namespace.createElement("div", { className: css(_default$3.inlineEditAction) },
11615
+ React__namespace.createElement("div", { className: css(_default$4.inlineEditGroup, _default$4.modifiers.iconGroup, 'pf-m-action-group') },
11616
+ React__namespace.createElement("div", { className: css(_default$4.inlineEditAction) },
11593
11617
  React__namespace.createElement(Button, Object.assign({ "aria-label": saveAriaLabel }, props, { onClick: e => onClick(e, 'save'), variant: "plain" }),
11594
11618
  React__namespace.createElement(CheckIcon$1, null))),
11595
- React__namespace.createElement("div", { className: css(_default$3.inlineEditAction) },
11619
+ React__namespace.createElement("div", { className: css(_default$4.inlineEditAction) },
11596
11620
  React__namespace.createElement(Button, Object.assign({ "aria-label": cancelAriaLabel }, props, { onClick: e => onClick(e, 'cancel'), variant: "plain" }),
11597
11621
  React__namespace.createElement(TimesIcon$1, null)))),
11598
- React__namespace.createElement("div", { className: css(_default$3.inlineEditAction, _default$3.modifiers.enableEditable) },
11622
+ React__namespace.createElement("div", { className: css(_default$4.inlineEditAction, _default$4.modifiers.enableEditable) },
11599
11623
  React__namespace.createElement(Button, Object.assign({ "aria-label": editAriaLabel }, props, { onClick: e => onClick(e, 'edit'), variant: "plain" }),
11600
11624
  React__namespace.createElement(PencilAltIcon$1, null)))));
11601
11625
  };
@@ -11663,7 +11687,7 @@
11663
11687
  return result;
11664
11688
  }
11665
11689
  return {
11666
- className: _default$2.tableInlineEditAction,
11690
+ className: _default$3.tableInlineEditAction,
11667
11691
  component: 'td',
11668
11692
  isVisible: true,
11669
11693
  children: (React__namespace.createElement(EditColumn, { saveAriaLabel: (rowData && rowData.rowSaveBtnAriaLabel && rowData.rowSaveBtnAriaLabel(rowIndex)) ||
@@ -11674,19 +11698,19 @@
11674
11698
  };
11675
11699
 
11676
11700
  const breakWord = () => ({
11677
- className: _default$2.modifiers.breakWord
11701
+ className: _default$3.modifiers.breakWord
11678
11702
  });
11679
11703
  const fitContent = () => ({
11680
- className: _default$2.modifiers.fitContent
11704
+ className: _default$3.modifiers.fitContent
11681
11705
  });
11682
11706
  const nowrap = () => ({
11683
- className: _default$2.modifiers.nowrap
11707
+ className: _default$3.modifiers.nowrap
11684
11708
  });
11685
11709
  const truncate = () => ({
11686
- className: _default$2.modifiers.truncate
11710
+ className: _default$3.modifiers.truncate
11687
11711
  });
11688
11712
  const wrappable = () => ({
11689
- className: _default$2.modifiers.wrap
11713
+ className: _default$3.modifiers.wrap
11690
11714
  });
11691
11715
 
11692
11716
  const textCenter = () => ({ textCenter: true });
@@ -11946,12 +11970,24 @@
11946
11970
  };
11947
11971
  Caption.displayName = 'Caption';
11948
11972
 
11973
+ const OuterScrollContainer = (_a) => {
11974
+ var { children, className } = _a, props = __rest$2(_a, ["children", "className"]);
11975
+ return (React__namespace.createElement("div", Object.assign({ className: css(className, _default.scrollOuterWrapper) }, props), children));
11976
+ };
11977
+ OuterScrollContainer.displayName = 'OuterScrollContainer';
11978
+
11979
+ const InnerScrollContainer = (_a) => {
11980
+ var { children, className } = _a, props = __rest$2(_a, ["children", "className"]);
11981
+ return (React__namespace.createElement("div", Object.assign({ className: css(className, _default.scrollInnerWrapper) }, props), children));
11982
+ };
11983
+ InnerScrollContainer.displayName = 'InnerScrollContainer';
11984
+
11949
11985
  const TreeRowWrapper = (_a) => {
11950
11986
  var { className,
11951
11987
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11952
11988
  rowProps, row } = _a, props = __rest$2(_a, ["className", "rowProps", "row"]);
11953
11989
  const { 'aria-level': level, 'aria-posinset': posinset, 'aria-setsize': setsize, isExpanded, isDetailsExpanded, isHidden } = row.props;
11954
- return (React__namespace.createElement(Tr, Object.assign({ "aria-level": level, "aria-posinset": posinset, "aria-setsize": setsize, "aria-expanded": !!isExpanded, isHidden: isHidden, className: css(className, isExpanded && _default$2.modifiers.expanded, isDetailsExpanded && _default.modifiers.treeViewDetailsExpanded) }, props)));
11990
+ return (React__namespace.createElement(Tr, Object.assign({ "aria-level": level, "aria-posinset": posinset, "aria-setsize": setsize, "aria-expanded": !!isExpanded, isHidden: isHidden, className: css(className, isExpanded && _default$3.modifiers.expanded, isDetailsExpanded && _default$1.modifiers.treeViewDetailsExpanded) }, props)));
11955
11991
  };
11956
11992
  TreeRowWrapper.displayName = 'TreeRowWrapper';
11957
11993
 
@@ -12019,7 +12055,7 @@
12019
12055
  caption && React__namespace.createElement("caption", null, caption),
12020
12056
  children)));
12021
12057
  if (onRowEdit) {
12022
- return React__namespace.createElement("form", { className: css(_default$3.inlineEdit) }, table);
12058
+ return React__namespace.createElement("form", { className: css(_default$4.inlineEdit) }, table);
12023
12059
  }
12024
12060
  return table;
12025
12061
  }
@@ -12165,20 +12201,20 @@
12165
12201
  };
12166
12202
  const select = (React__namespace.createElement(Select, Object.assign({}, props.editableSelectProps, { onSelect: onSelectHandler }, (clearSelection && { onClear }), { isOpen: isOpen, onToggle: onToggle, selections: selections }), options));
12167
12203
  return (React__namespace.createElement(React__namespace.Fragment, null,
12168
- React__namespace.createElement("div", { className: _default$3.inlineEditValue }, Array.isArray(value) ? value.join(', ') : value),
12169
- React__namespace.createElement("div", { className: _default$3.inlineEditInput },
12204
+ React__namespace.createElement("div", { className: _default$4.inlineEditValue }, Array.isArray(value) ? value.join(', ') : value),
12205
+ React__namespace.createElement("div", { className: _default$4.inlineEditInput },
12170
12206
  select,
12171
- React__namespace.createElement("div", { className: css(_default$9.formHelperText, _default$9.modifiers.error), "aria-live": "polite" }, props.errorText))));
12207
+ React__namespace.createElement("div", { className: css(_default$a.formHelperText, _default$a.modifiers.error), "aria-live": "polite" }, props.errorText))));
12172
12208
  };
12173
12209
  EditableSelectInputCell.displayName = 'EditableSelectInputCell';
12174
12210
 
12175
12211
  const EditableTextCell = ({ value, rowIndex, cellIndex, props, handleTextInputChange, inputAriaLabel, isDisabled = false }) => (React__namespace.createElement(React__namespace.Fragment, null,
12176
- React__namespace.createElement("div", { className: _default$3.inlineEditValue }, value),
12177
- React__namespace.createElement("div", { className: _default$3.inlineEditInput },
12212
+ React__namespace.createElement("div", { className: _default$4.inlineEditValue }, value),
12213
+ React__namespace.createElement("div", { className: _default$4.inlineEditInput },
12178
12214
  React__namespace.createElement(TextInput, { isDisabled: isDisabled, value: props.editableValue !== undefined ? props.editableValue : value, validated: props.isValid !== false ? 'default' : 'error', type: "text", onChange: (newValue, event) => {
12179
12215
  handleTextInputChange(newValue, event, rowIndex, cellIndex);
12180
12216
  }, "aria-label": inputAriaLabel }),
12181
- React__namespace.createElement("div", { className: css(_default$9.formHelperText, _default$9.modifiers.error), "aria-live": "polite" }, props.errorText))));
12217
+ React__namespace.createElement("div", { className: css(_default$a.formHelperText, _default$a.modifiers.error), "aria-live": "polite" }, props.errorText))));
12182
12218
  EditableTextCell.displayName = 'EditableTextCell';
12183
12219
 
12184
12220
  const ContextHeader = (_a) => {
@@ -12203,6 +12239,8 @@
12203
12239
  exports.FavoritesCell = FavoritesCell;
12204
12240
  exports.HeaderCell = HeaderCell;
12205
12241
  exports.HeaderCellInfoWrapper = HeaderCellInfoWrapper;
12242
+ exports.InnerScrollContainer = InnerScrollContainer;
12243
+ exports.OuterScrollContainer = OuterScrollContainer;
12206
12244
  exports.RowWrapper = RowWrapper;
12207
12245
  exports.SelectColumn = SelectColumn;
12208
12246
  exports.SortColumn = SortColumn;