@patternfly/react-table 4.52.9 → 4.53.1

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.
@@ -4037,9 +4037,9 @@
4037
4037
  }
4038
4038
  }
4039
4039
  render() {
4040
- const _a = this.props, { children, className, direction, dropdownItems, isOpen, isPlain, isGrouped, isFullHeight,
4040
+ const _a = this.props, { children, className, direction, dropdownItems, isOpen, isPlain, isText, isGrouped, isFullHeight,
4041
4041
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
4042
- onSelect, position, toggle, autoFocus, menuAppendTo } = _a, props = __rest$1(_a, ["children", "className", "direction", "dropdownItems", "isOpen", "isPlain", "isGrouped", "isFullHeight", "onSelect", "position", "toggle", "autoFocus", "menuAppendTo"]);
4042
+ onSelect, position, toggle, autoFocus, menuAppendTo } = _a, props = __rest$1(_a, ["children", "className", "direction", "dropdownItems", "isOpen", "isPlain", "isText", "isGrouped", "isFullHeight", "onSelect", "position", "toggle", "autoFocus", "menuAppendTo"]);
4043
4043
  const id = toggle.props.id || `pf-dropdown-toggle-id-${DropdownWithContext.currentId++}`;
4044
4044
  let component;
4045
4045
  let renderedContent;
@@ -4065,6 +4065,7 @@
4065
4065
  isOpen,
4066
4066
  id,
4067
4067
  isPlain,
4068
+ isText,
4068
4069
  'aria-haspopup': ariaHasPopup,
4069
4070
  onEnter: () => {
4070
4071
  this.onEnter();
@@ -4090,6 +4091,7 @@
4090
4091
  dropdownItems: [],
4091
4092
  isOpen: false,
4092
4093
  isPlain: false,
4094
+ isText: false,
4093
4095
  isGrouped: false,
4094
4096
  position: DropdownPosition.left,
4095
4097
  direction: DropdownDirection.down,
@@ -4421,12 +4423,12 @@
4421
4423
  };
4422
4424
  }
4423
4425
  render() {
4424
- const _a = this.props, { className, children, isOpen, isDisabled, isPlain, isPrimary, isSplitButton, toggleVariant, onToggle, 'aria-haspopup': ariaHasPopup,
4426
+ const _a = this.props, { className, children, isOpen, isDisabled, isPlain, isText, isPrimary, isSplitButton, toggleVariant, onToggle, 'aria-haspopup': ariaHasPopup,
4425
4427
  /* eslint-disable @typescript-eslint/no-unused-vars */
4426
4428
  isActive, bubbleEvent, onEnter, parentRef, getMenuRef,
4427
4429
  /* eslint-enable @typescript-eslint/no-unused-vars */
4428
- id, type } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isDisabled", "isPlain", "isPrimary", "isSplitButton", "toggleVariant", "onToggle", 'aria-haspopup', "isActive", "bubbleEvent", "onEnter", "parentRef", "getMenuRef", "id", "type"]);
4429
- 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, buttonVariantStyles[toggleVariant], className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
4430
+ id, type } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isDisabled", "isPlain", "isText", "isPrimary", "isSplitButton", "toggleVariant", "onToggle", 'aria-haspopup', "isActive", "bubbleEvent", "onEnter", "parentRef", "getMenuRef", "id", "type"]);
4431
+ 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, isText && _default$e.modifiers.text, isPrimary && _default$e.modifiers.primary, buttonVariantStyles[toggleVariant], className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
4430
4432
  }
4431
4433
  }
4432
4434
  Toggle.displayName = 'Toggle';
@@ -4436,6 +4438,7 @@
4436
4438
  isActive: false,
4437
4439
  isDisabled: false,
4438
4440
  isPlain: false,
4441
+ isText: false,
4439
4442
  isPrimary: false,
4440
4443
  isSplitButton: false,
4441
4444
  onToggle: () => { },
@@ -14442,6 +14442,7 @@ ul.pf-c-list {
14442
14442
  }
14443
14443
 
