@designa8/vibedesign-v6 1.9.7 → 1.10.2

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/dist/index.cjs CHANGED
@@ -31,12 +31,14 @@ var src_exports = {};
31
31
  __export(src_exports, {
32
32
  AppLayout: () => AppLayout,
33
33
  AppSidebar: () => AppSidebar,
34
+ AppSidebarMobile: () => AppSidebarMobile,
34
35
  AuthScreen: () => AuthScreen,
35
36
  Button: () => Button,
36
37
  ChatScreen: () => ChatScreen,
37
38
  Chip: () => Chip,
38
39
  ComponentCard: () => ComponentCard,
39
40
  FilterTabBar: () => FilterTabBar,
41
+ HomePageTemplate: () => HomePageTemplate,
40
42
  Input: () => Input,
41
43
  Modal: () => Modal,
42
44
  NavItem: () => NavItem,
@@ -2958,21 +2960,331 @@ var AppSidebar = import_react10.default.forwardRef(
2958
2960
  );
2959
2961
  AppSidebar.displayName = "AppSidebar";
2960
2962
 
2961
- // virtual-pkg:src/atoms/AuthScreen/AuthScreen.tsx
2963
+ // virtual-pkg:src/atoms/AppSidebarMobile/AppSidebarMobile.tsx
2962
2964
  var import_react11 = __toESM(require("react"));
2963
2965
  var import_jsx_runtime11 = require("react/jsx-runtime");
2964
- var AuthScreen = import_react11.default.forwardRef(
2966
+ var LogoIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "28", height: "28", viewBox: "0 0 48 48", fill: "none", "aria-hidden": "true", children: [
2967
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M12 36C12 36 8 28 16 22C20 19 26 20 26 20C26 20 22 26 18 30C16 32 12 36 12 36Z", style: { fill: "var(--color-logo-orange)" } }),
2968
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M24 8C24 8 36 12 36 24C36 30 32 36 26 38C26 38 28 30 26 24C25 20 24 8 24 8Z", style: { fill: "var(--color-logo-violet)" } }),
2969
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M12 36C12 36 16 24 24 20C28 18 36 20 36 20C36 20 30 28 26 32C22 36 12 36 12 36Z", style: { fill: "var(--color-logo-pink)", opacity: 0.7 } })
2970
+ ] });
2971
+ var HamburgerIcon = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": "true", style: { width: "20px", height: "20px" }, children: [
2972
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
2973
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
2974
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
2975
+ ] });
2976
+ var CloseIcon = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": "true", style: { width: "20px", height: "20px" }, children: [
2977
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
2978
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
2979
+ ] });
2980
+ var GiftIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", style: { width: "20px", height: "20px" }, "aria-hidden": "true", children: [
2981
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("polyline", { points: "20 12 20 22 4 22 4 12" }),
2982
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("rect", { x: "2", y: "7", width: "20", height: "5" }),
2983
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "12", y1: "22", x2: "12", y2: "7" }),
2984
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z" }),
2985
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z" })
2986
+ ] });
2987
+ var InboxIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", style: { width: "18px", height: "18px" }, "aria-hidden": "true", children: [
2988
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12" }),
2989
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z" })
2990
+ ] });
2991
+ var SunIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", style: { width: "18px", height: "18px" }, "aria-hidden": "true", children: [
2992
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("circle", { cx: "12", cy: "12", r: "5" }),
2993
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "12", y1: "1", x2: "12", y2: "3" }),
2994
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "12", y1: "21", x2: "12", y2: "23" }),
2995
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "4.22", y1: "4.22", x2: "5.64", y2: "5.64" }),
2996
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "18.36", y1: "18.36", x2: "19.78", y2: "19.78" }),
2997
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "1", y1: "12", x2: "3", y2: "12" }),
2998
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "21", y1: "12", x2: "23", y2: "12" }),
2999
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
3000
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
3001
+ ] });
3002
+ var MoonIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", style: { width: "18px", height: "18px" }, "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) });
3003
+ var AppSidebarMobile = import_react11.default.forwardRef(
3004
+ ({
3005
+ brandName = "Atoms",
3006
+ entries = [],
3007
+ activeId,
3008
+ onSelect,
3009
+ activeSubId: _activeSubId,
3010
+ onSubSelect,
3011
+ workspaceName,
3012
+ showShareCard = false,
3013
+ showUpgradeCard = false,
3014
+ userInitials,
3015
+ onInboxClick,
3016
+ darkMode = false,
3017
+ onDarkModeToggle,
3018
+ open: openProp,
3019
+ onOpenChange,
3020
+ className
3021
+ }, ref) => {
3022
+ const [internalOpen, setInternalOpen] = import_react11.default.useState(false);
3023
+ const isControlled = openProp !== void 0;
3024
+ const open = isControlled ? openProp : internalOpen;
3025
+ const setOpen = (next) => {
3026
+ if (!isControlled) setInternalOpen(next);
3027
+ onOpenChange?.(next);
3028
+ };
3029
+ const [expandedIds, setExpandedIds] = import_react11.default.useState(/* @__PURE__ */ new Set());
3030
+ const toggleExpanded = (id) => {
3031
+ setExpandedIds((prev) => {
3032
+ const next = new Set(prev);
3033
+ next.has(id) ? next.delete(id) : next.add(id);
3034
+ return next;
3035
+ });
3036
+ };
3037
+ import_react11.default.useEffect(() => {
3038
+ if (!open) return;
3039
+ const handler = (e) => {
3040
+ if (e.key === "Escape") setOpen(false);
3041
+ };
3042
+ window.addEventListener("keydown", handler);
3043
+ return () => window.removeEventListener("keydown", handler);
3044
+ }, [open]);
3045
+ const [visible, setVisible] = import_react11.default.useState(false);
3046
+ const [mounted, setMounted] = import_react11.default.useState(false);
3047
+ import_react11.default.useEffect(() => {
3048
+ if (open) {
3049
+ setMounted(true);
3050
+ requestAnimationFrame(() => requestAnimationFrame(() => setVisible(true)));
3051
+ } else {
3052
+ setVisible(false);
3053
+ const t = setTimeout(() => setMounted(false), 300);
3054
+ return () => clearTimeout(t);
3055
+ }
3056
+ }, [open]);
3057
+ const showFooterRow = !!(userInitials || onInboxClick || onDarkModeToggle);
3058
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
3059
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { ref, className, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3060
+ Button,
3061
+ {
3062
+ variant: "ghost",
3063
+ size: "sm",
3064
+ "aria-label": "Open navigation",
3065
+ "aria-expanded": open,
3066
+ onClick: () => setOpen(true),
3067
+ className: "!p-xs !rounded-md",
3068
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(HamburgerIcon, {})
3069
+ }
3070
+ ) }),
3071
+ mounted && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3072
+ "div",
3073
+ {
3074
+ role: "dialog",
3075
+ "aria-modal": "true",
3076
+ "aria-label": "Navigation menu",
3077
+ style: {
3078
+ position: "fixed",
3079
+ inset: 0,
3080
+ zIndex: 9999
3081
+ },
3082
+ children: [
3083
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3084
+ "div",
3085
+ {
3086
+ "aria-hidden": "true",
3087
+ onClick: () => setOpen(false),
3088
+ style: {
3089
+ position: "absolute",
3090
+ inset: 0,
3091
+ backgroundColor: "var(--color-scrim)",
3092
+ opacity: visible ? 0.5 : 0,
3093
+ transition: "opacity 0.25s ease"
3094
+ }
3095
+ }
3096
+ ),
3097
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3098
+ "div",
3099
+ {
3100
+ style: {
3101
+ position: "absolute",
3102
+ top: 0,
3103
+ left: 0,
3104
+ bottom: 0,
3105
+ width: "min(280px, 85vw)",
3106
+ display: "flex",
3107
+ flexDirection: "column",
3108
+ backgroundColor: "var(--color-canvas)",
3109
+ borderRight: "1px solid var(--color-hairline)",
3110
+ boxShadow: "var(--shadow-lg)",
3111
+ transform: visible ? "translateX(0)" : "translateX(-100%)",
3112
+ transition: "transform 0.28s cubic-bezier(0.32,0,0.15,1)",
3113
+ overflowY: "auto",
3114
+ overflowX: "hidden"
3115
+ },
3116
+ children: [
3117
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3118
+ "div",
3119
+ {
3120
+ className: "flex items-center justify-between px-md pt-md pb-sm flex-shrink-0",
3121
+ style: { backgroundColor: "var(--color-canvas)" },
3122
+ children: [
3123
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center gap-sm", children: [
3124
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(LogoIcon2, {}),
3125
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink truncate", children: brandName })
3126
+ ] }),
3127
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3128
+ Button,
3129
+ {
3130
+ variant: "ghost",
3131
+ size: "sm",
3132
+ "aria-label": "Close navigation",
3133
+ onClick: () => setOpen(false),
3134
+ className: "!p-xs !rounded-md",
3135
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CloseIcon, {})
3136
+ }
3137
+ )
3138
+ ]
3139
+ }
3140
+ ),
3141
+ workspaceName && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3142
+ "div",
3143
+ {
3144
+ className: "px-sm pb-sm",
3145
+ style: { backgroundColor: "var(--color-canvas)" },
3146
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3147
+ WorkspaceMenu,
3148
+ {
3149
+ workspaceName,
3150
+ initials: workspaceName.charAt(0).toUpperCase()
3151
+ }
3152
+ )
3153
+ }
3154
+ ),
3155
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3156
+ "div",
3157
+ {
3158
+ className: "flex-1 overflow-y-auto px-sm pb-sm",
3159
+ style: { backgroundColor: "var(--color-canvas)" },
3160
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("ul", { className: "space-y-xxs", role: "list", children: entries.map((entry) => {
3161
+ const isActive = activeId === entry.id;
3162
+ const hasSubItems = !!entry.subItems?.length;
3163
+ const isExpanded = expandedIds.has(entry.id);
3164
+ const mappedSubItems = hasSubItems ? entry.subItems.map((sub) => ({
3165
+ id: sub.id,
3166
+ label: sub.label,
3167
+ onDelete: sub.onDelete,
3168
+ onClick: onSubSelect ? (_id) => {
3169
+ onSubSelect(_id);
3170
+ setOpen(false);
3171
+ } : void 0
3172
+ })) : void 0;
3173
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3174
+ NavItem,
3175
+ {
3176
+ icon: entry.icon,
3177
+ label: entry.label,
3178
+ active: isActive,
3179
+ subItems: mappedSubItems,
3180
+ expanded: hasSubItems ? isExpanded : void 0,
3181
+ onExpandToggle: hasSubItems ? () => toggleExpanded(entry.id) : void 0,
3182
+ onClick: (e) => {
3183
+ onSelect?.(entry.id);
3184
+ if (!hasSubItems) setOpen(false);
3185
+ else e.preventDefault();
3186
+ }
3187
+ },
3188
+ entry.id
3189
+ );
3190
+ }) })
3191
+ }
3192
+ ),
3193
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3194
+ "div",
3195
+ {
3196
+ className: "flex-shrink-0 px-sm pb-lg space-y-sm",
3197
+ style: { backgroundColor: "var(--color-canvas)" },
3198
+ children: [
3199
+ showShareCard && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "rounded-xl border border-hairline bg-surface px-md py-sm flex items-center justify-between gap-md", children: [
3200
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex flex-col gap-xxs min-w-0", children: [
3201
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink", children: "Share & earn" }),
3202
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-caption text-muted", children: "100 credits per paid referral" })
3203
+ ] }),
3204
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3205
+ "span",
3206
+ {
3207
+ className: "flex-shrink-0 flex items-center justify-center rounded-full bg-surface-strong",
3208
+ style: { width: "36px", height: "36px" },
3209
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GiftIcon2, {})
3210
+ }
3211
+ )
3212
+ ] }),
3213
+ showUpgradeCard && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(UpgradeCard, { eyebrow: "", title: "Upgrade to Pro", subtitle: "Unlock more features" }),
3214
+ showFooterRow && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center justify-between pt-xs", children: [
3215
+ userInitials && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3216
+ "span",
3217
+ {
3218
+ className: "flex items-center justify-center rounded-full bg-primary text-on-primary text-body-sm font-weight-heading-sm cursor-pointer hover:bg-primary-hover transition-colors duration-150",
3219
+ style: { width: "36px", height: "36px" },
3220
+ "aria-label": "User profile",
3221
+ children: userInitials
3222
+ }
3223
+ ),
3224
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center gap-xs ml-auto", children: [
3225
+ onDarkModeToggle && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3226
+ Button,
3227
+ {
3228
+ variant: "ghost",
3229
+ size: "sm",
3230
+ "aria-label": darkMode ? "Switch to light mode" : "Switch to dark mode",
3231
+ onClick: onDarkModeToggle,
3232
+ className: "!p-xs !rounded-sm",
3233
+ children: darkMode ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SunIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(MoonIcon2, {})
3234
+ }
3235
+ ),
3236
+ onInboxClick && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3237
+ Button,
3238
+ {
3239
+ variant: "ghost",
3240
+ size: "sm",
3241
+ "aria-label": "Inbox",
3242
+ onClick: onInboxClick,
3243
+ className: "!p-xs !rounded-sm relative",
3244
+ children: [
3245
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(InboxIcon2, {}),
3246
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3247
+ "span",
3248
+ {
3249
+ className: "absolute rounded-full bg-semantic-error",
3250
+ "aria-label": "New notifications",
3251
+ style: { width: "8px", height: "8px", top: "4px", right: "4px" }
3252
+ }
3253
+ )
3254
+ ]
3255
+ }
3256
+ )
3257
+ ] })
3258
+ ] })
3259
+ ]
3260
+ }
3261
+ )
3262
+ ]
3263
+ }
3264
+ )
3265
+ ]
3266
+ }
3267
+ )
3268
+ ] });
3269
+ }
3270
+ );
3271
+ AppSidebarMobile.displayName = "AppSidebarMobile";
3272
+
3273
+ // virtual-pkg:src/atoms/AuthScreen/AuthScreen.tsx
3274
+ var import_react12 = __toESM(require("react"));
3275
+ var import_jsx_runtime12 = require("react/jsx-runtime");
3276
+ var AuthScreen = import_react12.default.forwardRef(
2965
3277
  ({ defaultTab = "login", onLogin, onSignup, loading = false }, ref) => {
2966
- const [tab, setTab] = (0, import_react11.useState)(defaultTab);
2967
- const [name, setName] = (0, import_react11.useState)("");
2968
- const [email, setEmail] = (0, import_react11.useState)("");
2969
- const [password, setPassword] = (0, import_react11.useState)("");
2970
- const [confirm, setConfirm] = (0, import_react11.useState)("");
2971
- const [error, setError] = (0, import_react11.useState)(null);
2972
- const nameId = (0, import_react11.useId)();
2973
- const emailId = (0, import_react11.useId)();
2974
- const passwordId = (0, import_react11.useId)();
2975
- const confirmId = (0, import_react11.useId)();
3278
+ const [tab, setTab] = (0, import_react12.useState)(defaultTab);
3279
+ const [name, setName] = (0, import_react12.useState)("");
3280
+ const [email, setEmail] = (0, import_react12.useState)("");
3281
+ const [password, setPassword] = (0, import_react12.useState)("");
3282
+ const [confirm, setConfirm] = (0, import_react12.useState)("");
3283
+ const [error, setError] = (0, import_react12.useState)(null);
3284
+ const nameId = (0, import_react12.useId)();
3285
+ const emailId = (0, import_react12.useId)();
3286
+ const passwordId = (0, import_react12.useId)();
3287
+ const confirmId = (0, import_react12.useId)();
2976
3288
  const switchTab = (t) => {
2977
3289
  setTab(t);
2978
3290
  setError(null);
@@ -2993,13 +3305,13 @@ var AuthScreen = import_react11.default.forwardRef(
2993
3305
  const labelCls = "block text-body-sm text-body mb-xs font-weight-heading-sm";
2994
3306
  return (
2995
3307
  /* Full-width page background — no height constraint */
2996
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { ref, className: "w-full bg-surface p-xl", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "w-full max-w-3xl mx-auto flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3308
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { ref, className: "w-full bg-surface p-xl", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "w-full max-w-3xl mx-auto flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
2997
3309
  "div",
2998
3310
  {
2999
3311
  style: { width: "min(100%, 22rem)" },
3000
3312
  className: "rounded-xl border border-hairline-soft bg-canvas px-xl py-xxl shadow-card",
3001
3313
  children: [
3002
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mb-lg flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex h-14 w-10 items-center justify-center rounded-full bg-primary", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3314
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "mb-lg flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "flex h-14 w-10 items-center justify-center rounded-full bg-primary", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3003
3315
  "path",
3004
3316
  {
3005
3317
  d: "M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5",
@@ -3009,15 +3321,15 @@ var AuthScreen = import_react11.default.forwardRef(
3009
3321
  strokeLinejoin: "round"
3010
3322
  }
3011
3323
  ) }) }) }),
3012
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { className: "mb-xs text-heading-sm text-ink", children: tab === "login" ? "Welcome back" : "Create an account" }),
3013
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "mb-xl text-body-sm text-muted", children: tab === "login" ? "Sign in to continue to your workspace." : "Start your journey \u2014 it only takes a minute." }),
3014
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3324
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h1", { className: "mb-xs text-heading-sm text-ink", children: tab === "login" ? "Welcome back" : "Create an account" }),
3325
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: "mb-xl text-body-sm text-muted", children: tab === "login" ? "Sign in to continue to your workspace." : "Start your journey \u2014 it only takes a minute." }),
3326
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3015
3327
  "div",
