shadcn-ui-react 0.2.8 → 0.3.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.
- package/README.md +186 -58
- package/dist/index.cjs +110 -65
- package/dist/index.d.cts +12 -7
- package/dist/index.d.ts +12 -7
- package/dist/index.js +162 -117
- package/dist/style.css +24 -0
- package/package.json +32 -32
package/dist/style.css
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
54
54
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
55
55
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
56
|
+
--animate-spin: spin 1s linear infinite;
|
|
56
57
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
57
58
|
--default-transition-duration: 150ms;
|
|
58
59
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -430,12 +431,21 @@
|
|
|
430
431
|
.mb-1 {
|
|
431
432
|
margin-bottom: calc(var(--spacing) * 1);
|
|
432
433
|
}
|
|
434
|
+
.mb-4 {
|
|
435
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
436
|
+
}
|
|
433
437
|
.-ml-4 {
|
|
434
438
|
margin-left: calc(var(--spacing) * -4);
|
|
435
439
|
}
|
|
436
440
|
.ml-1 {
|
|
437
441
|
margin-left: calc(var(--spacing) * 1);
|
|
438
442
|
}
|
|
443
|
+
.ml-2 {
|
|
444
|
+
margin-left: calc(var(--spacing) * 2);
|
|
445
|
+
}
|
|
446
|
+
.ml-\[1px\] {
|
|
447
|
+
margin-left: 1px;
|
|
448
|
+
}
|
|
439
449
|
.ml-auto {
|
|
440
450
|
margin-left: auto;
|
|
441
451
|
}
|
|
@@ -677,6 +687,9 @@
|
|
|
677
687
|
.animate-pulse {
|
|
678
688
|
animation: var(--animate-pulse);
|
|
679
689
|
}
|
|
690
|
+
.animate-spin {
|
|
691
|
+
animation: var(--animate-spin);
|
|
692
|
+
}
|
|
680
693
|
.cursor-default {
|
|
681
694
|
cursor: default;
|
|
682
695
|
}
|
|
@@ -716,6 +729,9 @@
|
|
|
716
729
|
.justify-end {
|
|
717
730
|
justify-content: flex-end;
|
|
718
731
|
}
|
|
732
|
+
.gap-0 {
|
|
733
|
+
gap: calc(var(--spacing) * 0);
|
|
734
|
+
}
|
|
719
735
|
.gap-1 {
|
|
720
736
|
gap: calc(var(--spacing) * 1);
|
|
721
737
|
}
|
|
@@ -777,6 +793,9 @@
|
|
|
777
793
|
margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
|
|
778
794
|
}
|
|
779
795
|
}
|
|
796
|
+
.self-center {
|
|
797
|
+
align-self: center;
|
|
798
|
+
}
|
|
780
799
|
.overflow-auto {
|
|
781
800
|
overflow: auto;
|
|
782
801
|
}
|
|
@@ -2908,6 +2927,11 @@
|
|
|
2908
2927
|
@property --tw-duration { syntax: "*"; inherits: false; }
|
|
2909
2928
|
@property --tw-ease { syntax: "*"; inherits: false; }
|
|
2910
2929
|
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
2930
|
+
@keyframes spin {
|
|
2931
|
+
to {
|
|
2932
|
+
transform: rotate(360deg);
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2911
2935
|
@keyframes pulse {
|
|
2912
2936
|
50% {
|
|
2913
2937
|
opacity: 0.5;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn-ui-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
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.",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"autoprefixer": "^10.4.21",
|
|
69
69
|
"babel-jest": "^29.7.0",
|
|
70
70
|
"cross-env": "^7.0.3",
|
|
71
|
-
"eslint": "^9.
|
|
71
|
+
"eslint": "^9.25.0",
|
|
72
72
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
73
73
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
74
74
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -97,48 +97,48 @@
|
|
|
97
97
|
"access": "public"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@radix-ui/react-accordion": "^1.2.
|
|
101
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
102
|
-
"@radix-ui/react-aspect-ratio": "^1.1.
|
|
103
|
-
"@radix-ui/react-avatar": "^1.1.
|
|
104
|
-
"@radix-ui/react-checkbox": "^1.
|
|
105
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
106
|
-
"@radix-ui/react-context-menu": "^2.2.
|
|
107
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
108
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
109
|
-
"@radix-ui/react-hover-card": "^1.1.
|
|
100
|
+
"@radix-ui/react-accordion": "^1.2.7",
|
|
101
|
+
"@radix-ui/react-alert-dialog": "^1.1.10",
|
|
102
|
+
"@radix-ui/react-aspect-ratio": "^1.1.4",
|
|
103
|
+
"@radix-ui/react-avatar": "^1.1.6",
|
|
104
|
+
"@radix-ui/react-checkbox": "^1.2.2",
|
|
105
|
+
"@radix-ui/react-collapsible": "^1.1.7",
|
|
106
|
+
"@radix-ui/react-context-menu": "^2.2.11",
|
|
107
|
+
"@radix-ui/react-dialog": "^1.1.10",
|
|
108
|
+
"@radix-ui/react-dropdown-menu": "^2.1.11",
|
|
109
|
+
"@radix-ui/react-hover-card": "^1.1.10",
|
|
110
110
|
"@radix-ui/react-icons": "^1.3.2",
|
|
111
|
-
"@radix-ui/react-label": "^2.1.
|
|
112
|
-
"@radix-ui/react-menubar": "^1.1.
|
|
113
|
-
"@radix-ui/react-navigation-menu": "^1.2.
|
|
114
|
-
"@radix-ui/react-popover": "^1.1.
|
|
115
|
-
"@radix-ui/react-progress": "^1.1.
|
|
116
|
-
"@radix-ui/react-radio-group": "^1.
|
|
117
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
118
|
-
"@radix-ui/react-select": "^2.
|
|
119
|
-
"@radix-ui/react-separator": "^1.1.
|
|
120
|
-
"@radix-ui/react-slider": "^1.2
|
|
111
|
+
"@radix-ui/react-label": "^2.1.4",
|
|
112
|
+
"@radix-ui/react-menubar": "^1.1.11",
|
|
113
|
+
"@radix-ui/react-navigation-menu": "^1.2.9",
|
|
114
|
+
"@radix-ui/react-popover": "^1.1.10",
|
|
115
|
+
"@radix-ui/react-progress": "^1.1.4",
|
|
116
|
+
"@radix-ui/react-radio-group": "^1.3.3",
|
|
117
|
+
"@radix-ui/react-scroll-area": "^1.2.5",
|
|
118
|
+
"@radix-ui/react-select": "^2.2.2",
|
|
119
|
+
"@radix-ui/react-separator": "^1.1.4",
|
|
120
|
+
"@radix-ui/react-slider": "^1.3.2",
|
|
121
121
|
"@radix-ui/react-slot": "^1.2.0",
|
|
122
|
-
"@radix-ui/react-switch": "^1.
|
|
123
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
124
|
-
"@radix-ui/react-toast": "^1.2.
|
|
125
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
126
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
127
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
122
|
+
"@radix-ui/react-switch": "^1.2.2",
|
|
123
|
+
"@radix-ui/react-tabs": "^1.1.8",
|
|
124
|
+
"@radix-ui/react-toast": "^1.2.10",
|
|
125
|
+
"@radix-ui/react-toggle": "^1.1.6",
|
|
126
|
+
"@radix-ui/react-toggle-group": "^1.1.7",
|
|
127
|
+
"@radix-ui/react-tooltip": "^1.2.3",
|
|
128
128
|
"@tanstack/react-table": "^8.21.3",
|
|
129
|
-
"@vitejs/plugin-react": "^4.4.
|
|
129
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
130
130
|
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
131
131
|
"class-variance-authority": "^0.7.1",
|
|
132
132
|
"clsx": "^2.1.1",
|
|
133
133
|
"cmdk": "^1.1.1",
|
|
134
134
|
"embla-carousel-react": "^8.6.0",
|
|
135
135
|
"input-otp": "^1.4.2",
|
|
136
|
-
"lucide-react": "^0.
|
|
136
|
+
"lucide-react": "^0.501.0",
|
|
137
137
|
"next-themes": "^0.4.6",
|
|
138
138
|
"react-dropzone": "^14.3.8",
|
|
139
139
|
"react-helmet-next": "^0.0.1",
|
|
140
|
-
"react-hook-form": "^7.
|
|
141
|
-
"react-resizable-panels": "^2.1.
|
|
140
|
+
"react-hook-form": "^7.56.0",
|
|
141
|
+
"react-resizable-panels": "^2.1.8",
|
|
142
142
|
"sonner": "^2.0.3",
|
|
143
143
|
"tailwind-merge": "^3.2.0",
|
|
144
144
|
"tailwind-variants": "^1.0.0",
|