14444
14444
  .pf-c-login__main {
14445
+ align-self: start;
14445
14446
  margin-bottom: var(--pf-c-login__main--MarginBottom);
14446
14447
  background-color: var(--pf-c-login__main--BackgroundColor);
14447
14448
  grid-area: main;
@@ -17408,106 +17409,6 @@ ul.pf-c-list {
17408
17409
  margin: 0;
17409
17410
  }
17410
17411
 
17411
- .pf-c-notification-badge {
17412
- --pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
17413
- --pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
17414
- --pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
17415
- --pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
17416
- --pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
17417
- --pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
17418
- --pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
17419
- --pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
17420
- --pf-c-notification-badge--after--BorderColor: transparent;
17421
- --pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
17422
- --pf-c-notification-badge--after--BorderWidth: 0;
17423
- --pf-c-notification-badge--after--Top: 0;
17424
- --pf-c-notification-badge--after--Right: 0;
17425
- --pf-c-notification-badge--after--Width: auto;
17426
- --pf-c-notification-badge--after--Height: auto;
17427
- --pf-c-notification-badge--after--BackgroundColor: transparent;
17428
- --pf-c-notification-badge--after--TranslateX: 0;
17429
- --pf-c-notification-badge--after--TranslateY: 0;
17430
- --pf-c-notification-badge__i--Width: auto;
17431
- --pf-c-notification-badge__i--Height: auto;
17432
- --pf-c-notification-badge--m-read--after--BorderColor: transparent;
17433
- --pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
17434
- --pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
17435
- --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
17436
- --pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
17437
- --pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
17438
- --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
17439
- --pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
17440
- --pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
17441
- --pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
17442
- position: relative;
17443
- display: inline-block;
17444
- padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
17445
- margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
17446
- background-color: var(--pf-c-notification-badge--after--BackgroundColor);
17447
- border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17448
- }
17449
-
17450
- .pf-c-notification-badge::before {
17451
- position: absolute;
17452
- top: var(--pf-c-notification-badge--after--Top);
17453
- right: var(--pf-c-notification-badge--after--Right);
17454
- bottom: 0;
17455
- left: 0;
17456
- width: var(--pf-c-notification-badge--after--Width);
17457
- height: var(--pf-c-notification-badge--after--Height);
17458
- content: "";
17459
- border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
17460
- border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17461
- transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
17462
- }
17463
-
17464
- .pf-c-notification-badge > i {
17465
- width: var(--pf-c-notification-badge__i--Width);
17466
- height: var(--pf-c-notification-badge__i--Height);
17467
- }
17468
-
17469
- .pf-c-notification-badge > * {
17470
- position: relative;
17471
- }
17472
-
17473
- .pf-c-notification-badge .pf-icon-attention-bell,
17474
- .pf-c-notification-badge .pf-icon-bell {
17475
- display: inline-block;
17476
- line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
17477
- }
17478
-
17479
- .pf-c-notification-badge .pf-icon-attention-bell::before,
17480
- .pf-c-notification-badge .pf-icon-bell::before {
17481
- vertical-align: bottom;
17482
- }
17483
-
17484
- .pf-c-notification-badge.pf-m-read {
17485
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
17486
- --pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
17487
- }
17488
-
17489
- .pf-c-notification-badge.pf-m-unread {
17490
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
17491
- color: var(--pf-c-notification-badge--m-unread--Color);
17492
- }
17493
-
17494
- .pf-c-notification-badge.pf-m-unread:hover {
17495
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
17496
- }
17497
-
17498
- .pf-c-notification-badge.pf-m-attention {
17499
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
17500
- color: var(--pf-c-notification-badge--m-attention--Color);
17501
- }
17502
-
17503
- .pf-c-notification-badge.pf-m-attention:hover {
17504
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
17505
- }
17506
-
17507
- .pf-c-notification-badge__count {
17508
- margin-left: var(--pf-c-notification-badge__count--MarginLeft);
17509
- }
17510
-
17511
17412
  .pf-c-notification-drawer {
17512
17413
  --pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--200);
17513
17414
  --pf-c-notification-drawer__header--PaddingTop: var(--pf-global--spacer--md);
@@ -17786,6 +17687,106 @@ ul.pf-c-list {
17786
17687
  transform: rotate(var(--pf-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
17787
17688
  }
17788
17689
 
17690
+ .pf-c-notification-badge {
17691
+ --pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
17692
+ --pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
17693
+ --pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
17694
+ --pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
17695
+ --pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
17696
+ --pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
17697
+ --pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
17698
+ --pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
17699
+ --pf-c-notification-badge--after--BorderColor: transparent;
17700
+ --pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
17701
+ --pf-c-notification-badge--after--BorderWidth: 0;
17702
+ --pf-c-notification-badge--after--Top: 0;
17703
+ --pf-c-notification-badge--after--Right: 0;
17704
+ --pf-c-notification-badge--after--Width: auto;
17705
+ --pf-c-notification-badge--after--Height: auto;
17706
+ --pf-c-notification-badge--after--BackgroundColor: transparent;
17707
+ --pf-c-notification-badge--after--TranslateX: 0;
17708
+ --pf-c-notification-badge--after--TranslateY: 0;
17709
+ --pf-c-notification-badge__i--Width: auto;
17710
+ --pf-c-notification-badge__i--Height: auto;
17711
+ --pf-c-notification-badge--m-read--after--BorderColor: transparent;
17712
+ --pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
17713
+ --pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
17714
+ --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
17715
+ --pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
17716
+ --pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
17717
+ --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
17718
+ --pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
17719
+ --pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
17720
+ --pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
17721
+ position: relative;
17722
+ display: inline-block;
17723
+ padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
17724
+ margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
17725
+ background-color: var(--pf-c-notification-badge--after--BackgroundColor);
17726
+ border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17727
+ }
17728
+
17729
+ .pf-c-notification-badge::before {
17730
+ position: absolute;
17731
+ top: var(--pf-c-notification-badge--after--Top);
17732
+ right: var(--pf-c-notification-badge--after--Right);
17733
+ bottom: 0;
17734
+ left: 0;
17735
+ width: var(--pf-c-notification-badge--after--Width);
17736
+ height: var(--pf-c-notification-badge--after--Height);
17737
+ content: "";
17738
+ border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
17739
+ border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17740
+ transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
17741
+ }
17742
+
17743
+ .pf-c-notification-badge > i {
17744
+ width: var(--pf-c-notification-badge__i--Width);
17745
+ height: var(--pf-c-notification-badge__i--Height);
17746
+ }
17747
+
17748
+ .pf-c-notification-badge > * {
17749
+ position: relative;
17750
+ }
17751
+
17752
+ .pf-c-notification-badge .pf-icon-attention-bell,
17753
+ .pf-c-notification-badge .pf-icon-bell {
17754
+ display: inline-block;
17755
+ line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
17756
+ }
17757
+
17758
+ .pf-c-notification-badge .pf-icon-attention-bell::before,
17759
+ .pf-c-notification-badge .pf-icon-bell::before {
17760
+ vertical-align: bottom;
17761
+ }
17762
+
17763
+ .pf-c-notification-badge.pf-m-read {
17764
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
17765
+ --pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
17766
+ }
17767
+
17768
+ .pf-c-notification-badge.pf-m-unread {
17769
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
17770
+ color: var(--pf-c-notification-badge--m-unread--Color);
17771
+ }
17772
+
17773
+ .pf-c-notification-badge.pf-m-unread:hover {
17774
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
17775
+ }
17776
+
17777
+ .pf-c-notification-badge.pf-m-attention {
17778
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
17779
+ color: var(--pf-c-notification-badge--m-attention--Color);
17780
+ }
17781
+
17782
+ .pf-c-notification-badge.pf-m-attention:hover {
17783
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
17784
+ }
17785
+
17786
+ .pf-c-notification-badge__count {
17787
+ margin-left: var(--pf-c-notification-badge__count--MarginLeft);
17788
+ }
17789
+
17789
17790
  .pf-c-options-menu {
17790
17791
  --pf-c-options-menu__toggle--BackgroundColor: transparent;
17791
17792
  --pf-c-options-menu__toggle--PaddingTop: var(--pf-global--spacer--form-element);