@omnikit-js/ui 0.3.8 → 0.3.9

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/styles.css DELETED
@@ -1,548 +0,0 @@
1
- /* @omnikit-js/ui Component Styles */
2
- /* This file includes all Tailwind CSS classes used by the billing component */
3
-
4
- /* Color utilities */
5
- .text-red-600 { color: #dc2626; }
6
- .text-red-400 { color: #f87171; }
7
- .text-orange-600 { color: #ea580c; }
8
- .text-orange-400 { color: #fb923c; }
9
- .text-yellow-600 { color: #d97706; }
10
- .text-yellow-400 { color: #facc15; }
11
- .text-green-600 { color: #16a34a; }
12
- .text-green-400 { color: #4ade80; }
13
- .text-gray-500 { color: #6b7280; }
14
- .text-muted-foreground { color: #6b7280; }
15
- .text-foreground { color: #111827; }
16
- .text-primary { color: #3b82f6; }
17
- .text-primary-foreground { color: #ffffff; }
18
-
19
- /* Background colors */
20
- .bg-red-100 { background-color: #fee2e2; }
21
- .bg-red-950 { background-color: #450a0a; }
22
- .bg-orange-100 { background-color: #ffedd5; }
23
- .bg-orange-950 { background-color: #431407; }
24
- .bg-yellow-100 { background-color: #fef3c7; }
25
- .bg-yellow-950 { background-color: #451a03; }
26
- .bg-green-100 { background-color: #dcfce7; }
27
- .bg-green-950 { background-color: #14532d; }
28
- .bg-primary { background-color: #3b82f6; }
29
- .bg-popover { background-color: #ffffff; }
30
- .bg-muted { background-color: #f9fafb; }
31
- .bg-secondary { background-color: #f3f4f6; }
32
- .bg-destructive { background-color: #ef4444; }
33
-
34
- /* Border colors */
35
- .border-primary { border-color: #3b82f6; }
36
- .border-primary\/50 { border-color: rgba(59, 130, 246, 0.5); }
37
- .border-muted { border-color: #e5e7eb; }
38
- .border { border-width: 1px; }
39
- .border-t { border-top-width: 1px; }
40
-
41
- /* Text sizes */
42
- .text-xs { font-size: 0.75rem; line-height: 1rem; }
43
- .text-sm { font-size: 0.875rem; line-height: 1.25rem; }
44
- .text-base { font-size: 1rem; line-height: 1.5rem; }
45
- .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
46
- .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
47
- .text-2xl { font-size: 1.5rem; line-height: 2rem; }
48
- .text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
49
- .text-5xl { font-size: 3rem; line-height: 1; }
50
-
51
- /* Font weights */
52
- .font-normal { font-weight: 400; }
53
- .font-medium { font-weight: 500; }
54
- .font-semibold { font-weight: 600; }
55
- .font-bold { font-weight: 700; }
56
-
57
- /* Spacing */
58
- .p-1 { padding: 0.25rem; }
59
- .p-3 { padding: 0.75rem; }
60
- .p-4 { padding: 1rem; }
61
- .p-6 { padding: 1.5rem; }
62
- .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
63
- .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
64
- .pt-2 { padding-top: 0.5rem; }
65
- .pt-3 { padding-top: 0.75rem; }
66
- .pt-4 { padding-top: 1rem; }
67
- .pb-4 { padding-bottom: 1rem; }
68
- .pb-8 { padding-bottom: 2rem; }
69
- .ml-1 { margin-left: 0.25rem; }
70
- .ml-2 { margin-left: 0.5rem; }
71
- .mr-2 { margin-right: 0.5rem; }
72
- .mt-1 { margin-top: 0.25rem; }
73
- .mt-2 { margin-top: 0.5rem; }
74
- .mb-4 { margin-bottom: 1rem; }
75
- .mb-8 { margin-bottom: 2rem; }
76
-
77
- /* Layout */
78
- .flex { display: flex; }
79
- .inline-flex { display: inline-flex; }
80
- .grid { display: grid; }
81
- .hidden { display: none; }
82
- .flex-col { flex-direction: column; }
83
- .flex-1 { flex: 1 1 0%; }
84
- .flex-shrink-0 { flex-shrink: 0; }
85
- .items-start { align-items: flex-start; }
86
- .items-center { align-items: center; }
87
- .items-baseline { align-items: baseline; }
88
- .justify-center { justify-content: center; }
89
- .justify-between { justify-content: space-between; }
90
- .justify-end { justify-content: flex-end; }
91
-
92
- /* Grid */
93
- .gap-4 { gap: 1rem; }
94
- .gap-6 { gap: 1.5rem; }
95
-
96
- /* Width and height */
97
- .w-full { width: 100%; }
98
- .h-4 { height: 1rem; }
99
- .h-6 { height: 1.5rem; }
100
- .h-full { height: 100%; }
101
- .min-h-\[300px\] { min-height: 300px; }
102
-
103
- /* Positioning */
104
- .relative { position: relative; }
105
- .absolute { position: absolute; }
106
- .fixed { position: fixed; }
107
- .top-0 { top: 0px; }
108
- .right-0 { right: 0px; }
109
- .left-1\/2 { left: 50%; }
110
- .top-1\/2 { top: 50%; }
111
- .inset { inset: 0px; }
112
- .z-50 { z-index: 50; }
113
- .z-51 { z-index: 51; }
114
-
115
- /* Transforms */
116
- .-translate-x-1\/2 { transform: translateX(-50%); }
117
- .-translate-y-1\/2 { transform: translateY(-50%); }
118
-
119
- /* Overflow */
120
- .overflow-hidden { overflow: hidden; }
121
-
122
- /* Border radius */
123
- .rounded { border-radius: 0.25rem; }
124
- .rounded-md { border-radius: 0.375rem; }
125
- .rounded-lg { border-radius: 0.5rem; }
126
- .rounded-bl-lg { border-bottom-left-radius: 0.5rem; }
127
- .rounded-full { border-radius: 9999px; }
128
-
129
- /* Box shadow */
130
- .shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
131
- .shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
132
-
133
- /* Cursor */
134
- .cursor-pointer { cursor: pointer; }
135
- .cursor-help { cursor: help; }
136
-
137
- /* Transitions */
138
- .transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
139
- .animate-in { animation: enter 150ms ease-out; }
140
- .animate-out { animation: exit 150ms ease-in; }
141
- .animate-spin { animation: spin 1s linear infinite; }
142
-
143
- /* Space between children */
144
- .space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
145
- .space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
146
- .space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
147
- .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
148
- .space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
149
- .space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
150
-
151
- /* Responsive grid columns */
152
- @media (min-width: 768px) {
153
- .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
154
- .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
155
- }
156
-
157
- @media (min-width: 1024px) {
158
- .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
159
- }
160
-
161
- @media (min-width: 1280px) {
162
- .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
163
- }
164
-
165
- /* Pseudo-class utilities */
166
- .first\:border-t-0:first-child { border-top-width: 0px; }
167
- .first\:pt-0:first-child { padding-top: 0px; }
168
-
169
- /* Dark mode styles */
170
- @media (prefers-color-scheme: dark) {
171
- .dark\:text-red-400 { color: #f87171; }
172
- .dark\:text-orange-400 { color: #fb923c; }
173
- .dark\:text-yellow-400 { color: #facc15; }
174
- .dark\:text-green-400 { color: #4ade80; }
175
- .dark\:bg-red-950 { background-color: #450a0a; }
176
- .dark\:bg-orange-950 { background-color: #431407; }
177
- .dark\:bg-yellow-950 { background-color: #451a03; }
178
- .dark\:bg-green-950 { background-color: #14532d; }
179
- }
180
-
181
- /* Custom keyframes */
182
- @keyframes enter {
183
- from { opacity: 0; transform: scale(0.95); }
184
- to { opacity: 1; transform: scale(1); }
185
- }
186
-
187
- @keyframes exit {
188
- from { opacity: 1; transform: scale(1); }
189
- to { opacity: 0; transform: scale(0.95); }
190
- }
191
-
192
- @keyframes spin {
193
- to { transform: rotate(360deg); }
194
- }
195
-
196
- /* Card styles */
197
- .omnikit-card {
198
- background: white;
199
- border: 1px solid #e5e7eb;
200
- border-radius: 0.5rem;
201
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
202
- }
203
-
204
- .omnikit-card-header {
205
- padding: 1.5rem 1.5rem 0 1.5rem;
206
- }
207
-
208
- .omnikit-card-content {
209
- padding: 1.5rem;
210
- }
211
-
212
- .omnikit-card-footer {
213
- padding: 0 1.5rem 1.5rem 1.5rem;
214
- }
215
-
216
- /* Button styles */
217
- .omnikit-button {
218
- display: inline-flex;
219
- align-items: center;
220
- justify-content: center;
221
- border-radius: 0.375rem;
222
- font-size: 0.875rem;
223
- font-weight: 500;
224
- padding: 0.5rem 1rem;
225
- border: 1px solid transparent;
226
- cursor: pointer;
227
- transition: all 0.2s;
228
- }
229
-
230
- .omnikit-button-primary {
231
- background: #3b82f6;
232
- color: white;
233
- }
234
-
235
- .omnikit-button-primary:hover {
236
- background: #2563eb;
237
- }
238
-
239
- .omnikit-button-secondary {
240
- background: #f3f4f6;
241
- color: #374151;
242
- }
243
-
244
- .omnikit-button-secondary:hover {
245
- background: #e5e7eb;
246
- }
247
-
248
- .omnikit-button-outline {
249
- background: transparent;
250
- border-color: #d1d5db;
251
- color: #374151;
252
- }
253
-
254
- .omnikit-button-outline:hover {
255
- background: #f9fafb;
256
- }
257
-
258
- .omnikit-button-destructive {
259
- background: #ef4444;
260
- color: white;
261
- }
262
-
263
- .omnikit-button-destructive:hover {
264
- background: #dc2626;
265
- }
266
-
267
- /* Pricing card styles */
268
- .omnikit-pricing-grid {
269
- display: grid;
270
- gap: 1rem;
271
- grid-template-columns: 1fr;
272
- }
273
-
274
- @media (min-width: 768px) {
275
- .omnikit-pricing-grid {
276
- grid-template-columns: repeat(2, 1fr);
277
- }
278
- }
279
-
280
- @media (min-width: 1024px) {
281
- .omnikit-pricing-grid {
282
- grid-template-columns: repeat(3, 1fr);
283
- }
284
- }
285
-
286
- @media (min-width: 1280px) {
287
- .omnikit-pricing-grid-4 {
288
- grid-template-columns: repeat(4, 1fr);
289
- }
290
- }
291
-
292
- .omnikit-pricing-card {
293
- position: relative;
294
- display: flex;
295
- flex-direction: column;
296
- height: 100%;
297
- overflow: hidden;
298
- }
299
-
300
- .omnikit-pricing-card.current {
301
- border-color: #3b82f6;
302
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
303
- }
304
-
305
- .omnikit-pricing-card.popular {
306
- border-color: rgba(59, 130, 246, 0.5);
307
- }
308
-
309
- /* Feature styles */
310
- .omnikit-feature-value {
311
- font-size: 1.125rem;
312
- font-weight: 600;
313
- color: #111827;
314
- }
315
-
316
- .omnikit-feature-units {
317
- font-size: 0.875rem;
318
- color: #6b7280;
319
- font-weight: 400;
320
- }
321
-
322
- .omnikit-feature-name {
323
- font-size: 0.75rem;
324
- color: #6b7280;
325
- margin-top: 0.25rem;
326
- cursor: help;
327
- }
328
-
329
- /* Badge styles */
330
- .omnikit-badge {
331
- display: inline-flex;
332
- align-items: center;
333
- border-radius: 9999px;
334
- padding: 0.25rem 0.75rem;
335
- font-size: 0.75rem;
336
- font-weight: 500;
337
- background: #f3f4f6;
338
- color: #374151;
339
- }
340
-
341
- .omnikit-badge-secondary {
342
- background: #f3f4f6;
343
- color: #374151;
344
- }
345
-
346
- /* Progress bar styles */
347
- .omnikit-progress {
348
- width: 100%;
349
- height: 0.5rem;
350
- background: #f3f4f6;
351
- border-radius: 9999px;
352
- overflow: hidden;
353
- }
354
-
355
- .omnikit-progress-fill {
356
- height: 100%;
357
- background: #3b82f6;
358
- transition: width 0.3s ease;
359
- }
360
-
361
- /* Modal/Dialog styles */
362
- .omnikit-dialog-overlay {
363
- position: fixed;
364
- inset: 0;
365
- background: rgba(0, 0, 0, 0.5);
366
- z-index: 50;
367
- }
368
-
369
- .omnikit-dialog-content {
370
- position: fixed;
371
- left: 50%;
372
- top: 50%;
373
- transform: translate(-50%, -50%);
374
- background: white;
375
- border-radius: 0.5rem;
376
- padding: 1.5rem;
377
- max-width: 28rem;
378
- width: 90vw;
379
- z-index: 51;
380
- box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
381
- }
382
-
383
- /* Tabs styles */
384
- .omnikit-tabs-list {
385
- display: inline-flex;
386
- align-items: center;
387
- justify-content: center;
388
- border-radius: 0.375rem;
389
- background: #f3f4f6;
390
- padding: 0.25rem;
391
- }
392
-
393
- .omnikit-tabs-trigger {
394
- display: inline-flex;
395
- align-items: center;
396
- justify-content: center;
397
- padding: 0.375rem 0.75rem;
398
- font-size: 0.875rem;
399
- font-weight: 500;
400
- border-radius: 0.25rem;
401
- cursor: pointer;
402
- color: #6b7280;
403
- transition: all 0.2s;
404
- }
405
-
406
- .omnikit-tabs-trigger[data-state="active"] {
407
- background: white;
408
- color: #111827;
409
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
410
- }
411
-
412
- /* Utility classes */
413
- .omnikit-text-muted {
414
- color: #6b7280;
415
- }
416
-
417
- .omnikit-text-foreground {
418
- color: #111827;
419
- }
420
-
421
- .omnikit-text-primary {
422
- color: #3b82f6;
423
- }
424
-
425
- .omnikit-flex {
426
- display: flex;
427
- }
428
-
429
- .omnikit-flex-col {
430
- flex-direction: column;
431
- }
432
-
433
- .omnikit-flex-1 {
434
- flex: 1 1 0%;
435
- }
436
-
437
- .omnikit-items-center {
438
- align-items: center;
439
- }
440
-
441
- .omnikit-justify-center {
442
- justify-content: center;
443
- }
444
-
445
- .omnikit-justify-between {
446
- justify-content: space-between;
447
- }
448
-
449
- .omnikit-space-y-2 > * + * {
450
- margin-top: 0.5rem;
451
- }
452
-
453
- .omnikit-space-y-3 > * + * {
454
- margin-top: 0.75rem;
455
- }
456
-
457
- .omnikit-space-y-4 > * + * {
458
- margin-top: 1rem;
459
- }
460
-
461
- .omnikit-mt-1 {
462
- margin-top: 0.25rem;
463
- }
464
-
465
- .omnikit-mt-2 {
466
- margin-top: 0.5rem;
467
- }
468
-
469
- .omnikit-mb-4 {
470
- margin-bottom: 1rem;
471
- }
472
-
473
- .omnikit-p-4 {
474
- padding: 1rem;
475
- }
476
-
477
- .omnikit-pt-2 {
478
- padding-top: 0.5rem;
479
- }
480
-
481
- .omnikit-pt-3 {
482
- padding-top: 0.75rem;
483
- }
484
-
485
- .omnikit-w-full {
486
- width: 100%;
487
- }
488
-
489
- .omnikit-h-6 {
490
- height: 1.5rem;
491
- }
492
-
493
- .omnikit-min-h-300 {
494
- min-height: 300px;
495
- }
496
-
497
- /* Dark mode support */
498
- @media (prefers-color-scheme: dark) {
499
- .omnikit-card {
500
- background: #1f2937;
501
- border-color: #374151;
502
- color: white;
503
- }
504
-
505
- .omnikit-feature-value {
506
- color: white;
507
- }
508
-
509
- .omnikit-text-foreground {
510
- color: white;
511
- }
512
-
513
- .omnikit-button-secondary {
514
- background: #374151;
515
- color: #d1d5db;
516
- }
517
-
518
- .omnikit-button-secondary:hover {
519
- background: #4b5563;
520
- }
521
-
522
- .omnikit-button-outline {
523
- border-color: #4b5563;
524
- color: #d1d5db;
525
- }
526
-
527
- .omnikit-button-outline:hover {
528
- background: #374151;
529
- }
530
-
531
- .omnikit-dialog-content {
532
- background: #1f2937;
533
- color: white;
534
- }
535
-
536
- .omnikit-tabs-list {
537
- background: #374151;
538
- }
539
-
540
- .omnikit-tabs-trigger {
541
- color: #9ca3af;
542
- }
543
-
544
- .omnikit-tabs-trigger[data-state="active"] {
545
- background: #1f2937;
546
- color: white;
547
- }
548
- }