@patternfly/react-table 4.67.8 → 4.67.11
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 +24 -0
- package/dist/umd/react-table.css +109 -108
- package/dist/umd/react-table.js +19 -11
- package/dist/umd/react-table.min.css +82 -81
- package/dist/umd/react-table.min.js +4 -5
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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.67.11 (2022-03-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 4.67.10 (2022-03-02)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 4.67.9 (2022-03-01)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## 4.67.8 (2022-02-24)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @patternfly/react-table
|
package/dist/umd/react-table.css
CHANGED
|
@@ -7005,6 +7005,23 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
7005
7005
|
transform: rotate(720deg);
|
|
7006
7006
|
}
|
|
7007
7007
|
}
|
|
7008
|
+
.pf-c-backdrop {
|
|
7009
|
+
--pf-c-backdrop--Position: fixed;
|
|
7010
|
+
--pf-c-backdrop--ZIndex: var(--pf-global--ZIndex--lg);
|
|
7011
|
+
--pf-c-backdrop--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);
|
|
7012
|
+
position: var(--pf-c-backdrop--Position);
|
|
7013
|
+
top: 0;
|
|
7014
|
+
left: 0;
|
|
7015
|
+
z-index: var(--pf-c-backdrop--ZIndex);
|
|
7016
|
+
width: 100%;
|
|
7017
|
+
height: 100%;
|
|
7018
|
+
background-color: var(--pf-c-backdrop--BackgroundColor);
|
|
7019
|
+
}
|
|
7020
|
+
|
|
7021
|
+
.pf-c-backdrop__open {
|
|
7022
|
+
overflow: hidden;
|
|
7023
|
+
}
|
|
7024
|
+
|
|
7008
7025
|
.pf-c-accordion {
|
|
7009
7026
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
7010
7027
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -7639,23 +7656,6 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
7639
7656
|
display: none !important;
|
|
7640
7657
|
}
|
|
7641
7658
|
}
|
|
7642
|
-
.pf-c-backdrop {
|
|
7643
|
-
--pf-c-backdrop--Position: fixed;
|
|
7644
|
-
--pf-c-backdrop--ZIndex: var(--pf-global--ZIndex--lg);
|
|
7645
|
-
--pf-c-backdrop--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);
|
|
7646
|
-
position: var(--pf-c-backdrop--Position);
|
|
7647
|
-
top: 0;
|
|
7648
|
-
left: 0;
|
|
7649
|
-
z-index: var(--pf-c-backdrop--ZIndex);
|
|
7650
|
-
width: 100%;
|
|
7651
|
-
height: 100%;
|
|
7652
|
-
background-color: var(--pf-c-backdrop--BackgroundColor);
|
|
7653
|
-
}
|
|
7654
|
-
|
|
7655
|
-
.pf-c-backdrop__open {
|
|
7656
|
-
overflow: hidden;
|
|
7657
|
-
}
|
|
7658
|
-
|
|
7659
7659
|
.pf-c-app-launcher {
|
|
7660
7660
|
--pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
7661
7661
|
--pf-c-app-launcher__menu--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
@@ -9063,85 +9063,6 @@ button.pf-c-breadcrumb__link {
|
|
|
9063
9063
|
font-weight: var(--pf-global--FontWeight--normal);
|
|
9064
9064
|
}
|
|
9065
9065
|
|
|
9066
|
-
.pf-c-chip-group {
|
|
9067
|
-
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
9068
|
-
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
9069
|
-
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
9070
|
-
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
9071
|
-
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
9072
|
-
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
9073
|
-
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
9074
|
-
}
|
|
9075
|
-
|
|
9076
|
-
.pf-c-chip-group {
|
|
9077
|
-
color: var(--pf-global--Color--100);
|
|
9078
|
-
--pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9079
|
-
--pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
|
|
9080
|
-
--pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
|
|
9081
|
-
--pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
|
|
9082
|
-
--pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
|
|
9083
|
-
--pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
|
|
9084
|
-
--pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
9085
|
-
--pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
9086
|
-
--pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);
|
|
9087
|
-
--pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);
|
|
9088
|
-
--pf-c-chip-group__label--MaxWidth: 18ch;
|
|
9089
|
-
--pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
|
|
9090
|
-
--pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9091
|
-
--pf-c-chip-group__list-item--MarginRight: var(--pf-global--spacer--xs);
|
|
9092
|
-
--pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
|
|
9093
|
-
}
|
|
9094
|
-
|
|
9095
|
-
.pf-c-chip-group.pf-m-category {
|
|
9096
|
-
padding-top: var(--pf-c-chip-group--m-category--PaddingTop);
|
|
9097
|
-
padding-right: var(--pf-c-chip-group--m-category--PaddingRight);
|
|
9098
|
-
padding-bottom: var(--pf-c-chip-group--m-category--PaddingBottom);
|
|
9099
|
-
padding-left: var(--pf-c-chip-group--m-category--PaddingLeft);
|
|
9100
|
-
background-color: var(--pf-c-chip-group--m-category--BackgroundColor);
|
|
9101
|
-
border-radius: var(--pf-c-chip-group--m-category--BorderRadius);
|
|
9102
|
-
}
|
|
9103
|
-
|
|
9104
|
-
.pf-c-chip-group__main {
|
|
9105
|
-
display: flex;
|
|
9106
|
-
flex: 1;
|
|
9107
|
-
flex-wrap: wrap;
|
|
9108
|
-
align-items: baseline;
|
|
9109
|
-
}
|
|
9110
|
-
|
|
9111
|
-
.pf-c-chip-group__list {
|
|
9112
|
-
margin-right: var(--pf-c-chip-group__list--MarginRight);
|
|
9113
|
-
margin-bottom: var(--pf-c-chip-group__list--MarginBottom);
|
|
9114
|
-
}
|
|
9115
|
-
|
|
9116
|
-
.pf-c-chip-group,
|
|
9117
|
-
.pf-c-chip-group__list {
|
|
9118
|
-
display: inline-flex;
|
|
9119
|
-
flex-wrap: wrap;
|
|
9120
|
-
align-items: center;
|
|
9121
|
-
}
|
|
9122
|
-
|
|
9123
|
-
.pf-c-chip-group__list-item {
|
|
9124
|
-
display: inline-flex;
|
|
9125
|
-
margin-right: var(--pf-c-chip-group__list-item--MarginRight);
|
|
9126
|
-
margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
|
|
9127
|
-
}
|
|
9128
|
-
|
|
9129
|
-
.pf-c-chip-group__label {
|
|
9130
|
-
overflow: hidden;
|
|
9131
|
-
text-overflow: ellipsis;
|
|
9132
|
-
white-space: nowrap;
|
|
9133
|
-
max-width: var(--pf-c-chip-group__label--MaxWidth);
|
|
9134
|
-
margin-right: var(--pf-c-chip-group__label--MarginRight);
|
|
9135
|
-
font-size: var(--pf-c-chip-group__label--FontSize);
|
|
9136
|
-
}
|
|
9137
|
-
|
|
9138
|
-
.pf-c-chip-group__close {
|
|
9139
|
-
display: flex;
|
|
9140
|
-
align-self: flex-start;
|
|
9141
|
-
margin-top: var(--pf-c-chip-group__close--MarginTop);
|
|
9142
|
-
margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
|
|
9143
|
-
}
|
|
9144
|
-
|
|
9145
9066
|
.pf-c-chip {
|
|
9146
9067
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
9147
9068
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -9247,6 +9168,85 @@ button.pf-c-breadcrumb__link {
|
|
|
9247
9168
|
margin-left: var(--pf-c-chip__icon--MarginLeft);
|
|
9248
9169
|
}
|
|
9249
9170
|
|
|
9171
|
+
.pf-c-chip-group {
|
|
9172
|
+
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
9173
|
+
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
9174
|
+
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
9175
|
+
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
9176
|
+
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
9177
|
+
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
9178
|
+
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
9179
|
+
}
|
|
9180
|
+
|
|
9181
|
+
.pf-c-chip-group {
|
|
9182
|
+
color: var(--pf-global--Color--100);
|
|
9183
|
+
--pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9184
|
+
--pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
|
|
9185
|
+
--pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
|
|
9186
|
+
--pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
|
|
9187
|
+
--pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
|
|
9188
|
+
--pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
|
|
9189
|
+
--pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
9190
|
+
--pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
9191
|
+
--pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);
|
|
9192
|
+
--pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);
|
|
9193
|
+
--pf-c-chip-group__label--MaxWidth: 18ch;
|
|
9194
|
+
--pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
|
|
9195
|
+
--pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9196
|
+
--pf-c-chip-group__list-item--MarginRight: var(--pf-global--spacer--xs);
|
|
9197
|
+
--pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
|
|
9198
|
+
}
|
|
9199
|
+
|
|
9200
|
+
.pf-c-chip-group.pf-m-category {
|
|
9201
|
+
padding-top: var(--pf-c-chip-group--m-category--PaddingTop);
|
|
9202
|
+
padding-right: var(--pf-c-chip-group--m-category--PaddingRight);
|
|
9203
|
+
padding-bottom: var(--pf-c-chip-group--m-category--PaddingBottom);
|
|
9204
|
+
padding-left: var(--pf-c-chip-group--m-category--PaddingLeft);
|
|
9205
|
+
background-color: var(--pf-c-chip-group--m-category--BackgroundColor);
|
|
9206
|
+
border-radius: var(--pf-c-chip-group--m-category--BorderRadius);
|
|
9207
|
+
}
|
|
9208
|
+
|
|
9209
|
+
.pf-c-chip-group__main {
|
|
9210
|
+
display: flex;
|
|
9211
|
+
flex: 1;
|
|
9212
|
+
flex-wrap: wrap;
|
|
9213
|
+
align-items: baseline;
|
|
9214
|
+
}
|
|
9215
|
+
|
|
9216
|
+
.pf-c-chip-group__list {
|
|
9217
|
+
margin-right: var(--pf-c-chip-group__list--MarginRight);
|
|
9218
|
+
margin-bottom: var(--pf-c-chip-group__list--MarginBottom);
|
|
9219
|
+
}
|
|
9220
|
+
|
|
9221
|
+
.pf-c-chip-group,
|
|
9222
|
+
.pf-c-chip-group__list {
|
|
9223
|
+
display: inline-flex;
|
|
9224
|
+
flex-wrap: wrap;
|
|
9225
|
+
align-items: center;
|
|
9226
|
+
}
|
|
9227
|
+
|
|
9228
|
+
.pf-c-chip-group__list-item {
|
|
9229
|
+
display: inline-flex;
|
|
9230
|
+
margin-right: var(--pf-c-chip-group__list-item--MarginRight);
|
|
9231
|
+
margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
|
|
9232
|
+
}
|
|
9233
|
+
|
|
9234
|
+
.pf-c-chip-group__label {
|
|
9235
|
+
overflow: hidden;
|
|
9236
|
+
text-overflow: ellipsis;
|
|
9237
|
+
white-space: nowrap;
|
|
9238
|
+
max-width: var(--pf-c-chip-group__label--MaxWidth);
|
|
9239
|
+
margin-right: var(--pf-c-chip-group__label--MarginRight);
|
|
9240
|
+
font-size: var(--pf-c-chip-group__label--FontSize);
|
|
9241
|
+
}
|
|
9242
|
+
|
|
9243
|
+
.pf-c-chip-group__close {
|
|
9244
|
+
display: flex;
|
|
9245
|
+
align-self: flex-start;
|
|
9246
|
+
margin-top: var(--pf-c-chip-group__close--MarginTop);
|
|
9247
|
+
margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
|
|
9248
|
+
}
|
|
9249
|
+
|
|
9250
9250
|
.pf-c-clipboard-copy {
|
|
9251
9251
|
--pf-c-clipboard-copy__toggle-icon--Transition: .2s ease-in 0s;
|
|
9252
9252
|
--pf-c-clipboard-copy--m-expanded__toggle-icon--Rotate: 90deg;
|
|
@@ -16755,6 +16755,16 @@ ul.pf-c-list {
|
|
|
16755
16755
|
--pf-c-modal-box__footer--c-button--MarginRight: var(--pf-c-modal-box__footer--c-button--sm--MarginRight);
|
|
16756
16756
|
}
|
|
16757
16757
|
}
|
|
16758
|
+
.pf-l-bullseye {
|
|
16759
|
+
--pf-l-bullseye--Padding: 0;
|
|
16760
|
+
display: flex;
|
|
16761
|
+
align-items: center;
|
|
16762
|
+
justify-content: center;
|
|
16763
|
+
height: 100%;
|
|
16764
|
+
padding: var(--pf-l-bullseye--Padding);
|
|
16765
|
+
margin: 0;
|
|
16766
|
+
}
|
|
16767
|
+
|
|
16758
16768
|
.pf-c-multiple-file-upload {
|
|
16759
16769
|
--pf-c-multiple-file-upload--GridTemplateColumns: 1fr;
|
|
16760
16770
|
--pf-c-multiple-file-upload--Gap: var(--pf-global--spacer--lg);
|
|
@@ -16939,16 +16949,6 @@ ul.pf-c-list {
|
|
|
16939
16949
|
color: var(--pf-c-multiple-file-upload__status-item-progress-size--Color);
|
|
16940
16950
|
}
|
|
16941
16951
|
|
|
16942
|
-
.pf-l-bullseye {
|
|
16943
|
-
--pf-l-bullseye--Padding: 0;
|
|
16944
|
-
display: flex;
|
|
16945
|
-
align-items: center;
|
|
16946
|
-
justify-content: center;
|
|
16947
|
-
height: 100%;
|
|
16948
|
-
padding: var(--pf-l-bullseye--Padding);
|
|
16949
|
-
margin: 0;
|
|
16950
|
-
}
|
|
16951
|
-
|
|
16952
16952
|
.pf-c-nav {
|
|
16953
16953
|
--pf-c-nav--Transition: var(--pf-global--Transition);
|
|
16954
16954
|
--pf-c-nav--m-light__item--before--BorderColor: var(--pf-global--BorderColor--300);
|
|
@@ -20812,7 +20812,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
20812
20812
|
--pf-c-select__toggle--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
20813
20813
|
--pf-c-select__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
20814
20814
|
--pf-c-select__toggle--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
20815
|
-
--pf-c-select__toggle--before--BorderWidth:
|
|
20815
|
+
--pf-c-select__toggle--before--BorderWidth: initial;
|
|
20816
20816
|
--pf-c-select__toggle--before--BorderTopColor: var(--pf-global--BorderColor--300);
|
|
20817
20817
|
--pf-c-select__toggle--before--BorderRightColor: var(--pf-global--BorderColor--300);
|
|
20818
20818
|
--pf-c-select__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--200);
|
|
@@ -21031,6 +21031,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
21031
21031
|
}
|
|
21032
21032
|
|
|
21033
21033
|
.pf-c-select__toggle::before {
|
|
21034
|
+
--pf-c-select__toggle--before--BorderWidth-base: var(--pf-c-select__toggle--before--BorderTopWidth) var(--pf-c-select__toggle--before--BorderRightWidth) var(--pf-c-select__toggle--before--BorderBottomWidth) var(--pf-c-select__toggle--before--BorderLeftWidth);
|
|
21034
21035
|
position: absolute;
|
|
21035
21036
|
top: 0;
|
|
21036
21037
|
right: 0;
|
|
@@ -21039,7 +21040,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
21039
21040
|
content: "";
|
|
21040
21041
|
border-color: var(--pf-c-select__toggle--before--BorderTopColor) var(--pf-c-select__toggle--before--BorderRightColor) var(--pf-c-select__toggle--before--BorderBottomColor) var(--pf-c-select__toggle--before--BorderLeftColor);
|
|
21041
21042
|
border-style: solid;
|
|
21042
|
-
border-width: var(--pf-c-select__toggle--before--BorderWidth);
|
|
21043
|
+
border-width: var(--pf-c-select__toggle--before--BorderWidth, var(--pf-c-select__toggle--before--BorderWidth-base));
|
|
21043
21044
|
}
|
|
21044
21045
|
|
|
21045
21046
|
.pf-c-select__toggle:hover {
|
package/dist/umd/react-table.js
CHANGED
|
@@ -120,6 +120,16 @@
|
|
|
120
120
|
ValidatedOptions["warning"] = "warning";
|
|
121
121
|
ValidatedOptions["default"] = "default";
|
|
122
122
|
})(ValidatedOptions || (ValidatedOptions = {}));
|
|
123
|
+
const KeyTypes = {
|
|
124
|
+
Tab: 'Tab',
|
|
125
|
+
Space: ' ',
|
|
126
|
+
Escape: 'Escape',
|
|
127
|
+
Enter: 'Enter',
|
|
128
|
+
ArrowUp: 'ArrowUp',
|
|
129
|
+
ArrowDown: 'ArrowDown',
|
|
130
|
+
ArrowLeft: 'ArrowLeft',
|
|
131
|
+
ArrowRight: 'ArrowRight'
|
|
132
|
+
};
|
|
123
133
|
|
|
124
134
|
/*!
|
|
125
135
|
* tabbable 5.1.4
|
|
@@ -4879,16 +4889,6 @@
|
|
|
4879
4889
|
SelectDirection["up"] = "up";
|
|
4880
4890
|
SelectDirection["down"] = "down";
|
|
4881
4891
|
})(SelectDirection || (SelectDirection = {}));
|
|
4882
|
-
const KeyTypes = {
|
|
4883
|
-
Tab: 'Tab',
|
|
4884
|
-
Space: ' ',
|
|
4885
|
-
Escape: 'Escape',
|
|
4886
|
-
Enter: 'Enter',
|
|
4887
|
-
ArrowUp: 'ArrowUp',
|
|
4888
|
-
ArrowDown: 'ArrowDown',
|
|
4889
|
-
ArrowLeft: 'ArrowLeft',
|
|
4890
|
-
ArrowRight: 'ArrowRight'
|
|
4891
|
-
};
|
|
4892
4892
|
const SelectFooterTabbableItems = 'input, button, select, textarea, a[href]';
|
|
4893
4893
|
|
|
4894
4894
|
class SelectOption extends React__namespace.Component {
|
|
@@ -5387,6 +5387,9 @@
|
|
|
5387
5387
|
onClick: _event => {
|
|
5388
5388
|
if (!isDisabled) {
|
|
5389
5389
|
onToggle(!isOpen);
|
|
5390
|
+
if (isOpen) {
|
|
5391
|
+
onClose();
|
|
5392
|
+
}
|
|
5390
5393
|
}
|
|
5391
5394
|
}, onKeyDown: this.onKeyDown }),
|
|
5392
5395
|
children,
|
|
@@ -5867,7 +5870,8 @@
|
|
|
5867
5870
|
const typeaheadActiveChild = this.getTypeaheadActiveChild(typeaheadCurrIndex);
|
|
5868
5871
|
if (isOpen) {
|
|
5869
5872
|
if (position === 'enter') {
|
|
5870
|
-
if (
|
|
5873
|
+
if (typeaheadCurrIndex !== -1 && // do not allow selection without moving to an initial option
|
|
5874
|
+
(typeaheadActiveChild || (this.refCollection[0] && this.refCollection[0][0]))) {
|
|
5871
5875
|
this.setState({
|
|
5872
5876
|
typeaheadInputValue: (typeaheadActiveChild && typeaheadActiveChild.innerText) || this.refCollection[0][0].innerText
|
|
5873
5877
|
});
|
|
@@ -5957,6 +5961,7 @@
|
|
|
5957
5961
|
// Close if there is no footer
|
|
5958
5962
|
if (!this.props.footer) {
|
|
5959
5963
|
this.onToggle(false);
|
|
5964
|
+
this.onClose();
|
|
5960
5965
|
}
|
|
5961
5966
|
else {
|
|
5962
5967
|
// has footer
|
|
@@ -5966,6 +5971,7 @@
|
|
|
5966
5971
|
if (shiftKey) {
|
|
5967
5972
|
// close toggle if shift key and tab on input
|
|
5968
5973
|
this.onToggle(false);
|
|
5974
|
+
this.onClose();
|
|
5969
5975
|
}
|
|
5970
5976
|
else {
|
|
5971
5977
|
// tab to first tabbable item in footer
|
|
@@ -5974,6 +5980,7 @@
|
|
|
5974
5980
|
}
|
|
5975
5981
|
else {
|
|
5976
5982
|
this.onToggle(false);
|
|
5983
|
+
this.onClose();
|
|
5977
5984
|
}
|
|
5978
5985
|
}
|
|
5979
5986
|
}
|
|
@@ -5998,6 +6005,7 @@
|
|
|
5998
6005
|
// no next item, close toggle
|
|
5999
6006
|
this.onToggle(false);
|
|
6000
6007
|
this.inputRef.current.focus();
|
|
6008
|
+
this.onClose();
|
|
6001
6009
|
}
|
|
6002
6010
|
}
|
|
6003
6011
|
}
|
|
@@ -9063,85 +9063,6 @@ button.pf-c-breadcrumb__link {
|
|
|
9063
9063
|
font-weight: var(--pf-global--FontWeight--normal);
|
|
9064
9064
|
}
|
|
9065
9065
|
|
|
9066
|
-
.pf-c-chip-group {
|
|
9067
|
-
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
9068
|
-
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
9069
|
-
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
9070
|
-
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
9071
|
-
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
9072
|
-
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
9073
|
-
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
9074
|
-
}
|
|
9075
|
-
|
|
9076
|
-
.pf-c-chip-group {
|
|
9077
|
-
color: var(--pf-global--Color--100);
|
|
9078
|
-
--pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9079
|
-
--pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
|
|
9080
|
-
--pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
|
|
9081
|
-
--pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
|
|
9082
|
-
--pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
|
|
9083
|
-
--pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
|
|
9084
|
-
--pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
9085
|
-
--pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
9086
|
-
--pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);
|
|
9087
|
-
--pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);
|
|
9088
|
-
--pf-c-chip-group__label--MaxWidth: 18ch;
|
|
9089
|
-
--pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
|
|
9090
|
-
--pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9091
|
-
--pf-c-chip-group__list-item--MarginRight: var(--pf-global--spacer--xs);
|
|
9092
|
-
--pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
|
|
9093
|
-
}
|
|
9094
|
-
|
|
9095
|
-
.pf-c-chip-group.pf-m-category {
|
|
9096
|
-
padding-top: var(--pf-c-chip-group--m-category--PaddingTop);
|
|
9097
|
-
padding-right: var(--pf-c-chip-group--m-category--PaddingRight);
|
|
9098
|
-
padding-bottom: var(--pf-c-chip-group--m-category--PaddingBottom);
|
|
9099
|
-
padding-left: var(--pf-c-chip-group--m-category--PaddingLeft);
|
|
9100
|
-
background-color: var(--pf-c-chip-group--m-category--BackgroundColor);
|
|
9101
|
-
border-radius: var(--pf-c-chip-group--m-category--BorderRadius);
|
|
9102
|
-
}
|
|
9103
|
-
|
|
9104
|
-
.pf-c-chip-group__main {
|
|
9105
|
-
display: flex;
|
|
9106
|
-
flex: 1;
|
|
9107
|
-
flex-wrap: wrap;
|
|
9108
|
-
align-items: baseline;
|
|
9109
|
-
}
|
|
9110
|
-
|
|
9111
|
-
.pf-c-chip-group__list {
|
|
9112
|
-
margin-right: var(--pf-c-chip-group__list--MarginRight);
|
|
9113
|
-
margin-bottom: var(--pf-c-chip-group__list--MarginBottom);
|
|
9114
|
-
}
|
|
9115
|
-
|
|
9116
|
-
.pf-c-chip-group,
|
|
9117
|
-
.pf-c-chip-group__list {
|
|
9118
|
-
display: inline-flex;
|
|
9119
|
-
flex-wrap: wrap;
|
|
9120
|
-
align-items: center;
|
|
9121
|
-
}
|
|
9122
|
-
|
|
9123
|
-
.pf-c-chip-group__list-item {
|
|
9124
|
-
display: inline-flex;
|
|
9125
|
-
margin-right: var(--pf-c-chip-group__list-item--MarginRight);
|
|
9126
|
-
margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
|
|
9127
|
-
}
|
|
9128
|
-
|
|
9129
|
-
.pf-c-chip-group__label {
|
|
9130
|
-
overflow: hidden;
|
|
9131
|
-
text-overflow: ellipsis;
|
|
9132
|
-
white-space: nowrap;
|
|
9133
|
-
max-width: var(--pf-c-chip-group__label--MaxWidth);
|
|
9134
|
-
margin-right: var(--pf-c-chip-group__label--MarginRight);
|
|
9135
|
-
font-size: var(--pf-c-chip-group__label--FontSize);
|
|
9136
|
-
}
|
|
9137
|
-
|
|
9138
|
-
.pf-c-chip-group__close {
|
|
9139
|
-
display: flex;
|
|
9140
|
-
align-self: flex-start;
|
|
9141
|
-
margin-top: var(--pf-c-chip-group__close--MarginTop);
|
|
9142
|
-
margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
|
|
9143
|
-
}
|
|
9144
|
-
|
|
9145
9066
|
.pf-c-chip {
|
|
9146
9067
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
9147
9068
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -9247,6 +9168,85 @@ button.pf-c-breadcrumb__link {
|
|
|
9247
9168
|
margin-left: var(--pf-c-chip__icon--MarginLeft);
|
|
9248
9169
|
}
|
|
9249
9170
|
|
|
9171
|
+
.pf-c-chip-group {
|
|
9172
|
+
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
9173
|
+
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
9174
|
+
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
9175
|
+
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
9176
|
+
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
9177
|
+
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
9178
|
+
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
9179
|
+
}
|
|
9180
|
+
|
|
9181
|
+
.pf-c-chip-group {
|
|
9182
|
+
color: var(--pf-global--Color--100);
|
|
9183
|
+
--pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9184
|
+
--pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
|
|
9185
|
+
--pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
|
|
9186
|
+
--pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
|
|
9187
|
+
--pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
|
|
9188
|
+
--pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
|
|
9189
|
+
--pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
9190
|
+
--pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
9191
|
+
--pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);
|
|
9192
|
+
--pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);
|
|
9193
|
+
--pf-c-chip-group__label--MaxWidth: 18ch;
|
|
9194
|
+
--pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
|
|
9195
|
+
--pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
9196
|
+
--pf-c-chip-group__list-item--MarginRight: var(--pf-global--spacer--xs);
|
|
9197
|
+
--pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
|
|
9198
|
+
}
|
|
9199
|
+
|
|
9200
|
+
.pf-c-chip-group.pf-m-category {
|
|
9201
|
+
padding-top: var(--pf-c-chip-group--m-category--PaddingTop);
|
|
9202
|
+
padding-right: var(--pf-c-chip-group--m-category--PaddingRight);
|
|
9203
|
+
padding-bottom: var(--pf-c-chip-group--m-category--PaddingBottom);
|
|
9204
|
+
padding-left: var(--pf-c-chip-group--m-category--PaddingLeft);
|
|
9205
|
+
background-color: var(--pf-c-chip-group--m-category--BackgroundColor);
|
|
9206
|
+
border-radius: var(--pf-c-chip-group--m-category--BorderRadius);
|
|
9207
|
+
}
|
|
9208
|
+
|
|
9209
|
+
.pf-c-chip-group__main {
|
|
9210
|
+
display: flex;
|
|
9211
|
+
flex: 1;
|
|
9212
|
+
flex-wrap: wrap;
|
|
9213
|
+
align-items: baseline;
|
|
9214
|
+
}
|
|
9215
|
+
|
|
9216
|
+
.pf-c-chip-group__list {
|
|
9217
|
+
margin-right: var(--pf-c-chip-group__list--MarginRight);
|
|
9218
|
+
margin-bottom: var(--pf-c-chip-group__list--MarginBottom);
|
|
9219
|
+
}
|
|
9220
|
+
|
|
9221
|
+
.pf-c-chip-group,
|
|
9222
|
+
.pf-c-chip-group__list {
|
|
9223
|
+
display: inline-flex;
|
|
9224
|
+
flex-wrap: wrap;
|
|
9225
|
+
align-items: center;
|
|
9226
|
+
}
|
|
9227
|
+
|
|
9228
|
+
.pf-c-chip-group__list-item {
|
|
9229
|
+
display: inline-flex;
|
|
9230
|
+
margin-right: var(--pf-c-chip-group__list-item--MarginRight);
|
|
9231
|
+
margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
|
|
9232
|
+
}
|
|
9233
|
+
|
|
9234
|
+
.pf-c-chip-group__label {
|
|
9235
|
+
overflow: hidden;
|
|
9236
|
+
text-overflow: ellipsis;
|
|
9237
|
+
white-space: nowrap;
|
|
9238
|
+
max-width: var(--pf-c-chip-group__label--MaxWidth);
|
|
9239
|
+
margin-right: var(--pf-c-chip-group__label--MarginRight);
|
|
9240
|
+
font-size: var(--pf-c-chip-group__label--FontSize);
|
|
9241
|
+
}
|
|
9242
|
+
|
|
9243
|
+
.pf-c-chip-group__close {
|
|
9244
|
+
display: flex;
|
|
9245
|
+
align-self: flex-start;
|
|
9246
|
+
margin-top: var(--pf-c-chip-group__close--MarginTop);
|
|
9247
|
+
margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
|
|
9248
|
+
}
|
|
9249
|
+
|
|
9250
9250
|
.pf-c-clipboard-copy {
|
|
9251
9251
|
--pf-c-clipboard-copy__toggle-icon--Transition: .2s ease-in 0s;
|
|
9252
9252
|
--pf-c-clipboard-copy--m-expanded__toggle-icon--Rotate: 90deg;
|
|
@@ -20812,7 +20812,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
20812
20812
|
--pf-c-select__toggle--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
20813
20813
|
--pf-c-select__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
20814
20814
|
--pf-c-select__toggle--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
20815
|
-
--pf-c-select__toggle--before--BorderWidth:
|
|
20815
|
+
--pf-c-select__toggle--before--BorderWidth: initial;
|
|
20816
20816
|
--pf-c-select__toggle--before--BorderTopColor: var(--pf-global--BorderColor--300);
|
|
20817
20817
|
--pf-c-select__toggle--before--BorderRightColor: var(--pf-global--BorderColor--300);
|
|
20818
20818
|
--pf-c-select__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--200);
|
|
@@ -21031,6 +21031,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
21031
21031
|
}
|
|
21032
21032
|
|
|
21033
21033
|
.pf-c-select__toggle::before {
|
|
21034
|
+
--pf-c-select__toggle--before--BorderWidth-base: var(--pf-c-select__toggle--before--BorderTopWidth) var(--pf-c-select__toggle--before--BorderRightWidth) var(--pf-c-select__toggle--before--BorderBottomWidth) var(--pf-c-select__toggle--before--BorderLeftWidth);
|
|
21034
21035
|
position: absolute;
|
|
21035
21036
|
top: 0;
|
|
21036
21037
|
right: 0;
|
|
@@ -21039,7 +21040,7 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
21039
21040
|
content: "";
|
|
21040
21041
|
border-color: var(--pf-c-select__toggle--before--BorderTopColor) var(--pf-c-select__toggle--before--BorderRightColor) var(--pf-c-select__toggle--before--BorderBottomColor) var(--pf-c-select__toggle--before--BorderLeftColor);
|
|
21041
21042
|
border-style: solid;
|
|
21042
|
-
border-width: var(--pf-c-select__toggle--before--BorderWidth);
|
|
21043
|
+
border-width: var(--pf-c-select__toggle--before--BorderWidth, var(--pf-c-select__toggle--before--BorderWidth-base));
|
|
21043
21044
|
}
|
|
21044
21045
|
|
|
21045
21046
|
.pf-c-select__toggle:hover {
|