@vellira-ui/tokens 2.25.0 → 2.26.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 (247) hide show
  1. package/dist/css/tokens.css +1217 -870
  2. package/dist/dark/components/button.d.ts +53 -53
  3. package/dist/dark/components/button.d.ts.map +1 -1
  4. package/dist/dark/components/button.js +58 -60
  5. package/dist/dark/components/checkbox.d.ts +17 -13
  6. package/dist/dark/components/checkbox.d.ts.map +1 -1
  7. package/dist/dark/components/checkbox.js +21 -10
  8. package/dist/dark/components/contextMenu.d.ts +89 -0
  9. package/dist/dark/components/contextMenu.d.ts.map +1 -0
  10. package/dist/dark/components/contextMenu.js +52 -0
  11. package/dist/dark/components/dropdown.d.ts +33 -13
  12. package/dist/dark/components/dropdown.d.ts.map +1 -1
  13. package/dist/dark/components/dropdown.js +30 -27
  14. package/dist/dark/components/formField.d.ts +2 -2
  15. package/dist/dark/components/formField.js +1 -1
  16. package/dist/dark/components/index.d.ts +1 -1
  17. package/dist/dark/components/index.d.ts.map +1 -1
  18. package/dist/dark/components/index.js +1 -1
  19. package/dist/dark/components/input.d.ts +26 -26
  20. package/dist/dark/components/input.js +11 -11
  21. package/dist/dark/components/modal.d.ts +21 -4
  22. package/dist/dark/components/modal.d.ts.map +1 -1
  23. package/dist/dark/components/modal.js +18 -4
  24. package/dist/dark/components/radio.d.ts +24 -19
  25. package/dist/dark/components/radio.d.ts.map +1 -1
  26. package/dist/dark/components/radio.js +19 -19
  27. package/dist/dark/components/select.d.ts +24 -14
  28. package/dist/dark/components/select.d.ts.map +1 -1
  29. package/dist/dark/components/select.js +31 -24
  30. package/dist/dark/components/tabs.d.ts +17 -12
  31. package/dist/dark/components/tabs.d.ts.map +1 -1
  32. package/dist/dark/components/tabs.js +9 -8
  33. package/dist/dark/components/tooltip.d.ts +2 -1
  34. package/dist/dark/components/tooltip.d.ts.map +1 -1
  35. package/dist/dark/components/tooltip.js +7 -7
  36. package/dist/dark/semantic/action.d.ts +30 -30
  37. package/dist/dark/semantic/action.d.ts.map +1 -1
  38. package/dist/dark/semantic/action.js +45 -45
  39. package/dist/dark/semantic/border.d.ts +5 -5
  40. package/dist/dark/semantic/border.d.ts.map +1 -1
  41. package/dist/dark/semantic/border.js +5 -5
  42. package/dist/dark/semantic/control.d.ts +21 -16
  43. package/dist/dark/semantic/control.d.ts.map +1 -1
  44. package/dist/dark/semantic/control.js +24 -19
  45. package/dist/dark/semantic/divider.d.ts +3 -3
  46. package/dist/dark/semantic/divider.js +3 -3
  47. package/dist/dark/semantic/focus.d.ts +6 -2
  48. package/dist/dark/semantic/focus.d.ts.map +1 -1
  49. package/dist/dark/semantic/focus.js +6 -2
  50. package/dist/dark/semantic/icons.d.ts +10 -11
  51. package/dist/dark/semantic/icons.d.ts.map +1 -1
  52. package/dist/dark/semantic/icons.js +10 -11
  53. package/dist/dark/semantic/index.d.ts +3 -0
  54. package/dist/dark/semantic/index.d.ts.map +1 -1
  55. package/dist/dark/semantic/index.js +3 -0
  56. package/dist/dark/{components → semantic}/menu.d.ts +14 -19
  57. package/dist/dark/semantic/menu.d.ts.map +1 -0
  58. package/dist/dark/semantic/menu.js +47 -0
  59. package/dist/dark/semantic/navigation.d.ts +8 -8
  60. package/dist/dark/semantic/navigation.d.ts.map +1 -1
  61. package/dist/dark/semantic/navigation.js +5 -4
  62. package/dist/dark/semantic/overlay.d.ts +17 -0
  63. package/dist/dark/semantic/overlay.d.ts.map +1 -0
  64. package/dist/dark/semantic/overlay.js +19 -0
  65. package/dist/dark/semantic/shadow.d.ts +8 -0
  66. package/dist/dark/semantic/shadow.d.ts.map +1 -0
  67. package/dist/dark/semantic/shadow.js +7 -0
  68. package/dist/dark/semantic/skeleton.d.ts +2 -2
  69. package/dist/dark/semantic/skeleton.js +2 -2
  70. package/dist/dark/semantic/status.d.ts +12 -8
  71. package/dist/dark/semantic/status.d.ts.map +1 -1
  72. package/dist/dark/semantic/status.js +12 -8
  73. package/dist/dark/semantic/surface.d.ts +4 -4
  74. package/dist/dark/semantic/surface.d.ts.map +1 -1
  75. package/dist/dark/semantic/surface.js +4 -4
  76. package/dist/dark/semantic/text.d.ts +6 -5
  77. package/dist/dark/semantic/text.d.ts.map +1 -1
  78. package/dist/dark/semantic/text.js +6 -5
  79. package/dist/generated/token-types.d.ts +5 -5
  80. package/dist/generated/token-types.d.ts.map +1 -1
  81. package/dist/generated/token-types.js +565 -132
  82. package/dist/highContrast/components/button.d.ts +70 -70
  83. package/dist/highContrast/components/button.d.ts.map +1 -1
  84. package/dist/highContrast/components/button.js +68 -69
  85. package/dist/highContrast/components/checkbox.d.ts +19 -15
  86. package/dist/highContrast/components/checkbox.d.ts.map +1 -1
  87. package/dist/highContrast/components/checkbox.js +22 -12
  88. package/dist/highContrast/components/contextMenu.d.ts +89 -0
  89. package/dist/highContrast/components/contextMenu.d.ts.map +1 -0
  90. package/dist/highContrast/components/contextMenu.js +52 -0
  91. package/dist/highContrast/components/dropdown.d.ts +45 -25
  92. package/dist/highContrast/components/dropdown.d.ts.map +1 -1
  93. package/dist/highContrast/components/dropdown.js +28 -37
  94. package/dist/highContrast/components/formField.d.ts +5 -5
  95. package/dist/highContrast/components/formField.js +2 -2
  96. package/dist/highContrast/components/index.d.ts +1 -1
  97. package/dist/highContrast/components/index.d.ts.map +1 -1
  98. package/dist/highContrast/components/index.js +1 -1
  99. package/dist/highContrast/components/input.d.ts +29 -29
  100. package/dist/highContrast/components/input.d.ts.map +1 -1
  101. package/dist/highContrast/components/input.js +16 -17
  102. package/dist/highContrast/components/modal.d.ts +22 -5
  103. package/dist/highContrast/components/modal.d.ts.map +1 -1
  104. package/dist/highContrast/components/modal.js +19 -6
  105. package/dist/highContrast/components/radio.d.ts +27 -22
  106. package/dist/highContrast/components/radio.d.ts.map +1 -1
  107. package/dist/highContrast/components/radio.js +20 -20
  108. package/dist/highContrast/components/select.d.ts +27 -17
  109. package/dist/highContrast/components/select.d.ts.map +1 -1
  110. package/dist/highContrast/components/select.js +31 -30
  111. package/dist/highContrast/components/tabs.d.ts +21 -16
  112. package/dist/highContrast/components/tabs.d.ts.map +1 -1
  113. package/dist/highContrast/components/tabs.js +18 -15
  114. package/dist/highContrast/components/tooltip.d.ts +3 -2
  115. package/dist/highContrast/components/tooltip.d.ts.map +1 -1
  116. package/dist/highContrast/components/tooltip.js +7 -7
  117. package/dist/highContrast/semantic/action.d.ts +48 -38
  118. package/dist/highContrast/semantic/action.d.ts.map +1 -1
  119. package/dist/highContrast/semantic/action.js +58 -49
  120. package/dist/highContrast/semantic/border.d.ts +4 -4
  121. package/dist/highContrast/semantic/border.d.ts.map +1 -1
  122. package/dist/highContrast/semantic/border.js +4 -4
  123. package/dist/highContrast/semantic/control.d.ts +23 -28
  124. package/dist/highContrast/semantic/control.d.ts.map +1 -1
  125. package/dist/highContrast/semantic/control.js +24 -29
  126. package/dist/highContrast/semantic/divider.d.ts +2 -2
  127. package/dist/highContrast/semantic/divider.js +2 -2
  128. package/dist/highContrast/semantic/focus.d.ts +6 -2
  129. package/dist/highContrast/semantic/focus.d.ts.map +1 -1
  130. package/dist/highContrast/semantic/focus.js +6 -2
  131. package/dist/highContrast/semantic/icons.d.ts +10 -11
  132. package/dist/highContrast/semantic/icons.d.ts.map +1 -1
  133. package/dist/highContrast/semantic/icons.js +11 -12
  134. package/dist/highContrast/semantic/index.d.ts +4 -0
  135. package/dist/highContrast/semantic/index.d.ts.map +1 -1
  136. package/dist/highContrast/semantic/index.js +4 -0
  137. package/dist/highContrast/{components → semantic}/menu.d.ts +20 -25
  138. package/dist/highContrast/semantic/menu.d.ts.map +1 -0
  139. package/dist/highContrast/semantic/menu.js +47 -0
  140. package/dist/highContrast/semantic/navigation.d.ts +14 -25
  141. package/dist/highContrast/semantic/navigation.d.ts.map +1 -1
  142. package/dist/highContrast/semantic/navigation.js +12 -23
  143. package/dist/highContrast/semantic/overlay.d.ts +17 -0
  144. package/dist/highContrast/semantic/overlay.d.ts.map +1 -0
  145. package/dist/highContrast/semantic/overlay.js +19 -0
  146. package/dist/highContrast/semantic/shadow.d.ts +8 -0
  147. package/dist/highContrast/semantic/shadow.d.ts.map +1 -0
  148. package/dist/highContrast/semantic/shadow.js +7 -0
  149. package/dist/highContrast/semantic/skeleton.d.ts +1 -1
  150. package/dist/highContrast/semantic/skeleton.js +1 -1
  151. package/dist/highContrast/semantic/status.d.ts +17 -13
  152. package/dist/highContrast/semantic/status.d.ts.map +1 -1
  153. package/dist/highContrast/semantic/status.js +17 -13
  154. package/dist/highContrast/semantic/surface.d.ts +6 -6
  155. package/dist/highContrast/semantic/surface.d.ts.map +1 -1
  156. package/dist/highContrast/semantic/surface.js +7 -7
  157. package/dist/highContrast/semantic/text.d.ts +7 -6
  158. package/dist/highContrast/semantic/text.d.ts.map +1 -1
  159. package/dist/highContrast/semantic/text.js +7 -6
  160. package/dist/light/components/button.d.ts +49 -49
  161. package/dist/light/components/button.d.ts.map +1 -1
  162. package/dist/light/components/button.js +62 -64
  163. package/dist/light/components/checkbox.d.ts +18 -14
  164. package/dist/light/components/checkbox.d.ts.map +1 -1
  165. package/dist/light/components/checkbox.js +16 -12
  166. package/dist/light/components/contextMenu.d.ts +89 -0
  167. package/dist/light/components/contextMenu.d.ts.map +1 -0
  168. package/dist/light/components/contextMenu.js +52 -0
  169. package/dist/light/components/dropdown.d.ts +38 -18
  170. package/dist/light/components/dropdown.d.ts.map +1 -1
  171. package/dist/light/components/dropdown.js +21 -31
  172. package/dist/light/components/formField.d.ts +7 -7
  173. package/dist/light/components/formField.js +1 -1
  174. package/dist/light/components/index.d.ts +1 -1
  175. package/dist/light/components/index.d.ts.map +1 -1
  176. package/dist/light/components/index.js +1 -1
  177. package/dist/light/components/input.d.ts +31 -31
  178. package/dist/light/components/input.d.ts.map +1 -1
  179. package/dist/light/components/input.js +14 -15
  180. package/dist/light/components/modal.d.ts +25 -8
  181. package/dist/light/components/modal.d.ts.map +1 -1
  182. package/dist/light/components/modal.js +19 -6
  183. package/dist/light/components/radio.d.ts +23 -18
  184. package/dist/light/components/radio.d.ts.map +1 -1
  185. package/dist/light/components/radio.js +21 -21
  186. package/dist/light/components/select.d.ts +28 -18
  187. package/dist/light/components/select.d.ts.map +1 -1
  188. package/dist/light/components/select.js +31 -26
  189. package/dist/light/components/tabs.d.ts +20 -15
  190. package/dist/light/components/tabs.d.ts.map +1 -1
  191. package/dist/light/components/tabs.js +14 -13
  192. package/dist/light/components/tooltip.d.ts +3 -2
  193. package/dist/light/components/tooltip.d.ts.map +1 -1
  194. package/dist/light/components/tooltip.js +7 -7
  195. package/dist/light/semantic/action.d.ts +30 -28
  196. package/dist/light/semantic/action.d.ts.map +1 -1
  197. package/dist/light/semantic/action.js +38 -36
  198. package/dist/light/semantic/border.d.ts +4 -4
  199. package/dist/light/semantic/border.d.ts.map +1 -1
  200. package/dist/light/semantic/border.js +4 -4
  201. package/dist/light/semantic/control.d.ts +18 -13
  202. package/dist/light/semantic/control.d.ts.map +1 -1
  203. package/dist/light/semantic/control.js +18 -13
  204. package/dist/light/semantic/divider.d.ts +3 -3
  205. package/dist/light/semantic/divider.js +3 -3
  206. package/dist/light/semantic/focus.d.ts +6 -2
  207. package/dist/light/semantic/focus.d.ts.map +1 -1
  208. package/dist/light/semantic/focus.js +6 -2
  209. package/dist/light/semantic/icons.d.ts +10 -11
  210. package/dist/light/semantic/icons.d.ts.map +1 -1
  211. package/dist/light/semantic/icons.js +10 -11
  212. package/dist/light/semantic/index.d.ts +3 -0
  213. package/dist/light/semantic/index.d.ts.map +1 -1
  214. package/dist/light/semantic/index.js +3 -0
  215. package/dist/light/{components → semantic}/menu.d.ts +17 -22
  216. package/dist/light/semantic/menu.d.ts.map +1 -0
  217. package/dist/light/semantic/menu.js +47 -0
  218. package/dist/light/semantic/navigation.d.ts +13 -9
  219. package/dist/light/semantic/navigation.d.ts.map +1 -1
  220. package/dist/light/semantic/navigation.js +15 -9
  221. package/dist/light/semantic/overlay.d.ts +17 -0
  222. package/dist/light/semantic/overlay.d.ts.map +1 -0
  223. package/dist/light/semantic/overlay.js +19 -0
  224. package/dist/light/semantic/shadow.d.ts +8 -0
  225. package/dist/light/semantic/shadow.d.ts.map +1 -0
  226. package/dist/light/semantic/shadow.js +7 -0
  227. package/dist/light/semantic/skeleton.d.ts +2 -2
  228. package/dist/light/semantic/skeleton.js +2 -2
  229. package/dist/light/semantic/status.d.ts +14 -10
  230. package/dist/light/semantic/status.d.ts.map +1 -1
  231. package/dist/light/semantic/status.js +14 -10
  232. package/dist/light/semantic/surface.d.ts +6 -6
  233. package/dist/light/semantic/surface.d.ts.map +1 -1
  234. package/dist/light/semantic/surface.js +7 -7
  235. package/dist/light/semantic/text.d.ts +7 -5
  236. package/dist/light/semantic/text.d.ts.map +1 -1
  237. package/dist/light/semantic/text.js +7 -5
  238. package/dist/primitives/colors.d.ts +3 -5
  239. package/dist/primitives/colors.d.ts.map +1 -1
  240. package/dist/primitives/colors.js +3 -5
  241. package/package.json +1 -1
  242. package/dist/dark/components/menu.d.ts.map +0 -1
  243. package/dist/dark/components/menu.js +0 -47
  244. package/dist/highContrast/components/menu.d.ts.map +0 -1
  245. package/dist/highContrast/components/menu.js +0 -48
  246. package/dist/light/components/menu.d.ts.map +0 -1
  247. package/dist/light/components/menu.js +0 -48
