moi-computer 0.11.1-next.0 → 0.11.1-next.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/client/AGENTS.md +2 -2
- package/client/components/ui/button.tsx +1 -53
- package/client/components/ui/collapsible.tsx +1 -15
- package/client/components/ui/dialog.tsx +1 -58
- package/client/components/ui/dropdown-menu.tsx +1 -254
- package/client/components/ui/hover-card.tsx +1 -44
- package/client/components/ui/input.tsx +1 -21
- package/client/components/ui/popover.tsx +1 -88
- package/client/components/ui/resizable.tsx +1 -40
- package/client/components/ui/skeleton.tsx +1 -13
- package/client/components/ui/slider.tsx +1 -70
- package/client/components/ui/spinner.tsx +1 -18
- package/client/components/ui/switch.tsx +1 -23
- package/client/components/ui/tabs.tsx +1 -0
- package/client/components/ui/textarea.tsx +1 -18
- package/client/components/ui/tooltip.tsx +1 -51
- package/client/features/chat/ChatPanel.tsx +6 -6
- package/client/features/chat/ChatPopup.tsx +3 -4
- package/client/features/chat/TurnView.tsx +5 -4
- package/client/features/chat/api.ts +5 -14
- package/client/features/chat/chat-frames.ts +5 -2
- package/client/features/chat/composer/ChatComposer.tsx +5 -1
- package/client/features/chat/composer/ModelPicker.tsx +4 -3
- package/client/features/chat/composer/banners/ErrorBanner.tsx +20 -12
- package/client/features/chat/composer/useWorkspaceComposerState.tsx +15 -7
- package/client/features/chat/group-turns.ts +11 -0
- package/client/features/chat/session-view.ts +53 -0
- package/client/features/chat/useChat.ts +5 -1
- package/client/features/dev/ChatStatesPage.tsx +3 -1
- package/client/features/dev/DevIndexPage.tsx +5 -0
- package/client/features/dev/DevRoutes.tsx +2 -0
- package/client/features/dev/HarnessDebugPage.tsx +1 -1
- package/client/features/dev/UiComponentPreviews.tsx +834 -0
- package/client/features/dev/UiComponentsPage.tsx +60 -0
- package/client/features/home/WorkspacePreview.tsx +1 -1
- package/client/features/home/workspace-setup/DemoDialog.tsx +3 -2
- package/client/features/home/workspace-setup/ImportWorkspaceDialog.tsx +5 -8
- package/client/features/home/workspace-setup/WorkspaceDialogContent.tsx +7 -20
- package/client/features/settings/SettingsLayout.tsx +1 -1
- package/client/features/settings/WorkspaceSettings.tsx +4 -1
- package/client/features/views/ViewManager.tsx +14 -9
- package/client/features/widgets/WidgetFrame.tsx +1 -1
- package/client/features/widgets/Widgets.tsx +1 -3
- package/client/features/workspace/WorkspaceScreen.tsx +5 -1
- package/client/features/workspace/WorkspaceSplitLayout.tsx +6 -1
- package/client/features/workspace/api.ts +2 -4
- package/client/index.css +22 -29
- package/dist/{chunk-tny85yt2.js → chunk-4s15axjs.js} +2 -2
- package/dist/{chunk-c9pjqx9m.js → chunk-53a7pxcz.js} +1 -1
- package/dist/chunk-6664vxpk.css +1 -0
- package/dist/{chunk-104m57qw.js → chunk-87thzbtw.js} +2 -2
- package/dist/chunk-a6jad1a6.js +1 -0
- package/dist/chunk-dghwstd2.js +9 -0
- package/dist/chunk-eg120aca.js +1 -0
- package/dist/{chunk-v7wr1df4.js → chunk-j3wvxjr7.js} +1 -1
- package/dist/chunk-vwjeezeb.js +1 -0
- package/dist/chunk-w482ew2c.js +546 -0
- package/dist/chunk-yc471zah.js +70 -0
- package/dist/index.html +1 -1
- package/lib/format.ts +49 -1
- package/lib/themes.ts +6 -6
- package/lib/types.ts +5 -7
- package/package.json +12 -5
- package/registry.json +643 -0
- package/server/agent.ts +1 -1
- package/server/api.ts +25 -29
- package/server/applets.ts +30 -29
- package/server/bundler/applet-css.ts +6 -1
- package/server/bundler/build-applet.ts +5 -1
- package/server/bundler/build-worker.ts +178 -0
- package/server/cli-ui-components.ts +28 -33
- package/server/cli.ts +6 -11
- package/server/data-dir.ts +1 -1
- package/server/harness/README.md +13 -9
- package/server/harness/acp/NOTES.md +426 -0
- package/server/harness/acp/discovery.ts +27 -30
- package/server/harness/acp/model-state.ts +57 -0
- package/server/harness/acp/session.ts +18 -6
- package/server/harness/claude-code/NOTES.md +47 -12
- package/server/harness/claude-code/cli.ts +40 -0
- package/server/harness/claude-code/index.ts +11 -5
- package/server/harness/claude-code/models.ts +72 -19
- package/server/harness/claude-code/session.ts +408 -299
- package/server/harness/hermes/NOTES.md +18 -0
- package/server/harness/hermes/discovery.ts +20 -0
- package/server/harness/hermes/index.ts +9 -0
- package/server/harness/hermes/models.ts +28 -8
- package/server/harness/types.ts +4 -2
- package/server/moi-scaffold.ts +1 -1
- package/server/preview.ts +3 -1
- package/server/registry.ts +63 -41
- package/server/tldraw-package.d.ts +4 -0
- package/server/ui-components.ts +101 -434
- package/server/view-builders.ts +2 -1
- package/server/web.ts +9 -5
- package/server/workspace-env.ts +3 -2
- package/tsconfig.json +0 -1
- package/ui-components/accordion.tsx +71 -0
- package/ui-components/alert-dialog.tsx +165 -0
- package/ui-components/alert.tsx +68 -0
- package/ui-components/attachment.tsx +195 -0
- package/ui-components/avatar.tsx +90 -0
- package/ui-components/badge.tsx +49 -0
- package/ui-components/button-group.tsx +78 -0
- package/ui-components/button.tsx +55 -0
- package/ui-components/calendar.tsx +180 -0
- package/ui-components/card.tsx +84 -0
- package/ui-components/carousel.tsx +235 -0
- package/ui-components/chart.tsx +338 -0
- package/ui-components/checkbox.tsx +27 -0
- package/ui-components/collapsible.tsx +15 -0
- package/ui-components/combobox.tsx +265 -0
- package/ui-components/context-menu.tsx +244 -0
- package/ui-components/dialog.tsx +138 -0
- package/ui-components/docs/accordion.md +463 -0
- package/ui-components/docs/alert-dialog.md +481 -0
- package/ui-components/docs/alert.md +301 -0
- package/ui-components/docs/attachment.md +689 -0
- package/ui-components/docs/avatar.md +495 -0
- package/ui-components/docs/badge.md +258 -0
- package/ui-components/docs/button-group.md +879 -0
- package/ui-components/docs/button.md +26 -0
- package/ui-components/docs/calendar.md +862 -0
- package/ui-components/docs/card.md +265 -0
- package/ui-components/docs/carousel.md +627 -0
- package/ui-components/docs/chart.md +1256 -0
- package/ui-components/docs/checkbox.md +477 -0
- package/ui-components/docs/collapsible.md +446 -0
- package/ui-components/docs/combobox.md +1003 -0
- package/ui-components/docs/context-menu.md +860 -0
- package/ui-components/docs/data-table.md +1580 -0
- package/ui-components/docs/date-picker.md +614 -0
- package/ui-components/docs/dialog.md +414 -0
- package/ui-components/docs/drawer.md +51 -0
- package/ui-components/docs/dropdown-menu.md +1000 -0
- package/ui-components/docs/field.md +1192 -0
- package/ui-components/docs/hover-card.md +275 -0
- package/ui-components/docs/input-group.md +866 -0
- package/ui-components/docs/input.md +456 -0
- package/ui-components/docs/label.md +295 -0
- package/ui-components/docs/pagination.md +416 -0
- package/ui-components/docs/popover.md +348 -0
- package/ui-components/docs/progress.md +214 -0
- package/ui-components/docs/radio-group.md +389 -0
- package/ui-components/docs/resizable.md +265 -0
- package/ui-components/docs/select.md +616 -0
- package/ui-components/docs/separator.md +216 -0
- package/ui-components/docs/skeleton.md +205 -0
- package/ui-components/docs/slider.md +226 -0
- package/ui-components/docs/spinner.md +332 -0
- package/ui-components/docs/switch.md +236 -0
- package/ui-components/docs/table.md +551 -0
- package/ui-components/docs/tabs.md +379 -0
- package/ui-components/docs/textarea.md +187 -0
- package/ui-components/docs/toggle-group.md +370 -0
- package/ui-components/docs/toggle.md +91 -0
- package/ui-components/docs/tooltip.md +290 -0
- package/ui-components/drawer.tsx +213 -0
- package/ui-components/dropdown-menu.tsx +263 -0
- package/ui-components/field.tsx +224 -0
- package/ui-components/hover-card.tsx +46 -0
- package/ui-components/input-group.tsx +146 -0
- package/ui-components/input.tsx +20 -0
- package/ui-components/label.tsx +17 -0
- package/ui-components/pagination.tsx +124 -0
- package/ui-components/popover.tsx +81 -0
- package/ui-components/progress.tsx +63 -0
- package/ui-components/radio-group.tsx +37 -0
- package/ui-components/resizable.tsx +40 -0
- package/ui-components/scoped-portal.tsx +31 -0
- package/ui-components/select.tsx +195 -0
- package/ui-components/separator.tsx +18 -0
- package/ui-components/skeleton.tsx +15 -0
- package/ui-components/slider.tsx +75 -0
- package/ui-components/spinner.tsx +20 -0
- package/ui-components/switch.tsx +26 -0
- package/ui-components/table.tsx +86 -0
- package/ui-components/tabs.tsx +75 -0
- package/ui-components/textarea.tsx +17 -0
- package/ui-components/toggle-group.tsx +85 -0
- package/ui-components/toggle.tsx +42 -0
- package/ui-components/tooltip.tsx +61 -0
- package/ui-components/utils.ts +8 -0
- package/workspace/.claude/skills/moi-workspace/SKILL.md +11 -20
- package/workspace/.claude/skills/moi-workspace/references/DESIGN.md +4 -3
- package/workspace/.claude/skills/moi-workspace/references/UI-COMPONENTS.md +67 -203
- package/dist/chunk-59zf0m6n.js +0 -1
- package/dist/chunk-bj3akjs2.js +0 -1
- package/dist/chunk-j2w2vak4.js +0 -546
- package/dist/chunk-k2r9c95m.js +0 -10
- package/dist/chunk-kmbxhgwv.js +0 -1
- package/dist/chunk-p1yqa71k.js +0 -83
- package/dist/chunk-r5xrenjy.css +0 -1
package/client/AGENTS.md
CHANGED
|
@@ -12,7 +12,7 @@ Before editing host-app UI, read `../DESIGN.md` and the relevant rules in `../.a
|
|
|
12
12
|
|
|
13
13
|
## Conventions
|
|
14
14
|
|
|
15
|
-
- UI components in `components/ui/` are
|
|
15
|
+
- UI components in `components/ui/` are host facades over the shared moi registry components built on Base UI React. Local compatibility copies explain why they cannot re-export yet.
|
|
16
16
|
- `lib/cn.ts` is `clsx` + `tailwind-merge`.
|
|
17
17
|
|
|
18
18
|
## Vendored React
|
|
@@ -28,7 +28,7 @@ React is not bundled into the app. It ships as locally-vendored ESM in `vendor/r
|
|
|
28
28
|
|
|
29
29
|
- `app/` owns routes and the app shell. Route files load data and compose features; keep feature UI out of them.
|
|
30
30
|
- `features/<name>/` owns that feature's components, hooks, state, API hooks, and nearby tests.
|
|
31
|
-
- `components/ui/` contains
|
|
31
|
+
- `components/ui/` contains host facades for shared UI primitives. `components/shared/` contains reusable app components with no feature knowledge.
|
|
32
32
|
- `api/` contains shared request helpers, query keys, and query policies. Feature endpoints stay in the feature's `api.ts`.
|
|
33
33
|
- `runtime/` contains browser-wide lifecycle code such as HMR and shared workspace events.
|
|
34
34
|
- `lib/` contains small feature-neutral utilities. Do not use it as a catch-all for components or feature state.
|
|
@@ -1,53 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { type VariantProps, cva } from 'class-variance-authority'
|
|
3
|
-
|
|
4
|
-
import { cn } from '@/client/lib/cn'
|
|
5
|
-
|
|
6
|
-
const buttonVariants = cva(
|
|
7
|
-
'inline-flex shrink-0 cursor-pointer items-center justify-center gap-1.5 rounded-lg text-sm font-medium whitespace-nowrap transition-all duration-100 outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0',
|
|
8
|
-
{
|
|
9
|
-
variants: {
|
|
10
|
-
variant: {
|
|
11
|
-
default:
|
|
12
|
-
'bg-primary text-primary-foreground inset-shadow-[0_0_8px_color-mix(in_oklab,var(--color-white)_20%,transparent)] hover:bg-primary/90 disabled:bg-accent disabled:text-muted-foreground disabled:opacity-100 disabled:shadow-none',
|
|
13
|
-
secondary:
|
|
14
|
-
'bg-accent text-foreground hover:bg-[color-mix(in_oklch,var(--accent),var(--foreground)_3%)] hover:text-accent-foreground',
|
|
15
|
-
outline:
|
|
16
|
-
'bg-background text-foreground shadow-xs hover:text-accent-foreground hover:shadow-sm',
|
|
17
|
-
ghost: 'hover:bg-accent hover:text-accent-foreground',
|
|
18
|
-
destructive:
|
|
19
|
-
'bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20'
|
|
20
|
-
},
|
|
21
|
-
size: {
|
|
22
|
-
sm: 'h-7 gap-1.5 rounded-md px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg]:size-4',
|
|
23
|
-
default:
|
|
24
|
-
'h-8 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5 [&_svg]:size-5',
|
|
25
|
-
lg: 'h-10 rounded-xl px-4 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3 [&_svg]:size-5',
|
|
26
|
-
'icon-sm': 'size-7 rounded-md [&_svg]:size-4',
|
|
27
|
-
icon: 'size-8 [&_svg]:size-5',
|
|
28
|
-
'icon-lg': 'size-10 rounded-xl [&_svg]:size-5'
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
defaultVariants: {
|
|
32
|
-
variant: 'default',
|
|
33
|
-
size: 'default'
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
function Button({
|
|
39
|
-
className,
|
|
40
|
-
variant = 'default',
|
|
41
|
-
size = 'default',
|
|
42
|
-
...props
|
|
43
|
-
}: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>) {
|
|
44
|
-
return (
|
|
45
|
-
<ButtonPrimitive
|
|
46
|
-
data-slot="button"
|
|
47
|
-
className={cn(buttonVariants({ variant, size, className }))}
|
|
48
|
-
{...props}
|
|
49
|
-
/>
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { Button, buttonVariants }
|
|
1
|
+
export * from '@/ui-components/button'
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props) {
|
|
4
|
-
return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
function CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props) {
|
|
8
|
-
return <CollapsiblePrimitive.Trigger data-slot="collapsible-trigger" {...props} />
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props) {
|
|
12
|
-
return <CollapsiblePrimitive.Panel data-slot="collapsible-content" {...props} />
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { Collapsible, CollapsibleTrigger, CollapsibleContent }
|
|
1
|
+
export * from '@/ui-components/collapsible'
|
|
@@ -1,58 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { cn } from '@/client/lib/cn'
|
|
4
|
-
|
|
5
|
-
function Dialog({ ...props }: DialogPrimitive.Root.Props) {
|
|
6
|
-
return <DialogPrimitive.Root data-slot="dialog" {...props} />
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
function DialogTrigger({ ...props }: DialogPrimitive.Trigger.Props) {
|
|
10
|
-
return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function DialogClose({ ...props }: DialogPrimitive.Close.Props) {
|
|
14
|
-
return <DialogPrimitive.Close data-slot="dialog-close" {...props} />
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function DialogContent({ className, children, ...props }: DialogPrimitive.Popup.Props) {
|
|
18
|
-
return (
|
|
19
|
-
<DialogPrimitive.Portal>
|
|
20
|
-
<DialogPrimitive.Backdrop
|
|
21
|
-
data-slot="dialog-backdrop"
|
|
22
|
-
className="fixed inset-0 z-50 bg-foreground/40 duration-150 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0"
|
|
23
|
-
/>
|
|
24
|
-
<DialogPrimitive.Popup
|
|
25
|
-
data-slot="dialog-content"
|
|
26
|
-
className={cn(
|
|
27
|
-
'fixed top-1/2 left-1/2 z-50 origin-center -translate-x-1/2 -translate-y-1/2 overflow-hidden rounded-xl bg-card text-card-foreground shadow-xl outline-hidden duration-150 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
|
|
28
|
-
className
|
|
29
|
-
)}
|
|
30
|
-
{...props}
|
|
31
|
-
>
|
|
32
|
-
{children}
|
|
33
|
-
</DialogPrimitive.Popup>
|
|
34
|
-
</DialogPrimitive.Portal>
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props) {
|
|
39
|
-
return (
|
|
40
|
-
<DialogPrimitive.Title
|
|
41
|
-
data-slot="dialog-title"
|
|
42
|
-
className={cn('text-lg font-semibold', className)}
|
|
43
|
-
{...props}
|
|
44
|
-
/>
|
|
45
|
-
)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props) {
|
|
49
|
-
return (
|
|
50
|
-
<DialogPrimitive.Description
|
|
51
|
-
data-slot="dialog-description"
|
|
52
|
-
className={cn('text-sm text-muted-foreground', className)}
|
|
53
|
-
{...props}
|
|
54
|
-
/>
|
|
55
|
-
)
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogTitle, DialogTrigger }
|
|
1
|
+
export * from '@/ui-components/dialog'
|
|
@@ -1,254 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Menu as MenuPrimitive } from '@base-ui/react/menu'
|
|
4
|
-
import { IconCheck, IconChevronRight } from '@tabler/icons-react'
|
|
5
|
-
|
|
6
|
-
import { cn } from '@/client/lib/cn'
|
|
7
|
-
|
|
8
|
-
function DropdownMenu({ ...props }: MenuPrimitive.Root.Props) {
|
|
9
|
-
return <MenuPrimitive.Root data-slot="dropdown-menu" {...props} />
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props) {
|
|
13
|
-
return <MenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props) {
|
|
17
|
-
return <MenuPrimitive.Trigger data-slot="dropdown-menu-trigger" {...props} />
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function DropdownMenuContent({
|
|
21
|
-
align = 'start',
|
|
22
|
-
alignOffset = 0,
|
|
23
|
-
side = 'bottom',
|
|
24
|
-
sideOffset = 4,
|
|
25
|
-
className,
|
|
26
|
-
...props
|
|
27
|
-
}: MenuPrimitive.Popup.Props &
|
|
28
|
-
Pick<MenuPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>) {
|
|
29
|
-
return (
|
|
30
|
-
<MenuPrimitive.Portal>
|
|
31
|
-
<MenuPrimitive.Positioner
|
|
32
|
-
className="isolate z-50 outline-none"
|
|
33
|
-
align={align}
|
|
34
|
-
alignOffset={alignOffset}
|
|
35
|
-
side={side}
|
|
36
|
-
sideOffset={sideOffset}
|
|
37
|
-
>
|
|
38
|
-
<MenuPrimitive.Popup
|
|
39
|
-
data-slot="dropdown-menu-content"
|
|
40
|
-
className={cn(
|
|
41
|
-
'z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95',
|
|
42
|
-
className
|
|
43
|
-
)}
|
|
44
|
-
{...props}
|
|
45
|
-
/>
|
|
46
|
-
</MenuPrimitive.Positioner>
|
|
47
|
-
</MenuPrimitive.Portal>
|
|
48
|
-
)
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props) {
|
|
52
|
-
return <MenuPrimitive.Group data-slot="dropdown-menu-group" {...props} />
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
function DropdownMenuLabel({
|
|
56
|
-
className,
|
|
57
|
-
inset,
|
|
58
|
-
...props
|
|
59
|
-
}: MenuPrimitive.GroupLabel.Props & {
|
|
60
|
-
inset?: boolean
|
|
61
|
-
}) {
|
|
62
|
-
return (
|
|
63
|
-
<MenuPrimitive.GroupLabel
|
|
64
|
-
data-slot="dropdown-menu-label"
|
|
65
|
-
data-inset={inset}
|
|
66
|
-
className={cn('px-2 pt-1.5 pb-0.5 text-xs text-muted-foreground data-inset:pl-7', className)}
|
|
67
|
-
{...props}
|
|
68
|
-
/>
|
|
69
|
-
)
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function DropdownMenuItem({
|
|
73
|
-
className,
|
|
74
|
-
inset,
|
|
75
|
-
variant = 'default',
|
|
76
|
-
...props
|
|
77
|
-
}: MenuPrimitive.Item.Props & {
|
|
78
|
-
inset?: boolean
|
|
79
|
-
variant?: 'default' | 'destructive'
|
|
80
|
-
}) {
|
|
81
|
-
return (
|
|
82
|
-
<MenuPrimitive.Item
|
|
83
|
-
data-slot="dropdown-menu-item"
|
|
84
|
-
data-inset={inset}
|
|
85
|
-
data-variant={variant}
|
|
86
|
-
className={cn(
|
|
87
|
-
"group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-md px-2 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",
|
|
88
|
-
className
|
|
89
|
-
)}
|
|
90
|
-
{...props}
|
|
91
|
-
/>
|
|
92
|
-
)
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props) {
|
|
96
|
-
return <MenuPrimitive.SubmenuRoot data-slot="dropdown-menu-sub" {...props} />
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function DropdownMenuSubTrigger({
|
|
100
|
-
className,
|
|
101
|
-
inset,
|
|
102
|
-
children,
|
|
103
|
-
...props
|
|
104
|
-
}: MenuPrimitive.SubmenuTrigger.Props & {
|
|
105
|
-
inset?: boolean
|
|
106
|
-
}) {
|
|
107
|
-
return (
|
|
108
|
-
<MenuPrimitive.SubmenuTrigger
|
|
109
|
-
data-slot="dropdown-menu-sub-trigger"
|
|
110
|
-
data-inset={inset}
|
|
111
|
-
className={cn(
|
|
112
|
-
"flex cursor-default items-center gap-2 rounded-md px-2 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
113
|
-
className
|
|
114
|
-
)}
|
|
115
|
-
{...props}
|
|
116
|
-
>
|
|
117
|
-
{children}
|
|
118
|
-
<IconChevronRight className="cn-rtl-flip ml-auto" stroke={1.75} />
|
|
119
|
-
</MenuPrimitive.SubmenuTrigger>
|
|
120
|
-
)
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
function DropdownMenuSubContent({
|
|
124
|
-
align = 'start',
|
|
125
|
-
alignOffset = -3,
|
|
126
|
-
side = 'right',
|
|
127
|
-
sideOffset = 0,
|
|
128
|
-
className,
|
|
129
|
-
...props
|
|
130
|
-
}: ComponentProps<typeof DropdownMenuContent>) {
|
|
131
|
-
return (
|
|
132
|
-
<DropdownMenuContent
|
|
133
|
-
data-slot="dropdown-menu-sub-content"
|
|
134
|
-
className={cn(
|
|
135
|
-
'w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
|
|
136
|
-
className
|
|
137
|
-
)}
|
|
138
|
-
align={align}
|
|
139
|
-
alignOffset={alignOffset}
|
|
140
|
-
side={side}
|
|
141
|
-
sideOffset={sideOffset}
|
|
142
|
-
{...props}
|
|
143
|
-
/>
|
|
144
|
-
)
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
function DropdownMenuCheckboxItem({
|
|
148
|
-
className,
|
|
149
|
-
children,
|
|
150
|
-
checked,
|
|
151
|
-
inset,
|
|
152
|
-
...props
|
|
153
|
-
}: MenuPrimitive.CheckboxItem.Props & {
|
|
154
|
-
inset?: boolean
|
|
155
|
-
}) {
|
|
156
|
-
return (
|
|
157
|
-
<MenuPrimitive.CheckboxItem
|
|
158
|
-
data-slot="dropdown-menu-checkbox-item"
|
|
159
|
-
data-inset={inset}
|
|
160
|
-
className={cn(
|
|
161
|
-
"relative flex cursor-default items-center gap-2 rounded-md py-1 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
162
|
-
className
|
|
163
|
-
)}
|
|
164
|
-
checked={checked}
|
|
165
|
-
{...props}
|
|
166
|
-
>
|
|
167
|
-
<span
|
|
168
|
-
className="pointer-events-none absolute right-2 flex items-center justify-center"
|
|
169
|
-
data-slot="dropdown-menu-checkbox-item-indicator"
|
|
170
|
-
>
|
|
171
|
-
<MenuPrimitive.CheckboxItemIndicator>
|
|
172
|
-
<IconCheck stroke={1.75} />
|
|
173
|
-
</MenuPrimitive.CheckboxItemIndicator>
|
|
174
|
-
</span>
|
|
175
|
-
{children}
|
|
176
|
-
</MenuPrimitive.CheckboxItem>
|
|
177
|
-
)
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props) {
|
|
181
|
-
return <MenuPrimitive.RadioGroup data-slot="dropdown-menu-radio-group" {...props} />
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
function DropdownMenuRadioItem({
|
|
185
|
-
className,
|
|
186
|
-
children,
|
|
187
|
-
inset,
|
|
188
|
-
...props
|
|
189
|
-
}: MenuPrimitive.RadioItem.Props & {
|
|
190
|
-
inset?: boolean
|
|
191
|
-
}) {
|
|
192
|
-
return (
|
|
193
|
-
<MenuPrimitive.RadioItem
|
|
194
|
-
data-slot="dropdown-menu-radio-item"
|
|
195
|
-
data-inset={inset}
|
|
196
|
-
className={cn(
|
|
197
|
-
"relative flex cursor-default items-center gap-2 rounded-md py-1 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
198
|
-
className
|
|
199
|
-
)}
|
|
200
|
-
{...props}
|
|
201
|
-
>
|
|
202
|
-
<span
|
|
203
|
-
className="pointer-events-none absolute right-2 flex items-center justify-center"
|
|
204
|
-
data-slot="dropdown-menu-radio-item-indicator"
|
|
205
|
-
>
|
|
206
|
-
<MenuPrimitive.RadioItemIndicator>
|
|
207
|
-
<IconCheck stroke={1.75} />
|
|
208
|
-
</MenuPrimitive.RadioItemIndicator>
|
|
209
|
-
</span>
|
|
210
|
-
{children}
|
|
211
|
-
</MenuPrimitive.RadioItem>
|
|
212
|
-
)
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props) {
|
|
216
|
-
return (
|
|
217
|
-
<MenuPrimitive.Separator
|
|
218
|
-
data-slot="dropdown-menu-separator"
|
|
219
|
-
className={cn('mx-2 my-1 h-px bg-border', className)}
|
|
220
|
-
{...props}
|
|
221
|
-
/>
|
|
222
|
-
)
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
function DropdownMenuShortcut({ className, ...props }: ComponentProps<'span'>) {
|
|
226
|
-
return (
|
|
227
|
-
<span
|
|
228
|
-
data-slot="dropdown-menu-shortcut"
|
|
229
|
-
className={cn(
|
|
230
|
-
'ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground',
|
|
231
|
-
className
|
|
232
|
-
)}
|
|
233
|
-
{...props}
|
|
234
|
-
/>
|
|
235
|
-
)
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
export {
|
|
239
|
-
DropdownMenu,
|
|
240
|
-
DropdownMenuPortal,
|
|
241
|
-
DropdownMenuTrigger,
|
|
242
|
-
DropdownMenuContent,
|
|
243
|
-
DropdownMenuGroup,
|
|
244
|
-
DropdownMenuLabel,
|
|
245
|
-
DropdownMenuItem,
|
|
246
|
-
DropdownMenuCheckboxItem,
|
|
247
|
-
DropdownMenuRadioGroup,
|
|
248
|
-
DropdownMenuRadioItem,
|
|
249
|
-
DropdownMenuSeparator,
|
|
250
|
-
DropdownMenuShortcut,
|
|
251
|
-
DropdownMenuSub,
|
|
252
|
-
DropdownMenuSubTrigger,
|
|
253
|
-
DropdownMenuSubContent
|
|
254
|
-
}
|
|
1
|
+
export * from '@/ui-components/dropdown-menu'
|
|
@@ -1,44 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { cn } from '@/client/lib/cn'
|
|
4
|
-
|
|
5
|
-
function HoverCard({ ...props }: PreviewCardPrimitive.Root.Props) {
|
|
6
|
-
return <PreviewCardPrimitive.Root data-slot="hover-card" {...props} />
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
function HoverCardTrigger({ ...props }: PreviewCardPrimitive.Trigger.Props) {
|
|
10
|
-
return <PreviewCardPrimitive.Trigger data-slot="hover-card-trigger" {...props} />
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function HoverCardContent({
|
|
14
|
-
className,
|
|
15
|
-
side = 'bottom',
|
|
16
|
-
sideOffset = 4,
|
|
17
|
-
align = 'center',
|
|
18
|
-
alignOffset = 0,
|
|
19
|
-
...props
|
|
20
|
-
}: PreviewCardPrimitive.Popup.Props &
|
|
21
|
-
Pick<PreviewCardPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>) {
|
|
22
|
-
return (
|
|
23
|
-
<PreviewCardPrimitive.Portal data-slot="hover-card-portal">
|
|
24
|
-
<PreviewCardPrimitive.Positioner
|
|
25
|
-
align={align}
|
|
26
|
-
alignOffset={alignOffset}
|
|
27
|
-
side={side}
|
|
28
|
-
sideOffset={sideOffset}
|
|
29
|
-
className="isolate z-50"
|
|
30
|
-
>
|
|
31
|
-
<PreviewCardPrimitive.Popup
|
|
32
|
-
data-slot="hover-card-content"
|
|
33
|
-
className={cn(
|
|
34
|
-
'z-50 w-64 origin-(--transform-origin) rounded-xl bg-popover p-2.5 text-sm text-popover-foreground shadow-md outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
|
|
35
|
-
className
|
|
36
|
-
)}
|
|
37
|
-
{...props}
|
|
38
|
-
/>
|
|
39
|
-
</PreviewCardPrimitive.Positioner>
|
|
40
|
-
</PreviewCardPrimitive.Portal>
|
|
41
|
-
)
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export { HoverCard, HoverCardTrigger, HoverCardContent }
|
|
1
|
+
export * from '@/ui-components/hover-card'
|
|
@@ -1,21 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Input as InputPrimitive } from '@base-ui/react/input'
|
|
4
|
-
|
|
5
|
-
import { cn } from '@/client/lib/cn'
|
|
6
|
-
|
|
7
|
-
function Input({ className, type, ...props }: ComponentProps<'input'>) {
|
|
8
|
-
return (
|
|
9
|
-
<InputPrimitive
|
|
10
|
-
type={type}
|
|
11
|
-
data-slot="input"
|
|
12
|
-
className={cn(
|
|
13
|
-
'h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40',
|
|
14
|
-
className
|
|
15
|
-
)}
|
|
16
|
-
{...props}
|
|
17
|
-
/>
|
|
18
|
-
)
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { Input }
|
|
1
|
+
export * from '@/ui-components/input'
|
|
@@ -1,88 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Popover as PopoverPrimitive } from '@base-ui/react/popover'
|
|
4
|
-
|
|
5
|
-
import { cn } from '@/client/lib/cn'
|
|
6
|
-
|
|
7
|
-
function Popover({ ...props }: PopoverPrimitive.Root.Props) {
|
|
8
|
-
return <PopoverPrimitive.Root data-slot="popover" {...props} />
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function PopoverTrigger({ ...props }: PopoverPrimitive.Trigger.Props) {
|
|
12
|
-
return <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type PopoverContentProps = PopoverPrimitive.Popup.Props &
|
|
16
|
-
Pick<
|
|
17
|
-
PopoverPrimitive.Positioner.Props,
|
|
18
|
-
'align' | 'alignOffset' | 'disableAnchorTracking' | 'positionMethod' | 'side' | 'sideOffset'
|
|
19
|
-
> &
|
|
20
|
-
Pick<PopoverPrimitive.Portal.Props, 'keepMounted' | 'container'>
|
|
21
|
-
|
|
22
|
-
function PopoverContent({
|
|
23
|
-
className,
|
|
24
|
-
align = 'center',
|
|
25
|
-
alignOffset = 0,
|
|
26
|
-
disableAnchorTracking = false,
|
|
27
|
-
positionMethod = 'absolute',
|
|
28
|
-
side = 'bottom',
|
|
29
|
-
sideOffset = 4,
|
|
30
|
-
keepMounted = false,
|
|
31
|
-
container,
|
|
32
|
-
...props
|
|
33
|
-
}: PopoverContentProps) {
|
|
34
|
-
return (
|
|
35
|
-
<PopoverPrimitive.Portal keepMounted={keepMounted} container={container}>
|
|
36
|
-
<PopoverPrimitive.Positioner
|
|
37
|
-
align={align}
|
|
38
|
-
alignOffset={alignOffset}
|
|
39
|
-
disableAnchorTracking={disableAnchorTracking}
|
|
40
|
-
positionMethod={positionMethod}
|
|
41
|
-
side={side}
|
|
42
|
-
sideOffset={sideOffset}
|
|
43
|
-
className="isolate z-50"
|
|
44
|
-
>
|
|
45
|
-
<PopoverPrimitive.Popup
|
|
46
|
-
data-slot="popover-content"
|
|
47
|
-
className={cn(
|
|
48
|
-
'z-50 flex w-72 origin-(--transform-origin) flex-col gap-3 rounded-lg bg-popover p-3 text-sm text-popover-foreground shadow-md outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',
|
|
49
|
-
className
|
|
50
|
-
)}
|
|
51
|
-
{...props}
|
|
52
|
-
/>
|
|
53
|
-
</PopoverPrimitive.Positioner>
|
|
54
|
-
</PopoverPrimitive.Portal>
|
|
55
|
-
)
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
function PopoverHeader({ className, ...props }: ComponentProps<'div'>) {
|
|
59
|
-
return (
|
|
60
|
-
<div
|
|
61
|
-
data-slot="popover-header"
|
|
62
|
-
className={cn('flex flex-col gap-0.5 text-sm', className)}
|
|
63
|
-
{...props}
|
|
64
|
-
/>
|
|
65
|
-
)
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props) {
|
|
69
|
-
return (
|
|
70
|
-
<PopoverPrimitive.Title
|
|
71
|
-
data-slot="popover-title"
|
|
72
|
-
className={cn('font-medium', className)}
|
|
73
|
-
{...props}
|
|
74
|
-
/>
|
|
75
|
-
)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function PopoverDescription({ className, ...props }: PopoverPrimitive.Description.Props) {
|
|
79
|
-
return (
|
|
80
|
-
<PopoverPrimitive.Description
|
|
81
|
-
data-slot="popover-description"
|
|
82
|
-
className={cn('text-muted-foreground', className)}
|
|
83
|
-
{...props}
|
|
84
|
-
/>
|
|
85
|
-
)
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger }
|
|
1
|
+
export * from '@/ui-components/popover'
|
|
@@ -1,40 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { cn } from '@/client/lib/cn'
|
|
4
|
-
|
|
5
|
-
function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps) {
|
|
6
|
-
return (
|
|
7
|
-
<ResizablePrimitive.Group
|
|
8
|
-
data-slot="resizable-panel-group"
|
|
9
|
-
className={cn('flex h-full w-full aria-[orientation=vertical]:flex-col', className)}
|
|
10
|
-
{...props}
|
|
11
|
-
/>
|
|
12
|
-
)
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {
|
|
16
|
-
return <ResizablePrimitive.Panel data-slot="resizable-panel" {...props} />
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function ResizableHandle({
|
|
20
|
-
withHandle,
|
|
21
|
-
className,
|
|
22
|
-
...props
|
|
23
|
-
}: ResizablePrimitive.SeparatorProps & {
|
|
24
|
-
withHandle?: boolean
|
|
25
|
-
}) {
|
|
26
|
-
return (
|
|
27
|
-
<ResizablePrimitive.Separator
|
|
28
|
-
data-slot="resizable-handle"
|
|
29
|
-
className={cn(
|
|
30
|
-
'relative flex w-0 items-center justify-center ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-0 aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90',
|
|
31
|
-
className
|
|
32
|
-
)}
|
|
33
|
-
{...props}
|
|
34
|
-
>
|
|
35
|
-
{withHandle && <div className="flex h-6 w-1 shrink-0 rounded-lg bg-border" />}
|
|
36
|
-
</ResizablePrimitive.Separator>
|
|
37
|
-
)
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export { ResizableHandle, ResizablePanel, ResizablePanelGroup }
|
|
1
|
+
export * from '@/ui-components/resizable'
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
|
|
4
|
-
return (
|
|
5
|
-
<div
|
|
6
|
-
data-slot="skeleton"
|
|
7
|
-
className={cn('animate-pulse rounded-lg bg-muted', className)}
|
|
8
|
-
{...props}
|
|
9
|
-
/>
|
|
10
|
-
)
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { Skeleton }
|
|
1
|
+
export * from '@/ui-components/skeleton'
|