@patternfly/react-core 4.212.0 → 4.213.2

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 (81) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/esm/components/ApplicationLauncher/ApplicationLauncher.d.ts +2 -9
  3. package/dist/esm/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +1 -1
  4. package/dist/esm/components/ApplicationLauncher/ApplicationLauncher.js.map +1 -1
  5. package/dist/esm/components/ContextSelector/ContextSelector.d.ts +2 -9
  6. package/dist/esm/components/ContextSelector/ContextSelector.d.ts.map +1 -1
  7. package/dist/esm/components/ContextSelector/ContextSelector.js.map +1 -1
  8. package/dist/esm/components/Dropdown/Dropdown.d.ts +2 -9
  9. package/dist/esm/components/Dropdown/Dropdown.d.ts.map +1 -1
  10. package/dist/esm/components/Dropdown/Dropdown.js +2 -2
  11. package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
  12. package/dist/esm/components/OptionsMenu/OptionsMenu.d.ts +2 -9
  13. package/dist/esm/components/OptionsMenu/OptionsMenu.d.ts.map +1 -1
  14. package/dist/esm/components/OptionsMenu/OptionsMenu.js.map +1 -1
  15. package/dist/esm/components/Select/Select.d.ts +2 -9
  16. package/dist/esm/components/Select/Select.d.ts.map +1 -1
  17. package/dist/esm/components/Select/Select.js.map +1 -1
  18. package/dist/esm/components/Tabs/Tab.d.ts +5 -1
  19. package/dist/esm/components/Tabs/Tab.d.ts.map +1 -1
  20. package/dist/esm/components/Tabs/Tab.js +10 -3
  21. package/dist/esm/components/Tabs/Tab.js.map +1 -1
  22. package/dist/esm/components/Tabs/Tabs.d.ts +6 -0
  23. package/dist/esm/components/Tabs/Tabs.d.ts.map +1 -1
  24. package/dist/esm/components/Tabs/Tabs.js +14 -4
  25. package/dist/esm/components/Tabs/Tabs.js.map +1 -1
  26. package/dist/esm/components/Tabs/TabsContext.d.ts +1 -0
  27. package/dist/esm/components/Tabs/TabsContext.d.ts.map +1 -1
  28. package/dist/esm/components/Tabs/TabsContext.js +2 -1
  29. package/dist/esm/components/Tabs/TabsContext.js.map +1 -1
  30. package/dist/esm/helpers/Popper/Popper.d.ts +10 -0
  31. package/dist/esm/helpers/Popper/Popper.d.ts.map +1 -1
  32. package/dist/esm/helpers/Popper/Popper.js.map +1 -1
  33. package/dist/js/components/ApplicationLauncher/ApplicationLauncher.d.ts +2 -9
  34. package/dist/js/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +1 -1
  35. package/dist/js/components/ApplicationLauncher/ApplicationLauncher.js.map +1 -1
  36. package/dist/js/components/ContextSelector/ContextSelector.d.ts +2 -9
  37. package/dist/js/components/ContextSelector/ContextSelector.d.ts.map +1 -1
  38. package/dist/js/components/ContextSelector/ContextSelector.js.map +1 -1
  39. package/dist/js/components/Dropdown/Dropdown.d.ts +2 -9
  40. package/dist/js/components/Dropdown/Dropdown.d.ts.map +1 -1
  41. package/dist/js/components/Dropdown/Dropdown.js +2 -2
  42. package/dist/js/components/Dropdown/Dropdown.js.map +1 -1
  43. package/dist/js/components/OptionsMenu/OptionsMenu.d.ts +2 -9
  44. package/dist/js/components/OptionsMenu/OptionsMenu.d.ts.map +1 -1
  45. package/dist/js/components/OptionsMenu/OptionsMenu.js.map +1 -1
  46. package/dist/js/components/Select/Select.d.ts +2 -9
  47. package/dist/js/components/Select/Select.d.ts.map +1 -1
  48. package/dist/js/components/Select/Select.js.map +1 -1
  49. package/dist/js/components/Tabs/Tab.d.ts +5 -1
  50. package/dist/js/components/Tabs/Tab.d.ts.map +1 -1
  51. package/dist/js/components/Tabs/Tab.js +10 -3
  52. package/dist/js/components/Tabs/Tab.js.map +1 -1
  53. package/dist/js/components/Tabs/Tabs.d.ts +6 -0
  54. package/dist/js/components/Tabs/Tabs.d.ts.map +1 -1
  55. package/dist/js/components/Tabs/Tabs.js +14 -4
  56. package/dist/js/components/Tabs/Tabs.js.map +1 -1
  57. package/dist/js/components/Tabs/TabsContext.d.ts +1 -0
  58. package/dist/js/components/Tabs/TabsContext.d.ts.map +1 -1
  59. package/dist/js/components/Tabs/TabsContext.js +2 -1
  60. package/dist/js/components/Tabs/TabsContext.js.map +1 -1
  61. package/dist/js/helpers/Popper/Popper.d.ts +10 -0
  62. package/dist/js/helpers/Popper/Popper.d.ts.map +1 -1
  63. package/dist/js/helpers/Popper/Popper.js.map +1 -1
  64. package/dist/umd/react-core.css +511 -511
  65. package/dist/umd/react-core.js +38 -23
  66. package/dist/umd/react-core.min.css +107 -107
  67. package/dist/umd/react-core.min.js +2 -2
  68. package/package.json +6 -6
  69. package/src/components/ApplicationLauncher/ApplicationLauncher.tsx +2 -9
  70. package/src/components/ContextSelector/ContextSelector.tsx +2 -9
  71. package/src/components/Dropdown/Dropdown.tsx +3 -11
  72. package/src/components/OptionsMenu/OptionsMenu.tsx +2 -9
  73. package/src/components/Select/Select.tsx +3 -10
  74. package/src/components/Tabs/Tab.tsx +32 -2
  75. package/src/components/Tabs/Tabs.tsx +28 -2
  76. package/src/components/Tabs/TabsContext.ts +7 -1
  77. package/src/components/Tabs/__tests__/Tabs.test.tsx +22 -0
  78. package/src/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +13 -13
  79. package/src/components/Tabs/examples/Tabs.md +7 -0
  80. package/src/components/Tabs/examples/TabsDynamic.tsx +64 -0
  81. package/src/helpers/Popper/Popper.tsx +11 -0
