@patternfly/react-table 4.91.17 → 4.92.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.
@@ -7906,7 +7906,7 @@
7906
7906
  Tbody.displayName = 'Tbody';
7907
7907
 
7908
7908
  const TrBase = (_a) => {
7909
- var { children, className, isExpanded, isEditable, isHidden = false, isHoverable = false, isRowSelected = false, isStriped = false, innerRef, ouiaId, ouiaSafe = true, resetOffset = false, onRowClick, isSelectable, 'aria-label': passedAriaLabel } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "isEditable", "isHidden", "isHoverable", "isRowSelected", "isStriped", "innerRef", "ouiaId", "ouiaSafe", "resetOffset", "onRowClick", "isSelectable", 'aria-label']);
7909
+ var { children, className, isExpanded, isEditable, isHidden = false, isHoverable = false, isRowSelected = false, isStriped = false, isBorderRow = false, innerRef, ouiaId, ouiaSafe = true, resetOffset = false, onRowClick, isSelectable, 'aria-label': passedAriaLabel } = _a, props = __rest$2(_a, ["children", "className", "isExpanded", "isEditable", "isHidden", "isHoverable", "isRowSelected", "isStriped", "isBorderRow", "innerRef", "ouiaId", "ouiaSafe", "resetOffset", "onRowClick", "isSelectable", 'aria-label']);
7910
7910
  const ouiaProps = useOUIAProps('TableRow', ouiaId, ouiaSafe);
7911
7911
  const [computedAriaLabel, setComputedAriaLabel] = React__namespace.useState('');
7912
7912
  let onKeyDown = null;
@@ -7932,7 +7932,7 @@
7932
7932
  const ariaLabel = passedAriaLabel || computedAriaLabel;
7933
7933
  return (React__namespace.createElement(React__namespace.Fragment, null,
7934
7934
  isSelectable && React__namespace.createElement("output", { className: "pf-screen-reader" }, ariaLabel),
7935
- React__namespace.createElement("tr", Object.assign({ className: css(className, isExpanded !== undefined && styles$1.tableExpandableRow, isExpanded && styles$1.modifiers.expanded, isEditable && inlineStyles.modifiers.inlineEditable, isHoverable && styles$1.modifiers.hoverable, isRowSelected && styles$1.modifiers.selected, isStriped && styles$1.modifiers.striped, resetOffset && styles$1.modifiers.firstCellOffsetReset), hidden: rowIsHidden }, (isHoverable && { tabIndex: 0 }), { "aria-label": ariaLabel, ref: innerRef }, (onRowClick && { onClick: onRowClick, onKeyDown }), ouiaProps, props), children)));
7935
+ React__namespace.createElement("tr", Object.assign({ className: css(className, isExpanded !== undefined && styles$1.tableExpandableRow, isExpanded && styles$1.modifiers.expanded, isEditable && inlineStyles.modifiers.inlineEditable, isHoverable && styles$1.modifiers.hoverable, isRowSelected && styles$1.modifiers.selected, isStriped && styles$1.modifiers.striped, isBorderRow && styles$1.modifiers.borderRow, resetOffset && styles$1.modifiers.firstCellOffsetReset), hidden: rowIsHidden }, (isHoverable && { tabIndex: 0 }), { "aria-label": ariaLabel, ref: innerRef }, (onRowClick && { onClick: onRowClick, onKeyDown }), ouiaProps, props), children)));
7936
7936
  };
7937
7937
  const Tr = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(TrBase, Object.assign({}, props, { innerRef: ref }))));
7938
7938
  Tr.displayName = 'Tr';
@@ -8846,6 +8846,10 @@ svg.pf-c-spinner.pf-m-xl {
8846
8846
  --pf-global--BackgroundColor--100: #1b1d21;
8847
8847
  }
8848
8848
 
