@patternfly/patternfly 6.6.0-prerelease.1 → 6.6.0-prerelease.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/images/img_avatar-rhds.svg +22 -0
- package/assets/images/pf-logo-avatar.jpg +0 -0
- package/base/normalize.scss +2 -0
- package/base/patternfly-common.css +2 -2
- package/base/patternfly-common.scss +1 -1
- package/base/patternfly-fa-icons.css +3 -3
- package/base/patternfly-fa-icons.scss +3 -3
- package/base/patternfly-variables.css +58 -56
- package/base/reset.scss +2 -0
- package/base/tokens/tokens-charts-dark.scss +1 -1
- package/base/tokens/tokens-charts-highcontrast-dark.scss +1 -1
- package/base/tokens/tokens-charts-highcontrast.scss +1 -1
- package/base/tokens/tokens-charts.scss +1 -1
- package/base/tokens/tokens-dark.scss +9 -9
- package/base/tokens/tokens-default.scss +8 -8
- package/base/tokens/tokens-felt-dark.scss +1 -1
- package/base/tokens/tokens-felt-glass-dark.scss +8 -8
- package/base/tokens/tokens-felt-glass.scss +10 -9
- package/base/tokens/tokens-felt-highcontrast-dark.scss +1 -1
- package/base/tokens/tokens-felt-highcontrast.scss +1 -1
- package/base/tokens/tokens-felt.scss +1 -1
- package/base/tokens/tokens-glass-dark.scss +8 -8
- package/base/tokens/tokens-glass.scss +10 -9
- package/base/tokens/tokens-highcontrast-dark.scss +8 -8
- package/base/tokens/tokens-highcontrast.scss +7 -7
- package/base/tokens/tokens-palette.scss +1 -1
- package/base/tokens/tokens-redhat-highcontrast.scss +6 -6
- package/components/AboutModalBox/about-modal-box.css +1 -1
- package/components/AboutModalBox/about-modal-box.scss +1 -1
- package/components/Accordion/accordion.css +3 -3
- package/components/Accordion/accordion.scss +3 -3
- package/components/Alert/alert-group.css +1 -1
- package/components/Alert/alert-group.scss +1 -1
- package/components/Alert/alert.css +4 -3
- package/components/Alert/alert.scss +4 -3
- package/components/Avatar/avatar.css +144 -0
- package/components/Avatar/avatar.scss +161 -0
- package/components/Breadcrumb/breadcrumb.css +1 -1
- package/components/Breadcrumb/breadcrumb.scss +1 -1
- package/components/Button/button.css +9 -6
- package/components/Button/button.scss +10 -6
- package/components/Card/card.css +2 -2
- package/components/Card/card.scss +3 -3
- package/components/Check/check.css +1 -1
- package/components/Check/check.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +2 -2
- package/components/ClipboardCopy/clipboard-copy.scss +2 -2
- package/components/Compass/compass.css +7 -3
- package/components/Compass/compass.scss +7 -3
- package/components/Content/content.css +2 -2
- package/components/Content/content.scss +2 -2
- package/components/DataList/data-list.css +1 -1
- package/components/DataList/data-list.scss +1 -1
- package/components/DescriptionList/description-list.css +0 -1
- package/components/DescriptionList/description-list.scss +0 -1
- package/components/Drawer/drawer.css +2 -2
- package/components/Drawer/drawer.scss +2 -2
- package/components/DualListSelector/dual-list-selector.css +6 -6
- package/components/DualListSelector/dual-list-selector.scss +6 -6
- package/components/ExpandableSection/expandable-section.css +3 -3
- package/components/ExpandableSection/expandable-section.scss +3 -3
- package/components/Form/form.css +12 -12
- package/components/Form/form.scss +6 -6
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +3 -1
- package/components/Hero/hero.css +1 -1
- package/components/Hero/hero.scss +1 -1
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +1 -1
- package/components/InputGroup/input-group.css +5 -5
- package/components/InputGroup/input-group.scss +5 -5
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/Label/label.css +1 -1
- package/components/Label/label.scss +1 -1
- package/components/Login/login.css +2 -2
- package/components/Login/login.scss +2 -2
- package/components/Masthead/masthead.css +2 -2
- package/components/Masthead/masthead.scss +2 -2
- package/components/Menu/menu.css +4 -4
- package/components/Menu/menu.scss +4 -4
- package/components/MenuToggle/menu-toggle.css +4 -1
- package/components/MenuToggle/menu-toggle.scss +5 -2
- package/components/ModalBox/modal-box.css +1 -1
- package/components/ModalBox/modal-box.scss +1 -1
- package/components/Nav/nav.css +5 -5
- package/components/Nav/nav.scss +5 -5
- package/components/NotificationDrawer/notification-drawer.css +5 -5
- package/components/NotificationDrawer/notification-drawer.scss +5 -5
- package/components/Page/page.css +26 -21
- package/components/Page/page.scss +30 -25
- package/components/Popover/popover.css +1 -1
- package/components/Popover/popover.scss +2 -2
- package/components/Progress/progress.css +3 -3
- package/components/Progress/progress.scss +3 -6
- package/components/ProgressStepper/progress-stepper.css +1 -1
- package/components/Radio/radio.css +1 -1
- package/components/Radio/radio.scss +1 -1
- package/components/Sidebar/sidebar.css +4 -7
- package/components/Sidebar/sidebar.scss +9 -9
- package/components/Spinner/spinner.css +2 -2
- package/components/Spinner/spinner.scss +2 -2
- package/components/Switch/switch.css +1 -1
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-tree-view.css +10 -10
- package/components/Table/table-tree-view.scss +2 -2
- package/components/Table/table.css +37 -10
- package/components/Table/table.scss +53 -14
- package/components/Tabs/tabs.css +3 -3
- package/components/Tabs/tabs.scss +3 -3
- package/components/TextInputGroup/text-input-group.css +1 -1
- package/components/TextInputGroup/text-input-group.scss +1 -1
- package/components/Title/title.css +1 -1
- package/components/Title/title.scss +1 -1
- package/components/Toolbar/toolbar.css +1 -1
- package/components/Toolbar/toolbar.scss +1 -1
- package/components/Tooltip/tooltip.css +1 -1
- package/components/Tooltip/tooltip.scss +2 -2
- package/components/TreeView/tree-view.css +5 -5
- package/components/TreeView/tree-view.scss +5 -5
- package/components/Wizard/wizard.css +5 -5
- package/components/Wizard/wizard.scss +5 -5
- package/components/_index.css +337 -154
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +1 -1
- package/docs/components/Accordion/examples/Accordion.md +30 -30
- package/docs/components/ActionList/examples/ActionList.md +11 -11
- package/docs/components/Alert/examples/Alert.md +54 -54
- package/docs/components/Avatar/examples/Avatar.css +6 -0
- package/docs/components/Avatar/examples/Avatar.md +414 -40
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Banner/examples/Banner.md +10 -10
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +25 -25
- package/docs/components/Button/examples/Button.md +184 -184
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +16 -16
- package/docs/components/Card/examples/Card.md +14 -14
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +18 -18
- package/docs/components/DataList/examples/DataList.md +34 -34
- package/docs/components/DatePicker/examples/DatePicker.md +6 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +25 -25
- package/docs/components/Drawer/examples/Drawer.md +23 -23
- package/docs/components/DualListSelector/examples/DualListSelector.md +89 -89
- package/docs/components/EmptyState/examples/EmptyState.md +6 -6
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +7 -7
- package/docs/components/Form/examples/Form.md +6 -6
- package/docs/components/Hint/examples/Hint.md +3 -3
- package/docs/components/Icon/examples/Icon.md +9 -9
- package/docs/components/InlineEdit/examples/InlineEdit.md +26 -26
- package/docs/components/InputGroup/examples/InputGroup.md +4 -4
- package/docs/components/JumpLinks/examples/JumpLinks.md +4 -4
- package/docs/components/Label/examples/Label.md +218 -218
- package/docs/components/Login/examples/Login.md +4 -4
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +129 -129
- package/docs/components/MenuToggle/examples/MenuToggle.md +271 -232
- package/docs/components/ModalBox/examples/ModalBox.md +24 -24
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +12 -12
- package/docs/components/Nav/examples/Navigation.md +66 -66
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +83 -83
- package/docs/components/OverflowMenu/examples/overflow-menu.md +11 -11
- package/docs/components/Page/examples/Page.md +1 -1
- package/docs/components/Pagination/examples/Pagination.md +92 -92
- package/docs/components/Popover/examples/Popover.md +22 -22
- package/docs/components/Progress/examples/Progress.md +7 -7
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +21 -21
- package/docs/components/Sidebar/examples/Sidebar.md +3 -1
- package/docs/components/Slider/examples/Slider.md +4 -4
- package/docs/components/Table/examples/Table.css +6 -0
- package/docs/components/Table/examples/Table.md +807 -527
- package/docs/components/Tabs/examples/Tabs.md +378 -378
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +46 -46
- package/docs/components/ToggleGroup/examples/toggle-group.md +15 -15
- package/docs/components/Toolbar/examples/Toolbar.md +117 -117
- package/docs/components/TreeView/examples/TreeView.md +104 -104
- package/docs/components/Wizard/examples/Wizard.md +40 -40
- package/docs/demos/AboutModal/examples/AboutModal.md +9 -9
- package/docs/demos/Alert/examples/Alert.md +32 -32
- package/docs/demos/BackToTop/examples/BackToTop.md +9 -9
- package/docs/demos/Banner/examples/Banner.md +16 -16
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +78 -78
- package/docs/demos/CardView/examples/CardView.md +38 -38
- package/docs/demos/Compass/examples/Compass.md +294 -238
- package/docs/demos/Dashboard/examples/Dashboard.md +48 -48
- package/docs/demos/DataList/examples/DataList.md +101 -101
- package/docs/demos/DescriptionList/examples/DescriptionList.md +26 -26
- package/docs/demos/Drawer/examples/Drawer.md +40 -40
- package/docs/demos/Form/examples/BasicForms.md +21 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +49 -49
- package/docs/demos/Masthead/examples/Masthead.md +57 -57
- package/docs/demos/Modal/examples/Modal.md +54 -54
- package/docs/demos/Nav/examples/Nav.md +93 -93
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +173 -173
- package/docs/demos/Page/examples/Page.md +119 -119
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +4 -4
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +142 -142
- package/docs/demos/Skeleton/examples/Skeleton.md +8 -8
- package/docs/demos/Table/examples/Table.md +630 -630
- package/docs/demos/Tabs/examples/Tabs.md +62 -62
- package/docs/demos/Toolbar/examples/Toolbar.md +161 -161
- package/docs/demos/Wizard/examples/Wizard.md +100 -100
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +1 -1
- package/layouts/Grid/grid.scss +1 -1
- package/layouts/_index.css +2 -2
- package/package.json +11 -12
- package/patternfly-addons.css +12 -12
- package/patternfly-base-no-globals.css +63 -61
- package/patternfly-base.css +63 -61
- package/patternfly-no-globals.css +402 -217
- package/patternfly.css +402 -217
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +2 -2
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/_index.css +12 -12
|
@@ -205,6 +205,12 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
205
205
|
--#{$sidebar}__panel--InsetBlockStart: auto;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
&.pf-m-no-background,
|
|
209
|
+
:where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
|
|
210
|
+
:where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
|
|
211
|
+
--#{$sidebar}__panel--BackgroundColor: transparent;
|
|
212
|
+
}
|
|
213
|
+
|
|
208
214
|
&.pf-m-secondary {
|
|
209
215
|
--#{$sidebar}__panel--BackgroundColor: var(--#{$sidebar}__panel--m-secondary--BackgroundColor);
|
|
210
216
|
}
|
|
@@ -226,7 +232,9 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
226
232
|
--#{$sidebar}__content--PaddingInlineStart: var(--#{$sidebar}__content--m-padding--PaddingBlockStart);
|
|
227
233
|
}
|
|
228
234
|
|
|
229
|
-
&.pf-m-no-background
|
|
235
|
+
&.pf-m-no-background,
|
|
236
|
+
:where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
|
|
237
|
+
:where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
|
|
230
238
|
--#{$sidebar}__content--BackgroundColor: transparent;
|
|
231
239
|
}
|
|
232
240
|
|
|
@@ -243,14 +251,6 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
243
251
|
}
|
|
244
252
|
}
|
|
245
253
|
|
|
246
|
-
.#{$sidebar},
|
|
247
|
-
.#{$sidebar}__panel,
|
|
248
|
-
.#{$sidebar}__content {
|
|
249
|
-
&.pf-m-no-background {
|
|
250
|
-
background-color: transparent;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
254
|
// Responsive width modifiers
|
|
255
255
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-sidebar--breakpoint-map--width {
|
|
256
256
|
$breakpoint-name: "";
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
width: 100%;
|
|
50
50
|
height: 100%;
|
|
51
51
|
stroke: var(--pf-v6-c-spinner--Color);
|
|
52
|
+
stroke-width: var(--pf-v6-c-spinner--StrokeWidth);
|
|
53
|
+
stroke-linecap: round;
|
|
52
54
|
stroke-dasharray: 283;
|
|
53
55
|
stroke-dashoffset: 280;
|
|
54
|
-
stroke-linecap: round;
|
|
55
|
-
stroke-width: var(--pf-v6-c-spinner--StrokeWidth);
|
|
56
56
|
transform-origin: 50% 50%;
|
|
57
57
|
animation: pf-v6-c-spinner-animation-dash var(--pf-v6-c-spinner--AnimationDuration) var(--pf-v6-c-spinner__path--AnimationTimingFunction) infinite;
|
|
58
58
|
}
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
width: 100%;
|
|
67
67
|
height: 100%;
|
|
68
68
|
stroke: var(--#{$spinner}--Color);
|
|
69
|
+
stroke-width: var(--#{$spinner}--StrokeWidth);
|
|
70
|
+
stroke-linecap: round;
|
|
69
71
|
stroke-dasharray: 283;
|
|
70
72
|
stroke-dashoffset: 280;
|
|
71
|
-
stroke-linecap: round;
|
|
72
|
-
stroke-width: var(--#{$spinner}--StrokeWidth);
|
|
73
73
|
transform-origin: 50% 50%;
|
|
74
74
|
animation: #{$spinner}-animation-dash var(--#{$spinner}--AnimationDuration) var(--#{$spinner}__path--AnimationTimingFunction) infinite;
|
|
75
75
|
}
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
background-color: var(--pf-v6-c-switch__input--not-checked__toggle--before--BackgroundColor);
|
|
129
129
|
border: var(--pf-v6-c-switch__toggle--before--BorderWidth) solid transparent;
|
|
130
130
|
border-radius: var(--pf-v6-c-switch__toggle--before--BorderRadius);
|
|
131
|
-
transition: var(--pf-v6-c-switch__toggle--before--Transition);
|
|
132
131
|
transform: translateY(-50%);
|
|
132
|
+
transition: var(--pf-v6-c-switch__toggle--before--Transition);
|
|
133
133
|
}
|
|
134
134
|
.pf-v6-c-switch__toggle::after {
|
|
135
135
|
position: absolute;
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
background-color: var(--#{$switch}__input--not-checked__toggle--before--BackgroundColor);
|
|
161
161
|
border: var(--#{$switch}__toggle--before--BorderWidth) solid transparent; // for forced color mode
|
|
162
162
|
border-radius: var(--#{$switch}__toggle--before--BorderRadius);
|
|
163
|
-
transition: var(--#{$switch}__toggle--before--Transition); // TODO remove shorthand in breaking change
|
|
164
163
|
transform: translateY(-50%);
|
|
164
|
+
transition: var(--#{$switch}__toggle--before--Transition); // TODO remove shorthand in breaking change
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
&::after {
|
|
@@ -134,8 +134,8 @@
|
|
|
134
134
|
}
|
|
135
135
|
.pf-m-tree-view-grid.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr) {
|
|
136
136
|
position: relative;
|
|
137
|
-
border: none;
|
|
138
137
|
outline-offset: var(--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset);
|
|
138
|
+
border: none;
|
|
139
139
|
}
|
|
140
140
|
.pf-m-tree-view-grid.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr)::before {
|
|
141
141
|
position: absolute;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
.pf-m-tree-view-grid.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] {
|
|
174
174
|
grid-template-columns: var(--pf-v6-c-table--m-tree-view-grid__td--data-label--GridTemplateColumns);
|
|
175
175
|
grid-column: 1;
|
|
176
|
-
|
|
176
|
+
column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
|
|
177
177
|
align-items: start;
|
|
178
178
|
}
|
|
179
179
|
.pf-m-tree-view-grid.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
|
|
@@ -276,8 +276,8 @@
|
|
|
276
276
|
}
|
|
277
277
|
.pf-m-tree-view-grid-md.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr) {
|
|
278
278
|
position: relative;
|
|
279
|
-
border: none;
|
|
280
279
|
outline-offset: var(--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset);
|
|
280
|
+
border: none;
|
|
281
281
|
}
|
|
282
282
|
.pf-m-tree-view-grid-md.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr)::before {
|
|
283
283
|
position: absolute;
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
.pf-m-tree-view-grid-md.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] {
|
|
316
316
|
grid-template-columns: var(--pf-v6-c-table--m-tree-view-grid__td--data-label--GridTemplateColumns);
|
|
317
317
|
grid-column: 1;
|
|
318
|
-
|
|
318
|
+
column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
|
|
319
319
|
align-items: start;
|
|
320
320
|
}
|
|
321
321
|
.pf-m-tree-view-grid-md.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
|
|
@@ -419,8 +419,8 @@
|
|
|
419
419
|
}
|
|
420
420
|
.pf-m-tree-view-grid-lg.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr) {
|
|
421
421
|
position: relative;
|
|
422
|
-
border: none;
|
|
423
422
|
outline-offset: var(--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset);
|
|
423
|
+
border: none;
|
|
424
424
|
}
|
|
425
425
|
.pf-m-tree-view-grid-lg.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr)::before {
|
|
426
426
|
position: absolute;
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
.pf-m-tree-view-grid-lg.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] {
|
|
459
459
|
grid-template-columns: var(--pf-v6-c-table--m-tree-view-grid__td--data-label--GridTemplateColumns);
|
|
460
460
|
grid-column: 1;
|
|
461
|
-
|
|
461
|
+
column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
|
|
462
462
|
align-items: start;
|
|
463
463
|
}
|
|
464
464
|
.pf-m-tree-view-grid-lg.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
|
|
@@ -562,8 +562,8 @@
|
|
|
562
562
|
}
|
|
563
563
|
.pf-m-tree-view-grid-xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr) {
|
|
564
564
|
position: relative;
|
|
565
|
-
border: none;
|
|
566
565
|
outline-offset: var(--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset);
|
|
566
|
+
border: none;
|
|
567
567
|
}
|
|
568
568
|
.pf-m-tree-view-grid-xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr)::before {
|
|
569
569
|
position: absolute;
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
.pf-m-tree-view-grid-xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] {
|
|
602
602
|
grid-template-columns: var(--pf-v6-c-table--m-tree-view-grid__td--data-label--GridTemplateColumns);
|
|
603
603
|
grid-column: 1;
|
|
604
|
-
|
|
604
|
+
column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
|
|
605
605
|
align-items: start;
|
|
606
606
|
}
|
|
607
607
|
.pf-m-tree-view-grid-xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
|
|
@@ -705,8 +705,8 @@
|
|
|
705
705
|
}
|
|
706
706
|
.pf-m-tree-view-grid-2xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr) {
|
|
707
707
|
position: relative;
|
|
708
|
-
border: none;
|
|
709
708
|
outline-offset: var(--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset);
|
|
709
|
+
border: none;
|
|
710
710
|
}
|
|
711
711
|
.pf-m-tree-view-grid-2xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody) tr:where(.pf-v6-c-table__tr)::before {
|
|
712
712
|
position: absolute;
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
.pf-m-tree-view-grid-2xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] {
|
|
745
745
|
grid-template-columns: var(--pf-v6-c-table--m-tree-view-grid__td--data-label--GridTemplateColumns);
|
|
746
746
|
grid-column: 1;
|
|
747
|
-
|
|
747
|
+
column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
|
|
748
748
|
align-items: start;
|
|
749
749
|
}
|
|
750
750
|
.pf-m-tree-view-grid-2xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
|
|
@@ -195,8 +195,8 @@ $pf-v6-c-tree-view--MaxDepth: 10;
|
|
|
195
195
|
|
|
196
196
|
tbody:where(.#{$table}__tbody) tr:where(.#{$table}__tr) {
|
|
197
197
|
position: relative;
|
|
198
|
-
border: none;
|
|
199
198
|
outline-offset: var(--#{$table}--m-tree-view-grid--tr--OutlineOffset);
|
|
199
|
+
border: none;
|
|
200
200
|
|
|
201
201
|
&::before {
|
|
202
202
|
position: absolute;
|
|
@@ -248,7 +248,7 @@ $pf-v6-c-tree-view--MaxDepth: 10;
|
|
|
248
248
|
td:where(.#{$table}__td)[data-label] {
|
|
249
249
|
grid-template-columns: var(--#{$table}--m-tree-view-grid__td--data-label--GridTemplateColumns);
|
|
250
250
|
grid-column: 1;
|
|
251
|
-
|
|
251
|
+
column-gap: var(--#{$table}--m-tree-view-grid__tbody--cell--GridColumnGap);
|
|
252
252
|
align-items: start;
|
|
253
253
|
|
|
254
254
|
// set contents of td to start at column two of td grid
|
|
@@ -175,6 +175,8 @@
|
|
|
175
175
|
--pf-v6-c-table--m-sticky-header--BoxShadow--glass: var(--pf-t--global--box-shadow--sm);
|
|
176
176
|
--pf-v6-c-table--m-sticky-header--TransitionTimingFunction--BackgroundColor: var(--pf-t--global--motion--timing-function--default);
|
|
177
177
|
--pf-v6-c-table--m-sticky-header--TransitionDuration--BackgroundColor: var(--pf-t--global--motion--duration--fade--default);
|
|
178
|
+
--pf-v6-c-table--m-sticky-footer--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
179
|
+
--pf-v6-c-table--m-sticky-footer--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
178
180
|
}
|
|
179
181
|
:where(.pf-v6-theme-glass) .pf-v6-c-table {
|
|
180
182
|
--pf-v6-c-table--m-sticky-header--BorderBlockEndWidth: 0;
|
|
@@ -244,6 +246,26 @@
|
|
|
244
246
|
.pf-v6-c-table:not(.pf-m-sticky-header) > .pf-m-nested-column-header tr:where(.pf-v6-c-table__tr):not(:last-child) td:where(.pf-v6-c-table__td):not([rowspan]) {
|
|
245
247
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockEnd);
|
|
246
248
|
}
|
|
249
|
+
.pf-v6-c-table.pf-m-sticky-footer > .pf-v6-c-table__tfoot {
|
|
250
|
+
position: sticky;
|
|
251
|
+
inset-block-end: 0;
|
|
252
|
+
z-index: var(--pf-v6-c-table--m-sticky-footer--ZIndex);
|
|
253
|
+
background: var(--pf-v6-c-table--BackgroundColor);
|
|
254
|
+
}
|
|
255
|
+
.pf-v6-c-table.pf-m-sticky-footer > .pf-v6-c-table__tfoot::before {
|
|
256
|
+
position: absolute;
|
|
257
|
+
inset: 0;
|
|
258
|
+
z-index: var(--pf-v6-c-table--m-sticky-footer--border--ZIndex);
|
|
259
|
+
pointer-events: none;
|
|
260
|
+
content: "";
|
|
261
|
+
border-block-start: var(--pf-v6-c-table--border-width--base) solid var(--pf-v6-c-table--BorderColor);
|
|
262
|
+
}
|
|
263
|
+
.pf-v6-c-table.pf-m-sticky-footer > .pf-v6-c-table__tbody:last-of-type > .pf-v6-c-table__tr:last-of-type {
|
|
264
|
+
border-block-end: 0;
|
|
265
|
+
}
|
|
266
|
+
.pf-v6-c-table.pf-m-plain {
|
|
267
|
+
--pf-v6-c-table--BackgroundColor: transparent;
|
|
268
|
+
}
|
|
247
269
|
.pf-v6-c-table.pf-m-striped:not(.pf-m-expandable) > tbody:where(.pf-v6-c-table__tbody) > tr:where(.pf-v6-c-table__tr):nth-child(odd), .pf-v6-c-table.pf-m-striped.pf-m-expandable > tbody:where(.pf-v6-c-table__tbody):nth-of-type(odd) > tr:where(.pf-v6-c-table__tr),
|
|
248
270
|
.pf-v6-c-table > .pf-m-striped > tr:nth-child(odd),
|
|
249
271
|
.pf-v6-c-table > .pf-m-striped-even > tr:nth-child(even),
|
|
@@ -314,11 +336,11 @@
|
|
|
314
336
|
padding-inline-start: var(--pf-v6-c-table--cell--PaddingInlineStart);
|
|
315
337
|
padding-inline-end: var(--pf-v6-c-table--cell--PaddingInlineEnd);
|
|
316
338
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
339
|
+
text-overflow: var(--pf-v6-c-table--cell--TextOverflow);
|
|
317
340
|
font-size: var(--pf-v6-c-table--cell--FontSize);
|
|
318
341
|
font-weight: var(--pf-v6-c-table--cell--FontWeight);
|
|
319
342
|
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
320
343
|
color: var(--pf-v6-c-table--cell--Color);
|
|
321
|
-
text-overflow: var(--pf-v6-c-table--cell--TextOverflow);
|
|
322
344
|
word-break: var(--pf-v6-c-table--cell--WordBreak);
|
|
323
345
|
white-space: var(--pf-v6-c-table--cell--WhiteSpace);
|
|
324
346
|
}
|
|
@@ -424,24 +446,24 @@
|
|
|
424
446
|
}
|
|
425
447
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-clickable {
|
|
426
448
|
cursor: pointer;
|
|
427
|
-
background-color: var(--pf-v6-c-table__tr--m-clickable--BackgroundColor);
|
|
428
449
|
outline-offset: var(--pf-v6-c-table__tr--m-clickable--OutlineOffset);
|
|
450
|
+
background-color: var(--pf-v6-c-table__tr--m-clickable--BackgroundColor);
|
|
429
451
|
}
|
|
430
452
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-clickable:is(:hover, :focus) {
|
|
431
453
|
--pf-v6-c-table__tr--m-clickable--BackgroundColor: var(--pf-v6-c-table__tr--m-clickable--hover--BackgroundColor);
|
|
432
454
|
}
|
|
433
455
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-selected {
|
|
434
456
|
position: relative;
|
|
435
|
-
background-color: var(--pf-v6-c-table__tr--m-selected--BackgroundColor);
|
|
436
457
|
outline-offset: var(--pf-v6-c-table__tr--m-selected--OutlineOffset);
|
|
458
|
+
background-color: var(--pf-v6-c-table__tr--m-selected--BackgroundColor);
|
|
437
459
|
}
|
|
438
460
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr).pf-m-first-cell-offset-reset > :first-child {
|
|
439
461
|
padding-inline-start: var(--pf-v6-c-table__tr--m-first-cell-offset-reset--cell--PaddingInlineStart);
|
|
440
462
|
}
|
|
441
463
|
.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody).pf-m-clickable {
|
|
442
464
|
cursor: pointer;
|
|
443
|
-
background-color: var(--pf-v6-c-table__tbody--m-clickable--BackgroundColor);
|
|
444
465
|
outline-offset: var(--pf-v6-c-table__tbody--m-clickable--OutlineOffset);
|
|
466
|
+
background-color: var(--pf-v6-c-table__tbody--m-clickable--BackgroundColor);
|
|
445
467
|
}
|
|
446
468
|
.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody).pf-m-clickable:is(:hover, :focus) {
|
|
447
469
|
--pf-v6-c-table__tbody--m-clickable--BackgroundColor: var(--pf-v6-c-table__tbody--m-clickable--hover--BackgroundColor);
|
|
@@ -450,8 +472,8 @@
|
|
|
450
472
|
--pf-v6-c-table__tbody--m-clickable--BackgroundColor: var(--pf-v6-c-table__tbody--m-clickable--m-expanded--BackgroundColor);
|
|
451
473
|
}
|
|
452
474
|
.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody).pf-m-selected {
|
|
453
|
-
background-color: var(--pf-v6-c-table__tbody--m-selected--BackgroundColor);
|
|
454
475
|
outline-offset: var(--pf-v6-c-table__tbody--m-selected--OutlineOffset);
|
|
476
|
+
background-color: var(--pf-v6-c-table__tbody--m-selected--BackgroundColor);
|
|
455
477
|
}
|
|
456
478
|
.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody).pf-m-selected .pf-v6-c-table__tr.pf-m-expanded:not(.pf-v6-c-table__expandable-row) {
|
|
457
479
|
border: none;
|
|
@@ -476,11 +498,11 @@
|
|
|
476
498
|
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
|
477
499
|
visibility: hidden;
|
|
478
500
|
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
501
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
479
502
|
transition-delay: 0s, 0s, var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
|
480
503
|
transition-timing-function: var(--pf-v6-c-table__expandable-row--TransitionTimingFunction);
|
|
481
504
|
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide), 0s, 0s;
|
|
482
505
|
transition-property: opacity, translate, visibility, background-color;
|
|
483
|
-
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
484
506
|
}
|
|
485
507
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row[hidden] {
|
|
486
508
|
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
|
@@ -488,9 +510,9 @@
|
|
|
488
510
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
489
511
|
visibility: visible;
|
|
490
512
|
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
|
513
|
+
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
|
491
514
|
transition-delay: 0s;
|
|
492
515
|
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide), 0s, 0s;
|
|
493
|
-
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
|
494
516
|
}
|
|
495
517
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) > .pf-v6-c-table__expandable-row-content {
|
|
496
518
|
max-height: 99999px;
|
|
@@ -556,8 +578,8 @@
|
|
|
556
578
|
min-width: var(--pf-v6-c-table__text--MinWidth);
|
|
557
579
|
max-width: var(--pf-v6-c-table--cell--MaxWidth);
|
|
558
580
|
overflow: var(--pf-v6-c-table--cell--Overflow);
|
|
559
|
-
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
560
581
|
text-overflow: var(--pf-v6-c-table--cell--TextOverflow);
|
|
582
|
+
line-height: var(--pf-v6-c-table--cell--LineHeight);
|
|
561
583
|
word-break: var(--pf-v6-c-table--cell--WordBreak);
|
|
562
584
|
white-space: var(--pf-v6-c-table--cell--WhiteSpace);
|
|
563
585
|
}
|
|
@@ -586,10 +608,10 @@
|
|
|
586
608
|
text-align: start;
|
|
587
609
|
white-space: inherit;
|
|
588
610
|
user-select: text;
|
|
611
|
+
outline-offset: var(--pf-v6-c-table__button--OutlineOffset);
|
|
589
612
|
background-color: var(--pf-v6-c-table__button--BackgroundColor);
|
|
590
613
|
border: 0;
|
|
591
614
|
border-radius: var(--pf-v6-c-table__button--BorderRadius);
|
|
592
|
-
outline-offset: var(--pf-v6-c-table__button--OutlineOffset);
|
|
593
615
|
}
|
|
594
616
|
.pf-v6-c-table__button::after {
|
|
595
617
|
position: absolute;
|
|
@@ -683,10 +705,10 @@
|
|
|
683
705
|
}
|
|
684
706
|
|
|
685
707
|
.pf-v6-c-table__toggle .pf-v6-c-table__toggle-icon {
|
|
708
|
+
transform: rotate(var(--pf-v6-c-table__toggle--c-button__toggle-icon--Rotate));
|
|
686
709
|
transition-timing-function: var(--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionTimingFunction);
|
|
687
710
|
transition-duration: var(--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionDuration);
|
|
688
711
|
transition-property: transform;
|
|
689
|
-
transform: rotate(var(--pf-v6-c-table__toggle--c-button__toggle-icon--Rotate));
|
|
690
712
|
}
|
|
691
713
|
.pf-v6-c-table__toggle svg {
|
|
692
714
|
pointer-events: none;
|
|
@@ -978,6 +1000,11 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
978
1000
|
border-block-end: var(--pf-v6-c-table--border-width--base) solid var(--pf-v6-c-table--BorderColor);
|
|
979
1001
|
}
|
|
980
1002
|
|
|
1003
|
+
.pf-v6-c-table__tfoot {
|
|
1004
|
+
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
1005
|
+
vertical-align: top;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
981
1008
|
.pf-v6-c-table__icon-inline {
|
|
982
1009
|
display: flex;
|
|
983
1010
|
align-items: center;
|
|
@@ -269,6 +269,10 @@
|
|
|
269
269
|
--#{$table}--m-sticky-header--BoxShadow--glass: var(--pf-t--global--box-shadow--sm);
|
|
270
270
|
--#{$table}--m-sticky-header--TransitionTimingFunction--BackgroundColor: var(--pf-t--global--motion--timing-function--default);
|
|
271
271
|
--#{$table}--m-sticky-header--TransitionDuration--BackgroundColor: var(--pf-t--global--motion--duration--fade--default);
|
|
272
|
+
|
|
273
|
+
// * Table sticky footer
|
|
274
|
+
--#{$table}--m-sticky-footer--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
275
|
+
--#{$table}--m-sticky-footer--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
272
276
|
|
|
273
277
|
:where(.pf-v6-theme-glass) & {
|
|
274
278
|
--#{$table}--m-sticky-header--BorderBlockEndWidth: 0;
|
|
@@ -373,6 +377,34 @@
|
|
|
373
377
|
}
|
|
374
378
|
}
|
|
375
379
|
|
|
380
|
+
// - Table sticky footer
|
|
381
|
+
&.pf-m-sticky-footer {
|
|
382
|
+
> .#{$table}__tfoot {
|
|
383
|
+
position: sticky;
|
|
384
|
+
inset-block-end: 0;
|
|
385
|
+
z-index: var(--#{$table}--m-sticky-footer--ZIndex);
|
|
386
|
+
background: var(--#{$table}--BackgroundColor);
|
|
387
|
+
|
|
388
|
+
&::before {
|
|
389
|
+
position: absolute;
|
|
390
|
+
inset: 0;
|
|
391
|
+
z-index: var(--#{$table}--m-sticky-footer--border--ZIndex);
|
|
392
|
+
pointer-events: none;
|
|
393
|
+
content: "";
|
|
394
|
+
border-block-start: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
> .#{$table}__tbody:last-of-type > .#{$table}__tr:last-of-type {
|
|
399
|
+
border-block-end: 0;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
// - Table plain
|
|
404
|
+
&.pf-m-plain {
|
|
405
|
+
--#{$table}--BackgroundColor: transparent;
|
|
406
|
+
}
|
|
407
|
+
|
|
376
408
|
// - Table striped
|
|
377
409
|
// stylelint-disable
|
|
378
410
|
&.pf-m-striped:not(.pf-m-expandable) > tbody:where(.#{$table}__tbody) > tr:where(.#{$table}__tr):nth-child(odd), // regular table
|
|
@@ -411,11 +443,11 @@
|
|
|
411
443
|
|
|
412
444
|
// default settings
|
|
413
445
|
overflow: var(--#{$table}--cell--Overflow);
|
|
446
|
+
text-overflow: var(--#{$table}--cell--TextOverflow);
|
|
414
447
|
font-size: var(--#{$table}--cell--FontSize);
|
|
415
448
|
font-weight: var(--#{$table}--cell--FontWeight);
|
|
416
449
|
line-height: var(--#{$table}--cell--LineHeight);
|
|
417
450
|
color: var(--#{$table}--cell--Color);
|
|
418
|
-
text-overflow: var(--#{$table}--cell--TextOverflow);
|
|
419
451
|
word-break: var(--#{$table}--cell--WordBreak);
|
|
420
452
|
white-space: var(--#{$table}--cell--WhiteSpace);
|
|
421
453
|
|
|
@@ -544,8 +576,8 @@
|
|
|
544
576
|
// }
|
|
545
577
|
|
|
546
578
|
.#{$table}__td.pf-m-action {
|
|
547
|
-
|
|
548
|
-
|
|
579
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}__td--m-action--PaddingBlockStart);
|
|
580
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}__td--m-action--PaddingBlockEnd);
|
|
549
581
|
}
|
|
550
582
|
|
|
551
583
|
// - Table sort
|
|
@@ -584,8 +616,8 @@
|
|
|
584
616
|
tr:where(.#{$table}__tr) {
|
|
585
617
|
&.pf-m-clickable {
|
|
586
618
|
cursor: pointer;
|
|
587
|
-
background-color: var(--#{$table}__tr--m-clickable--BackgroundColor);
|
|
588
619
|
outline-offset: var(--#{$table}__tr--m-clickable--OutlineOffset);
|
|
620
|
+
background-color: var(--#{$table}__tr--m-clickable--BackgroundColor);
|
|
589
621
|
|
|
590
622
|
&:is(:hover, :focus) {
|
|
591
623
|
--#{$table}__tr--m-clickable--BackgroundColor: var(--#{$table}__tr--m-clickable--hover--BackgroundColor);
|
|
@@ -595,8 +627,8 @@
|
|
|
595
627
|
// tr selected
|
|
596
628
|
&.pf-m-selected {
|
|
597
629
|
position: relative;
|
|
598
|
-
background-color: var(--#{$table}__tr--m-selected--BackgroundColor);
|
|
599
630
|
outline-offset: var(--#{$table}__tr--m-selected--OutlineOffset);
|
|
631
|
+
background-color: var(--#{$table}__tr--m-selected--BackgroundColor);
|
|
600
632
|
}
|
|
601
633
|
|
|
602
634
|
&.pf-m-first-cell-offset-reset > :first-child {
|
|
@@ -609,8 +641,8 @@
|
|
|
609
641
|
tbody:where(.#{$table}__tbody) {
|
|
610
642
|
&.pf-m-clickable {
|
|
611
643
|
cursor: pointer;
|
|
612
|
-
background-color: var(--#{$table}__tbody--m-clickable--BackgroundColor);
|
|
613
644
|
outline-offset: var(--#{$table}__tbody--m-clickable--OutlineOffset);
|
|
645
|
+
background-color: var(--#{$table}__tbody--m-clickable--BackgroundColor);
|
|
614
646
|
|
|
615
647
|
&:is(:hover, :focus) {
|
|
616
648
|
--#{$table}__tbody--m-clickable--BackgroundColor: var(--#{$table}__tbody--m-clickable--hover--BackgroundColor);
|
|
@@ -623,8 +655,8 @@
|
|
|
623
655
|
|
|
624
656
|
// - Table tbody expanded
|
|
625
657
|
&.pf-m-selected {
|
|
626
|
-
background-color: var(--#{$table}__tbody--m-selected--BackgroundColor);
|
|
627
658
|
outline-offset: var(--#{$table}__tbody--m-selected--OutlineOffset);
|
|
659
|
+
background-color: var(--#{$table}__tbody--m-selected--BackgroundColor);
|
|
628
660
|
|
|
629
661
|
.#{$table}__tr.pf-m-expanded:not(.#{$table}__expandable-row) {
|
|
630
662
|
border: none;
|
|
@@ -663,11 +695,11 @@
|
|
|
663
695
|
display: var(--#{$table}__expandable-row--Display, revert);
|
|
664
696
|
visibility: hidden;
|
|
665
697
|
opacity: var(--#{$table}__expandable-row--Opacity);
|
|
698
|
+
translate: 0 var(--#{$table}__expandable-row--TranslateY);
|
|
666
699
|
transition-delay: 0s, 0s, var(--#{$table}__expandable-row--TransitionDuration--collapse--fade), var(--#{$table}__expandable-row--TransitionDuration--collapse--fade);
|
|
667
700
|
transition-timing-function: var(--#{$table}__expandable-row--TransitionTimingFunction);
|
|
668
701
|
transition-duration: var(--#{$table}__expandable-row--TransitionDuration--collapse--fade), var(--#{$table}__expandable-row--TransitionDuration--collapse--slide), 0s, 0s;
|
|
669
702
|
transition-property: opacity, translate, visibility, background-color;
|
|
670
|
-
translate: 0 var(--#{$table}__expandable-row--TranslateY);
|
|
671
703
|
|
|
672
704
|
&[hidden] {
|
|
673
705
|
display: var(--#{$table}__expandable-row--Display, revert);
|
|
@@ -676,9 +708,9 @@
|
|
|
676
708
|
&.pf-m-expanded {
|
|
677
709
|
visibility: visible;
|
|
678
710
|
opacity: var(--#{$table}__tbody--m-expanded__expandable-row--Opacity);
|
|
711
|
+
translate: 0 var(--#{$table}__tbody--m-expanded__expandable-row--TranslateY);
|
|
679
712
|
transition-delay: 0s;
|
|
680
713
|
transition-duration: var(--#{$table}__expandable-row--TransitionDuration--expand--fade), var(--#{$table}__expandable-row--TransitionDuration--expand--slide), 0s, 0s;
|
|
681
|
-
translate: 0 var(--#{$table}__tbody--m-expanded__expandable-row--TranslateY);
|
|
682
714
|
|
|
683
715
|
> :is(.#{$table}__td, .#{$table}__th) {
|
|
684
716
|
> .#{$table}__expandable-row-content {
|
|
@@ -769,8 +801,8 @@
|
|
|
769
801
|
min-width: var(--#{$table}__text--MinWidth);
|
|
770
802
|
max-width: var(--#{$table}--cell--MaxWidth);
|
|
771
803
|
overflow: var(--#{$table}--cell--Overflow);
|
|
772
|
-
line-height: var(--#{$table}--cell--LineHeight);
|
|
773
804
|
text-overflow: var(--#{$table}--cell--TextOverflow);
|
|
805
|
+
line-height: var(--#{$table}--cell--LineHeight);
|
|
774
806
|
word-break: var(--#{$table}--cell--WordBreak);
|
|
775
807
|
white-space: var(--#{$table}--cell--WhiteSpace);
|
|
776
808
|
|
|
@@ -804,10 +836,10 @@
|
|
|
804
836
|
text-align: start;
|
|
805
837
|
white-space: inherit;
|
|
806
838
|
user-select: text;
|
|
839
|
+
outline-offset: var(--#{$table}__button--OutlineOffset);
|
|
807
840
|
background-color: var(--#{$table}__button--BackgroundColor);
|
|
808
841
|
border: 0;
|
|
809
842
|
border-radius: var(--#{$table}__button--BorderRadius);
|
|
810
|
-
outline-offset: var(--#{$table}__button--OutlineOffset);
|
|
811
843
|
|
|
812
844
|
&::after {
|
|
813
845
|
position: absolute;
|
|
@@ -919,10 +951,10 @@
|
|
|
919
951
|
.#{$table}__toggle-icon {
|
|
920
952
|
@include pf-v6-mirror-inline-on-rtl;
|
|
921
953
|
|
|
954
|
+
transform: rotate(var(--#{$table}__toggle--c-button__toggle-icon--Rotate));
|
|
922
955
|
transition-timing-function: var(--#{$table}__toggle--c-button__toggle-icon--TransitionTimingFunction);
|
|
923
956
|
transition-duration: var(--#{$table}__toggle--c-button__toggle-icon--TransitionDuration);
|
|
924
957
|
transition-property: transform;
|
|
925
|
-
transform: rotate(var(--#{$table}__toggle--c-button__toggle-icon--Rotate));
|
|
926
958
|
}
|
|
927
959
|
|
|
928
960
|
svg {
|
|
@@ -1235,8 +1267,8 @@
|
|
|
1235
1267
|
}
|
|
1236
1268
|
|
|
1237
1269
|
.#{$table}__td.pf-m-action {
|
|
1238
|
-
|
|
1239
|
-
|
|
1270
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--m-compact__td--m-action--PaddingBlockStart);
|
|
1271
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}--m-compact__td--m-action--PaddingBlockEnd);
|
|
1240
1272
|
}
|
|
1241
1273
|
|
|
1242
1274
|
.#{$table}__icon {
|
|
@@ -1331,6 +1363,13 @@
|
|
|
1331
1363
|
}
|
|
1332
1364
|
}
|
|
1333
1365
|
|
|
1366
|
+
// - Table tfoot
|
|
1367
|
+
.#{$table}__tfoot {
|
|
1368
|
+
--#{$table}__tr--BorderBlockEndWidth: 0;
|
|
1369
|
+
|
|
1370
|
+
vertical-align: top;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1334
1373
|
// - Table icon inline
|
|
1335
1374
|
.#{$table}__icon-inline {
|
|
1336
1375
|
display: flex;
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -475,8 +475,8 @@
|
|
|
475
475
|
|
|
476
476
|
.pf-v6-c-tabs__toggle-icon {
|
|
477
477
|
display: inline-block;
|
|
478
|
-
transition: var(--pf-v6-c-tabs__toggle-icon--Transition);
|
|
479
478
|
transform: rotate(var(--pf-v6-c-tabs__toggle-icon--Rotate));
|
|
479
|
+
transition: var(--pf-v6-c-tabs__toggle-icon--Transition);
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.pf-v6-c-tabs__list::-webkit-scrollbar {
|
|
@@ -640,8 +640,8 @@
|
|
|
640
640
|
align-self: end;
|
|
641
641
|
font-size: var(--pf-v6-c-tabs__link-toggle-icon--FontSize);
|
|
642
642
|
color: var(--pf-v6-c-tabs__link-toggle-icon--Color);
|
|
643
|
-
transition: var(--pf-v6-c-tabs__link-toggle-icon--Transition);
|
|
644
643
|
transform: rotate(var(--pf-v6-c-tabs__link-toggle-icon--Rotate));
|
|
644
|
+
transition: var(--pf-v6-c-tabs__link-toggle-icon--Transition);
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
.pf-v6-c-tabs__item-action {
|
|
@@ -904,10 +904,10 @@
|
|
|
904
904
|
border: 0 solid var(--pf-v6-c-tabs--link-accent--color);
|
|
905
905
|
border-block-end-width: var(--pf-v6-c-tabs--link-accent--BorderBlockEndWidth);
|
|
906
906
|
border-inline-start-width: var(--pf-v6-c-tabs--link-accent--BorderInlineStartWidth);
|
|
907
|
+
transform-origin: var(--pf-v6-c-tabs--link-accent--TransformOrigin);
|
|
907
908
|
transition-timing-function: var(--pf-v6-c-tabs--link-accent--TransitionTimingFunction);
|
|
908
909
|
transition-duration: var(--pf-v6-c-tabs--link-accent--TransitionDuration);
|
|
909
910
|
transition-property: width, height, translate;
|
|
910
|
-
transform-origin: var(--pf-v6-c-tabs--link-accent--TransformOrigin);
|
|
911
911
|
translate: var(--pf-v6-c-tabs--link-accent--TranslateX) var(--pf-v6-c-tabs--link-accent--TranslateY);
|
|
912
912
|
}
|
|
913
913
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__list::after {
|
|
@@ -553,8 +553,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
553
553
|
@include pf-v6-mirror-inline-on-rtl;
|
|
554
554
|
|
|
555
555
|
display: inline-block;
|
|
556
|
-
transition: var(--#{$tabs}__toggle-icon--Transition); // TODO remove shorthand in breaking change
|
|
557
556
|
transform: rotate(var(--#{$tabs}__toggle-icon--Rotate));
|
|
557
|
+
transition: var(--#{$tabs}__toggle-icon--Transition); // TODO remove shorthand in breaking change
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
// Tab list
|
|
@@ -738,8 +738,8 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
738
738
|
align-self: end;
|
|
739
739
|
font-size: var(--#{$tabs}__link-toggle-icon--FontSize);
|
|
740
740
|
color: var(--#{$tabs}__link-toggle-icon--Color);
|
|
741
|
-
transition: var(--#{$tabs}__link-toggle-icon--Transition); // TODO remove shorthand in breaking change
|
|
742
741
|
transform: rotate(var(--#{$tabs}__link-toggle-icon--Rotate));
|
|
742
|
+
transition: var(--#{$tabs}__link-toggle-icon--Transition); // TODO remove shorthand in breaking change
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
.#{$tabs}__item-action {
|
|
@@ -846,10 +846,10 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
846
846
|
border: 0 solid var(--#{$tabs}--link-accent--color);
|
|
847
847
|
border-block-end-width: var(--#{$tabs}--link-accent--BorderBlockEndWidth);
|
|
848
848
|
border-inline-start-width: var(--#{$tabs}--link-accent--BorderInlineStartWidth);
|
|
849
|
+
transform-origin: var(--#{$tabs}--link-accent--TransformOrigin);
|
|
849
850
|
transition-timing-function: var(--#{$tabs}--link-accent--TransitionTimingFunction);
|
|
850
851
|
transition-duration: var(--#{$tabs}--link-accent--TransitionDuration);
|
|
851
852
|
transition-property: width, height, translate;
|
|
852
|
-
transform-origin: var(--#{$tabs}--link-accent--TransformOrigin);
|
|
853
853
|
|
|
854
854
|
@include pf-v6-bidirectional-style(
|
|
855
855
|
$prop: translate,
|
|
@@ -194,9 +194,9 @@
|
|
|
194
194
|
padding-inline-start: var(--pf-v6-c-text-input-group__text-input--PaddingInlineStart);
|
|
195
195
|
padding-inline-end: var(--pf-v6-c-text-input-group__text-input--PaddingInlineEnd);
|
|
196
196
|
color: var(--pf-v6-c-text-input-group__text-input--Color);
|
|
197
|
+
outline-offset: var(--pf-v6-c-text-input-group__text-input--OutlineOffset);
|
|
197
198
|
background-color: var(--pf-v6-c-text-input-group__text-input--BackgroundColor);
|
|
198
199
|
border: 0;
|
|
199
|
-
outline-offset: var(--pf-v6-c-text-input-group__text-input--OutlineOffset);
|
|
200
200
|
}
|
|
201
201
|
.pf-v6-c-text-input-group__text-input, .pf-v6-c-text-input-group__text-input.pf-m-hint {
|
|
202
202
|
grid-area: text-input;
|
|
@@ -221,9 +221,9 @@
|
|
|
221
221
|
padding-inline-start: var(--#{$text-input-group}__text-input--PaddingInlineStart);
|
|
222
222
|
padding-inline-end: var(--#{$text-input-group}__text-input--PaddingInlineEnd);
|
|
223
223
|
color: var(--#{$text-input-group}__text-input--Color);
|
|
224
|
+
outline-offset: var(--#{$text-input-group}__text-input--OutlineOffset);
|
|
224
225
|
background-color: var(--#{$text-input-group}__text-input--BackgroundColor);
|
|
225
226
|
border: 0;
|
|
226
|
-
outline-offset: var(--#{$text-input-group}__text-input--OutlineOffset);
|
|
227
227
|
|
|
228
228
|
&,
|
|
229
229
|
&.pf-m-hint {
|
|
@@ -558,10 +558,10 @@
|
|
|
558
558
|
|
|
559
559
|
.pf-v6-c-toolbar__expand-all-icon {
|
|
560
560
|
display: inline-flex;
|
|
561
|
+
transform: rotate(var(--pf-v6-c-toolbar__expand-all-icon--Rotate));
|
|
561
562
|
transition-timing-function: var(--pf-v6-c-toolbar__expand-all-icon--TransitionTimingFunction);
|
|
562
563
|
transition-duration: var(--pf-v6-c-toolbar__expand-all-icon--TransitionDuration);
|
|
563
564
|
transition-property: transform;
|
|
564
|
-
transform: rotate(var(--pf-v6-c-toolbar__expand-all-icon--Rotate));
|
|
565
565
|
}
|
|
566
566
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-toolbar__expand-all-icon {
|
|
567
567
|
scale: -1 1;
|