Skip to content

Commit 1484790

Browse files
committed
formatting
1 parent aeb10aa commit 1484790

13 files changed

+61
-43
lines changed

packages/paneforge/.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ node_modules
1111
pnpm-lock.yaml
1212
package-lock.json
1313
yarn.lock
14+
dist
15+
/dist

packages/paneforge/.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
pnpm-lock.yaml
33
package-lock.json
44
yarn.lock
5+
dist
6+
.svelte-kit

sites/docs/.eslintignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ node_modules
1111
pnpm-lock.yaml
1212
package-lock.json
1313
yarn.lock
14-
CHANGELOG.md
14+
CHANGELOG.md
15+
/.contentlayer

sites/docs/.prettierignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
pnpm-lock.yaml
33
package-lock.json
44
yarn.lock
5-
CHANGELOG.md
5+
CHANGELOG.md
6+
.svelte-kit
7+
/.svelte-kit
8+
/.contentlayer

sites/docs/src/lib/components/demos/collapsible-demo.svelte

+7-7
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,29 @@
3535
onCollapse={() => (collapsed = true)}
3636
onExpand={() => (collapsed = false)}
3737
>
38-
<div class="bg-muted flex h-[400px] items-center justify-center rounded-lg p-6">
38+
<div class="flex h-[400px] items-center justify-center rounded-lg bg-muted p-6">
3939
<span class="font-semibold">One</span>
4040
</div>
4141
</Pane>
42-
<PaneResizeHandle class="bg-background relative flex w-2 items-center justify-center">
43-
<div class="bg-brand z-10 flex h-7 w-5 items-center justify-center rounded-sm border">
42+
<PaneResizeHandle class="relative flex w-2 items-center justify-center bg-background">
43+
<div class="z-10 flex h-7 w-5 items-center justify-center rounded-sm border bg-brand">
4444
<DotsSixVertical class="size-4 text-black" weight="bold" />
4545
</div>
4646
</PaneResizeHandle>
4747
<Pane defaultSize={50}>
4848
<PaneGroup direction="vertical">
4949
<Pane defaultSize={50}>
50-
<div class="bg-muted flex h-full items-center justify-center rounded-lg p-6">
50+
<div class="flex h-full items-center justify-center rounded-lg bg-muted p-6">
5151
<span class="font-semibold">Two</span>
5252
</div>
5353
</Pane>
54-
<PaneResizeHandle class="bg-background relative flex h-2 items-center justify-center">
55-
<div class="bg-brand z-10 flex h-5 w-7 items-center justify-center rounded-sm border">
54+
<PaneResizeHandle class="relative flex h-2 items-center justify-center bg-background">
55+
<div class="z-10 flex h-5 w-7 items-center justify-center rounded-sm border bg-brand">
5656
<DotsSixVertical class="size-4 text-black" weight="bold" />
5757
</div>
5858
</PaneResizeHandle>
5959
<Pane defaultSize={50}>
60-
<div class="bg-muted flex h-full items-center justify-center rounded-lg p-6">
60+
<div class="flex h-full items-center justify-center rounded-lg bg-muted p-6">
6161
<span class="font-semibold">Three</span>
6262
</div>
6363
</Pane>

