@melodicdev/components 4.0.0 → 4.1.0

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 (276) hide show
  1. package/README.md +4 -4
  2. package/assets/fonts/phosphor/phosphor.css +5 -25
  3. package/assets/melodic-components.css +50 -25
  4. package/assets/melodic-components.js +9230 -7814
  5. package/assets/melodic-components.js.map +1 -1
  6. package/assets/melodic-components.min.css +1 -21
  7. package/assets/melodic-components.min.js +1895 -26471
  8. package/lib/components/data-display/activity-feed/activity-feed-item.styles.d.ts.map +1 -1
  9. package/lib/components/data-display/activity-feed/activity-feed-item.styles.js +83 -78
  10. package/lib/components/data-display/activity-feed/activity-feed.styles.d.ts.map +1 -1
  11. package/lib/components/data-display/activity-feed/activity-feed.styles.js +10 -5
  12. package/lib/components/data-display/avatar/avatar.styles.d.ts.map +1 -1
  13. package/lib/components/data-display/avatar/avatar.styles.js +23 -18
  14. package/lib/components/data-display/badge/badge.styles.d.ts.map +1 -1
  15. package/lib/components/data-display/badge/badge.styles.js +54 -48
  16. package/lib/components/data-display/badge-group/badge-group.styles.d.ts.map +1 -1
  17. package/lib/components/data-display/badge-group/badge-group.styles.js +34 -29
  18. package/lib/components/data-display/calendar-view/calendar-view.styles.d.ts.map +1 -1
  19. package/lib/components/data-display/calendar-view/calendar-view.styles.js +174 -155
  20. package/lib/components/data-display/data-grid/data-grid.component.d.ts +43 -2
  21. package/lib/components/data-display/data-grid/data-grid.component.d.ts.map +1 -1
  22. package/lib/components/data-display/data-grid/data-grid.component.js +94 -8
  23. package/lib/components/data-display/data-grid/data-grid.styles.d.ts.map +1 -1
  24. package/lib/components/data-display/data-grid/data-grid.styles.js +139 -117
  25. package/lib/components/data-display/data-grid/data-grid.template.d.ts.map +1 -1
  26. package/lib/components/data-display/data-grid/data-grid.template.js +19 -10
  27. package/lib/components/data-display/data-grid/index.d.ts +1 -0
  28. package/lib/components/data-display/data-grid/index.d.ts.map +1 -1
  29. package/lib/components/data-display/list/list-item.styles.d.ts.map +1 -1
  30. package/lib/components/data-display/list/list-item.styles.js +40 -35
  31. package/lib/components/data-display/list/list.styles.d.ts.map +1 -1
  32. package/lib/components/data-display/list/list.styles.js +10 -5
  33. package/lib/components/data-display/profile-card/profile-card.styles.d.ts.map +1 -1
  34. package/lib/components/data-display/profile-card/profile-card.styles.js +71 -66
  35. package/lib/components/data-display/stat-card/stat-card.styles.d.ts.map +1 -1
  36. package/lib/components/data-display/stat-card/stat-card.styles.js +67 -63
  37. package/lib/components/data-display/table/index.d.ts +1 -0
  38. package/lib/components/data-display/table/index.d.ts.map +1 -1
  39. package/lib/components/data-display/table/table.component.d.ts +16 -0
  40. package/lib/components/data-display/table/table.component.d.ts.map +1 -1
  41. package/lib/components/data-display/table/table.component.js +28 -3
  42. package/lib/components/data-display/table/table.styles.d.ts.map +1 -1
  43. package/lib/components/data-display/table/table.styles.js +101 -90
  44. package/lib/components/data-display/table/table.template.d.ts.map +1 -1
  45. package/lib/components/data-display/table/table.template.js +8 -6
  46. package/lib/components/data-display/table-core/index.d.ts +2 -2
  47. package/lib/components/data-display/table-core/index.d.ts.map +1 -1
  48. package/lib/components/data-display/table-core/index.js +1 -1
  49. package/lib/components/data-display/table-core/table-core.d.ts +16 -2
  50. package/lib/components/data-display/table-core/table-core.d.ts.map +1 -1
  51. package/lib/components/data-display/table-core/table-core.js +32 -5
  52. package/lib/components/data-display/tag/tag.styles.d.ts.map +1 -1
  53. package/lib/components/data-display/tag/tag.styles.js +78 -66
  54. package/lib/components/feedback/alert/alert.styles.d.ts.map +1 -1
  55. package/lib/components/feedback/alert/alert.styles.js +89 -76
  56. package/lib/components/feedback/progress/progress.styles.d.ts.map +1 -1
  57. package/lib/components/feedback/progress/progress.styles.js +110 -106
  58. package/lib/components/feedback/spinner/spinner.styles.d.ts.map +1 -1
  59. package/lib/components/feedback/spinner/spinner.styles.js +18 -13
  60. package/lib/components/feedback/toast/index.d.ts +1 -0
  61. package/lib/components/feedback/toast/index.d.ts.map +1 -1
  62. package/lib/components/feedback/toast/toast-container.styles.d.ts.map +1 -1
  63. package/lib/components/feedback/toast/toast-container.styles.js +20 -0
  64. package/lib/components/feedback/toast/toast.component.d.ts +16 -0
  65. package/lib/components/feedback/toast/toast.component.d.ts.map +1 -1
  66. package/lib/components/feedback/toast/toast.component.js +63 -5
  67. package/lib/components/feedback/toast/toast.service.d.ts +14 -0
  68. package/lib/components/feedback/toast/toast.service.d.ts.map +1 -1
  69. package/lib/components/feedback/toast/toast.service.js +41 -0
  70. package/lib/components/feedback/toast/toast.styles.d.ts.map +1 -1
  71. package/lib/components/feedback/toast/toast.styles.js +80 -69
  72. package/lib/components/feedback/toast/toast.template.js +1 -1
  73. package/lib/components/forms/autocomplete/autocomplete.component.d.ts +14 -4
  74. package/lib/components/forms/autocomplete/autocomplete.component.d.ts.map +1 -1
  75. package/lib/components/forms/autocomplete/autocomplete.component.js +40 -96
  76. package/lib/components/forms/autocomplete/autocomplete.styles.d.ts.map +1 -1
  77. package/lib/components/forms/autocomplete/autocomplete.styles.js +191 -170
  78. package/lib/components/forms/autocomplete/autocomplete.template.js +7 -1
  79. package/lib/components/forms/button/button.styles.d.ts.map +1 -1
  80. package/lib/components/forms/button/button.styles.js +73 -57
  81. package/lib/components/forms/button-group/button-group-item.styles.d.ts.map +1 -1
  82. package/lib/components/forms/button-group/button-group-item.styles.js +11 -0
  83. package/lib/components/forms/button-group/button-group.styles.d.ts.map +1 -1
  84. package/lib/components/forms/button-group/button-group.styles.js +24 -19
  85. package/lib/components/forms/checkbox/checkbox.styles.d.ts.map +1 -1
  86. package/lib/components/forms/checkbox/checkbox.styles.js +94 -78
  87. package/lib/components/forms/date-picker/calendar.component.d.ts +20 -7
  88. package/lib/components/forms/date-picker/calendar.component.d.ts.map +1 -1
  89. package/lib/components/forms/date-picker/calendar.component.js +88 -13
  90. package/lib/components/forms/date-picker/calendar.styles.d.ts.map +1 -1
  91. package/lib/components/forms/date-picker/calendar.styles.js +171 -147
  92. package/lib/components/forms/date-picker/date-picker.component.d.ts +2 -3
  93. package/lib/components/forms/date-picker/date-picker.component.d.ts.map +1 -1
  94. package/lib/components/forms/date-picker/date-picker.component.js +70 -18
  95. package/lib/components/forms/date-picker/date-picker.styles.d.ts.map +1 -1
  96. package/lib/components/forms/date-picker/date-picker.styles.js +109 -92
  97. package/lib/components/forms/date-time-picker/date-time-picker.styles.d.ts.map +1 -1
  98. package/lib/components/forms/date-time-picker/date-time-picker.styles.js +99 -83
  99. package/lib/components/forms/date-time-picker/tz-utils.d.ts.map +1 -1
  100. package/lib/components/forms/date-time-picker/tz-utils.js +24 -3
  101. package/lib/components/forms/file-upload/file-upload-item.styles.d.ts.map +1 -1
  102. package/lib/components/forms/file-upload/file-upload-item.styles.js +13 -1
  103. package/lib/components/forms/file-upload/file-upload.styles.d.ts.map +1 -1
  104. package/lib/components/forms/file-upload/file-upload.styles.js +108 -92
  105. package/lib/components/forms/form-field/form-field.component.d.ts +18 -1
  106. package/lib/components/forms/form-field/form-field.component.d.ts.map +1 -1
  107. package/lib/components/forms/form-field/form-field.component.js +55 -16
  108. package/lib/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  109. package/lib/components/forms/form-field/form-field.styles.js +92 -74
  110. package/lib/components/forms/input/input.styles.d.ts.map +1 -1
  111. package/lib/components/forms/input/input.styles.js +98 -82
  112. package/lib/components/forms/listbox-core/index.d.ts +3 -0
  113. package/lib/components/forms/listbox-core/index.d.ts.map +1 -0
  114. package/lib/components/forms/listbox-core/index.js +2 -0
  115. package/lib/components/forms/listbox-core/listbox-core.d.ts +57 -0
  116. package/lib/components/forms/listbox-core/listbox-core.d.ts.map +1 -0
  117. package/lib/components/forms/listbox-core/listbox-core.js +168 -0
  118. package/lib/components/forms/radio/radio-group.styles.js +1 -1
  119. package/lib/components/forms/radio/radio.styles.d.ts.map +1 -1
  120. package/lib/components/forms/radio/radio.styles.js +89 -73
  121. package/lib/components/forms/radio-card-group/radio-card-group.styles.d.ts.map +1 -1
  122. package/lib/components/forms/radio-card-group/radio-card-group.styles.js +40 -35
  123. package/lib/components/forms/radio-card-group/radio-card.styles.d.ts.map +1 -1
  124. package/lib/components/forms/radio-card-group/radio-card.styles.js +124 -108
  125. package/lib/components/forms/select/select.component.d.ts +12 -4
  126. package/lib/components/forms/select/select.component.d.ts.map +1 -1
  127. package/lib/components/forms/select/select.component.js +41 -110
  128. package/lib/components/forms/select/select.styles.d.ts.map +1 -1
  129. package/lib/components/forms/select/select.styles.js +181 -159
  130. package/lib/components/forms/select/select.template.d.ts.map +1 -1
  131. package/lib/components/forms/select/select.template.js +25 -9
  132. package/lib/components/forms/slider/slider.component.js +1 -1
  133. package/lib/components/forms/slider/slider.styles.d.ts.map +1 -1
  134. package/lib/components/forms/slider/slider.styles.js +93 -77
  135. package/lib/components/forms/slider/slider.template.d.ts.map +1 -1
  136. package/lib/components/forms/slider/slider.template.js +5 -1
  137. package/lib/components/forms/textarea/textarea.styles.d.ts.map +1 -1
  138. package/lib/components/forms/textarea/textarea.styles.js +97 -81
  139. package/lib/components/forms/time-picker/time-picker.component.d.ts +1 -2
  140. package/lib/components/forms/time-picker/time-picker.component.d.ts.map +1 -1
  141. package/lib/components/forms/time-picker/time-picker.component.js +8 -17
  142. package/lib/components/forms/time-picker/time-picker.styles.d.ts.map +1 -1
  143. package/lib/components/forms/time-picker/time-picker.styles.js +220 -194
  144. package/lib/components/forms/toggle/toggle.styles.d.ts.map +1 -1
  145. package/lib/components/forms/toggle/toggle.styles.js +95 -79
  146. package/lib/components/foundation/card/card.styles.d.ts.map +1 -1
  147. package/lib/components/foundation/card/card.styles.js +62 -46
  148. package/lib/components/foundation/container/container.styles.d.ts.map +1 -1
  149. package/lib/components/foundation/container/container.styles.js +15 -10
  150. package/lib/components/foundation/divider/divider.styles.d.ts.map +1 -1
  151. package/lib/components/foundation/divider/divider.styles.js +29 -24
  152. package/lib/components/foundation/stack/stack.styles.d.ts.map +1 -1
  153. package/lib/components/foundation/stack/stack.styles.js +16 -10
  154. package/lib/components/general/icon/icon.styles.d.ts.map +1 -1
  155. package/lib/components/general/icon/icon.styles.js +12 -8
  156. package/lib/components/navigation/breadcrumb/breadcrumb-item.template.d.ts.map +1 -1
  157. package/lib/components/navigation/breadcrumb/breadcrumb-item.template.js +5 -3
  158. package/lib/components/navigation/breadcrumb/breadcrumb.styles.d.ts.map +1 -1
  159. package/lib/components/navigation/breadcrumb/breadcrumb.styles.js +9 -4
  160. package/lib/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  161. package/lib/components/navigation/pagination/pagination.styles.js +74 -69
  162. package/lib/components/navigation/sidebar/sidebar-group.styles.d.ts.map +1 -1
  163. package/lib/components/navigation/sidebar/sidebar-group.styles.js +23 -18
  164. package/lib/components/navigation/sidebar/sidebar-item.styles.d.ts.map +1 -1
  165. package/lib/components/navigation/sidebar/sidebar-item.styles.js +105 -100
  166. package/lib/components/navigation/sidebar/sidebar-item.template.js +2 -2
  167. package/lib/components/navigation/sidebar/sidebar.styles.d.ts.map +1 -1
  168. package/lib/components/navigation/sidebar/sidebar.styles.js +180 -175
  169. package/lib/components/navigation/sidebar/sidebar.template.js +2 -2
  170. package/lib/components/navigation/steps/step.styles.d.ts.map +1 -1
  171. package/lib/components/navigation/steps/step.styles.js +155 -150
  172. package/lib/components/navigation/steps/steps.styles.d.ts.map +1 -1
  173. package/lib/components/navigation/steps/steps.styles.js +175 -170
  174. package/lib/components/navigation/tabs/tab-panel.styles.d.ts.map +1 -1
  175. package/lib/components/navigation/tabs/tab-panel.styles.js +12 -7
  176. package/lib/components/navigation/tabs/tab.styles.d.ts.map +1 -1
  177. package/lib/components/navigation/tabs/tab.styles.js +41 -36
  178. package/lib/components/navigation/tabs/tabs.component.d.ts.map +1 -1
  179. package/lib/components/navigation/tabs/tabs.component.js +4 -1
  180. package/lib/components/navigation/tabs/tabs.styles.d.ts.map +1 -1
  181. package/lib/components/navigation/tabs/tabs.styles.js +134 -129
  182. package/lib/components/overlays/dialog/dialog.component.d.ts +15 -2
  183. package/lib/components/overlays/dialog/dialog.component.d.ts.map +1 -1
  184. package/lib/components/overlays/dialog/dialog.component.js +33 -1
  185. package/lib/components/overlays/dialog/dialog.service.d.ts +8 -2
  186. package/lib/components/overlays/dialog/dialog.service.d.ts.map +1 -1
  187. package/lib/components/overlays/dialog/dialog.service.js +1 -0
  188. package/lib/components/overlays/dialog/dialog.styles.d.ts.map +1 -1
  189. package/lib/components/overlays/dialog/dialog.styles.js +78 -73
  190. package/lib/components/overlays/dialog/index.d.ts +1 -0
  191. package/lib/components/overlays/dialog/index.d.ts.map +1 -1
  192. package/lib/components/overlays/drawer/drawer.component.d.ts +18 -3
  193. package/lib/components/overlays/drawer/drawer.component.d.ts.map +1 -1
  194. package/lib/components/overlays/drawer/drawer.component.js +59 -16
  195. package/lib/components/overlays/drawer/drawer.styles.d.ts.map +1 -1
  196. package/lib/components/overlays/drawer/drawer.styles.js +82 -77
  197. package/lib/components/overlays/dropdown/dropdown-item.styles.d.ts.map +1 -1
  198. package/lib/components/overlays/dropdown/dropdown-item.styles.js +60 -43
  199. package/lib/components/overlays/dropdown/dropdown.styles.d.ts.map +1 -1
  200. package/lib/components/overlays/dropdown/dropdown.styles.js +35 -30
  201. package/lib/components/overlays/popover/popover.component.d.ts +12 -0
  202. package/lib/components/overlays/popover/popover.component.d.ts.map +1 -1
  203. package/lib/components/overlays/popover/popover.component.js +28 -1
  204. package/lib/components/overlays/popover/popover.styles.d.ts.map +1 -1
  205. package/lib/components/overlays/popover/popover.styles.js +36 -31
  206. package/lib/components/overlays/popover/popover.template.d.ts.map +1 -1
  207. package/lib/components/overlays/popover/popover.template.js +2 -0
  208. package/lib/components/overlays/tooltip/tooltip.component.d.ts +8 -5
  209. package/lib/components/overlays/tooltip/tooltip.component.d.ts.map +1 -1
  210. package/lib/components/overlays/tooltip/tooltip.component.js +10 -3
  211. package/lib/components/overlays/tooltip/tooltip.styles.d.ts.map +1 -1
  212. package/lib/components/overlays/tooltip/tooltip.styles.js +34 -28
  213. package/lib/components/pages/auth/auth-layout.styles.d.ts +1 -1
  214. package/lib/components/pages/auth/auth-layout.styles.d.ts.map +1 -1
  215. package/lib/components/pages/auth/auth-layout.styles.js +86 -81
  216. package/lib/components/pages/dashboard/dashboard-page.styles.d.ts.map +1 -1
  217. package/lib/components/pages/dashboard/dashboard-page.styles.js +39 -34
  218. package/lib/components/sections/app-shell/app-shell.styles.d.ts.map +1 -1
  219. package/lib/components/sections/app-shell/app-shell.styles.js +63 -57
  220. package/lib/components/sections/hero/hero-section.styles.js +97 -97
  221. package/lib/components/sections/page-header/page-header.styles.d.ts.map +1 -1
  222. package/lib/components/sections/page-header/page-header.styles.js +69 -64
  223. package/lib/components/sections/page-section/page-section.styles.d.ts.map +1 -1
  224. package/lib/components/sections/page-section/page-section.styles.js +56 -51
  225. package/lib/directives/tooltip.directive.d.ts.map +1 -1
  226. package/lib/directives/tooltip.directive.js +22 -3
  227. package/lib/theme/presets/base.preset.d.ts.map +1 -1
  228. package/lib/theme/presets/base.preset.js +17 -0
  229. package/lib/theme/presets/dark.preset.d.ts +8 -0
  230. package/lib/theme/presets/dark.preset.d.ts.map +1 -1
  231. package/lib/theme/presets/dark.preset.js +9 -0
  232. package/lib/theme/presets/light.preset.d.ts +6 -0
  233. package/lib/theme/presets/light.preset.d.ts.map +1 -1
  234. package/lib/theme/presets/light.preset.js +7 -0
  235. package/lib/theme/tokens/all-tokens.d.ts +10 -0
  236. package/lib/theme/tokens/all-tokens.d.ts.map +1 -1
  237. package/lib/theme/tokens/colors.tokens.d.ts +8 -0
  238. package/lib/theme/tokens/colors.tokens.d.ts.map +1 -1
  239. package/lib/theme/tokens/colors.tokens.js +11 -0
  240. package/lib/theme/tokens/transitions.tokens.d.ts +1 -0
  241. package/lib/theme/tokens/transitions.tokens.d.ts.map +1 -1
  242. package/lib/theme/tokens/transitions.tokens.js +3 -0
  243. package/lib/theme/tokens/typography.tokens.d.ts +1 -0
  244. package/lib/theme/tokens/typography.tokens.d.ts.map +1 -1
  245. package/lib/theme/tokens/typography.tokens.js +1 -0
  246. package/lib/utils/accessibility/cross-root-aria.d.ts +16 -8
  247. package/lib/utils/accessibility/cross-root-aria.d.ts.map +1 -1
  248. package/lib/utils/accessibility/cross-root-aria.js +58 -22
  249. package/lib/utils/accessibility/focus-trap.d.ts.map +1 -1
  250. package/lib/utils/accessibility/focus-trap.js +9 -19
  251. package/lib/utils/accessibility/focus-utils.d.ts +10 -1
  252. package/lib/utils/accessibility/focus-utils.d.ts.map +1 -1
  253. package/lib/utils/accessibility/focus-utils.js +48 -14
  254. package/lib/utils/accessibility/index.d.ts +2 -1
  255. package/lib/utils/accessibility/index.d.ts.map +1 -1
  256. package/lib/utils/accessibility/index.js +1 -1
  257. package/lib/utils/positioning/compute-position.d.ts +6 -1
  258. package/lib/utils/positioning/compute-position.d.ts.map +1 -1
  259. package/lib/utils/positioning/compute-position.js +3 -2
  260. package/lib/utils/positioning/middlewares/flip.middleware.js +2 -51
  261. package/package.json +8 -5
  262. package/assets/fonts/phosphor/Phosphor-Bold.svg +0 -3057
  263. package/assets/fonts/phosphor/Phosphor-Bold.ttf +0 -0
  264. package/assets/fonts/phosphor/Phosphor-Bold.woff +0 -0
  265. package/assets/fonts/phosphor/Phosphor-Fill.svg +0 -3057
  266. package/assets/fonts/phosphor/Phosphor-Fill.ttf +0 -0
  267. package/assets/fonts/phosphor/Phosphor-Fill.woff +0 -0
  268. package/assets/fonts/phosphor/Phosphor-Light.svg +0 -3057
  269. package/assets/fonts/phosphor/Phosphor-Light.ttf +0 -0
  270. package/assets/fonts/phosphor/Phosphor-Light.woff +0 -0
  271. package/assets/fonts/phosphor/Phosphor-Thin.svg +0 -3057
  272. package/assets/fonts/phosphor/Phosphor-Thin.ttf +0 -0
  273. package/assets/fonts/phosphor/Phosphor-Thin.woff +0 -0
  274. package/assets/fonts/phosphor/Phosphor.svg +0 -3056
  275. package/assets/fonts/phosphor/Phosphor.ttf +0 -0
  276. package/assets/fonts/phosphor/Phosphor.woff +0 -0
