@patternfly/react-styles 5.2.0-prerelease.6 → 6.0.0-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/css/assets/images/PF-Backdrop.svg +1 -0
  3. package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  4. package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  5. package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
  6. package/css/assets/images/PF-IconLogo-color.svg +17 -0
  7. package/css/assets/images/PF-IconLogo.svg +17 -0
  8. package/css/assets/images/pf-background.svg +22 -0
  9. package/css/components/AboutModalBox/about-modal-box.css +57 -94
  10. package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
  11. package/css/components/AboutModalBox/about-modal-box.js +1 -2
  12. package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
  13. package/css/components/Accordion/accordion.css +81 -182
  14. package/css/components/Accordion/accordion.d.ts +2 -2
  15. package/css/components/Accordion/accordion.js +2 -2
  16. package/css/components/Accordion/accordion.mjs +2 -2
  17. package/css/components/ActionList/action-list.css +18 -17
  18. package/css/components/Alert/alert-group.css +20 -16
  19. package/css/components/Alert/alert.css +57 -84
  20. package/css/components/Alert/alert.d.ts +1 -2
  21. package/css/components/Alert/alert.js +1 -2
  22. package/css/components/Alert/alert.mjs +1 -2
  23. package/css/components/Avatar/avatar.css +10 -13
  24. package/css/components/Avatar/avatar.d.ts +1 -2
  25. package/css/components/Avatar/avatar.js +1 -2
  26. package/css/components/Avatar/avatar.mjs +1 -2
  27. package/css/components/BackToTop/back-to-top.css +17 -16
  28. package/css/components/Backdrop/backdrop.css +6 -2
  29. package/css/components/BackgroundImage/background-image.css +5 -1
  30. package/css/components/Badge/badge.css +23 -15
  31. package/css/components/Badge/badge.d.ts +2 -2
  32. package/css/components/Badge/badge.js +2 -2
  33. package/css/components/Badge/badge.mjs +2 -2
  34. package/css/components/Banner/banner.css +90 -64
  35. package/css/components/Banner/banner.d.ts +12 -4
  36. package/css/components/Banner/banner.js +12 -4
  37. package/css/components/Banner/banner.mjs +12 -4
  38. package/css/components/Breadcrumb/breadcrumb.css +19 -16
  39. package/css/components/Button/button.css +444 -435
  40. package/css/components/Button/button.d.ts +10 -9
  41. package/css/components/Button/button.js +10 -9
  42. package/css/components/Button/button.mjs +10 -9
  43. package/css/components/Card/card.css +97 -194
  44. package/css/components/Card/card.d.ts +3 -9
  45. package/css/components/Card/card.js +3 -9
  46. package/css/components/Card/card.mjs +3 -9
  47. package/css/components/Check/check.css +17 -16
  48. package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
  49. package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
  50. package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
  51. package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
  52. package/css/components/CodeBlock/code-block.css +18 -9
  53. package/css/components/Content/content.css +67 -67
  54. package/css/components/DataList/data-list.css +101 -158
  55. package/css/components/DataList/data-list.d.ts +1 -2
  56. package/css/components/DataList/data-list.js +1 -2
  57. package/css/components/DataList/data-list.mjs +1 -2
  58. package/css/components/DescriptionList/description-list.css +39 -34
  59. package/css/components/Divider/divider.css +97 -177
  60. package/css/components/Divider/divider.d.ts +1 -0
  61. package/css/components/Divider/divider.js +1 -0
  62. package/css/components/Divider/divider.mjs +1 -0
  63. package/css/components/DragDrop/drag-drop.css +18 -14
  64. package/css/components/DragDrop/drag-drop.d.ts +1 -2
  65. package/css/components/DragDrop/drag-drop.js +1 -2
  66. package/css/components/DragDrop/drag-drop.mjs +1 -2
  67. package/css/components/Drawer/drawer.css +112 -113
  68. package/css/components/Drawer/drawer.d.ts +3 -3
  69. package/css/components/Drawer/drawer.js +3 -3
  70. package/css/components/Drawer/drawer.mjs +3 -3
  71. package/css/components/EmptyState/empty-state.css +57 -34
  72. package/css/components/EmptyState/empty-state.d.ts +6 -1
  73. package/css/components/EmptyState/empty-state.js +6 -1
  74. package/css/components/EmptyState/empty-state.mjs +6 -1
  75. package/css/components/ExpandableSection/expandable-section.css +64 -62
  76. package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
  77. package/css/components/ExpandableSection/expandable-section.js +1 -3
  78. package/css/components/ExpandableSection/expandable-section.mjs +1 -3
  79. package/css/components/FileUpload/file-upload.css +28 -34
  80. package/css/components/Form/form.css +62 -114
  81. package/css/components/Form/form.d.ts +2 -6
  82. package/css/components/Form/form.js +2 -6
  83. package/css/components/Form/form.mjs +2 -6
  84. package/css/components/FormControl/form-control.css +86 -111
  85. package/css/components/FormControl/form-control.d.ts +1 -2
  86. package/css/components/FormControl/form-control.js +1 -2
  87. package/css/components/FormControl/form-control.mjs +1 -2
  88. package/css/components/HelperText/helper-text.css +28 -34
  89. package/css/components/HelperText/helper-text.d.ts +1 -2
  90. package/css/components/HelperText/helper-text.js +1 -2
  91. package/css/components/HelperText/helper-text.mjs +1 -2
  92. package/css/components/Hint/hint.css +28 -21
  93. package/css/components/Hint/hint.d.ts +1 -2
  94. package/css/components/Hint/hint.js +1 -2
  95. package/css/components/Hint/hint.mjs +1 -2
  96. package/css/components/Icon/icon.css +154 -18
  97. package/css/components/Icon/icon.d.ts +11 -0
  98. package/css/components/Icon/icon.js +11 -0
  99. package/css/components/Icon/icon.mjs +11 -0
  100. package/css/components/InlineEdit/inline-edit.css +8 -7
  101. package/css/components/InputGroup/input-group.css +22 -38
  102. package/css/components/InputGroup/input-group.d.ts +1 -2
  103. package/css/components/InputGroup/input-group.js +1 -2
  104. package/css/components/InputGroup/input-group.mjs +1 -2
  105. package/css/components/JumpLinks/jump-links.css +34 -34
  106. package/css/components/Label/label-group.css +39 -44
  107. package/css/components/Label/label.css +258 -355
  108. package/css/components/Label/label.d.ts +11 -10
  109. package/css/components/Label/label.js +11 -10
  110. package/css/components/Label/label.mjs +11 -10
  111. package/css/components/List/list.css +16 -16
  112. package/css/components/Login/login.css +70 -97
  113. package/css/components/Login/login.d.ts +0 -2
  114. package/css/components/Login/login.js +0 -2
  115. package/css/components/Login/login.mjs +0 -2
  116. package/css/components/Masthead/masthead.css +262 -498
  117. package/css/components/Masthead/masthead.d.ts +3 -45
  118. package/css/components/Masthead/masthead.js +3 -45
  119. package/css/components/Masthead/masthead.mjs +3 -45
  120. package/css/components/MenuToggle/menu-toggle.css +56 -78
  121. package/css/components/ModalBox/modal-box.css +59 -52
  122. package/css/components/ModalBox/modal-box.d.ts +1 -2
  123. package/css/components/ModalBox/modal-box.js +1 -2
  124. package/css/components/ModalBox/modal-box.mjs +1 -2
  125. package/css/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  126. package/css/components/MultipleFileUpload/multiple-file-upload.d.ts +0 -1
  127. package/css/components/MultipleFileUpload/multiple-file-upload.js +0 -1
  128. package/css/components/MultipleFileUpload/multiple-file-upload.mjs +0 -1
  129. package/css/components/Nav/nav.css +241 -917
  130. package/css/components/Nav/nav.d.ts +9 -20
  131. package/css/components/Nav/nav.js +9 -20
  132. package/css/components/Nav/nav.mjs +9 -20
  133. package/css/components/NotificationBadge/notification-badge.css +56 -81
  134. package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
  135. package/css/components/NotificationBadge/notification-badge.js +1 -5
  136. package/css/components/NotificationBadge/notification-badge.mjs +1 -5
  137. package/css/components/NotificationDrawer/notification-drawer.css +104 -115
  138. package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -3
  139. package/css/components/NotificationDrawer/notification-drawer.js +3 -3
  140. package/css/components/NotificationDrawer/notification-drawer.mjs +3 -3
  141. package/css/components/NumberInput/number-input.css +8 -8
  142. package/css/components/NumberInput/number-input.d.ts +0 -3
  143. package/css/components/NumberInput/number-input.js +0 -3
  144. package/css/components/NumberInput/number-input.mjs +0 -3
  145. package/css/components/OverflowMenu/overflow-menu.css +17 -47
  146. package/css/components/OverflowMenu/overflow-menu.d.ts +1 -3
  147. package/css/components/OverflowMenu/overflow-menu.js +1 -3
  148. package/css/components/OverflowMenu/overflow-menu.mjs +1 -3
  149. package/css/components/Page/page.css +112 -209
  150. package/css/components/Page/page.d.ts +5 -12
  151. package/css/components/Page/page.js +5 -12
  152. package/css/components/Page/page.mjs +5 -12
  153. package/css/components/Pagination/pagination.css +64 -121
  154. package/css/components/Pagination/pagination.d.ts +2 -5
  155. package/css/components/Pagination/pagination.js +2 -5
  156. package/css/components/Pagination/pagination.mjs +2 -5
  157. package/css/components/Panel/panel.css +27 -23
  158. package/css/components/Panel/panel.d.ts +2 -2
  159. package/css/components/Panel/panel.js +2 -2
  160. package/css/components/Panel/panel.mjs +2 -2
  161. package/css/components/Popover/popover.css +42 -51
  162. package/css/components/Popover/popover.d.ts +1 -2
  163. package/css/components/Popover/popover.js +1 -2
  164. package/css/components/Popover/popover.mjs +1 -2
  165. package/css/components/Progress/progress.css +31 -45
  166. package/css/components/Progress/progress.d.ts +1 -2
  167. package/css/components/Progress/progress.js +1 -2
  168. package/css/components/Progress/progress.mjs +1 -2
  169. package/css/components/Radio/radio.css +15 -11
  170. package/css/components/Sidebar/sidebar.css +20 -9
  171. package/css/components/Sidebar/sidebar.d.ts +1 -0
  172. package/css/components/Sidebar/sidebar.js +1 -0
  173. package/css/components/Sidebar/sidebar.mjs +1 -0
  174. package/css/components/SimpleList/simple-list.css +35 -52
  175. package/css/components/SimpleList/simple-list.d.ts +2 -2
  176. package/css/components/SimpleList/simple-list.js +2 -2
  177. package/css/components/SimpleList/simple-list.mjs +2 -2
  178. package/css/components/Skeleton/skeleton.css +18 -20
  179. package/css/components/Skeleton/skeleton.d.ts +1 -2
  180. package/css/components/Skeleton/skeleton.js +1 -2
  181. package/css/components/Skeleton/skeleton.mjs +1 -2
  182. package/css/components/SkipToContent/skip-to-content.css +6 -3
  183. package/css/components/Slider/slider.css +34 -30
  184. package/css/components/Spinner/spinner.css +17 -34
  185. package/css/components/Switch/switch.css +41 -37
  186. package/css/components/Switch/switch.d.ts +1 -2
  187. package/css/components/Switch/switch.js +1 -2
  188. package/css/components/Switch/switch.mjs +1 -2
  189. package/css/components/TabContent/tab-content.css +17 -11
  190. package/css/components/TabContent/tab-content.d.ts +1 -1
  191. package/css/components/TabContent/tab-content.js +1 -1
  192. package/css/components/TabContent/tab-content.mjs +1 -1
  193. package/css/components/Table/table-grid.css +8 -8
  194. package/css/components/Table/table.css +79 -88
  195. package/css/components/Tile/tile.css +40 -81
  196. package/css/components/Tile/tile.d.ts +0 -1
  197. package/css/components/Tile/tile.js +0 -1
  198. package/css/components/Tile/tile.mjs +0 -1
  199. package/css/components/Timestamp/timestamp.css +12 -9
  200. package/css/components/Title/title.css +70 -19
  201. package/css/components/Title/title.d.ts +7 -1
  202. package/css/components/Title/title.js +7 -1
  203. package/css/components/Title/title.mjs +7 -1
  204. package/css/components/ToggleGroup/toggle-group.css +34 -47
  205. package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
  206. package/css/components/ToggleGroup/toggle-group.js +0 -1
  207. package/css/components/ToggleGroup/toggle-group.mjs +0 -1
  208. package/css/components/Toolbar/toolbar.css +2527 -1040
  209. package/css/components/Toolbar/toolbar.d.ts +406 -103
  210. package/css/components/Toolbar/toolbar.js +406 -103
  211. package/css/components/Toolbar/toolbar.mjs +406 -103
  212. package/css/components/Tooltip/tooltip.css +16 -16
  213. package/css/components/Tooltip/tooltip.d.ts +0 -1
  214. package/css/components/Tooltip/tooltip.js +0 -1
  215. package/css/components/Tooltip/tooltip.mjs +0 -1
  216. package/css/components/Truncate/truncate.css +4 -0
  217. package/css/docs/components/Button/examples/Button.css +4 -0
  218. package/css/docs/components/Divider/examples/Divider.css +3 -1
  219. package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
  220. package/css/docs/components/Label/examples/Label.css +4 -0
  221. package/css/docs/components/Nav/examples/Navigation.css +1 -22
  222. package/css/docs/components/Nav/examples/Navigation.d.ts +0 -3
  223. package/css/docs/components/Nav/examples/Navigation.js +0 -3
  224. package/css/docs/components/Nav/examples/Navigation.mjs +0 -3
  225. package/css/docs/components/Page/examples/Page.css +0 -8
  226. package/css/docs/components/Page/examples/Page.d.ts +0 -7
  227. package/css/docs/components/Page/examples/Page.js +0 -7
  228. package/css/docs/components/Page/examples/Page.mjs +0 -7
  229. package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
  230. package/css/docs/components/Truncate/examples/Truncate.css +2 -2
  231. package/package.json +5 -4
  232. package/css/docs/components/Avatar/examples/Avatar.css +0 -3
  233. package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
  234. package/css/docs/components/Avatar/examples/Avatar.js +0 -4
  235. package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
  236. package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
  237. package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
  238. package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
  239. 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