@@ -4892,9 +4892,9 @@
4892
4892
  var { onSelect,
4893
4893
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
4894
4894
  ref, // Types of Ref are different for React.FunctionComponent vs React.Component
4895
- ouiaId, ouiaSafe, alignments, contextProps, menuAppendTo = 'inline' } = _a, props = __rest$1(_a, ["onSelect", "ref", "ouiaId", "ouiaSafe", "alignments", "contextProps", "menuAppendTo"]);
4895
+ ouiaId, ouiaSafe, alignments, contextProps } = _a, props = __rest$1(_a, ["onSelect", "ref", "ouiaId", "ouiaSafe", "alignments", "contextProps"]);
4896
4896
  return (React__namespace.createElement(DropdownContext.Provider, { value: Object.assign({ onSelect: event => onSelect && onSelect(event), toggleTextClass: styles$16.dropdownToggleText, toggleIconClass: styles$16.dropdownToggleImage, toggleIndicatorClass: styles$16.dropdownToggleIcon, menuClass: styles$16.dropdownMenu, itemClass: styles$16.dropdownMenuItem, toggleClass: styles$16.dropdownToggle, baseClass: styles$16.dropdown, baseComponent: 'div', sectionClass: styles$16.dropdownGroup, sectionTitleClass: styles$16.dropdownGroupTitle, sectionComponent: 'section', disabledClass: styles$16.modifiers.disabled, plainTextClass: styles$16.modifiers.text, ouiaId: useOUIAId(Dropdown.displayName, ouiaId), ouiaSafe, ouiaComponentType: Dropdown.displayName, alignments }, contextProps) },
4897
- React__namespace.createElement(DropdownWithContext, Object.assign({ menuAppendTo: menuAppendTo }, props))));
4897
+ React__namespace.createElement(DropdownWithContext, Object.assign({}, props))));
4898
4898
  };
4899
4899
  Dropdown.displayName = 'Dropdown';
4900
4900
 
@@ -18271,17 +18271,18 @@
18271
18271
  unmountOnExit: false,
