shadcn-ui-react 0.5.0 → 0.5.2

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/dist/style.css CHANGED
@@ -430,6 +430,9 @@
430
430
  .-mt-4 {
431
431
  margin-top: calc(var(--spacing) * -4);
432
432
  }
433
+ .mt-1 {
434
+ margin-top: calc(var(--spacing) * 1);
435
+ }
433
436
  .mt-1\.5 {
434
437
  margin-top: calc(var(--spacing) * 1.5);
435
438
  }
@@ -463,15 +466,12 @@
463
466
  .ml-2 {
464
467
  margin-left: calc(var(--spacing) * 2);
465
468
  }
466
- .ml-\[1px\] {
467
- margin-left: 1px;
468
- }
469
- .ml-\[4px\] {
470
- margin-left: 4px;
471
- }
472
469
  .ml-auto {
473
470
  margin-left: auto;
474
471
  }
472
+ .ml-px {
473
+ margin-left: 1px;
474
+ }
475
475
  .block {
476
476
  display: block;
477
477
  }
@@ -500,6 +500,9 @@
500
500
  width: calc(var(--spacing) * 8);
501
501
  height: calc(var(--spacing) * 8);
502
502
  }
503
+ .h-\(--radix-select-trigger-height\) {
504
+ height: var(--radix-select-trigger-height);
505
+ }
503
506
  .h-1\.5 {
504
507
  height: calc(var(--spacing) * 1.5);
505
508
  }
@@ -542,8 +545,8 @@
542
545
  .h-12 {
543
546
  height: calc(var(--spacing) * 12);
544
547
  }
545
- .h-24 {
546
- height: calc(var(--spacing) * 24);
548
+ .h-28 {
549
+ height: calc(var(--spacing) * 28);
547
550
  }
548
551
  .h-36 {
549
552
  height: calc(var(--spacing) * 36);
@@ -551,15 +554,12 @@
551
554
  .h-\[1px\] {
552
555
  height: 1px;
553
556
  }
554
- .h-\[calc\(80vh-220px\)\] {
555
- height: calc(80vh - 220px);
557
+ .h-\[clamp\(22rem\,80vh\,44rem\)\] {
558
+ height: clamp(22rem, 80vh, 44rem);
556
559
  }
557
560
  .h-\[var\(--radix-navigation-menu-viewport-height\)\] {
558
561
  height: var(--radix-navigation-menu-viewport-height);
559
562
  }
560
- .h-\[var\(--radix-select-trigger-height\)\] {
561
- height: var(--radix-select-trigger-height);
562
- }
563
563
  .h-auto {
564
564
  height: auto;
565
565
  }
@@ -578,6 +578,9 @@
578
578
  .max-h-screen {
579
579
  max-height: 100vh;
580
580
  }
581
+ .min-h-0 {
582
+ min-height: calc(var(--spacing) * 0);
583
+ }
581
584
  .min-h-\[60px\] {
582
585
  min-height: 60px;
583
586
  }
@@ -611,15 +614,27 @@
611
614
  .w-10 {
612
615
  width: calc(var(--spacing) * 10);
613
616
  }
617
+ .w-17\.5 {
618
+ width: calc(var(--spacing) * 17.5);
619
+ }
614
620
  .w-20 {
615
621
  width: calc(var(--spacing) * 20);
616
622
  }
623
+ .w-21 {
624
+ width: calc(var(--spacing) * 21);
625
+ }
617
626
  .w-24 {
618
627
  width: calc(var(--spacing) * 24);
619
628
  }
629
+ .w-25 {
630
+ width: calc(var(--spacing) * 25);
631
+ }
620
632
  .w-36 {
621
633
  width: calc(var(--spacing) * 36);
622
634
  }
635
+ .w-37\.5 {
636
+ width: calc(var(--spacing) * 37.5);
637
+ }
623
638
  .w-40 {
624
639
  width: calc(var(--spacing) * 40);
625
640
  }
@@ -632,18 +647,9 @@
632
647
  .w-\[1px\] {
633
648
  width: 1px;
634
649
  }
635
- .w-\[70px\] {
636
- width: 70px;
637
- }
638
650
  .w-\[100px\] {
639
651
  width: 100px;
640
652
  }
641
- .w-\[110px\] {
642
- width: 110px;
643
- }
644
- .w-\[150px\] {
645
- width: 150px;
646
- }
647
653
  .w-full {
648
654
  width: 100%;
649
655
  }
@@ -661,18 +667,24 @@
661
667
  max-width: -moz-max-content;
662
668
  max-width: max-content;
663
669
  }
670
+ .min-w-\(--radix-select-trigger-width\) {
671
+ min-width: var(--radix-select-trigger-width);
672
+ }
664
673
  .min-w-0 {
665
674
  min-width: calc(var(--spacing) * 0);
666
675
  }
676
+ .min-w-32 {
677
+ min-width: calc(var(--spacing) * 32);
678
+ }
679
+ .min-w-35 {
680
+ min-width: calc(var(--spacing) * 35);
681
+ }
667
682
  .min-w-\[8rem\] {
668
683
  min-width: 8rem;
669
684
  }
670
685
  .min-w-\[12rem\] {
671
686
  min-width: 12rem;
672
687
  }
673
- .min-w-\[var\(--radix-select-trigger-width\)\] {
674
- min-width: var(--radix-select-trigger-width);
675
- }
676
688
  .flex-1 {
677
689
  flex: 1;
678
690
  }
@@ -737,6 +749,9 @@
737
749
  .list-none {
738
750
  list-style-type: none;
739
751
  }
752
+ .grid-cols-1 {
753
+ grid-template-columns: repeat(1, minmax(0, 1fr));
754
+ }
740
755
  .flex-col {
741
756
  flex-direction: column;
742
757
  }
@@ -817,6 +832,10 @@
817
832
  margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
818
833
  }
819
834
  }
