@patternfly/react-styles 6.0.0-alpha.2 → 6.0.0-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -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/logo__pf--reverse-on-md.svg +1 -1
- package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/css/assets/images/pf_logo_white.hbs +35 -0
- package/css/assets/images/pf_logo_white.svg +38 -0
- package/css/components/AboutModalBox/about-modal-box.css +59 -98
- 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 +85 -177
- package/css/components/Accordion/accordion.d.ts +3 -2
- package/css/components/Accordion/accordion.js +3 -2
- package/css/components/Accordion/accordion.mjs +3 -2
- package/css/components/Alert/alert.css +3 -3
- 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 -15
- package/css/components/Backdrop/backdrop.css +6 -2
- 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 +2 -2
- package/css/components/Card/card.css +3 -0
- package/css/components/Card/card.d.ts +2 -0
- package/css/components/Card/card.js +2 -0
- package/css/components/Card/card.mjs +2 -0
- package/css/components/Check/check.css +10 -8
- package/css/components/Content/content.css +7 -7
- package/css/components/Dropdown/dropdown.css +1 -3
- package/css/components/Dropdown/dropdown.d.ts +0 -1
- package/css/components/Dropdown/dropdown.js +0 -1
- package/css/components/Dropdown/dropdown.mjs +0 -1
- 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/Form/form.css +6 -0
- 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/InlineEdit/inline-edit.css +5 -5
- 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/Menu/menu.css +3 -0
- package/css/components/Menu/menu.d.ts +1 -0
- package/css/components/Menu/menu.js +1 -0
- package/css/components/Menu/menu.mjs +1 -0
- package/css/components/MenuToggle/menu-toggle.css +4 -4
- 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/Nav/nav.css +2 -2
- package/css/components/Page/page.css +9 -7
- package/css/components/Pagination/pagination.css +61 -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/Popover/popover.css +42 -53
- 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/Radio/radio.css +13 -10
- 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/SkipToContent/skip-to-content.css +6 -3
- package/css/components/Switch/switch.css +1 -1
- package/css/components/Table/table.css +12 -8
- package/css/components/Table/table.d.ts +2 -0
- package/css/components/Table/table.js +2 -0
- package/css/components/Table/table.mjs +2 -0
- 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/Toolbar/toolbar.css +9 -1
- package/css/components/Toolbar/toolbar.d.ts +1 -0
- package/css/components/Toolbar/toolbar.js +1 -0
- package/css/components/Toolbar/toolbar.mjs +1 -0
- package/css/components/Tooltip/tooltip.css +16 -18
- 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/Brand/examples/Brand.css +12 -0
- package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
- package/css/docs/components/Brand/examples/Brand.js +11 -0
- package/css/docs/components/Brand/examples/Brand.mjs +9 -0
- package/css/docs/components/Nav/examples/Navigation.css +18 -2
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -1
- package/css/docs/components/Nav/examples/Navigation.js +0 -1
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -1
- package/css/docs/components/Truncate/examples/Truncate.css +2 -2
- package/css/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
- package/package.json +3 -3
- 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
@@ -1,6 +1,7 @@
|
|
1
1
|
import './table.css';
|
2
2
|
export default {
|
3
3
|
"button": "pf-v5-c-button",
|
4
|
+
"check": "pf-v5-c-check",
|
4
5
|
"checkInput": "pf-v5-c-check__input",
|
5
6
|
"dirRtl": "pf-v5-m-dir-rtl",
|
6
7
|
"modifiers": {
|
@@ -39,6 +40,7 @@ export default {
|
|
39
40
|
"selected": "pf-m-selected",
|
40
41
|
"firstCellOffsetReset": "pf-m-first-cell-offset-reset",
|
41
42
|
"dragOver": "pf-m-drag-over",
|
43
|
+
"standalone": "pf-m-standalone",
|
42
44
|
"favorited": "pf-m-favorited",
|
43
45
|
"noPadding": "pf-m-no-padding",
|
44
46
|
"compact": "pf-m-compact",
|
@@ -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
|
};
|
@@ -114,6 +114,9 @@
|
|
114
114
|
--pf-v5-c-toolbar__item--m-label--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
115
115
|
--pf-v5-c-toolbar__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
|
116
116
|
--pf-v5-c-toolbar__item--m-label--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
117
|
+
--pf-v5-c-toolbar__item--m-form-element--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
118
|
+
--pf-v5-c-toolbar__item--m-form-element--TranslateY: var(--pf-v5-global--spacer--form-element);
|
119
|
+
--pf-v5-c-toolbar__item--m-form-element--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
117
120
|
--pf-v5-c-toolbar__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
|
118
121
|
--pf-v5-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-v5-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-v5-global--spacer--sm));
|
119
122
|
--pf-v5-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-v5-global--FontSize--sm);
|
@@ -363,7 +366,12 @@
|
|
363
366
|
.pf-v5-c-toolbar__item.pf-m-label {
|
364
367
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-label--spacer);
|
365
368
|
font-weight: var(--pf-v5-c-toolbar__item--m-label--FontWeight);
|
366
|
-
transform: translateY(var(--pf-v5-
|
369
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-label--TranslateY));
|
370
|
+
}
|
371
|
+
.pf-v5-c-toolbar__item.pf-m-form-element {
|
372
|
+
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-form-element--spacer);
|
373
|
+
font-weight: var(--pf-v5-c-toolbar__item--m-form-element--FontWeight);
|
374
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-form-element--TranslateY));
|
367
375
|
}
|
368
376
|
.pf-v5-c-toolbar__item.pf-m-pagination {
|
369
377
|
margin-inline-start: auto;
|
@@ -37,6 +37,7 @@ declare const _default: {
|
|
37
37
|
"searchFilter": "pf-m-search-filter",
|
38
38
|
"chipGroup": "pf-m-chip-group",
|
39
39
|
"label": "pf-m-label",
|
40
|
+
"formElement": "pf-m-form-element",
|
40
41
|
"pagination": "pf-m-pagination",
|
41
42
|
"overflowContainer": "pf-m-overflow-container",
|
42
43
|
"chipContainer": "pf-m-chip-container",
|
@@ -39,6 +39,7 @@ exports.default = {
|
|
39
39
|
"searchFilter": "pf-m-search-filter",
|
40
40
|
"chipGroup": "pf-m-chip-group",
|
41
41
|
"label": "pf-m-label",
|
42
|
+
"formElement": "pf-m-form-element",
|
42
43
|
"pagination": "pf-m-pagination",
|
43
44
|
"overflowContainer": "pf-m-overflow-container",
|
44
45
|
"chipContainer": "pf-m-chip-container",
|
@@ -37,6 +37,7 @@ export default {
|
|
37
37
|
"searchFilter": "pf-m-search-filter",
|
38
38
|
"chipGroup": "pf-m-chip-group",
|
39
39
|
"label": "pf-m-label",
|
40
|
+
"formElement": "pf-m-form-element",
|
40
41
|
"pagination": "pf-m-pagination",
|
41
42
|
"overflowContainer": "pf-m-overflow-container",
|
42
43
|
"chipContainer": "pf-m-chip-container",
|
@@ -1,17 +1,18 @@
|
|
1
|
-
|
1
|
+
:root {
|
2
2
|
--pf-v5-c-tooltip--MaxWidth: 18.75rem;
|
3
|
-
--pf-v5-c-tooltip--BoxShadow: var(--pf-
|
4
|
-
--pf-v5-c-tooltip__content--PaddingTop: var(--pf-
|
5
|
-
--pf-v5-c-tooltip__content--PaddingRight: var(--pf-
|
6
|
-
--pf-v5-c-tooltip__content--PaddingBottom: var(--pf-
|
7
|
-
--pf-v5-c-tooltip__content--PaddingLeft: var(--pf-
|
8
|
-
--pf-v5-c-tooltip__content--Color: var(--pf-
|
9
|
-
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-
|
10
|
-
--pf-v5-c-tooltip__content--FontSize: var(--pf-
|
3
|
+
--pf-v5-c-tooltip--BoxShadow: var(--pf-t--global--box-shadow--md);
|
4
|
+
--pf-v5-c-tooltip__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
5
|
+
--pf-v5-c-tooltip__content--PaddingRight: var(--pf-t--global--spacer--md);
|
6
|
+
--pf-v5-c-tooltip__content--PaddingBottom: var(--pf-t--global--spacer--sm);
|
7
|
+
--pf-v5-c-tooltip__content--PaddingLeft: var(--pf-t--global--spacer--md);
|
8
|
+
--pf-v5-c-tooltip__content--Color: var(--pf-t--global--text--color--inverse);
|
9
|
+
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
|
10
|
+
--pf-v5-c-tooltip__content--FontSize: var(--pf-t--global--font--size--body--sm);
|
11
|
+
--pf-v5-c-tooltip__content--BorderRadius: var(--pf-t--global--border--radius--small);
|
11
12
|
--pf-v5-c-tooltip__arrow--Width: 0.9375rem;
|
12
13
|
--pf-v5-c-tooltip__arrow--Height: 0.9375rem;
|
13
|
-
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-
|
14
|
-
--pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-
|
14
|
+
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-t--global--background--color--inverse--default);
|
15
|
+
--pf-v5-c-tooltip__arrow--BoxShadow: var(--pf-t--global--box-shadow--md);
|
15
16
|
--pf-v5-c-tooltip__arrow--m-top--TranslateX: -50%;
|
16
17
|
--pf-v5-c-tooltip__arrow--m-top--TranslateY: 50%;
|
17
18
|
--pf-v5-c-tooltip__arrow--m-top--Rotate: 45deg;
|
@@ -24,6 +25,9 @@
|
|
24
25
|
--pf-v5-c-tooltip__arrow--m-left--TranslateX: 50%;
|
25
26
|
--pf-v5-c-tooltip__arrow--m-left--TranslateY: -50%;
|
26
27
|
--pf-v5-c-tooltip__arrow--m-left--Rotate: 45deg;
|
28
|
+
}
|
29
|
+
|
30
|
+
.pf-v5-c-tooltip {
|
27
31
|
position: relative;
|
28
32
|
max-width: var(--pf-v5-c-tooltip--MaxWidth);
|
29
33
|
box-shadow: var(--pf-v5-c-tooltip--BoxShadow);
|
@@ -96,6 +100,7 @@
|
|
96
100
|
text-align: center;
|
97
101
|
word-break: break-word;
|
98
102
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
103
|
+
border-radius: var(--pf-v5-c-tooltip__content--BorderRadius);
|
99
104
|
}
|
100
105
|
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
101
106
|
text-align: start;
|
@@ -103,21 +108,14 @@
|
|
103
108
|
|
104
109
|
.pf-v5-c-tooltip__arrow {
|
105
110
|
position: absolute;
|
106
|
-
/* stylelint-disable liberty/use-logical-spec */
|
107
111
|
top: var(--pf-v5-c-tooltip__arrow--Top, auto);
|
108
112
|
right: var(--pf-v5-c-tooltip__arrow--Right, auto);
|
109
113
|
bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
|
110
114
|
left: var(--pf-v5-c-tooltip__arrow--Left, auto);
|
111
|
-
/* stylelint-enable */
|
112
115
|
width: var(--pf-v5-c-tooltip__arrow--Width);
|
113
116
|
height: var(--pf-v5-c-tooltip__arrow--Height);
|
114
117
|
pointer-events: none;
|
115
118
|
background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
|
116
119
|
box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
|
117
120
|
transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
|
118
|
-
}
|
119
|
-
|
120
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
|
121
|
-
--pf-v5-c-tooltip__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
122
|
-
--pf-v5-c-tooltip__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
123
121
|
}
|
@@ -15,7 +15,6 @@ declare const _default: {
|
|
15
15
|
"rightBottom": "pf-m-right-bottom",
|
16
16
|
"textAlignLeft": "pf-m-text-align-left"
|
17
17
|
},
|
18
|
-
"themeDark": "pf-v5-theme-dark",
|
19
18
|
"tooltip": "pf-v5-c-tooltip",
|
20
19
|
"tooltipArrow": "pf-v5-c-tooltip__arrow",
|
21
20
|
"tooltipContent": "pf-v5-c-tooltip__content"
|
@@ -17,7 +17,6 @@ exports.default = {
|
|
17
17
|
"rightBottom": "pf-m-right-bottom",
|
18
18
|
"textAlignLeft": "pf-m-text-align-left"
|
19
19
|
},
|
20
|
-
"themeDark": "pf-v5-theme-dark",
|
21
20
|
"tooltip": "pf-v5-c-tooltip",
|
22
21
|
"tooltipArrow": "pf-v5-c-tooltip__arrow",
|
23
22
|
"tooltipContent": "pf-v5-c-tooltip__content"
|
@@ -15,7 +15,6 @@ export default {
|
|
15
15
|
"rightBottom": "pf-m-right-bottom",
|
16
16
|
"textAlignLeft": "pf-m-text-align-left"
|
17
17
|
},
|
18
|
-
"themeDark": "pf-v5-theme-dark",
|
19
18
|
"tooltip": "pf-v5-c-tooltip",
|
20
19
|
"tooltipArrow": "pf-v5-c-tooltip__arrow",
|
21
20
|
"tooltipContent": "pf-v5-c-tooltip__content"
|
@@ -1,6 +1,22 @@
|
|
1
|
-
|
1
|
+
#ws-core-c-navigation-default,
|
2
|
+
#ws-core-c-navigation-basic,
|
3
|
+
#ws-core-c-navigation-grouped,
|
4
|
+
#ws-core-c-navigation-grouped-nav,
|
5
|
+
#ws-core-c-navigation-grouped-nav-no-titles,
|
6
|
+
#ws-core-c-navigation-expanded,
|
7
|
+
#ws-core-c-navigation-expanded-with-subnav-titles,
|
8
|
+
#ws-core-c-navigation-mixed,
|
9
|
+
#ws-core-c-navigation-horizontal,
|
10
|
+
#ws-core-c-navigation-horizontal-overflow,
|
11
|
+
#ws-core-c-navigation-horizontal-subnav,
|
12
|
+
#ws-core-c-navigation-horizontal-subnav-overflow,
|
13
|
+
#ws-core-c-navigation-drilldown,
|
14
|
+
#ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
|
15
|
+
#ws-core-c-navigation-level-2-drilldown,
|
16
|
+
#ws-core-c-navigation-level-3-drilldown,
|
17
|
+
#ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
|
18
|
+
#ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
|
2
19
|
padding: 0;
|
3
|
-
background-color: var(--pf-v5-global--BackgroundColor--dark-300);
|
4
20
|
}
|
5
21
|
|
6
22
|
#ws-core-c-navigation-horizontal-in-masthead,
|
@@ -4,6 +4,6 @@
|
|
4
4
|
overflow: auto;
|
5
5
|
min-width: 161px;
|
6
6
|
max-width: 100%;
|
7
|
-
padding: var(--pf-
|
8
|
-
border: var(--pf-
|
7
|
+
padding: var(--pf-t--global--spacer--sm);
|
8
|
+
border: var(--pf-t--global--border--width--box--default) solid var(--pf-t--global--border--color--default);
|
9
9
|
}
|
@@ -13,3 +13,13 @@
|
|
13
13
|
#ws-html-demos-c-toolbar-toolbar-attribute-value-search-filter-on-mobile {
|
14
14
|
min-height: 175px;
|
15
15
|
}
|
16
|
+
|
17
|
+
.pf-v5-c-menu-toggle + .pf-v5-c-panel {
|
18
|
+
position: absolute;
|
19
|
+
top: calc(100% + 2px);
|
20
|
+
z-index: var(--pf-v5-global--ZIndex--sm);
|
21
|
+
}
|
22
|
+
|
23
|
+
.ws-html-demos-c-toolbar .pf-v5-c-toolbar__item {
|
24
|
+
position: relative;
|
25
|
+
}
|
@@ -1,3 +1,8 @@
|
|
1
1
|
import './Toolbar.css';
|
2
|
-
declare const _default: {
|
2
|
+
declare const _default: {
|
3
|
+
"menuToggle": "pf-v5-c-menu-toggle",
|
4
|
+
"panel": "pf-v5-c-panel",
|
5
|
+
"toolbarItem": "pf-v5-c-toolbar__item",
|
6
|
+
"wsHtmlDemosCToolbar": "ws-html-demos-c-toolbar"
|
7
|
+
};
|
3
8
|
export default _default;
|
@@ -1,4 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./Toolbar.css');
|
4
|
-
exports.default = {
|
4
|
+
exports.default = {
|
5
|
+
"menuToggle": "pf-v5-c-menu-toggle",
|
6
|
+
"panel": "pf-v5-c-panel",
|
7
|
+
"toolbarItem": "pf-v5-c-toolbar__item",
|
8
|
+
"wsHtmlDemosCToolbar": "ws-html-demos-c-toolbar"
|
9
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "6.0.0-alpha.
|
3
|
+
"version": "6.0.0-alpha.4",
|
4
4
|
"main": "dist/js/index.js",
|
5
5
|
"module": "dist/esm/index.js",
|
6
6
|
"types": "dist/esm/index.d.ts",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"clean": "rimraf dist css"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"@patternfly/patternfly": "6.0.0-alpha.
|
22
|
+
"@patternfly/patternfly": "6.0.0-alpha.38",
|
23
23
|
"camel-case": "^3.0.0",
|
24
24
|
"css": "^2.2.3",
|
25
25
|
"fs-extra": "^11.1.1",
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"typescript": "^4.7.4"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "0213323de9e62364f8cd3f401bec86f1f34ee4fe"
|
33
33
|
}
|