@patternfly/patternfly 6.0.0-alpha.1 → 6.0.0-alpha.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 +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +21 -0
- package/base/_globals.scss +14 -14
- package/base/_variables.scss +12 -0
- package/base/patternfly-common.css +16 -2
- package/base/patternfly-globals.css +13 -14
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +865 -0
- package/base/tokens/_tokens-dark.scss +331 -0
- package/base/tokens/_tokens-default.scss +379 -0
- package/base/tokens/_tokens-font.scss +96 -0
- package/base/tokens/_tokens-palette.scss +75 -0
- package/components/AboutModalBox/about-modal-box.css +23 -12
- package/components/AboutModalBox/about-modal-box.scss +25 -12
- package/components/Accordion/accordion.css +33 -20
- package/components/Accordion/accordion.scss +32 -20
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +167 -195
- package/components/Button/button.scss +187 -157
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +100 -97
- package/components/Content/content.scss +101 -98
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -61
- package/components/Drawer/drawer.scss +92 -43
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +68 -125
- package/components/Masthead/masthead.scss +123 -153
- package/components/Menu/menu.css +79 -65
- package/components/Menu/menu.scss +80 -68
- package/components/MenuToggle/menu-toggle.css +89 -99
- package/components/MenuToggle/menu-toggle.scss +92 -108
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +203 -135
- package/components/Page/page.scss +149 -108
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +72 -40
- package/components/Popover/popover.scss +95 -75
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +3 -3
- package/components/Radio/radio.scss +3 -3
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +181 -158
- package/components/Table/table.scss +181 -164
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +48 -43
- package/components/Toolbar/toolbar.scss +29 -23
- package/components/Tooltip/tooltip.css +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +15 -15
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +120 -30
- package/docs/components/Masthead/examples/masthead.md +7 -54
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +90 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +102 -81
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -25
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +525 -431
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +83 -8
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +107 -28
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
- package/docs/demos/DataList/examples/DataList.md +340 -34
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +742 -67
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +415 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +741 -180
- package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
- package/docs/demos/Table/examples/Table.md +1581 -372
- package/docs/demos/Tabs/examples/Tabs.md +526 -69
- package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +210 -60
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +886 -3
- package/patternfly-base-no-globals.css +886 -3
- package/patternfly-base-theme-dark-unversioned.css +899 -17
- package/patternfly-base.css +899 -17
- package/patternfly-no-globals.css +4239 -2698
- package/patternfly-theme-dark-unversioned.css +4252 -2712
- package/patternfly.css +4252 -2712
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -5,9 +5,8 @@ $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg",
|
|
|
5
5
|
$pf-v5-c-toolbar--spacer-map: build-spacer-map("none", "sm", "md", "lg");
|
|
6
6
|
$pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
:root {
|
|
9
9
|
--#{$toolbar}--AlignItems--base: flex-start;
|
|
10
|
-
--#{$toolbar}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
|
|
11
10
|
--#{$toolbar}--RowGap--base: var(--#{$pf-global}--spacer--lg); // row-gap between toolbar content elements
|
|
12
11
|
--#{$toolbar}--RowGap: var(--#{$toolbar}--RowGap--base);
|
|
13
12
|
--#{$toolbar}--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
@@ -138,7 +137,9 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
138
137
|
--#{$toolbar}--m-full-height--PaddingBottom: 0;
|
|
139
138
|
--#{$toolbar}--m-full-height__item--Display: flex;
|
|
140
139
|
--#{$toolbar}--m-full-height__item--AlignItems: center;
|
|
140
|
+
}
|
|
141
141
|
|
|
142
|
+
.#{$toolbar} {
|
|
142
143
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
143
144
|
--#{$toolbar}__expandable-content--PaddingRight: var(--#{$toolbar}__expandable-content--lg--PaddingRight);
|
|
144
145
|
--#{$toolbar}__expandable-content--PaddingBottom: var(--#{$toolbar}__expandable-content--lg--PaddingBottom);
|
|
@@ -152,8 +153,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
152
153
|
position: relative;
|
|
153
154
|
display: grid;
|
|
154
155
|
row-gap: var(--#{$toolbar}--RowGap);
|
|
155
|
-
padding-
|
|
156
|
-
padding-
|
|
156
|
+
padding-block-start: var(--#{$toolbar}--PaddingTop);
|
|
157
|
+
padding-block-end: var(--#{$toolbar}--PaddingBottom);
|
|
157
158
|
background-color: var(--#{$toolbar}--BackgroundColor);
|
|
158
159
|
|
|
159
160
|
&.pf-m-page-insets {
|
|
@@ -163,7 +164,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
163
164
|
|
|
164
165
|
&.pf-m-sticky {
|
|
165
166
|
position: sticky;
|
|
166
|
-
|
|
167
|
+
inset-block-start: 0;
|
|
167
168
|
z-index: var(--#{$toolbar}--m-sticky--ZIndex);
|
|
168
169
|
box-shadow: var(--#{$toolbar}--m-sticky--BoxShadow);
|
|
169
170
|
}
|
|
@@ -217,7 +218,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
> .#{$divider}.pf-m-vertical {
|
|
220
|
-
margin-
|
|
221
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
221
222
|
|
|
222
223
|
&:last-child {
|
|
223
224
|
--#{$toolbar}--spacer: 0;
|
|
@@ -258,7 +259,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
258
259
|
row-gap: var(--#{$toolbar}__group--RowGap);
|
|
259
260
|
align-items: var(--#{$toolbar}__group--AlignItems);
|
|
260
261
|
align-self: var(--#{$toolbar}__group--AlignSelf);
|
|
261
|
-
margin-
|
|
262
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
262
263
|
|
|
263
264
|
// Button group
|
|
264
265
|
&.pf-m-button-group {
|
|
@@ -287,7 +288,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
287
288
|
}
|
|
288
289
|
|
|
289
290
|
> * + * {
|
|
290
|
-
margin-
|
|
291
|
+
margin-inline-start: -1px;
|
|
291
292
|
}
|
|
292
293
|
}
|
|
293
294
|
|
|
@@ -323,7 +324,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
323
324
|
align-self: var(--#{$toolbar}__item--AlignSelf);
|
|
324
325
|
width: var(--#{$toolbar}__item--Width--base);
|
|
325
326
|
min-width: var(--#{$toolbar}__item--MinWidth--base);
|
|
326
|
-
margin-
|
|
327
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
327
328
|
|
|
328
329
|
&.pf-m-align-items-start {
|
|
329
330
|
align-items: flex-start;
|
|
@@ -384,7 +385,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
384
385
|
|
|
385
386
|
// Total items
|
|
386
387
|
&.pf-m-pagination {
|
|
387
|
-
margin-
|
|
388
|
+
margin-inline-start: auto;
|
|
388
389
|
|
|
389
390
|
.#{$pagination} {
|
|
390
391
|
flex-wrap: nowrap;
|
|
@@ -409,6 +410,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
409
410
|
display: inline-block;
|
|
410
411
|
transition: var(--#{$toolbar}__expand-all-icon--Transition);
|
|
411
412
|
transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
|
|
413
|
+
|
|
414
|
+
// @include pf-v5-mirror-inline-on-rtl; - TODO: mirror this icon in breaking change
|
|
412
415
|
}
|
|
413
416
|
|
|
414
417
|
.#{$toolbar}__content,
|
|
@@ -423,8 +426,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
423
426
|
position: relative;
|
|
424
427
|
row-gap: var(--#{$toolbar}__content--RowGap);
|
|
425
428
|
align-items: var(--#{$toolbar}__content--AlignItems);
|
|
426
|
-
padding-
|
|
427
|
-
padding-
|
|
429
|
+
padding-inline-start: var(--#{$toolbar}__content--PaddingLeft);
|
|
430
|
+
padding-inline-end: var(--#{$toolbar}__content--PaddingRight);
|
|
428
431
|
}
|
|
429
432
|
|
|
430
433
|
// Content section
|
|
@@ -451,13 +454,16 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
451
454
|
// Expandable content
|
|
452
455
|
.#{$toolbar}__expandable-content {
|
|
453
456
|
position: absolute;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
+
inset-block-start: calc(100% + var(--#{$toolbar}__content--RowGap));
|
|
458
|
+
inset-inline-start: 0;
|
|
459
|
+
inset-inline-end: 0;
|
|
457
460
|
z-index: var(--#{$toolbar}__expandable-content--ZIndex);
|
|
458
461
|
display: none;
|
|
459
462
|
width: 100%;
|
|
460
|
-
padding: var(--#{$toolbar}__expandable-content--PaddingTop)
|
|
463
|
+
padding-block-start: var(--#{$toolbar}__expandable-content--PaddingTop);
|
|
464
|
+
padding-block-end: var(--#{$toolbar}__expandable-content--PaddingBottom);
|
|
465
|
+
padding-inline-start: var(--#{$toolbar}__expandable-content--PaddingLeft);
|
|
466
|
+
padding-inline-end: var(--#{$toolbar}__expandable-content--PaddingRight);
|
|
461
467
|
background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
|
|
462
468
|
box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
|
|
463
469
|
|
|
@@ -482,7 +488,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
482
488
|
}
|
|
483
489
|
|
|
484
490
|
.#{$toolbar}__item.pf-m-label {
|
|
485
|
-
margin-
|
|
491
|
+
margin-block-end: var(--#{$toolbar}__expandable-content__item--m-label--MarginBottom);
|
|
486
492
|
font-size: var(--#{$toolbar}__expandable-content__item--m-label--FontSize);
|
|
487
493
|
}
|
|
488
494
|
}
|
|
@@ -495,13 +501,13 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
495
501
|
flex-wrap: wrap;
|
|
496
502
|
grid-row-gap: 0;
|
|
497
503
|
align-items: baseline;
|
|
498
|
-
margin-
|
|
504
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container--MarginTop);
|
|
499
505
|
|
|
500
506
|
.#{$toolbar}__item {
|
|
501
507
|
--#{$toolbar}--spacer: var(--#{$toolbar}__item--spacer);
|
|
502
508
|
--#{$toolbar}__item--AlignSelf: auto;
|
|
503
509
|
|
|
504
|
-
margin-
|
|
510
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container__item--MarginTop);
|
|
505
511
|
}
|
|
506
512
|
|
|
507
513
|
.#{$toolbar}__group {
|
|
@@ -562,20 +568,20 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
562
568
|
// Align right
|
|
563
569
|
.#{$toolbar}__item.pf-m-align-right#{$breakpoint-name},
|
|
564
570
|
.#{$toolbar}__group.pf-m-align-right#{$breakpoint-name} {
|
|
565
|
-
margin-
|
|
571
|
+
margin-inline-start: auto;
|
|
566
572
|
|
|
567
573
|
& ~ .pf-m-pagination {
|
|
568
|
-
margin-
|
|
574
|
+
margin-inline-start: 0;
|
|
569
575
|
}
|
|
570
576
|
}
|
|
571
577
|
|
|
572
578
|
// Align left
|
|
573
579
|
.#{$toolbar}__item.pf-m-align-left#{$breakpoint-name},
|
|
574
580
|
.#{$toolbar}__group.pf-m-align-left#{$breakpoint-name} {
|
|
575
|
-
margin-
|
|
581
|
+
margin-inline-start: 0;
|
|
576
582
|
|
|
577
583
|
& ~ .pf-m-pagination {
|
|
578
|
-
margin-
|
|
584
|
+
margin-inline-start: auto;
|
|
579
585
|
}
|
|
580
586
|
}
|
|
581
587
|
|
|
@@ -28,44 +28,69 @@
|
|
|
28
28
|
max-width: var(--pf-v5-c-tooltip--MaxWidth);
|
|
29
29
|
box-shadow: var(--pf-v5-c-tooltip--BoxShadow);
|
|
30
30
|
}
|
|
31
|
-
.pf-v5-c-tooltip.pf-m-top
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
.pf-v5-c-tooltip:is(.pf-m-top,
|
|
32
|
+
.pf-m-top-left,
|
|
33
|
+
.pf-m-top-right) {
|
|
34
|
+
--pf-v5-c-tooltip__arrow--Bottom: var(--pf-v5-c-tooltip--m-top--Bottom, 0);
|
|
35
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-top--Left, 50%);
|
|
36
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-top--TranslateX);
|
|
37
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
38
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-top--Rotate);
|
|
35
39
|
}
|
|
36
|
-
.pf-v5-c-tooltip.pf-m-bottom
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
.pf-v5-c-tooltip:is(.pf-m-bottom,
|
|
41
|
+
.pf-m-bottom-left,
|
|
42
|
+
.pf-m-bottom-right) {
|
|
43
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-bottom--Top, 0);
|
|
44
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-bottom--Left, 50%);
|
|
45
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX);
|
|
46
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY);
|
|
47
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate);
|
|
40
48
|
}
|
|
41
|
-
.pf-v5-c-tooltip.pf-m-left
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
.pf-v5-c-tooltip:is(.pf-m-left,
|
|
50
|
+
.pf-m-left-top,
|
|
51
|
+
.pf-m-left-bottom) {
|
|
52
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-left--Top, 50%);
|
|
53
|
+
--pf-v5-c-tooltip__arrow--Right: var(--pf-v5-c-tooltip--m-left--Right, 0);
|
|
54
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
55
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-left--TranslateY);
|
|
56
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-left--Rotate);
|
|
45
57
|
}
|
|
46
|
-
.pf-v5-c-tooltip.pf-m-right
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
58
|
+
.pf-v5-c-tooltip:is(.pf-m-right,
|
|
59
|
+
.pf-m-right-top,
|
|
60
|
+
.pf-m-right-bottom) {
|
|
61
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-right--Top, 50%);
|
|
62
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-right--Left, 0);
|
|
63
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-right--TranslateX);
|
|
64
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-right--TranslateY);
|
|
65
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-right--Rotate);
|
|
50
66
|
}
|
|
51
|
-
.pf-v5-c-tooltip.pf-m-left-top
|
|
52
|
-
|
|
67
|
+
.pf-v5-c-tooltip:is(.pf-m-left-top,
|
|
68
|
+
.pf-m-right-top) {
|
|
69
|
+
--pf-v5-c-tooltip__arrow--Top: 0;
|
|
70
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
53
71
|
}
|
|
54
|
-
.pf-v5-c-tooltip.pf-m-left-bottom
|
|
55
|
-
|
|
56
|
-
|
|
72
|
+
.pf-v5-c-tooltip:is(.pf-m-left-bottom,
|
|
73
|
+
.pf-m-right-bottom) {
|
|
74
|
+
--pf-v5-c-tooltip__arrow--Top: auto;
|
|
75
|
+
--pf-v5-c-tooltip__arrow--Bottom: 0;
|
|
57
76
|
}
|
|
58
|
-
.pf-v5-c-tooltip.pf-m-top-left
|
|
59
|
-
|
|
77
|
+
.pf-v5-c-tooltip:is(.pf-m-top-left,
|
|
78
|
+
.pf-m-bottom-left) {
|
|
79
|
+
--pf-v5-c-tooltip__arrow--Left: 0;
|
|
80
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
60
81
|
}
|
|
61
|
-
.pf-v5-c-tooltip.pf-m-top-right
|
|
62
|
-
|
|
63
|
-
|
|
82
|
+
.pf-v5-c-tooltip:is(.pf-m-top-right,
|
|
83
|
+
.pf-m-bottom-right) {
|
|
84
|
+
--pf-v5-c-tooltip__arrow--Right: 0;
|
|
85
|
+
--pf-v5-c-tooltip__arrow--Left: auto;
|
|
64
86
|
}
|
|
65
87
|
|
|
66
88
|
.pf-v5-c-tooltip__content {
|
|
67
89
|
position: relative;
|
|
68
|
-
padding: var(--pf-v5-c-tooltip__content--PaddingTop)
|
|
90
|
+
padding-block-start: var(--pf-v5-c-tooltip__content--PaddingTop);
|
|
91
|
+
padding-block-end: var(--pf-v5-c-tooltip__content--PaddingBottom);
|
|
92
|
+
padding-inline-start: var(--pf-v5-c-tooltip__content--PaddingLeft);
|
|
93
|
+
padding-inline-end: var(--pf-v5-c-tooltip__content--PaddingRight);
|
|
69
94
|
font-size: var(--pf-v5-c-tooltip__content--FontSize);
|
|
70
95
|
color: var(--pf-v5-c-tooltip__content--Color);
|
|
71
96
|
text-align: center;
|
|
@@ -73,16 +98,23 @@
|
|
|
73
98
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
|
74
99
|
}
|
|
75
100
|
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
|
76
|
-
text-align:
|
|
101
|
+
text-align: start;
|
|
77
102
|
}
|
|
78
103
|
|
|
79
104
|
.pf-v5-c-tooltip__arrow {
|
|
80
105
|
position: absolute;
|
|
106
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
107
|
+
top: var(--pf-v5-c-tooltip__arrow--Top, auto);
|
|
108
|
+
right: var(--pf-v5-c-tooltip__arrow--Right, auto);
|
|
109
|
+
bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
|
|
110
|
+
left: var(--pf-v5-c-tooltip__arrow--Left, auto);
|
|
111
|
+
/* stylelint-enable */
|
|
81
112
|
width: var(--pf-v5-c-tooltip__arrow--Width);
|
|
82
113
|
height: var(--pf-v5-c-tooltip__arrow--Height);
|
|
83
114
|
pointer-events: none;
|
|
84
115
|
background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
|
|
85
116
|
box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
|
|
117
|
+
transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
|
|
86
118
|
}
|
|
87
119
|
|
|
88
120
|
:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
|
|
@@ -36,80 +36,93 @@
|
|
|
36
36
|
max-width: var(--#{$tooltip}--MaxWidth);
|
|
37
37
|
box-shadow: var(--#{$tooltip}--BoxShadow);
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
39
|
+
&:is(
|
|
40
|
+
.pf-m-top,
|
|
41
|
+
.pf-m-top-left,
|
|
42
|
+
.pf-m-top-right
|
|
43
|
+
) {
|
|
44
|
+
--#{$tooltip}__arrow--Bottom: var(--#{$tooltip}--m-top--Bottom, 0);
|
|
45
|
+
--#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-top--Left, 50%);
|
|
46
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-top--TranslateX);
|
|
47
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-top--TranslateY);
|
|
48
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-top--Rotate);
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
51
|
+
&:is(
|
|
52
|
+
.pf-m-bottom,
|
|
53
|
+
.pf-m-bottom-left,
|
|
54
|
+
.pf-m-bottom-right
|
|
55
|
+
) {
|
|
56
|
+
--#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-bottom--Top, 0);
|
|
57
|
+
--#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-bottom--Left, 50%);
|
|
58
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-bottom--TranslateX);
|
|
59
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-bottom--TranslateY);
|
|
60
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-bottom--Rotate);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
63
|
+
&:is(
|
|
64
|
+
.pf-m-left,
|
|
65
|
+
.pf-m-left-top,
|
|
66
|
+
.pf-m-left-bottom
|
|
67
|
+
) {
|
|
68
|
+
--#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-left--Top, 50%);
|
|
69
|
+
--#{$tooltip}__arrow--Right: var(--#{$tooltip}--m-left--Right, 0);
|
|
70
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-left--TranslateX);
|
|
71
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-left--TranslateY);
|
|
72
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-left--Rotate);
|
|
67
73
|
}
|
|
68
74
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
75
|
+
&:is(
|
|
76
|
+
.pf-m-right,
|
|
77
|
+
.pf-m-right-top,
|
|
78
|
+
.pf-m-right-bottom
|
|
79
|
+
) {
|
|
80
|
+
--#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-right--Top, 50%);
|
|
81
|
+
--#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-right--Left, 0);
|
|
82
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-right--TranslateX);
|
|
83
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-right--TranslateY);
|
|
84
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-right--Rotate);
|
|
77
85
|
}
|
|
78
86
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
87
|
+
&:is(
|
|
88
|
+
.pf-m-left-top,
|
|
89
|
+
.pf-m-right-top
|
|
90
|
+
) {
|
|
91
|
+
--#{$tooltip}__arrow--Top: 0;
|
|
92
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-top--TranslateY);
|
|
84
93
|
}
|
|
85
94
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
95
|
+
&:is(
|
|
96
|
+
.pf-m-left-bottom,
|
|
97
|
+
.pf-m-right-bottom
|
|
98
|
+
) {
|
|
99
|
+
--#{$tooltip}__arrow--Top: auto;
|
|
100
|
+
--#{$tooltip}__arrow--Bottom: 0;
|
|
92
101
|
}
|
|
93
102
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
103
|
+
&:is(
|
|
104
|
+
.pf-m-top-left,
|
|
105
|
+
.pf-m-bottom-left
|
|
106
|
+
) {
|
|
107
|
+
--#{$tooltip}__arrow--Left: 0;
|
|
108
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-left--TranslateX);
|
|
99
109
|
}
|
|
100
110
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
111
|
+
&:is(
|
|
112
|
+
.pf-m-top-right,
|
|
113
|
+
.pf-m-bottom-right
|
|
114
|
+
) {
|
|
115
|
+
--#{$tooltip}__arrow--Right: 0;
|
|
116
|
+
--#{$tooltip}__arrow--Left: auto;
|
|
107
117
|
}
|
|
108
118
|
}
|
|
109
119
|
|
|
110
120
|
.#{$tooltip}__content {
|
|
111
121
|
position: relative;
|
|
112
|
-
padding: var(--#{$tooltip}__content--PaddingTop)
|
|
122
|
+
padding-block-start: var(--#{$tooltip}__content--PaddingTop);
|
|
123
|
+
padding-block-end: var(--#{$tooltip}__content--PaddingBottom);
|
|
124
|
+
padding-inline-start: var(--#{$tooltip}__content--PaddingLeft);
|
|
125
|
+
padding-inline-end: var(--#{$tooltip}__content--PaddingRight);
|
|
113
126
|
font-size: var(--#{$tooltip}__content--FontSize);
|
|
114
127
|
color: var(--#{$tooltip}__content--Color);
|
|
115
128
|
text-align: center;
|
|
@@ -117,17 +130,24 @@
|
|
|
117
130
|
background-color: var(--#{$tooltip}__content--BackgroundColor);
|
|
118
131
|
|
|
119
132
|
&.pf-m-text-align-left {
|
|
120
|
-
text-align:
|
|
133
|
+
text-align: start;
|
|
121
134
|
}
|
|
122
135
|
}
|
|
123
136
|
|
|
124
137
|
.#{$tooltip}__arrow {
|
|
125
138
|
position: absolute;
|
|
139
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
140
|
+
top: var(--#{$tooltip}__arrow--Top, auto);
|
|
141
|
+
right: var(--#{$tooltip}__arrow--Right, auto);
|
|
142
|
+
bottom: var(--#{$tooltip}__arrow--Bottom, auto);
|
|
143
|
+
left: var(--#{$tooltip}__arrow--Left, auto);
|
|
144
|
+
/* stylelint-enable */
|
|
126
145
|
width: var(--#{$tooltip}__arrow--Width);
|
|
127
146
|
height: var(--#{$tooltip}__arrow--Height);
|
|
128
147
|
pointer-events: none;
|
|
129
148
|
background-color: var(--#{$tooltip}__arrow--BackgroundColor);
|
|
130
149
|
box-shadow: var(--#{$tooltip}__arrow--BoxShadow);
|
|
150
|
+
transform: translateX(var(--#{$tooltip}__arrow--TranslateX, 0)) translateY(var(--#{$tooltip}__arrow--TranslateY, 0)) rotate(var(--#{$tooltip}__arrow--Rotate, 0));
|
|
131
151
|
}
|
|
132
152
|
|
|
133
153
|
// stylelint-disable no-invalid-position-at-import-rule
|