3016
3328
  {
3017
3329
  role: "tablist",
3018
3330
  "aria-label": "Auth mode",
3019
3331
  className: "mb-xl flex rounded-lg bg-surface-soft p-xs gap-xs",
3020
- children: ["login", "signup"].map((t) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3332
+ children: ["login", "signup"].map((t) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3021
3333
  Button,
3022
3334
  {
3023
3335
  role: "tab",
@@ -3037,10 +3349,10 @@ var AuthScreen = import_react11.default.forwardRef(
3037
3349
  ))
3038
3350
  }
3039
3351
  ),
3040
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("form", { onSubmit: handleSubmit, noValidate: true, className: "space-y-base", children: [
3041
- tab === "signup" && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
3042
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("label", { htmlFor: nameId, className: labelCls, children: "Full name" }),
3043
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3352
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("form", { onSubmit: handleSubmit, noValidate: true, className: "space-y-base", children: [
3353
+ tab === "signup" && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
3354
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { htmlFor: nameId, className: labelCls, children: "Full name" }),
3355
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3044
3356
  Input,
3045
3357
  {
3046
3358
  id: nameId,
@@ -3054,9 +3366,9 @@ var AuthScreen = import_react11.default.forwardRef(
3054
3366
  }
3055
3367
  )
3056
3368
  ] }),
3057
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
3058
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("label", { htmlFor: emailId, className: labelCls, children: "Email address" }),
3059
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3369
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
3370
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { htmlFor: emailId, className: labelCls, children: "Email address" }),
3371
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3060
3372
  Input,
3061
3373
  {
3062
3374
  id: emailId,
@@ -3070,12 +3382,12 @@ var AuthScreen = import_react11.default.forwardRef(
3070
3382
  }
3071
3383
  )
3072
3384
  ] }),