@@ -1,12 +1,12 @@
1
1
  export declare const radio: {
2
2
  readonly default: {
3
- readonly bg: "#F4F1FB";
4
- readonly fg: "#4F4867";
3
+ readonly bg: "#FFFFFF";
4
+ readonly fg: "#3D3754";
5
5
  readonly border: "#BBB2D2";
6
6
  };
7
7
  readonly hover: {
8
8
  readonly bg: "#F4F3FF";
9
- readonly fg: "#5037C8";
9
+ readonly fg: "#402C9F";
10
10
  readonly border: "#5037C8";
11
11
  };
12
12
  readonly pressed: {
@@ -16,39 +16,44 @@ export declare const radio: {
16
16
  };
17
17
  readonly checked: {
18
18
  readonly default: {
19
- readonly fg: "#5037C8";
20
- readonly bg: "#6346E8";
19
+ readonly bg: "#FFFFFF";
20
+ readonly fg: "#6346E8";
21
21
  readonly border: "#6346E8";
22
+ readonly labelFg: "#5037C8";
22
23
  };
23
24
  readonly hover: {
25
+ readonly bg: "#F4F3FF";
24
26
  readonly fg: "#5037C8";
25
- readonly bg: "#402C9F";
26
- readonly border: "#402C9F";
27
+ readonly border: "#5037C8";
28
+ readonly labelFg: "#402C9F";
27
29
  };
28
30
  readonly pressed: {
29
- readonly fg: "#5037C8";
30
- readonly bg: "#21164F";
31
- readonly border: "#21164F";
31
+ readonly bg: "#E9E6FF";
32
+ readonly fg: "#402C9F";
33
+ readonly border: "#402C9F";
34
+ readonly labelFg: "#342580";
32
35
  };
33
36
  readonly disabled: {
34
- readonly bg: "#FFFFFF";
35
- readonly fg: "#9CA3AF";
36
- readonly border: "#BBB2D2";
37
+ readonly bg: "#F4F1FB";
38
+ readonly fg: "#958CB0";
39
+ readonly border: "#E4DDF4";
40
+ readonly labelFg: "#958CB0";
37
41
  };
38
42
  };
39
43
  readonly invalid: {
40
- readonly bg: "#F4F1FB";
41
- readonly fg: "#0F0F0F";
42
44
  readonly border: "#E11D48";
45
+ readonly ring: "#F43F5E";
46
+ readonly bg: "#FFFFFF";
47
+ readonly fg: "#3D3754";
43
48
  };
44
49
  readonly focus: {
45
50
  readonly ring: "#5037C8";
46
51
  readonly border: "#5037C8";
47
52
  };
48
53
  readonly disabled: {
49
- readonly bg: "#FFFFFF";
50
- readonly fg: "#9CA3AF";
51
- readonly border: "#BBB2D2";
54
+ readonly bg: "#F4F1FB";
55
+ readonly fg: "#958CB0";
56
+ readonly border: "#E4DDF4";
52
57
  };
53
58
  };
54
59
  //# sourceMappingURL=radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/light/components/radio.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDR,CAAC"}
1
+ {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/light/components/radio.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDR,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { colors } from '../../primitives/colors.js';
1
2
  import { border } from '../semantic/border.js';
2
3
  import { control } from '../semantic/control.js';
3
4
  import { focus } from '../semantic/focus.js';
@@ -5,44 +6,43 @@ import { status } from '../semantic/status.js';
5
6
  import { surface } from '../semantic/surface.js';
6
7
  import { text } from '../semantic/text.js';
7
8
  export const radio = {
8
- default: {
9
- bg: surface.default,
10
- fg: text.primary,
11
- border: border.default,
12
- },
9
+ default: control.default,
13
10
  hover: control.hover,
14
11
  pressed: control.active,
15
12
  checked: {
16
13
  default: {
17
- ...control.selected.default,
18
- fg: text.brand,
14
+ bg: surface.elevated,
15
+ fg: colors.primary[600],
16
+ border: colors.primary[600],
17
+ labelFg: text.interactive,
19
18
  },
20
19
  hover: {
21
- ...control.selected.hover,
22
- fg: text.brand,
20
+ bg: colors.primary[50],
21
+ fg: colors.primary[700],
22
+ border: colors.primary[700],
23
+ labelFg: text.interactiveHover,
23
24
  },
24
25
  pressed: {
25
- ...control.selected.active,
26
- fg: text.brand,
26
+ bg: colors.primary[100],
27
+ fg: colors.primary[800],
28
+ border: colors.primary[800],
29
+ labelFg: text.interactiveActive,
27
30
  },
28
31
  disabled: {
29
- bg: surface.subtle,
32
+ bg: surface.disabled,
30
33
  fg: text.disabled,
31
- border: border.default,
34
+ border: border.disabled,
35
+ labelFg: text.disabled,
32
36
  },
33
37
  },
34
38
  invalid: {
35
- bg: surface.default,
36
- fg: text.inverse,
39
+ ...control.default,
37
40
  border: status.error.border,
41
+ ring: status.error.ring,
38
42
  },
39
43
  focus: {
40
- ring: focus.ring,
44
+ ring: focus.ring.color,
41
45
  border: border.focus,
42
46
  },
43
- disabled: {
44
- bg: surface.subtle,
45
- fg: text.disabled,
46
- border: border.default,
47
- },
47
+ disabled: control.disabled,
48
48
  };
@@ -1,24 +1,24 @@
1
1
  export declare const select: {
2
2
  readonly trigger: {
3
3
  readonly default: {
4
- readonly bg: "#FFFFFF";
5
- readonly fg: "#1A1A1A";
4
+ readonly bg: "transparent";
5
+ readonly fg: "#3D3754";
6
6
  readonly border: "#BBB2D2";
7
7
  };
8
8
  readonly hover: {
9
9
  readonly bg: "#F4F3FF";
10
- readonly fg: "#5037C8";
10
+ readonly fg: "#402C9F";
11
11
  readonly border: "#5037C8";
12
12
  };
13
13
  readonly focus: {
14
- readonly bg: "#F4F1FB";
15
- readonly fg: "#4F4867";
14
+ readonly bg: "transparent";
15
+ readonly fg: "#3D3754";
16
16
  readonly border: "#5037C8";
17
17
  readonly ring: "#5037C8";
18
18
  };
19
19
  readonly disabled: {
20
20
  readonly bg: "#F4F1FB";
21
- readonly fg: "#9CA3AF";
21
+ readonly fg: "#958CB0";
22
22
  readonly border: "#E4DDF4";
23
23
  };
24
24
  readonly placeholder: {
@@ -26,37 +26,47 @@ export declare const select: {
26
26
  };
27
27
  readonly error: {
28
28
  readonly border: "#E11D48";
29
- readonly ring: "#FFE4E6";
29
+ readonly ring: "#F43F5E";
30
30
  };
31
31
  };
32
32
  readonly dropdown: {
33
33
  readonly bg: "#FFFFFF";
34
- readonly fg: "#4F4867";
35
- readonly border: "#EEE8FA";
34
+ readonly fg: "#3D3754";
35
+ readonly border: "#E4DDF4";
36
+ readonly shadow: "0 12px 40px rgba(24, 21, 33, 0.16), 0 2px 8px rgba(24, 21, 33, 0.1)";
36
37
  };
37
38
  readonly option: {
38
39
  readonly default: {
40
+ readonly border: "transparent";
39
41
  readonly bg: "transparent";
40
- readonly fg: "#4F4867";
41
- readonly border: "#EEE8FA";
42
+ readonly fg: "#3D3754";
42
43
  };
43
44
  readonly hover: {
45
+ readonly border: "transparent";
44
46
  readonly bg: "#F4F1FB";
45
- readonly fg: "#342580";
47
+ readonly fg: "#3D3754";
46
48
  };
47
49
  readonly active: {
50
+ readonly border: "transparent";
48
51
  readonly ring: "transparent";
49
- readonly bg: "#F4F1FB";
50
- readonly fg: "#342580";
52
+ readonly bg: "#EEE8FA";
53
+ readonly fg: "#3D3754";
54
+ };
55
+ readonly pressed: {
56
+ readonly border: "transparent";
57
+ readonly bg: "#E4DDF4";
58
+ readonly fg: "#3D3754";
51
59
  };
52
60
  readonly selected: {
53
- readonly bg: "#6346E8";
54
- readonly fg: "#FFFFFF";
61
+ readonly bg: "#E9E6FF";
62
+ readonly fg: "#342580";
63
+ readonly border: "#B8A8FF";
64
+ readonly shadow: "inset 0 1px 0 rgba(255, 255, 255, 0.55)";
55
65
  };
56
66
  readonly disabled: {
67
+ readonly border: "transparent";
57
68
  readonly bg: "transparent";
58
- readonly fg: "#9CA3AF";
59
- readonly border: "#EEE8FA";
69
+ readonly fg: "#958CB0";
60
70
  };
61
71
  };
62
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/light/components/select.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgET,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/light/components/select.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsET,CAAC"}
@@ -1,61 +1,66 @@
1
1
  import { border } from '../semantic/border.js';
2
2
  import { control } from '../semantic/control.js';
3
3
  import { focus } from '../semantic/focus.js';
4
- import { navigation } from '../semantic/navigation.js';
4
+ import { menu } from '../semantic/menu.js';
5
+ import { shadow } from '../semantic/shadow.js';
5
6
  import { status } from '../semantic/status.js';
6
- import { surface } from '../semantic/surface.js';
7
7
  import { text } from '../semantic/text.js';
8
8
  export const select = {
9
9
  trigger: {
10
10
  default: {
11
- bg: surface.subtle,
12
- fg: text.subtle,
11
+ bg: 'transparent',
12
+ fg: text.primary,
13
13
  border: border.default,
14
14
  },
15
15
  hover: control.hover,
16
16
  focus: {
17
- bg: surface.default,
17
+ bg: 'transparent',
18
18
  fg: text.primary,
19
19
  border: border.focus,
20
- ring: focus.ring,
21
- },
22
- disabled: {
23
- bg: surface.disabled,
24
- fg: text.disabled,
25
- border: border.disabled,
20
+ ring: focus.ring.color,
26
21
  },
22
+ disabled: control.disabled,
27
23
  placeholder: {
28
24
  fg: text.secondary,
29
25
  },
30
26
  error: {
31
- border: status.error.fg,
32
- ring: status.error.bg,
27
+ border: status.error.border,
28
+ ring: status.error.ring,
33
29
  },
34
30
  },
35
31
  dropdown: {
36
- bg: surface.subtle,
37
- fg: text.primary,
38
- border: border.muted,
32
+ bg: menu.background,
33
+ fg: menu.item.default.fg,
34
+ border: menu.border,
35
+ shadow: shadow.lg,
39
36
  },
40
37
  option: {
41
38
  default: {
42
- bg: 'transparent',
43
- fg: text.primary,
44
- border: border.muted,
39
+ ...menu.item.default,
40
+ border: 'transparent',
41
+ },
42
+ hover: {
43
+ ...menu.item.hover,
44
+ border: 'transparent',
45
45
  },
46
- hover: navigation.brandHover,
47
46
  active: {
48
- ...navigation.brandHover,
47
+ ...menu.item.active,
48
+ border: 'transparent',
49
49
  ring: 'transparent',
50
50
  },
51
+ pressed: {
52
+ ...menu.item.pressed,
53
+ border: 'transparent',
54
+ },
51
55
  selected: {
52
- bg: control.selected.default.bg,
53
- fg: control.selected.default.fg,
56
+ bg: control.selected.muted.bg,
57
+ fg: control.selected.muted.fg,
58
+ border: control.selected.muted.border,
59
+ shadow: shadow.inset,
54
60
  },
55
61
  disabled: {
56
- bg: 'transparent',
57
- fg: text.disabled,
58
- border: border.muted,
62
+ ...menu.item.disabled,
63
+ border: 'transparent',
59
64
  },
60
65
  },
61
66
  };
@@ -1,17 +1,17 @@
1
1
  export declare const tabs: {
2
2
  readonly list: {
3
- readonly border: "#BBB2D2";
3
+ readonly border: "#E4DDF4";
4
4
  };
5
5
  readonly trigger: {
6
6
  readonly default: {
7
7
  readonly bg: "transparent";
8
- readonly fg: "#4F4867";
8
+ readonly fg: "#6B6386";
9
9
  readonly border: "transparent";
10
10
  };
11
11
  readonly hover: {
12
12
  readonly bg: "transparent";
13
- readonly fg: "#F4F1FB";
14
- readonly border: "#F4F1FB";
13
+ readonly fg: "#402C9F";
14
+ readonly border: "transparent";
15
15
  };
16
16
  readonly active: {
17
17
  readonly bg: "transparent";
@@ -19,33 +19,38 @@ export declare const tabs: {
19
19
  readonly border: "#6346E8";
20
20
  };
21
21
  readonly focus: {
22
- readonly ring: "#F4F1FB";
22
+ readonly ring: {
23
+ readonly color: "#5037C8";
24
+ readonly width: "2px";
25
+ readonly shadow: "0 0 8px rgba(99, 70, 232, 0.14)";
26
+ readonly offset: "#FFFFFF";
27
+ };
23
28
  };
24
29
  readonly disabled: {
25
30
  readonly bg: "transparent";
26
- readonly fg: "#9CA3AF";
31
+ readonly fg: "#958CB0";
27
32
  readonly border: "transparent";
28
33
  };
29
34
  };
30
35
  readonly pills: {
31
36
  readonly default: {
32
37
  readonly bg: "transparent";
33
- readonly fg: "#4F4867";
38
+ readonly fg: "#6B6386";
34
39
  readonly border: "transparent";
35
40
  };
36
41
  readonly hover: {
37
- readonly bg: "#EEE8FA";
38
- readonly fg: "#4F4867";
42
+ readonly bg: "#F4F1FB";
43
+ readonly fg: "#3D3754";
39
44
  readonly border: "transparent";
40
45
  };
41
46
  readonly active: {
42
- readonly bg: "#5037C8";
43
- readonly fg: "#0F0F0F";
44
- readonly border: "#7C5CFF";
47
+ readonly bg: "#6346E8";
48
+ readonly fg: "#FFFFFF";
49
+ readonly border: "#6346E8";
45
50
  };
46
51
  readonly disabled: {
47
52
  readonly bg: "transparent";
48
- readonly fg: "#9CA3AF";
53
+ readonly fg: "#958CB0";
49
54
  readonly border: "transparent";
50
55
  };
51
56
  };
@@ -57,11 +62,11 @@ export declare const tabs: {
57
62
  readonly bg: "#5037C8";
58
63
  };
59
64
  readonly active: {
60
- readonly bg: "#5037C8";
65
+ readonly bg: "#6346E8";
61
66
  };
62
67
  };
63
68
  readonly panel: {
64
- readonly fg: "#4F4867";
69
+ readonly fg: "#3D3754";
65
70
  };
66
71
  };
67
72
  //# sourceMappingURL=tabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/light/components/tabs.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EP,CAAC"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/light/components/tabs.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EP,CAAC"}
@@ -1,31 +1,32 @@
1
1
  import { action } from '../semantic/action.js';
2
2
  import { border } from '../semantic/border.js';
3
3
  import { control } from '../semantic/control.js';
4
+ import { focus } from '../semantic/focus.js';
4
5
  import { navigation } from '../semantic/navigation.js';
5
6
  import { surface } from '../semantic/surface.js';
6
7
  import { text } from '../semantic/text.js';
7
8
  export const tabs = {
8
9
  list: {
9
- border: border.default,
10
+ border: border.muted,
10
11
  },
11
12
  trigger: {
12
13
  default: {
13
14
  bg: 'transparent',
14
- fg: text.primary,
15
+ fg: text.secondary,
15
16
  border: 'transparent',
16
17
  },
17
18
  hover: {
18
19
  bg: 'transparent',
19
- fg: navigation.hover.bg,
20
- border: navigation.hover.bg,
20
+ fg: navigation.tabHover.fg,
21
+ border: 'transparent',
21
22
  },
22
23
  active: {
23
24
  bg: 'transparent',
24
- fg: text.brand,
25
+ fg: text.interactive,
25
26
  border: action.primary.default.border,
26
27
  },
27
28
  focus: {
28
- ring: navigation.hover.bg,
29
+ ring: focus.ring,
29
30
  },
30
31
  disabled: {
31
32
  bg: 'transparent',
@@ -36,7 +37,7 @@ export const tabs = {
36
37
  pills: {
37
38
  default: {
38
39
  bg: 'transparent',
39
- fg: text.primary,
40
+ fg: text.secondary,
40
41
  border: 'transparent',
41
42
  },
42
43
  hover: {
@@ -45,9 +46,9 @@ export const tabs = {
45
46
  border: 'transparent',
46
47
  },
47
48
  active: {
48
- bg: control.selected.muted.bg,
49
- fg: control.selected.muted.fg,
50
- border: control.selected.muted.border,
49
+ bg: control.selected.default.bg,
50
+ fg: control.selected.default.fg,
51
+ border: control.selected.default.border,
51
52
  },
52
53
  disabled: {
53
54
  bg: 'transparent',
@@ -57,13 +58,13 @@ export const tabs = {
57
58
  },
58
59
  indicator: {
59
60
  default: {
60
- bg: text.brand,
61
+ bg: text.interactive,
61
62
  },
62
63
  hover: {
63
- bg: control.selected.muted.bg,
64
+ bg: action.primary.hover.bg,
64
65
  },
65
66
  active: {
66
- bg: text.brand,
67
+ bg: action.primary.default.bg,
67
68
  },
68
69
  },
69
70
  panel: {
@@ -1,8 +1,9 @@
1
1
  export declare const tooltip: {
2
2
  readonly content: {
3
3
  readonly bg: "#181521";
4
- readonly fg: "#0F0F0F";
5
- readonly border: "#BBB2D2";
4
+ readonly fg: "#FFFFFF";
5
+ readonly border: "#181521";
6
+ readonly shadow: "0 4px 12px rgba(24, 21, 33, 0.12)";
6
7
  };
7
8
  readonly arrow: {
8
9
  readonly bg: "#181521";
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/light/components/tooltip.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;CAUV,CAAC"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/light/components/tooltip.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;CAWV,CAAC"}
@@ -1,13 +1,13 @@
1
- import { border } from '../semantic/border.js';
2
- import { surface } from '../semantic/surface.js';
3
- import { text } from '../semantic/text.js';
1
+ import { overlay } from '../semantic/overlay.js';
2
+ import { shadow } from '../semantic/shadow.js';
4
3
  export const tooltip = {
5
4
  content: {
6
- bg: surface.inverse,
7
- fg: text.inverse,
8
- border: border.default,
5
+ bg: overlay.tooltip.bg,
6
+ fg: overlay.tooltip.fg,
7
+ border: overlay.tooltip.border,
8
+ shadow: shadow.md,
9
9
  },
10
10
  arrow: {
11
- bg: surface.inverse,
11
+ bg: overlay.tooltip.bg,
12
12
  },
13
13
  };
@@ -16,14 +16,14 @@ export declare const action: {
16
16
  readonly border: "#402C9F";
17
17
  };
18
18
  readonly muted: {
19
- readonly bg: "#7C5CFF";
20
- readonly fg: "#FFFFFF";
21
- readonly border: "#7C5CFF";
19
+ readonly bg: "#E9E6FF";
20
+ readonly fg: "#342580";
21
+ readonly border: "#B8A8FF";
22
22
  };
23
23
  readonly subtle: {
24
24
  readonly bg: "#F4F3FF";
25
25
  readonly fg: "#342580";
26
- readonly border: "#5037C8";
26
+ readonly border: "transparent";
27
27
  };
28
28
  };
29
29
  readonly secondary: {
@@ -43,41 +43,41 @@ export declare const action: {
43
43
  readonly border: "#094C5E";
44
44
  };
45
45
  readonly muted: {
46
- readonly bg: "#1FBEDB";
47
- readonly fg: "#FFFFFF";
48
- readonly border: "#1FBEDB";
46
+ readonly bg: "#D9FBFF";
47
+ readonly fg: "#094C5E";
48
+ readonly border: "#79E8F8";
49
49
  };
50
50
  readonly subtle: {
51
51
  readonly bg: "#F2FDFF";
52
- readonly fg: "#FFFFFF";
53
- readonly border: "#0B7D95";
52
+ readonly fg: "#094C5E";
53
+ readonly border: "transparent";
54
54
  };
55
55
  };
56
56
  readonly close: {
57
57
  readonly default: {
58
- readonly bg: "#D8E4F2";
59
- readonly fg: "#0F0F0F";
60
- readonly border: "#D8E4F2";
58
+ readonly bg: "#D4CEE8";
59
+ readonly fg: "#231F31";
60
+ readonly border: "#D4CEE8";
61
61
  };
62
62
  readonly hover: {
63
- readonly bg: "#C4D0DD";
64
- readonly fg: "#0F0F0F";
65
- readonly border: "#C4D0DD";
63
+ readonly bg: "#BBB2D2";
64
+ readonly fg: "#181521";
65
+ readonly border: "#BBB2D2";
66
66
  };
67
67
  readonly active: {
68
- readonly bg: "#98A8BD";
69
- readonly fg: "#0F0F0F";
70
- readonly border: "#98A8BD";
68
+ readonly bg: "#958CB0";
69
+ readonly fg: "#FFFFFF";
70
+ readonly border: "#958CB0";
71
71
  };
72
72
  readonly muted: {
73
- readonly bg: "#4B5F7A";
74
- readonly fg: "#FFFFFF";
75
- readonly border: "#4B5F7A";
73
+ readonly bg: "#EEE8FA";
74
+ readonly fg: "#2F2A42";
75
+ readonly border: "#BBB2D2";
76
76
  };
77
77
  readonly subtle: {
78
- readonly bg: "#6B7F99";
79
- readonly fg: "#FFFFFF";
80
- readonly border: "#6B7F99";
78
+ readonly bg: "#F4F1FB";
79
+ readonly fg: "#3D3754";
80
+ readonly border: "transparent";
81
81
  };
82
82
  };
83
83
  readonly danger: {
@@ -96,13 +96,15 @@ export declare const action: {
96
96
  readonly fg: "#FFFFFF";
97
97
  readonly border: "#881337";
98
98
  };
99
- readonly subtle: {
100
- readonly bg: "#FFF1F2";
101
- readonly fg: "#BE123C";
102
- };
103
99
  readonly muted: {
104
100
  readonly bg: "#FFE4E6";
101
+ readonly fg: "#9F1239";
102
+ readonly border: "#FDA4AF";
103
+ };
104
+ readonly subtle: {
105
+ readonly bg: "#FFF1F2";
105
106
  readonly fg: "#BE123C";
107
+ readonly border: "transparent";
106
108
  };
107
109
  };
108
110
  };
@@ -1 +1 @@
1
- {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/light/semantic/action.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GT,CAAC"}
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/light/semantic/action.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHT,CAAC"}