@patternfly/react-core 4.213.2 → 4.213.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/esm/components/Card/Card.d.ts +7 -0
  3. package/dist/esm/components/Card/Card.d.ts.map +1 -1
  4. package/dist/esm/components/Card/Card.js +24 -1
  5. package/dist/esm/components/Card/Card.js.map +1 -1
  6. package/dist/esm/components/Card/CardTitle.d.ts.map +1 -1
  7. package/dist/esm/components/Card/CardTitle.js +8 -1
  8. package/dist/esm/components/Card/CardTitle.js.map +1 -1
  9. package/dist/js/components/Card/Card.d.ts +7 -0
  10. package/dist/js/components/Card/Card.d.ts.map +1 -1
  11. package/dist/js/components/Card/Card.js +24 -1
  12. package/dist/js/components/Card/Card.js.map +1 -1
  13. package/dist/js/components/Card/CardTitle.d.ts.map +1 -1
  14. package/dist/js/components/Card/CardTitle.js +8 -1
  15. package/dist/js/components/Card/CardTitle.js.map +1 -1
  16. package/dist/umd/react-core.css +475 -475
  17. package/dist/umd/react-core.js +31 -2
  18. package/dist/umd/react-core.min.css +142 -142
  19. package/dist/umd/react-core.min.js +1 -1
  20. package/package.json +5 -5
  21. package/src/components/Card/Card.tsx +53 -0
  22. package/src/components/Card/CardTitle.tsx +11 -1
  23. package/src/components/Card/__tests__/Card.test.tsx +90 -1
  24. package/src/components/Card/__tests__/CardTitle.test.tsx +13 -0
  25. package/src/components/Card/examples/Card.md +17 -0
  26. package/src/components/Card/examples/CardLegacySelectable.tsx +11 -2
  27. package/src/components/Card/examples/CardSelectable.tsx +10 -1
  28. package/src/components/Card/examples/CardSelectableA11yHighlight.tsx +61 -0
  29. package/src/demos/Card/Card.md +29 -29
  30. package/src/demos/PrimaryDetail.md +16 -2
  31. package/src/demos/examples/Tabs/ModalTabs.tsx +4 -1
@@ -8045,12 +8045,15 @@
8045
8045
 
8046
8046
  const CardContext = React__namespace.createContext({
8047
8047
  cardId: '',
8048
+ registerTitleId: () => { },
8048
8049
  isExpanded: false
8049
8050
  });
8050
8051
  const Card = (_a) => {
8051
- var { children = null, id = '', className = '', component = 'article', isHoverable = false, isCompact = false, isSelectable = false, isSelectableRaised = false, isSelected = false, isDisabledRaised = false, isFlat = false, isExpanded = false, isRounded = false, isLarge = false, isFullHeight = false, isPlain = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "id", "className", "component", "isHoverable", "isCompact", "isSelectable", "isSelectableRaised", "isSelected", "isDisabledRaised", "isFlat", "isExpanded", "isRounded", "isLarge", "isFullHeight", "isPlain", "ouiaId", "ouiaSafe"]);
8052
+ var { children = null, id = '', className = '', component = 'article', isHoverable = false, isCompact = false, isSelectable = false, isSelectableRaised = false, isSelected = false, isDisabledRaised = false, isFlat = false, isExpanded = false, isRounded = false, isLarge = false, isFullHeight = false, isPlain = false, ouiaId, ouiaSafe = true, hasSelectableInput = false, selectableInputAriaLabel, onSelectableInputChange = () => { } } = _a, props = __rest$1(_a, ["children", "id", "className", "component", "isHoverable", "isCompact", "isSelectable", "isSelectableRaised", "isSelected", "isDisabledRaised", "isFlat", "isExpanded", "isRounded", "isLarge", "isFullHeight", "isPlain", "ouiaId", "ouiaSafe", "hasSelectableInput", "selectableInputAriaLabel", "onSelectableInputChange"]);
8052
8053
  const Component = component;
8053
8054
  const ouiaProps = useOUIAProps(Card.displayName, ouiaId, ouiaSafe);