@@ -1,38 +1,43 @@
1
1
  import { css } from '@melodicdev/core';
2
2
  export const dashboardPageStyles = () => css `
3
+ /*
4
+ * Tokens. Rules read each one with its default as the var() fallback,
5
+ * so a value set on the element or inherited from any ancestor wins.
6
+ *
7
+ * Font
8
+ * --ml-dashboard-font-family: var(--ml-font-sans)
9
+ *
10
+ * Padding
11
+ * --ml-dashboard-padding: var(--ml-space-6)
12
+ * --ml-dashboard-mobile-padding: var(--ml-space-4)
13
+ *
14
+ * Metrics grid
15
+ * --ml-dashboard-metrics-min-width: 200px
16
+ * --ml-dashboard-metrics-gap: var(--ml-space-4)
17
+ * --ml-dashboard-metrics-margin: var(--ml-space-6)
18
+ * --ml-dashboard-metrics-mobile-gap: var(--ml-space-3)
19
+ * --ml-dashboard-metrics-mobile-margin: var(--ml-space-4)
20
+ *
21
+ * Body grid
22
+ * --ml-dashboard-body-gap: var(--ml-space-6)
23
+ * --ml-dashboard-body-mobile-gap: var(--ml-space-4)
24
+ *
25
+ * Main & aside
26
+ * --ml-dashboard-main-gap: var(--ml-space-6)
27
+ * --ml-dashboard-aside-gap: var(--ml-space-6)
28
+ */
29
+
3
30
  :host {
4
31
  display: block;
5
32
  height: 100%;
6
-
7
- /* Font */
8
- --ml-dashboard-font-family: var(--ml-font-sans);
9
-
10
- /* Padding */
11
- --ml-dashboard-padding: var(--ml-space-6);
12
- --ml-dashboard-mobile-padding: var(--ml-space-4);
13
-
14
- /* Metrics grid */
15
- --ml-dashboard-metrics-min-width: 200px;
16
- --ml-dashboard-metrics-gap: var(--ml-space-4);
17
- --ml-dashboard-metrics-margin: var(--ml-space-6);
18
- --ml-dashboard-metrics-mobile-gap: var(--ml-space-3);
19
- --ml-dashboard-metrics-mobile-margin: var(--ml-space-4);
20
-
21
- /* Body grid */
22
- --ml-dashboard-body-gap: var(--ml-space-6);
23
- --ml-dashboard-body-mobile-gap: var(--ml-space-4);
24
-
25
- /* Main & aside */
26
- --ml-dashboard-main-gap: var(--ml-space-6);
27
- --ml-dashboard-aside-gap: var(--ml-space-6);
28
33
  }
29
34
 
30
35
  /* ============================================
31
36
  DASHBOARD CONTENT AREA
32
37
  ============================================ */
33
38
  .ml-dashboard {
34
- padding: var(--ml-dashboard-padding);
35
- font-family: var(--ml-dashboard-font-family);
39
+ padding: var(--ml-dashboard-padding, var(--ml-space-6));
40
+ font-family: var(--ml-dashboard-font-family, var(--ml-font-sans));
36
41
  }
37
42
 
38
43
  /* ============================================
@@ -40,9 +45,9 @@ export const dashboardPageStyles = () => css `
40
45
  ============================================ */
