@patternfly/patternfly 6.0.0-alpha.8 → 6.0.0-alpha.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/CODE_OF_CONDUCT.md +1 -2
  2. package/assets/images/PF-Backdrop.svg +1 -0
  3. package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  4. package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  5. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  6. package/assets/images/PF-IconLogo-color.svg +17 -0
  7. package/assets/images/PF-IconLogo.svg +17 -0
  8. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  9. package/assets/images/pf-background.svg +22 -0
  10. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  11. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  12. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  13. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  14. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  15. package/assets/images/pf_logo_white.hbs +35 -0
  16. package/assets/images/pf_logo_white.svg +38 -0
  17. package/base/_common.scss +8 -4
  18. package/base/_globals.scss +4 -6
  19. package/base/_variables.scss +2 -7
  20. package/base/patternfly-common.css +8 -4
  21. package/base/patternfly-globals.css +4 -3
  22. package/base/patternfly-variables.css +884 -871
  23. package/base/tokens/_tokens-charts.scss +159 -0
  24. package/base/tokens/_tokens-dark.scss +311 -287
  25. package/base/tokens/_tokens-default.scss +425 -329
  26. package/base/tokens/_tokens-font.scss +29 -36
  27. package/base/tokens/_tokens-palette.scss +71 -71
  28. package/base/tokens/_workspace-overrides.scss +7 -0
  29. package/components/AboutModalBox/about-modal-box.css +57 -94
  30. package/components/AboutModalBox/about-modal-box.scss +37 -62
  31. package/components/Accordion/accordion.css +85 -177
  32. package/components/Accordion/accordion.scss +96 -195
  33. package/components/ActionList/action-list.css +18 -17
  34. package/components/ActionList/action-list.scss +26 -16
  35. package/components/Alert/alert-group.css +20 -16
  36. package/components/Alert/alert-group.scss +20 -16
  37. package/components/Alert/alert.css +59 -84
  38. package/components/Alert/alert.scss +62 -78
  39. package/components/Avatar/avatar.css +10 -13
  40. package/components/Avatar/avatar.scss +10 -17
  41. package/components/BackToTop/back-to-top.css +17 -16
  42. package/components/BackToTop/back-to-top.scss +12 -12
  43. package/components/Backdrop/backdrop.css +6 -2
  44. package/components/Backdrop/backdrop.scss +5 -2
  45. package/components/BackgroundImage/background-image.css +5 -1
  46. package/components/BackgroundImage/background-image.scss +5 -1
  47. package/components/Badge/badge.css +23 -15
  48. package/components/Badge/badge.scss +25 -17
  49. package/components/Banner/banner.css +90 -64
  50. package/components/Banner/banner.scss +95 -32
  51. package/components/Breadcrumb/breadcrumb.css +19 -16
  52. package/components/Breadcrumb/breadcrumb.scss +18 -16
  53. package/components/Button/button.css +419 -353
  54. package/components/Button/button.scss +476 -476
  55. package/components/CalendarMonth/calendar-month.css +61 -92
  56. package/components/CalendarMonth/calendar-month.scss +68 -63
  57. package/components/Card/card.css +100 -194
  58. package/components/Card/card.scss +121 -237
  59. package/components/Check/check.css +24 -21
  60. package/components/Check/check.scss +25 -23
  61. package/components/ClipboardCopy/clipboard-copy.css +30 -33
  62. package/components/ClipboardCopy/clipboard-copy.scss +34 -26
  63. package/components/CodeBlock/code-block.css +22 -9
  64. package/components/CodeBlock/code-block.scss +22 -10
  65. package/components/CodeEditor/code-editor.css +94 -72
  66. package/components/CodeEditor/code-editor.scss +104 -82
  67. package/components/Content/content.css +7 -7
  68. package/components/Content/content.scss +7 -7
  69. package/components/DataList/data-list.css +101 -158
  70. package/components/DataList/data-list.scss +95 -154
  71. package/components/DatePicker/date-picker.css +13 -14
  72. package/components/DatePicker/date-picker.scss +12 -16
  73. package/components/DescriptionList/description-list.css +39 -34
  74. package/components/DescriptionList/description-list.scss +25 -25
  75. package/components/Divider/divider.css +91 -169
  76. package/components/Divider/divider.scss +60 -77
  77. package/components/DragDrop/drag-drop.css +18 -14
  78. package/components/DragDrop/drag-drop.scss +18 -17
  79. package/components/Drawer/drawer.css +112 -113
  80. package/components/Drawer/drawer.scss +134 -134
  81. package/components/Dropdown/dropdown.css +1 -3
  82. package/components/Dropdown/dropdown.scss +2 -6
  83. package/components/DualListSelector/dual-list-selector.css +56 -48
  84. package/components/DualListSelector/dual-list-selector.scss +57 -50
  85. package/components/EmptyState/empty-state.css +57 -34
  86. package/components/EmptyState/empty-state.scss +63 -34
  87. package/components/ExpandableSection/expandable-section.css +64 -62
  88. package/components/ExpandableSection/expandable-section.scss +73 -76
  89. package/components/FileUpload/file-upload.css +28 -34
  90. package/components/FileUpload/file-upload.scss +30 -42
  91. package/components/Form/form.css +68 -114
  92. package/components/Form/form.scss +65 -126
  93. package/components/FormControl/form-control.css +86 -111
  94. package/components/FormControl/form-control.scss +88 -92
  95. package/components/HelperText/helper-text.css +28 -34
  96. package/components/HelperText/helper-text.scss +30 -40
  97. package/components/Hint/hint.css +28 -21
  98. package/components/Hint/hint.scss +28 -24
  99. package/components/Icon/icon.css +154 -18
  100. package/components/Icon/icon.scss +187 -20
  101. package/components/InlineEdit/inline-edit.css +8 -7
  102. package/components/InlineEdit/inline-edit.scss +8 -7
  103. package/components/InputGroup/input-group.css +22 -38
  104. package/components/InputGroup/input-group.scss +21 -29
  105. package/components/JumpLinks/jump-links.css +34 -34
  106. package/components/JumpLinks/jump-links.scss +35 -36
  107. package/components/Label/label-group.css +39 -44
  108. package/components/Label/label-group.scss +39 -45
  109. package/components/Label/label.css +380 -355
  110. package/components/Label/label.scss +434 -348
  111. package/components/List/list.css +16 -16
  112. package/components/List/list.scss +17 -17
  113. package/components/Login/login.css +70 -97
  114. package/components/Login/login.scss +56 -64
  115. package/components/Masthead/masthead.css +261 -502
  116. package/components/Masthead/masthead.scss +123 -286
  117. package/components/Menu/menu.css +3 -0
  118. package/components/Menu/menu.scss +7 -3
  119. package/components/MenuToggle/menu-toggle.css +8 -8
  120. package/components/MenuToggle/menu-toggle.scss +8 -10
  121. package/components/ModalBox/modal-box.css +59 -52
  122. package/components/ModalBox/modal-box.scss +57 -53
  123. package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
  124. package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
  125. package/components/Nav/nav.css +240 -918
  126. package/components/Nav/nav.scss +300 -1082
  127. package/components/NotificationBadge/notification-badge.css +56 -81
  128. package/components/NotificationBadge/notification-badge.scss +60 -97
  129. package/components/NotificationDrawer/notification-drawer.css +104 -115
  130. package/components/NotificationDrawer/notification-drawer.scss +106 -116
  131. package/components/NumberInput/number-input.css +8 -8
  132. package/components/NumberInput/number-input.scss +7 -12
  133. package/components/OverflowMenu/overflow-menu.css +17 -47
  134. package/components/OverflowMenu/overflow-menu.scss +27 -65
  135. package/components/Page/page.css +56 -164
  136. package/components/Page/page.scss +60 -154
  137. package/components/Pagination/pagination.css +57 -124
  138. package/components/Pagination/pagination.scss +40 -128
  139. package/components/Panel/panel.css +27 -23
  140. package/components/Panel/panel.scss +29 -26
  141. package/components/Popover/popover.css +42 -53
  142. package/components/Popover/popover.scss +46 -55
  143. package/components/Progress/progress.css +31 -45
  144. package/components/Progress/progress.scss +36 -55
  145. package/components/ProgressStepper/progress-stepper.css +72 -69
  146. package/components/ProgressStepper/progress-stepper.scss +65 -65
  147. package/components/Radio/radio.css +27 -20
  148. package/components/Radio/radio.scss +28 -22
  149. package/components/Sidebar/sidebar.css +20 -9
  150. package/components/Sidebar/sidebar.scss +23 -11
  151. package/components/SimpleList/simple-list.css +35 -52
  152. package/components/SimpleList/simple-list.scss +41 -51
  153. package/components/Skeleton/skeleton.css +18 -20
  154. package/components/Skeleton/skeleton.scss +17 -21
  155. package/components/SkipToContent/skip-to-content.css +6 -3
  156. package/components/SkipToContent/skip-to-content.scss +8 -6
  157. package/components/Slider/slider.css +34 -30
  158. package/components/Slider/slider.scss +46 -43
  159. package/components/Spinner/spinner.css +17 -34
  160. package/components/Spinner/spinner.scss +19 -47
  161. package/components/Switch/switch.css +42 -38
  162. package/components/Switch/switch.scss +48 -43
  163. package/components/TabContent/tab-content.css +17 -11
  164. package/components/TabContent/tab-content.scss +18 -14
  165. package/components/Table/table-grid.css +29 -45
  166. package/components/Table/table-grid.scss +40 -53
  167. package/components/Table/table-scrollable.css +6 -6
  168. package/components/Table/table-scrollable.scss +8 -8
  169. package/components/Table/table-tree-view.css +76 -74
  170. package/components/Table/table-tree-view.scss +44 -39
  171. package/components/Table/table.css +67 -93
  172. package/components/Table/table.scss +83 -105
  173. package/components/Tabs/tabs.css +143 -175
  174. package/components/Tabs/tabs.scss +159 -217
  175. package/components/Tile/tile.css +40 -81
  176. package/components/Tile/tile.scss +38 -84
  177. package/components/Timestamp/timestamp.css +12 -9
  178. package/components/Timestamp/timestamp.scss +11 -10
  179. package/components/Title/title.css +70 -19
  180. package/components/Title/title.scss +90 -20
  181. package/components/ToggleGroup/toggle-group.css +54 -48
  182. package/components/ToggleGroup/toggle-group.scss +62 -50
  183. package/components/Toolbar/toolbar.css +2527 -1031
  184. package/components/Toolbar/toolbar.scss +233 -520
  185. package/components/Tooltip/tooltip.css +16 -18
  186. package/components/Tooltip/tooltip.scss +20 -24
  187. package/components/TreeView/tree-view.css +76 -97
  188. package/components/TreeView/tree-view.scss +82 -113
  189. package/components/Truncate/truncate.css +4 -0
  190. package/components/Truncate/truncate.scss +3 -0
  191. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  192. package/docs/components/Accordion/examples/Accordion.md +614 -416
  193. package/docs/components/ActionList/examples/ActionList.md +73 -22
  194. package/docs/components/Alert/examples/Alert.md +3 -3
  195. package/docs/components/Avatar/examples/Avatar.md +5 -19
  196. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  197. package/docs/components/Badge/examples/Badge.md +21 -0
  198. package/docs/components/Banner/examples/Banner.md +48 -25
  199. package/docs/components/Brand/examples/Brand.css +12 -0
  200. package/docs/components/Brand/examples/Brand.md +51 -32
  201. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  202. package/docs/components/Button/examples/Button.css +4 -0
  203. package/docs/components/Button/examples/Button.md +1419 -93
  204. package/docs/components/CalendarMonth/examples/CalendarMonth.md +48 -224
  205. package/docs/components/Card/examples/Card.md +550 -133
  206. package/docs/components/Check/examples/Check.md +1 -0
  207. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  208. package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
  209. package/docs/components/Content/examples/Content.md +5 -5
  210. package/docs/components/DatePicker/examples/DatePicker.md +5 -2
  211. package/docs/components/Divider/examples/Divider.css +3 -1
  212. package/docs/components/Divider/examples/Divider.md +30 -5
  213. package/docs/components/DragDrop/examples/DragDrop.css +1 -1
  214. package/docs/components/Drawer/examples/Drawer.md +294 -256
  215. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  216. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  217. package/docs/components/FileUpload/examples/FileUpload.md +112 -53
  218. package/docs/components/Form/examples/Form.md +134 -89
  219. package/docs/components/Icon/examples/Icon.md +82 -11
  220. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  221. package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
  222. package/docs/components/Label/examples/Label.css +4 -0
  223. package/docs/components/Label/examples/Label.md +3090 -703
  224. package/docs/components/LogViewer/examples/LogViewer.md +180 -180
  225. package/docs/components/Login/examples/Login.md +10 -5
  226. package/docs/components/Masthead/examples/masthead.md +443 -65
  227. package/docs/components/Menu/examples/Menu.md +507 -473
  228. package/docs/components/MenuToggle/examples/MenuToggle.md +106 -114
  229. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
  230. package/docs/components/Nav/examples/Navigation.css +1 -23
  231. package/docs/components/Nav/examples/Navigation.md +209 -356
  232. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  233. package/docs/components/Page/examples/Page.css +0 -8
  234. package/docs/components/Page/examples/Page.md +22 -21
  235. package/docs/components/Pagination/examples/Pagination.md +663 -637
  236. package/docs/components/Panel/examples/Panel.md +12 -0
  237. package/docs/components/Popover/examples/Popover.md +1 -1
  238. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
  239. package/docs/components/Radio/examples/Radio.md +1 -1
  240. package/docs/components/Sidebar/examples/Sidebar.md +19 -0
  241. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  242. package/docs/components/TabContent/examples/TabContent.md +10 -10
  243. package/docs/components/Table/examples/Table.md +8 -8
  244. package/docs/components/Tabs/examples/Tabs.css +1 -1
  245. package/docs/components/Tabs/examples/Tabs.md +1025 -826
  246. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  247. package/docs/components/Tile/examples/Tile.md +264 -144
  248. package/docs/components/Title/examples/Title.md +18 -0
  249. package/docs/components/Toolbar/examples/Toolbar.css +20 -15
  250. package/docs/components/Toolbar/examples/Toolbar.md +985 -3355
  251. package/docs/components/TreeView/examples/TreeView.md +7 -57
  252. package/docs/components/Truncate/examples/Truncate.css +2 -2
  253. package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
  254. package/docs/demos/Alert/examples/Alert.md +330 -87
  255. package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
  256. package/docs/demos/Banner/examples/Banner.md +211 -60
  257. package/docs/demos/Card/examples/Card.md +2 -2
  258. package/docs/demos/CardView/examples/CardView.md +241 -187
  259. package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
  260. package/docs/demos/Dashboard/examples/Dashboard.md +102 -29
  261. package/docs/demos/DataList/examples/DataList.md +999 -938
  262. package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
  263. package/docs/demos/Drawer/examples/Drawer.md +640 -251
  264. package/docs/demos/Form/examples/BasicForms.md +138 -84
  265. package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
  266. package/docs/demos/Masthead/examples/Masthead.md +786 -342
  267. package/docs/demos/Modal/examples/Modal.md +645 -198
  268. package/docs/demos/Nav/examples/Nav.md +691 -902
  269. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
  270. package/docs/demos/Page/examples/Page.md +942 -273
  271. package/docs/demos/Page/examples/Penta.md +66 -26
  272. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
  273. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
  274. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1183 -832
  275. package/docs/demos/Skeleton/examples/Skeleton.md +102 -29
  276. package/docs/demos/Table/examples/Table.md +3811 -3456
  277. package/docs/demos/Tabs/examples/Tabs.md +636 -194
  278. package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
  279. package/docs/demos/Toolbar/examples/Toolbar.md +1316 -1478
  280. package/docs/demos/Wizard/examples/Wizard.md +918 -261
  281. package/docs/layouts/Flex/examples/Flex.md +11 -11
  282. package/package.json +32 -32
  283. package/patternfly-base-no-globals-theme-dark-unversioned.css +897 -880
  284. package/patternfly-base-no-globals.css +897 -880
  285. package/patternfly-base-theme-dark-unversioned.css +890 -872
  286. package/patternfly-base.css +890 -872
  287. package/patternfly-no-globals.css +8107 -8027
  288. package/patternfly-theme-dark-unversioned.css +8111 -8030
  289. package/patternfly.css +8111 -8030
  290. package/patternfly.min.css +1 -1
  291. package/patternfly.min.css.map +1 -1
  292. package/sass-utilities/mixins.scss +18 -0
  293. package/base/themes/dark/_variables.scss +0 -102
  294. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  295. package/components/Accordion/themes/dark/accordion.scss +0 -9
  296. package/components/Alert/themes/dark/alert.scss +0 -17
  297. package/components/Badge/themes/dark/badge.scss +0 -9
  298. package/components/Banner/themes/dark/banner.scss +0 -14
  299. package/components/Button/themes/dark/button.scss +0 -51
  300. package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
  301. package/components/Card/themes/dark/card.scss +0 -20
  302. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
  303. package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
  304. package/components/DataList/themes/dark/data-list.scss +0 -10
  305. package/components/DatePicker/themes/dark/date-picker.scss +0 -8
  306. package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
  307. package/components/Drawer/themes/dark/drawer.scss +0 -13
  308. package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
  309. package/components/Form/themes/dark/form.scss +0 -7
  310. package/components/FormControl/themes/dark/form-control.scss +0 -24
  311. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  312. package/components/Hint/themes/dark/hint.scss +0 -8
  313. package/components/InputGroup/themes/dark/input-group.scss +0 -22
  314. package/components/Label/themes/dark/label.scss +0 -53
  315. package/components/Login/themes/dark/login.scss +0 -12
  316. package/components/Masthead/themes/dark/masthead.scss +0 -14
  317. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  318. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  319. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
  320. package/components/Page/themes/dark/page.scss +0 -69
  321. package/components/Pagination/themes/dark/pagination.scss +0 -7
  322. package/components/Panel/themes/dark/panel.scss +0 -7
  323. package/components/Popover/themes/dark/popover.scss +0 -11
  324. package/components/Progress/themes/dark/progress.scss +0 -9
  325. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  326. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  327. package/components/Switch/themes/dark/switch.scss +0 -11
  328. package/components/Tabs/themes/dark/tabs.scss +0 -10
  329. package/components/Tile/themes/dark/tile.scss +0 -10
  330. package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
  331. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  332. package/components/TreeView/themes/dark/tree-view.scss +0 -8
  333. package/docs/components/Avatar/examples/Avatar.css +0 -3
  334. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -1,70 +1,65 @@
