@patternfly/react-table 4.52.8 → 4.53.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 4.53.0 (2022-01-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * **Dropdown:** add plain-text variant support ([#6721](https://github.com/patternfly/patternfly-react/issues/6721)) ([e5000e3](https://github.com/patternfly/patternfly-react/commit/e5000e36194e36b9c6ae49efdb0a513125efcb70))
12
+
13
+
14
+
15
+
16
+
17
+ ## 4.52.11 (2022-01-10)
18
+
19
+ **Note:** Version bump only for package @patternfly/react-table
20
+
21
+
22
+
23
+
24
+
25
+ ## 4.52.10 (2022-01-10)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **Tabs:** allow href navigation from tabs ([#6755](https://github.com/patternfly/patternfly-react/issues/6755)) ([290d89a](https://github.com/patternfly/patternfly-react/commit/290d89aed2dd4517db9859cc80ef2745cb8a779b))
31
+
32
+
33
+
34
+
35
+
36
+ ## 4.52.9 (2022-01-10)
37
+
38
+ **Note:** Version bump only for package @patternfly/react-table
39
+
40
+
41
+
42
+
43
+
6
44
  ## 4.52.8 (2022-01-07)
7
45
 
8
46
  **Note:** Version bump only for package @patternfly/react-table
@@ -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;
@@ -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;