@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.9
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 +16 -0
- package/base/tokens/_tokens-font.scss +16 -14
- 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 +33 -21
- package/components/Button/button.scss +35 -23
- 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 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -61
- package/components/Drawer/drawer.scss +92 -43
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +19 -22
- package/components/Masthead/masthead.scss +19 -22
- package/components/Menu/menu.css +79 -65
- package/components/Menu/menu.scss +80 -68
- package/components/MenuToggle/menu-toggle.css +33 -27
- package/components/MenuToggle/menu-toggle.scss +33 -27
- 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 +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +135 -77
- package/components/Page/page.scss +81 -52
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +72 -40
- package/components/Popover/popover.scss +95 -75
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +3 -3
- package/components/Radio/radio.scss +3 -3
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +256 -195
- 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 +92 -70
- package/components/Table/table.scss +90 -70
- 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 +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +15 -15
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +120 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +90 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +4 -21
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +525 -431
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +24 -20
- package/docs/demos/Dashboard/examples/Dashboard.md +3 -3
- package/docs/demos/DataList/examples/DataList.md +8 -2
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +336 -252
- package/docs/demos/Tabs/examples/Tabs.md +28 -21
- package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +37 -3
- package/patternfly-base-no-globals.css +37 -3
- package/patternfly-base-theme-dark-unversioned.css +38 -4
- package/patternfly-base.css +38 -4
- package/patternfly-no-globals.css +2748 -1960
- package/patternfly-theme-dark-unversioned.css +2749 -1961
- package/patternfly.css +2749 -1961
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
position: relative;
|
|
336
336
|
|
|
337
337
|
thead:where(.#{$table}__thead) tr:where(.#{$table}__tr) {
|
|
338
|
-
border-
|
|
338
|
+
border-block-end: 0;
|
|
339
339
|
|
|
340
340
|
> * {
|
|
341
341
|
z-index: var(--#{$table}--m-sticky-header--cell--ZIndex); // set z-index here to allow sticky column to override
|
|
@@ -346,17 +346,17 @@
|
|
|
346
346
|
> thead:where(.#{$table}__thead):not(.pf-m-nested-column-header) {
|
|
347
347
|
> tr:where(.#{$table}__tr) > * {
|
|
348
348
|
position: sticky;
|
|
349
|
-
|
|
349
|
+
inset-block-start: 0;
|
|
350
350
|
background: var(--#{$table}--BackgroundColor);
|
|
351
351
|
|
|
352
352
|
// stylelint-disable-next-line
|
|
353
353
|
&::after {
|
|
354
354
|
position: absolute;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
355
|
+
inset-block-end: 0;
|
|
356
|
+
inset-inline-start: 0;
|
|
357
|
+
inset-inline-end: 0;
|
|
358
358
|
content: "";
|
|
359
|
-
border-
|
|
359
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
}
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
// nested column header
|
|
365
365
|
> .pf-m-nested-column-header {
|
|
366
366
|
position: sticky;
|
|
367
|
-
|
|
367
|
+
inset-block-start: 0;
|
|
368
368
|
z-index: var(--#{$pf-global}--ZIndex--xs);
|
|
369
369
|
background: var(--#{$table}--BackgroundColor);
|
|
370
370
|
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
|
|
389
389
|
&:not(.pf-m-sticky-header) > .pf-m-nested-column-header {
|
|
390
390
|
tr:where(.#{$table}__tr):not(:last-child) {
|
|
391
|
-
border-
|
|
391
|
+
border-block-end: 0; // hard reset tr borders in nested headers
|
|
392
392
|
|
|
393
393
|
// stylelint-disable max-nesting-depth
|
|
394
394
|
th:where(.#{$table}__th),
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
// Standard table row (non-expandable)
|
|
418
418
|
// exclude expandable rows
|
|
419
419
|
tr:where(.#{$table}__tr):not(.#{$table}__expandable-row) {
|
|
420
|
-
border-
|
|
420
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
421
421
|
|
|
422
422
|
// stylelint-disable-next-line
|
|
423
423
|
&.pf-m-ghost-row {
|
|
@@ -435,7 +435,10 @@
|
|
|
435
435
|
width: var(--#{$table}--cell--Width);
|
|
436
436
|
min-width: var(--#{$table}--cell--MinWidth);
|
|
437
437
|
max-width: var(--#{$table}--cell--MaxWidth);
|
|
438
|
-
padding: var(--#{$table}--cell--PaddingTop)
|
|
438
|
+
padding-block-start: var(--#{$table}--cell--PaddingTop);
|
|
439
|
+
padding-block-end: var(--#{$table}--cell--PaddingBottom);
|
|
440
|
+
padding-inline-start: var(--#{$table}--cell--PaddingLeft);
|
|
441
|
+
padding-inline-end: var(--#{$table}--cell--PaddingRight);
|
|
439
442
|
|
|
440
443
|
// default settings
|
|
441
444
|
overflow: var(--#{$table}--cell--Overflow);
|
|
@@ -480,31 +483,31 @@
|
|
|
480
483
|
&.pf-m-border-right::before,
|
|
481
484
|
&.pf-m-border-left::before {
|
|
482
485
|
position: absolute;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
486
|
+
inset-block-start: 0;
|
|
487
|
+
inset-block-end: 0;
|
|
488
|
+
inset-inline-start: 0;
|
|
489
|
+
inset-inline-end: 0;
|
|
487
490
|
pointer-events: none;
|
|
488
491
|
content: "";
|
|
489
492
|
}
|
|
490
493
|
|
|
491
494
|
&.pf-m-border-right::before {
|
|
492
|
-
border-
|
|
495
|
+
border-inline-end: var(--#{$table}--cell--m-border-right--before--BorderRightWidth) solid var(--#{$table}--cell--m-border-right--before--BorderRightColor);
|
|
493
496
|
}
|
|
494
497
|
|
|
495
498
|
&.pf-m-border-left::before {
|
|
496
|
-
border-
|
|
499
|
+
border-inline-start: var(--#{$table}--cell--m-border-left--before--BorderLeftWidth) solid var(--#{$table}--cell--m-border-left--before--BorderLeftColor);
|
|
497
500
|
}
|
|
498
501
|
}
|
|
499
502
|
|
|
500
503
|
// Table caption
|
|
501
504
|
caption:where(.#{$table}__caption) {
|
|
502
|
-
padding-
|
|
503
|
-
padding-
|
|
504
|
-
padding-
|
|
505
|
+
padding-block-start: var(--#{$table}__caption--PaddingTop);
|
|
506
|
+
padding-block-end: var(--#{$table}__caption--PaddingBottom);
|
|
507
|
+
padding-inline-start: var(--#{$table}__caption--PaddingLeft);
|
|
505
508
|
font-size: var(--#{$table}__caption--FontSize);
|
|
506
509
|
color: var(--#{$table}__caption--Color);
|
|
507
|
-
text-align:
|
|
510
|
+
text-align: start;
|
|
508
511
|
background-color: var(--#{$table}--BackgroundColor);
|
|
509
512
|
}
|
|
510
513
|
|
|
@@ -567,26 +570,26 @@
|
|
|
567
570
|
position: absolute;
|
|
568
571
|
|
|
569
572
|
// offset top to extend above tr border
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
+
inset-block-start: var(--#{$table}__expandable-row--after--Top);
|
|
574
|
+
inset-block-end: var(--#{$table}__expandable-row--after--Bottom);
|
|
575
|
+
inset-inline-start: 0;
|
|
573
576
|
content: "";
|
|
574
577
|
|
|
575
578
|
// add border left
|
|
576
579
|
background-color: transparent;
|
|
577
|
-
border-
|
|
580
|
+
border-inline-start: var(--#{$table}__expandable-row--after--BorderLeftWidth) solid var(--#{$table}__expandable-row--after--BorderColor);
|
|
578
581
|
}
|
|
579
582
|
|
|
580
583
|
// Check table cell
|
|
581
584
|
.#{$table}__check {
|
|
582
585
|
input:where(.#{$check}__input) {
|
|
583
|
-
margin-
|
|
586
|
+
margin-block-start: var(--#{$table}__check--input--MarginTop);
|
|
584
587
|
vertical-align: top;
|
|
585
588
|
}
|
|
586
589
|
}
|
|
587
590
|
|
|
588
591
|
&.pf-m-expanded > :first-child:not(.#{$table}__control-row) {
|
|
589
|
-
border-
|
|
592
|
+
border-block-end-width: 0;
|
|
590
593
|
}
|
|
591
594
|
}
|
|
592
595
|
// stylelint-enable
|
|
@@ -661,10 +664,10 @@
|
|
|
661
664
|
// stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors
|
|
662
665
|
&.pf-m-no-border-rows > tbody:where(.#{$table}__tbody) {
|
|
663
666
|
> tr:where(.#{$table}__tr) {
|
|
664
|
-
border-
|
|
667
|
+
border-block-end: 0;
|
|
665
668
|
|
|
666
669
|
> :first-child::after {
|
|
667
|
-
border-
|
|
670
|
+
border-inline-start: 0;
|
|
668
671
|
}
|
|
669
672
|
}
|
|
670
673
|
|
|
@@ -673,16 +676,16 @@
|
|
|
673
676
|
}
|
|
674
677
|
|
|
675
678
|
&.pf-m-expanded > .#{$table}__control-row {
|
|
676
|
-
border-
|
|
679
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
677
680
|
}
|
|
678
681
|
|
|
679
682
|
.#{$table}__control-row > .#{$table}__compound-expansion-toggle:first-child > ::before {
|
|
680
|
-
border-
|
|
683
|
+
border-inline-start-width: 0;
|
|
681
684
|
}
|
|
682
685
|
}
|
|
683
686
|
|
|
684
687
|
tr.pf-m-clickable:last-child {
|
|
685
|
-
border-
|
|
688
|
+
border-block-end-color: transparent;
|
|
686
689
|
}
|
|
687
690
|
|
|
688
691
|
// tr clickable
|
|
@@ -836,11 +839,14 @@
|
|
|
836
839
|
.#{$table}__button {
|
|
837
840
|
position: static;
|
|
838
841
|
width: 100%;
|
|
839
|
-
padding: var(--#{$table}--cell--PaddingTop)
|
|
842
|
+
padding-block-start: var(--#{$table}--cell--PaddingTop);
|
|
843
|
+
padding-block-end: var(--#{$table}--cell--PaddingBottom);
|
|
844
|
+
padding-inline-start: var(--#{$table}--cell--PaddingLeft);
|
|
845
|
+
padding-inline-end: var(--#{$table}--cell--PaddingRight);
|
|
840
846
|
font-size: inherit;
|
|
841
847
|
font-weight: inherit;
|
|
842
848
|
color: var(--#{$table}__button--Color);
|
|
843
|
-
text-align:
|
|
849
|
+
text-align: start;
|
|
844
850
|
white-space: inherit;
|
|
845
851
|
user-select: text;
|
|
846
852
|
background-color: var(--#{$table}__button--BackgroundColor);
|
|
@@ -849,10 +855,10 @@
|
|
|
849
855
|
// Define clickable area with invisible ::before pseudo
|
|
850
856
|
&::before {
|
|
851
857
|
position: absolute;
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
858
|
+
inset-block-start: 0;
|
|
859
|
+
inset-block-end: 0;
|
|
860
|
+
inset-inline-start: 0;
|
|
861
|
+
inset-inline-end: 0;
|
|
856
862
|
cursor: pointer;
|
|
857
863
|
content: "";
|
|
858
864
|
}
|
|
@@ -951,8 +957,8 @@
|
|
|
951
957
|
vertical-align: top;
|
|
952
958
|
|
|
953
959
|
.#{$button} {
|
|
954
|
-
margin-
|
|
955
|
-
margin-
|
|
960
|
+
margin-block-start: var(--#{$table}__toggle--c-button--MarginTop);
|
|
961
|
+
margin-block-end: var(--#{$table}__toggle--c-button--MarginBottom);
|
|
956
962
|
|
|
957
963
|
&.pf-m-expanded {
|
|
958
964
|
.#{$table}__toggle-icon {
|
|
@@ -962,6 +968,8 @@
|
|
|
962
968
|
}
|
|
963
969
|
|
|
964
970
|
.#{$table}__toggle-icon {
|
|
971
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
972
|
+
|
|
965
973
|
transition: var(--#{$table}__toggle--c-button__toggle-icon--Transition);
|
|
966
974
|
transform: rotate(var(--#{$table}__toggle--c-button__toggle-icon--Rotate));
|
|
967
975
|
}
|
|
@@ -983,7 +991,10 @@
|
|
|
983
991
|
label {
|
|
984
992
|
display: block;
|
|
985
993
|
padding: inherit;
|
|
986
|
-
margin: calc(var(--#{$table}--cell--PaddingTop) * -1)
|
|
994
|
+
margin-block-start: calc(var(--#{$table}--cell--PaddingTop) * -1);
|
|
995
|
+
margin-block-end: calc(var(--#{$table}--cell--PaddingBottom) * -1);
|
|
996
|
+
margin-inline-start: calc(var(--#{$table}--cell--PaddingLeft) * -1);
|
|
997
|
+
margin-inline-end: calc(var(--#{$table}--cell--PaddingRight) * -1);
|
|
987
998
|
}
|
|
988
999
|
}
|
|
989
1000
|
|
|
@@ -993,7 +1004,10 @@
|
|
|
993
1004
|
--#{$button}--m-plain--Color: var(--#{$table}__favorite--c-button--Color);
|
|
994
1005
|
--#{$button}--FontSize: var(--#{$table}__favorite--c-button--FontSize);
|
|
995
1006
|
|
|
996
|
-
margin: var(--#{$table}__favorite--c-button--MarginTop)
|
|
1007
|
+
margin-block-start: var(--#{$table}__favorite--c-button--MarginTop);
|
|
1008
|
+
margin-block-end: var(--#{$table}__favorite--c-button--MarginBottom);
|
|
1009
|
+
margin-inline-start: var(--#{$table}__favorite--c-button--MarginLeft);
|
|
1010
|
+
margin-inline-end: var(--#{$table}__favorite--c-button--MarginRight);
|
|
997
1011
|
|
|
998
1012
|
@at-root .pf-m-favorited#{&} {
|
|
999
1013
|
--#{$button}--m-plain--Color: var(--#{$table}__favorite--m-favorited--c-button--Color);
|
|
@@ -1004,7 +1018,10 @@
|
|
|
1004
1018
|
// Draggable
|
|
1005
1019
|
.#{$table}__draggable {
|
|
1006
1020
|
.#{$button} {
|
|
1007
|
-
margin: var(--#{$table}__draggable--c-button--MarginTop)
|
|
1021
|
+
margin-block-start: var(--#{$table}__draggable--c-button--MarginTop);
|
|
1022
|
+
margin-block-end: var(--#{$table}__draggable--c-button--MarginBottom);
|
|
1023
|
+
margin-inline-start: var(--#{$table}__draggable--c-button--MarginLeft);
|
|
1024
|
+
margin-inline-end: var(--#{$table}__draggable--c-button--MarginRight);
|
|
1008
1025
|
cursor: grab;
|
|
1009
1026
|
|
|
1010
1027
|
&:active {
|
|
@@ -1021,13 +1038,13 @@
|
|
|
1021
1038
|
--#{$table}--cell--PaddingBottom: 0;
|
|
1022
1039
|
--#{$table}--cell--PaddingLeft: var(--#{$table}__action--PaddingLeft);
|
|
1023
1040
|
|
|
1024
|
-
padding-
|
|
1025
|
-
padding-
|
|
1041
|
+
padding-block-start: 0;
|
|
1042
|
+
padding-block-end: 0;
|
|
1026
1043
|
vertical-align: middle;
|
|
1027
1044
|
}
|
|
1028
1045
|
|
|
1029
1046
|
.#{$table}__action {
|
|
1030
|
-
text-align:
|
|
1047
|
+
text-align: end;
|
|
1031
1048
|
}
|
|
1032
1049
|
|
|
1033
1050
|
// Inline edit
|
|
@@ -1035,7 +1052,7 @@
|
|
|
1035
1052
|
--#{$table}--cell--PaddingLeft: 0;
|
|
1036
1053
|
--#{$table}--cell--PaddingRight: 0;
|
|
1037
1054
|
|
|
1038
|
-
text-align:
|
|
1055
|
+
text-align: end;
|
|
1039
1056
|
}
|
|
1040
1057
|
|
|
1041
1058
|
// Compound expansion toggle
|
|
@@ -1068,28 +1085,28 @@
|
|
|
1068
1085
|
.#{$table}__button::before,
|
|
1069
1086
|
.#{$table}__button::after {
|
|
1070
1087
|
position: absolute;
|
|
1071
|
-
|
|
1088
|
+
inset-inline-end: 0;
|
|
1072
1089
|
content: "";
|
|
1073
1090
|
border-style: solid;
|
|
1074
1091
|
border-width: 0;
|
|
1075
1092
|
}
|
|
1076
1093
|
|
|
1077
1094
|
.#{$table}__button::before {
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1095
|
+
inset-block-start: 0;
|
|
1096
|
+
inset-block-end: var(--#{$table}__compound-expansion-toggle__button--before--Bottom);
|
|
1097
|
+
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--before--Left);
|
|
1081
1098
|
border-color: var(--#{$table}__compound-expansion-toggle__button--before--BorderColor);
|
|
1082
|
-
border-
|
|
1083
|
-
border-
|
|
1099
|
+
border-inline-start-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth);
|
|
1100
|
+
border-inline-end-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderRightWidth);
|
|
1084
1101
|
}
|
|
1085
1102
|
|
|
1086
1103
|
.#{$table}__button::after {
|
|
1087
1104
|
// overlap previous row's border
|
|
1088
|
-
|
|
1089
|
-
|
|
1105
|
+
inset-block-start: var(--#{$table}__compound-expansion-toggle__button--after--Top);
|
|
1106
|
+
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--after--Left);
|
|
1090
1107
|
pointer-events: none;
|
|
1091
1108
|
border-color: var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
1092
|
-
border-
|
|
1109
|
+
border-block-start-width: var(--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth);
|
|
1093
1110
|
}
|
|
1094
1111
|
|
|
1095
1112
|
&:hover,
|
|
@@ -1107,7 +1124,7 @@
|
|
|
1107
1124
|
|
|
1108
1125
|
&.pf-m-expanded {
|
|
1109
1126
|
.#{$table}__button::before {
|
|
1110
|
-
border-
|
|
1127
|
+
border-block-end: var(--#{$table}--BackgroundColor) solid var(--#{$table}__compound-expansion-toggle__button--before--border-width--base);
|
|
1111
1128
|
}
|
|
1112
1129
|
|
|
1113
1130
|
&:first-child {
|
|
@@ -1128,15 +1145,15 @@
|
|
|
1128
1145
|
}
|
|
1129
1146
|
|
|
1130
1147
|
.#{$table}__column-help-action {
|
|
1131
|
-
margin-
|
|
1148
|
+
margin-inline-start: var(--#{$table}__column-help--MarginLeft);
|
|
1132
1149
|
transform: translateY(var(--#{$table}__column-help--TranslateY));
|
|
1133
1150
|
|
|
1134
1151
|
.#{$button} {
|
|
1135
1152
|
--#{$button}--PaddingRight: var(--#{$table}__column-help--c-button--PaddingRight);
|
|
1136
1153
|
--#{$button}--PaddingLeft: var(--#{$table}__column-help--c-button--PaddingLeft);
|
|
1137
1154
|
|
|
1138
|
-
margin-
|
|
1139
|
-
margin-
|
|
1155
|
+
margin-block-start: var(--#{$table}__column-help--c-button--MarginTop);
|
|
1156
|
+
margin-block-end: var(--#{$table}__column-help--c-button--MarginBottom);
|
|
1140
1157
|
font-size: inherit;
|
|
1141
1158
|
line-height: 1;
|
|
1142
1159
|
}
|
|
@@ -1153,9 +1170,9 @@
|
|
|
1153
1170
|
|
|
1154
1171
|
display: flex;
|
|
1155
1172
|
width: auto;
|
|
1156
|
-
margin-
|
|
1157
|
-
margin-
|
|
1158
|
-
margin-
|
|
1173
|
+
margin-block-start: var(--#{$table}__sort__button--MarginTop);
|
|
1174
|
+
margin-block-end: var(--#{$table}__sort__button--MarginBottom);
|
|
1175
|
+
margin-inline-start: var(--#{$table}__sort__button--MarginLeft);
|
|
1159
1176
|
|
|
1160
1177
|
&:hover {
|
|
1161
1178
|
--#{$table}__sort-indicator--Color: var(--#{$table}__sort__button--hover__sort-indicator--Color);
|
|
@@ -1201,7 +1218,7 @@
|
|
|
1201
1218
|
// Sort indicator
|
|
1202
1219
|
.#{$table}__sort-indicator {
|
|
1203
1220
|
grid-column: 2;
|
|
1204
|
-
margin-
|
|
1221
|
+
margin-inline-start: var(--#{$table}__sort-indicator--MarginLeft);
|
|
1205
1222
|
color: var(--#{$table}__sort-indicator--Color);
|
|
1206
1223
|
pointer-events: none;
|
|
1207
1224
|
}
|
|
@@ -1213,7 +1230,7 @@
|
|
|
1213
1230
|
--#{$table}--cell--PaddingBottom: 0;
|
|
1214
1231
|
|
|
1215
1232
|
position: relative;
|
|
1216
|
-
border-
|
|
1233
|
+
border-block-end: 0 solid transparent;
|
|
1217
1234
|
box-shadow: 0 0 0 0 transparent;
|
|
1218
1235
|
|
|
1219
1236
|
&,
|
|
@@ -1225,7 +1242,10 @@
|
|
|
1225
1242
|
td:where(.#{$table}__td),
|
|
1226
1243
|
th:where(.#{$table}__th) {
|
|
1227
1244
|
&.pf-m-no-padding {
|
|
1228
|
-
padding: 0
|
|
1245
|
+
padding-block-start: 0;
|
|
1246
|
+
padding-inline-end: 0;
|
|
1247
|
+
padding-block-end: 0;
|
|
1248
|
+
padding-inline-start: var(--#{$table}__expandable-row--after--border-width--base); // set padding-left to adjust for left border.
|
|
1229
1249
|
|
|
1230
1250
|
.#{$table}__expandable-row-content {
|
|
1231
1251
|
padding: 0;
|
|
@@ -1235,14 +1255,14 @@
|
|
|
1235
1255
|
// stylelint-enable
|
|
1236
1256
|
|
|
1237
1257
|
.#{$table}__expandable-row-content {
|
|
1238
|
-
padding-
|
|
1239
|
-
padding-
|
|
1258
|
+
padding-block-start: var(--#{$table}__expandable-row-content--PaddingTop);
|
|
1259
|
+
padding-block-end: var(--#{$table}__expandable-row-content--PaddingBottom);
|
|
1240
1260
|
}
|
|
1241
1261
|
|
|
1242
1262
|
// Modifier - Expanded tr
|
|
1243
1263
|
&.pf-m-expanded {
|
|
1244
|
-
border-
|
|
1245
|
-
border-
|
|
1264
|
+
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBottomColor);
|
|
1265
|
+
border-block-end-width: var(--#{$table}--border-width--base);
|
|
1246
1266
|
box-shadow: var(--#{$table}__expandable-row--m-expanded--BoxShadow);
|
|
1247
1267
|
}
|
|
1248
1268
|
|
|
@@ -1349,7 +1369,7 @@
|
|
|
1349
1369
|
align-items: center;
|
|
1350
1370
|
|
|
1351
1371
|
> :not(:last-child) {
|
|
1352
|
-
margin-
|
|
1372
|
+
margin-inline-end: var(--#{$table}__icon-inline--MarginRight);
|
|
1353
1373
|
}
|
|
1354
1374
|
}
|
|
1355
1375
|
|