@melodicdev/components 4.0.1 → 4.2.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 (210) 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 +5374 -4233
  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 +1808 -26662
  8. package/lib/components/data-display/calendar-view/calendar-view.styles.d.ts.map +1 -1
  9. package/lib/components/data-display/calendar-view/calendar-view.styles.js +14 -0
  10. package/lib/components/data-display/data-grid/data-grid.component.d.ts +43 -2
  11. package/lib/components/data-display/data-grid/data-grid.component.d.ts.map +1 -1
  12. package/lib/components/data-display/data-grid/data-grid.component.js +94 -8
  13. package/lib/components/data-display/data-grid/data-grid.styles.d.ts.map +1 -1
  14. package/lib/components/data-display/data-grid/data-grid.styles.js +17 -0
  15. package/lib/components/data-display/data-grid/data-grid.template.d.ts.map +1 -1
  16. package/lib/components/data-display/data-grid/data-grid.template.js +19 -10
  17. package/lib/components/data-display/data-grid/index.d.ts +1 -0
  18. package/lib/components/data-display/data-grid/index.d.ts.map +1 -1
  19. package/lib/components/data-display/list/list-item.styles.js +1 -1
  20. package/lib/components/data-display/table/index.d.ts +1 -0
  21. package/lib/components/data-display/table/index.d.ts.map +1 -1
  22. package/lib/components/data-display/table/table.component.d.ts +16 -0
  23. package/lib/components/data-display/table/table.component.d.ts.map +1 -1
  24. package/lib/components/data-display/table/table.component.js +28 -3
  25. package/lib/components/data-display/table/table.styles.d.ts.map +1 -1
  26. package/lib/components/data-display/table/table.styles.js +7 -1
  27. package/lib/components/data-display/table/table.template.d.ts.map +1 -1
  28. package/lib/components/data-display/table/table.template.js +8 -6
  29. package/lib/components/data-display/table-core/index.d.ts +2 -2
  30. package/lib/components/data-display/table-core/index.d.ts.map +1 -1
  31. package/lib/components/data-display/table-core/index.js +1 -1
  32. package/lib/components/data-display/table-core/table-core.d.ts +16 -2
  33. package/lib/components/data-display/table-core/table-core.d.ts.map +1 -1
  34. package/lib/components/data-display/table-core/table-core.js +32 -5
  35. package/lib/components/data-display/tag/tag.styles.d.ts.map +1 -1
  36. package/lib/components/data-display/tag/tag.styles.js +11 -4
  37. package/lib/components/feedback/alert/alert.styles.d.ts.map +1 -1
  38. package/lib/components/feedback/alert/alert.styles.js +11 -0
  39. package/lib/components/feedback/toast/index.d.ts +1 -0
  40. package/lib/components/feedback/toast/index.d.ts.map +1 -1
  41. package/lib/components/feedback/toast/toast-container.styles.d.ts.map +1 -1
  42. package/lib/components/feedback/toast/toast-container.styles.js +20 -0
  43. package/lib/components/feedback/toast/toast.component.d.ts +16 -0
  44. package/lib/components/feedback/toast/toast.component.d.ts.map +1 -1
  45. package/lib/components/feedback/toast/toast.component.js +63 -5
  46. package/lib/components/feedback/toast/toast.service.d.ts +14 -0
  47. package/lib/components/feedback/toast/toast.service.d.ts.map +1 -1
  48. package/lib/components/feedback/toast/toast.service.js +41 -0
  49. package/lib/components/feedback/toast/toast.styles.d.ts.map +1 -1
  50. package/lib/components/feedback/toast/toast.styles.js +6 -0
  51. package/lib/components/feedback/toast/toast.template.js +1 -1
  52. package/lib/components/forms/autocomplete/autocomplete.component.d.ts +14 -4
  53. package/lib/components/forms/autocomplete/autocomplete.component.d.ts.map +1 -1
  54. package/lib/components/forms/autocomplete/autocomplete.component.js +40 -96
  55. package/lib/components/forms/autocomplete/autocomplete.styles.d.ts.map +1 -1
  56. package/lib/components/forms/autocomplete/autocomplete.styles.js +22 -6
  57. package/lib/components/forms/autocomplete/autocomplete.template.js +7 -1
  58. package/lib/components/forms/button/button.styles.d.ts.map +1 -1
  59. package/lib/components/forms/button/button.styles.js +11 -0
  60. package/lib/components/forms/button-group/button-group-item.styles.d.ts.map +1 -1
  61. package/lib/components/forms/button-group/button-group-item.styles.js +11 -0
  62. package/lib/components/forms/button-group/button-group.styles.js +2 -2
  63. package/lib/components/forms/checkbox/checkbox.styles.d.ts.map +1 -1
  64. package/lib/components/forms/checkbox/checkbox.styles.js +13 -2
  65. package/lib/components/forms/date-picker/calendar.component.d.ts +20 -7
  66. package/lib/components/forms/date-picker/calendar.component.d.ts.map +1 -1
  67. package/lib/components/forms/date-picker/calendar.component.js +88 -13
  68. package/lib/components/forms/date-picker/calendar.styles.d.ts.map +1 -1
  69. package/lib/components/forms/date-picker/calendar.styles.js +19 -0
  70. package/lib/components/forms/date-picker/date-picker.component.d.ts +2 -3
  71. package/lib/components/forms/date-picker/date-picker.component.d.ts.map +1 -1
  72. package/lib/components/forms/date-picker/date-picker.component.js +70 -18
  73. package/lib/components/forms/date-picker/date-picker.styles.d.ts.map +1 -1
  74. package/lib/components/forms/date-picker/date-picker.styles.js +12 -1
  75. package/lib/components/forms/date-time-picker/date-time-picker.styles.d.ts.map +1 -1
  76. package/lib/components/forms/date-time-picker/date-time-picker.styles.js +12 -1
  77. package/lib/components/forms/date-time-picker/tz-utils.d.ts.map +1 -1
  78. package/lib/components/forms/date-time-picker/tz-utils.js +24 -3
  79. package/lib/components/forms/file-upload/file-upload-item.styles.d.ts.map +1 -1
  80. package/lib/components/forms/file-upload/file-upload-item.styles.js +13 -1
  81. package/lib/components/forms/file-upload/file-upload.styles.d.ts.map +1 -1
  82. package/lib/components/forms/file-upload/file-upload.styles.js +11 -0
  83. package/lib/components/forms/form-field/form-field.component.d.ts +18 -1
  84. package/lib/components/forms/form-field/form-field.component.d.ts.map +1 -1
  85. package/lib/components/forms/form-field/form-field.component.js +55 -16
  86. package/lib/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  87. package/lib/components/forms/form-field/form-field.styles.js +15 -2
  88. package/lib/components/forms/input/input.styles.d.ts.map +1 -1
  89. package/lib/components/forms/input/input.styles.js +16 -1
  90. package/lib/components/forms/listbox-core/index.d.ts +3 -0
  91. package/lib/components/forms/listbox-core/index.d.ts.map +1 -0
  92. package/lib/components/forms/listbox-core/index.js +2 -0
  93. package/lib/components/forms/listbox-core/listbox-core.d.ts +57 -0
  94. package/lib/components/forms/listbox-core/listbox-core.d.ts.map +1 -0
  95. package/lib/components/forms/listbox-core/listbox-core.js +168 -0
  96. package/lib/components/forms/radio/radio-group.styles.js +1 -1
  97. package/lib/components/forms/radio/radio.styles.d.ts.map +1 -1
  98. package/lib/components/forms/radio/radio.styles.js +12 -1
  99. package/lib/components/forms/radio-card-group/radio-card-group.styles.js +1 -1
  100. package/lib/components/forms/radio-card-group/radio-card.styles.d.ts.map +1 -1
  101. package/lib/components/forms/radio-card-group/radio-card.styles.js +11 -0
  102. package/lib/components/forms/select/select.component.d.ts +12 -4
  103. package/lib/components/forms/select/select.component.d.ts.map +1 -1
  104. package/lib/components/forms/select/select.component.js +41 -110
  105. package/lib/components/forms/select/select.styles.d.ts.map +1 -1
  106. package/lib/components/forms/select/select.styles.js +23 -6
  107. package/lib/components/forms/select/select.template.d.ts.map +1 -1
  108. package/lib/components/forms/select/select.template.js +25 -9
  109. package/lib/components/forms/slider/slider.component.js +1 -1
  110. package/lib/components/forms/slider/slider.styles.d.ts.map +1 -1
  111. package/lib/components/forms/slider/slider.styles.js +11 -0
  112. package/lib/components/forms/slider/slider.template.d.ts.map +1 -1
  113. package/lib/components/forms/slider/slider.template.js +5 -1
  114. package/lib/components/forms/textarea/textarea.styles.d.ts.map +1 -1
  115. package/lib/components/forms/textarea/textarea.styles.js +13 -2
  116. package/lib/components/forms/time-picker/time-picker.component.d.ts +1 -2
  117. package/lib/components/forms/time-picker/time-picker.component.d.ts.map +1 -1
  118. package/lib/components/forms/time-picker/time-picker.component.js +8 -17
  119. package/lib/components/forms/time-picker/time-picker.styles.d.ts.map +1 -1
  120. package/lib/components/forms/time-picker/time-picker.styles.js +23 -3
  121. package/lib/components/forms/toggle/toggle.styles.d.ts.map +1 -1
  122. package/lib/components/forms/toggle/toggle.styles.js +13 -2
  123. package/lib/components/foundation/card/card.styles.d.ts.map +1 -1
  124. package/lib/components/foundation/card/card.styles.js +11 -0
  125. package/lib/components/foundation/container/container.styles.js +4 -4
  126. package/lib/components/navigation/breadcrumb/breadcrumb-item.template.d.ts.map +1 -1
  127. package/lib/components/navigation/breadcrumb/breadcrumb-item.template.js +5 -3
  128. package/lib/components/navigation/sidebar/sidebar-item.styles.js +4 -4
  129. package/lib/components/navigation/sidebar/sidebar-item.template.js +2 -2
  130. package/lib/components/navigation/sidebar/sidebar.styles.js +5 -5
  131. package/lib/components/navigation/sidebar/sidebar.template.js +2 -2
  132. package/lib/components/navigation/steps/step.styles.js +3 -3
  133. package/lib/components/navigation/steps/steps.styles.js +3 -3
  134. package/lib/components/navigation/tabs/tabs.component.d.ts.map +1 -1
  135. package/lib/components/navigation/tabs/tabs.component.js +4 -1
  136. package/lib/components/navigation/tabs/tabs.styles.js +8 -8
  137. package/lib/components/overlays/dialog/dialog.component.d.ts +15 -2
  138. package/lib/components/overlays/dialog/dialog.component.d.ts.map +1 -1
  139. package/lib/components/overlays/dialog/dialog.component.js +33 -1
  140. package/lib/components/overlays/dialog/dialog.service.d.ts +8 -2
  141. package/lib/components/overlays/dialog/dialog.service.d.ts.map +1 -1
  142. package/lib/components/overlays/dialog/dialog.service.js +1 -0
  143. package/lib/components/overlays/dialog/index.d.ts +1 -0
  144. package/lib/components/overlays/dialog/index.d.ts.map +1 -1
  145. package/lib/components/overlays/drawer/drawer.component.d.ts +18 -3
  146. package/lib/components/overlays/drawer/drawer.component.d.ts.map +1 -1
  147. package/lib/components/overlays/drawer/drawer.component.js +59 -16
  148. package/lib/components/overlays/dropdown/dropdown-item.styles.d.ts.map +1 -1
  149. package/lib/components/overlays/dropdown/dropdown-item.styles.js +12 -0
  150. package/lib/components/overlays/popover/popover.component.d.ts +12 -0
  151. package/lib/components/overlays/popover/popover.component.d.ts.map +1 -1
  152. package/lib/components/overlays/popover/popover.component.js +28 -1
  153. package/lib/components/overlays/popover/popover.template.d.ts.map +1 -1
  154. package/lib/components/overlays/popover/popover.template.js +2 -0
  155. package/lib/components/overlays/tooltip/tooltip.component.d.ts +8 -5
  156. package/lib/components/overlays/tooltip/tooltip.component.d.ts.map +1 -1
  157. package/lib/components/overlays/tooltip/tooltip.component.js +10 -3
  158. package/lib/components/sections/app-shell/app-shell.styles.js +1 -1
  159. package/lib/directives/tooltip.directive.d.ts.map +1 -1
  160. package/lib/directives/tooltip.directive.js +22 -3
  161. package/lib/theme/presets/base.preset.d.ts.map +1 -1
  162. package/lib/theme/presets/base.preset.js +17 -0
  163. package/lib/theme/presets/dark.preset.d.ts +8 -0
  164. package/lib/theme/presets/dark.preset.d.ts.map +1 -1
  165. package/lib/theme/presets/dark.preset.js +9 -0
  166. package/lib/theme/presets/light.preset.d.ts +6 -0
  167. package/lib/theme/presets/light.preset.d.ts.map +1 -1
  168. package/lib/theme/presets/light.preset.js +7 -0
  169. package/lib/theme/tokens/all-tokens.d.ts +10 -0
  170. package/lib/theme/tokens/all-tokens.d.ts.map +1 -1
  171. package/lib/theme/tokens/colors.tokens.d.ts +8 -0
  172. package/lib/theme/tokens/colors.tokens.d.ts.map +1 -1
  173. package/lib/theme/tokens/colors.tokens.js +11 -0
  174. package/lib/theme/tokens/transitions.tokens.d.ts +1 -0
  175. package/lib/theme/tokens/transitions.tokens.d.ts.map +1 -1
  176. package/lib/theme/tokens/transitions.tokens.js +3 -0
  177. package/lib/theme/tokens/typography.tokens.d.ts +1 -0
  178. package/lib/theme/tokens/typography.tokens.d.ts.map +1 -1
  179. package/lib/theme/tokens/typography.tokens.js +1 -0
  180. package/lib/utils/accessibility/cross-root-aria.d.ts +16 -8
  181. package/lib/utils/accessibility/cross-root-aria.d.ts.map +1 -1
  182. package/lib/utils/accessibility/cross-root-aria.js +58 -22
  183. package/lib/utils/accessibility/focus-trap.d.ts.map +1 -1
  184. package/lib/utils/accessibility/focus-trap.js +9 -19
  185. package/lib/utils/accessibility/focus-utils.d.ts +10 -1
  186. package/lib/utils/accessibility/focus-utils.d.ts.map +1 -1
  187. package/lib/utils/accessibility/focus-utils.js +48 -14
  188. package/lib/utils/accessibility/index.d.ts +2 -1
  189. package/lib/utils/accessibility/index.d.ts.map +1 -1
  190. package/lib/utils/accessibility/index.js +1 -1
  191. package/lib/utils/positioning/compute-position.d.ts +6 -1
  192. package/lib/utils/positioning/compute-position.d.ts.map +1 -1
  193. package/lib/utils/positioning/compute-position.js +3 -2
  194. package/lib/utils/positioning/middlewares/flip.middleware.js +2 -51
  195. package/package.json +8 -5
  196. package/assets/fonts/phosphor/Phosphor-Bold.svg +0 -3057
  197. package/assets/fonts/phosphor/Phosphor-Bold.ttf +0 -0
  198. package/assets/fonts/phosphor/Phosphor-Bold.woff +0 -0
  199. package/assets/fonts/phosphor/Phosphor-Fill.svg +0 -3057
  200. package/assets/fonts/phosphor/Phosphor-Fill.ttf +0 -0
  201. package/assets/fonts/phosphor/Phosphor-Fill.woff +0 -0
  202. package/assets/fonts/phosphor/Phosphor-Light.svg +0 -3057
  203. package/assets/fonts/phosphor/Phosphor-Light.ttf +0 -0
  204. package/assets/fonts/phosphor/Phosphor-Light.woff +0 -0
  205. package/assets/fonts/phosphor/Phosphor-Thin.svg +0 -3057
  206. package/assets/fonts/phosphor/Phosphor-Thin.ttf +0 -0
  207. package/assets/fonts/phosphor/Phosphor-Thin.woff +0 -0
  208. package/assets/fonts/phosphor/Phosphor.svg +0 -3056
  209. package/assets/fonts/phosphor/Phosphor.ttf +0 -0
  210. package/assets/fonts/phosphor/Phosphor.woff +0 -0
