@patternfly/react-styles 5.0.0 → 5.1.1-prerelease.1
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 +20 -13
- package/css/components/Accordion/accordion.css +30 -20
- package/css/components/ActionList/action-list.css +2 -2
- package/css/components/Alert/alert-group.css +7 -4
- package/css/components/Alert/alert.css +16 -13
- package/css/components/AppLauncher/app-launcher.css +32 -23
- package/css/components/BackToTop/back-to-top.css +2 -2
- package/css/components/Backdrop/backdrop.css +2 -2
- package/css/components/BackgroundImage/background-image.css +2 -2
- package/css/components/Badge/badge.css +2 -2
- package/css/components/Banner/banner.css +5 -2
- package/css/components/Breadcrumb/breadcrumb.css +6 -3
- package/css/components/Button/button.css +23 -17
- package/css/components/CalendarMonth/calendar-month.css +21 -15
- package/css/components/Card/card.css +21 -16
- package/css/components/Check/check.css +2 -2
- package/css/components/Chip/chip-group.css +6 -6
- package/css/components/Chip/chip.css +16 -9
- package/css/components/Chip/chip.d.ts +1 -0
- package/css/components/Chip/chip.js +1 -0
- package/css/components/Chip/chip.mjs +1 -0
- package/css/components/ClipboardCopy/clipboard-copy.css +16 -10
- package/css/components/CodeBlock/code-block.css +6 -3
- package/css/components/CodeEditor/code-editor.css +31 -22
- package/css/components/Content/content.css +33 -30
- package/css/components/ContextSelector/context-selector.css +41 -26
- package/css/components/DataList/data-list-grid.css +21 -49
- package/css/components/DataList/data-list.css +66 -84
- package/css/components/DatePicker/date-picker.css +8 -8
- package/css/components/DescriptionList/description-list.css +8 -5
- package/css/components/DragDrop/drag-drop.css +8 -8
- package/css/components/Drawer/drawer.css +75 -60
- package/css/components/Dropdown/dropdown.css +75 -66
- package/css/components/DualListSelector/dual-list-selector.css +20 -14
- package/css/components/EmptyState/empty-state.css +7 -4
- package/css/components/ExpandableSection/expandable-section.css +13 -10
- package/css/components/FileUpload/file-upload.css +9 -15
- package/css/components/Form/form.css +50 -50
- package/css/components/FormControl/form-control.css +21 -11
- package/css/components/HelperText/helper-text.css +1 -1
- package/css/components/Hint/hint.css +9 -6
- package/css/components/Icon/icon.css +1 -1
- package/css/components/InlineEdit/inline-edit.css +4 -4
- package/css/components/InputGroup/input-group.css +12 -6
- package/css/components/JumpLinks/jump-links.css +24 -24
- package/css/components/Label/label-group.css +13 -10
- package/css/components/Label/label.css +9 -9
- package/css/components/List/list.css +9 -9
- package/css/components/LogViewer/log-viewer.css +14 -14
- package/css/components/Login/login.css +36 -27
- package/css/components/Masthead/masthead.css +19 -22
- package/css/components/Menu/menu.css +69 -66
- package/css/components/MenuToggle/menu-toggle.css +41 -29
- package/css/components/ModalBox/modal-box.css +19 -19
- package/css/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/css/components/Nav/nav.css +100 -93
- package/css/components/NotificationBadge/notification-badge.css +13 -7
- package/css/components/NotificationDrawer/notification-drawer.css +28 -19
- package/css/components/NumberInput/number-input.css +3 -3
- package/css/components/OptionsMenu/options-menu.css +43 -31
- package/css/components/OverflowMenu/overflow-menu.css +2 -2
- package/css/components/Page/page.css +119 -65
- package/css/components/Pagination/pagination.css +24 -18
- package/css/components/Panel/panel.css +13 -7
- package/css/components/Popover/popover.css +24 -21
- package/css/components/Progress/progress.css +7 -7
- package/css/components/ProgressStepper/progress-stepper.css +26 -20
- package/css/components/Radio/radio.css +4 -5
- package/css/components/Select/select.css +56 -47
- package/css/components/Sidebar/sidebar.css +11 -5
- package/css/components/SimpleList/simple-list.css +10 -4
- package/css/components/Skeleton/skeleton.css +2 -5
- package/css/components/SkipToContent/skip-to-content.css +3 -3
- package/css/components/Slider/slider.css +17 -20
- package/css/components/Switch/switch.css +5 -5
- package/css/components/TabContent/tab-content.css +4 -1
- package/css/components/Table/table-grid.css +256 -219
- package/css/components/Table/table-scrollable.css +2 -2
- package/css/components/Table/table-tree-view.css +107 -104
- package/css/components/Table/table.css +87 -69
- package/css/components/Tabs/tabs.css +66 -48
- package/css/components/TextInputGroup/text-input-group.css +15 -15
- package/css/components/Tile/tile.css +10 -10
- package/css/components/ToggleGroup/toggle-group.css +14 -11
- package/css/components/Toolbar/toolbar.css +44 -41
- package/css/components/Tooltip/tooltip.css +19 -16
- package/css/components/TreeView/tree-view.css +42 -27
- package/css/components/Wizard/wizard.css +47 -35
- package/css/docs/components/Button/examples/Button.css +2 -2
- package/css/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/css/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/css/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/css/docs/components/ModalBox/examples/ModalBox.css +2 -2
- package/css/docs/components/Nav/examples/Navigation.css +2 -2
- package/css/docs/components/Popover/examples/Popover.css +2 -2
- package/css/docs/components/Select/deprecated/Select.css +3 -3
- package/css/docs/components/Table/examples/Table.css +2 -2
- package/css/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/css/docs/components/Tile/examples/Tile.css +1 -1
- package/css/docs/demos/Card/examples/Card.css +3 -3
- package/css/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/css/layouts/Flex/flex.css +115 -43
- package/css/utilities/Accessibility/accessibility.css +12 -12
- package/css/utilities/Spacing/spacing.css +720 -960
- package/package.json +3 -3
@@ -71,8 +71,8 @@
|
|
71
71
|
max-width: 100%;
|
72
72
|
}
|
73
73
|
.pf-v5-c-options-menu .pf-v5-c-divider {
|
74
|
-
margin-
|
75
|
-
margin-
|
74
|
+
margin-block-start: var(--pf-v5-c-options-menu--c-divider--MarginTop);
|
75
|
+
margin-block-end: var(--pf-v5-c-options-menu--c-divider--MarginBottom);
|
76
76
|
}
|
77
77
|
.pf-v5-c-options-menu .pf-v5-c-divider:last-child {
|
78
78
|
--pf-v5-c-options-menu--c-divider--MarginBottom: 0;
|
@@ -81,13 +81,16 @@
|
|
81
81
|
.pf-v5-c-options-menu__toggle:not(.pf-m-plain)::before,
|
82
82
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button::before {
|
83
83
|
position: absolute;
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
84
|
+
inset-block-start: 0;
|
85
|
+
inset-block-end: 0;
|
86
|
+
inset-inline-start: 0;
|
87
|
+
inset-inline-end: 0;
|
88
88
|
content: "";
|
89
89
|
border: var(--pf-v5-c-options-menu__toggle--BorderWidth) solid;
|
90
|
-
border-color: var(--pf-v5-c-options-menu__toggle--BorderTopColor)
|
90
|
+
border-block-start-color: var(--pf-v5-c-options-menu__toggle--BorderTopColor);
|
91
|
+
border-block-end-color: var(--pf-v5-c-options-menu__toggle--BorderBottomColor);
|
92
|
+
border-inline-start-color: var(--pf-v5-c-options-menu__toggle--BorderLeftColor);
|
93
|
+
border-inline-end-color: var(--pf-v5-c-options-menu__toggle--BorderRightColor);
|
91
94
|
}
|
92
95
|
.pf-v5-c-options-menu__toggle:not(.pf-m-plain):hover::before,
|
93
96
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button:hover::before {
|
@@ -97,12 +100,12 @@
|
|
97
100
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button:active::before,
|
98
101
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button.pf-m-active::before {
|
99
102
|
--pf-v5-c-options-menu__toggle--BorderBottomColor: var(--pf-v5-c-options-menu__toggle--active--BorderBottomColor);
|
100
|
-
border-
|
103
|
+
border-block-end-width: var(--pf-v5-c-options-menu__toggle--active--BorderBottomWidth);
|
101
104
|
}
|
102
105
|
.pf-v5-c-options-menu__toggle:not(.pf-m-plain):focus::before,
|
103
106
|
.pf-v5-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v5-c-options-menu__toggle-button:focus::before {
|
104
107
|
--pf-v5-c-options-menu__toggle--BorderBottomColor: var(--pf-v5-c-options-menu__toggle--focus--BorderBottomColor);
|
105
|
-
border-
|
108
|
+
border-block-end-width: var(--pf-v5-c-options-menu__toggle--focus--BorderBottomWidth);
|
106
109
|
}
|
107
110
|
|
108
111
|
.pf-v5-c-options-menu__toggle {
|
@@ -112,14 +115,17 @@
|
|
112
115
|
align-items: center;
|
113
116
|
min-width: var(--pf-v5-c-options-menu__toggle--MinWidth);
|
114
117
|
max-width: 100%;
|
115
|
-
padding: var(--pf-v5-c-options-menu__toggle--PaddingTop)
|
118
|
+
padding-block-start: var(--pf-v5-c-options-menu__toggle--PaddingTop);
|
119
|
+
padding-block-end: var(--pf-v5-c-options-menu__toggle--PaddingBottom);
|
120
|
+
padding-inline-start: var(--pf-v5-c-options-menu__toggle--PaddingLeft);
|
121
|
+
padding-inline-end: var(--pf-v5-c-options-menu__toggle--PaddingRight);
|
116
122
|
color: var(--pf-v5-c-options-menu__toggle--Color);
|
117
123
|
background-color: var(--pf-v5-c-options-menu__toggle--BackgroundColor);
|
118
124
|
border: none;
|
119
125
|
}
|
120
126
|
.pf-v5-c-options-menu.pf-m-expanded > .pf-v5-c-options-menu__toggle::before {
|
121
127
|
--pf-v5-c-options-menu__toggle--BorderBottomColor: var(--pf-v5-c-options-menu__toggle--expanded--BorderBottomColor);
|
122
|
-
border-
|
128
|
+
border-block-end-width: var(--pf-v5-c-options-menu__toggle--expanded--BorderBottomWidth);
|
123
129
|
}
|
124
130
|
.pf-v5-c-options-menu__toggle.pf-m-plain {
|
125
131
|
--pf-v5-c-options-menu__toggle-icon--Color: var(--pf-v5-c-options-menu--m-plain__toggle-icon--Color);
|
@@ -152,7 +158,10 @@
|
|
152
158
|
}
|
153
159
|
|
154
160
|
.pf-v5-c-options-menu__toggle-button {
|
155
|
-
padding: var(--pf-v5-c-options-menu__toggle-button--PaddingTop)
|
161
|
+
padding-block-start: var(--pf-v5-c-options-menu__toggle-button--PaddingTop);
|
162
|
+
padding-block-end: var(--pf-v5-c-options-menu__toggle-button--PaddingBottom);
|
163
|
+
padding-inline-start: var(--pf-v5-c-options-menu__toggle-button--PaddingLeft);
|
164
|
+
padding-inline-end: var(--pf-v5-c-options-menu__toggle-button--PaddingRight);
|
156
165
|
background-color: var(--pf-v5-c-options-menu__toggle-button--BackgroundColor);
|
157
166
|
border: 0;
|
158
167
|
}
|
@@ -162,7 +171,7 @@
|
|
162
171
|
text-overflow: ellipsis;
|
163
172
|
white-space: nowrap;
|
164
173
|
flex: 1 1 auto;
|
165
|
-
text-align:
|
174
|
+
text-align: start;
|
166
175
|
}
|
167
176
|
|
168
177
|
.pf-v5-c-options-menu__toggle-icon,
|
@@ -171,8 +180,8 @@
|
|
171
180
|
}
|
172
181
|
|
173
182
|
.pf-v5-c-options-menu__toggle-icon {
|
174
|
-
padding-
|
175
|
-
padding-
|
183
|
+
padding-inline-start: var(--pf-v5-c-options-menu__toggle-icon--PaddingLeft);
|
184
|
+
padding-inline-end: var(--pf-v5-c-options-menu__toggle-icon--PaddingRight);
|
176
185
|
}
|
177
186
|
.pf-v5-c-options-menu.pf-m-top.pf-m-expanded .pf-v5-c-options-menu__toggle-icon {
|
178
187
|
transform: rotate(var(--pf-v5-c-options-menu--m-top--m-expanded__toggle-icon--Rotate));
|
@@ -180,17 +189,17 @@
|
|
180
189
|
|
181
190
|
.pf-v5-c-options-menu__menu {
|
182
191
|
position: absolute;
|
183
|
-
|
192
|
+
inset-block-start: var(--pf-v5-c-options-menu__menu--Top);
|
184
193
|
z-index: var(--pf-v5-c-options-menu__menu--ZIndex);
|
185
194
|
min-width: 100%;
|
186
|
-
padding-
|
187
|
-
padding-
|
195
|
+
padding-block-start: var(--pf-v5-c-options-menu__menu--PaddingTop);
|
196
|
+
padding-block-end: var(--pf-v5-c-options-menu__menu--PaddingBottom);
|
188
197
|
background-color: var(--pf-v5-c-options-menu__menu--BackgroundColor);
|
189
198
|
background-clip: padding-box;
|
190
199
|
box-shadow: var(--pf-v5-c-options-menu__menu--BoxShadow);
|
191
200
|
}
|
192
201
|
.pf-v5-c-options-menu__menu.pf-m-align-right {
|
193
|
-
|
202
|
+
inset-inline-end: 0;
|
194
203
|
}
|
195
204
|
.pf-v5-c-options-menu.pf-m-top .pf-v5-c-options-menu__menu {
|
196
205
|
--pf-v5-c-options-menu__menu--Top: var(--pf-v5-c-options-menu--m-top__menu--Top);
|
@@ -199,10 +208,10 @@
|
|
199
208
|
.pf-v5-c-options-menu__menu.pf-m-static {
|
200
209
|
--pf-v5-c-options-menu--m-top__menu--TranslateY: 0;
|
201
210
|
position: static;
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
211
|
+
inset-block-start: auto;
|
212
|
+
inset-block-end: auto;
|
213
|
+
inset-inline-start: auto;
|
214
|
+
inset-inline-end: auto;
|
206
215
|
z-index: auto;
|
207
216
|
min-width: min-content;
|
208
217
|
}
|
@@ -211,7 +220,10 @@
|
|
211
220
|
display: flex;
|
212
221
|
align-items: baseline;
|
213
222
|
width: 100%;
|
214
|
-
padding: var(--pf-v5-c-options-menu__menu-item--PaddingTop)
|
223
|
+
padding-block-start: var(--pf-v5-c-options-menu__menu-item--PaddingTop);
|
224
|
+
padding-block-end: var(--pf-v5-c-options-menu__menu-item--PaddingBottom);
|
225
|
+
padding-inline-start: var(--pf-v5-c-options-menu__menu-item--PaddingLeft);
|
226
|
+
padding-inline-end: var(--pf-v5-c-options-menu__menu-item--PaddingRight);
|
215
227
|
font-size: var(--pf-v5-c-options-menu__menu-item--FontSize);
|
216
228
|
color: var(--pf-v5-c-options-menu__menu-item--Color);
|
217
229
|
white-space: nowrap;
|
@@ -231,21 +243,21 @@
|
|
231
243
|
.pf-v5-c-options-menu__menu-item-icon {
|
232
244
|
align-self: center;
|
233
245
|
width: auto;
|
234
|
-
padding-
|
235
|
-
margin-
|
246
|
+
padding-inline-start: var(--pf-v5-c-options-menu__menu-item-icon--PaddingLeft);
|
247
|
+
margin-inline-start: auto;
|
236
248
|
font-size: var(--pf-v5-c-options-menu__menu-item-icon--FontSize);
|
237
249
|
color: var(--pf-v5-c-options-menu__menu-item-icon--Color);
|
238
250
|
}
|
239
251
|
|
240
252
|
.pf-v5-c-options-menu__group + .pf-v5-c-options-menu__group {
|
241
|
-
padding-
|
253
|
+
padding-block-start: var(--pf-v5-c-options-menu__group--group--PaddingTop);
|
242
254
|
}
|
243
255
|
|
244
256
|
.pf-v5-c-options-menu__group-title {
|
245
|
-
padding-
|
246
|
-
padding-
|
247
|
-
padding-
|
248
|
-
padding-
|
257
|
+
padding-block-start: var(--pf-v5-c-options-menu__group-title--PaddingTop);
|
258
|
+
padding-block-end: var(--pf-v5-c-options-menu__group-title--PaddingBottom);
|
259
|
+
padding-inline-start: var(--pf-v5-c-options-menu__group-title--PaddingLeft);
|
260
|
+
padding-inline-end: var(--pf-v5-c-options-menu__group-title--PaddingRight);
|
249
261
|
font-size: var(--pf-v5-c-options-menu__group-title--FontSize);
|
250
262
|
font-weight: var(--pf-v5-c-options-menu__group-title--FontWeight);
|
251
263
|
color: var(--pf-v5-c-options-menu__group-title--Color);
|
@@ -43,7 +43,7 @@
|
|
43
43
|
.pf-v5-c-overflow-menu__control,
|
44
44
|
.pf-v5-c-overflow-menu__group,
|
45
45
|
.pf-v5-c-overflow-menu__item {
|
46
|
-
margin-
|
46
|
+
margin-inline-end: var(--pf-v5-c-overflow-menu--spacer);
|
47
47
|
}
|
48
48
|
.pf-v5-c-overflow-menu__content:last-child,
|
49
49
|
.pf-v5-c-overflow-menu__control:last-child,
|
@@ -58,7 +58,7 @@
|
|
58
58
|
}
|
59
59
|
.pf-v5-c-overflow-menu > .pf-v5-c-divider.pf-m-vertical,
|
60
60
|
.pf-v5-c-overflow-menu__group > .pf-v5-c-divider.pf-m-vertical {
|
61
|
-
margin-
|
61
|
+
margin-inline-end: var(--pf-v5-c-overflow-menu--spacer);
|
62
62
|
}
|
63
63
|
.pf-v5-c-overflow-menu > .pf-v5-c-divider.pf-m-vertical:last-child,
|
64
64
|
.pf-v5-c-overflow-menu__group > .pf-v5-c-divider.pf-m-vertical:last-child {
|