@sole-ui/react 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,678 @@
1
+ // Generated by packages/ui/scripts/build.ts. Do not edit.
2
+ export const tokens = {
3
+ "color": {
4
+ "background": {
5
+ "$value": "#f5f5f5",
6
+ "$type": "color"
7
+ },
8
+ "foreground": {
9
+ "$value": "#18181b",
10
+ "$type": "color"
11
+ },
12
+ "card": {
13
+ "$value": "#ffffff",
14
+ "$type": "color"
15
+ },
16
+ "card-foreground": {
17
+ "$value": "#18181b",
18
+ "$type": "color"
19
+ },
20
+ "popover": {
21
+ "$value": "#ffffff",
22
+ "$type": "color"
23
+ },
24
+ "popover-foreground": {
25
+ "$value": "#18181b",
26
+ "$type": "color"
27
+ },
28
+ "primary": {
29
+ "$value": "#0270d6",
30
+ "$type": "color"
31
+ },
32
+ "primary-foreground": {
33
+ "$value": "#ffffff",
34
+ "$type": "color"
35
+ },
36
+ "primary-hover": {
37
+ "$value": "#0263bd",
38
+ "$type": "color"
39
+ },
40
+ "brand": {
41
+ "$value": "#0485f7",
42
+ "$type": "color"
43
+ },
44
+ "link": {
45
+ "$value": "#0263bd",
46
+ "$type": "color"
47
+ },
48
+ "secondary": {
49
+ "$value": "#f4f4f5",
50
+ "$type": "color"
51
+ },
52
+ "secondary-foreground": {
53
+ "$value": "#3f3f46",
54
+ "$type": "color"
55
+ },
56
+ "muted": {
57
+ "$value": "#f4f4f5",
58
+ "$type": "color"
59
+ },
60
+ "muted-foreground": {
61
+ "$value": "#52525b",
62
+ "$type": "color"
63
+ },
64
+ "subtle-foreground": {
65
+ "$value": "#71717a",
66
+ "$type": "color"
67
+ },
68
+ "faint": {
69
+ "$value": "#9ca3af",
70
+ "$type": "color"
71
+ },
72
+ "accent": {
73
+ "$value": "#e6f2fe",
74
+ "$type": "color"
75
+ },
76
+ "accent-foreground": {
77
+ "$value": "#0263bd",
78
+ "$type": "color"
79
+ },
80
+ "row-hover": {
81
+ "$value": "#f7f9fc",
82
+ "$type": "color"
83
+ },
84
+ "border": {
85
+ "$value": "#dedee0",
86
+ "$type": "color"
87
+ },
88
+ "hairline": {
89
+ "$value": "#f3f3f7",
90
+ "$type": "color"
91
+ },
92
+ "input": {
93
+ "$value": "#dedee0",
94
+ "$type": "color"
95
+ },
96
+ "field": {
97
+ "$value": "#f9fafb",
98
+ "$type": "color"
99
+ },
100
+ "ring": {
101
+ "$value": "#0485f7",
102
+ "$type": "color"
103
+ },
104
+ "destructive": {
105
+ "$value": "#dc2626",
106
+ "$type": "color"
107
+ },
108
+ "destructive-foreground": {
109
+ "$value": "#ffffff",
110
+ "$type": "color"
111
+ },
112
+ "danger-text": {
113
+ "$value": "#b42318",
114
+ "$type": "color"
115
+ },
116
+ "danger-soft": {
117
+ "$value": "#fef2f2",
118
+ "$type": "color"
119
+ },
120
+ "danger-border": {
121
+ "$value": "#fecaca",
122
+ "$type": "color"
123
+ },
124
+ "warning": {
125
+ "$value": "#f59e0b",
126
+ "$type": "color"
127
+ },
128
+ "warning-text": {
129
+ "$value": "#b45309",
130
+ "$type": "color"
131
+ },
132
+ "warning-soft": {
133
+ "$value": "#fffbeb",
134
+ "$type": "color"
135
+ },
136
+ "warning-border": {
137
+ "$value": "#fcd34d",
138
+ "$type": "color"
139
+ },
140
+ "success": {
141
+ "$value": "#10b981",
142
+ "$type": "color"
143
+ },
144
+ "success-text": {
145
+ "$value": "#047857",
146
+ "$type": "color"
147
+ },
148
+ "success-soft": {
149
+ "$value": "#ecfdf5",
150
+ "$type": "color"
151
+ },
152
+ "success-border": {
153
+ "$value": "#a7f3d0",
154
+ "$type": "color"
155
+ },
156
+ "neutral-soft": {
157
+ "$value": "#f3f4f6",
158
+ "$type": "color"
159
+ },
160
+ "neutral-text": {
161
+ "$value": "#374151",
162
+ "$type": "color"
163
+ },
164
+ "skeleton": {
165
+ "$value": "#eef0f3",
166
+ "$type": "color"
167
+ },
168
+ "sidebar": {
169
+ "$value": "#f5f5f5",
170
+ "$type": "color"
171
+ },
172
+ "sidebar-foreground": {
173
+ "$value": "#3f3f46",
174
+ "$type": "color"
175
+ },
176
+ "sidebar-accent": {
177
+ "$value": "#e6f2fe",
178
+ "$type": "color"
179
+ },
180
+ "sidebar-accent-foreground": {
181
+ "$value": "#0263bd",
182
+ "$type": "color"
183
+ },
184
+ "sidebar-hover": {
185
+ "$value": "#ebebef",
186
+ "$type": "color"
187
+ },
188
+ "sidebar-border": {
189
+ "$value": "#dedee0",
190
+ "$type": "color"
191
+ },
192
+ "sidebar-ring": {
193
+ "$value": "#0485f7",
194
+ "$type": "color"
195
+ },
196
+ "tooltip": {
197
+ "$value": "#18181b",
198
+ "$type": "color"
199
+ },
200
+ "tooltip-foreground": {
201
+ "$value": "#ffffff",
202
+ "$type": "color"
203
+ },
204
+ "overdue": {
205
+ "$value": "#dc2626",
206
+ "$type": "color"
207
+ },
208
+ "overdue-foreground": {
209
+ "$value": "#ffffff",
210
+ "$type": "color"
211
+ },
212
+ "mark": {
213
+ "$value": "#4d4dff",
214
+ "$type": "color"
215
+ },
216
+ "state-backlog": {
217
+ "$value": "#9ca3af",
218
+ "$type": "color",
219
+ "$description": "State icon colours by group (brand-and-ux 5.8)."
220
+ },
221
+ "state-unstarted": {
222
+ "$value": "#71717a",
223
+ "$type": "color"
224
+ },
225
+ "state-started": {
226
+ "$value": "#f59e0b",
227
+ "$type": "color"
228
+ },
229
+ "state-completed": {
230
+ "$value": "#10b981",
231
+ "$type": "color"
232
+ },
233
+ "state-cancelled": {
234
+ "$value": "#9ca3af",
235
+ "$type": "color"
236
+ },
237
+ "sticky-gray": {
238
+ "$value": "#d6d6d8",
239
+ "$type": "color",
240
+ "$description": "Sticky notes (brand-and-ux 5.2)."
241
+ },
242
+ "sticky-peach": {
243
+ "$value": "#ffd5d7",
244
+ "$type": "color"
245
+ },
246
+ "sticky-pink": {
247
+ "$value": "#fdd4e3",
248
+ "$type": "color"
249
+ },
250
+ "sticky-orange": {
251
+ "$value": "#ffe3cd",
252
+ "$type": "color"
253
+ },
254
+ "sticky-green": {
255
+ "$value": "#c3f0de",
256
+ "$type": "color"
257
+ },
258
+ "sticky-light-blue": {
259
+ "$value": "#c5eff9",
260
+ "$type": "color"
261
+ },
262
+ "sticky-dark-blue": {
263
+ "$value": "#c9dafb",
264
+ "$type": "color"
265
+ },
266
+ "sticky-purple": {
267
+ "$value": "#e3d8fd",
268
+ "$type": "color"
269
+ },
270
+ "sticky-foreground": {
271
+ "$value": "#18181b",
272
+ "$type": "color"
273
+ }
274
+ },
275
+ "hue": {
276
+ "slate": {
277
+ "bg": {
278
+ "$value": "#f8fafc",
279
+ "$type": "color",
280
+ "$description": "Label hues (brand-and-ux 5.3 rule 6). Users pick a hue name, never a hex. The approved design draws each tag from one ramp: the 50 step fill, 200 border, 800 text and 600 dot, so every text pair clears 7:1 on its own fill."
281
+ },
282
+ "border": {
283
+ "$value": "#e2e8f0",
284
+ "$type": "color"
285
+ },
286
+ "fg": {
287
+ "$value": "#1e293b",
288
+ "$type": "color"
289
+ },
290
+ "dot": {
291
+ "$value": "#475569",
292
+ "$type": "color"
293
+ }
294
+ },
295
+ "indigo": {
296
+ "bg": {
297
+ "$value": "#eef2ff",
298
+ "$type": "color"
299
+ },
300
+ "border": {
301
+ "$value": "#c7d2fe",
302
+ "$type": "color"
303
+ },
304
+ "fg": {
305
+ "$value": "#3730a3",
306
+ "$type": "color"
307
+ },
308
+ "dot": {
309
+ "$value": "#4f46e5",
310
+ "$type": "color"
311
+ }
312
+ },
313
+ "violet": {
314
+ "bg": {
315
+ "$value": "#f5f3ff",
316
+ "$type": "color"
317
+ },
318
+ "border": {
319
+ "$value": "#ddd6fe",
320
+ "$type": "color"
321
+ },
322
+ "fg": {
323
+ "$value": "#5b21b6",
324
+ "$type": "color"
325
+ },
326
+ "dot": {
327
+ "$value": "#7c3aed",
328
+ "$type": "color"
329
+ }
330
+ },
331
+ "blue": {
332
+ "bg": {
333
+ "$value": "#eff6ff",
334
+ "$type": "color"
335
+ },
336
+ "border": {
337
+ "$value": "#bfdbfe",
338
+ "$type": "color"
339
+ },
340
+ "fg": {
341
+ "$value": "#1e40af",
342
+ "$type": "color"
343
+ },
344
+ "dot": {
345
+ "$value": "#2563eb",
346
+ "$type": "color"
347
+ }
348
+ },
349
+ "cyan": {
350
+ "bg": {
351
+ "$value": "#ecfeff",
352
+ "$type": "color"
353
+ },
354
+ "border": {
355
+ "$value": "#a5f3fc",
356
+ "$type": "color"
357
+ },
358
+ "fg": {
359
+ "$value": "#155e75",
360
+ "$type": "color"
361
+ },
362
+ "dot": {
363
+ "$value": "#0891b2",
364
+ "$type": "color"
365
+ }
366
+ },
367
+ "teal": {
368
+ "bg": {
369
+ "$value": "#f0fdfa",
370
+ "$type": "color"
371
+ },
372
+ "border": {
373
+ "$value": "#99f6e4",
374
+ "$type": "color"
375
+ },
376
+ "fg": {
377
+ "$value": "#115e59",
378
+ "$type": "color"
379
+ },
380
+ "dot": {
381
+ "$value": "#0d9488",
382
+ "$type": "color"
383
+ }
384
+ },
385
+ "green": {
386
+ "bg": {
387
+ "$value": "#f0fdf4",
388
+ "$type": "color"
389
+ },
390
+ "border": {
391
+ "$value": "#bbf7d0",
392
+ "$type": "color"
393
+ },
394
+ "fg": {
395
+ "$value": "#166534",
396
+ "$type": "color"
397
+ },
398
+ "dot": {
399
+ "$value": "#16a34a",
400
+ "$type": "color"
401
+ }
402
+ },
403
+ "lime": {
404
+ "bg": {
405
+ "$value": "#f7fee7",
406
+ "$type": "color"
407
+ },
408
+ "border": {
409
+ "$value": "#d9f99d",
410
+ "$type": "color"
411
+ },
412
+ "fg": {
413
+ "$value": "#3f6212",
414
+ "$type": "color"
415
+ },
416
+ "dot": {
417
+ "$value": "#65a30d",
418
+ "$type": "color"
419
+ }
420
+ },
421
+ "amber": {
422
+ "bg": {
423
+ "$value": "#fffbeb",
424
+ "$type": "color"
425
+ },
426
+ "border": {
427
+ "$value": "#fde68a",
428
+ "$type": "color"
429
+ },
430
+ "fg": {
431
+ "$value": "#92400e",
432
+ "$type": "color"
433
+ },
434
+ "dot": {
435
+ "$value": "#d97706",
436
+ "$type": "color"
437
+ }
438
+ },
439
+ "orange": {
440
+ "bg": {
441
+ "$value": "#fff7ed",
442
+ "$type": "color"
443
+ },
444
+ "border": {
445
+ "$value": "#fed7aa",
446
+ "$type": "color"
447
+ },
448
+ "fg": {
449
+ "$value": "#9a3412",
450
+ "$type": "color"
451
+ },
452
+ "dot": {
453
+ "$value": "#ea580c",
454
+ "$type": "color"
455
+ }
456
+ },
457
+ "rose": {
458
+ "bg": {
459
+ "$value": "#fff1f2",
460
+ "$type": "color"
461
+ },
462
+ "border": {
463
+ "$value": "#fecdd3",
464
+ "$type": "color"
465
+ },
466
+ "fg": {
467
+ "$value": "#9f1239",
468
+ "$type": "color"
469
+ },
470
+ "dot": {
471
+ "$value": "#e11d48",
472
+ "$type": "color"
473
+ }
474
+ },
475
+ "pink": {
476
+ "bg": {
477
+ "$value": "#fdf2f8",
478
+ "$type": "color"
479
+ },
480
+ "border": {
481
+ "$value": "#fbcfe8",
482
+ "$type": "color"
483
+ },
484
+ "fg": {
485
+ "$value": "#9d174d",
486
+ "$type": "color"
487
+ },
488
+ "dot": {
489
+ "$value": "#db2777",
490
+ "$type": "color"
491
+ }
492
+ }
493
+ },
494
+ "radius": {
495
+ "base": {
496
+ "$value": "8px",
497
+ "$type": "dimension",
498
+ "$description": "Radius (5.6): chips and sidebar items 6, buttons and inputs 8, panels 12, dialogs 16."
499
+ }
500
+ },
501
+ "shadow": {
502
+ "elevation-sm": {
503
+ "$value": "0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.05)",
504
+ "$type": "shadow",
505
+ "$description": "Shadows (5.6)."
506
+ },
507
+ "elevation-lg": {
508
+ "$value": "0 12px 34px -10px rgba(16, 24, 40, 0.22)",
509
+ "$type": "shadow"
510
+ },
511
+ "focus-ring": {
512
+ "$value": "0 0 0 3px rgba(4, 133, 247, 0.14)",
513
+ "$type": "shadow"
514
+ }
515
+ },
516
+ "ease": {
517
+ "rise": {
518
+ "$value": "cubic-bezier(0.22, 1, 0.36, 1)",
519
+ "$type": "cubicBezier"
520
+ }
521
+ },
522
+ "font": {
523
+ "sans": {
524
+ "$value": "\"Inter Variable\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", sans-serif",
525
+ "$type": "fontFamily"
526
+ },
527
+ "mono": {
528
+ "$value": "ui-monospace, SFMono-Regular, Menlo, monospace",
529
+ "$type": "fontFamily"
530
+ }
531
+ },
532
+ "text": {
533
+ "label": {
534
+ "size": {
535
+ "$value": "12px",
536
+ "$type": "dimension",
537
+ "$description": "Type scale (brand-and-ux 5.4). text-micro, the only uppercase style, is a utility at the end of the scale, because a theme token cannot carry text-transform."
538
+ },
539
+ "line-height": {
540
+ "$value": "16px",
541
+ "$type": "dimension"
542
+ },
543
+ "weight": {
544
+ "$value": "500",
545
+ "$type": "number"
546
+ }
547
+ },
548
+ "body": {
549
+ "size": {
550
+ "$value": "13px",
551
+ "$type": "dimension"
552
+ },
553
+ "line-height": {
554
+ "$value": "20px",
555
+ "$type": "dimension"
556
+ }
557
+ },
558
+ "strong": {
559
+ "size": {
560
+ "$value": "14px",
561
+ "$type": "dimension"
562
+ },
563
+ "line-height": {
564
+ "$value": "20px",
565
+ "$type": "dimension"
566
+ },
567
+ "weight": {
568
+ "$value": "600",
569
+ "$type": "number"
570
+ },
571
+ "letter-spacing": {
572
+ "$value": "-0.01em",
573
+ "$type": "dimension"
574
+ }
575
+ },
576
+ "read": {
577
+ "size": {
578
+ "$value": "16px",
579
+ "$type": "dimension"
580
+ },
581
+ "line-height": {
582
+ "$value": "26px",
583
+ "$type": "dimension"
584
+ }
585
+ },
586
+ "title": {
587
+ "size": {
588
+ "$value": "18px",
589
+ "$type": "dimension"
590
+ },
591
+ "line-height": {
592
+ "$value": "24px",
593
+ "$type": "dimension"
594
+ },
595
+ "weight": {
596
+ "$value": "600",
597
+ "$type": "number"
598
+ },
599
+ "letter-spacing": {
600
+ "$value": "-0.015em",
601
+ "$type": "dimension"
602
+ }
603
+ },
604
+ "page": {
605
+ "size": {
606
+ "$value": "20px",
607
+ "$type": "dimension"
608
+ },
609
+ "line-height": {
610
+ "$value": "28px",
611
+ "$type": "dimension"
612
+ },
613
+ "weight": {
614
+ "$value": "600",
615
+ "$type": "number"
616
+ },
617
+ "letter-spacing": {
618
+ "$value": "-0.02em",
619
+ "$type": "dimension"
620
+ }
621
+ },
622
+ "doc": {
623
+ "size": {
624
+ "$value": "28px",
625
+ "$type": "dimension"
626
+ },
627
+ "line-height": {
628
+ "$value": "34px",
629
+ "$type": "dimension"
630
+ },
631
+ "weight": {
632
+ "$value": "700",
633
+ "$type": "number"
634
+ },
635
+ "letter-spacing": {
636
+ "$value": "-0.02em",
637
+ "$type": "dimension"
638
+ }
639
+ },
640
+ "metric": {
641
+ "size": {
642
+ "$value": "28px",
643
+ "$type": "dimension"
644
+ },
645
+ "line-height": {
646
+ "$value": "31px",
647
+ "$type": "dimension"
648
+ },
649
+ "weight": {
650
+ "$value": "700",
651
+ "$type": "number"
652
+ },
653
+ "letter-spacing": {
654
+ "$value": "-0.02em",
655
+ "$type": "dimension"
656
+ }
657
+ },
658
+ "micro": {
659
+ "size": {
660
+ "$value": "11px",
661
+ "$type": "dimension",
662
+ "$description": "The only uppercase style. It is a utility rather than a theme token, because a theme token cannot carry text-transform."
663
+ },
664
+ "line-height": {
665
+ "$value": "16px",
666
+ "$type": "dimension"
667
+ },
668
+ "weight": {
669
+ "$value": "600",
670
+ "$type": "number"
671
+ },
672
+ "letter-spacing": {
673
+ "$value": "0.06em",
674
+ "$type": "dimension"
675
+ }
676
+ }
677
+ }
678
+ };