18272
18272
  localActiveKey: '',
18273
18273
  uniqueId: '',
18274
- handleTabClick: () => null
18274
+ handleTabClick: () => null,
18275
+ handleTabClose: undefined
18275
18276
  });
18276
18277
  const TabsContextProvider = TabsContext.Provider;
18277
18278
  const TabsContextConsumer = TabsContext.Consumer;
18278
18279
 
18279
18280
  const TabBase = (_a) => {
18280
- var { title, eventKey, tabContentRef, id: childId, tabContentId, className: childClassName = '', ouiaId: childOuiaId, isDisabled, isAriaDisabled, inoperableEvents = ['onClick', 'onKeyPress'], href, innerRef, tooltip } = _a, props = __rest$1(_a, ["title", "eventKey", "tabContentRef", "id", "tabContentId", "className", "ouiaId", "isDisabled", "isAriaDisabled", "inoperableEvents", "href", "innerRef", "tooltip"]);
18281
+ var { title, eventKey, tabContentRef, id: childId, tabContentId, className: childClassName = '', ouiaId: childOuiaId, isDisabled, isAriaDisabled, inoperableEvents = ['onClick', 'onKeyPress'], href, innerRef, tooltip, closeButtonAriaLabel, isCloseDisabled = false } = _a, props = __rest$1(_a, ["title", "eventKey", "tabContentRef", "id", "tabContentId", "className", "ouiaId", "isDisabled", "isAriaDisabled", "inoperableEvents", "href", "innerRef", "tooltip", "closeButtonAriaLabel", "isCloseDisabled"]);
18281
18282
  const preventedEvents = inoperableEvents.reduce((handlers, eventToPrevent) => (Object.assign(Object.assign({}, handlers), { [eventToPrevent]: (event) => {
18282
18283
  event.preventDefault();
18283
18284
  } })), {});
18284
- const { mountOnEnter, localActiveKey, unmountOnExit, uniqueId, handleTabClick } = React__namespace.useContext(TabsContext);
18285
+ const { mountOnEnter, localActiveKey, unmountOnExit, uniqueId, handleTabClick, handleTabClose } = React__namespace.useContext(TabsContext);
18285
18286
  let ariaControls = tabContentId ? `${tabContentId}` : `pf-tab-section-${eventKey}-${childId || uniqueId}`;
18286
18287
  if ((mountOnEnter || unmountOnExit) && eventKey !== localActiveKey) {
18287
18288
  ariaControls = undefined;
@@ -18296,11 +18297,29 @@
18296
18297
  }
18297
18298
  };
18298
18299
  const tabButton = (React__namespace.createElement(TabButton, Object.assign({ parentInnerRef: innerRef, className: css(styles$h.tabsLink, isDisabled && href && styles$h.modifiers.disabled, isAriaDisabled && styles$h.modifiers.ariaDisabled), disabled: isButtonElement ? isDisabled : null, "aria-disabled": isDisabled || isAriaDisabled, tabIndex: getDefaultTabIdx(), onClick: (event) => handleTabClick(event, eventKey, tabContentRef) }, (isAriaDisabled ? preventedEvents : null), { id: `pf-tab-${eventKey}-${childId || uniqueId}`, "aria-controls": ariaControls, tabContentRef: tabContentRef, ouiaId: childOuiaId, href: href, role: "tab", "aria-selected": eventKey === localActiveKey }, props), title));
18299
- return (React__namespace.createElement("li", { className: css(styles$h.tabsItem, eventKey === localActiveKey && styles$h.modifiers.current, childClassName), role: "presentation" }, tooltip ? React__namespace.createElement(Tooltip, Object.assign({}, tooltip.props), tabButton) : tabButton));
18300
+ return (React__namespace.createElement("li", { className: css(styles$h.tabsItem, eventKey === localActiveKey && styles$h.modifiers.current, handleTabClose && styles$h.modifiers.action, handleTabClose && (isDisabled || isAriaDisabled) && styles$h.modifiers.disabled, childClassName), role: "presentation" },
18301
+ tooltip ? React__namespace.createElement(Tooltip, Object.assign({}, tooltip.props), tabButton) : tabButton,
18302
+ handleTabClose !== undefined && (React__namespace.createElement("span", { className: css(styles$h.tabsItemClose) },
18303
+ React__namespace.createElement(Button, { variant: "plain", "aria-label": closeButtonAriaLabel || 'Close tab', onClick: (event) => handleTabClose(event, eventKey, tabContentRef), isDisabled: isCloseDisabled },
18304
+ React__namespace.createElement("span", { className: css(styles$h.tabsItemCloseIcon) },
18305
+ React__namespace.createElement(TimesIcon$1, null)))))));
18300
18306
  };
