@codefast/ui 0.11.0 → 0.13.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 (68) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +2 -2
  3. package/dist/components/accordion.js +1 -1
  4. package/dist/components/bubble.js +1 -1
  5. package/dist/components/calendar.js +2 -2
  6. package/dist/components/checkbox-cards.js +1 -1
  7. package/dist/components/checkbox-group.js +1 -1
  8. package/dist/components/checkbox.js +1 -1
  9. package/dist/components/input-group.js +2 -2
  10. package/dist/components/input-number.js +6 -6
  11. package/dist/components/input-otp.js +1 -1
  12. package/dist/components/input.js +1 -1
  13. package/dist/components/message-scroller.d.ts +1 -1
  14. package/dist/components/native-select.js +1 -1
  15. package/dist/components/navigation-menu.js +2 -2
  16. package/dist/components/radio-cards.js +1 -1
  17. package/dist/components/radio-group.js +1 -1
  18. package/dist/components/radio.js +1 -1
  19. package/dist/components/scroll-area.js +1 -1
  20. package/dist/components/select.js +1 -1
  21. package/dist/components/slider.js +1 -1
  22. package/dist/components/switch.js +1 -1
  23. package/dist/components/tabs.js +2 -2
  24. package/dist/components/textarea.js +1 -1
  25. package/dist/hooks/use-message-scroller-controller.d.ts +1 -3
  26. package/dist/index.d.ts +5 -3
  27. package/dist/index.js +3 -1
  28. package/dist/lib/message-scroller/geometry.d.ts +1 -8
  29. package/dist/lib/message-scroller/geometry.js +1 -1
  30. package/dist/lib/message-scroller/stores.d.ts +2 -6
  31. package/dist/lib/message-scroller/stores.js +1 -1
  32. package/dist/lib/message-scroller/types.d.ts +1 -7
  33. package/dist/lib/message-scroller/types.js +1 -1
  34. package/dist/primitives/checkbox-group.js +1 -1
  35. package/dist/primitives/message-scroller.d.ts +2 -1
  36. package/dist/variants/attachment.js +1 -1
  37. package/dist/variants/badge.js +3 -3
  38. package/dist/variants/bubble.js +1 -1
  39. package/dist/variants/button.js +3 -3
  40. package/dist/variants/input-group.js +1 -1
  41. package/dist/variants/item.js +1 -1
  42. package/dist/variants/navigation-menu.js +1 -1
  43. package/dist/variants/toggle.js +1 -1
  44. package/package.json +4 -28
  45. package/src/css/foundation/base.css +1 -1
  46. package/src/css/foundation/tokens.css +2 -0
  47. package/src/css/themes/amber.css +8 -8
  48. package/src/css/themes/blue.css +7 -7
  49. package/src/css/themes/cyan.css +8 -8
  50. package/src/css/themes/emerald.css +8 -8
  51. package/src/css/themes/fuchsia.css +10 -10
  52. package/src/css/themes/gray.css +4 -4
  53. package/src/css/themes/green.css +8 -8
  54. package/src/css/themes/indigo.css +8 -8
  55. package/src/css/themes/lime.css +8 -8
  56. package/src/css/themes/neutral.css +3 -3
  57. package/src/css/themes/orange.css +8 -8
  58. package/src/css/themes/pink.css +10 -10
  59. package/src/css/themes/purple.css +8 -8
  60. package/src/css/themes/red.css +10 -10
  61. package/src/css/themes/rose.css +10 -10
  62. package/src/css/themes/sky.css +8 -8
  63. package/src/css/themes/slate.css +4 -4
  64. package/src/css/themes/stone.css +2 -2
  65. package/src/css/themes/teal.css +8 -8
  66. package/src/css/themes/violet.css +8 -8
  67. package/src/css/themes/yellow.css +8 -8
  68. package/src/css/themes/zinc.css +2 -2
@@ -12,7 +12,7 @@
12
12
  --background: oklch(1 0 0); /* --color-zinc-50 */
13
13
  --foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
14
14
 
15
- --primary: oklch(0.6 0.1 185); /* --color-teal-600 */
15
+ --primary: oklch(0.51 0.09 186); /* --color-teal-700 */
16
16
  --primary-foreground: oklch(0.98 0.01 181); /* --color-teal-50 */
17
17
 
18
18
  --secondary: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
@@ -36,18 +36,18 @@
36
36
 
37
37
  --border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
38
38
  --input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
39
- --ring: oklch(0.78 0.13 182); /* --color-teal-400 */
39
+ --ring: oklch(0.6 0.1 185); /* --color-teal-600 */
40
40
 
41
41
  /* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
42
42
 
43
43
  --sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
44
44
  --sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
45
- --sidebar-primary: oklch(0.6 0.1 185); /* --color-teal-600 */
45
+ --sidebar-primary: oklch(0.51 0.09 186); /* --color-teal-700 */
46
46
  --sidebar-primary-foreground: oklch(0.98 0.01 181); /* --color-teal-50 */