3073
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
3074
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "mb-xs flex items-center justify-between", children: [
3075
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("label", { htmlFor: passwordId, className: labelCls + " mb-0", children: "Password" }),
3076
- tab === "login" && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("a", { href: "#", className: "text-body-sm text-primary hover:underline", children: "Forgot password?" })
3385
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
3386
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "mb-xs flex items-center justify-between", children: [
3387
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { htmlFor: passwordId, className: labelCls + " mb-0", children: "Password" }),
3388
+ tab === "login" && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "text-body-sm text-primary hover:underline", children: "Forgot password?" })
3077
3389
  ] }),
3078
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3390
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3079
3391
  Input,
3080
3392
  {
3081
3393
  id: passwordId,
@@ -3089,9 +3401,9 @@ var AuthScreen = import_react11.default.forwardRef(
3089
3401
  }
3090
3402
  )
3091
3403
  ] }),
3092
- tab === "signup" && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
3093
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("label", { htmlFor: confirmId, className: labelCls, children: "Confirm password" }),
3094
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3404
+ tab === "signup" && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
3405
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { htmlFor: confirmId, className: labelCls, children: "Confirm password" }),
3406
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3095
3407
  Input,
3096
3408
  {
3097
3409
  id: confirmId,
@@ -3105,7 +3417,7 @@ var AuthScreen = import_react11.default.forwardRef(
3105
3417
  }
3106
3418
  )
3107
3419
  ] }),
3108
- error && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3420
+ error && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3109
3421
  "p",
3110
3422
  {
3111
3423
  role: "alert",
@@ -3113,26 +3425,26 @@ var AuthScreen = import_react11.default.forwardRef(
3113
3425
  children: error
3114
3426
  }
3115
3427
  ),
3116
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { type: "submit", variant: "primary", size: "lg", disabled: loading, className: "w-full", children: loading ? "Please wait\u2026" : tab === "login" ? "Sign in" : "Create account" })
3428
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Button, { type: "submit", variant: "primary", size: "lg", disabled: loading, className: "w-full", children: loading ? "Please wait\u2026" : tab === "login" ? "Sign in" : "Create account" })
3117
3429
  ] }),
3118
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "my-xl flex items-center gap-base", children: [
3119
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "h-px flex-1 bg-hairline" }),
3120
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-caption text-muted-soft", children: "OR" }),
3121
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "h-px flex-1 bg-hairline" })
3430
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "my-xl flex items-center gap-base", children: [
3431
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "h-px flex-1 bg-hairline" }),
3432
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-caption text-muted-soft", children: "OR" }),
3433
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "h-px flex-1 bg-hairline" })
3122
3434
  ] }),