8055
+ const [titleId, setTitleId] = React__namespace.useState('');
8056
+ const [ariaProps, setAriaProps] = React__namespace.useState();
8054
8057
  if (isCompact && isLarge) {
8055
8058
  // eslint-disable-next-line no-console
8056
8059
  console.warn('Card: Cannot use isCompact with isLarge. Defaulting to isCompact');
@@ -8068,10 +8071,30 @@
8068
8071
  }
8069
8072
  return '';
8070
8073
  };
8074
+ const containsCardTitleChildRef = React__namespace.useRef(false);
8075
+ const registerTitleId = (id) => {
8076
+ setTitleId(id);
8077
+ containsCardTitleChildRef.current = !!id;
8078
+ };
8079
+ React__namespace.useEffect(() => {
8080
+ if (selectableInputAriaLabel) {
8081
+ setAriaProps({ 'aria-label': selectableInputAriaLabel });
8082
+ }
8083
+ else if (titleId) {
8084
+ setAriaProps({ 'aria-labelledby': titleId });
8085
+ }
8086
+ else if (hasSelectableInput && !containsCardTitleChildRef.current) {
8087
+ setAriaProps({});
8088
+ // eslint-disable-next-line no-console
8089
+ console.warn('If no CardTitle component is passed as a child of Card the selectableInputAriaLabel prop must be passed');
8090
+ }
8091
+ }, [hasSelectableInput, selectableInputAriaLabel, titleId]);
8071
8092
  return (React__namespace.createElement(CardContext.Provider, { value: {
8072
8093
  cardId: id,
8094
+ registerTitleId,
8073
8095
  isExpanded
8074
8096
  } },
8097
+ hasSelectableInput && (React__namespace.createElement("input", Object.assign({ className: "pf-screen-reader", id: `${id}-input` }, ariaProps, { type: "checkbox", checked: isSelected, onChange: event => onSelectableInputChange(id, event), disabled: isDisabledRaised, tabIndex: -1 }))),
8075
8098
  React__namespace.createElement(Component, Object.assign({ id: id, className: css(styles$U.card, isCompact && styles$U.modifiers.compact, isExpanded && styles$U.modifiers.expanded, isFlat && styles$U.modifiers.flat, isRounded && styles$U.modifiers.rounded, isLarge && styles$U.modifiers.displayLg, isFullHeight && styles$U.modifiers.fullHeight, isPlain && styles$U.modifiers.plain, getSelectableModifiers(), className), tabIndex: isSelectable || isSelectableRaised ? '0' : undefined }, props, ouiaProps), children)));
8076
8099
  };
8077
8100
  Card.displayName = 'Card';
@@ -8104,8 +8127,14 @@
8104
8127
 
8105
8128
  const CardTitle = (_a) => {
8106
8129
  var { children = null, className = '', component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
8130
+ const { cardId, registerTitleId } = React__namespace.useContext(CardContext);
8107
8131
  const Component = component;
8108
- return (React__namespace.createElement(Component, Object.assign({ className: css(styles$U.cardTitle, className) }, props), children));
8132
+ const titleId = cardId ? `${cardId}-title` : '';
8133
+ React__namespace.useEffect(() => {
8134
+ registerTitleId(titleId);
8135
+ return () => registerTitleId('');
8136
+ }, [registerTitleId, titleId]);
8137
+ return (React__namespace.createElement(Component, Object.assign({ className: css(styles$U.cardTitle, className), id: titleId || undefined }, props), children));
8109
8138
  };
8110
8139
  CardTitle.displayName = 'CardTitle';
8111
8140
 
@@ -17578,6 +17578,20 @@ 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
+
17581
17595
  .pf-c-slider {
17582
17596
  --pf-c-slider--value: 0;
17583
17597
  --pf-c-slider__rail--PaddingTop: var(--pf-global--spacer--md);
@@ -17797,20 +17811,6 @@ label.pf-c-radio, .pf-c-radio__label,
17797
17811
  margin-left: var(--pf-c-slider__main--actions--MarginLeft);
17798
17812
  }
17799
17813
 
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);
@@ -19769,6 +19769,99 @@ svg.pf-c-spinner.pf-m-xl {
19769
19769
  margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
19770
19770
  }
19771
19771
 
