@patternfly/react-styles 6.0.0-alpha.1 → 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 +102 -0
- package/README.md +1 -1
- 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-background.svg +22 -0
- 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 +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 +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/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 +100 -194
- package/css/components/Card/card.d.ts +5 -9
- package/css/components/Card/card.js +5 -9
- package/css/components/Card/card.mjs +5 -9
- package/css/components/Check/check.css +24 -21
- 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/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/FileUpload/file-upload.css +28 -34
- package/css/components/Form/form.css +68 -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/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 +58 -80
- 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 -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/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 +27 -20
- 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 +42 -38
- 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 +85 -90
- 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/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 -1032
- package/css/components/Toolbar/toolbar.d.ts +406 -102
- package/css/components/Toolbar/toolbar.js +406 -102
- package/css/components/Toolbar/toolbar.mjs +406 -102
- 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/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/css/docs/demos/Toolbar/examples/Toolbar.css +15 -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
- 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,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,39 +1,40 @@
|
|
1
|
+
:root {
|
2
|
+
--pf-v5-c-notification-badge--BackgroundColor: transparent;
|
3
|
+
--pf-v5-c-notification-badge--MinWidth: 40px;
|
4
|
+
--pf-v5-c-notification-badge--Gap: var(--pf-t--global--spacer--xs);
|
5
|
+
--pf-v5-c-notification-badge--PaddingTop: var(--pf-t--global--spacer--sm);
|
6
|
+
--pf-v5-c-notification-badge--PaddingRight: var(--pf-t--global--spacer--sm);
|
7
|
+
--pf-v5-c-notification-badge--PaddingBottom: var(--pf-t--global--spacer--sm);
|
8
|
+
--pf-v5-c-notification-badge--PaddingLeft: var(--pf-t--global--spacer--sm);
|
9
|
+
--pf-v5-c-notification-badge--MarginTop: calc(-1 * var(--pf-t--global--spacer--sm));
|
10
|
+
--pf-v5-c-notification-badge--MarginRight: calc(-1 * var(--pf-t--global--spacer--sm));
|
11
|
+
--pf-v5-c-notification-badge--MarginBottom: calc(-1 * var(--pf-t--global--spacer--sm));
|
12
|
+
--pf-v5-c-notification-badge--MarginLeft: calc(-1 * var(--pf-t--global--spacer--sm));
|
13
|
+
--pf-v5-c-notification-badge--before--BorderColor: transparent;
|
14
|
+
--pf-v5-c-notification-badge--BorderRadius: var(--pf-t--global--border--radius--small);
|
15
|
+
--pf-v5-c-notification-badge--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
16
|
+
--pf-v5-c-notification-badge--m-read--Color: var(--pf-t--global--text--color--regular);
|
17
|
+
--pf-v5-c-notification-badge--m-read--before--BorderColor: var(--pf-t--global--border--color--default);
|
18
|
+
--pf-v5-c-notification-badge--m-read--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
|
19
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
20
|
+
--pf-v5-c-notification-badge--m-read--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
21
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
22
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
23
|
+
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-t--global--icon--color--on-brand--default);
|
24
|
+
--pf-v5-c-notification-badge--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
|
25
|
+
--pf-v5-c-notification-badge--m-unread--hover--BackgroundColor: var(--pf-t--global--color--brand--hover);
|
26
|
+
--pf-v5-c-notification-badge--m-unread--m-expanded--BackgroundColor: var(--pf-t--global--color--brand--active);
|
27
|
+
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-t--global--icon--color--status--on-danger--default);
|
28
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-t--global--color--status--danger--default);
|
29
|
+
--pf-v5-c-notification-badge--m-attention--hover--BackgroundColor: var(--pf-t--global--color--status--danger--hover);
|
30
|
+
--pf-v5-c-notification-badge--m-attention--m-expanded--BackgroundColor: var(--pf-t--global--color--status--danger--active);
|
31
|
+
}
|
32
|
+
|
1
33
|
.pf-v5-c-notification-badge {
|
2
|
-
|
3
|
-
--pf-v5-c-notification-badge--
|
4
|
-
|
5
|
-
|
6
|
-
--pf-v5-c-notification-badge--MarginTop: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
7
|
-
--pf-v5-c-notification-badge--MarginRight: calc(-1 * var(--pf-v5-global--spacer--md));
|
8
|
-
--pf-v5-c-notification-badge--MarginBottom: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
9
|
-
--pf-v5-c-notification-badge--MarginLeft: calc(-1 * var(--pf-v5-global--spacer--md));
|
10
|
-
--pf-v5-c-notification-badge--after--BorderColor: transparent;
|
11
|
-
--pf-v5-c-notification-badge--after--BorderRadius: var(--pf-v5-global--BorderRadius--sm);
|
12
|
-
--pf-v5-c-notification-badge--after--BorderWidth: 0;
|
13
|
-
--pf-v5-c-notification-badge--after--Top: 0;
|
14
|
-
--pf-v5-c-notification-badge--after--Right: 0;
|
15
|
-
--pf-v5-c-notification-badge--after--Width: auto;
|
16
|
-
--pf-v5-c-notification-badge--after--Height: auto;
|
17
|
-
--pf-v5-c-notification-badge--after--BackgroundColor: transparent;
|
18
|
-
--pf-v5-c-notification-badge--after--TranslateX: 0;
|
19
|
-
--pf-v5-c-notification-badge--after--TranslateY: 0;
|
20
|
-
--pf-v5-c-notification-badge__i--Width: auto;
|
21
|
-
--pf-v5-c-notification-badge__i--Height: auto;
|
22
|
-
--pf-v5-c-notification-badge--m-read--after--BorderColor: transparent;
|
23
|
-
--pf-v5-c-notification-badge--m-read--after--BackgroundColor: transparent;
|
24
|
-
--pf-v5-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-200);
|
25
|
-
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-v5-global--Color--light-100);
|
26
|
-
--pf-v5-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-v5-global--active-color--100);
|
27
|
-
--pf-v5-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-v5-global--primary-color--200);
|
28
|
-
--pf-v5-c-notification-badge--m-unread--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--200);
|
29
|
-
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-v5-global--Color--light-100);
|
30
|
-
--pf-v5-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-v5-global--danger-color--100);
|
31
|
-
--pf-v5-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-v5-global--danger-color--200);
|
32
|
-
--pf-v5-c-notification-badge--m-attention--m-expanded--after--BackgroundColor: var(--pf-v5-global--danger-color--200);
|
33
|
-
--pf-v5-c-notification-badge__count--MarginLeft: var(--pf-v5-global--spacer--xs);
|
34
|
-
--pf-v5-c-notification-badge--pf-v5-pficon-attention-bell--LineHeight: var(--pf-v5-global--LineHeight--sm);
|
35
|
-
position: relative;
|
36
|
-
display: inline-block;
|
34
|
+
display: inline-flex;
|
35
|
+
gap: var(--pf-v5-c-notification-badge--Gap);
|
36
|
+
align-items: center;
|
37
|
+
justify-content: center;
|
37
38
|
padding-block-start: var(--pf-v5-c-notification-badge--PaddingTop);
|
38
39
|
padding-block-end: var(--pf-v5-c-notification-badge--PaddingBottom);
|
39
40
|
padding-inline-start: var(--pf-v5-c-notification-badge--PaddingLeft);
|
@@ -42,71 +43,45 @@
|
|
42
43
|
margin-block-end: var(--pf-v5-c-notification-badge--MarginBottom);
|
43
44
|
margin-inline-start: var(--pf-v5-c-notification-badge--MarginLeft);
|
44
45
|
margin-inline-end: var(--pf-v5-c-notification-badge--MarginRight);
|
45
|
-
background-color: var(--pf-v5-c-notification-badge--
|
46
|
-
border-radius: var(--pf-v5-c-notification-badge--
|
46
|
+
background-color: var(--pf-v5-c-notification-badge--BackgroundColor);
|
47
|
+
border-radius: var(--pf-v5-c-notification-badge--BorderRadius);
|
47
48
|
}
|
48
49
|
.pf-v5-c-notification-badge::before {
|
49
50
|
position: absolute;
|
50
|
-
inset-block-start:
|
51
|
+
inset-block-start: 0;
|
51
52
|
inset-block-end: 0;
|
52
53
|
inset-inline-start: 0;
|
53
|
-
inset-inline-end:
|
54
|
-
width: var(--pf-v5-c-notification-badge--after--Width);
|
55
|
-
height: var(--pf-v5-c-notification-badge--after--Height);
|
54
|
+
inset-inline-end: 0;
|
56
55
|
content: "";
|
57
|
-
border: var(--pf-v5-c-notification-badge--
|
58
|
-
border-radius: var(--pf-v5-c-notification-badge--
|
59
|
-
transform: translate(var(--pf-v5-c-notification-badge--
|
60
|
-
}
|
61
|
-
.pf-v5-c-notification-badge > i {
|
62
|
-
width: var(--pf-v5-c-notification-badge__i--Width);
|
63
|
-
height: var(--pf-v5-c-notification-badge__i--Height);
|
64
|
-
}
|
65
|
-
.pf-v5-c-notification-badge > * {
|
66
|
-
position: relative;
|
67
|
-
}
|
68
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-attention-bell,
|
69
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-bell {
|
70
|
-
display: inline-block;
|
71
|
-
line-height: var(--pf-v5-c-notification-badge--pf-v5-pficon-attention-bell--LineHeight);
|
72
|
-
}
|
73
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-attention-bell::before,
|
74
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-bell::before {
|
75
|
-
vertical-align: bottom;
|
56
|
+
border: var(--pf-v5-c-notification-badge--before--BorderWidth) solid var(--pf-v5-c-notification-badge--before--BorderColor);
|
57
|
+
border-radius: var(--pf-v5-c-notification-badge--BorderRadius);
|
58
|
+
transform: translate(var(--pf-v5-c-notification-badge--before--TranslateX), var(--pf-v5-c-notification-badge--before--TranslateY));
|
76
59
|
}
|
77
60
|
.pf-v5-c-notification-badge.pf-m-read {
|
78
|
-
--pf-v5-c-notification-badge--
|
79
|
-
--pf-v5-c-notification-badge--
|
61
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--BackgroundColor);
|
62
|
+
--pf-v5-c-notification-badge--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--before--BorderColor);
|
80
63
|
color: var(--pf-v5-c-notification-badge--m-read--Color, inherit);
|
81
64
|
}
|
65
|
+
.pf-v5-c-notification-badge.pf-m-read:hover {
|
66
|
+
--pf-v5-c-notification-badge--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--hover--before--BorderColor);
|
67
|
+
}
|
82
68
|
.pf-v5-c-notification-badge.pf-m-unread {
|
83
|
-
--pf-v5-c-notification-badge--
|
69
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--BackgroundColor);
|
84
70
|
color: var(--pf-v5-c-notification-badge--m-unread--Color);
|
85
71
|
}
|
86
72
|
.pf-v5-c-notification-badge.pf-m-unread:hover {
|
87
|
-
--pf-v5-c-notification-badge--
|
73
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--hover--BackgroundColor);
|
88
74
|
}
|
89
75
|
.pf-v5-c-notification-badge.pf-m-attention {
|
90
|
-
--pf-v5-c-notification-badge--
|
76
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--BackgroundColor);
|
91
77
|
color: var(--pf-v5-c-notification-badge--m-attention--Color);
|
92
78
|
}
|
93
79
|
.pf-v5-c-notification-badge.pf-m-attention:hover {
|
94
|
-
--pf-v5-c-notification-badge--m-attention--
|
80
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--hover--BackgroundColor);
|
95
81
|
}
|
96
82
|
.pf-v5-c-notification-badge.pf-m-expanded {
|
97
|
-
--pf-v5-c-notification-badge--m-read--
|
98
|
-
--pf-v5-c-notification-badge--m-read--
|
99
|
-
--pf-v5-c-notification-badge--m-unread--
|
100
|
-
--pf-v5-c-notification-badge--m-attention--
|
101
|
-
}
|
102
|
-
|
103
|
-
.pf-v5-c-notification-badge__count {
|
104
|
-
margin-inline-start: var(--pf-v5-c-notification-badge__count--MarginLeft);
|
105
|
-
}
|
106
|
-
|
107
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-notification-badge {
|
108
|
-
--pf-v5-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
109
|
-
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-v5-global--primary-color--400);
|
110
|
-
--pf-v5-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
111
|
-
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-v5-global--palette--black-900);
|
83
|
+
--pf-v5-c-notification-badge--m-read--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--m-expanded--BackgroundColor);
|
84
|
+
--pf-v5-c-notification-badge--m-read--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor);
|
85
|
+
--pf-v5-c-notification-badge--m-unread--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--m-expanded--BackgroundColor);
|
86
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--m-expanded--BackgroundColor);
|
112
87
|
}
|
@@ -1,15 +1,11 @@
|
|
1
1
|
import './notification-badge.css';
|
2
2
|
declare const _default: {
|
3
|
-
"iconAttentionBell": "pf-v5-c-icon-attention-bell",
|
4
|
-
"iconBell": "pf-v5-c-icon-bell",
|
5
3
|
"modifiers": {
|
6
4
|
"read": "pf-m-read",
|
7
5
|
"unread": "pf-m-unread",
|
8
6
|
"attention": "pf-m-attention",
|
9
7
|
"expanded": "pf-m-expanded"
|
10
8
|
},
|
11
|
-
"notificationBadge": "pf-v5-c-notification-badge"
|
12
|
-
"notificationBadgeCount": "pf-v5-c-notification-badge__count",
|
13
|
-
"themeDark": "pf-v5-theme-dark"
|
9
|
+
"notificationBadge": "pf-v5-c-notification-badge"
|
14
10
|
};
|
15
11
|
export default _default;
|
@@ -2,15 +2,11 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./notification-badge.css');
|
4
4
|
exports.default = {
|
5
|
-
"iconAttentionBell": "pf-v5-c-icon-attention-bell",
|
6
|
-
"iconBell": "pf-v5-c-icon-bell",
|
7
5
|
"modifiers": {
|
8
6
|
"read": "pf-m-read",
|
9
7
|
"unread": "pf-m-unread",
|
10
8
|
"attention": "pf-m-attention",
|
11
9
|
"expanded": "pf-m-expanded"
|
12
10
|
},
|
13
|
-
"notificationBadge": "pf-v5-c-notification-badge"
|
14
|
-
"notificationBadgeCount": "pf-v5-c-notification-badge__count",
|
15
|
-
"themeDark": "pf-v5-theme-dark"
|
11
|
+
"notificationBadge": "pf-v5-c-notification-badge"
|
16
12
|
};
|
@@ -1,14 +1,10 @@
|
|
1
1
|
import './notification-badge.css';
|
2
2
|
export default {
|
3
|
-
"iconAttentionBell": "pf-v5-c-icon-attention-bell",
|
4
|
-
"iconBell": "pf-v5-c-icon-bell",
|
5
3
|
"modifiers": {
|
6
4
|
"read": "pf-m-read",
|
7
5
|
"unread": "pf-m-unread",
|
8
6
|
"attention": "pf-m-attention",
|
9
7
|
"expanded": "pf-m-expanded"
|
10
8
|
},
|
11
|
-
"notificationBadge": "pf-v5-c-notification-badge"
|
12
|
-
"notificationBadgeCount": "pf-v5-c-notification-badge__count",
|
13
|
-
"themeDark": "pf-v5-theme-dark"
|
9
|
+
"notificationBadge": "pf-v5-c-notification-badge"
|
14
10
|
};
|