3123
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Button, { type: "button", variant: "secondary", size: "md", className: "w-full", children: [
3124
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { "aria-hidden": "true", width: "18", height: "18", viewBox: "0 0 24 24", className: "shrink-0", children: [
3125
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z", fill: "var(--color-google-blue)" }),
3126
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z", fill: "var(--color-google-green)" }),
3127
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z", fill: "var(--color-google-yellow)" }),
3128
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z", fill: "var(--color-google-red)" })
3435
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(Button, { type: "button", variant: "secondary", size: "md", className: "w-full", children: [
3436
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("svg", { "aria-hidden": "true", width: "18", height: "18", viewBox: "0 0 24 24", className: "shrink-0", children: [
3437
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z", fill: "var(--color-google-blue)" }),
3438
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z", fill: "var(--color-google-green)" }),
3439
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z", fill: "var(--color-google-yellow)" }),
3440
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z", fill: "var(--color-google-red)" })
3129
3441
  ] }),
3130
3442
  "Continue with Google"
3131
3443
  ] }),
3132
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "mt-xl text-center text-body-sm text-muted", children: tab === "login" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
3444
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: "mt-xl text-center text-body-sm text-muted", children: tab === "login" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
3133
3445
  "Don\u2019t have an account?",
3134
3446
  " ",
3135
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3447
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3136
3448
  Button,
3137
3449
  {
3138
3450
  type: "button",
@@ -3144,10 +3456,10 @@ var AuthScreen = import_react11.default.forwardRef(
3144
3456
  children: "Sign up"
3145
3457
  }
3146
3458
  )
3147
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
3459
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
3148
3460
  "Already have an account?",
3149
3461
  " ",
3150
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3462
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3151
3463
  Button,
3152
3464
  {
3153
3465
  type: "button",
@@ -3169,8 +3481,8 @@ var AuthScreen = import_react11.default.forwardRef(
3169
3481
  AuthScreen.displayName = "AuthScreen";
3170
3482
 
3171
3483
  // virtual-pkg:src/atoms/Chip/Chip.tsx
3172
- var import_react12 = __toESM(require("react"));
3173
- var import_jsx_runtime12 = require("react/jsx-runtime");
3484
+ var import_react13 = __toESM(require("react"));
3485
+ var import_jsx_runtime13 = require("react/jsx-runtime");
3174
3486
  var variantClasses2 = {
3175
3487
  default: "bg-surface-strong text-body border border-hairline",
3176
3488
  primary: "bg-primary text-on-primary border border-primary",
@@ -3183,7 +3495,7 @@ var sizeClasses3 = {
3183
3495
  md: { chip: "h-8 px-sm gap-xs rounded-sm", text: "text-body-sm", icon: "w-4 h-4", dismissSize: "sm" },
3184
3496
  lg: { chip: "h-10 px-md gap-sm rounded-md", text: "text-body-md", icon: "w-5 h-5", dismissSize: "sm" }
3185
3497
  };
3186
- var CloseIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
3498
+ var CloseIcon2 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
3187
3499
  "svg",
3188
3500
  {
3189
3501
  viewBox: "0 0 16 16",
@@ -3194,12 +3506,12 @@ var CloseIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs
3194
3506
  className,
3195
3507
  "aria-hidden": "true",
3196
3508
  children: [
3197
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("line", { x1: "4", y1: "4", x2: "12", y2: "12" }),
3198
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("line", { x1: "12", y1: "4", x2: "4", y2: "12" })
3509
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("line", { x1: "4", y1: "4", x2: "12", y2: "12" }),
3510
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("line", { x1: "12", y1: "4", x2: "4", y2: "12" })
3199
3511
  ]
3200
3512
  }
3201
3513
  );
3202
- var Chip = import_react12.default.forwardRef(
3514
+ var Chip = import_react13.default.forwardRef(
3203
3515
  ({
3204
3516
  label,
3205
3517
  variant = "default",
@@ -3213,7 +3525,7 @@ var Chip = import_react12.default.forwardRef(
3213
3525
  const sz = sizeClasses3[size];
3214
3526
  const vr = variantClasses2[variant];
3215
3527
  const disabledStyles = disabled ? "opacity-50 pointer-events-none select-none" : "";
3216
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
3528
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
3217
3529
  "span",
3218
3530
  {
3219
3531
  ref,
@@ -3228,7 +3540,7 @@ var Chip = import_react12.default.forwardRef(
3228
3540
  ].filter(Boolean).join(" "),
3229
3541
  ...props,
3230
3542
  children: [
3231
- icon && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3543
+ icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3232
3544
  "span",
3233
3545
  {
3234
3546
  className: `${sz.icon} flex-shrink-0 flex items-center justify-center`,
@@ -3236,8 +3548,8 @@ var Chip = import_react12.default.forwardRef(
3236
3548
  children: icon
3237
3549
  }
3238
3550
  ),
3239
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: sz.text, children: label }),
3240
- onDismiss && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3551
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: sz.text, children: label }),
3552
+ onDismiss && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3241
3553
  Button,
3242
3554
  {
3243
3555
  variant: "ghost",
@@ -3246,7 +3558,7 @@ var Chip = import_react12.default.forwardRef(
3246
3558
  disabled,
3247
3559
  "aria-label": `Remove ${label}`,
3248
3560
  className: "!p-0 !h-4 !w-4 !min-w-0 opacity-60 hover:opacity-100 rounded-full flex-shrink-0",
3249
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CloseIcon, { className: "w-3 h-3" })
3561
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CloseIcon2, { className: "w-3 h-3" })
3250
3562
  }
3251
3563
  )
3252
3564
  ]
@@ -3257,8 +3569,8 @@ var Chip = import_react12.default.forwardRef(
3257
3569
  Chip.displayName = "Chip";
3258
3570
 
3259
3571
  // virtual-pkg:src/atoms/ComponentCard/ComponentCard.tsx
3260
- var import_react13 = __toESM(require("react"));
3261
- var import_jsx_runtime13 = require("react/jsx-runtime");
3572
+ var import_react14 = __toESM(require("react"));
3573
+ var import_jsx_runtime14 = require("react/jsx-runtime");
3262
3574
  var kindColors = {
3263
3575
  Atom: "bg-[var(--color-kind-atom-bg)] text-[var(--color-kind-atom-text)] border-[var(--color-kind-atom-border)]",
3264
3576
  Molecule: "bg-[var(--color-kind-molecule-bg)] text-[var(--color-kind-molecule-text)] border-[var(--color-kind-molecule-border)]",
@@ -3271,7 +3583,7 @@ var iconBg = {
3271
3583
  Organism: "bg-primary text-on-primary",
3272
3584
  Template: "bg-[var(--color-kind-template-bg)] text-[var(--color-kind-template-text)]"
3273
3585
  };
3274
- var ComponentCard = import_react13.default.forwardRef(
3586
+ var ComponentCard = import_react14.default.forwardRef(
3275
3587
  ({
3276
3588
  name,
3277
3589
  kind = "Organism",
@@ -3282,7 +3594,7 @@ var ComponentCard = import_react13.default.forwardRef(
3282
3594
  className,
3283
3595
  ...rest
3284
3596
  }, ref) => {
3285
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
3597
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
3286
3598
  "div",
3287
3599
  {
3288
3600
  ref,
@@ -3297,7 +3609,7 @@ var ComponentCard = import_react13.default.forwardRef(
3297
3609
  ].filter(Boolean).join(" "),
3298
3610
  ...rest,
3299
3611
  children: [
3300
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3612
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3301
3613
  "div",
3302
3614
  {
3303
3615
  className: [
@@ -3305,15 +3617,15 @@ var ComponentCard = import_react13.default.forwardRef(
3305
3617
  "w-full aspect-[4/3] overflow-hidden",
3306
3618
  thumbnailBg ?? "bg-surface-soft"
3307
3619
  ].join(" "),
3308
- children: thumbnailContent ?? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DefaultThumbnail, { kind })
3620
+ children: thumbnailContent ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DefaultThumbnail, { kind })
3309
3621
  }
3310
3622
  ),
3311
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-center justify-between px-md py-sm border-t border-hairline-soft bg-canvas", children: [
3312
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex flex-col gap-xxs min-w-0", children: [
3313
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink truncate", children: name }),
3314
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "text-caption text-muted truncate", children: description ?? `${kind} \u2022 Generated` })
3623
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center justify-between px-md py-sm border-t border-hairline-soft bg-canvas", children: [
3624
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex flex-col gap-xxs min-w-0", children: [
3625
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink truncate", children: name }),
3626
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "text-caption text-muted truncate", children: description ?? `${kind} \u2022 Generated` })
3315
3627
  ] }),
3316
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3628
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3317
3629
  "span",
3318
3630
  {
3319
3631
  className: [
@@ -3334,27 +3646,27 @@ var ComponentCard = import_react13.default.forwardRef(
3334
3646
  ComponentCard.displayName = "ComponentCard";
3335
3647
  function DefaultThumbnail({ kind }) {
3336
3648
  const icons = {
3337
- Atom: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3338
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
3339
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z" }),
3340
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z" })
3649
+ Atom: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3650
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
3651
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z" }),
3652
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z" })
3341
3653
  ] }),
3342
- Molecule: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3343
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { x: "2", y: "2", width: "8", height: "8", rx: "2" }),
3344
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { x: "14", y: "2", width: "8", height: "8", rx: "2" }),
3345
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { x: "2", y: "14", width: "8", height: "8", rx: "2" })
3654
+ Molecule: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3655
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { x: "2", y: "2", width: "8", height: "8", rx: "2" }),
3656
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { x: "14", y: "2", width: "8", height: "8", rx: "2" }),
3657
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { x: "2", y: "14", width: "8", height: "8", rx: "2" })
3346
3658
  ] }),
