@patternfly/patternfly 5.0.0-alpha.21 → 5.0.0-alpha.22
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/components/Chip/chip.css +33 -24
- package/components/Chip/chip.scss +40 -31
- package/components/Label/label.css +35 -24
- package/components/Label/label.scss +40 -27
- package/components/Table/table-tree-view.css +10 -0
- package/components/Table/table-tree-view.scss +15 -0
- package/docs/components/Chip/examples/Chip.md +61 -43
- package/docs/components/ChipGroup/examples/ChipGroup.md +437 -329
- package/docs/components/InlineEdit/examples/InlineEdit.md +5 -3
- package/docs/components/Label/examples/Label.md +1399 -718
- package/docs/components/LabelGroup/examples/LabelGroup.md +274 -209
- package/docs/components/Select/examples/Select.md +224 -170
- package/docs/components/Table/examples/Table.md +565 -41
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +343 -261
- package/docs/components/Toolbar/examples/Toolbar.md +306 -234
- package/docs/demos/Card/examples/Card.md +29 -27
- package/docs/demos/Dashboard/examples/Dashboard.md +23 -15
- package/docs/demos/DescriptionList/examples/DescriptionList.md +21 -9
- package/docs/demos/Drawer/examples/Drawer.md +4 -2
- package/docs/demos/Form/examples/BasicForms.md +28 -22
- package/docs/demos/Tabs/examples/Tabs.md +39 -16
- package/docs/demos/Toolbar/examples/Toolbar.md +102 -78
- package/package.json +2 -2
- package/patternfly-no-reset.css +78 -48
- package/patternfly.css +78 -48
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/patternfly.css
CHANGED
|
@@ -8627,18 +8627,19 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
8627
8627
|
--pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
8628
8628
|
--pf-c-chip--m-draggable--BoxShadow: var(--pf-global--BoxShadow--sm);
|
|
8629
8629
|
--pf-c-chip--m-draggable__icon--FontSize: var(--pf-global--icon--FontSize--sm);
|
|
8630
|
-
--pf-c-
|
|
8630
|
+
--pf-c-chip__content--FontSize: var(--pf-global--FontSize--xs);
|
|
8631
|
+
--pf-c-chip__content--ColumnGap: var(--pf-global--spacer--xs);
|
|
8631
8632
|
--pf-c-chip__text--Color: var(--pf-global--Color--100);
|
|
8632
8633
|
--pf-c-chip__text--MaxWidth: 16ch;
|
|
8633
|
-
--pf-c-
|
|
8634
|
-
--pf-c-
|
|
8635
|
-
--pf-c-
|
|
8636
|
-
--pf-c-
|
|
8637
|
-
--pf-c-
|
|
8638
|
-
--pf-c-
|
|
8639
|
-
--pf-c-
|
|
8640
|
-
--pf-c-
|
|
8641
|
-
--pf-c-
|
|
8634
|
+
--pf-c-chip__actions--FontSize: var(--pf-global--FontSize--xs);
|
|
8635
|
+
--pf-c-chip__actions--c-button--PaddingTop: var(--pf-global--spacer--xs);
|
|
8636
|
+
--pf-c-chip__actions--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
8637
|
+
--pf-c-chip__actions--c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
8638
|
+
--pf-c-chip__actions--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
8639
|
+
--pf-c-chip__actions--c-button--MarginTop: calc(var(--pf-c-chip--PaddingTop) * -1);
|
|
8640
|
+
--pf-c-chip__actions--c-button--MarginRight: calc(var(--pf-c-chip--PaddingRight) / 2 * -1);
|
|
8641
|
+
--pf-c-chip__actions--c-button--MarginBottom: calc(var(--pf-c-chip--PaddingBottom) * -1);
|
|
8642
|
+
--pf-c-chip__actions--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
8642
8643
|
--pf-c-chip__icon--MarginLeft: var(--pf-global--spacer--sm);
|
|
8643
8644
|
color: var(--pf-global--Color--100);
|
|
8644
8645
|
position: relative;
|
|
@@ -8673,19 +8674,6 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
8673
8674
|
.pf-c-chip.pf-m-draggable .pf-c-chip__icon {
|
|
8674
8675
|
font-size: var(--pf-c-chip--m-draggable__icon--FontSize);
|
|
8675
8676
|
}
|
|
8676
|
-
.pf-c-chip .pf-c-button {
|
|
8677
|
-
--pf-c-button--PaddingTop: var(--pf-c-chip__c-button--PaddingTop);
|
|
8678
|
-
--pf-c-button--PaddingRight: var(--pf-c-chip__c-button--PaddingRight);
|
|
8679
|
-
--pf-c-button--PaddingBottom: var(--pf-c-chip__c-button--PaddingBottom);
|
|
8680
|
-
--pf-c-button--PaddingLeft: var(--pf-c-chip__c-button--PaddingLeft);
|
|
8681
|
-
--pf-c-button--FontSize: var(--pf-c-chip__c-button--FontSize);
|
|
8682
|
-
margin-top: var(--pf-c-chip__c-button--MarginTop);
|
|
8683
|
-
margin-right: var(--pf-c-chip__c-button--MarginRight);
|
|
8684
|
-
margin-bottom: var(--pf-c-chip__c-button--MarginBottom);
|
|
8685
|
-
}
|
|
8686
|
-
.pf-c-chip .pf-c-badge {
|
|
8687
|
-
margin-left: var(--pf-c-chip__c-badge--MarginLeft);
|
|
8688
|
-
}
|
|
8689
8677
|
|
|
8690
8678
|
.pf-c-chip__text {
|
|
8691
8679
|
overflow: hidden;
|
|
@@ -8693,7 +8681,6 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
8693
8681
|
white-space: nowrap;
|
|
8694
8682
|
position: relative;
|
|
8695
8683
|
max-width: var(--pf-c-chip__text--MaxWidth);
|
|
8696
|
-
font-size: var(--pf-c-chip__text--FontSize);
|
|
8697
8684
|
color: var(--pf-c-chip__text--Color);
|
|
8698
8685
|
}
|
|
8699
8686
|
|
|
@@ -8702,6 +8689,28 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
8702
8689
|
margin-left: var(--pf-c-chip__icon--MarginLeft);
|
|
8703
8690
|
}
|
|
8704
8691
|
|
|
8692
|
+
.pf-c-chip__content {
|
|
8693
|
+
display: flex;
|
|
8694
|
+
align-items: center;
|
|
8695
|
+
column-gap: var(--pf-c-chip__content--ColumnGap);
|
|
8696
|
+
font-size: var(--pf-c-chip__content--FontSize);
|
|
8697
|
+
}
|
|
8698
|
+
|
|
8699
|
+
.pf-c-chip__actions {
|
|
8700
|
+
font-size: var(--pf-c-chip__actions--FontSize);
|
|
8701
|
+
}
|
|
8702
|
+
.pf-c-chip__actions .pf-c-button {
|
|
8703
|
+
--pf-c-button--PaddingTop: var(--pf-c-chip__actions--c-button--PaddingTop);
|
|
8704
|
+
--pf-c-button--PaddingRight: var(--pf-c-chip__actions--c-button--PaddingRight);
|
|
8705
|
+
--pf-c-button--PaddingBottom: var(--pf-c-chip__actions--c-button--PaddingBottom);
|
|
8706
|
+
--pf-c-button--PaddingLeft: var(--pf-c-chip__actions--c-button--PaddingLeft);
|
|
8707
|
+
--pf-c-button--FontSize: var(--pf-c-chip__actions--c-button--FontSize);
|
|
8708
|
+
margin-top: var(--pf-c-chip__actions--c-button--MarginTop);
|
|
8709
|
+
margin-right: var(--pf-c-chip__actions--c-button--MarginRight);
|
|
8710
|
+
margin-bottom: var(--pf-c-chip__actions--c-button--MarginBottom);
|
|
8711
|
+
line-height: 1;
|
|
8712
|
+
}
|
|
8713
|
+
|
|
8705
8714
|
:where(.pf-theme-dark) .pf-c-wizard__header, :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
|
|
8706
8715
|
:where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-],
|
|
8707
8716
|
:where(.pf-theme-dark) .pf-c-page__header, :where(.pf-theme-dark) .pf-c-masthead, :where(.pf-theme-dark) .pf-c-login__header,
|
|
@@ -16471,6 +16480,7 @@ label.pf-c-input-group__text {
|
|
|
16471
16480
|
--pf-c-label--PaddingRight: var(--pf-global--spacer--sm);
|
|
16472
16481
|
--pf-c-label--PaddingBottom: var(--pf-global--spacer--xs);
|
|
16473
16482
|
--pf-c-label--PaddingLeft: var(--pf-global--spacer--sm);
|
|
16483
|
+
--pf-c-label--MaxWidth: 100%;
|
|
16474
16484
|
--pf-c-label--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
16475
16485
|
--pf-c-label--BackgroundColor: var(--pf-global--palette--black-150);
|
|
16476
16486
|
--pf-c-label--Color: var(--pf-global--Color--100);
|
|
@@ -16577,18 +16587,18 @@ label.pf-c-input-group__text {
|
|
|
16577
16587
|
--pf-c-label__content--MaxWidth: 100%;
|
|
16578
16588
|
--pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
|
|
16579
16589
|
--pf-c-label--m-editable__content--MaxWidth: 16ch;
|
|
16580
|
-
--pf-c-label__text--MaxWidth:
|
|
16590
|
+
--pf-c-label__text--MaxWidth: 100%;
|
|
16581
16591
|
--pf-c-label__icon--Color: var(--pf-global--Color--100);
|
|
16582
16592
|
--pf-c-label__icon--MarginRight: var(--pf-global--spacer--xs);
|
|
16583
|
-
--pf-c-
|
|
16584
|
-
--pf-c-
|
|
16585
|
-
--pf-c-
|
|
16586
|
-
--pf-c-
|
|
16587
|
-
--pf-c-
|
|
16588
|
-
--pf-c-
|
|
16589
|
-
--pf-c-
|
|
16590
|
-
--pf-c-
|
|
16591
|
-
--pf-c-
|
|
16593
|
+
--pf-c-label__actions--FontSize: var(--pf-global--FontSize--xs);
|
|
16594
|
+
--pf-c-label__actions--MarginRight: calc(var(--pf-c-label__actions--c-button--PaddingRight) * -1);
|
|
16595
|
+
--pf-c-label__actions--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
16596
|
+
--pf-c-label__actions--c-button--MarginTop: calc(var(--pf-c-label__actions--c-button--PaddingTop) * -1);
|
|
16597
|
+
--pf-c-label__actions--c-button--MarginBottom: calc(var(--pf-c-label__actions--c-button--PaddingBottom) * -1);
|
|
16598
|
+
--pf-c-label__actions--c-button--PaddingTop: var(--pf-global--spacer--xs);
|
|
16599
|
+
--pf-c-label__actions--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
16600
|
+
--pf-c-label__actions--c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
16601
|
+
--pf-c-label__actions--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
16592
16602
|
--pf-c-label--m-editable--Cursor: pointer;
|
|
16593
16603
|
--pf-c-label--m-editable--TextDecoration: underline;
|
|
16594
16604
|
--pf-c-label--m-editable--TextDecorationStyle: dashed;
|
|
@@ -16609,6 +16619,7 @@ label.pf-c-input-group__text {
|
|
|
16609
16619
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
|
|
16610
16620
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
|
|
16611
16621
|
position: relative;
|
|
16622
|
+
max-width: var(--pf-c-label--MaxWidth);
|
|
16612
16623
|
padding: var(--pf-c-label--PaddingTop) var(--pf-c-label--PaddingRight) var(--pf-c-label--PaddingBottom) var(--pf-c-label--PaddingLeft);
|
|
16613
16624
|
font-size: var(--pf-c-label--FontSize);
|
|
16614
16625
|
color: var(--pf-c-label--Color);
|
|
@@ -16780,17 +16791,6 @@ label.pf-c-input-group__text {
|
|
|
16780
16791
|
--pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
|
|
16781
16792
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
|
|
16782
16793
|
}
|
|
16783
|
-
.pf-c-label .pf-c-button {
|
|
16784
|
-
--pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
|
|
16785
|
-
--pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
|
|
16786
|
-
--pf-c-button--PaddingRight: var(--pf-c-label__c-button--PaddingRight);
|
|
16787
|
-
--pf-c-button--PaddingBottom: var(--pf-c-label__c-button--PaddingBottom);
|
|
16788
|
-
--pf-c-button--PaddingLeft: var(--pf-c-label__c-button--PaddingLeft);
|
|
16789
|
-
margin-top: var(--pf-c-label__c-button--MarginTop);
|
|
16790
|
-
margin-right: var(--pf-c-label__c-button--MarginRight);
|
|
16791
|
-
margin-bottom: var(--pf-c-label__c-button--MarginBottom);
|
|
16792
|
-
margin-left: var(--pf-c-label__c-button--MarginLeft);
|
|
16793
|
-
}
|
|
16794
16794
|
.pf-c-label.pf-m-overflow, .pf-c-label.pf-m-add {
|
|
16795
16795
|
--pf-c-label__content--Color: var(--pf-c-label--m-overflow__content--Color);
|
|
16796
16796
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-overflow__content--BackgroundColor);
|
|
@@ -16816,10 +16816,8 @@ label.pf-c-input-group__text {
|
|
|
16816
16816
|
}
|
|
16817
16817
|
|
|
16818
16818
|
.pf-c-label__content {
|
|
16819
|
-
overflow: hidden;
|
|
16820
|
-
text-overflow: ellipsis;
|
|
16821
|
-
white-space: nowrap;
|
|
16822
16819
|
max-width: var(--pf-c-label__content--MaxWidth);
|
|
16820
|
+
overflow: hidden;
|
|
16823
16821
|
color: var(--pf-c-label__content--Color);
|
|
16824
16822
|
background-color: var(--pf-c-label__content--BackgroundColor);
|
|
16825
16823
|
border-width: 0;
|
|
@@ -16835,9 +16833,17 @@ label.pf-c-input-group__text {
|
|
|
16835
16833
|
border: var(--pf-c-label__content--before--BorderWidth) solid var(--pf-c-label__content--before--BorderColor);
|
|
16836
16834
|
border-radius: var(--pf-c-label--BorderRadius);
|
|
16837
16835
|
}
|
|
16836
|
+
input.pf-c-label__content {
|
|
16837
|
+
overflow: hidden;
|
|
16838
|
+
text-overflow: ellipsis;
|
|
16839
|
+
white-space: nowrap;
|
|
16840
|
+
}
|
|
16841
|
+
|
|
16838
16842
|
a.pf-c-label__content,
|
|
16839
16843
|
button.pf-c-label__content {
|
|
16844
|
+
padding: 0;
|
|
16840
16845
|
cursor: pointer;
|
|
16846
|
+
background-color: transparent;
|
|
16841
16847
|
border: none;
|
|
16842
16848
|
}
|
|
16843
16849
|
a.pf-c-label__content, a.pf-c-label__content:hover, a.pf-c-label__content:focus,
|
|
@@ -16862,6 +16868,20 @@ button.pf-c-label__content:focus {
|
|
|
16862
16868
|
color: var(--pf-c-label__icon--Color);
|
|
16863
16869
|
}
|
|
16864
16870
|
|
|
16871
|
+
.pf-c-label__actions {
|
|
16872
|
+
margin-right: var(--pf-c-label__actions--MarginRight);
|
|
16873
|
+
font-size: var(--pf-c-label__actions--FontSize);
|
|
16874
|
+
}
|
|
16875
|
+
.pf-c-label__actions .pf-c-button {
|
|
16876
|
+
--pf-c-button--FontSize: var(--pf-c-label__actions--c-button--FontSize);
|
|
16877
|
+
--pf-c-button--PaddingTop: var(--pf-c-label__actions--c-button--PaddingTop);
|
|
16878
|
+
--pf-c-button--PaddingRight: var(--pf-c-label__actions--c-button--PaddingRight);
|
|
16879
|
+
--pf-c-button--PaddingBottom: var(--pf-c-label__actions--c-button--PaddingBottom);
|
|
16880
|
+
--pf-c-button--PaddingLeft: var(--pf-c-label__actions--c-button--PaddingLeft);
|
|
16881
|
+
margin-top: var(--pf-c-label__actions--c-button--MarginTop);
|
|
16882
|
+
margin-bottom: var(--pf-c-label__actions--c-button--MarginBottom);
|
|
16883
|
+
}
|
|
16884
|
+
|
|
16865
16885
|
:where(.pf-theme-dark) .pf-c-wizard__header, :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
|
|
16866
16886
|
:where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-],
|
|
16867
16887
|
:where(.pf-theme-dark) .pf-c-page__header, :where(.pf-theme-dark) .pf-c-masthead, :where(.pf-theme-dark) .pf-c-login__header,
|
|
@@ -29055,10 +29075,20 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
29055
29075
|
--pf-c-table--m-tree-view__toggle--Left: var(--pf-c-table__tree-view-main--PaddingLeft);
|
|
29056
29076
|
--pf-c-table--m-tree-view__toggle--TranslateX: -100%;
|
|
29057
29077
|
--pf-c-table--m-tree-view__toggle__toggle-icon--MinWidth: var(--pf-global--FontSize--md);
|
|
29078
|
+
--pf-c-table--m-no-inset__tree-view-main--PaddingLeft: 0;
|
|
29079
|
+
--pf-c-table--m-no-inset__tree-view-main--MarginLeft: 0;
|
|
29058
29080
|
}
|
|
29059
29081
|
.pf-c-table.pf-m-tree-view > tbody > tr {
|
|
29060
29082
|
--pf-c-table--m-tree-view__toggle--Left: var(--pf-c-table__tree-view-main--PaddingLeft);
|
|
29061
29083
|
}
|
|
29084
|
+
.pf-c-table.pf-m-tree-view > tbody > tr.pf-m-no-inset {
|
|
29085
|
+
--pf-c-table__tree-view-main--PaddingLeft: var(--pf-c-table--m-no-inset__tree-view-main--PaddingLeft);
|
|
29086
|
+
--pf-c-table__tree-view-main--MarginLeft: var(--pf-c-table--m-no-inset__tree-view-main--MarginLeft);
|
|
29087
|
+
}
|
|
29088
|
+
.pf-c-table.pf-m-tree-view.pf-m-no-inset {
|
|
29089
|
+
--pf-c-table__tree-view-main--PaddingLeft: var(--pf-c-table--m-no-inset__tree-view-main--PaddingLeft);
|
|
29090
|
+
--pf-c-table__tree-view-main--MarginLeft: var(--pf-c-table--m-no-inset__tree-view-main--MarginLeft);
|
|
29091
|
+
}
|
|
29062
29092
|
.pf-c-table.pf-m-tree-view tr[aria-level="2"] {
|
|
29063
29093
|
--pf-c-table__tree-view-main--PaddingLeft: calc(var(--pf-c-table__tree-view-main--nested-indent--base) * 1 + var(--pf-c-table__tree-view-main--indent--base));
|
|
29064
29094
|
}
|