@patternfly/react-styles 5.2.0-prerelease.6 → 6.0.0-alpha.10
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +70 -0
- package/css/assets/images/PF-Backdrop.svg +1 -0
- package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/css/assets/images/PF-IconLogo-color.svg +17 -0
- package/css/assets/images/PF-IconLogo.svg +17 -0
- package/css/assets/images/pf-background.svg +22 -0
- package/css/components/AboutModalBox/about-modal-box.css +57 -94
- package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
- package/css/components/AboutModalBox/about-modal-box.js +1 -2
- package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
- package/css/components/Accordion/accordion.css +81 -182
- package/css/components/Accordion/accordion.d.ts +2 -2
- package/css/components/Accordion/accordion.js +2 -2
- package/css/components/Accordion/accordion.mjs +2 -2
- package/css/components/ActionList/action-list.css +18 -17
- package/css/components/Alert/alert-group.css +20 -16
- package/css/components/Alert/alert.css +57 -84
- package/css/components/Alert/alert.d.ts +1 -2
- package/css/components/Alert/alert.js +1 -2
- package/css/components/Alert/alert.mjs +1 -2
- package/css/components/Avatar/avatar.css +10 -13
- package/css/components/Avatar/avatar.d.ts +1 -2
- package/css/components/Avatar/avatar.js +1 -2
- package/css/components/Avatar/avatar.mjs +1 -2
- package/css/components/BackToTop/back-to-top.css +17 -16
- package/css/components/Backdrop/backdrop.css +6 -2
- package/css/components/BackgroundImage/background-image.css +5 -1
- package/css/components/Badge/badge.css +23 -15
- package/css/components/Badge/badge.d.ts +2 -2
- package/css/components/Badge/badge.js +2 -2
- package/css/components/Badge/badge.mjs +2 -2
- package/css/components/Banner/banner.css +90 -64
- package/css/components/Banner/banner.d.ts +12 -4
- package/css/components/Banner/banner.js +12 -4
- package/css/components/Banner/banner.mjs +12 -4
- package/css/components/Breadcrumb/breadcrumb.css +19 -16
- package/css/components/Button/button.css +444 -435
- package/css/components/Button/button.d.ts +10 -9
- package/css/components/Button/button.js +10 -9
- package/css/components/Button/button.mjs +10 -9
- package/css/components/Card/card.css +97 -194
- package/css/components/Card/card.d.ts +3 -9
- package/css/components/Card/card.js +3 -9
- package/css/components/Card/card.mjs +3 -9
- package/css/components/Check/check.css +17 -16
- package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
- package/css/components/CodeBlock/code-block.css +18 -9
- package/css/components/Content/content.css +67 -67
- package/css/components/DataList/data-list.css +101 -158
- package/css/components/DataList/data-list.d.ts +1 -2
- package/css/components/DataList/data-list.js +1 -2
- package/css/components/DataList/data-list.mjs +1 -2
- package/css/components/DescriptionList/description-list.css +39 -34
- package/css/components/Divider/divider.css +97 -177
- package/css/components/Divider/divider.d.ts +1 -0
- package/css/components/Divider/divider.js +1 -0
- package/css/components/Divider/divider.mjs +1 -0
- package/css/components/DragDrop/drag-drop.css +18 -14
- package/css/components/DragDrop/drag-drop.d.ts +1 -2
- package/css/components/DragDrop/drag-drop.js +1 -2
- package/css/components/DragDrop/drag-drop.mjs +1 -2
- package/css/components/Drawer/drawer.css +112 -113
- package/css/components/Drawer/drawer.d.ts +3 -3
- package/css/components/Drawer/drawer.js +3 -3
- package/css/components/Drawer/drawer.mjs +3 -3
- package/css/components/EmptyState/empty-state.css +57 -34
- package/css/components/EmptyState/empty-state.d.ts +6 -1
- package/css/components/EmptyState/empty-state.js +6 -1
- package/css/components/EmptyState/empty-state.mjs +6 -1
- package/css/components/ExpandableSection/expandable-section.css +64 -62
- package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
- package/css/components/ExpandableSection/expandable-section.js +1 -3
- package/css/components/ExpandableSection/expandable-section.mjs +1 -3
- package/css/components/FileUpload/file-upload.css +28 -34
- package/css/components/Form/form.css +62 -114
- package/css/components/Form/form.d.ts +2 -6
- package/css/components/Form/form.js +2 -6
- package/css/components/Form/form.mjs +2 -6
- package/css/components/FormControl/form-control.css +86 -111
- package/css/components/FormControl/form-control.d.ts +1 -2
- package/css/components/FormControl/form-control.js +1 -2
- package/css/components/FormControl/form-control.mjs +1 -2
- package/css/components/HelperText/helper-text.css +28 -34
- package/css/components/HelperText/helper-text.d.ts +1 -2
- package/css/components/HelperText/helper-text.js +1 -2
- package/css/components/HelperText/helper-text.mjs +1 -2
- package/css/components/Hint/hint.css +28 -21
- package/css/components/Hint/hint.d.ts +1 -2
- package/css/components/Hint/hint.js +1 -2
- package/css/components/Hint/hint.mjs +1 -2
- package/css/components/Icon/icon.css +154 -18
- package/css/components/Icon/icon.d.ts +11 -0
- package/css/components/Icon/icon.js +11 -0
- package/css/components/Icon/icon.mjs +11 -0
- package/css/components/InlineEdit/inline-edit.css +8 -7
- package/css/components/InputGroup/input-group.css +22 -38
- package/css/components/InputGroup/input-group.d.ts +1 -2
- package/css/components/InputGroup/input-group.js +1 -2
- package/css/components/InputGroup/input-group.mjs +1 -2
- package/css/components/JumpLinks/jump-links.css +34 -34
- package/css/components/Label/label-group.css +39 -44
- package/css/components/Label/label.css +258 -355
- package/css/components/Label/label.d.ts +11 -10
- package/css/components/Label/label.js +11 -10
- package/css/components/Label/label.mjs +11 -10
- package/css/components/List/list.css +16 -16
- package/css/components/Login/login.css +70 -97
- package/css/components/Login/login.d.ts +0 -2
- package/css/components/Login/login.js +0 -2
- package/css/components/Login/login.mjs +0 -2
- package/css/components/Masthead/masthead.css +262 -498
- package/css/components/Masthead/masthead.d.ts +3 -45
- package/css/components/Masthead/masthead.js +3 -45
- package/css/components/Masthead/masthead.mjs +3 -45
- package/css/components/MenuToggle/menu-toggle.css +56 -78
- package/css/components/ModalBox/modal-box.css +59 -52
- package/css/components/ModalBox/modal-box.d.ts +1 -2
- package/css/components/ModalBox/modal-box.js +1 -2
- package/css/components/ModalBox/modal-box.mjs +1 -2
- package/css/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/css/components/MultipleFileUpload/multiple-file-upload.d.ts +0 -1
- package/css/components/MultipleFileUpload/multiple-file-upload.js +0 -1
- package/css/components/MultipleFileUpload/multiple-file-upload.mjs +0 -1
- package/css/components/Nav/nav.css +241 -917
- package/css/components/Nav/nav.d.ts +9 -20
- package/css/components/Nav/nav.js +9 -20
- package/css/components/Nav/nav.mjs +9 -20
- package/css/components/NotificationBadge/notification-badge.css +56 -81
- package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
- package/css/components/NotificationBadge/notification-badge.js +1 -5
- package/css/components/NotificationBadge/notification-badge.mjs +1 -5
- package/css/components/NotificationDrawer/notification-drawer.css +104 -115
- package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -3
- package/css/components/NotificationDrawer/notification-drawer.js +3 -3
- package/css/components/NotificationDrawer/notification-drawer.mjs +3 -3
- package/css/components/NumberInput/number-input.css +8 -8
- package/css/components/NumberInput/number-input.d.ts +0 -3
- package/css/components/NumberInput/number-input.js +0 -3
- package/css/components/NumberInput/number-input.mjs +0 -3
- package/css/components/OverflowMenu/overflow-menu.css +17 -47
- package/css/components/OverflowMenu/overflow-menu.d.ts +1 -3
- package/css/components/OverflowMenu/overflow-menu.js +1 -3
- package/css/components/OverflowMenu/overflow-menu.mjs +1 -3
- package/css/components/Page/page.css +112 -209
- package/css/components/Page/page.d.ts +5 -12
- package/css/components/Page/page.js +5 -12
- package/css/components/Page/page.mjs +5 -12
- package/css/components/Pagination/pagination.css +64 -121
- package/css/components/Pagination/pagination.d.ts +2 -5
- package/css/components/Pagination/pagination.js +2 -5
- package/css/components/Pagination/pagination.mjs +2 -5
- package/css/components/Panel/panel.css +27 -23
- package/css/components/Panel/panel.d.ts +2 -2
- package/css/components/Panel/panel.js +2 -2
- package/css/components/Panel/panel.mjs +2 -2
- package/css/components/Popover/popover.css +42 -51
- package/css/components/Popover/popover.d.ts +1 -2
- package/css/components/Popover/popover.js +1 -2
- package/css/components/Popover/popover.mjs +1 -2
- package/css/components/Progress/progress.css +31 -45
- package/css/components/Progress/progress.d.ts +1 -2
- package/css/components/Progress/progress.js +1 -2
- package/css/components/Progress/progress.mjs +1 -2
- package/css/components/Radio/radio.css +15 -11
- package/css/components/Sidebar/sidebar.css +20 -9
- package/css/components/Sidebar/sidebar.d.ts +1 -0
- package/css/components/Sidebar/sidebar.js +1 -0
- package/css/components/Sidebar/sidebar.mjs +1 -0
- package/css/components/SimpleList/simple-list.css +35 -52
- package/css/components/SimpleList/simple-list.d.ts +2 -2
- package/css/components/SimpleList/simple-list.js +2 -2
- package/css/components/SimpleList/simple-list.mjs +2 -2
- package/css/components/Skeleton/skeleton.css +18 -20
- package/css/components/Skeleton/skeleton.d.ts +1 -2
- package/css/components/Skeleton/skeleton.js +1 -2
- package/css/components/Skeleton/skeleton.mjs +1 -2
- package/css/components/SkipToContent/skip-to-content.css +6 -3
- package/css/components/Slider/slider.css +34 -30
- package/css/components/Spinner/spinner.css +17 -34
- package/css/components/Switch/switch.css +41 -37
- package/css/components/Switch/switch.d.ts +1 -2
- package/css/components/Switch/switch.js +1 -2
- package/css/components/Switch/switch.mjs +1 -2
- package/css/components/TabContent/tab-content.css +17 -11
- package/css/components/TabContent/tab-content.d.ts +1 -1
- package/css/components/TabContent/tab-content.js +1 -1
- package/css/components/TabContent/tab-content.mjs +1 -1
- package/css/components/Table/table-grid.css +8 -8
- package/css/components/Table/table.css +79 -88
- package/css/components/Tile/tile.css +40 -81
- package/css/components/Tile/tile.d.ts +0 -1
- package/css/components/Tile/tile.js +0 -1
- package/css/components/Tile/tile.mjs +0 -1
- package/css/components/Timestamp/timestamp.css +12 -9
- package/css/components/Title/title.css +70 -19
- package/css/components/Title/title.d.ts +7 -1
- package/css/components/Title/title.js +7 -1
- package/css/components/Title/title.mjs +7 -1
- package/css/components/ToggleGroup/toggle-group.css +34 -47
- package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
- package/css/components/ToggleGroup/toggle-group.js +0 -1
- package/css/components/ToggleGroup/toggle-group.mjs +0 -1
- package/css/components/Toolbar/toolbar.css +2527 -1040
- package/css/components/Toolbar/toolbar.d.ts +406 -103
- package/css/components/Toolbar/toolbar.js +406 -103
- package/css/components/Toolbar/toolbar.mjs +406 -103
- package/css/components/Tooltip/tooltip.css +16 -16
- package/css/components/Tooltip/tooltip.d.ts +0 -1
- package/css/components/Tooltip/tooltip.js +0 -1
- package/css/components/Tooltip/tooltip.mjs +0 -1
- package/css/components/Truncate/truncate.css +4 -0
- package/css/docs/components/Button/examples/Button.css +4 -0
- package/css/docs/components/Divider/examples/Divider.css +3 -1
- package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/css/docs/components/Label/examples/Label.css +4 -0
- package/css/docs/components/Nav/examples/Navigation.css +1 -22
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -3
- package/css/docs/components/Nav/examples/Navigation.js +0 -3
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -3
- package/css/docs/components/Page/examples/Page.css +0 -8
- package/css/docs/components/Page/examples/Page.d.ts +0 -7
- package/css/docs/components/Page/examples/Page.js +0 -7
- package/css/docs/components/Page/examples/Page.mjs +0 -7
- package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/css/docs/components/Truncate/examples/Truncate.css +2 -2
- package/package.json +5 -4
- package/css/docs/components/Avatar/examples/Avatar.css +0 -3
- package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
- package/css/docs/components/Avatar/examples/Avatar.js +0 -4
- package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
@@ -1,23 +1,44 @@
|
|
1
|
+
:root {
|
2
|
+
--pf-v5-c-title--FontFamily: var(--pf-t--global--font--family--heading);
|
3
|
+
--pf-v5-c-title--m-4xl--LineHeight: var(--pf-t--global--font--line-height--heading);
|
4
|
+
--pf-v5-c-title--m-4xl--FontSize: var(--pf-t--global--font--size--heading--2xl);
|
5
|
+
--pf-v5-c-title--m-4xl--FontWeight: var(--pf-t--global--font--weight--heading);
|
6
|
+
--pf-v5-c-title--m-3xl--LineHeight: var(--pf-t--global--font--line-height--heading);
|
7
|
+
--pf-v5-c-title--m-3xl--FontSize: var(--pf-t--global--font--size--heading--xl);
|
8
|
+
--pf-v5-c-title--m-3xl--FontWeight: var(--pf-t--global--font--weight--heading);
|
9
|
+
--pf-v5-c-title--m-2xl--LineHeight: var(--pf-t--global--font--line-height--heading);
|
10
|
+
--pf-v5-c-title--m-2xl--FontSize: var(--pf-t--global--font--size--heading--lg);
|
11
|
+
--pf-v5-c-title--m-2xl--FontWeight: var(--pf-t--global--font--weight--heading);
|
12
|
+
--pf-v5-c-title--m-xl--LineHeight: var(--pf-t--global--font--line-height--heading);
|
13
|
+
--pf-v5-c-title--m-xl--FontSize: var(--pf-t--global--font--size--heading--md);
|
14
|
+
--pf-v5-c-title--m-xl--FontWeight: var(--pf-t--global--font--weight--heading);
|
15
|
+
--pf-v5-c-title--m-lg--LineHeight: var(--pf-t--global--font--line-height--heading);
|
16
|
+
--pf-v5-c-title--m-lg--FontSize: var(--pf-t--global--font--size--heading--sm);
|
17
|
+
--pf-v5-c-title--m-lg--FontWeight: var(--pf-t--global--font--weight--heading);
|
18
|
+
--pf-v5-c-title--m-md--LineHeight: var(--pf-t--global--font--line-height--heading);
|
19
|
+
--pf-v5-c-title--m-md--FontSize: var(--pf-t--global--font--size--heading--xs);
|
20
|
+
--pf-v5-c-title--m-md--FontWeight: var(--pf-t--global--font--weight--heading);
|
21
|
+
--pf-v5-c-title--m-h1--LineHeight: var(--pf-t--global--font--line-height--heading);
|
22
|
+
--pf-v5-c-title--m-h1--FontSize: var(--pf-t--global--font--size--heading--h1);
|
23
|
+
--pf-v5-c-title--m-h1--FontWeight: var(--pf-t--global--font--weight--heading);
|
24
|
+
--pf-v5-c-title--m-h2--LineHeight: var(--pf-t--global--font--line-height--heading);
|
25
|
+
--pf-v5-c-title--m-h2--FontSize: var(--pf-t--global--font--size--heading--h2);
|
26
|
+
--pf-v5-c-title--m-h2--FontWeight: var(--pf-t--global--font--weight--heading);
|
27
|
+
--pf-v5-c-title--m-h3--LineHeight: var(--pf-t--global--font--line-height--heading);
|
28
|
+
--pf-v5-c-title--m-h3--FontSize: var(--pf-t--global--font--size--heading--h3);
|
29
|
+
--pf-v5-c-title--m-h3--FontWeight: var(--pf-t--global--font--weight--heading);
|
30
|
+
--pf-v5-c-title--m-h4--LineHeight: var(--pf-t--global--font--line-height--heading);
|
31
|
+
--pf-v5-c-title--m-h4--FontSize: var(--pf-t--global--font--size--heading--h4);
|
32
|
+
--pf-v5-c-title--m-h4--FontWeight: var(--pf-t--global--font--weight--heading);
|
33
|
+
--pf-v5-c-title--m-h5--LineHeight: var(--pf-t--global--font--line-height--heading);
|
34
|
+
--pf-v5-c-title--m-h5--FontSize: var(--pf-t--global--font--size--heading--h5);
|
35
|
+
--pf-v5-c-title--m-h5--FontWeight: var(--pf-t--global--font--weight--heading);
|
36
|
+
--pf-v5-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
|
37
|
+
--pf-v5-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
|
38
|
+
--pf-v5-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading);
|
39
|
+
}
|
40
|
+
|
1
41
|
.pf-v5-c-title {
|
2
|
-
--pf-v5-c-title--FontFamily: var(--pf-v5-global--FontFamily--heading);
|
3
|
-
--pf-v5-c-title--m-4xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
|
4
|
-
--pf-v5-c-title--m-4xl--FontSize: var(--pf-v5-global--FontSize--4xl);
|
5
|
-
--pf-v5-c-title--m-4xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
6
|
-
--pf-v5-c-title--m-3xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
|
7
|
-
--pf-v5-c-title--m-3xl--FontSize: var(--pf-v5-global--FontSize--3xl);
|
8
|
-
--pf-v5-c-title--m-3xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
9
|
-
--pf-v5-c-title--m-2xl--LineHeight: var(--pf-v5-global--LineHeight--sm);
|
10
|
-
--pf-v5-c-title--m-2xl--FontSize: var(--pf-v5-global--FontSize--2xl);
|
11
|
-
--pf-v5-c-title--m-2xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
12
|
-
--pf-v5-c-title--m-xl--LineHeight: var(--pf-v5-global--LineHeight--md);
|
13
|
-
--pf-v5-c-title--m-xl--FontSize: var(--pf-v5-global--FontSize--xl);
|
14
|
-
--pf-v5-c-title--m-xl--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
15
|
-
--pf-v5-c-title--m-lg--LineHeight: var(--pf-v5-global--LineHeight--md);
|
16
|
-
--pf-v5-c-title--m-lg--FontSize: var(--pf-v5-global--FontSize--lg);
|
17
|
-
--pf-v5-c-title--m-lg--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
18
|
-
--pf-v5-c-title--m-md--LineHeight: var(--pf-v5-global--LineHeight--md);
|
19
|
-
--pf-v5-c-title--m-md--FontSize: var(--pf-v5-global--FontSize--md);
|
20
|
-
--pf-v5-c-title--m-md--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
21
42
|
font-family: var(--pf-v5-c-title--FontFamily);
|
22
43
|
word-break: break-word;
|
23
44
|
}
|
@@ -50,4 +71,34 @@
|
|
50
71
|
font-size: var(--pf-v5-c-title--m-md--FontSize);
|
51
72
|
font-weight: var(--pf-v5-c-title--m-md--FontWeight);
|
52
73
|
line-height: var(--pf-v5-c-title--m-md--LineHeight);
|
74
|
+
}
|
75
|
+
.pf-v5-c-title.pf-m-h1 {
|
76
|
+
font-size: var(--pf-v5-c-title--m-h1--FontSize);
|
77
|
+
font-weight: var(--pf-v5-c-title--m-h1--FontWeight);
|
78
|
+
line-height: var(--pf-v5-c-title--m-h1--LineHeight);
|
79
|
+
}
|
80
|
+
.pf-v5-c-title.pf-m-h2 {
|
81
|
+
font-size: var(--pf-v5-c-title--m-h2--FontSize);
|
82
|
+
font-weight: var(--pf-v5-c-title--m-h2--FontWeight);
|
83
|
+
line-height: var(--pf-v5-c-title--m-h2--LineHeight);
|
84
|
+
}
|
85
|
+
.pf-v5-c-title.pf-m-h3 {
|
86
|
+
font-size: var(--pf-v5-c-title--m-h3--FontSize);
|
87
|
+
font-weight: var(--pf-v5-c-title--m-h3--FontWeight);
|
88
|
+
line-height: var(--pf-v5-c-title--m-h3--LineHeight);
|
89
|
+
}
|
90
|
+
.pf-v5-c-title.pf-m-h4 {
|
91
|
+
font-size: var(--pf-v5-c-title--m-h4--FontSize);
|
92
|
+
font-weight: var(--pf-v5-c-title--m-h4--FontWeight);
|
93
|
+
line-height: var(--pf-v5-c-title--m-h4--LineHeight);
|
94
|
+
}
|
95
|
+
.pf-v5-c-title.pf-m-h5 {
|
96
|
+
font-size: var(--pf-v5-c-title--m-h5--FontSize);
|
97
|
+
font-weight: var(--pf-v5-c-title--m-h5--FontWeight);
|
98
|
+
line-height: var(--pf-v5-c-title--m-h5--LineHeight);
|
99
|
+
}
|
100
|
+
.pf-v5-c-title.pf-m-h6 {
|
101
|
+
font-size: var(--pf-v5-c-title--m-h6--FontSize);
|
102
|
+
font-weight: var(--pf-v5-c-title--m-h6--FontWeight);
|
103
|
+
line-height: var(--pf-v5-c-title--m-h6--LineHeight);
|
53
104
|
}
|
@@ -6,7 +6,13 @@ declare const _default: {
|
|
6
6
|
"2xl": "pf-m-2xl",
|
7
7
|
"xl": "pf-m-xl",
|
8
8
|
"lg": "pf-m-lg",
|
9
|
-
"md": "pf-m-md"
|
9
|
+
"md": "pf-m-md",
|
10
|
+
"h1": "pf-m-h1",
|
11
|
+
"h2": "pf-m-h2",
|
12
|
+
"h3": "pf-m-h3",
|
13
|
+
"h4": "pf-m-h4",
|
14
|
+
"h5": "pf-m-h5",
|
15
|
+
"h6": "pf-m-h6"
|
10
16
|
},
|
11
17
|
"title": "pf-v5-c-title"
|
12
18
|
};
|
@@ -8,7 +8,13 @@ exports.default = {
|
|
8
8
|
"2xl": "pf-m-2xl",
|
9
9
|
"xl": "pf-m-xl",
|
10
10
|
"lg": "pf-m-lg",
|
11
|
-
"md": "pf-m-md"
|
11
|
+
"md": "pf-m-md",
|
12
|
+
"h1": "pf-m-h1",
|
13
|
+
"h2": "pf-m-h2",
|
14
|
+
"h3": "pf-m-h3",
|
15
|
+
"h4": "pf-m-h4",
|
16
|
+
"h5": "pf-m-h5",
|
17
|
+
"h6": "pf-m-h6"
|
12
18
|
},
|
13
19
|
"title": "pf-v5-c-title"
|
14
20
|
};
|
@@ -6,7 +6,13 @@ export default {
|
|
6
6
|
"2xl": "pf-m-2xl",
|
7
7
|
"xl": "pf-m-xl",
|
8
8
|
"lg": "pf-m-lg",
|
9
|
-
"md": "pf-m-md"
|
9
|
+
"md": "pf-m-md",
|
10
|
+
"h1": "pf-m-h1",
|
11
|
+
"h2": "pf-m-h2",
|
12
|
+
"h3": "pf-m-h3",
|
13
|
+
"h4": "pf-m-h4",
|
14
|
+
"h5": "pf-m-h5",
|
15
|
+
"h6": "pf-m-h6"
|
10
16
|
},
|
11
17
|
"title": "pf-v5-c-title"
|
12
18
|
};
|
@@ -1,38 +1,39 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
--pf-v5-c-toggle-group__button--
|
4
|
-
--pf-v5-c-toggle-group__button--
|
5
|
-
--pf-v5-c-toggle-group__button--
|
6
|
-
--pf-v5-c-toggle-group__button--
|
7
|
-
--pf-v5-c-toggle-group__button--
|
8
|
-
--pf-v5-c-toggle-group__button--
|
9
|
-
--pf-v5-c-toggle-group__button--
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-toggle-group) {
|
3
|
+
--pf-v5-c-toggle-group__button--PaddingTop: var(--pf-t--global--spacer--sm);
|
4
|
+
--pf-v5-c-toggle-group__button--PaddingRight: var(--pf-t--global--spacer--md);
|
5
|
+
--pf-v5-c-toggle-group__button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
6
|
+
--pf-v5-c-toggle-group__button--PaddingLeft: var(--pf-t--global--spacer--md);
|
7
|
+
--pf-v5-c-toggle-group__button--FontSize: var(--pf-t--global--font--size--body--default);
|
8
|
+
--pf-v5-c-toggle-group__button--LineHeight: var(--pf-t--global--font--line-height--body);
|
9
|
+
--pf-v5-c-toggle-group__button--Color: var(--pf-t--global--text--color--regular);
|
10
|
+
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
10
11
|
--pf-v5-c-toggle-group__button--ZIndex: auto;
|
11
|
-
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-
|
12
|
-
--pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-
|
13
|
-
--pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-
|
14
|
-
--pf-v5-c-toggle-group__button--
|
15
|
-
--pf-v5-c-toggle-group__button--
|
16
|
-
--pf-v5-c-toggle-group__button--
|
17
|
-
--pf-v5-c-toggle-group__button--
|
18
|
-
--pf-v5-c-toggle-
|
19
|
-
--pf-v5-c-toggle-
|
20
|
-
--pf-v5-c-toggle-
|
21
|
-
--pf-v5-c-toggle-group__item--
|
22
|
-
--pf-v5-c-toggle-group__item--
|
23
|
-
--pf-v5-c-toggle-
|
24
|
-
--pf-v5-c-toggle-
|
25
|
-
--pf-v5-c-toggle-
|
26
|
-
--pf-v5-c-toggle-
|
27
|
-
--pf-v5-c-toggle-group__button--m-selected--
|
28
|
-
--pf-v5-c-toggle-group__button--m-selected--Color: initial;
|
29
|
-
--pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-v5-global--primary-color--100);
|
30
|
-
--pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
12
|
+
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
13
|
+
--pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-t--global--Zindex--xs);
|
14
|
+
--pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-t--global--border--color--default);
|
15
|
+
--pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
16
|
+
--pf-v5-c-toggle-group__button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
17
|
+
--pf-v5-c-toggle-group__button--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
18
|
+
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-t--global--border--color--default);
|
19
|
+
--pf-v5-c-toggle-group__item--item--MarginLeft: calc(-1 * var(--pf-t--global--border--width--control--default));
|
20
|
+
--pf-v5-c-toggle-group__item--first-child__button--BorderTopLeftRadius: var(--pf-t--global--border--radius--tiny);
|
21
|
+
--pf-v5-c-toggle-group__item--first-child__button--BorderBottomLeftRadius: var(--pf-t--global--border--radius--tiny);
|
22
|
+
--pf-v5-c-toggle-group__item--last-child__button--BorderTopRightRadius: var(--pf-t--global--border--radius--tiny);
|
23
|
+
--pf-v5-c-toggle-group__item--last-child__button--BorderBottomRightRadius: var(--pf-t--global--border--radius--tiny);
|
24
|
+
--pf-v5-c-toggle-group__icon--text--MarginLeft: var(--pf-t--global--spacer--sm);
|
25
|
+
--pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-t--global--color--brand--default);
|
26
|
+
--pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-t--global--text--color--on-brand--default);
|
27
|
+
--pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
28
|
+
--pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-t--global--Zindex--xs);
|
31
29
|
--pf-v5-c-toggle-group--m-compact__button--PaddingTop: 0;
|
32
|
-
--pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-
|
30
|
+
--pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-t--global--spacer--sm);
|
33
31
|
--pf-v5-c-toggle-group--m-compact__button--PaddingBottom: 0;
|
34
|
-
--pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-
|
35
|
-
--pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-
|
32
|
+
--pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
33
|
+
--pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-t--global--font--size--body--default);
|
34
|
+
}
|
35
|
+
|
36
|
+
.pf-v5-c-toggle-group {
|
36
37
|
display: flex;
|
37
38
|
}
|
38
39
|
.pf-v5-c-toggle-group.pf-m-compact {
|
@@ -79,17 +80,12 @@
|
|
79
80
|
content: "";
|
80
81
|
border: var(--pf-v5-c-toggle-group__button--before--BorderWidth) solid var(--pf-v5-c-toggle-group__button--before--BorderColor);
|
81
82
|
}
|
82
|
-
.pf-v5-c-toggle-group__button:hover {
|
83
|
+
.pf-v5-c-toggle-group__button:hover, .pf-v5-c-toggle-group__button:focus {
|
83
84
|
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--hover--BackgroundColor);
|
84
85
|
--pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--hover--ZIndex);
|
85
86
|
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--hover--before--BorderColor);
|
86
87
|
text-decoration: none;
|
87
88
|
}
|
88
|
-
.pf-v5-c-toggle-group__button:focus {
|
89
|
-
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--focus--BackgroundColor);
|
90
|
-
--pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--focus--ZIndex);
|
91
|
-
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--focus--before--BorderColor);
|
92
|
-
}
|
93
89
|
.pf-v5-c-toggle-group__button.pf-m-selected {
|
94
90
|
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--m-selected--BackgroundColor);
|
95
91
|
--pf-v5-c-toggle-group__button--Color: var(--pf-v5-c-toggle-group__button--m-selected--Color, inherit);
|
@@ -105,13 +101,4 @@
|
|
105
101
|
.pf-v5-c-toggle-group__icon + .pf-v5-c-toggle-group__text,
|
106
102
|
.pf-v5-c-toggle-group__text + .pf-v5-c-toggle-group__icon {
|
107
103
|
margin-inline-start: var(--pf-v5-c-toggle-group__icon--text--MarginLeft);
|
108
|
-
}
|
109
|
-
|
110
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-toggle-group {
|
111
|
-
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
112
|
-
--pf-v5-c-toggle-group__button--focus--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
113
|
-
--pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-v5-global--palette--black-600);
|
114
|
-
--pf-v5-c-toggle-group__button--disabled--Color: var(--pf-v5-global--palette--black-100);
|
115
|
-
--pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
116
|
-
--pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-v5-global--primary-color--400);
|
117
104
|
}
|
@@ -5,7 +5,6 @@ declare const _default: {
|
|
5
5
|
"selected": "pf-m-selected",
|
6
6
|
"disabled": "pf-m-disabled"
|
7
7
|
},
|
8
|
-
"themeDark": "pf-v5-theme-dark",
|
9
8
|
"toggleGroup": "pf-v5-c-toggle-group",
|
10
9
|
"toggleGroupButton": "pf-v5-c-toggle-group__button",
|
11
10
|
"toggleGroupIcon": "pf-v5-c-toggle-group__icon",
|
@@ -7,7 +7,6 @@ exports.default = {
|
|
7
7
|
"selected": "pf-m-selected",
|
8
8
|
"disabled": "pf-m-disabled"
|
9
9
|
},
|
10
|
-
"themeDark": "pf-v5-theme-dark",
|
11
10
|
"toggleGroup": "pf-v5-c-toggle-group",
|
12
11
|
"toggleGroupButton": "pf-v5-c-toggle-group__button",
|
13
12
|
"toggleGroupIcon": "pf-v5-c-toggle-group__icon",
|