@patternfly/patternfly 6.0.0-alpha.6 → 6.0.0-alpha.8
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/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +21 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +16 -2
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +277 -188
- package/base/tokens/_tokens-dark.scss +117 -82
- package/base/tokens/_tokens-default.scss +145 -109
- package/base/tokens/_tokens-font.scss +16 -14
- package/base/tokens/_tokens-palette.scss +2 -4
- package/components/AboutModalBox/about-modal-box.css +23 -12
- package/components/AboutModalBox/about-modal-box.scss +25 -12
- package/components/Accordion/accordion.css +33 -20
- package/components/Accordion/accordion.scss +32 -20
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +7 -4
- package/components/Alert/alert-group.scss +7 -4
- package/components/Alert/alert.css +19 -13
- package/components/Alert/alert.scss +18 -13
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +33 -21
- package/components/Button/button.scss +35 -23
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +33 -30
- package/components/Content/content.scss +33 -30
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -61
- package/components/Drawer/drawer.scss +92 -43
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +32 -30
- package/components/Masthead/masthead.scss +32 -30
- package/components/Menu/menu.css +79 -65
- package/components/Menu/menu.scss +80 -68
- package/components/MenuToggle/menu-toggle.css +33 -27
- package/components/MenuToggle/menu-toggle.scss +33 -27
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +120 -93
- package/components/Nav/nav.scss +120 -93
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +13 -7
- package/components/NotificationBadge/notification-badge.scss +13 -7
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +135 -77
- package/components/Page/page.scss +81 -52
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +72 -40
- package/components/Popover/popover.scss +95 -75
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +3 -3
- package/components/Radio/radio.scss +3 -3
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +92 -70
- package/components/Table/table.scss +90 -70
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +44 -41
- package/components/Toolbar/toolbar.scss +26 -21
- package/components/Tooltip/tooltip.css +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +15 -15
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +120 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +90 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +4 -21
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +525 -431
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +24 -20
- package/docs/demos/Dashboard/examples/Dashboard.md +3 -3
- package/docs/demos/DataList/examples/DataList.md +8 -2
- package/docs/demos/Page/examples/Penta.md +528 -500
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +336 -252
- package/docs/demos/Tabs/examples/Tabs.md +28 -21
- package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +298 -191
- package/patternfly-base-no-globals.css +298 -191
- package/patternfly-base-theme-dark-unversioned.css +299 -192
- package/patternfly-base.css +299 -192
- package/patternfly-no-globals.css +2977 -2079
- package/patternfly-theme-dark-unversioned.css +2978 -2080
- package/patternfly.css +2978 -2080
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
|
@@ -173,8 +173,8 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
173
173
|
--#{$tree-view}--m-compact--m-no-background__node--nested--PaddingBottom: 0;
|
|
174
174
|
--#{$tree-view}--m-compact--m-no-background__node--before--Top: calc(var(--#{$tree-view}--m-compact__node-container--nested--PaddingTop) + var(--#{$tree-view}--m-compact__node--nested--PaddingTop) + #{pf-size-prem(4px)});
|
|
175
175
|
|
|
176
|
-
padding-
|
|
177
|
-
padding-
|
|
176
|
+
padding-block-start: var(--#{$tree-view}--PaddingTop);
|
|
177
|
+
padding-block-end: var(--#{$tree-view}--PaddingBottom);
|
|
178
178
|
|
|
179
179
|
&.pf-m-compact,
|
|
180
180
|
&.pf-m-guides {
|
|
@@ -186,13 +186,13 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
186
186
|
&::before,
|
|
187
187
|
.#{$tree-view}__node::before {
|
|
188
188
|
position: absolute;
|
|
189
|
-
|
|
189
|
+
inset-inline-start: var(--#{$tree-view}--m-guides--guide--Left);
|
|
190
190
|
content: "";
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
// vertical border
|
|
194
194
|
&::before {
|
|
195
|
-
|
|
195
|
+
inset-block-start: var(--#{$tree-view}--m-guides__list-item--before--Top);
|
|
196
196
|
z-index: var(--#{$tree-view}--m-guides__list-item--ZIndex);
|
|
197
197
|
width: var(--#{$tree-view}--m-guides__list-item--before--Width);
|
|
198
198
|
height: var(--#{$tree-view}--m-guides__list-item--before--Height);
|
|
@@ -201,7 +201,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
201
201
|
|
|
202
202
|
// horizontal border
|
|
203
203
|
.#{$tree-view}__node::before {
|
|
204
|
-
|
|
204
|
+
inset-block-start: var(--#{$tree-view}--m-guides__node--before--Top);
|
|
205
205
|
width: var(--#{$tree-view}--m-guides__node--before--Width);
|
|
206
206
|
height: var(--#{$tree-view}--m-guides__node--before--Height);
|
|
207
207
|
background-color: var(--#{$tree-view}--m-guides__node--before--BackgroundColor);
|
|
@@ -233,7 +233,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
233
233
|
|
|
234
234
|
// Level 1
|
|
235
235
|
.#{$tree-view}__list-item {
|
|
236
|
-
border-
|
|
236
|
+
border-block-end: var(--#{$tree-view}--m-compact__list-item--BorderBottomWidth) solid var(--#{$tree-view}--m-compact__list-item--BorderBottomColor);
|
|
237
237
|
|
|
238
238
|
&.pf-m-expanded {
|
|
239
239
|
--#{$tree-view}--m-compact__node-container--PaddingBottom: var(--#{$tree-view}--m-compact__list-item--m-expanded__node-container--PaddingBottom);
|
|
@@ -252,15 +252,15 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
252
252
|
// stylelint-disable max-nesting-depth, selector-max-class
|
|
253
253
|
&::before,
|
|
254
254
|
.#{$tree-view}__node::before {
|
|
255
|
-
|
|
255
|
+
inset-inline-start: var(--#{$tree-view}--m-compact--border--Left);
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
&::before {
|
|
259
|
-
|
|
259
|
+
inset-block-start: var(--#{$tree-view}--m-compact__list-item--before--Top);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
.#{$tree-view}__node::before {
|
|
263
|
-
|
|
263
|
+
inset-block-start: var(--#{$tree-view}--m-compact__node--before--Top);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
&:last-child::before {
|
|
@@ -276,21 +276,27 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
.#{$tree-view}__node-container {
|
|
279
|
-
padding: var(--#{$tree-view}--m-compact__node-container--nested--PaddingTop)
|
|
279
|
+
padding-block-start: var(--#{$tree-view}--m-compact__node-container--nested--PaddingTop);
|
|
280
|
+
padding-block-end: var(--#{$tree-view}--m-compact__node-container--nested--PaddingBottom);
|
|
281
|
+
padding-inline-start: var(--#{$tree-view}--m-compact__node-container--nested--PaddingLeft);
|
|
282
|
+
padding-inline-end: var(--#{$tree-view}--m-compact__node-container--nested--PaddingRight);
|
|
280
283
|
background-color: var(--#{$tree-view}--m-compact__node-container--nested--BackgroundColor);
|
|
281
284
|
}
|
|
282
285
|
|
|
283
286
|
// add margins to align item text flush left and offset gap between toggle and text
|
|
284
287
|
.#{$tree-view}__node-toggle {
|
|
285
|
-
margin-
|
|
286
|
-
margin-
|
|
288
|
+
margin-inline-start: var(--#{$tree-view}--m-compact__node-toggle--nested--MarginLeft);
|
|
289
|
+
margin-inline-end: var(--#{$tree-view}--m-compact__node-toggle--nested--MarginRight);
|
|
287
290
|
}
|
|
288
291
|
// stylelint-enable
|
|
289
292
|
}
|
|
290
293
|
}
|
|
291
294
|
|
|
292
295
|
.#{$tree-view}__node-container {
|
|
293
|
-
padding: var(--#{$tree-view}--m-compact__node-container--PaddingTop)
|
|
296
|
+
padding-block-start: var(--#{$tree-view}--m-compact__node-container--PaddingTop);
|
|
297
|
+
padding-block-end: var(--#{$tree-view}--m-compact__node-container--PaddingBottom);
|
|
298
|
+
padding-inline-start: var(--#{$tree-view}--m-compact__node-container--PaddingLeft);
|
|
299
|
+
padding-inline-end: var(--#{$tree-view}--m-compact__node-container--PaddingRight);
|
|
294
300
|
}
|
|
295
301
|
|
|
296
302
|
// stylelint-disable selector-max-class, selector-max-compound-selectors
|
|
@@ -326,6 +332,8 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
326
332
|
}
|
|
327
333
|
|
|
328
334
|
.#{$tree-view}__node-toggle-icon {
|
|
335
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
336
|
+
|
|
329
337
|
display: inline-block;
|
|
330
338
|
min-width: var(--#{$tree-view}__node-toggle-icon--MinWidth);
|
|
331
339
|
text-align: center;
|
|
@@ -352,7 +360,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
352
360
|
flex: 1 1;
|
|
353
361
|
align-items: flex-start;
|
|
354
362
|
min-width: 0;
|
|
355
|
-
text-align:
|
|
363
|
+
text-align: start;
|
|
356
364
|
cursor: pointer;
|
|
357
365
|
border: 0;
|
|
358
366
|
}
|
|
@@ -360,7 +368,10 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
360
368
|
.#{$tree-view}__node {
|
|
361
369
|
position: relative;
|
|
362
370
|
display: flex;
|
|
363
|
-
padding: var(--#{$tree-view}__node--PaddingTop)
|
|
371
|
+
padding-block-start: var(--#{$tree-view}__node--PaddingTop);
|
|
372
|
+
padding-block-end: var(--#{$tree-view}__node--PaddingBottom);
|
|
373
|
+
padding-inline-start: var(--#{$tree-view}__node--PaddingLeft);
|
|
374
|
+
padding-inline-end: var(--#{$tree-view}__node--PaddingRight);
|
|
364
375
|
color: var(--#{$tree-view}__node--Color);
|
|
365
376
|
background-color: var(--#{$tree-view}__node--BackgroundColor);
|
|
366
377
|
|
|
@@ -375,7 +386,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
375
386
|
}
|
|
376
387
|
|
|
377
388
|
.#{$tree-view}__node-count {
|
|
378
|
-
margin-
|
|
389
|
+
margin-inline-start: var(--#{$tree-view}__node-count--MarginLeft);
|
|
379
390
|
|
|
380
391
|
.#{$badge}.pf-m-read {
|
|
381
392
|
--#{$badge}--m-read--BackgroundColor: var(--#{$tree-view}__node-count--c-badge--m-read--BackgroundColor);
|
|
@@ -410,28 +421,36 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
410
421
|
|
|
411
422
|
// row-gap: var(--#{$tree-view}__node-content--RowGap); update when gap for flex is supported
|
|
412
423
|
> * + * {
|
|
413
|
-
margin-
|
|
424
|
+
margin-block-start: var(--#{$tree-view}__node-content--RowGap);
|
|
414
425
|
}
|
|
415
426
|
}
|
|
416
427
|
|
|
417
428
|
.#{$tree-view}__node-check {
|
|
418
|
-
margin-
|
|
429
|
+
margin-inline-end: var(--#{$tree-view}__node-check--MarginRight);
|
|
419
430
|
}
|
|
420
431
|
|
|
421
432
|
.#{$tree-view}__node-toggle {
|
|
422
433
|
position: var(--#{$tree-view}__node-toggle--Position);
|
|
423
|
-
|
|
424
|
-
|
|
434
|
+
inset-block-start: var(--#{$tree-view}__list-item__list-item__node-toggle--Top);
|
|
435
|
+
inset-inline-start: var(--#{$tree-view}__list-item__list-item__node-toggle--Left);
|
|
425
436
|
display: inline-flex;
|
|
426
437
|
align-items: center;
|
|
427
438
|
justify-content: center;
|
|
428
|
-
padding: var(--#{$tree-view}__node-toggle-button--PaddingTop)
|
|
429
|
-
|
|
430
|
-
|
|
439
|
+
padding-block-start: var(--#{$tree-view}__node-toggle-button--PaddingTop);
|
|
440
|
+
padding-block-end: var(--#{$tree-view}__node-toggle-button--PaddingBottom);
|
|
441
|
+
padding-inline-start: var(--#{$tree-view}__node-toggle-button--PaddingLeft);
|
|
442
|
+
padding-inline-end: var(--#{$tree-view}__node-toggle-button--PaddingRight);
|
|
443
|
+
margin-block-start: var(--#{$tree-view}__node-toggle-button--MarginTop);
|
|
444
|
+
margin-block-end: var(--#{$tree-view}__node-toggle-button--MarginBottom);
|
|
431
445
|
color: var(--#{$tree-view}__node-toggle--Color);
|
|
432
446
|
background-color: var(--#{$tree-view}__node-toggle--BackgroundColor);
|
|
433
447
|
border: 0;
|
|
434
|
-
|
|
448
|
+
|
|
449
|
+
@include pf-v5-bidirectional-style(
|
|
450
|
+
$prop: transform,
|
|
451
|
+
$ltr-val: translateX(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX)),
|
|
452
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX))})
|
|
453
|
+
);
|
|
435
454
|
}
|
|
436
455
|
|
|
437
456
|
.#{$tree-view}__node-title,
|
|
@@ -456,7 +475,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
456
475
|
|
|
457
476
|
font-weight: inherit;
|
|
458
477
|
color: inherit;
|
|
459
|
-
text-align:
|
|
478
|
+
text-align: start;
|
|
460
479
|
background-color: transparent;
|
|
461
480
|
border: 0;
|
|
462
481
|
}
|
|
@@ -466,11 +485,14 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
466
485
|
}
|
|
467
486
|
|
|
468
487
|
.#{$tree-view}__search {
|
|
469
|
-
padding: var(--#{$tree-view}__search--PaddingTop)
|
|
488
|
+
padding-block-start: var(--#{$tree-view}__search--PaddingTop);
|
|
489
|
+
padding-block-end: var(--#{$tree-view}__search--PaddingBottom);
|
|
490
|
+
padding-inline-start: var(--#{$tree-view}__search--PaddingLeft);
|
|
491
|
+
padding-inline-end: var(--#{$tree-view}__search--PaddingRight);
|
|
470
492
|
}
|
|
471
493
|
|
|
472
494
|
.#{$tree-view}__node-icon {
|
|
473
|
-
padding-
|
|
495
|
+
padding-inline-end: var(--#{$tree-view}__node-icon--PaddingRight);
|
|
474
496
|
color: var(--#{$tree-view}__node-icon--Color);
|
|
475
497
|
}
|
|
476
498
|
|
|
@@ -485,7 +507,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
485
507
|
}
|
|
486
508
|
|
|
487
509
|
.#{$tree-view}__action {
|
|
488
|
-
margin-
|
|
510
|
+
margin-inline-start: var(--#{$tree-view}__action--MarginLeft);
|
|
489
511
|
}
|
|
490
512
|
|
|
491
513
|
// stylelint-disable no-duplicate-selectors
|
|
@@ -21,14 +21,23 @@
|
|
|
21
21
|
.pf-v5-c-truncate__end {
|
|
22
22
|
direction: rtl;
|
|
23
23
|
}
|
|
24
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-truncate__end {
|
|
25
|
+
direction: ltr;
|
|
26
|
+
}
|
|
24
27
|
|
|
25
28
|
.pf-v5-c-truncate__start + .pf-v5-c-truncate__end {
|
|
26
29
|
overflow: visible;
|
|
27
30
|
direction: ltr;
|
|
28
31
|
}
|
|
32
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-truncate__start + .pf-v5-c-truncate__end {
|
|
33
|
+
direction: rtl;
|
|
34
|
+
}
|
|
29
35
|
|
|
30
36
|
@supports (-webkit-hyphens: none) {
|
|
31
37
|
.pf-v5-c-truncate__end {
|
|
32
38
|
direction: ltr;
|
|
33
39
|
}
|
|
40
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-truncate__end {
|
|
41
|
+
direction: rtl;
|
|
42
|
+
}
|
|
34
43
|
}
|
|
@@ -23,17 +23,30 @@
|
|
|
23
23
|
|
|
24
24
|
// End
|
|
25
25
|
.#{$truncate}__end {
|
|
26
|
-
|
|
26
|
+
@include pf-v5-bidirectional-style (
|
|
27
|
+
$prop: direction,
|
|
28
|
+
$ltr-val: rtl,
|
|
29
|
+
$rtl-val: ltr
|
|
30
|
+
)
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
.#{$truncate}__start + .#{$truncate}__end {
|
|
30
34
|
overflow: visible;
|
|
31
|
-
|
|
35
|
+
|
|
36
|
+
@include pf-v5-bidirectional-style (
|
|
37
|
+
$prop: direction,
|
|
38
|
+
$ltr-val: ltr,
|
|
39
|
+
$rtl-val: rtl
|
|
40
|
+
)
|
|
32
41
|
}
|
|
33
42
|
|
|
34
43
|
// safari not supported
|
|
35
44
|
@supports (-webkit-hyphens: none) {
|
|
36
45
|
.#{$truncate}__end {
|
|
37
|
-
|
|
46
|
+
@include pf-v5-bidirectional-style (
|
|
47
|
+
$prop: direction,
|
|
48
|
+
$ltr-val: ltr,
|
|
49
|
+
$rtl-val: rtl
|
|
50
|
+
)
|
|
38
51
|
}
|
|
39
52
|
}
|
|
@@ -211,20 +211,23 @@
|
|
|
211
211
|
color: var(--pf-v5-global--Color--100);
|
|
212
212
|
position: relative;
|
|
213
213
|
z-index: var(--pf-v5-c-wizard__header--ZIndex);
|
|
214
|
-
padding: var(--pf-v5-c-wizard__header--PaddingTop)
|
|
214
|
+
padding-block-start: var(--pf-v5-c-wizard__header--PaddingTop);
|
|
215
|
+
padding-block-end: var(--pf-v5-c-wizard__header--PaddingBottom);
|
|
216
|
+
padding-inline-start: var(--pf-v5-c-wizard__header--PaddingLeft);
|
|
217
|
+
padding-inline-end: var(--pf-v5-c-wizard__header--PaddingRight);
|
|
215
218
|
background-color: var(--pf-v5-c-wizard__header--BackgroundColor);
|
|
216
219
|
}
|
|
217
220
|
.pf-v5-c-wizard__header .pf-v5-c-wizard__close {
|
|
218
221
|
position: absolute;
|
|
219
|
-
|
|
220
|
-
|
|
222
|
+
inset-block-start: var(--pf-v5-c-wizard__close--Top);
|
|
223
|
+
inset-inline-end: var(--pf-v5-c-wizard__close--Right);
|
|
221
224
|
}
|
|
222
225
|
.pf-v5-c-wizard__header .pf-v5-c-wizard__close button {
|
|
223
226
|
font-size: var(--pf-v5-c-wizard__close--FontSize);
|
|
224
227
|
}
|
|
225
228
|
|
|
226
229
|
.pf-v5-c-wizard__title {
|
|
227
|
-
padding-
|
|
230
|
+
padding-inline-end: var(--pf-v5-c-wizard__title--PaddingRight);
|
|
228
231
|
word-wrap: break-word;
|
|
229
232
|
}
|
|
230
233
|
|
|
@@ -237,7 +240,7 @@
|
|
|
237
240
|
|
|
238
241
|
.pf-v5-c-wizard__description {
|
|
239
242
|
display: none;
|
|
240
|
-
padding-
|
|
243
|
+
padding-block-start: var(--pf-v5-c-wizard__description--PaddingTop);
|
|
241
244
|
color: var(--pf-v5-c-wizard__description--Color);
|
|
242
245
|
}
|
|
243
246
|
@media screen and (min-width: 992px) {
|
|
@@ -252,7 +255,10 @@
|
|
|
252
255
|
display: flex;
|
|
253
256
|
justify-content: space-between;
|
|
254
257
|
width: 100%;
|
|
255
|
-
padding: var(--pf-v5-c-wizard__toggle--PaddingTop)
|
|
258
|
+
padding-block-start: var(--pf-v5-c-wizard__toggle--PaddingTop);
|
|
259
|
+
padding-block-end: var(--pf-v5-c-wizard__toggle--PaddingBottom);
|
|
260
|
+
padding-inline-start: var(--pf-v5-c-wizard__toggle--PaddingLeft);
|
|
261
|
+
padding-inline-end: var(--pf-v5-c-wizard__toggle--PaddingRight);
|
|
256
262
|
background-color: var(--pf-v5-c-wizard__toggle--BackgroundColor);
|
|
257
263
|
border: 0;
|
|
258
264
|
box-shadow: var(--pf-v5-c-wizard__toggle--BoxShadow);
|
|
@@ -264,7 +270,7 @@
|
|
|
264
270
|
}
|
|
265
271
|
.pf-v5-c-wizard__toggle.pf-m-expanded {
|
|
266
272
|
--pf-v5-c-wizard__toggle--BoxShadow: none;
|
|
267
|
-
border-
|
|
273
|
+
border-block-end: var(--pf-v5-c-wizard__toggle--m-expanded--BorderBottomWidth) solid var(--pf-v5-c-wizard__toggle--m-expanded--BorderBottomColor);
|
|
268
274
|
}
|
|
269
275
|
.pf-v5-c-wizard__toggle.pf-m-expanded .pf-v5-c-wizard__toggle-icon {
|
|
270
276
|
transform: rotate(var(--pf-v5-c-wizard__toggle--m-expanded__toggle-icon--Rotate));
|
|
@@ -275,18 +281,18 @@
|
|
|
275
281
|
display: flex;
|
|
276
282
|
flex-wrap: wrap;
|
|
277
283
|
align-items: baseline;
|
|
278
|
-
margin-
|
|
279
|
-
margin-
|
|
284
|
+
margin-block-end: var(--pf-v5-c-wizard__toggle-list--MarginBottom);
|
|
285
|
+
margin-inline-end: var(--pf-v5-c-wizard__toggle-list--MarginRight);
|
|
280
286
|
list-style: none;
|
|
281
287
|
}
|
|
282
288
|
|
|
283
289
|
.pf-v5-c-wizard__toggle-list-item {
|
|
284
|
-
margin-
|
|
285
|
-
text-align:
|
|
290
|
+
margin-block-end: var(--pf-v5-c-wizard__toggle-list-item--MarginBottom);
|
|
291
|
+
text-align: start;
|
|
286
292
|
word-break: break-word;
|
|
287
293
|
}
|
|
288
294
|
.pf-v5-c-wizard__toggle-list-item:not(:last-child) {
|
|
289
|
-
margin-
|
|
295
|
+
margin-inline-end: var(--pf-v5-c-wizard__toggle-list-item--not-last-child--MarginRight);
|
|
290
296
|
}
|
|
291
297
|
|
|
292
298
|
.pf-v5-c-wizard__toggle-num {
|
|
@@ -294,9 +300,12 @@
|
|
|
294
300
|
}
|
|
295
301
|
|
|
296
302
|
.pf-v5-c-wizard__toggle-separator {
|
|
297
|
-
margin-
|
|
303
|
+
margin-inline-start: var(--pf-v5-c-wizard__toggle-separator--MarginLeft);
|
|
298
304
|
color: var(--pf-v5-c-wizard__toggle-separator--Color);
|
|
299
305
|
}
|
|
306
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-wizard__toggle-separator {
|
|
307
|
+
scale: -1 1;
|
|
308
|
+
}
|
|
300
309
|
|
|
301
310
|
.pf-v5-c-wizard__toggle-icon {
|
|
302
311
|
line-height: var(--pf-v5-c-wizard__toggle-icon--LineHeight);
|
|
@@ -312,7 +321,7 @@
|
|
|
312
321
|
}
|
|
313
322
|
@media screen and (min-width: 992px) {
|
|
314
323
|
.pf-v5-c-wizard__outer-wrap {
|
|
315
|
-
padding-
|
|
324
|
+
padding-inline-start: var(--pf-v5-c-wizard__outer-wrap--lg--PaddingLeft);
|
|
316
325
|
}
|
|
317
326
|
}
|
|
318
327
|
|
|
@@ -331,8 +340,8 @@
|
|
|
331
340
|
|
|
332
341
|
.pf-v5-c-wizard__nav {
|
|
333
342
|
position: absolute;
|
|
334
|
-
|
|
335
|
-
|
|
343
|
+
inset-block-start: 0;
|
|
344
|
+
inset-inline-start: 0;
|
|
336
345
|
z-index: var(--pf-v5-c-wizard__nav--ZIndex);
|
|
337
346
|
display: none;
|
|
338
347
|
width: var(--pf-v5-c-wizard__nav--Width);
|
|
@@ -349,22 +358,22 @@
|
|
|
349
358
|
.pf-v5-c-wizard__nav {
|
|
350
359
|
display: block;
|
|
351
360
|
height: 100%;
|
|
352
|
-
border-
|
|
361
|
+
border-inline-end: var(--pf-v5-c-wizard__nav--lg--BorderRightWidth) solid var(--pf-v5-c-wizard__nav--lg--BorderRightColor);
|
|
353
362
|
}
|
|
354
363
|
}
|
|
355
364
|
|
|
356
365
|
.pf-v5-c-wizard__nav-list {
|
|
357
|
-
padding-
|
|
358
|
-
padding-
|
|
359
|
-
padding-
|
|
360
|
-
padding-
|
|
366
|
+
padding-block-start: var(--pf-v5-c-wizard__nav-list--PaddingTop);
|
|
367
|
+
padding-block-end: var(--pf-v5-c-wizard__nav-list--PaddingBottom);
|
|
368
|
+
padding-inline-start: var(--pf-v5-c-wizard__nav-list--PaddingLeft);
|
|
369
|
+
padding-inline-end: var(--pf-v5-c-wizard__nav-list--PaddingRight);
|
|
361
370
|
list-style: none;
|
|
362
371
|
counter-reset: wizard-nav-count;
|
|
363
372
|
}
|
|
364
373
|
.pf-v5-c-wizard__nav-list .pf-v5-c-wizard__nav-list {
|
|
365
374
|
padding: 0;
|
|
366
|
-
margin-
|
|
367
|
-
margin-
|
|
375
|
+
margin-block-start: var(--pf-v5-c-wizard__nav-list--nested--MarginTop);
|
|
376
|
+
margin-inline-start: var(--pf-v5-c-wizard__nav-list--nested--MarginLeft);
|
|
368
377
|
}
|
|
369
378
|
.pf-v5-c-wizard__nav-list .pf-v5-c-wizard__nav-list .pf-v5-c-wizard__nav-link::before {
|
|
370
379
|
content: none;
|
|
@@ -374,7 +383,7 @@
|
|
|
374
383
|
}
|
|
375
384
|
|
|
376
385
|
.pf-v5-c-wizard__nav-item + .pf-v5-c-wizard__nav-item {
|
|
377
|
-
margin-
|
|
386
|
+
margin-block-start: var(--pf-v5-c-wizard__nav-item--MarginTop);
|
|
378
387
|
}
|
|
379
388
|
.pf-v5-c-wizard__nav-item.pf-m-expandable > .pf-v5-c-wizard__nav-link {
|
|
380
389
|
display: flex;
|
|
@@ -394,16 +403,17 @@
|
|
|
394
403
|
display: inline-block;
|
|
395
404
|
width: 100%;
|
|
396
405
|
color: var(--pf-v5-c-wizard__nav-link--Color);
|
|
397
|
-
text-align:
|
|
406
|
+
text-align: start;
|
|
398
407
|
text-decoration: var(--pf-v5-c-wizard__nav-link--TextDecoration);
|
|
399
408
|
word-break: break-word;
|
|
400
409
|
background-color: var(--pf-v5-c-wizard__nav-link--BackgroundColor);
|
|
401
410
|
border: 0;
|
|
402
411
|
}
|
|
403
412
|
.pf-v5-c-wizard__toggle-num, .pf-v5-c-wizard__nav-link::before {
|
|
413
|
+
transform: translateX(var(--pf-v5-c-wizard__nav-link--before--TranslateX));
|
|
404
414
|
position: absolute;
|
|
405
|
-
|
|
406
|
-
|
|
415
|
+
inset-block-start: var(--pf-v5-c-wizard__nav-link--before--Top);
|
|
416
|
+
inset-inline-start: 0;
|
|
407
417
|
display: inline-flex;
|
|
408
418
|
align-items: center;
|
|
409
419
|
justify-content: center;
|
|
@@ -414,11 +424,13 @@
|
|
|
414
424
|
color: var(--pf-v5-c-wizard__nav-link--before--Color);
|
|
415
425
|
background-color: var(--pf-v5-c-wizard__nav-link--before--BackgroundColor);
|
|
416
426
|
border-radius: var(--pf-v5-c-wizard__nav-link--before--BorderRadius);
|
|
417
|
-
|
|
427
|
+
}
|
|
428
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-wizard__toggle-num, .pf-v5-c-wizard__nav-link::before {
|
|
429
|
+
transform: translateX(calc(var(--pf-v5-c-wizard__nav-link--before--TranslateX) * var(--pf-v5-global--inverse--multiplier)));
|
|
418
430
|
}
|
|
419
431
|
|
|
420
432
|
.pf-v5-c-wizard__nav-link::before {
|
|
421
|
-
|
|
433
|
+
inset-block-start: 0;
|
|
422
434
|
content: counter(wizard-nav-count);
|
|
423
435
|
counter-increment: wizard-nav-count;
|
|
424
436
|
}
|
|
@@ -453,8 +465,8 @@
|
|
|
453
465
|
}
|
|
454
466
|
|
|
455
467
|
.pf-v5-c-wizard__nav-link-toggle {
|
|
456
|
-
padding-
|
|
457
|
-
padding-
|
|
468
|
+
padding-inline-start: var(--pf-v5-c-wizard__nav-link-toggle--PaddingLeft);
|
|
469
|
+
padding-inline-end: var(--pf-v5-c-wizard__nav-link-toggle--PaddingRight);
|
|
458
470
|
color: var(--pf-v5-c-wizard__nav-link-toggle--Color);
|
|
459
471
|
}
|
|
460
472
|
|
|
@@ -463,6 +475,9 @@
|
|
|
463
475
|
transition: var(--pf-v5-c-wizard__nav-link-toggle-icon--Transition);
|
|
464
476
|
transform: rotate(var(--pf-v5-c-wizard__nav-link-toggle-icon--Rotate));
|
|
465
477
|
}
|
|
478
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-wizard__nav-link-toggle-icon {
|
|
479
|
+
scale: -1 1;
|
|
480
|
+
}
|
|
466
481
|
|
|
467
482
|
.pf-v5-c-wizard__main {
|
|
468
483
|
z-index: var(--pf-v5-c-wizard__main--ZIndex);
|
|
@@ -473,7 +488,10 @@
|
|
|
473
488
|
}
|
|
474
489
|
|
|
475
490
|
.pf-v5-c-wizard__main-body {
|
|
476
|
-
padding: var(--pf-v5-c-wizard__main-body--PaddingTop)
|
|
491
|
+
padding-block-start: var(--pf-v5-c-wizard__main-body--PaddingTop);
|
|
492
|
+
padding-block-end: var(--pf-v5-c-wizard__main-body--PaddingBottom);
|
|
493
|
+
padding-inline-start: var(--pf-v5-c-wizard__main-body--PaddingLeft);
|
|
494
|
+
padding-inline-end: var(--pf-v5-c-wizard__main-body--PaddingRight);
|
|
477
495
|
}
|
|
478
496
|
.pf-v5-c-wizard__main-body.pf-m-no-padding {
|
|
479
497
|
padding: 0;
|
|
@@ -485,21 +503,24 @@
|
|
|
485
503
|
display: flex;
|
|
486
504
|
flex-shrink: 0;
|
|
487
505
|
flex-wrap: wrap;
|
|
488
|
-
padding: var(--pf-v5-c-wizard__footer--PaddingTop)
|
|
506
|
+
padding-block-start: var(--pf-v5-c-wizard__footer--PaddingTop);
|
|
507
|
+
padding-block-end: var(--pf-v5-c-wizard__footer--PaddingBottom);
|
|
508
|
+
padding-inline-start: var(--pf-v5-c-wizard__footer--PaddingLeft);
|
|
509
|
+
padding-inline-end: var(--pf-v5-c-wizard__footer--PaddingRight);
|
|
489
510
|
background-color: var(--pf-v5-c-wizard__footer--BackgroundColor);
|
|
490
511
|
}
|
|
491
512
|
.pf-v5-c-wizard__footer > * {
|
|
492
|
-
margin-
|
|
513
|
+
margin-block-end: var(--pf-v5-c-wizard__footer--child--MarginBottom);
|
|
493
514
|
}
|
|
494
515
|
.pf-v5-c-wizard__footer > *:not(:last-child) {
|
|
495
|
-
margin-
|
|
516
|
+
margin-inline-end: var(--pf-v5-c-wizard__footer--child--MarginRight);
|
|
496
517
|
}
|
|
497
518
|
.pf-v5-c-page__main-wizard .pf-v5-c-wizard__footer, .pf-v5-c-modal-box .pf-v5-c-wizard__footer, .pf-v5-c-drawer > .pf-v5-c-wizard__footer {
|
|
498
519
|
box-shadow: var(--pf-v5-c-wizard__footer--BoxShadow);
|
|
499
520
|
}
|
|
500
521
|
|
|
501
522
|
.pf-v5-c-wizard__footer-cancel {
|
|
502
|
-
margin-
|
|
523
|
+
margin-inline-start: var(--pf-v5-c-wizard__footer-cancel--MarginLeft);
|
|
503
524
|
}
|
|
504
525
|
|
|
505
526
|
:where(.pf-v5-theme-dark) .pf-v5-c-wizard__header .pf-v5-c-button {
|