@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.10
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/_fixed-width.scss +3 -1
- package/assets/fontawesome/_icons.scss +1333 -1330
- package/assets/fontawesome/_index.scss +11 -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 +4 -4
- 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 +69 -2
- package/base/patternfly-fa-icons.css +2787 -1420
- package/base/patternfly-fa-icons.scss +53 -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 +1094 -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} +310 -294
- package/base/tokens/{_tokens-default.scss → tokens-default.scss} +580 -447
- package/base/tokens/{_tokens-font.scss → tokens-local.scss} +16 -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 +46 -45
- package/components/Accordion/accordion.scss +56 -55
- 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 +152 -130
- package/components/Button/button.scss +157 -133
- package/components/CalendarMonth/calendar-month.css +47 -47
- package/components/CalendarMonth/calendar-month.scss +50 -51
- package/components/Card/card.css +111 -94
- package/components/Card/card.scss +119 -93
- package/components/Check/check.css +6 -6
- package/components/Check/check.scss +8 -9
- package/components/ClipboardCopy/clipboard-copy.css +34 -45
- package/components/ClipboardCopy/clipboard-copy.scss +36 -49
- package/components/CodeBlock/code-block.css +21 -20
- package/components/CodeBlock/code-block.scss +21 -21
- package/components/CodeEditor/code-editor.css +36 -35
- package/components/CodeEditor/code-editor.scss +36 -36
- 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 +52 -50
- package/components/DescriptionList/description-list.scss +32 -37
- 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 +119 -114
- package/components/Drawer/drawer.scss +139 -134
- package/components/DualListSelector/dual-list-selector.css +65 -62
- package/components/DualListSelector/dual-list-selector.scss +55 -52
- 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 +3 -3
- package/components/FileUpload/file-upload.scss +3 -4
- package/components/Form/form.css +177 -125
- package/components/Form/form.scss +121 -115
- package/components/FormControl/form-control.css +68 -64
- package/components/FormControl/form-control.scss +80 -74
- 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 +17 -17
- package/components/InputGroup/input-group.scss +19 -20
- 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 +103 -88
- package/components/Label/label.scss +114 -95
- 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 +131 -110
- package/components/MenuToggle/menu-toggle.scss +152 -130
- 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 +177 -517
- package/components/Page/page.scss +157 -384
- 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 +9 -9
- package/components/Radio/radio.scss +11 -12
- 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 +22381 -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 +4227 -3064
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +4307 -3140
- package/patternfly-base.scss +2 -6
- package/patternfly-charts.css +579 -240
- package/patternfly-charts.scss +352 -337
- package/patternfly-no-globals.css +21105 -23238
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +21209 -23338
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +6 -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 +48 -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/fontawesome/_core.scss +0 -20
- 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,38 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
$pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg", "xl", "2xl");
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
$pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg", "xl", "2xl");
|
|
4
|
+
|
|
5
|
+
@mixin pf-v6-c-form--m-horizontal {
|
|
5
6
|
// default horizontal styles applied at medium breakpoint
|
|
6
|
-
@media screen and (min-width: $pf-
|
|
7
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
7
8
|
@content;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
// custom xs style since this isn't in our maps - maps are based on mobile first design. This may not even be a valid option based on design but I guess it doesn't hurt to add.
|
|
11
12
|
&-on-xs {
|
|
12
|
-
@media screen and (min-width: $pf-
|
|
13
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xs) {
|
|
13
14
|
@content;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
// loop to build the rest of the breakpoints
|
|
18
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
19
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-form--m-horizontal--breakpoint-map {
|
|
19
20
|
&-on-#{$breakpoint} {
|
|
20
|
-
@include pf-
|
|
21
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
21
22
|
@content;
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
--#{$form}--GridGap: var(--pf-t--global--spacer--lg);
|
|
28
|
+
@include pf-root($form) {
|
|
29
|
+
--#{$form}--GridGap: var(--pf-t--global--spacer--gap--group-to-group--vertical);
|
|
30
30
|
|
|
31
31
|
// Group
|
|
32
|
-
--#{$form}__group--Gap: var(--pf-t--global--spacer--
|
|
33
|
-
--#{$form}__group--m-action--
|
|
32
|
+
--#{$form}__group--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
33
|
+
--#{$form}__group--m-action--MarginBlockStart: var(--pf-t--global--spacer--xl);
|
|
34
34
|
--#{$form}--m-horizontal__group-label--md--GridColumnWidth: #{pf-size-prem(150px)};
|
|
35
|
-
--#{$form}--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--
|
|
35
|
+
--#{$form}--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
36
36
|
--#{$form}--m-horizontal__group-control--md--GridColumnWidth: 1fr;
|
|
37
37
|
|
|
38
38
|
// limit width
|
|
@@ -54,8 +54,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
54
54
|
// plus the border width used by the text inputs is 1px
|
|
55
55
|
// So we need to adjust by 21 - 16.1 + 1 = 5.9px
|
|
56
56
|
|
|
57
|
-
--#{$form}--m-horizontal__group-label--md--
|
|
58
|
-
--#{$form}__group-label--
|
|
57
|
+
--#{$form}--m-horizontal__group-label--md--PaddingBlockStart: calc((((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) + (2 * var(--pf-t--global--border--width--control--default))) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)) - ((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) + var(--pf-t--global--border--width--control--default));
|
|
58
|
+
--#{$form}__group-label--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
59
59
|
|
|
60
60
|
// Use the no-padding modifier to align form groups that aren't text inputs
|
|
61
61
|
// Use the formula above, except
|
|
@@ -63,7 +63,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
63
63
|
// - reverse the subtraction so we get a negative number to translate by
|
|
64
64
|
// - controls like checkboxes use the medium font and small line height
|
|
65
65
|
// - This comes out to a difference of 2.3px.
|
|
66
|
-
--#{$form}--m-horizontal__group-label--m-no-padding--md--
|
|
66
|
+
--#{$form}--m-horizontal__group-label--m-no-padding--md--PaddingBlockStart: 0;
|
|
67
67
|
--#{$form}--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) - ((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)));
|
|
68
68
|
|
|
69
69
|
// Label
|
|
@@ -77,7 +77,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
77
77
|
--#{$form}__label-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
78
78
|
|
|
79
79
|
// Required labels
|
|
80
|
-
--#{$form}__label-required--
|
|
80
|
+
--#{$form}__label-required--MarginInlineStart: var(--pf-t--global--spacer--xs);
|
|
81
81
|
--#{$form}__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
82
82
|
--#{$form}__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
83
83
|
|
|
@@ -85,75 +85,76 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
85
85
|
--#{$form}__group-label-help--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
86
86
|
|
|
87
87
|
// Form group label info
|
|
88
|
-
--#{$form}__group-label-info--
|
|
88
|
+
--#{$form}__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--horizontal);
|
|
89
89
|
--#{$form}__group-label-info--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
90
|
+
--#{$form}--m-horizontal__group-label--m-info--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
90
91
|
|
|
91
92
|
// Group control
|
|
92
|
-
--#{$form}__group-control--m-inline--
|
|
93
|
-
--#{$form}__group-control__helper-text--
|
|
94
|
-
--#{$form}__group-control--Gap: var(--pf-t--global--spacer--
|
|
95
|
-
--#{$form}__group-control--m-
|
|
96
|
-
--#{$form}__group-control--m-stack__helper-text--MarginTop: calc(var(--#{$form}__group-control--m-stack--Gap) * -1 + var(--#{$form}__helper-text--MarginTop--base));
|
|
93
|
+
--#{$form}__group-control--m-inline--Gap: var(--pf-t--global--spacer--gap--group--horizontal);
|
|
94
|
+
--#{$form}__group-control__helper-text--MarginBlockEnd: var(--pf-t--global--spacer--xs);
|
|
95
|
+
--#{$form}__group-control--m-stack--Gap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
96
|
+
--#{$form}__group-control--m-stack__helper-text--MarginBlockStart: calc(var(--#{$form}__group-control--m-stack--Gap) * -1 + var(--#{$form}__helper-text--MarginBlockStart--base));
|
|
97
97
|
|
|
98
98
|
// Actions
|
|
99
|
-
--#{$form}__actions--child--
|
|
100
|
-
--#{$form}__actions--child--
|
|
101
|
-
--#{$form}__actions--child--
|
|
102
|
-
--#{$form}__actions--child--
|
|
103
|
-
--#{$form}__actions--
|
|
104
|
-
--#{$form}__actions--
|
|
105
|
-
--#{$form}__actions--
|
|
106
|
-
--#{$form}__actions--
|
|
99
|
+
--#{$form}__actions--child--MarginBlockStart: var(--pf-t--global--spacer--sm);
|
|
100
|
+
--#{$form}__actions--child--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
|
101
|
+
--#{$form}__actions--child--MarginBlockEnd: var(--pf-t--global--spacer--sm);
|
|
102
|
+
--#{$form}__actions--child--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
103
|
+
--#{$form}__actions--MarginBlockStart: calc(var(--#{$form}__actions--child--MarginBlockStart) * -1);
|
|
104
|
+
--#{$form}__actions--MarginInlineEnd: calc(var(--#{$form}__actions--child--MarginInlineEnd) * -1);
|
|
105
|
+
--#{$form}__actions--MarginBlockEnd: calc(var(--#{$form}__actions--child--MarginBlockEnd) * -1);
|
|
106
|
+
--#{$form}__actions--MarginInlineStart: calc(var(--#{$form}__actions--child--MarginInlineStart) * -1);
|
|
107
107
|
|
|
108
108
|
// Helper text
|
|
109
|
-
--#{$form}__helper-text--
|
|
110
|
-
--#{$form}__helper-text--
|
|
109
|
+
--#{$form}__helper-text--MarginBlockStart--base: var(--pf-t--global--spacer--xs);
|
|
110
|
+
--#{$form}__helper-text--MarginBlockStart: var(--#{$form}__helper-text--MarginBlockStart--base);
|
|
111
111
|
|
|
112
112
|
// Section
|
|
113
|
-
--#{$form}__section--
|
|
114
|
-
--#{$form}__section--Gap: var(--
|
|
113
|
+
--#{$form}__section--MarginBlockStart: var(--pf-t--global--spacer--xl);
|
|
114
|
+
--#{$form}__section--Gap: var(--#{$form}--GridGap);
|
|
115
115
|
|
|
116
116
|
// Section title
|
|
117
117
|
--#{$form}__section-title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
118
|
-
--#{$form}__section-title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
119
|
-
--#{$form}__section-title--
|
|
118
|
+
--#{$form}__section-title--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
119
|
+
--#{$form}__section-title--MarginBlockEnd: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
120
120
|
|
|
121
121
|
// Field groups
|
|
122
122
|
--#{$form}__field-group--border-width-base: var(--pf-t--global--border--width--divider--default);
|
|
123
|
-
--#{$form}__field-group--
|
|
124
|
-
--#{$form}__field-group--
|
|
125
|
-
--#{$form}__field-group--
|
|
126
|
-
--#{$form}__field-group--
|
|
127
|
-
--#{$form}__field-group--field-group--
|
|
123
|
+
--#{$form}__field-group--BorderBlockStartWidth: var(--#{$form}__field-group--border-width-base);
|
|
124
|
+
--#{$form}__field-group--BorderBlockStartColor: var(--pf-t--global--border--color--default);
|
|
125
|
+
--#{$form}__field-group--BorderBlockEndWidth: var(--#{$form}__field-group--border-width-base);
|
|
126
|
+
--#{$form}__field-group--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
127
|
+
--#{$form}__field-group--field-group--MarginBlockStart: calc(var(--#{$form}--GridGap) * -1);
|
|
128
128
|
--#{$form}__field-group--GridTemplateColumns--toggle: calc(var(--pf-t--global--spacer--md) * 2 + var(--#{$form}__field-group-toggle-icon--MinWidth) + var(--pf-t--global--spacer--xs)); // based off of the expected width of the group toggle, for use to define a column when the toggle is not present
|
|
129
|
-
--#{$form}__field-group-toggle--
|
|
130
|
-
--#{$form}__field-group-toggle--
|
|
131
|
-
--#{$form}__field-group__field-group__field-group-toggle--
|
|
129
|
+
--#{$form}__field-group-toggle--PaddingBlockStart: var(--#{$form}__field-group-header--PaddingBlockStart);
|
|
130
|
+
--#{$form}__field-group-toggle--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
|
|
131
|
+
--#{$form}__field-group__field-group__field-group-toggle--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
132
132
|
--#{$form}__field-group-header-toggle--BorderWidth--base: var(--pf-t--global--border--width--divider--default);
|
|
133
|
-
--#{$form}__field-group__field-group--field-group__field-group-toggle--after--
|
|
134
|
-
--#{$form}__field-group-toggle-button--
|
|
135
|
-
--#{$form}__field-group-toggle-button--
|
|
136
|
-
--#{$form}__field-group-toggle-icon--
|
|
133
|
+
--#{$form}__field-group__field-group--field-group__field-group-toggle--after--BorderBlockStartWidth: var(--#{$form}__field-group-header-toggle--BorderWidth--base);
|
|
134
|
+
--#{$form}__field-group-toggle-button--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--plain) * -1);
|
|
135
|
+
--#{$form}__field-group-toggle-button--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--plain) * -1);
|
|
136
|
+
--#{$form}__field-group-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
137
|
+
--#{$form}__field-group-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
137
138
|
--#{$form}__field-group-toggle-icon--MinWidth: var(--pf-t--global--font--size--body--default);
|
|
138
139
|
--#{$form}__field-group-toggle-icon--Rotate: 0;
|
|
139
140
|
--#{$form}__field-group--m-expanded__toggle-icon--Rotate: 90deg;
|
|
140
|
-
--#{$form}__field-group-header--
|
|
141
|
-
--#{$form}__field-group-header--
|
|
141
|
+
--#{$form}__field-group-header--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
142
|
+
--#{$form}__field-group-header--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
142
143
|
--#{$form}__field-group-header--GridColumn: 1 / 3;
|
|
143
|
-
--#{$form}__field-group__field-group__field-group-header--
|
|
144
|
-
--#{$form}__field-group__field-group__field-group-header--
|
|
144
|
+
--#{$form}__field-group__field-group__field-group-header--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
|
145
|
+
--#{$form}__field-group__field-group__field-group-header--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
|
|
145
146
|
--#{$form}__field-group-toggle--field-group-header--GridColumn: 2 / 3;
|
|
146
|
-
--#{$form}__field-group__field-group--field-group__field-group-header--after--
|
|
147
|
-
--#{$form}__field-group-header-description--
|
|
147
|
+
--#{$form}__field-group__field-group--field-group__field-group-header--after--BorderBlockStartWidth: var(--#{$form}__field-group-header-toggle--BorderWidth--base);
|
|
148
|
+
--#{$form}__field-group-header-description--MarginBlockStart: var(--pf-t--global--spacer--xs);
|
|
148
149
|
--#{$form}__field-group-header-description--Color: var(--pf-t--global--text--color--subtle);
|
|
149
|
-
--#{$form}__field-group-header-actions--
|
|
150
|
-
--#{$form}__field-group-body--
|
|
151
|
-
--#{$form}__field-group-body--
|
|
150
|
+
--#{$form}__field-group-header-actions--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
151
|
+
--#{$form}__field-group-body--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
|
152
|
+
--#{$form}__field-group-body--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
|
|
152
153
|
--#{$form}__field-group-body--Gap: var(--#{$form}--GridGap);
|
|
153
154
|
--#{$form}__field-group-body--GridColumn: 2 / 3;
|
|
154
155
|
--#{$form}__field-group__field-group__field-group-body--GridColumn: 1 / 3;
|
|
155
156
|
--#{$form}__field-group__field-group__field-group-toggle--field-group-body--GridColumn: 2 / 3;
|
|
156
|
-
--#{$form}__field-group-body__field-group--last-child--
|
|
157
|
+
--#{$form}__field-group-body__field-group--last-child--MarginBlockEnd: calc(var(--#{$form}__field-group-body--PaddingBlockEnd) * -1);
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
.#{$form} {
|
|
@@ -167,8 +168,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
@include pf-
|
|
171
|
-
--#{$form}__group-label--
|
|
171
|
+
@include pf-v6-c-form--m-horizontal {
|
|
172
|
+
--#{$form}__group-label--PaddingBlockEnd: 0;
|
|
172
173
|
|
|
173
174
|
.#{$form}__group {
|
|
174
175
|
display: grid;
|
|
@@ -177,14 +178,26 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
.#{$form}__group-label {
|
|
180
|
-
padding-block-start: var(--#{$form}--m-horizontal__group-label--md--
|
|
181
|
+
padding-block-start: var(--#{$form}--m-horizontal__group-label--md--PaddingBlockStart);
|
|
181
182
|
|
|
182
|
-
// stylelint-disable-
|
|
183
|
+
// stylelint-disable max-nesting-depth
|
|
183
184
|
&.pf-m-no-padding-top {
|
|
184
|
-
--#{$form}--m-horizontal__group-label--md--
|
|
185
|
+
--#{$form}--m-horizontal__group-label--md--PaddingBlockStart: var(--#{$form}--m-horizontal__group-label--m-no-padding--md--PaddingBlockStart);
|
|
185
186
|
|
|
186
187
|
transform: translateY(var(--#{$form}--m-horizontal__group-label--m-no-padding--md--TranslateY));
|
|
187
188
|
}
|
|
189
|
+
|
|
190
|
+
&.pf-m-info {
|
|
191
|
+
--#{$form}__group-label--m-info--Gap: var(--#{$form}--m-horizontal__group-label--m-info--Gap);
|
|
192
|
+
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
align-items: flex-start;
|
|
195
|
+
}
|
|
196
|
+
// stylelint-enable
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.#{$form}__group-label-main {
|
|
200
|
+
flex-grow: 0;
|
|
188
201
|
}
|
|
189
202
|
|
|
190
203
|
.#{$form}__group-control {
|
|
@@ -205,7 +218,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
205
218
|
min-width: 0;
|
|
206
219
|
|
|
207
220
|
&.pf-m-action {
|
|
208
|
-
margin-block-start: var(--#{$form}__group--m-action--
|
|
221
|
+
margin-block-start: var(--#{$form}__group--m-action--MarginBlockStart);
|
|
209
222
|
overflow: hidden; // keeps the negative bottom margin bottom on .#{$form}__actions from triggering overflow
|
|
210
223
|
}
|
|
211
224
|
}
|
|
@@ -216,21 +229,22 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
216
229
|
|
|
217
230
|
& + .#{$form}__group:not(.pf-m-action),
|
|
218
231
|
&:not(:first-child) {
|
|
219
|
-
margin-block-start: var(--#{$form}__section--
|
|
232
|
+
margin-block-start: var(--#{$form}__section--MarginBlockStart);
|
|
220
233
|
}
|
|
221
234
|
}
|
|
222
235
|
|
|
223
236
|
.#{$form}__section-title {
|
|
224
|
-
margin-block-end: var(--#{$form}__section-title--
|
|
237
|
+
margin-block-end: var(--#{$form}__section-title--MarginBlockEnd);
|
|
225
238
|
font-size: var(--#{$form}__section-title--FontSize);
|
|
226
239
|
font-weight: var(--#{$form}__section-title--FontWeight);
|
|
227
240
|
}
|
|
228
241
|
|
|
229
242
|
.#{$form}__group-label {
|
|
230
|
-
--#{$form}__helper-text--
|
|
243
|
+
--#{$form}__helper-text--MarginBlockStart: 0;
|
|
231
244
|
|
|
232
245
|
&.pf-m-info {
|
|
233
246
|
display: flex;
|
|
247
|
+
gap: var(--#{$form}__group-label--m-info--Gap);
|
|
234
248
|
align-items: flex-end;
|
|
235
249
|
}
|
|
236
250
|
}
|
|
@@ -240,7 +254,6 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
240
254
|
}
|
|
241
255
|
|
|
242
256
|
.#{$form}__group-label-info {
|
|
243
|
-
margin-inline-start: var(--#{$form}__group-label-info--MarginLeft);
|
|
244
257
|
font-size: var(--#{$form}__group-label-info--FontSize);
|
|
245
258
|
}
|
|
246
259
|
|
|
@@ -270,7 +283,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
270
283
|
}
|
|
271
284
|
|
|
272
285
|
.#{$form}__label-required {
|
|
273
|
-
margin-inline-start: var(--#{$form}__label-required--
|
|
286
|
+
margin-inline-start: var(--#{$form}__label-required--MarginInlineStart);
|
|
274
287
|
font-size: var(--#{$form}__label-required--FontSize);
|
|
275
288
|
color: var(--#{$form}__label-required--Color);
|
|
276
289
|
}
|
|
@@ -287,32 +300,25 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
287
300
|
&.pf-m-inline {
|
|
288
301
|
display: flex;
|
|
289
302
|
flex-flow: row wrap;
|
|
290
|
-
|
|
291
|
-
> * {
|
|
292
|
-
margin-inline-end: var(--#{$form}__group-control--m-inline--child--MarginRight);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
> :last-child {
|
|
296
|
-
--#{$form}__group-control--m-inline--child--MarginRight: 0;
|
|
297
|
-
}
|
|
303
|
+
gap: var(--#{$form}__group-control--m-inline--Gap);
|
|
298
304
|
}
|
|
299
305
|
|
|
300
306
|
&.pf-m-stack {
|
|
301
|
-
--#{$form}__helper-text--
|
|
307
|
+
--#{$form}__helper-text--MarginBlockStart: var(--#{$form}__group-control--m-stack__helper-text--MarginBlockStart);
|
|
302
308
|
|
|
303
309
|
display: grid;
|
|
304
310
|
gap: var(--#{$form}__group-control--m-stack--Gap);
|
|
305
311
|
}
|
|
306
312
|
|
|
307
313
|
.#{$form}__helper-text:first-child {
|
|
308
|
-
--#{$form}__helper-text--
|
|
314
|
+
--#{$form}__helper-text--MarginBlockStart: 0;
|
|
309
315
|
|
|
310
|
-
margin-block-end: var(--#{$form}__group-control__helper-text--
|
|
316
|
+
margin-block-end: var(--#{$form}__group-control__helper-text--MarginBlockEnd);
|
|
311
317
|
}
|
|
312
318
|
}
|
|
313
319
|
|
|
314
320
|
.#{$form}__helper-text {
|
|
315
|
-
margin-block-start: var(--#{$form}__helper-text--
|
|
321
|
+
margin-block-start: var(--#{$form}__helper-text--MarginBlockStart);
|
|
316
322
|
|
|
317
323
|
&.pf-m-inactive {
|
|
318
324
|
display: none;
|
|
@@ -332,47 +338,47 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
332
338
|
.#{$form}__actions {
|
|
333
339
|
display: flex;
|
|
334
340
|
flex-wrap: wrap;
|
|
335
|
-
margin-block-start: var(--#{$form}__actions--
|
|
336
|
-
margin-block-end: var(--#{$form}__actions--
|
|
337
|
-
margin-inline-start: var(--#{$form}__actions--
|
|
338
|
-
margin-inline-end: var(--#{$form}__actions--
|
|
341
|
+
margin-block-start: var(--#{$form}__actions--MarginBlockStart);
|
|
342
|
+
margin-block-end: var(--#{$form}__actions--MarginBlockEnd);
|
|
343
|
+
margin-inline-start: var(--#{$form}__actions--MarginInlineStart);
|
|
344
|
+
margin-inline-end: var(--#{$form}__actions--MarginInlineEnd);
|
|
339
345
|
|
|
340
346
|
> * {
|
|
341
|
-
margin-block-start: var(--#{$form}__actions--child--
|
|
342
|
-
margin-block-end: var(--#{$form}__actions--child--
|
|
343
|
-
margin-inline-start: var(--#{$form}__actions--child--
|
|
344
|
-
margin-inline-end: var(--#{$form}__actions--child--
|
|
347
|
+
margin-block-start: var(--#{$form}__actions--child--MarginBlockStart);
|
|
348
|
+
margin-block-end: var(--#{$form}__actions--child--MarginBlockEnd);
|
|
349
|
+
margin-inline-start: var(--#{$form}__actions--child--MarginInlineStart);
|
|
350
|
+
margin-inline-end: var(--#{$form}__actions--child--MarginInlineEnd);
|
|
345
351
|
}
|
|
346
352
|
}
|
|
347
353
|
|
|
348
354
|
.#{$form}__field-group {
|
|
349
|
-
--#{$form}__field-group--
|
|
355
|
+
--#{$form}__field-group--BorderBlockStartWidth: var(--#{$form}__field-group--border-width-base);
|
|
350
356
|
|
|
351
357
|
display: grid;
|
|
352
358
|
grid-template-columns: minmax(var(--#{$form}__field-group--GridTemplateColumns--toggle), max-content) 1fr;
|
|
353
|
-
border-block-start: var(--#{$form}__field-group--
|
|
354
|
-
border-block-end: var(--#{$form}__field-group--
|
|
359
|
+
border-block-start: var(--#{$form}__field-group--BorderBlockStartWidth) solid var(--#{$form}__field-group--BorderBlockStartColor);
|
|
360
|
+
border-block-end: var(--#{$form}__field-group--BorderBlockEndWidth) solid var(--#{$form}__field-group--BorderBlockEndColor);
|
|
355
361
|
|
|
356
362
|
&:last-child {
|
|
357
|
-
--#{$form}__field-group--
|
|
363
|
+
--#{$form}__field-group--BorderBlockEndWidth: 0;
|
|
358
364
|
}
|
|
359
365
|
|
|
360
366
|
& + &,
|
|
361
367
|
&:first-child {
|
|
362
|
-
--#{$form}__field-group--
|
|
368
|
+
--#{$form}__field-group--BorderBlockStartWidth: 0;
|
|
363
369
|
}
|
|
364
370
|
|
|
365
371
|
& + & {
|
|
366
|
-
margin-block-start: var(--#{$form}__field-group--field-group--
|
|
372
|
+
margin-block-start: var(--#{$form}__field-group--field-group--MarginBlockStart);
|
|
367
373
|
}
|
|
368
374
|
|
|
369
375
|
// nested
|
|
370
376
|
& & {
|
|
371
377
|
--#{$form}__field-group-body--GridColumn: var(--#{$form}__field-group__field-group__field-group-body--GridColumn);
|
|
372
|
-
--#{$form}__field-group-toggle--
|
|
373
|
-
--#{$form}__field-group-header--
|
|
374
|
-
--#{$form}__field-group-header--
|
|
375
|
-
--#{$form}__field-group-body--
|
|
378
|
+
--#{$form}__field-group-toggle--PaddingBlockStart: var(--#{$form}__field-group__field-group__field-group-toggle--PaddingBlockStart);
|
|
379
|
+
--#{$form}__field-group-header--PaddingBlockStart: var(--#{$form}__field-group__field-group__field-group-header--PaddingBlockStart);
|
|
380
|
+
--#{$form}__field-group-header--PaddingBlockEnd: var(--#{$form}__field-group__field-group__field-group-header--PaddingBlockEnd);
|
|
381
|
+
--#{$form}__field-group-body--PaddingBlockStart: 0;
|
|
376
382
|
|
|
377
383
|
.#{$form}__field-group-toggle ~ .#{$form}__field-group-body {
|
|
378
384
|
--#{$form}__field-group-body--GridColumn: var(--#{$form}__field-group__field-group__field-group-toggle--field-group-body--GridColumn);
|
|
@@ -389,8 +395,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
389
395
|
.#{$form}__field-group-toggle {
|
|
390
396
|
grid-row: 1 / 2;
|
|
391
397
|
grid-column: 1 / 2;
|
|
392
|
-
padding-block-start: var(--#{$form}__field-group-toggle--
|
|
393
|
-
padding-inline-end: var(--#{$form}__field-group-toggle--
|
|
398
|
+
padding-block-start: var(--#{$form}__field-group-toggle--PaddingBlockStart);
|
|
399
|
+
padding-inline-end: var(--#{$form}__field-group-toggle--PaddingInlineEnd);
|
|
394
400
|
|
|
395
401
|
+ .#{$form}__field-group-header {
|
|
396
402
|
--#{$form}__field-group-header--GridColumn: var(--#{$form}__field-group-toggle--field-group-header--GridColumn);
|
|
@@ -398,18 +404,18 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
398
404
|
}
|
|
399
405
|
|
|
400
406
|
.#{$form}__field-group-toggle-button {
|
|
401
|
-
margin-block-start: var(--#{$form}__field-group-toggle-button--
|
|
402
|
-
margin-block-end: var(--#{$form}__field-group-toggle-button--
|
|
407
|
+
margin-block-start: var(--#{$form}__field-group-toggle-button--MarginBlockStart);
|
|
408
|
+
margin-block-end: var(--#{$form}__field-group-toggle-button--MarginBlockEnd);
|
|
403
409
|
}
|
|
404
410
|
|
|
405
411
|
.#{$form}__field-group-toggle-icon {
|
|
406
412
|
display: inline-block;
|
|
407
413
|
min-width: var(--#{$form}__field-group-toggle-icon--MinWidth);
|
|
408
414
|
text-align: center;
|
|
409
|
-
transition: var(--#{$form}__field-group-toggle-icon--
|
|
415
|
+
transition: transform var(--#{$form}__field-group-toggle-icon--TransitionDuration) var(--#{$form}__field-group-toggle-icon--TransitionTimingFunction);
|
|
410
416
|
transform: rotate(var(--#{$form}__field-group-toggle-icon--Rotate));
|
|
411
417
|
|
|
412
|
-
@include pf-
|
|
418
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
413
419
|
}
|
|
414
420
|
|
|
415
421
|
.#{$form}__field-group-header {
|
|
@@ -417,8 +423,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
417
423
|
grid-row: 1 / 2;
|
|
418
424
|
grid-column: var(--#{$form}__field-group-header--GridColumn);
|
|
419
425
|
align-items: flex-start;
|
|
420
|
-
padding-block-start: var(--#{$form}__field-group-header--
|
|
421
|
-
padding-block-end: var(--#{$form}__field-group-header--
|
|
426
|
+
padding-block-start: var(--#{$form}__field-group-header--PaddingBlockStart);
|
|
427
|
+
padding-block-end: var(--#{$form}__field-group-header--PaddingBlockEnd);
|
|
422
428
|
}
|
|
423
429
|
|
|
424
430
|
.#{$form}__field-group-header-main {
|
|
@@ -436,12 +442,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
436
442
|
}
|
|
437
443
|
|
|
438
444
|
.#{$form}__field-group-header-description {
|
|
439
|
-
margin-block-start: var(--#{$form}__field-group-header-description--
|
|
445
|
+
margin-block-start: var(--#{$form}__field-group-header-description--MarginBlockStart);
|
|
440
446
|
color: var(--#{$form}__field-group-header-description--Color);
|
|
441
447
|
}
|
|
442
448
|
|
|
443
449
|
.#{$form}__field-group-header-actions {
|
|
444
|
-
margin-inline-start: var(--#{$form}__field-group-header-actions--
|
|
450
|
+
margin-inline-start: var(--#{$form}__field-group-header-actions--MarginInlineStart);
|
|
445
451
|
white-space: nowrap;
|
|
446
452
|
}
|
|
447
453
|
|
|
@@ -449,17 +455,17 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
449
455
|
display: grid;
|
|
450
456
|
grid-column: var(--#{$form}__field-group-body--GridColumn);
|
|
451
457
|
gap: var(--#{$form}__field-group-body--Gap);
|
|
452
|
-
padding-block-start: var(--#{$form}__field-group-body--
|
|
453
|
-
padding-block-end: var(--#{$form}__field-group-body--
|
|
458
|
+
padding-block-start: var(--#{$form}__field-group-body--PaddingBlockStart);
|
|
459
|
+
padding-block-end: var(--#{$form}__field-group-body--PaddingBlockEnd);
|
|
454
460
|
|
|
455
461
|
> .#{$form}__field-group {
|
|
456
462
|
&:first-child {
|
|
457
|
-
--#{$form}__field-group-toggle--
|
|
458
|
-
--#{$form}__field-group-header--
|
|
463
|
+
--#{$form}__field-group-toggle--PaddingBlockStart: 0;
|
|
464
|
+
--#{$form}__field-group-header--PaddingBlockStart: 0;
|
|
459
465
|
}
|
|
460
466
|
|
|
461
467
|
&:last-child {
|
|
462
|
-
margin-block-end: var(--#{$form}__field-group-body__field-group--last-child--
|
|
468
|
+
margin-block-end: var(--#{$form}__field-group-body__field-group--last-child--MarginBlockEnd);
|
|
463
469
|
}
|
|
464
470
|
}
|
|
465
471
|
}
|