@patternfly/react-table 4.91.5 → 4.91.8
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 +30 -0
- package/dist/umd/react-table.css +69 -1
- package/dist/umd/react-table.min.css +69 -1
- package/package.json +6 -6
- package/src/demos/Table.md +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.91.8 (2022-06-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **Table:** filterable table demo icon text spacing fix ([#7477](https://github.com/patternfly/patternfly-react/issues/7477)) ([e35387f](https://github.com/patternfly/patternfly-react/commit/e35387f42b355000ff66a79e1031eb6e9a7bb8c3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 4.91.7 (2022-06-16)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **console:** add SUSE instruction for virt-viewer ([#7445](https://github.com/patternfly/patternfly-react/issues/7445)) ([2ac5adb](https://github.com/patternfly/patternfly-react/commit/2ac5adb581d673e0687f438baeb7859125bd30d4)), closes [#7519](https://github.com/patternfly/patternfly-react/issues/7519)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## 4.91.6 (2022-06-16)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## 4.91.5 (2022-06-15)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @patternfly/react-table
|
package/dist/umd/react-table.css
CHANGED
|
@@ -5643,7 +5643,8 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5643
5643
|
--pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
5644
5644
|
--pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY: -0.0625rem;
|
|
5645
5645
|
--pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft: var(--pf-global--spacer--sm);
|
|
5646
|
-
--pf-c-dropdown__toggle--m-split-button--
|
|
5646
|
+
--pf-c-dropdown__toggle--m-split-button--child--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
5647
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
5647
5648
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-global--primary-color--100);
|
|
5648
5649
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
5649
5650
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
@@ -5651,6 +5652,18 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5651
5652
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor: var(--pf-global--primary-color--200);
|
|
5652
5653
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor: var(--pf-global--primary-color--200);
|
|
5653
5654
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
5655
|
+
--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5656
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--Color: var(--pf-global--primary-color--100);
|
|
5657
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5658
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5659
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5660
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base: var(--pf-global--BorderWidth--sm);
|
|
5661
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base: var(--pf-global--primary-color--100);
|
|
5662
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
5663
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base);
|
|
5664
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5665
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5666
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5654
5667
|
--pf-c-dropdown__toggle-icon--LineHeight: var(--pf-global--LineHeight--md);
|
|
5655
5668
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
5656
5669
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-global--spacer--md);
|
|
@@ -5755,6 +5768,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5755
5768
|
|
|
5756
5769
|
.pf-c-dropdown.pf-m-expanded {
|
|
5757
5770
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor);
|
|
5771
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth);
|
|
5758
5772
|
}
|
|
5759
5773
|
|
|
5760
5774
|
.pf-c-dropdown__toggle {
|
|
@@ -6006,6 +6020,60 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
6006
6020
|
--pf-c-dropdown__toggle--m-secondary--before--BorderColor: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderColor);
|
|
6007
6021
|
}
|
|
6008
6022
|
|
|
6023
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) {
|
|
6024
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--Color);
|
|
6025
|
+
}
|
|
6026
|
+
|
|
6027
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):hover {
|
|
6028
|
+
--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth);
|
|
6029
|
+
}
|
|
6030
|
+
|
|
6031
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):focus {
|
|
6032
|
+
--pf-c-dropdown__toggle--m-secondary--focus--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth);
|
|
6033
|
+
}
|
|
6034
|
+
|
|
6035
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):active {
|
|
6036
|
+
--pf-c-dropdown__toggle--m-secondary--active--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth);
|
|
6037
|
+
}
|
|
6038
|
+
|
|
6039
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *::before {
|
|
6040
|
+
border: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor);
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:hover {
|
|
6044
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth);
|
|
6045
|
+
}
|
|
6046
|
+
|
|
6047
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:focus {
|
|
6048
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth);
|
|
6049
|
+
}
|
|
6050
|
+
|
|
6051
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:active {
|
|
6052
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth);
|
|
6053
|
+
}
|
|
6054
|
+
|
|
6055
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:first-child::before {
|
|
6056
|
+
border-top-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6057
|
+
border-bottom-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6058
|
+
}
|
|
6059
|
+
|
|
6060
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:last-child::before {
|
|
6061
|
+
border-top-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6062
|
+
border-bottom-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6063
|
+
}
|
|
6064
|
+
|
|
6065
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:first-child)::before {
|
|
6066
|
+
border-left: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
6067
|
+
}
|
|
6068
|
+
|
|
6069
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:last-child)::before {
|
|
6070
|
+
border-right: 0;
|
|
6071
|
+
}
|
|
6072
|
+
|
|
6073
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled).pf-m-action::before {
|
|
6074
|
+
border: 0;
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6009
6077
|
.pf-c-dropdown__toggle > .pf-c-badge {
|
|
6010
6078
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft);
|
|
6011
6079
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight);
|
|
@@ -5643,7 +5643,8 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5643
5643
|
--pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
5644
5644
|
--pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY: -0.0625rem;
|
|
5645
5645
|
--pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft: var(--pf-global--spacer--sm);
|
|
5646
|
-
--pf-c-dropdown__toggle--m-split-button--
|
|
5646
|
+
--pf-c-dropdown__toggle--m-split-button--child--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
5647
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BorderRadius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
5647
5648
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-global--primary-color--100);
|
|
5648
5649
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
5649
5650
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
@@ -5651,6 +5652,18 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5651
5652
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor: var(--pf-global--primary-color--200);
|
|
5652
5653
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor: var(--pf-global--primary-color--200);
|
|
5653
5654
|
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
5655
|
+
--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5656
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--Color: var(--pf-global--primary-color--100);
|
|
5657
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5658
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5659
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5660
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base: var(--pf-global--BorderWidth--sm);
|
|
5661
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base: var(--pf-global--primary-color--100);
|
|
5662
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
5663
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base);
|
|
5664
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5665
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5666
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
5654
5667
|
--pf-c-dropdown__toggle-icon--LineHeight: var(--pf-global--LineHeight--md);
|
|
5655
5668
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
|
|
5656
5669
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-global--spacer--md);
|
|
@@ -5755,6 +5768,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5755
5768
|
|
|
5756
5769
|
.pf-c-dropdown.pf-m-expanded {
|
|
5757
5770
|
--pf-c-dropdown__toggle--m-split-button--m-primary--child--BackgroundColor: var(--pf-c-dropdown__toggle--m-split-button--m-primary--child--m-expanded--BackgroundColor);
|
|
5771
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--m-split-button--child--before--BorderWidth);
|
|
5758
5772
|
}
|
|
5759
5773
|
|
|
5760
5774
|
.pf-c-dropdown__toggle {
|
|
@@ -6006,6 +6020,60 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
6006
6020
|
--pf-c-dropdown__toggle--m-secondary--before--BorderColor: var(--pf-c-dropdown--m-expanded__toggle--m-secondary--before--BorderColor);
|
|
6007
6021
|
}
|
|
6008
6022
|
|
|
6023
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) {
|
|
6024
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--Color);
|
|
6025
|
+
}
|
|
6026
|
+
|
|
6027
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):hover {
|
|
6028
|
+
--pf-c-dropdown__toggle--m-secondary--hover--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--hover--before--BorderWidth);
|
|
6029
|
+
}
|
|
6030
|
+
|
|
6031
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):focus {
|
|
6032
|
+
--pf-c-dropdown__toggle--m-secondary--focus--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--focus--before--BorderWidth);
|
|
6033
|
+
}
|
|
6034
|
+
|
|
6035
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled):active {
|
|
6036
|
+
--pf-c-dropdown__toggle--m-secondary--active--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--active--before--BorderWidth);
|
|
6037
|
+
}
|
|
6038
|
+
|
|
6039
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *::before {
|
|
6040
|
+
border: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor);
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:hover {
|
|
6044
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--hover--BorderWidth);
|
|
6045
|
+
}
|
|
6046
|
+
|
|
6047
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:focus {
|
|
6048
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--focus--BorderWidth);
|
|
6049
|
+
}
|
|
6050
|
+
|
|
6051
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:active {
|
|
6052
|
+
--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--active--BorderWidth);
|
|
6053
|
+
}
|
|
6054
|
+
|
|
6055
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:first-child::before {
|
|
6056
|
+
border-top-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6057
|
+
border-bottom-left-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6058
|
+
}
|
|
6059
|
+
|
|
6060
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:last-child::before {
|
|
6061
|
+
border-top-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6062
|
+
border-bottom-right-radius: var(--pf-c-dropdown__toggle--m-split-button--child--BorderRadius);
|
|
6063
|
+
}
|
|
6064
|
+
|
|
6065
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:first-child)::before {
|
|
6066
|
+
border-left: var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderWidth--base) solid var(--pf-c-dropdown__toggle--m-secondary--m-split-button--child--before--BorderColor--base);
|
|
6067
|
+
}
|
|
6068
|
+
|
|
6069
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled) > *:not(:last-child)::before {
|
|
6070
|
+
border-right: 0;
|
|
6071
|
+
}
|
|
6072
|
+
|
|
6073
|
+
.pf-c-dropdown__toggle.pf-m-secondary.pf-m-split-button:not(.pf-m-disabled).pf-m-action::before {
|
|
6074
|
+
border: 0;
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6009
6077
|
.pf-c-dropdown__toggle > .pf-c-badge {
|
|
6010
6078
|
--pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft);
|
|
6011
6079
|
--pf-c-dropdown__toggle-icon--MarginRight: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.8",
|
|
4
4
|
"description": "This library provides a set of React table components for use with the PatternFly 4",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rimraf dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@patternfly/react-core": "^4.222.
|
|
35
|
-
"@patternfly/react-icons": "^4.73.
|
|
36
|
-
"@patternfly/react-styles": "^4.72.
|
|
37
|
-
"@patternfly/react-tokens": "^4.74.
|
|
34
|
+
"@patternfly/react-core": "^4.222.8",
|
|
35
|
+
"@patternfly/react-icons": "^4.73.8",
|
|
36
|
+
"@patternfly/react-styles": "^4.72.8",
|
|
37
|
+
"@patternfly/react-tokens": "^4.74.8",
|
|
38
38
|
"lodash": "^4.17.19",
|
|
39
39
|
"tslib": "^2.0.0"
|
|
40
40
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": "^16.8.0 || ^17.0.0",
|
|
47
47
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "578849aa95888275b3834c63ffac16fb41ae0a2f"
|
|
50
50
|
}
|
package/src/demos/Table.md
CHANGED
|
@@ -1872,24 +1872,25 @@ class FilterTableDemo extends React.Component {
|
|
|
1872
1872
|
buildCategoryDropdown() {
|
|
1873
1873
|
const { isCategoryDropdownOpen, currentCategory } = this.state;
|
|
1874
1874
|
|
|
1875
|
+
const categoryMenuItems = [
|
|
1876
|
+
<SelectOption key="cat1" value="Location" />,
|
|
1877
|
+
<SelectOption key="cat2" value="Name" />,
|
|
1878
|
+
<SelectOption key="cat3" value="Status" />,
|
|
1879
|
+
];
|
|
1880
|
+
|
|
1875
1881
|
return (
|
|
1876
1882
|
<ToolbarItem>
|
|
1877
|
-
<
|
|
1883
|
+
<Select
|
|
1878
1884
|
onSelect={this.onCategorySelect}
|
|
1885
|
+
selections={currentCategory}
|
|
1879
1886
|
position={DropdownPosition.left}
|
|
1880
|
-
|
|
1881
|
-
<DropdownToggle onToggle={this.onCategoryToggle} style={{ width: '100%' }}>
|
|
1882
|
-
<FilterIcon /> {currentCategory}
|
|
1883
|
-
</DropdownToggle>
|
|
1884
|
-
}
|
|
1887
|
+
onToggle={this.onCategoryToggle}
|
|
1885
1888
|
isOpen={isCategoryDropdownOpen}
|
|
1886
|
-
|
|
1887
|
-
<DropdownItem key="cat1">Location</DropdownItem>,
|
|
1888
|
-
<DropdownItem key="cat2">Name</DropdownItem>,
|
|
1889
|
-
<DropdownItem key="cat3">Status</DropdownItem>
|
|
1890
|
-
]}
|
|
1889
|
+
toggleIcon={<FilterIcon />}
|
|
1891
1890
|
style={{ width: '100%' }}
|
|
1892
|
-
|
|
1891
|
+
>
|
|
1892
|
+
{categoryMenuItems}
|
|
1893
|
+
</Select>
|
|
1893
1894
|
</ToolbarItem>
|
|
1894
1895
|
);
|
|
1895
1896
|
}
|