3347
- Organism: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3348
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M12 2L2 7l10 5 10-5-10-5z" }),
3349
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M2 17l10 5 10-5" }),
3350
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M2 12l10 5 10-5" })
3659
+ Organism: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3660
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M12 2L2 7l10 5 10-5-10-5z" }),
3661
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M2 17l10 5 10-5" }),
3662
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M2 12l10 5 10-5" })
3351
3663
  ] }),
3352
- Template: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3353
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
3354
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M3 9h18M9 21V9" })
3664
+ Template: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
3665
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
3666
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M3 9h18M9 21V9" })
3355
3667
  ] })
3356
3668
  };
3357
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3669
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3358
3670
  "div",
3359
3671
  {
3360
3672
  className: [
@@ -3367,11 +3679,11 @@ function DefaultThumbnail({ kind }) {
3367
3679
  }
3368
3680
 
3369
3681
  // virtual-pkg:src/atoms/FilterTabBar/FilterTabBar.tsx
3370
- var import_react14 = __toESM(require("react"));
3371
- var import_jsx_runtime14 = require("react/jsx-runtime");
3372
- var FilterTabBar = import_react14.default.forwardRef(
3682
+ var import_react15 = __toESM(require("react"));
3683
+ var import_jsx_runtime15 = require("react/jsx-runtime");
3684
+ var FilterTabBar = import_react15.default.forwardRef(
3373
3685
  ({ tabs, value, onChange, className = "", ...rest }, ref) => {
3374
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3686
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3375
3687
  "div",
3376
3688
  {
3377
3689
  ref,
@@ -3385,7 +3697,7 @@ var FilterTabBar = import_react14.default.forwardRef(
3385
3697
  ...rest,
3386
3698
  children: tabs.map((tab) => {
3387
3699
  const isActive = tab.value === value;
3388
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
3700
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
3389
3701
  Button,
3390
3702
  {
3391
3703
  role: "tab",
@@ -3396,9 +3708,9 @@ var FilterTabBar = import_react14.default.forwardRef(
3396
3708
  onClick: () => onChange(tab.value),
3397
3709
  className: "gap-xs",
3398
3710
  children: [
3399
- tab.icon && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "inline-flex items-center justify-center shrink-0", "aria-hidden": "true", children: tab.icon }),
3400
- tab.label && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { children: tab.label }),
3401
- tab.count !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3711
+ tab.icon && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "inline-flex items-center justify-center shrink-0", "aria-hidden": "true", children: tab.icon }),
3712
+ tab.label && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children: tab.label }),
3713
+ tab.count !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3402
3714
  "span",
3403
3715
  {
3404
3716
  className: [
@@ -3423,20 +3735,263 @@ var FilterTabBar = import_react14.default.forwardRef(
3423
3735
  );
3424
3736
  FilterTabBar.displayName = "FilterTabBar";
3425
3737
 
3738
+ // virtual-pkg:src/atoms/HomePageTemplate/HomePageTemplate.tsx
3739
+ var import_react16 = __toESM(require("react"));
3740
+ var import_jsx_runtime16 = require("react/jsx-runtime");
3741
+ var HomeIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", style: { width: "18px", height: "18px" }, "aria-hidden": "true", children: [
3742
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }),
3743
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("polyline", { points: "9 22 9 12 15 12 15 22" })
3744
+ ] });
3745
+ var FolderIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", style: { width: "18px", height: "18px" }, "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" }) });
3746
+ var LogoIcon3 = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "26", height: "26", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
3747
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M12 36C12 36 8 28 16 22C20 19 26 20 26 20C26 20 22 26 18 30C16 32 12 36 12 36Z", style: { fill: "var(--color-logo-orange)" } }),
3748
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M24 8C24 8 36 12 36 24C36 30 32 36 26 38C26 38 28 30 26 24C25 20 24 8 24 8Z", style: { fill: "var(--color-logo-violet)" } }),
3749
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M12 36C12 36 16 24 24 20C28 18 36 20 36 20C36 20 30 28 26 32C22 36 12 36 12 36Z", style: { fill: "var(--color-logo-pink)", opacity: 0.7 } })
3750
+ ] });
3751
+ var SparkleIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", style: { width: "14px", height: "14px" }, "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M12 2l2.4 7.4H22l-6.2 4.5 2.4 7.4L12 17 5.8 21.3l2.4-7.4L2 9.4h7.6z" }) });
3752
+ var SuggestionChip = ({ label, onClick }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3753
+ Button,
3754
+ {
3755
+ type: "button",
3756
+ variant: "secondary",
3757
+ size: "sm",
3758
+ onClick,
3759
+ className: "!rounded-xl whitespace-nowrap",
3760
+ children: label
3761
+ }
3762
+ );
3763
+ var NAV_ENTRIES = [
3764
+ { id: "home", label: "Home", icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(HomeIcon2, {}) },
3765
+ {
3766
+ id: "projects",
3767
+ label: "All projects",
3768
+ icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(FolderIcon, {}),
3769
+ subItems: [
3770
+ { id: "proj-1", label: "Design system" },
3771
+ { id: "proj-2", label: "Landing page" },
3772
+ { id: "proj-3", label: "Dashboard" }
3773
+ ]
3774
+ }
3775
+ ];
3776
+ var DEFAULT_SUGGESTIONS = [
3777
+ "Primary button atom",
3778
+ "Brand color palette",
3779
+ "Type scale",
3780
+ "Card molecule"
3781
+ ];
3782
+ var GRADIENT_BG = `
3783
+ radial-gradient(ellipse 80% 60% at 30% 20%, var(--color-primary-disabled) 0%, transparent 55%),
3784
+ radial-gradient(ellipse 60% 50% at 75% 80%, color-mix(in srgb, var(--color-logo-orange) 20%, transparent) 0%, transparent 55%),
3785
+ radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-surface-soft) 0%, transparent 70%),
3786
+ var(--color-canvas)
3787
+ `;
3788
+ var HomePageTemplate = import_react16.default.forwardRef(
3789
+ ({
3790
+ userName = "Hello Designer",
3791
+ userInitials = "N",
3792
+ promptValue,
3793
+ onPromptChange,
3794
+ mode = "Build",
3795
+ onModeChange,
3796
+ onSend,
3797
+ suggestions = DEFAULT_SUGGESTIONS,
3798
+ onSuggestionClick,
3799
+ navEntries,
3800
+ activeId: activeIdProp,
3801
+ onSelect,
3802
+ activeSubId,
3803
+ onSubSelect,
3804
+ className,
3805
+ style
3806
+ }, ref) => {
3807
+ const [internalPrompt, setInternalPrompt] = import_react16.default.useState("");
3808
+ const [internalActiveId, setInternalActiveId] = import_react16.default.useState("home");
3809
+ const resolvedActiveId = activeIdProp !== void 0 ? activeIdProp : internalActiveId;
3810
+ const resolvedEntries = navEntries !== void 0 ? navEntries : NAV_ENTRIES;
3811
+ const textValue = promptValue !== void 0 ? promptValue : internalPrompt;
3812
+ const handleChange = (val) => {
3813
+ if (promptValue === void 0) setInternalPrompt(val);
3814
+ onPromptChange?.(val);
3815
+ };
3816
+ const handleSend = (val) => {
3817
+ onSend?.(val);
3818
+ if (promptValue === void 0) setInternalPrompt("");
3819
+ };
3820
+ const handleSuggestion = (label) => {
3821
+ if (promptValue === void 0) setInternalPrompt(label);
3822
+ onPromptChange?.(label);
3823
+ onSuggestionClick?.(label);
3824
+ };
3825
+ const handleSelect = (id) => {
3826
+ if (activeIdProp === void 0) setInternalActiveId(id);
3827
+ onSelect?.(id);
3828
+ };
3829
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3830
+ "div",
3831
+ {
3832
+ ref,
3833
+ className: ["flex w-full", className].filter(Boolean).join(" "),
3834
+ style: { width: "100%", height: "100%", background: "var(--color-canvas)", ...style },
3835
+ children: [
3836
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "hidden md:flex flex-shrink-0", style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3837
+ AppSidebar,
3838
+ {
3839
+ workspaceName: userName,
3840
+ entries: resolvedEntries,
3841
+ activeId: resolvedActiveId,
3842
+ onSelect: handleSelect,
3843
+ activeSubId,
3844
+ onSubSelect,
3845
+ showShareCard: true,
3846
+ showUpgradeCard: true,
3847
+ userInitials,
3848
+ onInboxClick: () => {
3849
+ },
3850
+ style: { height: "100%" }
3851
+ }
3852
+ ) }),
3853
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3854
+ "main",
3855
+ {
3856
+ className: "flex-1 relative flex flex-col overflow-hidden",
3857
+ style: { height: "100%" },
3858
+ "aria-label": "Home canvas",
3859
+ children: [
3860
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3861
+ "div",
3862
+ {
3863
+ "aria-hidden": "true",
3864
+ className: "absolute inset-0 pointer-events-none",
3865
+ style: { background: GRADIENT_BG }
3866
+ }
3867
+ ),
3868
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "md:hidden relative z-10 flex items-center justify-between px-md py-sm border-b border-hairline bg-canvas", children: [
3869
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-sm", children: [
3870
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3871
+ AppSidebarMobile,
3872
+ {
3873
+ brandName: "Atoms",
3874
+ entries: resolvedEntries,
3875
+ activeId: resolvedActiveId,
3876
+ onSelect: handleSelect,
3877
+ workspaceName: userName,
3878
+ showShareCard: true,
3879
+ showUpgradeCard: true,
3880
+ userInitials,
3881
+ onInboxClick: () => {
3882
+ }
3883
+ }
3884
+ ),
3885
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-xs", children: [
3886
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(LogoIcon3, {}),
3887
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink", children: "Atoms" })
3888
+ ] })
3889
+ ] }),
3890
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3891
+ "span",
3892
+ {
3893
+ className: "flex items-center justify-center rounded-full bg-primary text-on-primary text-caption font-weight-heading-sm",
3894
+ style: { width: "32px", height: "32px" },
3895
+ "aria-label": "User profile",
3896
+ children: userInitials
3897
+ }
3898
+ )
3899
+ ] }),
3900
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "relative z-10 flex-1 flex flex-col items-center justify-center overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "w-full max-w-2xl mx-auto flex flex-col items-center gap-lg px-md py-xl md:gap-xl md:px-lg md:py-xxl", children: [
3901
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3902
+ Button,
3903
+ {
3904
+ variant: "secondary",
3905
+ size: "sm",
3906
+ "aria-label": "New design system",
3907
+ className: "!rounded-full flex items-center gap-xs",
3908
+ children: [
3909
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SparkleIcon, {}),
3910
+ "New design system"
3911
+ ]
3912
+ }
3913
+ ),
3914
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "text-center flex flex-col gap-sm", children: [
3915
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3916
+ "h1",
3917
+ {
3918
+ className: "text-ink",
3919
+ style: {
3920
+ fontFamily: "var(--font-body)",
3921
+ fontSize: "clamp(26px, 5vw, 52px)",
3922
+ fontWeight: 700,
3923
+ lineHeight: 1.1,
3924
+ letterSpacing: "-0.03em"
3925
+ },
3926
+ children: [
3927
+ "What atom should we",
3928
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("br", {}),
3929
+ "build?"
3930
+ ]
3931
+ }
3932
+ ),
3933
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3934
+ "p",
3935
+ {
3936
+ className: "text-muted text-body-sm md:text-body-md",
3937
+ style: { maxWidth: "440px", marginInline: "auto" },
3938
+ children: "Start by describing an atom or design token \u2014 we'll scaffold a fresh project and the agent will build the first piece of your system."
3939
+ }
3940
+ )
3941
+ ] }),
3942
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3943
+ PromptInputBar,
3944
+ {
3945
+ placeholder: "Describe an atom or design token to create...",
3946
+ value: textValue,
3947
+ onChange: handleChange,
3948
+ mode,
3949
+ onModeChange,
3950
+ onSend: handleSend,
3951
+ onMic: () => {
3952
+ },
3953
+ models: [
3954
+ { id: "claude-sonnet", name: "Claude Sonnet 4.6" },
3955
+ { id: "claude-haiku", name: "Claude Haiku 3.5", tier: "Fast" },
3956
+ { id: "claude-opus", name: "Claude Opus 4", tier: "Pro" }
3957
+ ],
3958
+ selectedModelId: "claude-sonnet"
3959
+ }
3960
+ ) }),
3961
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3962
+ "div",
3963
+ {
3964
+ className: "flex flex-wrap justify-center gap-sm",
3965
+ role: "list",
3966
+ "aria-label": "Suggested prompts",
3967
+ children: suggestions.map((s) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { role: "listitem", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SuggestionChip, { label: s, onClick: () => handleSuggestion(s) }) }, s))
3968
+ }
3969
+ )
3970
+ ] }) })
3971
+ ]
3972
+ }
3973
+ )
3974
+ ]
3975
+ }
3976
+ );
3977
+ }
3978
+ );
3979
+ HomePageTemplate.displayName = "HomePageTemplate";
3980
+
3426
3981
  // virtual-pkg:src/atoms/Modal/Modal.tsx