package/README.md CHANGED
@@ -26,7 +26,7 @@ Add a single `<link>` tag to your HTML. It includes design tokens (light + dark
26
26
  > **Production tip:** Pin to a specific version and use the minified build to avoid unexpected changes:
27
27
  > ```html
28
28
  > <link melodic-styles rel="stylesheet"
29
- > href="https://unpkg.com/@melodicdev/components@3/assets/melodic-components.min.css">
29
+ > href="https://unpkg.com/@melodicdev/components@4/assets/melodic-components.min.css">
30
30
  > ```
31
31
 
32
32
  The `melodic-styles` attribute has no special browser meaning — it's just a convenient selector if you ever need to find or replace the element from JavaScript:
@@ -80,9 +80,9 @@ If you're not using a bundler, you can load everything — styles, fonts, and al
80
80
  <html data-theme="light">
81
81
  <head>
82
82
  <link melodic-styles rel="stylesheet"
83
- href="https://unpkg.com/@melodicdev/components@3/assets/melodic-components.min.css">
83
+ href="https://unpkg.com/@melodicdev/components@4/assets/melodic-components.min.css">
84
84
  <script type="module"
85
- src="https://unpkg.com/@melodicdev/components@3/assets/melodic-components.min.js"></script>
85
+ src="https://unpkg.com/@melodicdev/components@4/assets/melodic-components.min.js"></script>
86
86
  </head>
87
87
  <body>
88
88
  <ml-button>Hello</ml-button>
@@ -97,7 +97,7 @@ The theme API is available as a named export from the module:
97
97
 
98
98
  ```html
99
99
  <script type="module">
100
- import { applyTheme } from 'https://unpkg.com/@melodicdev/components@3/assets/melodic-components.min.js';
100
+ import { applyTheme } from 'https://unpkg.com/@melodicdev/components@4/assets/melodic-components.min.js';
101
101
  applyTheme('dark');
102
102
  </script>
103
103
  ```
@@ -1,10 +1,6 @@
1
1
  @font-face {
2
2
  font-family: 'Phosphor-Bold';
3
- src:
4
- url('./Phosphor-Bold.woff2') format('woff2'),
5
- url('./Phosphor-Bold.woff') format('woff'),
6
- url('./Phosphor-Bold.ttf') format('truetype'),
7
- url('./Phosphor-Bold.svg#Phosphor-Bold') format('svg');
3
+ src: url('./Phosphor-Bold.woff2') format('woff2');
8
4
  font-weight: normal;
9
5
  font-style: normal;
10
6
  font-display: block;
@@ -12,11 +8,7 @@
12
8
 
13
9
  @font-face {
14
10
  font-family: 'Phosphor-Fill';
15
- src:
16
- url('./Phosphor-Fill.woff2') format('woff2'),
17
- url('./Phosphor-Fill.woff') format('woff'),
18
- url('./Phosphor-Fill.ttf') format('truetype'),
19
- url('./Phosphor-Fill.svg#Phosphor-Fill') format('svg');
11
+ src: url('./Phosphor-Fill.woff2') format('woff2');
20
12
  font-weight: normal;
21
13
  font-style: normal;
22
14
  font-display: block;
@@ -24,11 +16,7 @@
24
16
 
25
17
  @font-face {
26
18
  font-family: 'Phosphor-Light';
27
- src:
28
- url('./Phosphor-Light.woff2') format('woff2'),
29
- url('./Phosphor-Light.woff') format('woff'),
30
- url('./Phosphor-Light.ttf') format('truetype'),
31
- url('./Phosphor-Light.svg#Phosphor-Light') format('svg');
19
+ src: url('./Phosphor-Light.woff2') format('woff2');
32
20
  font-weight: normal;
33
21
  font-style: normal;
34
22
  font-display: block;
@@ -36,11 +24,7 @@
36
24
 
37
25
  @font-face {
38
26
  font-family: 'Phosphor';
39
- src:
40
- url('./Phosphor.woff2') format('woff2'),
41
- url('./Phosphor.woff') format('woff'),
42
- url('./Phosphor.ttf') format('truetype'),
43
- url('./Phosphor.svg#Phosphor') format('svg');
27
+ src: url('./Phosphor.woff2') format('woff2');
44
28
  font-weight: normal;
45
29
  font-style: normal;
46
30
  font-display: block;
@@ -48,11 +32,7 @@
48
32
 
49
33
  @font-face {
50
34
  font-family: 'Phosphor-Thin';
51
- src:
52
- url('./Phosphor-Thin.woff2') format('woff2'),
53
- url('./Phosphor-Thin.woff') format('woff'),
54
- url('./Phosphor-Thin.ttf') format('truetype'),
55
- url('./Phosphor-Thin.svg#Phosphor-Thin') format('svg');
35
+ src: url('./Phosphor-Thin.woff2') format('woff2');
56
36
  font-weight: normal;
57
37
  font-style: normal;
58
38
  font-display: block;
@@ -7,11 +7,7 @@
7
7
 
8
8
  @font-face {
9
9
  font-family: 'Phosphor-Bold';
10
- src:
11
- url('./fonts/phosphor/Phosphor-Bold.woff2') format('woff2'),
12
- url('./fonts/phosphor/Phosphor-Bold.woff') format('woff'),
13
- url('./fonts/phosphor/Phosphor-Bold.ttf') format('truetype'),
14
- url('./fonts/phosphor/Phosphor-Bold.svg#Phosphor-Bold') format('svg');
10
+ src: url('./fonts/phosphor/Phosphor-Bold.woff2') format('woff2');
15
11
  font-weight: normal;
16
12
  font-style: normal;
17
13
  font-display: block;
@@ -19,11 +15,7 @@
19
15
 
20
16
  @font-face {
21
17
  font-family: 'Phosphor-Fill';
22
- src:
23
- url('./fonts/phosphor/Phosphor-Fill.woff2') format('woff2'),
24
- url('./fonts/phosphor/Phosphor-Fill.woff') format('woff'),
25
- url('./fonts/phosphor/Phosphor-Fill.ttf') format('truetype'),
26
- url('./fonts/phosphor/Phosphor-Fill.svg#Phosphor-Fill') format('svg');
18
+ src: url('./fonts/phosphor/Phosphor-Fill.woff2') format('woff2');
27
19
  font-weight: normal;
28
20
  font-style: normal;
29
21
  font-display: block;
@@ -31,11 +23,7 @@
31
23
 
32
24
  @font-face {
33
25
  font-family: 'Phosphor-Light';
34
- src:
35
- url('./fonts/phosphor/Phosphor-Light.woff2') format('woff2'),
36
- url('./fonts/phosphor/Phosphor-Light.woff') format('woff'),
37
- url('./fonts/phosphor/Phosphor-Light.ttf') format('truetype'),
38
- url('./fonts/phosphor/Phosphor-Light.svg#Phosphor-Light') format('svg');
26
+ src: url('./fonts/phosphor/Phosphor-Light.woff2') format('woff2');
39
27
  font-weight: normal;
40
28
  font-style: normal;
41
29
  font-display: block;
@@ -43,11 +31,7 @@
43
31
 
44
32
  @font-face {
45
33
  font-family: 'Phosphor';
46
- src:
47
- url('./fonts/phosphor/Phosphor.woff2') format('woff2'),
48
- url('./fonts/phosphor/Phosphor.woff') format('woff'),
49
- url('./fonts/phosphor/Phosphor.ttf') format('truetype'),
50
- url('./fonts/phosphor/Phosphor.svg#Phosphor') format('svg');
34
+ src: url('./fonts/phosphor/Phosphor.woff2') format('woff2');
51
35
  font-weight: normal;
52
36
  font-style: normal;
53
37
  font-display: block;
@@ -55,11 +39,7 @@
55
39
 
56
40
  @font-face {
57
41
  font-family: 'Phosphor-Thin';
58
- src:
59
- url('./fonts/phosphor/Phosphor-Thin.woff2') format('woff2'),
60
- url('./fonts/phosphor/Phosphor-Thin.woff') format('woff'),
61
- url('./fonts/phosphor/Phosphor-Thin.ttf') format('truetype'),
62
- url('./fonts/phosphor/Phosphor-Thin.svg#Phosphor-Thin') format('svg');
42
+ src: url('./fonts/phosphor/Phosphor-Thin.woff2') format('woff2');
63
43
  font-weight: normal;
64
44
  font-style: normal;
65
45
  font-display: block;
@@ -171,6 +151,8 @@
171
151
  --ml-color-danger: var(--ml-red-600);
172
152
  --ml-color-danger-hover: var(--ml-red-700);
173
153
  --ml-color-danger-subtle: var(--ml-red-50);
154
+ --ml-color-error: var(--ml-color-danger);
155
+ --ml-color-error-subtle: var(--ml-color-danger-subtle);
174
156
  --ml-color-info: var(--ml-cyan-600);
175
157
  --ml-color-info-hover: var(--ml-cyan-700);
176
158
  --ml-color-info-subtle: var(--ml-cyan-50);
@@ -179,10 +161,16 @@
179
161
  --ml-color-surface-raised: var(--ml-gray-50);
180
162
  --ml-color-surface-overlay: var(--ml-white);
181
163
  --ml-color-surface-sunken: var(--ml-gray-100);
164
+ --ml-color-surface-hover: var(--ml-color-surface-raised);
165
+ --ml-color-surface-secondary: var(--ml-color-surface-raised);
166
+ --ml-color-surface-tertiary: var(--ml-color-surface-sunken);
167
+ --ml-color-bg-secondary: var(--ml-color-surface-raised);
182
168
  --ml-color-text: var(--ml-gray-900);
183
169
  --ml-color-text-secondary: var(--ml-gray-700);
184
170
  --ml-color-text-muted: var(--ml-gray-500);
185
171
  --ml-color-text-subtle: var(--ml-gray-400);
172
+ --ml-color-text-tertiary: var(--ml-color-text-muted);
173
+ --ml-color-text-disabled: var(--ml-color-text-subtle);
186
174
  --ml-color-text-inverse: var(--ml-white);
187
175
  --ml-color-text-link: var(--ml-blue-600);
188
176
  --ml-color-text-link-hover: var(--ml-blue-700);
@@ -286,6 +274,7 @@
286
274
  --ml-font-extralight: 200;
287
275
  --ml-font-light: 300;
288
276
  --ml-font-normal: 400;
277
+ --ml-font-regular: var(--ml-font-normal);
289
278
  --ml-font-medium: 500;
290
279
  --ml-font-semibold: 600;
291
280
  --ml-font-bold: 700;
@@ -358,6 +347,7 @@
358
347
  --ml-ease-out: cubic-bezier(0, 0, 0.2, 1);
359
348
  --ml-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
360
349
  --ml-ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
350
+ --ml-transition-normal: var(--ml-duration-200) var(--ml-ease-in-out);
361
351
  --ml-transition-none: none;
362
352
  --ml-transition-all: all var(--ml-duration-150) var(--ml-ease-in-out);
363
353
  --ml-transition-colors: color var(--ml-duration-150) var(--ml-ease-in-out), background-color var(--ml-duration-150) var(--ml-ease-in-out), border-color var(--ml-duration-150) var(--ml-ease-in-out);
@@ -375,6 +365,19 @@
375
365
  color-scheme: light;
376
366
  }
377
367
 
368
+ @media (prefers-reduced-motion: reduce) {
369
+ :root {
370
+ --ml-duration-75: 0ms;
371
+ --ml-duration-100: 0ms;
372
+ --ml-duration-150: 0ms;
373
+ --ml-duration-200: 0ms;
374
+ --ml-duration-300: 0ms;
375
+ --ml-duration-500: 0ms;
376
+ --ml-duration-700: 0ms;
377
+ --ml-duration-1000: 0ms;
378
+ }
379
+ }
380
+
378
381
  /* ─── Light Theme ─────────────────────────────────────────────────────────── */
379
382
 
380
383
  :root, [data-theme="light"] {
@@ -383,10 +386,16 @@
383
386
  --ml-color-surface-raised: var(--ml-gray-50);
384
387
  --ml-color-surface-overlay: var(--ml-white);
385
388
  --ml-color-surface-sunken: var(--ml-gray-100);
389
+ --ml-color-surface-hover: var(--ml-color-surface-raised);
390
+ --ml-color-surface-secondary: var(--ml-color-surface-raised);
391
+ --ml-color-surface-tertiary: var(--ml-color-surface-sunken);
392
+ --ml-color-bg-secondary: var(--ml-color-surface-raised);
386
393
  --ml-color-text: var(--ml-gray-900);
387
394
  --ml-color-text-secondary: var(--ml-gray-700);
388
395
  --ml-color-text-muted: var(--ml-gray-500);
389
396
  --ml-color-text-subtle: var(--ml-gray-400);
397
+ --ml-color-text-tertiary: var(--ml-color-text-muted);
398
+ --ml-color-text-disabled: var(--ml-color-text-subtle);
390
399
  --ml-color-text-inverse: var(--ml-white);
391
400
  --ml-color-border: var(--ml-gray-200);
392
401
  --ml-color-border-strong: var(--ml-gray-300);
@@ -403,10 +412,16 @@
403
412
  --ml-color-surface-raised: var(--ml-gray-800);
404
413
  --ml-color-surface-overlay: var(--ml-gray-800);
405
414
  --ml-color-surface-sunken: var(--ml-gray-950);
415
+ --ml-color-surface-hover: var(--ml-color-surface-raised);
416
+ --ml-color-surface-secondary: var(--ml-color-surface-raised);
417
+ --ml-color-surface-tertiary: var(--ml-color-surface-sunken);
418
+ --ml-color-bg-secondary: var(--ml-color-surface-raised);
406
419
  --ml-color-text: var(--ml-gray-50);
407
420
  --ml-color-text-secondary: var(--ml-gray-300);
408
421
  --ml-color-text-muted: var(--ml-gray-400);
409
422
  --ml-color-text-subtle: var(--ml-gray-500);
423
+ --ml-color-text-tertiary: var(--ml-color-text-muted);
424
+ --ml-color-text-disabled: var(--ml-color-text-subtle);
410
425
  --ml-color-text-inverse: var(--ml-gray-900);
411
426
  --ml-color-border: var(--ml-gray-700);
412
427
  --ml-color-border-strong: var(--ml-gray-600);
@@ -421,6 +436,8 @@
421
436
  --ml-color-warning-subtle: var(--ml-amber-950);
422
437
  --ml-color-danger: var(--ml-red-500);
423
438
  --ml-color-danger-subtle: var(--ml-red-950);
439
+ --ml-color-error: var(--ml-color-danger);
440
+ --ml-color-error-subtle: var(--ml-color-danger-subtle);
424
441
  --ml-color-info: var(--ml-cyan-400);
425
442
  --ml-color-info-subtle: var(--ml-cyan-950);
426
443
  --ml-color-input-bg: var(--ml-gray-900);
@@ -477,10 +494,16 @@
477
494
  --ml-color-surface-raised: var(--ml-gray-800);
478
495
  --ml-color-surface-overlay: var(--ml-gray-800);
479
496
  --ml-color-surface-sunken: var(--ml-gray-950);
497
+ --ml-color-surface-hover: var(--ml-color-surface-raised);
498
+ --ml-color-surface-secondary: var(--ml-color-surface-raised);
499
+ --ml-color-surface-tertiary: var(--ml-color-surface-sunken);
500
+ --ml-color-bg-secondary: var(--ml-color-surface-raised);
480
501
  --ml-color-text: var(--ml-gray-50);
481
502
  --ml-color-text-secondary: var(--ml-gray-300);
482
503
  --ml-color-text-muted: var(--ml-gray-400);
483
504
  --ml-color-text-subtle: var(--ml-gray-500);
505
+ --ml-color-text-tertiary: var(--ml-color-text-muted);
506
+ --ml-color-text-disabled: var(--ml-color-text-subtle);
484
507
  --ml-color-text-inverse: var(--ml-gray-900);
485
508
  --ml-color-border: var(--ml-gray-700);
486
509
  --ml-color-border-strong: var(--ml-gray-600);
@@ -495,6 +518,8 @@
495
518
  --ml-color-warning-subtle: var(--ml-amber-950);
496
519
  --ml-color-danger: var(--ml-red-500);
497
520
  --ml-color-danger-subtle: var(--ml-red-950);
521
+ --ml-color-error: var(--ml-color-danger);
522
+ --ml-color-error-subtle: var(--ml-color-danger-subtle);
498
523
  --ml-color-info: var(--ml-cyan-400);
499
524
  --ml-color-info-subtle: var(--ml-cyan-950);
500
525
  --ml-color-input-bg: var(--ml-gray-900);