@kopexa/theme 1.4.2 → 1.4.4

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 (56) hide show
  1. package/dist/{chunk-HQ27V5V4.mjs → chunk-2C5EQ4P3.mjs} +4 -0
  2. package/dist/chunk-32L6KXLV.mjs +324 -0
  3. package/dist/{chunk-IL3JFLE2.mjs → chunk-4UDOCFU5.mjs} +7 -0
  4. package/dist/chunk-67PPUTSS.mjs +53 -0
  5. package/dist/chunk-JWF5ABNP.mjs +56 -0
  6. package/dist/{chunk-5FI7W32M.mjs → chunk-KE2E5LGH.mjs} +2 -11
  7. package/dist/chunk-PQSL3W26.mjs +96 -0
  8. package/dist/chunk-XSN6P5JL.mjs +0 -0
  9. package/dist/components/button.js +24 -11
  10. package/dist/components/button.mjs +3 -3
  11. package/dist/components/calendar.d.mts +124 -0
  12. package/dist/components/calendar.d.ts +124 -0
  13. package/dist/components/calendar.js +80 -0
  14. package/dist/components/calendar.mjs +6 -0
  15. package/dist/components/chip.d.mts +356 -0
  16. package/dist/components/chip.d.ts +356 -0
  17. package/dist/components/chip.js +396 -0
  18. package/dist/components/chip.mjs +7 -0
  19. package/dist/components/dropdown-menu.d.mts +9 -9
  20. package/dist/components/dropdown-menu.d.ts +9 -9
  21. package/dist/components/index.d.mts +3 -0
  22. package/dist/components/index.d.ts +3 -0
  23. package/dist/components/index.js +516 -27
  24. package/dist/components/index.mjs +22 -8
  25. package/dist/components/input.d.mts +177 -0
  26. package/dist/components/input.d.ts +177 -0
  27. package/dist/components/input.js +124 -0
  28. package/dist/components/input.mjs +9 -0
  29. package/dist/components/spinner.d.mts +21 -0
  30. package/dist/components/spinner.d.ts +21 -0
  31. package/dist/components/spinner.js +7 -0
  32. package/dist/components/spinner.mjs +1 -1
  33. package/dist/index.css +98 -19
  34. package/dist/index.d.mts +4 -0
  35. package/dist/index.d.ts +4 -0
  36. package/dist/index.js +516 -27
  37. package/dist/index.mjs +23 -8
  38. package/dist/utils/classes.d.mts +2 -1
  39. package/dist/utils/classes.d.ts +2 -1
  40. package/dist/utils/classes.js +7 -2
  41. package/dist/utils/classes.mjs +5 -3
  42. package/dist/utils/index.d.mts +2 -0
  43. package/dist/utils/index.d.ts +2 -0
  44. package/dist/utils/index.js +18 -0
  45. package/dist/utils/index.mjs +1 -0
  46. package/dist/utils/types.d.mts +10 -0
  47. package/dist/utils/types.d.ts +10 -0
  48. package/dist/utils/types.js +18 -0
  49. package/dist/utils/types.mjs +0 -0
  50. package/dist/utils/variants.d.mts +20 -0
  51. package/dist/utils/variants.d.ts +20 -0
  52. package/dist/utils/variants.js +24 -2
  53. package/dist/utils/variants.mjs +1 -1
  54. package/package.json +2 -2
  55. package/dist/chunk-U6ONJKJY.mjs +0 -31
  56. /package/dist/{chunk-KIDK6JOG.mjs → chunk-N2UQGV46.mjs} +0 -0
package/dist/index.css CHANGED
@@ -10,20 +10,22 @@
10
10
  --card-foreground: oklch(0.145 0 0);
11
11
  --popover: oklch(1 0 0);
12
12
  --popover-foreground: oklch(0.145 0 0);
13
- --primary: oklch(0.205 0 0);
14
- --primary-foreground: oklch(0.985 0 0);
15
- --secondary: oklch(0.97 0 0);
13
+ --primary: var(--color-primary-900);
14
+ --primary-foreground: var(--color-white);
15
+ --secondary: var(--color-default-200);
16
16
  --secondary-foreground: oklch(0.205 0 0);
17
17
  --muted: oklch(0.97 0 0);
18
18
  --muted-foreground: oklch(0.556 0 0);
19
- --accent: oklch(0.97 0 0);
19
+ --accent: var(--color-default-100);
20
20
  --accent-foreground: oklch(0.205 0 0);
21
- --destructive: oklch(0.577 0.245 27.325);
22
- --destructive-foreground: oklch(0.577 0.245 27.325);
23
- --success: oklch(0.7329 0.1935 150.81);
24
- --success-foreground: oklch(1 0 0);
25
- --warning: oklch(0.84 0.16 84);
26
- --warning-foreground: oklch(0.28 0.07 46);
21
+ --destructive: var(--color-destructive-600);
22
+ --destructive-foreground: var(--color-white);
23
+ --success: var(--color-success-500);
24
+ --success-foreground: var(--color-white);
25
+ --warning: var(--color-warning-500);
26
+ --warning-foreground: var(--color-white);
27
+ --info: var(--color-info-500);
28
+ --info-foreground: oklch(--color-black);
27
29
  --border: oklch(0.922 0 0);