sites/docs/src/lib/components/demos/conditional-demo.svelte

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,29 @@
2525
<PaneGroup direction="horizontal" class="w-full">
2626
{#if showPaneOne}
2727
<Pane defaultSize={1 / 3} order={1}>
28-
<div class="bg-muted flex h-[400px] items-center justify-center rounded-lg p-6">
28+
<div class="flex h-[400px] items-center justify-center rounded-lg bg-muted p-6">
2929
<span class="font-semibold">One</span>
3030
</div>
3131
</Pane>
32-
<PaneResizeHandle class="bg-background relative flex w-2 items-center justify-center">
33-
<div class="bg-brand z-10 flex h-7 w-5 items-center justify-center rounded-sm border">
32+
<PaneResizeHandle class="relative flex w-2 items-center justify-center bg-background">
33+
<div class="z-10 flex h-7 w-5 items-center justify-center rounded-sm border bg-brand">
3434
<DotsSixVertical class="size-4 text-black" weight="bold" />
3535
</div>
3636
</PaneResizeHandle>
3737
{/if}
3838
<Pane defaultSize={1 / 3} order={2}>
39-
<div class="bg-muted flex h-[400px] items-center justify-center rounded-lg p-6">
39+
<div class="flex h-[400px] items-center justify-center rounded-lg bg-muted p-6">
4040
<span class="font-semibold">Two</span>
4141
</div>
4242
</Pane>
4343
{#if showPaneThree}
44-
<PaneResizeHandle class="bg-background relative flex w-2 items-center justify-center">
45-
<div class="bg-brand z-10 flex h-7 w-5 items-center justify-center rounded-sm border">
44+
<PaneResizeHandle class="relative flex w-2 items-center justify-center bg-background">
45+
<div class="z-10 flex h-7 w-5 items-center justify-center rounded-sm border bg-brand">
4646
<DotsSixVertical class="size-4 text-black" weight="bold" />
4747
</div>
4848
</PaneResizeHandle>
4949
<Pane defaultSize={1 / 3} order={3}>
50-
<div class="bg-muted flex h-[400px] items-center justify-center rounded-lg p-6">
50+
<div class="flex h-[400px] items-center justify-center rounded-lg bg-muted p-6">
5151
<span class="font-semibold">Three</span>
5252
</div>
5353
</Pane>

sites/docs/src/lib/components/demos/cookie-demo.svelte

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
</script>
1010

1111
<PaneGroup direction="horizontal" class="w-full rounded-lg" {onLayoutChange}>
12-
<Pane defaultSize={defaultLayout ? defaultLayout[0] : 50} class="bg-muted rounded-lg">
12+
<Pane defaultSize={defaultLayout ? defaultLayout[0] : 50} class="rounded-lg bg-muted">
1313
<div class="flex h-[400px] items-center justify-center p-6">
1414
<span class="font-semibold">Left</span>
1515
</div>
1616
</Pane>
17-
<PaneResizeHandle class="bg-background relative flex w-2 items-center justify-center">
18-
<div class="bg-brand z-10 flex h-7 w-5 items-center justify-center rounded-sm border">
17+
<PaneResizeHandle class="relative flex w-2 items-center justify-center bg-background">
18+
<div class="z-10 flex h-7 w-5 items-center justify-center rounded-sm border bg-brand">
1919
<DotsSixVertical class="size-4 text-black" weight="bold" />
2020
</div>
2121
</PaneResizeHandle>
22-
<Pane defaultSize={defaultLayout ? defaultLayout[1] : 50} class="bg-muted rounded-lg">
22+
<Pane defaultSize={defaultLayout ? defaultLayout[1] : 50} class="rounded-lg bg-muted">
2323
<div class="flex h-full items-center justify-center p-6">
2424
<span class="font-semibold">Right</span>
2525
</div>

sites/docs/src/lib/components/demos/horizontal-demo.svelte

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
</script>
55

66
<PaneGroup direction="horizontal" class="w-full rounded-lg">
7-
<Pane defaultSize={50} class="bg-muted rounded-lg">
7+
<Pane defaultSize={50} class="rounded-lg bg-muted">
88
<div class="flex h-[400px] items-center justify-center p-6">
99
<span class="font-semibold">Left</span>
1010
</div>
1111
</Pane>
12-
<PaneResizeHandle class="bg-background relative flex w-2 items-center justify-center">
13-
<div class="bg-brand z-10 flex h-7 w-5 items-center justify-center rounded-sm border">
12+
<PaneResizeHandle class="relative flex w-2 items-center justify-center bg-background">
13+
<div class="z-10 flex h-7 w-5 items-center justify-center rounded-sm border bg-brand">
1414
<DotsSixVertical class="size-4 text-black" weight="bold" />
1515
</div>
1616
</PaneResizeHandle>
17-
<Pane defaultSize={50} class="bg-muted rounded-lg">
17+
<Pane defaultSize={50} class="rounded-lg bg-muted">
1818
<div class="flex h-full items-center justify-center p-6">
1919
<span class="font-semibold">Right</span>
2020
</div>

sites/docs/src/lib/components/demos/nested-groups-demo.svelte

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,29 @@
55

66
<PaneGroup direction="horizontal" class="w-full">
77
<Pane defaultSize={50}>
8-
<div class="bg-muted flex h-[400px] items-center justify-center rounded-lg p-6">
8+
<div class="flex h-[400px] items-center justify-center rounded-lg bg-muted p-6">
99
<span class="font-semibold">One</span>
1010
</div>
1111
</Pane>
12-
<PaneResizeHandle class="bg-background relative flex w-2 items-center justify-center">
13-
<div class="bg-brand z-10 flex h-7 w-5 items-center justify-center rounded-sm border">
12+
<PaneResizeHandle class="relative flex w-2 items-center justify-center bg-background">
13+
<div class="z-10 flex h-7 w-5 items-center justify-center rounded-sm border bg-brand">
1414
<DotsSixVertical class="size-4 text-black" weight="bold" />
1515
</div>
1616
</PaneResizeHandle>
1717
<Pane defaultSize={50}>
1818
<PaneGroup direction="vertical">
1919
<Pane defaultSize={50}>
20-
<div class="bg-muted flex h-full items-center justify-center rounded-lg p-6">
20+
<div class="flex h-full items-center justify-center rounded-lg bg-muted p-6">
2121
<span class="font-semibold">Two</span>
2222
</div>
2323
</Pane>
24-
<PaneResizeHandle class="bg-background relative flex h-2 items-center justify-center">
25-
<div class="bg-brand z-10 flex h-5 w-7 items-center justify-center rounded-sm border">
24+
<PaneResizeHandle class="relative flex h-2 items-center justify-center bg-background">
25+
<div class="z-10 flex h-5 w-7 items-center justify-center rounded-sm border bg-brand">
2626
<DotsSixVertical class="size-4 text-black" weight="bold" />
2727
</div>
2828
</PaneResizeHandle>
2929
<Pane defaultSize={50}>
30-
<div class="bg-muted flex h-full items-center justify-center rounded-lg p-6">
30+
<div class="flex h-full items-center justify-center rounded-lg bg-muted p-6">
3131
<span class="font-semibold">Three</span>
3232
</div>
3333
</Pane>

sites/docs/src/lib/components/demos/overflow-demo.svelte

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PaneGroup direction="horizontal" class="w-full">
66
<Pane defaultSize={50}>
7-
<div class="bg-muted flex h-[400px] items-center justify-center rounded-lg">
7+
<div class="flex h-[400px] items-center justify-center rounded-lg bg-muted">
88
<div class="h-full overflow-auto p-6">
99
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Fuga quaerat eos, saepe doloribus
1010
facere fugiat! Magni consequatur a veniam quia. Exercitationem recusandae facilis cupiditate
@@ -17,11 +17,11 @@
1717
</div>
1818
</div>
1919
</Pane>
20-
<PaneResizeHandle class="bg-background relative flex w-2 items-center justify-center" />
20+
<PaneResizeHandle class="relative flex w-2 items-center justify-center bg-background" />
2121
<Pane defaultSize={50}>
2222
<PaneGroup direction="vertical">
2323
<Pane defaultSize={25}>
24-
<div class="bg-muted flex h-full items-center justify-center rounded-lg">
24+
<div class="flex h-full items-center justify-center rounded-lg bg-muted">
2525
<div class="h-full overflow-auto p-6">
2626
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Fuga quaerat eos, saepe
2727
doloribus facere fugiat! Magni consequatur a veniam quia. Exercitationem recusandae
@@ -34,9 +34,9 @@
3434
</div>
3535
</div>
3636
</Pane>
37-
<PaneResizeHandle class="bg-background relative flex h-2 items-center justify-center" />
37+
<PaneResizeHandle class="relative flex h-2 items-center justify-center bg-background" />
3838
<Pane defaultSize={75}>
39-
<div class="bg-muted flex h-full items-center justify-center rounded-lg">
39+
<div class="flex h-full items-center justify-center rounded-lg bg-muted">
4040
<div class="h-full overflow-auto p-6">
4141
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Fuga quaerat eos, saepe
4242
doloribus facere fugiat! Magni consequatur a veniam quia. Exercitationem recusandae

sites/docs/src/lib/components/demos/vertical-demo.svelte

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55

66
<div class="h-[400px]">
77
<PaneGroup direction="vertical" class="w-full rounded-lg">
8-
<Pane defaultSize={50} class="bg-muted rounded-lg">
8+
<Pane defaultSize={50} class="rounded-lg bg-muted">
99
<div class="flex h-[200px] items-center justify-center p-6">
1010
<span class="font-semibold">Top</span>
1111
</div>
1212
</Pane>
13-
<PaneResizeHandle class="bg-background relative flex h-2 items-center justify-center">
14-
<div class="bg-brand z-10 flex h-5 w-7 items-center justify-center rounded-sm border">
13+
<PaneResizeHandle class="relative flex h-2 items-center justify-center bg-background">
14+
<div class="z-10 flex h-5 w-7 items-center justify-center rounded-sm border bg-brand">
1515
<DotsSixVertical class="size-4 text-black" weight="bold" />
1616
</div>
1717
</PaneResizeHandle>
18-
<Pane defaultSize={50} class="bg-muted rounded-lg">
18+
<Pane defaultSize={50} class="rounded-lg bg-muted">
1919
<div class="flex h-full items-center justify-center p-6">
2020
<span class="font-semibold">Bottom</span>
2121
</div>

sites/docs/src/lib/components/ui/resizable/resizable-handle.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
<ResizablePrimitive.PaneResizeHandle
1616
class={cn(
17-
"bg-border focus-visible:ring-ring data-[resize-handle-active=pointer]:bg-muted-foreground relative flex w-[3px] items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-1 data-[pane-group-direction=vertical]:h-[3px] data-[pane-group-direction=vertical]:w-full data-[pane-group-direction=vertical]:after:left-0 data-[pane-group-direction=vertical]:after:h-1 data-[pane-group-direction=vertical]:after:w-full data-[pane-group-direction=vertical]:after:-translate-y-1/2 data-[pane-group-direction=vertical]:after:translate-x-0 [&[data-pane-group-direction=vertical]>div]:rotate-90",
17+
"relative flex w-[3px] items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[pane-group-direction=vertical]:h-[3px] data-[pane-group-direction=vertical]:w-full data-[resize-handle-active=pointer]:bg-muted-foreground data-[pane-group-direction=vertical]:after:left-0 data-[pane-group-direction=vertical]:after:h-1 data-[pane-group-direction=vertical]:after:w-full data-[pane-group-direction=vertical]:after:-translate-y-1/2 data-[pane-group-direction=vertical]:after:translate-x-0 [&[data-pane-group-direction=vertical]>div]:rotate-90",
1818
className
1919
)}
2020
{...$$restProps}
2121
>
2222
{#if withHandle}
23-
<div class="bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border">
23+
<div class="z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border">
2424
<DotsSixVertical class="size-2.5" />
2525
</div>
2626
{/if}

sites/docs/static/site.webmanifest

+11-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
1+
{
2+
"name": "",
3+
"short_name": "",
4+
"icons": [
5+
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
6+
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
7+
],
8+
"theme_color": "#ffffff",
9+
"background_color": "#ffffff",
10+
"display": "standalone"
11+
}

0 commit comments

Comments
 (0)