@patternfly/patternfly 6.0.0-alpha.7 → 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 +16 -0
- package/base/tokens/_tokens-font.scss +16 -14
- 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 +19 -22
- package/components/Masthead/masthead.scss +19 -22
- 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 +256 -195
- package/components/Table/table-grid.scss +53 -39
- 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/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 +37 -3
- package/patternfly-base-no-globals.css +37 -3
- package/patternfly-base-theme-dark-unversioned.css +38 -4
- package/patternfly-base.css +38 -4
- package/patternfly-no-globals.css +2695 -1875
- package/patternfly-theme-dark-unversioned.css +2696 -1876
- package/patternfly.css +2696 -1876
- 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
|
@@ -241,14 +241,17 @@
|
|
|
241
241
|
|
|
242
242
|
position: relative;
|
|
243
243
|
z-index: var(--#{$wizard}__header--ZIndex);
|
|
244
|
-
padding: var(--#{$wizard}__header--PaddingTop)
|
|
244
|
+
padding-block-start: var(--#{$wizard}__header--PaddingTop);
|
|
245
|
+
padding-block-end: var(--#{$wizard}__header--PaddingBottom);
|
|
246
|
+
padding-inline-start: var(--#{$wizard}__header--PaddingLeft);
|
|
247
|
+
padding-inline-end: var(--#{$wizard}__header--PaddingRight);
|
|
245
248
|
background-color: var(--#{$wizard}__header--BackgroundColor);
|
|
246
249
|
|
|
247
250
|
// Nested selector to match button component color specificity
|
|
248
251
|
.#{$wizard}__close {
|
|
249
252
|
position: absolute;
|
|
250
|
-
|
|
251
|
-
|
|
253
|
+
inset-block-start: var(--#{$wizard}__close--Top);
|
|
254
|
+
inset-inline-end: var(--#{$wizard}__close--Right);
|
|
252
255
|
|
|
253
256
|
button {
|
|
254
257
|
font-size: var(--#{$wizard}__close--FontSize);
|
|
@@ -257,7 +260,7 @@
|
|
|
257
260
|
}
|
|
258
261
|
|
|
259
262
|
.#{$wizard}__title {
|
|
260
|
-
padding-
|
|
263
|
+
padding-inline-end: var(--#{$wizard}__title--PaddingRight);
|
|
261
264
|
word-wrap: break-word;
|
|
262
265
|
}
|
|
263
266
|
|
|
@@ -270,7 +273,7 @@
|
|
|
270
273
|
|
|
271
274
|
.#{$wizard}__description {
|
|
272
275
|
display: none;
|
|
273
|
-
padding-
|
|
276
|
+
padding-block-start: var(--#{$wizard}__description--PaddingTop);
|
|
274
277
|
color: var(--#{$wizard}__description--Color);
|
|
275
278
|
|
|
276
279
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
@@ -284,7 +287,10 @@
|
|
|
284
287
|
display: flex;
|
|
285
288
|
justify-content: space-between;
|
|
286
289
|
width: 100%;
|
|
287
|
-
padding: var(--#{$wizard}__toggle--PaddingTop)
|
|
290
|
+
padding-block-start: var(--#{$wizard}__toggle--PaddingTop);
|
|
291
|
+
padding-block-end: var(--#{$wizard}__toggle--PaddingBottom);
|
|
292
|
+
padding-inline-start: var(--#{$wizard}__toggle--PaddingLeft);
|
|
293
|
+
padding-inline-end: var(--#{$wizard}__toggle--PaddingRight);
|
|
288
294
|
background-color: var(--#{$wizard}__toggle--BackgroundColor);
|
|
289
295
|
border: 0;
|
|
290
296
|
box-shadow: var(--#{$wizard}__toggle--BoxShadow);
|
|
@@ -296,7 +302,7 @@
|
|
|
296
302
|
&.pf-m-expanded {
|
|
297
303
|
--#{$wizard}__toggle--BoxShadow: none;
|
|
298
304
|
|
|
299
|
-
border-
|
|
305
|
+
border-block-end: var(--#{$wizard}__toggle--m-expanded--BorderBottomWidth) solid var(--#{$wizard}__toggle--m-expanded--BorderBottomColor);
|
|
300
306
|
|
|
301
307
|
.#{$wizard}__toggle-icon {
|
|
302
308
|
transform: rotate(var(--#{$wizard}__toggle--m-expanded__toggle-icon--Rotate));
|
|
@@ -309,18 +315,18 @@
|
|
|
309
315
|
display: flex;
|
|
310
316
|
flex-wrap: wrap;
|
|
311
317
|
align-items: baseline;
|
|
312
|
-
margin-
|
|
313
|
-
margin-
|
|
318
|
+
margin-block-end: var(--#{$wizard}__toggle-list--MarginBottom);
|
|
319
|
+
margin-inline-end: var(--#{$wizard}__toggle-list--MarginRight);
|
|
314
320
|
list-style: none;
|
|
315
321
|
}
|
|
316
322
|
|
|
317
323
|
.#{$wizard}__toggle-list-item {
|
|
318
|
-
margin-
|
|
319
|
-
text-align:
|
|
324
|
+
margin-block-end: var(--#{$wizard}__toggle-list-item--MarginBottom);
|
|
325
|
+
text-align: start;
|
|
320
326
|
word-break: break-word;
|
|
321
327
|
|
|
322
328
|
&:not(:last-child) {
|
|
323
|
-
margin-
|
|
329
|
+
margin-inline-end: var(--#{$wizard}__toggle-list-item--not-last-child--MarginRight);
|
|
324
330
|
}
|
|
325
331
|
}
|
|
326
332
|
|
|
@@ -329,7 +335,9 @@
|
|
|
329
335
|
}
|
|
330
336
|
|
|
331
337
|
.#{$wizard}__toggle-separator {
|
|
332
|
-
|
|
338
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
339
|
+
|
|
340
|
+
margin-inline-start: var(--#{$wizard}__toggle-separator--MarginLeft);
|
|
333
341
|
color: var(--#{$wizard}__toggle-separator--Color);
|
|
334
342
|
}
|
|
335
343
|
|
|
@@ -346,7 +354,7 @@
|
|
|
346
354
|
background-color: var(--#{$wizard}__outer-wrap--BackgroundColor);
|
|
347
355
|
|
|
348
356
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
349
|
-
padding-
|
|
357
|
+
padding-inline-start: var(--#{$wizard}__outer-wrap--lg--PaddingLeft);
|
|
350
358
|
}
|
|
351
359
|
}
|
|
352
360
|
|
|
@@ -364,8 +372,8 @@
|
|
|
364
372
|
|
|
365
373
|
.#{$wizard}__nav {
|
|
366
374
|
position: absolute;
|
|
367
|
-
|
|
368
|
-
|
|
375
|
+
inset-block-start: 0;
|
|
376
|
+
inset-inline-start: 0;
|
|
369
377
|
z-index: var(--#{$wizard}__nav--ZIndex);
|
|
370
378
|
display: none;
|
|
371
379
|
width: var(--#{$wizard}__nav--Width);
|
|
@@ -382,23 +390,23 @@
|
|
|
382
390
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
383
391
|
display: block;
|
|
384
392
|
height: 100%;
|
|
385
|
-
border-
|
|
393
|
+
border-inline-end: var(--#{$wizard}__nav--lg--BorderRightWidth) solid var(--#{$wizard}__nav--lg--BorderRightColor);
|
|
386
394
|
}
|
|
387
395
|
}
|
|
388
396
|
|
|
389
397
|
.#{$wizard}__nav-list {
|
|
390
|
-
padding-
|
|
391
|
-
padding-
|
|
392
|
-
padding-
|
|
393
|
-
padding-
|
|
398
|
+
padding-block-start: var(--#{$wizard}__nav-list--PaddingTop);
|
|
399
|
+
padding-block-end: var(--#{$wizard}__nav-list--PaddingBottom);
|
|
400
|
+
padding-inline-start: var(--#{$wizard}__nav-list--PaddingLeft);
|
|
401
|
+
padding-inline-end: var(--#{$wizard}__nav-list--PaddingRight);
|
|
394
402
|
list-style: none;
|
|
395
403
|
counter-reset: wizard-nav-count;
|
|
396
404
|
|
|
397
405
|
// Nested sub menus
|
|
398
406
|
& & {
|
|
399
407
|
padding: 0;
|
|
400
|
-
margin-
|
|
401
|
-
margin-
|
|
408
|
+
margin-block-start: var(--#{$wizard}__nav-list--nested--MarginTop);
|
|
409
|
+
margin-inline-start: var(--#{$wizard}__nav-list--nested--MarginLeft);
|
|
402
410
|
|
|
403
411
|
// Reset styles for nested nav links
|
|
404
412
|
.#{$wizard}__nav-link {
|
|
@@ -415,7 +423,7 @@
|
|
|
415
423
|
|
|
416
424
|
.#{$wizard}__nav-item {
|
|
417
425
|
& + & {
|
|
418
|
-
margin-
|
|
426
|
+
margin-block-start: var(--#{$wizard}__nav-item--MarginTop);
|
|
419
427
|
}
|
|
420
428
|
|
|
421
429
|
&.pf-m-expandable {
|
|
@@ -444,7 +452,7 @@
|
|
|
444
452
|
display: inline-block;
|
|
445
453
|
width: 100%;
|
|
446
454
|
color: var(--#{$wizard}__nav-link--Color);
|
|
447
|
-
text-align:
|
|
455
|
+
text-align: start; // needed for when the item is a button
|
|
448
456
|
text-decoration: var(--#{$wizard}__nav-link--TextDecoration);
|
|
449
457
|
word-break: break-word;
|
|
450
458
|
background-color: var(--#{$wizard}__nav-link--BackgroundColor);
|
|
@@ -453,9 +461,15 @@
|
|
|
453
461
|
// Common step number styles
|
|
454
462
|
@at-root .#{$wizard}__toggle-num,
|
|
455
463
|
&::before {
|
|
464
|
+
@include pf-v5-bidirectional-style(
|
|
465
|
+
$prop: transform,
|
|
466
|
+
$ltr-val: translateX(var(--#{$wizard}__nav-link--before--TranslateX)),
|
|
467
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))})
|
|
468
|
+
);
|
|
469
|
+
|
|
456
470
|
position: absolute;
|
|
457
|
-
|
|
458
|
-
|
|
471
|
+
inset-block-start: var(--#{$wizard}__nav-link--before--Top);
|
|
472
|
+
inset-inline-start: 0;
|
|
459
473
|
display: inline-flex;
|
|
460
474
|
align-items: center;
|
|
461
475
|
justify-content: center;
|
|
@@ -466,12 +480,11 @@
|
|
|
466
480
|
color: var(--#{$wizard}__nav-link--before--Color);
|
|
467
481
|
background-color: var(--#{$wizard}__nav-link--before--BackgroundColor);
|
|
468
482
|
border-radius: var(--#{$wizard}__nav-link--before--BorderRadius);
|
|
469
|
-
transform: translateX(var(--#{$wizard}__nav-link--before--TranslateX));
|
|
470
483
|
}
|
|
471
484
|
|
|
472
485
|
// Nav step number
|
|
473
486
|
&::before {
|
|
474
|
-
|
|
487
|
+
inset-block-start: 0;
|
|
475
488
|
content: counter(wizard-nav-count);
|
|
476
489
|
counter-increment: wizard-nav-count;
|
|
477
490
|
}
|
|
@@ -516,12 +529,14 @@
|
|
|
516
529
|
}
|
|
517
530
|
|
|
518
531
|
.#{$wizard}__nav-link-toggle {
|
|
519
|
-
padding-
|
|
520
|
-
padding-
|
|
532
|
+
padding-inline-start: var(--#{$wizard}__nav-link-toggle--PaddingLeft);
|
|
533
|
+
padding-inline-end: var(--#{$wizard}__nav-link-toggle--PaddingRight);
|
|
521
534
|
color: var(--#{$wizard}__nav-link-toggle--Color);
|
|
522
535
|
}
|
|
523
536
|
|
|
524
537
|
.#{$wizard}__nav-link-toggle-icon {
|
|
538
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
539
|
+
|
|
525
540
|
display: inline-block;
|
|
526
541
|
transition: var(--#{$wizard}__nav-link-toggle-icon--Transition);
|
|
527
542
|
transform: rotate(var(--#{$wizard}__nav-link-toggle-icon--Rotate));
|
|
@@ -536,7 +551,10 @@
|
|
|
536
551
|
}
|
|
537
552
|
|
|
538
553
|
.#{$wizard}__main-body {
|
|
539
|
-
padding: var(--#{$wizard}__main-body--PaddingTop)
|
|
554
|
+
padding-block-start: var(--#{$wizard}__main-body--PaddingTop);
|
|
555
|
+
padding-block-end: var(--#{$wizard}__main-body--PaddingBottom);
|
|
556
|
+
padding-inline-start: var(--#{$wizard}__main-body--PaddingLeft);
|
|
557
|
+
padding-inline-end: var(--#{$wizard}__main-body--PaddingRight);
|
|
540
558
|
|
|
541
559
|
&.pf-m-no-padding {
|
|
542
560
|
padding: 0;
|
|
@@ -549,14 +567,17 @@
|
|
|
549
567
|
display: flex;
|
|
550
568
|
flex-shrink: 0;
|
|
551
569
|
flex-wrap: wrap;
|
|
552
|
-
padding: var(--#{$wizard}__footer--PaddingTop)
|
|
570
|
+
padding-block-start: var(--#{$wizard}__footer--PaddingTop);
|
|
571
|
+
padding-block-end: var(--#{$wizard}__footer--PaddingBottom);
|
|
572
|
+
padding-inline-start: var(--#{$wizard}__footer--PaddingLeft);
|
|
573
|
+
padding-inline-end: var(--#{$wizard}__footer--PaddingRight);
|
|
553
574
|
background-color: var(--#{$wizard}__footer--BackgroundColor);
|
|
554
575
|
|
|
555
576
|
> * {
|
|
556
|
-
margin-
|
|
577
|
+
margin-block-end: var(--#{$wizard}__footer--child--MarginBottom);
|
|
557
578
|
|
|
558
579
|
&:not(:last-child) {
|
|
559
|
-
margin-
|
|
580
|
+
margin-inline-end: var(--#{$wizard}__footer--child--MarginRight);
|
|
560
581
|
}
|
|
561
582
|
}
|
|
562
583
|
|
|
@@ -570,7 +591,7 @@
|
|
|
570
591
|
}
|
|
571
592
|
|
|
572
593
|
.#{$wizard}__footer-cancel {
|
|
573
|
-
margin-
|
|
594
|
+
margin-inline-start: var(--#{$wizard}__footer-cancel--MarginLeft);
|
|
574
595
|
}
|
|
575
596
|
|
|
576
597
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
@@ -50,10 +50,20 @@ cssPrefix: pf-v5-c-button
|
|
|
50
50
|
<button class="pf-v5-c-button pf-m-inline pf-m-link" type="button">Inline link</button>
|
|
51
51
|
<br />
|
|
52
52
|
<br />
|
|
53
|
+
<span>Default plain button:</span>
|
|
53
54
|
<button class="pf-v5-c-button pf-m-plain" type="button" aria-label="Remove">
|
|
54
55
|
<i class="fas fa-times" aria-hidden="true"></i>
|
|
55
56
|
</button>
|
|
56
57
|
<br />
|
|
58
|
+
<span>No padding plain button:</span>
|
|
59
|
+
<button
|
|
60
|
+
class="pf-v5-c-button pf-m-plain pf-m-no-padding"
|
|
61
|
+
type="button"
|
|
62
|
+
aria-label="Remove"
|
|
63
|
+
>
|
|
64
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
65
|
+
</button>
|
|
66
|
+
<br />
|
|
57
67
|
<br />
|
|
58
68
|
<button class="pf-v5-c-button pf-m-control" type="button">Control</button>
|
|
59
69
|
|
|
@@ -65,10 +75,11 @@ cssPrefix: pf-v5-c-button
|
|
|
65
75
|
<i class="fas fa-copy" aria-hidden="true"></i>
|
|
66
76
|
</button>
|
|
67
77
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Small buttons
|
|
71
81
|
|
|
82
|
+
```html
|
|
72
83
|
<button class="pf-v5-c-button pf-m-primary pf-m-small" type="button">Primary</button>
|
|
73
84
|
|
|
74
85
|
<button class="pf-v5-c-button pf-m-secondary pf-m-small" type="button">Secondary</button>
|
|
@@ -533,6 +544,7 @@ Semantic buttons and links are important for usability as well as accessibility.
|
|
|
533
544
|
| `.pf-m-warning` | `.pf-v5-c-button` | Modifies for warning styles. |
|
|
534
545
|
| `.pf-m-link` | `.pf-v5-c-button` | Modifies for link styles. This button has no background or border and is styled as a link. This button would commonly appear in a form and may include an icon. |
|
|
535
546
|
| `.pf-m-plain` | `.pf-v5-c-button` | Modifies for icon styles. This button has no background or border, uses a standard text color, and is used for `.pf-m-plain` icon buttons such as close, expand, kebab, etc. |
|
|
547
|
+
| `.pf-m-no-padding` | `.pf-v5-c-button.pf-m-plain` | Modifies a plain button to remove padding. This modifier should only be used when the button is inline within a sentence or block of text. Adjacent plain buttons without padding should always have spacing between them. |
|
|
536
548
|
| `.pf-m-inline` | `.pf-v5-c-button.pf-m-link` | Modifies for inline styles. This button is presented similar to a normal link and has no padding and is displayed inline with other inline content. When used as a `<span>`, the text will flow inline with text around it. |
|
|
537
549
|
| `.pf-m-block` | `.pf-v5-c-button` | Creates a block level button. |
|
|
538
550
|
| `.pf-m-control` | `.pf-v5-c-button` | Modifies for control styles. **Note:** This modifier should only be used when using buttons in the Input Group or Clipboard Copy components. |
|
|
@@ -411,9 +411,9 @@ cssPrefix: pf-v5-c-card
|
|
|
411
411
|
|
|
412
412
|
<label
|
|
413
413
|
class="pf-v5-c-check__label"
|
|
414
|
+
for="card-selectable-example-check"
|
|
414
415
|
id="card-selectable-example-check-label"
|
|
415
416
|
name="card-selectable-example-check"
|
|
416
|
-
for="card-selectable-example-check"
|
|
417
417
|
></label>
|
|
418
418
|
</div>
|
|
419
419
|
</div>
|
|
@@ -447,9 +447,9 @@ cssPrefix: pf-v5-c-card
|
|
|
447
447
|
|
|
448
448
|
<label
|
|
449
449
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
450
|
+
for="card-selectable-example-disabled-check"
|
|
450
451
|
id="card-selectable-example-disabled-check-label"
|
|
451
452
|
name="card-selectable-example-disabled-check"
|
|
452
|
-
for="card-selectable-example-disabled-check"
|
|
453
453
|
></label>
|
|
454
454
|
</div>
|
|
455
455
|
</div>
|
|
@@ -487,9 +487,9 @@ cssPrefix: pf-v5-c-card
|
|
|
487
487
|
|
|
488
488
|
<label
|
|
489
489
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
490
|
+
for="card-selectable-example-selected-disabled-check"
|
|
490
491
|
id="card-selectable-example-selected-disabled-check-label"
|
|
491
492
|
name="card-selectable-example-selected-disabled-check"
|
|
492
|
-
for="card-selectable-example-selected-disabled-check"
|
|
493
493
|
></label>
|
|
494
494
|
</div>
|
|
495
495
|
</div>
|
|
@@ -510,7 +510,7 @@ cssPrefix: pf-v5-c-card
|
|
|
510
510
|
|
|
511
511
|
```
|
|
512
512
|
|
|
513
|
-
### Single
|
|
513
|
+
### Single selectable
|
|
514
514
|
|
|
515
515
|
```html
|
|
516
516
|
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
@@ -529,9 +529,9 @@ cssPrefix: pf-v5-c-card
|
|
|
529
529
|
|
|
530
530
|
<label
|
|
531
531
|
class="pf-v5-c-radio__label"
|
|
532
|
+
for="card-single-selectable-example-radio"
|
|
532
533
|
id="card-single-selectable-example-radio-label"
|
|
533
534
|
name="card-single-selectable-example-radio"
|
|
534
|
-
for="card-single-selectable-example-radio"
|
|
535
535
|
></label>
|
|
536
536
|
</div>
|
|
537
537
|
</div>
|
|
@@ -568,9 +568,9 @@ cssPrefix: pf-v5-c-card
|
|
|
568
568
|
|
|
569
569
|
<label
|
|
570
570
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
571
|
+
for="card-single-selectable-example-disabled-radio"
|
|
571
572
|
id="card-single-selectable-example-disabled-radio-label"
|
|
572
573
|
name="card-single-selectable-example-disabled-radio"
|
|
573
|
-
for="card-single-selectable-example-disabled-radio"
|
|
574
574
|
></label>
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
@@ -608,9 +608,9 @@ cssPrefix: pf-v5-c-card
|
|
|
608
608
|
|
|
609
609
|
<label
|
|
610
610
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
611
|
+
for="card-single-selectable-example-selected-disabled-radio"
|
|
611
612
|
id="card-single-selectable-example-selected-disabled-radio-label"
|
|
612
613
|
name="card-single-selectable-example-selected-disabled-radio"
|
|
613
|
-
for="card-single-selectable-example-selected-disabled-radio"
|
|
614
614
|
></label>
|
|
615
615
|
</div>
|
|
616
616
|
</div>
|
|
@@ -650,9 +650,9 @@ cssPrefix: pf-v5-c-card
|
|
|
650
650
|
|
|
651
651
|
<label
|
|
652
652
|
class="pf-v5-c-radio__label"
|
|
653
|
+
for="card-clickable-example-sr-only-radio"
|
|
653
654
|
id="card-clickable-example-sr-only-radio-label"
|
|
654
655
|
name="card-clickable-example-sr-only-radio"
|
|
655
|
-
for="card-clickable-example-sr-only-radio"
|
|
656
656
|
></label>
|
|
657
657
|
</div>
|
|
658
658
|
</div>
|
|
@@ -686,9 +686,9 @@ cssPrefix: pf-v5-c-card
|
|
|
686
686
|
|
|
687
687
|
<label
|
|
688
688
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
689
|
+
for="card-clickable-example-disabled-sr-only-radio"
|
|
689
690
|
id="card-clickable-example-disabled-sr-only-radio-label"
|
|
690
691
|
name="card-clickable-example-disabled-sr-only-radio"
|
|
691
|
-
for="card-clickable-example-disabled-sr-only-radio"
|
|
692
692
|
></label>
|
|
693
693
|
</div>
|
|
694
694
|
</div>
|
|
@@ -725,9 +725,9 @@ cssPrefix: pf-v5-c-card
|
|
|
725
725
|
|
|
726
726
|
<label
|
|
727
727
|
class="pf-v5-c-radio__label pf-m-disabled"
|
|
728
|
+
for="card-clickable-example-selected-disabled-sr-only-radio"
|
|
728
729
|
id="card-clickable-example-selected-disabled-sr-only-radio-label"
|
|
729
730
|
name="card-clickable-example-selected-disabled-sr-only-radio"
|
|
730
|
-
for="card-clickable-example-selected-disabled-sr-only-radio"
|
|
731
731
|
></label>
|
|
732
732
|
</div>
|
|
733
733
|
</div>
|
|
@@ -748,7 +748,7 @@ cssPrefix: pf-v5-c-card
|
|
|
748
748
|
|
|
749
749
|
```
|
|
750
750
|
|
|
751
|
-
### Clickable and
|
|
751
|
+
### Clickable and selectable
|
|
752
752
|
|
|
753
753
|
```html
|
|
754
754
|
<div class="pf-v5-l-gallery pf-m-gutter">
|
|
@@ -770,9 +770,9 @@ cssPrefix: pf-v5-c-card
|
|
|
770
770
|
|
|
771
771
|
<label
|
|
772
772
|
class="pf-v5-c-check__label"
|
|
773
|
+
for="card-clickable-selectable-example-check"
|
|
773
774
|
id="card-clickable-selectable-example-check-label"
|
|
774
775
|
name="card-clickable-selectable-example-check"
|
|
775
|
-
for="card-clickable-selectable-example-check"
|
|
776
776
|
></label>
|
|
777
777
|
</div>
|
|
778
778
|
</div>
|
|
@@ -811,9 +811,9 @@ cssPrefix: pf-v5-c-card
|
|
|
811
811
|
|
|
812
812
|
<label
|
|
813
813
|
class="pf-v5-c-check__label"
|
|
814
|
+
for="card-clickable-selectable-current-example-check"
|
|
814
815
|
id="card-clickable-selectable-current-example-check-label"
|
|
815
816
|
name="card-clickable-selectable-current-example-check"
|
|
816
|
-
for="card-clickable-selectable-current-example-check"
|
|
817
817
|
></label>
|
|
818
818
|
</div>
|
|
819
819
|
</div>
|
|
@@ -853,9 +853,9 @@ cssPrefix: pf-v5-c-card
|
|
|
853
853
|
|
|
854
854
|
<label
|
|
855
855
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
856
|
+
for="card-clickable-selectable-example-disabled-check"
|
|
856
857
|
id="card-clickable-selectable-example-disabled-check-label"
|
|
857
858
|
name="card-clickable-selectable-example-disabled-check"
|
|
858
|
-
for="card-clickable-selectable-example-disabled-check"
|
|
859
859
|
></label>
|
|
860
860
|
</div>
|
|
861
861
|
</div>
|
|
@@ -897,9 +897,9 @@ cssPrefix: pf-v5-c-card
|
|
|
897
897
|
|
|
898
898
|
<label
|
|
899
899
|
class="pf-v5-c-check__label pf-m-disabled"
|
|
900
|
+
for="card-clickable-selectable-example-selected-disabled-check"
|
|
900
901
|
id="card-clickable-selectable-example-selected-disabled-check-label"
|
|
901
902
|
name="card-clickable-selectable-example-selected-disabled-check"
|
|
902
|
-
for="card-clickable-selectable-example-selected-disabled-check"
|
|
903
903
|
></label>
|
|
904
904
|
</div>
|
|
905
905
|
</div>
|