1
- .pf-v5-c-calendar-month {
2
- --pf-v5-global--Color--100: var(--pf-v5-global--Color--dark-100);
3
- --pf-v5-global--Color--200: var(--pf-v5-global--Color--dark-200);
4
- --pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--dark-100);
5
- --pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--dark-100);
6
- --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
7
- --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
8
- --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
9
- --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
10
- --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
11
- }
12
-
13
- .pf-v5-c-calendar-month {
14
- --pf-v5-c-calendar-month--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
15
- --pf-v5-c-calendar-month--PaddingTop: var(--pf-v5-global--spacer--lg);
16
- --pf-v5-c-calendar-month--PaddingRight: var(--pf-v5-global--spacer--lg);
17
- --pf-v5-c-calendar-month--PaddingBottom: var(--pf-v5-global--spacer--md);
18
- --pf-v5-c-calendar-month--PaddingLeft: var(--pf-v5-global--spacer--lg);
19
- --pf-v5-c-calendar-month--FontSize: var(--pf-v5-global--FontSize--sm);
20
- --pf-v5-c-calendar-month__header--MarginBottom: var(--pf-v5-global--spacer--md);
21
- --pf-v5-c-calendar-month__header-year--Width: 8.5ch;
1
+ :where(:root),
2
+ :where(.pf-v5-c-calendar-month) {
3
+ --pf-v5-c-calendar-month--BackgroundColor: var(--pf-t--global--background--color--primary--default);
4
+ --pf-v5-c-calendar-month--PaddingTop: var(--pf-t--global--spacer--lg);
5
+ --pf-v5-c-calendar-month--PaddingRight: var(--pf-t--global--spacer--lg);
6
+ --pf-v5-c-calendar-month--PaddingBottom: var(--pf-t--global--spacer--md);
7
+ --pf-v5-c-calendar-month--PaddingLeft: var(--pf-t--global--spacer--lg);
8
+ --pf-v5-c-calendar-month--FontSize: var(--pf-t--global--font--size--sm);
9
+ --pf-v5-c-calendar-month__header--MarginBottom: var(--pf-t--global--spacer--md);
10
+ --pf-v5-c-calendar-month__header--Gap: var(--pf-t--global--spacer--xs);
11
+ --pf-v5-c-calendar-month__header-year--Width: 9ch;
22
12
  --pf-v5-c-calendar-month__header-nav-control--MarginRight: 0;
23
13
  --pf-v5-c-calendar-month__header-nav-control--MarginLeft: 0;
24
- --pf-v5-c-calendar-month__header-nav-control--m-prev-month--MarginRight: 0;
25
- --pf-v5-c-calendar-month__header-nav-control--m-prev-month--MarginLeft: 0;
26
- --pf-v5-c-calendar-month__header-nav-control--m-next-month--MarginRight: 0;
27
- --pf-v5-c-calendar-month__header-nav-control--m-next-month--MarginLeft: 0;
28
- --pf-v5-c-calendar-month__days--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
29
- --pf-v5-c-calendar-month__days--BorderBottomColor: var(--pf-v5-global--BorderColor--100);
30
- --pf-v5-c-calendar-month__day--PaddingBottom: var(--pf-v5-global--spacer--md);
31
- --pf-v5-c-calendar-month__day--FontWeight: var(--pf-v5-global--FontWeight--normal);
14
+ --pf-v5-c-calendar-month__days--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
15
+ --pf-v5-c-calendar-month__days--BorderBottomColor: var(--pf-t--global--border--color--default);
16
+ --pf-v5-c-calendar-month__day--PaddingBottom: var(--pf-t--global--spacer--md);
17
+ --pf-v5-c-calendar-month__day--FontWeight: var(--pf-t--global--font--weight--body);
18
+ --pf-v5-c-calendar-month__day--Color: var(--pf-t--global--text--color--regular);
32
19
  --pf-v5-c-calendar-month__dates-cell--PaddingTop: 0.125rem;
33
20
  --pf-v5-c-calendar-month__dates-cell--PaddingRight: 0.125rem;
34
21
  --pf-v5-c-calendar-month__dates-cell--PaddingBottom: 0.125rem;
35
22
  --pf-v5-c-calendar-month__dates-cell--PaddingLeft: 0.125rem;
36
- --pf-v5-c-calendar-month__dates-row--first-child__dates-cell--PaddingTop: var(--pf-v5-global--spacer--sm);
37
- --pf-v5-c-calendar-month__dates-cell--m-current__date--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
38
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--BackgroundColor: var(--pf-v5-global--active-color--100);
39
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--hover--BackgroundColor: var(--pf-v5-global--active-color--100);
40
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--BackgroundColor: var(--pf-v5-global--primary-color--200);
41
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--after--BorderColor: var(--pf-v5-global--primary-color--200);
42
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--BoxShadow: 0 0 0.3125rem var(--pf-v5-global--primary-color--100);
43
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--Color: var(--pf-v5-global--Color--light-100);
23
+ --pf-v5-c-calendar-month__dates-row--first-child__dates-cell--PaddingTop: var(--pf-t--global--spacer--sm);
24
+ --pf-v5-c-calendar-month__dates-cell--m-current__date--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
25
+ --pf-v5-c-calendar-month__dates-cell--m-selected__date--BackgroundColor: var(--pf-t--global--color--brand--default);
26
+ --pf-v5-c-calendar-month__dates-cell--m-selected__date--hover--BackgroundColor: var(--pf-t--global--color--brand--default);
27
+ --pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--BackgroundColor: var(--pf-t--global--color--brand--default);
28
+ --pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--after--BorderColor: var(--pf-t--global--border--color--brand--default);
29
+ --pf-v5-c-calendar-month__dates-cell--m-selected__date--Color: var(--pf-t--global--text--color--on-brand--default);
44
30
  --pf-v5-c-calendar-month__dates-cell--before--BackgroundColor: transparent;
45
31
  --pf-v5-c-calendar-month__dates-cell--before--Top: 0;
46
32
  --pf-v5-c-calendar-month__dates-cell--before--Right: 0;
47
33
  --pf-v5-c-calendar-month__dates-cell--before--Bottom: var(--pf-v5-c-calendar-month__dates-cell--PaddingBottom);
48
34
  --pf-v5-c-calendar-month__dates-cell--before--Left: 0;
49
- --pf-v5-c-calendar-month__dates-cell--m-in-range--before--BackgroundColor: var(--pf-v5-global--palette--blue-50);
35
+ --pf-v5-c-calendar-month__dates-cell--m-in-range--before--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
50
36
  --pf-v5-c-calendar-month__dates-cell--m-in-range--m-start-range--before--Left: 50%;
51
37
  --pf-v5-c-calendar-month__dates-cell--m-in-range--m-end-range--before--Right: 50%;
52
- --pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BackgroundColor: var(--pf-v5-global--palette--blue-100);
53
- --pf-v5-c-calendar-month__dates-cell--m-in-range__date--focus--BackgroundColor: var(--pf-v5-global--palette--blue-100);
54
- --pf-v5-c-calendar-month__dates-cell--m-adjacent-month__date--Color: var(--pf-v5-global--Color--200);
38
+ --pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
39
+ --pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BorderWidth: var(--pf-t--global--border--width--regular);
40
+ --pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BorderColor: var(--pf-t--global--border--color--hover);
41
+ --pf-v5-c-calendar-month__dates-cell--m-in-range__date--focus--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
42
+ --pf-v5-c-calendar-month__dates-cell--m-adjacent-month__date--Color: var(--pf-t--global--text--color--subtle);
55
43
  --pf-v5-c-calendar-month__date--Width: 4ch;
56
44
  --pf-v5-c-calendar-month__date--Height: 4ch;
57
- --pf-v5-c-calendar-month__date--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
58
- --pf-v5-c-calendar-month__date--Color: var(--pf-v5-global--Color--100);
45
+ --pf-v5-c-calendar-month__date--BorderRadius: var(--pf-t--global--border--radius--large);
46
+ --pf-v5-c-calendar-month__date--Color: var(--pf-t--global--text--color--regular);
59
47
  --pf-v5-c-calendar-month__date--BackgroundColor: transparent;
60
- --pf-v5-c-calendar-month__date--disabled--Color: var(--pf-v5-global--disabled-color--200);
61
- --pf-v5-c-calendar-month__date--after--BorderWidth: var(--pf-v5-global--BorderWidth--md);
48
+ --pf-v5-c-calendar-month__date--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
49
+ --pf-v5-c-calendar-month__date--disabled--Color: var(--pf-t--global--text--color--on-disabled);
50
+ --pf-v5-c-calendar-month__date--after--BorderWidth: var(--pf-t--global--border--width--regular);
62
51
  --pf-v5-c-calendar-month__date--after--BorderColor: transparent;
63
- --pf-v5-c-calendar-month__date--hover--BackgroundColor: var(--pf-v5-global--palette--blue-50);
64
- --pf-v5-c-calendar-month__date--focus--BackgroundColor: var(--pf-v5-global--palette--blue-50);
65
- --pf-v5-c-calendar-month__date--focus--after--BorderColor: var(--pf-v5-global--active-color--100);
66
- --pf-v5-c-calendar-month__date--focus--BoxShadow: none;
67
- color: var(--pf-v5-global--Color--100);
52
+ --pf-v5-c-calendar-month__date--after--OutlineOffset: 0;
53
+ --pf-v5-c-calendar-month__date--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
54
+ --pf-v5-c-calendar-month__date--hover--BorderWidth: var(--pf-t--global--border--width--regular);
55
+ --pf-v5-c-calendar-month__date--hover--BorderColor: var(--pf-t--global--border--color--hover);
56
+ --pf-v5-c-calendar-month__date--focus--Color: var(--pf-t--global--icon--color--on-brand--clicked);
57
+ --pf-v5-c-calendar-month__date--focus--BackgroundColor: var(--pf-t--global--color--brand--default);
58
+ --pf-v5-c-calendar-month__date--focus--after--BorderColor: var(--pf-t--global--border--color--hover);
59
+ --pf-v5-c-calendar-month__date--after--focus--OutlineOffset: -2px;
60
+ }
61
+
62
+ :where(.pf-v5-c-calendar-month) {
68
63
  display: inline-flex;
69
64
  flex-direction: column;
70
65
  padding-block-start: var(--pf-v5-c-calendar-month--PaddingTop);
@@ -77,6 +72,7 @@
77
72
 
78
73
  .pf-v5-c-calendar-month__header {
79
74
  display: flex;
75
+ gap: var(--pf-v5-c-calendar-month__header--Gap);
80
76
  margin-block-end: var(--pf-v5-c-calendar-month__header--MarginBottom);
81
77
  }
82
78
 
@@ -88,18 +84,12 @@
88
84
  scale: -1 1;
89
85
  }
90
86
 
91
- .pf-v5-c-calendar-month__header-nav-control.pf-m-prev-month {
92
- --pf-v5-c-calendar-month__header-nav-control--MarginRight: var(--pf-v5-c-calendar-month__header-nav-control--m-prev-month--MarginRight);
93
- --pf-v5-c-calendar-month__header-nav-control--MarginLeft: var(--pf-v5-c-calendar-month__header-nav-control--m-prev-month--MarginLeft);
94
- }
95
- .pf-v5-c-calendar-month__header-nav-control.pf-m-next-month {
96
- --pf-v5-c-calendar-month__header-nav-control--MarginRight: var(--pf-v5-c-calendar-month__header-nav-control--m-next-month--MarginRight);
97
- --pf-v5-c-calendar-month__header-nav-control--MarginLeft: var(--pf-v5-c-calendar-month__header-nav-control--m-next-month--MarginLeft);
98
- }
99
-
100
87
  .pf-v5-c-calendar-month__header-month {
101
88
  flex-grow: 1;
102
89
  }
90
+ .pf-v5-c-calendar-month__header-month > .pf-v5-c-menu-toggle {
91
+ width: 100%;
92
+ }
103
93
 
104
94
  .pf-v5-c-calendar-month__header-year {
105
95
  width: var(--pf-v5-c-calendar-month__header-year--Width);
@@ -110,6 +100,7 @@
110
100
  }
111
101
 
112
102
  .pf-v5-c-calendar-month__days {
103
+ color: var(--pf-v5-c-calendar-month__day--Color);
113
104
  border-block-end: var(--pf-v5-c-calendar-month__days--BorderBottomWidth) solid var(--pf-v5-c-calendar-month__days--BorderBottomColor);
114
105
  }
115
106
 
@@ -147,6 +138,8 @@
147
138
  .pf-v5-c-calendar-month__dates-cell.pf-m-in-range {
148
139
  --pf-v5-c-calendar-month__dates-cell--before--BackgroundColor: var(--pf-v5-c-calendar-month__dates-cell--m-in-range--before--BackgroundColor);
149
140
  --pf-v5-c-calendar-month__date--hover--BackgroundColor: var(--pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BackgroundColor);
141
+ --pf-v5-c-calendar-month__date--hover--BorderWidth: var(--pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BorderWidth);
142
+ --pf-v5-c-calendar-month__date--hover--BorderColor: var(--pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BorderColor);
150
143
  --pf-v5-c-calendar-month__date--focus--BackgroundColor: var(--pf-v5-c-calendar-month__dates-cell--m-in-range__date--focus--BackgroundColor);
151
144
  }
152
145
  .pf-v5-c-calendar-month__dates-cell.pf-m-start-range {
@@ -160,11 +153,12 @@
160
153
  }
161
154
  .pf-v5-c-calendar-month__dates-cell.pf-m-selected {
162
155
  --pf-v5-c-calendar-month__date--BackgroundColor: var(--pf-v5-c-calendar-month__dates-cell--m-selected__date--BackgroundColor);
156
+ --pf-v5-c-calendar-month__date--Color: var(--pf-v5-c-calendar-month__dates-cell--m-selected__date--Color);
163
157
  --pf-v5-c-calendar-month__date--hover--BackgroundColor: var(--pf-v5-c-calendar-month__dates-cell--m-selected__date--hover--BackgroundColor);
158
+ --pf-v5-c-calendar-month__date--hover--BorderWidth: 0;
164
159
  --pf-v5-c-calendar-month__date--focus--BackgroundColor: var(--pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--BackgroundColor);
165
160
  --pf-v5-c-calendar-month__date--focus--after--BorderColor: var(--pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--after--BorderColor);
166
- --pf-v5-c-calendar-month__date--focus--BoxShadow: var(--pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--BoxShadow);
167
- --pf-v5-c-calendar-month__date--Color: var(--pf-v5-c-calendar-month__dates-cell--m-selected__date--Color);
161
+ --pf-v5-c-calendar-month__date--after--OutlineOffset: var(--pf-v5-c-calendar-month__date--after--focus--OutlineOffset);
168
162
  }
169
163
  .pf-v5-c-calendar-month__dates-cell.pf-m-disabled {
170
164
  --pf-v5-c-calendar-month__dates-cell--before--BackgroundColor: transparent;
@@ -185,10 +179,10 @@
185
179
  }
186
180
  .pf-v5-c-calendar-month__date::after {
187
181
  position: absolute;
188
- inset-block-start: 0;
189
- inset-block-end: 0;
190
- inset-inline-start: 0;
191
- inset-inline-end: 0;
182
+ inset-block-start: var(--pf-v5-c-calendar-month__date--after--OutlineOffset);
183
+ inset-block-end: var(--pf-v5-c-calendar-month__date--after--OutlineOffset);
184
+ inset-inline-start: var(--pf-v5-c-calendar-month__date--after--OutlineOffset);
185
+ inset-inline-end: var(--pf-v5-c-calendar-month__date--after--OutlineOffset);
192
186
  content: "";
193
187
  border: var(--pf-v5-c-calendar-month__date--after--BorderWidth) solid var(--pf-v5-c-calendar-month__date--after--BorderColor);
194
188
  }
@@ -197,40 +191,15 @@
197
191
  }
