@patternfly/react-table 4.103.3 → 4.104.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 +27 -0
- package/dist/umd/react-table.css +15 -15
- package/dist/umd/react-table.min.css +357 -357
- package/package.json +6 -6
- package/src/docs/demos/Table.md +49 -216
- package/src/docs/examples/Data.jsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 4.104.1 (2022-08-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 4.104.0 (2022-08-23)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **WizardComposable:** Created composable spinoff of wizard w/ enhancements ([#7703](https://github.com/patternfly/patternfly-react/issues/7703)) ([76eab29](https://github.com/patternfly/patternfly-react/commit/76eab29b640e2f71cd9bd5d42f58fa8dd0eba799))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## 4.103.4 (2022-08-23)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## 4.103.3 (2022-08-23)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @patternfly/react-table
|
package/dist/umd/react-table.css
CHANGED
|
@@ -31736,21 +31736,6 @@ label.pf-c-tree-view__node-text {
|
|
|
31736
31736
|
margin-right: var(--pf-l-level--m-gutter--MarginRight);
|
|
31737
31737
|
}
|
|
31738
31738
|
|
|
31739
|
-
.pf-l-stack {
|
|
31740
|
-
--pf-l-stack--m-gutter--MarginBottom: var(--pf-global--gutter);
|
|
31741
|
-
display: flex;
|
|
31742
|
-
flex-direction: column;
|
|
31743
|
-
height: 100%;
|
|
31744
|
-
}
|
|
31745
|
-
|
|
31746
|
-
.pf-l-stack__item.pf-m-fill {
|
|
31747
|
-
flex-grow: 1;
|
|
31748
|
-
}
|
|
31749
|
-
|
|
31750
|
-
.pf-l-stack.pf-m-gutter > *:not(:last-child) {
|
|
31751
|
-
margin-bottom: var(--pf-l-stack--m-gutter--MarginBottom);
|
|
31752
|
-
}
|
|
31753
|
-
|
|
31754
31739
|
.pf-l-split {
|
|
31755
31740
|
--pf-l-split--m-gutter--MarginRight: var(--pf-global--gutter);
|
|
31756
31741
|
display: flex;
|
|
@@ -31770,6 +31755,21 @@ label.pf-c-tree-view__node-text {
|
|
|
31770
31755
|
margin-right: var(--pf-l-split--m-gutter--MarginRight);
|
|
31771
31756
|
}
|
|
31772
31757
|
|
|
31758
|
+
.pf-l-stack {
|
|
31759
|
+
--pf-l-stack--m-gutter--MarginBottom: var(--pf-global--gutter);
|
|
31760
|
+
display: flex;
|
|
31761
|
+
flex-direction: column;
|
|
31762
|
+
height: 100%;
|
|
31763
|
+
}
|
|
31764
|
+
|
|
31765
|
+
.pf-l-stack__item.pf-m-fill {
|
|
31766
|
+
flex-grow: 1;
|
|
31767
|
+
}
|
|
31768
|
+
|
|
31769
|
+
.pf-l-stack.pf-m-gutter > *:not(:last-child) {
|
|
31770
|
+
margin-bottom: var(--pf-l-stack--m-gutter--MarginBottom);
|
|
31771
|
+
}
|
|
31772
|
+
|
|
31773
31773
|
.pf-c-alert-group {
|
|
31774
31774
|
--pf-c-alert-group__item--MarginTop: var(--pf-global--spacer--sm);
|
|
31775
31775
|
--pf-c-alert-group--m-toast--Top: var(--pf-global--spacer--2xl);
|
|
@@ -6579,6 +6579,184 @@ textarea.pf-c-form-control {
|
|
|
6579
6579
|
--pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--300);
|
|
6580
6580
|
}
|
|
6581
6581
|
|
|
6582
|
+
.pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-info {
|
|
6583
|
+
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
6584
|
+
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
6585
|
+
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
6586
|
+
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
6587
|
+
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
6588
|
+
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
6589
|
+
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
6590
|
+
}
|
|
6591
|
+
|
|
6592
|
+
.pf-c-banner {
|
|
6593
|
+
--pf-global--Color--100: var(--pf-global--Color--light-100);
|
|
6594
|
+
--pf-global--Color--200: var(--pf-global--Color--light-200);
|
|
6595
|
+
--pf-global--BorderColor--100: var(--pf-global--BorderColor--light-100);
|
|
6596
|
+
--pf-global--primary-color--100: var(--pf-global--primary-color--light-100);
|
|
6597
|
+
--pf-global--link--Color: var(--pf-global--link--Color--light);
|
|
6598
|
+
--pf-global--link--Color--hover: var(--pf-global--link--Color--light);
|
|
6599
|
+
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
|
|
6600
|
+
}
|
|
6601
|
+
|
|
6602
|
+
.pf-c-banner .pf-c-card {
|
|
6603
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
|
|
6604
|
+
}
|
|
6605
|
+
|
|
6606
|
+
.pf-c-banner .pf-c-button {
|
|
6607
|
+
--pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
|
|
6608
|
+
--pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
|
|
6609
|
+
--pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
|
|
6610
|
+
--pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
|
|
6611
|
+
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
6612
|
+
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
6613
|
+
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
6614
|
+
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
6615
|
+
--pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
|
|
6616
|
+
--pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
|
|
6617
|
+
--pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
|
|
6618
|
+
--pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
|
|
6619
|
+
--pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
|
|
6620
|
+
--pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
|
|
6621
|
+
--pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
|
|
6622
|
+
--pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
|
|
6623
|
+
}
|
|
6624
|
+
|
|
6625
|
+
.pf-c-banner {
|
|
6626
|
+
--pf-c-banner--PaddingTop: var(--pf-global--spacer--xs);
|
|
6627
|
+
--pf-c-banner--PaddingRight: var(--pf-global--spacer--md);
|
|
6628
|
+
--pf-c-banner--md--PaddingRight: var(--pf-global--spacer--lg);
|
|
6629
|
+
--pf-c-banner--PaddingBottom: var(--pf-global--spacer--xs);
|
|
6630
|
+
--pf-c-banner--PaddingLeft: var(--pf-global--spacer--md);
|
|
6631
|
+
--pf-c-banner--md--PaddingLeft: var(--pf-global--spacer--lg);
|
|
6632
|
+
--pf-c-banner--FontSize: var(--pf-global--FontSize--sm);
|
|
6633
|
+
--pf-c-banner--Color: var(--pf-global--Color--100);
|
|
6634
|
+
--pf-c-banner--BackgroundColor: var(--pf-global--BackgroundColor--dark-400);
|
|
6635
|
+
--pf-c-banner--link--Color: var(--pf-c-banner--Color);
|
|
6636
|
+
--pf-c-banner--link--TextDecoration: underline;
|
|
6637
|
+
--pf-c-banner--link--hover--Color: var(--pf-c-banner--Color);
|
|
6638
|
+
--pf-c-banner--link--hover--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
6639
|
+
--pf-c-banner--link--disabled--Color: var(--pf-c-banner--Color);
|
|
6640
|
+
--pf-c-banner--link--disabled--TextDecoration: none;
|
|
6641
|
+
--pf-c-banner--m-info--BackgroundColor: var(--pf-global--palette--blue-200);
|
|
6642
|
+
--pf-c-banner--m-danger--BackgroundColor: var(--pf-global--danger-color--100);
|
|
6643
|
+
--pf-c-banner--m-success--BackgroundColor: var(--pf-global--success-color--100);
|
|
6644
|
+
--pf-c-banner--m-warning--BackgroundColor: var(--pf-global--warning-color--100);
|
|
6645
|
+
--pf-c-banner--m-sticky--ZIndex: var(--pf-global--ZIndex--md);
|
|
6646
|
+
--pf-c-banner--m-sticky--BoxShadow: var(--pf-global--BoxShadow--md-bottom);
|
|
6647
|
+
color: var(--pf-global--Color--100);
|
|
6648
|
+
overflow: hidden;
|
|
6649
|
+
text-overflow: ellipsis;
|
|
6650
|
+
white-space: nowrap;
|
|
6651
|
+
padding: var(--pf-c-banner--PaddingTop) var(--pf-c-banner--PaddingRight) var(--pf-c-banner--PaddingBottom) var(--pf-c-banner--PaddingLeft);
|
|
6652
|
+
flex-shrink: 0;
|
|
6653
|
+
font-size: var(--pf-c-banner--FontSize);
|
|
6654
|
+
color: var(--pf-c-banner--Color);
|
|
6655
|
+
white-space: nowrap;
|
|
6656
|
+
background-color: var(--pf-c-banner--BackgroundColor);
|
|
6657
|
+
}
|
|
6658
|
+
|
|
6659
|
+
@media (min-width: 768px) {
|
|
6660
|
+
.pf-c-banner {
|
|
6661
|
+
--pf-c-banner--PaddingRight: var(--pf-c-banner--md--PaddingRight);
|
|
6662
|
+
--pf-c-banner--PaddingLeft: var(--pf-c-banner--md--PaddingLeft);
|
|
6663
|
+
}
|
|
6664
|
+
}
|
|
6665
|
+
.pf-c-banner.pf-m-info {
|
|
6666
|
+
color: var(--pf-global--Color--100);
|
|
6667
|
+
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-info--BackgroundColor);
|
|
6668
|
+
}
|
|
6669
|
+
|
|
6670
|
+
.pf-c-banner.pf-m-danger {
|
|
6671
|
+
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-danger--BackgroundColor);
|
|
6672
|
+
}
|
|
6673
|
+
|
|
6674
|
+
.pf-c-banner.pf-m-success {
|
|
6675
|
+
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-success--BackgroundColor);
|
|
6676
|
+
}
|
|
6677
|
+
|
|
6678
|
+
.pf-c-banner.pf-m-warning {
|
|
6679
|
+
color: var(--pf-global--Color--100);
|
|
6680
|
+
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-warning--BackgroundColor);
|
|
6681
|
+
}
|
|
6682
|
+
|
|
6683
|
+
.pf-c-banner.pf-m-sticky {
|
|
6684
|
+
position: sticky;
|
|
6685
|
+
top: 0;
|
|
6686
|
+
z-index: var(--pf-c-banner--m-sticky--ZIndex);
|
|
6687
|
+
box-shadow: var(--pf-c-banner--m-sticky--BoxShadow);
|
|
6688
|
+
}
|
|
6689
|
+
|
|
6690
|
+
.pf-c-banner a {
|
|
6691
|
+
color: var(--pf-c-banner--link--Color);
|
|
6692
|
+
text-decoration: var(--pf-c-banner--link--TextDecoration);
|
|
6693
|
+
}
|
|
6694
|
+
|
|
6695
|
+
.pf-c-banner a:hover:not(.pf-m-disabled) {
|
|
6696
|
+
--pf-c-banner--link--Color: var(--pf-c-banner--link--hover--Color);
|
|
6697
|
+
font-weight: var(--pf-c-banner--link--hover--FontWeight);
|
|
6698
|
+
}
|
|
6699
|
+
|
|
6700
|
+
.pf-c-banner a.pf-m-disabled {
|
|
6701
|
+
--pf-c-banner--link--Color: var(--pf-c-banner--link--disabled--Color);
|
|
6702
|
+
--pf-c-banner--link--TextDecoration: var(--pf-c-banner--link--disabled--TextDecoration);
|
|
6703
|
+
cursor: not-allowed;
|
|
6704
|
+
}
|
|
6705
|
+
|
|
6706
|
+
.pf-c-banner .pf-c-button.pf-m-inline {
|
|
6707
|
+
--pf-c-button--m-link--Color: var(--pf-c-banner--link--Color);
|
|
6708
|
+
--pf-c-button--m-link--m-inline--hover--Color: var(--pf-c-banner--link--hover--Color);
|
|
6709
|
+
--pf-c-button--disabled--Color: var(--pf-c-banner--link--disabled--Color);
|
|
6710
|
+
text-decoration: var(--pf-c-banner--link--TextDecoration);
|
|
6711
|
+
}
|
|
6712
|
+
|
|
6713
|
+
.pf-c-banner .pf-c-button.pf-m-inline:hover {
|
|
6714
|
+
--pf-c-banner--link--Color: var(--pf-c-banner--link--hover--Color);
|
|
6715
|
+
font-weight: var(--pf-c-banner--link--hover--FontWeight);
|
|
6716
|
+
}
|
|
6717
|
+
|
|
6718
|
+
.pf-c-banner .pf-c-button.pf-m-inline:disabled, .pf-c-banner .pf-c-button.pf-m-inline.pf-m-disabled {
|
|
6719
|
+
--pf-c-banner--link--TextDecoration: var(--pf-c-banner--link--disabled--TextDecoration);
|
|
6720
|
+
cursor: not-allowed;
|
|
6721
|
+
}
|
|
6722
|
+
|
|
6723
|
+
:where(.pf-theme-dark) .pf-c-banner {
|
|
6724
|
+
--pf-global--Color--100: #e0e0e0;
|
|
6725
|
+
--pf-global--Color--200: #aaabac;
|
|
6726
|
+
--pf-global--BorderColor--100: #444548;
|
|
6727
|
+
--pf-global--primary-color--100: #1fa7f8;
|
|
6728
|
+
--pf-global--link--Color: #1fa7f8;
|
|
6729
|
+
--pf-global--link--Color--hover: #73bcf7;
|
|
6730
|
+
--pf-global--BackgroundColor--100: #1b1d21;
|
|
6731
|
+
}
|
|
6732
|
+
|
|
6733
|
+
:where(.pf-theme-dark) .pf-c-banner .pf-c-card {
|
|
6734
|
+
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
6735
|
+
}
|
|
6736
|
+
|
|
6737
|
+
:where(.pf-theme-dark) .pf-c-banner .pf-c-button {
|
|
6738
|
+
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
6739
|
+
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
6740
|
+
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
6741
|
+
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
6742
|
+
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
6743
|
+
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
6744
|
+
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
6745
|
+
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
6746
|
+
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
6747
|
+
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
6748
|
+
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
6749
|
+
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
6750
|
+
}
|
|
6751
|
+
|
|
6752
|
+
:where(.pf-theme-dark) .pf-c-banner {
|
|
6753
|
+
color: var(--pf-global--Color--100);
|
|
6754
|
+
}
|
|
6755
|
+
|
|
6756
|
+
:where(.pf-theme-dark) .pf-c-banner.pf-m-info, :where(.pf-theme-dark) .pf-c-banner.pf-m-danger, :where(.pf-theme-dark) .pf-c-banner.pf-m-success, :where(.pf-theme-dark) .pf-c-banner.pf-m-warning {
|
|
6757
|
+
color: var(--pf-global--palette--black-900);
|
|
6758
|
+
}
|
|
6759
|
+
|
|
6582
6760
|
.pf-c-brand {
|
|
6583
6761
|
--pf-c-brand--Width: auto;
|
|
6584
6762
|
--pf-c-brand--Height: auto;
|
|
@@ -7359,184 +7537,6 @@ button.pf-c-breadcrumb__link {
|
|
|
7359
7537
|
border-bottom: var(--pf-global--BorderWidth--sm) solid var(--pf-global--palette--black-700);
|
|
7360
7538
|
}
|
|
7361
7539
|
|
|
7362
|
-
.pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-info {
|
|
7363
|
-
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
7364
|
-
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
7365
|
-
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
7366
|
-
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
7367
|
-
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
7368
|
-
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
7369
|
-
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
7370
|
-
}
|
|
7371
|
-
|
|
7372
|
-
.pf-c-banner {
|
|
7373
|
-
--pf-global--Color--100: var(--pf-global--Color--light-100);
|
|
7374
|
-
--pf-global--Color--200: var(--pf-global--Color--light-200);
|
|
7375
|
-
--pf-global--BorderColor--100: var(--pf-global--BorderColor--light-100);
|
|
7376
|
-
--pf-global--primary-color--100: var(--pf-global--primary-color--light-100);
|
|
7377
|
-
--pf-global--link--Color: var(--pf-global--link--Color--light);
|
|
7378
|
-
--pf-global--link--Color--hover: var(--pf-global--link--Color--light);
|
|
7379
|
-
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
|
|
7380
|
-
}
|
|
7381
|
-
|
|
7382
|
-
.pf-c-banner .pf-c-card {
|
|
7383
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
|
|
7384
|
-
}
|
|
7385
|
-
|
|
7386
|
-
.pf-c-banner .pf-c-button {
|
|
7387
|
-
--pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
|
|
7388
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
|
|
7389
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
|
|
7390
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
|
|
7391
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
7392
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
7393
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
7394
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
7395
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
|
|
7396
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
|
|
7397
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
|
|
7398
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
|
|
7399
|
-
--pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
|
|
7400
|
-
--pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
|
|
7401
|
-
--pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
|
|
7402
|
-
--pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
|
|
7403
|
-
}
|
|
7404
|
-
|
|
7405
|
-
.pf-c-banner {
|
|
7406
|
-
--pf-c-banner--PaddingTop: var(--pf-global--spacer--xs);
|
|
7407
|
-
--pf-c-banner--PaddingRight: var(--pf-global--spacer--md);
|
|
7408
|
-
--pf-c-banner--md--PaddingRight: var(--pf-global--spacer--lg);
|
|
7409
|
-
--pf-c-banner--PaddingBottom: var(--pf-global--spacer--xs);
|
|
7410
|
-
--pf-c-banner--PaddingLeft: var(--pf-global--spacer--md);
|
|
7411
|
-
--pf-c-banner--md--PaddingLeft: var(--pf-global--spacer--lg);
|
|
7412
|
-
--pf-c-banner--FontSize: var(--pf-global--FontSize--sm);
|
|
7413
|
-
--pf-c-banner--Color: var(--pf-global--Color--100);
|
|
7414
|
-
--pf-c-banner--BackgroundColor: var(--pf-global--BackgroundColor--dark-400);
|
|
7415
|
-
--pf-c-banner--link--Color: var(--pf-c-banner--Color);
|
|
7416
|
-
--pf-c-banner--link--TextDecoration: underline;
|
|
7417
|
-
--pf-c-banner--link--hover--Color: var(--pf-c-banner--Color);
|
|
7418
|
-
--pf-c-banner--link--hover--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
7419
|
-
--pf-c-banner--link--disabled--Color: var(--pf-c-banner--Color);
|
|
7420
|
-
--pf-c-banner--link--disabled--TextDecoration: none;
|
|
7421
|
-
--pf-c-banner--m-info--BackgroundColor: var(--pf-global--palette--blue-200);
|
|
7422
|
-
--pf-c-banner--m-danger--BackgroundColor: var(--pf-global--danger-color--100);
|
|
7423
|
-
--pf-c-banner--m-success--BackgroundColor: var(--pf-global--success-color--100);
|
|
7424
|
-
--pf-c-banner--m-warning--BackgroundColor: var(--pf-global--warning-color--100);
|
|
7425
|
-
--pf-c-banner--m-sticky--ZIndex: var(--pf-global--ZIndex--md);
|
|
7426
|
-
--pf-c-banner--m-sticky--BoxShadow: var(--pf-global--BoxShadow--md-bottom);
|
|
7427
|
-
color: var(--pf-global--Color--100);
|
|
7428
|
-
overflow: hidden;
|
|
7429
|
-
text-overflow: ellipsis;
|
|
7430
|
-
white-space: nowrap;
|
|
7431
|
-
padding: var(--pf-c-banner--PaddingTop) var(--pf-c-banner--PaddingRight) var(--pf-c-banner--PaddingBottom) var(--pf-c-banner--PaddingLeft);
|
|
7432
|
-
flex-shrink: 0;
|
|
7433
|
-
font-size: var(--pf-c-banner--FontSize);
|
|
7434
|
-
color: var(--pf-c-banner--Color);
|
|
7435
|
-
white-space: nowrap;
|
|
7436
|
-
background-color: var(--pf-c-banner--BackgroundColor);
|
|
7437
|
-
}
|
|
7438
|
-
|
|
7439
|
-
@media (min-width: 768px) {
|
|
7440
|
-
.pf-c-banner {
|
|
7441
|
-
--pf-c-banner--PaddingRight: var(--pf-c-banner--md--PaddingRight);
|
|
7442
|
-
--pf-c-banner--PaddingLeft: var(--pf-c-banner--md--PaddingLeft);
|
|
7443
|
-
}
|
|
7444
|
-
}
|
|
7445
|
-
.pf-c-banner.pf-m-info {
|
|
7446
|
-
color: var(--pf-global--Color--100);
|
|
7447
|
-
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-info--BackgroundColor);
|
|
7448
|
-
}
|
|
7449
|
-
|
|
7450
|
-
.pf-c-banner.pf-m-danger {
|
|
7451
|
-
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-danger--BackgroundColor);
|
|
7452
|
-
}
|
|
7453
|
-
|
|
7454
|
-
.pf-c-banner.pf-m-success {
|
|
7455
|
-
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-success--BackgroundColor);
|
|
7456
|
-
}
|
|
7457
|
-
|
|
7458
|
-
.pf-c-banner.pf-m-warning {
|
|
7459
|
-
color: var(--pf-global--Color--100);
|
|
7460
|
-
--pf-c-banner--BackgroundColor: var(--pf-c-banner--m-warning--BackgroundColor);
|
|
7461
|
-
}
|
|
7462
|
-
|
|
7463
|
-
.pf-c-banner.pf-m-sticky {
|
|
7464
|
-
position: sticky;
|
|
7465
|
-
top: 0;
|
|
7466
|
-
z-index: var(--pf-c-banner--m-sticky--ZIndex);
|
|
7467
|
-
box-shadow: var(--pf-c-banner--m-sticky--BoxShadow);
|
|
7468
|
-
}
|
|
7469
|
-
|
|
7470
|
-
.pf-c-banner a {
|
|
7471
|
-
color: var(--pf-c-banner--link--Color);
|
|
7472
|
-
text-decoration: var(--pf-c-banner--link--TextDecoration);
|
|
7473
|
-
}
|
|
7474
|
-
|
|
7475
|
-
.pf-c-banner a:hover:not(.pf-m-disabled) {
|
|
7476
|
-
--pf-c-banner--link--Color: var(--pf-c-banner--link--hover--Color);
|
|
7477
|
-
font-weight: var(--pf-c-banner--link--hover--FontWeight);
|
|
7478
|
-
}
|
|
7479
|
-
|
|
7480
|
-
.pf-c-banner a.pf-m-disabled {
|
|
7481
|
-
--pf-c-banner--link--Color: var(--pf-c-banner--link--disabled--Color);
|
|
7482
|
-
--pf-c-banner--link--TextDecoration: var(--pf-c-banner--link--disabled--TextDecoration);
|
|
7483
|
-
cursor: not-allowed;
|
|
7484
|
-
}
|
|
7485
|
-
|
|
7486
|
-
.pf-c-banner .pf-c-button.pf-m-inline {
|
|
7487
|
-
--pf-c-button--m-link--Color: var(--pf-c-banner--link--Color);
|
|
7488
|
-
--pf-c-button--m-link--m-inline--hover--Color: var(--pf-c-banner--link--hover--Color);
|
|
7489
|
-
--pf-c-button--disabled--Color: var(--pf-c-banner--link--disabled--Color);
|
|
7490
|
-
text-decoration: var(--pf-c-banner--link--TextDecoration);
|
|
7491
|
-
}
|
|
7492
|
-
|
|
7493
|
-
.pf-c-banner .pf-c-button.pf-m-inline:hover {
|
|
7494
|
-
--pf-c-banner--link--Color: var(--pf-c-banner--link--hover--Color);
|
|
7495
|
-
font-weight: var(--pf-c-banner--link--hover--FontWeight);
|
|
7496
|
-
}
|
|
7497
|
-
|
|
7498
|
-
.pf-c-banner .pf-c-button.pf-m-inline:disabled, .pf-c-banner .pf-c-button.pf-m-inline.pf-m-disabled {
|
|
7499
|
-
--pf-c-banner--link--TextDecoration: var(--pf-c-banner--link--disabled--TextDecoration);
|
|
7500
|
-
cursor: not-allowed;
|
|
7501
|
-
}
|
|
7502
|
-
|
|
7503
|
-
:where(.pf-theme-dark) .pf-c-banner {
|
|
7504
|
-
--pf-global--Color--100: #e0e0e0;
|
|
7505
|
-
--pf-global--Color--200: #aaabac;
|
|
7506
|
-
--pf-global--BorderColor--100: #444548;
|
|
7507
|
-
--pf-global--primary-color--100: #1fa7f8;
|
|
7508
|
-
--pf-global--link--Color: #1fa7f8;
|
|
7509
|
-
--pf-global--link--Color--hover: #73bcf7;
|
|
7510
|
-
--pf-global--BackgroundColor--100: #1b1d21;
|
|
7511
|
-
}
|
|
7512
|
-
|
|
7513
|
-
:where(.pf-theme-dark) .pf-c-banner .pf-c-card {
|
|
7514
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
7515
|
-
}
|
|
7516
|
-
|
|
7517
|
-
:where(.pf-theme-dark) .pf-c-banner .pf-c-button {
|
|
7518
|
-
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
7519
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
7520
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
7521
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
7522
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
7523
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
7524
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
7525
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
7526
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
7527
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
7528
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
7529
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
7530
|
-
}
|
|
7531
|
-
|
|
7532
|
-
:where(.pf-theme-dark) .pf-c-banner {
|
|
7533
|
-
color: var(--pf-global--Color--100);
|
|
7534
|
-
}
|
|
7535
|
-
|
|
7536
|
-
:where(.pf-theme-dark) .pf-c-banner.pf-m-info, :where(.pf-theme-dark) .pf-c-banner.pf-m-danger, :where(.pf-theme-dark) .pf-c-banner.pf-m-success, :where(.pf-theme-dark) .pf-c-banner.pf-m-warning {
|
|
7537
|
-
color: var(--pf-global--palette--black-900);
|
|
7538
|
-
}
|
|
7539
|
-
|
|
7540
7540
|
.pf-c-calendar-month {
|
|
7541
7541
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
7542
7542
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -17769,26 +17769,130 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
17769
17769
|
--pf-c-multiple-file-upload__status-item--PaddingTop: var(--pf-c-multiple-file-upload__status-item--first-child--PaddingTop);
|
|
17770
17770
|
}
|
|
17771
17771
|
|
|
17772
|
-
.pf-c-multiple-file-upload__status-item-icon {
|
|
17773
|
-
color: var(--pf-c-multiple-file-upload__status-item-icon--Color);
|
|
17772
|
+
.pf-c-multiple-file-upload__status-item-icon {
|
|
17773
|
+
color: var(--pf-c-multiple-file-upload__status-item-icon--Color);
|
|
17774
|
+
}
|
|
17775
|
+
|
|
17776
|
+
.pf-c-multiple-file-upload__status-item-close {
|
|
17777
|
+
margin-top: var(--pf-c-multiple-file-upload__status-item-close--MarginTop);
|
|
17778
|
+
}
|
|
17779
|
+
|
|
17780
|
+
.pf-c-multiple-file-upload__status-item-progress {
|
|
17781
|
+
display: grid;
|
|
17782
|
+
grid-template-columns: var(--pf-c-multiple-file-upload__status-item-progress--GridTemplateColumns);
|
|
17783
|
+
gap: var(--pf-c-multiple-file-upload__status-item-progress--Gap);
|
|
17784
|
+
}
|
|
17785
|
+
|
|
17786
|
+
.pf-c-multiple-file-upload__status-item-progress-text {
|
|
17787
|
+
color: var(--pf-c-multiple-file-upload__status-item-progress-text--Color);
|
|
17788
|
+
}
|
|
17789
|
+
|
|
17790
|
+
.pf-c-multiple-file-upload__status-item-progress-size {
|
|
17791
|
+
color: var(--pf-c-multiple-file-upload__status-item-progress-size--Color);
|
|
17792
|
+
}
|
|
17793
|
+
|
|
17794
|
+
.pf-c-notification-badge {
|
|
17795
|
+
--pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
|
|
17796
|
+
--pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
|
|
17797
|
+
--pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
17798
|
+
--pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
|
|
17799
|
+
--pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
|
|
17800
|
+
--pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
|
|
17801
|
+
--pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
|
|
17802
|
+
--pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
|
|
17803
|
+
--pf-c-notification-badge--after--BorderColor: transparent;
|
|
17804
|
+
--pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
17805
|
+
--pf-c-notification-badge--after--BorderWidth: 0;
|
|
17806
|
+
--pf-c-notification-badge--after--Top: 0;
|
|
17807
|
+
--pf-c-notification-badge--after--Right: 0;
|
|
17808
|
+
--pf-c-notification-badge--after--Width: auto;
|
|
17809
|
+
--pf-c-notification-badge--after--Height: auto;
|
|
17810
|
+
--pf-c-notification-badge--after--BackgroundColor: transparent;
|
|
17811
|
+
--pf-c-notification-badge--after--TranslateX: 0;
|
|
17812
|
+
--pf-c-notification-badge--after--TranslateY: 0;
|
|
17813
|
+
--pf-c-notification-badge__i--Width: auto;
|
|
17814
|
+
--pf-c-notification-badge__i--Height: auto;
|
|
17815
|
+
--pf-c-notification-badge--m-read--after--BorderColor: transparent;
|
|
17816
|
+
--pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
|
|
17817
|
+
--pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
|
|
17818
|
+
--pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
|
|
17819
|
+
--pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
|
|
17820
|
+
--pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
|
|
17821
|
+
--pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
|
|
17822
|
+
--pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
|
|
17823
|
+
--pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
|
|
17824
|
+
--pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
|
|
17825
|
+
position: relative;
|
|
17826
|
+
display: inline-block;
|
|
17827
|
+
padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
|
|
17828
|
+
margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
|
|
17829
|
+
background-color: var(--pf-c-notification-badge--after--BackgroundColor);
|
|
17830
|
+
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
17831
|
+
}
|
|
17832
|
+
|
|
17833
|
+
.pf-c-notification-badge::before {
|
|
17834
|
+
position: absolute;
|
|
17835
|
+
top: var(--pf-c-notification-badge--after--Top);
|
|
17836
|
+
right: var(--pf-c-notification-badge--after--Right);
|
|
17837
|
+
bottom: 0;
|
|
17838
|
+
left: 0;
|
|
17839
|
+
width: var(--pf-c-notification-badge--after--Width);
|
|
17840
|
+
height: var(--pf-c-notification-badge--after--Height);
|
|
17841
|
+
content: "";
|
|
17842
|
+
border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
|
|
17843
|
+
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
17844
|
+
transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
|
|
17845
|
+
}
|
|
17846
|
+
|
|
17847
|
+
.pf-c-notification-badge > i {
|
|
17848
|
+
width: var(--pf-c-notification-badge__i--Width);
|
|
17849
|
+
height: var(--pf-c-notification-badge__i--Height);
|
|
17850
|
+
}
|
|
17851
|
+
|
|
17852
|
+
.pf-c-notification-badge > * {
|
|
17853
|
+
position: relative;
|
|
17854
|
+
}
|
|
17855
|
+
|
|
17856
|
+
.pf-c-notification-badge .pf-icon-attention-bell,
|
|
17857
|
+
.pf-c-notification-badge .pf-icon-bell {
|
|
17858
|
+
display: inline-block;
|
|
17859
|
+
line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
|
|
17860
|
+
}
|
|
17861
|
+
|
|
17862
|
+
.pf-c-notification-badge .pf-icon-attention-bell::before,
|
|
17863
|
+
.pf-c-notification-badge .pf-icon-bell::before {
|
|
17864
|
+
vertical-align: bottom;
|
|
17865
|
+
}
|
|
17866
|
+
|
|
17867
|
+
.pf-c-notification-badge.pf-m-read {
|
|
17868
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
|
|
17869
|
+
--pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
|
|
17870
|
+
}
|
|
17871
|
+
|
|
17872
|
+
.pf-c-notification-badge.pf-m-unread {
|
|
17873
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
|
|
17874
|
+
color: var(--pf-c-notification-badge--m-unread--Color);
|
|
17875
|
+
}
|
|
17876
|
+
|
|
17877
|
+
.pf-c-notification-badge.pf-m-unread:hover {
|
|
17878
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
|
|
17774
17879
|
}
|
|
17775
17880
|
|
|
17776
|
-
.pf-c-
|
|
17777
|
-
|
|
17881
|
+
.pf-c-notification-badge.pf-m-attention {
|
|
17882
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
|
|
17883
|
+
color: var(--pf-c-notification-badge--m-attention--Color);
|
|
17778
17884
|
}
|
|
17779
17885
|
|
|
17780
|
-
.pf-c-
|
|
17781
|
-
|
|
17782
|
-
grid-template-columns: var(--pf-c-multiple-file-upload__status-item-progress--GridTemplateColumns);
|
|
17783
|
-
gap: var(--pf-c-multiple-file-upload__status-item-progress--Gap);
|
|
17886
|
+
.pf-c-notification-badge.pf-m-attention:hover {
|
|
17887
|
+
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
|
|
17784
17888
|
}
|
|
17785
17889
|
|
|
17786
|
-
.pf-c-
|
|
17787
|
-
|
|
17890
|
+
.pf-c-notification-badge__count {
|
|
17891
|
+
margin-left: var(--pf-c-notification-badge__count--MarginLeft);
|
|
17788
17892
|
}
|
|
17789
17893
|
|
|
17790
|
-
.pf-
|
|
17791
|
-
|
|
17894
|
+
:where(.pf-theme-dark) .pf-c-notification-badge {
|
|
17895
|
+
--pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--300);
|
|
17792
17896
|
}
|
|
17793
17897
|
|
|
17794
17898
|
.pf-c-nav {
|
|
@@ -18844,110 +18948,6 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
18844
18948
|
--pf-c-nav__item--item__link--after--Top: 0;
|
|
18845
18949
|
}
|
|
18846
18950
|
|
|
18847
|
-
.pf-c-notification-badge {
|
|
18848
|
-
--pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
|
|
18849
|
-
--pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
|
|
18850
|
-
--pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
18851
|
-
--pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
|
|
18852
|
-
--pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
|
|
18853
|
-
--pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
|
|
18854
|
-
--pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
|
|
18855
|
-
--pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
|
|
18856
|
-
--pf-c-notification-badge--after--BorderColor: transparent;
|
|
18857
|
-
--pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
18858
|
-
--pf-c-notification-badge--after--BorderWidth: 0;
|
|
18859
|
-
--pf-c-notification-badge--after--Top: 0;
|
|
18860
|
-
--pf-c-notification-badge--after--Right: 0;
|
|
18861
|
-
--pf-c-notification-badge--after--Width: auto;
|
|
18862
|
-
--pf-c-notification-badge--after--Height: auto;
|
|
18863
|
-
--pf-c-notification-badge--after--BackgroundColor: transparent;
|
|
18864
|
-
--pf-c-notification-badge--after--TranslateX: 0;
|
|
18865
|
-
--pf-c-notification-badge--after--TranslateY: 0;
|
|
18866
|
-
--pf-c-notification-badge__i--Width: auto;
|
|
18867
|
-
--pf-c-notification-badge__i--Height: auto;
|
|
18868
|
-
--pf-c-notification-badge--m-read--after--BorderColor: transparent;
|
|
18869
|
-
--pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
|
|
18870
|
-
--pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
|
|
18871
|
-
--pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
|
|
18872
|
-
--pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
|
|
18873
|
-
--pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
|
|
18874
|
-
--pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
|
|
18875
|
-
--pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
|
|
18876
|
-
--pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
|
|
18877
|
-
--pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
|
|
18878
|
-
position: relative;
|
|
18879
|
-
display: inline-block;
|
|
18880
|
-
padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
|
|
18881
|
-
margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
|
|
18882
|
-
background-color: var(--pf-c-notification-badge--after--BackgroundColor);
|
|
18883
|
-
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
18884
|
-
}
|
|
18885
|
-
|
|
18886
|
-
.pf-c-notification-badge::before {
|
|
18887
|
-
position: absolute;
|
|
18888
|
-
top: var(--pf-c-notification-badge--after--Top);
|
|
18889
|
-
right: var(--pf-c-notification-badge--after--Right);
|
|
18890
|
-
bottom: 0;
|
|
18891
|
-
left: 0;
|
|
18892
|
-
width: var(--pf-c-notification-badge--after--Width);
|
|
18893
|
-
height: var(--pf-c-notification-badge--after--Height);
|
|
18894
|
-
content: "";
|
|
18895
|
-
border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
|
|
18896
|
-
border-radius: var(--pf-c-notification-badge--after--BorderRadius);
|
|
18897
|
-
transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
|
|
18898
|
-
}
|
|
18899
|
-
|
|
18900
|
-
.pf-c-notification-badge > i {
|
|
18901
|
-
width: var(--pf-c-notification-badge__i--Width);
|
|
18902
|
-
height: var(--pf-c-notification-badge__i--Height);
|
|
18903
|
-
}
|
|
18904
|
-
|
|
18905
|
-
.pf-c-notification-badge > * {
|
|
18906
|
-
position: relative;
|
|
18907
|
-
}
|
|
18908
|
-
|
|
18909
|
-
.pf-c-notification-badge .pf-icon-attention-bell,
|
|
18910
|
-
.pf-c-notification-badge .pf-icon-bell {
|
|
18911
|
-
display: inline-block;
|
|
18912
|
-
line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
|
|
18913
|
-
}
|
|
18914
|
-
|
|
18915
|
-
.pf-c-notification-badge .pf-icon-attention-bell::before,
|
|
18916
|
-
.pf-c-notification-badge .pf-icon-bell::before {
|
|
18917
|
-
vertical-align: bottom;
|
|
18918
|
-
}
|
|
18919
|
-
|
|
18920
|
-
.pf-c-notification-badge.pf-m-read {
|
|
18921
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
|
|
18922
|
-
--pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
|
|
18923
|
-
}
|
|
18924
|
-
|
|
18925
|
-
.pf-c-notification-badge.pf-m-unread {
|
|
18926
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
|
|
18927
|
-
color: var(--pf-c-notification-badge--m-unread--Color);
|
|
18928
|
-
}
|
|
18929
|
-
|
|
18930
|
-
.pf-c-notification-badge.pf-m-unread:hover {
|
|
18931
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
|
|
18932
|
-
}
|
|
18933
|
-
|
|
18934
|
-
.pf-c-notification-badge.pf-m-attention {
|
|
18935
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
|
|
18936
|
-
color: var(--pf-c-notification-badge--m-attention--Color);
|
|
18937
|
-
}
|
|
18938
|
-
|
|
18939
|
-
.pf-c-notification-badge.pf-m-attention:hover {
|
|
18940
|
-
--pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
|
|
18941
|
-
}
|
|
18942
|
-
|
|
18943
|
-
.pf-c-notification-badge__count {
|
|
18944
|
-
margin-left: var(--pf-c-notification-badge__count--MarginLeft);
|
|
18945
|
-
}
|
|
18946
|
-
|
|
18947
|
-
:where(.pf-theme-dark) .pf-c-notification-badge {
|
|
18948
|
-
--pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--300);
|
|
18949
|
-
}
|
|
18950
|
-
|
|
18951
18951
|
.pf-c-notification-drawer {
|
|
18952
18952
|
--pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
18953
18953
|
--pf-c-notification-drawer__header--PaddingTop: var(--pf-global--spacer--md);
|
|
@@ -27431,6 +27431,69 @@ label.pf-c-tree-view__node-text {
|
|
|
27431
27431
|
--pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
27432
27432
|
}
|
|
27433
27433
|
|
|
27434
|
+
.pf-c-draggable {
|
|
27435
|
+
--pf-c-draggable--Cursor: auto;
|
|
27436
|
+
--pf-c-draggable--m-dragging--Cursor: grabbing;
|
|
27437
|
+
--pf-c-draggable--m-dragging--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
27438
|
+
--pf-c-draggable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
27439
|
+
--pf-c-draggable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
|
|
27440
|
+
--pf-c-draggable--m-drag-outside--Cursor: not-allowed;
|
|
27441
|
+
--pf-c-draggable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
|
|
27442
|
+
cursor: var(--pf-c-draggable--Cursor);
|
|
27443
|
+
}
|
|
27444
|
+
|
|
27445
|
+
.pf-c-draggable.pf-m-dragging {
|
|
27446
|
+
--pf-c-draggable--Cursor: var(--pf-c-draggable--m-dragging--Cursor);
|
|
27447
|
+
position: relative;
|
|
27448
|
+
background-color: var(--pf-c-draggable--m-dragging--BackgroundColor);
|
|
27449
|
+
box-shadow: var(--pf-c-draggable--m-dragging--BoxShadow);
|
|
27450
|
+
}
|
|
27451
|
+
|
|
27452
|
+
.pf-c-draggable.pf-m-dragging::after {
|
|
27453
|
+
position: absolute;
|
|
27454
|
+
top: 0;
|
|
27455
|
+
right: 0;
|
|
27456
|
+
bottom: 0;
|
|
27457
|
+
left: 0;
|
|
27458
|
+
content: "";
|
|
27459
|
+
border: var(--pf-c-draggable--m-dragging--after--BorderWidth) solid var(--pf-c-draggable--m-dragging--after--BorderColor);
|
|
27460
|
+
}
|
|
27461
|
+
|
|
27462
|
+
.pf-c-draggable.pf-m-drag-outside {
|
|
27463
|
+
--pf-c-draggable--m-dragging--Cursor: var(--pf-c-draggable--m-drag-outside--Cursor);
|
|
27464
|
+
--pf-c-draggable--m-dragging--after--BorderColor: var(--pf-c-draggable--m-drag-outside--after--BorderColor);
|
|
27465
|
+
}
|
|
27466
|
+
|
|
27467
|
+
.pf-c-droppable {
|
|
27468
|
+
--pf-c-droppable--m-dragging--after--BackgroundColor: rgba(255, 255, 255, 0.6);
|
|
27469
|
+
--pf-c-droppable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
27470
|
+
--pf-c-droppable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
|
|
27471
|
+
--pf-c-droppable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
|
|
27472
|
+
}
|
|
27473
|
+
|
|
27474
|
+
.pf-c-droppable.pf-m-dragging {
|
|
27475
|
+
position: relative;
|
|
27476
|
+
}
|
|
27477
|
+
|
|
27478
|
+
.pf-c-droppable.pf-m-dragging::after {
|
|
27479
|
+
position: absolute;
|
|
27480
|
+
top: 0;
|
|
27481
|
+
right: 0;
|
|
27482
|
+
bottom: 0;
|
|
27483
|
+
left: 0;
|
|
27484
|
+
pointer-events: none;
|
|
27485
|
+
content: "";
|
|
27486
|
+
}
|
|
27487
|
+
|
|
27488
|
+
.pf-c-droppable::after {
|
|
27489
|
+
background-color: var(--pf-c-droppable--m-dragging--after--BackgroundColor);
|
|
27490
|
+
border: var(--pf-c-droppable--m-dragging--after--BorderWidth) solid var(--pf-c-droppable--m-dragging--after--BorderColor);
|
|
27491
|
+
}
|
|
27492
|
+
|
|
27493
|
+
.pf-c-droppable.pf-m-drag-outside {
|
|
27494
|
+
--pf-c-droppable--m-dragging--after--BorderColor: var(--pf-c-droppable--m-drag-outside--after--BorderColor);
|
|
27495
|
+
}
|
|
27496
|
+
|
|
27434
27497
|
.pf-c-wizard__header {
|
|
27435
27498
|
--pf-global--Color--100: var(--pf-global--Color--light-100);
|
|
27436
27499
|
--pf-global--Color--200: var(--pf-global--Color--light-200);
|
|
@@ -28013,69 +28076,6 @@ label.pf-c-tree-view__node-text {
|
|
|
28013
28076
|
color: var(--pf-global--Color--100);
|
|
28014
28077
|
}
|
|
28015
28078
|
|
|
28016
|
-
.pf-c-draggable {
|
|
28017
|
-
--pf-c-draggable--Cursor: auto;
|
|
28018
|
-
--pf-c-draggable--m-dragging--Cursor: grabbing;
|
|
28019
|
-
--pf-c-draggable--m-dragging--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
28020
|
-
--pf-c-draggable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
28021
|
-
--pf-c-draggable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
|
|
28022
|
-
--pf-c-draggable--m-drag-outside--Cursor: not-allowed;
|
|
28023
|
-
--pf-c-draggable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
|
|
28024
|
-
cursor: var(--pf-c-draggable--Cursor);
|
|
28025
|
-
}
|
|
28026
|
-
|
|
28027
|
-
.pf-c-draggable.pf-m-dragging {
|
|
28028
|
-
--pf-c-draggable--Cursor: var(--pf-c-draggable--m-dragging--Cursor);
|
|
28029
|
-
position: relative;
|
|
28030
|
-
background-color: var(--pf-c-draggable--m-dragging--BackgroundColor);
|
|
28031
|
-
box-shadow: var(--pf-c-draggable--m-dragging--BoxShadow);
|
|
28032
|
-
}
|
|
28033
|
-
|
|
28034
|
-
.pf-c-draggable.pf-m-dragging::after {
|
|
28035
|
-
position: absolute;
|
|
28036
|
-
top: 0;
|
|
28037
|
-
right: 0;
|
|
28038
|
-
bottom: 0;
|
|
28039
|
-
left: 0;
|
|
28040
|
-
content: "";
|
|
28041
|
-
border: var(--pf-c-draggable--m-dragging--after--BorderWidth) solid var(--pf-c-draggable--m-dragging--after--BorderColor);
|
|
28042
|
-
}
|
|
28043
|
-
|
|
28044
|
-
.pf-c-draggable.pf-m-drag-outside {
|
|
28045
|
-
--pf-c-draggable--m-dragging--Cursor: var(--pf-c-draggable--m-drag-outside--Cursor);
|
|
28046
|
-
--pf-c-draggable--m-dragging--after--BorderColor: var(--pf-c-draggable--m-drag-outside--after--BorderColor);
|
|
28047
|
-
}
|
|
28048
|
-
|
|
28049
|
-
.pf-c-droppable {
|
|
28050
|
-
--pf-c-droppable--m-dragging--after--BackgroundColor: rgba(255, 255, 255, 0.6);
|
|
28051
|
-
--pf-c-droppable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
28052
|
-
--pf-c-droppable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
|
|
28053
|
-
--pf-c-droppable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
|
|
28054
|
-
}
|
|
28055
|
-
|
|
28056
|
-
.pf-c-droppable.pf-m-dragging {
|
|
28057
|
-
position: relative;
|
|
28058
|
-
}
|
|
28059
|
-
|
|
28060
|
-
.pf-c-droppable.pf-m-dragging::after {
|
|
28061
|
-
position: absolute;
|
|
28062
|
-
top: 0;
|
|
28063
|
-
right: 0;
|
|
28064
|
-
bottom: 0;
|
|
28065
|
-
left: 0;
|
|
28066
|
-
pointer-events: none;
|
|
28067
|
-
content: "";
|
|
28068
|
-
}
|
|
28069
|
-
|
|
28070
|
-
.pf-c-droppable::after {
|
|
28071
|
-
background-color: var(--pf-c-droppable--m-dragging--after--BackgroundColor);
|
|
28072
|
-
border: var(--pf-c-droppable--m-dragging--after--BorderWidth) solid var(--pf-c-droppable--m-dragging--after--BorderColor);
|
|
28073
|
-
}
|
|
28074
|
-
|
|
28075
|
-
.pf-c-droppable.pf-m-drag-outside {
|
|
28076
|
-
--pf-c-droppable--m-dragging--after--BorderColor: var(--pf-c-droppable--m-drag-outside--after--BorderColor);
|
|
28077
|
-
}
|
|
28078
|
-
|
|
28079
28079
|
.pf-c-text-input-group {
|
|
28080
28080
|
--pf-c-text-input-group--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
28081
28081
|
--pf-c-text-input-group__text--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.104.1",
|
|
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.
|
|
35
|
-
"@patternfly/react-icons": "^4.
|
|
36
|
-
"@patternfly/react-styles": "^4.
|
|
37
|
-
"@patternfly/react-tokens": "^4.
|
|
34
|
+
"@patternfly/react-core": "^4.235.1",
|
|
35
|
+
"@patternfly/react-icons": "^4.86.1",
|
|
36
|
+
"@patternfly/react-styles": "^4.85.1",
|
|
37
|
+
"@patternfly/react-tokens": "^4.87.1",
|
|
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": "7261b4ef06344b8f4bad002e5c36b140a478d538"
|
|
50
50
|
}
|
package/src/docs/demos/Table.md
CHANGED
|
@@ -5,6 +5,7 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
Checkbox,
|
|
8
|
+
Label,
|
|
8
9
|
PageSection,
|
|
9
10
|
ToolbarExpandIconWrapper,
|
|
10
11
|
ToolbarContent,
|
|
@@ -46,6 +47,7 @@ import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
|
46
47
|
import AttentionBellIcon from '@patternfly/react-icons/dist/esm/icons/attention-bell-icon';
|
|
47
48
|
import DashboardWrapper from '@patternfly/react-core/src/demos/examples/DashboardWrapper';
|
|
48
49
|
import BlueprintIcon from '@patternfly/react-icons/dist/esm/icons/blueprint-icon';
|
|
50
|
+
import { rows, columns } from '../examples/Data.jsx';
|
|
49
51
|
|
|
50
52
|
## Demos
|
|
51
53
|
|
|
@@ -2784,234 +2786,65 @@ class ComplexPaginationTableDemo extends React.Component {
|
|
|
2784
2786
|
|
|
2785
2787
|
```js isFullscreen
|
|
2786
2788
|
import React from 'react';
|
|
2787
|
-
import {
|
|
2788
|
-
Avatar,
|
|
2789
|
-
Brand,
|
|
2790
|
-
Breadcrumb,
|
|
2791
|
-
BreadcrumbItem,
|
|
2792
|
-
Button,
|
|
2793
|
-
ButtonVariant,
|
|
2794
|
-
Dropdown,
|
|
2795
|
-
DropdownGroup,
|
|
2796
|
-
DropdownToggle,
|
|
2797
|
-
DropdownItem,
|
|
2798
|
-
KebabToggle,
|
|
2799
|
-
Nav,
|
|
2800
|
-
NavItem,
|
|
2801
|
-
NavList,
|
|
2802
|
-
Page,
|
|
2803
|
-
PageHeader,
|
|
2804
|
-
PageSection,
|
|
2805
|
-
PageSectionVariants,
|
|
2806
|
-
PageSidebar,
|
|
2807
|
-
SkipToContent,
|
|
2808
|
-
TextContent,
|
|
2809
|
-
Text,
|
|
2810
|
-
PageHeaderTools,
|
|
2811
|
-
PageHeaderToolsGroup,
|
|
2812
|
-
PageHeaderToolsItem
|
|
2813
|
-
} from '@patternfly/react-core';
|
|
2814
|
-
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
|
|
2815
|
-
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
2816
|
-
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
|
|
2817
|
-
import imgBrand from '@patternfly/react-core/src/components/Brand/examples/pfLogo.svg';
|
|
2818
|
-
import imgAvatar from '@patternfly/react-core/src/components/Avatar/examples/avatarImg.svg';
|
|
2789
|
+
import { Label, PageSection } from '@patternfly/react-core';
|
|
2819
2790
|
import { Table, TableHeader, TableBody } from '@patternfly/react-table';
|
|
2791
|
+
import { rows } from '../examples/Data.jsx';
|
|
2820
2792
|
|
|
2821
|
-
class
|
|
2822
|
-
constructor(props) {
|
|
2823
|
-
super(props);
|
|
2824
|
-
this.state = {
|
|
2825
|
-
isDropdownOpen: false,
|
|
2826
|
-
isKebabDropdownOpen: false,
|
|
2827
|
-
activeItem: 0,
|
|
2828
|
-
res: []
|
|
2829
|
-
};
|
|
2830
|
-
this.onDropdownToggle = isDropdownOpen => {
|
|
2831
|
-
this.setState({
|
|
2832
|
-
isDropdownOpen
|
|
2833
|
-
});
|
|
2834
|
-
};
|
|
2835
|
-
|
|
2836
|
-
this.onDropdownSelect = event => {
|
|
2837
|
-
this.setState({
|
|
2838
|
-
isDropdownOpen: !this.state.isDropdownOpen
|
|
2839
|
-
});
|
|
2840
|
-
};
|
|
2841
|
-
|
|
2842
|
-
this.onKebabDropdownToggle = isKebabDropdownOpen => {
|
|
2843
|
-
this.setState({
|
|
2844
|
-
isKebabDropdownOpen
|
|
2845
|
-
});
|
|
2846
|
-
};
|
|
2847
|
-
|
|
2848
|
-
this.onKebabDropdownSelect = event => {
|
|
2849
|
-
this.setState({
|
|
2850
|
-
isKebabDropdownOpen: !this.state.isKebabDropdownOpen
|
|
2851
|
-
});
|
|
2852
|
-
};
|
|
2853
|
-
|
|
2854
|
-
this.onNavSelect = result => {
|
|
2855
|
-
this.setState({
|
|
2856
|
-
activeItem: result.itemId
|
|
2857
|
-
});
|
|
2858
|
-
};
|
|
2859
|
-
}
|
|
2860
|
-
|
|
2861
|
-
fetch(page, perPage) {
|
|
2862
|
-
this.setState({ loading: true });
|
|
2863
|
-
fetch(`https://jsonplaceholder.typicode.com/posts?_page=${page}&_limit=${perPage}`)
|
|
2864
|
-
.then(resp => resp.json())
|
|
2865
|
-
.then(resp => this.setState({ res: resp, perPage, page, total: 100 }))
|
|
2866
|
-
.catch(err => this.setState({ error: err, perPage: 0, page: 0, total: 0 }));
|
|
2867
|
-
}
|
|
2868
|
-
|
|
2869
|
-
componentDidMount() {
|
|
2870
|
-
this.fetch(this.state.page || 1, this.state.perPage || 20);
|
|
2871
|
-
}
|
|
2872
|
-
|
|
2793
|
+
class StickyHeaderTableDemo extends React.Component {
|
|
2873
2794
|
render() {
|
|
2874
|
-
const
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
<
|
|
2880
|
-
|
|
2881
|
-
</
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
Authentication
|
|
2887
|
-
</NavItem>
|
|
2888
|
-
<NavItem itemId={3} isActive={activeItem === 3}>
|
|
2889
|
-
Network Services
|
|
2890
|
-
</NavItem>
|
|
2891
|
-
<NavItem itemId={4} isActive={activeItem === 4}>
|
|
2892
|
-
Server
|
|
2893
|
-
</NavItem>
|
|
2894
|
-
</NavList>
|
|
2895
|
-
</Nav>
|
|
2896
|
-
);
|
|
2897
|
-
const kebabDropdownItems = [
|
|
2898
|
-
<DropdownItem>
|
|
2899
|
-
<CogIcon /> Settings
|
|
2900
|
-
</DropdownItem>,
|
|
2901
|
-
<DropdownItem>
|
|
2902
|
-
<HelpIcon /> Help
|
|
2903
|
-
</DropdownItem>
|
|
2904
|
-
];
|
|
2905
|
-
const userDropdownItems = [
|
|
2906
|
-
<DropdownGroup key="group 2">
|
|
2907
|
-
<DropdownItem key="group 2 profile">My profile</DropdownItem>
|
|
2908
|
-
<DropdownItem key="group 2 user" component="button">
|
|
2909
|
-
User management
|
|
2910
|
-
</DropdownItem>
|
|
2911
|
-
<DropdownItem key="group 2 logout">Logout</DropdownItem>
|
|
2912
|
-
</DropdownGroup>
|
|
2913
|
-
];
|
|
2914
|
-
const headerTools = (
|
|
2915
|
-
<PageHeaderTools>
|
|
2916
|
-
<PageHeaderToolsGroup
|
|
2917
|
-
visibility={{
|
|
2918
|
-
default: 'hidden',
|
|
2919
|
-
lg: 'visible'
|
|
2920
|
-
}} /** the settings and help icon buttons are only visible on desktop sizes and replaced by a kebab dropdown for other sizes */
|
|
2921
|
-
>
|
|
2922
|
-
<PageHeaderToolsItem>
|
|
2923
|
-
<Button aria-label="Settings actions" variant={ButtonVariant.plain}>
|
|
2924
|
-
<CogIcon />
|
|
2925
|
-
</Button>
|
|
2926
|
-
</PageHeaderToolsItem>
|
|
2927
|
-
<PageHeaderToolsItem>
|
|
2928
|
-
<Button aria-label="Help actions" variant={ButtonVariant.plain}>
|
|
2929
|
-
<QuestionCircleIcon />
|
|
2930
|
-
</Button>
|
|
2931
|
-
</PageHeaderToolsItem>
|
|
2932
|
-
</PageHeaderToolsGroup>
|
|
2933
|
-
<PageHeaderToolsGroup>
|
|
2934
|
-
<PageHeaderToolsItem
|
|
2935
|
-
visibility={{
|
|
2936
|
-
lg: 'hidden'
|
|
2937
|
-
}} /** this kebab dropdown replaces the icon buttons and is hidden for desktop sizes */
|
|
2938
|
-
>
|
|
2939
|
-
<Dropdown
|
|
2940
|
-
isPlain
|
|
2941
|
-
position="right"
|
|
2942
|
-
onSelect={this.onKebabDropdownSelect}
|
|
2943
|
-
toggle={<KebabToggle onToggle={this.onKebabDropdownToggle} />}
|
|
2944
|
-
isOpen={isKebabDropdownOpen}
|
|
2945
|
-
dropdownItems={kebabDropdownItems}
|
|
2946
|
-
/>
|
|
2947
|
-
</PageHeaderToolsItem>
|
|
2948
|
-
<PageHeaderToolsItem
|
|
2949
|
-
visibility={{ default: 'hidden', md: 'visible' }} /** this user dropdown is hidden on mobile sizes */
|
|
2950
|
-
>
|
|
2951
|
-
<Dropdown
|
|
2952
|
-
isPlain
|
|
2953
|
-
position="right"
|
|
2954
|
-
onSelect={this.onDropdownSelect}
|
|
2955
|
-
isOpen={isDropdownOpen}
|
|
2956
|
-
toggle={<DropdownToggle onToggle={this.onDropdownToggle}>John Smith</DropdownToggle>}
|
|
2957
|
-
dropdownItems={userDropdownItems}
|
|
2958
|
-
/>
|
|
2959
|
-
</PageHeaderToolsItem>
|
|
2960
|
-
</PageHeaderToolsGroup>
|
|
2961
|
-
<Avatar src={imgAvatar} alt="Avatar image" />
|
|
2962
|
-
</PageHeaderTools>
|
|
2963
|
-
);
|
|
2964
|
-
|
|
2965
|
-
const Header = (
|
|
2966
|
-
<PageHeader logo={<Brand src={imgBrand} alt="Patternfly Logo" />} headerTools={headerTools} showNavToggle />
|
|
2967
|
-
);
|
|
2968
|
-
const Sidebar = <PageSidebar nav={PageNav} />;
|
|
2969
|
-
const pageId = 'main-content-page-layout-default-nav';
|
|
2970
|
-
const PageSkipToContent = <SkipToContent href={`#${pageId}`}>Skip to content</SkipToContent>;
|
|
2971
|
-
|
|
2972
|
-
const PageBreadcrumb = (
|
|
2973
|
-
<Breadcrumb>
|
|
2974
|
-
<BreadcrumbItem>Section home</BreadcrumbItem>
|
|
2975
|
-
<BreadcrumbItem to="#">Section title</BreadcrumbItem>
|
|
2976
|
-
<BreadcrumbItem to="#">Section title</BreadcrumbItem>
|
|
2977
|
-
<BreadcrumbItem to="#" isActive>
|
|
2978
|
-
Section landing
|
|
2979
|
-
</BreadcrumbItem>
|
|
2980
|
-
</Breadcrumb>
|
|
2981
|
-
);
|
|
2795
|
+
const renderLabel = labelText => {
|
|
2796
|
+
switch (labelText) {
|
|
2797
|
+
case 'Running':
|
|
2798
|
+
return <Label color="green">{labelText}</Label>;
|
|
2799
|
+
case 'Stopped':
|
|
2800
|
+
return <Label color="orange">{labelText}</Label>;
|
|
2801
|
+
case 'Needs Maintenance':
|
|
2802
|
+
return <Label color="blue">{labelText}</Label>;
|
|
2803
|
+
case 'Down':
|
|
2804
|
+
return <Label color="red">{labelText}</Label>;
|
|
2805
|
+
}
|
|
2806
|
+
};
|
|
2982
2807
|
|
|
2983
2808
|
return (
|
|
2984
|
-
<
|
|
2985
|
-
<
|
|
2986
|
-
|
|
2987
|
-
sidebar={Sidebar}
|
|
2988
|
-
isManagedSidebar
|
|
2989
|
-
skipToContent={PageSkipToContent}
|
|
2990
|
-
breadcrumb={PageBreadcrumb}
|
|
2991
|
-
mainContainerId={pageId}
|
|
2992
|
-
>
|
|
2993
|
-
<PageSection variant={PageSectionVariants.light}>
|
|
2994
|
-
<TextContent>
|
|
2995
|
-
<Text component="h1">Main title</Text>
|
|
2996
|
-
<Text component="p">
|
|
2997
|
-
Body text should be Overpass Regular at 16px. It should have leading of 24px because <br />
|
|
2998
|
-
of its relative line height of 1.5.
|
|
2999
|
-
</Text>
|
|
3000
|
-
</TextContent>
|
|
3001
|
-
</PageSection>
|
|
3002
|
-
<PageSection>
|
|
2809
|
+
<DashboardWrapper hasPageTemplateTitle>
|
|
2810
|
+
<PageSection padding={{ default: 'noPadding', xl: 'padding' }}>
|
|
2811
|
+
<Card component="div">
|
|
3003
2812
|
<Table
|
|
3004
|
-
cells={[
|
|
3005
|
-
|
|
2813
|
+
cells={[
|
|
2814
|
+
{ title: 'Servers', transforms: [cellWidth(15)] },
|
|
2815
|
+
{ title: 'Threads', transforms: [cellWidth(10)] },
|
|
2816
|
+
{ title: 'Applications', transforms: [cellWidth(10)] },
|
|
2817
|
+
{ title: 'Workspaces', transforms: [cellWidth(10)] },
|
|
2818
|
+
{ title: 'Status', transforms: [cellWidth(10)] },
|
|
2819
|
+
{ title: 'Location', transforms: [cellWidth(15)] },
|
|
2820
|
+
{ title: 'Last Modified', transforms: [cellWidth(15)] },
|
|
2821
|
+
{ title: 'URL', transforms: [cellWidth(10)] }
|
|
2822
|
+
]}
|
|
2823
|
+
rows={rows.map(row => [
|
|
2824
|
+
row.name,
|
|
2825
|
+
row.threads,
|
|
2826
|
+
row.applications,
|
|
2827
|
+
row.workspaces,
|
|
2828
|
+
{ title: renderLabel(row.status) },
|
|
2829
|
+
row.location,
|
|
2830
|
+
row.lastModified,
|
|
2831
|
+
{
|
|
2832
|
+
title: (
|
|
2833
|
+
<a href="#">
|
|
2834
|
+
<TableText wrapModifier="truncate">{row.url} </TableText>
|
|
2835
|
+
</a>
|
|
2836
|
+
)
|
|
2837
|
+
}
|
|
2838
|
+
])}
|
|
3006
2839
|
aria-label="Sticky Header Table Demo"
|
|
3007
2840
|
isStickyHeader
|
|
3008
2841
|
>
|
|
3009
2842
|
<TableHeader />
|
|
3010
2843
|
<TableBody />
|
|
3011
2844
|
</Table>
|
|
3012
|
-
</
|
|
3013
|
-
</
|
|
3014
|
-
</
|
|
2845
|
+
</Card>
|
|
2846
|
+
</PageSection>
|
|
2847
|
+
</DashboardWrapper>
|
|
3015
2848
|
);
|
|
3016
2849
|
}
|
|
3017
2850
|
}
|
|
@@ -173,7 +173,7 @@ export const rows = [
|
|
|
173
173
|
applications: getRandomInteger(1, 50),
|
|
174
174
|
workspaces: getRandomInteger(1, 30),
|
|
175
175
|
status: ['Stopped', 'Running', 'Down', 'Needs Maintenance'][getRandomInteger(0, 3)],
|
|
176
|
-
|
|
176
|
+
location: ['Raleigh', 'Boston', 'Atlanta', 'San Francisco'][getRandomInteger(0, 3)],
|
|
177
177
|
lastModified: '5 minutes ago',
|
|
178
178
|
url: 'http://www.redhat.com/en/office-locations/US-node16'
|
|
179
179
|
},
|