@bezdenegsvarkinet/ui-library 0.1.4 → 0.2.1

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.
@@ -8,6 +8,27 @@
8
8
  --tw-skew-x: initial;
9
9
  --tw-skew-y: initial;
10
10
  --tw-border-style: solid;
11
+ --tw-leading: initial;
12
+ --tw-font-weight: initial;
13
+ --tw-outline-style: solid;
14
+ --tw-duration: initial;
15
+ --tw-animation-delay: 0s;
16
+ --tw-animation-direction: normal;
17
+ --tw-animation-duration: initial;
18
+ --tw-animation-fill-mode: none;
19
+ --tw-animation-iteration-count: 1;
20
+ --tw-enter-blur: 0;
21
+ --tw-enter-opacity: 1;
22
+ --tw-enter-rotate: 0;
23
+ --tw-enter-scale: 1;
24
+ --tw-enter-translate-x: 0;
25
+ --tw-enter-translate-y: 0;
26
+ --tw-exit-blur: 0;
27
+ --tw-exit-opacity: 1;
28
+ --tw-exit-rotate: 0;
29
+ --tw-exit-scale: 1;
30
+ --tw-exit-translate-x: 0;
31
+ --tw-exit-translate-y: 0;
11
32
  }
12
33
  }
13
34
  }
@@ -19,9 +40,17 @@
19
40
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
20
41
  "Courier New", monospace;
21
42
  --color-red-500: oklch(63.7% .237 25.331);
22
- --color-green-500: oklch(72.3% .219 149.579);
23
- --color-pink-400: oklch(71.8% .202 349.761);
43
+ --color-blue-50: oklch(97% .014 254.604);
44
+ --color-blue-500: oklch(62.3% .214 259.815);
45
+ --color-blue-600: oklch(54.6% .245 262.881);
46
+ --color-gray-200: oklch(92.8% .006 264.531);
47
+ --color-gray-300: oklch(87.2% .01 258.338);
48
+ --color-gray-800: oklch(27.8% .033 256.848);
24
49
  --color-white: #fff;
50
+ --spacing: .25rem;
51
+ --font-weight-medium: 500;
52
+ --default-transition-duration: .15s;
53
+ --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
25
54
  --default-font-family: var(--font-sans);
26
55
  --default-mono-font-family: var(--font-mono);
27
56
  }
@@ -272,6 +301,22 @@
272
301
  [hidden]:where(:not([hidden="until-found"])) {
273
302
  display: none !important;
274
303
  }
304
+
305
+ * {
306
+ border-color: var(--border);
307
+ outline-color: var(--ring);
308
+ }
309
+
310
+ @supports (color: color-mix(in lab, red, red)) {
311
+ * {
312
+ outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
313
+ }
314
+ }
315
+
316
+ body {
317
+ background-color: var(--background);
318
+ color: var(--foreground);
319
+ }
275
320
  }
276
321
 
277
322
  @layer components;
@@ -285,10 +330,6 @@
285
330
  position: static;
286
331
  }
287
332
 
288
- .contents {
289
- display: contents;
290
- }
291
-
292
333
  .flex {
293
334
  display: flex;
294
335
  }
@@ -297,36 +338,328 @@
297
338
  display: inline-block;
298
339
  }
299
340
 
341
+ .table {
342
+ display: table;
343
+ }
344
+
345
+ .h-\[32px\] {
346
+ height: 32px;
347
+ }
348
+
349
+ .h-\[40px\] {
350
+ height: 40px;
351
+ }
352
+
353
+ .h-\[48px\] {
354
+ height: 48px;
355
+ }
356
+
357
+ .h-\[56px\] {
358
+ height: 56px;
359
+ }
360
+
300
361
  .transform {
301
362
  transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
302
363
  }
303
364
 
