@patternfly/patternfly 4.164.2 → 4.165.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/base/_base.scss +2 -0
- package/base/_fa-icons.scss +2 -0
- package/base/_fonts.scss +2 -2
- package/components/ExpandableSection/expandable-section.css +6 -0
- package/components/ExpandableSection/expandable-section.scss +9 -0
- package/components/Label/label.css +37 -0
- package/components/Label/label.scss +43 -0
- package/components/LogViewer/log-viewer.css +17 -15
- package/components/LogViewer/log-viewer.scss +17 -20
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +22 -0
- package/docs/components/Label/examples/Label.md +102 -41
- package/docs/components/LabelGroup/examples/LabelGroup.md +98 -73
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +3 -0
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +132 -108
- package/docs/demos/Card/examples/Card.md +22 -0
- package/docs/demos/Tabs/examples/Tabs.md +2 -0
- package/docs/pages/contribution.md +1 -1
- package/layouts/_all.scss +7 -7
- package/package.json +1 -1
- package/patternfly-no-reset.css +60 -15
- package/patternfly.css +60 -15
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/bs-variables.scss +2 -3
- package/sass-utilities/functions.scss +0 -1
- package/sass-utilities/mixins.scss +5 -5
- package/sass-utilities/scss-variables.scss +1 -1
package/patternfly.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
.pf-c-table, .pf-c-select, .pf-c-page__sidebar.pf-m-light, .pf-c-menu, .pf-c-masthead.pf-m-light-200, .pf-c-masthead.pf-m-light, .pf-c-log-viewer__header,
|
|
2
|
+
.pf-c-table, .pf-c-select, .pf-c-page__sidebar.pf-m-light, .pf-c-menu, .pf-c-masthead.pf-m-light-200, .pf-c-masthead.pf-m-light, .pf-c-log-viewer__header,
|
|
3
|
+
.pf-c-log-viewer__footer, .pf-c-input-group, .pf-c-form-control, .pf-c-data-list, .pf-c-context-selector__menu, .pf-c-chip-group, .pf-c-chip, .pf-c-calendar-month, .pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-info, .pf-c-alert, .pf-c-accordion, .pf-t-light {
|
|
3
4
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
4
5
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
5
6
|
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
@@ -13057,6 +13058,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13057
13058
|
--pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
|
|
13058
13059
|
--pf-c-expandable-section__toggle--focus--Color: var(--pf-global--link--Color--hover);
|
|
13059
13060
|
--pf-c-expandable-section__toggle--m-expanded--Color: var(--pf-global--link--Color--hover);
|
|
13061
|
+
--pf-c-expandable-section__toggle-icon--MinWidth: 1em;
|
|
13060
13062
|
--pf-c-expandable-section__toggle-icon--Color: var(--pf-global--Color--100);
|
|
13061
13063
|
--pf-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
|
|
13062
13064
|
--pf-c-expandable-section__toggle-icon--Rotate: 0;
|
|
@@ -13079,6 +13081,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13079
13081
|
--pf-c-expandable-section--m-display-lg--after--BackgroundColor: transparent;
|
|
13080
13082
|
--pf-c-expandable-section--m-display-lg--after--Width: var(--pf-global--BorderWidth--lg);
|
|
13081
13083
|
--pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
|
|
13084
|
+
--pf-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-c-expandable-section__toggle-text--MarginLeft) + var(--pf-c-expandable-section__toggle-icon--MinWidth));
|
|
13082
13085
|
}
|
|
13083
13086
|
.pf-c-expandable-section.pf-m-expanded {
|
|
13084
13087
|
--pf-c-expandable-section__toggle--Color: var(--pf-c-expandable-section__toggle--m-expanded--Color);
|
|
@@ -13113,6 +13116,9 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13113
13116
|
content: "";
|
|
13114
13117
|
background-color: var(--pf-c-expandable-section--m-display-lg--after--BackgroundColor);
|
|
13115
13118
|
}
|
|
13119
|
+
.pf-c-expandable-section.pf-m-indented {
|
|
13120
|
+
--pf-c-expandable-section__content--PaddingLeft: var(--pf-c-expandable-section--m-indented__content--PaddingLeft);
|
|
13121
|
+
}
|
|
13116
13122
|
|
|
13117
13123
|
.pf-c-expandable-section__toggle {
|
|
13118
13124
|
display: flex;
|
|
@@ -13131,6 +13137,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
13131
13137
|
}
|
|
13132
13138
|
|
|
13133
13139
|
.pf-c-expandable-section__toggle-icon {
|
|
13140
|
+
min-width: var(--pf-c-expandable-section__toggle-icon--MinWidth);
|
|
13134
13141
|
color: var(--pf-c-expandable-section__toggle-icon--Color);
|
|
13135
13142
|
transition: var(--pf-c-expandable-section__toggle-icon--Transition);
|
|
13136
13143
|
transform: rotate(var(--pf-c-expandable-section__toggle-icon--Rotate));
|
|
@@ -14687,6 +14694,7 @@ label.pf-c-input-group__text {
|
|
|
14687
14694
|
--pf-c-label--m-compact--PaddingBottom: 0;
|
|
14688
14695
|
--pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);
|
|
14689
14696
|
--pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
|
|
14697
|
+
--pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
|
|
14690
14698
|
--pf-c-label__content--Color: var(--pf-global--Color--100);
|
|
14691
14699
|
--pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
|
|
14692
14700
|
--pf-c-label__text--MaxWidth: 16ch;
|
|
@@ -14701,6 +14709,18 @@ label.pf-c-input-group__text {
|
|
|
14701
14709
|
--pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
14702
14710
|
--pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
14703
14711
|
--pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
14712
|
+
--pf-c-label__editable-text--MaxWidth: 16ch;
|
|
14713
|
+
--pf-c-label__editable-text--BorderWidth: 0;
|
|
14714
|
+
--pf-c-label--m-editable--Cursor: pointer;
|
|
14715
|
+
--pf-c-label--m-editable--TextDecoration: underline;
|
|
14716
|
+
--pf-c-label--m-editable--TextDecorationStyle: dashed;
|
|
14717
|
+
--pf-c-label--m-editable--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
|
|
14718
|
+
--pf-c-label--m-editable--TextDecorationOffset: 0.25rem;
|
|
14719
|
+
--pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
|
|
14720
|
+
--pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
|
|
14721
|
+
--pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
|
|
14722
|
+
--pf-c-label--m-editable--m-editable-active--Cursor: auto;
|
|
14723
|
+
--pf-c-label--m-editable--m-editable-active--TextDecoration: none;
|
|
14704
14724
|
--pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
|
|
14705
14725
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
|
|
14706
14726
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
|
|
@@ -14719,6 +14739,7 @@ label.pf-c-input-group__text {
|
|
|
14719
14739
|
--pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);
|
|
14720
14740
|
--pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);
|
|
14721
14741
|
--pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);
|
|
14742
|
+
--pf-c-label--m-editable--TextDecorationOffset: var(--pf-c-label--m-compact--m-editable--TextDecorationOffset);
|
|
14722
14743
|
}
|
|
14723
14744
|
.pf-c-label.pf-m-blue {
|
|
14724
14745
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-blue--BackgroundColor);
|
|
@@ -14809,7 +14830,23 @@ label.pf-c-input-group__text {
|
|
|
14809
14830
|
--pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);
|
|
14810
14831
|
}
|
|
14811
14832
|
|
|
14833
|
+
.pf-c-label.pf-m-editable {
|
|
14834
|
+
text-decoration: var(--pf-c-label--m-editable--TextDecoration);
|
|
14835
|
+
cursor: var(--pf-c-label--m-editable--Cursor);
|
|
14836
|
+
text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
|
|
14837
|
+
text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
|
|
14838
|
+
text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
|
|
14839
|
+
text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
|
|
14840
|
+
}
|
|
14841
|
+
.pf-c-label.pf-m-editable:hover {
|
|
14842
|
+
--pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
|
|
14843
|
+
}
|
|
14844
|
+
.pf-c-label.pf-m-editable:focus {
|
|
14845
|
+
--pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--focus--TextDecorationColor);
|
|
14846
|
+
}
|
|
14812
14847
|
.pf-c-label.pf-m-editable-active {
|
|
14848
|
+
--pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
|
|
14849
|
+
--pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
|
|
14813
14850
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
|
|
14814
14851
|
--pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
|
|
14815
14852
|
--pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
|
|
@@ -14817,6 +14854,13 @@ label.pf-c-input-group__text {
|
|
|
14817
14854
|
.pf-c-label.pf-m-editable-active .pf-c-button {
|
|
14818
14855
|
visibility: hidden;
|
|
14819
14856
|
}
|
|
14857
|
+
.pf-c-label .pf-c-label__editable-text {
|
|
14858
|
+
overflow: hidden;
|
|
14859
|
+
text-overflow: ellipsis;
|
|
14860
|
+
white-space: nowrap;
|
|
14861
|
+
max-width: var(--pf-c-label__editable-text--MaxWidth);
|
|
14862
|
+
border-width: var(--pf-c-label__editable-text--BorderWidth);
|
|
14863
|
+
}
|
|
14820
14864
|
.pf-c-label .pf-c-button {
|
|
14821
14865
|
--pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
|
|
14822
14866
|
--pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
|
|
@@ -15170,7 +15214,15 @@ ul.pf-c-list {
|
|
|
15170
15214
|
position: absolute;
|
|
15171
15215
|
right: 0;
|
|
15172
15216
|
left: var(--pf-c-log-viewer--m-line-numbers__list--Left);
|
|
15173
|
-
|
|
15217
|
+
}
|
|
15218
|
+
.pf-c-log-viewer.pf-m-line-numbers .pf-c-log-viewer__list::before {
|
|
15219
|
+
position: absolute;
|
|
15220
|
+
top: var(--pf-c-log-viewer--m-line-numbers__main--before--Top);
|
|
15221
|
+
bottom: var(--pf-c-log-viewer--m-line-numbers__main--before--Bottom);
|
|
15222
|
+
left: 0;
|
|
15223
|
+
width: var(--pf-c-log-viewer--m-line-numbers__main--before--Width);
|
|
15224
|
+
content: "";
|
|
15225
|
+
background: var(--pf-c-log-viewer--m-line-numbers__main--before--BackgroundColor);
|
|
15174
15226
|
}
|
|
15175
15227
|
.pf-c-log-viewer .pf-c-toolbar {
|
|
15176
15228
|
--pf-c-toolbar--PaddingTop: var(--pf-c-log-viewer--c-toolbar--PaddingTop);
|
|
@@ -15188,10 +15240,14 @@ ul.pf-c-list {
|
|
|
15188
15240
|
}
|
|
15189
15241
|
|
|
15190
15242
|
.pf-c-log-viewer__header {
|
|
15191
|
-
color: var(--pf-global--Color--100);
|
|
15192
15243
|
margin-bottom: var(--pf-c-log-viewer__header--MarginBottom);
|
|
15193
15244
|
}
|
|
15194
15245
|
|
|
15246
|
+
.pf-c-log-viewer__header,
|
|
15247
|
+
.pf-c-log-viewer__footer {
|
|
15248
|
+
color: var(--pf-global--Color--100);
|
|
15249
|
+
}
|
|
15250
|
+
|
|
15195
15251
|
.pf-c-log-viewer__main {
|
|
15196
15252
|
display: flex;
|
|
15197
15253
|
flex-direction: column;
|
|
@@ -15199,18 +15255,6 @@ ul.pf-c-list {
|
|
|
15199
15255
|
background-color: var(--pf-c-log-viewer__main--BackgroundColor);
|
|
15200
15256
|
border: var(--pf-c-log-viewer__main--BorderWidth) solid var(--pf-c-log-viewer__main--BorderColor);
|
|
15201
15257
|
}
|
|
15202
|
-
.pf-m-line-numbers .pf-c-log-viewer__main {
|
|
15203
|
-
position: relative;
|
|
15204
|
-
}
|
|
15205
|
-
.pf-m-line-numbers .pf-c-log-viewer__main::before {
|
|
15206
|
-
position: absolute;
|
|
15207
|
-
top: var(--pf-c-log-viewer--m-line-numbers__main--before--Top);
|
|
15208
|
-
bottom: var(--pf-c-log-viewer--m-line-numbers__main--before--Bottom);
|
|
15209
|
-
left: var(--pf-c-log-viewer__index--Width);
|
|
15210
|
-
width: var(--pf-c-log-viewer--m-line-numbers__main--before--Width);
|
|
15211
|
-
content: "";
|
|
15212
|
-
background: var(--pf-c-log-viewer--m-line-numbers__main--before--BackgroundColor);
|
|
15213
|
-
}
|
|
15214
15258
|
|
|
15215
15259
|
.pf-c-log-viewer__scroll-container {
|
|
15216
15260
|
position: relative;
|
|
@@ -15251,6 +15295,7 @@ ul.pf-c-list {
|
|
|
15251
15295
|
font-family: var(--pf-c-log-viewer__index--FontFamily);
|
|
15252
15296
|
font-size: var(--pf-c-log-viewer__index--FontSize);
|
|
15253
15297
|
color: var(--pf-c-log-viewer__index--Color);
|
|
15298
|
+
user-select: none;
|
|
15254
15299
|
background-color: var(--pf-c-log-viewer__index--BackgroundColor);
|
|
15255
15300
|
}
|
|
15256
15301
|
|