velloo 0.0.0 → 0.2.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/BUN-LICENSE.md +91 -0
- package/LICENSE +202 -0
- package/NOTICE +9 -0
- package/README.md +288 -2
- package/THIRD-PARTY-NOTICES.md +467 -0
- package/assets/elsewhere-alps-9fqhv029.jpg +0 -0
- package/assets/elsewhere-bali-vp60g115.jpg +0 -0
- package/assets/elsewhere-forest-xgn23zrj.jpg +0 -0
- package/assets/elsewhere-japan-qs7qkbr2.jpg +0 -0
- package/assets/elsewhere-kyoto-map-n2bvkrya.svg +1 -0
- package/assets/elsewhere-kyoto-qemtn6nk.jpg +0 -0
- package/assets/elsewhere-room-g1gaw7cs.jpg +0 -0
- package/canvas/apple-touch-icon.png +0 -0
- package/canvas/assets/index-BCvDZiBo.css +2 -0
- package/canvas/assets/index-ClaBqcaS.js +28 -0
- package/canvas/assets/lucide-all-iIF-pmzN.js +1 -0
- package/canvas/assets/radix-C3HaOB-d.js +41 -0
- package/canvas/assets/react-D0Ec-185.js +9 -0
- package/canvas/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/canvas/assets/vendor-CKmQ-Zst.js +53 -0
- package/canvas/favicon.ico +0 -0
- package/canvas/favicon.svg +12 -0
- package/canvas/fonts/OFL-1.1.txt +93 -0
- package/canvas/fonts/poppins-700.woff2 +0 -0
- package/canvas/icon-192.png +0 -0
- package/canvas/icon-512.png +0 -0
- package/canvas/index.html +22 -0
- package/canvas/site.webmanifest +11 -0
- package/chunk-08sv3k41.js +4 -0
- package/chunk-0fe83yzt.js +2 -0
- package/chunk-0t68szgr.js +3 -0
- package/chunk-1h55s5he.js +2 -0
- package/chunk-2c7jbx46.js +2 -0
- package/chunk-2smsg2ct.js +7 -0
- package/chunk-308ynsxd.js +2 -0
- package/chunk-3e8vez4d.js +1229 -0
- package/chunk-40xgcth8.js +63 -0
- package/chunk-4dn75m6t.js +3 -0
- package/chunk-4fj5tahv.js +3 -0
- package/chunk-6nqghjda.js +3 -0
- package/chunk-6tx68d90.js +3 -0
- package/chunk-6w6ch4ce.js +2 -0
- package/chunk-735ezz23.js +86 -0
- package/chunk-7eq7nx37.js +7 -0
- package/chunk-7eyb8yrf.js +6 -0
- package/chunk-80fjfyha.js +86 -0
- package/chunk-80r93t2e.js +4 -0
- package/chunk-94vx1yb0.js +3 -0
- package/chunk-9vg3yafz.js +3 -0
- package/chunk-a84n72m2.js +4 -0
- package/chunk-ampmdzz4.js +10 -0
- package/chunk-avns4dbf.js +2 -0
- package/chunk-ayrb3qnm.js +3 -0
- package/chunk-bwnvcncx.js +3 -0
- package/chunk-ccszg02q.js +5 -0
- package/chunk-cvn689d5.js +3 -0
- package/chunk-cxe6jjwj.js +3 -0
- package/chunk-dg6z4vdd.js +3 -0
- package/chunk-dgwjpbp9.js +3 -0
- package/chunk-dy41n60j.js +52 -0
- package/chunk-ek71z2fv.js +226 -0
- package/chunk-er1fxb7d.js +2 -0
- package/chunk-eyr8hrzf.js +2 -0
- package/chunk-fjbzk4sw.js +3 -0
- package/chunk-fsbsksga.js +3 -0
- package/chunk-h6gchare.js +3 -0
- package/chunk-hcb68zt7.js +85 -0
- package/chunk-hggap8fq.js +3 -0
- package/chunk-j11fyeqh.js +2 -0
- package/chunk-jb21jkp1.js +8 -0
- package/chunk-jfx9xjmr.js +18 -0
- package/chunk-jr0ss0mm.js +303 -0
- package/chunk-jrsknzjt.js +3 -0
- package/chunk-jv0xggh0.js +2 -0
- package/chunk-k17gfwq3.js +2 -0
- package/chunk-mh2pr7cq.js +5 -0
- package/chunk-mnapdp1y.js +2 -0
- package/chunk-mzhdrawd.js +3 -0
- package/chunk-n9gs6yx9.js +2 -0
- package/chunk-ngnymg2q.js +3 -0
- package/chunk-nwx5700b.js +3 -0
- package/chunk-pjtg3wnm.js +4 -0
- package/chunk-pp86v6m6.js +3 -0
- package/chunk-r22epxz2.js +3 -0
- package/chunk-rgasy862.js +5 -0
- package/chunk-rpwpeph5.js +3 -0
- package/chunk-s23gtejf.js +3 -0
- package/chunk-sjgqnykd.js +6 -0
- package/chunk-sn3x2m0m.js +6 -0
- package/chunk-t448rrfr.js +2 -0
- package/chunk-tdsk5wxa.js +451 -0
- package/chunk-v40fn08f.js +442 -0
- package/chunk-vbk1qhdz.js +3 -0
- package/chunk-vdkrbzh1.js +2 -0
- package/chunk-vgmr98cv.js +40 -0
- package/chunk-vsv8z729.js +6 -0
- package/chunk-x4f4k9pp.js +26 -0
- package/chunk-xt5ayg7g.js +4 -0
- package/chunk-ydhwv29b.js +244 -0
- package/chunk-zb6hc1y0.js +2 -0
- package/cli.js +3 -0
- package/launcher.cjs +97 -0
- package/package.json +58 -5
- package/pkgs/helpers/src/box.tsx +21 -0
- package/pkgs/helpers/src/cn.ts +32 -0
- package/pkgs/helpers/src/descriptors.ts +270 -0
- package/pkgs/helpers/src/divider.tsx +123 -0
- package/pkgs/helpers/src/gradient.tsx +90 -0
- package/pkgs/helpers/src/heading.tsx +20 -0
- package/pkgs/helpers/src/icon-data.ts +8009 -0
- package/pkgs/helpers/src/icon.tsx +53 -0
- package/pkgs/helpers/src/image.tsx +111 -0
- package/pkgs/helpers/src/index.ts +29 -0
- package/pkgs/helpers/src/layer.tsx +61 -0
- package/pkgs/helpers/src/lowering.ts +53 -0
- package/pkgs/helpers/src/paths.ts +47 -0
- package/pkgs/helpers/src/placeholder.tsx +88 -0
- package/pkgs/helpers/src/prose.tsx +42 -0
- package/pkgs/helpers/src/registry.ts +41 -0
- package/pkgs/helpers/src/svg.tsx +62 -0
- package/pkgs/helpers/src/text.tsx +16 -0
- package/pkgs/provider-antd/src/index.ts +78 -0
- package/pkgs/provider-antd/src/intro.ts +14 -0
- package/pkgs/provider-antd/src/manifest.ts +439 -0
- package/pkgs/provider-antd/src/overlays.ts +176 -0
- package/pkgs/provider-antd/src/registry.ts +104 -0
- package/pkgs/provider-antd/src/render-pass.ts +43 -0
- package/pkgs/provider-antd/src/tailwind-entry.css +21 -0
- package/pkgs/provider-antd/src/theme.ts +132 -0
- package/pkgs/provider-antd/src/version.ts +8 -0
- package/pkgs/provider-chakra/src/index.ts +80 -0
- package/pkgs/provider-chakra/src/intro.ts +14 -0
- package/pkgs/provider-chakra/src/manifest.ts +421 -0
- package/pkgs/provider-chakra/src/overlays.ts +246 -0
- package/pkgs/provider-chakra/src/registry.ts +227 -0
- package/pkgs/provider-chakra/src/render-pass.ts +55 -0
- package/pkgs/provider-chakra/src/tailwind-entry.css +21 -0
- package/pkgs/provider-chakra/src/theme.ts +180 -0
- package/pkgs/provider-chakra/src/version.ts +8 -0
- package/pkgs/provider-mui/src/index.ts +117 -0
- package/pkgs/provider-mui/src/intro.ts +12 -0
- package/pkgs/provider-mui/src/manifest.ts +263 -0
- package/pkgs/provider-mui/src/overlays.ts +124 -0
- package/pkgs/provider-mui/src/registry.ts +120 -0
- package/pkgs/provider-mui/src/render-pass.ts +36 -0
- package/pkgs/provider-mui/src/tailwind-entry.css +21 -0
- package/pkgs/provider-mui/src/theme.ts +129 -0
- package/pkgs/provider-mui/src/version.ts +8 -0
- package/pkgs/provider-none/src/components-inline.tsx +204 -0
- package/pkgs/provider-none/src/components.tsx +155 -0
- package/pkgs/provider-none/src/index.ts +57 -0
- package/pkgs/provider-none/src/intro.ts +18 -0
- package/pkgs/provider-none/src/manifest.ts +163 -0
- package/pkgs/provider-none/src/registry-inline.ts +36 -0
- package/pkgs/provider-none/src/registry.ts +39 -0
- package/pkgs/provider-none/src/tailwind-entry.css +57 -0
- package/pkgs/provider-none/src/version.ts +10 -0
- package/pkgs/schema/src/annotation.ts +120 -0
- package/pkgs/schema/src/asset.ts +66 -0
- package/pkgs/schema/src/board.ts +71 -0
- package/pkgs/schema/src/comment.ts +107 -0
- package/pkgs/schema/src/config.ts +185 -0
- package/pkgs/schema/src/css-sanitize.ts +56 -0
- package/pkgs/schema/src/extension.ts +105 -0
- package/pkgs/schema/src/fonts.ts +690 -0
- package/pkgs/schema/src/frame.ts +40 -0
- package/pkgs/schema/src/icon-name.ts +21 -0
- package/pkgs/schema/src/ids.ts +14 -0
- package/pkgs/schema/src/index.ts +169 -0
- package/pkgs/schema/src/migrate.ts +297 -0
- package/pkgs/schema/src/node.ts +229 -0
- package/pkgs/schema/src/paths.ts +28 -0
- package/pkgs/schema/src/repo.ts +134 -0
- package/pkgs/schema/src/screen.ts +30 -0
- package/pkgs/schema/src/snippet-resolve.ts +193 -0
- package/pkgs/schema/src/snippet.ts +104 -0
- package/pkgs/schema/src/svg-sanitize.ts +487 -0
- package/pkgs/schema/src/theme.ts +218 -0
- package/pkgs/schema/src/typeset.ts +693 -0
- package/pkgs/schema/src/validate-ids.ts +46 -0
- package/pkgs/schema/src/viewport.ts +8 -0
- package/pkgs/shadcn-snapshot/dist/manifest.json +8109 -0
- package/pkgs/shadcn-snapshot/src/components/canvas-portal.tsx +55 -0
- package/pkgs/shadcn-snapshot/src/components/ui/accordion.tsx +122 -0
- package/pkgs/shadcn-snapshot/src/components/ui/alert-dialog.tsx +164 -0
- package/pkgs/shadcn-snapshot/src/components/ui/alert.tsx +74 -0
- package/pkgs/shadcn-snapshot/src/components/ui/aspect-ratio.tsx +13 -0
- package/pkgs/shadcn-snapshot/src/components/ui/attachment.tsx +197 -0
- package/pkgs/shadcn-snapshot/src/components/ui/avatar.tsx +100 -0
- package/pkgs/shadcn-snapshot/src/components/ui/badge.tsx +50 -0
- package/pkgs/shadcn-snapshot/src/components/ui/breadcrumb.tsx +109 -0
- package/pkgs/shadcn-snapshot/src/components/ui/bubble.tsx +130 -0
- package/pkgs/shadcn-snapshot/src/components/ui/button-group.tsx +82 -0
- package/pkgs/shadcn-snapshot/src/components/ui/button.tsx +72 -0
- package/pkgs/shadcn-snapshot/src/components/ui/calendar.tsx +229 -0
- package/pkgs/shadcn-snapshot/src/components/ui/card.tsx +92 -0
- package/pkgs/shadcn-snapshot/src/components/ui/carousel.tsx +235 -0
- package/pkgs/shadcn-snapshot/src/components/ui/chart-option.ts +250 -0
- package/pkgs/shadcn-snapshot/src/components/ui/chart.tsx +177 -0
- package/pkgs/shadcn-snapshot/src/components/ui/checkbox.tsx +41 -0
- package/pkgs/shadcn-snapshot/src/components/ui/collapsible.tsx +32 -0
- package/pkgs/shadcn-snapshot/src/components/ui/combobox.tsx +196 -0
- package/pkgs/shadcn-snapshot/src/components/ui/context-menu.tsx +227 -0
- package/pkgs/shadcn-snapshot/src/components/ui/dialog.tsx +131 -0
- package/pkgs/shadcn-snapshot/src/components/ui/direction.tsx +24 -0
- package/pkgs/shadcn-snapshot/src/components/ui/drawer.tsx +112 -0
- package/pkgs/shadcn-snapshot/src/components/ui/dropdown-menu.tsx +205 -0
- package/pkgs/shadcn-snapshot/src/components/ui/empty.tsx +98 -0
- package/pkgs/shadcn-snapshot/src/components/ui/field.tsx +228 -0
- package/pkgs/shadcn-snapshot/src/components/ui/hover-card.tsx +51 -0
- package/pkgs/shadcn-snapshot/src/components/ui/input-group.tsx +148 -0
- package/pkgs/shadcn-snapshot/src/components/ui/input.tsx +43 -0
- package/pkgs/shadcn-snapshot/src/components/ui/item.tsx +187 -0
- package/pkgs/shadcn-snapshot/src/components/ui/kbd.tsx +30 -0
- package/pkgs/shadcn-snapshot/src/components/ui/label.tsx +25 -0
- package/pkgs/shadcn-snapshot/src/components/ui/marker.tsx +71 -0
- package/pkgs/shadcn-snapshot/src/components/ui/menubar.tsx +243 -0
- package/pkgs/shadcn-snapshot/src/components/ui/message.tsx +89 -0
- package/pkgs/shadcn-snapshot/src/components/ui/native-select.tsx +60 -0
- package/pkgs/shadcn-snapshot/src/components/ui/navigation-menu.tsx +165 -0
- package/pkgs/shadcn-snapshot/src/components/ui/pagination.tsx +117 -0
- package/pkgs/shadcn-snapshot/src/components/ui/popover.tsx +66 -0
- package/pkgs/shadcn-snapshot/src/components/ui/progress.tsx +35 -0
- package/pkgs/shadcn-snapshot/src/components/ui/radio-group.tsx +48 -0
- package/pkgs/shadcn-snapshot/src/components/ui/scroll-area.tsx +59 -0
- package/pkgs/shadcn-snapshot/src/components/ui/select.tsx +180 -0
- package/pkgs/shadcn-snapshot/src/components/ui/separator.tsx +32 -0
- package/pkgs/shadcn-snapshot/src/components/ui/sheet.tsx +107 -0
- package/pkgs/shadcn-snapshot/src/components/ui/skeleton.tsx +17 -0
- package/pkgs/shadcn-snapshot/src/components/ui/slider.tsx +68 -0
- package/pkgs/shadcn-snapshot/src/components/ui/sonner.tsx +91 -0
- package/pkgs/shadcn-snapshot/src/components/ui/spinner.tsx +21 -0
- package/pkgs/shadcn-snapshot/src/components/ui/switch.tsx +41 -0
- package/pkgs/shadcn-snapshot/src/components/ui/table.tsx +93 -0
- package/pkgs/shadcn-snapshot/src/components/ui/tabs.tsx +84 -0
- package/pkgs/shadcn-snapshot/src/components/ui/textarea.tsx +24 -0
- package/pkgs/shadcn-snapshot/src/components/ui/toggle-group.tsx +94 -0
- package/pkgs/shadcn-snapshot/src/components/ui/toggle.tsx +50 -0
- package/pkgs/shadcn-snapshot/src/components/ui/tooltip.tsx +47 -0
- package/pkgs/shadcn-snapshot/src/examples.ts +36 -0
- package/pkgs/shadcn-snapshot/src/groups.ts +87 -0
- package/pkgs/shadcn-snapshot/src/index.ts +43 -0
- package/pkgs/shadcn-snapshot/src/lib/utils.ts +4 -0
- package/pkgs/shadcn-snapshot/src/manifest.ts +12 -0
- package/pkgs/shadcn-snapshot/src/notes.ts +97 -0
- package/pkgs/shadcn-snapshot/src/paths.ts +47 -0
- package/pkgs/shadcn-snapshot/src/registry-files.ts +293 -0
- package/pkgs/shadcn-snapshot/src/registry.ts +631 -0
- package/pkgs/shadcn-snapshot/src/shadcn-tailwind.css +632 -0
- package/pkgs/shadcn-snapshot/src/tailwind-entry.css +159 -0
- package/pkgs/shadcn-snapshot/src/version.ts +8 -0
- package/plugins/claude/velloo/.claude-plugin/plugin.json +6 -0
- package/plugins/claude/velloo/agents/velloo-design-reviewer.md +33 -0
- package/plugins/claude/velloo/agents/velloo-designer.md +39 -0
- package/plugins/claude/velloo/commands/design.md +11 -0
- package/plugins/claude/velloo/commands/implement.md +10 -0
- package/plugins/claude/velloo/commands/review.md +8 -0
- package/plugins/gemini/GEMINI.md +31 -0
- package/plugins/gemini/commands/velloo/design.toml +10 -0
- package/plugins/gemini/commands/velloo/implement.toml +9 -0
- package/plugins/gemini/gemini-extension.json +9 -0
- package/skills/velloo-brand/SKILL.md +124 -0
- package/skills/velloo-design/SKILL.md +144 -0
- package/skills/velloo-design-system/SKILL.md +90 -0
- package/skills/velloo-implement/SKILL.md +101 -0
- package/skills/velloo-logo/SKILL.md +93 -0
- package/skills/velloo-setup/SKILL.md +156 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/calendar).
|
|
2
|
+
// Snapshot version: see packages/shadcn-snapshot/package.json#snapshotVersion.
|
|
3
|
+
// Canvas-safe: a design carries JSON, so dates reach this component as ISO
|
|
4
|
+
// strings rather than the `Date` objects react-day-picker wants, and the
|
|
5
|
+
// selection mode a designer never thinks about would otherwise leave every day
|
|
6
|
+
// as inert text. The wrapper coerces the dates and always picks a mode.
|
|
7
|
+
"use client";
|
|
8
|
+
|
|
9
|
+
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
10
|
+
import * as React from "react";
|
|
11
|
+
import { type DayButton, DayPicker, getDefaultClassNames, type Locale } from "react-day-picker";
|
|
12
|
+
|
|
13
|
+
import { cn } from "../../lib/utils.ts";
|
|
14
|
+
import { Button, buttonVariants } from "./button.tsx";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* `DayPickerProps` discriminates its whole shape on `mode`, so `Omit` collapses
|
|
18
|
+
* it to the props every mode shares — exactly the display surface a static
|
|
19
|
+
* month grid needs. Selection is re-added as the one scalar shape a design can
|
|
20
|
+
* express.
|
|
21
|
+
*/
|
|
22
|
+
type CalendarProps = Omit<
|
|
23
|
+
React.ComponentProps<typeof DayPicker>,
|
|
24
|
+
"mode" | "selected" | "onSelect" | "required" | "month" | "defaultMonth"
|
|
25
|
+
> & {
|
|
26
|
+
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
27
|
+
/** ISO date (`YYYY-MM-DD`) for the month on show. Defaults to the current month. */
|
|
28
|
+
month?: string | Date;
|
|
29
|
+
/** ISO date (`YYYY-MM-DD`) to render as the selected day. */
|
|
30
|
+
selected?: string | Date;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
function toDate(value: string | Date | undefined): Date | undefined {
|
|
34
|
+
if (value === undefined) return undefined;
|
|
35
|
+
if (value instanceof Date) return value;
|
|
36
|
+
const parsed = new Date(/^\d{4}-\d{2}-\d{2}$/.test(value) ? `${value}T00:00:00` : value);
|
|
37
|
+
return Number.isNaN(parsed.getTime()) ? undefined : parsed;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function Calendar({
|
|
41
|
+
className,
|
|
42
|
+
classNames,
|
|
43
|
+
showOutsideDays = true,
|
|
44
|
+
captionLayout = "label",
|
|
45
|
+
buttonVariant = "ghost",
|
|
46
|
+
locale,
|
|
47
|
+
formatters,
|
|
48
|
+
components,
|
|
49
|
+
month,
|
|
50
|
+
selected,
|
|
51
|
+
...props
|
|
52
|
+
}: CalendarProps) {
|
|
53
|
+
const defaultClassNames = getDefaultClassNames();
|
|
54
|
+
const selectedDate = toDate(selected);
|
|
55
|
+
const monthDate = toDate(month);
|
|
56
|
+
|
|
57
|
+
return (
|
|
58
|
+
<DayPicker
|
|
59
|
+
showOutsideDays={showOutsideDays}
|
|
60
|
+
className={cn(
|
|
61
|
+
"group/calendar bg-background p-2 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent",
|
|
62
|
+
String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
|
|
63
|
+
String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
64
|
+
className,
|
|
65
|
+
)}
|
|
66
|
+
captionLayout={captionLayout}
|
|
67
|
+
locale={locale}
|
|
68
|
+
formatters={{
|
|
69
|
+
formatMonthDropdown: (date) => date.toLocaleString(locale?.code, { month: "short" }),
|
|
70
|
+
...formatters,
|
|
71
|
+
}}
|
|
72
|
+
classNames={{
|
|
73
|
+
root: cn("w-fit", defaultClassNames.root),
|
|
74
|
+
months: cn("relative flex flex-col gap-4 md:flex-row", defaultClassNames.months),
|
|
75
|
+
month: cn("flex w-full flex-col gap-4", defaultClassNames.month),
|
|
76
|
+
nav: cn(
|
|
77
|
+
"absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",
|
|
78
|
+
defaultClassNames.nav,
|
|
79
|
+
),
|
|
80
|
+
button_previous: cn(
|
|
81
|
+
buttonVariants({ variant: buttonVariant }),
|
|
82
|
+
"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",
|
|
83
|
+
defaultClassNames.button_previous,
|
|
84
|
+
),
|
|
85
|
+
button_next: cn(
|
|
86
|
+
buttonVariants({ variant: buttonVariant }),
|
|
87
|
+
"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",
|
|
88
|
+
defaultClassNames.button_next,
|
|
89
|
+
),
|
|
90
|
+
month_caption: cn(
|
|
91
|
+
"flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",
|
|
92
|
+
defaultClassNames.month_caption,
|
|
93
|
+
),
|
|
94
|
+
dropdowns: cn(
|
|
95
|
+
"flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",
|
|
96
|
+
defaultClassNames.dropdowns,
|
|
97
|
+
),
|
|
98
|
+
dropdown_root: cn(
|
|
99
|
+
"cn-calendar-dropdown-root relative rounded-(--cell-radius)",
|
|
100
|
+
defaultClassNames.dropdown_root,
|
|
101
|
+
),
|
|
102
|
+
dropdown: cn("absolute inset-0 bg-popover opacity-0", defaultClassNames.dropdown),
|
|
103
|
+
caption_label: cn(
|
|
104
|
+
"font-medium select-none",
|
|
105
|
+
captionLayout === "label"
|
|
106
|
+
? "cn-calendar-caption text-sm"
|
|
107
|
+
: "cn-calendar-caption-label flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",
|
|
108
|
+
defaultClassNames.caption_label,
|
|
109
|
+
),
|
|
110
|
+
month_grid: cn("w-full border-collapse", defaultClassNames.month_grid),
|
|
111
|
+
weekdays: cn("flex", defaultClassNames.weekdays),
|
|
112
|
+
weekday: cn(
|
|
113
|
+
"flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground select-none",
|
|
114
|
+
defaultClassNames.weekday,
|
|
115
|
+
),
|
|
116
|
+
week: cn("mt-2 flex w-full", defaultClassNames.week),
|
|
117
|
+
week_number_header: cn("w-(--cell-size) select-none", defaultClassNames.week_number_header),
|
|
118
|
+
week_number: cn(
|
|
119
|
+
"text-[0.8rem] text-muted-foreground select-none",
|
|
120
|
+
defaultClassNames.week_number,
|
|
121
|
+
),
|
|
122
|
+
day: cn(
|
|
123
|
+
"group/day relative aspect-square h-full w-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)",
|
|
124
|
+
props.showWeekNumber
|
|
125
|
+
? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)"
|
|
126
|
+
: "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",
|
|
127
|
+
defaultClassNames.day,
|
|
128
|
+
),
|
|
129
|
+
range_start: cn(
|
|
130
|
+
"relative isolate z-0 rounded-l-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:right-0 after:w-4 after:bg-muted",
|
|
131
|
+
defaultClassNames.range_start,
|
|
132
|
+
),
|
|
133
|
+
range_middle: cn("rounded-none", defaultClassNames.range_middle),
|
|
134
|
+
range_end: cn(
|
|
135
|
+
"relative isolate z-0 rounded-r-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:left-0 after:w-4 after:bg-muted",
|
|
136
|
+
defaultClassNames.range_end,
|
|
137
|
+
),
|
|
138
|
+
today: cn(
|
|
139
|
+
"rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none",
|
|
140
|
+
defaultClassNames.today,
|
|
141
|
+
),
|
|
142
|
+
outside: cn(
|
|
143
|
+
"text-muted-foreground aria-selected:text-muted-foreground",
|
|
144
|
+
defaultClassNames.outside,
|
|
145
|
+
),
|
|
146
|
+
disabled: cn("text-muted-foreground opacity-50", defaultClassNames.disabled),
|
|
147
|
+
hidden: cn("invisible", defaultClassNames.hidden),
|
|
148
|
+
...classNames,
|
|
149
|
+
}}
|
|
150
|
+
components={{
|
|
151
|
+
Root: ({ className, rootRef, ...props }) => {
|
|
152
|
+
return <div data-slot="calendar" ref={rootRef} className={cn(className)} {...props} />;
|
|
153
|
+
},
|
|
154
|
+
Chevron: ({ className, orientation, ...props }) => {
|
|
155
|
+
if (orientation === "left") {
|
|
156
|
+
return <ChevronLeftIcon className={cn("cn-rtl-flip size-4", className)} {...props} />;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (orientation === "right") {
|
|
160
|
+
return <ChevronRightIcon className={cn("cn-rtl-flip size-4", className)} {...props} />;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
return <ChevronDownIcon className={cn("size-4", className)} {...props} />;
|
|
164
|
+
},
|
|
165
|
+
DayButton: ({ ...props }) => (
|
|
166
|
+
<CalendarDayButton {...(locale === undefined ? {} : { locale })} {...props} />
|
|
167
|
+
),
|
|
168
|
+
WeekNumber: ({ children, ...props }) => {
|
|
169
|
+
return (
|
|
170
|
+
<td {...props}>
|
|
171
|
+
<div className="flex size-(--cell-size) items-center justify-center text-center">
|
|
172
|
+
{children}
|
|
173
|
+
</div>
|
|
174
|
+
</td>
|
|
175
|
+
);
|
|
176
|
+
},
|
|
177
|
+
...components,
|
|
178
|
+
}}
|
|
179
|
+
// `mode` is unconditional: it is what makes react-day-picker render a day
|
|
180
|
+
// as a button, and the day *button* is what carries the selected, hover
|
|
181
|
+
// and focus styling a designer is here to look at.
|
|
182
|
+
mode="single"
|
|
183
|
+
{...(monthDate === undefined ? {} : { month: monthDate })}
|
|
184
|
+
{...(selectedDate === undefined ? {} : { selected: selectedDate })}
|
|
185
|
+
{...props}
|
|
186
|
+
/>
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function CalendarDayButton({
|
|
191
|
+
className,
|
|
192
|
+
day,
|
|
193
|
+
modifiers,
|
|
194
|
+
locale,
|
|
195
|
+
...props
|
|
196
|
+
}: React.ComponentProps<typeof DayButton> & { locale?: Partial<Locale> }) {
|
|
197
|
+
const defaultClassNames = getDefaultClassNames();
|
|
198
|
+
|
|
199
|
+
const ref = React.useRef<HTMLButtonElement>(null);
|
|
200
|
+
React.useEffect(() => {
|
|
201
|
+
if (modifiers.focused) ref.current?.focus();
|
|
202
|
+
}, [modifiers.focused]);
|
|
203
|
+
|
|
204
|
+
return (
|
|
205
|
+
<Button
|
|
206
|
+
ref={ref}
|
|
207
|
+
variant="ghost"
|
|
208
|
+
size="icon"
|
|
209
|
+
data-day={day.date.toLocaleDateString(locale?.code)}
|
|
210
|
+
data-selected-single={
|
|
211
|
+
modifiers.selected &&
|
|
212
|
+
!modifiers.range_start &&
|
|
213
|
+
!modifiers.range_end &&
|
|
214
|
+
!modifiers.range_middle
|
|
215
|
+
}
|
|
216
|
+
data-range-start={modifiers.range_start}
|
|
217
|
+
data-range-end={modifiers.range_end}
|
|
218
|
+
data-range-middle={modifiers.range_middle}
|
|
219
|
+
className={cn(
|
|
220
|
+
"relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70",
|
|
221
|
+
defaultClassNames.day,
|
|
222
|
+
className,
|
|
223
|
+
)}
|
|
224
|
+
{...props}
|
|
225
|
+
/>
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export { Calendar, CalendarDayButton };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/card).
|
|
2
|
+
// Snapshot version: see packages/shadcn-snapshot/package.json#snapshotVersion.
|
|
3
|
+
// Regenerate with `bun run vendor` — do not hand-edit unless you are adding a
|
|
4
|
+
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
5
|
+
import type * as React from "react";
|
|
6
|
+
|
|
7
|
+
import { cn } from "../../lib/utils.ts";
|
|
8
|
+
|
|
9
|
+
function Card({
|
|
10
|
+
className,
|
|
11
|
+
size = "default",
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<"div"> & { size?: "default" | "sm" }) {
|
|
14
|
+
return (
|
|
15
|
+
<div
|
|
16
|
+
data-slot="card"
|
|
17
|
+
data-size={size}
|
|
18
|
+
className={cn(
|
|
19
|
+
"group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",
|
|
20
|
+
className,
|
|
21
|
+
)}
|
|
22
|
+
{...props}
|
|
23
|
+
/>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
|
|
28
|
+
return (
|
|
29
|
+
<div
|
|
30
|
+
data-slot="card-header"
|
|
31
|
+
className={cn(
|
|
32
|
+
"group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",
|
|
33
|
+
className,
|
|
34
|
+
)}
|
|
35
|
+
{...props}
|
|
36
|
+
/>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
|
|
41
|
+
return (
|
|
42
|
+
<div
|
|
43
|
+
data-slot="card-title"
|
|
44
|
+
className={cn(
|
|
45
|
+
"cn-font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",
|
|
46
|
+
className,
|
|
47
|
+
)}
|
|
48
|
+
{...props}
|
|
49
|
+
/>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function CardDescription({ className, ...props }: React.ComponentProps<"div">) {
|
|
54
|
+
return (
|
|
55
|
+
<div
|
|
56
|
+
data-slot="card-description"
|
|
57
|
+
className={cn("text-sm text-muted-foreground", className)}
|
|
58
|
+
{...props}
|
|
59
|
+
/>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function CardAction({ className, ...props }: React.ComponentProps<"div">) {
|
|
64
|
+
return (
|
|
65
|
+
<div
|
|
66
|
+
data-slot="card-action"
|
|
67
|
+
className={cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className)}
|
|
68
|
+
{...props}
|
|
69
|
+
/>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function CardContent({ className, ...props }: React.ComponentProps<"div">) {
|
|
74
|
+
return (
|
|
75
|
+
<div data-slot="card-content" className={cn("px-(--card-spacing)", className)} {...props} />
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
|
|
80
|
+
return (
|
|
81
|
+
<div
|
|
82
|
+
data-slot="card-footer"
|
|
83
|
+
className={cn(
|
|
84
|
+
"flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",
|
|
85
|
+
className,
|
|
86
|
+
)}
|
|
87
|
+
{...props}
|
|
88
|
+
/>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// Vendored from shadcn-ui (https://ui.shadcn.com/docs/components/radix/carousel).
|
|
2
|
+
// Snapshot version: see packages/shadcn-snapshot/package.json#snapshotVersion.
|
|
3
|
+
// Regenerate with `bun run vendor` — do not hand-edit unless you are adding a
|
|
4
|
+
// canvas adaptation, in which case add the id to vendor.ts's ADAPTED set.
|
|
5
|
+
"use client";
|
|
6
|
+
|
|
7
|
+
import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
|
|
8
|
+
import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
|
|
11
|
+
import { cn } from "../../lib/utils.ts";
|
|
12
|
+
import { Button } from "./button.tsx";
|
|
13
|
+
|
|
14
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
15
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
16
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
17
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
18
|
+
|
|
19
|
+
type CarouselProps = {
|
|
20
|
+
opts?: CarouselOptions;
|
|
21
|
+
plugins?: CarouselPlugin;
|
|
22
|
+
orientation?: "horizontal" | "vertical";
|
|
23
|
+
setApi?: (api: CarouselApi) => void;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
type CarouselContextProps = {
|
|
27
|
+
carouselRef: ReturnType<typeof useEmblaCarousel>[0];
|
|
28
|
+
api: ReturnType<typeof useEmblaCarousel>[1];
|
|
29
|
+
scrollPrev: () => void;
|
|
30
|
+
scrollNext: () => void;
|
|
31
|
+
canScrollPrev: boolean;
|
|
32
|
+
canScrollNext: boolean;
|
|
33
|
+
} & CarouselProps;
|
|
34
|
+
|
|
35
|
+
const CarouselContext = React.createContext<CarouselContextProps | null>(null);
|
|
36
|
+
|
|
37
|
+
function useCarousel() {
|
|
38
|
+
const context = React.useContext(CarouselContext);
|
|
39
|
+
|
|
40
|
+
if (!context) {
|
|
41
|
+
throw new Error("useCarousel must be used within a <Carousel />");
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return context;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function Carousel({
|
|
48
|
+
orientation = "horizontal",
|
|
49
|
+
opts,
|
|
50
|
+
setApi,
|
|
51
|
+
plugins,
|
|
52
|
+
className,
|
|
53
|
+
children,
|
|
54
|
+
...props
|
|
55
|
+
}: React.ComponentProps<"div"> & CarouselProps) {
|
|
56
|
+
const [carouselRef, api] = useEmblaCarousel(
|
|
57
|
+
{
|
|
58
|
+
...opts,
|
|
59
|
+
axis: orientation === "horizontal" ? "x" : "y",
|
|
60
|
+
},
|
|
61
|
+
plugins,
|
|
62
|
+
);
|
|
63
|
+
const [canScrollPrev, setCanScrollPrev] = React.useState(false);
|
|
64
|
+
const [canScrollNext, setCanScrollNext] = React.useState(false);
|
|
65
|
+
|
|
66
|
+
const onSelect = React.useCallback((api: CarouselApi) => {
|
|
67
|
+
if (!api) return;
|
|
68
|
+
setCanScrollPrev(api.canScrollPrev());
|
|
69
|
+
setCanScrollNext(api.canScrollNext());
|
|
70
|
+
}, []);
|
|
71
|
+
|
|
72
|
+
const scrollPrev = React.useCallback(() => {
|
|
73
|
+
api?.scrollPrev();
|
|
74
|
+
}, [api]);
|
|
75
|
+
|
|
76
|
+
const scrollNext = React.useCallback(() => {
|
|
77
|
+
api?.scrollNext();
|
|
78
|
+
}, [api]);
|
|
79
|
+
|
|
80
|
+
const handleKeyDown = React.useCallback(
|
|
81
|
+
(event: React.KeyboardEvent<HTMLDivElement>) => {
|
|
82
|
+
if (event.key === "ArrowLeft") {
|
|
83
|
+
event.preventDefault();
|
|
84
|
+
scrollPrev();
|
|
85
|
+
} else if (event.key === "ArrowRight") {
|
|
86
|
+
event.preventDefault();
|
|
87
|
+
scrollNext();
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
[scrollPrev, scrollNext],
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
React.useEffect(() => {
|
|
94
|
+
if (!api || !setApi) return;
|
|
95
|
+
setApi(api);
|
|
96
|
+
}, [api, setApi]);
|
|
97
|
+
|
|
98
|
+
React.useEffect(() => {
|
|
99
|
+
if (!api) return;
|
|
100
|
+
onSelect(api);
|
|
101
|
+
api.on("reInit", onSelect);
|
|
102
|
+
api.on("select", onSelect);
|
|
103
|
+
|
|
104
|
+
return () => {
|
|
105
|
+
api?.off("select", onSelect);
|
|
106
|
+
};
|
|
107
|
+
}, [api, onSelect]);
|
|
108
|
+
|
|
109
|
+
return (
|
|
110
|
+
<CarouselContext.Provider
|
|
111
|
+
value={{
|
|
112
|
+
carouselRef,
|
|
113
|
+
api: api,
|
|
114
|
+
opts,
|
|
115
|
+
orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
|
|
116
|
+
scrollPrev,
|
|
117
|
+
scrollNext,
|
|
118
|
+
canScrollPrev,
|
|
119
|
+
canScrollNext,
|
|
120
|
+
}}
|
|
121
|
+
>
|
|
122
|
+
<div
|
|
123
|
+
onKeyDownCapture={handleKeyDown}
|
|
124
|
+
className={cn("relative", className)}
|
|
125
|
+
role="region"
|
|
126
|
+
aria-roledescription="carousel"
|
|
127
|
+
data-slot="carousel"
|
|
128
|
+
{...props}
|
|
129
|
+
>
|
|
130
|
+
{children}
|
|
131
|
+
</div>
|
|
132
|
+
</CarouselContext.Provider>
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
function CarouselContent({ className, ...props }: React.ComponentProps<"div">) {
|
|
137
|
+
const { carouselRef, orientation } = useCarousel();
|
|
138
|
+
|
|
139
|
+
return (
|
|
140
|
+
<div ref={carouselRef} className="overflow-hidden" data-slot="carousel-content">
|
|
141
|
+
<div
|
|
142
|
+
className={cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className)}
|
|
143
|
+
{...props}
|
|
144
|
+
/>
|
|
145
|
+
</div>
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function CarouselItem({ className, ...props }: React.ComponentProps<"div">) {
|
|
150
|
+
const { orientation } = useCarousel();
|
|
151
|
+
|
|
152
|
+
return (
|
|
153
|
+
<div
|
|
154
|
+
role="group"
|
|
155
|
+
aria-roledescription="slide"
|
|
156
|
+
data-slot="carousel-item"
|
|
157
|
+
className={cn(
|
|
158
|
+
"min-w-0 shrink-0 grow-0 basis-full",
|
|
159
|
+
orientation === "horizontal" ? "pl-4" : "pt-4",
|
|
160
|
+
className,
|
|
161
|
+
)}
|
|
162
|
+
{...props}
|
|
163
|
+
/>
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function CarouselPrevious({
|
|
168
|
+
className,
|
|
169
|
+
variant = "outline",
|
|
170
|
+
size = "icon-sm",
|
|
171
|
+
...props
|
|
172
|
+
}: React.ComponentProps<typeof Button>) {
|
|
173
|
+
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
174
|
+
|
|
175
|
+
return (
|
|
176
|
+
<Button
|
|
177
|
+
data-slot="carousel-previous"
|
|
178
|
+
variant={variant}
|
|
179
|
+
size={size}
|
|
180
|
+
className={cn(
|
|
181
|
+
"absolute touch-manipulation rounded-full",
|
|
182
|
+
orientation === "horizontal"
|
|
183
|
+
? "inset-y-0 -left-12 my-auto"
|
|
184
|
+
: "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
185
|
+
className,
|
|
186
|
+
)}
|
|
187
|
+
disabled={!canScrollPrev}
|
|
188
|
+
onClick={scrollPrev}
|
|
189
|
+
{...props}
|
|
190
|
+
>
|
|
191
|
+
<ChevronLeftIcon className="cn-rtl-flip" />
|
|
192
|
+
<span className="sr-only">Previous slide</span>
|
|
193
|
+
</Button>
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function CarouselNext({
|
|
198
|
+
className,
|
|
199
|
+
variant = "outline",
|
|
200
|
+
size = "icon-sm",
|
|
201
|
+
...props
|
|
202
|
+
}: React.ComponentProps<typeof Button>) {
|
|
203
|
+
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
204
|
+
|
|
205
|
+
return (
|
|
206
|
+
<Button
|
|
207
|
+
data-slot="carousel-next"
|
|
208
|
+
variant={variant}
|
|
209
|
+
size={size}
|
|
210
|
+
className={cn(
|
|
211
|
+
"absolute touch-manipulation rounded-full",
|
|
212
|
+
orientation === "horizontal"
|
|
213
|
+
? "inset-y-0 -right-12 my-auto"
|
|
214
|
+
: "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
215
|
+
className,
|
|
216
|
+
)}
|
|
217
|
+
disabled={!canScrollNext}
|
|
218
|
+
onClick={scrollNext}
|
|
219
|
+
{...props}
|
|
220
|
+
>
|
|
221
|
+
<ChevronRightIcon className="cn-rtl-flip" />
|
|
222
|
+
<span className="sr-only">Next slide</span>
|
|
223
|
+
</Button>
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export {
|
|
228
|
+
Carousel,
|
|
229
|
+
type CarouselApi,
|
|
230
|
+
CarouselContent,
|
|
231
|
+
CarouselItem,
|
|
232
|
+
CarouselNext,
|
|
233
|
+
CarouselPrevious,
|
|
234
|
+
useCarousel,
|
|
235
|
+
};
|