@patternfly/patternfly 6.0.0-alpha.226 → 6.0.0-alpha.228
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/base/patternfly-variables.css +2 -2
- package/base/patternfly-variables.scss +2 -2
- package/components/AboutModalBox/about-modal-box.css +18 -13
- package/components/AboutModalBox/about-modal-box.scss +7 -8
- package/components/Accordion/accordion.css +2 -1
- package/components/Accordion/accordion.scss +1 -1
- package/components/ActionList/action-list.css +2 -1
- package/components/ActionList/action-list.scss +1 -1
- package/components/Alert/alert-group.css +2 -1
- package/components/Alert/alert-group.scss +1 -1
- package/components/Alert/alert.css +2 -1
- package/components/Alert/alert.scss +1 -1
- package/components/Avatar/avatar.css +2 -1
- package/components/Avatar/avatar.scss +1 -1
- package/components/BackToTop/back-to-top.css +4 -2
- package/components/BackToTop/back-to-top.scss +1 -1
- package/components/Backdrop/backdrop.css +2 -1
- package/components/Backdrop/backdrop.scss +1 -1
- package/components/BackgroundImage/background-image.css +2 -1
- package/components/BackgroundImage/background-image.scss +1 -1
- package/components/Badge/badge.css +2 -1
- package/components/Badge/badge.scss +1 -1
- package/components/Banner/banner.css +4 -2
- package/components/Banner/banner.scss +1 -1
- package/components/Brand/brand.css +2 -1
- package/components/Brand/brand.scss +1 -1
- package/components/Breadcrumb/breadcrumb.css +2 -1
- package/components/Breadcrumb/breadcrumb.scss +1 -1
- package/components/Button/button.css +2 -1
- package/components/Button/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +2 -1
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.css +2 -1
- package/components/Card/card.scss +1 -1
- package/components/Check/check.css +2 -1
- package/components/Check/check.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +2 -1
- package/components/ClipboardCopy/clipboard-copy.scss +1 -1
- package/components/CodeBlock/code-block.css +2 -1
- package/components/CodeBlock/code-block.scss +1 -1
- package/components/CodeEditor/code-editor.css +2 -1
- package/components/CodeEditor/code-editor.scss +1 -1
- package/components/Content/content.css +2 -1
- package/components/Content/content.scss +1 -1
- package/components/DataList/data-list.css +6 -3
- package/components/DataList/data-list.scss +1 -1
- package/components/DatePicker/date-picker.css +2 -1
- package/components/DatePicker/date-picker.scss +1 -1
- package/components/DescriptionList/description-list.css +14 -7
- package/components/DescriptionList/description-list.scss +1 -1
- package/components/Divider/divider.css +2 -1
- package/components/Divider/divider.scss +1 -1
- package/components/DragDrop/drag-drop.css +4 -2
- package/components/DragDrop/drag-drop.scss +2 -2
- package/components/Drawer/drawer.css +6 -3
- package/components/Drawer/drawer.scss +1 -1
- package/components/DualListSelector/dual-list-selector.css +2 -1
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/EmptyState/empty-state.css +2 -1
- package/components/EmptyState/empty-state.scss +1 -1
- package/components/ExpandableSection/expandable-section.css +2 -1
- package/components/ExpandableSection/expandable-section.scss +1 -1
- package/components/FileUpload/file-upload.css +2 -1
- package/components/FileUpload/file-upload.scss +1 -1
- package/components/Form/form.css +2 -1
- package/components/Form/form.scss +1 -1
- package/components/FormControl/form-control.css +2 -1
- package/components/FormControl/form-control.scss +1 -1
- package/components/HelperText/helper-text.css +2 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +2 -1
- package/components/Hint/hint.scss +1 -1
- package/components/Icon/icon.css +2 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +2 -1
- package/components/InlineEdit/inline-edit.scss +1 -1
- package/components/InputGroup/input-group.css +2 -1
- package/components/InputGroup/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +2 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/Label/label-group.css +2 -1
- package/components/Label/label-group.scss +1 -1
- package/components/Label/label.css +2 -1
- package/components/Label/label.scss +1 -1
- package/components/List/list.css +2 -1
- package/components/List/list.scss +1 -1
- package/components/Login/login.css +18 -9
- package/components/Login/login.scss +1 -1
- package/components/Masthead/masthead.css +2 -1
- package/components/Masthead/masthead.scss +1 -1
- package/components/Menu/menu.css +2 -1
- package/components/Menu/menu.scss +1 -1
- package/components/MenuToggle/menu-toggle.css +2 -1
- package/components/MenuToggle/menu-toggle.scss +1 -1
- package/components/ModalBox/modal-box.css +4 -2
- package/components/ModalBox/modal-box.scss +1 -1
- package/components/MultipleFileUpload/multiple-file-upload.css +2 -1
- package/components/MultipleFileUpload/multiple-file-upload.scss +1 -1
- package/components/Nav/nav.css +2 -1
- package/components/Nav/nav.scss +1 -1
- package/components/NotificationDrawer/notification-drawer.css +2 -1
- package/components/NotificationDrawer/notification-drawer.scss +1 -1
- package/components/NumberInput/number-input.css +2 -1
- package/components/NumberInput/number-input.scss +1 -1
- package/components/OverflowMenu/overflow-menu.css +2 -1
- package/components/OverflowMenu/overflow-menu.scss +1 -1
- package/components/Page/page.css +4 -2
- package/components/Page/page.scss +1 -1
- package/components/Pagination/pagination.css +6 -3
- package/components/Pagination/pagination.scss +1 -1
- package/components/Panel/panel.css +2 -1
- package/components/Panel/panel.scss +1 -1
- package/components/Popover/popover.css +2 -1
- package/components/Popover/popover.scss +1 -1
- package/components/Progress/progress.css +2 -1
- package/components/Progress/progress.scss +1 -1
- package/components/ProgressStepper/progress-stepper.css +4 -2
- package/components/ProgressStepper/progress-stepper.scss +1 -1
- package/components/Radio/radio.css +2 -1
- package/components/Radio/radio.scss +1 -1
- package/components/Sidebar/sidebar.css +2 -1
- package/components/Sidebar/sidebar.scss +1 -1
- package/components/SimpleList/simple-list.css +2 -1
- package/components/SimpleList/simple-list.scss +1 -1
- package/components/Skeleton/skeleton.css +2 -1
- package/components/Skeleton/skeleton.scss +1 -1
- package/components/SkipToContent/skip-to-content.css +2 -1
- package/components/SkipToContent/skip-to-content.scss +1 -1
- package/components/Slider/slider.css +2 -1
- package/components/Slider/slider.scss +1 -1
- package/components/Spinner/spinner.css +2 -1
- package/components/Spinner/spinner.scss +1 -1
- package/components/Switch/switch.css +2 -1
- package/components/Switch/switch.scss +1 -1
- package/components/TabContent/tab-content.css +2 -1
- package/components/TabContent/tab-content.scss +1 -1
- package/components/Table/table-grid.css +2 -1
- package/components/Table/table-grid.scss +1 -1
- package/components/Table/table-scrollable.css +2 -1
- package/components/Table/table-scrollable.scss +1 -1
- package/components/Table/table-tree-view.css +2 -1
- package/components/Table/table-tree-view.scss +1 -1
- package/components/Table/table.css +41 -35
- package/components/Table/table.scss +49 -46
- package/components/Tabs/tabs.css +2 -1
- package/components/Tabs/tabs.scss +1 -1
- package/components/TextInputGroup/text-input-group.css +2 -1
- package/components/TextInputGroup/text-input-group.scss +1 -1
- package/components/Tile/tile.css +2 -1
- package/components/Tile/tile.scss +1 -1
- package/components/Timestamp/timestamp.css +2 -1
- package/components/Timestamp/timestamp.scss +1 -1
- package/components/Title/title.css +2 -1
- package/components/Title/title.scss +1 -1
- package/components/ToggleGroup/toggle-group.css +2 -1
- package/components/ToggleGroup/toggle-group.scss +1 -1
- package/components/Toolbar/toolbar.css +2 -1
- package/components/Toolbar/toolbar.scss +1 -1
- package/components/Tooltip/tooltip.css +2 -1
- package/components/Tooltip/tooltip.scss +1 -1
- package/components/TreeView/tree-view.css +2 -1
- package/components/TreeView/tree-view.scss +1 -1
- package/components/Truncate/truncate.css +2 -1
- package/components/Truncate/truncate.scss +1 -1
- package/components/Wizard/wizard.css +4 -2
- package/components/Wizard/wizard.scss +1 -1
- package/components/_index.css +273 -155
- package/docs/components/Check/examples/Check.md +10 -15
- package/docs/components/DataList/examples/DataList.md +0 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +34 -7
- package/docs/components/Menu/examples/Menu.md +3 -12
- package/docs/components/Table/examples/Table.md +3796 -1216
- package/docs/components/Toolbar/examples/Toolbar.md +0 -5
- package/docs/demos/Card/examples/Card.md +38 -14
- package/docs/demos/CardView/examples/CardView.md +0 -1
- package/docs/demos/DataList/examples/DataList.md +65 -53
- package/docs/demos/DescriptionList/examples/DescriptionList.md +30 -5
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +0 -1
- package/docs/demos/Table/examples/Table.md +1482 -548
- package/docs/demos/Tabs/examples/Tabs.md +66 -48
- package/docs/demos/Toolbar/examples/Toolbar.md +176 -58
- package/layouts/Bullseye/bullseye.css +2 -1
- package/layouts/Bullseye/bullseye.scss +1 -1
- package/layouts/Flex/flex.css +2 -1
- package/layouts/Flex/flex.scss +1 -1
- package/layouts/Gallery/gallery.css +2 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +2 -1
- package/layouts/Grid/grid.scss +1 -1
- package/layouts/Level/level.css +2 -1
- package/layouts/Level/level.scss +1 -1
- package/layouts/Split/split.css +2 -1
- package/layouts/Split/split.scss +1 -1
- package/layouts/Stack/stack.css +2 -1
- package/layouts/Stack/stack.scss +1 -1
- package/layouts/_index.css +14 -7
- package/package.json +1 -1
- package/patternfly-base-no-globals.css +2 -2
- package/patternfly-base.css +2 -2
- package/patternfly-no-globals.css +289 -164
- package/patternfly.css +289 -164
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +7 -0
|
@@ -5,7 +5,7 @@ $pf-page-v6--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl"
|
|
|
5
5
|
$pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
6
6
|
// stylelint-enable
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
@include pf-root($page) {
|
|
9
9
|
--#{$page}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
10
10
|
--#{$page}--inset: var(--pf-t--global--spacer--inset--page-chrome);
|
|
11
11
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-pagination {
|
|
2
3
|
--pf-v6-c-pagination--inset: 0;
|
|
3
4
|
--pf-v6-c-pagination--ColumnGap: var(--pf-t--global--spacer--lg);
|
|
4
5
|
--pf-v6-c-pagination--m-page-insets--inset: var(--pf-t--global--spacer--lg);
|
|
@@ -36,7 +37,8 @@
|
|
|
36
37
|
--pf-v6-c-pagination__page-menu--md--Display: var(--pf-v6-c-pagination__page-menu--Display--base);
|
|
37
38
|
}
|
|
38
39
|
@media screen and (min-width: 48rem) {
|
|
39
|
-
:
|
|
40
|
+
:root,
|
|
41
|
+
.pf-v6-c-pagination {
|
|
40
42
|
--pf-v6-c-pagination--m-bottom--BoxShadow: none;
|
|
41
43
|
--pf-v6-c-pagination__page-menu--Display: var(--pf-v6-c-pagination__page-menu--md--Display);
|
|
42
44
|
--pf-v6-c-pagination__nav--Display: inline-flex;
|
|
@@ -44,7 +46,8 @@
|
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
@media screen and (min-width: 75rem) {
|
|
47
|
-
:
|
|
49
|
+
:root,
|
|
50
|
+
.pf-v6-c-pagination {
|
|
48
51
|
--pf-v6-c-pagination__scroll-button--Width: var(--pf-v6-c-pagination__scroll-button--xl--Width);
|
|
49
52
|
}
|
|
50
53
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
$pf-v6-c-pagination--breakpoint-map: build-breakpoint-map();
|
|
4
4
|
$pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
@include pf-root($pagination) {
|
|
7
7
|
--#{$pagination}--inset: 0;
|
|
8
8
|
--#{$pagination}--ColumnGap: var(--pf-t--global--spacer--lg);
|
|
9
9
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-popover {
|
|
2
3
|
--pf-v6-c-popover--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
3
4
|
--pf-v6-c-popover--MinWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
|
|
4
5
|
--pf-v6-c-popover--MaxWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($popover) {
|
|
4
4
|
// Component
|
|
5
5
|
--#{$popover}--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
6
6
|
--#{$popover}--MinWidth: calc(var(--#{$popover}__content--PaddingInlineStart) + var(--#{$popover}__content--PaddingInlineEnd) + #{pf-size-prem(300px)});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-progress {
|
|
2
3
|
--pf-v6-c-progress--GridGap: var(--pf-t--global--spacer--md);
|
|
3
4
|
--pf-v6-c-progress__bar--Height: var(--pf-t--global--spacer--md);
|
|
4
5
|
--pf-v6-c-progress__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-progress-stepper {
|
|
2
3
|
--pf-v6-c-progress-stepper--m-vertical--GridAutoFlow: row;
|
|
3
4
|
--pf-v6-c-progress-stepper--m-vertical--GridTemplateColumns: auto 1fr;
|
|
4
5
|
--pf-v6-c-progress-stepper--m-vertical__step-connector--before--InsetBlockStart: 0;
|
|
@@ -119,7 +120,8 @@
|
|
|
119
120
|
--pf-v6-c-progress-stepper--m-center__step-main--before--Content: "";
|
|
120
121
|
}
|
|
121
122
|
@media screen and (min-width: 48rem) {
|
|
122
|
-
:
|
|
123
|
+
:root,
|
|
124
|
+
.pf-v6-c-progress-stepper {
|
|
123
125
|
--pf-v6-c-progress-stepper--GridAutoFlow: var(--pf-v6-c-progress-stepper--m-horizontal--GridAutoFlow);
|
|
124
126
|
--pf-v6-c-progress-stepper--GridTemplateColumns: var(--pf-v6-c-progress-stepper--m-horizontal--GridTemplateColumns);
|
|
125
127
|
--pf-v6-c-progress-stepper__step-connector--before--InsetBlockStart: var(--pf-v6-c-progress-stepper--m-horizontal__step-connector--before--InsetBlockStart);
|
|
@@ -58,7 +58,7 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// Progress stepper is vertically oriented by default
|
|
61
|
-
|
|
61
|
+
@include pf-root($progress-stepper) {
|
|
62
62
|
// Vertical - these are the default settings
|
|
63
63
|
--#{$progress-stepper}--m-vertical--GridAutoFlow: row;
|
|
64
64
|
--#{$progress-stepper}--m-vertical--GridTemplateColumns: auto 1fr;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-radio {
|
|
2
3
|
--pf-v6-c-radio--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
3
4
|
--pf-v6-c-radio--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
|
4
5
|
--pf-v6-c-radio--Height: calc(var(--pf-v6-c-radio__label--FontSize) * var(--pf-v6-c-radio__label--LineHeight));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($radio) {
|
|
4
4
|
--#{$radio}--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
5
5
|
--#{$radio}--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
|
6
6
|
--#{$radio}--Height: calc(var(--#{$radio}__label--FontSize) * var(--#{$radio}__label--LineHeight));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-sidebar {
|
|
2
3
|
--pf-v6-c-sidebar--inset: var(--pf-t--global--spacer--md);
|
|
3
4
|
--pf-v6-c-sidebar--xl--inset: var(--pf-t--global--spacer--lg);
|
|
4
5
|
--pf-v6-c-sidebar--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
$pf-v6-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
5
5
|
$pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
@include pf-root($sidebar) {
|
|
8
8
|
--#{$sidebar}--inset: var(--pf-t--global--spacer--md);
|
|
9
9
|
--#{$sidebar}--xl--inset: var(--pf-t--global--spacer--lg);
|
|
10
10
|
--#{$sidebar}--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-simple-list {
|
|
2
3
|
--pf-v6-c-simple-list__item-link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
3
4
|
--pf-v6-c-simple-list__item-link--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
4
5
|
--pf-v6-c-simple-list__item-link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($simple-list) {
|
|
4
4
|
// Simple list item link
|
|
5
5
|
--#{$simple-list}__item-link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
6
6
|
--#{$simple-list}__item-link--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-skip-to-content {
|
|
2
3
|
--pf-v6-c-skip-to-content--InsetBlockStart: var(--pf-t--global--spacer--md);
|
|
3
4
|
--pf-v6-c-skip-to-content--ZIndex: var(--pf-t--global--z-index--2xl);
|
|
4
5
|
--pf-v6-c-skip-to-content--focus--InsetInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($skip-to-content) {
|
|
4
4
|
--#{$skip-to-content}--InsetBlockStart: var(--pf-t--global--spacer--md);
|
|
5
5
|
--#{$skip-to-content}--ZIndex: var(--pf-t--global--z-index--2xl);
|
|
6
6
|
--#{$skip-to-content}--focus--InsetInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($spinner) {
|
|
4
4
|
--#{$spinner}--diameter: var(--pf-t--global--icon--size--2xl);
|
|
5
5
|
--#{$spinner}--Width: var(--#{$spinner}--diameter);
|
|
6
6
|
--#{$spinner}--Height: var(--#{$spinner}--diameter);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-switch {
|
|
2
3
|
--pf-v6-c-switch--FontSize: var(--pf-t--global--font--size--sm);
|
|
3
4
|
--pf-v6-c-switch--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
4
5
|
--pf-v6-c-switch__toggle-icon--FontSize: calc(var(--pf-v6-c-switch--FontSize) * .625);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($switch) {
|
|
4
4
|
// Switch - the vars for this file don't follow our normal order so that the IE11 script can convert the vars correctly
|
|
5
5
|
--#{$switch}--FontSize: var(--pf-t--global--font--size--sm);
|
|
6
6
|
--#{$switch}--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-table {
|
|
2
3
|
--pf-v6-c-table--responsive--BorderColor: var(--pf-t--global--border--color--default);
|
|
3
4
|
--pf-v6-c-table__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
4
5
|
--pf-v6-c-table__tbody--after--border-width--base: var(--pf-t--global--border--width--extra-strong);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-table {
|
|
2
3
|
--pf-v6-c-table__sticky-cell--MinWidth--base: 8.75rem;
|
|
3
4
|
--pf-v6-c-table__sticky-cell--MinWidth: var(--pf-v6-c-table__sticky-cell--MinWidth--base);
|
|
4
5
|
--pf-v6-c-table__sticky-cell--ZIndex: var(--pf-t--global--z-index--xs);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
3
|
// * Table scrollable
|
|
4
|
-
|
|
4
|
+
@include pf-root($table) {
|
|
5
5
|
--#{$table}__sticky-cell--MinWidth--base: #{pf-size-prem(140px)};
|
|
6
6
|
--#{$table}__sticky-cell--MinWidth: var(--#{$table}__sticky-cell--MinWidth--base);
|
|
7
7
|
--#{$table}__sticky-cell--ZIndex: var(--pf-t--global--z-index--xs);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-table {
|
|
2
3
|
--pf-v6-c-table__tree-view-main--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-v6-c-table__tree-view-icon--MinWidth));
|
|
3
4
|
--pf-v6-c-table__tree-view-main--nested-indent--base: calc(var(--pf-v6-c-table__tree-view-main--indent--base) - var(--pf-t--global--spacer--md));
|
|
4
5
|
--pf-v6-c-table__tree-view-main--c-button--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
$pf-v6-c-tree-view--MaxDepth: 10;
|
|
4
4
|
|
|
5
5
|
// * Table tree view
|
|
6
|
-
|
|
6
|
+
@include pf-root($table) {
|
|
7
7
|
--#{$table}__tree-view-main--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--#{$table}__tree-view-icon--MinWidth)); // based off of the expected width of the toggle button
|
|
8
8
|
--#{$table}__tree-view-main--nested-indent--base: calc(var(--#{$table}__tree-view-main--indent--base) - var(--pf-t--global--spacer--md)); // nested spacing that removes the toggle button's left padding, so the icon aligns with text on the node above it
|
|
9
9
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-table {
|
|
2
3
|
--pf-v6-c-table--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
3
4
|
--pf-v6-c-table--BorderColor: var(--pf-t--global--border--color--default);
|
|
4
5
|
--pf-v6-c-table--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
@@ -300,6 +301,11 @@
|
|
|
300
301
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead) {
|
|
301
302
|
--pf-v6-c-table--cell--FontSize: var(--pf-v6-c-table__thead--cell--FontSize);
|
|
302
303
|
--pf-v6-c-table--cell--FontWeight: var(--pf-v6-c-table__thead--cell--FontWeight);
|
|
304
|
+
--pf-v6-c-table--cell--MinWidth: var(--pf-v6-c-table--m-truncate--cell--MinWidth);
|
|
305
|
+
--pf-v6-c-table--cell--MaxWidth: var(--pf-v6-c-table--m-truncate--cell--MaxWidth);
|
|
306
|
+
--pf-v6-c-table--cell--Overflow: hidden;
|
|
307
|
+
--pf-v6-c-table--cell--TextOverflow: ellipsis;
|
|
308
|
+
--pf-v6-c-table--cell--WhiteSpace: nowrap;
|
|
303
309
|
}
|
|
304
310
|
.pf-v6-c-table thead:where(.pf-v6-c-table__thead).pf-m-nested-column-header button:where(.pf-v6-c-button) {
|
|
305
311
|
outline-offset: var(--pf-v6-c-table__thead--m-nested-column-header--button--OutlineOffset);
|
|
@@ -326,40 +332,6 @@
|
|
|
326
332
|
.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td).pf-m-help {
|
|
327
333
|
min-width: var(--pf-v6-c-table__th--m-help--MinWidth);
|
|
328
334
|
}
|
|
329
|
-
.pf-v6-c-table > thead, .pf-v6-c-table :where([class*=pf-v6-c-table]).pf-m-truncate, :where(.pf-v6-c-table) > :is(thead, tbody).pf-m-truncate {
|
|
330
|
-
--pf-v6-c-table--cell--MinWidth: var(--pf-v6-c-table--m-truncate--cell--MinWidth);
|
|
331
|
-
--pf-v6-c-table--cell--MaxWidth: var(--pf-v6-c-table--m-truncate--cell--MaxWidth);
|
|
332
|
-
--pf-v6-c-table--cell--Overflow: hidden;
|
|
333
|
-
--pf-v6-c-table--cell--TextOverflow: ellipsis;
|
|
334
|
-
--pf-v6-c-table--cell--WhiteSpace: nowrap;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.pf-v6-c-table :where([class*=pf-v6-c-table]).pf-m-wrap, :where(.pf-v6-c-table) > :is(thead, tbody).pf-m-wrap {
|
|
338
|
-
--pf-v6-c-table--cell--MinWidth: 0;
|
|
339
|
-
--pf-v6-c-table--cell--MaxWidth: none;
|
|
340
|
-
--pf-v6-c-table--cell--Overflow: visible;
|
|
341
|
-
--pf-v6-c-table--cell--TextOverflow: clip;
|
|
342
|
-
--pf-v6-c-table--cell--WhiteSpace: normal;
|
|
343
|
-
}
|
|
344
|
-
.pf-v6-c-table :where([class*=pf-v6-c-table]).pf-m-nowrap, :where(.pf-v6-c-table) > :is(thead, tbody).pf-m-nowrap {
|
|
345
|
-
--pf-v6-c-table--cell--MinWidth: 0;
|
|
346
|
-
--pf-v6-c-table--cell--MaxWidth: none;
|
|
347
|
-
--pf-v6-c-table--cell--Overflow: visible;
|
|
348
|
-
--pf-v6-c-table--cell--TextOverflow: clip;
|
|
349
|
-
--pf-v6-c-table--cell--WhiteSpace: nowrap;
|
|
350
|
-
}
|
|
351
|
-
.pf-v6-c-table :where([class*=pf-v6-c-table]) .pf-v6-c-table__icon, .pf-v6-c-table :where([class*=pf-v6-c-table]).pf-m-fit-content, :where(.pf-v6-c-table) > :is(thead, tbody) .pf-v6-c-table__icon, :where(.pf-v6-c-table) > :is(thead, tbody).pf-m-fit-content {
|
|
352
|
-
--pf-v6-c-table--cell--MinWidth: fit-content;
|
|
353
|
-
--pf-v6-c-table--cell--MaxWidth: none;
|
|
354
|
-
--pf-v6-c-table--cell--Width: 1%;
|
|
355
|
-
--pf-v6-c-table--cell--Overflow: visible;
|
|
356
|
-
--pf-v6-c-table--cell--TextOverflow: clip;
|
|
357
|
-
--pf-v6-c-table--cell--WhiteSpace: nowrap;
|
|
358
|
-
}
|
|
359
|
-
.pf-v6-c-table :where([class*=pf-v6-c-table]).pf-m-break-word, :where(.pf-v6-c-table) > :is(thead, tbody).pf-m-break-word {
|
|
360
|
-
--pf-v6-c-table--cell--WordBreak: break-word;
|
|
361
|
-
--pf-v6-c-table--cell--WhiteSpace: normal;
|
|
362
|
-
}
|
|
363
335
|
.pf-v6-c-table.pf-m-no-border-rows > tbody:where(.pf-v6-c-table__tbody) {
|
|
364
336
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
365
337
|
--pf-v6-c-table__tbody--BorderBlockEndWidth: 0;
|
|
@@ -423,6 +395,40 @@
|
|
|
423
395
|
--pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
|
|
424
396
|
}
|
|
425
397
|
|
|
398
|
+
[class*=pf-v6-c-table].pf-m-truncate {
|
|
399
|
+
--pf-v6-c-table--cell--MinWidth: var(--pf-v6-c-table--m-truncate--cell--MinWidth);
|
|
400
|
+
--pf-v6-c-table--cell--MaxWidth: var(--pf-v6-c-table--m-truncate--cell--MaxWidth);
|
|
401
|
+
--pf-v6-c-table--cell--Overflow: hidden;
|
|
402
|
+
--pf-v6-c-table--cell--TextOverflow: ellipsis;
|
|
403
|
+
--pf-v6-c-table--cell--WhiteSpace: nowrap;
|
|
404
|
+
}
|
|
405
|
+
[class*=pf-v6-c-table].pf-m-wrap {
|
|
406
|
+
--pf-v6-c-table--cell--MinWidth: 0;
|
|
407
|
+
--pf-v6-c-table--cell--MaxWidth: none;
|
|
408
|
+
--pf-v6-c-table--cell--Overflow: visible;
|
|
409
|
+
--pf-v6-c-table--cell--TextOverflow: clip;
|
|
410
|
+
--pf-v6-c-table--cell--WhiteSpace: normal;
|
|
411
|
+
}
|
|
412
|
+
[class*=pf-v6-c-table].pf-m-nowrap {
|
|
413
|
+
--pf-v6-c-table--cell--MinWidth: 0;
|
|
414
|
+
--pf-v6-c-table--cell--MaxWidth: none;
|
|
415
|
+
--pf-v6-c-table--cell--Overflow: visible;
|
|
416
|
+
--pf-v6-c-table--cell--TextOverflow: clip;
|
|
417
|
+
--pf-v6-c-table--cell--WhiteSpace: nowrap;
|
|
418
|
+
}
|
|
419
|
+
[class*=pf-v6-c-table] .pf-v6-c-table__icon, [class*=pf-v6-c-table].pf-m-fit-content {
|
|
420
|
+
--pf-v6-c-table--cell--MinWidth: fit-content;
|
|
421
|
+
--pf-v6-c-table--cell--MaxWidth: none;
|
|
422
|
+
--pf-v6-c-table--cell--Width: 1%;
|
|
423
|
+
--pf-v6-c-table--cell--Overflow: visible;
|
|
424
|
+
--pf-v6-c-table--cell--TextOverflow: clip;
|
|
425
|
+
--pf-v6-c-table--cell--WhiteSpace: nowrap;
|
|
426
|
+
}
|
|
427
|
+
[class*=pf-v6-c-table].pf-m-break-word {
|
|
428
|
+
--pf-v6-c-table--cell--WordBreak: break-word;
|
|
429
|
+
--pf-v6-c-table--cell--WhiteSpace: normal;
|
|
430
|
+
}
|
|
431
|
+
|
|
426
432
|
.pf-v6-c-table__text {
|
|
427
433
|
--pf-v6-c-table--cell--MaxWidth: 100%;
|
|
428
434
|
position: relative;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// TODO: clean up unused variables
|
|
4
4
|
// TODO: update grouping comments to // * Table {element}
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
@include pf-root($table) {
|
|
7
7
|
--#{$table}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
8
8
|
--#{$table}--BorderColor: var(--pf-t--global--border--color--default);
|
|
9
9
|
--#{$table}--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
@@ -400,6 +400,11 @@
|
|
|
400
400
|
thead:where(.#{$table}__thead) {
|
|
401
401
|
--#{$table}--cell--FontSize: var(--#{$table}__thead--cell--FontSize);
|
|
402
402
|
--#{$table}--cell--FontWeight: var(--#{$table}__thead--cell--FontWeight);
|
|
403
|
+
--#{$table}--cell--MinWidth: var(--#{$table}--m-truncate--cell--MinWidth);
|
|
404
|
+
--#{$table}--cell--MaxWidth: var(--#{$table}--m-truncate--cell--MaxWidth);
|
|
405
|
+
--#{$table}--cell--Overflow: hidden;
|
|
406
|
+
--#{$table}--cell--TextOverflow: ellipsis;
|
|
407
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
403
408
|
|
|
404
409
|
// stylelint-disable
|
|
405
410
|
&.pf-m-nested-column-header {
|
|
@@ -464,50 +469,6 @@
|
|
|
464
469
|
}
|
|
465
470
|
}
|
|
466
471
|
|
|
467
|
-
// - Table truncate - Table wrap - Table nowrap - Table fit content - Table wrap - Table break word
|
|
468
|
-
:where([class*='#{$table}']),
|
|
469
|
-
:where(&) > :is(thead, tbody) {
|
|
470
|
-
@at-root .#{$table} > thead,
|
|
471
|
-
&.pf-m-truncate {
|
|
472
|
-
--#{$table}--cell--MinWidth: var(--#{$table}--m-truncate--cell--MinWidth);
|
|
473
|
-
--#{$table}--cell--MaxWidth: var(--#{$table}--m-truncate--cell--MaxWidth);
|
|
474
|
-
--#{$table}--cell--Overflow: hidden;
|
|
475
|
-
--#{$table}--cell--TextOverflow: ellipsis;
|
|
476
|
-
--#{$table}--cell--WhiteSpace: nowrap;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
&.pf-m-wrap {
|
|
480
|
-
--#{$table}--cell--MinWidth: 0;
|
|
481
|
-
--#{$table}--cell--MaxWidth: none;
|
|
482
|
-
--#{$table}--cell--Overflow: visible;
|
|
483
|
-
--#{$table}--cell--TextOverflow: clip;
|
|
484
|
-
--#{$table}--cell--WhiteSpace: normal;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
&.pf-m-nowrap {
|
|
488
|
-
--#{$table}--cell--MinWidth: 0;
|
|
489
|
-
--#{$table}--cell--MaxWidth: none;
|
|
490
|
-
--#{$table}--cell--Overflow: visible;
|
|
491
|
-
--#{$table}--cell--TextOverflow: clip;
|
|
492
|
-
--#{$table}--cell--WhiteSpace: nowrap;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.#{$table}__icon,
|
|
496
|
-
&.pf-m-fit-content {
|
|
497
|
-
--#{$table}--cell--MinWidth: fit-content;
|
|
498
|
-
--#{$table}--cell--MaxWidth: none;
|
|
499
|
-
--#{$table}--cell--Width: 1%;
|
|
500
|
-
--#{$table}--cell--Overflow: visible;
|
|
501
|
-
--#{$table}--cell--TextOverflow: clip;
|
|
502
|
-
--#{$table}--cell--WhiteSpace: nowrap;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
&.pf-m-break-word {
|
|
506
|
-
--#{$table}--cell--WordBreak: break-word;
|
|
507
|
-
--#{$table}--cell--WhiteSpace: normal;
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
472
|
// stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors
|
|
512
473
|
&.pf-m-no-border-rows > tbody:where(.#{$table}__tbody) {
|
|
513
474
|
--#{$table}__tr--BorderBlockEndWidth: 0;
|
|
@@ -599,6 +560,48 @@
|
|
|
599
560
|
}
|
|
600
561
|
}
|
|
601
562
|
|
|
563
|
+
// - Table truncate - Table wrap - Table nowrap - Table fit content - Table wrap - Table break word
|
|
564
|
+
[class*='#{$table}'] {
|
|
565
|
+
&.pf-m-truncate {
|
|
566
|
+
--#{$table}--cell--MinWidth: var(--#{$table}--m-truncate--cell--MinWidth);
|
|
567
|
+
--#{$table}--cell--MaxWidth: var(--#{$table}--m-truncate--cell--MaxWidth);
|
|
568
|
+
--#{$table}--cell--Overflow: hidden;
|
|
569
|
+
--#{$table}--cell--TextOverflow: ellipsis;
|
|
570
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
&.pf-m-wrap {
|
|
574
|
+
--#{$table}--cell--MinWidth: 0;
|
|
575
|
+
--#{$table}--cell--MaxWidth: none;
|
|
576
|
+
--#{$table}--cell--Overflow: visible;
|
|
577
|
+
--#{$table}--cell--TextOverflow: clip;
|
|
578
|
+
--#{$table}--cell--WhiteSpace: normal;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
&.pf-m-nowrap {
|
|
582
|
+
--#{$table}--cell--MinWidth: 0;
|
|
583
|
+
--#{$table}--cell--MaxWidth: none;
|
|
584
|
+
--#{$table}--cell--Overflow: visible;
|
|
585
|
+
--#{$table}--cell--TextOverflow: clip;
|
|
586
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.#{$table}__icon,
|
|
590
|
+
&.pf-m-fit-content {
|
|
591
|
+
--#{$table}--cell--MinWidth: fit-content;
|
|
592
|
+
--#{$table}--cell--MaxWidth: none;
|
|
593
|
+
--#{$table}--cell--Width: 1%;
|
|
594
|
+
--#{$table}--cell--Overflow: visible;
|
|
595
|
+
--#{$table}--cell--TextOverflow: clip;
|
|
596
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
&.pf-m-break-word {
|
|
600
|
+
--#{$table}--cell--WordBreak: break-word;
|
|
601
|
+
--#{$table}--cell--WhiteSpace: normal;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
602
605
|
// - Table text
|
|
603
606
|
.#{$table}__text {
|
|
604
607
|
--#{$table}--cell--MaxWidth: 100%;
|
|
@@ -947,7 +950,7 @@
|
|
|
947
950
|
}
|
|
948
951
|
|
|
949
952
|
@at-root :not(.#{$table}__control-row) ~ .#{$table}__expandable-row {
|
|
950
|
-
> .#{$table}__th,
|
|
953
|
+
> .#{$table}__th,
|
|
951
954
|
> .#{$table}__td {
|
|
952
955
|
padding-block-start: 0;
|
|
953
956
|
}
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
$pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
4
4
|
$pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
@include pf-root($tabs) {
|
|
7
7
|
--#{$tabs}--inset: 0;
|
|
8
8
|
--#{$tabs}--Width: auto;
|
|
9
9
|
--#{$tabs}--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
:
|
|
1
|
+
:root,
|
|
2
|
+
.pf-v6-c-text-input-group {
|
|
2
3
|
--pf-v6-c-text-input-group--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
3
4
|
--pf-v6-c-text-input-group--BorderColor: var(--pf-t--global--border--color--default);
|
|
4
5
|
--pf-v6-c-text-input-group--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($text-input-group) {
|
|
4
4
|
--#{$text-input-group}--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
5
5
|
--#{$text-input-group}--BorderColor: var(--pf-t--global--border--color--default);
|
|
6
6
|
--#{$text-input-group}--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
package/components/Tile/tile.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($tile) {
|
|
4
4
|
--#{$tile}--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
|
5
5
|
--#{$tile}--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
|
6
6
|
--#{$tile}--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@include pf-root($timestamp) {
|
|
4
4
|
--#{$timestamp}--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
5
5
|
--#{$timestamp}--Color: var(--pf-t--global--text--color--regular);
|
|
6
6
|
--#{$timestamp}--OutlineOffset: #{pf-size-prem(3px)};
|