@patternfly/patternfly 5.1.0-prerelease.3 → 5.1.0-prerelease.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +21 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +16 -2
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +5 -0
- package/components/AboutModalBox/about-modal-box.css +23 -12
- package/components/AboutModalBox/about-modal-box.scss +25 -12
- package/components/Accordion/accordion.css +33 -20
- package/components/Accordion/accordion.scss +32 -20
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +7 -4
- package/components/Alert/alert-group.scss +7 -4
- package/components/Alert/alert.css +19 -13
- package/components/Alert/alert.scss +18 -13
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +26 -17
- package/components/Button/button.scss +26 -16
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +33 -30
- package/components/Content/content.scss +33 -30
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -49
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -84
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -61
- package/components/Drawer/drawer.scss +92 -43
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +21 -11
- package/components/FormControl/form-control.scss +21 -11
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +19 -22
- package/components/Masthead/masthead.scss +19 -22
- package/components/Menu/menu.css +80 -66
- package/components/Menu/menu.scss +81 -69
- package/components/MenuToggle/menu-toggle.css +41 -29
- package/components/MenuToggle/menu-toggle.scss +41 -29
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +120 -93
- package/components/Nav/nav.scss +120 -93
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +13 -7
- package/components/NotificationBadge/notification-badge.scss +13 -7
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +3 -3
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +123 -65
- package/components/Page/page.scss +69 -40
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +28 -18
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +82 -31
- package/components/Popover/popover.scss +104 -45
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +4 -5
- package/components/Radio/radio.scss +4 -5
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +256 -219
- package/components/Table/table-grid.scss +53 -39
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +91 -69
- package/components/Table/table.scss +89 -69
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +44 -41
- package/components/Toolbar/toolbar.scss +26 -21
- package/components/Tooltip/tooltip.css +76 -25
- package/components/Tooltip/tooltip.scss +100 -41
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AppLauncher/deprecated/application-launcher.md +155 -70
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +11 -5
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +16 -3
- package/docs/components/Card/examples/Card.md +154 -66
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/ContextSelector/deprecated/context-selector.md +198 -96
- package/docs/components/DataList/examples/DataList.md +391 -136
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +881 -367
- package/docs/components/DualListSelector/examples/DualListSelector.md +432 -144
- package/docs/components/FormControl/examples/FormControl.md +2 -1
- package/docs/components/Hint/examples/Hint.md +57 -24
- package/docs/components/InlineEdit/examples/InlineEdit.md +46 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +40 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +111 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +1 -1
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -26
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +619 -240
- package/docs/components/OptionsMenu/deprecated/options-menu.md +415 -163
- package/docs/components/OverflowMenu/examples/overflow-menu.md +45 -34
- package/docs/components/Pagination/examples/Pagination.md +195 -65
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +4 -4
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +50 -0
- package/docs/components/Select/deprecated/Select.css +3 -3
- package/docs/components/Select/deprecated/Select.md +40 -52
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +4548 -1670
- package/docs/components/Tabs/examples/Tabs.md +1094 -438
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +218 -128
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +8 -6
- package/docs/components/TreeView/examples/TreeView.md +23 -8
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +72 -31
- package/docs/demos/CardView/examples/CardView.md +182 -74
- package/docs/demos/ContextSelector/examples/ContextSelector.md +95 -47
- package/docs/demos/Dashboard/examples/Dashboard.md +18 -9
- package/docs/demos/DataList/examples/DataList.md +171 -72
- package/docs/demos/DescriptionList/examples/DescriptionList.md +20 -9
- package/docs/demos/Drawer/examples/Drawer.md +20 -9
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +803 -338
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +257 -105
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +1470 -619
- package/docs/demos/Tabs/examples/Tabs.md +117 -49
- package/docs/demos/Toolbar/examples/Toolbar.md +318 -123
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +41 -37
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +26 -3
- package/patternfly-base-no-globals.css +26 -3
- package/patternfly-base-theme-dark-unversioned.css +27 -4
- package/patternfly-base.css +27 -4
- package/patternfly-no-globals.css +2695 -1897
- package/patternfly-theme-dark-unversioned.css +2696 -1898
- package/patternfly.css +2696 -1898
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/placeholders.scss +1 -1
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
position: relative;
|
|
333
333
|
|
|
334
334
|
thead:where(.#{$table}__thead) tr:where(.#{$table}__tr) {
|
|
335
|
-
border-
|
|
335
|
+
border-block-end: 0;
|
|
336
336
|
|
|
337
337
|
> * {
|
|
338
338
|
z-index: var(--#{$table}--m-sticky-header--cell--ZIndex); // set z-index here to allow sticky column to override
|
|
@@ -343,17 +343,17 @@
|
|
|
343
343
|
> thead:where(.#{$table}__thead):not(.pf-m-nested-column-header) {
|
|
344
344
|
> tr:where(.#{$table}__tr) > * {
|
|
345
345
|
position: sticky;
|
|
346
|
-
|
|
346
|
+
inset-block-start: 0;
|
|
347
347
|
background: var(--#{$table}--BackgroundColor);
|
|
348
348
|
|
|
349
349
|
// stylelint-disable-next-line
|
|
350
350
|
&::after {
|
|
351
351
|
position: absolute;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
352
|
+
inset-block-end: 0;
|
|
353
|
+
inset-inline-start: 0;
|
|
354
|
+
inset-inline-end: 0;
|
|
355
355
|
content: "";
|
|
356
|
-
border-
|
|
356
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
// nested column header
|
|
362
362
|
> .pf-m-nested-column-header {
|
|
363
363
|
position: sticky;
|
|
364
|
-
|
|
364
|
+
inset-block-start: 0;
|
|
365
365
|
z-index: var(--#{$pf-global}--ZIndex--xs);
|
|
366
366
|
background: var(--#{$table}--BackgroundColor);
|
|
367
367
|
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
|
|
386
386
|
&:not(.pf-m-sticky-header) > .pf-m-nested-column-header {
|
|
387
387
|
tr:where(.#{$table}__tr):not(:last-child) {
|
|
388
|
-
border-
|
|
388
|
+
border-block-end: 0; // hard reset tr borders in nested headers
|
|
389
389
|
|
|
390
390
|
// stylelint-disable max-nesting-depth
|
|
391
391
|
th:where(.#{$table}__th),
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
// Standard table row (non-expandable)
|
|
415
415
|
// exclude expandable rows
|
|
416
416
|
tr:where(.#{$table}__tr):not(.#{$table}__expandable-row) {
|
|
417
|
-
border-
|
|
417
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
418
418
|
|
|
419
419
|
// stylelint-disable-next-line
|
|
420
420
|
&.pf-m-ghost-row {
|
|
@@ -432,7 +432,10 @@
|
|
|
432
432
|
width: var(--#{$table}--cell--Width);
|
|
433
433
|
min-width: var(--#{$table}--cell--MinWidth);
|
|
434
434
|
max-width: var(--#{$table}--cell--MaxWidth);
|
|
435
|
-
padding: var(--#{$table}--cell--PaddingTop)
|
|
435
|
+
padding-block-start: var(--#{$table}--cell--PaddingTop);
|
|
436
|
+
padding-block-end: var(--#{$table}--cell--PaddingBottom);
|
|
437
|
+
padding-inline-start: var(--#{$table}--cell--PaddingLeft);
|
|
438
|
+
padding-inline-end: var(--#{$table}--cell--PaddingRight);
|
|
436
439
|
|
|
437
440
|
// default settings
|
|
438
441
|
overflow: var(--#{$table}--cell--Overflow);
|
|
@@ -477,31 +480,31 @@
|
|
|
477
480
|
&.pf-m-border-right::before,
|
|
478
481
|
&.pf-m-border-left::before {
|
|
479
482
|
position: absolute;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
483
|
+
inset-block-start: 0;
|
|
484
|
+
inset-block-end: 0;
|
|
485
|
+
inset-inline-start: 0;
|
|
486
|
+
inset-inline-end: 0;
|
|
484
487
|
pointer-events: none;
|
|
485
488
|
content: "";
|
|
486
489
|
}
|
|
487
490
|
|
|
488
491
|
&.pf-m-border-right::before {
|
|
489
|
-
border-
|
|
492
|
+
border-inline-end: var(--#{$table}--cell--m-border-right--before--BorderRightWidth) solid var(--#{$table}--cell--m-border-right--before--BorderRightColor);
|
|
490
493
|
}
|
|
491
494
|
|
|
492
495
|
&.pf-m-border-left::before {
|
|
493
|
-
border-
|
|
496
|
+
border-inline-start: var(--#{$table}--cell--m-border-left--before--BorderLeftWidth) solid var(--#{$table}--cell--m-border-left--before--BorderLeftColor);
|
|
494
497
|
}
|
|
495
498
|
}
|
|
496
499
|
|
|
497
500
|
// Table caption
|
|
498
501
|
caption:where(.#{$table}__caption) {
|
|
499
|
-
padding-
|
|
500
|
-
padding-
|
|
501
|
-
padding-
|
|
502
|
+
padding-block-start: var(--#{$table}__caption--PaddingTop);
|
|
503
|
+
padding-block-end: var(--#{$table}__caption--PaddingBottom);
|
|
504
|
+
padding-inline-start: var(--#{$table}__caption--PaddingLeft);
|
|
502
505
|
font-size: var(--#{$table}__caption--FontSize);
|
|
503
506
|
color: var(--#{$table}__caption--Color);
|
|
504
|
-
text-align:
|
|
507
|
+
text-align: start;
|
|
505
508
|
background-color: var(--#{$table}--BackgroundColor);
|
|
506
509
|
}
|
|
507
510
|
|
|
@@ -564,26 +567,26 @@
|
|
|
564
567
|
position: absolute;
|
|
565
568
|
|
|
566
569
|
// offset top to extend above tr border
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
+
inset-block-start: var(--#{$table}__expandable-row--after--Top);
|
|
571
|
+
inset-block-end: var(--#{$table}__expandable-row--after--Bottom);
|
|
572
|
+
inset-inline-start: 0;
|
|
570
573
|
content: "";
|
|
571
574
|
|
|
572
575
|
// add border left
|
|
573
576
|
background-color: transparent;
|
|
574
|
-
border-
|
|
577
|
+
border-inline-start: var(--#{$table}__expandable-row--after--BorderLeftWidth) solid var(--#{$table}__expandable-row--after--BorderColor);
|
|
575
578
|
}
|
|
576
579
|
|
|
577
580
|
// Check table cell
|
|
578
581
|
.#{$table}__check {
|
|
579
582
|
input:where(.#{$check}__input) {
|
|
580
|
-
margin-
|
|
583
|
+
margin-block-start: var(--#{$table}__check--input--MarginTop);
|
|
581
584
|
vertical-align: top;
|
|
582
585
|
}
|
|
583
586
|
}
|
|
584
587
|
|
|
585
588
|
&.pf-m-expanded > :first-child:not(.#{$table}__control-row) {
|
|
586
|
-
border-
|
|
589
|
+
border-block-end-width: 0;
|
|
587
590
|
}
|
|
588
591
|
}
|
|
589
592
|
// stylelint-enable
|
|
@@ -658,10 +661,10 @@
|
|
|
658
661
|
// stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors
|
|
659
662
|
&.pf-m-no-border-rows > tbody:where(.#{$table}__tbody) {
|
|
660
663
|
> tr:where(.#{$table}__tr) {
|
|
661
|
-
border-
|
|
664
|
+
border-block-end: 0;
|
|
662
665
|
|
|
663
666
|
> :first-child::after {
|
|
664
|
-
border-
|
|
667
|
+
border-inline-start: 0;
|
|
665
668
|
}
|
|
666
669
|
}
|
|
667
670
|
|
|
@@ -670,11 +673,11 @@
|
|
|
670
673
|
}
|
|
671
674
|
|
|
672
675
|
&.pf-m-expanded > .#{$table}__control-row {
|
|
673
|
-
border-
|
|
676
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
674
677
|
}
|
|
675
678
|
|
|
676
679
|
.#{$table}__control-row > .#{$table}__compound-expansion-toggle:first-child > ::before {
|
|
677
|
-
border-
|
|
680
|
+
border-inline-start-width: 0;
|
|
678
681
|
}
|
|
679
682
|
}
|
|
680
683
|
|
|
@@ -839,11 +842,14 @@
|
|
|
839
842
|
.#{$table}__button {
|
|
840
843
|
position: static;
|
|
841
844
|
width: 100%;
|
|
842
|
-
padding: var(--#{$table}--cell--PaddingTop)
|
|
845
|
+
padding-block-start: var(--#{$table}--cell--PaddingTop);
|
|
846
|
+
padding-block-end: var(--#{$table}--cell--PaddingBottom);
|
|
847
|
+
padding-inline-start: var(--#{$table}--cell--PaddingLeft);
|
|
848
|
+
padding-inline-end: var(--#{$table}--cell--PaddingRight);
|
|
843
849
|
font-size: inherit;
|
|
844
850
|
font-weight: inherit;
|
|
845
851
|
color: var(--#{$table}__button--Color);
|
|
846
|
-
text-align:
|
|
852
|
+
text-align: start;
|
|
847
853
|
white-space: inherit;
|
|
848
854
|
user-select: text;
|
|
849
855
|
background-color: var(--#{$table}__button--BackgroundColor);
|
|
@@ -852,10 +858,10 @@
|
|
|
852
858
|
// Define clickable area with invisible ::before pseudo
|
|
853
859
|
&::before {
|
|
854
860
|
position: absolute;
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
861
|
+
inset-block-start: 0;
|
|
862
|
+
inset-block-end: 0;
|
|
863
|
+
inset-inline-start: 0;
|
|
864
|
+
inset-inline-end: 0;
|
|
859
865
|
cursor: pointer;
|
|
860
866
|
content: "";
|
|
861
867
|
}
|
|
@@ -954,8 +960,8 @@
|
|
|
954
960
|
vertical-align: top;
|
|
955
961
|
|
|
956
962
|
.#{$button} {
|
|
957
|
-
margin-
|
|
958
|
-
margin-
|
|
963
|
+
margin-block-start: var(--#{$table}__toggle--c-button--MarginTop);
|
|
964
|
+
margin-block-end: var(--#{$table}__toggle--c-button--MarginBottom);
|
|
959
965
|
|
|
960
966
|
&.pf-m-expanded {
|
|
961
967
|
.#{$table}__toggle-icon {
|
|
@@ -965,6 +971,8 @@
|
|
|
965
971
|
}
|
|
966
972
|
|
|
967
973
|
.#{$table}__toggle-icon {
|
|
974
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
975
|
+
|
|
968
976
|
transition: var(--#{$table}__toggle--c-button__toggle-icon--Transition);
|
|
969
977
|
transform: rotate(var(--#{$table}__toggle--c-button__toggle-icon--Rotate));
|
|
970
978
|
}
|
|
@@ -986,7 +994,10 @@
|
|
|
986
994
|
label {
|
|
987
995
|
display: block;
|
|
988
996
|
padding: inherit;
|
|
989
|
-
margin: calc(var(--#{$table}--cell--PaddingTop) * -1)
|
|
997
|
+
margin-block-start: calc(var(--#{$table}--cell--PaddingTop) * -1);
|
|
998
|
+
margin-block-end: calc(var(--#{$table}--cell--PaddingBottom) * -1);
|
|
999
|
+
margin-inline-start: calc(var(--#{$table}--cell--PaddingLeft) * -1);
|
|
1000
|
+
margin-inline-end: calc(var(--#{$table}--cell--PaddingRight) * -1);
|
|
990
1001
|
}
|
|
991
1002
|
}
|
|
992
1003
|
|
|
@@ -996,7 +1007,10 @@
|
|
|
996
1007
|
--#{$button}--m-plain--Color: var(--#{$table}__favorite--c-button--Color);
|
|
997
1008
|
--#{$button}--FontSize: var(--#{$table}__favorite--c-button--FontSize);
|
|
998
1009
|
|
|
999
|
-
margin: var(--#{$table}__favorite--c-button--MarginTop)
|
|
1010
|
+
margin-block-start: var(--#{$table}__favorite--c-button--MarginTop);
|
|
1011
|
+
margin-block-end: var(--#{$table}__favorite--c-button--MarginBottom);
|
|
1012
|
+
margin-inline-start: var(--#{$table}__favorite--c-button--MarginLeft);
|
|
1013
|
+
margin-inline-end: var(--#{$table}__favorite--c-button--MarginRight);
|
|
1000
1014
|
|
|
1001
1015
|
@at-root .pf-m-favorited#{&} {
|
|
1002
1016
|
--#{$button}--m-plain--Color: var(--#{$table}__favorite--m-favorited--c-button--Color);
|
|
@@ -1007,7 +1021,10 @@
|
|
|
1007
1021
|
// Draggable
|
|
1008
1022
|
.#{$table}__draggable {
|
|
1009
1023
|
.#{$button} {
|
|
1010
|
-
margin: var(--#{$table}__draggable--c-button--MarginTop)
|
|
1024
|
+
margin-block-start: var(--#{$table}__draggable--c-button--MarginTop);
|
|
1025
|
+
margin-block-end: var(--#{$table}__draggable--c-button--MarginBottom);
|
|
1026
|
+
margin-inline-start: var(--#{$table}__draggable--c-button--MarginLeft);
|
|
1027
|
+
margin-inline-end: var(--#{$table}__draggable--c-button--MarginRight);
|
|
1011
1028
|
cursor: grab;
|
|
1012
1029
|
|
|
1013
1030
|
&:active {
|
|
@@ -1024,13 +1041,13 @@
|
|
|
1024
1041
|
--#{$table}--cell--PaddingBottom: 0;
|
|
1025
1042
|
--#{$table}--cell--PaddingLeft: var(--#{$table}__action--PaddingLeft);
|
|
1026
1043
|
|
|
1027
|
-
padding-
|
|
1028
|
-
padding-
|
|
1044
|
+
padding-block-start: 0;
|
|
1045
|
+
padding-block-end: 0;
|
|
1029
1046
|
vertical-align: middle;
|
|
1030
1047
|
}
|
|
1031
1048
|
|
|
1032
1049
|
.#{$table}__action {
|
|
1033
|
-
text-align:
|
|
1050
|
+
text-align: end;
|
|
1034
1051
|
}
|
|
1035
1052
|
|
|
1036
1053
|
// Inline edit
|
|
@@ -1038,7 +1055,7 @@
|
|
|
1038
1055
|
--#{$table}--cell--PaddingLeft: 0;
|
|
1039
1056
|
--#{$table}--cell--PaddingRight: 0;
|
|
1040
1057
|
|
|
1041
|
-
text-align:
|
|
1058
|
+
text-align: end;
|
|
1042
1059
|
}
|
|
1043
1060
|
|
|
1044
1061
|
// Compound expansion toggle
|
|
@@ -1071,28 +1088,28 @@
|
|
|
1071
1088
|
.#{$table}__button::before,
|
|
1072
1089
|
.#{$table}__button::after {
|
|
1073
1090
|
position: absolute;
|
|
1074
|
-
|
|
1091
|
+
inset-inline-end: 0;
|
|
1075
1092
|
content: "";
|
|
1076
1093
|
border-style: solid;
|
|
1077
1094
|
border-width: 0;
|
|
1078
1095
|
}
|
|
1079
1096
|
|
|
1080
1097
|
.#{$table}__button::before {
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1098
|
+
inset-block-start: 0;
|
|
1099
|
+
inset-block-end: var(--#{$table}__compound-expansion-toggle__button--before--Bottom);
|
|
1100
|
+
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--before--Left);
|
|
1084
1101
|
border-color: var(--#{$table}__compound-expansion-toggle__button--before--BorderColor);
|
|
1085
|
-
border-
|
|
1086
|
-
border-
|
|
1102
|
+
border-inline-start-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth);
|
|
1103
|
+
border-inline-end-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderRightWidth);
|
|
1087
1104
|
}
|
|
1088
1105
|
|
|
1089
1106
|
.#{$table}__button::after {
|
|
1090
1107
|
// overlap previous row's border
|
|
1091
|
-
|
|
1092
|
-
|
|
1108
|
+
inset-block-start: var(--#{$table}__compound-expansion-toggle__button--after--Top);
|
|
1109
|
+
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--after--Left);
|
|
1093
1110
|
pointer-events: none;
|
|
1094
1111
|
border-color: var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
1095
|
-
border-
|
|
1112
|
+
border-block-start-width: var(--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth);
|
|
1096
1113
|
}
|
|
1097
1114
|
|
|
1098
1115
|
&:hover,
|
|
@@ -1110,7 +1127,7 @@
|
|
|
1110
1127
|
|
|
1111
1128
|
&.pf-m-expanded {
|
|
1112
1129
|
.#{$table}__button::before {
|
|
1113
|
-
border-
|
|
1130
|
+
border-block-end: var(--#{$table}--BackgroundColor) solid var(--#{$table}__compound-expansion-toggle__button--before--border-width--base);
|
|
1114
1131
|
}
|
|
1115
1132
|
|
|
1116
1133
|
&:first-child {
|
|
@@ -1131,15 +1148,15 @@
|
|
|
1131
1148
|
}
|
|
1132
1149
|
|
|
1133
1150
|
.#{$table}__column-help-action {
|
|
1134
|
-
margin-
|
|
1151
|
+
margin-inline-start: var(--#{$table}__column-help--MarginLeft);
|
|
1135
1152
|
transform: translateY(var(--#{$table}__column-help--TranslateY));
|
|
1136
1153
|
|
|
1137
1154
|
.#{$button} {
|
|
1138
1155
|
--#{$button}--PaddingRight: var(--#{$table}__column-help--c-button--PaddingRight);
|
|
1139
1156
|
--#{$button}--PaddingLeft: var(--#{$table}__column-help--c-button--PaddingLeft);
|
|
1140
1157
|
|
|
1141
|
-
margin-
|
|
1142
|
-
margin-
|
|
1158
|
+
margin-block-start: var(--#{$table}__column-help--c-button--MarginTop);
|
|
1159
|
+
margin-block-end: var(--#{$table}__column-help--c-button--MarginBottom);
|
|
1143
1160
|
font-size: inherit;
|
|
1144
1161
|
line-height: 1;
|
|
1145
1162
|
}
|
|
@@ -1156,9 +1173,9 @@
|
|
|
1156
1173
|
|
|
1157
1174
|
display: flex;
|
|
1158
1175
|
width: auto;
|
|
1159
|
-
margin-
|
|
1160
|
-
margin-
|
|
1161
|
-
margin-
|
|
1176
|
+
margin-block-start: var(--#{$table}__sort__button--MarginTop);
|
|
1177
|
+
margin-block-end: var(--#{$table}__sort__button--MarginBottom);
|
|
1178
|
+
margin-inline-start: var(--#{$table}__sort__button--MarginLeft);
|
|
1162
1179
|
|
|
1163
1180
|
&:hover {
|
|
1164
1181
|
--#{$table}__sort-indicator--Color: var(--#{$table}__sort__button--hover__sort-indicator--Color);
|
|
@@ -1204,7 +1221,7 @@
|
|
|
1204
1221
|
// Sort indicator
|
|
1205
1222
|
.#{$table}__sort-indicator {
|
|
1206
1223
|
grid-column: 2;
|
|
1207
|
-
margin-
|
|
1224
|
+
margin-inline-start: var(--#{$table}__sort-indicator--MarginLeft);
|
|
1208
1225
|
color: var(--#{$table}__sort-indicator--Color);
|
|
1209
1226
|
pointer-events: none;
|
|
1210
1227
|
}
|
|
@@ -1216,7 +1233,7 @@
|
|
|
1216
1233
|
--#{$table}--cell--PaddingBottom: 0;
|
|
1217
1234
|
|
|
1218
1235
|
position: relative;
|
|
1219
|
-
border-
|
|
1236
|
+
border-block-end: 0 solid transparent;
|
|
1220
1237
|
box-shadow: 0 0 0 0 transparent;
|
|
1221
1238
|
|
|
1222
1239
|
&,
|
|
@@ -1228,7 +1245,10 @@
|
|
|
1228
1245
|
td:where(.#{$table}__td),
|
|
1229
1246
|
th:where(.#{$table}__th) {
|
|
1230
1247
|
&.pf-m-no-padding {
|
|
1231
|
-
padding: 0
|
|
1248
|
+
padding-block-start: 0;
|
|
1249
|
+
padding-inline-end: 0;
|
|
1250
|
+
padding-block-end: 0;
|
|
1251
|
+
padding-inline-start: var(--#{$table}__expandable-row--after--border-width--base); // set padding-left to adjust for left border.
|
|
1232
1252
|
|
|
1233
1253
|
.#{$table}__expandable-row-content {
|
|
1234
1254
|
padding: 0;
|
|
@@ -1238,14 +1258,14 @@
|
|
|
1238
1258
|
// stylelint-enable
|
|
1239
1259
|
|
|
1240
1260
|
.#{$table}__expandable-row-content {
|
|
1241
|
-
padding-
|
|
1242
|
-
padding-
|
|
1261
|
+
padding-block-start: var(--#{$table}__expandable-row-content--PaddingTop);
|
|
1262
|
+
padding-block-end: var(--#{$table}__expandable-row-content--PaddingBottom);
|
|
1243
1263
|
}
|
|
1244
1264
|
|
|
1245
1265
|
// Modifier - Expanded tr
|
|
1246
1266
|
&.pf-m-expanded {
|
|
1247
|
-
border-
|
|
1248
|
-
border-
|
|
1267
|
+
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBottomColor);
|
|
1268
|
+
border-block-end-width: var(--#{$table}--border-width--base);
|
|
1249
1269
|
box-shadow: var(--#{$table}__expandable-row--m-expanded--BoxShadow);
|
|
1250
1270
|
}
|
|
1251
1271
|
|
|
@@ -1352,7 +1372,7 @@
|
|
|
1352
1372
|
align-items: center;
|
|
1353
1373
|
|
|
1354
1374
|
> :not(:last-child) {
|
|
1355
|
-
margin-
|
|
1375
|
+
margin-inline-end: var(--#{$table}__icon-inline--MarginRight);
|
|
1356
1376
|
}
|
|
1357
1377
|
}
|
|
1358
1378
|
|