- "expandable": "pf-m-expandable",
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
- "start": "pf-m-start"
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
- "expandable": "pf-m-expandable",
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
- "start": "pf-m-start"
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
- "expandable": "pf-m-expandable",
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
- "start": "pf-m-start"
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
- --pf-v5-c-notification-badge--PaddingTop: var(--pf-v5-global--spacer--form-element);
3
- --pf-v5-c-notification-badge--PaddingRight: var(--pf-v5-global--spacer--md);
4
- --pf-v5-c-notification-badge--PaddingBottom: var(--pf-v5-global--spacer--form-element);
5
- --pf-v5-c-notification-badge--PaddingLeft: var(--pf-v5-global--spacer--md);
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--after--BackgroundColor);
46
- border-radius: var(--pf-v5-c-notification-badge--after--BorderRadius);
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: var(--pf-v5-c-notification-badge--after--Top);
51
+ inset-block-start: 0;
51
52
  inset-block-end: 0;
52
53
  inset-inline-start: 0;
53
- inset-inline-end: var(--pf-v5-c-notification-badge--after--Right);
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--after--BorderWidth) solid var(--pf-v5-c-notification-badge--after--BorderColor);
58
- border-radius: var(--pf-v5-c-notification-badge--after--BorderRadius);
59
- transform: translate(var(--pf-v5-c-notification-badge--after--TranslateX), var(--pf-v5-c-notification-badge--after--TranslateY));
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--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--after--BackgroundColor);
79
- --pf-v5-c-notification-badge--after--BorderColor: var(--pf-v5-c-notification-badge--m-read--after--BorderColor);
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--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--after--BackgroundColor);
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--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--hover--after--BackgroundColor);
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--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--after--BackgroundColor);
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--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--hover--after--BackgroundColor);
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--Color: var(--pf-v5-global--Color--light-100);
98
- --pf-v5-c-notification-badge--m-read--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--m-expanded--after--BackgroundColor);
99
- --pf-v5-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--m-expanded--after--BackgroundColor);
100
- --pf-v5-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--m-expanded--after--BackgroundColor);
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
  };