@patternfly/patternfly 5.2.0-prerelease.3 → 6.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_OF_CONDUCT.md +2 -1
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/base/_globals.scss +13 -13
- package/base/_variables.scss +5 -0
- package/base/patternfly-globals.css +12 -13
- package/base/patternfly-variables.css +860 -0
- package/base/tokens/_tokens-dark.scss +331 -0
- package/base/tokens/_tokens-default.scss +379 -0
- package/base/tokens/_tokens-font.scss +96 -0
- package/base/tokens/_tokens-palette.scss +75 -0
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +57 -84
- package/components/Alert/alert.scss +60 -78
- package/components/Button/button.css +142 -179
- package/components/Button/button.scss +161 -141
- package/components/Check/check.css +8 -10
- package/components/Check/check.scss +10 -15
- package/components/Content/content.css +67 -67
- package/components/Content/content.scss +68 -68
- package/components/Dropdown/dropdown.css +3 -1
- package/components/Dropdown/dropdown.scss +6 -2
- package/components/Masthead/masthead.css +49 -103
- package/components/Masthead/masthead.scss +105 -132
- package/components/Menu/menu.css +0 -3
- package/components/Menu/menu.scss +3 -7
- package/components/MenuToggle/menu-toggle.css +59 -80
- package/components/MenuToggle/menu-toggle.scss +65 -89
- package/components/Nav/nav.css +42 -40
- package/components/Nav/nav.scss +42 -42
- package/components/NotificationBadge/notification-badge.css +56 -81
- package/components/NotificationBadge/notification-badge.scss +60 -97
- package/components/Page/page.css +80 -70
- package/components/Page/page.scss +80 -68
- package/components/Radio/radio.css +10 -13
- package/components/Radio/radio.scss +11 -17
- package/components/Switch/switch.css +1 -1
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-grid.css +8 -8
- package/components/Table/table-grid.scss +8 -8
- package/components/Table/table.css +92 -95
- package/components/Table/table.scss +94 -103
- package/components/Toolbar/toolbar.css +5 -11
- package/components/Toolbar/toolbar.scss +7 -19
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Brand/examples/Brand.md +32 -75
- package/docs/components/Card/examples/Card.md +2 -110
- package/docs/components/Masthead/examples/masthead.md +7 -54
- package/docs/components/MenuToggle/examples/MenuToggle.md +42 -42
- package/docs/components/Nav/examples/Navigation.css +2 -1
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/Toolbar/examples/Toolbar.md +9 -11
- package/docs/demos/AboutModal/examples/AboutModal.md +83 -8
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- package/docs/demos/CardView/examples/CardView.md +83 -8
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +83 -8
- package/docs/demos/DataList/examples/DataList.md +332 -32
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +742 -67
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +415 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +581 -56
- package/docs/demos/Skeleton/examples/Skeleton.md +83 -8
- package/docs/demos/Table/examples/Table.md +1245 -120
- package/docs/demos/Tabs/examples/Tabs.md +498 -48
- package/docs/demos/Toolbar/examples/Toolbar.md +166 -16
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/package.json +4 -3
- package/patternfly-base-no-globals-theme-dark-unversioned.css +860 -0
- package/patternfly-base-no-globals.css +860 -0
- package/patternfly-base-theme-dark-unversioned.css +872 -13
- package/patternfly-base.css +872 -13
- package/patternfly-no-globals.css +1609 -897
- package/patternfly-theme-dark-unversioned.css +1621 -910
- package/patternfly.css +1621 -910
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +0 -32
- package/assets/images/pf-c-brand__logo-on-md-white.svg +0 -42
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +0 -17
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +0 -39
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pf_logo_white.svg +0 -38
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/docs/components/Brand/examples/Brand.css +0 -12
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
This project is governed by the [Contributor Covenant version 1.4][1]. All contributors and participants agree to abide by its terms. To report violations, send an email to [patternfly@redhat.com][2].
|
|
2
2
|
|
|
3
3
|
[1]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
|
4
|
-
[2]: mailto:patternfly@redhat.com
|
|
4
|
+
[2]: mailto:patternfly@redhat.com
|
|
5
|
+
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.st0{fill:#FFFFFF;}
|
|
7
7
|
.st1{fill:url(#SVGID_1_);}
|
|
8
8
|
</style>
|
|
9
|
-
<g
|
|
9
|
+
<g>
|
|
10
10
|
<path class="st0" d="M56.4,25.7V14.4h4.8c0.7,0,1.3,0.1,1.8,0.3s0.9,0.5,1.2,0.8c0.3,0.3,0.5,0.7,0.7,1.1c0.1,0.4,0.2,0.9,0.2,1.3
|
|
11
11
|
c0,0.3,0,0.5-0.1,0.8s-0.2,0.6-0.3,0.8c-0.1,0.3-0.3,0.5-0.5,0.7c-0.2,0.2-0.5,0.4-0.7,0.6c-0.3,0.2-0.6,0.3-1,0.4
|
|
12
12
|
s-0.8,0.1-1.2,0.1h-2.7v4.1L56.4,25.7L56.4,25.7z M61.3,19.5c0.3,0,0.5,0,0.7-0.1s0.3-0.2,0.5-0.3c0.1-0.1,0.2-0.3,0.3-0.5
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<stop offset="0" style="stop-color:#60EFFF"/>
|
|
10
10
|
<stop offset="1" style="stop-color:#1F89C7"/>
|
|
11
11
|
</linearGradient>
|
|
12
|
-
<path
|
|
12
|
+
<path class="st0" d="M23.7,12.3L12,0.8L0.3,12.3L5,18.9l3.6-0.8L12,23l3.5-4.9l3.5,0.8L23.7,12.3z M11.5,3L10,17L7.1,13L11.5,3z
|
|
13
13
|
M6.8,12.6L5,10.1l6.2-7.5L6.8,12.6z M9.5,17.1L9.5,17.1l0.2,0.2l-1,0.2l-2.2-3.1l0.4-0.9L9.5,17.1z M12,2.8l1.5,14.9L12,19.7
|
|
14
14
|
l-1.5-2.1L12,2.8z M14.5,17.1l2.7-3.6l0.4,0.9l-2.2,3.1l-1-0.2L14.5,17.1L14.5,17.1z M14,17l-1.5-14l4.4,10L14,17z M12.9,2.6
|
|
15
15
|
l6.2,7.5l-1.8,2.4L12.9,2.6z M5.2,18.4l-4.3-6l8.3-8.1l-4.8,5.9l2.2,3L6,14.5l2.3,3.2L5.2,18.4z M12,22.2L9,18l1-0.2l2,2.8l2-2.8
|
package/base/_globals.scss
CHANGED
|
@@ -47,11 +47,12 @@
|
|
|
47
47
|
height: 100%;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
// TODO
|
|
50
51
|
:where(body) {
|
|
51
|
-
font-family: var(
|
|
52
|
-
font-size: var(
|
|
53
|
-
font-weight: var(
|
|
54
|
-
line-height: var(
|
|
52
|
+
font-family: var(--pf-t--global--font--family--body);
|
|
53
|
+
font-size: var(--pf-t--global--font--size--body);
|
|
54
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
55
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
:where(
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
h6
|
|
64
65
|
) {
|
|
65
66
|
font-size: 100%;
|
|
66
|
-
font-weight: var(
|
|
67
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
:where(ul) {
|
|
@@ -80,8 +81,8 @@
|
|
|
80
81
|
margin: 0;
|
|
81
82
|
font-family: inherit;
|
|
82
83
|
font-size: 100%;
|
|
83
|
-
line-height: var(
|
|
84
|
-
color: var(
|
|
84
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
85
|
+
color: var(--pf-t--global--text--color--regular);
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
:where(
|
|
@@ -117,18 +118,17 @@
|
|
|
117
118
|
code,
|
|
118
119
|
pre
|
|
119
120
|
) {
|
|
120
|
-
font-family: var(
|
|
121
|
+
font-family: var(--pf-t--global--font--family--mono);
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
:where(a) {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
text-decoration: var(--#{$pf-global}--link--TextDecoration);
|
|
125
|
+
color: var(--pf-t--global--text--color--link--default);
|
|
126
|
+
text-decoration: var(--pf-t--global--link--text-decoration);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
:where(a:hover) {
|
|
130
|
-
--#{$pf-global}--link--Color: var(
|
|
131
|
-
--#{$pf-global}--link--TextDecoration: var(
|
|
130
|
+
--#{$pf-global}--link--Color: var(--pf-t--global--text--color--link--hover);
|
|
131
|
+
--#{$pf-global}--link--TextDecoration: var(--pf-t--global--link--text-decoration--hover);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
:where(
|
package/base/_variables.scss
CHANGED
|
@@ -37,10 +37,10 @@ body) {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
:where(body) {
|
|
40
|
-
font-family: var(--pf-
|
|
41
|
-
font-size: var(--pf-
|
|
42
|
-
font-weight: var(--pf-
|
|
43
|
-
line-height: var(--pf-
|
|
40
|
+
font-family: var(--pf-t--global--font--family--body);
|
|
41
|
+
font-size: var(--pf-t--global--font--size--body);
|
|
42
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
43
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:where(h1,
|
|
@@ -50,7 +50,7 @@ h4,
|
|
|
50
50
|
h5,
|
|
51
51
|
h6) {
|
|
52
52
|
font-size: 100%;
|
|
53
|
-
font-weight: var(--pf-
|
|
53
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
:where(ul) {
|
|
@@ -65,8 +65,8 @@ textarea) {
|
|
|
65
65
|
margin: 0;
|
|
66
66
|
font-family: inherit;
|
|
67
67
|
font-size: 100%;
|
|
68
|
-
line-height: var(--pf-
|
|
69
|
-
color: var(--pf-
|
|
68
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
69
|
+
color: var(--pf-t--global--text--color--regular);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
:where(img,
|
|
@@ -96,18 +96,17 @@ th) {
|
|
|
96
96
|
|
|
97
97
|
:where(code,
|
|
98
98
|
pre) {
|
|
99
|
-
font-family: var(--pf-
|
|
99
|
+
font-family: var(--pf-t--global--font--family--mono);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
:where(a) {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
text-decoration: var(--pf-v5-global--link--TextDecoration);
|
|
103
|
+
color: var(--pf-t--global--text--color--link--default);
|
|
104
|
+
text-decoration: var(--pf-t--global--link--text-decoration);
|
|
106
105
|
}
|
|
107
106
|
|
|
108
107
|
:where(a:hover) {
|
|
109
|
-
--pf-v5-global--link--Color: var(--pf-
|
|
110
|
-
--pf-v5-global--link--TextDecoration: var(--pf-
|
|
108
|
+
--pf-v5-global--link--Color: var(--pf-t--global--text--color--link--hover);
|
|
109
|
+
--pf-v5-global--link--TextDecoration: var(--pf-t--global--link--text-decoration--hover);
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
:where(a,
|