19772
+ .pf-c-tooltip {
19773
+ --pf-c-tooltip--MaxWidth: 18.75rem;
19774
+ --pf-c-tooltip--BoxShadow: var(--pf-global--BoxShadow--md);
19775
+ --pf-c-tooltip__content--PaddingTop: var(--pf-global--spacer--sm);
19776
+ --pf-c-tooltip__content--PaddingRight: var(--pf-global--spacer--sm);
19777
+ --pf-c-tooltip__content--PaddingBottom: var(--pf-global--spacer--sm);
19778
+ --pf-c-tooltip__content--PaddingLeft: var(--pf-global--spacer--sm);
19779
+ --pf-c-tooltip__content--Color: var(--pf-global--Color--light-100);
19780
+ --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
19781
+ --pf-c-tooltip__content--FontSize: var(--pf-global--FontSize--sm);
19782
+ --pf-c-tooltip__arrow--Width: 0.5rem;
19783
+ --pf-c-tooltip__arrow--Height: 0.5rem;
19784
+ --pf-c-tooltip__arrow--m-top--TranslateX: -50%;
19785
+ --pf-c-tooltip__arrow--m-top--TranslateY: 50%;
19786
+ --pf-c-tooltip__arrow--m-top--Rotate: 45deg;
19787
+ --pf-c-tooltip__arrow--m-right--TranslateX: -50%;
19788
+ --pf-c-tooltip__arrow--m-right--TranslateY: -50%;
19789
+ --pf-c-tooltip__arrow--m-right--Rotate: 45deg;
19790
+ --pf-c-tooltip__arrow--m-bottom--TranslateX: -50%;
19791
+ --pf-c-tooltip__arrow--m-bottom--TranslateY: -50%;
19792
+ --pf-c-tooltip__arrow--m-bottom--Rotate: 45deg;
19793
+ --pf-c-tooltip__arrow--m-left--TranslateX: 50%;
19794
+ --pf-c-tooltip__arrow--m-left--TranslateY: -50%;
19795
+ --pf-c-tooltip__arrow--m-left--Rotate: 45deg;
19796
+ position: relative;
19797
+ max-width: var(--pf-c-tooltip--MaxWidth);
19798
+ box-shadow: var(--pf-c-tooltip--BoxShadow);
19799
+ }
19800
+
19801
+ .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 {
19802
+ bottom: 0;
19803
+ left: 50%;
19804
+ 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));
19805
+ }
19806
+
19807
+ .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 {
19808
+ top: 0;
19809
+ left: 50%;
19810
+ 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));
19811
+ }
19812
+
19813
+ .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 {
19814
+ top: 50%;
19815
+ right: 0;
19816
+ 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));
19817
+ }
19818
+
19819
+ .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 {
19820
+ top: 50%;
19821
+ left: 0;
19822
+ 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));
19823
+ }
19824
+
19825
+ .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow {
19826
+ top: var(--pf-c-tooltip__arrow--Height);
19827
+ }
19828
+
19829
+ .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
19830
+ top: auto;
19831
+ bottom: 0;
19832
+ }
19833
+
19834
+ .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow {
19835
+ left: var(--pf-c-tooltip__arrow--Width);
19836
+ }
19837
+
19838
+ .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
19839
+ right: 0;
19840
+ left: auto;
19841
+ }
19842
+
19843
+ .pf-c-tooltip__content {
19844
+ position: relative;
19845
+ 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);
19846
+ font-size: var(--pf-c-tooltip__content--FontSize);
19847
+ color: var(--pf-c-tooltip__content--Color);
19848
+ text-align: center;
19849
+ word-break: break-word;
19850
+ background-color: var(--pf-c-tooltip__content--BackgroundColor);
19851
+ }
19852
+
19853
+ .pf-c-tooltip__content.pf-m-text-align-left {
19854
+ text-align: left;
19855
+ }
19856
+
19857
+ .pf-c-tooltip__arrow {
19858
+ position: absolute;
19859
+ width: var(--pf-c-tooltip__arrow--Width);
19860
+ height: var(--pf-c-tooltip__arrow--Height);
19861
+ pointer-events: none;
19862
+ background-color: var(--pf-c-tooltip__content--BackgroundColor);
19863
+ }
19864
+
19772
19865
  .pf-c-toolbar__content-section, .pf-c-toolbar__content, .pf-c-toolbar__item, .pf-c-toolbar__group {
19773
19866
  --pf-hidden-visible--visible--Visibility: visible;
19774
19867
  --pf-hidden-visible--hidden--Display: none;
@@ -21150,41 +21243,6 @@ svg.pf-c-spinner.pf-m-xl {
21150
21243
  --pf-c-toolbar--spacer: 0;
21151
21244
  }
21152
21245
 
21153
- .pf-c-number-input .pf-c-form-control {
21154
- appearance: textfield;
21155
- }
21156
-
21157
- .pf-c-number-input .pf-c-form-control::-webkit-inner-spin-button, .pf-c-number-input .pf-c-form-control::-webkit-outer-spin-button {
21158
- appearance: none;
21159
- margin: 0;
21160
- }
21161
-
21162
- .pf-c-number-input {
21163
- --pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
21164
- --pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
21165
- --pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
21166
- --pf-c-number-input--c-form-control--width-chars: 4;
21167
- --pf-c-number-input--c-form-control--Width: calc(var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch);
21168
- display: inline-flex;
21169
- align-items: center;
21170
- }
21171
-
21172
- .pf-c-number-input .pf-c-form-control {
21173
- display: inline-flex;
21174
- width: var(--pf-c-number-input--c-form-control--Width);
21175
- text-align: right;
21176
- }
21177
-
21178
- .pf-c-input-group + .pf-c-number-input__unit,
21179
- .pf-c-number-input__unit + .pf-c-input-group {
21180
- margin-left: var(--pf-c-number-input__unit--c-input-group--MarginLeft);
21181
- }
21182
-
21183
- .pf-c-number-input__icon {
21184
- display: flex;
21185
- font-size: var(--pf-c-number-input__icon--FontSize);
21186
- }
21187
-
21188
21246
  .pf-c-tree-view {
21189
21247
  --pf-c-tree-view--PaddingTop: var(--pf-global--spacer--sm);
21190
21248
  --pf-c-tree-view--PaddingBottom: var(--pf-global--spacer--sm);
@@ -21656,6 +21714,41 @@ svg.pf-c-spinner.pf-m-xl {
21656
21714
  --pf-c-tree-view--m-compact--m-no-background--border--nested--Left: calc(var(--pf-c-tree-view__node--PaddingLeft) - var(--pf-c-tree-view--m-compact--m-no-background--base-border--Left--offset));
21657
21715
  }
21658
21716
 
21717
+ .pf-c-number-input .pf-c-form-control {
21718
+ appearance: textfield;
21719
+ }
21720
+
21721
+ .pf-c-number-input .pf-c-form-control::-webkit-inner-spin-button, .pf-c-number-input .pf-c-form-control::-webkit-outer-spin-button {
21722
+ appearance: none;
21723
+ margin: 0;
21724
+ }
21725
+
21726
+ .pf-c-number-input {
21727
+ --pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
21728
+ --pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
21729
+ --pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
21730
+ --pf-c-number-input--c-form-control--width-chars: 4;
21731
+ --pf-c-number-input--c-form-control--Width: calc(var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch);
21732
+ display: inline-flex;
21733
+ align-items: center;
21734
+ }
21735
+
21736
+ .pf-c-number-input .pf-c-form-control {
21737
+ display: inline-flex;
21738
+ width: var(--pf-c-number-input--c-form-control--Width);
21739
+ text-align: right;
21740
+ }
21741
+
21742
+ .pf-c-input-group + .pf-c-number-input__unit,
21743
+ .pf-c-number-input__unit + .pf-c-input-group {
21744
+ margin-left: var(--pf-c-number-input__unit--c-input-group--MarginLeft);
21745
+ }
21746
+
21747
+ .pf-c-number-input__icon {
21748
+ display: flex;
21749
+ font-size: var(--pf-c-number-input__icon--FontSize);
21750
+ }
21751
+
21659
21752
  .pf-c-wizard__header {
21660
21753
  --pf-global--Color--100: var(--pf-global--Color--light-100);
21661
21754
  --pf-global--Color--200: var(--pf-global--Color--light-200);
@@ -25954,99 +26047,6 @@ svg.pf-c-spinner.pf-m-xl {
25954
26047
  margin-bottom: var(--pf-l-stack--m-gutter--MarginBottom);
25955
26048
  }
25956
26049
 
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);