3427
- var import_react15 = __toESM(require("react"));
3428
- var import_jsx_runtime15 = require("react/jsx-runtime");
3982
+ var import_react17 = __toESM(require("react"));
3983
+ var import_jsx_runtime17 = require("react/jsx-runtime");
3429
3984
  var sizeMap = {
3430
3985
  sm: "max-w-sm",
3431
3986
  md: "max-w-lg",
3432
3987
  lg: "max-w-2xl"
3433
3988
  };
3434
- var Modal = import_react15.default.forwardRef(
3989
+ var Modal = import_react17.default.forwardRef(
3435
3990
  ({ isOpen, onClose, title, children, footer, size = "md" }, ref) => {
3436
- const [mounted, setMounted] = (0, import_react15.useState)(false);
3437
- const [visible, setVisible] = (0, import_react15.useState)(false);
3438
- const overlayRef = (0, import_react15.useRef)(null);
3439
- (0, import_react15.useEffect)(() => {
3991
+ const [mounted, setMounted] = (0, import_react17.useState)(false);
3992
+ const [visible, setVisible] = (0, import_react17.useState)(false);
3993
+ const overlayRef = (0, import_react17.useRef)(null);
3994
+ (0, import_react17.useEffect)(() => {
3440
3995
  if (isOpen) {
3441
3996
  setMounted(true);
3442
3997
  const raf = requestAnimationFrame(() => {
@@ -3449,7 +4004,7 @@ var Modal = import_react15.default.forwardRef(
3449
4004
  return () => clearTimeout(timer);
3450
4005
  }
3451
4006
  }, [isOpen]);
3452
- (0, import_react15.useEffect)(() => {
4007
+ (0, import_react17.useEffect)(() => {
3453
4008
  if (!mounted) return;
3454
4009
  const handleKey = (e) => {
3455
4010
  if (e.key === "Escape") onClose();
@@ -3461,7 +4016,7 @@ var Modal = import_react15.default.forwardRef(
3461
4016
  const handleBackdropClick = (e) => {
3462
4017
  if (e.target === overlayRef.current) onClose();
3463
4018
  };
3464
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4019
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3465
4020
  "div",
3466
4021
  {
3467
4022
  ref: overlayRef,
@@ -3476,7 +4031,7 @@ var Modal = import_react15.default.forwardRef(
3476
4031
  visible ? "opacity-100" : "opacity-0"
3477
4032
  ].join(" "),
3478
4033
  style: { zIndex: "var(--z-modal, 1000)" },
3479
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4034
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3480
4035
  "div",
3481
4036
  {
3482
4037
  ref,
@@ -3489,9 +4044,9 @@ var Modal = import_react15.default.forwardRef(
3489
4044
  visible ? "opacity-100 translate-y-0 scale-100" : "opacity-0 translate-y-2 scale-95"
3490
4045
  ].join(" "),
3491
4046
  children: [
3492
- title && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex items-center justify-between px-lg py-base border-b border-hairline", children: [
3493
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h2", { id: "modal-title", className: "text-heading-sm text-ink", children: title }),
3494
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4047
+ title && /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex items-center justify-between px-lg py-base border-b border-hairline", children: [
4048
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h2", { id: "modal-title", className: "text-heading-sm text-ink", children: title }),
4049
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3495
4050
  Button,
3496
4051
  {
3497
4052
  variant: "ghost",
@@ -3499,7 +4054,7 @@ var Modal = import_react15.default.forwardRef(
3499
4054
  "aria-label": "Close modal",
3500
4055
  onClick: onClose,
3501
4056
  className: "!px-xs !py-xs",
3502
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4057
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3503
4058
  "svg",
3504
4059
  {
3505
4060
  xmlns: "http://www.w3.org/2000/svg",
@@ -3513,16 +4068,16 @@ var Modal = import_react15.default.forwardRef(
3513
4068
  strokeLinejoin: "round",
3514
4069
  "aria-hidden": "true",
3515
4070
  children: [
3516
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
3517
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
4071
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
4072
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
3518
4073
  ]
3519
4074
  }
3520
4075
  )
3521
4076
  }
3522
4077
  )
3523
4078
  ] }),
3524
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "flex-1 px-lg py-base text-body-md text-body overflow-y-auto", children }),
3525
- footer && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "flex items-center justify-end gap-sm px-lg py-base border-t border-hairline", children: footer })
4079
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "flex-1 px-lg py-base text-body-md text-body overflow-y-auto", children }),
4080
+ footer && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "flex items-center justify-end gap-sm px-lg py-base border-t border-hairline", children: footer })
3526
4081
  ]
3527
4082
  }
3528
4083
  )
@@ -3533,44 +4088,44 @@ var Modal = import_react15.default.forwardRef(
3533
4088
  Modal.displayName = "Modal";
3534
4089
 
3535
4090
  // virtual-pkg:src/atoms/PreviewToolbar/PreviewToolbar.tsx
3536
- var import_react16 = __toESM(require("react"));
3537
- var import_jsx_runtime16 = require("react/jsx-runtime");
3538
- var DesktopIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
3539
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2" }),
3540
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M8 21h8M12 17v4" })
4091
+ var import_react18 = __toESM(require("react"));
4092
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4093
+ var DesktopIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
4094
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2" }),
4095
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M8 21h8M12 17v4" })
3541
4096
  ] });
3542
- var SidebarIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
3543
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { x: "2", y: "3", width: "20", height: "18", rx: "2" }),
3544
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M9 3v18" })
4097
+ var SidebarIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
4098
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { x: "2", y: "3", width: "20", height: "18", rx: "2" }),
4099
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M9 3v18" })
3545
4100
  ] });
