@iclips/ui 0.0.12 → 0.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iclips/ui",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Sistema de design completo com paleta personalizada (#7F26BF) e 47 componentes shadcn/ui",
5
5
  "author": "iclipsbr",
6
6
  "license": "MIT",
@@ -19,7 +19,6 @@
19
19
  },
20
20
  "files": [
21
21
  "dist",
22
- "styles",
23
22
  "README.md",
24
23
  "LICENSE"
25
24
  ],
@@ -1,478 +0,0 @@
1
- @import "tailwindcss";
2
-
3
- @custom-variant dark (&:is(.dark *));
4
-
5
- :root {
6
- --font-size: 16px;
7
-
8
- /* Custom Color Palette - Base Colors */
9
- /* Grays */
10
- --gray-50: #F2F6FA;
11
- --gray-100: #E9EEF5;
12
- --gray-200: #DAE1EB;
13
- --gray-300: #C5CDD9;
14
- --gray-400: #9BA5B3;
15
- --gray-500: #697280;
16
- --gray-600: #464E59;
17
- --gray-700: #2F3640;
18
- --gray-800: #1A1F26;
19
- --gray-900: #000000;
20
- --white: #FFFFFF;
21
-
22
- /* Purple (Primary Brand Color) */
23
- --purple-50: #F6E9FF;
24
- --purple-100: #DAA6FF;
25
- --purple-200: #BB6DF2;
26
- --purple-500: #7F26BF;
27
- --purple-600: #5B158C;
28
- --purple-700: #420F66;
29
-
30
- /* Blue */
31
- --blue-50: #E2E9FF;
32
- --blue-100: #AABCF2;
33
- --blue-200: #667FCC;
34
- --blue-500: #1C2F8C;
35
- --blue-600: #0F1E66;
36
- --blue-700: #061040;
37
-
38
- /* Cyan */
39
- --cyan-50: #D8EFFF;
40
- --cyan-100: #8CCFFF;
41
- --cyan-200: #3DA7F2;
42
- --cyan-500: #0086E6;
43
- --cyan-600: #0053A6;
44
- --cyan-700: #003066;
45
-
46
- /* Teal */
47
- --teal-50: #D4F5F5;
48
- --teal-100: #9DF2F2;
49
- --teal-200: #5CE6E6;
50
- --teal-500: #14CCCC;
51
- --teal-600: #00A7A7;
52
- --teal-700: #045659;
53
-
54
- /* Green */
55
- --green-50: #D3FBDD;
56
- --green-100: #91F2AA;
57
- --green-200: #57D977;
58
- --green-500: #24B347;
59
- --green-600: #007F2A;
60
- --green-700: #004D19;
61
-
62
- /* Yellow */
63
- --yellow-50: #FFF7CC;
64
- --yellow-100: #FFDD99;
65
- --yellow-200: #FFC859;
66
- --yellow-500: #FAB325;
67
- --yellow-600: #E6960B;
68
- --yellow-700: #CC7C04;
69
-
70
- /* Orange */
71
- --orange-50: #FFECE1;
72
- --orange-100: #FFB68C;
73
- --orange-200: #FF8E4C;
74
- --orange-500: #F26924;
75
- --orange-600: #E64D0B;
76
- --orange-700: #BF3000;
77
-
78
- /* Red */
79
- --red-50: #FFE9EC;
80
- --red-100: #FFB2B9;
81
- --red-200: #FF5967;
82
- --red-500: #F22435;
83
- --red-600: #CC0A1A;
84
- --red-700: #99000D;
85
-
86
- /* Pink */
87
- --pink-50: #FFECF9;
88
- --pink-100: #FFB2E8;
89
- --pink-200: #FF66CC;
90
- --pink-500: #E62EA8;
91
- --pink-600: #BF0A89;
92
- --pink-700: #99086D;
93
-
94
- /* Semantic Colors - Light Mode */
95
- --background: var(--white);
96
- --foreground: var(--gray-800);
97
- --card: var(--white);
98
- --card-foreground: var(--gray-800);
99
- --popover: var(--white);
100
- --popover-foreground: var(--gray-800);
101
- --primary: var(--purple-500);
102
- --primary-foreground: var(--white);
103
- --secondary: var(--purple-50);
104
- --secondary-foreground: var(--purple-700);
105
- --muted: var(--gray-100);
106
- --muted-foreground: var(--gray-500);
107
- --accent: var(--purple-50);
108
- --accent-foreground: var(--purple-600);
109
- --destructive: var(--red-500);
110
- --destructive-foreground: var(--white);
111
- --success: var(--green-500);
112
- --success-foreground: var(--white);
113
- --warning: var(--yellow-500);
114
- --warning-foreground: var(--gray-800);
115
- --info: var(--cyan-500);
116
- --info-foreground: var(--white);
117
- --border: var(--gray-200);
118
- --input: transparent;
119
- --input-background: var(--gray-50);
120
- --switch-background: var(--gray-300);
121
- --ring: var(--purple-500);
122
- --font-weight-medium: 500;
123
- --font-weight-normal: 400;
124
-
125
- /* Charts - Acessibilidade melhorada com Balanceamento Óptico */
126
- --chart-1: var(--purple-500); /* Brand Color (Vibrante) */
127
- --chart-2: var(--cyan-600); /* Darkened for contrast */
128
- --chart-3: var(--green-600); /* Darkened for contrast */
129
- --chart-4: var(--orange-600); /* Darkened for contrast */
130
- --chart-5: var(--pink-600); /* Darkened for contrast */
131
-
132
- /* Border Radius */
133
- --radius: 0.625rem;
134
-
135
- /* Sidebar */
136
- --sidebar: var(--white);
137
- --sidebar-foreground: var(--gray-800);
138
- --sidebar-primary: var(--purple-500);
139
- --sidebar-primary-foreground: var(--white);
140
- --sidebar-accent: var(--purple-50);
141
- --sidebar-accent-foreground: var(--purple-700);
142
- --sidebar-border: var(--gray-200);
143
- --sidebar-ring: var(--purple-500);
144
- }
145
-
146
- .dark {
147
- /* Semantic Colors - Dark Mode */
148
- --background: var(--gray-800);
149
- --foreground: var(--gray-50);
150
- --card: var(--gray-700);
151
- --card-foreground: var(--gray-50);
152
- --popover: var(--gray-700);
153
- --popover-foreground: var(--gray-50);
154
- --primary: var(--purple-200);
155
- --primary-foreground: var(--gray-900);
156
- --secondary: var(--gray-700);
157
- --secondary-foreground: var(--gray-50);
158
- --muted: var(--gray-600);
159
- --muted-foreground: var(--gray-300);
160
- --accent: var(--purple-700);
161
- --accent-foreground: var(--purple-100);
162
- --destructive: var(--red-600);
163
- --destructive-foreground: var(--white);
164
- --success: var(--green-600);
165
- --success-foreground: var(--white);
166
- --warning: var(--yellow-600);
167
- --warning-foreground: var(--white);
168
- --info: var(--cyan-600);
169
- --info-foreground: var(--white);
170
- --border: var(--gray-600);
171
- --input: var(--gray-600);
172
- --input-background: var(--gray-700);
173
- --switch-background: var(--gray-600);
174
- --ring: var(--purple-200);
175
-
176
- /* Charts - Dark Mode */
177
- --chart-1: var(--purple-200);
178
- --chart-2: var(--cyan-200);
179
- --chart-3: var(--green-200);
180
- --chart-4: var(--orange-200);
181
- --chart-5: var(--pink-200);
182
-
183
- /* Sidebar - Dark Mode */
184
- --sidebar: var(--gray-800);
185
- --sidebar-foreground: var(--gray-50);
186
- --sidebar-primary: var(--purple-200);
187
- --sidebar-primary-foreground: var(--gray-900);
188
- --sidebar-accent: var(--gray-700);
189
- --sidebar-accent-foreground: var(--purple-100);
190
- --sidebar-border: var(--gray-600);
191
- --sidebar-ring: var(--purple-200);
192
- }
193
-
194
- @theme inline {
195
- /* Semantic Colors */
196
- --color-background: var(--background);
197
- --color-foreground: var(--foreground);
198
- --color-card: var(--card);
199
- --color-card-foreground: var(--card-foreground);
200
- --color-popover: var(--popover);
201
- --color-popover-foreground: var(--popover-foreground);
202
- --color-primary: var(--primary);
203
- --color-primary-foreground: var(--primary-foreground);
204
- --color-secondary: var(--secondary);
205
- --color-secondary-foreground: var(--secondary-foreground);
206
- --color-muted: var(--muted);
207
- --color-muted-foreground: var(--muted-foreground);
208
- --color-accent: var(--accent);
209
- --color-accent-foreground: var(--accent-foreground);
210
- --color-destructive: var(--destructive);
211
- --color-destructive-foreground: var(--destructive-foreground);
212
- --color-success: var(--success);
213
- --color-success-foreground: var(--success-foreground);
214
- --color-warning: var(--warning);
215
- --color-warning-foreground: var(--warning-foreground);
216
- --color-info: var(--info);
217
- --color-info-foreground: var(--info-foreground);
218
- --color-border: var(--border);
219
- --color-input: var(--input);
220
- --color-input-background: var(--input-background);
221
- --color-switch-background: var(--switch-background);
222
- --color-ring: var(--ring);
223
-
224
- /* Charts */
225
- --color-chart-1: var(--chart-1);
226
- --color-chart-2: var(--chart-2);
227
- --color-chart-3: var(--chart-3);
228
- --color-chart-4: var(--chart-4);
229
- --color-chart-5: var(--chart-5);
230
-
231
- /* Border Radius */
232
- --radius-sm: calc(var(--radius) - 4px);
233
- --radius-md: calc(var(--radius) - 2px);
234
- --radius-lg: var(--radius);
235
- --radius-xl: calc(var(--radius) + 4px);
236
-
237
- /* Sidebar */
238
- --color-sidebar: var(--sidebar);
239
- --color-sidebar-foreground: var(--sidebar-foreground);
240
- --color-sidebar-primary: var(--sidebar-primary);
241
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
242
- --color-sidebar-accent: var(--sidebar-accent);
243
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
244
- --color-sidebar-border: var(--sidebar-border);
245
- --color-sidebar-ring: var(--sidebar-ring);
246
-
247
- /* Raw Color Palette */
248
- --color-gray-50: var(--gray-50);
249
- --color-gray-100: var(--gray-100);
250
- --color-gray-200: var(--gray-200);
251
- --color-gray-300: var(--gray-300);
252
- --color-gray-400: var(--gray-400);
253
- --color-gray-500: var(--gray-500);
254
- --color-gray-600: var(--gray-600);
255
- --color-gray-700: var(--gray-700);
256
- --color-gray-800: var(--gray-800);
257
- --color-purple-50: var(--purple-50);
258
- --color-purple-100: var(--purple-100);
259
- --color-purple-200: var(--purple-200);
260
- --color-purple-500: var(--purple-500);
261
- --color-purple-600: var(--purple-600);
262
- --color-purple-700: var(--purple-700);
263
- --color-blue-50: var(--blue-50);
264
- --color-blue-100: var(--blue-100);
265
- --color-blue-200: var(--blue-200);
266
- --color-blue-500: var(--blue-500);
267
- --color-blue-600: var(--blue-600);
268
- --color-blue-700: var(--blue-700);
269
- --color-cyan-50: var(--cyan-50);
270
- --color-cyan-100: var(--cyan-100);
271
- --color-cyan-200: var(--cyan-200);
272
- --color-cyan-500: var(--cyan-500);
273
- --color-cyan-600: var(--cyan-600);
274
- --color-cyan-700: var(--cyan-700);
275
- --color-teal-50: var(--teal-50);
276
- --color-teal-100: var(--teal-100);
277
- --color-teal-200: var(--teal-200);
278
- --color-teal-500: var(--teal-500);
279
- --color-teal-600: var(--teal-600);
280
- --color-teal-700: var(--teal-700);
281
- --color-green-50: var(--green-50);
282
- --color-green-100: var(--green-100);
283
- --color-green-200: var(--green-200);
284
- --color-green-500: var(--green-500);
285
- --color-green-600: var(--green-600);
286
- --color-green-700: var(--green-700);
287
- --color-yellow-50: var(--yellow-50);
288
- --color-yellow-100: var(--yellow-100);
289
- --color-yellow-200: var(--yellow-200);
290
- --color-yellow-500: var(--yellow-500);
291
- --color-yellow-600: var(--yellow-600);
292
- --color-yellow-700: var(--yellow-700);
293
- --color-orange-50: var(--orange-50);
294
- --color-orange-100: var(--orange-100);
295
- --color-orange-200: var(--orange-200);
296
- --color-orange-500: var(--orange-500);
297
- --color-orange-600: var(--orange-600);
298
- --color-orange-700: var(--orange-700);
299
- --color-red-50: var(--red-50);
300
- --color-red-100: var(--red-100);
301
- --color-red-200: var(--red-200);
302
- --color-red-500: var(--red-500);
303
- --color-red-600: var(--red-600);
304
- --color-red-700: var(--red-700);
305
- --color-pink-50: var(--pink-50);
306
- --color-pink-100: var(--pink-100);
307
- --color-pink-200: var(--pink-200);
308
- --color-pink-500: var(--pink-500);
309
- --color-pink-600: var(--pink-600);
310
- --color-pink-700: var(--pink-700);
311
- }
312
-
313
- @layer base {
314
- * {
315
- @apply border-border outline-ring/50;
316
- }
317
-
318
- body {
319
- @apply bg-background text-foreground;
320
- }
321
- }
322
-
323
- /**
324
- * Base typography. This is not applied to elements which have an ancestor with a Tailwind text class.
325
- */
326
- @layer base {
327
- :where(:not(:has([class*=' text-']), :not(:has([class^='text-'])))) {
328
- h1 {
329
- font-size: var(--text-2xl);
330
- font-weight: var(--font-weight-medium);
331
- line-height: 1.5;
332
- }
333
-
334
- h2 {
335
- font-size: var(--text-xl);
336
- font-weight: var(--font-weight-medium);
337
- line-height: 1.5;
338
- }
339
-
340
- h3 {
341
- font-size: var(--text-lg);
342
- font-weight: var(--font-weight-medium);
343
- line-height: 1.5;
344
- }
345
-
346
- h4 {
347
- font-size: var(--text-base);
348
- font-weight: var(--font-weight-medium);
349
- line-height: 1.5;
350
- }
351
-
352
- p {
353
- font-size: var(--text-base);
354
- font-weight: var(--font-weight-normal);
355
- line-height: 1.5;
356
- }
357
-
358
- label {
359
- font-size: var(--text-base);
360
- font-weight: var(--font-weight-medium);
361
- line-height: 1.5;
362
- }
363
-
364
- button {
365
- font-size: var(--text-base);
366
- font-weight: var(--font-weight-medium);
367
- line-height: 1.5;
368
- }
369
-
370
- input {
371
- font-size: var(--text-base);
372
- font-weight: var(--font-weight-normal);
373
- line-height: 1.5;
374
- }
375
- }
376
- }
377
-
378
- html {
379
- font-size: var(--font-size);
380
- }
381
-
382
- /* ============================================
383
- Print Styles
384
- ============================================ */
385
-
386
- @media print {
387
- /* Ocultar elementos desnecessários na impressão */
388
- .no-print {
389
- display: none !important;
390
- }
391
-
392
- /* Forçar impressão em cores */
393
- * {
394
- -webkit-print-color-adjust: exact !important;
395
- print-color-adjust: exact !important;
396
- color-adjust: exact !important;
397
- }
398
-
399
- /* Configuração da página */
400
- @page {
401
- margin: 2cm;
402
- size: A4 portrait;
403
- }
404
-
405
- /* Evitar quebras de página indesejadas */
406
- .avoid-break {
407
- page-break-inside: avoid !important;
408
- break-inside: avoid !important;
409
- }
410
-
411
- /* Quebra de página forçada */
412
- .page-break {
413
- page-break-before: always !important;
414
- break-before: page !important;
415
- }
416
-
417
- /* Layout específico para tabelas */
418
- table {
419
- page-break-inside: auto !important;
420
- }
421
-
422
- tr {
423
- page-break-inside: avoid !important;
424
- page-break-after: auto !important;
425
- }
426
-
427
- thead {
428
- display: table-header-group !important;
429
- }
430
-
431
- tfoot {
432
- display: table-footer-group !important;
433
- }
434
-
435
- /* Remover sombras e bordas arredondadas para impressão limpa */
436
- .contract-template,
437
- .print-template {
438
- box-shadow: none !important;
439
- border-radius: 0 !important;
440
- padding: 0 !important;
441
- margin: 0 !important;
442
- }
443
-
444
- /* Garantir que textos primários sejam visíveis */
445
- .text-primary {
446
- color: #7F26BF !important;
447
- }
448
-
449
- /* Garantir bordas visíveis */
450
- .border-primary {
451
- border-color: #7F26BF !important;
452
- }
453
-
454
- /* Ajustar cores de fundo para impressão */
455
- .bg-gray-50,
456
- .bg-gray-100 {
457
- background-color: #F2F6FA !important;
458
- }
459
-
460
- /* Ocultar elementos interativos */
461
- button:not(.print-keep),
462
- .hover\:opacity-100,
463
- [role="button"]:not(.print-keep) {
464
- display: none !important;
465
- }
466
-
467
- /* Garantir que cabeçalhos e rodapés sejam impressos */
468
- .print-header,
469
- .print-footer {
470
- display: block !important;
471
- }
472
-
473
- /* Ajustar espaçamentos para impressão */
474
- body {
475
- background: white !important;
476
- color: black !important;
477
- }
478
- }