@designa8/vibedesign-v6 1.12.13 → 1.12.14
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/atoms/AppLayout/AppLayout.tsx +15 -11
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1982,7 +1982,7 @@ var MobileTopBar = ({
|
|
|
1982
1982
|
className: "w-full flex flex-shrink-0 items-center px-sm gap-sm border-b border-hairline-soft bg-canvas",
|
|
1983
1983
|
style: { height: MOBILE_TOPBAR_HEIGHT },
|
|
1984
1984
|
children: activePanel === "chat" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1985
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
1985
|
+
!hideProjectName && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
1986
1986
|
AvatarNav,
|
|
1987
1987
|
{
|
|
1988
1988
|
initials: avatarInitials,
|
|
@@ -2187,7 +2187,7 @@ var AppLayout = import_react7.default.forwardRef(
|
|
|
2187
2187
|
pointerEvents: chatCollapsed ? "none" : "auto"
|
|
2188
2188
|
},
|
|
2189
2189
|
children: [
|
|
2190
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2190
|
+
!hideProjectName && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2191
2191
|
AvatarNav,
|
|
2192
2192
|
{
|
|
2193
2193
|
initials: avatarInitials,
|
package/dist/index.js
CHANGED
|
@@ -1929,7 +1929,7 @@ var MobileTopBar = ({
|
|
|
1929
1929
|
className: "w-full flex flex-shrink-0 items-center px-sm gap-sm border-b border-hairline-soft bg-canvas",
|
|
1930
1930
|
style: { height: MOBILE_TOPBAR_HEIGHT },
|
|
1931
1931
|
children: activePanel === "chat" ? /* @__PURE__ */ jsxs7(Fragment, { children: [
|
|
1932
|
-
/* @__PURE__ */ jsx7(
|
|
1932
|
+
!hideProjectName && /* @__PURE__ */ jsx7(
|
|
1933
1933
|
AvatarNav,
|
|
1934
1934
|
{
|
|
1935
1935
|
initials: avatarInitials,
|
|
@@ -2134,7 +2134,7 @@ var AppLayout = React7.forwardRef(
|
|
|
2134
2134
|
pointerEvents: chatCollapsed ? "none" : "auto"
|
|
2135
2135
|
},
|
|
2136
2136
|
children: [
|
|
2137
|
-
/* @__PURE__ */ jsx7(
|
|
2137
|
+
!hideProjectName && /* @__PURE__ */ jsx7(
|
|
2138
2138
|
AvatarNav,
|
|
2139
2139
|
{
|
|
2140
2140
|
initials: avatarInitials,
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ export interface AppLayoutProps {
|
|
|
39
39
|
avatarInitials?: string;
|
|
40
40
|
/** Mobile: which panel is shown by default. Defaults to "chat". */
|
|
41
41
|
defaultMobilePanel?: MobilePanel;
|
|
42
|
-
/** When true, hides the
|
|
42
|
+
/** When true, hides the entire left-hand identity/navigation cluster in the top bar — the avatar nav (avatar initials, chevron, and its dropdown menu) and the project/workspace name control (desktop WorkspaceMenu and mobile project name) — while keeping the rest of the top bar (tabs, actions) visible. Useful for a distraction-free fullscreen preview overlay. Defaults to false. */
|
|
43
43
|
hideProjectName?: boolean;
|
|
44
44
|
className?: string;
|
|
45
45
|
}
|
|
@@ -346,11 +346,13 @@ const MobileTopBar: React.FC<MobileTopBarProps> = ({
|
|
|
346
346
|
>
|
|
347
347
|
{activePanel === "chat" ? (
|
|
348
348
|
<>
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
349
|
+
{!hideProjectName && (
|
|
350
|
+
<AvatarNav
|
|
351
|
+
initials={avatarInitials}
|
|
352
|
+
onBackToProjects={onBackToProjects}
|
|
353
|
+
onHome={onHome}
|
|
354
|
+
/>
|
|
355
|
+
)}
|
|
354
356
|
{!hideProjectName && (
|
|
355
357
|
<div className="flex-1 min-w-0">
|
|
356
358
|
<WorkspaceMenu
|
|
@@ -577,11 +579,13 @@ export const AppLayout = React.forwardRef<HTMLDivElement, AppLayoutProps>(
|
|
|
577
579
|
pointerEvents: chatCollapsed ? "none" : "auto",
|
|
578
580
|
}}
|
|
579
581
|
>
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
582
|
+
{!hideProjectName && (
|
|
583
|
+
<AvatarNav
|
|
584
|
+
initials={avatarInitials}
|
|
585
|
+
onBackToProjects={onBackToProjects}
|
|
586
|
+
onHome={onHome}
|
|
587
|
+
/>
|
|
588
|
+
)}
|
|
585
589
|
{!hideProjectName && (
|
|
586
590
|
<div className="flex-1 min-w-0" style={{ position: "relative", zIndex: 1000 }}>
|
|
587
591
|
<WorkspaceMenu
|