camox 0.52.3 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/editing/createEditableBlock.js +1 -1
- package/dist/features/canvas/CamoxCanvas.js +103 -83
- package/dist/features/canvas/CanvasPageFrame.js +1 -1
- package/dist/features/canvas/CanvasPreviewPageSlot.js +1 -1
- package/dist/features/canvas/canvasCamera.js +3 -3
- package/dist/features/canvas/sidebar/CanvasInspector.js +4 -159
- package/dist/features/canvas/sidebar/CanvasNavigator.js +41 -85
- package/dist/features/canvas/sidebar/CanvasSidebar.js +54 -32
- package/dist/features/canvas/sidebar/CanvasSidebarFrame.js +4 -3
- package/dist/features/canvas/sidebar/CanvasSidebarSkeleton.js +14 -6
- package/dist/features/canvas/sidebar/CanvasViewHeader.js +50 -0
- package/dist/features/canvas/sidebar/DerivedPageInspector.js +30 -18
- package/dist/features/canvas/sidebar/LayoutPageOverview.js +28 -11
- package/dist/features/canvas/sidebar/LayoutPageSeo.js +356 -0
- package/dist/features/canvas/sidebar/PageInspector.js +118 -80
- package/dist/features/canvas/sidebar/PageOverview.js +6 -1
- package/dist/features/canvas/sidebar/SingletonPageInspector.js +22 -14
- package/dist/features/canvas/useCanvasCamera.js +36 -39
- package/dist/features/og/documentFonts.js +49 -0
- package/dist/features/og/imageResponse.d.ts +14 -5
- package/dist/features/og/imageResponse.js +20 -21
- package/dist/features/og/pageImage.js +7 -4
- package/dist/features/preview/CamoxPreview.js +1 -1
- package/dist/features/preview/components/BlockActionsPopover.js +2 -2
- package/dist/features/preview/components/BlockThumbnail.js +1 -1
- package/dist/features/preview/components/CanvasPreview.js +1 -1
- package/dist/features/preview/components/CreatePageModal.js +1 -1
- package/dist/features/preview/components/IconFieldEditor.js +1 -1
- package/dist/features/preview/components/ItemFieldsEditor.js +1 -1
- package/dist/features/preview/components/LinkFieldEditor.js +1 -1
- package/dist/features/preview/components/OverlayTracker.js +1 -1
- package/dist/features/preview/components/PageInfo.js +345 -228
- package/dist/features/preview/components/PagePicker.js +1 -1
- package/dist/features/preview/components/PageTree.js +1 -1
- package/dist/features/preview/components/PreviewPanel.js +1 -1
- package/dist/features/preview/components/PreviewToolbar.js +2 -2
- package/dist/features/preview/components/RepeatableItemsList.js +1 -1
- package/dist/features/preview/components/SelectionEditor.js +668 -652
- package/dist/features/preview/components/SidebarStack.js +582 -0
- package/dist/features/preview/components/StudioEditingFallback.js +2 -2
- package/dist/features/renderer/RendererFrames.js +34 -27
- package/dist/features/runtime/RuntimeChrome.js +1 -1
- package/dist/features/runtime/runtime.d.ts +5 -0
- package/dist/features/runtime/runtime.js +99 -30
- package/dist/features/studio/components/ChatSidebar.js +76 -86
- package/dist/features/studio/components/Navbar.js +1 -1
- package/dist/features/studio/components/Squareling.js +114 -0
- package/dist/features/studio/components/ThreadMessages.js +128 -126
- package/dist/features/studio/components/UserButton.js +1 -1
- package/dist/features/vite/bundlerLogs.js +1 -0
- package/dist/features/vite/runtimeDev.js +11 -0
- package/dist/features/vite/vite.js +3 -1
- package/dist/lib/studio-reads.js +18 -0
- package/dist/package.js +1 -1
- package/dist/studio.css +1 -1
- package/package.json +5 -5
- package/skills/camox/references/layout-definitions.md +11 -16
- package/dist/features/og/defaultFonts.js +0 -31
- package/dist/features/og/geist-variable-ttf-base64.js +0 -21
|
@@ -16,8 +16,8 @@ import { Check, ChevronsUpDown, Pencil, Plus, Trash2 } from "lucide-react";
|
|
|
16
16
|
import { toast } from "@camox/ui/toaster";
|
|
17
17
|
import { Skeleton } from "@camox/ui/skeleton";
|
|
18
18
|
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle } from "@camox/ui/alert-dialog";
|
|
19
|
-
import { Command as Command$1, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "@camox/ui/command";
|
|
20
19
|
import { Popover, PopoverContent, PopoverTrigger } from "@camox/ui/popover";
|
|
20
|
+
import { Command as Command$1, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "@camox/ui/command";
|
|
21
21
|
|
|
22
22
|
//#region src/features/preview/components/PagePicker.tsx
|
|
23
23
|
const CREATE_PAGE_VALUE = "__create_page__";
|
|
@@ -2,8 +2,8 @@ import { usePageBlocks } from "../../../lib/normalized-data.js";
|
|
|
2
2
|
import { cn } from "../../../lib/utils.js";
|
|
3
3
|
import { useBlockDefinition, useLayoutDefinition } from "../../../lib/studio-definitions.js";
|
|
4
4
|
import { previewStore, selectionBlockId, selectionForOwner } from "../previewStore.js";
|
|
5
|
-
import { PreviewEditingOwnerContext } from "../previewSelection.js";
|
|
6
5
|
import { useEditingFrame } from "../editingFrame.js";
|
|
6
|
+
import { PreviewEditingOwnerContext } from "../previewSelection.js";
|
|
7
7
|
import { entityName } from "../entityName.js";
|
|
8
8
|
import { useUpdateBlockPosition } from "./useUpdateBlockPosition.js";
|
|
9
9
|
import { BlockActionsPopover } from "./BlockActionsPopover.js";
|
|
@@ -2,10 +2,10 @@ import { NavigationDisabled, NavigationLocation } from "../../navigation/navigat
|
|
|
2
2
|
import { ArtifactStudioContext } from "../../../core/hooks/useArtifactHost.js";
|
|
3
3
|
import { cn } from "../../../lib/utils.js";
|
|
4
4
|
import { previewStore } from "../previewStore.js";
|
|
5
|
+
import { useEditingFrameClaim, useEditingOwner } from "../editingFrame.js";
|
|
5
6
|
import { EditableSurfaceContext } from "../../../core/hooks/useIsEditable.js";
|
|
6
7
|
import { CanvasWorkspaceContext } from "../../canvas/canvasZoom.js";
|
|
7
8
|
import { PreviewEditingOwnerContext } from "../previewSelection.js";
|
|
8
|
-
import { useEditingFrameClaim, useEditingOwner } from "../editingFrame.js";
|
|
9
9
|
import { Frame, useFrame } from "./Frame.js";
|
|
10
10
|
import { previewPageIframeProps, usePreviewPageFrame } from "../previewPageFrame.js";
|
|
11
11
|
import { adoptCanvasDocument, pauseCanvasDocument } from "../../canvas/canvasFrameDocument.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { formatShortcut } from "../../../lib/shortcuts.js";
|
|
2
|
-
import { TOGGLE_CANVAS_SHORTCUT } from "../previewConstants.js";
|
|
3
1
|
import { previewStore, selectIsCanvasShown } from "../previewStore.js";
|
|
2
|
+
import { TOGGLE_CANVAS_SHORTCUT } from "../previewConstants.js";
|
|
3
|
+
import { formatShortcut } from "../../../lib/shortcuts.js";
|
|
4
4
|
import { prefetchCanvas } from "./CanvasPreview.js";
|
|
5
5
|
import { DeviceSelector } from "../../../components/DeviceSelector.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cn } from "../../../lib/utils.js";
|
|
2
2
|
import { repeatableItemMutations } from "../../../lib/queries.js";
|
|
3
3
|
import { previewStore, selectionItemId } from "../previewStore.js";
|
|
4
|
-
import { PreviewEditingOwnerContext, usePreviewTargetSelection } from "../previewSelection.js";
|
|
5
4
|
import { useEditingFrame } from "../editingFrame.js";
|
|
5
|
+
import { PreviewEditingOwnerContext, usePreviewTargetSelection } from "../previewSelection.js";
|
|
6
6
|
import { entityName } from "../entityName.js";
|
|
7
7
|
import { useRepeatableItemActions } from "./useRepeatableItemActions.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|