41
46
  .ml-dashboard__metrics {
42
47
  display: grid;
43
- grid-template-columns: repeat(auto-fit, minmax(var(--ml-dashboard-metrics-min-width), 1fr));
44
- gap: var(--ml-dashboard-metrics-gap);
45
- margin-bottom: var(--ml-dashboard-metrics-margin);
48
+ grid-template-columns: repeat(auto-fit, minmax(var(--ml-dashboard-metrics-min-width, 200px), 1fr));
49
+ gap: var(--ml-dashboard-metrics-gap, var(--ml-space-4));
50
+ margin-bottom: var(--ml-dashboard-metrics-margin, var(--ml-space-6));
46
51
  }
47
52
 
48
53
  /* ============================================
@@ -51,7 +56,7 @@ export const dashboardPageStyles = () => css `
51
56
  .ml-dashboard__body {
52
57
  display: grid;
53
58
  grid-template-columns: 1fr;
54
- gap: var(--ml-dashboard-body-gap);
59
+ gap: var(--ml-dashboard-body-gap, var(--ml-space-6));
55
60
  }
56
61
 
57
62
  /* Default layout: 2/3 main + 1/3 aside */
@@ -76,7 +81,7 @@ export const dashboardPageStyles = () => css `
76
81
  min-width: 0;
77
82
  display: flex;
78
83
  flex-direction: column;
79
- gap: var(--ml-dashboard-main-gap);
84
+ gap: var(--ml-dashboard-main-gap, var(--ml-space-6));
80
85
  }
81
86
 
82
87
  /* ============================================
@@ -86,7 +91,7 @@ export const dashboardPageStyles = () => css `
86
91
  min-width: 0;
