@pitcher/canvas-ui 2026.1.8-101256-beta → 2026.1.8-152854-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.
- package/canvas-ui.css +18 -18
- package/canvas-ui.js +496 -419
- package/canvas-ui.js.map +1 -1
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +1 -0
- package/lib/types/launchDarkly.types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -50,6 +50,7 @@ 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>[];
|
|
53
54
|
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;
|
|
54
55
|
export declare function applyCanvasThemeAssetsToNode(node: ComponentNode): ComponentNode;
|
|
55
56
|
export declare function processCanvasForSectionThemeOverride(canvas: CanvasRetrieve, maintainSectionTheme: boolean): CanvasRetrieve;
|
|
@@ -16,6 +16,7 @@ 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"];
|
|
19
20
|
};
|
|
20
21
|
type LaunchDarklyStringFlagValue<K extends LaunchDarklyStringFlagKey = LaunchDarklyStringFlagKey> = K extends LaunchDarklyStringFlagKey ? (typeof LaunchDarklyStringFlags)[K][number] : never;
|
|
21
22
|
type CanvasManagerVisibility = {
|