velloo 0.5.0 → 0.7.0
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 +116 -227
- package/THIRD-PARTY-NOTICES.md +3 -3
- package/canvas/assets/index-BQ5710lu.js +29 -0
- package/canvas/assets/index-GNLd0pCG.css +2 -0
- package/canvas/assets/lucide-all-DIRZdJPK.js +1 -0
- package/canvas/index.html +2 -2
- package/{chunk-qpv28z8d.js → chunk-0e5j6nqs.js} +1 -1
- package/{chunk-vrvkvb0v.js → chunk-0pxm5v0b.js} +3 -3
- package/{chunk-a16mz9zf.js → chunk-0vaff40g.js} +1 -1
- package/{chunk-42bj6r30.js → chunk-3m28pvzr.js} +1 -1
- package/{chunk-33t0csxs.js → chunk-4y2xy1kf.js} +2 -2
- package/{chunk-d4r0myxr.js → chunk-531xzfq5.js} +1 -1
- package/{chunk-1h3gqy7w.js → chunk-5s1wjhtj.js} +1 -1
- package/{chunk-4pkw6d9n.js → chunk-5x4nw0zz.js} +5 -5
- package/{chunk-b3x80jc1.js → chunk-5yhnnhkd.js} +1 -1
- package/{chunk-675tr675.js → chunk-64pex3mw.js} +1 -1
- package/chunk-667ag8ts.js +2 -0
- package/chunk-7gyzh0vq.js +5 -0
- package/{chunk-4sjvdakg.js → chunk-82x2jkfq.js} +1 -1
- package/{chunk-5y9hem1j.js → chunk-84n18xgx.js} +257 -3
- package/{chunk-edgwx026.js → chunk-abr2hgay.js} +1 -1
- package/{chunk-cqt1dpxd.js → chunk-acsv6m3n.js} +1 -1
- package/{chunk-j7tzbt3d.js → chunk-asfgvzse.js} +1 -1
- package/{chunk-0wqxb8r9.js → chunk-b8vcbbrg.js} +1 -1
- package/chunk-bms1sg4c.js +2 -0
- package/chunk-brnkprt5.js +723 -0
- package/{chunk-afe25dpr.js → chunk-bys7pqdb.js} +1 -1
- package/chunk-d0j8dg1e.js +3 -0
- package/chunk-d93kpv7s.js +12 -0
- package/chunk-dvh0b2r4.js +3 -0
- package/{chunk-5ma8zbty.js → chunk-eh2xp4v6.js} +1 -1
- package/{chunk-z78c1kf8.js → chunk-ejppcfa5.js} +1 -1
- package/{chunk-ngbqd7kb.js → chunk-ex36z3b3.js} +317 -119
- package/{chunk-6ytv1v2r.js → chunk-fmcm06xb.js} +1 -1
- package/{chunk-3ffs39e8.js → chunk-fvezyap4.js} +1 -1
- package/chunk-g7d065ek.js +2 -0
- package/{chunk-tw4kw4ps.js → chunk-g8xrwjvq.js} +2 -2
- package/{chunk-df557bn4.js → chunk-gbq5wv7x.js} +1 -1
- package/chunk-gcce587w.js +3 -0
- package/{chunk-cdqah1hy.js → chunk-gfppsgvv.js} +1 -1
- package/{chunk-5f0xv80x.js → chunk-j306gr0c.js} +1 -1
- package/chunk-j4fn2a2b.js +2 -0
- package/chunk-jbgde2v9.js +2 -0
- package/{chunk-wkqrb2tz.js → chunk-kkvf0xk2.js} +1 -1
- package/{chunk-d9kx7v12.js → chunk-md4mpvqc.js} +1 -1
- package/{chunk-vryadew3.js → chunk-mdgwdqnq.js} +2 -2
- package/chunk-p93x4pn2.js +3 -0
- package/chunk-pjkkp7xa.js +2 -0
- package/chunk-qp3wahg4.js +2 -0
- package/{chunk-f45p6kcb.js → chunk-qqrac4va.js} +1 -1
- package/chunk-qrnkrkkt.js +2 -0
- package/chunk-rqd4swxx.js +2 -0
- package/{chunk-xzkczmgg.js → chunk-rxkvjyst.js} +1 -1
- package/chunk-s84vxcdv.js +4 -0
- package/chunk-sjjnm4a1.js +2 -0
- package/chunk-skk6yvnw.js +3 -0
- package/{chunk-ahm4zd56.js → chunk-sme6hv6f.js} +1 -1
- package/chunk-snak5zpr.js +5 -0
- package/{chunk-gn9wcc1b.js → chunk-srp5gyr1.js} +1 -1
- package/{chunk-rd65xm6r.js → chunk-vdbr81a3.js} +1 -1
- package/chunk-vs8j3x6t.js +3 -0
- package/{chunk-hr3gbak5.js → chunk-xg71h7nb.js} +1 -1
- package/chunk-xzf52wvn.js +6 -0
- package/chunk-ykpctq15.js +6 -0
- package/chunk-zv17t1n7.js +3 -0
- package/cli.js +1 -1
- package/launcher.cjs +3 -1
- package/package.json +1 -1
- package/pkgs/helpers/src/box.tsx +12 -6
- package/pkgs/helpers/src/descriptors.ts +7 -0
- package/pkgs/helpers/src/icon.tsx +5 -3
- package/pkgs/helpers/src/index.ts +9 -6
- package/pkgs/helpers/src/lowering.ts +0 -24
- package/pkgs/helpers/src/primitive-classes.tsx +43 -0
- package/pkgs/helpers/src/text.tsx +29 -5
- package/pkgs/provider-antd/src/intro.ts +3 -3
- package/pkgs/provider-antd/src/manifest.ts +479 -57
- package/pkgs/provider-antd/src/registry.ts +8 -5
- package/pkgs/provider-antd/src/render-pass.ts +10 -4
- package/pkgs/provider-antd/src/reset-css.d.ts +5 -0
- package/pkgs/provider-antd/src/theme.ts +54 -11
- package/pkgs/provider-chakra/src/manifest.ts +6 -1
- package/pkgs/provider-mui/src/index.ts +4 -2
- package/pkgs/provider-mui/src/manifest.ts +11 -1
- package/pkgs/provider-mui/src/render-pass.ts +15 -1
- package/pkgs/provider-mui/src/theme.ts +10 -4
- package/pkgs/provider-none/src/components-inline.tsx +20 -14
- package/pkgs/provider-none/src/components.tsx +17 -54
- package/pkgs/provider-none/src/manifest.ts +1 -0
- package/pkgs/schema/src/annotation.ts +6 -3
- package/pkgs/schema/src/comment.ts +10 -1
- package/pkgs/schema/src/config.ts +4 -1
- package/pkgs/schema/src/index.ts +16 -1
- package/pkgs/schema/src/node-identity.ts +97 -0
- package/pkgs/schema/src/node.ts +49 -23
- package/pkgs/schema/src/snippet-resolve.ts +18 -12
- package/pkgs/schema/src/svg-sanitize.ts +3 -0
- package/pkgs/schema/src/theme.ts +6 -1
- package/pkgs/schema/src/typeset.ts +45 -21
- package/pkgs/shadcn-snapshot/dist/manifest.json +7 -0
- package/pkgs/shadcn-snapshot/src/components/ui/alert.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/aspect-ratio.tsx +2 -3
- package/pkgs/shadcn-snapshot/src/components/ui/attachment.tsx +3 -4
- package/pkgs/shadcn-snapshot/src/components/ui/avatar.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/badge.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/breadcrumb.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/bubble.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/button-group.tsx +3 -4
- package/pkgs/shadcn-snapshot/src/components/ui/button.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/card.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/carousel.tsx +3 -4
- package/pkgs/shadcn-snapshot/src/components/ui/chart.tsx +1 -1
- package/pkgs/shadcn-snapshot/src/components/ui/direction.tsx +2 -3
- package/pkgs/shadcn-snapshot/src/components/ui/empty.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/field.tsx +3 -4
- package/pkgs/shadcn-snapshot/src/components/ui/input-group.tsx +3 -4
- package/pkgs/shadcn-snapshot/src/components/ui/item.tsx +3 -4
- package/pkgs/shadcn-snapshot/src/components/ui/kbd.tsx +2 -3
- package/pkgs/shadcn-snapshot/src/components/ui/label.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/marker.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/message.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/native-select.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/navigation-menu.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/pagination.tsx +3 -4
- package/pkgs/shadcn-snapshot/src/components/ui/progress.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/radio-group.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/scroll-area.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/separator.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/skeleton.tsx +2 -3
- package/pkgs/shadcn-snapshot/src/components/ui/spinner.tsx +2 -3
- package/pkgs/shadcn-snapshot/src/components/ui/table.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/tabs.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/components/ui/toggle.tsx +2 -4
- package/pkgs/shadcn-snapshot/src/shadcn-tailwind.css +1 -1
- package/pkgs/shadcn-snapshot/src/tailwind-entry.css +1 -1
- package/canvas/assets/index-BDBBHdHH.css +0 -2
- package/canvas/assets/index-QdsLJNY9.js +0 -29
- package/canvas/assets/lucide-all-R8DUyY-B.js +0 -1
- package/chunk-0rdf6trc.js +0 -2
- package/chunk-0wafc9aw.js +0 -4
- package/chunk-10hap8kc.js +0 -6
- package/chunk-18eqh3s1.js +0 -2
- package/chunk-19xyzep8.js +0 -2
- package/chunk-49w26e94.js +0 -5
- package/chunk-66qgm91k.js +0 -708
- package/chunk-6cgvzwec.js +0 -3
- package/chunk-75sc3adm.js +0 -2
- package/chunk-7cexzg71.js +0 -2
- package/chunk-98rann8t.js +0 -2
- package/chunk-asvdqkdp.js +0 -6
- package/chunk-emv1j50t.js +0 -2
- package/chunk-ewgdcgrk.js +0 -2
- package/chunk-mm8wv3bg.js +0 -3
- package/chunk-nkqtnwzz.js +0 -2
- package/chunk-q3kf8243.js +0 -3
- package/chunk-ryga3ny1.js +0 -3
- package/chunk-sb5h27w9.js +0 -3
- package/chunk-vgx47anc.js +0 -3
- package/chunk-w6f40y2x.js +0 -11
- package/chunk-we8hvy6e.js +0 -2
- package/chunk-ycrddh47.js +0 -5
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/empty).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
6
|
-
|
|
7
5
|
import { cn } from "../../lib/utils.ts";
|
|
8
6
|
|
|
9
7
|
function Empty({ className, ...props }: React.ComponentProps<"div">) {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/field).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
8
7
|
import { useMemo } from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
9
|
+
|
|
11
10
|
import { Label } from "./label.tsx";
|
|
12
11
|
import { Separator } from "./separator.tsx";
|
|
13
12
|
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/input-group).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
9
|
+
|
|
11
10
|
import { Button } from "./button.tsx";
|
|
12
11
|
import { Input } from "./input.tsx";
|
|
13
12
|
import { Textarea } from "./textarea.tsx";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/item).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
|
|
6
5
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
7
6
|
import { Slot } from "radix-ui";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
9
|
+
|
|
11
10
|
import { Separator } from "./separator.tsx";
|
|
12
11
|
|
|
13
12
|
function ItemGroup({ className, ...props }: React.ComponentProps<"div">) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/kbd).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
import { cn } from "../../lib/utils.ts";
|
|
6
5
|
|
|
7
6
|
function Kbd({ className, ...props }: React.ComponentProps<"kbd">) {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/label).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { Label as LabelPrimitive } from "radix-ui";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
11
9
|
|
|
12
10
|
function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>) {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/marker).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
|
|
6
5
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
7
6
|
import { Slot } from "radix-ui";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
11
9
|
|
|
12
10
|
const markerVariants = cva(
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/message).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
import type * as React from "react";
|
|
6
|
-
|
|
7
5
|
import { cn } from "../../lib/utils.ts";
|
|
8
6
|
|
|
9
7
|
function MessageGroup({ className, ...props }: React.ComponentProps<"div">) {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/native-select).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
|
|
6
5
|
import { ChevronDownIcon } from "lucide-react";
|
|
7
6
|
import type * as React from "react";
|
|
8
|
-
|
|
9
7
|
import { cn } from "../../lib/utils.ts";
|
|
10
8
|
|
|
11
9
|
type NativeSelectProps = Omit<React.ComponentProps<"select">, "size"> & {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/navigation-menu).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
|
|
6
5
|
import { cva } from "class-variance-authority";
|
|
7
6
|
import { ChevronDownIcon } from "lucide-react";
|
|
8
7
|
import { NavigationMenu as NavigationMenuPrimitive } from "radix-ui";
|
|
9
8
|
import type * as React from "react";
|
|
10
|
-
|
|
11
9
|
import { cn } from "../../lib/utils.ts";
|
|
12
10
|
|
|
13
11
|
function NavigationMenu({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/pagination).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
|
|
6
5
|
import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
|
|
7
6
|
import type * as React from "react";
|
|
8
|
-
|
|
9
7
|
import { cn } from "../../lib/utils.ts";
|
|
8
|
+
|
|
10
9
|
import { Button } from "./button.tsx";
|
|
11
10
|
|
|
12
11
|
function Pagination({ className, ...props }: React.ComponentProps<"nav">) {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/progress).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { Progress as ProgressPrimitive } from "radix-ui";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
11
9
|
|
|
12
10
|
function Progress({
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/radio-group).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
11
9
|
|
|
12
10
|
function RadioGroup({
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/scroll-area).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
11
9
|
|
|
12
10
|
function ScrollArea({
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/separator).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
8
7
|
import type * as React from "react";
|
|
9
|
-
|
|
10
8
|
import { cn } from "../../lib/utils.ts";
|
|
11
9
|
|
|
12
10
|
function Separator({
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/skeleton).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
import { cn } from "../../lib/utils.ts";
|
|
6
5
|
|
|
7
6
|
function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/spinner).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
|
|
6
5
|
import { Loader2Icon } from "lucide-react";
|
|
7
6
|
import { cn } from "../../lib/utils.ts";
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/table).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import type * as React from "react";
|
|
8
|
-
|
|
9
7
|
import { cn } from "../../lib/utils.ts";
|
|
10
8
|
|
|
11
9
|
function Table({ className, ...props }: React.ComponentProps<"table">) {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/tabs).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
8
7
|
import { Tabs as TabsPrimitive } from "radix-ui";
|
|
9
8
|
import type * as React from "react";
|
|
10
|
-
|
|
11
9
|
import { cn } from "../../lib/utils.ts";
|
|
12
10
|
|
|
13
11
|
function Tabs({
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/toggle).
|
|
2
|
-
//
|
|
3
|
-
// Regenerate with `bun run vendor` —
|
|
4
|
-
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
2
|
+
// Design-mode fork for the Velloo canvas — not the shadcn the IDE chrome renders.
|
|
3
|
+
// Regenerate with `bun run vendor` — the pipeline is scripts/vendor-shadcn/.
|
|
5
4
|
"use client";
|
|
6
5
|
|
|
7
6
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
8
7
|
import { Toggle as TogglePrimitive } from "radix-ui";
|
|
9
8
|
import type * as React from "react";
|
|
10
|
-
|
|
11
9
|
import { cn } from "../../lib/utils.ts";
|
|
12
10
|
|
|
13
11
|
const toggleVariants = cva(
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
* Classes upstream *emits* but does not *distribute*: they live in the
|
|
84
84
|
* shadcn.com app's own globals.css, so a registry pull references them without
|
|
85
85
|
* ever defining them (the same leak that puts `IconPlaceholder` in the source
|
|
86
|
-
* — see vendor
|
|
86
|
+
* — see scripts/vendor-shadcn/). Defined here to upstream's intent so the components that
|
|
87
87
|
* reference them aren't silently inert.
|
|
88
88
|
*/
|
|
89
89
|
@utility cn-rtl-flip {
|