28
30
  --input: oklch(0.922 0 0);
29
31
  --ring: oklch(0.708 0 0);
@@ -56,14 +58,16 @@
56
58
  --secondary-foreground: oklch(0.985 0 0);
57
59
  --muted: oklch(0.269 0 0);
58
60
  --muted-foreground: oklch(0.708 0 0);
59
- --accent: oklch(0.269 0 0);
61
+ --accent: var(--color-default-800);
60
62
  --accent-foreground: oklch(0.985 0 0);
61
- --destructive: oklch(0.396 0.141 25.723);
62
- --destructive-foreground: oklch(0.637 0.237 25.331);
63
- --success: oklch(0.7329 0.1935 150.81);
64
- --success-foreground: oklch(1 0 0);
65
- --warning: oklch(0.41 0.11 46);
66
- --warning-foreground: oklch(0.99 0.02 95);
63
+ --destructive: var(--color-destructive-600);
64
+ --destructive-foreground: var(--color-white);
65
+ --success: var(--color-success-500);
66
+ --success-foreground: var(--color-white);
67
+ --warning: var(--color-warning-500);
68
+ --warning-foreground: var(--color-white);
69
+ --info: var(--color-info-500);
70
+ --info-foreground: oklch(--color-black);
67
71
  --border: oklch(0.269 0 0);
68
72
  --input: oklch(0.269 0 0);
69
73
  --ring: oklch(0.439 0 0);
@@ -83,14 +87,87 @@
83
87
  }
84
88
 
