@patternfly/react-styles 5.0.0-alpha.3 → 5.0.0-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/css/components/AboutModalBox/about-modal-box.css +7 -7
- package/css/components/Alert/alert.css +3 -3
- package/css/components/Banner/banner.css +14 -14
- package/css/components/Banner/banner.d.ts +5 -5
- package/css/components/Banner/banner.js +5 -5
- package/css/components/Banner/banner.mjs +5 -5
- package/css/components/CalendarMonth/calendar-month.css +1 -1
- package/css/components/Card/card.css +12 -10
- package/css/components/Card/card.d.ts +1 -0
- package/css/components/Card/card.js +1 -0
- package/css/components/Card/card.mjs +1 -0
- package/css/components/Chip/chip.css +33 -24
- package/css/components/Chip/chip.d.ts +2 -1
- package/css/components/Chip/chip.js +2 -1
- package/css/components/Chip/chip.mjs +2 -1
- package/css/components/ChipGroup/chip-group.css +4 -4
- package/css/components/Content/content.css +5 -5
- package/css/components/DataList/data-list-grid.css +7 -7
- package/css/components/DataList/data-list.css +10 -10
- package/css/components/DatePicker/date-picker.css +0 -8
- package/css/components/DatePicker/date-picker.d.ts +0 -1
- package/css/components/DatePicker/date-picker.js +0 -1
- package/css/components/DatePicker/date-picker.mjs +0 -1
- package/css/components/DescriptionList/description-list.css +7 -7
- package/css/components/Divider/divider.css +2 -2
- package/css/components/Drawer/drawer.css +2 -2
- package/css/components/DualListSelector/dual-list-selector.css +1 -1
- package/css/components/EmptyState/empty-state.css +2 -2
- package/css/components/Form/form.css +12 -12
- package/css/components/FormControl/form-control.css +2 -5
- package/css/components/HelperText/helper-text.css +4 -0
- package/css/components/HelperText/helper-text.d.ts +1 -0
- package/css/components/HelperText/helper-text.js +1 -0
- package/css/components/HelperText/helper-text.mjs +1 -0
- package/css/components/Hint/hint.css +2 -2
- package/css/components/InputGroup/input-group.css +61 -85
- package/css/components/InputGroup/input-group.d.ts +4 -2
- package/css/components/InputGroup/input-group.js +4 -2
- package/css/components/InputGroup/input-group.mjs +4 -2
- package/css/components/Label/label.css +41 -30
- package/css/components/Label/label.d.ts +1 -0
- package/css/components/Label/label.js +1 -0
- package/css/components/Label/label.mjs +1 -0
- package/css/components/LabelGroup/label-group.css +2 -2
- package/css/components/Login/login.css +10 -10
- package/css/components/Masthead/masthead.css +4 -4
- package/css/components/Menu/menu.css +6 -6
- package/css/components/MenuToggle/menu-toggle.css +1 -1
- package/css/components/ModalBox/modal-box.css +9 -8
- package/css/components/ModalBox/modal-box.d.ts +1 -0
- package/css/components/ModalBox/modal-box.js +1 -0
- package/css/components/ModalBox/modal-box.mjs +1 -0
- package/css/components/MultipleFileUpload/multiple-file-upload.css +6 -6
- package/css/components/Nav/nav.css +1 -1
- package/css/components/NotificationDrawer/notification-drawer.css +3 -3
- package/css/components/OptionsMenu/options-menu.css +0 -5
- package/css/components/Page/page.css +11 -11
- package/css/components/Popover/popover.css +23 -24
- package/css/components/Popover/popover.d.ts +4 -5
- package/css/components/Popover/popover.js +4 -5
- package/css/components/Popover/popover.mjs +4 -5
- package/css/components/Progress/progress.css +13 -10
- package/css/components/ProgressStepper/progress-stepper.css +5 -5
- package/css/components/SearchInput/search-input.css +2 -2
- package/css/components/Select/select.css +1 -1
- package/css/components/Sidebar/sidebar.css +69 -26
- package/css/components/Sidebar/sidebar.d.ts +2 -0
- package/css/components/Sidebar/sidebar.js +2 -0
- package/css/components/Sidebar/sidebar.mjs +2 -0
- package/css/components/SimpleList/simple-list.css +1 -1
- package/css/components/Spinner/spinner.css +4 -4
- package/css/components/Table/table-scrollable.css +31 -26
- package/css/components/Table/table-scrollable.d.ts +3 -2
- package/css/components/Table/table-scrollable.js +3 -2
- package/css/components/Table/table-scrollable.mjs +3 -2
- package/css/components/Table/table-tree-view.css +10 -0
- package/css/components/Table/table-tree-view.d.ts +1 -0
- package/css/components/Table/table-tree-view.js +1 -0
- package/css/components/Table/table-tree-view.mjs +1 -0
- package/css/components/Table/table.css +7 -2
- package/css/components/TextInputGroup/text-input-group.css +2 -2
- package/css/components/Tile/tile.css +1 -1
- package/css/components/Timestamp/timestamp.css +3 -3
- package/css/components/Toolbar/toolbar.css +13 -6
- package/css/components/Wizard/wizard.css +14 -1
- package/css/components/Wizard/wizard.d.ts +1 -0
- package/css/components/Wizard/wizard.js +1 -0
- package/css/components/Wizard/wizard.mjs +1 -0
- package/css/docs/components/Table/examples/Table.css +4 -0
- package/css/layouts/Gallery/gallery.css +1 -1
- package/css/layouts/Grid/grid.css +2 -2
- package/package.json +3 -3
@@ -80,8 +80,8 @@
|
|
80
80
|
@media screen and (min-width: 768px) {
|
81
81
|
.pf-c-data-list:not([class*=pf-m-grid]) .pf-c-data-list__item-content {
|
82
82
|
display: flex;
|
83
|
-
flex-wrap: wrap;
|
84
83
|
flex-grow: 1;
|
84
|
+
flex-wrap: wrap;
|
85
85
|
padding-bottom: var(--pf-c-data-list__item-content--md--PaddingBottom);
|
86
86
|
}
|
87
87
|
}
|
@@ -142,8 +142,8 @@
|
|
142
142
|
@media screen and (min-width: 0) {
|
143
143
|
.pf-c-data-list.pf-m-grid-none .pf-c-data-list__item-content {
|
144
144
|
display: flex;
|
145
|
-
flex-wrap: wrap;
|
146
145
|
flex-grow: 1;
|
146
|
+
flex-wrap: wrap;
|
147
147
|
padding-bottom: var(--pf-c-data-list__item-content--md--PaddingBottom);
|
148
148
|
}
|
149
149
|
}
|
@@ -204,8 +204,8 @@
|
|
204
204
|
@media screen and (min-width: 576px) {
|
205
205
|
.pf-c-data-list.pf-m-grid-sm .pf-c-data-list__item-content {
|
206
206
|
display: flex;
|
207
|
-
flex-wrap: wrap;
|
208
207
|
flex-grow: 1;
|
208
|
+
flex-wrap: wrap;
|
209
209
|
padding-bottom: var(--pf-c-data-list__item-content--md--PaddingBottom);
|
210
210
|
}
|
211
211
|
}
|
@@ -266,8 +266,8 @@
|
|
266
266
|
@media screen and (min-width: 768px) {
|
267
267
|
.pf-c-data-list.pf-m-grid-md .pf-c-data-list__item-content {
|
268
268
|
display: flex;
|
269
|
-
flex-wrap: wrap;
|
270
269
|
flex-grow: 1;
|
270
|
+
flex-wrap: wrap;
|
271
271
|
padding-bottom: var(--pf-c-data-list__item-content--md--PaddingBottom);
|
272
272
|
}
|
273
273
|
}
|
@@ -328,8 +328,8 @@
|
|
328
328
|
@media screen and (min-width: 992px) {
|
329
329
|
.pf-c-data-list.pf-m-grid-lg .pf-c-data-list__item-content {
|
330
330
|
display: flex;
|
331
|
-
flex-wrap: wrap;
|
332
331
|
flex-grow: 1;
|
332
|
+
flex-wrap: wrap;
|
333
333
|
padding-bottom: var(--pf-c-data-list__item-content--md--PaddingBottom);
|
334
334
|
}
|
335
335
|
}
|
@@ -390,8 +390,8 @@
|
|
390
390
|
@media screen and (min-width: 1200px) {
|
391
391
|
.pf-c-data-list.pf-m-grid-xl .pf-c-data-list__item-content {
|
392
392
|
display: flex;
|
393
|
-
flex-wrap: wrap;
|
394
393
|
flex-grow: 1;
|
394
|
+
flex-wrap: wrap;
|
395
395
|
padding-bottom: var(--pf-c-data-list__item-content--md--PaddingBottom);
|
396
396
|
}
|
397
397
|
}
|
@@ -452,8 +452,8 @@
|
|
452
452
|
@media screen and (min-width: 1450px) {
|
453
453
|
.pf-c-data-list.pf-m-grid-2xl .pf-c-data-list__item-content {
|
454
454
|
display: flex;
|
455
|
-
flex-wrap: wrap;
|
456
455
|
flex-grow: 1;
|
456
|
+
flex-wrap: wrap;
|
457
457
|
padding-bottom: var(--pf-c-data-list__item-content--md--PaddingBottom);
|
458
458
|
}
|
459
459
|
}
|
@@ -813,8 +813,8 @@
|
|
813
813
|
|
814
814
|
.pf-c-data-list__item-action {
|
815
815
|
--pf-hidden-visible--visible--Display: var(--pf-c-data-list__item-action--Display);
|
816
|
-
align-items: flex-start;
|
817
816
|
align-content: flex-start;
|
817
|
+
align-items: flex-start;
|
818
818
|
padding-top: var(--pf-c-data-list__item-action--PaddingTop);
|
819
819
|
padding-bottom: var(--pf-c-data-list__item-action--PaddingBottom);
|
820
820
|
margin-left: var(--pf-c-data-list__item-action--MarginLeft);
|
@@ -840,8 +840,8 @@
|
|
840
840
|
|
841
841
|
.pf-c-data-list__item-content {
|
842
842
|
display: grid;
|
843
|
-
width: 100%;
|
844
843
|
grid-template-columns: auto 1fr;
|
844
|
+
width: 100%;
|
845
845
|
}
|
846
846
|
|
847
847
|
.pf-c-data-list__cell {
|
@@ -857,8 +857,8 @@
|
|
857
857
|
}
|
858
858
|
.pf-c-data-list__cell.pf-m-icon {
|
859
859
|
flex-grow: 0;
|
860
|
-
margin-right: var(--pf-c-data-list__cell--m-icon--MarginRight);
|
861
860
|
grid-column: 1/2;
|
861
|
+
margin-right: var(--pf-c-data-list__cell--m-icon--MarginRight);
|
862
862
|
}
|
863
863
|
.pf-c-data-list__cell.pf-m-icon + .pf-c-data-list__cell {
|
864
864
|
grid-column: 2/3;
|
@@ -2,9 +2,6 @@
|
|
2
2
|
--pf-c-date-picker--m-top__calendar--Top: 0;
|
3
3
|
--pf-c-date-picker--m-top__calendar--TranslateY: calc(-100% - var(--pf-global--spacer--xs));
|
4
4
|
--pf-c-date-picker__helper-text--MarginTop: var(--pf-global--spacer--xs);
|
5
|
-
--pf-c-date-picker__helper-text--FontSize: var(--pf-global--FontSize--sm);
|
6
|
-
--pf-c-date-picker__helper-text--Color: var(--pf-global--Color--100);
|
7
|
-
--pf-c-date-picker__helper-text--m-error--Color: var(--pf-global--danger-color--100);
|
8
5
|
--pf-c-date-picker__input--c-form-control--Width: calc(var(--pf-c-date-picker__input--c-form-control--width-chars) * 1ch + var(--pf-c-date-picker__input--c-form-control--width-base));
|
9
6
|
--pf-c-date-picker__input--c-form-control--width-base: calc(var(--pf-global--spacer--xl) + var(--pf-global--spacer--sm));
|
10
7
|
--pf-c-date-picker__input--c-form-control--width-chars: 10;
|
@@ -22,11 +19,6 @@
|
|
22
19
|
|
23
20
|
.pf-c-date-picker__helper-text {
|
24
21
|
margin-top: var(--pf-c-date-picker__helper-text--MarginTop);
|
25
|
-
font-size: var(--pf-c-date-picker__helper-text--FontSize);
|
26
|
-
color: var(--pf-c-date-picker__helper-text--Color);
|
27
|
-
}
|
28
|
-
.pf-c-date-picker__helper-text.pf-m-error {
|
29
|
-
--pf-c-date-picker__helper-text--Color: var(--pf-c-date-picker__helper-text--m-error--Color);
|
30
22
|
}
|
31
23
|
|
32
24
|
.pf-c-date-picker__input .pf-c-form-control {
|
@@ -39,10 +39,10 @@
|
|
39
39
|
--pf-c-description-list--m-display-lg__description--FontSize: var(--pf-global--FontSize--lg);
|
40
40
|
--pf-c-description-list--m-display-2xl__description--FontSize: var(--pf-global--FontSize--2xl);
|
41
41
|
display: grid;
|
42
|
-
|
42
|
+
grid-template-columns: var(--pf-c-description-list--GridTemplateColumns);
|
43
43
|
row-gap: var(--pf-c-description-list--RowGap);
|
44
44
|
column-gap: var(--pf-c-description-list--ColumnGap);
|
45
|
-
|
45
|
+
align-items: baseline;
|
46
46
|
}
|
47
47
|
@media screen and (min-width: 576px) {
|
48
48
|
.pf-c-description-list {
|
@@ -148,11 +148,11 @@
|
|
148
148
|
.pf-c-description-list__group,
|
149
149
|
.pf-c-description-list > .pf-c-card {
|
150
150
|
display: grid;
|
151
|
+
grid-template-rows: var(--pf-c-description-list__group--GridTemplateRows);
|
152
|
+
grid-template-columns: var(--pf-c-description-list__group--GridTemplateColumns);
|
151
153
|
grid-column: var(--pf-c-description-list__group--GridColumn);
|
152
154
|
row-gap: var(--pf-c-description-list__group--RowGap);
|
153
155
|
column-gap: var(--pf-c-description-list__group--ColumnGap);
|
154
|
-
grid-template-columns: var(--pf-c-description-list__group--GridTemplateColumns);
|
155
|
-
grid-template-rows: var(--pf-c-description-list__group--GridTemplateRows);
|
156
156
|
align-items: baseline;
|
157
157
|
}
|
158
158
|
|
@@ -189,11 +189,11 @@
|
|
189
189
|
}
|
190
190
|
.pf-c-description-list__text.pf-m-help-text {
|
191
191
|
text-decoration: underline;
|
192
|
-
cursor: pointer;
|
193
|
-
text-decoration-style: dashed;
|
194
192
|
text-decoration-thickness: var(--pf-c-description-list__text--m-help-text--TextDecorationThickness);
|
195
|
-
text-
|
193
|
+
text-decoration-style: dashed;
|
196
194
|
text-decoration-color: var(--pf-c-description-list__text--m-help-text--TextDecorationColor);
|
195
|
+
text-underline-offset: var(--pf-c-description-list__text--m-help-text--TextDecorationOffset);
|
196
|
+
cursor: pointer;
|
197
197
|
}
|
198
198
|
.pf-c-description-list__text.pf-m-help-text:hover {
|
199
199
|
--pf-c-description-list__text--m-help-text--TextDecorationColor: var(--pf-c-description-list__text--m-help-text--hover--TextDecorationColor);
|
@@ -72,9 +72,9 @@
|
|
72
72
|
width: 100%;
|
73
73
|
height: auto;
|
74
74
|
flex-direction: var(--pf-c-divider--FlexDirection);
|
75
|
+
flex-shrink: 0;
|
75
76
|
align-items: center;
|
76
77
|
align-self: stretch;
|
77
|
-
flex-shrink: 0;
|
78
78
|
justify-content: center;
|
79
79
|
border: 0;
|
80
80
|
}
|
@@ -83,11 +83,11 @@
|
|
83
83
|
}
|
84
84
|
.pf-c-divider::after {
|
85
85
|
align-self: stretch;
|
86
|
+
justify-self: center;
|
86
87
|
width: var(--pf-c-divider--after--Width);
|
87
88
|
height: var(--pf-c-divider--after--Height);
|
88
89
|
content: "";
|
89
90
|
background-color: var(--pf-c-divider--after--BackgroundColor);
|
90
|
-
justify-self: center;
|
91
91
|
}
|
92
92
|
.pf-c-divider.pf-m-vertical {
|
93
93
|
--pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
|
@@ -272,9 +272,9 @@
|
|
272
272
|
}
|
273
273
|
|
274
274
|
.pf-c-drawer__actions {
|
275
|
-
grid-column: 2;
|
276
|
-
grid-row: 1;
|
277
275
|
display: flex;
|
276
|
+
grid-row: 1;
|
277
|
+
grid-column: 2;
|
278
278
|
align-self: baseline;
|
279
279
|
margin-top: var(--pf-c-drawer__actions--MarginTop);
|
280
280
|
margin-right: var(--pf-c-drawer__actions--MarginRight);
|
@@ -60,8 +60,8 @@
|
|
60
60
|
--pf-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-global--disabled-color--200);
|
61
61
|
display: grid;
|
62
62
|
grid-template-areas: "pane-header . pane-header-c" "pane-tools . pane-tools-c" "pane-status . pane-status-c" "pane-menu controls pane-menu-c";
|
63
|
-
grid-template-columns: minmax(var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--min), var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--max)) min-content minmax(var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--min), var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--max));
|
64
63
|
grid-template-rows: repeat(3, auto) auto;
|
64
|
+
grid-template-columns: minmax(var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--min), var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--max)) min-content minmax(var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--min), var(--pf-c-dual-list-selector--GridTemplateColumns--pane--MinMax--max));
|
65
65
|
}
|
66
66
|
|
67
67
|
.pf-c-dual-list-selector__pane {
|
@@ -99,14 +99,14 @@
|
|
99
99
|
.pf-c-empty-state__footer {
|
100
100
|
display: flex;
|
101
101
|
flex-direction: column;
|
102
|
-
align-items: center;
|
103
102
|
row-gap: var(--pf-c-empty-state__footer--RowGap);
|
103
|
+
align-items: center;
|
104
104
|
margin-top: var(--pf-c-empty-state__footer--MarginTop);
|
105
105
|
}
|
106
106
|
|
107
107
|
.pf-c-empty-state__actions {
|
108
108
|
display: flex;
|
109
109
|
flex-wrap: wrap;
|
110
|
-
justify-content: center;
|
111
110
|
gap: var(--pf-c-empty-state__actions--RowGap) var(--pf-c-empty-state__actions--ColumnGap);
|
111
|
+
justify-content: center;
|
112
112
|
}
|
@@ -108,8 +108,8 @@
|
|
108
108
|
}
|
109
109
|
.pf-c-form.pf-m-horizontal .pf-c-form__group {
|
110
110
|
display: grid;
|
111
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
112
111
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
112
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
113
113
|
}
|
114
114
|
.pf-c-form.pf-m-horizontal .pf-c-form__group-label {
|
115
115
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
@@ -128,8 +128,8 @@
|
|
128
128
|
}
|
129
129
|
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group {
|
130
130
|
display: grid;
|
131
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
132
131
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
132
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
133
133
|
}
|
134
134
|
.pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-label {
|
135
135
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
@@ -148,8 +148,8 @@
|
|
148
148
|
}
|
149
149
|
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group {
|
150
150
|
display: grid;
|
151
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
152
151
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
152
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
153
153
|
}
|
154
154
|
.pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-label {
|
155
155
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
@@ -168,8 +168,8 @@
|
|
168
168
|
}
|
169
169
|
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group {
|
170
170
|
display: grid;
|
171
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
172
171
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
172
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
173
173
|
}
|
174
174
|
.pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-label {
|
175
175
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
@@ -188,8 +188,8 @@
|
|
188
188
|
}
|
189
189
|
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group {
|
190
190
|
display: grid;
|
191
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
192
191
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
192
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
193
193
|
}
|
194
194
|
.pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-label {
|
195
195
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
@@ -208,8 +208,8 @@
|
|
208
208
|
}
|
209
209
|
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group {
|
210
210
|
display: grid;
|
211
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
212
211
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
212
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
213
213
|
}
|
214
214
|
.pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-label {
|
215
215
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
@@ -228,8 +228,8 @@
|
|
228
228
|
}
|
229
229
|
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group {
|
230
230
|
display: grid;
|
231
|
-
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
232
231
|
grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
|
232
|
+
grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
|
233
233
|
}
|
234
234
|
.pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-label {
|
235
235
|
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
|
@@ -344,9 +344,9 @@
|
|
344
344
|
--pf-c-form__group-control--m-inline--child--MarginRight: 0;
|
345
345
|
}
|
346
346
|
.pf-c-form__group-control.pf-m-stack {
|
347
|
+
--pf-c-form__helper-text--MarginTop: var(--pf-c-grid__group-control--m-stack__helper-text--MarginTop);
|
347
348
|
display: grid;
|
348
349
|
gap: var(--pf-c-grid__group-control--m-stack--Gap);
|
349
|
-
--pf-c-form__helper-text--MarginTop: var(--pf-c-grid__group-control--m-stack__helper-text--MarginTop);
|
350
350
|
}
|
351
351
|
.pf-c-form__group-control .pf-c-form__helper-text:first-child {
|
352
352
|
--pf-c-form__helper-text--MarginTop: 0;
|
@@ -430,8 +430,8 @@
|
|
430
430
|
}
|
431
431
|
|
432
432
|
.pf-c-form__field-group-toggle {
|
433
|
-
grid-column: 1/2;
|
434
433
|
grid-row: 1/2;
|
434
|
+
grid-column: 1/2;
|
435
435
|
padding-top: var(--pf-c-form__field-group-toggle--PaddingTop);
|
436
436
|
padding-right: var(--pf-c-form__field-group-toggle--PaddingRight);
|
437
437
|
}
|
@@ -453,9 +453,9 @@
|
|
453
453
|
}
|
454
454
|
|
455
455
|
.pf-c-form__field-group-header {
|
456
|
-
grid-column: var(--pf-c-form__field-group-header--GridColumn);
|
457
|
-
grid-row: 1/2;
|
458
456
|
display: flex;
|
457
|
+
grid-row: 1/2;
|
458
|
+
grid-column: var(--pf-c-form__field-group-header--GridColumn);
|
459
459
|
align-items: flex-start;
|
460
460
|
padding-top: var(--pf-c-form__field-group-header--PaddingTop);
|
461
461
|
padding-bottom: var(--pf-c-form__field-group-header--PaddingBottom);
|
@@ -488,8 +488,8 @@
|
|
488
488
|
}
|
489
489
|
|
490
490
|
.pf-c-form__field-group-body {
|
491
|
-
grid-column: var(--pf-c-form__field-group-body--GridColumn);
|
492
491
|
display: grid;
|
492
|
+
grid-column: var(--pf-c-form__field-group-body--GridColumn);
|
493
493
|
gap: var(--pf-c-form__field-group-body--Gap);
|
494
494
|
padding-top: var(--pf-c-form__field-group-body--PaddingTop);
|
495
495
|
padding-bottom: var(--pf-c-form__field-group-body--PaddingBottom);
|
@@ -332,9 +332,9 @@ textarea.pf-c-form-control {
|
|
332
332
|
--pf-c-form-control--BorderBottomColor: var(--pf-global--BorderColor--400);
|
333
333
|
--pf-c-form-control--BorderLeftColor: transparent;
|
334
334
|
--pf-c-form-control--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
335
|
-
--pf-c-form-control--disabled--Color: var(--pf-global--
|
335
|
+
--pf-c-form-control--disabled--Color: var(--pf-global--palette--black-300);
|
336
336
|
--pf-c-form-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
337
|
-
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--
|
337
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--disabled-color--200);
|
338
338
|
color: var(--pf-global--Color--100);
|
339
339
|
}
|
340
340
|
:where(.pf-theme-dark) .pf-c-form-control::-webkit-calendar-picker-indicator {
|
@@ -342,7 +342,4 @@ textarea.pf-c-form-control {
|
|
342
342
|
}
|
343
343
|
:where(.pf-theme-dark) .pf-c-form-control[readonly] {
|
344
344
|
border-bottom-color: var(--pf-global--palette--black-700);
|
345
|
-
}
|
346
|
-
:where(.pf-theme-dark) .pf-c-form-control:disabled {
|
347
|
-
color: var(--pf-global--palette--black-100);
|
348
345
|
}
|
@@ -5,6 +5,7 @@ declare const _default: {
|
|
5
5
|
"helperTextItemIcon": "pf-c-helper-text__item-icon",
|
6
6
|
"helperTextItemText": "pf-c-helper-text__item-text",
|
7
7
|
"modifiers": {
|
8
|
+
"hidden": "pf-m-hidden",
|
8
9
|
"indeterminate": "pf-m-indeterminate",
|
9
10
|
"warning": "pf-m-warning",
|
10
11
|
"success": "pf-m-success",
|
@@ -7,6 +7,7 @@ exports.default = {
|
|
7
7
|
"helperTextItemIcon": "pf-c-helper-text__item-icon",
|
8
8
|
"helperTextItemText": "pf-c-helper-text__item-text",
|
9
9
|
"modifiers": {
|
10
|
+
"hidden": "pf-m-hidden",
|
10
11
|
"indeterminate": "pf-m-indeterminate",
|
11
12
|
"warning": "pf-m-warning",
|
12
13
|
"success": "pf-m-success",
|
@@ -5,6 +5,7 @@ export default {
|
|
5
5
|
"helperTextItemIcon": "pf-c-helper-text__item-icon",
|
6
6
|
"helperTextItemText": "pf-c-helper-text__item-text",
|
7
7
|
"modifiers": {
|
8
|
+
"hidden": "pf-m-hidden",
|
8
9
|
"indeterminate": "pf-m-indeterminate",
|
9
10
|
"warning": "pf-m-warning",
|
10
11
|
"success": "pf-m-success",
|
@@ -30,11 +30,11 @@
|
|
30
30
|
|
31
31
|
.pf-c-hint__actions {
|
32
32
|
display: inline-grid;
|
33
|
+
grid-row: 1;
|
34
|
+
grid-column: 2;
|
33
35
|
grid-auto-flow: column;
|
34
36
|
margin-left: var(--pf-c-hint__actions--MarginLeft);
|
35
37
|
text-align: right;
|
36
|
-
grid-column: 2;
|
37
|
-
grid-row: 1;
|
38
38
|
}
|
39
39
|
.pf-c-hint__actions .pf-c-dropdown .pf-c-dropdown__toggle.pf-m-plain {
|
40
40
|
margin-top: var(--pf-c-hint__actions--c-dropdown--MarginTop);
|
@@ -1,109 +1,85 @@
|
|
1
1
|
.pf-c-input-group {
|
2
|
-
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
3
|
-
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
4
|
-
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
5
|
-
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
6
|
-
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
7
|
-
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
8
|
-
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
9
|
-
}
|
10
|
-
|
11
|
-
.pf-c-input-group {
|
12
|
-
--pf-c-input-group--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
13
2
|
--pf-c-input-group--child--ZIndex: var(--pf-global--ZIndex--xs);
|
3
|
+
--pf-c-input-group__item--offset: var(--pf-global--BorderWidth--sm);
|
4
|
+
--pf-c-input-group__item--MarginLeft: calc(var(--pf-c-input-group__item--offset) * -1);
|
5
|
+
--pf-c-input-group__item--BorderWidth--base: var(--pf-c-input-group__item--offset);
|
6
|
+
--pf-c-input-group__item--BorderColor--base: var(--pf-global--BorderColor--300);
|
7
|
+
--pf-c-input-group__item--BorderColor--accent: var(--pf-global--BorderColor--200);
|
8
|
+
--pf-c-input-group__item--BackgroundColor: transparent;
|
9
|
+
--pf-c-input-group__item--m-box--PaddingRight: var(--pf-global--spacer--sm);
|
10
|
+
--pf-c-input-group__item--m-box--PaddingLeft: var(--pf-global--spacer--sm);
|
11
|
+
--pf-c-input-group__item--m-box--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
12
|
+
--pf-c-input-group__item--m-box--BorderWidth: var(--pf-c-input-group__item--offset);
|
13
|
+
--pf-c-input-group__item--m-box--BorderTopColor: var(--pf-c-input-group__item--BorderColor--base);
|
14
|
+
--pf-c-input-group__item--m-box--BorderRightColor: var(--pf-c-input-group__item--BorderColor--base);
|
15
|
+
--pf-c-input-group__item--m-box--BorderBottomColor: var(--pf-c-input-group__item--BorderColor--accent);
|
16
|
+
--pf-c-input-group__item--m-box--BorderLeftColor: var(--pf-c-input-group__item--BorderColor--base);
|
17
|
+
--pf-c-input-group__item--m-plain--BackgroundColor: transparent;
|
14
18
|
--pf-c-input-group__text--FontSize: var(--pf-global--FontSize--md);
|
15
|
-
--pf-c-input-group__text--PaddingRight: var(--pf-global--spacer--sm);
|
16
|
-
--pf-c-input-group__text--PaddingLeft: var(--pf-global--spacer--sm);
|
17
19
|
--pf-c-input-group__text--Color: var(--pf-global--Color--dark-200);
|
18
|
-
--pf-c-input-
|
19
|
-
--pf-c-input-
|
20
|
-
--pf-c-input-
|
21
|
-
--pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--200);
|
22
|
-
--pf-c-input-group__text--BorderLeftColor: var(--pf-global--BorderColor--300);
|
23
|
-
--pf-c-input-group__text--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
24
|
-
--pf-c-input-group__textarea--MinHeight: var(--pf-global--spacer--xl);
|
25
|
-
--pf-c-input-group__text--m-disabled--Color: var(--pf-global--disabled-color--100);
|
26
|
-
--pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
|
27
|
-
--pf-c-input-group__text--m-disabled--BorderBottomColor: transparent;
|
20
|
+
--pf-c-input-group__item--m-disabled__text--Color: var(--pf-global--disabled-color--100);
|
21
|
+
--pf-c-input-group__item--m-disabled--BorderBottomColor: transparent;
|
22
|
+
--pf-c-input-group__item--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
|
28
23
|
--pf-c-input-group--c-form-control--invalid--ZIndex: var(--pf-global--ZIndex--xs);
|
29
24
|
--pf-c-input-group--c-form-control--MarginRight: 0;
|
30
|
-
color: var(--pf-global--Color--100);
|
31
25
|
display: flex;
|
32
26
|
width: 100%;
|
33
|
-
background-color: var(--pf-c-input-group--BackgroundColor);
|
34
|
-
}
|
35
|
-
.pf-c-input-group.pf-m-plain {
|
36
|
-
--pf-c-input-group--BackgroundColor: transparent;
|
37
|
-
}
|
38
|
-
.pf-c-input-group > * + * {
|
39
|
-
margin-left: -1px;
|
40
27
|
}
|
41
|
-
|
42
|
-
.pf-c-input-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
}
|
53
|
-
.pf-c-input-
|
54
|
-
|
28
|
+
|
29
|
+
.pf-c-input-group__item {
|
30
|
+
position: relative;
|
31
|
+
display: flex;
|
32
|
+
min-width: var(--pf-c-input-group__item--MinWidth, revert);
|
33
|
+
max-width: var(--pf-c-input-group__item--MaxWidth, revert);
|
34
|
+
background-color: var(--pf-c-input-group__item--BackgroundColor);
|
35
|
+
border-color: var(--pf-c-input-group__item--m-box--BorderTopColor) var(--pf-c-input-group__item--m-box--BorderRightColor) var(--pf-c-input-group__item--m-box--BorderBottomColor) var(--pf-c-input-group__item--m-box--BorderLeftColor);
|
36
|
+
}
|
37
|
+
.pf-c-input-group__item:where(:not(:first-child)) {
|
38
|
+
margin-left: var(--pf-c-input-group__item--MarginLeft);
|
39
|
+
}
|
40
|
+
.pf-c-input-group__item.pf-m-box {
|
41
|
+
--pf-c-input-group__item--BackgroundColor: var(--pf-c-input-group__item--m-box--BackgroundColor);
|
42
|
+
padding-right: var(--pf-c-input-group__item--m-box--PaddingRight);
|
43
|
+
padding-left: var(--pf-c-input-group__item--m-box--PaddingLeft);
|
44
|
+
border: var(--pf-c-input-group__item--m-box--BorderWidth) solid;
|
45
|
+
border-color: var(--pf-c-input-group__item--m-box--BorderTopColor) var(--pf-c-input-group__item--m-box--BorderRightColor) var(--pf-c-input-group__item--m-box--BorderBottomColor) var(--pf-c-input-group__item--m-box--BorderLeftColor);
|
46
|
+
}
|
47
|
+
.pf-c-input-group__item.pf-m-plain {
|
48
|
+
--pf-c-input-group__item--MarginLeft: 0;
|
49
|
+
--pf-c-input-group__item--BackgroundColor: var(--pf-c-input-group__item--m-plain--BackgroundColor);
|
50
|
+
border: none;
|
51
|
+
}
|
52
|
+
.pf-c-input-group__item.pf-m-disabled {
|
53
|
+
--pf-c-input-group__item--BackgroundColor: var(--pf-c-input-group__item--m-disabled--BackgroundColor);
|
54
|
+
--pf-c-input-group__item--m-box--BorderBottomColor: var(--pf-c-input-group__item--m-disabled--BorderBottomColor);
|
55
|
+
--pf-c-input-group__text--Color: var(--pf-c-input-group__item--m-disabled__text--Color);
|
56
|
+
}
|
57
|
+
.pf-c-input-group__item.pf-m-fill {
|
58
|
+
flex-grow: 1;
|
55
59
|
}
|
56
60
|
|
57
61
|
.pf-c-input-group__text {
|
58
|
-
|
59
|
-
align-items: center;
|
60
|
-
padding-right: var(--pf-c-input-group__text--PaddingRight);
|
61
|
-
padding-left: var(--pf-c-input-group__text--PaddingLeft);
|
62
|
+
align-self: center;
|
62
63
|
font-size: var(--pf-c-input-group__text--FontSize);
|
63
64
|
color: var(--pf-c-input-group__text--Color);
|
64
|
-
text-align: center;
|
65
|
-
background-color: var(--pf-c-input-group__text--BackgroundColor);
|
66
|
-
border: var(--pf-c-input-group__text--BorderWidth) solid;
|
67
|
-
border-color: var(--pf-c-input-group__text--BorderTopColor) var(--pf-c-input-group__text--BorderRightColor) var(--pf-c-input-group__text--BorderBottomColor) var(--pf-c-input-group__text--BorderLeftColor);
|
68
65
|
}
|
69
66
|
label.pf-c-input-group__text {
|
70
67
|
cursor: pointer;
|
71
68
|
}
|
72
69
|
|
73
|
-
.pf-c-input-group__text.pf-m-plain {
|
74
|
-
--pf-c-input-group__text--BorderWidth: 0;
|
75
|
-
margin-left: 0;
|
76
|
-
}
|
77
|
-
.pf-c-input-group__text.pf-m-disabled {
|
78
|
-
--pf-c-input-group__text--Color: var(--pf-c-input-group__text--m-disabled--Color);
|
79
|
-
--pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
|
80
|
-
--pf-c-input-group__text--BorderBottomColor: var(--pf-c-input-group__text--m-disabled--BorderBottomColor);
|
81
|
-
}
|
82
|
-
|
83
70
|
:where(.pf-theme-dark) .pf-c-input-group {
|
84
|
-
--pf-c-input-
|
85
|
-
--pf-c-input-
|
86
|
-
--pf-c-input-
|
87
|
-
--pf-c-input-
|
88
|
-
--pf-c-input-
|
89
|
-
--pf-c-input-
|
71
|
+
--pf-c-input-group__item--BorderLeftWidth: var(--pf-c-input-group__item--BorderWidth--base);
|
72
|
+
--pf-c-input-group__item--BorderLeftColor: var(--pf-global--palette--black-700);
|
73
|
+
--pf-c-input-group__item--m-box--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
74
|
+
--pf-c-input-group__item--m-box--BorderTopColor: transparent;
|
75
|
+
--pf-c-input-group__item--m-box--BorderRightColor: transparent;
|
76
|
+
--pf-c-input-group__item--m-box--BorderBottomColor: var(--pf-global--BorderColor--400);
|
77
|
+
--pf-c-input-group__item--m-box--BorderLeftColor: transparent;
|
78
|
+
--pf-c-input-group__item--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
79
|
+
--pf-c-input-group__item--m-disabled--BorderBottomColor: transparent;
|
90
80
|
--pf-c-input-group__text--m-disabled--Color: var(--pf-global--palette--black-100);
|
91
|
-
--pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
92
81
|
}
|
93
82
|
:where(.pf-theme-dark) .pf-c-input-group > * + * {
|
94
|
-
|
95
|
-
border-left:
|
96
|
-
}
|
97
|
-
:where(.pf-theme-dark) .pf-c-input-group__text {
|
98
|
-
--pf-c-input-group__text--BorderTopColor: transparent;
|
99
|
-
--pf-c-input-group__text--BorderRightColor: transparent;
|
100
|
-
--pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
|
101
|
-
--pf-c-input-group__text--BorderLeftColor: transparent;
|
102
|
-
}
|
103
|
-
:where(.pf-theme-dark) .pf-c-input-group__text.pf-m-plain {
|
104
|
-
--pf-c-input-group__text--BackgroundColor: transparent;
|
105
|
-
}
|
106
|
-
:where(.pf-theme-dark) .pf-c-input-group__text.pf-m-disabled {
|
107
|
-
--pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
|
108
|
-
color: var(--pf-c-input-group__text--m-disabled--Color);
|
83
|
+
--pf-c-input-group__item--m-box--BorderLeftColor: var(--pf-c-input-group__item--BorderLeftColor);
|
84
|
+
border-left: var(--pf-c-input-group__item--BorderLeftWidth) solid var(--pf-c-input-group__item--BorderLeftColor);
|
109
85
|
}
|
@@ -1,11 +1,13 @@
|
|
1
1
|
import './input-group.css';
|
2
2
|
declare const _default: {
|
3
|
-
"formControl": "pf-c-form-control",
|
4
3
|
"inputGroup": "pf-c-input-group",
|
4
|
+
"inputGroupItem": "pf-c-input-group__item",
|
5
5
|
"inputGroupText": "pf-c-input-group__text",
|
6
6
|
"modifiers": {
|
7
|
+
"box": "pf-m-box",
|
7
8
|
"plain": "pf-m-plain",
|
8
|
-
"disabled": "pf-m-disabled"
|
9
|
+
"disabled": "pf-m-disabled",
|
10
|
+
"fill": "pf-m-fill"
|
9
11
|
},
|
10
12
|
"themeDark": "pf-theme-dark"
|
11
13
|
};
|
@@ -2,12 +2,14 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./input-group.css');
|
4
4
|
exports.default = {
|
5
|
-
"formControl": "pf-c-form-control",
|
6
5
|
"inputGroup": "pf-c-input-group",
|
6
|
+
"inputGroupItem": "pf-c-input-group__item",
|
7
7
|
"inputGroupText": "pf-c-input-group__text",
|
8
8
|
"modifiers": {
|
9
|
+
"box": "pf-m-box",
|
9
10
|
"plain": "pf-m-plain",
|
10
|
-
"disabled": "pf-m-disabled"
|
11
|
+
"disabled": "pf-m-disabled",
|
12
|
+
"fill": "pf-m-fill"
|
11
13
|
},
|
12
14
|
"themeDark": "pf-theme-dark"
|
13
15
|
};
|