835
+ .gap-x-3 {
836
+ -moz-column-gap: calc(var(--spacing) * 3);
837
+ column-gap: calc(var(--spacing) * 3);
838
+ }
820
839
  .space-x-1 {
821
840
  :where(& > :not(:last-child)) {
822
841
  --tw-space-x-reverse: 0;
@@ -831,6 +850,9 @@
831
850
  margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
832
851
  }
833
852
  }
853
+ .gap-y-1 {
854
+ row-gap: calc(var(--spacing) * 1);
855
+ }
834
856
  .self-center {
835
857
  align-self: center;
836
858
  }
@@ -840,6 +862,9 @@
840
862
  .overflow-hidden {
841
863
  overflow: hidden;
842
864
  }
865
+ .overflow-visible {
866
+ overflow: visible;
867
+ }
843
868
  .overflow-x-hidden {
844
869
  overflow-x: hidden;
845
870
  }
@@ -955,6 +980,24 @@
955
980
  .bg-background {
956
981
  background-color: var(--background);
957
982
  }
983
+ .bg-background\/60 {
984
+ background-color: var(--background);
985
+ @supports (color: color-mix(in lab, red, red)) {
986
+ background-color: color-mix(in oklab, var(--background) 60%, transparent);
987
+ }
988
+ }
989
+ .bg-background\/70 {
990
+ background-color: var(--background);
991
+ @supports (color: color-mix(in lab, red, red)) {
992
+ background-color: color-mix(in oklab, var(--background) 70%, transparent);
993
+ }
994
+ }
995
+ .bg-background\/80 {
996
+ background-color: var(--background);
997
+ @supports (color: color-mix(in lab, red, red)) {
998
+ background-color: color-mix(in oklab, var(--background) 80%, transparent);
999
+ }
1000
+ }
958
1001
  .bg-black\/80 {
959
1002
  background-color: color-mix(in srgb, #000 80%, transparent);
960
1003
  @supports (color: color-mix(in lab, red, red)) {
@@ -1744,6 +1787,16 @@
1744
1787
  }
1745
1788
  }
1746
1789
  }