47
47
  --sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
48
48
  --sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
49
49
  --sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
50
- --sidebar-ring: oklch(0.78 0.13 182); /* --color-teal-400 */
50
+ --sidebar-ring: oklch(0.6 0.1 185); /* --color-teal-600 */
51
51
 
52
52
  /* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
53
53
 
@@ -65,7 +65,7 @@
65
65
  --foreground: oklch(0.985 0 0); /* --color-zinc-50 */
66
66
 
67
67
  --primary: oklch(0.7 0.12 183); /* --color-teal-500 */
68
- --primary-foreground: oklch(0.98 0.01 181); /* --color-teal-50 */
68
+ --primary-foreground: oklch(0.277 0.046 192.524); /* --color-teal-950 */
69
69
 
70
70
  --secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
71
71
  --secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
@@ -86,16 +86,16 @@
86
86
 
87
87
  --border: oklch(1 0 0 / 10%); /* --color-white */
88
88
  --input: oklch(1 0 0 / 15%); /* --color-white */
89
- --ring: oklch(0.39 0.06 188); /* --color-teal-900 */
89
+ --ring: oklch(0.6 0.1 185); /* --color-teal-600 */
90
90
 
91
91
  --sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
92
92
  --sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
93
93
  --sidebar-primary: oklch(0.7 0.12 183); /* --color-teal-500 */
94
- --sidebar-primary-foreground: oklch(0.98 0.01 181); /* --color-teal-50 */
94
+ --sidebar-primary-foreground: oklch(0.277 0.046 192.524); /* --color-teal-950 */
95
95
  --sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
96
96
  --sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
97
97
  --sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
98
- --sidebar-ring: oklch(0.39 0.06 188); /* --color-teal-900 */
98
+ --sidebar-ring: oklch(0.6 0.1 185); /* --color-teal-600 */
99
99
 
100
100
  --chart-1: oklch(0.85 0.13 181); /* --color-teal-300 */
101
101
  --chart-2: oklch(0.78 0.13 182); /* --color-teal-400 */
@@ -36,7 +36,7 @@
36
36
 
37
37
  --border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
38
38
  --input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
39
- --ring: oklch(0.702 0.183 293.541); /* --color-violet-400 */
39
+ --ring: oklch(0.606 0.25 292.717); /* --color-violet-500 */
40
40
 
41
41
  /* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
42
42
 
@@ -47,7 +47,7 @@
47
47
  --sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
48
48
  --sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
49
49
  --sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
50
- --sidebar-ring: oklch(0.702 0.183 293.541); /* --color-violet-400 */
50
+ --sidebar-ring: oklch(0.606 0.25 292.717); /* --color-violet-500 */
51
51
 
52
52
  /* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
53
53
 
@@ -64,8 +64,8 @@
64
64
  --background: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
65
65
  --foreground: oklch(0.985 0 0); /* --color-zinc-50 */
66
66
 
67
- --primary: oklch(0.606 0.25 292.717); /* --color-violet-500 */
68
- --primary-foreground: oklch(0.969 0.016 293.756); /* --color-violet-50 */
67
+ --primary: oklch(0.702 0.183 293.541); /* --color-violet-400 */
68
+ --primary-foreground: oklch(0.283 0.141 291.089); /* --color-violet-950 */
69
69
 
70
70
  --secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
71
71
  --secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
@@ -86,16 +86,16 @@
86
86
 
87
87
  --border: oklch(1 0 0 / 10%); /* --color-white */
88
88
  --input: oklch(1 0 0 / 15%); /* --color-white */
89
- --ring: oklch(0.38 0.189 293.745); /* --color-violet-900 */
89
+ --ring: oklch(0.606 0.25 292.717); /* --color-violet-500 */
90
90
 
91
91
  --sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
92
92
  --sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
93
- --sidebar-primary: oklch(0.606 0.25 292.717); /* --color-violet-500 */
94
- --sidebar-primary-foreground: oklch(0.969 0.016 293.756); /* --color-violet-50 */
93
+ --sidebar-primary: oklch(0.702 0.183 293.541); /* --color-violet-400 */
94
+ --sidebar-primary-foreground: oklch(0.283 0.141 291.089); /* --color-violet-950 */
95
95
  --sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
96
96
  --sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
97
97
  --sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
98
- --sidebar-ring: oklch(0.38 0.189 293.745); /* --color-violet-900 */
98
+ --sidebar-ring: oklch(0.606 0.25 292.717); /* --color-violet-500 */
99
99
 
100
100
  --chart-1: oklch(0.811 0.111 293.571); /* --color-violet-300 */
101
101
  --chart-2: oklch(0.606 0.25 292.717); /* --color-violet-500 */