8849
+ :where(.pf-theme-dark) .pf-c-banner .pf-c-card {
8850
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
8851
+ }
8852
+
8849
8853
  :where(.pf-theme-dark) .pf-c-banner .pf-c-button {
8850
8854
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
8851
8855
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
@@ -9640,7 +9644,8 @@ button.pf-c-breadcrumb__link {
9640
9644
  font-weight: var(--pf-global--FontWeight--normal);
9641
9645
  }
9642
9646
 
9643
- :where(.pf-theme-dark) .pf-c-card {
9647
+ :where(.pf-theme-dark) .pf-c-card,
9648
+ :where(.pf-theme-dark) .pf-c-card.pf-m-non-selectable-raised {
9644
9649
  --pf-c-card--BoxShadow: var(--pf-global--BoxShadow--md);
9645
9650
  --pf-c-card--m-hoverable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--lg);
9646
9651
  --pf-c-card--m-selectable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--lg);
@@ -15703,6 +15708,11 @@ ul.pf-c-list {
15703
15708
  --pf-global--BackgroundColor--100: #1b1d21;
15704
15709
  }
15705
15710
 
15711
+ :where(.pf-theme-dark) .pf-c-login__header .pf-c-card,
15712
+ :where(.pf-theme-dark) .pf-c-login__footer .pf-c-card {
15713
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
15714
+ }
15715
+
15706
15716
  :where(.pf-theme-dark) .pf-c-login__header .pf-c-button,
15707
15717
  :where(.pf-theme-dark) .pf-c-login__footer .pf-c-button {
15708
15718
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
@@ -15896,14 +15906,10 @@ ul.pf-c-list {
15896
15906
  }
15897
15907
  }
15898
15908
  @media screen and (min-width: 1200px) {
15899
- .pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
15909
+ .pf-c-masthead {
15900
15910
  --pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
15901
15911
  }
15902
15912
  }
15903
- .pf-c-page:where(.pf-m-breakpoint-xl) .pf-c-masthead {
15904
- --pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
15905
- }
15906
-
15907
15913
  .pf-c-masthead.pf-m-light {
15908
15914
  color: var(--pf-global--Color--100);
15909
15915
  --pf-c-masthead--BackgroundColor: var(--pf-c-masthead--m-light--BackgroundColor);
@@ -16453,6 +16459,10 @@ ul.pf-c-list {
16453
16459
  --pf-global--BackgroundColor--100: #1b1d21;
16454
16460
  }
16455
16461
 
16462
+ :where(.pf-theme-dark) .pf-c-masthead .pf-c-card {
16463
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
16464
+ }
16465
+
16456
16466
  :where(.pf-theme-dark) .pf-c-masthead .pf-c-button {
16457
16467
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
16458
16468
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
@@ -20845,6 +20855,12 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
20845
20855
  --pf-global--BackgroundColor--100: #1b1d21;
20846
20856
  }
20847
20857
 
20858
+ :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card,
20859
+ :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card,
20860
+ :where(.pf-theme-dark) .pf-c-page__header .pf-c-card {
20861
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
20862
+ }
20863
+
20848
20864
  :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button,
20849
20865
  :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button,
20850
20866
  :where(.pf-theme-dark) .pf-c-page__header .pf-c-button {
@@ -27946,6 +27962,10 @@ label.pf-c-radio, .pf-c-radio__label,
27946
27962
  --pf-global--BackgroundColor--100: #1b1d21;
27947
27963
  }
27948
27964
 
27965
+ :where(.pf-theme-dark) .pf-c-wizard__header .pf-c-card {
27966
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
27967
+ }
27968
+
27949
27969
  :where(.pf-theme-dark) .pf-c-wizard__header .pf-c-button {
27950
27970
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
27951
27971
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
@@ -32067,6 +32087,10 @@ label.pf-c-radio, .pf-c-radio__label,
32067
32087
  --pf-global--BackgroundColor--100: #1b1d21;
32068
32088
  }
32069
32089
 
32090
+ :where(.pf-theme-dark) .pf-c-about-modal-box .pf-c-card {
32091
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
32092
+ }
32093
+
32070
32094
  :where(.pf-theme-dark) .pf-c-about-modal-box .pf-c-button {
32071
32095
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
32072
32096
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);