3546
- var MobileIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
3547
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2" }),
3548
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12", cy: "17", r: "1", fill: "currentColor", stroke: "none" })
4101
+ var MobileIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
4102
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2" }),
4103
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "17", r: "1", fill: "currentColor", stroke: "none" })
3549
4104
  ] });
3550
- var ExpandIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7" }) });
3551
- var InspectIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
3552
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
3553
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M12 8v4l3 3" }),
3554
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12", cy: "12", r: "1", fill: "currentColor", stroke: "none" })
4105
+ var ExpandIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7" }) });
4106
+ var InspectIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
4107
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
4108
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 8v4l3 3" }),
4109
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "12", r: "1", fill: "currentColor", stroke: "none" })
3555
4110
  ] });
3556
- var MoonIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) });
3557
- var FullscreenIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
3558
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("polyline", { points: "15 3 21 3 21 9" }),
3559
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("polyline", { points: "9 21 3 21 3 15" }),
3560
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("line", { x1: "21", y1: "3", x2: "14", y2: "10" }),
3561
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
4111
+ var MoonIcon3 = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }) });
4112
+ var FullscreenIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
4113
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("polyline", { points: "15 3 21 3 21 9" }),
4114
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("polyline", { points: "9 21 3 21 3 15" }),
4115
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("line", { x1: "21", y1: "3", x2: "14", y2: "10" }),
4116
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
3562
4117
  ] });
3563
- var DotsIcon = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", stroke: "none", "aria-hidden": "true", children: [
3564
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12", cy: "5", r: "1.6" }),
3565
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12", cy: "12", r: "1.6" }),
3566
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12", cy: "19", r: "1.6" })
4118
+ var DotsIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", stroke: "none", "aria-hidden": "true", children: [
4119
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "5", r: "1.6" }),
4120
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "12", r: "1.6" }),
4121
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "19", r: "1.6" })
3567
4122
  ] });
