@fraczled/sdk 1.30.12 → 1.30.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.
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-DNbhSjEm.js";
1
+ import { c as Da, _ as Va, g as il } from "./index-D1XP3N62.js";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/index.d.ts CHANGED
@@ -322,11 +322,28 @@ export interface SDKAssetsConfig {
322
322
  showLoader?: boolean;
323
323
  }
324
324
 
325
+ export interface ExportMenuItemOverride {
326
+ id: 'web' | 'print_pdf' | 'print_png' | 'json' | (string & {});
327
+ label?: string;
328
+ description?: string;
329
+ icon?: React.ComponentType<{ size?: number }>;
330
+ section?: 'web' | 'print' | 'other';
331
+ hidden?: boolean;
332
+ }
333
+
334
+ export interface ExportMenuConfig {
335
+ buttonLabel?: string;
336
+ buttonIcon?: React.ComponentType<{ size?: number }>;
337
+ hideDefaultItems?: boolean;
338
+ items?: ExportMenuItemOverride[];
339
+ }
340
+
325
341
  export interface EditorUiConfig {
326
342
  hideDefaultPanels?: boolean;
327
343
  hiddenPanels?: PanelId[];
328
344
  topbarMode?: 'default' | 'custom';
329
345
  newDesignModal?: NewDesignModalConfig;
346
+ exportMenu?: ExportMenuConfig;
330
347
  }
331
348
 
332
349
  export interface TemplateSizePreset {
@@ -513,7 +530,7 @@ export interface CustomTemplatesConfig {
513
530
  templates?: DesignTemplate[];
514
531
  fetchTemplates?: () => Promise<DesignTemplate[]>;
515
532
  hideDefaultTemplates?: boolean;
516
- categories?: TemplateCategory[];
533
+ categories?: Array<TemplateCategory | { id: TemplateCategory; name?: string; icon?: string }>;
517
534
  saveAction?: TemplateSaveAction;
518
535
  }
519
536
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fraczled/sdk",
3
- "version": "1.30.12",
3
+ "version": "1.30.14",
4
4
  "description": "Fraczled Design Studio SDK - Embed a powerful design editor in your application",
5
5
  "scripts": {
6
6
  "build": "vite build --config ../vite.sdk.config.ts && vite build --config ../vite.sdk.umd.config.ts",