87
92
  display: flex;
88
93
  flex-direction: column;
89
- gap: var(--ml-dashboard-aside-gap);
94
+ gap: var(--ml-dashboard-aside-gap, var(--ml-space-6));
90
95
  }
91
96
 
92
97
  /* ============================================
@@ -100,17 +105,17 @@ export const dashboardPageStyles = () => css `
100
105
 
101
106
  @media (max-width: 640px) {
102
107
  .ml-dashboard {
103
- padding: var(--ml-dashboard-mobile-padding);
108
+ padding: var(--ml-dashboard-mobile-padding, var(--ml-space-4));
104
109
  }
105
110
 
106
111
  .ml-dashboard__metrics {
107
112
  grid-template-columns: 1fr;
108
- gap: var(--ml-dashboard-metrics-mobile-gap);
109
- margin-bottom: var(--ml-dashboard-metrics-mobile-margin);
113
+ gap: var(--ml-dashboard-metrics-mobile-gap, var(--ml-space-3));
114
+ margin-bottom: var(--ml-dashboard-metrics-mobile-margin, var(--ml-space-4));
110
115
  }
111
116
 
112
117
  .ml-dashboard__body {
113
- gap: var(--ml-dashboard-body-mobile-gap);
118
+ gap: var(--ml-dashboard-body-mobile-gap, var(--ml-space-4));
114
119
  }
115
120
  }
116
121
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"app-shell.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/app-shell/app-shell.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,iDAyO1B,CAAC"}
1
+ {"version":3,"file":"app-shell.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/app-shell/app-shell.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,iDA+O1B,CAAC"}
@@ -1,43 +1,49 @@
1
1
  import { css } from '@melodicdev/core';
2
2
  export const appShellStyles = () => css `
3
+ /*
4
+ * Tokens. Rules read each one with its default as the var() fallback,
5
+ * so a value set on the element or inherited from any ancestor wins.
6
+ *
7
+ * Border
8
+ * --ml-app-shell-border-width: var(--ml-border)
9
+ * --ml-app-shell-border-color: var(--ml-color-border)
10
+ *
11
+ * Header
12
+ * --ml-app-shell-header-bg: var(--ml-color-surface)
13
+ *
14
+ * Mobile sidebar
15
+ * --ml-app-shell-sidebar-width: var(--ml-sidebar-width, 280px)
16
+ * --ml-app-shell-sidebar-collapsed-width: var(--ml-sidebar-collapsed-width, 64px)
17
+ * --ml-app-shell-sidebar-bg: var(--ml-color-surface)
18
+ * --ml-app-shell-sidebar-transition: var(--ml-duration-200)
19
+ *
20
+ * Backdrop
21
+ * --ml-app-shell-backdrop-bg: rgba(0, 0, 0, 0.4)
22
+ * --ml-app-shell-backdrop-transition: var(--ml-duration-200)
23
+ *
24
+ * Menu button
25
+ * --ml-app-shell-menu-btn-size: 36px
26
+ * --ml-app-shell-menu-btn-margin: var(--ml-space-3)
27
+ * --ml-app-shell-menu-btn-radius: var(--ml-radius)
28
+ * --ml-app-shell-menu-btn-color: var(--ml-color-text-secondary)
29
+ * --ml-app-shell-menu-btn-hover-bg: var(--ml-color-surface-secondary)
30
+ * --ml-app-shell-menu-btn-hover-color: var(--ml-color-text)
31
+ * --ml-app-shell-menu-btn-focus-color: var(--ml-color-primary)
32
+ * --ml-app-shell-menu-btn-transition: var(--ml-duration-150)
33
+ *
34
+ * Scrollbar
35
+ * --ml-app-shell-scrollbar-width: 6px
36
+ * --ml-app-shell-scrollbar-thumb-color: var(--ml-color-border)
37
+ * --ml-app-shell-scrollbar-thumb-radius: var(--ml-radius-full)
38
+ */
39
+
3
40
  :host {
4
41
  display: block;
5
42
  height: 100%;
6
43
 
7
- /* Border */
8
- --ml-app-shell-border-width: var(--ml-border);
9
- --ml-app-shell-border-color: var(--ml-color-border);
10
-
11
- /* Header */
12
- --ml-app-shell-header-bg: var(--ml-color-surface);
13
-
14
- /* Mobile sidebar */
15
- --ml-app-shell-sidebar-width: var(--ml-sidebar-width, 280px);
16
- --ml-app-shell-sidebar-collapsed-width: var(--ml-sidebar-collapsed-width, 64px);
17
44
  /* Viewport width below which the sidebar becomes a drawer. Kept in one
18
45
  place so the CSS media query and the component's matchMedia agree. */
19
46
  --ml-app-shell-mobile-breakpoint: 768px;
20
- --ml-app-shell-sidebar-bg: var(--ml-color-surface);
21
- --ml-app-shell-sidebar-transition: var(--ml-duration-200);
22
-
23
- /* Backdrop */
24
- --ml-app-shell-backdrop-bg: rgba(0, 0, 0, 0.4);
25
- --ml-app-shell-backdrop-transition: var(--ml-duration-200);
26
-
27
- /* Menu button */
28
- --ml-app-shell-menu-btn-size: 36px;
29
- --ml-app-shell-menu-btn-margin: var(--ml-space-3);
30
- --ml-app-shell-menu-btn-radius: var(--ml-radius);
31
- --ml-app-shell-menu-btn-color: var(--ml-color-text-secondary);
32
- --ml-app-shell-menu-btn-hover-bg: var(--ml-color-surface-secondary);
33
- --ml-app-shell-menu-btn-hover-color: var(--ml-color-text);
34
- --ml-app-shell-menu-btn-focus-color: var(--ml-color-primary);
35
- --ml-app-shell-menu-btn-transition: var(--ml-duration-150);
36
-
37
- /* Scrollbar */
38
- --ml-app-shell-scrollbar-width: 6px;
39
- --ml-app-shell-scrollbar-thumb-color: var(--ml-color-border);
40
- --ml-app-shell-scrollbar-thumb-radius: var(--ml-radius-full);
41
47
  }