198
192
  .pf-v5-c-calendar-month__date:hover, .pf-v5-c-calendar-month__date.pf-m-hover {
199
193
  --pf-v5-c-calendar-month__date--BackgroundColor: var(--pf-v5-c-calendar-month__date--hover--BackgroundColor);
194
+ border: var(--pf-v5-c-calendar-month__date--hover--BorderColor) solid var(--pf-v5-c-calendar-month__date--hover--BorderWidth);
200
195
  }
201
196
  .pf-v5-c-calendar-month__date:focus, .pf-v5-c-calendar-month__date.pf-m-focus {
202
- --pf-v5-c-calendar-month__date--BackgroundColor: var(--pf-v5-c-calendar-month__date--focus--BackgroundColor);
203
197
  --pf-v5-c-calendar-month__date--after--BorderColor: var(--pf-v5-c-calendar-month__date--focus--after--BorderColor);
204
198
  outline: 0;
205
- box-shadow: var(--pf-v5-c-calendar-month__date--focus--BoxShadow);
206
199
  }
207
200
  .pf-v5-c-calendar-month__date:disabled {
201
+ --pf-v5-c-calendar-month__date--BackgroundColor: var(--pf-v5-c-calendar-month__date--disabled--BackgroundColor);
208
202
  --pf-v5-c-calendar-month__date--Color: var(--pf-v5-c-calendar-month__date--disabled--Color);
209
203
  --pf-v5-c-calendar-month__date--hover--focus--BorderColor: transparent;
210
204
  pointer-events: none;
211
- }
212
-
213
- :where(.pf-v5-theme-dark) .pf-v5-c-calendar-month {
214
- --pf-v5-c-calendar-month--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
215
- --pf-v5-c-calendar-month__dates-cell--m-current__date--BackgroundColor: var(--pf-v5-global--palette--black-500);
216
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--BackgroundColor: var(--pf-v5-global--primary-color--300);
217
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--Color: var(--pf-v5-global--primary-color--400);
218
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--hover--BackgroundColor: var(--pf-v5-global--palette--black-900);
219
- --pf-v5-c-calendar-month__dates-cell--m-selected__date--focus--BackgroundColor: var(--pf-v5-global--palette--blue-400);
220
- --pf-v5-c-calendar-month__dates-cell--m-in-range--before--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
221
- --pf-v5-c-calendar-month__dates-cell--m-in-range__date--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
222
- --pf-v5-c-calendar-month__dates-cell--m-in-range__date--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
223
- --pf-v5-c-calendar-month__date--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
224
- --pf-v5-c-calendar-month__date--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
225
- --pf-v5-c-calendar-month__date--focus--after--BorderColor: transparent;
226
- }
227
- :where(.pf-v5-theme-dark) .pf-v5-c-calendar-month__date:hover, :where(.pf-v5-theme-dark) .pf-v5-c-calendar-month__date.pf-m-hover {
228
- --pf-v5-c-calendar-month__date--after--BorderColor: var(--pf-v5-global--BorderColor--100);
229
- --pf-v5-c-calendar-month__date--after--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
230
- }
231
- :where(.pf-v5-theme-dark) .pf-v5-c-calendar-month__date:focus, :where(.pf-v5-theme-dark) .pf-v5-c-calendar-month__date.pf-m-focus {
232
- --pf-v5-c-calendar-month__date--after--BorderColor: var(--pf-v5-global--active-color--100);
233
- --pf-v5-c-calendar-month__date--after--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
234
- --pf-v5-c-calendar-month__date--BackgroundColor: var(--pf-v5-global--primary-color--300);
235
- --pf-v5-c-calendar-month__date--Color: var(--pf-v5-global--primary-color--400);
236
205
  }