365
+ .flex-col {
366
+ flex-direction: column;
367
+ }
368
+
369
+ .flex-wrap {
370
+ flex-wrap: wrap;
371
+ }
372
+
373
+ .items-center {
374
+ align-items: center;
375
+ }
376
+
377
+ .items-start {
378
+ align-items: flex-start;
379
+ }
380
+
381
+ .gap-2 {
382
+ gap: calc(var(--spacing) * 2);
383
+ }
384
+
385
+ .gap-4 {
386
+ gap: calc(var(--spacing) * 4);
387
+ }
388
+
389
+ .rounded-\[8px\] {
390
+ border-radius: 8px;
391
+ }
392
+
304
393
  .border {
305
394
  border-style: var(--tw-border-style);
306
395
  border-width: 1px;
307
396
  }
308
397
 
309
- .bg-pink-400\! {
310
- background-color: var(--color-pink-400) !important;
398
+ .border-2 {
399
+ border-style: var(--tw-border-style);
400
+ border-width: 2px;
401
+ }
402
+
403
+ .border-blue-500 {
404
+ border-color: var(--color-blue-500);
311
405
  }
312
406
 
313
- .bg-red-500 {
314
- background-color: var(--color-red-500);
407
+ .bg-blue-500 {
408
+ background-color: var(--color-blue-500);
315
409
  }
316
410
 
317
- .text-green-500 {
318
- color: var(--color-green-500);
411
+ .bg-gray-200 {
412
+ background-color: var(--color-gray-200);
413
+ }
414
+
415
+ .bg-transparent {
416
+ background-color: #0000;
417
+ }
418
+
419
+ .px-4 {
420
+ padding-inline: calc(var(--spacing) * 4);
421
+ }
422
+
423
+ .py-2 {
424
+ padding-block: calc(var(--spacing) * 2);
425
+ }
426
+
427
+ .text-\[14px\] {
428
+ font-size: 14px;
429
+ }
430
+
431
+ .text-\[16px\] {
432
+ font-size: 16px;
433
+ }
434
+
435
+ .leading-\[100\%\] {
436
+ --tw-leading: 100%;
437
+ line-height: 100%;
438
+ }
439
+
440
+ .font-medium {
441
+ --tw-font-weight: var(--font-weight-medium);
442
+ font-weight: var(--font-weight-medium);
443
+ }
444
+
445
+ .text-blue-500 {
446
+ color: var(--color-blue-500);
447
+ }
448
+
449
+ .text-gray-800 {
450
+ color: var(--color-gray-800);
451
+ }
452
+
453
+ .text-red-500 {
454
+ color: var(--color-red-500);
319
455
  }
320
456
 
321
457
  .text-white {
322
458
  color: var(--color-white);
323
459
  }
460
+
461
+ .outline {
462
+ outline-style: var(--tw-outline-style);
463
+ outline-width: 1px;
464
+ }
465
+
466
+ .transition-all {
467
+ transition-property: all;
468
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
469
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
470
+ }
471
+
472
+ .duration-300 {
473
+ --tw-duration: .3s;
474
+ transition-duration: .3s;
475
+ }
476
+
477
+ @media (hover: hover) {
478
+ .hover\:bg-blue-50:hover {
479
+ background-color: var(--color-blue-50);
480
+ }
481
+
482
+ .hover\:bg-blue-600:hover {
483
+ background-color: var(--color-blue-600);
484
+ }
485
+
486
+ .hover\:bg-gray-300:hover {
487
+ background-color: var(--color-gray-300);
488
+ }
489
+ }
490
+ }
491
+
492
+ @property --tw-animation-delay {
493
+ syntax: "*";
494
+ inherits: false;
495
+ initial-value: 0s;
496
+ }
497
+
498
+ @property --tw-animation-direction {
499
+ syntax: "*";
500
+ inherits: false;
501
+ initial-value: normal;
502
+ }
503
+
504
+ @property --tw-animation-duration {
505
+ syntax: "*";
506
+ inherits: false
507
+ }
508
+
509
+ @property --tw-animation-fill-mode {
510
+ syntax: "*";
511
+ inherits: false;
512
+ initial-value: none;
513
+ }
514
+
515
+ @property --tw-animation-iteration-count {
516
+ syntax: "*";
517
+ inherits: false;
518
+ initial-value: 1;
519
+ }
520
+
521
+ @property --tw-enter-blur {
522
+ syntax: "*";
523
+ inherits: false;
524
+ initial-value: 0;
525
+ }
526
+
527
+ @property --tw-enter-opacity {
528
+ syntax: "*";
529
+ inherits: false;
530
+ initial-value: 1;
531
+ }
532
+
533
+ @property --tw-enter-rotate {
534
+ syntax: "*";
535
+ inherits: false;
536
+ initial-value: 0;
537
+ }
538
+
539
+ @property --tw-enter-scale {
540
+ syntax: "*";
541
+ inherits: false;
542
+ initial-value: 1;
543
+ }
544
+
545
+ @property --tw-enter-translate-x {
546
+ syntax: "*";
547
+ inherits: false;
548
+ initial-value: 0;
549
+ }
550
+
551
+ @property --tw-enter-translate-y {
552
+ syntax: "*";
553
+ inherits: false;
554
+ initial-value: 0;
555
+ }
556
+
557
+ @property --tw-exit-blur {
558
+ syntax: "*";
559
+ inherits: false;
560
+ initial-value: 0;
561
+ }
562
+
563
+ @property --tw-exit-opacity {
564
+ syntax: "*";
565
+ inherits: false;
566
+ initial-value: 1;
567
+ }
568
+
569
+ @property --tw-exit-rotate {
570
+ syntax: "*";
571
+ inherits: false;
572
+ initial-value: 0;
573
+ }
574
+
575
+ @property --tw-exit-scale {
576
+ syntax: "*";
577
+ inherits: false;
578
+ initial-value: 1;
579
+ }
580
+
581
+ @property --tw-exit-translate-x {
582
+ syntax: "*";
583
+ inherits: false;
584
+ initial-value: 0;
585
+ }
586
+
587
+ @property --tw-exit-translate-y {
588
+ syntax: "*";
589
+ inherits: false;
590
+ initial-value: 0;
324
591
  }
325
592
 
326
593
  :root {
327
594
  --color-primary: #3b82f6;
328
595
  --color-secondary: #64748b;
329
596
  --font-base: system-ui, Avenir, Helvetica, Arial, sans-serif;
597
+ --radius: .625rem;
598
+ --background: oklch(100% 0 0);
599
+ --foreground: oklch(14.5% 0 0);
600
+ --card: oklch(100% 0 0);
601
+ --card-foreground: oklch(14.5% 0 0);
602
+ --popover: oklch(100% 0 0);
603
+ --popover-foreground: oklch(14.5% 0 0);
604
+ --primary: oklch(20.5% 0 0);
605
+ --primary-foreground: oklch(98.5% 0 0);
606
+ --secondary: oklch(97% 0 0);
607
+ --secondary-foreground: oklch(20.5% 0 0);
608
+ --muted: oklch(97% 0 0);
609
+ --muted-foreground: oklch(55.6% 0 0);
610
+ --accent: oklch(97% 0 0);
611
+ --accent-foreground: oklch(20.5% 0 0);
612
+ --destructive: oklch(57.7% .245 27.325);
613
+ --border: oklch(92.2% 0 0);
614
+ --input: oklch(92.2% 0 0);
615
+ --ring: oklch(70.8% 0 0);
616
+ --chart-1: oklch(64.6% .222 41.116);
617
+ --chart-2: oklch(60% .118 184.704);
618
+ --chart-3: oklch(39.8% .07 227.392);
619
+ --chart-4: oklch(82.8% .189 84.429);
620
+ --chart-5: oklch(76.9% .188 70.08);
621
+ --sidebar: oklch(98.5% 0 0);
622
+ --sidebar-foreground: oklch(14.5% 0 0);
623
+ --sidebar-primary: oklch(20.5% 0 0);
624
+ --sidebar-primary-foreground: oklch(98.5% 0 0);
625
+ --sidebar-accent: oklch(97% 0 0);
626
+ --sidebar-accent-foreground: oklch(20.5% 0 0);
627
+ --sidebar-border: oklch(92.2% 0 0);
628
+ --sidebar-ring: oklch(70.8% 0 0);
629
+ }
630
+
631
+ .dark {
632
+ --background: oklch(14.5% 0 0);
633
+ --foreground: oklch(98.5% 0 0);
634
+ --card: oklch(20.5% 0 0);
635
+ --card-foreground: oklch(98.5% 0 0);
636
+ --popover: oklch(20.5% 0 0);
637
+ --popover-foreground: oklch(98.5% 0 0);
638
+ --primary: oklch(92.2% 0 0);
639
+ --primary-foreground: oklch(20.5% 0 0);
640
+ --secondary: oklch(26.9% 0 0);
641
+ --secondary-foreground: oklch(98.5% 0 0);
642
+ --muted: oklch(26.9% 0 0);
643
+ --muted-foreground: oklch(70.8% 0 0);
644
+ --accent: oklch(26.9% 0 0);
645
+ --accent-foreground: oklch(98.5% 0 0);
646
+ --destructive: oklch(70.4% .191 22.216);
647
+ --border: oklch(100% 0 0 / .1);
648
+ --input: oklch(100% 0 0 / .15);
649
+ --ring: oklch(55.6% 0 0);
650
+ --chart-1: oklch(48.8% .243 264.376);
651
+ --chart-2: oklch(69.6% .17 162.48);
652
+ --chart-3: oklch(76.9% .188 70.08);
653
+ --chart-4: oklch(62.7% .265 303.9);
654
+ --chart-5: oklch(64.5% .246 16.439);
655
+ --sidebar: oklch(20.5% 0 0);
656
+ --sidebar-foreground: oklch(98.5% 0 0);
657
+ --sidebar-primary: oklch(48.8% .243 264.376);
658
+ --sidebar-primary-foreground: oklch(98.5% 0 0);
659
+ --sidebar-accent: oklch(26.9% 0 0);
660
+ --sidebar-accent-foreground: oklch(98.5% 0 0);
661
+ --sidebar-border: oklch(100% 0 0 / .1);
662
+ --sidebar-ring: oklch(55.6% 0 0);
330
663
  }
331
664
 
332
665
  @property --tw-rotate-x {
@@ -359,3 +692,24 @@
359
692
  inherits: false;
360
693
  initial-value: solid;
361
694
  }
695
+
696
+ @property --tw-leading {
697
+ syntax: "*";
698
+ inherits: false
699
+ }
700
+
701
+ @property --tw-font-weight {
702
+ syntax: "*";
703
+ inherits: false
704
+ }
705
+
706
+ @property --tw-outline-style {
707
+ syntax: "*";
708
+ inherits: false;
709
+ initial-value: solid;
710
+ }
711
+
712
+ @property --tw-duration {
713
+ syntax: "*";
714
+ inherits: false
715
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bezdenegsvarkinet/ui-library",
3
3
  "private": false,
4
- "version": "0.1.4",
4
+ "version": "0.2.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -38,7 +38,12 @@
38
38
  "peerDependencies": {
39
39
  "react": "^18.0.0 || ^19.0.0",
40
40
  "react-dom": "^18.0.0 || ^19.0.0",
41
- "tailwindcss": "^4.2.1"
41
+ "tailwindcss": "^4.2.1",
42
+ "class-variance-authority": "^0.7.1",
43
+ "clsx": "^2.1.1",
44
+ "lucide-react": "^0.575.0",
45
+ "radix-ui": "^1.4.3",
46
+ "tailwind-merge": "^3.5.0"
42
47
  },
43
48
  "devDependencies": {
44
49
  "@changesets/cli": "^2.29.8",
@@ -62,7 +67,9 @@
62
67
  "eslint-plugin-storybook": "^10.2.13",
63
68
  "globals": "^16.5.0",
64
69
  "playwright": "^1.58.2",
70
+ "shadcn": "^3.8.5",
65
71
  "storybook": "^10.2.13",
72
+ "tw-animate-css": "^1.4.0",
66
73
  "typescript": "~5.9.3",
67
74
  "typescript-eslint": "^8.48.0",
68
75
  "vite": "^7.3.1",