42
48
 
43
49
  /* ============================================
@@ -57,9 +63,9 @@ export const appShellStyles = () => css `
57
63
  * icon-only collapse did nothing.
58
64
  */
59
65
  .ml-app-shell--sidebar-collapsed .ml-app-shell__sidebar {
60
- width: var(--ml-app-shell-sidebar-collapsed-width);
61
- min-width: var(--ml-app-shell-sidebar-collapsed-width);
62
- transition: width var(--ml-app-shell-sidebar-transition) var(--ml-ease-in-out);
66
+ width: var(--ml-app-shell-sidebar-collapsed-width, var(--ml-sidebar-collapsed-width, 64px));
67
+ min-width: var(--ml-app-shell-sidebar-collapsed-width, var(--ml-sidebar-collapsed-width, 64px));
68
+ transition: width var(--ml-app-shell-sidebar-transition, var(--ml-duration-200)) var(--ml-ease-in-out);
63
69
  }
64
70
 
65
71
  /* Sidebar on the right */
@@ -69,7 +75,7 @@ export const appShellStyles = () => css `
69
75
 
70
76
  .ml-app-shell--sidebar-right .ml-app-shell__sidebar {
71
77
  order: 2;
72
- border-left: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
78
+ border-left: var(--ml-app-shell-border-width, var(--ml-border)) solid var(--ml-app-shell-border-color, var(--ml-color-border));
73
79
  border-right: none;
74
80
  }
75
81
 
@@ -83,7 +89,7 @@ export const appShellStyles = () => css `
83
89
  .ml-app-shell__sidebar {
84
90
  grid-row: 1 / -1;
85
91
  overflow: hidden;
86
- border-right: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
92
+ border-right: var(--ml-app-shell-border-width, var(--ml-border)) solid var(--ml-app-shell-border-color, var(--ml-color-border));
87
93
  }
88
94
 