@@ -1,70 +1,76 @@
1
- .#{$calendar-month} {
2
- --#{$calendar-month}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
3
- --#{$calendar-month}--PaddingTop: var(--#{$pf-global}--spacer--lg);
4
- --#{$calendar-month}--PaddingRight: var(--#{$pf-global}--spacer--lg);
5
- --#{$calendar-month}--PaddingBottom: var(--#{$pf-global}--spacer--md);
6
- --#{$calendar-month}--PaddingLeft: var(--#{$pf-global}--spacer--lg);
7
- --#{$calendar-month}--FontSize: var(--#{$pf-global}--FontSize--sm);
1
+ :where(:root),
2
+ :where(.#{$calendar-month}) {
3
+ --#{$calendar-month}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
4
+ --#{$calendar-month}--PaddingTop: var(--pf-t--global--spacer--lg);
5
+ --#{$calendar-month}--PaddingRight: var(--pf-t--global--spacer--lg);
6
+ --#{$calendar-month}--PaddingBottom: var(--pf-t--global--spacer--md);
7
+ --#{$calendar-month}--PaddingLeft: var(--pf-t--global--spacer--lg);
8
+ --#{$calendar-month}--FontSize: var(--pf-t--global--font--size--sm);
8
9
 
9
10
  // header
10
- --#{$calendar-month}__header--MarginBottom: var(--#{$pf-global}--spacer--md);
11
- --#{$calendar-month}__header-year--Width: 8.5ch;
11
+ --#{$calendar-month}__header--MarginBottom: var(--pf-t--global--spacer--md);
12
+ --#{$calendar-month}__header--Gap: var(--pf-t--global--spacer--xs);
13
+ --#{$calendar-month}__header-year--Width: 9ch;
12
14
  --#{$calendar-month}__header-nav-control--MarginRight: 0;
13
15
  --#{$calendar-month}__header-nav-control--MarginLeft: 0;
14
- --#{$calendar-month}__header-nav-control--m-prev-month--MarginRight: 0; // remove in breaking change
15
- --#{$calendar-month}__header-nav-control--m-prev-month--MarginLeft: 0; // remove in breaking change
16
- --#{$calendar-month}__header-nav-control--m-next-month--MarginRight: 0; // remove in breaking change
17
- --#{$calendar-month}__header-nav-control--m-next-month--MarginLeft: 0; // remove in breaking change
18
16
 
19
17
  // week days thead
20
- --#{$calendar-month}__days--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
21
- --#{$calendar-month}__days--BorderBottomColor: var(--#{$pf-global}--BorderColor--100);
18
+ --#{$calendar-month}__days--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
19
+ --#{$calendar-month}__days--BorderBottomColor: var(--pf-t--global--border--color--default);
22
20
 
23
21
  // day th
24
- --#{$calendar-month}__day--PaddingBottom: var(--#{$pf-global}--spacer--md);
25
- --#{$calendar-month}__day--FontWeight: var(--#{$pf-global}--FontWeight--normal);
22
+ --#{$calendar-month}__day--PaddingBottom: var(--pf-t--global--spacer--md);
23
+ --#{$calendar-month}__day--FontWeight: var(--pf-t--global--font--weight--body);
24
+ --#{$calendar-month}__day--Color: var(--pf-t--global--text--color--regular);
25
+
26
26
 
27
27
  // dates td
28
28
  --#{$calendar-month}__dates-cell--PaddingTop: #{pf-size-prem(2px)};
29
29
  --#{$calendar-month}__dates-cell--PaddingRight: #{pf-size-prem(2px)};
30
30
  --#{$calendar-month}__dates-cell--PaddingBottom: #{pf-size-prem(2px)};
31
31
  --#{$calendar-month}__dates-cell--PaddingLeft: #{pf-size-prem(2px)};
32
- --#{$calendar-month}__dates-row--first-child__dates-cell--PaddingTop: var(--#{$pf-global}--spacer--sm);
33
- --#{$calendar-month}__dates-cell--m-current__date--BackgroundColor: var(--#{$pf-global}--BackgroundColor--200);
34
- --#{$calendar-month}__dates-cell--m-selected__date--BackgroundColor: var(--#{$pf-global}--active-color--100);
35
- --#{$calendar-month}__dates-cell--m-selected__date--hover--BackgroundColor: var(--#{$pf-global}--active-color--100);
36
- --#{$calendar-month}__dates-cell--m-selected__date--focus--BackgroundColor: var(--#{$pf-global}--primary-color--200);
37
- --#{$calendar-month}__dates-cell--m-selected__date--focus--after--BorderColor: var(--#{$pf-global}--primary-color--200);
38
- --#{$calendar-month}__dates-cell--m-selected__date--focus--BoxShadow: 0 0 #{pf-size-prem(5px)} var(--#{$pf-global}--primary-color--100);
39
- --#{$calendar-month}__dates-cell--m-selected__date--Color: var(--#{$pf-global}--Color--light-100);
32
+ --#{$calendar-month}__dates-row--first-child__dates-cell--PaddingTop: var(--pf-t--global--spacer--sm);
33
+ --#{$calendar-month}__dates-cell--m-current__date--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
34
+ --#{$calendar-month}__dates-cell--m-selected__date--BackgroundColor: var(--pf-t--global--color--brand--default);
35
+ --#{$calendar-month}__dates-cell--m-selected__date--hover--BackgroundColor: var(--pf-t--global--color--brand--default);
36
+ --#{$calendar-month}__dates-cell--m-selected__date--focus--BackgroundColor: var(--pf-t--global--color--brand--default);
37
+ --#{$calendar-month}__dates-cell--m-selected__date--focus--after--BorderColor: var(--pf-t--global--border--color--brand--default);
38
+ --#{$calendar-month}__dates-cell--m-selected__date--Color: var(--pf-t--global--text--color--on-brand--default);
40
39
  --#{$calendar-month}__dates-cell--before--BackgroundColor: transparent;
41
40
  --#{$calendar-month}__dates-cell--before--Top: 0;
42
41
  --#{$calendar-month}__dates-cell--before--Right: 0;
43
42
  --#{$calendar-month}__dates-cell--before--Bottom: var(--#{$calendar-month}__dates-cell--PaddingBottom);
44
43
  --#{$calendar-month}__dates-cell--before--Left: 0;
45
- --#{$calendar-month}__dates-cell--m-in-range--before--BackgroundColor: var(--#{$pf-global}--palette--blue-50);
44
+ --#{$calendar-month}__dates-cell--m-in-range--before--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
46
45
  --#{$calendar-month}__dates-cell--m-in-range--m-start-range--before--Left: 50%;
47
46
  --#{$calendar-month}__dates-cell--m-in-range--m-end-range--before--Right: 50%;
48
- --#{$calendar-month}__dates-cell--m-in-range__date--hover--BackgroundColor: var(--#{$pf-global}--palette--blue-100);
49
- --#{$calendar-month}__dates-cell--m-in-range__date--focus--BackgroundColor: var(--#{$pf-global}--palette--blue-100);
50
- --#{$calendar-month}__dates-cell--m-adjacent-month__date--Color: var(--#{$pf-global}--Color--200);
47
+ --#{$calendar-month}__dates-cell--m-in-range__date--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
48
+ --#{$calendar-month}__dates-cell--m-in-range__date--hover--BorderWidth: var(--pf-t--global--border--width--regular);
49
+ --#{$calendar-month}__dates-cell--m-in-range__date--hover--BorderColor: var(--pf-t--global--border--color--hover);
50
+ --#{$calendar-month}__dates-cell--m-in-range__date--focus--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
51
+ --#{$calendar-month}__dates-cell--m-adjacent-month__date--Color: var(--pf-t--global--text--color--subtle);
51
52
 
52
53
  // date button
53
54
  --#{$calendar-month}__date--Width: 4ch;
54
55
  --#{$calendar-month}__date--Height: 4ch;
55
- --#{$calendar-month}__date--BorderRadius: var(--#{$pf-global}--BorderRadius--lg);
56
- --#{$calendar-month}__date--Color: var(--#{$pf-global}--Color--100);
56
+ --#{$calendar-month}__date--BorderRadius: var(--pf-t--global--border--radius--large);
57
+ --#{$calendar-month}__date--Color: var(--pf-t--global--text--color--regular);
57
58
  --#{$calendar-month}__date--BackgroundColor: transparent;
58
- --#{$calendar-month}__date--disabled--Color: var(--#{$pf-global}--disabled-color--200);
59
- --#{$calendar-month}__date--after--BorderWidth: var(--#{$pf-global}--BorderWidth--md);
59
+ --#{$calendar-month}__date--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
60
+ --#{$calendar-month}__date--disabled--Color: var(--pf-t--global--text--color--on-disabled);
61
+ --#{$calendar-month}__date--after--BorderWidth: var(--pf-t--global--border--width--regular);
60
62
  --#{$calendar-month}__date--after--BorderColor: transparent;
61
- --#{$calendar-month}__date--hover--BackgroundColor: var(--#{$pf-global}--palette--blue-50);
62
- --#{$calendar-month}__date--focus--BackgroundColor: var(--#{$pf-global}--palette--blue-50);
63
- --#{$calendar-month}__date--focus--after--BorderColor: var(--#{$pf-global}--active-color--100);
64
- --#{$calendar-month}__date--focus--BoxShadow: none;
65
-
66
- @include pf-v5-t-light;
63
+ --#{$calendar-month}__date--after--OutlineOffset: 0;
64
+ --#{$calendar-month}__date--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
65
+ --#{$calendar-month}__date--hover--BorderWidth: var(--pf-t--global--border--width--regular);
66
+ --#{$calendar-month}__date--hover--BorderColor: var(--pf-t--global--border--color--hover);
67
+ --#{$calendar-month}__date--focus--Color: var(--pf-t--global--icon--color--on-brand--clicked);
68
+ --#{$calendar-month}__date--focus--BackgroundColor: var(--pf-t--global--color--brand--default);
69
+ --#{$calendar-month}__date--focus--after--BorderColor: var(--pf-t--global--border--color--hover);
70
+ --#{$calendar-month}__date--after--focus--OutlineOffset: -2px;
71
+ }
67
72
 
