@patternfly/react-table 4.101.12 → 4.102.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.
- package/CHANGELOG.md +30 -0
- package/dist/umd/react-table.css +154 -145
- package/dist/umd/react-table.js +63 -13
- package/dist/umd/react-table.min.css +2003 -1994
- package/dist/umd/react-table.min.js +4 -4
- package/package.json +6 -6
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.102.1 (2022-08-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **TimePicker:** clean up menuAppendTo feature ([#7865](https://github.com/patternfly/patternfly-react/issues/7865)) ([3aa73be](https://github.com/patternfly/patternfly-react/commit/3aa73beb4581c1695aa3c3886291d862bd82286e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 4.102.0 (2022-08-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **ExpandableSection:** add truncated variant ([#7852](https://github.com/patternfly/patternfly-react/issues/7852)) ([f628cdf](https://github.com/patternfly/patternfly-react/commit/f628cdf571d71addfc04e69728be73895e261094))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## 4.101.13 (2022-08-19)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## 4.101.12 (2022-08-19)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @patternfly/react-table
|
package/dist/umd/react-table.css
CHANGED
|
@@ -4260,11 +4260,12 @@
|
|
|
4260
4260
|
|
|
4261
4261
|
.pf-c-scroll-outer-wrapper {
|
|
4262
4262
|
--pf-c-scroll-outer-wrapper--MinHeight: 25rem;
|
|
4263
|
+
--pf-c-scroll-outer-wrapper--MaxHeight: 100%;
|
|
4263
4264
|
display: flex;
|
|
4264
4265
|
flex-direction: column;
|
|
4265
4266
|
max-width: 100%;
|
|
4266
4267
|
min-height: var(--pf-c-scroll-outer-wrapper--MinHeight);
|
|
4267
|
-
max-height:
|
|
4268
|
+
max-height: var(--pf-c-scroll-outer-wrapper--MaxHeight);
|
|
4268
4269
|
overflow: hidden;
|
|
4269
4270
|
}
|
|
4270
4271
|
|
|
@@ -5179,6 +5180,37 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5179
5180
|
--pf-c-accordion__toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
5180
5181
|
}
|
|
5181
5182
|
|
|
5183
|
+
.pf-c-action-list {
|
|
5184
|
+
--pf-c-action-list--m-icon--spacer: 0;
|
|
5185
|
+
--pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
|
|
5186
|
+
--pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
|
|
5187
|
+
}
|
|
5188
|
+
|
|
5189
|
+
.pf-c-action-list,
|
|
5190
|
+
.pf-c-action-list__group {
|
|
5191
|
+
--pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
|
|
5192
|
+
--pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
|
|
5193
|
+
display: flex;
|
|
5194
|
+
align-items: center;
|
|
5195
|
+
}
|
|
5196
|
+
|
|
5197
|
+
.pf-c-action-list > * + *,
|
|
5198
|
+
.pf-c-action-list__group > * + * {
|
|
5199
|
+
margin-left: var(--pf-c-action-list--child--spacer);
|
|
5200
|
+
}
|
|
5201
|
+
|
|
5202
|
+
.pf-c-action-list > * + .pf-c-action-list__group,
|
|
5203
|
+
.pf-c-action-list .pf-c-action-list__group + *,
|
|
5204
|
+
.pf-c-action-list__group > * + .pf-c-action-list__group,
|
|
5205
|
+
.pf-c-action-list__group .pf-c-action-list__group + * {
|
|
5206
|
+
margin-left: var(--pf-c-action-list--group--spacer);
|
|
5207
|
+
}
|
|
5208
|
+
|
|
5209
|
+
.pf-c-action-list.pf-m-icons,
|
|
5210
|
+
.pf-c-action-list__group.pf-m-icons {
|
|
5211
|
+
--pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
|
|
5212
|
+
}
|
|
5213
|
+
|
|
5182
5214
|
.pf-c-alert {
|
|
5183
5215
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
5184
5216
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -6205,55 +6237,6 @@ textarea.pf-c-form-control {
|
|
|
6205
6237
|
box-shadow: var(--pf-c-back-to-top--c-button--BoxShadow);
|
|
6206
6238
|
}
|
|
6207
6239
|
|
|
6208
|
-
.pf-c-background-image {
|
|
6209
|
-
--pf-c-background-image--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
|
|
6210
|
-
--pf-c-background-image--BackgroundImage: url("../../assets/images/pfbg_576.jpg");
|
|
6211
|
-
--pf-c-background-image--BackgroundImage-2x: url("../../assets/images/pfbg_576@2x.jpg");
|
|
6212
|
-
--pf-c-background-image--BackgroundImage--sm: url("../../assets/images/pfbg_768.jpg");
|
|
6213
|
-
--pf-c-background-image--BackgroundImage--sm-2x: url("../../assets/images/pfbg_768@2x.jpg");
|
|
6214
|
-
--pf-c-background-image--BackgroundImage--lg: url("../../assets/images/pfbg_2000.jpg");
|
|
6215
|
-
--pf-c-background-image--Filter: url("#image_overlay");
|
|
6216
|
-
}
|
|
6217
|
-
|
|
6218
|
-
.pf-c-background-image::before {
|
|
6219
|
-
position: fixed;
|
|
6220
|
-
top: 0;
|
|
6221
|
-
left: 0;
|
|
6222
|
-
z-index: -1;
|
|
6223
|
-
width: 100%;
|
|
6224
|
-
height: 100%;
|
|
6225
|
-
content: "";
|
|
6226
|
-
background-color: var(--pf-c-background-image--BackgroundColor);
|
|
6227
|
-
background-image: var(--pf-c-background-image--BackgroundImage);
|
|
6228
|
-
filter: var(--pf-c-background-image--Filter);
|
|
6229
|
-
background-repeat: no-repeat;
|
|
6230
|
-
background-size: cover;
|
|
6231
|
-
}
|
|
6232
|
-
|
|
6233
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
6234
|
-
.pf-c-background-image::before {
|
|
6235
|
-
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage-2x);
|
|
6236
|
-
}
|
|
6237
|
-
}
|
|
6238
|
-
@media (min-width: 576px) {
|
|
6239
|
-
.pf-c-background-image::before {
|
|
6240
|
-
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm);
|
|
6241
|
-
}
|
|
6242
|
-
}
|
|
6243
|
-
@media (min-width: 576px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 576px) and (min-resolution: 192dpi) {
|
|
6244
|
-
.pf-c-background-image::before {
|
|
6245
|
-
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm-2x);
|
|
6246
|
-
}
|
|
6247
|
-
}
|
|
6248
|
-
@media (min-width: 992px) {
|
|
6249
|
-
.pf-c-background-image::before {
|
|
6250
|
-
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--lg);
|
|
6251
|
-
}
|
|
6252
|
-
}
|
|
6253
|
-
.pf-c-background-image__filter {
|
|
6254
|
-
display: block;
|
|
6255
|
-
}
|
|
6256
|
-
|
|
6257
6240
|
.pf-c-avatar {
|
|
6258
6241
|
--pf-c-avatar--BorderColor: transparent;
|
|
6259
6242
|
--pf-c-avatar--BorderWidth: 0;
|
|
@@ -6508,6 +6491,55 @@ textarea.pf-c-form-control {
|
|
|
6508
6491
|
--pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-2xl, var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))))));
|
|
6509
6492
|
}
|
|
6510
6493
|
}
|
|
6494
|
+
.pf-c-background-image {
|
|
6495
|
+
--pf-c-background-image--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
|
|
6496
|
+
--pf-c-background-image--BackgroundImage: url("../../assets/images/pfbg_576.jpg");
|
|
6497
|
+
--pf-c-background-image--BackgroundImage-2x: url("../../assets/images/pfbg_576@2x.jpg");
|
|
6498
|
+
--pf-c-background-image--BackgroundImage--sm: url("../../assets/images/pfbg_768.jpg");
|
|
6499
|
+
--pf-c-background-image--BackgroundImage--sm-2x: url("../../assets/images/pfbg_768@2x.jpg");
|
|
6500
|
+
--pf-c-background-image--BackgroundImage--lg: url("../../assets/images/pfbg_2000.jpg");
|
|
6501
|
+
--pf-c-background-image--Filter: url("#image_overlay");
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6504
|
+
.pf-c-background-image::before {
|
|
6505
|
+
position: fixed;
|
|
6506
|
+
top: 0;
|
|
6507
|
+
left: 0;
|
|
6508
|
+
z-index: -1;
|
|
6509
|
+
width: 100%;
|
|
6510
|
+
height: 100%;
|
|
6511
|
+
content: "";
|
|
6512
|
+
background-color: var(--pf-c-background-image--BackgroundColor);
|
|
6513
|
+
background-image: var(--pf-c-background-image--BackgroundImage);
|
|
6514
|
+
filter: var(--pf-c-background-image--Filter);
|
|
6515
|
+
background-repeat: no-repeat;
|
|
6516
|
+
background-size: cover;
|
|
6517
|
+
}
|
|
6518
|
+
|
|
6519
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
6520
|
+
.pf-c-background-image::before {
|
|
6521
|
+
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage-2x);
|
|
6522
|
+
}
|
|
6523
|
+
}
|
|
6524
|
+
@media (min-width: 576px) {
|
|
6525
|
+
.pf-c-background-image::before {
|
|
6526
|
+
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm);
|
|
6527
|
+
}
|
|
6528
|
+
}
|
|
6529
|
+
@media (min-width: 576px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 576px) and (min-resolution: 192dpi) {
|
|
6530
|
+
.pf-c-background-image::before {
|
|
6531
|
+
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm-2x);
|
|
6532
|
+
}
|
|
6533
|
+
}
|
|
6534
|
+
@media (min-width: 992px) {
|
|
6535
|
+
.pf-c-background-image::before {
|
|
6536
|
+
--pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--lg);
|
|
6537
|
+
}
|
|
6538
|
+
}
|
|
6539
|
+
.pf-c-background-image__filter {
|
|
6540
|
+
display: block;
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6511
6543
|
.pf-c-badge {
|
|
6512
6544
|
--pf-c-badge--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
6513
6545
|
--pf-c-badge--FontSize: var(--pf-global--FontSize--xs);
|
|
@@ -6547,6 +6579,70 @@ textarea.pf-c-form-control {
|
|
|
6547
6579
|
--pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--300);
|
|
6548
6580
|
}
|
|
6549
6581
|
|
|
6582
|
+
.pf-c-brand {
|
|
6583
|
+
--pf-c-brand--Width: auto;
|
|
6584
|
+
--pf-c-brand--Height: auto;
|
|
6585
|
+
width: var(--pf-c-brand--Width--base);
|
|
6586
|
+
height: var(--pf-c-brand--Height--base);
|
|
6587
|
+
--pf-c-brand--Width--base: var(--pf-c-brand--Width);
|
|
6588
|
+
--pf-c-brand--Height--base: var(--pf-c-brand--Height);
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
@media (min-width: 576px) {
|
|
6592
|
+
.pf-c-brand {
|
|
6593
|
+
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width));
|
|
6594
|
+
}
|
|
6595
|
+
}
|
|
6596
|
+
@media (min-width: 768px) {
|
|
6597
|
+
.pf-c-brand {
|
|
6598
|
+
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)));
|
|
6599
|
+
}
|
|
6600
|
+
}
|
|
6601
|
+
@media (min-width: 992px) {
|
|
6602
|
+
.pf-c-brand {
|
|
6603
|
+
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))));
|
|
6604
|
+
}
|
|
6605
|
+
}
|
|
6606
|
+
@media (min-width: 1200px) {
|
|
6607
|
+
.pf-c-brand {
|
|
6608
|
+
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)))));
|
|
6609
|
+
}
|
|
6610
|
+
}
|
|
6611
|
+
@media (min-width: 1450px) {
|
|
6612
|
+
.pf-c-brand {
|
|
6613
|
+
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-2xl, var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))))));
|
|
6614
|
+
}
|
|
6615
|
+
}
|
|
6616
|
+
@media (min-width: 576px) {
|
|
6617
|
+
.pf-c-brand {
|
|
6618
|
+
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height));
|
|
6619
|
+
}
|
|
6620
|
+
}
|
|
6621
|
+
@media (min-width: 768px) {
|
|
6622
|
+
.pf-c-brand {
|
|
6623
|
+
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)));
|
|
6624
|
+
}
|
|
6625
|
+
}
|
|
6626
|
+
@media (min-width: 992px) {
|
|
6627
|
+
.pf-c-brand {
|
|
6628
|
+
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))));
|
|
6629
|
+
}
|
|
6630
|
+
}
|
|
6631
|
+
@media (min-width: 1200px) {
|
|
6632
|
+
.pf-c-brand {
|
|
6633
|
+
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)))));
|
|
6634
|
+
}
|
|
6635
|
+
}
|
|
6636
|
+
@media (min-width: 1450px) {
|
|
6637
|
+
.pf-c-brand {
|
|
6638
|
+
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-2xl, var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))))));
|
|
6639
|
+
}
|
|
6640
|
+
}
|
|
6641
|
+
.pf-c-brand.pf-m-picture {
|
|
6642
|
+
display: inline-flex;
|
|
6643
|
+
max-width: 100%;
|
|
6644
|
+
}
|
|
6645
|
+
|
|
6550
6646
|
.pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-info {
|
|
6551
6647
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
6552
6648
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -7408,6 +7504,10 @@ button.pf-c-breadcrumb__link {
|
|
|
7408
7504
|
--pf-c-button--m-tertiary--focus--Color: var(--pf-global--palette--black-100);
|
|
7409
7505
|
--pf-c-button--m-tertiary--active--after--BorderColor: var(--pf-global--BorderColor--100);
|
|
7410
7506
|
--pf-c-button--m-tertiary--active--Color: var(--pf-global--palette--black-100);
|
|
7507
|
+
--pf-c-button--m-warning--Color: var(--pf-global--palette--black-900);
|
|
7508
|
+
--pf-c-button--m-warning--hover--Color: var(--pf-global--palette--black-900);
|
|
7509
|
+
--pf-c-button--m-warning--focus--Color: var(--pf-global--palette--black-900);
|
|
7510
|
+
--pf-c-button--m-warning--active--Color: var(--pf-global--palette--black-900);
|
|
7411
7511
|
--pf-c-button--m-warning--hover--BackgroundColor: var(--pf-global--warning-color--200);
|
|
7412
7512
|
--pf-c-button--m-warning--focus--BackgroundColor: var(--pf-global--warning-color--200);
|
|
7413
7513
|
--pf-c-button--m-warning--active--BackgroundColor: var(--pf-global--warning-color--200);
|
|
@@ -8158,70 +8258,6 @@ button.pf-c-breadcrumb__link {
|
|
|
8158
8258
|
--pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--palette--black-600);
|
|
8159
8259
|
}
|
|
8160
8260
|
|
|
8161
|
-
.pf-c-brand {
|
|
8162
|
-
--pf-c-brand--Width: auto;
|
|
8163
|
-
--pf-c-brand--Height: auto;
|
|
8164
|
-
width: var(--pf-c-brand--Width--base);
|
|
8165
|
-
height: var(--pf-c-brand--Height--base);
|
|
8166
|
-
--pf-c-brand--Width--base: var(--pf-c-brand--Width);
|
|
8167
|
-
--pf-c-brand--Height--base: var(--pf-c-brand--Height);
|
|
8168
|
-
}
|
|
8169
|
-
|
|
8170
|
-
@media (min-width: 576px) {
|
|
8171
|
-
.pf-c-brand {
|
|
8172
|
-
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width));
|
|
8173
|
-
}
|
|
8174
|
-
}
|
|
8175
|
-
@media (min-width: 768px) {
|
|
8176
|
-
.pf-c-brand {
|
|
8177
|
-
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)));
|
|
8178
|
-
}
|
|
8179
|
-
}
|
|
8180
|
-
@media (min-width: 992px) {
|
|
8181
|
-
.pf-c-brand {
|
|
8182
|
-
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))));
|
|
8183
|
-
}
|
|
8184
|
-
}
|
|
8185
|
-
@media (min-width: 1200px) {
|
|
8186
|
-
.pf-c-brand {
|
|
8187
|
-
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)))));
|
|
8188
|
-
}
|
|
8189
|
-
}
|
|
8190
|
-
@media (min-width: 1450px) {
|
|
8191
|
-
.pf-c-brand {
|
|
8192
|
-
--pf-c-brand--Width--base: var(--pf-c-brand--Width-on-2xl, var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))))));
|
|
8193
|
-
}
|
|
8194
|
-
}
|
|
8195
|
-
@media (min-width: 576px) {
|
|
8196
|
-
.pf-c-brand {
|
|
8197
|
-
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height));
|
|
8198
|
-
}
|
|
8199
|
-
}
|
|
8200
|
-
@media (min-width: 768px) {
|
|
8201
|
-
.pf-c-brand {
|
|
8202
|
-
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)));
|
|
8203
|
-
}
|
|
8204
|
-
}
|
|
8205
|
-
@media (min-width: 992px) {
|
|
8206
|
-
.pf-c-brand {
|
|
8207
|
-
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))));
|
|
8208
|
-
}
|
|
8209
|
-
}
|
|
8210
|
-
@media (min-width: 1200px) {
|
|
8211
|
-
.pf-c-brand {
|
|
8212
|
-
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)))));
|
|
8213
|
-
}
|
|
8214
|
-
}
|
|
8215
|
-
@media (min-width: 1450px) {
|
|
8216
|
-
.pf-c-brand {
|
|
8217
|
-
--pf-c-brand--Height--base: var(--pf-c-brand--Height-on-2xl, var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))))));
|
|
8218
|
-
}
|
|
8219
|
-
}
|
|
8220
|
-
.pf-c-brand.pf-m-picture {
|
|
8221
|
-
display: inline-flex;
|
|
8222
|
-
max-width: 100%;
|
|
8223
|
-
}
|
|
8224
|
-
|
|
8225
8261
|
.pf-c-chip-group {
|
|
8226
8262
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
8227
8263
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -13371,6 +13407,10 @@ button.pf-c-breadcrumb__link {
|
|
|
13371
13407
|
overflow: hidden;
|
|
13372
13408
|
}
|
|
13373
13409
|
|
|
13410
|
+
.pf-c-expandable-section.pf-m-detached {
|
|
13411
|
+
--pf-c-expandable-section--m-truncate__toggle--MarginTop: 0;
|
|
13412
|
+
}
|
|
13413
|
+
|
|
13374
13414
|
.pf-c-expandable-section__toggle {
|
|
13375
13415
|
display: flex;
|
|
13376
13416
|
padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
|
|
@@ -31692,37 +31732,6 @@ label.pf-c-tree-view__node-text {
|
|
|
31692
31732
|
margin-bottom: var(--pf-l-stack--m-gutter--MarginBottom);
|
|
31693
31733
|
}
|
|
31694
31734
|
|
|
31695
|
-
.pf-c-action-list {
|
|
31696
|
-
--pf-c-action-list--m-icon--spacer: 0;
|
|
31697
|
-
--pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
|
|
31698
|
-
--pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
|
|
31699
|
-
}
|
|
31700
|
-
|
|
31701
|
-
.pf-c-action-list,
|
|
31702
|
-
.pf-c-action-list__group {
|
|
31703
|
-
--pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
|
|
31704
|
-
--pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
|
|
31705
|
-
display: flex;
|
|
31706
|
-
align-items: center;
|
|
31707
|
-
}
|
|
31708
|
-
|
|
31709
|
-
.pf-c-action-list > * + *,
|
|
31710
|
-
.pf-c-action-list__group > * + * {
|
|
31711
|
-
margin-left: var(--pf-c-action-list--child--spacer);
|
|
31712
|
-
}
|
|
31713
|
-
|
|
31714
|
-
.pf-c-action-list > * + .pf-c-action-list__group,
|
|
31715
|
-
.pf-c-action-list .pf-c-action-list__group + *,
|
|
31716
|
-
.pf-c-action-list__group > * + .pf-c-action-list__group,
|
|
31717
|
-
.pf-c-action-list__group .pf-c-action-list__group + * {
|
|
31718
|
-
margin-left: var(--pf-c-action-list--group--spacer);
|
|
31719
|
-
}
|
|
31720
|
-
|
|
31721
|
-
.pf-c-action-list.pf-m-icons,
|
|
31722
|
-
.pf-c-action-list__group.pf-m-icons {
|
|
31723
|
-
--pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
|
|
31724
|
-
}
|
|
31725
|
-
|
|
31726
31735
|
.pf-c-alert-group {
|
|
31727
31736
|
--pf-c-alert-group__item--MarginTop: var(--pf-global--spacer--sm);
|
|
31728
31737
|
--pf-c-alert-group--m-toast--Top: var(--pf-global--spacer--2xl);
|
package/dist/umd/react-table.js
CHANGED
|
@@ -8051,9 +8051,11 @@
|
|
|
8051
8051
|
const idItem = React__namespace.Children.toArray(children).find((child) => !formCtrls.includes(child.type.displayName) && child.props.id);
|
|
8052
8052
|
const inputGroupRef = innerRef || React__namespace.useRef(null);
|
|
8053
8053
|
return (React__namespace.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$v.inputGroup, className) }, props), idItem
|
|
8054
|
-
? React__namespace.Children.map(children, (child) => formCtrls.includes(child.type.displayName)
|
|
8055
|
-
?
|
|
8056
|
-
: child
|
|
8054
|
+
? React__namespace.Children.map(children, (child) => !formCtrls.includes(child.type.displayName) || child.props['aria-describedby']
|
|
8055
|
+
? child
|
|
8056
|
+
: React__namespace.cloneElement(child, {
|
|
8057
|
+
'aria-describedby': child.props['aria-describedby'] === '' ? undefined : idItem.props.id
|
|
8058
|
+
}))
|
|
8057
8059
|
: children));
|
|
8058
8060
|
};
|
|
8059
8061
|
InputGroup.displayName = 'InputGroup';
|
|
@@ -10885,9 +10887,27 @@
|
|
|
10885
10887
|
}
|
|
10886
10888
|
};
|
|
10887
10889
|
|
|
10890
|
+
const c_expandable_section_m_truncate__content_LineClamp = {
|
|
10891
|
+
"name": "--pf-c-expandable-section--m-truncate__content--LineClamp",
|
|
10892
|
+
"value": "3",
|
|
10893
|
+
"var": "var(--pf-c-expandable-section--m-truncate__content--LineClamp)"
|
|
10894
|
+
};
|
|
10895
|
+
|
|
10896
|
+
var ExpandableSectionVariant;
|
|
10897
|
+
(function (ExpandableSectionVariant) {
|
|
10898
|
+
ExpandableSectionVariant["default"] = "default";
|
|
10899
|
+
ExpandableSectionVariant["truncate"] = "truncate";
|
|
10900
|
+
})(ExpandableSectionVariant || (ExpandableSectionVariant = {}));
|
|
10901
|
+
const setLineClamp = (lines, element) => {
|
|
10902
|
+
if (!element || lines < 1) {
|
|
10903
|
+
return;
|
|
10904
|
+
}
|
|
10905
|
+
element.style.setProperty(c_expandable_section_m_truncate__content_LineClamp.name, lines.toString());
|
|
10906
|
+
};
|
|
10888
10907
|
class ExpandableSection extends React__namespace.Component {
|
|
10889
10908
|
constructor(props) {
|
|
10890
10909
|
super(props);
|
|
10910
|
+
this.expandableContentRef = React__namespace.createRef();
|
|
10891
10911
|
this.state = {
|
|
10892
10912
|
isExpanded: props.isExpanded
|
|
10893
10913
|
};
|
|
@@ -10901,10 +10921,25 @@
|
|
|
10901
10921
|
}
|
|
10902
10922
|
return toggleText;
|
|
10903
10923
|
}
|
|
10924
|
+
componentDidMount() {
|
|
10925
|
+
if (this.props.variant === ExpandableSectionVariant.truncate && this.props.truncateMaxLines) {
|
|
10926
|
+
const expandableContent = this.expandableContentRef.current;
|
|
10927
|
+
setLineClamp(this.props.truncateMaxLines, expandableContent);
|
|
10928
|
+
}
|
|
10929
|
+
}
|
|
10930
|
+
componentDidUpdate(prevProps) {
|
|
10931
|
+
if (this.props.variant === ExpandableSectionVariant.truncate &&
|
|
10932
|
+
prevProps.truncateMaxLines !== this.props.truncateMaxLines) {
|
|
10933
|
+
const expandableContent = this.expandableContentRef.current;
|
|
10934
|
+
setLineClamp(this.props.truncateMaxLines, expandableContent);
|
|
10935
|
+
}
|
|
10936
|
+
}
|
|
10904
10937
|
render() {
|
|
10905
10938
|
const _a = this.props, { onToggle: onToggleProp,
|
|
10906
10939
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10907
|
-
isActive, className, toggleText, toggleTextExpanded, toggleTextCollapsed, toggleContent, children, isExpanded, isDetached, displaySize, isWidthLimited, isIndented, contentId
|
|
10940
|
+
isActive, className, toggleText, toggleTextExpanded, toggleTextCollapsed, toggleContent, children, isExpanded, isDetached, displaySize, isWidthLimited, isIndented, contentId, variant,
|
|
10941
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10942
|
+
truncateMaxLines } = _a, props = __rest$1(_a, ["onToggle", "isActive", "className", "toggleText", "toggleTextExpanded", "toggleTextCollapsed", "toggleContent", "children", "isExpanded", "isDetached", "displaySize", "isWidthLimited", "isIndented", "contentId", "variant", "truncateMaxLines"]);
|
|
10908
10943
|
let onToggle = onToggleProp;
|
|
10909
10944
|
let propOrStateIsExpanded = isExpanded;
|
|
10910
10945
|
// uncontrolled
|
|
@@ -10915,12 +10950,14 @@
|
|
|
10915
10950
|
};
|
|
10916
10951
|
}
|
|
10917
10952
|
const computedToggleText = this.calculateToggleText(toggleText, toggleTextExpanded, toggleTextCollapsed, propOrStateIsExpanded);
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
React__namespace.createElement(
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10953
|
+
const expandableToggle = !isDetached && (React__namespace.createElement("button", { className: css(styles$m.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, onClick: () => onToggle(!propOrStateIsExpanded) },
|
|
10954
|
+
variant !== ExpandableSectionVariant.truncate && (React__namespace.createElement("span", { className: css(styles$m.expandableSectionToggleIcon) },
|
|
10955
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true }))),
|
|
10956
|
+
React__namespace.createElement("span", { className: css(styles$m.expandableSectionToggleText) }, toggleContent || computedToggleText)));
|
|
10957
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.expandableSection, propOrStateIsExpanded && styles$m.modifiers.expanded, isActive && styles$m.modifiers.active, isDetached && styles$m.modifiers.detached, displaySize === 'large' && styles$m.modifiers.displayLg, isWidthLimited && styles$m.modifiers.limitWidth, isIndented && styles$m.modifiers.indented, variant === ExpandableSectionVariant.truncate && styles$m.modifiers.truncate, className) }, props),
|
|
10958
|
+
variant === ExpandableSectionVariant.default && expandableToggle,
|
|
10959
|
+
React__namespace.createElement("div", { ref: this.expandableContentRef, className: css(styles$m.expandableSectionContent), hidden: variant !== ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: contentId }, children),
|
|
10960
|
+
variant === ExpandableSectionVariant.truncate && expandableToggle));
|
|
10924
10961
|
}
|
|
10925
10962
|
}
|
|
10926
10963
|
ExpandableSection.displayName = 'ExpandableSection';
|
|
@@ -10936,7 +10973,8 @@
|
|
|
10936
10973
|
displaySize: 'default',
|
|
10937
10974
|
isWidthLimited: false,
|
|
10938
10975
|
isIndented: false,
|
|
10939
|
-
contentId: ''
|
|
10976
|
+
contentId: '',
|
|
10977
|
+
variant: 'default'
|
|
10940
10978
|
};
|
|
10941
10979
|
|
|
10942
10980
|
var fileReaderType;
|
|
@@ -17034,12 +17072,23 @@
|
|
|
17034
17072
|
React__namespace.createElement(MenuContent, { maxMenuHeight: "200px" },
|
|
17035
17073
|
React__namespace.createElement(MenuList, { "aria-label": ariaLabel }, options.map((option, index) => (React__namespace.createElement(MenuItem, { onClick: this.onSelect, key: option, id: `${randomId}-option-${index}` }, option)))))));
|
|
17036
17074
|
const textInput = (React__namespace.createElement(TextInput, Object.assign({ "aria-haspopup": "menu", className: css(formStyles$1.formControl), id: `${randomId}-input`, "aria-label": ariaLabel, validated: isInvalid ? 'error' : 'default', placeholder: placeholder, value: timeState || '', type: "text", iconVariant: "clock", onClick: this.onInputClick, onChange: this.onInputChange, onBlur: this.onBlur, autoComplete: "off", isDisabled: isDisabled, ref: this.inputRef }, inputProps)));
|
|
17075
|
+
let calculatedAppendTo;
|
|
17076
|
+
switch (menuAppendTo) {
|
|
17077
|
+
case 'inline':
|
|
17078
|
+
calculatedAppendTo = () => this.toggleRef.current;
|
|
17079
|
+
break;
|
|
17080
|
+
case 'parent':
|
|
17081
|
+
calculatedAppendTo = getParentElement;
|
|
17082
|
+
break;
|
|
17083
|
+
default:
|
|
17084
|
+
calculatedAppendTo = menuAppendTo;
|
|
17085
|
+
}
|
|
17037
17086
|
return (React__namespace.createElement("div", { ref: this.baseComponentRef, className: css(datePickerStyles.datePicker, className) },
|
|
17038
17087
|
React__namespace.createElement("div", Object.assign({ className: css(datePickerStyles.datePickerInput), style: style }, props),
|
|
17039
17088
|
React__namespace.createElement(InputGroup, null,
|
|
17040
17089
|
React__namespace.createElement("div", { id: randomId },
|
|
17041
|
-
React__namespace.createElement("div", { ref: this.toggleRef, style: { paddingLeft: '0' } },
|
|
17042
|
-
|
|
17090
|
+
React__namespace.createElement("div", { ref: this.toggleRef, style: { paddingLeft: '0' } },
|
|
17091
|
+
React__namespace.createElement(Popper, { appendTo: calculatedAppendTo, trigger: textInput, popper: menuContainer, isVisible: isTimeOptionsOpen })))),
|
|
17043
17092
|
isInvalid && (React__namespace.createElement("div", { className: css(datePickerStyles.datePickerHelperText, datePickerStyles.modifiers.error) }, !isValidFormat ? invalidFormatErrorMessage : invalidMinMaxErrorMessage)))));
|
|
17044
17093
|
}
|
|
17045
17094
|
}
|
|
@@ -17060,6 +17109,7 @@
|
|
|
17060
17109
|
inputProps: {},
|
|
17061
17110
|
minTime: '',
|
|
17062
17111
|
maxTime: '',
|
|
17112
|
+
isOpen: false,
|
|
17063
17113
|
setIsOpen: () => { }
|
|
17064
17114
|
};
|
|
17065
17115
|
|