89
95
  ::slotted([slot="sidebar"]) {
@@ -107,8 +113,8 @@ export const appShellStyles = () => css `
107
113
  display: flex;
108
114
  align-items: center;
109
115
  flex-shrink: 0;
110
- border-bottom: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
111
- background-color: var(--ml-app-shell-header-bg);
116
+ border-bottom: var(--ml-app-shell-border-width, var(--ml-border)) solid var(--ml-app-shell-border-color, var(--ml-color-border));
117
+ background-color: var(--ml-app-shell-header-bg, var(--ml-color-surface));
112
118
  }
113
119
 
114
120
  .ml-app-shell__header:empty {
@@ -133,7 +139,7 @@ export const appShellStyles = () => css `
133
139
 
134
140
  /* Scrollbar styling */
135
141
  .ml-app-shell__content::-webkit-scrollbar {
136
- width: var(--ml-app-shell-scrollbar-width);
142
+ width: var(--ml-app-shell-scrollbar-width, 6px);
137
143
  }
138
144
 
139
145
  .ml-app-shell__content::-webkit-scrollbar-track {
@@ -141,8 +147,8 @@ export const appShellStyles = () => css `
141
147
  }
142
148
 
143
149
  .ml-app-shell__content::-webkit-scrollbar-thumb {
144
- background-color: var(--ml-app-shell-scrollbar-thumb-color);
145
- border-radius: var(--ml-app-shell-scrollbar-thumb-radius);
150
+ background-color: var(--ml-app-shell-scrollbar-thumb-color, var(--ml-color-border));
151
+ border-radius: var(--ml-app-shell-scrollbar-thumb-radius, var(--ml-radius-full));
146
152
  }
147
153
 
148
154
  /* ============================================
@@ -153,25 +159,25 @@ export const appShellStyles = () => css `
153
159
  align-items: center;
154
160
  justify-content: center;
155
161
  flex-shrink: 0;
156
- width: var(--ml-app-shell-menu-btn-size);
157
- height: var(--ml-app-shell-menu-btn-size);
158
- margin-left: var(--ml-app-shell-menu-btn-margin);
162
+ width: var(--ml-app-shell-menu-btn-size, 36px);
163
+ height: var(--ml-app-shell-menu-btn-size, 36px);
164
+ margin-inline-start: var(--ml-app-shell-menu-btn-margin, var(--ml-space-3));
159
165
  padding: 0;
160
166
  border: none;
161
- border-radius: var(--ml-app-shell-menu-btn-radius);
167
+ border-radius: var(--ml-app-shell-menu-btn-radius, var(--ml-radius));
162
168
  background: transparent;
163
- color: var(--ml-app-shell-menu-btn-color);
169
+ color: var(--ml-app-shell-menu-btn-color, var(--ml-color-text-secondary));
164
170
  cursor: pointer;
165
- transition: background-color var(--ml-app-shell-menu-btn-transition) var(--ml-ease-in-out);
171
+ transition: background-color var(--ml-app-shell-menu-btn-transition, var(--ml-duration-150)) var(--ml-ease-in-out);
166
172
  }
167
173
 
168
174
  .ml-app-shell__menu-btn:hover {
169
- background-color: var(--ml-app-shell-menu-btn-hover-bg);
170
- color: var(--ml-app-shell-menu-btn-hover-color);
175
+ background-color: var(--ml-app-shell-menu-btn-hover-bg, var(--ml-color-surface-secondary));
176
+ color: var(--ml-app-shell-menu-btn-hover-color, var(--ml-color-text));
171
177
  }
172
178
 
173
179
  .ml-app-shell__menu-btn:focus-visible {
174
- outline: 2px solid var(--ml-app-shell-menu-btn-focus-color);
180
+ outline: 2px solid var(--ml-app-shell-menu-btn-focus-color, var(--ml-color-primary));
175
181
  outline-offset: -2px;
176
182
  }
177
183
 
@@ -196,18 +202,18 @@ export const appShellStyles = () => css `
196
202
  left: 0;
197
203
  bottom: 0;
198
204
  z-index: 50;
199
- width: var(--ml-app-shell-sidebar-width);
205
+ width: var(--ml-app-shell-sidebar-width, var(--ml-sidebar-width, 280px));
200
206
  transform: translateX(-100%);
201
- transition: transform var(--ml-app-shell-sidebar-transition) var(--ml-ease-in-out);
202
- border-right: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
203
- background-color: var(--ml-app-shell-sidebar-bg);
207
+ transition: transform var(--ml-app-shell-sidebar-transition, var(--ml-duration-200)) var(--ml-ease-in-out);
208
+ border-right: var(--ml-app-shell-border-width, var(--ml-border)) solid var(--ml-app-shell-border-color, var(--ml-color-border));
209
+ background-color: var(--ml-app-shell-sidebar-bg, var(--ml-color-surface));
204
210
  }
205
211
 
206
212
  .ml-app-shell--sidebar-right .ml-app-shell__sidebar {
207
213
  left: auto;
208
214
  right: 0;
209
215
  transform: translateX(100%);
210
- border-left: var(--ml-app-shell-border-width) solid var(--ml-app-shell-border-color);
216
+ border-left: var(--ml-app-shell-border-width, var(--ml-border)) solid var(--ml-app-shell-border-color, var(--ml-color-border));
211
217
  border-right: none;
212
218
  }
213
219
 
@@ -221,10 +227,10 @@ export const appShellStyles = () => css `
221
227
  position: fixed;
222
228
  inset: 0;
223
229
  z-index: 40;
224
- background-color: var(--ml-app-shell-backdrop-bg);
230
+ background-color: var(--ml-app-shell-backdrop-bg, rgba(0, 0, 0, 0.4));
225
231
  opacity: 0;
226
232
  pointer-events: none;
227
- transition: opacity var(--ml-app-shell-backdrop-transition) var(--ml-ease-in-out);
233
+ transition: opacity var(--ml-app-shell-backdrop-transition, var(--ml-duration-200)) var(--ml-ease-in-out);
228
234
  }
229
235
 