3568
4123
  var VIEWPORT_OPTIONS = [
3569
4124
  { id: "desktop", Icon: DesktopIcon, label: "Desktop view" },
3570
4125
  { id: "sidebar", Icon: SidebarIcon2, label: "Sidebar view" },
3571
4126
  { id: "mobile", Icon: MobileIcon, label: "Mobile view" }
3572
4127
  ];
3573
- var ViewportBtn = ({ label, active, onClick, children }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4128
+ var ViewportBtn = ({ label, active, onClick, children }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3574
4129
  Button,
3575
4130
  {
3576
4131
  variant: active ? "primary" : "ghost",
@@ -3582,7 +4137,7 @@ var ViewportBtn = ({ label, active, onClick, children }) => /* @__PURE__ */ (0,
3582
4137
  children
3583
4138
  }
3584
4139
  );
3585
- var PreviewToolbar = import_react16.default.forwardRef(
4140
+ var PreviewToolbar = import_react18.default.forwardRef(
3586
4141
  ({
3587
4142
  viewport = "desktop",
3588
4143
  onViewportChange,
@@ -3597,7 +4152,7 @@ var PreviewToolbar = import_react16.default.forwardRef(
3597
4152
  kindLabel = "ATOM",
3598
4153
  onOverflow,
3599
4154
  className = ""
3600
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
4155
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3601
4156
  "div",
3602
4157
  {
3603
4158
  ref,
@@ -3611,24 +4166,24 @@ var PreviewToolbar = import_react16.default.forwardRef(
3611
4166
  className
3612
4167
  ].filter(Boolean).join(" "),
3613
4168
  children: [
3614
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
4169
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3615
4170
  "div",
3616
4171
  {
3617
4172
  role: "group",
3618
4173
  "aria-label": "Viewport size",
3619
4174
  className: "inline-flex items-center gap-xxs bg-surface-soft rounded-lg p-xxs w-full md:w-auto",
3620
4175
  children: [
3621
- VIEWPORT_OPTIONS.map(({ id, Icon, label }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4176
+ VIEWPORT_OPTIONS.map(({ id, Icon, label }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3622
4177
  ViewportBtn,
3623
4178
  {
3624
4179
  label,
3625
4180
  active: !expanded && viewport === id,
3626
4181
  onClick: () => onViewportChange?.(id),
3627
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, {})
4182
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, {})
3628
4183
  },
3629
4184
  id
3630
4185
  )),
3631
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4186
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3632
4187
  Button,
3633
4188
  {
3634
4189
  variant: expanded ? "primary" : "ghost",
@@ -3640,14 +4195,14 @@ var PreviewToolbar = import_react16.default.forwardRef(
3640
4195
  "!w-8 !h-8 !p-0 rounded-sm shrink-0",
3641
4196
  expanded ? "" : "text-muted"
3642
4197
  ].join(" "),
3643
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ExpandIcon, {})
4198
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ExpandIcon, {})
3644
4199
  }
3645
4200
  )
3646
4201
  ]
3647
4202
  }
3648
4203
  ),
3649
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex flex-wrap items-center gap-sm", children: [
3650
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
4204
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-wrap items-center gap-sm", children: [
4205
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3651
4206
  Button,
3652
4207
  {
3653
4208
  variant: inspecting ? "primary" : "secondary",
@@ -3656,12 +4211,12 @@ var PreviewToolbar = import_react16.default.forwardRef(
3656
4211
  onClick: onInspectTokens,
3657
4212
  className: "gap-xs rounded-xl",
3658
4213
  children: [
3659
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(InspectIcon, {}),
4214
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InspectIcon, {}),
3660
4215
  inspecting ? "Exit inspect" : "Inspect tokens"
3661
4216
  ]
3662
4217
  }
3663
4218
  ),
3664
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
4219
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3665
4220
  Button,
3666
4221
  {
3667
4222
  variant: darkMode ? "primary" : "secondary",
@@ -3670,12 +4225,12 @@ var PreviewToolbar = import_react16.default.forwardRef(
3670
4225
  onClick: onDarkToggle,
3671
4226
  className: "gap-xs rounded-xl",
3672
4227
  children: [
3673
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(MoonIcon2, {}),
4228
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(MoonIcon3, {}),
3674
4229
  "Dark"
3675
4230
  ]
3676
4231
  }
3677
4232
  ),
3678
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
4233
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3679
4234
  Button,
3680
4235
  {
3681
4236
  variant: "secondary",
@@ -3683,12 +4238,12 @@ var PreviewToolbar = import_react16.default.forwardRef(
3683
4238
  onClick: onFullscreen,
3684
4239
  className: "gap-xs rounded-xl",
3685
4240
  children: [
3686
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(FullscreenIcon, {}),
4241
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FullscreenIcon, {}),
3687
4242
  "Fullscreen"
3688
4243
  ]
3689
4244
  }
3690
4245
  ),
3691
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4246
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3692
4247
  Chip,
3693
4248
  {
3694
4249
  label: modelLabel ?? "",
@@ -3697,7 +4252,7 @@ var PreviewToolbar = import_react16.default.forwardRef(
3697
4252
  className: "border-primary text-primary bg-canvas cursor-default select-none"
3698
4253
  }
3699
4254
  ),
3700
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4255
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3701
4256
  Chip,
3702
4257
  {
3703
4258
  label: kindLabel ?? "",
@@ -3706,7 +4261,7 @@ var PreviewToolbar = import_react16.default.forwardRef(
3706
4261
  className: "bg-primary-disabled border-primary-disabled text-primary cursor-default select-none"
3707
4262
  }
3708
4263
  ),
3709
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
4264
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3710
4265
  Button,
3711
4266
  {
3712
4267
  variant: "ghost",
@@ -3714,7 +4269,7 @@ var PreviewToolbar = import_react16.default.forwardRef(
3714
4269
  "aria-label": "More options",
3715
4270
  onClick: onOverflow,
3716
4271
  className: "!w-8 !h-8 !p-0 rounded-sm text-muted shrink-0",
3717
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DotsIcon, {})
4272
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DotsIcon, {})
3718
4273
  }
3719
4274
  )
3720
4275
  ] })
@@ -3725,8 +4280,8 @@ var PreviewToolbar = import_react16.default.forwardRef(
3725
4280
  PreviewToolbar.displayName = "PreviewToolbar";
3726
4281
 
3727
4282
  // virtual-pkg:src/atoms/Typography/Typography.tsx
3728
- var import_react17 = __toESM(require("react"));
3729
- var import_jsx_runtime17 = require("react/jsx-runtime");
4283
+ var import_react19 = __toESM(require("react"));
4284
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3730
4285
  var roleTagMap = {
3731
4286
  "display-lg": "h1",
3732
4287
  "heading-lg": "h2",
@@ -3758,7 +4313,7 @@ var colorClassMap = {
3758
4313
  "semantic-warning": "text-semantic-warning",
3759
4314
  "on-primary": "text-on-primary"
3760
4315
  };
3761
- var Typography = import_react17.default.forwardRef(
4316
+ var Typography = import_react19.default.forwardRef(
3762
4317
  ({
3763
4318
  role = "body-md",
3764
4319
  color = "ink",
@@ -3777,7 +4332,7 @@ var Typography = import_react17.default.forwardRef(
3777
4332
  uppercase ? "uppercase tracking-wide" : "",
3778
4333
  className
3779
4334
  ].filter(Boolean).join(" ");
3780
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Tag, { ref, className: classes, ...rest, children });
4335
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Tag, { ref, className: classes, ...rest, children });
3781
4336
  }
3782
4337
  );
3783
4338
  Typography.displayName = "Typography";