85
89
  @theme inline {
90
+ --color-primary-50: oklch(96.58% 0.016 262.77);
91
+ --color-primary-100: oklch(92.21% 0.037 262.15);
92
+ --color-primary-200: oklch(84.55% 0.074 259.28);
93
+ --color-primary-300: oklch(76.66% 0.113 255.47);
94
+ --color-primary-400: oklch(68.81% 0.153 250.39);
95
+ --color-primary-500: oklch(61.06% 0.141 250.16);
96
+ --color-primary-600: oklch(53.38% 0.119 250.22);
97
+ --color-primary-700: oklch(45.75% 0.099 250.12);
98
+ --color-primary-800: oklch(37.91% 0.082 250.88);
99
+ --color-primary-900: oklch(30.29% 0.063 250.69);
100
+ --color-primary-950: oklch(26.35% 0.054 251.42);
101
+
102
+ --color-success-50: oklch(83.12% 0.181 162.49);
103
+ --color-success-100: oklch(80.69% 0.176 162.3);
104
+ --color-success-200: oklch(75.55% 0.164 162.5);
105
+ --color-success-300: oklch(70.59% 0.154 162.44);
106
+ --color-success-400: oklch(65.53% 0.143 162.38);
107
+ --color-success-500: oklch(60.48% 0.13 162.48);
108
+ --color-success-600: oklch(51.23% 0.112 162.36);
109
+ --color-success-700: oklch(41.99% 0.091 162.66);
110
+ --color-success-800: oklch(31.84% 0.069 162.91);
111
+ --color-success-900: oklch(22.65% 0.049 162.45);
112
+ --color-success-950: oklch(18.48% 0.04 162.16);
113
+
114
+ --color-default-50: #f1f1f1;
115
+ --color-default-100: oklch(91.34% 0.003 286.77);
116
+ --color-default-200: oklch(82.74% 0.004 286.56);
117
+ --color-default-300: oklch(73.28% 0.006 286.42);
118
+ --color-default-400: oklch(64.83% 0.007 286.3);
119
+ --color-default-500: oklch(56.1% 0.009 286.18);
120
+ --color-default-600: oklch(47.36% 0.011 286.02);
121
+ --color-default-700: oklch(38.89% 0.01 285.97);
122
+ --color-default-800: oklch(30.27% 0.007 286.02);
123
+ --color-default-900: oklch(21.03% 0.006 285.93);
124
+ --color-default-950: oklch(16.47% 0.004 285.98);
125
+
126
+ --color-warning-50: oklch(97.44% 0.014 46.3);
127
+ --color-warning-100: oklch(95.09% 0.027 49.62);
128
+ --color-warning-200: oklch(90.93% 0.054 52.32);
129
+ --color-warning-300: oklch(85.96% 0.089 55.12);
130
+ --color-warning-400: oklch(81.8% 0.124 58.92);
131
+ --color-warning-500: oklch(77.24% 0.173 65.36);
132
+ --color-warning-600: oklch(64.8% 0.145 65.5);
133
+ --color-warning-700: oklch(51.54% 0.116 64.9);
134
+ --color-warning-800: oklch(39.24% 0.088 65.26);
135
+ --color-warning-900: oklch(26.26% 0.058 66.84);
136
+ --color-warning-950: oklch(20.09% 0.045 64.46);
137
+
138
+ --color-destructive-50: oklch(96.83% 0.014 17.52);
139
+ --color-destructive-100: oklch(92.61% 0.034 17.84);
140
+ --color-destructive-200: oklch(85.46% 0.072 18.68);
141
+ --color-destructive-300: oklch(78.13% 0.116 20.02);
142
+ --color-destructive-400: oklch(71.06% 0.166 22.22);
143
+ --color-destructive-500: oklch(62.36% 0.238 27.77);
144
+ --color-destructive-600: oklch(53.37% 0.204 27.76);
145
+ --color-destructive-700: oklch(43.32% 0.166 27.8);
146
+ --color-destructive-800: oklch(33.35% 0.128 27.81);
147
+ --color-destructive-900: oklch(24.35% 0.092 27.62);
148
+ --color-destructive-950: oklch(18.62% 0.07 27.45);
149
+
150
+ --color-info-50: oklch(96.43% 0.017 256.28);
151
+ --color-info-100: oklch(93.84% 0.03 256.01);
152
+ --color-info-200: oklch(87.73% 0.062 252.24);
153
+ --color-info-300: oklch(81.67% 0.097 247.74);
154
+ --color-info-400: oklch(75.48% 0.136 243.67);
155
+ --color-info-500: oklch(69.2% 0.16 240.37);
156
+ --color-info-600: oklch(58.22% 0.134 240.44);
157
+ --color-info-700: oklch(47% 0.108 240.31);
158
+ --color-info-800: oklch(35.86% 0.084 240.95);
159
+ --color-info-900: oklch(24.87% 0.058 240.76);
160
+ --color-info-950: oklch(18.67% 0.043 240.07);
161
+
162
+
86
163
  --color-background: var(--background);
87
164
  --color-foreground: var(--foreground);
88
165
  --color-card: var(--card);
89
166
  --color-card-foreground: var(--card-foreground);
90
167
  --color-popover: var(--popover);
91
168
  --color-popover-foreground: var(--popover-foreground);
92
- --color-primary: var(--primary);
93
- --color-primary-foreground: var(--primary-foreground);
169
+ --color-primary: var(--color-primary-950);
170
+ --color-primary-foreground: var(--color-white);
94
171
  --color-secondary: var(--secondary);
95
172
  --color-secondary-foreground: var(--secondary-foreground);
96
173
  --color-muted: var(--muted);
@@ -103,6 +180,8 @@
103
180
  --color-success-foreground: var(--success-foreground);
104
181
  --color-warning: var(--warning);
105
182
  --color-warning-foreground: var(--warning-foreground);
183
+ --color-info: var(--info);
184
+ --color-info-foreground: var(--info-foreground);
106
185
  --color-border: var(--border);
107
186
  --color-input: var(--input);
108
187
  --color-ring: var(--ring);
package/dist/index.d.mts CHANGED
@@ -1,10 +1,14 @@
1
1
  export { TV, VariantProps } from 'tailwind-variants';
2
2
  export { ButtonVariantProps, button } from './components/button.mjs';
3
+ export { CalendarVariantProps, calendar } from './components/calendar.mjs';
4
+ export { ChipSlots, ChipVariantProps, chip } from './components/chip.mjs';
3
5
  export { CommandVariants, command } from './components/command.mjs';
4
6
  export { DialogSlots, DialogVariantProps, dialog } from './components/dialog.mjs';
5
7
  export { DrawerVariantProps, drawer } from './components/drawer.mjs';
6
8
  export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-menu.mjs';
9
+ export { InputVariantProps, input, passwordInput } from './components/input.mjs';
7
10
  export { PageLayoutVariantProps, pageLayout } from './components/page-layout.mjs';
8
11
  export { PopoverVariants, popover } from './components/popover.mjs';
9
12
  export { SpinnerVariants, spinner } from './components/spinner.mjs';
10
13
  export { TooltipVariants, tooltip } from './components/tooltip.mjs';
14
+ export { SlotsToClasses } from './utils/types.mjs';
package/dist/index.d.ts CHANGED
@@ -1,10 +1,14 @@
1
1
  export { TV, VariantProps } from 'tailwind-variants';
2
2
  export { ButtonVariantProps, button } from './components/button.js';
3
+ export { CalendarVariantProps, calendar } from './components/calendar.js';
4
+ export { ChipSlots, ChipVariantProps, chip } from './components/chip.js';
3
5
  export { CommandVariants, command } from './components/command.js';
4
6
  export { DialogSlots, DialogVariantProps, dialog } from './components/dialog.js';
5
7
  export { DrawerVariantProps, drawer } from './components/drawer.js';
6
8
  export { DropdownMenuVariantProps, dropdownMenu } from './components/dropdown-menu.js';
9
+ export { InputVariantProps, input, passwordInput } from './components/input.js';
7
10
  export { PageLayoutVariantProps, pageLayout } from './components/page-layout.js';
8
11
  export { PopoverVariants, popover } from './components/popover.js';
9
12
  export { SpinnerVariants, spinner } from './components/spinner.js';
10
13
  export { TooltipVariants, tooltip } from './components/tooltip.js';
14
+ export { SlotsToClasses } from './utils/types.js';