230
236
  .ml-app-shell__backdrop--visible {
@@ -1,70 +1,70 @@
1
1
  import { css } from '@melodicdev/core';
2
2
  export const heroSectionStyles = () => css `
3
+ /*
4
+ * Tokens. Rules read each one with its default as the var() fallback,
5
+ * so a value set on the element or inherited from any ancestor wins.
6
+ *
7
+ * Font
8
+ * --ml-hero-font-family: var(--ml-font-sans)
9
+ *
10
+ * Size: sm
11
+ * --ml-hero-sm-padding: var(--ml-space-12) var(--ml-space-6)
12
+ * --ml-hero-sm-title-size: var(--ml-text-3xl)
13
+ * --ml-hero-sm-description-size: var(--ml-text-base)
14
+ *
15
+ * Size: md
16
+ * --ml-hero-md-padding: var(--ml-space-20) var(--ml-space-6)
17
+ * --ml-hero-md-title-size: var(--ml-text-4xl)
18
+ * --ml-hero-md-description-size: var(--ml-text-lg)
19
+ *
20
+ * Size: lg
21
+ * --ml-hero-lg-padding: calc(var(--ml-space-20) + var(--ml-space-10)) var(--ml-space-6)
22
+ * --ml-hero-lg-title-size: var(--ml-text-5xl)
23
+ * --ml-hero-lg-description-size: var(--ml-text-xl)
24
+ *
25
+ * Background variants
26
+ * --ml-hero-bg-subtle: var(--ml-color-surface-secondary)
27
+ * --ml-hero-bg-gradient: linear-gradient( 135deg, var(--ml-color-primary-subtle) 0%, var(--ml-color-surface) 50%, var(--ml-color-success-subtle, var(--ml-color-surface-secondary)) 100% )
28
+ *
29
+ * Container
30
+ * --ml-hero-container-max-width: var(--ml-container-xl, 1280px)
31
+ * --ml-hero-content-max-width: 800px
32
+ * --ml-hero-split-gap: var(--ml-space-12)
33
+ *
34
+ * Eyebrow
35
+ * --ml-hero-eyebrow-margin-bottom: var(--ml-space-4)
36
+ * --ml-hero-eyebrow-font-size: var(--ml-text-sm)
37
+ * --ml-hero-eyebrow-font-weight: var(--ml-font-semibold)
38
+ * --ml-hero-eyebrow-color: var(--ml-color-primary)
39
+ * --ml-hero-eyebrow-letter-spacing: 0.05em
40
+ *
41
+ * Title
42
+ * --ml-hero-title-margin-bottom: var(--ml-space-4)
43
+ * --ml-hero-title-font-weight: var(--ml-font-bold)
44
+ * --ml-hero-title-color: var(--ml-color-text)
45
+ * --ml-hero-title-letter-spacing: -0.025em
46
+ * --ml-hero-title-line-height: var(--ml-leading-tight)
47
+ *
48
+ * Description
49
+ * --ml-hero-description-margin-bottom: var(--ml-space-8)
50
+ * --ml-hero-description-color: var(--ml-color-text-secondary)
51
+ * --ml-hero-description-line-height: var(--ml-leading-relaxed)
52
+ * --ml-hero-description-max-width: 640px
53
+ *
54
+ * Actions
55
+ * --ml-hero-actions-gap: var(--ml-space-3)
56
+ *
57
+ * Media
58
+ * --ml-hero-media-radius: var(--ml-radius-lg)
59
+ * --ml-hero-media-below-margin: var(--ml-space-10)
60
+ *
61
+ * Social proof
62
+ * --ml-hero-social-proof-margin: var(--ml-space-10)
63
+ */
64
+
3
65
  :host {
4
66
  display: block;
5
67
  width: 100%;
6
-
7
- /* Font */
8
- --ml-hero-font-family: var(--ml-font-sans);
9
-
10
- /* Size: sm */
11
- --ml-hero-sm-padding: var(--ml-space-12) var(--ml-space-6);
12
- --ml-hero-sm-title-size: var(--ml-text-3xl);
13
- --ml-hero-sm-description-size: var(--ml-text-base);
14
-
15
- /* Size: md */
16
- --ml-hero-md-padding: var(--ml-space-20) var(--ml-space-6);
17
- --ml-hero-md-title-size: var(--ml-text-4xl);
18
- --ml-hero-md-description-size: var(--ml-text-lg);
19
-
20
- /* Size: lg */
21
- --ml-hero-lg-padding: calc(var(--ml-space-20) + var(--ml-space-10)) var(--ml-space-6);
22
- --ml-hero-lg-title-size: var(--ml-text-5xl);
23
- --ml-hero-lg-description-size: var(--ml-text-xl);
24
-
25
- /* Background variants */
26
- --ml-hero-bg-subtle: var(--ml-color-surface-secondary);
27
- --ml-hero-bg-gradient: linear-gradient(
28
- 135deg,
29
- var(--ml-color-primary-subtle) 0%,
30
- var(--ml-color-surface) 50%,
31
- var(--ml-color-success-subtle, var(--ml-color-surface-secondary)) 100%
32
- );
33
-
34
- /* Container */
35
- --ml-hero-container-max-width: var(--ml-container-xl, 1280px);
36
- --ml-hero-content-max-width: 800px;
37
- --ml-hero-split-gap: var(--ml-space-12);
38
-
39
- /* Eyebrow */
40
- --ml-hero-eyebrow-margin-bottom: var(--ml-space-4);
41
- --ml-hero-eyebrow-font-size: var(--ml-text-sm);
42
- --ml-hero-eyebrow-font-weight: var(--ml-font-semibold);
43
- --ml-hero-eyebrow-color: var(--ml-color-primary);
44
- --ml-hero-eyebrow-letter-spacing: 0.05em;
45
-
46
- /* Title */
47
- --ml-hero-title-margin-bottom: var(--ml-space-4);
48
- --ml-hero-title-font-weight: var(--ml-font-bold);
49
- --ml-hero-title-color: var(--ml-color-text);
50
- --ml-hero-title-letter-spacing: -0.025em;
51
- --ml-hero-title-line-height: var(--ml-leading-tight);
52
-
53
- /* Description */
54
- --ml-hero-description-margin-bottom: var(--ml-space-8);
55
- --ml-hero-description-color: var(--ml-color-text-secondary);
56
- --ml-hero-description-line-height: var(--ml-leading-relaxed);
57
- --ml-hero-description-max-width: 640px;
58
-
59
- /* Actions */
60
- --ml-hero-actions-gap: var(--ml-space-3);
61
-
62
- /* Media */
63
- --ml-hero-media-radius: var(--ml-radius-lg);
64
- --ml-hero-media-below-margin: var(--ml-space-10);
65
-
66
- /* Social proof */
67
- --ml-hero-social-proof-margin: var(--ml-space-10);
68
68
  }
69
69
 
70
70
  /* ============================================
@@ -73,73 +73,73 @@ export const heroSectionStyles = () => css `
73
73
  .ml-hero {
74
74
  position: relative;
75
75
  width: 100%;
76
- font-family: var(--ml-hero-font-family);
76
+ font-family: var(--ml-hero-font-family, var(--ml-font-sans));
77
77
  }
78
78
 
79
79
  /* ============================================
80
80
  SIZE VARIANTS (padding & font sizes)
81
81
  ============================================ */
82
82
  .ml-hero--sm {
83
- padding: var(--ml-hero-sm-padding);
83
+ padding: var(--ml-hero-sm-padding, var(--ml-space-12) var(--ml-space-6));
84
84
  }
85
85
 
86
86
  .ml-hero--md {
87
- padding: var(--ml-hero-md-padding);
87
+ padding: var(--ml-hero-md-padding, var(--ml-space-20) var(--ml-space-6));
88
88
  }
89
89
 
90
90
  .ml-hero--lg {
91
- padding: var(--ml-hero-lg-padding);
91
+ padding: var(--ml-hero-lg-padding, calc(var(--ml-space-20) + var(--ml-space-10)) var(--ml-space-6));
92
92
  }
93
93
 
94
94
  .ml-hero--sm .ml-hero__title,
95
95
  .ml-hero--sm ::slotted([slot="title"]) {
96
- font-size: var(--ml-hero-sm-title-size);
97
- line-height: var(--ml-hero-title-line-height);
96
+ font-size: var(--ml-hero-sm-title-size, var(--ml-text-3xl));
97
+ line-height: var(--ml-hero-title-line-height, var(--ml-leading-tight));
98
98
  }
99
99
 
100
100
  .ml-hero--md .ml-hero__title,
101
101
  .ml-hero--md ::slotted([slot="title"]) {
102
- font-size: var(--ml-hero-md-title-size);
103
- line-height: var(--ml-hero-title-line-height);
102
+ font-size: var(--ml-hero-md-title-size, var(--ml-text-4xl));
103
+ line-height: var(--ml-hero-title-line-height, var(--ml-leading-tight));
104
104
  }
105
105
 
106
106
  .ml-hero--lg .ml-hero__title,
107
107
  .ml-hero--lg ::slotted([slot="title"]) {
108
- font-size: var(--ml-hero-lg-title-size);
109
- line-height: var(--ml-hero-title-line-height);
108
+ font-size: var(--ml-hero-lg-title-size, var(--ml-text-5xl));
109
+ line-height: var(--ml-hero-title-line-height, var(--ml-leading-tight));
110
110
  }
111
111
 
112
112
  .ml-hero--sm .ml-hero__description,
113
113
  .ml-hero--sm ::slotted([slot="description"]) {
114
- font-size: var(--ml-hero-sm-description-size);
114
+ font-size: var(--ml-hero-sm-description-size, var(--ml-text-base));
115
115
  }
116
116
 
117
117
  .ml-hero--md .ml-hero__description,
118
118
  .ml-hero--md ::slotted([slot="description"]) {
119
- font-size: var(--ml-hero-md-description-size);
119
+ font-size: var(--ml-hero-md-description-size, var(--ml-text-lg));
120
120
  }
121
121
 
122
122
  .ml-hero--lg .ml-hero__description,
123
123
  .ml-hero--lg ::slotted([slot="description"]) {
124
- font-size: var(--ml-hero-lg-description-size);
124
+ font-size: var(--ml-hero-lg-description-size, var(--ml-text-xl));
125
125
  }
126
126
 
127
127
  /* ============================================
128
128
  BACKGROUND VARIANTS
129
129
  ============================================ */
130
130
  .ml-hero--bg-subtle {
131
- background-color: var(--ml-hero-bg-subtle);
131
+ background-color: var(--ml-hero-bg-subtle, var(--ml-color-surface-secondary));
132
132
  }
133
133
 
134
134
  .ml-hero--bg-gradient {
135
- background: var(--ml-hero-bg-gradient);
135
+ background: var(--ml-hero-bg-gradient, linear-gradient( 135deg, var(--ml-color-primary-subtle) 0%, var(--ml-color-surface) 50%, var(--ml-color-success-subtle, var(--ml-color-surface-secondary)) 100% ));
136
136
  }
137
137
 
138
138
  /* ============================================
139
139
  LAYOUT: CONTAINER
140
140
  ============================================ */
141
141
  .ml-hero__container {
142
- max-width: var(--ml-hero-container-max-width);
142
+ max-width: var(--ml-hero-container-max-width, var(--ml-container-xl, 1280px));
143
143
  margin: 0 auto;
144
144
  width: 100%;
145
145
  }
@@ -158,11 +158,11 @@ export const heroSectionStyles = () => css `
158
158
  flex-direction: column;
159
159
  align-items: center;
160
160
  text-align: center;
161
- max-width: var(--ml-hero-content-max-width);
161
+ max-width: var(--ml-hero-content-max-width, 800px);
162
162
  }
163
163
 
164
164
  .ml-hero--centered .ml-hero__media--below {
165
- margin-top: var(--ml-hero-media-below-margin);
165
+ margin-top: var(--ml-hero-media-below-margin, var(--ml-space-10));
166
166
  width: 100%;
167
167
  display: flex;
168
168
  justify-content: center;
@@ -175,7 +175,7 @@ export const heroSectionStyles = () => css `
175
175
  .ml-hero--split-reverse .ml-hero__container {
176
176
  display: grid;
177
177
  grid-template-columns: 1fr 1fr;
178
- gap: var(--ml-hero-split-gap);
178
+ gap: var(--ml-hero-split-gap, var(--ml-space-12));
179
179
  align-items: center;
180
180
  }
181
181
 
@@ -200,36 +200,36 @@ export const heroSectionStyles = () => css `
200
200
  /* Eyebrow */
201
201
  ::slotted([slot="eyebrow"]) {
202
202
  display: inline-block;
203
- margin-bottom: var(--ml-hero-eyebrow-margin-bottom);
204
- font-size: var(--ml-hero-eyebrow-font-size);
205
- font-weight: var(--ml-hero-eyebrow-font-weight);
206
- color: var(--ml-hero-eyebrow-color);
203
+ margin-bottom: var(--ml-hero-eyebrow-margin-bottom, var(--ml-space-4));
204
+ font-size: var(--ml-hero-eyebrow-font-size, var(--ml-text-sm));
205
+ font-weight: var(--ml-hero-eyebrow-font-weight, var(--ml-font-semibold));
206
+ color: var(--ml-hero-eyebrow-color, var(--ml-color-primary));
207
207
  text-transform: uppercase;
208
- letter-spacing: var(--ml-hero-eyebrow-letter-spacing);
208
+ letter-spacing: var(--ml-hero-eyebrow-letter-spacing, 0.05em);
209
209
  }
210
210
 
211
211
  /* Title */
212
212
  .ml-hero__title,
213
213
  ::slotted([slot="title"]) {
214
- margin: 0 0 var(--ml-hero-title-margin-bottom) 0;
215
- font-weight: var(--ml-hero-title-font-weight);
216
- color: var(--ml-hero-title-color);
217
- letter-spacing: var(--ml-hero-title-letter-spacing);
214
+ margin: 0 0 var(--ml-hero-title-margin-bottom, var(--ml-space-4)) 0;
215
+ font-weight: var(--ml-hero-title-font-weight, var(--ml-font-bold));
216
+ color: var(--ml-hero-title-color, var(--ml-color-text));
217
+ letter-spacing: var(--ml-hero-title-letter-spacing, -0.025em);
218
218
  }
219
219
 
220
220
  /* Description */
221
221
  .ml-hero__description,
222
222
  ::slotted([slot="description"]) {
223
- margin: 0 0 var(--ml-hero-description-margin-bottom) 0;
224
- color: var(--ml-hero-description-color);
225
- line-height: var(--ml-hero-description-line-height);
226
- max-width: var(--ml-hero-description-max-width);
223
+ margin: 0 0 var(--ml-hero-description-margin-bottom, var(--ml-space-8)) 0;
224
+ color: var(--ml-hero-description-color, var(--ml-color-text-secondary));
225
+ line-height: var(--ml-hero-description-line-height, var(--ml-leading-relaxed));
226
+ max-width: var(--ml-hero-description-max-width, 640px);
227
227
  }
228
228
 
229
229
  /* Actions */
230
230
  .ml-hero__actions {
231
231
  display: flex;
232
- gap: var(--ml-hero-actions-gap);
232
+ gap: var(--ml-hero-actions-gap, var(--ml-space-3));
233
233
  flex-wrap: wrap;
234
234
  }
235
235
 
@@ -255,12 +255,12 @@ export const heroSectionStyles = () => css `
255
255
  ::slotted([slot="media"]) {
256
256
  max-width: 100%;
257
257
  height: auto;
258
- border-radius: var(--ml-hero-media-radius);
258
+ border-radius: var(--ml-hero-media-radius, var(--ml-radius-lg));
259
259
  }
260
260
 
261
261
  /* Social proof */
262
262
  .ml-hero__social-proof {
263
- margin-top: var(--ml-hero-social-proof-margin);
263
+ margin-top: var(--ml-hero-social-proof-margin, var(--ml-space-10));
264
264
  width: 100%;
265
265
  }
266
266
 
@@ -1 +1 @@
1
- {"version":3,"file":"page-header.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/page-header/page-header.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,iDAiN5B,CAAC"}
1
+ {"version":3,"file":"page-header.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/page-header/page-header.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,iDAsN5B,CAAC"}