@patternfly/patternfly 6.0.0-alpha.119 → 6.0.0-alpha.120
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/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/pficon/pficon.scss +3 -0
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +5 -35
- package/base/patternfly-common.scss +50 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.scss +14 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/components/AboutModalBox/about-modal-box.css +8 -8
- package/components/AboutModalBox/about-modal-box.scss +3 -4
- package/components/Accordion/accordion.css +1 -1
- package/components/Accordion/accordion.scss +8 -8
- package/components/ActionList/action-list.css +1 -1
- package/components/ActionList/action-list.scss +3 -1
- package/components/Alert/alert-group.scss +1 -1
- package/components/Alert/alert.css +1 -1
- package/components/Alert/alert.scss +3 -3
- package/components/AppLauncher/app-launcher.scss +1 -3
- package/components/Avatar/avatar.css +1 -1
- package/components/Avatar/avatar.scss +3 -2
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +1 -2
- package/components/Backdrop/backdrop.scss +2 -3
- package/components/BackgroundImage/background-image.css +1 -2
- package/components/BackgroundImage/background-image.scss +2 -3
- package/components/Badge/badge.css +1 -1
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +2 -2
- package/components/Banner/banner.scss +3 -3
- package/components/Brand/brand.scss +2 -1
- package/components/Breadcrumb/breadcrumb.css +1 -2
- package/components/Breadcrumb/breadcrumb.scss +3 -2
- package/components/Button/button.css +1 -2
- package/components/Button/button.scss +3 -2
- package/components/CalendarMonth/calendar-month.css +1 -2
- package/components/CalendarMonth/calendar-month.scss +5 -5
- package/components/Card/card.css +1 -2
- package/components/Card/card.scss +4 -5
- package/components/Check/check.css +1 -2
- package/components/Check/check.scss +2 -3
- package/components/Chip/chip-group.scss +1 -1
- package/components/Chip/chip.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +1 -2
- package/components/ClipboardCopy/clipboard-copy.scss +2 -3
- package/components/CodeBlock/code-block.css +1 -1
- package/components/CodeBlock/code-block.scss +2 -2
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/CodeEditor/code-editor.scss +2 -2
- package/components/Content/content.css +1 -2
- package/components/Content/content.scss +2 -3
- package/components/ContextSelector/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.scss +2 -0
- package/components/DataList/data-list.css +3 -3
- package/components/DataList/data-list.scss +5 -5
- package/components/DatePicker/date-picker.css +1 -2
- package/components/DatePicker/date-picker.scss +2 -3
- package/components/DescriptionList/description-list-order.scss +2 -0
- package/components/DescriptionList/description-list.css +7 -7
- package/components/DescriptionList/description-list.scss +5 -4
- package/components/Divider/divider.css +1 -2
- package/components/Divider/divider.scss +3 -3
- package/components/DragDrop/drag-drop.css +2 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +3 -6
- package/components/Drawer/drawer.scss +14 -13
- package/components/Dropdown/dropdown.scss +2 -1
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +4 -3
- package/components/EmptyState/empty-state.css +1 -1
- package/components/EmptyState/empty-state.scss +2 -2
- package/components/ExpandableSection/expandable-section.css +1 -1
- package/components/ExpandableSection/expandable-section.scss +7 -9
- package/components/FileUpload/file-upload.css +1 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +1 -2
- package/components/Form/form.scss +4 -4
- package/components/FormControl/form-control.css +1 -2
- package/components/FormControl/form-control.scss +6 -5
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +4 -3
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +2 -2
- package/components/Icon/icon.css +1 -2
- package/components/Icon/icon.scss +2 -3
- package/components/InlineEdit/inline-edit.css +1 -2
- package/components/InlineEdit/inline-edit.scss +2 -3
- package/components/InputGroup/input-group.css +1 -2
- package/components/InputGroup/input-group.scss +2 -3
- package/components/JumpLinks/jump-links.css +1 -2
- package/components/JumpLinks/jump-links.scss +3 -3
- package/components/Label/label-group.css +1 -2
- package/components/Label/label-group.scss +2 -3
- package/components/Label/label.css +1 -2
- package/components/Label/label.scss +2 -4
- package/components/List/list.scss +1 -1
- package/components/LogViewer/log-viewer.scss +1 -1
- package/components/Login/login.css +9 -9
- package/components/Login/login.scss +2 -2
- package/components/Masthead/masthead.css +1 -2
- package/components/Masthead/masthead.scss +3 -2
- package/components/Menu/menu.css +1 -2
- package/components/Menu/menu.scss +3 -2
- package/components/MenuToggle/menu-toggle.css +1 -2
- package/components/MenuToggle/menu-toggle.scss +2 -3
- package/components/ModalBox/modal-box.css +2 -2
- package/components/ModalBox/modal-box.scss +3 -3
- package/components/MultipleFileUpload/multiple-file-upload.css +1 -2
- package/components/MultipleFileUpload/multiple-file-upload.scss +2 -3
- package/components/Nav/nav.css +1 -2
- package/components/Nav/nav.scss +3 -2
- package/components/NotificationBadge/notification-badge.css +1 -1
- package/components/NotificationBadge/notification-badge.scss +2 -2
- package/components/NotificationDrawer/notification-drawer.css +1 -2
- package/components/NotificationDrawer/notification-drawer.scss +2 -3
- package/components/NumberInput/number-input.css +1 -2
- package/components/NumberInput/number-input.scss +2 -3
- package/components/OptionsMenu/options-menu.scss +1 -1
- package/components/OverflowMenu/overflow-menu.css +1 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +5 -5
- package/components/Page/page.scss +3 -2
- package/components/Pagination/pagination.css +3 -6
- package/components/Pagination/pagination.scss +3 -3
- package/components/Panel/panel.css +1 -2
- package/components/Panel/panel.scss +2 -3
- package/components/Popover/popover.scss +1 -1
- package/components/Progress/progress.css +1 -2
- package/components/Progress/progress.scss +5 -6
- package/components/ProgressStepper/progress-stepper.css +2 -4
- package/components/ProgressStepper/progress-stepper.scss +3 -3
- package/components/Radio/radio.css +1 -2
- package/components/Radio/radio.scss +2 -3
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +1 -2
- package/components/Sidebar/sidebar.scss +5 -5
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +3 -3
- package/components/Skeleton/skeleton.css +1 -2
- package/components/Skeleton/skeleton.scss +2 -3
- package/components/SkipToContent/skip-to-content.css +1 -1
- package/components/SkipToContent/skip-to-content.scss +2 -2
- package/components/Slider/slider.css +1 -2
- package/components/Slider/slider.scss +12 -13
- package/components/Spinner/spinner.css +1 -2
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +1 -2
- package/components/Switch/switch.scss +2 -3
- package/components/TabContent/tab-content.css +1 -2
- package/components/TabContent/tab-content.scss +3 -3
- package/components/Table/table-grid.scss +2 -0
- package/components/Table/table-scrollable.css +1 -2
- package/components/Table/table-scrollable.scss +3 -3
- package/components/Table/table-tree-view.css +1 -2
- package/components/Table/table-tree-view.scss +3 -2
- package/components/Table/table.css +1 -2
- package/components/Table/table.scss +3 -2
- package/components/Tabs/tabs.css +1 -2
- package/components/Tabs/tabs.scss +7 -7
- package/components/TextInputGroup/text-input-group.css +1 -2
- package/components/TextInputGroup/text-input-group.scss +4 -4
- package/components/Tile/tile.css +1 -2
- package/components/Tile/tile.scss +2 -3
- package/components/Timestamp/timestamp.css +1 -1
- package/components/Timestamp/timestamp.scss +4 -3
- package/components/Title/title.css +1 -1
- package/components/Title/title.scss +3 -3
- package/components/ToggleGroup/toggle-group.css +1 -2
- package/components/ToggleGroup/toggle-group.scss +3 -4
- package/components/Toolbar/toolbar.css +1 -2
- package/components/Toolbar/toolbar.scss +3 -2
- package/components/Tooltip/tooltip.css +1 -1
- package/components/Tooltip/tooltip.scss +5 -4
- package/components/TreeView/tree-view.css +1 -2
- package/components/TreeView/tree-view.scss +3 -3
- package/components/Truncate/truncate.css +1 -2
- package/components/Truncate/truncate.scss +2 -3
- package/components/Wizard/wizard.css +2 -4
- package/components/Wizard/wizard.scss +2 -3
- package/components/_index.css +25850 -0
- package/components/_index.scss +91 -0
- package/layouts/Bullseye/bullseye.css +1 -2
- package/layouts/Bullseye/bullseye.scss +3 -2
- package/layouts/Flex/flex.css +1 -2
- package/layouts/Flex/flex.scss +5 -4
- package/layouts/Gallery/gallery.css +1 -2
- package/layouts/Gallery/gallery.scss +3 -2
- package/layouts/Grid/grid.css +1 -2
- package/layouts/Grid/grid.scss +3 -2
- package/layouts/Level/level.css +1 -2
- package/layouts/Level/level.scss +3 -2
- package/layouts/Split/split.css +1 -2
- package/layouts/Split/split.scss +3 -2
- package/layouts/Stack/stack.css +1 -2
- package/layouts/Stack/stack.scss +3 -2
- package/layouts/_index.css +3454 -0
- package/layouts/_index.scss +8 -0
- package/package.json +1 -2
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1156 -1156
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1251 -1251
- package/patternfly-base.scss +2 -5
- package/patternfly-charts.scss +1 -1
- package/patternfly-no-globals.css +1278 -1341
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +1374 -1437
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +10 -4
- package/sass-utilities/mixins.scss +9 -7
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -0
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +0 -2
- package/utilities/Accessibility/accessibility.scss +2 -0
- package/utilities/Alignment/alignment.scss +2 -0
- package/utilities/BackgroundColor/{BackgroundColor.scss → background-color.scss} +1 -4
- package/utilities/BoxShadow/box-shadow.scss +2 -1
- package/utilities/Display/display.scss +2 -1
- package/utilities/Flex/flex.scss +2 -1
- package/utilities/Float/float.scss +4 -4
- package/utilities/Sizing/sizing.scss +2 -0
- package/utilities/Spacing/spacing.scss +2 -2
- package/utilities/Text/text.scss +2 -1
- package/utilities/_index.css +7777 -0
- package/utilities/_index.scss +10 -0
- package/base/_base.scss +0 -2
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -48
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_variables.scss +0 -14
- package/base/patternfly-globals.css +0 -116
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/components/_all.scss +0 -91
- package/layouts/_all.scss +0 -7
- package/sass-utilities/_all.scss +0 -7
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- /package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +0 -0
- /package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +0 -0
- /package/base/tokens/{_tokens-default.scss → tokens-default.scss} +0 -0
- /package/base/tokens/{_tokens-font.scss → tokens-font.scss} +0 -0
- /package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +0 -0
- /package/base/tokens/{_workspace-overrides.scss → workspace-overrides.scss} +0 -0
- /package/sass-utilities/{_init.scss → init.scss} +0 -0
- /package/utilities/BackgroundColor/{BackgroundColor.css → background-color.css} +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$switch} {
|
|
3
|
+
:where(:root, .#{$switch}) {
|
|
5
4
|
// Switch - the vars for this file don't follow our normal order so that the IE11 script can convert the vars correctly
|
|
6
5
|
--#{$switch}--FontSize: var(--pf-t--global--font--size--sm);
|
|
7
6
|
--#{$switch}--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
.#{$tab-content} {
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
3
|
+
:where(:root, .#{$tab-content}) {
|
|
4
4
|
--#{$tab-content}__body--PaddingTop: 0;
|
|
5
5
|
--#{$tab-content}__body--PaddingRight: 0;
|
|
6
6
|
--#{$tab-content}__body--PaddingBottom: 0;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-table) {
|
|
1
|
+
:where(:root, .pf-v6-c-table) {
|
|
3
2
|
--pf-v6-c-table__sticky-cell--MinWidth--base: 8.75rem;
|
|
4
3
|
--pf-v6-c-table__sticky-cell--MinWidth: var(--pf-v6-c-table__sticky-cell--MinWidth--base);
|
|
5
4
|
--pf-v6-c-table__sticky-cell--ZIndex: var(--pf-t--global--z-index--xs);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
1
3
|
// * Table scrollable
|
|
2
|
-
:where(:root)
|
|
3
|
-
:where(.#{$table}) {
|
|
4
|
+
:where(:root, .#{$table}) {
|
|
4
5
|
--#{$table}__sticky-cell--MinWidth--base: #{pf-size-prem(140px)};
|
|
5
6
|
--#{$table}__sticky-cell--MinWidth: var(--#{$table}__sticky-cell--MinWidth--base);
|
|
6
7
|
--#{$table}__sticky-cell--ZIndex: var(--pf-t--global--z-index--xs);
|
|
@@ -16,7 +17,6 @@
|
|
|
16
17
|
--#{$table}--m-sticky-header__sticky-cell--ZIndex: calc(var(--#{$table}__sticky-cell--ZIndex) + 1);
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
|
|
20
20
|
// - Table sticky cell
|
|
21
21
|
.#{$table} .#{$table}__sticky-cell {
|
|
22
22
|
position: sticky;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-table) {
|
|
1
|
+
:where(:root, .pf-v6-c-table) {
|
|
3
2
|
--pf-v6-c-table__tree-view-main--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-v6-c-table__tree-view-icon--MinWidth));
|
|
4
3
|
--pf-v6-c-table__tree-view-main--nested-indent--base: calc(var(--pf-v6-c-table__tree-view-main--indent--base) - var(--pf-t--global--spacer--md));
|
|
5
4
|
--pf-v6-c-table__tree-view-main--c-button--MarginRight: var(--pf-t--global--spacer--sm);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
1
3
|
$pf-v6-c-tree-view--MaxDepth: 10;
|
|
2
4
|
|
|
3
5
|
// * Table tree view
|
|
4
|
-
:where(:root)
|
|
5
|
-
:where(.#{$table}) {
|
|
6
|
+
:where(:root, .#{$table}) {
|
|
6
7
|
--#{$table}__tree-view-main--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--#{$table}__tree-view-icon--MinWidth)); // based off of the expected width of the toggle button
|
|
7
8
|
--#{$table}__tree-view-main--nested-indent--base: calc(var(--#{$table}__tree-view-main--indent--base) - var(--pf-t--global--spacer--md)); // nested spacing that removes the toggle button's left padding, so the icon aligns with text on the node above it
|
|
8
9
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-table) {
|
|
1
|
+
:where(:root, .pf-v6-c-table) {
|
|
3
2
|
--pf-v6-c-table--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
4
3
|
--pf-v6-c-table--BorderColor: var(--pf-t--global--border--color--default);
|
|
5
4
|
--pf-v6-c-table--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
1
3
|
// TODO: clean up unused variables
|
|
2
4
|
// TODO: update grouping comments to // * Table {element}
|
|
3
5
|
|
|
4
|
-
:where(:root)
|
|
5
|
-
:where(.#{$table}) {
|
|
6
|
+
:where(:root, .#{$table}) {
|
|
6
7
|
--#{$table}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
7
8
|
--#{$table}--BorderColor: var(--pf-t--global--border--color--default);
|
|
8
9
|
--#{$table}--border-width--base: var(--pf-t--global--border--width--divider--default);
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
2
3
|
$pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
4
|
$pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
4
5
|
|
|
5
|
-
:where(:root)
|
|
6
|
-
:where(.#{$tabs}) {
|
|
6
|
+
:where(:root, .#{$tabs}) {
|
|
7
7
|
--#{$tabs}--inset: 0;
|
|
8
8
|
--#{$tabs}--Width: auto;
|
|
9
9
|
--#{$tabs}--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
@@ -195,7 +195,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
195
195
|
.#{$tabs}__list {
|
|
196
196
|
flex-basis: 100%;
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
|
|
199
199
|
.#{$tabs}__item {
|
|
200
200
|
flex-grow: 1;
|
|
201
201
|
|
|
@@ -592,7 +592,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
592
592
|
& {
|
|
593
593
|
--#{$tabs}__link--after--BorderBottomWidth: var(--#{$tabs}__link--after--BorderWidth); // Set default border target
|
|
594
594
|
}
|
|
595
|
-
|
|
595
|
+
|
|
596
596
|
display: flex;
|
|
597
597
|
flex: 1;
|
|
598
598
|
column-gap: var(--#{$tabs}__link--ColumnGap);
|
|
@@ -606,7 +606,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
606
606
|
text-decoration: none;
|
|
607
607
|
background-color: var(--#{$tabs}__link--BackgroundColor);
|
|
608
608
|
border-radius: var(--#{$tabs}__link--BorderRadius);
|
|
609
|
-
|
|
609
|
+
|
|
610
610
|
@at-root .#{$tabs}__item.pf-m-action,
|
|
611
611
|
& {
|
|
612
612
|
&::before {
|
|
@@ -707,7 +707,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
707
707
|
padding-inline-end: var(--#{$tabs}__scroll-button--PaddingInlineEnd);
|
|
708
708
|
opacity: 0;
|
|
709
709
|
transition: margin var(--#{$tabs}__scroll-button--TransitionDuration--margin), transform var(--#{$tabs}__scroll-button--TransitionDuration--transform), opacity var(--#{$tabs}__scroll-button--TransitionDuration--opacity);
|
|
710
|
-
|
|
710
|
+
|
|
711
711
|
&::before {
|
|
712
712
|
border-color: var(--#{$tabs}__scroll-button--before--BorderColor);
|
|
713
713
|
border-block-start-width: 0;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-text-input-group) {
|
|
1
|
+
:where(:root, .pf-v6-c-text-input-group) {
|
|
3
2
|
--pf-v6-c-text-input-group--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
4
3
|
--pf-v6-c-text-input-group--BorderColor: var(--pf-t--global--border--color--default);
|
|
5
4
|
--pf-v6-c-text-input-group--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
:where(.#{$text-input-group}) {
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
3
|
+
:where(:root, .#{$text-input-group}) {
|
|
4
4
|
--#{$text-input-group}--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
5
5
|
--#{$text-input-group}--BorderColor: var(--pf-t--global--border--color--default);
|
|
6
6
|
--#{$text-input-group}--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
color: var(--#{$text-input-group}--Color, inherit);
|
|
54
54
|
background-color: var(--#{$text-input-group}--BackgroundColor);
|
|
55
55
|
border-radius: var(--#{$text-input-group}--BorderRadius);
|
|
56
|
-
|
|
56
|
+
|
|
57
57
|
&::before {
|
|
58
58
|
position: absolute;
|
|
59
59
|
inset: 0;
|
package/components/Tile/tile.css
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:where(:root)
|
|
4
|
-
:where(.#{$tile}) {
|
|
3
|
+
:where(:root, .#{$tile}) {
|
|
5
4
|
--#{$tile}--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
6
5
|
--#{$tile}--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
7
6
|
--#{$tile}--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
3
|
+
:where(:root, .#{$timestamp}) {
|
|
3
4
|
--#{$timestamp}--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
4
5
|
--#{$timestamp}--Color: var(--pf-t--global--text--color--subtle);
|
|
5
6
|
--#{$timestamp}--OutlineOffset: #{pf-size-prem(3px)};
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
--#{$timestamp}--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
.#{$timestamp} {
|
|
20
|
+
.#{$timestamp} {
|
|
20
21
|
display: inline-block;
|
|
21
22
|
font-size: var(--#{$timestamp}--FontSize);
|
|
22
23
|
color: var(--#{$timestamp}--Color);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root, .pf-v6-c-title) {
|
|
2
2
|
--pf-v6-c-title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
3
3
|
--pf-v6-c-title--m-4xl--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
4
4
|
--pf-v6-c-title--m-4xl--FontSize: var(--pf-t--global--font--size--heading--2xl);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root {
|
|
3
|
+
:where(:root, .#{$title}) {
|
|
4
4
|
--#{$title}--FontFamily: var(--pf-t--global--font--family--heading);
|
|
5
5
|
|
|
6
6
|
// SIZE modifiers (note that the modifier names match PF5 sizes but use tokens that don't match in name
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
--#{$title}--m-md--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
35
35
|
--#{$title}--m-md--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
36
36
|
|
|
37
|
-
// HEADING modifiers
|
|
37
|
+
// HEADING modifiers
|
|
38
38
|
// h1
|
|
39
39
|
--#{$title}--m-h1--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
40
40
|
--#{$title}--m-h1--FontSize: var(--pf-t--global--font--size--heading--h1);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-toggle-group) {
|
|
1
|
+
:where(:root, .pf-v6-c-toggle-group) {
|
|
3
2
|
--pf-v6-c-toggle-group__button--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
4
3
|
--pf-v6-c-toggle-group__button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
5
4
|
--pf-v6-c-toggle-group__button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:where(:root)
|
|
4
|
-
:where(.#{$toggle-group}) {
|
|
3
|
+
:where(:root, .#{$toggle-group}) {
|
|
5
4
|
// button
|
|
6
5
|
--#{$toggle-group}__button--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
7
6
|
--#{$toggle-group}__button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
@@ -149,7 +148,7 @@
|
|
|
149
148
|
.#{$toggle-group}__item:has(.pf-m-selected) + .#{$toggle-group}__item:has(.pf-m-selected) {
|
|
150
149
|
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--m-selected-selected--before--BorderInlineStartColor);
|
|
151
150
|
}
|
|
152
|
-
|
|
151
|
+
|
|
153
152
|
// For consecutive disabled items, turn the left border back to what it was
|
|
154
153
|
.#{$toggle-group}__item:has(:disabled, .pf-m-disabled) + .#{$toggle-group}__item:has(:disabled, .pf-m-disabled) {
|
|
155
154
|
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--disabled-disabled--before--BorderInlineStartColor);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-toolbar) {
|
|
1
|
+
:where(:root, .pf-v6-c-toolbar) {
|
|
3
2
|
--pf-v6-c-toolbar--RowGap: var(--pf-t--global--spacer--sm);
|
|
4
3
|
--pf-v6-c-toolbar--ColumnGap: var(--pf-t--global--spacer--md);
|
|
5
4
|
--pf-v6-c-toolbar--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
1
3
|
$pf-v6-c-toolbar--spacer-map: build-spacer-map();
|
|
2
4
|
$pf-v6-c-toolbar--inset-map: build-spacer-map();
|
|
3
5
|
$pf-v6-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
|
|
@@ -8,8 +10,7 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
8
10
|
$pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
|
|
9
11
|
}
|
|
10
12
|
|
|
11
|
-
:where(:root)
|
|
12
|
-
:where(.#{$toolbar}) {
|
|
13
|
+
:where(:root, .#{$toolbar}) {
|
|
13
14
|
--#{$toolbar}--RowGap: var(--pf-t--global--spacer--sm);
|
|
14
15
|
--#{$toolbar}--ColumnGap: var(--pf-t--global--spacer--md);
|
|
15
16
|
--#{$toolbar}--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
3
|
+
:where(:root, .#{$tooltip}) {
|
|
3
4
|
// Component variables
|
|
4
5
|
--#{$tooltip}--MaxWidth: #{pf-size-prem(300px)};
|
|
5
6
|
--#{$tooltip}--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
6
|
-
|
|
7
|
+
|
|
7
8
|
// Content variables
|
|
8
9
|
--#{$tooltip}__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
9
10
|
--#{$tooltip}__content--PaddingRight: var(--pf-t--global--spacer--md);
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
--#{$tooltip}__content--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
|
|
14
15
|
--#{$tooltip}__content--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
15
16
|
--#{$tooltip}__content--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
16
|
-
|
|
17
|
+
|
|
17
18
|
// Arrow variables
|
|
18
19
|
--#{$tooltip}__arrow--Width: #{pf-size-prem(15px)};
|
|
19
20
|
--#{$tooltip}__arrow--Height: #{pf-size-prem(15px)};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-tree-view) {
|
|
1
|
+
:where(:root, .pf-v6-c-tree-view) {
|
|
3
2
|
--pf-v6-c-tree-view__node--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-v6-c-tree-view__node-toggle-icon--MinWidth));
|
|
4
3
|
--pf-v6-c-tree-view__node--nested-indent--base: calc(var(--pf-v6-c-tree-view__node--indent--base) - var(--pf-t--global--spacer--md));
|
|
5
4
|
--pf-v6-c-tree-view__content--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
2
3
|
$pf-v6-c-tree-view--MaxNesting: 10 !default;
|
|
3
4
|
|
|
4
|
-
:where(:root)
|
|
5
|
-
:where(.#{$tree-view}) {
|
|
5
|
+
:where(:root, .#{$tree-view}) {
|
|
6
6
|
// Node base
|
|
7
7
|
--#{$tree-view}__node--indent--base: calc(var(--pf-t--global--spacer--md) * 2 + var(--#{$tree-view}__node-toggle-icon--MinWidth)); // based off of the expected width of the toggle button
|
|
8
8
|
--#{$tree-view}__node--nested-indent--base: calc(var(--#{$tree-view}__node--indent--base) - var(--pf-t--global--spacer--md)); // nested spacing that removes the toggle button's left padding, so the icon aligns with text on the node above it
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$truncate} {
|
|
3
|
+
:where(:root, .#{$truncate}) {
|
|
5
4
|
--#{$truncate}--MinWidth: 12ch;
|
|
6
5
|
--#{$truncate}__start--MinWidth: 6ch;
|
|
7
6
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-wizard) {
|
|
1
|
+
:where(:root, .pf-v6-c-wizard) {
|
|
3
2
|
--pf-v6-c-wizard--Height: 100%;
|
|
4
3
|
--pf-v6-c-modal-box--c-wizard--FlexBasis: 47.625rem;
|
|
5
4
|
--pf-v6-c-wizard__header--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
@@ -105,8 +104,7 @@
|
|
|
105
104
|
--pf-v6-c-wizard__footer-cancel--MarginLeft: calc(var(--pf-t--global--spacer--2xl) - var(--pf-v6-c-wizard__footer--child--MarginRight));
|
|
106
105
|
}
|
|
107
106
|
@media screen and (min-width: 992px) {
|
|
108
|
-
:where(:root)
|
|
109
|
-
:where(.pf-v6-c-wizard) {
|
|
107
|
+
:where(:root, .pf-v6-c-wizard) {
|
|
110
108
|
--pf-v6-c-wizard__nav--Width: var(--pf-v6-c-wizard__nav--lg--Width);
|
|
111
109
|
--pf-v6-c-wizard__nav--BoxShadow: none;
|
|
112
110
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:where(:root)
|
|
4
|
-
:where(.#{$wizard}) {
|
|
3
|
+
:where(:root, .#{$wizard}) {
|
|
5
4
|
--#{$wizard}--Height: 100%;
|
|
6
5
|
--#{$modal-box}--c-wizard--FlexBasis: #{pf-size-prem(762px)}; // this is a specific height from design for the wizard in a modal
|
|
7
6
|
|