@@ -12,7 +12,7 @@
12
12
  --background: oklch(1 0 0); /* --color-zinc-50 */
13
13
  --foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
14
14
 
15
- --primary: oklch(0.681 0.162 75.834); /* --color-yellow-600 */
15
+ --primary: oklch(0.554 0.135 66.442); /* --color-yellow-700 */
16
16
  --primary-foreground: oklch(0.987 0.026 102.212); /* --color-yellow-50 */
17
17
 
18
18
  --secondary: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
@@ -36,18 +36,18 @@
36
36
 
37
37
  --border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
38
38
  --input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
39
- --ring: oklch(0.852 0.199 91.936); /* --color-yellow-400 */
39
+ --ring: oklch(0.554 0.135 66.442); /* --color-yellow-700 */
40
40
 
41
41
  /* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
42
42
 
43
43
  --sidebar: oklch(0.985 0 0); /* --color-zinc-50 */
44
44
  --sidebar-foreground: oklch(0.141 0.005 285.823); /* --color-zinc-950 */
45
- --sidebar-primary: oklch(0.681 0.162 75.834); /* --color-yellow-600 */
45
+ --sidebar-primary: oklch(0.554 0.135 66.442); /* --color-yellow-700 */
46
46
  --sidebar-primary-foreground: oklch(0.987 0.026 102.212); /* --color-yellow-50 */
47
47
  --sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
48
48
  --sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
49
49
  --sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
50
- --sidebar-ring: oklch(0.852 0.199 91.936); /* --color-yellow-400 */
50
+ --sidebar-ring: oklch(0.554 0.135 66.442); /* --color-yellow-700 */
51
51
 
52
52
  /* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
53
53
 
@@ -65,7 +65,7 @@
65
65
  --foreground: oklch(0.985 0 0); /* --color-zinc-50 */
66
66
 
67
67
  --primary: oklch(0.795 0.184 86.047); /* --color-yellow-500 */
68
- --primary-foreground: oklch(0.421 0.095 57.708); /* --color-yellow-900 */
68
+ --primary-foreground: oklch(0.286 0.066 53.813); /* --color-yellow-950 */
69
69
 
70
70
  --secondary: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
71
71
  --secondary-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
@@ -86,16 +86,16 @@
86
86
 
87
87
  --border: oklch(1 0 0 / 10%); /* --color-white */
88
88
  --input: oklch(1 0 0 / 15%); /* --color-white */
89
- --ring: oklch(0.421 0.095 57.708); /* --color-yellow-900 */
89
+ --ring: oklch(0.681 0.162 75.834); /* --color-yellow-600 */
90
90
 
91
91
  --sidebar: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
92
92
  --sidebar-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
93
93
  --sidebar-primary: oklch(0.795 0.184 86.047); /* --color-yellow-500 */
94
- --sidebar-primary-foreground: oklch(0.987 0.026 102.212); /* --color-yellow-50 */
94
+ --sidebar-primary-foreground: oklch(0.286 0.066 53.813); /* --color-yellow-950 */
95
95
  --sidebar-accent: oklch(0.274 0.006 286.033); /* --color-zinc-800 */
96
96
  --sidebar-accent-foreground: oklch(0.985 0 0); /* --color-zinc-50 */
97
97
  --sidebar-border: oklch(1 0 0 / 10%); /* --color-white */
98
- --sidebar-ring: oklch(0.421 0.095 57.708); /* --color-yellow-900 */
98
+ --sidebar-ring: oklch(0.681 0.162 75.834); /* --color-yellow-600 */
99
99
 
100
100
  --chart-1: oklch(0.905 0.182 98.111); /* --color-yellow-300 */
101
101
  --chart-2: oklch(0.795 0.184 86.047); /* --color-yellow-500 */
@@ -36,7 +36,7 @@
36
36
 
37
37
  --border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
38
38
  --input: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
39
- --ring: oklch(0.705 0.015 286.067); /* --color-zinc-400 */
39
+ --ring: oklch(0.552 0.016 285.938); /* --color-zinc-500 */
40
40
 
41
41
  /* ── Sidebar ───────────────────────────────────────────────────────────────────────────────────────────────────── */
42
42
 
@@ -47,7 +47,7 @@
47
47
  --sidebar-accent: oklch(0.967 0.001 286.375); /* --color-zinc-100 */
48
48
  --sidebar-accent-foreground: oklch(0.21 0.006 285.885); /* --color-zinc-900 */
49
49
  --sidebar-border: oklch(0.92 0.004 286.32); /* --color-zinc-200 */
50
- --sidebar-ring: oklch(0.705 0.015 286.067); /* --color-zinc-400 */
50
+ --sidebar-ring: oklch(0.552 0.016 285.938); /* --color-zinc-500 */
51
51
 
52
52
  /* ── Charts ────────────────────────────────────────────────────────────────────────────────────────────────────── */
53
53