@patternfly/react-table 4.94.4 → 4.94.7

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,33 @@
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.94.7 (2022-07-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **Switch:** aria labelledby to update with change ([#7557](https://github.com/patternfly/patternfly-react/issues/7557)) ([9647a0c](https://github.com/patternfly/patternfly-react/commit/9647a0c7f7eb2174f006774b4406408bd065fddc))
12
+
13
+
14
+
15
+
16
+
17
+ ## 4.94.6 (2022-07-20)
18
+
19
+ **Note:** Version bump only for package @patternfly/react-table
20
+
21
+
22
+
23
+
24
+
25
+ ## 4.94.5 (2022-07-19)
26
+
27
+ **Note:** Version bump only for package @patternfly/react-table
28
+
29
+
30
+
31
+
32
+
6
33
  ## 4.94.4 (2022-07-15)
7
34
 
8
35
 
@@ -17861,6 +17861,16 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
17861
17861
  --pf-c-modal-box--BackgroundColor: var(--pf-global--BackgroundColor--300);
17862
17862
  }
17863
17863
 
17864
+ .pf-l-bullseye {
17865
+ --pf-l-bullseye--Padding: 0;
17866
+ display: flex;
17867
+ align-items: center;
17868
+ justify-content: center;
17869
+ height: 100%;
17870
+ padding: var(--pf-l-bullseye--Padding);
17871
+ margin: 0;
17872
+ }
17873
+
17864
17874
  .pf-c-multiple-file-upload {
17865
17875
  --pf-c-multiple-file-upload--GridTemplateColumns: 1fr;
17866
17876
  --pf-c-multiple-file-upload--Gap: var(--pf-global--spacer--lg);
@@ -18045,16 +18055,6 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
18045
18055
  color: var(--pf-c-multiple-file-upload__status-item-progress-size--Color);
18046
18056
  }
18047
18057
 
18048
- .pf-l-bullseye {
18049
- --pf-l-bullseye--Padding: 0;
18050
- display: flex;
18051
- align-items: center;
18052
- justify-content: center;
18053
- height: 100%;
18054
- padding: var(--pf-l-bullseye--Padding);
18055
- margin: 0;
18056
- }
18057
-
18058
18058
  .pf-c-nav {
18059
18059
  --pf-c-nav--Transition: var(--pf-global--Transition);
18060
18060
  --pf-c-nav--m-light__item--before--BorderColor: var(--pf-global--BorderColor--300);
@@ -31537,18 +31537,6 @@ label.pf-c-tree-view__node-text {
31537
31537
  grid-gap: var(--pf-l-grid--m-gutter--GridGap);
31538
31538
  }
31539
31539
 
31540
- .pf-l-level {
31541
- --pf-l-level--m-gutter--MarginRight: var(--pf-global--gutter);
31542
- display: flex;
31543
- flex-wrap: wrap;
31544
- align-items: center;
31545
- justify-content: space-between;
31546
- }
31547
-
31548
- .pf-l-level.pf-m-gutter > *:not(:last-child) {
31549
- margin-right: var(--pf-l-level--m-gutter--MarginRight);
31550
- }
31551
-
31552
31540
  .pf-l-split {
31553
31541
  --pf-l-split--m-gutter--MarginRight: var(--pf-global--gutter);
31554
31542
  display: flex;
@@ -31568,6 +31556,18 @@ label.pf-c-tree-view__node-text {
31568
31556
  margin-right: var(--pf-l-split--m-gutter--MarginRight);
31569
31557
  }
31570
31558
 
31559
+ .pf-l-level {
31560
+ --pf-l-level--m-gutter--MarginRight: var(--pf-global--gutter);
31561
+ display: flex;
31562
+ flex-wrap: wrap;
31563
+ align-items: center;
31564
+ justify-content: space-between;
31565
+ }
31566
+
31567
+ .pf-l-level.pf-m-gutter > *:not(:last-child) {
31568
+ margin-right: var(--pf-l-level--m-gutter--MarginRight);
31569
+ }
31570
+
31571
31571
  .pf-l-stack {
31572
31572
  --pf-l-stack--m-gutter--MarginBottom: var(--pf-global--gutter);
31573
31573
  display: flex;
@@ -4829,7 +4829,7 @@
4829
4829
  }
4830
4830
  render() {
4831
4831
  /* eslint-disable @typescript-eslint/no-unused-vars */
4832
- const _a = this.props, { className, children, isHovered, context, onClick, component, role, isDisabled, isAriaDisabled, isPlainText, index, href, tooltip, tooltipProps, id, componentID, listItemClassName, additionalChild, customChild, enterTriggersArrowDown, icon, autoFocus, styleChildren, description, inoperableEvents } = _a, additionalProps = __rest$1(_a, ["className", "children", "isHovered", "context", "onClick", "component", "role", "isDisabled", "isAriaDisabled", "isPlainText", "index", "href", "tooltip", "tooltipProps", "id", "componentID", "listItemClassName", "additionalChild", "customChild", "enterTriggersArrowDown", "icon", "autoFocus", "styleChildren", "description", "inoperableEvents"]);
4832
+ const _a = this.props, { className, children, context, onClick, component, role, isDisabled, isAriaDisabled, isPlainText, index, href, tooltip, tooltipProps, id, componentID, listItemClassName, additionalChild, customChild, enterTriggersArrowDown, icon, autoFocus, styleChildren, description, inoperableEvents } = _a, additionalProps = __rest$1(_a, ["className", "children", "context", "onClick", "component", "role", "isDisabled", "isAriaDisabled", "isPlainText", "index", "href", "tooltip", "tooltipProps", "id", "componentID", "listItemClassName", "additionalChild", "customChild", "enterTriggersArrowDown", "icon", "autoFocus", "styleChildren", "description", "inoperableEvents"]);
4833
4833
  /* eslint-enable @typescript-eslint/no-unused-vars */
4834
4834
  let classes = css(icon && styles$8.modifiers.icon, isAriaDisabled && styles$8.modifiers.ariaDisabled, className);
4835
4835
  if (component === 'a') {
@@ -4880,7 +4880,6 @@
4880
4880
  InternalDropdownItem.displayName = 'InternalDropdownItem';
4881
4881
  InternalDropdownItem.defaultProps = {
4882
4882
  className: '',
4883
- isHovered: false,
4884
4883
  component: 'a',
4885
4884
  role: 'none',
4886
4885
  isDisabled: false,
@@ -4901,12 +4900,12 @@
4901
4900
  };
4902
4901
 
4903
4902
  const DropdownItem = (_a) => {
4904
- var { children, className, component = 'a', isDisabled = false, isAriaDisabled = false, isPlainText = false, isHovered = false, href, tooltip, tooltipProps = {}, listItemClassName, onClick,
4903
+ var { children, className, component = 'a', isDisabled = false, isAriaDisabled = false, isPlainText = false, href, tooltip, tooltipProps = {}, listItemClassName, onClick,
4905
4904
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
4906
4905
  ref, // Types of Ref are different for React.FunctionComponent vs React.Component
4907
- additionalChild, customChild, tabIndex = -1, icon = null, autoFocus, description = null, styleChildren, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["children", "className", "component", "isDisabled", "isAriaDisabled", "isPlainText", "isHovered", "href", "tooltip", "tooltipProps", "listItemClassName", "onClick", "ref", "additionalChild", "customChild", "tabIndex", "icon", "autoFocus", "description", "styleChildren", "ouiaId", "ouiaSafe"]);
4906
+ additionalChild, customChild, tabIndex = -1, icon = null, autoFocus, description = null, styleChildren, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["children", "className", "component", "isDisabled", "isAriaDisabled", "isPlainText", "href", "tooltip", "tooltipProps", "listItemClassName", "onClick", "ref", "additionalChild", "customChild", "tabIndex", "icon", "autoFocus", "description", "styleChildren", "ouiaId", "ouiaSafe"]);
4908
4907
  const ouiaProps = useOUIAProps(DropdownItem.displayName, ouiaId, ouiaSafe);
4909
- return (React__namespace.createElement(DropdownArrowContext.Consumer, null, context => (React__namespace.createElement(InternalDropdownItem, Object.assign({ context: context, role: "menuitem", tabIndex: tabIndex, className: className, component: component, isDisabled: isDisabled, isAriaDisabled: isAriaDisabled, isPlainText: isPlainText, isHovered: isHovered, href: href, tooltip: tooltip, tooltipProps: tooltipProps, listItemClassName: listItemClassName, onClick: onClick, additionalChild: additionalChild, customChild: customChild, icon: icon, autoFocus: autoFocus, styleChildren: styleChildren, description: description }, ouiaProps, props), children))));
4908
+ return (React__namespace.createElement(DropdownArrowContext.Consumer, null, context => (React__namespace.createElement(InternalDropdownItem, Object.assign({ context: context, role: "menuitem", tabIndex: tabIndex, className: className, component: component, isDisabled: isDisabled, isAriaDisabled: isAriaDisabled, isPlainText: isPlainText, href: href, tooltip: tooltip, tooltipProps: tooltipProps, listItemClassName: listItemClassName, onClick: onClick, additionalChild: additionalChild, customChild: customChild, icon: icon, autoFocus: autoFocus, styleChildren: styleChildren, description: description }, ouiaProps, props), children))));
4910
4909
  };
4911
4910
  DropdownItem.displayName = 'DropdownItem';
4912
4911