Skip to content

Commit 66e1aad

Browse files
committed
chore: fmt
1 parent 5e8fbc5 commit 66e1aad

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

integration/templates/custom-flows-react-vite/src/components/ui/card.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function CardHeader({ className, ...props }: React.ComponentProps<'div'>) {
1717
<div
1818
data-slot='card-header'
1919
className={cn(
20-
'@container/card-header has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6 grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6',
20+
'@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6',
2121
className,
2222
)}
2323
{...props}
@@ -29,7 +29,7 @@ function CardTitle({ className, ...props }: React.ComponentProps<'div'>) {
2929
return (
3030
<div
3131
data-slot='card-title'
32-
className={cn('font-semibold leading-none', className)}
32+
className={cn('leading-none font-semibold', className)}
3333
{...props}
3434
/>
3535
);
@@ -69,7 +69,7 @@ function CardFooter({ className, ...props }: React.ComponentProps<'div'>) {
6969
return (
7070
<div
7171
data-slot='card-footer'
72-
className={cn('[.border-t]:pt-6 flex items-center px-6', className)}
72+
className={cn('flex items-center px-6 [.border-t]:pt-6', className)}
7373
{...props}
7474
/>
7575
);

integration/templates/custom-flows-react-vite/src/components/ui/input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function Input({ className, type, ...props }: React.ComponentProps<'input'>) {
88
type={type}
99
data-slot='input'
1010
className={cn(
11-
'file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input shadow-xs flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base outline-none transition-[color,box-shadow] file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
11+
'file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
1212
'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',
1313
'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',
1414
className,

integration/templates/custom-flows-react-vite/src/components/ui/label.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimiti
88
<LabelPrimitive.Root
99
data-slot='label'
1010
className={cn(
11-
'flex select-none items-center gap-2 text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50',
11+
'flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',
1212
className,
1313
)}
1414
{...props}

packages/clerk-js/sandbox/template.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
></path>
7070
</svg>
7171
<div
72-
class="bg-gray-25 mt-0.5 rounded-full px-2 py-1 text-[0.625rem]/3 font-medium text-gray-600 ring-1 ring-inset ring-gray-100"
72+
class="bg-gray-25 mt-0.5 rounded-full px-2 py-1 text-[0.625rem]/3 font-medium text-gray-600 ring-1 ring-gray-100 ring-inset"
7373
>
7474
Sandbox
7575
</div>
@@ -357,7 +357,7 @@
357357
type="text"
358358
id="spacing"
359359
value="1rem"
360-
class="text-sm outline-none [field-sizing:content]"
360+
class="[field-sizing:content] text-sm outline-none"
361361
/>
362362
</label>
363363
<label class="flex items-center justify-between border-t border-gray-100 py-2">
@@ -366,12 +366,12 @@
366366
type="text"
367367
id="borderRadius"
368368
value="0.375rem"
369-
class="text-sm outline-none [field-sizing:content]"
369+
class="[field-sizing:content] text-sm outline-none"
370370
/>
371371
</label>
372372
</fieldset>
373373
<fieldset>
374-
<div class="mb-2 mt-4 flex items-center justify-between">
374+
<div class="mt-4 mb-2 flex items-center justify-between">
375375
<legend class="block text-sm">Theme</legend>
376376
</div>
377377
<label class="flex items-center justify-between border-t border-gray-100 py-2">
@@ -398,7 +398,7 @@
398398
</label>
399399
</fieldset>
400400
<fieldset>
401-
<div class="mb-2 mt-4 flex items-center justify-between">
401+
<div class="mt-4 mb-2 flex items-center justify-between">
402402
<legend class="block text-sm">Page</legend>
403403
</div>
404404
<label
@@ -423,7 +423,7 @@
423423
</script>
424424
</fieldset>
425425
<fieldset>
426-
<div class="mb-2 mt-4 flex items-center justify-between">
426+
<div class="mt-4 mb-2 flex items-center justify-between">
427427
<legend class="block text-sm">Other options</legend>
428428
<button
429429
id="resetOtherOptionsBtn"
@@ -439,7 +439,7 @@
439439
</fieldset>
440440
</div>
441441

442-
<main class="flex h-full min-w-px flex-1 items-center justify-center overflow-y-auto overflow-x-hidden py-12">
442+
<main class="flex h-full min-w-px flex-1 items-center justify-center overflow-x-hidden overflow-y-auto py-12">
443443
<div
444444
id="app"
445445
class="container w-full p-12"

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"type": "module",
1717
"exports": {
1818
".": {
19+
"types": "./dist/index.d.ts",
1920
"react-server": {
2021
"types": "./dist/server.d.ts",
2122
"import": "./dist/server.js",
2223
"default": "./dist/server.js"
2324
},
24-
"types": "./dist/index.d.ts",
2525
"import": "./dist/index.js",
2626
"default": "./dist/index.js"
2727
},

packages/ui/src/themes/shadcn.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@source "./shadcn.js";
1+
@source './shadcn.js';

0 commit comments

Comments
 (0)