73
+ :where(.#{$calendar-month}) {
68
74
  display: inline-flex;
69
75
  flex-direction: column;
70
76
  padding-block-start: var(--#{$calendar-month}--PaddingTop);
@@ -77,6 +83,7 @@
77
83
 
78
84
  .#{$calendar-month}__header {
79
85
  display: flex;
86
+ gap: var(--#{$calendar-month}__header--Gap);
80
87
  margin-block-end: var(--#{$calendar-month}__header--MarginBottom);
81
88
  }
82
89
 
@@ -86,19 +93,14 @@
86
93
  margin-inline-start: var(--#{$calendar-month}__header-nav-control--MarginLeft);
87
94
  margin-inline-end: var(--#{$calendar-month}__header-nav-control--MarginRight);
88
95
 
89
- &.pf-m-prev-month {
90
- --#{$calendar-month}__header-nav-control--MarginRight: var(--#{$calendar-month}__header-nav-control--m-prev-month--MarginRight);
91
- --#{$calendar-month}__header-nav-control--MarginLeft: var(--#{$calendar-month}__header-nav-control--m-prev-month--MarginLeft);
92
- }
93
-
94
- &.pf-m-next-month {
95
- --#{$calendar-month}__header-nav-control--MarginRight: var(--#{$calendar-month}__header-nav-control--m-next-month--MarginRight);
96
- --#{$calendar-month}__header-nav-control--MarginLeft: var(--#{$calendar-month}__header-nav-control--m-next-month--MarginLeft);
97
- }
98
96
  }
99
97
 
100
98
  .#{$calendar-month}__header-month {
101
99
  flex-grow: 1;
100
+
101
+ & > .#{$menu-toggle} {
102
+ width: 100%;
103
+ }
102
104
  }
103
105
 
104
106
  .#{$calendar-month}__header-year {
@@ -110,6 +112,7 @@
110
112
  }
111
113
 
112
114
  .#{$calendar-month}__days {
115
+ color: var(--#{$calendar-month}__day--Color);
113
116
  border-block-end: var(--#{$calendar-month}__days--BorderBottomWidth) solid var(--#{$calendar-month}__days--BorderBottomColor);
114
117
  }
115
118
 
@@ -150,7 +153,10 @@
150
153
  &.pf-m-in-range {
151
154
  --#{$calendar-month}__dates-cell--before--BackgroundColor: var(--#{$calendar-month}__dates-cell--m-in-range--before--BackgroundColor);
152
155
  --#{$calendar-month}__date--hover--BackgroundColor: var(--#{$calendar-month}__dates-cell--m-in-range__date--hover--BackgroundColor);
156
+ --#{$calendar-month}__date--hover--BorderWidth: var(--#{$calendar-month}__dates-cell--m-in-range__date--hover--BorderWidth);
157
+ --#{$calendar-month}__date--hover--BorderColor: var(--#{$calendar-month}__dates-cell--m-in-range__date--hover--BorderColor);
153
158
  --#{$calendar-month}__date--focus--BackgroundColor: var(--#{$calendar-month}__dates-cell--m-in-range__date--focus--BackgroundColor);
159
+
154
160
  }
155
161
 
156
162
  &.pf-m-start-range {
@@ -167,11 +173,16 @@
167
173
 
168
174
  &.pf-m-selected {
169
175
  --#{$calendar-month}__date--BackgroundColor: var(--#{$calendar-month}__dates-cell--m-selected__date--BackgroundColor);
176
+ --#{$calendar-month}__date--Color: var(--#{$calendar-month}__dates-cell--m-selected__date--Color);
177
+
178
+ // tweak the hover styling for a selected date
170
179
  --#{$calendar-month}__date--hover--BackgroundColor: var(--#{$calendar-month}__dates-cell--m-selected__date--hover--BackgroundColor);
180
+ --#{$calendar-month}__date--hover--BorderWidth: 0;
181
+
182
+ // tweak the focus styling for a selected date
171
183
  --#{$calendar-month}__date--focus--BackgroundColor: var(--#{$calendar-month}__dates-cell--m-selected__date--focus--BackgroundColor);
172
184
  --#{$calendar-month}__date--focus--after--BorderColor: var(--#{$calendar-month}__dates-cell--m-selected__date--focus--after--BorderColor);
173
- --#{$calendar-month}__date--focus--BoxShadow: var(--#{$calendar-month}__dates-cell--m-selected__date--focus--BoxShadow);
174
- --#{$calendar-month}__date--Color: var(--#{$calendar-month}__dates-cell--m-selected__date--Color);
185
+ --#{$calendar-month}__date--after--OutlineOffset: var(--#{$calendar-month}__date--after--focus--OutlineOffset);
175
186
  }
176
187
 
177
188
  &.pf-m-disabled {
@@ -194,10 +205,10 @@
194
205
 
195
206
  &::after {
196
207
  position: absolute;
197
- inset-block-start: 0;
198
- inset-block-end: 0;
199
- inset-inline-start: 0;
200
- inset-inline-end: 0;
208
+ inset-block-start: var(--#{$calendar-month}__date--after--OutlineOffset);
209
+ inset-block-end: var(--#{$calendar-month}__date--after--OutlineOffset);
210
+ inset-inline-start: var(--#{$calendar-month}__date--after--OutlineOffset);
211
+ inset-inline-end: var(--#{$calendar-month}__date--after--OutlineOffset);
201
212
  content: "";
202
213
  border: var(--#{$calendar-month}__date--after--BorderWidth) solid var(--#{$calendar-month}__date--after--BorderColor);
203
214
  }
@@ -210,28 +221,22 @@
210
221
  &:hover,
211
222
  &.pf-m-hover {
212
223
  --#{$calendar-month}__date--BackgroundColor: var(--#{$calendar-month}__date--hover--BackgroundColor);
224
+
225
+ border: var(--#{$calendar-month}__date--hover--BorderColor) solid var(--#{$calendar-month}__date--hover--BorderWidth);
213
226
  }
214
227
 
215
228
  &:focus,
216
229
  &.pf-m-focus {
217
- --#{$calendar-month}__date--BackgroundColor: var(--#{$calendar-month}__date--focus--BackgroundColor);
218
230
  --#{$calendar-month}__date--after--BorderColor: var(--#{$calendar-month}__date--focus--after--BorderColor);
219
231
 
220
232
  outline: 0;
221
- box-shadow: var(--#{$calendar-month}__date--focus--BoxShadow);
222
233
  }
223
234
 
224
235
  &:disabled {
236
+ --#{$calendar-month}__date--BackgroundColor: var(--#{$calendar-month}__date--disabled--BackgroundColor);
225
237
  --#{$calendar-month}__date--Color: var(--#{$calendar-month}__date--disabled--Color);
226
238
  --#{$calendar-month}__date--hover--focus--BorderColor: transparent;
227
239
 
228
240
  pointer-events: none;
229
241
  }
230
242
  }
231
-
232
- // stylelint-disable no-invalid-position-at-import-rule
233
- @import "themes/dark/calendar-month";
234
-
235
- @include pf-v5-theme-dark {
236
- @include pf-v5-theme-dark-calendar-month;
237
- }