@patternfly/patternfly 5.1.0-prerelease.3 → 5.1.0-prerelease.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +21 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +16 -2
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +5 -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 +7 -4
- package/components/Alert/alert-group.scss +7 -4
- package/components/Alert/alert.css +19 -13
- package/components/Alert/alert.scss +18 -13
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +26 -17
- package/components/Button/button.scss +26 -16
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +33 -30
- package/components/Content/content.scss +33 -30
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -49
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -84
- 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 +21 -11
- package/components/FormControl/form-control.scss +21 -11
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +19 -22
- package/components/Masthead/masthead.scss +19 -22
- package/components/Menu/menu.css +80 -66
- package/components/Menu/menu.scss +81 -69
- package/components/MenuToggle/menu-toggle.css +41 -29
- package/components/MenuToggle/menu-toggle.scss +41 -29
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +120 -93
- package/components/Nav/nav.scss +120 -93
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +13 -7
- package/components/NotificationBadge/notification-badge.scss +13 -7
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +3 -3
- 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 +123 -65
- package/components/Page/page.scss +69 -40
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +28 -18
- 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 +82 -31
- package/components/Popover/popover.scss +104 -45
- 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 +4 -5
- package/components/Radio/radio.scss +4 -5
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +256 -219
- package/components/Table/table-grid.scss +53 -39
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +91 -69
- package/components/Table/table.scss +89 -69
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +44 -41
- package/components/Toolbar/toolbar.scss +26 -21
- package/components/Tooltip/tooltip.css +76 -25
- package/components/Tooltip/tooltip.scss +100 -41
- 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/AppLauncher/deprecated/application-launcher.md +155 -70
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +11 -5
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +16 -3
- package/docs/components/Card/examples/Card.md +154 -66
- 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/ContextSelector/deprecated/context-selector.md +198 -96
- package/docs/components/DataList/examples/DataList.md +391 -136
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +881 -367
- package/docs/components/DualListSelector/examples/DualListSelector.md +432 -144
- package/docs/components/FormControl/examples/FormControl.md +2 -1
- package/docs/components/Hint/examples/Hint.md +57 -24
- package/docs/components/InlineEdit/examples/InlineEdit.md +46 -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 +40 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +111 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +1 -1
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -26
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +619 -240
- package/docs/components/OptionsMenu/deprecated/options-menu.md +415 -163
- package/docs/components/OverflowMenu/examples/overflow-menu.md +45 -34
- package/docs/components/Pagination/examples/Pagination.md +195 -65
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +4 -4
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +50 -0
- package/docs/components/Select/deprecated/Select.css +3 -3
- package/docs/components/Select/deprecated/Select.md +40 -52
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +4548 -1670
- package/docs/components/Tabs/examples/Tabs.md +1094 -438
- 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 +218 -128
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +8 -6
- package/docs/components/TreeView/examples/TreeView.md +23 -8
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +72 -31
- package/docs/demos/CardView/examples/CardView.md +182 -74
- package/docs/demos/ContextSelector/examples/ContextSelector.md +95 -47
- package/docs/demos/Dashboard/examples/Dashboard.md +18 -9
- package/docs/demos/DataList/examples/DataList.md +171 -72
- package/docs/demos/DescriptionList/examples/DescriptionList.md +20 -9
- package/docs/demos/Drawer/examples/Drawer.md +20 -9
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +803 -338
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +257 -105
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +1470 -619
- package/docs/demos/Tabs/examples/Tabs.md +117 -49
- package/docs/demos/Toolbar/examples/Toolbar.md +318 -123
- 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 +41 -37
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +26 -3
- package/patternfly-base-no-globals.css +26 -3
- package/patternfly-base-theme-dark-unversioned.css +27 -4
- package/patternfly-base.css +27 -4
- package/patternfly-no-globals.css +2695 -1897
- package/patternfly-theme-dark-unversioned.css +2696 -1898
- package/patternfly.css +2696 -1898
- 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/placeholders.scss +1 -1
- 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
|
@@ -152,8 +152,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
152
152
|
position: relative;
|
|
153
153
|
display: grid;
|
|
154
154
|
row-gap: var(--#{$toolbar}--RowGap);
|
|
155
|
-
padding-
|
|
156
|
-
padding-
|
|
155
|
+
padding-block-start: var(--#{$toolbar}--PaddingTop);
|
|
156
|
+
padding-block-end: var(--#{$toolbar}--PaddingBottom);
|
|
157
157
|
background-color: var(--#{$toolbar}--BackgroundColor);
|
|
158
158
|
|
|
159
159
|
&.pf-m-page-insets {
|
|
@@ -163,7 +163,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
163
163
|
|
|
164
164
|
&.pf-m-sticky {
|
|
165
165
|
position: sticky;
|
|
166
|
-
|
|
166
|
+
inset-block-start: 0;
|
|
167
167
|
z-index: var(--#{$toolbar}--m-sticky--ZIndex);
|
|
168
168
|
box-shadow: var(--#{$toolbar}--m-sticky--BoxShadow);
|
|
169
169
|
}
|
|
@@ -217,7 +217,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
> .#{$divider}.pf-m-vertical {
|
|
220
|
-
margin-
|
|
220
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
221
221
|
|
|
222
222
|
&:last-child {
|
|
223
223
|
--#{$toolbar}--spacer: 0;
|
|
@@ -258,7 +258,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
258
258
|
row-gap: var(--#{$toolbar}__group--RowGap);
|
|
259
259
|
align-items: var(--#{$toolbar}__group--AlignItems);
|
|
260
260
|
align-self: var(--#{$toolbar}__group--AlignSelf);
|
|
261
|
-
margin-
|
|
261
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
262
262
|
|
|
263
263
|
// Button group
|
|
264
264
|
&.pf-m-button-group {
|
|
@@ -287,7 +287,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
> * + * {
|
|
290
|
-
margin-
|
|
290
|
+
margin-inline-start: -1px;
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
|
|
@@ -323,7 +323,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
323
323
|
align-self: var(--#{$toolbar}__item--AlignSelf);
|
|
324
324
|
width: var(--#{$toolbar}__item--Width--base);
|
|
325
325
|
min-width: var(--#{$toolbar}__item--MinWidth--base);
|
|
326
|
-
margin-
|
|
326
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
327
327
|
|
|
328
328
|
&.pf-m-align-items-start {
|
|
329
329
|
align-items: flex-start;
|
|
@@ -384,7 +384,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
384
384
|
|
|
385
385
|
// Total items
|
|
386
386
|
&.pf-m-pagination {
|
|
387
|
-
margin-
|
|
387
|
+
margin-inline-start: auto;
|
|
388
388
|
|
|
389
389
|
.#{$pagination} {
|
|
390
390
|
flex-wrap: nowrap;
|
|
@@ -409,6 +409,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
409
409
|
display: inline-block;
|
|
410
410
|
transition: var(--#{$toolbar}__expand-all-icon--Transition);
|
|
411
411
|
transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
|
|
412
|
+
|
|
413
|
+
// @include pf-v5-mirror-inline-on-rtl; - TODO: mirror this icon in breaking change
|
|
412
414
|
}
|
|
413
415
|
|
|
414
416
|
.#{$toolbar}__content,
|
|
@@ -423,8 +425,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
423
425
|
position: relative;
|
|
424
426
|
row-gap: var(--#{$toolbar}__content--RowGap);
|
|
425
427
|
align-items: var(--#{$toolbar}__content--AlignItems);
|
|
426
|
-
padding-
|
|
427
|
-
padding-
|
|
428
|
+
padding-inline-start: var(--#{$toolbar}__content--PaddingLeft);
|
|
429
|
+
padding-inline-end: var(--#{$toolbar}__content--PaddingRight);
|
|
428
430
|
}
|
|
429
431
|
|
|
430
432
|
// Content section
|
|
@@ -451,13 +453,16 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
451
453
|
// Expandable content
|
|
452
454
|
.#{$toolbar}__expandable-content {
|
|
453
455
|
position: absolute;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
456
|
+
inset-block-start: calc(100% + var(--#{$toolbar}__content--RowGap));
|
|
457
|
+
inset-inline-start: 0;
|
|
458
|
+
inset-inline-end: 0;
|
|
457
459
|
z-index: var(--#{$toolbar}__expandable-content--ZIndex);
|
|
458
460
|
display: none;
|
|
459
461
|
width: 100%;
|
|
460
|
-
padding: var(--#{$toolbar}__expandable-content--PaddingTop)
|
|
462
|
+
padding-block-start: var(--#{$toolbar}__expandable-content--PaddingTop);
|
|
463
|
+
padding-block-end: var(--#{$toolbar}__expandable-content--PaddingBottom);
|
|
464
|
+
padding-inline-start: var(--#{$toolbar}__expandable-content--PaddingLeft);
|
|
465
|
+
padding-inline-end: var(--#{$toolbar}__expandable-content--PaddingRight);
|
|
461
466
|
background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
|
|
462
467
|
box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
|
|
463
468
|
|
|
@@ -482,7 +487,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
482
487
|
}
|
|
483
488
|
|
|
484
489
|
.#{$toolbar}__item.pf-m-label {
|
|
485
|
-
margin-
|
|
490
|
+
margin-block-end: var(--#{$toolbar}__expandable-content__item--m-label--MarginBottom);
|
|
486
491
|
font-size: var(--#{$toolbar}__expandable-content__item--m-label--FontSize);
|
|
487
492
|
}
|
|
488
493
|
}
|
|
@@ -495,13 +500,13 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
495
500
|
flex-wrap: wrap;
|
|
496
501
|
grid-row-gap: 0;
|
|
497
502
|
align-items: baseline;
|
|
498
|
-
margin-
|
|
503
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container--MarginTop);
|
|
499
504
|
|
|
500
505
|
.#{$toolbar}__item {
|
|
501
506
|
--#{$toolbar}--spacer: var(--#{$toolbar}__item--spacer);
|
|
502
507
|
--#{$toolbar}__item--AlignSelf: auto;
|
|
503
508
|
|
|
504
|
-
margin-
|
|
509
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container__item--MarginTop);
|
|
505
510
|
}
|
|
506
511
|
|
|
507
512
|
.#{$toolbar}__group {
|
|
@@ -562,20 +567,20 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
562
567
|
// Align right
|
|
563
568
|
.#{$toolbar}__item.pf-m-align-right#{$breakpoint-name},
|
|
564
569
|
.#{$toolbar}__group.pf-m-align-right#{$breakpoint-name} {
|
|
565
|
-
margin-
|
|
570
|
+
margin-inline-start: auto;
|
|
566
571
|
|
|
567
572
|
& ~ .pf-m-pagination {
|
|
568
|
-
margin-
|
|
573
|
+
margin-inline-start: 0;
|
|
569
574
|
}
|
|
570
575
|
}
|
|
571
576
|
|
|
572
577
|
// Align left
|
|
573
578
|
.#{$toolbar}__item.pf-m-align-left#{$breakpoint-name},
|
|
574
579
|
.#{$toolbar}__group.pf-m-align-left#{$breakpoint-name} {
|
|
575
|
-
margin-
|
|
580
|
+
margin-inline-start: 0;
|
|
576
581
|
|
|
577
582
|
& ~ .pf-m-pagination {
|
|
578
|
-
margin-
|
|
583
|
+
margin-inline-start: auto;
|
|
579
584
|
}
|
|
580
585
|
}
|
|
581
586
|
|
|
@@ -28,52 +28,103 @@
|
|
|
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
|
-
|
|
31
|
+
.pf-v5-c-tooltip:is(.pf-m-top,
|
|
32
|
+
.pf-m-top-left,
|
|
33
|
+
.pf-m-top-right,
|
|
34
|
+
.pf-m-block-start,
|
|
35
|
+
.pf-m-block-start-inline-start,
|
|
36
|
+
.pf-m-block-start-inline-end) .pf-v5-c-tooltip__arrow {
|
|
37
|
+
inset-block-end: 0;
|
|
38
|
+
inset-inline-start: 50%;
|
|
34
39
|
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-top--Rotate));
|
|
35
40
|
}
|
|
36
|
-
.pf-v5-c-tooltip.pf-m-
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-top, .pf-m-top-left, .pf-m-top-right, .pf-m-block-start, .pf-m-block-start-inline-start, .pf-m-block-start-inline-end) .pf-v5-c-tooltip__arrow {
|
|
42
|
+
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-top--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-top--Rotate));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.pf-v5-c-tooltip:is(.pf-m-bottom,
|
|
46
|
+
.pf-m-bottom-left,
|
|
47
|
+
.pf-m-bottom-right,
|
|
48
|
+
.pf-m-block-end,
|
|
49
|
+
.pf-m-block-end-inline-start,
|
|
50
|
+
.pf-m-block-end-inline-end) .pf-v5-c-tooltip__arrow {
|
|
51
|
+
inset-block-start: 0;
|
|
52
|
+
inset-inline-start: 50%;
|
|
39
53
|
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate));
|
|
40
54
|
}
|
|
41
|
-
.pf-v5-c-tooltip.pf-m-
|
|
42
|
-
|
|
43
|
-
|
|
55
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-bottom, .pf-m-bottom-left, .pf-m-bottom-right, .pf-m-block-end, .pf-m-block-end-inline-start, .pf-m-block-end-inline-end) .pf-v5-c-tooltip__arrow {
|
|
56
|
+
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.pf-v5-c-tooltip:is(.pf-m-left,
|
|
60
|
+
.pf-m-left-top,
|
|
61
|
+
.pf-m-left-bottom,
|
|
62
|
+
.pf-m-inline-start,
|
|
63
|
+
.pf-m-inline-start-block-start,
|
|
64
|
+
.pf-m-inline-start-block-end) .pf-v5-c-tooltip__arrow {
|
|
65
|
+
inset-block-start: 50%;
|
|
66
|
+
inset-inline-end: 0;
|
|
44
67
|
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-left--Rotate));
|
|
45
68
|
}
|
|
46
|
-
.pf-v5-c-tooltip.pf-m-
|
|
47
|
-
|
|
48
|
-
|
|
69
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-left, .pf-m-left-top, .pf-m-left-bottom, .pf-m-inline-start, .pf-m-inline-start-block-start, .pf-m-inline-start-block-end) .pf-v5-c-tooltip__arrow {
|
|
70
|
+
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-left--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-left--Rotate));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.pf-v5-c-tooltip:is(.pf-m-right,
|
|
74
|
+
.pf-m-right-top,
|
|
75
|
+
.pf-m-right-bottom,
|
|
76
|
+
.pf-m-inline-end,
|
|
77
|
+
.pf-m-inline-end-block-start,
|
|
78
|
+
.pf-m-inline-end-block-end) .pf-v5-c-tooltip__arrow {
|
|
79
|
+
inset-block-start: 50%;
|
|
80
|
+
inset-inline-start: 0;
|
|
49
81
|
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-right--Rotate));
|
|
50
82
|
}
|
|
51
|
-
.pf-v5-c-tooltip.pf-m-
|
|
52
|
-
|
|
83
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-right, .pf-m-right-top, .pf-m-right-bottom, .pf-m-inline-end, .pf-m-inline-end-block-start, .pf-m-inline-end-block-end) .pf-v5-c-tooltip__arrow {
|
|
84
|
+
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-right--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-right--Rotate));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.pf-v5-c-tooltip:is(.pf-m-left-top,
|
|
88
|
+
.pf-m-right-top,
|
|
89
|
+
.pf-m-inline-start-block-start,
|
|
90
|
+
.pf-m-inline-end-block-start) .pf-v5-c-tooltip__arrow {
|
|
91
|
+
inset-block-start: var(--pf-v5-c-tooltip__arrow--Height);
|
|
53
92
|
}
|
|
54
|
-
.pf-v5-c-tooltip.pf-m-left-bottom
|
|
55
|
-
|
|
56
|
-
|
|
93
|
+
.pf-v5-c-tooltip:is(.pf-m-left-bottom,
|
|
94
|
+
.pf-m-right-bottom,
|
|
95
|
+
.pf-m-inline-start-block-end,
|
|
96
|
+
.pf-m-inline-end-block-end) .pf-v5-c-tooltip__arrow {
|
|
97
|
+
inset-block-start: auto;
|
|
98
|
+
inset-block-end: 0;
|
|
57
99
|
}
|
|
58
|
-
.pf-v5-c-tooltip.pf-m-top-left
|
|
59
|
-
|
|
100
|
+
.pf-v5-c-tooltip:is(.pf-m-top-left,
|
|
101
|
+
.pf-m-bottom-left,
|
|
102
|
+
.pf-m-block-start-block-start,
|
|
103
|
+
.pf-m-block-end-block-start) .pf-v5-c-tooltip__arrow {
|
|
104
|
+
inset-inline-start: var(--pf-v5-c-tooltip__arrow--Width);
|
|
60
105
|
}
|
|
61
|
-
.pf-v5-c-tooltip.pf-m-top-right
|
|
62
|
-
|
|
63
|
-
|
|
106
|
+
.pf-v5-c-tooltip:is(.pf-m-top-right,
|
|
107
|
+
.pf-m-bottom-right,
|
|
108
|
+
.pf-m-block-start-block-end,
|
|
109
|
+
.pf-m-block-end-block-end) .pf-v5-c-tooltip__arrow {
|
|
110
|
+
inset-inline-start: auto;
|
|
111
|
+
inset-inline-end: 0;
|
|
64
112
|
}
|
|
65
113
|
|
|
66
114
|
.pf-v5-c-tooltip__content {
|
|
67
115
|
position: relative;
|
|
68
|
-
padding: var(--pf-v5-c-tooltip__content--PaddingTop)
|
|
116
|
+
padding-block-start: var(--pf-v5-c-tooltip__content--PaddingTop);
|
|
117
|
+
padding-block-end: var(--pf-v5-c-tooltip__content--PaddingBottom);
|
|
118
|
+
padding-inline-start: var(--pf-v5-c-tooltip__content--PaddingLeft);
|
|
119
|
+
padding-inline-end: var(--pf-v5-c-tooltip__content--PaddingRight);
|
|
69
120
|
font-size: var(--pf-v5-c-tooltip__content--FontSize);
|
|
70
121
|
color: var(--pf-v5-c-tooltip__content--Color);
|
|
71
122
|
text-align: center;
|
|
72
123
|
word-break: break-word;
|
|
73
124
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
|
74
125
|
}
|
|
75
|
-
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
|
76
|
-
text-align:
|
|
126
|
+
.pf-v5-c-tooltip__content:is(.pf-m-text-align-left, .pf-m-text-align-start) {
|
|
127
|
+
text-align: start;
|
|
77
128
|
}
|
|
78
129
|
|
|
79
130
|
.pf-v5-c-tooltip__arrow {
|
|
@@ -36,88 +36,147 @@
|
|
|
36
36
|
max-width: var(--#{$tooltip}--MaxWidth);
|
|
37
37
|
box-shadow: var(--#{$tooltip}--BoxShadow);
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
&:is(
|
|
40
|
+
.pf-m-top,
|
|
41
|
+
.pf-m-top-left,
|
|
42
|
+
.pf-m-top-right,
|
|
43
|
+
.pf-m-block-start,
|
|
44
|
+
.pf-m-block-start-inline-start,
|
|
45
|
+
.pf-m-block-start-inline-end
|
|
46
|
+
) {
|
|
42
47
|
.#{$tooltip}__arrow {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
inset-block-end: 0;
|
|
49
|
+
inset-inline-start: 50%;
|
|
50
|
+
|
|
51
|
+
@include pf-v5-bidirectional-style(
|
|
52
|
+
$prop: transform,
|
|
53
|
+
$ltr-val: translateX(var(--#{$tooltip}__arrow--m-top--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-top--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-top--Rotate)),
|
|
54
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$tooltip}__arrow--m-top--TranslateX))}) translateY(var(--#{$tooltip}__arrow--m-top--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-top--Rotate))
|
|
55
|
+
);
|
|
46
56
|
}
|
|
47
57
|
}
|
|
48
58
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
&:is(
|
|
60
|
+
.pf-m-bottom,
|
|
61
|
+
.pf-m-bottom-left,
|
|
62
|
+
.pf-m-bottom-right,
|
|
63
|
+
.pf-m-block-end,
|
|
64
|
+
.pf-m-block-end-inline-start,
|
|
65
|
+
.pf-m-block-end-inline-end
|
|
66
|
+
) {
|
|
52
67
|
.#{$tooltip}__arrow {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
68
|
+
inset-block-start: 0;
|
|
69
|
+
inset-inline-start: 50%;
|
|
70
|
+
|
|
71
|
+
@include pf-v5-bidirectional-style(
|
|
72
|
+
$prop: transform,
|
|
73
|
+
$ltr-val: translateX(var(--#{$tooltip}__arrow--m-bottom--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-bottom--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-bottom--Rotate)),
|
|
74
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$tooltip}__arrow--m-bottom--TranslateX))}) translateY(var(--#{$tooltip}__arrow--m-bottom--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-bottom--Rotate))
|
|
75
|
+
);
|
|
56
76
|
}
|
|
57
77
|
}
|
|
58
78
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
79
|
+
&:is(
|
|
80
|
+
.pf-m-left,
|
|
81
|
+
.pf-m-left-top,
|
|
82
|
+
.pf-m-left-bottom,
|
|
83
|
+
.pf-m-inline-start,
|
|
84
|
+
.pf-m-inline-start-block-start,
|
|
85
|
+
.pf-m-inline-start-block-end
|
|
86
|
+
) {
|
|
62
87
|
.#{$tooltip}__arrow {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
88
|
+
inset-block-start: 50%;
|
|
89
|
+
inset-inline-end: 0;
|
|
90
|
+
|
|
91
|
+
@include pf-v5-bidirectional-style(
|
|
92
|
+
$prop: transform,
|
|
93
|
+
$ltr-val: translateX(var(--#{$tooltip}__arrow--m-left--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-left--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-left--Rotate)),
|
|
94
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$tooltip}__arrow--m-left--TranslateX))}) translateY(var(--#{$tooltip}__arrow--m-left--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-left--Rotate))
|
|
95
|
+
);
|
|
66
96
|
}
|
|
67
97
|
}
|
|
68
98
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
99
|
+
&:is(
|
|
100
|
+
.pf-m-right,
|
|
101
|
+
.pf-m-right-top,
|
|
102
|
+
.pf-m-right-bottom,
|
|
103
|
+
.pf-m-inline-end,
|
|
104
|
+
.pf-m-inline-end-block-start,
|
|
105
|
+
.pf-m-inline-end-block-end
|
|
106
|
+
) {
|
|
72
107
|
.#{$tooltip}__arrow {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
108
|
+
inset-block-start: 50%;
|
|
109
|
+
inset-inline-start: 0;
|
|
110
|
+
|
|
111
|
+
@include pf-v5-bidirectional-style(
|
|
112
|
+
$prop: transform,
|
|
113
|
+
$ltr-val: translateX(var(--#{$tooltip}__arrow--m-right--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-right--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-right--Rotate)),
|
|
114
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$tooltip}__arrow--m-right--TranslateX))}) translateY(var(--#{$tooltip}__arrow--m-right--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-right--Rotate))
|
|
115
|
+
);
|
|
76
116
|
}
|
|
77
117
|
}
|
|
78
118
|
|
|
79
|
-
|
|
80
|
-
|
|
119
|
+
&:is(
|
|
120
|
+
.pf-m-left-top,
|
|
121
|
+
.pf-m-right-top,
|
|
122
|
+
.pf-m-inline-start-block-start,
|
|
123
|
+
.pf-m-inline-end-block-start
|
|
124
|
+
) {
|
|
81
125
|
.#{$tooltip}__arrow {
|
|
82
|
-
|
|
126
|
+
inset-block-start: var(--#{$tooltip}__arrow--Height);
|
|
83
127
|
}
|
|
84
128
|
}
|
|
85
129
|
|
|
86
|
-
|
|
87
|
-
|
|
130
|
+
&:is(
|
|
131
|
+
.pf-m-left-bottom,
|
|
132
|
+
.pf-m-right-bottom,
|
|
133
|
+
.pf-m-inline-start-block-end,
|
|
134
|
+
.pf-m-inline-end-block-end
|
|
135
|
+
) {
|
|
88
136
|
.#{$tooltip}__arrow {
|
|
89
|
-
|
|
90
|
-
|
|
137
|
+
inset-block-start: auto;
|
|
138
|
+
inset-block-end: 0;
|
|
91
139
|
}
|
|
92
140
|
}
|
|
93
141
|
|
|
94
|
-
|
|
95
|
-
|
|
142
|
+
&:is(
|
|
143
|
+
.pf-m-top-left,
|
|
144
|
+
.pf-m-bottom-left,
|
|
145
|
+
.pf-m-block-start-block-start,
|
|
146
|
+
.pf-m-block-end-block-start
|
|
147
|
+
) {
|
|
96
148
|
.#{$tooltip}__arrow {
|
|
97
|
-
|
|
149
|
+
inset-inline-start: var(--#{$tooltip}__arrow--Width);
|
|
98
150
|
}
|
|
99
151
|
}
|
|
100
152
|
|
|
101
|
-
|
|
102
|
-
|
|
153
|
+
&:is(
|
|
154
|
+
.pf-m-top-right,
|
|
155
|
+
.pf-m-bottom-right,
|
|
156
|
+
.pf-m-block-start-block-end,
|
|
157
|
+
.pf-m-block-end-block-end
|
|
158
|
+
) {
|
|
103
159
|
.#{$tooltip}__arrow {
|
|
104
|
-
|
|
105
|
-
|
|
160
|
+
inset-inline-start: auto;
|
|
161
|
+
inset-inline-end: 0;
|
|
106
162
|
}
|
|
107
163
|
}
|
|
108
164
|
}
|
|
109
165
|
|
|
110
166
|
.#{$tooltip}__content {
|
|
111
167
|
position: relative;
|
|
112
|
-
padding: var(--#{$tooltip}__content--PaddingTop)
|
|
168
|
+
padding-block-start: var(--#{$tooltip}__content--PaddingTop);
|
|
169
|
+
padding-block-end: var(--#{$tooltip}__content--PaddingBottom);
|
|
170
|
+
padding-inline-start: var(--#{$tooltip}__content--PaddingLeft);
|
|
171
|
+
padding-inline-end: var(--#{$tooltip}__content--PaddingRight);
|
|
113
172
|
font-size: var(--#{$tooltip}__content--FontSize);
|
|
114
173
|
color: var(--#{$tooltip}__content--Color);
|
|
115
174
|
text-align: center;
|
|
116
175
|
word-break: break-word;
|
|
117
176
|
background-color: var(--#{$tooltip}__content--BackgroundColor);
|
|
118
177
|
|
|
119
|
-
|
|
120
|
-
text-align:
|
|
178
|
+
&:is(.pf-m-text-align-left, .pf-m-text-align-start) {
|
|
179
|
+
text-align: start;
|
|
121
180
|
}
|
|
122
181
|
}
|
|
123
182
|
|