@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.2
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 +1 -2
- package/assets/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/icons/iconUnicodes.json +6 -0
- package/assets/images/img_avatar-dark.svg +22 -16
- package/assets/images/img_avatar-light.svg +25 -18
- package/assets/images/pf-background.svg +21 -21
- package/assets/images/pf_logo.svg +11 -11
- package/assets/images/pf_logo_white.svg +16 -17
- package/assets/pficon/pf-v6-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +310 -271
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +15 -48
- package/base/patternfly-common.css +14 -0
- package/base/patternfly-common.scss +68 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.css +10 -80
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.css +158 -134
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.css +1082 -1206
- package/base/patternfly-variables.scss +20 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/base/tokens/tokens-charts-dark.scss +173 -0
- package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
- package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
- package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
- package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
- package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
- package/components/AboutModalBox/about-modal-box.css +86 -81
- package/components/AboutModalBox/about-modal-box.scss +80 -82
- package/components/Accordion/accordion.css +44 -43
- package/components/Accordion/accordion.scss +52 -52
- package/components/ActionList/action-list.css +6 -5
- package/components/ActionList/action-list.scss +7 -5
- package/components/Alert/alert-group.css +72 -19
- package/components/Alert/alert-group.scss +105 -18
- package/components/Alert/alert.css +52 -59
- package/components/Alert/alert.scss +56 -65
- package/components/Avatar/avatar.css +42 -41
- package/components/Avatar/avatar.scss +8 -7
- package/components/BackToTop/back-to-top.css +19 -17
- package/components/BackToTop/back-to-top.scss +17 -17
- package/components/Backdrop/backdrop.css +1 -1
- package/components/Backdrop/backdrop.scss +3 -4
- package/components/BackgroundImage/background-image.scss +3 -4
- package/components/Badge/badge.css +29 -7
- package/components/Badge/badge.scss +33 -9
- package/components/Banner/banner.css +30 -37
- package/components/Banner/banner.scss +30 -43
- package/components/Brand/brand.css +14 -10
- package/components/Brand/brand.scss +8 -5
- package/components/Breadcrumb/breadcrumb.css +23 -24
- package/components/Breadcrumb/breadcrumb.scss +25 -28
- package/components/Button/button.css +150 -128
- package/components/Button/button.scss +155 -130
- package/components/CalendarMonth/calendar-month.css +46 -46
- package/components/CalendarMonth/calendar-month.scss +49 -50
- package/components/Card/card.css +110 -93
- package/components/Card/card.scss +118 -92
- package/components/Check/check.css +5 -5
- package/components/Check/check.scss +7 -8
- package/components/ClipboardCopy/clipboard-copy.css +33 -41
- package/components/ClipboardCopy/clipboard-copy.scss +35 -44
- package/components/CodeBlock/code-block.css +21 -20
- package/components/CodeBlock/code-block.scss +21 -21
- package/components/CodeEditor/code-editor.css +35 -34
- package/components/CodeEditor/code-editor.scss +35 -35
- package/components/Content/content.css +167 -153
- package/components/Content/content.scss +204 -145
- package/components/DataList/data-list-grid.css +117 -117
- package/components/DataList/data-list-grid.scss +22 -20
- package/components/DataList/data-list.css +308 -312
- package/components/DataList/data-list.scss +145 -152
- package/components/DatePicker/date-picker.css +17 -17
- package/components/DatePicker/date-picker.scss +17 -18
- package/components/DescriptionList/description-list-order.css +5 -5
- package/components/DescriptionList/description-list-order.scss +3 -1
- package/components/DescriptionList/description-list.css +46 -44
- package/components/DescriptionList/description-list.scss +26 -31
- package/components/Divider/divider.css +104 -107
- package/components/Divider/divider.scss +19 -19
- package/components/DragDrop/drag-drop.css +4 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +115 -114
- package/components/Drawer/drawer.scss +136 -134
- package/components/DualListSelector/dual-list-selector.css +64 -61
- package/components/DualListSelector/dual-list-selector.scss +54 -51
- package/components/EmptyState/empty-state.css +38 -37
- package/components/EmptyState/empty-state.scss +39 -39
- package/components/ExpandableSection/expandable-section.css +27 -86
- package/components/ExpandableSection/expandable-section.scss +32 -101
- package/components/FileUpload/file-upload.css +2 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +173 -115
- package/components/Form/form.scss +117 -103
- package/components/FormControl/form-control.css +57 -57
- package/components/FormControl/form-control.scss +69 -67
- package/components/HelperText/helper-text.css +5 -4
- package/components/HelperText/helper-text.scss +8 -6
- package/components/Hint/hint.css +25 -25
- package/components/Hint/hint.scss +25 -27
- package/components/Icon/icon.css +10 -10
- package/components/Icon/icon.scss +11 -12
- package/components/InlineEdit/inline-edit.css +12 -12
- package/components/InlineEdit/inline-edit.scss +12 -13
- package/components/InputGroup/input-group.css +16 -16
- package/components/InputGroup/input-group.scss +18 -19
- package/components/JumpLinks/jump-links.css +80 -96
- package/components/JumpLinks/jump-links.scss +80 -100
- package/components/Label/label-group.css +28 -28
- package/components/Label/label-group.scss +29 -30
- package/components/Label/label.css +102 -87
- package/components/Label/label.scss +113 -94
- package/components/List/list.css +44 -47
- package/components/List/list.scss +51 -58
- package/components/Login/login.css +122 -118
- package/components/Login/login.scss +105 -112
- package/components/Masthead/masthead.css +273 -175
- package/components/Masthead/masthead.scss +102 -68
- package/components/Menu/menu.css +151 -95
- package/components/Menu/menu.scss +59 -40
- package/components/MenuToggle/menu-toggle.css +129 -108
- package/components/MenuToggle/menu-toggle.scss +150 -128
- package/components/ModalBox/modal-box.css +53 -45
- package/components/ModalBox/modal-box.scss +52 -46
- package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
- package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
- package/components/Nav/nav.css +33 -9
- package/components/Nav/nav.scss +46 -13
- package/components/NotificationDrawer/notification-drawer.css +50 -51
- package/components/NotificationDrawer/notification-drawer.scss +58 -57
- package/components/NumberInput/number-input.css +7 -11
- package/components/NumberInput/number-input.scss +5 -7
- package/components/OverflowMenu/overflow-menu.css +2 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +175 -519
- package/components/Page/page.scss +155 -386
- package/components/Pagination/pagination.css +82 -79
- package/components/Pagination/pagination.scss +43 -40
- package/components/Panel/panel.css +33 -30
- package/components/Panel/panel.scss +35 -33
- package/components/Popover/popover.css +54 -52
- package/components/Popover/popover.scss +55 -54
- package/components/Progress/progress.css +8 -4
- package/components/Progress/progress.scss +14 -11
- package/components/ProgressStepper/progress-stepper.css +246 -245
- package/components/ProgressStepper/progress-stepper.scss +118 -118
- package/components/Radio/radio.css +7 -7
- package/components/Radio/radio.scss +9 -10
- package/components/Sidebar/sidebar.css +139 -139
- package/components/Sidebar/sidebar.scss +61 -61
- package/components/SimpleList/simple-list.css +21 -20
- package/components/SimpleList/simple-list.scss +22 -23
- package/components/Skeleton/skeleton.css +4 -4
- package/components/Skeleton/skeleton.scss +7 -8
- package/components/SkipToContent/skip-to-content.css +7 -6
- package/components/SkipToContent/skip-to-content.scss +7 -7
- package/components/Slider/slider.css +31 -31
- package/components/Slider/slider.scss +54 -55
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +4 -10
- package/components/Switch/switch.scss +8 -17
- package/components/TabContent/tab-content.css +25 -25
- package/components/TabContent/tab-content.scss +28 -28
- package/components/Table/table-grid.css +434 -508
- package/components/Table/table-grid.scss +131 -150
- package/components/Table/table-scrollable.css +31 -34
- package/components/Table/table-scrollable.scss +44 -41
- package/components/Table/table-tree-view.css +287 -279
- package/components/Table/table-tree-view.scss +84 -84
- package/components/Table/table.css +316 -279
- package/components/Table/table.scss +346 -301
- package/components/Tabs/tabs.css +215 -240
- package/components/Tabs/tabs.scss +130 -162
- package/components/TextInputGroup/text-input-group.css +122 -64
- package/components/TextInputGroup/text-input-group.scss +144 -87
- package/components/Tile/tile.css +15 -15
- package/components/Tile/tile.scss +16 -17
- package/components/Timestamp/timestamp.css +13 -19
- package/components/Timestamp/timestamp.scss +16 -22
- package/components/Title/title.css +14 -13
- package/components/Title/title.scss +15 -15
- package/components/ToggleGroup/toggle-group.css +37 -37
- package/components/ToggleGroup/toggle-group.scss +38 -41
- package/components/Toolbar/toolbar.css +547 -1431
- package/components/Toolbar/toolbar.scss +159 -123
- package/components/Tooltip/tooltip.css +28 -27
- package/components/Tooltip/tooltip.scss +31 -30
- package/components/TreeView/tree-view.css +184 -184
- package/components/TreeView/tree-view.scss +133 -133
- package/components/Truncate/truncate.css +2 -2
- package/components/Truncate/truncate.scss +7 -8
- package/components/Wizard/wizard.css +190 -154
- package/components/Wizard/wizard.scss +211 -165
- package/components/_index.css +22378 -0
- package/components/_index.scss +82 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
- package/docs/components/Accordion/examples/Accordion.md +1 -1
- package/docs/components/ActionList/examples/ActionList.md +64 -24
- package/docs/components/Alert/examples/Alert.md +116 -74
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Badge/examples/Badge.md +6 -16
- package/docs/components/Banner/examples/Banner.md +16 -10
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
- package/docs/components/Button/examples/Button.md +537 -368
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
- package/docs/components/Card/examples/Card.md +372 -658
- package/docs/components/Check/examples/Check.md +10 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
- package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
- package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
- package/docs/components/Content/examples/Content.md +600 -60
- package/docs/components/DataList/examples/DataList.md +291 -1028
- package/docs/components/DatePicker/examples/DatePicker.md +18 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
- package/docs/components/Drawer/examples/Drawer.md +60 -21
- package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
- package/docs/components/EmptyState/examples/EmptyState.md +123 -53
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
- package/docs/components/FileUpload/examples/FileUpload.md +42 -14
- package/docs/components/Form/examples/Form.md +100 -26
- package/docs/components/Hint/examples/Hint.md +54 -164
- package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
- package/docs/components/InputGroup/examples/InputGroup.md +38 -62
- package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
- package/docs/components/Label/examples/Label.md +2577 -406
- package/docs/components/Login/examples/Login.md +372 -334
- package/docs/components/Masthead/examples/masthead.md +515 -484
- package/docs/components/Menu/examples/Menu.md +77 -138
- package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
- package/docs/components/ModalBox/examples/ModalBox.md +158 -100
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
- package/docs/components/Nav/examples/Navigation.css +2 -7
- package/docs/components/Nav/examples/Navigation.md +337 -270
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
- package/docs/components/NumberInput/examples/NumberInput.md +96 -48
- package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
- package/docs/components/Page/examples/Page.css +5 -9
- package/docs/components/Page/examples/Page.md +254 -181
- package/docs/components/Pagination/examples/Pagination.md +336 -756
- package/docs/components/Panel/examples/Panel.md +3 -2
- package/docs/components/Popover/examples/Popover.md +60 -15
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
- package/docs/components/Sidebar/examples/Sidebar.css +4 -2
- package/docs/components/Sidebar/examples/Sidebar.md +3 -3
- package/docs/components/Skeleton/examples/Skeleton.css +1 -1
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
- package/docs/components/Slider/examples/Slider.md +53 -45
- package/docs/components/Spinner/examples/Spinner.md +1 -1
- package/docs/components/Switch/examples/Switch.md +33 -148
- package/docs/components/Table/examples/Table.css +11 -6
- package/docs/components/Table/examples/Table.md +5302 -2464
- package/docs/components/Tabs/examples/Tabs.md +1267 -607
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
- package/docs/components/Tile/examples/Tile.css +5 -5
- package/docs/components/Timestamp/examples/Timestamp.md +7 -1
- package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
- package/docs/components/Toolbar/examples/Toolbar.css +50 -39
- package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
- package/docs/components/Tooltip/examples/Tooltip.css +1 -1
- package/docs/components/TreeView/examples/TreeView.md +627 -49
- package/docs/components/Truncate/examples/Truncate.css +1 -2
- package/docs/components/Wizard/examples/Wizard.md +1595 -126
- package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
- package/docs/demos/Alert/examples/Alert.md +924 -909
- package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
- package/docs/demos/Banner/examples/Banner.md +641 -659
- package/docs/demos/Button/examples/Button.md +8 -8
- package/docs/demos/Card/examples/Card.css +6 -6
- package/docs/demos/Card/examples/Card.md +419 -606
- package/docs/demos/CardView/examples/CardView.md +822 -1435
- package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
- package/docs/demos/DataList/examples/DataList.md +3210 -3424
- package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
- package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
- package/docs/demos/Form/examples/BasicForms.md +153 -88
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
- package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
- package/docs/demos/Modal/examples/Modal.md +1231 -1235
- package/docs/demos/Nav/examples/Nav.md +1216 -1230
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
- package/docs/demos/Page/examples/Page.css +11 -0
- package/docs/demos/Page/examples/Page.md +3753 -2540
- package/docs/demos/Panel/Panel.md +88 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
- package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
- package/docs/demos/Table/examples/Table.md +14272 -15154
- package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
- package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
- package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
- package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.css +6 -6
- package/docs/utilities/Alignment/examples/Alignment.md +5 -5
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
- package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
- package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
- package/docs/utilities/Display/examples/Display.css +3 -10
- package/docs/utilities/Display/examples/Display.md +21 -12
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +82 -40
- package/docs/utilities/Float/examples/Float.css +5 -5
- package/docs/utilities/Float/examples/Float.md +6 -6
- package/docs/utilities/Sizing/examples/Sizing.css +6 -6
- package/docs/utilities/Sizing/examples/Sizing.md +60 -60
- package/docs/utilities/Spacing/examples/Spacing.css +3 -3
- package/docs/utilities/Spacing/examples/Spacing.md +37 -37
- package/docs/utilities/Text/examples/Text.md +78 -77
- package/icons/pficons.mjs +6 -0
- package/layouts/Bullseye/bullseye.css +4 -0
- package/layouts/Bullseye/bullseye.scss +5 -1
- package/layouts/Flex/flex.css +241 -237
- package/layouts/Flex/flex.scss +48 -44
- package/layouts/Gallery/gallery.css +15 -11
- package/layouts/Gallery/gallery.scss +9 -5
- package/layouts/Grid/grid.css +20 -16
- package/layouts/Grid/grid.scss +12 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +6 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +6 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +6 -2
- package/layouts/_index.css +3461 -0
- package/layouts/_index.scss +8 -0
- package/package.json +39 -39
- package/patternfly-addons.css +2071 -2648
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1429 -1645
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1511 -1723
- package/patternfly-base.scss +2 -6
- package/patternfly-charts.css +579 -240
- package/patternfly-charts.scss +352 -337
- package/patternfly-no-globals.css +19895 -23410
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +19999 -23510
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +25 -25
- package/sass-utilities/{_init.scss → init.scss} +6 -6
- package/sass-utilities/mixins.scss +108 -72
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +49 -261
- package/utilities/Accessibility/accessibility.css +15 -15
- package/utilities/Accessibility/accessibility.scss +8 -6
- package/utilities/Alignment/alignment.css +29 -29
- package/utilities/Alignment/alignment.scss +6 -4
- package/utilities/BackgroundColor/background-color.css +67 -0
- package/utilities/BackgroundColor/background-color.scss +16 -0
- package/utilities/BoxShadow/box-shadow.css +15 -39
- package/utilities/BoxShadow/box-shadow.scss +19 -28
- package/utilities/Display/display.css +43 -5
- package/utilities/Display/display.scss +7 -4
- package/utilities/Flex/flex.css +50 -50
- package/utilities/Flex/flex.scss +21 -20
- package/utilities/Float/float.css +29 -29
- package/utilities/Float/float.scss +6 -6
- package/utilities/Sizing/sizing.css +58 -58
- package/utilities/Sizing/sizing.scss +23 -21
- package/utilities/Spacing/spacing.css +1372 -1372
- package/utilities/Spacing/spacing.scss +6 -6
- package/utilities/Text/text.css +419 -662
- package/utilities/Text/text.scss +81 -107
- package/utilities/_index.css +7815 -0
- package/utilities/_index.scss +10 -0
- package/assets/images/pf-logo-small.svg +0 -23
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pfbg-icon.svg +0 -1
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/base/_base.scss +0 -2
- package/base/_chart-globals.scss +0 -415
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -136
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_themes.scss +0 -43
- package/base/_variables.scss +0 -299
- package/base/patternfly-globals.css +0 -120
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/base/patternfly-themes.css +0 -82
- package/base/patternfly-themes.scss +0 -2
- package/base/themes/dark/_chart-globals.scss +0 -42
- package/base/themes/dark/_globals.scss +0 -5
- package/base/tokens/_workspace-overrides.scss +0 -7
- package/components/AppLauncher/app-launcher.css +0 -244
- package/components/AppLauncher/app-launcher.scss +0 -308
- package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
- package/components/Chip/chip-group.css +0 -93
- package/components/Chip/chip-group.scss +0 -98
- package/components/Chip/chip.css +0 -122
- package/components/Chip/chip.scss +0 -140
- package/components/Chip/themes/dark/chip.scss +0 -9
- package/components/ContextSelector/context-selector.css +0 -336
- package/components/ContextSelector/context-selector.scss +0 -384
- package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
- package/components/Dropdown/dropdown.css +0 -686
- package/components/Dropdown/dropdown.scss +0 -820
- package/components/Dropdown/themes/dark/dropdown.scss +0 -32
- package/components/LogViewer/log-viewer.css +0 -197
- package/components/LogViewer/log-viewer.scss +0 -226
- package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
- package/components/NotificationBadge/notification-badge.css +0 -87
- package/components/NotificationBadge/notification-badge.scss +0 -108
- package/components/OptionsMenu/options-menu.css +0 -279
- package/components/OptionsMenu/options-menu.scss +0 -332
- package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
- package/components/Select/select.css +0 -599
- package/components/Select/select.scss +0 -713
- package/components/Select/themes/dark/select.scss +0 -23
- package/components/_all.scss +0 -91
- package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
- package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
- package/docs/components/Chip/examples/Chip.md +0 -846
- package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
- package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
- package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
- package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
- package/docs/components/LogViewer/examples/LogViewer.css +0 -17
- package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
- package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
- package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
- package/docs/components/Page/deprecated/PageHeader.css +0 -17
- package/docs/components/Page/deprecated/PageHeader.md +0 -261
- package/docs/components/Pagination/examples/Pagination.css +0 -3
- package/docs/components/Select/deprecated/Select.css +0 -56
- package/docs/components/Select/deprecated/Select.md +0 -3525
- package/docs/components/Tabs/examples/Tabs.css +0 -10
- package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
- package/docs/demos/Page/examples/Penta.md +0 -821
- package/docs/utilities/Text/examples/Text.css +0 -0
- package/layouts/_all.scss +0 -7
- package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
- package/patternfly-base-theme-dark-unversioned.css +0 -6393
- package/patternfly-base-theme-dark-unversioned.scss +0 -5
- package/patternfly-charts-theme-dark-unversioned.css +0 -70
- package/patternfly-charts-theme-dark-unversioned.scss +0 -8
- package/patternfly-charts-theme-dark.css +0 -70
- package/patternfly-charts-theme-dark.scss +0 -8
- package/patternfly-theme-dark-unversioned.css +0 -35533
- package/patternfly-theme-dark-unversioned.scss +0 -6
- package/patternfly-theme-dark.css +0 -0
- package/patternfly-theme-dark.scss +0 -1
- package/sass-utilities/_all.scss +0 -9
- package/sass-utilities/colors.scss +0 -82
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- package/sass-utilities/placeholders.scss +0 -72
- package/sass-utilities/themes/dark/_all.scss +0 -4
- package/sass-utilities/themes/dark/colors.scss +0 -16
- package/sass-utilities/themes/dark/mixins.scss +0 -7
- package/sass-utilities/themes/dark/placeholders.scss +0 -5
- package/sass-utilities/themes/dark/scss-variables.scss +0 -92
- package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
- package/utilities/BackgroundColor/BackgroundColor.css +0 -414
- package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
- package/utilities/Text/themes/dark/text.css +0 -0
- package/utilities/Text/themes/dark/text.scss +0 -33
|
@@ -1,55 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
3
|
+
$pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
3
4
|
|
|
4
5
|
// Default layout is vertical
|
|
5
|
-
@mixin pf-
|
|
6
|
+
@mixin pf-v6-c-progress-stepper--m-vertical {
|
|
6
7
|
--#{$progress-stepper}--GridAutoFlow: var(--#{$progress-stepper}--m-vertical--GridAutoFlow);
|
|
7
8
|
--#{$progress-stepper}--GridTemplateColumns: var(--#{$progress-stepper}--m-vertical--GridTemplateColumns);
|
|
8
|
-
--#{$progress-stepper}__step-connector--before--
|
|
9
|
-
--#{$progress-stepper}__step-connector--before--
|
|
9
|
+
--#{$progress-stepper}__step-connector--before--InsetBlockStart: var(--#{$progress-stepper}--m-vertical__step-connector--before--InsetBlockStart);
|
|
10
|
+
--#{$progress-stepper}__step-connector--before--InsetInlineStart: var(--#{$progress-stepper}--m-vertical__step-connector--before--InsetInlineStart);
|
|
10
11
|
--#{$progress-stepper}__step-connector--before--Width: var(--#{$progress-stepper}--m-vertical__step-connector--before--Width);
|
|
11
12
|
--#{$progress-stepper}__step-connector--before--Height: var(--#{$progress-stepper}--m-vertical__step-connector--before--Height);
|
|
12
|
-
--#{$progress-stepper}__step-connector--before--
|
|
13
|
-
--#{$progress-stepper}__step-connector--before--
|
|
14
|
-
--#{$progress-stepper}__step-connector--before--
|
|
15
|
-
--#{$progress-stepper}__step-connector--before--
|
|
13
|
+
--#{$progress-stepper}__step-connector--before--BorderInlineEndWidth: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderInlineEndWidth);
|
|
14
|
+
--#{$progress-stepper}__step-connector--before--BorderInlineEndColor: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderInlineEndColor);
|
|
15
|
+
--#{$progress-stepper}__step-connector--before--BorderBlockEndWidth: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderBlockEndWidth);
|
|
16
|
+
--#{$progress-stepper}__step-connector--before--BorderBlockEndColor: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderBlockEndColor);
|
|
16
17
|
--#{$progress-stepper}__step-connector--before--Transform: var(--#{$progress-stepper}--m-vertical__step-connector--before--Transform);
|
|
17
|
-
--#{$progress-stepper}__step-main--
|
|
18
|
-
--#{$progress-stepper}__step-main--
|
|
19
|
-
--#{$progress-stepper}__step-main--
|
|
20
|
-
--#{$progress-stepper}__step-main--
|
|
18
|
+
--#{$progress-stepper}__step-main--MarginBlockStart: var(--#{$progress-stepper}--m-vertical__step-main--MarginBlockStart);
|
|
19
|
+
--#{$progress-stepper}__step-main--MarginInlineEnd: var(--#{$progress-stepper}--m-vertical__step-main--MarginInlineEnd);
|
|
20
|
+
--#{$progress-stepper}__step-main--MarginBlockEnd: var(--#{$progress-stepper}--m-vertical__step-main--MarginBlockEnd);
|
|
21
|
+
--#{$progress-stepper}__step-main--MarginInlineStart: var(--#{$progress-stepper}--m-vertical__step-main--MarginInlineStart);
|
|
21
22
|
|
|
22
23
|
// Compact vertical
|
|
23
24
|
--#{$progress-stepper}--m-compact--GridTemplateColumns: var(--#{$progress-stepper}--m-vertical--m-compact--GridTemplateColumns);
|
|
24
25
|
--#{$progress-stepper}--m-compact__step-connector--GridRow: var(--#{$progress-stepper}--m-vertical--m-compact__step-connector--GridRow);
|
|
25
|
-
--#{$progress-stepper}--m-compact__step-connector--
|
|
26
|
+
--#{$progress-stepper}--m-compact__step-connector--PaddingBlockEnd: var(--#{$progress-stepper}--m-vertical--m-compact__step-connector--PaddingBlockEnd);
|
|
26
27
|
|
|
27
28
|
// Center
|
|
28
29
|
--#{$progress-stepper}--m-center__step-connector--before--Content: none; // border swap
|
|
29
30
|
--#{$progress-stepper}--m-center__step-main--before--Content: ""; // border swap
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
@mixin pf-
|
|
33
|
+
@mixin pf-v6-c-progress-stepper--m-horizontal {
|
|
33
34
|
--#{$progress-stepper}--GridAutoFlow: var(--#{$progress-stepper}--m-horizontal--GridAutoFlow);
|
|
34
35
|
--#{$progress-stepper}--GridTemplateColumns: var(--#{$progress-stepper}--m-horizontal--GridTemplateColumns);
|
|
35
|
-
--#{$progress-stepper}__step-connector--before--
|
|
36
|
-
--#{$progress-stepper}__step-connector--before--
|
|
36
|
+
--#{$progress-stepper}__step-connector--before--InsetBlockStart: var(--#{$progress-stepper}--m-horizontal__step-connector--before--InsetBlockStart);
|
|
37
|
+
--#{$progress-stepper}__step-connector--before--InsetInlineStart: var(--#{$progress-stepper}--m-horizontal__step-connector--before--InsetInlineStart);
|
|
37
38
|
--#{$progress-stepper}__step-connector--before--Width: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Width);
|
|
38
39
|
--#{$progress-stepper}__step-connector--before--Height: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Height);
|
|
39
|
-
--#{$progress-stepper}__step-connector--before--
|
|
40
|
-
--#{$progress-stepper}__step-connector--before--
|
|
41
|
-
--#{$progress-stepper}__step-connector--before--
|
|
42
|
-
--#{$progress-stepper}__step-connector--before--
|
|
40
|
+
--#{$progress-stepper}__step-connector--before--BorderInlineEndWidth: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderInlineEndWidth);
|
|
41
|
+
--#{$progress-stepper}__step-connector--before--BorderInlineEndColor: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderInlineEndColor);
|
|
42
|
+
--#{$progress-stepper}__step-connector--before--BorderBlockEndWidth: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBlockEndWidth);
|
|
43
|
+
--#{$progress-stepper}__step-connector--before--BorderBlockEndColor: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBlockEndColor);
|
|
43
44
|
--#{$progress-stepper}__step-connector--before--Transform: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Transform);
|
|
44
|
-
--#{$progress-stepper}__step-main--
|
|
45
|
-
--#{$progress-stepper}__step-main--
|
|
46
|
-
--#{$progress-stepper}__step-main--
|
|
47
|
-
--#{$progress-stepper}__step-main--
|
|
45
|
+
--#{$progress-stepper}__step-main--MarginBlockStart: var(--#{$progress-stepper}--m-horizontal__step-main--MarginBlockStart);
|
|
46
|
+
--#{$progress-stepper}__step-main--MarginInlineEnd: var(--#{$progress-stepper}--m-horizontal__step-main--MarginInlineEnd);
|
|
47
|
+
--#{$progress-stepper}__step-main--MarginBlockEnd: var(--#{$progress-stepper}--m-horizontal__step-main--MarginBlockEnd);
|
|
48
|
+
--#{$progress-stepper}__step-main--MarginInlineStart: var(--#{$progress-stepper}--m-horizontal__step-main--MarginInlineStart);
|
|
48
49
|
|
|
49
50
|
// Compact horizontal
|
|
50
51
|
--#{$progress-stepper}--m-compact--GridTemplateColumns: var(--#{$progress-stepper}--m-horizontal--m-compact--GridTemplateColumns);
|
|
51
52
|
--#{$progress-stepper}--m-compact__step-connector--GridRow: var(--#{$progress-stepper}--m-horizontal--m-compact__step-connector--GridRow);
|
|
52
|
-
--#{$progress-stepper}--m-compact__step-connector--
|
|
53
|
+
--#{$progress-stepper}--m-compact__step-connector--PaddingBlockEnd: var(--#{$progress-stepper}--m-horizontal--m-compact__step-connector--PaddingBlockEnd);
|
|
53
54
|
|
|
54
55
|
// Center
|
|
55
56
|
--#{$progress-stepper}--m-center__step-connector--before--Content: ""; // border swap
|
|
@@ -57,80 +58,79 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
// Progress stepper is vertically oriented by default
|
|
60
|
-
|
|
61
|
-
:where(.#{$progress-stepper}) {
|
|
61
|
+
@include pf-root($progress-stepper) {
|
|
62
62
|
// Vertical - these are the default settings
|
|
63
63
|
--#{$progress-stepper}--m-vertical--GridAutoFlow: row;
|
|
64
64
|
--#{$progress-stepper}--m-vertical--GridTemplateColumns: auto 1fr;
|
|
65
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--
|
|
66
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--
|
|
65
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--InsetBlockStart: 0;
|
|
66
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--InsetInlineStart: calc(var(--#{$progress-stepper}__step-icon--Width) / 2);
|
|
67
67
|
--#{$progress-stepper}--m-vertical__step-connector--before--Width: auto;
|
|
68
68
|
--#{$progress-stepper}--m-vertical__step-connector--before--Height: 100%;
|
|
69
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--
|
|
70
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--
|
|
71
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--
|
|
72
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--
|
|
69
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderInlineEndWidth: var(--pf-t--global--border--width--box--default);
|
|
70
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderInlineEndColor: var(--pf-t--global--border--color--default);
|
|
71
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderBlockEndWidth: 0;
|
|
72
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderBlockEndColor: transparent;
|
|
73
73
|
--#{$progress-stepper}--m-vertical__step-connector--before--Transform: translateX(-50%);
|
|
74
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
75
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
76
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
77
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
74
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginBlockStart: 0px; // needs px for calc
|
|
75
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginInlineEnd: 0;
|
|
76
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginBlockEnd: var(--pf-t--global--spacer--xl);
|
|
77
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
78
78
|
|
|
79
79
|
// Compact, vertical
|
|
80
80
|
--#{$progress-stepper}--m-vertical--m-compact--GridTemplateColumns: 1fr;
|
|
81
|
-
--#{$progress-stepper}--m-vertical--m-compact__step-connector--
|
|
81
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-connector--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
82
82
|
--#{$progress-stepper}--m-vertical--m-compact__step-connector--GridRow: auto;
|
|
83
|
-
--#{$progress-stepper}--m-vertical--m-compact__step-main--
|
|
84
|
-
--#{$progress-stepper}--m-vertical--m-compact__step-main--
|
|
85
|
-
--#{$progress-stepper}--m-vertical--m-compact__step-main--
|
|
83
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginBlockStart: 0;
|
|
84
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginInlineEnd: 0;
|
|
85
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginInlineStart: 0;
|
|
86
86
|
|
|
87
87
|
// Center, vertical
|
|
88
|
-
--#{$progress-stepper}--m-vertical--m-center__step-main--
|
|
89
|
-
--#{$progress-stepper}--m-vertical--m-center__step-main--
|
|
88
|
+
--#{$progress-stepper}--m-vertical--m-center__step-main--MarginInlineEnd: 0;
|
|
89
|
+
--#{$progress-stepper}--m-vertical--m-center__step-main--MarginInlineStart: 0;
|
|
90
90
|
|
|
91
91
|
// Horizontal
|
|
92
92
|
--#{$progress-stepper}--m-horizontal--GridAutoFlow: column;
|
|
93
93
|
--#{$progress-stepper}--m-horizontal--GridTemplateColumns: initial;
|
|
94
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--
|
|
95
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--
|
|
94
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--InsetBlockStart: calc(var(--#{$progress-stepper}__step-icon--Height) / 2);
|
|
95
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--InsetInlineStart: 0;
|
|
96
96
|
--#{$progress-stepper}--m-horizontal__step-connector--before--Width: 100%;
|
|
97
97
|
--#{$progress-stepper}--m-horizontal__step-connector--before--Height: auto;
|
|
98
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--
|
|
99
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--
|
|
100
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--
|
|
101
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--
|
|
98
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderInlineEndWidth: 0;
|
|
99
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderInlineEndColor: unset;
|
|
100
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
101
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
102
102
|
--#{$progress-stepper}--m-horizontal__step-connector--before--Transform: translateY(-50%);
|
|
103
|
-
--#{$progress-stepper}--m-horizontal__step-main--
|
|
104
|
-
--#{$progress-stepper}--m-horizontal__step-main--
|
|
105
|
-
--#{$progress-stepper}--m-horizontal__step-main--
|
|
106
|
-
--#{$progress-stepper}--m-horizontal__step-main--
|
|
103
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginBlockStart: var(--pf-t--global--spacer--sm);
|
|
104
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
|
105
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginBlockEnd: 0;
|
|
106
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginInlineStart: 0;
|
|
107
107
|
|
|
108
108
|
// Compact, horizontal
|
|
109
109
|
--#{$progress-stepper}--m-horizontal--m-compact--GridTemplateColumns: repeat(auto-fill, #{pf-size-prem(28px)});
|
|
110
|
-
--#{$progress-stepper}--m-horizontal--m-compact__step-connector--
|
|
110
|
+
--#{$progress-stepper}--m-horizontal--m-compact__step-connector--PaddingBlockEnd: 0;
|
|
111
111
|
--#{$progress-stepper}--m-horizontal--m-compact__step-connector--GridRow: 2;
|
|
112
112
|
|
|
113
113
|
// Compact
|
|
114
114
|
--#{$progress-stepper}--m-compact--GridAutoFlow: row;
|
|
115
|
-
--#{$progress-stepper}--m-compact__step-main--
|
|
116
|
-
--#{$progress-stepper}--m-compact__step-main--
|
|
115
|
+
--#{$progress-stepper}--m-compact__step-main--MarginBlockStart: 0;
|
|
116
|
+
--#{$progress-stepper}--m-compact__step-main--MarginBlockEnd: var(--pf-t--global--spacer--sm);
|
|
117
117
|
--#{$progress-stepper}--m-compact__step-connector--MinWidth: #{pf-size-prem(28px)};
|
|
118
118
|
--#{$progress-stepper}--m-compact__step-icon--Width: #{pf-size-prem(18px)};
|
|
119
119
|
--#{$progress-stepper}--m-compact__step-icon--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
120
120
|
--#{$progress-stepper}--m-compact__step-title--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
121
121
|
--#{$progress-stepper}--m-compact__step-title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
122
|
-
--#{$progress-stepper}--m-compact__pficon--
|
|
123
|
-
--#{$progress-stepper}--m-compact__fa-exclamation-triangle--
|
|
122
|
+
--#{$progress-stepper}--m-compact__pficon--MarginBlockStart: 2px;
|
|
123
|
+
--#{$progress-stepper}--m-compact__fa-exclamation-triangle--MarginBlockStart: -3px;
|
|
124
124
|
|
|
125
125
|
// Center
|
|
126
|
-
--#{$progress-stepper}--m-center__step-connector--before--
|
|
126
|
+
--#{$progress-stepper}--m-center__step-connector--before--InsetInlineStart: 50%;
|
|
127
127
|
--#{$progress-stepper}--m-center--GridTemplateColumns: 1fr;
|
|
128
128
|
--#{$progress-stepper}--m-center__step-connector--JustifyContent: center;
|
|
129
|
-
--#{$progress-stepper}--m-center__step-main--
|
|
130
|
-
--#{$progress-stepper}--m-center__step-main--
|
|
129
|
+
--#{$progress-stepper}--m-center__step-main--MarginInlineEnd: var(--pf-t--global--spacer--xs);
|
|
130
|
+
--#{$progress-stepper}--m-center__step-main--MarginInlineStart: var(--pf-t--global--spacer--xs);
|
|
131
131
|
--#{$progress-stepper}--m-center__step-main--TextAlign: center;
|
|
132
|
-
--#{$progress-stepper}--m-center__step-description--
|
|
133
|
-
--#{$progress-stepper}--m-center__step-description--
|
|
132
|
+
--#{$progress-stepper}--m-center__step-description--MarginInlineEnd: 0;
|
|
133
|
+
--#{$progress-stepper}--m-center__step-description--MarginInlineStart: 0;
|
|
134
134
|
|
|
135
135
|
// Stepper variables
|
|
136
136
|
--#{$progress-stepper}--GridTemplateRows: auto 1fr;
|
|
@@ -139,7 +139,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
139
139
|
--#{$progress-stepper}__step-connector--JustifyContent: flex-start;
|
|
140
140
|
|
|
141
141
|
// Step icon variables
|
|
142
|
-
--#{$progress-stepper}__step-icon--ZIndex: var(--pf-t--global--
|
|
142
|
+
--#{$progress-stepper}__step-icon--ZIndex: var(--pf-t--global--z-index--xs);
|
|
143
143
|
--#{$progress-stepper}__step-icon--Width: #{pf-size-prem(24px)};
|
|
144
144
|
--#{$progress-stepper}__step-icon--Height: var(--#{$progress-stepper}__step-icon--Width);
|
|
145
145
|
--#{$progress-stepper}__step-icon--FontSize: var(--pf-t--global--icon--size--font--body--default);
|
|
@@ -155,14 +155,14 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
155
155
|
--#{$progress-stepper}__step--m-custom__step-icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
156
156
|
|
|
157
157
|
// Icon adjustments to fix differences in alignment
|
|
158
|
-
--#{$progress-stepper}__pficon--
|
|
159
|
-
--#{$progress-stepper}__fa-exclamation-triangle--
|
|
158
|
+
--#{$progress-stepper}__pficon--MarginBlockStart: 3px;
|
|
159
|
+
--#{$progress-stepper}__fa-exclamation-triangle--MarginBlockStart: -2px;
|
|
160
160
|
|
|
161
161
|
// Step Title variables
|
|
162
162
|
--#{$progress-stepper}__step-title--Color: var(--pf-t--global--text--color--regular);
|
|
163
163
|
--#{$progress-stepper}__step-title--TextAlign: start;
|
|
164
164
|
--#{$progress-stepper}__step-title--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
165
|
-
--#{$progress-stepper}__step-title--FontWeight: var(--pf-t--global--font--weight--body);
|
|
165
|
+
--#{$progress-stepper}__step-title--FontWeight: var(--pf-t--global--font--weight--body--default);
|
|
166
166
|
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
167
167
|
--#{$progress-stepper}__step--m-current__step-title--Color: var(--pf-t--global--text--color--regular);
|
|
168
168
|
--#{$progress-stepper}__step--m-pending__step-title--Color: var(--pf-t--global--text--color--subtle);
|
|
@@ -171,26 +171,28 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
171
171
|
// Help text variables for the step title
|
|
172
172
|
--#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart: 0;
|
|
173
173
|
--#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd: 0;
|
|
174
|
-
--#{$progress-stepper}__step-title--m-help-text--
|
|
175
|
-
--#{$progress-stepper}__step-title--m-help-text--
|
|
174
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
|
|
175
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
|
|
176
176
|
--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset: #{pf-size-prem(4px)};
|
|
177
|
+
--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
|
|
178
|
+
--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
|
|
177
179
|
--#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
|
178
180
|
|
|
179
181
|
// Help text variables the step title for failure state
|
|
180
182
|
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--status--danger--hover);
|
|
181
183
|
|
|
182
184
|
// Step Description variables
|
|
183
|
-
--#{$progress-stepper}__step-description--
|
|
185
|
+
--#{$progress-stepper}__step-description--MarginBlockStart: var(--pf-t--global--spacer--xs);
|
|
184
186
|
--#{$progress-stepper}__step-description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
185
187
|
--#{$progress-stepper}__step-description--Color: var(--pf-t--global--text--color--subtle);
|
|
186
188
|
--#{$progress-stepper}__step-description--TextAlign: start;
|
|
187
189
|
|
|
188
190
|
// Vertical by default
|
|
189
|
-
@include pf-
|
|
191
|
+
@include pf-v6-c-progress-stepper--m-vertical;
|
|
190
192
|
|
|
191
193
|
// Horizontal at md breakpoint
|
|
192
|
-
@media screen and (min-width: $pf-
|
|
193
|
-
@include pf-
|
|
194
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
195
|
+
@include pf-v6-c-progress-stepper--m-horizontal;
|
|
194
196
|
}
|
|
195
197
|
}
|
|
196
198
|
|
|
@@ -205,15 +207,15 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
205
207
|
// Progress stepper Modifiers
|
|
206
208
|
&.pf-m-center {
|
|
207
209
|
--#{$progress-stepper}__step-connector--JustifyContent: var(--#{$progress-stepper}--m-center__step-connector--JustifyContent);
|
|
208
|
-
--#{$progress-stepper}__step-main--
|
|
209
|
-
--#{$progress-stepper}__step-main--
|
|
210
|
+
--#{$progress-stepper}__step-main--MarginInlineEnd: var(--#{$progress-stepper}--m-center__step-main--MarginInlineEnd);
|
|
211
|
+
--#{$progress-stepper}__step-main--MarginInlineStart: var(--#{$progress-stepper}--m-center__step-main--MarginInlineStart);
|
|
210
212
|
--#{$progress-stepper}--step-main--TextAlign: var(--#{$progress-stepper}--m-center__step-main--TextAlign, auto);
|
|
211
213
|
--#{$progress-stepper}__step-title--TextAlign: var(--#{$progress-stepper}--m-center__step-title--TextAlign, auto);
|
|
212
|
-
--#{$progress-stepper}__step-description--
|
|
213
|
-
--#{$progress-stepper}__step-description--
|
|
214
|
+
--#{$progress-stepper}__step-description--MarginInlineEnd: var(--#{$progress-stepper}--m-center__step-description--MarginInlineEnd);
|
|
215
|
+
--#{$progress-stepper}__step-description--MarginInlineStart: var(--#{$progress-stepper}--m-center__step-description--MarginInlineStart);
|
|
214
216
|
--#{$progress-stepper}__step-description--TextAlign: var(--#{$progress-stepper}--m-center__step-description--TextAlign, auto);
|
|
215
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
216
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
217
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginInlineEnd: var(--#{$progress-stepper}--m-vertical--m-center__step-main--MarginInlineEnd);
|
|
218
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginInlineStart: var(--#{$progress-stepper}--m-vertical--m-center__step-main--MarginInlineStart);
|
|
217
219
|
|
|
218
220
|
grid-template-columns: var(--#{$progress-stepper}--m-center--GridTemplateColumns);
|
|
219
221
|
|
|
@@ -222,7 +224,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
222
224
|
}
|
|
223
225
|
|
|
224
226
|
.#{$progress-stepper}__step:not(:last-of-type) > .#{$progress-stepper}__step-connector::before {
|
|
225
|
-
inset-inline-start: var(--#{$progress-stepper}--m-center__step-connector--before--
|
|
227
|
+
inset-inline-start: var(--#{$progress-stepper}--m-center__step-connector--before--InsetInlineStart);
|
|
226
228
|
}
|
|
227
229
|
|
|
228
230
|
// If not compact variant, swap borders from connector to main
|
|
@@ -238,17 +240,17 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
238
240
|
}
|
|
239
241
|
|
|
240
242
|
&.pf-m-compact {
|
|
241
|
-
--#{$progress-stepper}__step-main--
|
|
242
|
-
--#{$progress-stepper}__step-main--
|
|
243
|
+
--#{$progress-stepper}__step-main--MarginBlockStart: var(--#{$progress-stepper}--m-compact__step-main--MarginBlockStart);
|
|
244
|
+
--#{$progress-stepper}__step-main--MarginBlockEnd: var(--#{$progress-stepper}--m-compact__step-main--MarginBlockEnd);
|
|
243
245
|
--#{$progress-stepper}__step-icon--Width: var(--#{$progress-stepper}--m-compact__step-icon--Width);
|
|
244
246
|
--#{$progress-stepper}__step-icon--FontSize: var(--#{$progress-stepper}--m-compact__step-icon--FontSize);
|
|
245
247
|
--#{$progress-stepper}__step-title--FontSize: var(--#{$progress-stepper}--m-compact__step-title--FontSize);
|
|
246
248
|
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(--#{$progress-stepper}--m-compact__step-title--FontWeight);
|
|
247
|
-
--#{$progress-stepper}__pficon--
|
|
248
|
-
--#{$progress-stepper}__fa-exclamation-triangle--
|
|
249
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
250
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
251
|
-
--#{$progress-stepper}--m-vertical__step-main--
|
|
249
|
+
--#{$progress-stepper}__pficon--MarginBlockStart: var(--#{$progress-stepper}--m-compact__pficon--MarginBlockStart);
|
|
250
|
+
--#{$progress-stepper}__fa-exclamation-triangle--MarginBlockStart: var(--#{$progress-stepper}--m-compact__fa-exclamation-triangle--MarginBlockStart);
|
|
251
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginBlockStart: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginBlockStart);
|
|
252
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginInlineEnd: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginInlineEnd);
|
|
253
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginInlineStart: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginInlineStart);
|
|
252
254
|
|
|
253
255
|
display: inline-grid;
|
|
254
256
|
grid-template-columns: var(--#{$progress-stepper}--m-compact--GridTemplateColumns);
|
|
@@ -257,15 +259,15 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
257
259
|
.#{$progress-stepper}__step-connector {
|
|
258
260
|
grid-row: var(--#{$progress-stepper}--m-compact__step-connector--GridRow);
|
|
259
261
|
min-width: var(--#{$progress-stepper}--m-compact__step-connector--MinWidth);
|
|
260
|
-
padding-block-end: var(--#{$progress-stepper}--m-compact__step-connector--
|
|
262
|
+
padding-block-end: var(--#{$progress-stepper}--m-compact__step-connector--PaddingBlockEnd);
|
|
261
263
|
}
|
|
262
264
|
|
|
263
265
|
.#{$progress-stepper}__step-main {
|
|
264
|
-
margin-block-end: var(--#{$progress-stepper}--m-compact__step-main--
|
|
266
|
+
margin-block-end: var(--#{$progress-stepper}--m-compact__step-main--MarginBlockEnd);
|
|
265
267
|
}
|
|
266
268
|
|
|
267
269
|
.#{$progress-stepper}__step:not(.pf-m-current) .#{$progress-stepper}__step-main {
|
|
268
|
-
@include pf-
|
|
270
|
+
@include pf-v6-u-screen-reader;
|
|
269
271
|
}
|
|
270
272
|
|
|
271
273
|
// For this compact variant only, move the main content for the current step to above the icons
|
|
@@ -320,7 +322,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
320
322
|
}
|
|
321
323
|
|
|
322
324
|
&:last-child {
|
|
323
|
-
--#{$progress-stepper}__step-main--
|
|
325
|
+
--#{$progress-stepper}__step-main--MarginBlockEnd: 0;
|
|
324
326
|
}
|
|
325
327
|
}
|
|
326
328
|
|
|
@@ -333,13 +335,13 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
333
335
|
|
|
334
336
|
.#{$progress-stepper}__step:not(:last-of-type) > &::before {
|
|
335
337
|
position: absolute;
|
|
336
|
-
inset-block-start: var(--#{$progress-stepper}__step-connector--before--
|
|
337
|
-
inset-inline-start: var(--#{$progress-stepper}__step-connector--before--
|
|
338
|
+
inset-block-start: var(--#{$progress-stepper}__step-connector--before--InsetBlockStart); // half the height
|
|
339
|
+
inset-inline-start: var(--#{$progress-stepper}__step-connector--before--InsetInlineStart);
|
|
338
340
|
width: var(--#{$progress-stepper}__step-connector--before--Width);
|
|
339
341
|
height: var(--#{$progress-stepper}__step-connector--before--Height);
|
|
340
342
|
content: "";
|
|
341
|
-
border-block-end: var(--#{$progress-stepper}__step-connector--before--
|
|
342
|
-
border-inline-end: var(--#{$progress-stepper}__step-connector--before--
|
|
343
|
+
border-block-end: var(--#{$progress-stepper}__step-connector--before--BorderBlockEndWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderBlockEndColor);
|
|
344
|
+
border-inline-end: var(--#{$progress-stepper}__step-connector--before--BorderInlineEndWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderInlineEndColor);
|
|
343
345
|
transform: var(--#{$progress-stepper}__step-connector--before--Transform);
|
|
344
346
|
}
|
|
345
347
|
}
|
|
@@ -360,13 +362,13 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
360
362
|
|
|
361
363
|
// Align pficons with the font awesome icons
|
|
362
364
|
// stylelint-disable
|
|
363
|
-
.pf-
|
|
364
|
-
margin-block-start: var(--#{$progress-stepper}__pficon--
|
|
365
|
+
.pf-v6-pficon {
|
|
366
|
+
margin-block-start: var(--#{$progress-stepper}__pficon--MarginBlockStart);
|
|
365
367
|
}
|
|
366
368
|
|
|
367
369
|
// Push the triangle up to fit inside the circle
|
|
368
370
|
.fa-exclamation-triangle {
|
|
369
|
-
margin-block-start: var(--#{$progress-stepper}__fa-exclamation-triangle--
|
|
371
|
+
margin-block-start: var(--#{$progress-stepper}__fa-exclamation-triangle--MarginBlockStart);
|
|
370
372
|
}
|
|
371
373
|
// stylelint-enable
|
|
372
374
|
}
|
|
@@ -374,21 +376,21 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
374
376
|
// Step main
|
|
375
377
|
.#{$progress-stepper}__step-main {
|
|
376
378
|
min-width: 0;
|
|
377
|
-
margin-block-start: var(--#{$progress-stepper}__step-main--
|
|
378
|
-
margin-block-end: var(--#{$progress-stepper}__step-main--
|
|
379
|
-
margin-inline-start: var(--#{$progress-stepper}__step-main--
|
|
380
|
-
margin-inline-end: var(--#{$progress-stepper}__step-main--
|
|
379
|
+
margin-block-start: var(--#{$progress-stepper}__step-main--MarginBlockStart);
|
|
380
|
+
margin-block-end: var(--#{$progress-stepper}__step-main--MarginBlockEnd);
|
|
381
|
+
margin-inline-start: var(--#{$progress-stepper}__step-main--MarginInlineStart);
|
|
382
|
+
margin-inline-end: var(--#{$progress-stepper}__step-main--MarginInlineEnd);
|
|
381
383
|
text-align: var(--#{$progress-stepper}--step-main--TextAlign, auto);
|
|
382
384
|
overflow-wrap: anywhere;
|
|
383
385
|
|
|
384
386
|
// Draw a new border for vertical alignment using step main
|
|
385
387
|
.#{$progress-stepper}__step:not(:last-of-type) > &::before {
|
|
386
388
|
position: absolute;
|
|
387
|
-
inset-block-start: calc(100% + var(--#{$progress-stepper}__step-main--
|
|
388
|
-
inset-inline-start: calc(50% - calc(var(--#{$progress-stepper}__step-connector--before--
|
|
389
|
+
inset-block-start: calc(100% + var(--#{$progress-stepper}__step-main--MarginBlockStart));
|
|
390
|
+
inset-inline-start: calc(50% - calc(var(--#{$progress-stepper}__step-connector--before--BorderInlineEndWidth) / 2));
|
|
389
391
|
width: auto;
|
|
390
|
-
height: calc(var(--#{$progress-stepper}__step-main--
|
|
391
|
-
border-inline-end: var(--#{$progress-stepper}__step-connector--before--
|
|
392
|
+
height: calc(var(--#{$progress-stepper}__step-main--MarginBlockStart) + var(--#{$progress-stepper}__step-main--MarginBlockEnd));
|
|
393
|
+
border-inline-end: var(--#{$progress-stepper}__step-connector--before--BorderInlineEndWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderInlineEndColor);
|
|
392
394
|
}
|
|
393
395
|
}
|
|
394
396
|
|
|
@@ -404,15 +406,13 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
404
406
|
&.pf-m-help-text {
|
|
405
407
|
padding-inline-start: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart);
|
|
406
408
|
padding-inline-end: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd);
|
|
407
|
-
text-decoration:
|
|
408
|
-
text-decoration-thickness: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness);
|
|
409
|
-
text-decoration-style: dashed;
|
|
410
|
-
text-decoration-color: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor);
|
|
409
|
+
text-decoration: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationLine) var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle);
|
|
411
410
|
text-underline-offset: var(--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset);
|
|
412
411
|
cursor: pointer;
|
|
413
412
|
|
|
414
|
-
&:hover,
|
|
415
|
-
|
|
413
|
+
&:is(:hover, :focus) {
|
|
414
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationLine: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationLine);
|
|
415
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationStyle);
|
|
416
416
|
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--hover--Color);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
@@ -420,7 +420,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
420
420
|
|
|
421
421
|
// Step description
|
|
422
422
|
.#{$progress-stepper}__step-description {
|
|
423
|
-
margin-block-start: var(--#{$progress-stepper}__step-description--
|
|
423
|
+
margin-block-start: var(--#{$progress-stepper}__step-description--MarginBlockStart);
|
|
424
424
|
font-size: var(--#{$progress-stepper}__step-description--FontSize);
|
|
425
425
|
color: var(--#{$progress-stepper}__step-description--Color);
|
|
426
426
|
text-align: var(--#{$progress-stepper}__step-description--TextAlign);
|
|
@@ -428,16 +428,16 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
428
428
|
|
|
429
429
|
// stylelint-disable no-duplicate-selectors
|
|
430
430
|
.#{$progress-stepper} {
|
|
431
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
431
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-progress-stepper--breakpoint-map {
|
|
432
432
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
433
433
|
|
|
434
|
-
@include pf-
|
|
434
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
435
435
|
&.pf-m-horizontal#{$breakpoint-name} {
|
|
436
|
-
@include pf-
|
|
436
|
+
@include pf-v6-c-progress-stepper--m-horizontal;
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
&.pf-m-vertical#{$breakpoint-name} {
|
|
440
|
-
@include pf-
|
|
440
|
+
@include pf-v6-c-progress-stepper--m-vertical;
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
--pf-v6-c-radio--Height: calc(var(--pf-v6-c-radio__label--FontSize) * var(--pf-v6-c-radio__label--LineHeight));
|
|
6
6
|
--pf-v6-c-radio__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
7
7
|
--pf-v6-c-radio__label--Color: var(--pf-t--global--text--color--regular);
|
|
8
|
-
--pf-v6-c-radio__label--FontWeight: var(--pf-t--global--font--weight--body);
|
|
8
|
+
--pf-v6-c-radio__label--FontWeight: var(--pf-t--global--font--weight--body--default);
|
|
9
9
|
--pf-v6-c-radio__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
10
10
|
--pf-v6-c-radio__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
11
11
|
--pf-v6-c-radio__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
12
12
|
--pf-v6-c-radio__description--Color: var(--pf-t--global--text--color--subtle);
|
|
13
|
-
--pf-v6-c-radio__input--first-child--
|
|
14
|
-
--pf-v6-c-radio__input--last-child--
|
|
15
|
-
--pf-v6-c-radio__body--
|
|
13
|
+
--pf-v6-c-radio__input--first-child--MarginInlineStart: 0.0625rem;
|
|
14
|
+
--pf-v6-c-radio__input--last-child--MarginInlineEnd: 0.0625rem;
|
|
15
|
+
--pf-v6-c-radio__body--MarginBlockStart: var(--pf-t--global--spacer--sm);
|
|
16
16
|
--pf-v6-c-radio__input--TranslateY: calc((var(--pf-v6-c-radio__label--LineHeight) * var(--pf-v6-c-radio__label--FontSize) / 2 ) - 50%);
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
transform: translateY(var(--pf-v6-c-radio__input--TranslateY));
|
|
41
41
|
}
|
|
42
42
|
.pf-v6-c-radio__input:first-child {
|
|
43
|
-
margin-inline-start: var(--pf-v6-c-radio__input--first-child--
|
|
43
|
+
margin-inline-start: var(--pf-v6-c-radio__input--first-child--MarginInlineStart);
|
|
44
44
|
}
|
|
45
45
|
.pf-v6-c-radio__input:last-child {
|
|
46
|
-
margin-inline-end: var(--pf-v6-c-radio__input--last-child--
|
|
46
|
+
margin-inline-end: var(--pf-v6-c-radio__input--last-child--MarginInlineEnd);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.pf-v6-c-radio__label {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
.pf-v6-c-radio__body {
|
|
63
63
|
grid-column: 2;
|
|
64
|
-
margin-block-start: var(--pf-v6-c-radio__body--
|
|
64
|
+
margin-block-start: var(--pf-v6-c-radio__body--MarginBlockStart);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.pf-v6-c-radio__label,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
.#{$radio} {
|
|
3
|
+
@include pf-root($radio) {
|
|
5
4
|
--#{$radio}--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
6
5
|
--#{$radio}--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
|
7
6
|
--#{$radio}--Height: calc(var(--#{$radio}__label--FontSize) * var(--#{$radio}__label--LineHeight));
|
|
@@ -9,16 +8,16 @@
|
|
|
9
8
|
// TODO: update to `--#{$radio}--FontSize` `--#{$radio}--LineHeight`
|
|
10
9
|
--#{$radio}__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
11
10
|
--#{$radio}__label--Color: var(--pf-t--global--text--color--regular);
|
|
12
|
-
--#{$radio}__label--FontWeight: var(--pf-t--global--font--weight--body);
|
|
11
|
+
--#{$radio}__label--FontWeight: var(--pf-t--global--font--weight--body--default);
|
|
13
12
|
--#{$radio}__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
14
13
|
--#{$radio}__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
15
14
|
--#{$radio}__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
16
15
|
--#{$radio}__description--Color: var(--pf-t--global--text--color--subtle);
|
|
17
16
|
|
|
18
17
|
// * Radio input
|
|
19
|
-
--#{$radio}__input--first-child--
|
|
20
|
-
--#{$radio}__input--last-child--
|
|
21
|
-
--#{$radio}__body--
|
|
18
|
+
--#{$radio}__input--first-child--MarginInlineStart: #{pf-size-prem(1px)};
|
|
19
|
+
--#{$radio}__input--last-child--MarginInlineEnd: #{pf-size-prem(1px)};
|
|
20
|
+
--#{$radio}__body--MarginBlockStart: var(--pf-t--global--spacer--sm);
|
|
22
21
|
|
|
23
22
|
// TODO: due to subpixel rendering and this value resolving to 21px, the checkbox vertical centering is off by 1px. Mozilla rounds subpixels up while chrome rounds down. This is a temporary fix until we can find a better solution.
|
|
24
23
|
--#{$radio}__input--TranslateY: calc((var(--#{$radio}__label--LineHeight) * var(--#{$radio}__label--FontSize) / 2 ) - 50%); // find height of single label, divide by two, offset by 50% of own height
|
|
@@ -55,12 +54,12 @@
|
|
|
55
54
|
|
|
56
55
|
// fixes a chrome issue where the left edge is cut off in a container with overflow hidden
|
|
57
56
|
&:first-child {
|
|
58
|
-
margin-inline-start: var(--#{$radio}__input--first-child--
|
|
57
|
+
margin-inline-start: var(--#{$radio}__input--first-child--MarginInlineStart);
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
// fixes a chrome issue where the right edge is cut off in a container with overflow hidden
|
|
62
61
|
&:last-child {
|
|
63
|
-
margin-inline-end: var(--#{$radio}__input--last-child--
|
|
62
|
+
margin-inline-end: var(--#{$radio}__input--last-child--MarginInlineEnd);
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
|
|
@@ -79,7 +78,7 @@
|
|
|
79
78
|
|
|
80
79
|
.#{$radio}__body {
|
|
81
80
|
grid-column: 2;
|
|
82
|
-
margin-block-start: var(--#{$radio}__body--
|
|
81
|
+
margin-block-start: var(--#{$radio}__body--MarginBlockStart);
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
.#{$radio}__label,
|