@pitcher/canvas-ui 2026.1.9-153715 → 2026.1.9-205914-beta

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.
@@ -20,7 +20,7 @@ export interface DefaultCrmShape {
20
20
  };
21
21
  }
22
22
  export default function useCrmShape(): {
23
- crmShape: ComputedRef<any>;
23
+ crmShape: ComputedRef<Record<string, any> & Partial<DefaultCrmShape>>;
24
24
  getDefaultCrmShape: ({ accountName, myUser, showDefault, }: {
25
25
  accountName?: string;
26
26
  myUser: User | null;
@@ -1,4 +1,5 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  export default function useCanvasContext(): {
3
- fullContext: ComputedRef<any>;
3
+ getSectionCtx: () => any;
4
+ crmShapeWithSectionCtx: ComputedRef<any>;
4
5
  };
@@ -50,7 +50,6 @@ export declare function findAllEmbeddableTypesInSectionsContent(sectionComponent
50
50
  export declare function findEmbeddableInCanvasContent(componentNodesById: UnwrapRef<ComponentNodesById>, appName: string): FoundComponent;
51
51
  export declare function scrollToComponentById(id: ComponentNode['id'] | null | undefined, sectionId?: string, sectionIndex?: number, instant?: boolean, delay?: number): void;
52
52
  export declare function updateFirstContentGridWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | import('../types/canvas').ContentListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
53
- export declare function updateFirstCollectionPlayerWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | import('../types/canvas').ContentListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').DynamicDataTableProps | import('../types/canvas').CustomDataTableProps>[];
54
53
  export declare function handleThemeAssetComparison(key: string | symbol | number, objValue: any, othValue: any, object: any, other: any, fileProps: string[], isEqual: (obj1: any, obj2: any) => boolean, componentsWithThemeMeta?: Set<string>): boolean | undefined;
55
54
  export declare function applyCanvasThemeAssetsToNode(node: ComponentNode): ComponentNode;
56
55
  export declare function processCanvasForSectionThemeOverride(canvas: CanvasRetrieve, maintainSectionTheme: boolean): CanvasRetrieve;
@@ -16,7 +16,6 @@ declare const LaunchDarklyStringFlags: {
16
16
  readonly ai_image_generation_model: readonly ["minimax/image-01", ""];
17
17
  readonly ai_video_generation_model: readonly ["minimax/video-01", ""];
18
18
  readonly ai_text_generation_model: readonly ["anthropic/claude-3.5-sonnet", ""];
19
- readonly sharebox_format: readonly ["content-grid", "content-grid-default", "collection-player-default"];
20
19
  };
21
20
  type LaunchDarklyStringFlagValue<K extends LaunchDarklyStringFlagKey = LaunchDarklyStringFlagKey> = K extends LaunchDarklyStringFlagKey ? (typeof LaunchDarklyStringFlags)[K][number] : never;
22
21
  type CanvasManagerVisibility = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/canvas-ui",
3
- "version": "2026.1.9-153715",
3
+ "version": "2026.1.9-205914-beta",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"