18301
18307
  const Tab = React__namespace.forwardRef((props, ref) => React__namespace.createElement(TabBase, Object.assign({ innerRef: ref }, props)));
18302
18308
  Tab.displayName = 'Tab';
18303
18309
 
18310
+ const PlusIconConfig = {
18311
+ name: 'PlusIcon',
18312
+ height: 512,
18313
+ width: 448,
18314
+ svgPath: 'M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z',
18315
+ yOffset: 0,
18316
+ xOffset: 0,
18317
+ };
18318
+
18319
+ const PlusIcon = createIcon(PlusIconConfig);
18320
+
18321
+ var PlusIcon$1 = PlusIcon;
18322
+
18304
18323
  Promise.resolve().then(function () { return tabContent; });
18305
18324
  var styles$g = {
18306
18325
  "modifiers": {
@@ -18471,16 +18490,21 @@
18471
18490
  clearTimeout(this.scrollTimeout);
18472
18491
  }
18473
18492
  componentDidUpdate(prevProps) {
18474
- const { activeKey, mountOnEnter } = this.props;
18493
+ const { activeKey, mountOnEnter, children } = this.props;
18475
18494
  const { shownKeys } = this.state;
18476
18495
  if (prevProps.activeKey !== activeKey && mountOnEnter && shownKeys.indexOf(activeKey) < 0) {
18477
18496
  this.setState({
18478
18497
  shownKeys: shownKeys.concat(activeKey)
18479
18498
  });
18480
18499
  }
18500
+ if (prevProps.children &&
18501
+ children &&
18502
+ React__namespace.Children.toArray(prevProps.children).length !== React__namespace.Children.toArray(children).length) {
18503
+ this.handleScrollButtons();
18504
+ }
18481
18505
  }
18482
18506
  render() {
18483
- const _a = this.props, { className, children, activeKey, defaultActiveKey, id, isFilled, isSecondary, isVertical, isBox, hasBorderBottom, hasSecondaryBorderBottom, leftScrollAriaLabel, rightScrollAriaLabel, 'aria-label': ariaLabel, component, ouiaId, ouiaSafe, mountOnEnter, unmountOnExit, usePageInsets, inset, variant, expandable, isExpanded, defaultIsExpanded, toggleText, toggleAriaLabel, onToggle } = _a, props = __rest$1(_a, ["className", "children", "activeKey", "defaultActiveKey", "id", "isFilled", "isSecondary", "isVertical", "isBox", "hasBorderBottom", "hasSecondaryBorderBottom", "leftScrollAriaLabel", "rightScrollAriaLabel", 'aria-label', "component", "ouiaId", "ouiaSafe", "mountOnEnter", "unmountOnExit", "usePageInsets", "inset", "variant", "expandable", "isExpanded", "defaultIsExpanded", "toggleText", "toggleAriaLabel", "onToggle"]);
18507
+ const _a = this.props, { className, children, activeKey, defaultActiveKey, id, isFilled, isSecondary, isVertical, isBox, hasBorderBottom, hasSecondaryBorderBottom, leftScrollAriaLabel, rightScrollAriaLabel, 'aria-label': ariaLabel, component, ouiaId, ouiaSafe, mountOnEnter, unmountOnExit, usePageInsets, inset, variant, expandable, isExpanded, defaultIsExpanded, toggleText, toggleAriaLabel, addButtonAriaLabel, onToggle, onClose, onAdd } = _a, props = __rest$1(_a, ["className", "children", "activeKey", "defaultActiveKey", "id", "isFilled", "isSecondary", "isVertical", "isBox", "hasBorderBottom", "hasSecondaryBorderBottom", "leftScrollAriaLabel", "rightScrollAriaLabel", 'aria-label', "component", "ouiaId", "ouiaSafe", "mountOnEnter", "unmountOnExit", "usePageInsets", "inset", "variant", "expandable", "isExpanded", "defaultIsExpanded", "toggleText", "toggleAriaLabel", "addButtonAriaLabel", "onToggle", "onClose", "onAdd"]);
18484
18508
  const { showScrollButtons, disableLeftScrollButton, disableRightScrollButton, shownKeys, uncontrolledActiveKey, uncontrolledIsExpandedLocal } = this.state;
18485
18509
  const filteredChildren = React__namespace.Children.toArray(children)
18486
18510
  .filter(Boolean)
@@ -18504,7 +18528,8 @@
18504
18528
  unmountOnExit,
18505
18529
  localActiveKey,
18506
18530
  uniqueId,
18507
- handleTabClick: (...args) => this.handleTabClick(...args)
18531
+ handleTabClick: (...args) => this.handleTabClick(...args),
18532
+ handleTabClose: onClose
18508
18533
  } },
