@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
@@ -19,35 +19,35 @@ export declare const button: {
19
19
  };
20
20
  readonly outline: {
21
21
  readonly default: {
22
- readonly fg: "#6346E8";
22
+ readonly bg: "transparent";
23
+ readonly fg: "#5037C8";
23
24
  readonly border: "#6346E8";
24
- readonly bg: string;
25
25
  };
26
26
  readonly hover: {
27
- readonly bg: "#EEE8FA";
28
- readonly fg: "#5037C8";
27
+ readonly bg: "#F4F3FF";
28
+ readonly fg: "#402C9F";
29
29
  readonly border: "#5037C8";
30
30
  };
31
31
  readonly pressed: {
32
- readonly bg: "#E4DDF4";
33
- readonly fg: "#402C9F";
32
+ readonly bg: "#E9E6FF";
33
+ readonly fg: "#342580";
34
34
  readonly border: "#402C9F";
35
35
  };
36
36
  };
37
37
  readonly ghost: {
38
38
  readonly default: {
39
- readonly fg: "#6346E8";
39
+ readonly fg: "#5037C8";
40
+ readonly bg: "transparent";
40
41
  readonly border: "transparent";
41
- readonly bg: string;
42
42
  };
43
43
  readonly hover: {
44
44
  readonly bg: "#F4F3FF";
45
- readonly fg: "#5037C8";
45
+ readonly fg: "#402C9F";
46
46
  readonly border: "transparent";
47
47
  };
48
48
  readonly pressed: {
49
- readonly bg: "#F4F3FF";
50
- readonly fg: "#402C9F";
49
+ readonly bg: "#E9E6FF";
50
+ readonly fg: "#342580";
51
51
  readonly border: "transparent";
52
52
  };
53
53
  };
@@ -72,17 +72,17 @@ export declare const button: {
72
72
  };
