@aphexcms/cms-core 2.0.2 → 2.0.3
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.
|
@@ -6,9 +6,9 @@ interface Props {
|
|
|
6
6
|
children?: any;
|
|
7
7
|
}
|
|
8
8
|
declare const AdminLayout: import("svelte").Component<Props, {
|
|
9
|
-
typesPanel: "w-full" | "flex-1" | "
|
|
10
|
-
documentsPanel: "w-full" | "flex-1" | "
|
|
11
|
-
editorPanel: "w-full" | "flex-1"
|
|
9
|
+
typesPanel: "hidden" | "w-full" | "flex-1" | "w-[350px]" | "w-[60px]";
|
|
10
|
+
documentsPanel: "hidden" | "w-full" | "flex-1" | "w-[350px]" | "w-[60px]";
|
|
11
|
+
editorPanel: "hidden" | "w-full" | "flex-1";
|
|
12
12
|
}, "">;
|
|
13
13
|
type AdminLayout = ReturnType<typeof AdminLayout>;
|
|
14
14
|
export default AdminLayout;
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
}
|
|
674
674
|
</script>
|
|
675
675
|
|
|
676
|
-
<div class="relative flex h-full flex-col">
|
|
676
|
+
<div class="relative flex h-full flex-col overflow-hidden">
|
|
677
677
|
<!-- Header Toolbar (Sanity-style) -->
|
|
678
678
|
<div class="border-border bg-background flex h-14 items-center justify-between border-b px-4">
|
|
679
679
|
<!-- Left side: Document info and status -->
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { Sidebar } from '@aphexcms/ui/shadcn/sidebar';
|
|
2
|
+
import type { SidebarData } from '../../../types/sidebar.js';
|
|
3
|
+
import type { ComponentProps } from 'svelte';
|
|
4
|
+
type Props = ComponentProps<typeof Sidebar> & {
|
|
5
|
+
data: SidebarData;
|
|
6
|
+
onSignOut?: () => void | Promise<void>;
|
|
7
|
+
};
|
|
8
|
+
declare const AppSidebar: import("svelte").Component<Props, {}, "">;
|
|
2
9
|
type AppSidebar = ReturnType<typeof AppSidebar>;
|
|
3
10
|
export default AppSidebar;
|
|
4
11
|
//# sourceMappingURL=AppSidebar.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSidebar.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/layout/sidebar/AppSidebar.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppSidebar.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/layout/sidebar/AppSidebar.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EAKP,MAAM,6BAA6B,CAAC;AAItC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAG5C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,GAAG;IAC7C,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC,CAAC;AAqDH,QAAA,MAAM,UAAU,2CAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
|