18509
18534
  React__namespace.createElement(Component, Object.assign({ "aria-label": ariaLabel, className: css(styles$h.tabs, isFilled && styles$h.modifiers.fill, isSecondary && styles$h.modifiers.secondary, isVertical && styles$h.modifiers.vertical, isVertical && expandable && formatBreakpointMods(expandable, styles$h), isVertical && expandable && isExpandedLocal && styles$h.modifiers.expanded, isBox && styles$h.modifiers.box, showScrollButtons && !isVertical && styles$h.modifiers.scrollable, usePageInsets && styles$h.modifiers.pageInsets, !hasBorderBottom && styles$h.modifiers.noBorderBottom, hasSecondaryBorderBottom && styles$h.modifiers.borderBottom, formatBreakpointMods(inset, styles$h), variantStyle[variant], className) }, getOUIAProps(Tabs.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), { id: id && id }, props),
18510
18535
  expandable && isVertical && (React__namespace.createElement(GenerateId, null, randomId => (React__namespace.createElement("div", { className: css(styles$h.tabsToggle) },
@@ -18517,7 +18542,10 @@
18517
18542
  React__namespace.createElement(AngleLeftIcon$1, null)),
18518
18543
  React__namespace.createElement("ul", { className: css(styles$h.tabsList), ref: this.tabList, onScroll: this.handleScrollButtons, role: "tablist" }, filteredChildren),
18519
18544
  React__namespace.createElement("button", { className: css(styles$h.tabsScrollButton, isSecondary && buttonStyles.modifiers.secondary), "aria-label": rightScrollAriaLabel, onClick: this.scrollRight, disabled: disableRightScrollButton, "aria-hidden": disableRightScrollButton },
18520
- React__namespace.createElement(AngleRightIcon$1, null))),
18545
+ React__namespace.createElement(AngleRightIcon$1, null)),
18546
+ onAdd !== undefined && (React__namespace.createElement("span", { className: css(styles$h.tabsAdd) },
18547
+ React__namespace.createElement(Button, { variant: "plain", "aria-label": addButtonAriaLabel || 'Add tab', onClick: onAdd },
18548
+ React__namespace.createElement(PlusIcon$1, null))))),
18521
18549
  filteredChildren
18522
18550
  .filter(child => child.props.children &&
18523
18551
  !(unmountOnExit && child.props.eventKey !== localActiveKey) &&
@@ -19607,19 +19635,6 @@
19607
19635
  "numberInputUnit": "pf-c-number-input__unit"
19608
19636
  };
19609
19637
 
19610
- const PlusIconConfig = {
19611
- name: 'PlusIcon',
19612
- height: 512,
19613
- width: 448,
19614
- svgPath: 'M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z',
19615
- yOffset: 0,
19616
- xOffset: 0,
19617
- };
19618
-
19619
- const PlusIcon = createIcon(PlusIconConfig);
19620
-
19621
- var PlusIcon$1 = PlusIcon;
19622
-
19623
19638
  const defaultKeyDownHandler = (args) => (event) => {
19624
19639
  if (KEY_CODES.ARROW_UP === event.keyCode && args.onPlus) {
19625
19640
  event.preventDefault();
@@ -17578,20 +17578,6 @@ label.pf-c-radio, .pf-c-radio__label,
17578
17578
  transform: translateX(100%);
17579
17579
  }
17580
17580
  }
17581
- .pf-c-skip-to-content {
17582
- --pf-c-skip-to-content--Top: var(--pf-global--spacer--md);
17583
- --pf-c-skip-to-content--ZIndex: var(--pf-global--ZIndex--2xl);
17584
- --pf-c-skip-to-content--focus--Left: var(--pf-global--spacer--md);
17585
- position: absolute;
17586
- top: var(--pf-c-skip-to-content--Top);
17587
- left: -300%;
17588
- z-index: var(--pf-c-skip-to-content--ZIndex);
17589
- }
17590
-
17591
- .pf-c-skip-to-content:focus {
17592
- left: var(--pf-c-skip-to-content--focus--Left);
17593
- }
17594
-
17595
17581
  .pf-c-slider {
17596
17582
  --pf-c-slider--value: 0;
17597
17583
  --pf-c-slider__rail--PaddingTop: var(--pf-global--spacer--md);
@@ -17811,6 +17797,20 @@ label.pf-c-radio, .pf-c-radio__label,
17811
17797
  margin-left: var(--pf-c-slider__main--actions--MarginLeft);
17812
17798
  }
17813
17799
 
17800
+ .pf-c-skip-to-content {
17801
+ --pf-c-skip-to-content--Top: var(--pf-global--spacer--md);
17802
+ --pf-c-skip-to-content--ZIndex: var(--pf-global--ZIndex--2xl);
17803
+ --pf-c-skip-to-content--focus--Left: var(--pf-global--spacer--md);
17804
+ position: absolute;
17805
+ top: var(--pf-c-skip-to-content--Top);
17806
+ left: -300%;
17807
+ z-index: var(--pf-c-skip-to-content--ZIndex);
17808
+ }
17809
+
17810
+ .pf-c-skip-to-content:focus {
17811
+ left: var(--pf-c-skip-to-content--focus--Left);
17812
+ }
17813
+
17814
17814
  .pf-c-spinner {
17815
17815
  --pf-c-spinner--diameter: var(--pf-global--icon--FontSize--xl);
17816
17816
  --pf-c-spinner--Width: var(--pf-c-spinner--diameter);
@@ -21150,99 +21150,6 @@ svg.pf-c-spinner.pf-m-xl {
21150
21150
  --pf-c-toolbar--spacer: 0;
21151
21151
  }
21152
21152
 
21153
- .pf-c-tooltip {
21154
- --pf-c-tooltip--MaxWidth: 18.75rem;
21155
- --pf-c-tooltip--BoxShadow: var(--pf-global--BoxShadow--md);
21156
- --pf-c-tooltip__content--PaddingTop: var(--pf-global--spacer--sm);
21157
- --pf-c-tooltip__content--PaddingRight: var(--pf-global--spacer--sm);
21158
- --pf-c-tooltip__content--PaddingBottom: var(--pf-global--spacer--sm);
21159
- --pf-c-tooltip__content--PaddingLeft: var(--pf-global--spacer--sm);
21160
- --pf-c-tooltip__content--Color: var(--pf-global--Color--light-100);
21161
- --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
21162
- --pf-c-tooltip__content--FontSize: var(--pf-global--FontSize--sm);
21163
- --pf-c-tooltip__arrow--Width: 0.5rem;
21164
- --pf-c-tooltip__arrow--Height: 0.5rem;
21165
- --pf-c-tooltip__arrow--m-top--TranslateX: -50%;
21166
- --pf-c-tooltip__arrow--m-top--TranslateY: 50%;
21167
- --pf-c-tooltip__arrow--m-top--Rotate: 45deg;
21168
- --pf-c-tooltip__arrow--m-right--TranslateX: -50%;
21169
- --pf-c-tooltip__arrow--m-right--TranslateY: -50%;
21170
- --pf-c-tooltip__arrow--m-right--Rotate: 45deg;
21171
- --pf-c-tooltip__arrow--m-bottom--TranslateX: -50%;
21172
- --pf-c-tooltip__arrow--m-bottom--TranslateY: -50%;
21173
- --pf-c-tooltip__arrow--m-bottom--Rotate: 45deg;
21174
- --pf-c-tooltip__arrow--m-left--TranslateX: 50%;
21175
- --pf-c-tooltip__arrow--m-left--TranslateY: -50%;
21176
- --pf-c-tooltip__arrow--m-left--Rotate: 45deg;
21177
- position: relative;
21178
- max-width: var(--pf-c-tooltip--MaxWidth);
21179
- box-shadow: var(--pf-c-tooltip--BoxShadow);
21180
- }
21181
-
21182
- .pf-c-tooltip.pf-m-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow {
21183
- bottom: 0;
21184
- left: 50%;
21185
- transform: translateX(var(--pf-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-top--Rotate));
21186
- }
21187
-
21188
- .pf-c-tooltip.pf-m-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
21189
- top: 0;
21190
- left: 50%;
21191
- transform: translateX(var(--pf-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-bottom--Rotate));
21192
- }
21193
-
21194
- .pf-c-tooltip.pf-m-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow {
21195
- top: 50%;
21196
- right: 0;
21197
- transform: translateX(var(--pf-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-left--Rotate));
21198
- }
21199
-
21200
- .pf-c-tooltip.pf-m-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
21201
- top: 50%;
21202
- left: 0;
21203
- transform: translateX(var(--pf-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-right--Rotate));
21204
- }
21205
-
21206
- .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow {
21207
- top: var(--pf-c-tooltip__arrow--Height);
21208
- }
21209
-
21210
- .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
21211
- top: auto;
21212
- bottom: 0;
21213
- }
21214
-
21215
- .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow {
21216
- left: var(--pf-c-tooltip__arrow--Width);
21217
- }
21218
-
21219
- .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
21220
- right: 0;
21221
- left: auto;
21222
- }
21223
-
21224
- .pf-c-tooltip__content {
21225
- position: relative;
21226
- padding: var(--pf-c-tooltip__content--PaddingTop) var(--pf-c-tooltip__content--PaddingRight) var(--pf-c-tooltip__content--PaddingBottom) var(--pf-c-tooltip__content--PaddingLeft);
21227
- font-size: var(--pf-c-tooltip__content--FontSize);
21228
- color: var(--pf-c-tooltip__content--Color);
21229
- text-align: center;
21230
- word-break: break-word;
21231
- background-color: var(--pf-c-tooltip__content--BackgroundColor);
21232
- }
21233
-
21234
- .pf-c-tooltip__content.pf-m-text-align-left {
21235
- text-align: left;
21236
- }
21237
-
21238
- .pf-c-tooltip__arrow {
21239
- position: absolute;
21240
- width: var(--pf-c-tooltip__arrow--Width);
21241
- height: var(--pf-c-tooltip__arrow--Height);
21242
- pointer-events: none;
21243
- background-color: var(--pf-c-tooltip__content--BackgroundColor);
21244
- }
21245
-
21246
21153
  .pf-c-number-input .pf-c-form-control {
21247
21154
  appearance: textfield;
21248
21155
  }
