@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,25 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
$pf-v5-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl", "2xl");
|
|
4
|
-
$pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../../sass-utilities' as *;
|
|
5
3
|
|
|
6
|
-
:
|
|
7
|
-
:
|
|
4
|
+
$pf-v6-c-drawer--breakpoint-map: build-breakpoint-map("base", "lg", "xl", "2xl");
|
|
5
|
+
$pf-v6-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl", "2xl");
|
|
6
|
+
$pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
7
|
+
|
|
8
|
+
@include pf-root($drawer) {
|
|
8
9
|
// Section
|
|
9
10
|
--#{$drawer}__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
10
11
|
--#{$drawer}__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
11
12
|
|
|
12
13
|
// Content
|
|
13
14
|
--#{$drawer}__content--FlexBasis: 100%;
|
|
14
|
-
--#{$drawer}__content--BackgroundColor:
|
|
15
|
+
--#{$drawer}__content--BackgroundColor: transparent;
|
|
16
|
+
--#{$drawer}__content--m-primary--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
15
17
|
--#{$drawer}__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
16
|
-
--#{$drawer}__content--ZIndex: var(--pf-t--global--
|
|
18
|
+
--#{$drawer}__content--ZIndex: var(--pf-t--global--z-index--xs);
|
|
17
19
|
|
|
18
20
|
// Panel
|
|
19
21
|
--#{$drawer}__panel--MinWidth: 50%; // change to __panel--md--MinWidth at breaking change
|
|
20
22
|
--#{$drawer}__panel--MaxHeight: auto;
|
|
21
|
-
--#{$drawer}__panel--ZIndex: var(--pf-t--global--
|
|
23
|
+
--#{$drawer}__panel--ZIndex: var(--pf-t--global--z-index--sm);
|
|
22
24
|
--#{$drawer}__panel--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
25
|
+
--#{$drawer}__panel--m-inline--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
23
26
|
--#{$drawer}__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
24
27
|
--#{$drawer}__panel--RowGap: var(--pf-t--global--spacer--sm);
|
|
25
28
|
--#{$drawer}__panel--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -43,7 +46,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
43
46
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--MinHeight: #{pf-size-prem(24px)};
|
|
44
47
|
|
|
45
48
|
// Drawer panel head
|
|
46
|
-
--#{$drawer}__head--ColumnGap: var(--pf-t--global--spacer--
|
|
49
|
+
--#{$drawer}__head--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
47
50
|
--#{$drawer}__head--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
48
51
|
--#{$drawer}__head--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
49
52
|
--#{$drawer}__head--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -54,28 +57,28 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
54
57
|
--#{$drawer}__description--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
55
58
|
|
|
56
59
|
// Drawer body padding
|
|
57
|
-
--#{$drawer}__body--
|
|
58
|
-
--#{$drawer}__body--
|
|
59
|
-
--#{$drawer}__body--
|
|
60
|
-
--#{$drawer}__body--
|
|
60
|
+
--#{$drawer}__body--PaddingBlockStart--base: var(--pf-t--global--spacer--md);
|
|
61
|
+
--#{$drawer}__body--PaddingInlineEnd--base: var(--pf-t--global--spacer--md);
|
|
62
|
+
--#{$drawer}__body--PaddingBlockEnd--base: var(--pf-t--global--spacer--md);
|
|
63
|
+
--#{$drawer}__body--PaddingInlineStart--base: var(--pf-t--global--spacer--md);
|
|
61
64
|
|
|
62
65
|
// Drawer content body
|
|
63
|
-
--#{$drawer}__content__body--
|
|
64
|
-
--#{$drawer}__content__body--
|
|
65
|
-
--#{$drawer}__content__body--
|
|
66
|
-
--#{$drawer}__content__body--
|
|
66
|
+
--#{$drawer}__content__body--PaddingBlockStart: 0;
|
|
67
|
+
--#{$drawer}__content__body--PaddingInlineEnd: 0;
|
|
68
|
+
--#{$drawer}__content__body--PaddingBlockEnd: 0;
|
|
69
|
+
--#{$drawer}__content__body--PaddingInlineStart: 0;
|
|
67
70
|
|
|
68
71
|
// Drawer panel body
|
|
69
|
-
--#{$drawer}__panel__body--
|
|
70
|
-
--#{$drawer}__panel__body--
|
|
71
|
-
--#{$drawer}__panel__body--
|
|
72
|
-
--#{$drawer}__panel__body--
|
|
72
|
+
--#{$drawer}__panel__body--PaddingBlockStart: var(--#{$drawer}__body--PaddingBlockStart--base);
|
|
73
|
+
--#{$drawer}__panel__body--PaddingInlineEnd: var(--#{$drawer}__body--PaddingInlineEnd--base);
|
|
74
|
+
--#{$drawer}__panel__body--PaddingBlockEnd: var(--#{$drawer}__body--PaddingBlockEnd--base);
|
|
75
|
+
--#{$drawer}__panel__body--PaddingInlineStart: var(--#{$drawer}__body--PaddingInlineStart--base);
|
|
73
76
|
|
|
74
77
|
// Modified body padding
|
|
75
|
-
--#{$drawer}__body--m-padding--
|
|
76
|
-
--#{$drawer}__body--m-padding--
|
|
77
|
-
--#{$drawer}__body--m-padding--
|
|
78
|
-
--#{$drawer}__body--m-padding--
|
|
78
|
+
--#{$drawer}__body--m-padding--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
79
|
+
--#{$drawer}__body--m-padding--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
80
|
+
--#{$drawer}__body--m-padding--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
81
|
+
--#{$drawer}__body--m-padding--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
79
82
|
|
|
80
83
|
// Splitter
|
|
81
84
|
--#{$drawer}__splitter--Height: #{pf-size-prem(9px)};
|
|
@@ -90,43 +93,43 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
90
93
|
// Splitter border
|
|
91
94
|
--#{$drawer}__splitter--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
92
95
|
--#{$drawer}__splitter--after--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
93
|
-
--#{$drawer}__splitter--after--
|
|
94
|
-
--#{$drawer}__splitter--after--
|
|
95
|
-
--#{$drawer}__splitter--after--
|
|
96
|
-
--#{$drawer}__splitter--after--
|
|
97
|
-
--#{$drawer}--m-panel-bottom__splitter--after--
|
|
98
|
-
--#{$drawer}--m-panel-bottom__splitter--after--
|
|
96
|
+
--#{$drawer}__splitter--after--BorderBlockStartWidth: 0;
|
|
97
|
+
--#{$drawer}__splitter--after--BorderInlineEndWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
98
|
+
--#{$drawer}__splitter--after--BorderBlockEndWidth: 0;
|
|
99
|
+
--#{$drawer}__splitter--after--BorderInlineStartWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
100
|
+
--#{$drawer}--m-panel-bottom__splitter--after--BorderBlockStartWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
101
|
+
--#{$drawer}--m-panel-bottom__splitter--after--BorderBlockEndWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
99
102
|
--#{$drawer}--m-inline__splitter--m-vertical--Width: #{pf-size-prem(10px)};
|
|
100
|
-
--#{$drawer}--m-inline__splitter-handle--
|
|
103
|
+
--#{$drawer}--m-inline__splitter-handle--InsetInlineStart: 50%;
|
|
101
104
|
--#{$drawer}--m-inline--m-panel-bottom__splitter--Height: #{pf-size-prem(10px)};
|
|
102
|
-
--#{$drawer}--m-inline--m-panel-bottom__splitter-handle--
|
|
103
|
-
--#{$drawer}--m-inline--m-panel-bottom__splitter--after--
|
|
105
|
+
--#{$drawer}--m-inline--m-panel-bottom__splitter-handle--InsetBlockStart: 50%;
|
|
106
|
+
--#{$drawer}--m-inline--m-panel-bottom__splitter--after--BorderBlockStartWidth: var(--#{$drawer}__splitter--after--border-width--base);
|
|
104
107
|
|
|
105
108
|
// Splitter handle
|
|
106
|
-
--#{$drawer}__splitter-handle--
|
|
107
|
-
--#{$drawer}__splitter-handle--
|
|
108
|
-
--#{$drawer}--m-panel-left__splitter-handle--
|
|
109
|
-
--#{$drawer}--m-panel-bottom__splitter-handle--
|
|
109
|
+
--#{$drawer}__splitter-handle--InsetBlockStart: 50%;
|
|
110
|
+
--#{$drawer}__splitter-handle--InsetInlineStart: calc(50% - var(--#{$drawer}__splitter--after--border-width--base));
|
|
111
|
+
--#{$drawer}--m-panel-left__splitter-handle--InsetInlineStart: 50%;
|
|
112
|
+
--#{$drawer}--m-panel-bottom__splitter-handle--InsetBlockStart: calc(50% - var(--#{$drawer}__splitter--after--border-width--base));
|
|
110
113
|
|
|
111
114
|
// Splitter handle line
|
|
112
115
|
--#{$drawer}__splitter-handle--after--BorderColor: var(--pf-t--global--border--color--default);
|
|
113
|
-
--#{$drawer}__splitter-handle--after--
|
|
114
|
-
--#{$drawer}__splitter-handle--after--
|
|
115
|
-
--#{$drawer}__splitter-handle--after--
|
|
116
|
-
--#{$drawer}__splitter-handle--after--
|
|
116
|
+
--#{$drawer}__splitter-handle--after--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
117
|
+
--#{$drawer}__splitter-handle--after--BorderInlineEndWidth: 0;
|
|
118
|
+
--#{$drawer}__splitter-handle--after--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
119
|
+
--#{$drawer}__splitter-handle--after--BorderInlineStartWidth: 0;
|
|
117
120
|
--#{$drawer}__splitter--hover__splitter-handle--after--BorderColor: var(--pf-t--global--border--color--hover);
|
|
118
|
-
--#{$drawer}__splitter--m-vertical__splitter-handle--after--
|
|
119
|
-
--#{$drawer}__splitter--m-vertical__splitter-handle--after--
|
|
120
|
-
--#{$drawer}__splitter--m-vertical__splitter-handle--after--
|
|
121
|
-
--#{$drawer}__splitter--m-vertical__splitter-handle--after--
|
|
121
|
+
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderBlockStartWidth: 0;
|
|
122
|
+
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderInlineEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
123
|
+
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderBlockEndWidth: 0;
|
|
124
|
+
--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderInlineStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
122
125
|
--#{$drawer}__splitter-handle--after--Width: #{pf-size-prem(12px)};
|
|
123
126
|
--#{$drawer}__splitter-handle--after--Height: #{pf-size-prem(4px)};
|
|
124
127
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--Width: #{pf-size-prem(4px)};
|
|
125
128
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--Height: #{pf-size-prem(12px)};
|
|
126
129
|
|
|
127
|
-
@media screen and (min-width: $pf-
|
|
130
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
128
131
|
--#{$drawer}__panel--MinWidth: var(--#{$drawer}__panel--xl--MinWidth);
|
|
129
|
-
|
|
132
|
+
|
|
130
133
|
&.pf-m-panel-bottom {
|
|
131
134
|
--#{$drawer}__panel--MinWidth: auto;
|
|
132
135
|
--#{$drawer}__panel--MinHeight: var(--#{$drawer}--m-panel-bottom__panel--xl--MinHeight);
|
|
@@ -134,33 +137,33 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
// Actions
|
|
137
|
-
--#{$drawer}__actions--
|
|
138
|
-
--#{$drawer}__actions--
|
|
140
|
+
--#{$drawer}__actions--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--compact) * -1.5);
|
|
141
|
+
--#{$drawer}__actions--MarginInlineEnd: calc(var(--pf-t--global--spacer--control--horizontal--compact) * -1.5);
|
|
139
142
|
|
|
140
143
|
// Box shadow
|
|
141
144
|
--#{$drawer}__panel--BoxShadow: none;
|
|
142
|
-
--#{$drawer}--m-expanded--m-panel-bottom__panel--BoxShadow: var(--pf-t--global--box-shadow--
|
|
145
|
+
--#{$drawer}--m-expanded--m-panel-bottom__panel--BoxShadow: var(--pf-t--global--box-shadow--md--top);
|
|
143
146
|
|
|
144
147
|
// Divider
|
|
145
148
|
--#{$drawer}__panel--after--Width: var(--pf-t--global--border--width--divider--default);
|
|
146
149
|
--#{$drawer}--m-panel-bottom__panel--after--Height: var(--pf-t--global--border--width--divider--default);
|
|
147
150
|
--#{$drawer}__panel--after--BackgroundColor: transparent;
|
|
148
151
|
--#{$drawer}--m-inline--m-expanded__panel--after--BackgroundColor: var(--pf-t--global--border--color--default);
|
|
149
|
-
--#{$drawer}--m-inline__panel--
|
|
150
|
-
--#{$drawer}--m-panel-left--m-inline__panel--
|
|
151
|
-
--#{$drawer}--m-panel-bottom--m-inline__panel--
|
|
152
|
+
--#{$drawer}--m-inline__panel--PaddingInlineStart: var(--#{$drawer}__panel--after--Width);
|
|
153
|
+
--#{$drawer}--m-panel-left--m-inline__panel--PaddingInlineEnd: var(--#{$drawer}__panel--after--Width);
|
|
154
|
+
--#{$drawer}--m-panel-bottom--m-inline__panel--PaddingBlockStart: var(--#{$drawer}__panel--after--Width);
|
|
152
155
|
}
|
|
153
156
|
|
|
154
157
|
.#{$drawer} {
|
|
155
|
-
@include pf-
|
|
158
|
+
@include pf-v6-bidirectional-style(
|
|
156
159
|
$prop: --#{$drawer}--m-expanded__panel--BoxShadow,
|
|
157
|
-
$ltr-val: var(--pf-t--global--box-shadow--
|
|
158
|
-
$rtl-val: var(--pf-t--global--box-shadow--
|
|
159
|
-
);
|
|
160
|
-
@include pf-
|
|
160
|
+
$ltr-val: var(--pf-t--global--box-shadow--md--left),
|
|
161
|
+
$rtl-val: var(--pf-t--global--box-shadow--md--right)
|
|
162
|
+
);
|
|
163
|
+
@include pf-v6-bidirectional-style(
|
|
161
164
|
$prop: --#{$drawer}--m-expanded--m-panel-left__panel--BoxShadow,
|
|
162
|
-
$ltr-val: var(
|
|
163
|
-
$rtl-val: var(
|
|
165
|
+
$ltr-val: var(--pf-t--global--box-shadow--md--right),
|
|
166
|
+
$rtl-val: var(--pf-t--global--box-shadow--md--left)
|
|
164
167
|
);
|
|
165
168
|
|
|
166
169
|
display: flex;
|
|
@@ -170,8 +173,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
170
173
|
|
|
171
174
|
&.pf-m-inline,
|
|
172
175
|
&.pf-m-static {
|
|
176
|
+
--#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-inline--BackgroundColor);
|
|
177
|
+
|
|
173
178
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
174
|
-
padding-inline-start: var(--#{$drawer}--m-inline__panel--
|
|
179
|
+
padding-inline-start: var(--#{$drawer}--m-inline__panel--PaddingInlineStart);
|
|
175
180
|
}
|
|
176
181
|
}
|
|
177
182
|
|
|
@@ -180,11 +185,11 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
180
185
|
order: 0;
|
|
181
186
|
margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
182
187
|
|
|
183
|
-
@include pf-
|
|
188
|
+
@include pf-v6-bidirectional-style(
|
|
184
189
|
$prop: transform,
|
|
185
190
|
$ltr-val: translateX(-100%),
|
|
186
|
-
$rtl-val: translateX(#{pf-
|
|
187
|
-
);
|
|
191
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
192
|
+
);
|
|
188
193
|
}
|
|
189
194
|
|
|
190
195
|
> .#{$drawer}__content {
|
|
@@ -200,11 +205,11 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
200
205
|
// stylelint-disable selector-max-class
|
|
201
206
|
&.pf-m-expanded {
|
|
202
207
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
203
|
-
@include pf-
|
|
208
|
+
@include pf-v6-bidirectional-style(
|
|
204
209
|
$prop: transform,
|
|
205
210
|
$ltr-val: translateX(-100%),
|
|
206
|
-
$rtl-val: translateX(#{pf-
|
|
207
|
-
);
|
|
211
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
212
|
+
);
|
|
208
213
|
}
|
|
209
214
|
|
|
210
215
|
&.pf-m-panel-left > .#{$drawer}__main > .#{$drawer}__panel {
|
|
@@ -265,20 +270,20 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
265
270
|
flex-basis: var(--#{$drawer}__content--FlexBasis);
|
|
266
271
|
order: 0;
|
|
267
272
|
background-color: var(--#{$drawer}__content--BackgroundColor);
|
|
268
|
-
|
|
269
|
-
&.pf-m-
|
|
270
|
-
--#{$drawer}__content--BackgroundColor: var(--#{$drawer}__content--m-
|
|
273
|
+
|
|
274
|
+
&.pf-m-primary {
|
|
275
|
+
--#{$drawer}__content--BackgroundColor: var(--#{$drawer}__content--m-primary--BackgroundColor);
|
|
271
276
|
}
|
|
272
277
|
|
|
273
|
-
&.pf-m-
|
|
274
|
-
--#{$drawer}__content--BackgroundColor:
|
|
278
|
+
&.pf-m-secondary {
|
|
279
|
+
--#{$drawer}__content--BackgroundColor: var(--#{$drawer}__content--m-secondary--BackgroundColor);
|
|
275
280
|
}
|
|
276
281
|
|
|
277
282
|
> .#{$drawer}__body {
|
|
278
|
-
padding-block-start: var(--#{$drawer}__content__body--
|
|
279
|
-
padding-block-end: var(--#{$drawer}__content__body--
|
|
280
|
-
padding-inline-start: var(--#{$drawer}__content__body--
|
|
281
|
-
padding-inline-end: var(--#{$drawer}__content__body--
|
|
283
|
+
padding-block-start: var(--#{$drawer}__content__body--PaddingBlockStart);
|
|
284
|
+
padding-block-end: var(--#{$drawer}__content__body--PaddingBlockEnd);
|
|
285
|
+
padding-inline-start: var(--#{$drawer}__content__body--PaddingInlineStart);
|
|
286
|
+
padding-inline-end: var(--#{$drawer}__content__body--PaddingInlineEnd);
|
|
282
287
|
}
|
|
283
288
|
}
|
|
284
289
|
|
|
@@ -320,7 +325,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
320
325
|
--#{$drawer}__panel--BackgroundColor: transparent;
|
|
321
326
|
}
|
|
322
327
|
|
|
323
|
-
@media screen and (min-width: $pf-
|
|
328
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
324
329
|
--#{$drawer}__panel--FlexBasis:
|
|
325
330
|
max(
|
|
326
331
|
var(--#{$drawer}__panel--md--FlexBasis--min),
|
|
@@ -328,7 +333,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
328
333
|
);
|
|
329
334
|
}
|
|
330
335
|
|
|
331
|
-
@media screen and (min-width: $pf-
|
|
336
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
332
337
|
--#{$drawer}__panel--md--FlexBasis: var(--#{$drawer}__panel--xl--FlexBasis);
|
|
333
338
|
|
|
334
339
|
.#{$drawer}.pf-m-panel-bottom & {
|
|
@@ -340,10 +345,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
340
345
|
.#{$drawer}__panel,
|
|
341
346
|
.#{$drawer}__panel-main {
|
|
342
347
|
> .#{$drawer}__body {
|
|
343
|
-
padding-block-start: var(--#{$drawer}__panel__body--
|
|
344
|
-
padding-block-end: var(--#{$drawer}__panel__body--
|
|
345
|
-
padding-inline-start: var(--#{$drawer}__panel__body--
|
|
346
|
-
padding-inline-end: var(--#{$drawer}__panel__body--
|
|
348
|
+
padding-block-start: var(--#{$drawer}__panel__body--PaddingBlockStart);
|
|
349
|
+
padding-block-end: var(--#{$drawer}__panel__body--PaddingBlockEnd);
|
|
350
|
+
padding-inline-start: var(--#{$drawer}__panel__body--PaddingInlineStart);
|
|
351
|
+
padding-inline-end: var(--#{$drawer}__panel__body--PaddingInlineEnd);
|
|
347
352
|
}
|
|
348
353
|
}
|
|
349
354
|
|
|
@@ -354,7 +359,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
354
359
|
}
|
|
355
360
|
|
|
356
361
|
// Remove tab focus
|
|
357
|
-
@include pf-
|
|
362
|
+
@include pf-v6-animate-remove-tab-focus(".#{$drawer}__panel", var(--#{$drawer}__panel--TransitionDuration));
|
|
358
363
|
|
|
359
364
|
// Panel head
|
|
360
365
|
.#{$drawer}__head {
|
|
@@ -378,8 +383,8 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
378
383
|
grid-row: 1;
|
|
379
384
|
grid-column: 2;
|
|
380
385
|
align-self: baseline;
|
|
381
|
-
margin-block-start: var(--#{$drawer}__actions--
|
|
382
|
-
margin-inline-end: var(--#{$drawer}__actions--
|
|
386
|
+
margin-block-start: var(--#{$drawer}__actions--MarginBlockStart);
|
|
387
|
+
margin-inline-end: var(--#{$drawer}__actions--MarginInlineEnd);
|
|
383
388
|
}
|
|
384
389
|
|
|
385
390
|
// Drawer panel description
|
|
@@ -397,10 +402,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
397
402
|
|
|
398
403
|
// Padding
|
|
399
404
|
&.pf-m-padding {
|
|
400
|
-
padding-block-start: var(--#{$drawer}__body--m-padding--
|
|
401
|
-
padding-block-end: var(--#{$drawer}__body--m-padding--
|
|
402
|
-
padding-inline-start: var(--#{$drawer}__body--m-padding--
|
|
403
|
-
padding-inline-end: var(--#{$drawer}__body--m-padding--
|
|
405
|
+
padding-block-start: var(--#{$drawer}__body--m-padding--PaddingBlockStart);
|
|
406
|
+
padding-block-end: var(--#{$drawer}__body--m-padding--PaddingBlockEnd);
|
|
407
|
+
padding-inline-start: var(--#{$drawer}__body--m-padding--PaddingInlineStart);
|
|
408
|
+
padding-inline-end: var(--#{$drawer}__body--m-padding--PaddingInlineEnd);
|
|
404
409
|
}
|
|
405
410
|
|
|
406
411
|
&:not(.pf-m-no-padding) + * {
|
|
@@ -431,10 +436,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
431
436
|
--#{$drawer}__splitter--Cursor: var(--#{$drawer}__splitter--m-vertical--Cursor);
|
|
432
437
|
--#{$drawer}__splitter-handle--after--Width: var(--#{$drawer}__splitter--m-vertical__splitter-handle--after--Width);
|
|
433
438
|
--#{$drawer}__splitter-handle--after--Height: var(--#{$drawer}__splitter--m-vertical__splitter-handle--after--Height);
|
|
434
|
-
--#{$drawer}__splitter-handle--after--
|
|
435
|
-
--#{$drawer}__splitter-handle--after--
|
|
436
|
-
--#{$drawer}__splitter-handle--after--
|
|
437
|
-
--#{$drawer}__splitter-handle--after--
|
|
439
|
+
--#{$drawer}__splitter-handle--after--BorderBlockStartWidth: var(--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderBlockStartWidth);
|
|
440
|
+
--#{$drawer}__splitter-handle--after--BorderInlineEndWidth: var(--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderInlineEndWidth);
|
|
441
|
+
--#{$drawer}__splitter-handle--after--BorderBlockEndWidth: var(--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderBlockEndWidth);
|
|
442
|
+
--#{$drawer}__splitter-handle--after--BorderInlineStartWidth: var(--#{$drawer}__splitter--m-vertical__splitter-handle--after--BorderInlineStartWidth);
|
|
438
443
|
}
|
|
439
444
|
|
|
440
445
|
&:hover,
|
|
@@ -450,23 +455,23 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
450
455
|
inset-inline-end: 0;
|
|
451
456
|
content: "";
|
|
452
457
|
border: solid var(--#{$drawer}__splitter--after--BorderColor);
|
|
453
|
-
border-block-start-width: var(--#{$drawer}__splitter--after--
|
|
454
|
-
border-block-end-width: var(--#{$drawer}__splitter--after--
|
|
455
|
-
border-inline-start-width: var(--#{$drawer}__splitter--after--
|
|
456
|
-
border-inline-end-width: var(--#{$drawer}__splitter--after--
|
|
458
|
+
border-block-start-width: var(--#{$drawer}__splitter--after--BorderBlockStartWidth);
|
|
459
|
+
border-block-end-width: var(--#{$drawer}__splitter--after--BorderBlockEndWidth);
|
|
460
|
+
border-inline-start-width: var(--#{$drawer}__splitter--after--BorderInlineStartWidth);
|
|
461
|
+
border-inline-end-width: var(--#{$drawer}__splitter--after--BorderInlineEndWidth);
|
|
457
462
|
}
|
|
458
463
|
}
|
|
459
464
|
|
|
460
465
|
.#{$drawer}__splitter-handle {
|
|
461
466
|
position: absolute;
|
|
462
|
-
inset-block-start: var(--#{$drawer}__splitter-handle--
|
|
463
|
-
inset-inline-start: var(--#{$drawer}__splitter-handle--
|
|
467
|
+
inset-block-start: var(--#{$drawer}__splitter-handle--InsetBlockStart);
|
|
468
|
+
inset-inline-start: var(--#{$drawer}__splitter-handle--InsetInlineStart);
|
|
464
469
|
|
|
465
|
-
@include pf-
|
|
470
|
+
@include pf-v6-bidirectional-style(
|
|
466
471
|
$prop: transform,
|
|
467
472
|
$ltr-val: translate(-50%, -50%),
|
|
468
|
-
$rtl-val: translate(#{pf-
|
|
469
|
-
);
|
|
473
|
+
$rtl-val: translate(#{pf-v6-calc-inverse(-50%)}, -50%),
|
|
474
|
+
);
|
|
470
475
|
|
|
471
476
|
|
|
472
477
|
&::after {
|
|
@@ -476,15 +481,15 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
476
481
|
content: "";
|
|
477
482
|
border-color: var(--#{$drawer}__splitter-handle--after--BorderColor);
|
|
478
483
|
border-style: solid;
|
|
479
|
-
border-block-start-width: var(--#{$drawer}__splitter-handle--after--
|
|
480
|
-
border-block-end-width: var(--#{$drawer}__splitter-handle--after--
|
|
481
|
-
border-inline-start-width: var(--#{$drawer}__splitter-handle--after--
|
|
482
|
-
border-inline-end-width: var(--#{$drawer}__splitter-handle--after--
|
|
484
|
+
border-block-start-width: var(--#{$drawer}__splitter-handle--after--BorderBlockStartWidth);
|
|
485
|
+
border-block-end-width: var(--#{$drawer}__splitter-handle--after--BorderBlockEndWidth);
|
|
486
|
+
border-inline-start-width: var(--#{$drawer}__splitter-handle--after--BorderInlineStartWidth);
|
|
487
|
+
border-inline-end-width: var(--#{$drawer}__splitter-handle--after--BorderInlineEndWidth);
|
|
483
488
|
}
|
|
484
489
|
}
|
|
485
490
|
|
|
486
491
|
// Layout modifications happen after md breakpoint
|
|
487
|
-
@media screen and (min-width: $pf-
|
|
492
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
488
493
|
// Default
|
|
489
494
|
.#{$drawer} {
|
|
490
495
|
min-width: var(--#{$drawer}__panel--MinWidth);
|
|
@@ -526,7 +531,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
526
531
|
&.pf-m-static {
|
|
527
532
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
528
533
|
padding-inline-start: 0;
|
|
529
|
-
padding-inline-end: var(--#{$drawer}--m-panel-left--m-inline__panel--
|
|
534
|
+
padding-inline-end: var(--#{$drawer}--m-panel-left--m-inline__panel--PaddingInlineEnd);
|
|
530
535
|
}
|
|
531
536
|
}
|
|
532
537
|
|
|
@@ -541,7 +546,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
541
546
|
|
|
542
547
|
> .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
|
|
543
548
|
> .#{$drawer}__splitter {
|
|
544
|
-
--#{$drawer}__splitter-handle--
|
|
549
|
+
--#{$drawer}__splitter-handle--InsetInlineStart: var(--#{$drawer}--m-panel-left__splitter-handle--InsetInlineStart);
|
|
545
550
|
|
|
546
551
|
order: 1;
|
|
547
552
|
}
|
|
@@ -559,7 +564,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
559
564
|
&.pf-m-inline,
|
|
560
565
|
&.pf-m-static {
|
|
561
566
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
562
|
-
padding-block-start: var(--#{$drawer}--m-panel-bottom--m-inline__panel--
|
|
567
|
+
padding-block-start: var(--#{$drawer}--m-panel-bottom--m-inline__panel--PaddingBlockStart);
|
|
563
568
|
padding-inline-start: 0;
|
|
564
569
|
}
|
|
565
570
|
}
|
|
@@ -579,11 +584,11 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
579
584
|
min-height: var(--#{$drawer}--m-panel-bottom__panel--m-resizable--MinHeight);
|
|
580
585
|
|
|
581
586
|
> .#{$drawer}__splitter {
|
|
582
|
-
--#{$drawer}__splitter-handle--
|
|
583
|
-
--#{$drawer}__splitter--after--
|
|
584
|
-
--#{$drawer}__splitter--after--
|
|
585
|
-
--#{$drawer}__splitter--after--
|
|
586
|
-
--#{$drawer}__splitter--after--
|
|
587
|
+
--#{$drawer}__splitter-handle--InsetBlockStart: var(--#{$drawer}--m-panel-bottom__splitter-handle--InsetBlockStart);
|
|
588
|
+
--#{$drawer}__splitter--after--BorderBlockStartWidth: var(--#{$drawer}--m-panel-bottom__splitter--after--BorderBlockStartWidth);
|
|
589
|
+
--#{$drawer}__splitter--after--BorderInlineEndWidth: 0;
|
|
590
|
+
--#{$drawer}__splitter--after--BorderBlockEndWidth: var(--#{$drawer}--m-panel-bottom__splitter--after--BorderBlockEndWidth);
|
|
591
|
+
--#{$drawer}__splitter--after--BorderInlineStartWidth: 0;
|
|
587
592
|
}
|
|
588
593
|
}
|
|
589
594
|
}
|
|
@@ -592,7 +597,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
592
597
|
> .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
|
|
593
598
|
> .#{$drawer}__splitter {
|
|
594
599
|
--#{$drawer}__splitter--m-vertical--Width: var(--#{$drawer}--m-inline__splitter--m-vertical--Width);
|
|
595
|
-
--#{$drawer}__splitter-handle--
|
|
600
|
+
--#{$drawer}__splitter-handle--InsetInlineStart: var(--#{$drawer}--m-inline__splitter-handle--InsetInlineStart);
|
|
596
601
|
|
|
597
602
|
outline-offset: var(--#{$drawer}--m-inline__splitter--focus--OutlineOffset);
|
|
598
603
|
}
|
|
@@ -602,10 +607,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
602
607
|
> .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
|
|
603
608
|
> .#{$drawer}__splitter {
|
|
604
609
|
--#{$drawer}__splitter--Height: var(--#{$drawer}--m-inline--m-panel-bottom__splitter--Height);
|
|
605
|
-
--#{$drawer}__splitter-handle--
|
|
606
|
-
--#{$drawer}__splitter--after--
|
|
607
|
-
--#{$drawer}__splitter--after--
|
|
608
|
-
--#{$drawer}__splitter--after--
|
|
610
|
+
--#{$drawer}__splitter-handle--InsetBlockStart: var(--#{$drawer}--m-inline--m-panel-bottom__splitter-handle--InsetBlockStart);
|
|
611
|
+
--#{$drawer}__splitter--after--BorderBlockStartWidth: var(--#{$drawer}--m-inline--m-panel-bottom__splitter--after--BorderBlockStartWidth);
|
|
612
|
+
--#{$drawer}__splitter--after--BorderInlineEndWidth: 0;
|
|
613
|
+
--#{$drawer}__splitter--after--BorderInlineStartWidth: 0;
|
|
609
614
|
}
|
|
610
615
|
}
|
|
611
616
|
}
|
|
@@ -624,31 +629,31 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
624
629
|
}
|
|
625
630
|
|
|
626
631
|
// Responsive width modifiers
|
|
627
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
632
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map--width {
|
|
628
633
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
629
634
|
|
|
630
635
|
@if $breakpoint == "base" {
|
|
631
636
|
$breakpoint: "md";
|
|
632
637
|
}
|
|
633
638
|
|
|
634
|
-
@include pf-
|
|
635
|
-
@each $width-value in $pf-
|
|
639
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
640
|
+
@each $width-value in $pf-v6-c-drawer__panel--list--width {
|
|
636
641
|
.#{$drawer}__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
|
|
637
|
-
--#{$drawer}__panel--md--FlexBasis: #{percentage(div($width-value, 100))};
|
|
642
|
+
--#{$drawer}__panel--md--FlexBasis: #{percentage(math.div($width-value, 100))};
|
|
638
643
|
}
|
|
639
644
|
}
|
|
640
645
|
}
|
|
641
646
|
}
|
|
642
647
|
|
|
643
648
|
// Responsive modifiers
|
|
644
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
649
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map {
|
|
645
650
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
646
651
|
|
|
647
652
|
@if $breakpoint == "base" {
|
|
648
653
|
$breakpoint: "md";
|
|
649
654
|
}
|
|
650
655
|
|
|
651
|
-
@include pf-
|
|
656
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
652
657
|
// Drawer and inline
|
|
653
658
|
.#{$drawer}.pf-m-inline#{$breakpoint-name},
|
|
654
659
|
.#{$drawer}.pf-m-static#{$breakpoint-name} {
|
|
@@ -674,11 +679,11 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
674
679
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
675
680
|
margin-inline-start: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
676
681
|
|
|
677
|
-
@include pf-
|
|
682
|
+
@include pf-v6-bidirectional-style(
|
|
678
683
|
$prop: transform,
|
|
679
684
|
$ltr-val: translateX(100%),
|
|
680
|
-
$rtl-val: translateX(#{pf-
|
|
681
|
-
);
|
|
685
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(100%)}),
|
|
686
|
+
);
|
|
682
687
|
}
|
|
683
688
|
|
|
684
689
|
// stylelint-disable selector-max-class, selector-max-combinators, selector-max-compound-selectors
|
|
@@ -698,11 +703,11 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
698
703
|
margin-inline-start: 0;
|
|
699
704
|
margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
700
705
|
|
|
701
|
-
@include pf-
|
|
706
|
+
@include pf-v6-bidirectional-style(
|
|
702
707
|
$prop: transform,
|
|
703
708
|
$ltr-val: translateX(-100%),
|
|
704
|
-
$rtl-val: translateX(#{pf-
|
|
705
|
-
);
|
|
709
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
710
|
+
);
|
|
706
711
|
}
|
|
707
712
|
|
|
708
713
|
// Inline, expanded, panel left
|