@designa8/vibedesign-v6 1.10.3 → 1.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +206 -198
- package/dist/index.js +206 -198
- package/package.json +1 -1
- package/src/atoms/AppSidebarMobile/AppSidebarMobile.tsx +206 -199
- package/src/atoms/HomePageTemplate/HomePageTemplate.tsx +16 -0
- package/src/atoms/HomePageTemplate/preview.tsx +4 -0
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2988,6 +2988,7 @@ AppSidebar.displayName = "AppSidebar";
|
|
|
2988
2988
|
|
|
2989
2989
|
// virtual-pkg:src/atoms/AppSidebarMobile/AppSidebarMobile.tsx
|
|
2990
2990
|
var import_react11 = __toESM(require("react"));
|
|
2991
|
+
var import_react_dom = __toESM(require("react-dom"));
|
|
2991
2992
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
2992
2993
|
var LogoIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "28", height: "28", viewBox: "0 0 48 48", fill: "none", "aria-hidden": "true", children: [
|
|
2993
2994
|
/* @__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)" } }),
|
|
@@ -3081,216 +3082,217 @@ var AppSidebarMobile = import_react11.default.forwardRef(
|
|
|
3081
3082
|
}
|
|
3082
3083
|
}, [open]);
|
|
3083
3084
|
const showFooterRow = !!(userInitials || onInboxClick || onDarkModeToggle);
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
"
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
},
|
|
3108
|
-
children: [
|
|
3109
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3110
|
-
"div",
|
|
3111
|
-
{
|
|
3112
|
-
"aria-hidden": "true",
|
|
3113
|
-
onClick: () => setOpen(false),
|
|
3114
|
-
style: {
|
|
3115
|
-
position: "absolute",
|
|
3116
|
-
inset: 0,
|
|
3117
|
-
backgroundColor: "var(--color-scrim)",
|
|
3118
|
-
opacity: visible ? 0.5 : 0,
|
|
3119
|
-
transition: "opacity 0.25s ease"
|
|
3120
|
-
}
|
|
3085
|
+
const overlayContent = mounted ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
3086
|
+
"div",
|
|
3087
|
+
{
|
|
3088
|
+
role: "dialog",
|
|
3089
|
+
"aria-modal": "true",
|
|
3090
|
+
"aria-label": "Navigation menu",
|
|
3091
|
+
style: {
|
|
3092
|
+
position: "fixed",
|
|
3093
|
+
inset: 0,
|
|
3094
|
+
zIndex: 9999
|
|
3095
|
+
},
|
|
3096
|
+
children: [
|
|
3097
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3098
|
+
"div",
|
|
3099
|
+
{
|
|
3100
|
+
"aria-hidden": "true",
|
|
3101
|
+
onClick: () => setOpen(false),
|
|
3102
|
+
style: {
|
|
3103
|
+
position: "absolute",
|
|
3104
|
+
inset: 0,
|
|
3105
|
+
backgroundColor: "var(--color-scrim)",
|
|
3106
|
+
opacity: visible ? 0.5 : 0,
|
|
3107
|
+
transition: "opacity 0.25s ease"
|
|
3121
3108
|
}
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3109
|
+
}
|
|
3110
|
+
),
|
|
3111
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
3112
|
+
"div",
|
|
3113
|
+
{
|
|
3114
|
+
style: {
|
|
3115
|
+
position: "absolute",
|
|
3116
|
+
top: 0,
|
|
3117
|
+
left: 0,
|
|
3118
|
+
bottom: 0,
|
|
3119
|
+
width: "min(280px, 85vw)",
|
|
3120
|
+
display: "flex",
|
|
3121
|
+
flexDirection: "column",
|
|
3122
|
+
backgroundColor: "var(--color-canvas)",
|
|
3123
|
+
borderRight: "1px solid var(--color-hairline)",
|
|
3124
|
+
boxShadow: "var(--shadow-lg)",
|
|
3125
|
+
transform: visible ? "translateX(0)" : "translateX(-100%)",
|
|
3126
|
+
transition: "transform 0.28s cubic-bezier(0.32,0,0.15,1)",
|
|
3127
|
+
overflowY: "auto",
|
|
3128
|
+
overflowX: "hidden"
|
|
3129
|
+
},
|
|
3130
|
+
children: [
|
|
3131
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
3132
|
+
"div",
|
|
3133
|
+
{
|
|
3134
|
+
className: "flex items-center justify-between px-md pt-md pb-sm flex-shrink-0",
|
|
3135
|
+
style: { backgroundColor: "var(--color-canvas)" },
|
|
3136
|
+
children: [
|
|
3137
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center gap-sm", children: [
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(LogoIcon2, {}),
|
|
3139
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink truncate", children: brandName })
|
|
3140
|
+
] }),
|
|
3141
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3142
|
+
Button,
|
|
3143
|
+
{
|
|
3144
|
+
variant: "ghost",
|
|
3145
|
+
size: "sm",
|
|
3146
|
+
"aria-label": "Close navigation",
|
|
3147
|
+
onClick: () => setOpen(false),
|
|
3148
|
+
className: "!p-xs !rounded-md",
|
|
3149
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CloseIcon, {})
|
|
3150
|
+
}
|
|
3151
|
+
)
|
|
3152
|
+
]
|
|
3153
|
+
}
|
|
3154
|
+
),
|
|
3155
|
+
workspaceName && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3156
|
+
"div",
|
|
3157
|
+
{
|
|
3158
|
+
className: "px-sm pb-sm",
|
|
3159
|
+
style: { backgroundColor: "var(--color-canvas)" },
|
|
3160
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3161
|
+
WorkspaceMenu,
|
|
3162
|
+
{
|
|
3163
|
+
workspaceName,
|
|
3164
|
+
initials: workspaceName.charAt(0).toUpperCase()
|
|
3165
|
+
}
|
|
3166
|
+
)
|
|
3167
|
+
}
|
|
3168
|
+
),
|
|
3169
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3170
|
+
"div",
|
|
3171
|
+
{
|
|
3172
|
+
className: "flex-1 overflow-y-auto px-sm pb-sm",
|
|
3173
|
+
style: { backgroundColor: "var(--color-canvas)" },
|
|
3174
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("ul", { className: "space-y-xxs", role: "list", children: entries.map((entry) => {
|
|
3175
|
+
const isActive = activeId === entry.id;
|
|
3176
|
+
const hasSubItems = !!entry.subItems?.length;
|
|
3177
|
+
const isExpanded = expandedIds.has(entry.id);
|
|
3178
|
+
const mappedSubItems = hasSubItems ? entry.subItems.map((sub) => ({
|
|
3179
|
+
id: sub.id,
|
|
3180
|
+
label: sub.label,
|
|
3181
|
+
onDelete: sub.onDelete,
|
|
3182
|
+
onClick: onSubSelect ? (_id) => {
|
|
3183
|
+
onSubSelect(_id);
|
|
3184
|
+
setOpen(false);
|
|
3185
|
+
} : void 0
|
|
3186
|
+
})) : void 0;
|
|
3187
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3188
|
+
NavItem,
|
|
3189
|
+
{
|
|
3190
|
+
icon: entry.icon,
|
|
3191
|
+
label: entry.label,
|
|
3192
|
+
active: isActive,
|
|
3193
|
+
subItems: mappedSubItems,
|
|
3194
|
+
expanded: hasSubItems ? isExpanded : void 0,
|
|
3195
|
+
onExpandToggle: hasSubItems ? () => toggleExpanded(entry.id) : void 0,
|
|
3196
|
+
onClick: (e) => {
|
|
3197
|
+
onSelect?.(entry.id);
|
|
3198
|
+
if (!hasSubItems) setOpen(false);
|
|
3199
|
+
else e.preventDefault();
|
|
3200
|
+
}
|
|
3201
|
+
},
|
|
3202
|
+
entry.id
|
|
3203
|
+
);
|
|
3204
|
+
}) })
|
|
3205
|
+
}
|
|
3206
|
+
),
|
|
3207
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
3208
|
+
"div",
|
|
3209
|
+
{
|
|
3210
|
+
className: "flex-shrink-0 px-sm pb-lg space-y-sm",
|
|
3211
|
+
style: { backgroundColor: "var(--color-canvas)" },
|
|
3212
|
+
children: [
|
|
3213
|
+
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: [
|
|
3214
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex flex-col gap-xxs min-w-0", children: [
|
|
3215
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink", children: "Share & earn" }),
|
|
3216
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-caption text-muted", children: "100 credits per paid referral" })
|
|
3152
3217
|
] }),
|
|
3153
3218
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3154
|
-
|
|
3219
|
+
"span",
|
|
3155
3220
|
{
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
onClick: () => setOpen(false),
|
|
3160
|
-
className: "!p-xs !rounded-md",
|
|
3161
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CloseIcon, {})
|
|
3221
|
+
className: "flex-shrink-0 flex items-center justify-center rounded-full bg-surface-strong",
|
|
3222
|
+
style: { width: "36px", height: "36px" },
|
|
3223
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GiftIcon2, {})
|
|
3162
3224
|
}
|
|
3163
3225
|
)
|
|
3164
|
-
]
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
{
|
|
3170
|
-
className: "px-sm pb-sm",
|
|
3171
|
-
style: { backgroundColor: "var(--color-canvas)" },
|
|
3172
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3173
|
-
WorkspaceMenu,
|
|
3174
|
-
{
|
|
3175
|
-
workspaceName,
|
|
3176
|
-
initials: workspaceName.charAt(0).toUpperCase()
|
|
3177
|
-
}
|
|
3178
|
-
)
|
|
3179
|
-
}
|
|
3180
|
-
),
|
|
3181
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3182
|
-
"div",
|
|
3183
|
-
{
|
|
3184
|
-
className: "flex-1 overflow-y-auto px-sm pb-sm",
|
|
3185
|
-
style: { backgroundColor: "var(--color-canvas)" },
|
|
3186
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("ul", { className: "space-y-xxs", role: "list", children: entries.map((entry) => {
|
|
3187
|
-
const isActive = activeId === entry.id;
|
|
3188
|
-
const hasSubItems = !!entry.subItems?.length;
|
|
3189
|
-
const isExpanded = expandedIds.has(entry.id);
|
|
3190
|
-
const mappedSubItems = hasSubItems ? entry.subItems.map((sub) => ({
|
|
3191
|
-
id: sub.id,
|
|
3192
|
-
label: sub.label,
|
|
3193
|
-
onDelete: sub.onDelete,
|
|
3194
|
-
onClick: onSubSelect ? (_id) => {
|
|
3195
|
-
onSubSelect(_id);
|
|
3196
|
-
setOpen(false);
|
|
3197
|
-
} : void 0
|
|
3198
|
-
})) : void 0;
|
|
3199
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3200
|
-
NavItem,
|
|
3226
|
+
] }),
|
|
3227
|
+
showUpgradeCard && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(UpgradeCard, { eyebrow: "", title: "Upgrade to Pro", subtitle: "Unlock more features" }),
|
|
3228
|
+
showFooterRow && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center justify-between pt-xs", children: [
|
|
3229
|
+
userInitials && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3230
|
+
"span",
|
|
3201
3231
|
{
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
else e.preventDefault();
|
|
3212
|
-
}
|
|
3213
|
-
},
|
|
3214
|
-
entry.id
|
|
3215
|
-
);
|
|
3216
|
-
}) })
|
|
3217
|
-
}
|
|
3218
|
-
),
|
|
3219
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
3220
|
-
"div",
|
|
3221
|
-
{
|
|
3222
|
-
className: "flex-shrink-0 px-sm pb-lg space-y-sm",
|
|
3223
|
-
style: { backgroundColor: "var(--color-canvas)" },
|
|
3224
|
-
children: [
|
|
3225
|
-
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: [
|
|
3226
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex flex-col gap-xxs min-w-0", children: [
|
|
3227
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-body-sm font-weight-heading-sm text-ink", children: "Share & earn" }),
|
|
3228
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-caption text-muted", children: "100 credits per paid referral" })
|
|
3229
|
-
] }),
|
|
3230
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3231
|
-
"span",
|
|
3232
|
+
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",
|
|
3233
|
+
style: { width: "36px", height: "36px" },
|
|
3234
|
+
"aria-label": "User profile",
|
|
3235
|
+
children: userInitials
|
|
3236
|
+
}
|
|
3237
|
+
),
|
|
3238
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center gap-xs ml-auto", children: [
|
|
3239
|
+
onDarkModeToggle && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3240
|
+
Button,
|
|
3232
3241
|
{
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3242
|
+
variant: "ghost",
|
|
3243
|
+
size: "sm",
|
|
3244
|
+
"aria-label": darkMode ? "Switch to light mode" : "Switch to dark mode",
|
|
3245
|
+
onClick: onDarkModeToggle,
|
|
3246
|
+
className: "!p-xs !rounded-sm",
|
|
3247
|
+
children: darkMode ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SunIcon3, {}) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(MoonIcon3, {})
|
|
3236
3248
|
}
|
|
3237
|
-
)
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
showFooterRow && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center justify-between pt-xs", children: [
|
|
3241
|
-
userInitials && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3242
|
-
"span",
|
|
3249
|
+
),
|
|
3250
|
+
onInboxClick && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
3251
|
+
Button,
|
|
3243
3252
|
{
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
"aria-label": "
|
|
3247
|
-
|
|
3253
|
+
variant: "ghost",
|
|
3254
|
+
size: "sm",
|
|
3255
|
+
"aria-label": "Inbox",
|
|
3256
|
+
onClick: onInboxClick,
|
|
3257
|
+
className: "!p-xs !rounded-sm relative",
|
|
3258
|
+
children: [
|
|
3259
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(InboxIcon2, {}),
|
|
3260
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3261
|
+
"span",
|
|
3262
|
+
{
|
|
3263
|
+
className: "absolute rounded-full bg-semantic-error",
|
|
3264
|
+
"aria-label": "New notifications",
|
|
3265
|
+
style: { width: "8px", height: "8px", top: "4px", right: "4px" }
|
|
3266
|
+
}
|
|
3267
|
+
)
|
|
3268
|
+
]
|
|
3248
3269
|
}
|
|
3249
|
-
)
|
|
3250
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center gap-xs ml-auto", children: [
|
|
3251
|
-
onDarkModeToggle && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3252
|
-
Button,
|
|
3253
|
-
{
|
|
3254
|
-
variant: "ghost",
|
|
3255
|
-
size: "sm",
|
|
3256
|
-
"aria-label": darkMode ? "Switch to light mode" : "Switch to dark mode",
|
|
3257
|
-
onClick: onDarkModeToggle,
|
|
3258
|
-
className: "!p-xs !rounded-sm",
|
|
3259
|
-
children: darkMode ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SunIcon3, {}) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(MoonIcon3, {})
|
|
3260
|
-
}
|
|
3261
|
-
),
|
|
3262
|
-
onInboxClick && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
3263
|
-
Button,
|
|
3264
|
-
{
|
|
3265
|
-
variant: "ghost",
|
|
3266
|
-
size: "sm",
|
|
3267
|
-
"aria-label": "Inbox",
|
|
3268
|
-
onClick: onInboxClick,
|
|
3269
|
-
className: "!p-xs !rounded-sm relative",
|
|
3270
|
-
children: [
|
|
3271
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(InboxIcon2, {}),
|
|
3272
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3273
|
-
"span",
|
|
3274
|
-
{
|
|
3275
|
-
className: "absolute rounded-full bg-semantic-error",
|
|
3276
|
-
"aria-label": "New notifications",
|
|
3277
|
-
style: { width: "8px", height: "8px", top: "4px", right: "4px" }
|
|
3278
|
-
}
|
|
3279
|
-
)
|
|
3280
|
-
]
|
|
3281
|
-
}
|
|
3282
|
-
)
|
|
3283
|
-
] })
|
|
3270
|
+
)
|
|
3284
3271
|
] })
|
|
3285
|
-
]
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3272
|
+
] })
|
|
3273
|
+
]
|
|
3274
|
+
}
|
|
3275
|
+
)
|
|
3276
|
+
]
|
|
3277
|
+
}
|
|
3278
|
+
)
|
|
3279
|
+
]
|
|
3280
|
+
}
|
|
3281
|
+
) : null;
|
|
3282
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3283
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { ref, className, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
3284
|
+
Button,
|
|
3285
|
+
{
|
|
3286
|
+
variant: "ghost",
|
|
3287
|
+
size: "sm",
|
|
3288
|
+
"aria-label": "Open navigation",
|
|
3289
|
+
"aria-expanded": open,
|
|
3290
|
+
onClick: () => setOpen(true),
|
|
3291
|
+
className: "!p-xs !rounded-md",
|
|
3292
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(HamburgerIcon, {})
|
|
3292
3293
|
}
|
|
3293
|
-
)
|
|
3294
|
+
) }),
|
|
3295
|
+
typeof window !== "undefined" ? import_react_dom.default.createPortal(overlayContent, document.body) : overlayContent
|
|
3294
3296
|
] });
|
|
3295
3297
|
}
|
|
3296
3298
|
);
|
|
@@ -3827,6 +3829,8 @@ var HomePageTemplate = import_react16.default.forwardRef(
|
|
|
3827
3829
|
onSelect,
|
|
3828
3830
|
activeSubId,
|
|
3829
3831
|
onSubSelect,
|
|
3832
|
+
darkMode,
|
|
3833
|
+
onDarkModeToggle,
|
|
3830
3834
|
className,
|
|
3831
3835
|
style
|
|
3832
3836
|
}, ref) => {
|
|
@@ -3873,6 +3877,8 @@ var HomePageTemplate = import_react16.default.forwardRef(
|
|
|
3873
3877
|
userInitials,
|
|
3874
3878
|
onInboxClick: () => {
|
|
3875
3879
|
},
|
|
3880
|
+
darkMode,
|
|
3881
|
+
onDarkModeToggle,
|
|
3876
3882
|
style: { height: "100%" }
|
|
3877
3883
|
}
|
|
3878
3884
|
) }),
|
|
@@ -3905,7 +3911,9 @@ var HomePageTemplate = import_react16.default.forwardRef(
|
|
|
3905
3911
|
showUpgradeCard: true,
|
|
3906
3912
|
userInitials,
|
|
3907
3913
|
onInboxClick: () => {
|
|
3908
|
-
}
|
|
3914
|
+
},
|
|
3915
|
+
darkMode,
|
|
3916
|
+
onDarkModeToggle
|
|
3909
3917
|
}
|
|
3910
3918
|
),
|
|
3911
3919
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-xs", children: [
|