1790
+ .hover\:bg-muted\/60 {
1791
+ &:hover {
1792
+ @media (hover: hover) {
1793
+ background-color: var(--muted);
1794
+ @supports (color: color-mix(in lab, red, red)) {
1795
+ background-color: color-mix(in oklab, var(--muted) 60%, transparent);
1796
+ }
1797
+ }
1798
+ }
1799
+ }
1747
1800
  .hover\:bg-primary {
1748
1801
  &:hover {
1749
1802
  @media (hover: hover) {
@@ -2091,6 +2144,14 @@
2091
2144
  scale: var(--tw-scale-x) var(--tw-scale-y);
2092
2145
  }
2093
2146
  }
2147
+ .active\:bg-muted\/80 {
2148
+ &:active {
2149
+ background-color: var(--muted);
2150
+ @supports (color: color-mix(in lab, red, red)) {
2151
+ background-color: color-mix(in oklab, var(--muted) 80%, transparent);
2152
+ }
2153
+ }
2154
+ }
2094
2155
  .disabled\:pointer-events-none {
2095
2156
  &:disabled {
2096
2157
  pointer-events: none;
@@ -2144,6 +2205,21 @@
2144
2205
  opacity: 100%;
2145
2206
  }
2146
2207
  }
2208
+ .aria-\[orientation\=vertical\]\:flex-col {
2209
+ &[aria-orientation=vertical] {
2210
+ flex-direction: column;
2211
+ }
2212
+ }
2213
+ .data-disabled\:pointer-events-none {
2214
+ &[data-disabled] {
2215
+ pointer-events: none;
2216
+ }
2217
+ }
2218
+ .data-disabled\:opacity-50 {
2219
+ &[data-disabled] {
2220
+ opacity: 50%;
2221
+ }
2222
+ }
2147
2223
  .data-\[active\]\:bg-accent\/50 {
2148
2224
  &[data-active] {
2149
2225
  background-color: var(--accent);
@@ -2224,11 +2300,6 @@
2224
2300
  width: 100%;
2225
2301
  }
2226
2302
  }
2227
- .data-\[panel-group-direction\=vertical\]\:flex-col {
2228
- &[data-panel-group-direction=vertical] {
2229
- flex-direction: column;
2230
- }
2231
- }
2232
2303
  .data-\[panel-group-direction\=vertical\]\:after\:left-0 {
2233
2304
  &[data-panel-group-direction=vertical] {
2234
2305
  &::after {
@@ -2616,6 +2687,22 @@
2616
2687
  transition-property: none;
2617
2688
  }
2618
2689
  }
2690
+ .supports-backdrop-filter\:bg-background\/40 {
2691
+ @supports (backdrop-filter: var(--tw)) {
2692
+ background-color: var(--background);
2693
+ @supports (color: color-mix(in lab, red, red)) {
2694
+ background-color: color-mix(in oklab, var(--background) 40%, transparent);
2695
+ }
2696
+ }
2697
+ }
2698
+ .supports-backdrop-filter\:bg-background\/50 {
2699
+ @supports (backdrop-filter: var(--tw)) {
2700
+ background-color: var(--background);
2701
+ @supports (color: color-mix(in lab, red, red)) {
2702
+ background-color: color-mix(in oklab, var(--background) 50%, transparent);
2703
+ }
2704
+ }
2705
+ }
2619
2706
  .supports-\[backdrop-filter\]\:bg-popover\/60 {
2620
2707
  @supports (backdrop-filter: var(--tw)) {
2621
2708
  background-color: var(--popover);
@@ -2624,6 +2711,11 @@
2624
2711
  }
2625
2712
  }
2626
2713
  }
2714
+ .supports-\[height\:100dvh\]\:h-\[clamp\(22rem\,80dvh\,44rem\)\] {
2715
+ @supports (height:100dvh) {
2716
+ height: clamp(22rem, 80dvh, 44rem);
2717
+ }
2718
+ }
2627
2719
  .sm\:top-auto {
2628
2720
  @media (width >= 40rem) {
2629
2721
  top: auto;
@@ -2644,11 +2736,26 @@
2644
2736
  margin-top: calc(var(--spacing) * 0);
2645
2737
  }
2646
2738
  }
2739
+ .sm\:flex {
2740
+ @media (width >= 40rem) {
2741
+ display: flex;
2742
+ }
2743
+ }
2744
+ .sm\:hidden {
2745
+ @media (width >= 40rem) {
2746
+ display: none;
2747
+ }
2748
+ }
2647
2749
  .sm\:max-w-sm {
2648
2750
  @media (width >= 40rem) {
2649
2751
  max-width: var(--container-sm);
2650
2752
  }
2651
2753
  }
2754
+ .sm\:grid-cols-\[1fr_auto\] {
2755
+ @media (width >= 40rem) {
2756
+ grid-template-columns: 1fr auto;
2757
+ }
2758
+ }
2652
2759
  .sm\:flex-col {
2653
2760
  @media (width >= 40rem) {
2654
2761
  flex-direction: column;
@@ -2664,11 +2771,6 @@
2664
2771
  align-items: center;
2665
2772
  }
2666
2773
  }
2667
- .sm\:justify-between {
2668
- @media (width >= 40rem) {
2669
- justify-content: space-between;
2670
- }
2671
- }
2672
2774
  .sm\:justify-end {
2673
2775
  @media (width >= 40rem) {
2674
2776
  justify-content: flex-end;
@@ -2744,11 +2846,6 @@
2744
2846
  position: absolute;
2745
2847
  }
2746
2848
  }
2747
- .md\:h-\[calc\(80dvh-80px\)\] {
2748
- @media (width >= 48rem) {
2749
- height: calc(80dvh - 80px);
2750
- }
2751
- }
2752
2849
  .md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] {
2753
2850
  @media (width >= 48rem) {
2754
2851
  width: var(--radix-navigation-menu-viewport-width);
@@ -2779,9 +2876,9 @@
2779
2876
  display: flex;
2780
2877
  }
2781
2878
  }
