betterstart-cli 0.0.118 → 0.0.119
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/assets/adapters/next/templates/init/admin-globals.css +134 -38
- package/dist/assets/shared-assets/react-admin/ui/badge.tsx +1 -2
- package/dist/assets/shared-assets/react-admin/ui/input.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/native-select.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/select.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/textarea.tsx +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
--color-input: var(--input);
|
|
28
28
|
--color-border: var(--border);
|
|
29
29
|
--color-highlight: var(--highlight);
|
|
30
|
+
--color-placeholder: var(--placeholder);
|
|
30
31
|
--color-destructive: var(--destructive);
|
|
32
|
+
--color-success: var(--success);
|
|
31
33
|
--color-warning: var(--warning);
|
|
32
34
|
--color-warning-foreground: var(--warning-foreground);
|
|
33
35
|
--color-accent-foreground: var(--accent-foreground);
|
|
@@ -101,35 +103,131 @@
|
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
:root {
|
|
104
|
-
--
|
|
105
|
-
--
|
|
106
|
-
--
|
|
107
|
-
--
|
|
108
|
-
--
|
|
109
|
-
--
|
|
110
|
-
--
|
|
111
|
-
--
|
|
112
|
-
--
|
|
113
|
-
--
|
|
114
|
-
--
|
|
115
|
-
--
|
|
116
|
-
--
|
|
117
|
-
--
|
|
118
|
-
--
|
|
119
|
-
--
|
|
120
|
-
--
|
|
121
|
-
--
|
|
122
|
-
--
|
|
123
|
-
--
|
|
124
|
-
--
|
|
125
|
-
--
|
|
126
|
-
--
|
|
127
|
-
--
|
|
106
|
+
--ds-background-100: lab(100% 0 0);
|
|
107
|
+
--ds-background-200: lab(98.144% 0 -0.0000119209);
|
|
108
|
+
--ds-gray-100: lab(95.476% -0.0000298023 0);
|
|
109
|
+
--ds-gray-200: lab(93.04% 0.0000298023 -0.0000119209);
|
|
110
|
+
--ds-gray-300: lab(91.3% 0 -0.0000119209);
|
|
111
|
+
--ds-gray-400: lab(92.692% 0 0);
|
|
112
|
+
--ds-gray-500: lab(80.976% 0 -0.0000119209);
|
|
113
|
+
--ds-gray-600: lab(68.912% 0 -0.0000119209);
|
|
114
|
+
--ds-gray-700: lab(59.4% 0 0);
|
|
115
|
+
--ds-gray-800: lab(52.44% 0 0);
|
|
116
|
+
--ds-gray-900: lab(32.72% -0.0000149012 0);
|
|
117
|
+
--ds-gray-1000: lab(7.78201% -0.0000149012 0);
|
|
118
|
+
--ds-gray-alpha-100: lab(0% 0 0 / 0.05);
|
|
119
|
+
--ds-gray-alpha-200: lab(0% 0 0 / 0.081);
|
|
120
|
+
--ds-gray-alpha-300: lab(0% 0 0 / 0.1);
|
|
121
|
+
--ds-gray-alpha-400: lab(0% 0 0 / 0.08);
|
|
122
|
+
--ds-gray-alpha-500: lab(0% 0 0 / 0.21);
|
|
123
|
+
--ds-gray-alpha-600: lab(0% 0 0 / 0.24);
|
|
124
|
+
--ds-gray-alpha-700: lab(0% 0 0 / 0.44);
|
|
125
|
+
--ds-gray-alpha-800: lab(0% 0 0 / 0.51);
|
|
126
|
+
--ds-gray-alpha-900: lab(0% 0 0 / 0.7);
|
|
127
|
+
--ds-gray-alpha-1000: lab(0% 0 0 / 0.91);
|
|
128
|
+
--ds-blue-100: lab(96.8732% -1.39889 -5.07131);
|
|
129
|
+
--ds-blue-200: lab(95.6744% -2.00856 -6.9569);
|
|
130
|
+
--ds-blue-300: lab(93.6801% -3.04809 -10.3604);
|
|
131
|
+
--ds-blue-400: lab(90.2207% -5.88808 -16.0541);
|
|
132
|
+
--ds-blue-500: lab(79.7793% -8.30209 -33.3699);
|
|
133
|
+
--ds-blue-600: lab(68.1823% -8.44929 -52.7934);
|
|
134
|
+
--ds-blue-700: lab(47.9229% 22.3147 -86.8328);
|
|
135
|
+
--ds-blue-800: lab(40.8106% 23.698 -82.9445);
|
|
136
|
+
--ds-blue-900: lab(42.9093% 21.1896 -82.6493);
|
|
137
|
+
--ds-blue-1000: lab(13.8687% 6.36795 -37.4197);
|
|
138
|
+
--ds-red-100: lab(95.6935% 7.32443 2.00332);
|
|
139
|
+
--ds-red-200: lab(94.3497% 9.77078 2.91723);
|
|
140
|
+
--ds-red-300: lab(93.0242% 12.0165 3.78883);
|
|
141
|
+
--ds-red-400: lab(89.6749% 14.9771 6.30434);
|
|
142
|
+
--ds-red-500: lab(80.9124% 32.7639 12.5167);
|
|
143
|
+
--ds-red-600: lab(64.5512% 60.0041 29.3131);
|
|
144
|
+
--ds-red-700: lab(53.9255% 80.6033 48.0845);
|
|
145
|
+
--ds-red-800: lab(48.9343% 78.946 55.0086);
|
|
146
|
+
--ds-red-900: lab(45.3957% 73.7444 51.3924);
|
|
147
|
+
--ds-red-1000: lab(11.6345% 33.5137 13.8317);
|
|
148
|
+
--ds-amber-100: lab(97.2024% 1.01992 12.7992);
|
|
149
|
+
--ds-amber-200: lab(96.5222% 0.44781 19.38);
|
|
150
|
+
--ds-amber-300: lab(95.5532% 0.730604 25.1573);
|
|
151
|
+
--ds-amber-400: lab(89.9281% 6.02812 56.553);
|
|
152
|
+
--ds-amber-500: lab(84.4286% 16.6827 71.0758);
|
|
153
|
+
--ds-amber-600: lab(76.726% 29.5673 105.476);
|
|
154
|
+
--ds-amber-700: lab(78.7256% 26.6905 107.161);
|
|
155
|
+
--ds-amber-800: lab(72.7954% 39.7122 103.301);
|
|
156
|
+
--ds-amber-900: lab(44.3662% 36.3127 70.4646);
|
|
157
|
+
--ds-amber-1000: lab(19.0178% 27.3692 31.8945);
|
|
158
|
+
--ds-green-100: lab(97.5853% -8.11777 6.20661);
|
|
159
|
+
--ds-green-200: lab(96.9166% -10.612 7.60013);
|
|
160
|
+
--ds-green-300: lab(94.6031% -18.6422 15.0889);
|
|
161
|
+
--ds-green-400: lab(91.3796% -27.7496 20.9385);
|
|
162
|
+
--ds-green-500: lab(85.1416% -46.4903 35.8939);
|
|
163
|
+
--ds-green-600: lab(79.6441% -60.3529 50.7117);
|
|
164
|
+
--ds-green-700: lab(61.0339% -50.9714 38.8312);
|
|
165
|
+
--ds-green-800: lab(52.9002% -44.1062 33.0987);
|
|
166
|
+
--ds-green-900: lab(45.7946% -42.7208 32.0975);
|
|
167
|
+
--ds-green-1000: lab(19.2017% -35.6785 27.2939);
|
|
168
|
+
--ds-teal-100: lab(97.7805% -12.1079 -1.6973);
|
|
169
|
+
--ds-teal-200: lab(97.0232% -11.8163 -0.259781);
|
|
170
|
+
--ds-teal-300: lab(94.6978% -16.2983 -0.800061);
|
|
171
|
+
--ds-teal-400: lab(92.4757% -24.5274 -1.99826);
|
|
172
|
+
--ds-teal-500: lab(86.4355% -46.7053 -2.48644);
|
|
173
|
+
--ds-teal-600: lab(80.5746% -56.8254 0.696123);
|
|
174
|
+
--ds-teal-700: lab(61.2492% -55.7738 -2.36303);
|
|
175
|
+
--ds-teal-800: lab(52.4585% -49.4257 -1.83064);
|
|
176
|
+
--ds-teal-900: lab(45.9452% -44.2291 -2.67519);
|
|
177
|
+
--ds-teal-1000: lab(22.2372% -28.1244 -0.0907302);
|
|
178
|
+
--ds-purple-100: lab(95.8064% 5.66289 -6.77673);
|
|
179
|
+
--ds-purple-200: lab(95.9251% 5.05617 -6.57121);
|
|
180
|
+
--ds-purple-300: lab(93.5693% 8.17552 -10.3939);
|
|
181
|
+
--ds-purple-400: lab(89.6505% 14.5975 -16.7056);
|
|
182
|
+
--ds-purple-500: lab(76.2735% 33.6932 -38.7706);
|
|
183
|
+
--ds-purple-600: lab(64.3635% 50.5605 -58.6804);
|
|
184
|
+
--ds-purple-700: lab(42.3587% 81.2683 -86.4789);
|
|
185
|
+
--ds-purple-800: lab(35.0556% 71.1896 -76.2188);
|
|
186
|
+
--ds-purple-900: lab(33.4854% 69.2003 -76.1092);
|
|
187
|
+
--ds-purple-1000: lab(9.18347% 35.0629 -37.5931);
|
|
188
|
+
--ds-pink-100: lab(94.5133% 11.6709 -3.49871);
|
|
189
|
+
--ds-pink-200: lab(94.6026% 10.7321 -1.35195);
|
|
190
|
+
--ds-pink-300: lab(92.2617% 15.1106 -0.957537);
|
|
191
|
+
--ds-pink-400: lab(88.9731% 19.1876 -0.249231);
|
|
192
|
+
--ds-pink-500: lab(80.5902% 30.3695 -1.5003);
|
|
193
|
+
--ds-pink-600: lab(68.2806% 50.7706 0.897086);
|
|
194
|
+
--ds-pink-700: lab(54.7091% 76.7064 2.85504);
|
|
195
|
+
--ds-pink-800: lab(50.1788% 75.5319 8.12644);
|
|
196
|
+
--ds-pink-900: lab(43.5237% 66.4129 5.12512);
|
|
197
|
+
--ds-pink-1000: lab(12.9204% 31.3916 -0.183001);
|
|
198
|
+
|
|
199
|
+
--background: var(--ds-background-200);
|
|
200
|
+
--foreground: var(--ds-gray-1000);
|
|
201
|
+
--card: var(--ds-background-100);
|
|
202
|
+
--card-foreground: var(--ds-gray-1000);
|
|
203
|
+
--popover: var(--ds-background-100);
|
|
204
|
+
--popover-foreground: var(--ds-gray-1000);
|
|
205
|
+
--primary: var(--ds-gray-1000);
|
|
206
|
+
--primary-foreground: var(--ds-background-100);
|
|
207
|
+
--secondary: var(--ds-gray-200);
|
|
208
|
+
--secondary-foreground: var(--ds-gray-1000);
|
|
209
|
+
--muted: var(--ds-gray-100);
|
|
210
|
+
--muted-foreground: var(--ds-gray-900);
|
|
211
|
+
--placeholder: var(--ds-gray-700);
|
|
212
|
+
--accent: var(--ds-gray-100);
|
|
213
|
+
--accent-foreground: var(--ds-gray-1000);
|
|
214
|
+
--destructive: var(--ds-red-900);
|
|
215
|
+
--success: var(--ds-green-900);
|
|
216
|
+
--warning: var(--ds-amber-900);
|
|
217
|
+
--warning-foreground: var(--ds-amber-900);
|
|
218
|
+
--border: var(--ds-gray-400);
|
|
219
|
+
--highlight: var(--ds-gray-600);
|
|
220
|
+
--input: var(--ds-gray-400);
|
|
221
|
+
--ring: var(--ds-gray-600);
|
|
222
|
+
--chart-1: var(--ds-blue-700);
|
|
223
|
+
--chart-2: var(--ds-purple-700);
|
|
224
|
+
--chart-3: var(--ds-teal-700);
|
|
225
|
+
--chart-4: var(--ds-amber-700);
|
|
226
|
+
--chart-5: var(--ds-pink-700);
|
|
128
227
|
--radius: 0.625rem;
|
|
129
228
|
--shadow-background-border: 0 0 0 1px var(--background);
|
|
130
|
-
--shadow-border-base: 0 0 0 1px
|
|
131
|
-
|
|
132
|
-
--shadow-border-inset: inset 0 0 0 1px var(--border);
|
|
229
|
+
--shadow-border-base: 0 0 0 1px var(--ds-gray-alpha-400);
|
|
230
|
+
--shadow-border-inset: inset 0 0 0 1px var(--ds-gray-alpha-400);
|
|
133
231
|
--shadow-border: var(--shadow-border-base), var(--shadow-background-border);
|
|
134
232
|
--shadow-small: 0px 2px 2px #0000000a;
|
|
135
233
|
--shadow-border-small:
|
|
@@ -161,16 +259,14 @@
|
|
|
161
259
|
var(--shadow-border-base), 0px 1px 1px #00000005, 0px 8px 16px -4px #0000000a, 0px 24px 32px -8px #0000000f, var(
|
|
162
260
|
--shadow-background-border
|
|
163
261
|
);
|
|
164
|
-
--sidebar:
|
|
165
|
-
--sidebar-foreground:
|
|
166
|
-
--sidebar-primary:
|
|
167
|
-
--sidebar-primary-foreground:
|
|
168
|
-
--sidebar-accent:
|
|
169
|
-
--sidebar-accent-foreground:
|
|
170
|
-
--sidebar-border:
|
|
171
|
-
--sidebar-ring:
|
|
172
|
-
--background: oklch(0.983 0 0);
|
|
173
|
-
--foreground: oklch(0.145 0 0);
|
|
262
|
+
--sidebar: var(--ds-background-200);
|
|
263
|
+
--sidebar-foreground: var(--ds-gray-900);
|
|
264
|
+
--sidebar-primary: var(--ds-gray-1000);
|
|
265
|
+
--sidebar-primary-foreground: var(--ds-background-100);
|
|
266
|
+
--sidebar-accent: var(--ds-gray-200);
|
|
267
|
+
--sidebar-accent-foreground: var(--ds-gray-1000);
|
|
268
|
+
--sidebar-border: var(--ds-gray-400);
|
|
269
|
+
--sidebar-ring: var(--ds-gray-600);
|
|
174
270
|
--tt-bg-color: var(--background);
|
|
175
271
|
--tt-bg-color-contrast: var(--border);
|
|
176
272
|
--tt-color-highlight-yellow: #fef9c3;
|
|
@@ -461,7 +557,7 @@
|
|
|
461
557
|
.admin-root
|
|
462
558
|
.content-editor-prose
|
|
463
559
|
.is-empty[data-placeholder]:has(> .ProseMirror-trailingBreak)::before {
|
|
464
|
-
@apply pointer-events-none absolute inset-x-0 h-0 w-full text-
|
|
560
|
+
@apply pointer-events-none absolute inset-x-0 h-0 w-full text-placeholder;
|
|
465
561
|
text-align: inherit;
|
|
466
562
|
}
|
|
467
563
|
|
|
@@ -13,8 +13,7 @@ const badgeVariants = cva(
|
|
|
13
13
|
secondary: 'bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80',
|
|
14
14
|
destructive:
|
|
15
15
|
'bg-destructive/10 text-destructive focus-visible:ring-destructive/20 [a]:hover:bg-destructive/20',
|
|
16
|
-
success:
|
|
17
|
-
'bg-emerald-500/10 text-emerald-700 focus-visible:ring-emerald-500/20 [a]:hover:bg-emerald-500/20',
|
|
16
|
+
success: 'bg-success/10 text-success focus-visible:ring-success/20 [a]:hover:bg-success/20',
|
|
18
17
|
outline:
|
|
19
18
|
'border-border bg-input/30 text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground',
|
|
20
19
|
ghost: 'hover:bg-muted hover:text-muted-foreground',
|
|
@@ -8,7 +8,7 @@ function Input({ className, type, ...props }: React.ComponentProps<'input'>) {
|
|
|
8
8
|
type={type}
|
|
9
9
|
data-slot="input"
|
|
10
10
|
className={cn(
|
|
11
|
-
'h-9 w-full min-w-0 rounded-4xl border border-input bg-input/30 px-3 py-1 text-sm transition-colors outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-
|
|
11
|
+
'h-9 w-full min-w-0 rounded-4xl border border-input bg-input/30 px-3 py-1 text-sm transition-colors outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-placeholder focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20',
|
|
12
12
|
className
|
|
13
13
|
)}
|
|
14
14
|
{...props}
|
|
@@ -19,7 +19,7 @@ function NativeSelect({ className, size = 'default', ...props }: NativeSelectPro
|
|
|
19
19
|
<select
|
|
20
20
|
data-slot="native-select"
|
|
21
21
|
data-size={size}
|
|
22
|
-
className="h-9 w-full min-w-0 appearance-none rounded-4xl border border-input bg-input/30 py-1 pr-8 pl-3 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-
|
|
22
|
+
className="h-9 w-full min-w-0 appearance-none rounded-4xl border border-input bg-input/30 py-1 pr-8 pl-3 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-placeholder focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 data-[size=sm]:h-8"
|
|
23
23
|
{...props}
|
|
24
24
|
/>
|
|
25
25
|
<ChevronDownIcon
|
|
@@ -40,7 +40,7 @@ function SelectTrigger({
|
|
|
40
40
|
data-slot="select-trigger"
|
|
41
41
|
data-size={size}
|
|
42
42
|
className={cn(
|
|
43
|
-
"flex w-fit items-center justify-between gap-1.5 rounded-4xl border border-input bg-input/30 px-3 py-2 text-sm whitespace-nowrap transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 data-placeholder:text-
|
|
43
|
+
"flex w-fit items-center justify-between gap-1.5 rounded-4xl border border-input bg-input/30 px-3 py-2 text-sm whitespace-nowrap transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 data-placeholder:text-placeholder data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
44
44
|
className
|
|
45
45
|
)}
|
|
46
46
|
{...props}
|
|
@@ -6,7 +6,7 @@ function Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {
|
|
|
6
6
|
<textarea
|
|
7
7
|
data-slot="textarea"
|
|
8
8
|
className={cn(
|
|
9
|
-
'flex field-sizing-content min-h-16 w-full resize-none rounded-xl border border-input bg-input/30 px-3 py-3 text-sm transition-colors outline-none placeholder:text-
|
|
9
|
+
'flex field-sizing-content min-h-16 w-full resize-none rounded-xl border border-input bg-input/30 px-3 py-3 text-sm transition-colors outline-none placeholder:text-placeholder focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20',
|
|
10
10
|
className
|
|
11
11
|
)}
|
|
12
12
|
{...props}
|