@patternfly/react-table 4.48.0 → 4.50.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 +38 -0
- package/dist/umd/react-table.css +199 -15
- package/dist/umd/react-table.js +40 -10
- package/dist/umd/react-table.min.css +326 -142
- package/dist/umd/react-table.min.js +3 -3
- package/package.json +6 -6
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.50.0 (2021-12-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Popover:** add composable header and alert variants ([#6664](https://github.com/patternfly/patternfly-react/issues/6664)) ([9028e8b](https://github.com/patternfly/patternfly-react/commit/9028e8ba5d674bde6a7e29532f7926e200dd632a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 4.49.1 (2021-12-08)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# 4.49.0 (2021-12-08)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **DualListSelector:** add composable tree example ([#6652](https://github.com/patternfly/patternfly-react/issues/6652)) ([5fe977b](https://github.com/patternfly/patternfly-react/commit/5fe977becb5dea615724abf846f315e50931c188))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## 4.48.1 (2021-12-07)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
# 4.48.0 (2021-12-06)
|
|
7
45
|
|
|
8
46
|
|
package/dist/umd/react-table.css
CHANGED
|
@@ -526,10 +526,16 @@
|
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
.pf-c-table thead.pf-m-nested-column-header th,
|
|
529
|
-
.pf-c-table thead.pf-m-nested-column-header td
|
|
529
|
+
.pf-c-table thead.pf-m-nested-column-header td,
|
|
530
|
+
.pf-c-table thead.pf-m-nested-column-header input {
|
|
530
531
|
vertical-align: middle;
|
|
531
532
|
}
|
|
532
533
|
|
|
534
|
+
.pf-c-table thead.pf-m-nested-column-header .pf-c-table__check label {
|
|
535
|
+
display: flex;
|
|
536
|
+
align-items: center;
|
|
537
|
+
}
|
|
538
|
+
|
|
533
539
|
.pf-c-table thead.pf-m-nested-column-header tr:not(:first-child) th:not([rowspan]),
|
|
534
540
|
.pf-c-table thead.pf-m-nested-column-header tr:not(:first-child) td:not([rowspan]) {
|
|
535
541
|
--pf-c-table--cell--PaddingTop: var(--pf-c-table--thead--m-nested-column-header--tr--PaddingTop);
|
|
@@ -569,7 +575,7 @@
|
|
|
569
575
|
border-left: var(--pf-c-table__expandable-row--after--BorderLeftWidth) solid var(--pf-c-table__expandable-row--after--BorderColor);
|
|
570
576
|
}
|
|
571
577
|
|
|
572
|
-
.pf-c-table tbody .pf-c-table__check
|
|
578
|
+
.pf-c-table tbody .pf-c-table__check input {
|
|
573
579
|
margin-top: var(--pf-c-table__check--input--MarginTop);
|
|
574
580
|
vertical-align: top;
|
|
575
581
|
}
|
|
@@ -905,10 +911,17 @@
|
|
|
905
911
|
--pf-c-table--cell--FontSize: var(--pf-c-table__check--input--FontSize);
|
|
906
912
|
}
|
|
907
913
|
|
|
908
|
-
.pf-c-table__check
|
|
914
|
+
.pf-c-table__check label:not([disabled]),
|
|
915
|
+
.pf-c-table__check input:not([disabled]) {
|
|
909
916
|
cursor: pointer;
|
|
910
917
|
}
|
|
911
918
|
|
|
919
|
+
.pf-c-table__check label {
|
|
920
|
+
display: block;
|
|
921
|
+
padding: inherit;
|
|
922
|
+
margin: calc(var(--pf-c-table--cell--PaddingTop) * -1) calc(var(--pf-c-table--cell--PaddingRight) * -1) calc(var(--pf-c-table--cell--PaddingBottom) * -1) calc(var(--pf-c-table--cell--PaddingLeft) * -1);
|
|
923
|
+
}
|
|
924
|
+
|
|
912
925
|
.pf-c-table__favorite .pf-c-button {
|
|
913
926
|
--pf-c-button--m-plain--Color: var(--pf-c-table__favorite--c-button--Color);
|
|
914
927
|
--pf-c-button--FontSize: var(--pf-c-table__favorite--c-button--FontSize);
|
|
@@ -4319,7 +4332,7 @@
|
|
|
4319
4332
|
text-align: right;
|
|
4320
4333
|
}
|
|
4321
4334
|
|
|
4322
|
-
@media (min-width: 768px) {
|
|
4335
|
+
@media screen and (min-width: 768px) {
|
|
4323
4336
|
.pf-c-form.pf-m-horizontal {
|
|
4324
4337
|
--pf-c-form__group-label--PaddingBottom: 0;
|
|
4325
4338
|
}
|
|
@@ -4343,6 +4356,150 @@
|
|
|
4343
4356
|
grid-column: 2;
|
|
4344
4357
|
}
|
|
4345
4358
|
}
|
|
4359
|
+
@media screen and (min-width: 0) {
|
|
4360
|
+
.pf-c-form.pf-m-horizontal-on-xs {
|
|
4361
|
+
--pf-c-form__group-label--PaddingBottom: 0;
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group {
|
|
4365
|
+
display: grid;
|
|
4366
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
4367
|
+
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-label {
|
|
4371
|
+
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
4372
|
+
}
|
|
4373
|
+
|
|
4374
|
+
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-label.pf-m-no-padding-top {
|
|
4375
|
+
--pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
4376
|
+
transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4379
|
+
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-control {
|
|
4380
|
+
grid-column: 2;
|
|
4381
|
+
}
|
|
4382
|
+
}
|
|
4383
|
+
@media (min-width: 576px) {
|
|
4384
|
+
.pf-c-form.pf-m-horizontal-on-sm {
|
|
4385
|
+
--pf-c-form__group-label--PaddingBottom: 0;
|
|
4386
|
+
}
|
|
4387
|
+
|
|
4388
|
+
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group {
|
|
4389
|
+
display: grid;
|
|
4390
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
4391
|
+
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
4392
|
+
}
|
|
4393
|
+
|
|
4394
|
+
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-label {
|
|
4395
|
+
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
4396
|
+
}
|
|
4397
|
+
|
|
4398
|
+
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-label.pf-m-no-padding-top {
|
|
4399
|
+
--pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
4400
|
+
transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
|
|
4401
|
+
}
|
|
4402
|
+
|
|
4403
|
+
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-control {
|
|
4404
|
+
grid-column: 2;
|
|
4405
|
+
}
|
|
4406
|
+
}
|
|
4407
|
+
@media (min-width: 768px) {
|
|
4408
|
+
.pf-c-form.pf-m-horizontal-on-md {
|
|
4409
|
+
--pf-c-form__group-label--PaddingBottom: 0;
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group {
|
|
4413
|
+
display: grid;
|
|
4414
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
4415
|
+
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4418
|
+
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-label {
|
|
4419
|
+
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4422
|
+
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-label.pf-m-no-padding-top {
|
|
4423
|
+
--pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
4424
|
+
transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4427
|
+
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-control {
|
|
4428
|
+
grid-column: 2;
|
|
4429
|
+
}
|
|
4430
|
+
}
|
|
4431
|
+
@media (min-width: 992px) {
|
|
4432
|
+
.pf-c-form.pf-m-horizontal-on-lg {
|
|
4433
|
+
--pf-c-form__group-label--PaddingBottom: 0;
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group {
|
|
4437
|
+
display: grid;
|
|
4438
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
4439
|
+
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
4440
|
+
}
|
|
4441
|
+
|
|
4442
|
+
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-label {
|
|
4443
|
+
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
4444
|
+
}
|
|
4445
|
+
|
|
4446
|
+
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-label.pf-m-no-padding-top {
|
|
4447
|
+
--pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
4448
|
+
transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
|
|
4449
|
+
}
|
|
4450
|
+
|
|
4451
|
+
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-control {
|
|
4452
|
+
grid-column: 2;
|
|
4453
|
+
}
|
|
4454
|
+
}
|
|
4455
|
+
@media (min-width: 1200px) {
|
|
4456
|
+
.pf-c-form.pf-m-horizontal-on-xl {
|
|
4457
|
+
--pf-c-form__group-label--PaddingBottom: 0;
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group {
|
|
4461
|
+
display: grid;
|
|
4462
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
4463
|
+
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
4464
|
+
}
|
|
4465
|
+
|
|
4466
|
+
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-label {
|
|
4467
|
+
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4470
|
+
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-label.pf-m-no-padding-top {
|
|
4471
|
+
--pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
4472
|
+
transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4475
|
+
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-control {
|
|
4476
|
+
grid-column: 2;
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
@media (min-width: 1450px) {
|
|
4480
|
+
.pf-c-form.pf-m-horizontal-on-2xl {
|
|
4481
|
+
--pf-c-form__group-label--PaddingBottom: 0;
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4484
|
+
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group {
|
|
4485
|
+
display: grid;
|
|
4486
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
|
4487
|
+
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4490
|
+
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-label {
|
|
4491
|
+
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
|
4492
|
+
}
|
|
4493
|
+
|
|
4494
|
+
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-label.pf-m-no-padding-top {
|
|
4495
|
+
--pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
|
|
4496
|
+
transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
|
|
4497
|
+
}
|
|
4498
|
+
|
|
4499
|
+
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-control {
|
|
4500
|
+
grid-column: 2;
|
|
4501
|
+
}
|
|
4502
|
+
}
|
|
4346
4503
|
.pf-c-form.pf-m-limit-width {
|
|
4347
4504
|
max-width: var(--pf-c-form--m-limit-width--MaxWidth);
|
|
4348
4505
|
}
|
|
@@ -5523,14 +5680,15 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5523
5680
|
}
|
|
5524
5681
|
|
|
5525
5682
|
.pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {
|
|
5683
|
+
--pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
|
|
5526
5684
|
pointer-events: none;
|
|
5527
5685
|
}
|
|
5528
5686
|
|
|
5529
|
-
.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled:not(.pf-m-plain) {
|
|
5687
|
+
.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle.pf-m-disabled.pf-m-plain.pf-m-text, .pf-c-dropdown__toggle:disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled.pf-m-plain.pf-m-text {
|
|
5530
5688
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--disabled--BackgroundColor);
|
|
5531
5689
|
}
|
|
5532
5690
|
|
|
5533
|
-
.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain)::before, .pf-c-dropdown__toggle:disabled:not(.pf-m-plain)::before {
|
|
5691
|
+
.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain)::before, .pf-c-dropdown__toggle.pf-m-disabled.pf-m-plain.pf-m-text::before, .pf-c-dropdown__toggle:disabled:not(.pf-m-plain)::before, .pf-c-dropdown__toggle:disabled.pf-m-plain.pf-m-text::before {
|
|
5534
5692
|
border: 0;
|
|
5535
5693
|
}
|
|
5536
5694
|
|
|
@@ -5538,13 +5696,16 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5538
5696
|
padding: 0;
|
|
5539
5697
|
}
|
|
5540
5698
|
|
|
5699
|
+
.pf-c-dropdown__toggle.pf-m-split-button:not(.pf-m-disabled) {
|
|
5700
|
+
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
5701
|
+
}
|
|
5702
|
+
|
|
5541
5703
|
.pf-c-dropdown__toggle.pf-m-split-button > * {
|
|
5542
5704
|
position: relative;
|
|
5543
5705
|
padding-top: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingTop);
|
|
5544
5706
|
padding-right: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingRight);
|
|
5545
5707
|
padding-bottom: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingBottom);
|
|
5546
5708
|
padding-left: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft);
|
|
5547
|
-
background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
|
|
5548
5709
|
}
|
|
5549
5710
|
|
|
5550
5711
|
.pf-c-dropdown__toggle.pf-m-split-button > *:first-child {
|
|
@@ -5576,6 +5737,10 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5576
5737
|
border-left: var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth) solid var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor);
|
|
5577
5738
|
}
|
|
5578
5739
|
|
|
5740
|
+
.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary.pf-m-disabled, .pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary[disabled] {
|
|
5741
|
+
--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: 0;
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5579
5744
|
.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check {
|
|
5580
5745
|
display: flex;
|
|
5581
5746
|
align-items: center;
|
|
@@ -5648,14 +5813,14 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5648
5813
|
border-bottom-width: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomWidth);
|
|
5649
5814
|
}
|
|
5650
5815
|
|
|
5651
|
-
.pf-c-dropdown__toggle.pf-m-plain {
|
|
5816
|
+
.pf-c-dropdown__toggle.pf-m-plain:not(.pf-m-text) {
|
|
5652
5817
|
--pf-c-dropdown__toggle--PaddingRight: var(--pf-c-dropdown__toggle--m-plain--PaddingRight);
|
|
5653
5818
|
--pf-c-dropdown__toggle--PaddingLeft: var(--pf-c-dropdown__toggle--m-plain--PaddingLeft);
|
|
5654
5819
|
display: inline-block;
|
|
5655
5820
|
color: var(--pf-c-dropdown__toggle--m-plain--Color);
|
|
5656
5821
|
}
|
|
5657
5822
|
|
|
5658
|
-
.pf-c-dropdown__toggle.pf-m-plain > * {
|
|
5823
|
+
.pf-c-dropdown__toggle.pf-m-plain:not(.pf-m-text) > * {
|
|
5659
5824
|
line-height: var(--pf-c-dropdown__toggle--m-plain--child--LineHeight);
|
|
5660
5825
|
}
|
|
5661
5826
|
|
|
@@ -5672,13 +5837,13 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5672
5837
|
}
|
|
5673
5838
|
|
|
5674
5839
|
.pf-c-dropdown__toggle.pf-m-primary {
|
|
5675
|
-
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
5676
|
-
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
5677
5840
|
border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
|
|
5678
5841
|
}
|
|
5679
5842
|
|
|
5680
|
-
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled) {
|
|
5843
|
+
.pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled):not([disabled]) {
|
|
5681
5844
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
5845
|
+
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
|
|
5846
|
+
--pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
|
|
5682
5847
|
}
|
|
5683
5848
|
|
|
5684
5849
|
.pf-c-dropdown__toggle.pf-m-primary::before {
|
|
@@ -5697,17 +5862,20 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5697
5862
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
|
|
5698
5863
|
}
|
|
5699
5864
|
|
|
5700
|
-
.pf-m-
|
|
5865
|
+
.pf-c-dropdown__toggle.pf-m-primary .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
|
|
5701
5866
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
|
|
5702
5867
|
}
|
|
5703
5868
|
|
|
5704
5869
|
.pf-c-dropdown__toggle.pf-m-secondary {
|
|
5870
|
+
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
5871
|
+
}
|
|
5872
|
+
|
|
5873
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled]) {
|
|
5705
5874
|
--pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-secondary--Color);
|
|
5706
5875
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-secondary--BackgroundColor);
|
|
5707
|
-
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
5708
5876
|
}
|
|
5709
5877
|
|
|
5710
|
-
.pf-c-dropdown__toggle.pf-m-secondary::before {
|
|
5878
|
+
.pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled])::before {
|
|
5711
5879
|
border: var(--pf-c-dropdown__toggle--m-secondary--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--before--BorderColor);
|
|
5712
5880
|
border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
|
|
5713
5881
|
}
|
|
@@ -10876,6 +11044,22 @@ button.pf-c-breadcrumb__link {
|
|
|
10876
11044
|
--pf-c-description-list--m-horizontal__term--width: fit-content(20ch);
|
|
10877
11045
|
}
|
|
10878
11046
|
|
|
11047
|
+
.pf-c-description-list.pf-m-fill-columns {
|
|
11048
|
+
display: block;
|
|
11049
|
+
column-count: var(--pf-c-description-list--GridTemplateColumns--count);
|
|
11050
|
+
margin-bottom: calc(var(--pf-c-description-list--RowGap) * -1);
|
|
11051
|
+
}
|
|
11052
|
+
|
|
11053
|
+
.pf-c-description-list.pf-m-fill-columns .pf-c-description-list__group {
|
|
11054
|
+
display: inline-grid;
|
|
11055
|
+
width: 100%;
|
|
11056
|
+
margin-bottom: var(--pf-c-description-list--RowGap);
|
|
11057
|
+
break-inside: avoid;
|
|
11058
|
+
page-break-inside: avoid;
|
|
11059
|
+
-webkit-column-break-inside: avoid;
|
|
11060
|
+
-moz-column-break-inside: avoid;
|
|
11061
|
+
}
|
|
11062
|
+
|
|
10879
11063
|
.pf-c-description-list__group {
|
|
10880
11064
|
display: grid;
|
|
10881
11065
|
grid-column: var(--pf-c-description-list__group--GridColumn);
|
package/dist/umd/react-table.js
CHANGED
|
@@ -3829,6 +3829,7 @@
|
|
|
3829
3829
|
"action": "pf-m-action",
|
|
3830
3830
|
"disabled": "pf-m-disabled",
|
|
3831
3831
|
"plain": "pf-m-plain",
|
|
3832
|
+
"text": "pf-m-text",
|
|
3832
3833
|
"splitButton": "pf-m-split-button",
|
|
3833
3834
|
"primary": "pf-m-primary",
|
|
3834
3835
|
"active": "pf-m-active",
|
|
@@ -3848,8 +3849,7 @@
|
|
|
3848
3849
|
"alignLeftOn_2xl": "pf-m-align-left-on-2xl",
|
|
3849
3850
|
"ariaDisabled": "pf-m-aria-disabled",
|
|
3850
3851
|
"icon": "pf-m-icon",
|
|
3851
|
-
"description": "pf-m-description"
|
|
3852
|
-
"text": "pf-m-text"
|
|
3852
|
+
"description": "pf-m-description"
|
|
3853
3853
|
}
|
|
3854
3854
|
};
|
|
3855
3855
|
|
|
@@ -4762,6 +4762,12 @@
|
|
|
4762
4762
|
"horizontal": "pf-m-horizontal",
|
|
4763
4763
|
"alignRight": "pf-m-align-right",
|
|
4764
4764
|
"noPaddingTop": "pf-m-no-padding-top",
|
|
4765
|
+
"horizontalOnXs": "pf-m-horizontal-on-xs",
|
|
4766
|
+
"horizontalOnSm": "pf-m-horizontal-on-sm",
|
|
4767
|
+
"horizontalOnMd": "pf-m-horizontal-on-md",
|
|
4768
|
+
"horizontalOnLg": "pf-m-horizontal-on-lg",
|
|
4769
|
+
"horizontalOnXl": "pf-m-horizontal-on-xl",
|
|
4770
|
+
"horizontalOn_2xl": "pf-m-horizontal-on-2xl",
|
|
4765
4771
|
"limitWidth": "pf-m-limit-width",
|
|
4766
4772
|
"action": "pf-m-action",
|
|
4767
4773
|
"info": "pf-m-info",
|
|
@@ -6292,14 +6298,31 @@
|
|
|
6292
6298
|
PopoverContent.displayName = 'PopoverContent';
|
|
6293
6299
|
|
|
6294
6300
|
const PopoverBody = (_a) => {
|
|
6295
|
-
var { children, id } = _a, props = __rest$1(_a, ["children", "id"]);
|
|
6296
|
-
return (React__namespace.createElement("div", Object.assign({ className: css(_default$6.popoverBody), id: id }, props), children));
|
|
6301
|
+
var { children, id, className } = _a, props = __rest$1(_a, ["children", "id", "className"]);
|
|
6302
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(_default$6.popoverBody, className), id: id }, props), children));
|
|
6297
6303
|
};
|
|
6298
6304
|
PopoverBody.displayName = 'PopoverBody';
|
|
6299
6305
|
|
|
6306
|
+
const PopoverHeaderIcon = (_a) => {
|
|
6307
|
+
var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
|
|
6308
|
+
return (React__namespace.createElement("span", Object.assign({ className: css(_default$6.popoverTitleIcon, className) }, props), children));
|
|
6309
|
+
};
|
|
6310
|
+
PopoverHeaderIcon.displayName = 'PopoverHeaderIcon';
|
|
6311
|
+
|
|
6312
|
+
const PopoverHeaderText = (_a) => {
|
|
6313
|
+
var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
|
|
6314
|
+
return (React__namespace.createElement("span", Object.assign({ className: css(_default$6.popoverTitleText, className) }, props), children));
|
|
6315
|
+
};
|
|
6316
|
+
PopoverHeaderText.displayName = 'PopoverHeaderText';
|
|
6317
|
+
|
|
6300
6318
|
const PopoverHeader = (_a) => {
|
|
6301
|
-
var { children, id } = _a, props = __rest$1(_a, ["children", "id"]);
|
|
6302
|
-
|
|
6319
|
+
var { children, icon, className, titleHeadingLevel = 'h6', alertSeverityVariant, id, alertSeverityScreenReaderText } = _a, props = __rest$1(_a, ["children", "icon", "className", "titleHeadingLevel", "alertSeverityVariant", "id", "alertSeverityScreenReaderText"]);
|
|
6320
|
+
const HeadingLevel = titleHeadingLevel;
|
|
6321
|
+
return icon || alertSeverityVariant ? (React__namespace.createElement("header", Object.assign({ className: css('pf-c-popover__header', className), id: id }, props),
|
|
6322
|
+
React__namespace.createElement(HeadingLevel, { className: css(_default$6.popoverTitle, icon && _default$6.modifiers.icon) },
|
|
6323
|
+
icon && React__namespace.createElement(PopoverHeaderIcon, null, icon),
|
|
6324
|
+
alertSeverityVariant && alertSeverityScreenReaderText && (React__namespace.createElement("span", { className: "pf-u-screen-reader" }, alertSeverityScreenReaderText)),
|
|
6325
|
+
React__namespace.createElement(PopoverHeaderText, null, children)))) : (React__namespace.createElement(Title, Object.assign({ headingLevel: titleHeadingLevel, size: TitleSizes.md, id: id, className: className }, props), children));
|
|
6303
6326
|
};
|
|
6304
6327
|
PopoverHeader.displayName = 'PopoverHeader';
|
|
6305
6328
|
|
|
@@ -6360,10 +6383,17 @@
|
|
|
6360
6383
|
PopoverPosition["rightStart"] = "right-start";
|
|
6361
6384
|
PopoverPosition["rightEnd"] = "right-end";
|
|
6362
6385
|
})(PopoverPosition || (PopoverPosition = {}));
|
|
6386
|
+
const alertStyle = {
|
|
6387
|
+
default: _default$6.modifiers.default,
|
|
6388
|
+
info: _default$6.modifiers.info,
|
|
6389
|
+
success: _default$6.modifiers.success,
|
|
6390
|
+
warning: _default$6.modifiers.warning,
|
|
6391
|
+
danger: _default$6.modifiers.danger
|
|
6392
|
+
};
|
|
6363
6393
|
const Popover = (_a) => {
|
|
6364
|
-
var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, minWidth = popoverMinWidth && popoverMinWidth.value, maxWidth = popoverMaxWidth && popoverMaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25,
|
|
6394
|
+
var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', headerIcon = null, alertSeverityVariant, alertSeverityScreenReaderText, footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, minWidth = popoverMinWidth && popoverMinWidth.value, maxWidth = popoverMaxWidth && popoverMaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25,
|
|
6365
6395
|
// For every initial starting position, there are 3 escape positions
|
|
6366
|
-
flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], animationDuration = 300, id, withFocusTrap: propWithFocusTrap, boundary, tippyProps, reference, hasNoPadding = false, hasAutoWidth = false } = _a, rest = __rest$1(_a, ["children", "position", "enableFlip", "className", "isVisible", "shouldClose", "shouldOpen", 'aria-label', "bodyContent", "headerContent", "headerComponent", "footerContent", "appendTo", "hideOnOutsideClick", "onHide", "onHidden", "onShow", "onShown", "onMount", "zIndex", "minWidth", "maxWidth", "closeBtnAriaLabel", "showClose", "distance", "flipBehavior", "animationDuration", "id", "withFocusTrap", "boundary", "tippyProps", "reference", "hasNoPadding", "hasAutoWidth"]);
|
|
6396
|
+
flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], animationDuration = 300, id, withFocusTrap: propWithFocusTrap, boundary, tippyProps, reference, hasNoPadding = false, hasAutoWidth = false } = _a, rest = __rest$1(_a, ["children", "position", "enableFlip", "className", "isVisible", "shouldClose", "shouldOpen", 'aria-label', "bodyContent", "headerContent", "headerComponent", "headerIcon", "alertSeverityVariant", "alertSeverityScreenReaderText", "footerContent", "appendTo", "hideOnOutsideClick", "onHide", "onHidden", "onShow", "onShown", "onMount", "zIndex", "minWidth", "maxWidth", "closeBtnAriaLabel", "showClose", "distance", "flipBehavior", "animationDuration", "id", "withFocusTrap", "boundary", "tippyProps", "reference", "hasNoPadding", "hasAutoWidth"]);
|
|
6367
6397
|
{
|
|
6368
6398
|
boundary !== undefined &&
|
|
6369
6399
|
console.warn('The Popover boundary prop has been deprecated. If you want to constrain the popper to a specific element use the appendTo prop instead.');
|
|
@@ -6509,7 +6539,7 @@
|
|
|
6509
6539
|
}
|
|
6510
6540
|
return node;
|
|
6511
6541
|
}
|
|
6512
|
-
}, preventScrollOnDeactivate: true, className: css(_default$6.popover, hasNoPadding && _default$6.modifiers.noPadding, hasAutoWidth && _default$6.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
|
|
6542
|
+
}, preventScrollOnDeactivate: true, className: css(_default$6.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && _default$6.modifiers.noPadding, hasAutoWidth && _default$6.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
|
|
6513
6543
|
minWidth: hasCustomMinWidth ? minWidth : null,
|
|
6514
6544
|
maxWidth: hasCustomMaxWidth ? maxWidth : null,
|
|
6515
6545
|
opacity,
|
|
@@ -6518,7 +6548,7 @@
|
|
|
6518
6548
|
React__namespace.createElement(PopoverArrow, null),
|
|
6519
6549
|
React__namespace.createElement(PopoverContent, null,
|
|
6520
6550
|
showClose && React__namespace.createElement(PopoverCloseButton, { onClose: closePopover, "aria-label": closeBtnAriaLabel }),
|
|
6521
|
-
headerContent && (React__namespace.createElement(PopoverHeader, { id: `popover-${uniqueId}-header
|
|
6551
|
+
headerContent && (React__namespace.createElement(PopoverHeader, { id: `popover-${uniqueId}-header`, icon: headerIcon, alertSeverityVariant: alertSeverityVariant, alertSeverityScreenReaderText: alertSeverityScreenReaderText || `${alertSeverityVariant} alert:`, titleHeadingLevel: headerComponent }, typeof headerContent === 'function' ? headerContent(hide) : headerContent)),
|
|
6522
6552
|
React__namespace.createElement(PopoverBody, { id: `popover-${uniqueId}-body` }, typeof bodyContent === 'function' ? bodyContent(hide) : bodyContent),
|
|
6523
6553
|
footerContent && (React__namespace.createElement(PopoverFooter, { id: `popover-${uniqueId}-footer` }, typeof footerContent === 'function' ? footerContent(hide) : footerContent)))));
|
|
6524
6554
|
return (React__namespace.createElement(PopoverContext.Provider, { value: { headerComponent } },
|