@patternfly/react-styles 5.1.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 +4 -2
- 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 +4 -8
@@ -54,15 +54,12 @@
|
|
54
54
|
.pf-v5-c-skeleton::before {
|
55
55
|
display: block;
|
56
56
|
height: var(--pf-v5-c-skeleton--before--Height);
|
57
|
-
padding-
|
57
|
+
padding-block-end: var(--pf-v5-c-skeleton--before--PaddingBottom);
|
58
58
|
content: var(--pf-v5-c-skeleton--before--Content);
|
59
59
|
}
|
60
60
|
.pf-v5-c-skeleton::after {
|
61
61
|
position: absolute;
|
62
|
-
|
63
|
-
right: 0;
|
64
|
-
bottom: 0;
|
65
|
-
left: 0;
|
62
|
+
inset: 0;
|
66
63
|
display: block;
|
67
64
|
content: "";
|
68
65
|
background: linear-gradient(var(--pf-v5-c-skeleton--after--LinearGradientAngle), var(--pf-v5-c-skeleton--after--LinearGradientColorStop1), var(--pf-v5-c-skeleton--after--LinearGradientColorStop2), var(--pf-v5-c-skeleton--after--LinearGradientColorStop3));
|
@@ -3,10 +3,10 @@
|
|
3
3
|
--pf-v5-c-skip-to-content--ZIndex: var(--pf-v5-global--ZIndex--2xl);
|
4
4
|
--pf-v5-c-skip-to-content--focus--Left: var(--pf-v5-global--spacer--md);
|
5
5
|
position: absolute;
|
6
|
-
|
7
|
-
|
6
|
+
inset-block-start: var(--pf-v5-c-skip-to-content--Top);
|
7
|
+
inset-inline-start: -300%;
|
8
8
|
z-index: var(--pf-v5-c-skip-to-content--ZIndex);
|
9
9
|
}
|
10
10
|
.pf-v5-c-skip-to-content:focus-within {
|
11
|
-
|
11
|
+
inset-inline-start: var(--pf-v5-c-skip-to-content--focus--Left);
|
12
12
|
}
|
@@ -77,8 +77,8 @@
|
|
77
77
|
}
|
78
78
|
|
79
79
|
.pf-v5-c-slider__rail {
|
80
|
-
padding-
|
81
|
-
padding-
|
80
|
+
padding-block-start: var(--pf-v5-c-slider__rail--PaddingTop);
|
81
|
+
padding-block-end: var(--pf-v5-c-slider__rail--PaddingBottom);
|
82
82
|
}
|
83
83
|
|
84
84
|
.pf-v5-c-slider__rail-track {
|
@@ -87,10 +87,7 @@
|
|
87
87
|
}
|
88
88
|
.pf-v5-c-slider__rail-track::before {
|
89
89
|
position: absolute;
|
90
|
-
|
91
|
-
right: 0;
|
92
|
-
bottom: 0;
|
93
|
-
left: 0;
|
90
|
+
inset: 0;
|
94
91
|
content: "";
|
95
92
|
background: linear-gradient(to right, var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor), var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor) var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop), var(--pf-v5-c-slider__rail-track--before--base--BackgroundColor) var(--pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop));
|
96
93
|
border-radius: var(--pf-v5-c-slider__rail-track--before--BorderRadius);
|
@@ -104,8 +101,8 @@
|
|
104
101
|
|
105
102
|
.pf-v5-c-slider__step {
|
106
103
|
position: absolute;
|
107
|
-
|
108
|
-
|
104
|
+
inset-block-start: 0;
|
105
|
+
inset-inline-start: var(--pf-v5-c-slider__step--Left);
|
109
106
|
content: "";
|
110
107
|
}
|
111
108
|
.pf-v5-c-slider__step.pf-m-active {
|
@@ -122,8 +119,8 @@
|
|
122
119
|
|
123
120
|
.pf-v5-c-slider__step-tick {
|
124
121
|
position: absolute;
|
125
|
-
|
126
|
-
|
122
|
+
inset-block-start: var(--pf-v5-c-slider__step-tick--Top);
|
123
|
+
inset-inline-start: 0;
|
127
124
|
width: var(--pf-v5-c-slider__step-tick--Width);
|
128
125
|
height: var(--pf-v5-c-slider__step-tick--Height);
|
129
126
|
background-color: var(--pf-v5-c-slider__step-tick--BackgroundColor);
|
@@ -133,15 +130,15 @@
|
|
133
130
|
|
134
131
|
.pf-v5-c-slider__step-label {
|
135
132
|
position: absolute;
|
136
|
-
|
133
|
+
inset-block-start: var(--pf-v5-c-slider__step-label--Top);
|
137
134
|
word-break: normal;
|
138
135
|
transform: translateX(var(--pf-v5-c-slider__step-label--TranslateX));
|
139
136
|
}
|
140
137
|
|
141
138
|
.pf-v5-c-slider__thumb {
|
142
139
|
position: absolute;
|
143
|
-
|
144
|
-
|
140
|
+
inset-block-start: var(--pf-v5-c-slider__thumb--Top);
|
141
|
+
inset-inline-start: var(--pf-v5-c-slider__thumb--Left);
|
145
142
|
width: var(--pf-v5-c-slider__thumb--Width);
|
146
143
|
height: var(--pf-v5-c-slider__thumb--Height);
|
147
144
|
cursor: pointer;
|
@@ -152,8 +149,8 @@
|
|
152
149
|
}
|
153
150
|
.pf-v5-c-slider__thumb::before {
|
154
151
|
position: absolute;
|
155
|
-
|
156
|
-
|
152
|
+
inset-block-start: 50%;
|
153
|
+
inset-inline-start: 50%;
|
157
154
|
width: var(--pf-v5-c-slider__thumb--before--Width);
|
158
155
|
height: var(--pf-v5-c-slider__thumb--before--Height);
|
159
156
|
content: "";
|
@@ -172,13 +169,13 @@
|
|
172
169
|
}
|
173
170
|
|
174
171
|
.pf-v5-c-slider__value {
|
175
|
-
margin-
|
172
|
+
margin-inline-start: var(--pf-v5-c-slider__value--MarginLeft);
|
176
173
|
}
|
177
174
|
.pf-v5-c-slider__value.pf-m-floating {
|
178
175
|
--pf-v5-c-slider__value--MarginLeft: 0;
|
179
176
|
position: absolute;
|
180
|
-
|
181
|
-
|
177
|
+
inset-block-start: 0;
|
178
|
+
inset-inline-start: var(--pf-v5-c-slider__value--m-floating--Left);
|
182
179
|
z-index: var(--pf-v5-c-slider__value--m-floating--ZIndex);
|
183
180
|
transform: translate(var(--pf-v5-c-slider__value--m-floating--TranslateX), var(--pf-v5-c-slider__value--m-floating--TranslateY));
|
184
181
|
}
|
@@ -188,9 +185,9 @@
|
|
188
185
|
|
189
186
|
.pf-v5-c-slider__actions {
|
190
187
|
display: flex;
|
191
|
-
margin-
|
188
|
+
margin-inline-end: var(--pf-v5-c-slider__actions--MarginRight);
|
192
189
|
}
|
193
190
|
.pf-v5-c-slider__main ~ .pf-v5-c-slider__actions {
|
194
191
|
--pf-v5-c-slider__actions--MarginRight: 0;
|
195
|
-
margin-
|
192
|
+
margin-inline-start: var(--pf-v5-c-slider__main--actions--MarginLeft);
|
196
193
|
}
|
@@ -107,8 +107,8 @@
|
|
107
107
|
}
|
108
108
|
.pf-v5-c-switch__toggle::before {
|
109
109
|
position: absolute;
|
110
|
-
|
111
|
-
|
110
|
+
inset-block-start: var(--pf-v5-c-switch__toggle--before--Top);
|
111
|
+
inset-inline-start: var(--pf-v5-c-switch__toggle--before--Left);
|
112
112
|
display: block;
|
113
113
|
width: var(--pf-v5-c-switch__toggle--before--Width);
|
114
114
|
height: var(--pf-v5-c-switch__toggle--before--Height);
|
@@ -121,9 +121,9 @@
|
|
121
121
|
|
122
122
|
.pf-v5-c-switch__toggle-icon {
|
123
123
|
position: absolute;
|
124
|
-
|
125
|
-
|
126
|
-
|
124
|
+
inset-block-start: 0;
|
125
|
+
inset-block-end: 0;
|
126
|
+
inset-inline-start: var(--pf-v5-c-switch__toggle-icon--Left);
|
127
127
|
display: flex;
|
128
128
|
align-items: center;
|
129
129
|
font-size: var(--pf-v5-c-switch__toggle-icon--FontSize);
|
@@ -26,7 +26,10 @@
|
|
26
26
|
}
|
27
27
|
|
28
28
|
.pf-v5-c-tab-content__body {
|
29
|
-
padding: var(--pf-v5-c-tab-content__body--PaddingTop)
|
29
|
+
padding-block-start: var(--pf-v5-c-tab-content__body--PaddingTop);
|
30
|
+
padding-block-end: var(--pf-v5-c-tab-content__body--PaddingBottom);
|
31
|
+
padding-inline-start: var(--pf-v5-c-tab-content__body--PaddingLeft);
|
32
|
+
padding-inline-end: var(--pf-v5-c-tab-content__body--PaddingRight);
|
30
33
|
}
|
31
34
|
.pf-v5-c-tab-content__body.pf-m-padding {
|
32
35
|
--pf-v5-c-tab-content__body--PaddingTop: var(--pf-v5-c-tab-content__body--m-padding--PaddingTop);
|