73
73
  readonly outline: {
74
74
  readonly default: {
75
+ readonly bg: "transparent";
75
76
  readonly fg: "#0B7D95";
76
77
  readonly border: "#0B7D95";
77
- readonly bg: string;
78
78
  };
79
79
  readonly hover: {
80
- readonly bg: "#D9FBFF";
80
+ readonly bg: "#F2FDFF";
81
81
  readonly fg: "#0A6175";
82
82
  readonly border: "#0A6175";
83
83
  };
84
84
  readonly pressed: {
85
- readonly bg: "#E4DDF4";
85
+ readonly bg: "#D9FBFF";
86
86
  readonly fg: "#094C5E";
87
87
  readonly border: "#094C5E";
88
88
  };
@@ -90,16 +90,16 @@ export declare const button: {
90
90
  readonly ghost: {
91
91
  readonly default: {
92
92
  readonly fg: "#0B7D95";
93
+ readonly bg: "transparent";
93
94
  readonly border: "transparent";
94
- readonly bg: string;
95
95
  };
96
96
  readonly hover: {
97
- readonly bg: "#D9FBFF";
97
+ readonly bg: "#F2FDFF";
98
98
  readonly fg: "#0A6175";
99
99
  readonly border: "transparent";
100
100
  };
101
101
  readonly pressed: {
102
- readonly bg: "#E4DDF4";
102
+ readonly bg: "#D9FBFF";
103
103
  readonly fg: "#094C5E";
104
104
  readonly border: "transparent";
105
105
  };
@@ -108,52 +108,52 @@ export declare const button: {
108
108
  readonly close: {
109
109
  readonly solid: {
110
110
  readonly default: {
111
- readonly bg: "#D8E4F2";
112
- readonly fg: "#0F0F0F";
113
- readonly border: "#D8E4F2";
111
+ readonly bg: "#D4CEE8";
112
+ readonly fg: "#231F31";
113
+ readonly border: "#D4CEE8";
114
114
  };
115
115
  readonly hover: {
116
- readonly bg: "#C4D0DD";
117
- readonly fg: "#0F0F0F";
118
- readonly border: "#C4D0DD";
116
+ readonly bg: "#BBB2D2";
117
+ readonly fg: "#181521";
118
+ readonly border: "#BBB2D2";
119
119
  };
120
120
  readonly pressed: {
121
- readonly bg: "#98A8BD";
122
- readonly fg: "#0F0F0F";
123
- readonly border: "#98A8BD";
121
+ readonly bg: "#958CB0";
122
+ readonly fg: "#FFFFFF";
123
+ readonly border: "#958CB0";
124
124
  };
125
125
  };
126
126
  readonly outline: {
127
127
  readonly default: {
128
- readonly fg: "#4B5F7A";
129
- readonly border: "#4B5F7A";
130
- readonly bg: string;
128
+ readonly bg: "transparent";
129
+ readonly fg: "#3D3754";
130
+ readonly border: "#958CB0";
131
131
  };
132
132
  readonly hover: {
133
- readonly bg: "#EEE8FA";
134
- readonly fg: "#6B7F99";
135
- readonly border: "#6B7F99";
133
+ readonly bg: "#F4F1FB";
134
+ readonly fg: "#2F2A42";
135
+ readonly border: "#6B6386";
136
136
  };
137
137
  readonly pressed: {
138
- readonly bg: "#E4DDF4";
139
- readonly fg: "#98A8BD";
140
- readonly border: "#98A8BD";
138
+ readonly bg: "#EEE8FA";
139
+ readonly fg: "#231F31";
140
+ readonly border: "#4F4867";
141
141
  };
142
142
  };
143
143
  readonly ghost: {
144
144
  readonly default: {
145
- readonly fg: "#4F4867";
145
+ readonly fg: "#3D3754";
146
+ readonly bg: "transparent";
146
147
  readonly border: "transparent";
147
- readonly bg: string;
148
148
  };
149
149
  readonly hover: {
150
- readonly bg: "#F4F3FF";
151
- readonly fg: "#4F4867";
150
+ readonly bg: "#F4F1FB";
151
+ readonly fg: "#2F2A42";
152
152
  readonly border: "transparent";
153
153
  };
154
154
  readonly pressed: {
155
- readonly bg: "#F4F3FF";
156
- readonly fg: "#4F4867";
155
+ readonly bg: "#EEE8FA";
156
+ readonly fg: "#231F31";
157
157
  readonly border: "transparent";
158
158
  };
159
159
  };
@@ -178,29 +178,29 @@ export declare const button: {
178
178
  };
179
179
  readonly outline: {
180
180
  readonly default: {
181
+ readonly bg: "transparent";
181
182
  readonly fg: "#BE123C";
182
- readonly border: "#BE123C";
183
- readonly bg: string;
183
+ readonly border: "#E11D48";
184
184
  };
185
185
  readonly hover: {
186
- readonly bg: "#FFE4E6";
186
+ readonly bg: "#FFF1F2";
187
187
  readonly fg: "#9F1239";
188
- readonly border: "#9F1239";
188
+ readonly border: "#BE123C";
189
189
  };
190
190
  readonly pressed: {
191
191
  readonly bg: "#FFE4E6";
192
192
  readonly fg: "#881337";
193
- readonly border: "#881337";
193
+ readonly border: "#9F1239";
194
194
  };
195
195
  };
196
196
  readonly ghost: {
197
197
  readonly default: {
198
198
  readonly fg: "#BE123C";
199
+ readonly bg: "transparent";
199
200
  readonly border: "transparent";
200
- readonly bg: string;
201
201
  };
202
202
  readonly hover: {
203
- readonly bg: "#FFE4E6";
203
+ readonly bg: "#FFF1F2";
204
204
  readonly fg: "#9F1239";
205
205
  readonly border: "transparent";
206
206
  };
@@ -213,7 +213,7 @@ export declare const button: {
213
213
  };
214
214
  readonly disabled: {
215
215
  readonly bg: "#F4F1FB";
216
- readonly fg: "#9CA3AF";
216
+ readonly fg: "#958CB0";
217
217
  readonly border: "#E4DDF4";
218
218
  };
219
219
  };
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/light/components/button.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KT,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/light/components/button.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkMT,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { colors } from '../../primitives/colors.js';
1
2
  import { action } from '../semantic/action.js';
2
3
  import { border } from '../semantic/border.js';
3
4
  import { status } from '../semantic/status.js';
@@ -5,6 +6,7 @@ import { surface } from '../semantic/surface.js';
5
6
  import { text } from '../semantic/text.js';
6
7
  const transparent = {
7
8
  bg: 'transparent',
9
+ border: 'transparent',
8
10
  };
9
11
  export const button = {
10
12
  primary: {
@@ -15,36 +17,35 @@ export const button = {
15
17
  },
16
18
  outline: {
17
19
  default: {
18
- ...transparent,
19
- fg: action.primary.default.bg,
20
- border: action.primary.default.border,
20
+ bg: 'transparent',
21
+ fg: colors.primary[700],
22
+ border: colors.primary[600],
21
23
  },
22
24
  hover: {
23
- bg: surface.hover,
24
- fg: action.primary.hover.bg,
25
- border: action.primary.hover.border,
25
+ bg: action.primary.subtle.bg,
26
+ fg: colors.primary[800],
27
+ border: colors.primary[700],
26
28
  },
27
29
  pressed: {
28
- bg: surface.pressed,
29
- fg: action.primary.active.bg,
30
- border: action.primary.active.border,
30
+ bg: action.primary.muted.bg,
31
+ fg: colors.primary[900],
32
+ border: colors.primary[800],
31
33
  },
32
34
  },
33
35
  ghost: {
34
36
  default: {
35
37
  ...transparent,
36
- fg: action.primary.default.bg,
37
- border: 'transparent',
38
+ fg: colors.primary[700],
38
39
  },
39
40
  hover: {
41
+ ...transparent,
40
42
  bg: action.primary.subtle.bg,
41
- fg: action.primary.hover.bg,
42
- border: 'transparent',
43
+ fg: colors.primary[800],
43
44
  },
44
45
  pressed: {
45
- bg: action.primary.subtle.bg,
46
- fg: action.primary.active.bg,
47
- border: 'transparent',
46
+ ...transparent,
47
+ bg: action.primary.muted.bg,
48
+ fg: colors.primary[900],
48
49
  },
49
50
  },
50
51
  },
@@ -56,36 +57,35 @@ export const button = {
56
57
  },
57
58
  outline: {
58
59
  default: {
59
- ...transparent,
60
- fg: action.secondary.default.bg,
61
- border: action.secondary.default.border,
60
+ bg: 'transparent',
61
+ fg: colors.secondary[700],
62
+ border: colors.secondary[700],
62
63
  },
63
64
  hover: {
64
- bg: surface.elevated,
65
- fg: action.secondary.hover.bg,
66
- border: action.secondary.hover.border,
65
+ bg: action.secondary.subtle.bg,
66
+ fg: colors.secondary[800],
67
+ border: colors.secondary[800],
67
68
  },
68
69
  pressed: {
69
- bg: surface.pressed,
70
- fg: action.secondary.active.bg,
71
- border: action.secondary.active.border,
70
+ bg: action.secondary.muted.bg,
71
+ fg: colors.secondary[900],
72
+ border: colors.secondary[900],
72
73
  },
73
74
  },
74
75
  ghost: {
75
76
  default: {
76
77
  ...transparent,
77
- fg: action.secondary.default.bg,
78
- border: 'transparent',
78
+ fg: colors.secondary[700],
79
79
  },
80
80
  hover: {
81
- bg: surface.elevated,
82
- fg: action.secondary.hover.bg,
83
- border: 'transparent',
81
+ ...transparent,
82
+ bg: action.secondary.subtle.bg,
83
+ fg: colors.secondary[800],
84
84
  },
85
85
  pressed: {
86
- bg: surface.pressed,
87
- fg: action.secondary.active.bg,
88
- border: 'transparent',
86
+ ...transparent,
87
+ bg: action.secondary.muted.bg,
88
+ fg: colors.secondary[900],
89
89
  },
90
90
  },
91
91
  },
@@ -97,36 +97,35 @@ export const button = {
97
97
  },
98
98
  outline: {
99
99
  default: {
100
- ...transparent,
101
- fg: action.close.muted.bg,
102
- border: action.close.muted.border,
100
+ bg: 'transparent',
101
+ fg: colors.vellira[700],
102
+ border: colors.vellira[400],
103
103
  },
104
104
  hover: {
105
- bg: surface.hover,
106
- fg: action.close.subtle.bg,
107
- border: action.close.subtle.border,
105
+ bg: action.close.subtle.bg,
106
+ fg: colors.vellira[800],
107
+ border: colors.vellira[500],
108
108
  },
109
109
  pressed: {
110
- bg: surface.pressed,
111
- fg: action.close.active.bg,
112
- border: action.close.active.border,
110
+ bg: action.close.muted.bg,
111
+ fg: colors.vellira[900],
112
+ border: colors.vellira[600],
113
113
  },
114
114
  },
115
115
  ghost: {
116
116
  default: {
117
117
  ...transparent,
118
118
  fg: text.primary,
119
- border: 'transparent',
120
119
  },
121
120
  hover: {
122
- bg: action.primary.subtle.bg,
123
- fg: text.primary,
124
- border: 'transparent',
121
+ ...transparent,
122
+ bg: action.close.subtle.bg,
123
+ fg: colors.vellira[800],
125
124
  },
126
125
  pressed: {
127
- bg: action.primary.subtle.bg,
128
- fg: text.primary,
129
- border: 'transparent',
126
+ ...transparent,
127
+ bg: action.close.muted.bg,
128
+ fg: colors.vellira[900],
130
129
  },
131
130
  },
132
131
  },
@@ -138,36 +137,35 @@ export const button = {
138
137
  },
139
138
  outline: {
140
139
  default: {
141
- ...transparent,
142
- fg: action.danger.default.bg,
143
- border: action.danger.default.border,
140
+ bg: 'transparent',
141
+ fg: status.error.fg,
142
+ border: status.error.border,
144
143
  },
145
144
  hover: {
146
145
  bg: status.error.bg,
147
- fg: action.danger.hover.bg,
148
- border: action.danger.hover.border,
146
+ fg: colors.error[800],
147
+ border: colors.error[700],
149
148
  },
150
149
  pressed: {
151
- bg: status.error.bg,
152
- fg: action.danger.active.bg,
153
- border: action.danger.active.border,
150
+ bg: action.danger.muted.bg,
151
+ fg: colors.error[900],
152
+ border: colors.error[800],
154
153
  },
155
154
  },
156
155
  ghost: {
157
156
  default: {
158
157
  ...transparent,
159
- fg: action.danger.default.bg,
160
- border: 'transparent',
158
+ fg: status.error.fg,
161
159
  },
162
160
  hover: {
161
+ ...transparent,
163
162
  bg: status.error.bg,
164
- fg: action.danger.hover.bg,
165
- border: 'transparent',
163
+ fg: colors.error[800],
166
164
  },
167
165
  pressed: {
168
- bg: status.error.bg,
169
- fg: action.danger.active.bg,
170
- border: 'transparent',
166
+ ...transparent,
167
+ bg: action.danger.muted.bg,
168
+ fg: colors.error[900],
171
169
  },
172
170
  },
173
171
  },
@@ -1,42 +1,46 @@
1
1
  export declare const checkbox: {
2
2
  readonly default: {
3
- readonly bg: "#F4F1FB";
4
- readonly fg: "#4F4867";
5
- readonly border: "#D4CEE8";
3
+ readonly bg: "#FFFFFF";
4
+ readonly fg: "#3D3754";
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 checked: {
13
13
  readonly default: {
14
+ readonly labelFg: "#5037C8";
14
15
  readonly bg: "#6346E8";
15
16
  readonly fg: "#FFFFFF";
16
17
  readonly border: "#6346E8";
17
18
  };
18
19
  readonly hover: {
19
- readonly bg: "#402C9F";
20
- readonly fg: "#5037C8";
21
- readonly border: "#402C9F";
20
+ readonly labelFg: "#402C9F";
21
+ readonly bg: "#5037C8";
22
+ readonly fg: "#FFFFFF";
23
+ readonly border: "#5037C8";
22
24
  };
23
25
  readonly pressed: {
24
- readonly bg: "#21164F";
25
- readonly fg: "#0F0F0F";
26
- readonly border: "#21164F";
26
+ readonly labelFg: "#342580";
27
+ readonly bg: "#402C9F";
28
+ readonly fg: "#FFFFFF";
29
+ readonly border: "#402C9F";
27
30
  };
28
31
  };
29
32
  readonly focus: {
30
33
  readonly ring: "#5037C8";
31
34
  };
32
35
  readonly disabled: {
33
- readonly bg: "#FFFFFF";
34
- readonly fg: "#9CA3AF";
35
- readonly border: "#EEE8FA";
36
+ readonly bg: "#F4F1FB";
37
+ readonly fg: "#958CB0";
38
+ readonly border: "#E4DDF4";
36
39
  };
37
40
  readonly error: {
38
- readonly fg: "#E11D48";
41
+ readonly fg: "#BE123C";
39
42
  readonly border: "#E11D48";
43
+ readonly ring: "#F43F5E";
40
44
  };
41
45
  };
42
46
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/light/components/checkbox.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBX,CAAC"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/light/components/checkbox.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCX,CAAC"}
@@ -1,27 +1,31 @@
1
- import { border } from '../semantic/border.js';
2
1
  import { control } from '../semantic/control.js';
3
2
  import { focus } from '../semantic/focus.js';
4
3
  import { status } from '../semantic/status.js';
5
- import { surface } from '../semantic/surface.js';
6
4
  import { text } from '../semantic/text.js';
7
5
  export const checkbox = {
8
6
  default: control.default,
9
7
  hover: control.hover,
10
8
  checked: {
11
- default: control.selected.default,
12
- hover: control.selected.hover,
13
- pressed: control.selected.active,
9
+ default: {
10
+ ...control.selected.default,
11
+ labelFg: text.interactive,
12
+ },
13
+ hover: {
14
+ ...control.selected.hover,
15
+ labelFg: text.interactiveHover,
16
+ },
17
+ pressed: {
18
+ ...control.selected.active,
19
+ labelFg: text.interactiveActive,
20
+ },
14
21
  },
15
22
  focus: {
16
- ring: focus.ring,
17
- },
18
- disabled: {
19
- bg: surface.subtle,
20
- fg: text.disabled,
21
- border: border.muted,
23
+ ring: focus.ring.color,
22
24
  },
25
+ disabled: control.disabled,
23
26
  error: {
24
27
  fg: status.error.fg,
25
- border: status.error.fg,
28
+ border: status.error.border,
29
+ ring: status.error.ring,
26
30
  },
27
31
  };
@@ -0,0 +1,89 @@
1
+ export declare const contextMenu: {
2
+ readonly content: {
3
+ readonly bg: "#FFFFFF";
4
+ readonly border: "#E4DDF4";
5
+ readonly shadow: "0 12px 40px rgba(24, 21, 33, 0.16), 0 2px 8px rgba(24, 21, 33, 0.1)";
6
+ };
7
+ readonly item: {
8
+ readonly default: {
9
+ readonly bg: "transparent";
10
+ readonly fg: "#3D3754";
11
+ };
12
+ readonly hover: {
13
+ readonly bg: "#F4F1FB";
14
+ readonly fg: "#3D3754";
15
+ };
16
+ readonly active: {
17
+ readonly ring: "transparent";
18
+ readonly bg: "#EEE8FA";
19
+ readonly fg: "#3D3754";
20
+ };
21
+ readonly pressed: {
22
+ readonly bg: "#E4DDF4";
23
+ readonly fg: "#3D3754";
24
+ };
25
+ readonly focus: {
26
+ readonly ring: {
27
+ readonly color: "#5037C8";
28
+ readonly width: "2px";
29
+ readonly shadow: "0 0 8px rgba(99, 70, 232, 0.14)";
30
+ readonly offset: "#FFFFFF";
31
+ };
32
+ };
33
+ readonly disabled: {
34
+ readonly bg: "transparent";
35
+ readonly fg: "#958CB0";
36
+ };
37
+ readonly danger: {
38
+ readonly default: {
39
+ readonly bg: "transparent";
40
+ readonly fg: "#BE123C";
41
+ };
42
+ readonly hover: {
43
+ readonly bg: "#FFF1F2";
44
+ readonly fg: "#BE123C";
45
+ };
46
+ readonly active: {
47
+ readonly bg: "#FFE4E6";
48
+ readonly fg: "#9F1239";
49
+ };
50
+ readonly disabled: {
51
+ readonly bg: "transparent";
52
+ readonly fg: "#958CB0";
53
+ };
54
+ };
55
+ };
56
+ readonly trigger: {
57
+ readonly default: {
58
+ readonly bg: "transparent";
59
+ readonly fg: "#5037C8";
60
+ readonly border: "transparent";
61
+ };
62
+ readonly hover: {
63
+ readonly bg: "#F4F1FB";
64
+ readonly fg: "#402C9F";
65
+ readonly border: "transparent";
66
+ readonly ring: "transparent";
67
+ };
68
+ readonly focus: {
69
+ readonly bg: "transparent";
70
+ readonly fg: "#5037C8";
71
+ readonly border: "transparent";
72
+ readonly ring: {
73
+ readonly color: "#5037C8";
74
+ readonly width: "2px";
75
+ readonly shadow: "0 0 8px rgba(99, 70, 232, 0.14)";
76
+ readonly offset: "#FFFFFF";
77
+ };
78
+ };
79
+ readonly disabled: {
80
+ readonly bg: "transparent";
81
+ readonly fg: "#958CB0";
82
+ readonly border: "transparent";
83
+ };
84
+ };
85
+ readonly groupLabel: {
86
+ readonly fg: "#6B6386";
87
+ };
88
+ };
89
+ //# sourceMappingURL=contextMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextMenu.d.ts","sourceRoot":"","sources":["../../../src/light/components/contextMenu.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDd,CAAC"}