@patternfly/react-styles 6.0.0-alpha.5 → 6.0.0-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/css/assets/images/pf-background.svg +22 -0
- package/css/components/AboutModalBox/about-modal-box.css +4 -2
- package/css/components/BackgroundImage/background-image.css +5 -1
- package/css/components/Button/button.css +381 -350
- package/css/components/Button/button.d.ts +9 -7
- package/css/components/Button/button.js +9 -7
- package/css/components/Button/button.mjs +9 -7
- package/css/components/Check/check.css +17 -16
- 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/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/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/Masthead/masthead.css +267 -435
- package/css/components/Masthead/masthead.d.ts +2 -38
- package/css/components/Masthead/masthead.js +2 -38
- package/css/components/Masthead/masthead.mjs +2 -38
- package/css/components/Nav/nav.css +240 -918
- 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/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/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/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/SimpleList/simple-list.css +1 -1
- 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/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/Timestamp/timestamp.css +12 -9
- package/css/docs/components/Button/examples/Button.css +4 -0
- package/css/docs/components/Divider/examples/Divider.css +3 -1
- package/css/docs/components/Nav/examples/Navigation.css +1 -39
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -2
- package/css/docs/components/Nav/examples/Navigation.js +0 -2
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -2
- package/package.json +3 -3
@@ -1,40 +1,29 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
declare const _default: {
|
3
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
3
4
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
|
-
"divider": "pf-v5-c-divider",
|
5
|
-
"menu": "pf-v5-c-menu",
|
6
|
-
"menuContent": "pf-v5-c-menu__content",
|
7
|
-
"menuItem": "pf-v5-c-menu__item",
|
8
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
9
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
10
5
|
"modifiers": {
|
11
|
-
"flyout": "pf-m-flyout",
|
12
|
-
"top": "pf-m-top",
|
13
|
-
"left": "pf-m-left",
|
14
|
-
"current": "pf-m-current",
|
15
|
-
"drillUp": "pf-m-drill-up",
|
16
|
-
"horizontal": "pf-m-horizontal",
|
17
|
-
"tertiary": "pf-m-tertiary",
|
18
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
19
|
-
"light": "pf-m-light",
|
20
6
|
"scrollable": "pf-m-scrollable",
|
21
7
|
"overflowHidden": "pf-m-overflow-hidden",
|
22
|
-
"
|
8
|
+
"fullWidth": "pf-m-full-width",
|
9
|
+
"fill": "pf-m-fill",
|
23
10
|
"expanded": "pf-m-expanded",
|
24
|
-
"drilldown": "pf-m-drilldown",
|
25
11
|
"hover": "pf-m-hover",
|
26
|
-
"
|
12
|
+
"current": "pf-m-current",
|
13
|
+
"flyout": "pf-m-flyout",
|
14
|
+
"horizontal": "pf-m-horizontal",
|
15
|
+
"subnav": "pf-m-subnav"
|
27
16
|
},
|
28
17
|
"nav": "pf-v5-c-nav",
|
29
18
|
"navItem": "pf-v5-c-nav__item",
|
30
19
|
"navLink": "pf-v5-c-nav__link",
|
31
20
|
"navList": "pf-v5-c-nav__list",
|
21
|
+
"navNav": "pf-v5-c-nav__nav",
|
32
22
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
33
23
|
"navSection": "pf-v5-c-nav__section",
|
34
24
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
35
25
|
"navSubnav": "pf-v5-c-nav__subnav",
|
36
26
|
"navToggle": "pf-v5-c-nav__toggle",
|
37
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
38
|
-
"themeDark": "pf-v5-theme-dark"
|
27
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
39
28
|
};
|
40
29
|
export default _default;
|
@@ -2,40 +2,29 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./nav.css');
|
4
4
|
exports.default = {
|
5
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
5
6
|
"dirRtl": "pf-v5-m-dir-rtl",
|
6
|
-
"divider": "pf-v5-c-divider",
|
7
|
-
"menu": "pf-v5-c-menu",
|
8
|
-
"menuContent": "pf-v5-c-menu__content",
|
9
|
-
"menuItem": "pf-v5-c-menu__item",
|
10
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
11
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
12
7
|
"modifiers": {
|
13
|
-
"flyout": "pf-m-flyout",
|
14
|
-
"top": "pf-m-top",
|
15
|
-
"left": "pf-m-left",
|
16
|
-
"current": "pf-m-current",
|
17
|
-
"drillUp": "pf-m-drill-up",
|
18
|
-
"horizontal": "pf-m-horizontal",
|
19
|
-
"tertiary": "pf-m-tertiary",
|
20
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
21
|
-
"light": "pf-m-light",
|
22
8
|
"scrollable": "pf-m-scrollable",
|
23
9
|
"overflowHidden": "pf-m-overflow-hidden",
|
24
|
-
"
|
10
|
+
"fullWidth": "pf-m-full-width",
|
11
|
+
"fill": "pf-m-fill",
|
25
12
|
"expanded": "pf-m-expanded",
|
26
|
-
"drilldown": "pf-m-drilldown",
|
27
13
|
"hover": "pf-m-hover",
|
28
|
-
"
|
14
|
+
"current": "pf-m-current",
|
15
|
+
"flyout": "pf-m-flyout",
|
16
|
+
"horizontal": "pf-m-horizontal",
|
17
|
+
"subnav": "pf-m-subnav"
|
29
18
|
},
|
30
19
|
"nav": "pf-v5-c-nav",
|
31
20
|
"navItem": "pf-v5-c-nav__item",
|
32
21
|
"navLink": "pf-v5-c-nav__link",
|
33
22
|
"navList": "pf-v5-c-nav__list",
|
23
|
+
"navNav": "pf-v5-c-nav__nav",
|
34
24
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
35
25
|
"navSection": "pf-v5-c-nav__section",
|
36
26
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
37
27
|
"navSubnav": "pf-v5-c-nav__subnav",
|
38
28
|
"navToggle": "pf-v5-c-nav__toggle",
|
39
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
40
|
-
"themeDark": "pf-v5-theme-dark"
|
29
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
41
30
|
};
|
@@ -1,39 +1,28 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
export default {
|
3
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
3
4
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
|
-
"divider": "pf-v5-c-divider",
|
5
|
-
"menu": "pf-v5-c-menu",
|
6
|
-
"menuContent": "pf-v5-c-menu__content",
|
7
|
-
"menuItem": "pf-v5-c-menu__item",
|
8
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
9
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
10
5
|
"modifiers": {
|
11
|
-
"flyout": "pf-m-flyout",
|
12
|
-
"top": "pf-m-top",
|
13
|
-
"left": "pf-m-left",
|
14
|
-
"current": "pf-m-current",
|
15
|
-
"drillUp": "pf-m-drill-up",
|
16
|
-
"horizontal": "pf-m-horizontal",
|
17
|
-
"tertiary": "pf-m-tertiary",
|
18
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
19
|
-
"light": "pf-m-light",
|
20
6
|
"scrollable": "pf-m-scrollable",
|
21
7
|
"overflowHidden": "pf-m-overflow-hidden",
|
22
|
-
"
|
8
|
+
"fullWidth": "pf-m-full-width",
|
9
|
+
"fill": "pf-m-fill",
|
23
10
|
"expanded": "pf-m-expanded",
|
24
|
-
"drilldown": "pf-m-drilldown",
|
25
11
|
"hover": "pf-m-hover",
|
26
|
-
"
|
12
|
+
"current": "pf-m-current",
|
13
|
+
"flyout": "pf-m-flyout",
|
14
|
+
"horizontal": "pf-m-horizontal",
|
15
|
+
"subnav": "pf-m-subnav"
|
27
16
|
},
|
28
17
|
"nav": "pf-v5-c-nav",
|
29
18
|
"navItem": "pf-v5-c-nav__item",
|
30
19
|
"navLink": "pf-v5-c-nav__link",
|
31
20
|
"navList": "pf-v5-c-nav__list",
|
21
|
+
"navNav": "pf-v5-c-nav__nav",
|
32
22
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
33
23
|
"navSection": "pf-v5-c-nav__section",
|
34
24
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
35
25
|
"navSubnav": "pf-v5-c-nav__subnav",
|
36
26
|
"navToggle": "pf-v5-c-nav__toggle",
|
37
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
38
|
-
"themeDark": "pf-v5-theme-dark"
|
27
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
39
28
|
};
|
@@ -1,73 +1,79 @@
|
|
1
|
+
:root,
|
1
2
|
.pf-v5-c-notification-drawer {
|
2
|
-
--pf-v5-c-notification-drawer--BackgroundColor: var(--pf-
|
3
|
-
--pf-v5-c-notification-drawer__header--PaddingTop: var(--pf-
|
4
|
-
--pf-v5-c-notification-drawer__header--PaddingRight: var(--pf-
|
5
|
-
--pf-v5-c-notification-drawer__header--PaddingBottom: var(--pf-
|
6
|
-
--pf-v5-c-notification-drawer__header--PaddingLeft: var(--pf-
|
7
|
-
--pf-v5-c-notification-drawer__header--BackgroundColor: var(--pf-
|
8
|
-
--pf-v5-c-notification-drawer__header--
|
9
|
-
--pf-v5-c-notification-drawer__header--
|
10
|
-
--pf-v5-c-notification-drawer__header-title--
|
11
|
-
--pf-v5-c-notification-drawer__header-
|
12
|
-
--pf-v5-c-notification-
|
13
|
-
--pf-v5-c-notification-
|
14
|
-
--pf-v5-c-notification-
|
15
|
-
--pf-v5-c-notification-
|
16
|
-
--pf-v5-c-notification-
|
17
|
-
--pf-v5-c-notification-
|
18
|
-
--pf-v5-c-notification-
|
19
|
-
--pf-v5-c-notification-
|
20
|
-
--pf-v5-c-notification-drawer__list
|
21
|
-
--pf-v5-c-notification-drawer__list
|
22
|
-
--pf-v5-c-notification-drawer__list
|
23
|
-
--pf-v5-c-notification-drawer__list-item--
|
24
|
-
--pf-v5-c-notification-drawer__list-item--
|
25
|
-
--pf-v5-c-notification-drawer__list-item--
|
26
|
-
--pf-v5-c-notification-drawer__list-item--
|
27
|
-
--pf-v5-c-notification-drawer__list-item--
|
28
|
-
--pf-v5-c-notification-drawer__list-item--
|
29
|
-
--pf-v5-c-notification-drawer__list-item--
|
30
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
31
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
32
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
33
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
34
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
35
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
36
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
37
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
38
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
39
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
40
|
-
--pf-v5-c-notification-drawer__list-item--
|
41
|
-
--pf-v5-c-notification-drawer__list-item--
|
42
|
-
--pf-v5-c-notification-drawer__list-item--m-
|
43
|
-
--pf-v5-c-notification-drawer__list-item--m-hoverable--hover--
|
44
|
-
--pf-v5-c-notification-drawer__list-item-header--MarginBottom: var(--pf-
|
3
|
+
--pf-v5-c-notification-drawer--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
4
|
+
--pf-v5-c-notification-drawer__header--PaddingTop: var(--pf-t--global--spacer--md);
|
5
|
+
--pf-v5-c-notification-drawer__header--PaddingRight: var(--pf-t--global--spacer--lg);
|
6
|
+
--pf-v5-c-notification-drawer__header--PaddingBottom: var(--pf-t--global--spacer--md);
|
7
|
+
--pf-v5-c-notification-drawer__header--PaddingLeft: var(--pf-t--global--spacer--lg);
|
8
|
+
--pf-v5-c-notification-drawer__header--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
9
|
+
--pf-v5-c-notification-drawer__header--ZIndex: var(--pf-t--global--Zindex--sm);
|
10
|
+
--pf-v5-c-notification-drawer__header-title--FontSize: var(--pf-t--global--font--size--heading--md);
|
11
|
+
--pf-v5-c-notification-drawer__header-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
12
|
+
--pf-v5-c-notification-drawer__header-title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
13
|
+
--pf-v5-c-notification-drawer__header-title--FontFamily: var(--pf-t--global--font--family--heading);
|
14
|
+
--pf-v5-c-notification-drawer__header-status--MarginLeft: var(--pf-t--global--spacer--md);
|
15
|
+
--pf-v5-c-notification-drawer__header-status--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
16
|
+
--pf-v5-c-notification-drawer__header-status--FontSize: var(--pf-t--global--font--size--body--default);
|
17
|
+
--pf-v5-c-notification-drawer__header-status--Color: var(--pf-t--global--text--color--subtle);
|
18
|
+
--pf-v5-c-notification-drawer__body--ZIndex: var(--pf-t--global--Zindex--xs);
|
19
|
+
--pf-v5-c-notification-drawer__body--PaddingBlockStart: 0;
|
20
|
+
--pf-v5-c-notification-drawer__body--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
21
|
+
--pf-v5-c-notification-drawer__list--Gap: var(--pf-t--global--spacer--sm);
|
22
|
+
--pf-v5-c-notification-drawer__list--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
23
|
+
--pf-v5-c-notification-drawer__list--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
24
|
+
--pf-v5-c-notification-drawer__list-item--PaddingTop: var(--pf-t--global--spacer--md);
|
25
|
+
--pf-v5-c-notification-drawer__list-item--PaddingRight: var(--pf-t--global--spacer--md);
|
26
|
+
--pf-v5-c-notification-drawer__list-item--PaddingBottom: var(--pf-t--global--spacer--md);
|
27
|
+
--pf-v5-c-notification-drawer__list-item--PaddingLeft: var(--pf-t--global--spacer--md);
|
28
|
+
--pf-v5-c-notification-drawer__list-item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
29
|
+
--pf-v5-c-notification-drawer__list-item--BorderWidth: var(--pf-t--global--border--width--box--status--default);
|
30
|
+
--pf-v5-c-notification-drawer__list-item--BorderRadius: var(--pf-t--global--border--radius--medium);
|
31
|
+
--pf-v5-c-notification-drawer__list-item--m-info__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
32
|
+
--pf-v5-c-notification-drawer__list-item--m-info__list-item--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
33
|
+
--pf-v5-c-notification-drawer__list-item--m-warning__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
34
|
+
--pf-v5-c-notification-drawer__list-item--m-warning__list-item--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
35
|
+
--pf-v5-c-notification-drawer__list-item--m-danger__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
36
|
+
--pf-v5-c-notification-drawer__list-item--m-danger__list-item--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
37
|
+
--pf-v5-c-notification-drawer__list-item--m-success__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
38
|
+
--pf-v5-c-notification-drawer__list-item--m-success__list-item--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
39
|
+
--pf-v5-c-notification-drawer__list-item--m-custom__list-item-header-icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
40
|
+
--pf-v5-c-notification-drawer__list-item--m-custom__list-item--BorderColor: var(--pf-t--global--border--color--status--custom--default);
|
41
|
+
--pf-v5-c-notification-drawer__list-item--m-read--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
42
|
+
--pf-v5-c-notification-drawer__list-item--m-read--BorderWidth: var(--pf-t--global--border--width--box--status--read);
|
43
|
+
--pf-v5-c-notification-drawer__list-item--m-read--BorderColor: var(--pf-t--global--border--color--default);
|
44
|
+
--pf-v5-c-notification-drawer__list-item--m-hoverable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
45
|
+
--pf-v5-c-notification-drawer__list-item-header--MarginBottom: var(--pf-t--global--spacer--xs);
|
45
46
|
--pf-v5-c-notification-drawer__list-item-header-icon--Color: inherit;
|
46
|
-
--pf-v5-c-notification-drawer__list-item-header-icon--MarginRight: var(--pf-
|
47
|
-
--pf-v5-c-notification-drawer__list-item-header-title--
|
47
|
+
--pf-v5-c-notification-drawer__list-item-header-icon--MarginRight: var(--pf-t--global--spacer--sm);
|
48
|
+
--pf-v5-c-notification-drawer__list-item-header-title--FontFamily: var(--pf-t--global--font--family--heading);
|
49
|
+
--pf-v5-c-notification-drawer__list-item-header-title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
50
|
+
--pf-v5-c-notification-drawer__list-item-header-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
51
|
+
--pf-v5-c-notification-drawer__list-item-header-title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
48
52
|
--pf-v5-c-notification-drawer__list-item-header-title--max-lines: 1;
|
49
|
-
--pf-v5-c-notification-drawer__list-item
|
50
|
-
--pf-v5-c-notification-drawer__list-item-
|
51
|
-
--pf-v5-c-notification-drawer__list-item-timestamp--
|
52
|
-
--pf-v5-c-notification-
|
53
|
-
--pf-v5-c-notification-drawer__group--m-expanded--group--
|
54
|
-
--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopColor: var(--pf-v5-global--BorderColor--100);
|
53
|
+
--pf-v5-c-notification-drawer__list-item-description--MarginBottom: var(--pf-t--global--spacer--sm);
|
54
|
+
--pf-v5-c-notification-drawer__list-item-timestamp--Color: var(--pf-t--global--text--color--subtle);
|
55
|
+
--pf-v5-c-notification-drawer__list-item-timestamp--FontSize: var(--pf-t--global--font--size--body--default);
|
56
|
+
--pf-v5-c-notification-drawer__group--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
|
57
|
+
--pf-v5-c-notification-drawer__group--m-expanded--group--BorderBottomColor: var(--pf-t--global--border--color--default);
|
55
58
|
--pf-v5-c-notification-drawer__group--m-expanded--MinHeight: 0;
|
56
|
-
--pf-v5-c-notification-drawer__group-
|
57
|
-
--pf-v5-c-notification-drawer__group-toggle--
|
58
|
-
--pf-v5-c-notification-drawer__group-toggle--
|
59
|
-
--pf-v5-c-notification-drawer__group-toggle--
|
60
|
-
--pf-v5-c-notification-drawer__group-toggle--
|
61
|
-
--pf-v5-c-notification-drawer__group-toggle--
|
62
|
-
--pf-v5-c-notification-drawer__group-toggle--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
|
59
|
+
--pf-v5-c-notification-drawer__group--m-expanded--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
60
|
+
--pf-v5-c-notification-drawer__group-toggle--PaddingTop: var(--pf-t--global--spacer--md);
|
61
|
+
--pf-v5-c-notification-drawer__group-toggle--PaddingRight: var(--pf-t--global--spacer--lg);
|
62
|
+
--pf-v5-c-notification-drawer__group-toggle--PaddingBottom: var(--pf-t--global--spacer--md);
|
63
|
+
--pf-v5-c-notification-drawer__group-toggle--PaddingLeft: var(--pf-t--global--spacer--lg);
|
64
|
+
--pf-v5-c-notification-drawer__group-toggle--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
63
65
|
--pf-v5-c-notification-drawer__group-toggle--OutlineOffset: -0.25rem;
|
64
|
-
--pf-v5-c-notification-drawer__group-toggle-title--MarginRight: var(--pf-
|
66
|
+
--pf-v5-c-notification-drawer__group-toggle-title--MarginRight: var(--pf-t--global--spacer--md);
|
67
|
+
--pf-v5-c-notification-drawer__group-toggle-title--FontSize: var(--pf-t--global--font--size--body--lg);
|
65
68
|
--pf-v5-c-notification-drawer__group-toggle-title--max-lines: 1;
|
66
|
-
--pf-v5-c-notification-drawer__group-toggle-count--MarginRight: var(--pf-
|
67
|
-
--pf-v5-c-notification-drawer__group-toggle-icon--MarginRight: var(--pf-
|
68
|
-
--pf-v5-c-notification-drawer__group-toggle-icon--Color: var(--pf-
|
69
|
+
--pf-v5-c-notification-drawer__group-toggle-count--MarginRight: var(--pf-t--global--spacer--md);
|
70
|
+
--pf-v5-c-notification-drawer__group-toggle-icon--MarginRight: var(--pf-t--global--spacer--md);
|
71
|
+
--pf-v5-c-notification-drawer__group-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
69
72
|
--pf-v5-c-notification-drawer__group-toggle-icon--Transition: .2s ease-in 0s;
|
70
73
|
--pf-v5-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate: 90deg;
|
74
|
+
}
|
75
|
+
|
76
|
+
.pf-v5-c-notification-drawer {
|
71
77
|
display: flex;
|
72
78
|
flex-direction: column;
|
73
79
|
height: 100%;
|
@@ -85,15 +91,20 @@
|
|
85
91
|
padding-inline-start: var(--pf-v5-c-notification-drawer__header--PaddingLeft);
|
86
92
|
padding-inline-end: var(--pf-v5-c-notification-drawer__header--PaddingRight);
|
87
93
|
background-color: var(--pf-v5-c-notification-drawer__header--BackgroundColor);
|
88
|
-
box-shadow: var(--pf-v5-c-notification-drawer__header--BoxShadow);
|
89
94
|
}
|
90
95
|
|
91
96
|
.pf-v5-c-notification-drawer__header-title {
|
97
|
+
font-family: var(--pf-v5-c-notification-drawer__header-title--FontFamily);
|
92
98
|
font-size: var(--pf-v5-c-notification-drawer__header-title--FontSize);
|
99
|
+
font-weight: var(--pf-v5-c-notification-drawer__header-title--FontWeight);
|
100
|
+
line-height: var(--pf-v5-c-notification-drawer__header-title--LineHeight);
|
93
101
|
}
|
94
102
|
|
95
103
|
.pf-v5-c-notification-drawer__header-status {
|
96
104
|
margin-inline-start: var(--pf-v5-c-notification-drawer__header-status--MarginLeft);
|
105
|
+
font-size: var(--pf-v5-c-notification-drawer__header-status--FontSize);
|
106
|
+
font-weight: var(--pf-v5-c-notification-drawer__header-status--FontWeight);
|
107
|
+
color: var(--pf-v5-c-notification-drawer__header-status--Color);
|
97
108
|
}
|
98
109
|
|
99
110
|
.pf-v5-c-notification-drawer__header-action {
|
@@ -104,8 +115,17 @@
|
|
104
115
|
|
105
116
|
.pf-v5-c-notification-drawer__body {
|
106
117
|
flex: 1;
|
118
|
+
padding-block-start: var(--pf-v5-c-notification-drawer__body--PaddingBlockStart);
|
119
|
+
padding-block-end: var(--pf-v5-c-notification-drawer__body--PaddingBlockEnd);
|
107
120
|
overflow-y: auto;
|
108
|
-
|
121
|
+
}
|
122
|
+
|
123
|
+
.pf-v5-c-notification-drawer__list:not([hidden]) {
|
124
|
+
display: flex;
|
125
|
+
flex-direction: column;
|
126
|
+
gap: var(--pf-v5-c-notification-drawer__list--Gap);
|
127
|
+
padding-inline-start: var(--pf-v5-c-notification-drawer__list--PaddingInlineStart);
|
128
|
+
padding-inline-end: var(--pf-v5-c-notification-drawer__list--PaddingInlineEnd);
|
109
129
|
}
|
110
130
|
|
111
131
|
.pf-v5-c-notification-drawer__list-item {
|
@@ -117,60 +137,40 @@
|
|
117
137
|
padding-inline-start: var(--pf-v5-c-notification-drawer__list-item--PaddingLeft);
|
118
138
|
padding-inline-end: var(--pf-v5-c-notification-drawer__list-item--PaddingRight);
|
119
139
|
background-color: var(--pf-v5-c-notification-drawer__list-item--BackgroundColor);
|
120
|
-
border
|
121
|
-
|
122
|
-
box-shadow: var(--pf-v5-c-notification-drawer__list-item--BoxShadow);
|
123
|
-
}
|
124
|
-
.pf-v5-c-notification-drawer__list-item.pf-m-read, .pf-v5-c-notification-drawer__list-item:first-child {
|
125
|
-
--pf-v5-c-notification-drawer__list-item--BoxShadow: none;
|
126
|
-
}
|
127
|
-
.pf-v5-c-notification-drawer__list-item:not(.pf-m-read) + .pf-v5-c-notification-drawer__list-item.pf-m-read {
|
128
|
-
--pf-v5-c-notification-drawer__list-item--BoxShadow: var(--pf-v5-c-notification-drawer__list-item--list-item--m-read--BoxShadow);
|
129
|
-
--pf-v5-c-notification-drawer__list-item--before--Top: var(--pf-v5-c-notification-drawer__list-item--list-item--m-read--before--Top);
|
130
|
-
}
|
131
|
-
.pf-v5-c-notification-drawer__list-item::before {
|
132
|
-
position: absolute;
|
133
|
-
inset-block-start: var(--pf-v5-c-notification-drawer__list-item--before--Top);
|
134
|
-
inset-block-end: var(--pf-v5-c-notification-drawer__list-item--before--Bottom);
|
135
|
-
width: var(--pf-v5-c-notification-drawer__list-item--before--Width);
|
136
|
-
content: "";
|
137
|
-
background-color: var(--pf-v5-c-notification-drawer__list-item--before--BackgroundColor);
|
140
|
+
border: var(--pf-v5-c-notification-drawer__list-item--BorderWidth) solid var(--pf-v5-c-notification-drawer__list-item--BorderColor);
|
141
|
+
border-radius: var(--pf-v5-c-notification-drawer__list-item--BorderRadius);
|
138
142
|
}
|
139
143
|
.pf-v5-c-notification-drawer__list-item.pf-m-info {
|
140
|
-
--pf-v5-c-notification-drawer__list-item--
|
144
|
+
--pf-v5-c-notification-drawer__list-item--BorderColor: var(--pf-v5-c-notification-drawer__list-item--m-info__list-item--BorderColor);
|
141
145
|
--pf-v5-c-notification-drawer__list-item-header-icon--Color: var(--pf-v5-c-notification-drawer__list-item--m-info__list-item-header-icon--Color);
|
142
146
|
}
|
143
147
|
.pf-v5-c-notification-drawer__list-item.pf-m-warning {
|
144
|
-
--pf-v5-c-notification-drawer__list-item--
|
148
|
+
--pf-v5-c-notification-drawer__list-item--BorderColor: var(--pf-v5-c-notification-drawer__list-item--m-warning__list-item--BorderColor);
|
145
149
|
--pf-v5-c-notification-drawer__list-item-header-icon--Color: var(--pf-v5-c-notification-drawer__list-item--m-warning__list-item-header-icon--Color);
|
146
150
|
}
|
147
151
|
.pf-v5-c-notification-drawer__list-item.pf-m-danger {
|
148
|
-
--pf-v5-c-notification-drawer__list-item--
|
152
|
+
--pf-v5-c-notification-drawer__list-item--BorderColor: var(--pf-v5-c-notification-drawer__list-item--m-danger__list-item--BorderColor);
|
149
153
|
--pf-v5-c-notification-drawer__list-item-header-icon--Color: var(--pf-v5-c-notification-drawer__list-item--m-danger__list-item-header-icon--Color);
|
150
154
|
}
|
151
155
|
.pf-v5-c-notification-drawer__list-item.pf-m-success {
|
152
|
-
--pf-v5-c-notification-drawer__list-item--
|
156
|
+
--pf-v5-c-notification-drawer__list-item--BorderColor: var(--pf-v5-c-notification-drawer__list-item--m-success__list-item--BorderColor);
|
153
157
|
--pf-v5-c-notification-drawer__list-item-header-icon--Color: var(--pf-v5-c-notification-drawer__list-item--m-success__list-item-header-icon--Color);
|
154
158
|
}
|
155
159
|
.pf-v5-c-notification-drawer__list-item.pf-m-custom {
|
156
|
-
--pf-v5-c-notification-drawer__list-item--
|
160
|
+
--pf-v5-c-notification-drawer__list-item--BorderColor: var(--pf-v5-c-notification-drawer__list-item--m-custom__list-item--BorderColor);
|
157
161
|
--pf-v5-c-notification-drawer__list-item-header-icon--Color: var(--pf-v5-c-notification-drawer__list-item--m-custom__list-item-header-icon--Color);
|
158
162
|
}
|
159
163
|
.pf-v5-c-notification-drawer__list-item.pf-m-read {
|
160
|
-
--pf-v5-c-notification-drawer__list-item--
|
164
|
+
--pf-v5-c-notification-drawer__list-item--BorderWidth: var(--pf-v5-c-notification-drawer__list-item--m-read--BorderWidth);
|
161
165
|
--pf-v5-c-notification-drawer__list-item--BackgroundColor: var(--pf-v5-c-notification-drawer__list-item--m-read--BackgroundColor);
|
162
|
-
--pf-v5-c-notification-drawer__list-item--
|
163
|
-
--pf-v5-c-notification-drawer__list-item--before--Bottom: var(--pf-v5-c-notification-drawer__list-item--m-read--before--Bottom);
|
164
|
-
--pf-v5-c-notification-drawer__list-item--before--BackgroundColor: var(--pf-v5-c-notification-drawer__list-item--m-read--before--BackgroundColor);
|
165
|
-
--pf-v5-c-notification-drawer__list-item-header-title--FontWeight: var(--pf-v5-c-notification-drawer__list-item--m-read__list-item-header-title--FontWeight);
|
166
|
+
--pf-v5-c-notification-drawer__list-item--BorderColor: var(--pf-v5-c-notification-drawer__list-item--m-read--BorderColor);
|
166
167
|
position: relative;
|
167
168
|
}
|
168
169
|
.pf-v5-c-notification-drawer__list-item.pf-m-hoverable {
|
169
170
|
cursor: pointer;
|
170
171
|
}
|
171
|
-
.pf-v5-c-notification-drawer__list-item.pf-m-hoverable:hover {
|
172
|
-
|
173
|
-
box-shadow: var(--pf-v5-c-notification-drawer__list-item--m-hoverable--hover--BoxShadow);
|
172
|
+
.pf-v5-c-notification-drawer__list-item.pf-m-hoverable:hover, .pf-v5-c-notification-drawer__list-item.pf-m-hoverable:focus {
|
173
|
+
background-color: var(--pf-v5-c-notification-drawer__list-item--m-hoverable--hover--BackgroundColor);
|
174
174
|
}
|
175
175
|
|
176
176
|
.pf-v5-c-notification-drawer__list-item-header {
|
@@ -187,7 +187,10 @@
|
|
187
187
|
}
|
188
188
|
|
189
189
|
.pf-v5-c-notification-drawer__list-item-header-title {
|
190
|
+
font-family: var(--pf-v5-c-notification-drawer__list-item-header-title--FontFamily);
|
191
|
+
font-size: var(--pf-v5-c-notification-drawer__list-item-header-title--FontSize);
|
190
192
|
font-weight: var(--pf-v5-c-notification-drawer__list-item-header-title--FontWeight);
|
193
|
+
line-height: var(--pf-v5-c-notification-drawer__list-item-header-title--LineHeight);
|
191
194
|
word-break: break-word;
|
192
195
|
}
|
193
196
|
.pf-v5-c-notification-drawer__list-item-header-title.pf-m-truncate {
|
@@ -221,15 +224,12 @@
|
|
221
224
|
flex-direction: column;
|
222
225
|
}
|
223
226
|
|
227
|
+
.pf-v5-c-notification-drawer__group {
|
228
|
+
border-block-end: var(--pf-v5-c-notification-drawer__group--BorderBottomWidth) solid var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderBottomColor);
|
229
|
+
}
|
224
230
|
.pf-v5-c-notification-drawer__group.pf-m-expanded {
|
225
231
|
min-height: var(--pf-v5-c-notification-drawer__group--m-expanded--MinHeight);
|
226
|
-
|
227
|
-
.pf-v5-c-notification-drawer__group.pf-m-expanded + .pf-v5-c-notification-drawer__group {
|
228
|
-
border-block-start: var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopWidth) solid var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopColor);
|
229
|
-
}
|
230
|
-
.pf-v5-c-notification-drawer__group .pf-v5-c-notification-drawer__list-item:last-child {
|
231
|
-
--pf-v5-c-notification-drawer__list-item--BorderBottomWidth: 0;
|
232
|
-
--pf-v5-c-notification-drawer__list-item--before--Bottom: 0;
|
232
|
+
padding-block-end: var(--pf-v5-c-notification-drawer__group--m-expanded--PaddingBlockEnd);
|
233
233
|
}
|
234
234
|
|
235
235
|
.pf-v5-c-notification-drawer__group-toggle {
|
@@ -241,8 +241,7 @@
|
|
241
241
|
padding-inline-start: var(--pf-v5-c-notification-drawer__group-toggle--PaddingLeft);
|
242
242
|
padding-inline-end: var(--pf-v5-c-notification-drawer__group-toggle--PaddingRight);
|
243
243
|
background-color: var(--pf-v5-c-notification-drawer__group-toggle--BackgroundColor);
|
244
|
-
border:
|
245
|
-
border-block-end-width: var(--pf-v5-c-notification-drawer__group-toggle--BorderBottomWidth);
|
244
|
+
border: none;
|
246
245
|
outline-offset: var(--pf-v5-c-notification-drawer__group-toggle--OutlineOffset);
|
247
246
|
}
|
248
247
|
|
@@ -253,6 +252,7 @@
|
|
253
252
|
overflow: hidden;
|
254
253
|
flex: 1;
|
255
254
|
margin-inline-end: var(--pf-v5-c-notification-drawer__group-toggle-title--MarginRight);
|
255
|
+
font-size: var(--pf-v5-c-notification-drawer__group-toggle-title--FontSize);
|
256
256
|
text-align: start;
|
257
257
|
word-break: break-word;
|
258
258
|
}
|
@@ -273,15 +273,4 @@
|
|
273
273
|
|
274
274
|
.pf-v5-c-notification-drawer__group.pf-m-expanded .pf-v5-c-notification-drawer__group-toggle-icon {
|
275
275
|
transform: rotate(var(--pf-v5-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
|
276
|
-
}
|
277
|
-
|
278
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-notification-drawer {
|
279
|
-
--pf-v5-c-notification-drawer--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
280
|
-
--pf-v5-c-notification-drawer__header--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
281
|
-
--pf-v5-c-notification-drawer__list-item--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
282
|
-
--pf-v5-c-notification-drawer__list-item--BoxShadow: none;
|
283
|
-
--pf-v5-c-notification-drawer__list-item--BorderBottomColor: var(--pf-v5-global--BorderColor--100);
|
284
|
-
--pf-v5-c-notification-drawer__list-item--m-read--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
285
|
-
--pf-v5-c-notification-drawer__list-item--list-item--m-read--BoxShadow: none;
|
286
|
-
--pf-v5-c-notification-drawer__group-toggle--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
287
276
|
}
|
@@ -2,12 +2,12 @@ import './notification-drawer.css';
|
|
2
2
|
declare const _default: {
|
3
3
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
4
|
"modifiers": {
|
5
|
-
"read": "pf-m-read",
|
6
5
|
"info": "pf-m-info",
|
7
6
|
"warning": "pf-m-warning",
|
8
7
|
"danger": "pf-m-danger",
|
9
8
|
"success": "pf-m-success",
|
10
9
|
"custom": "pf-m-custom",
|
10
|
+
"read": "pf-m-read",
|
11
11
|
"hoverable": "pf-m-hoverable",
|
12
12
|
"truncate": "pf-m-truncate",
|
13
13
|
"expanded": "pf-m-expanded"
|
@@ -24,13 +24,13 @@ declare const _default: {
|
|
24
24
|
"notificationDrawerHeaderAction": "pf-v5-c-notification-drawer__header-action",
|
25
25
|
"notificationDrawerHeaderStatus": "pf-v5-c-notification-drawer__header-status",
|
26
26
|
"notificationDrawerHeaderTitle": "pf-v5-c-notification-drawer__header-title",
|
27
|
+
"notificationDrawerList": "pf-v5-c-notification-drawer__list",
|
27
28
|
"notificationDrawerListItem": "pf-v5-c-notification-drawer__list-item",
|
28
29
|
"notificationDrawerListItemAction": "pf-v5-c-notification-drawer__list-item-action",
|
29
30
|
"notificationDrawerListItemDescription": "pf-v5-c-notification-drawer__list-item-description",
|
30
31
|
"notificationDrawerListItemHeader": "pf-v5-c-notification-drawer__list-item-header",
|
31
32
|
"notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
|
32
33
|
"notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
|
33
|
-
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp"
|
34
|
-
"themeDark": "pf-v5-theme-dark"
|
34
|
+
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp"
|
35
35
|
};
|
36
36
|
export default _default;
|
@@ -4,12 +4,12 @@ require('./notification-drawer.css');
|
|
4
4
|
exports.default = {
|
5
5
|
"dirRtl": "pf-v5-m-dir-rtl",
|
6
6
|
"modifiers": {
|
7
|
-
"read": "pf-m-read",
|
8
7
|
"info": "pf-m-info",
|
9
8
|
"warning": "pf-m-warning",
|
10
9
|
"danger": "pf-m-danger",
|
11
10
|
"success": "pf-m-success",
|
12
11
|
"custom": "pf-m-custom",
|
12
|
+
"read": "pf-m-read",
|
13
13
|
"hoverable": "pf-m-hoverable",
|
14
14
|
"truncate": "pf-m-truncate",
|
15
15
|
"expanded": "pf-m-expanded"
|
@@ -26,12 +26,12 @@ exports.default = {
|
|
26
26
|
"notificationDrawerHeaderAction": "pf-v5-c-notification-drawer__header-action",
|
27
27
|
"notificationDrawerHeaderStatus": "pf-v5-c-notification-drawer__header-status",
|
28
28
|
"notificationDrawerHeaderTitle": "pf-v5-c-notification-drawer__header-title",
|
29
|
+
"notificationDrawerList": "pf-v5-c-notification-drawer__list",
|
29
30
|
"notificationDrawerListItem": "pf-v5-c-notification-drawer__list-item",
|
30
31
|
"notificationDrawerListItemAction": "pf-v5-c-notification-drawer__list-item-action",
|
31
32
|
"notificationDrawerListItemDescription": "pf-v5-c-notification-drawer__list-item-description",
|
32
33
|
"notificationDrawerListItemHeader": "pf-v5-c-notification-drawer__list-item-header",
|
33
34
|
"notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
|
34
35
|
"notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
|
35
|
-
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp"
|
36
|
-
"themeDark": "pf-v5-theme-dark"
|
36
|
+
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp"
|
37
37
|
};
|
@@ -2,12 +2,12 @@ import './notification-drawer.css';
|
|
2
2
|
export default {
|
3
3
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
4
|
"modifiers": {
|
5
|
-
"read": "pf-m-read",
|
6
5
|
"info": "pf-m-info",
|
7
6
|
"warning": "pf-m-warning",
|
8
7
|
"danger": "pf-m-danger",
|
9
8
|
"success": "pf-m-success",
|
10
9
|
"custom": "pf-m-custom",
|
10
|
+
"read": "pf-m-read",
|
11
11
|
"hoverable": "pf-m-hoverable",
|
12
12
|
"truncate": "pf-m-truncate",
|
13
13
|
"expanded": "pf-m-expanded"
|
@@ -24,12 +24,12 @@ export default {
|
|
24
24
|
"notificationDrawerHeaderAction": "pf-v5-c-notification-drawer__header-action",
|
25
25
|
"notificationDrawerHeaderStatus": "pf-v5-c-notification-drawer__header-status",
|
26
26
|
"notificationDrawerHeaderTitle": "pf-v5-c-notification-drawer__header-title",
|
27
|
+
"notificationDrawerList": "pf-v5-c-notification-drawer__list",
|
27
28
|
"notificationDrawerListItem": "pf-v5-c-notification-drawer__list-item",
|
28
29
|
"notificationDrawerListItemAction": "pf-v5-c-notification-drawer__list-item-action",
|
29
30
|
"notificationDrawerListItemDescription": "pf-v5-c-notification-drawer__list-item-description",
|
30
31
|
"notificationDrawerListItemHeader": "pf-v5-c-notification-drawer__list-item-header",
|
31
32
|
"notificationDrawerListItemHeaderIcon": "pf-v5-c-notification-drawer__list-item-header-icon",
|
32
33
|
"notificationDrawerListItemHeaderTitle": "pf-v5-c-notification-drawer__list-item-header-title",
|
33
|
-
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp"
|
34
|
-
"themeDark": "pf-v5-theme-dark"
|
34
|
+
"notificationDrawerListItemTimestamp": "pf-v5-c-notification-drawer__list-item-timestamp"
|
35
35
|
};
|