2782
- .lg\:w-\[250px\] {
2879
+ .lg\:w-62\.5 {
2783
2880
  @media (width >= 64rem) {
2784
- width: 250px;
2881
+ width: calc(var(--spacing) * 62.5);
2785
2882
  }
2786
2883
  }
2787
2884
  .lg\:gap-8 {
@@ -2947,10 +3044,12 @@
2947
3044
  padding-right: calc(var(--spacing) * 0);
2948
3045
  }
2949
3046
  }
2950
- .\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\] {
2951
- & > [role=checkbox] {
2952
- --tw-translate-y: 2px;
2953
- translate: var(--tw-translate-x) var(--tw-translate-y);
3047
+ .\*\:\[\[role\=checkbox\]\]\:translate-y-0\.5 {
3048
+ :is(& > *) {
3049
+ &:is([role=checkbox]) {
3050
+ --tw-translate-y: calc(var(--spacing) * 0.5);
3051
+ translate: var(--tw-translate-x) var(--tw-translate-y);
3052
+ }
2954
3053
  }
2955
3054
  }
2956
3055
  .\[\&\>span\]\:line-clamp-1 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadcn-ui-react",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "author": "Bleker Cordova <bleker@gliyen.com>",
6
6
  "description": "A collection of components for building beautiful and accessible user interfaces with React and Tailwind CSS.",
@@ -46,8 +46,8 @@
46
46
  "test:watch": "jest --watch"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/core": "^7.28.5",
50
- "@babel/preset-env": "^7.28.5",
49
+ "@babel/core": "^7.28.6",
50
+ "@babel/preset-env": "^7.28.6",
51
51
  "@babel/preset-react": "^7.28.5",
52
52
  "@babel/preset-typescript": "^7.28.5",
53
53
  "@eslint/config-array": "^0.23.0",
@@ -57,25 +57,25 @@
57
57
  "@tailwindcss/vite": "^4.1.18",
58
58
  "@testing-library/dom": "^10.4.1",
59
59
  "@testing-library/jest-dom": "^6.9.1",
60
- "@testing-library/react": "^16.3.0",
60
+ "@testing-library/react": "^16.3.2",
61
61
  "@testing-library/user-event": "^14.6.1",
62
62
  "@types/jest": "^30.0.0",
63
- "@types/node": "^25.0.2",
64
- "@types/react": "^19.2.7",
63
+ "@types/node": "^25.0.9",
64
+ "@types/react": "^19.2.9",
65
65
  "@types/react-dom": "^19.2.3",
66
- "@typescript-eslint/eslint-plugin": "^8.49.0",
67
- "@typescript-eslint/parser": "^8.49.0",
68
- "autoprefixer": "^10.4.22",
66
+ "@typescript-eslint/eslint-plugin": "^8.53.1",
67
+ "@typescript-eslint/parser": "^8.53.1",
68
+ "autoprefixer": "^10.4.23",
69
69
  "babel-jest": "^30.2.0",
70
70
  "cross-env": "^10.1.0",
71
71
  "eslint": "^9.39.2",
72
72
  "eslint-plugin-react-hooks": "^7.0.1",
73
- "eslint-plugin-react-refresh": "^0.4.24",
73
+ "eslint-plugin-react-refresh": "^0.4.26",
74
74
  "identity-obj-proxy": "^3.0.0",
75
75
  "jest": "^30.2.0",
76
76
  "jest-environment-jsdom": "^30.2.0",
77
77
  "react": "^19.2.3",
78
- "react-day-picker": "^9.12.0",
78
+ "react-day-picker": "^9.13.0",
79
79
  "react-dom": "^19.2.3",
80
80
  "react-test-renderer": "^19.2.3",
81
81
  "rimraf": "^6.1.2",
@@ -84,10 +84,10 @@
84
84
  "tsup": "^8.5.1",
85
85
  "typescript": "^5.9.3",
86
86
  "vaul": "^1.1.2",
87
- "vite": "^7.2.7",
87
+ "vite": "^7.3.1",
88
88
  "vite-plugin-dts": "^4.5.4",
89
89
  "vite-plugin-ts-alias": "^0.1.1",
90
- "zod": "^4.1.13"
90
+ "zod": "^4.3.5"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "react": "^17.0.0 || ^18.3.1 || ^19.2.3 || ^20.0.0",
@@ -132,18 +132,18 @@
132
132
  "clsx": "^2.1.1",
133
133
  "cmdk": "^1.1.1",
134
134
  "embla-carousel-react": "^8.6.0",
135
- "framer-motion": "^12.23.26",
135
+ "framer-motion": "^12.27.5",
136
136
  "input-otp": "^1.4.2",
137
- "lucide-react": "^0.561.0",
137
+ "lucide-react": "^0.562.0",
138
138
  "next-themes": "^0.4.6",
139
139
  "react-dropzone": "^14.3.8",
140
140
  "react-helmet-next": "^0.0.2",
141
- "react-hook-form": "^7.68.0",
142
- "react-resizable-panels": "^3.0.6",
141
+ "react-hook-form": "^7.71.1",
142
+ "react-resizable-panels": "^4.4.1",
143
143
  "sonner": "^2.0.7",
144
144
  "tailwind-merge": "^3.4.0",
145
145
  "tailwind-variants": "^3.2.2",
146
- "use-debounce": "^10.0.6",
146
+ "use-debounce": "^10.1.0",
147
147
  "vaul": "^1.1.2"
148
148
  }
149
149
  }