@@ -26047,6 +25954,99 @@ svg.pf-c-spinner.pf-m-xl {
26047
25954
  margin-bottom: var(--pf-l-stack--m-gutter--MarginBottom);
26048
25955
  }
26049
25956
 
25957
+ .pf-c-tooltip {
25958
+ --pf-c-tooltip--MaxWidth: 18.75rem;
25959
+ --pf-c-tooltip--BoxShadow: var(--pf-global--BoxShadow--md);
25960
+ --pf-c-tooltip__content--PaddingTop: var(--pf-global--spacer--sm);
25961
+ --pf-c-tooltip__content--PaddingRight: var(--pf-global--spacer--sm);
25962
+ --pf-c-tooltip__content--PaddingBottom: var(--pf-global--spacer--sm);
25963
+ --pf-c-tooltip__content--PaddingLeft: var(--pf-global--spacer--sm);
25964
+ --pf-c-tooltip__content--Color: var(--pf-global--Color--light-100);
25965
+ --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
25966
+ --pf-c-tooltip__content--FontSize: var(--pf-global--FontSize--sm);
25967
+ --pf-c-tooltip__arrow--Width: 0.5rem;
25968
+ --pf-c-tooltip__arrow--Height: 0.5rem;
25969
+ --pf-c-tooltip__arrow--m-top--TranslateX: -50%;
25970
+ --pf-c-tooltip__arrow--m-top--TranslateY: 50%;
25971
+ --pf-c-tooltip__arrow--m-top--Rotate: 45deg;
25972
+ --pf-c-tooltip__arrow--m-right--TranslateX: -50%;
25973
+ --pf-c-tooltip__arrow--m-right--TranslateY: -50%;
25974
+ --pf-c-tooltip__arrow--m-right--Rotate: 45deg;
25975
+ --pf-c-tooltip__arrow--m-bottom--TranslateX: -50%;
25976
+ --pf-c-tooltip__arrow--m-bottom--TranslateY: -50%;
25977
+ --pf-c-tooltip__arrow--m-bottom--Rotate: 45deg;
25978
+ --pf-c-tooltip__arrow--m-left--TranslateX: 50%;
25979
+ --pf-c-tooltip__arrow--m-left--TranslateY: -50%;
25980
+ --pf-c-tooltip__arrow--m-left--Rotate: 45deg;
25981
+ position: relative;
25982
+ max-width: var(--pf-c-tooltip--MaxWidth);
25983
+ box-shadow: var(--pf-c-tooltip--BoxShadow);
25984
+ }
25985
+
25986
+ .pf-c-tooltip.pf-m-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow {
25987
+ bottom: 0;
25988
+ left: 50%;
25989
+ transform: translateX(var(--pf-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-top--Rotate));
25990
+ }
25991
+
25992
+ .pf-c-tooltip.pf-m-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
25993
+ top: 0;
25994
+ left: 50%;
25995
+ transform: translateX(var(--pf-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-bottom--Rotate));
25996
+ }
25997
+
25998
+ .pf-c-tooltip.pf-m-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow {
25999
+ top: 50%;
26000
+ right: 0;
26001
+ transform: translateX(var(--pf-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-left--Rotate));
26002
+ }
26003
+
26004
+ .pf-c-tooltip.pf-m-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
26005
+ top: 50%;
26006
+ left: 0;
26007
+ transform: translateX(var(--pf-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-right--Rotate));
26008
+ }
26009
+
26010
+ .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow {
26011
+ top: var(--pf-c-tooltip__arrow--Height);
26012
+ }
26013
+
26014
+ .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
26015
+ top: auto;
26016
+ bottom: 0;
26017
+ }
26018
+
26019
+ .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow {
26020
+ left: var(--pf-c-tooltip__arrow--Width);
26021
+ }
26022
+
26023
+ .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
26024
+ right: 0;
26025
+ left: auto;
26026
+ }
26027
+
26028
+ .pf-c-tooltip__content {
26029
+ position: relative;
26030
+ padding: var(--pf-c-tooltip__content--PaddingTop) var(--pf-c-tooltip__content--PaddingRight) var(--pf-c-tooltip__content--PaddingBottom) var(--pf-c-tooltip__content--PaddingLeft);
26031
+ font-size: var(--pf-c-tooltip__content--FontSize);
26032
+ color: var(--pf-c-tooltip__content--Color);
26033
+ text-align: center;
26034
+ word-break: break-word;
26035
+ background-color: var(--pf-c-tooltip__content--BackgroundColor);
26036
+ }
26037
+
26038
+ .pf-c-tooltip__content.pf-m-text-align-left {
26039
+ text-align: left;
26040
+ }
26041
+
26042
+ .pf-c-tooltip__arrow {
26043
+ position: absolute;
26044
+ width: var(--pf-c-tooltip__arrow--Width);
26045
+ height: var(--pf-c-tooltip__arrow--Height);
26046
+ pointer-events: none;
26047
+ background-color: var(--pf-c-tooltip__content--BackgroundColor);
26048
+ }
26049
+
26050
26050
  .pf-c-alert-group {
26051
26051
  --pf-c-alert-group__item--MarginTop: var(--pf-global--spacer--sm);
26052
26052
  --pf-c-alert-group--m-toast--Top: var(--pf-global--spacer--2xl);