@blockslides/ai-context 0.3.0 → 0.3.1

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/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { Transaction, EditorState, Plugin, PluginKey } from 'prosemirror-state';
2
- import { Slice, Node as Node$1, Mark as Mark$1, Schema, NodeType as NodeType$1, NodeSpec, DOMOutputSpec, MarkType as MarkType$1, MarkSpec, ParseOptions, ResolvedPos, Fragment } from 'prosemirror-model';
3
- import { NodeViewConstructor, NodeView, MarkViewConstructor, MarkView, EditorProps, EditorView } from 'prosemirror-view';
1
+ import { MarkType as MarkType$1, MarkSpec, Mark as Mark$1, DOMOutputSpec, NodeType as NodeType$1, NodeSpec, Node as Node$1, Slice, ParseOptions, Schema, ResolvedPos, Fragment } from 'prosemirror-model';
2
+ import { EditorState, Plugin, Transaction, PluginKey } from 'prosemirror-state';
4
3
  import { Transform } from 'prosemirror-transform';
4
+ import { NodeViewConstructor, NodeView, MarkViewConstructor, MarkView, EditorProps, EditorView } from 'prosemirror-view';
5
5
 
6
6
  declare const core: string;
7
7
 
@@ -1448,7 +1448,7 @@ interface MarkConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
1448
1448
  storage: Storage;
1449
1449
  parent: ParentConfig<MarkConfig<Options, Storage>>["addAttributes"];
1450
1450
  editor?: SlideEditor;
1451
- }) => Attributes$1 | {};
1451
+ }) => Attributes | {};
1452
1452
  }
1453
1453
  declare class Mark<Options = any, Storage = any> extends Extendable<Options, Storage, MarkConfig<Options, Storage>> {
1454
1454
  type: string;
@@ -1741,7 +1741,7 @@ interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
1741
1741
  storage: Storage;
1742
1742
  parent: ParentConfig<NodeConfig<Options, Storage>>["addAttributes"];
1743
1743
  editor?: SlideEditor;
1744
- }) => Attributes$1 | {};
1744
+ }) => Attributes | {};
1745
1745
  }
1746
1746
  declare class Node<Options = any, Storage = any> extends Extendable<Options, Storage, NodeConfig<Options, Storage>> {
1747
1747
  type: string;
@@ -2031,6 +2031,7 @@ declare class Extendable<Options = any, Storage = any, Config = ExtensionConfig<
2031
2031
  configure(options?: Partial<Options>): Extendable<Options, Storage, ExtensionConfig<Options, Storage> | NodeConfig<Options, Storage> | MarkConfig<Options, Storage>>;
2032
2032
  extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = ExtensionConfig<ExtendedOptions, ExtendedStorage> | NodeConfig<ExtendedOptions, ExtendedStorage> | MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig>): Extendable<ExtendedOptions, ExtendedStorage>;
2033
2033
  }
2034
+
2034
2035
  type AnyExtension = Extendable;
2035
2036
  type Extensions = AnyExtension[];
2036
2037
  type ParentConfig<T> = Partial<{
@@ -2507,7 +2508,7 @@ type Attribute = {
2507
2508
  keepOnSplit?: boolean;
2508
2509
  isRequired?: boolean;
2509
2510
  };
2510
- type Attributes$1 = {
2511
+ type Attributes = {
2511
2512
  [key: string]: Attribute;
2512
2513
  };
2513
2514
  type ExtensionAttribute = {
@@ -2658,7 +2659,6 @@ type MarkdownParseHelpers = {
2658
2659
  attrs?: any;
2659
2660
  };
2660
2661
  };
2661
-
2662
2662
  /**
2663
2663
  * Return shape for parser-level `parse` handlers.
2664
2664
  * - a single JSON-like node
@@ -2838,85 +2838,6 @@ declare class NodePos {
2838
2838
  }): void;
2839
2839
  }
2840
2840
 
2841
- declare module "@blockslides/core" {
2842
- interface Commands<ReturnType> {
2843
- focus: {
2844
- /**
2845
- * Focus the editor at the given position.
2846
- * @param position The position to focus at.
2847
- * @param options.scrollIntoView Scroll the focused position into view after focusing
2848
- * @example editor.commands.focus()
2849
- * @example editor.commands.focus(32, { scrollIntoView: false })
2850
- */
2851
- focus: (
2852
- /**
2853
- * The position to focus at.
2854
- */
2855
- position?: FocusPosition,
2856
- /**
2857
- * Optional options
2858
- * @default { scrollIntoView: true }
2859
- */
2860
- options?: {
2861
- scrollIntoView?: boolean;
2862
- }) => ReturnType;
2863
- };
2864
- }
2865
- }
2866
-
2867
- interface InsertContentOptions {
2868
- /**
2869
- * Options for parsing the content.
2870
- */
2871
- parseOptions?: ParseOptions;
2872
- /**
2873
- * Whether to update the selection after inserting the content.
2874
- */
2875
- updateSelection?: boolean;
2876
- applyInputRules?: boolean;
2877
- applyPasteRules?: boolean;
2878
- }
2879
-
2880
- interface InsertContentAtOptions {
2881
- /**
2882
- * Options for parsing the content.
2883
- */
2884
- parseOptions?: ParseOptions;
2885
- /**
2886
- * Whether to update the selection after inserting the content.
2887
- */
2888
- updateSelection?: boolean;
2889
- /**
2890
- * Whether to apply input rules after inserting the content.
2891
- */
2892
- applyInputRules?: boolean;
2893
- /**
2894
- * Whether to apply paste rules after inserting the content.
2895
- */
2896
- applyPasteRules?: boolean;
2897
- /**
2898
- * Whether to throw an error if the content is invalid.
2899
- */
2900
- errorOnInvalidContent?: boolean;
2901
- }
2902
-
2903
- interface SetContentOptions {
2904
- /**
2905
- * Options for parsing the content.
2906
- * @default {}
2907
- */
2908
- parseOptions?: ParseOptions;
2909
- /**
2910
- * Whether to throw an error if the content is invalid.
2911
- */
2912
- errorOnInvalidContent?: boolean;
2913
- /**
2914
- * Whether to emit an update event.
2915
- * @default true
2916
- */
2917
- emitUpdate?: boolean;
2918
- }
2919
-
2920
2841
  declare module '@blockslides/core' {
2921
2842
  interface Commands<ReturnType> {
2922
2843
  blur: {
@@ -3116,6 +3037,32 @@ declare module '@blockslides/core' {
3116
3037
  }
3117
3038
  }
3118
3039
 
3040
+ declare module "@blockslides/core" {
3041
+ interface Commands<ReturnType> {
3042
+ focus: {
3043
+ /**
3044
+ * Focus the editor at the given position.
3045
+ * @param position The position to focus at.
3046
+ * @param options.scrollIntoView Scroll the focused position into view after focusing
3047
+ * @example editor.commands.focus()
3048
+ * @example editor.commands.focus(32, { scrollIntoView: false })
3049
+ */
3050
+ focus: (
3051
+ /**
3052
+ * The position to focus at.
3053
+ */
3054
+ position?: FocusPosition,
3055
+ /**
3056
+ * Optional options
3057
+ * @default { scrollIntoView: true }
3058
+ */
3059
+ options?: {
3060
+ scrollIntoView?: boolean;
3061
+ }) => ReturnType;
3062
+ };
3063
+ }
3064
+ }
3065
+
3119
3066
  declare module '@blockslides/core' {
3120
3067
  interface Commands<ReturnType> {
3121
3068
  forEach: {
@@ -3128,6 +3075,19 @@ declare module '@blockslides/core' {
3128
3075
  };
3129
3076
  }
3130
3077
  }
3078
+
3079
+ interface InsertContentOptions {
3080
+ /**
3081
+ * Options for parsing the content.
3082
+ */
3083
+ parseOptions?: ParseOptions;
3084
+ /**
3085
+ * Whether to update the selection after inserting the content.
3086
+ */
3087
+ updateSelection?: boolean;
3088
+ applyInputRules?: boolean;
3089
+ applyPasteRules?: boolean;
3090
+ }
3131
3091
  declare module '@blockslides/core' {
3132
3092
  interface Commands<ReturnType> {
3133
3093
  insertContent: {
@@ -3148,6 +3108,29 @@ declare module '@blockslides/core' {
3148
3108
  };
3149
3109
  }
3150
3110
  }
3111
+
3112
+ interface InsertContentAtOptions {
3113
+ /**
3114
+ * Options for parsing the content.
3115
+ */
3116
+ parseOptions?: ParseOptions;
3117
+ /**
3118
+ * Whether to update the selection after inserting the content.
3119
+ */
3120
+ updateSelection?: boolean;
3121
+ /**
3122
+ * Whether to apply input rules after inserting the content.
3123
+ */
3124
+ applyInputRules?: boolean;
3125
+ /**
3126
+ * Whether to apply paste rules after inserting the content.
3127
+ */
3128
+ applyPasteRules?: boolean;
3129
+ /**
3130
+ * Whether to throw an error if the content is invalid.
3131
+ */
3132
+ errorOnInvalidContent?: boolean;
3133
+ }
3151
3134
  declare module '@blockslides/core' {
3152
3135
  interface Commands<ReturnType> {
3153
3136
  insertContentAt: {
@@ -3417,6 +3400,23 @@ declare module '@blockslides/core' {
3417
3400
  };
3418
3401
  }
3419
3402
  }
3403
+
3404
+ interface SetContentOptions {
3405
+ /**
3406
+ * Options for parsing the content.
3407
+ * @default {}
3408
+ */
3409
+ parseOptions?: ParseOptions;
3410
+ /**
3411
+ * Whether to throw an error if the content is invalid.
3412
+ */
3413
+ errorOnInvalidContent?: boolean;
3414
+ /**
3415
+ * Whether to emit an update event.
3416
+ * @default true
3417
+ */
3418
+ emitUpdate?: boolean;
3419
+ }
3420
3420
  declare module '@blockslides/core' {
3421
3421
  interface Commands<ReturnType> {
3422
3422
  setContent: {
@@ -3719,6 +3719,7 @@ declare module '@blockslides/core' {
3719
3719
  };
3720
3720
  }
3721
3721
  }
3722
+
3722
3723
  declare class SlideEditor extends EventEmitter<EditorEvents> {
3723
3724
  private commandManager;
3724
3725
  extensionManager: ExtensionManager;
@@ -4131,7 +4132,6 @@ type PresetTemplate = {
4131
4132
  icon?: string;
4132
4133
  build: () => SlideNode;
4133
4134
  };
4134
- declare const a: PresetTemplate;
4135
4135
  declare const listPresetTemplates: () => PresetTemplate[];
4136
4136
  declare const buildPresetTemplate: (key: PresetKey) => SlideNode;
4137
4137
 
@@ -4141,7 +4141,6 @@ type index_PresetKey = PresetKey;
4141
4141
  type index_PresetTemplate = PresetTemplate;
4142
4142
  type index_SlideNode = SlideNode;
4143
4143
  type index_TemplatePreset = TemplatePreset;
4144
- declare const index_a: typeof a;
4145
4144
  declare const index_blocks: typeof blocks;
4146
4145
  declare const index_buildPresetTemplate: typeof buildPresetTemplate;
4147
4146
  declare const index_createTemplate: typeof createTemplate;
@@ -4150,7 +4149,7 @@ declare const index_listTemplates: typeof listTemplates;
4150
4149
  declare const index_slide: typeof slide;
4151
4150
  declare const index_templatesV1Context: typeof templatesV1Context;
4152
4151
  declare namespace index {
4153
- export { type index_Block as Block, type index_CreateTemplateInput as CreateTemplateInput, type index_PresetKey as PresetKey, type index_PresetTemplate as PresetTemplate, type index_SlideNode as SlideNode, type index_TemplatePreset as TemplatePreset, index_a as a, index_blocks as blocks, index_buildPresetTemplate as buildPresetTemplate, index_createTemplate as createTemplate, index_listPresetTemplates as listPresetTemplates, index_listTemplates as listTemplates, index_slide as slide, index_templatesV1Context as templatesV1Context };
4152
+ export { type index_Block as Block, type index_CreateTemplateInput as CreateTemplateInput, type index_PresetKey as PresetKey, type index_PresetTemplate as PresetTemplate, type index_SlideNode as SlideNode, type index_TemplatePreset as TemplatePreset, index_blocks as blocks, index_buildPresetTemplate as buildPresetTemplate, index_createTemplate as createTemplate, index_listPresetTemplates as listPresetTemplates, index_listTemplates as listTemplates, index_slide as slide, index_templatesV1Context as templatesV1Context };
4154
4153
  }
4155
4154
 
4156
4155
  export { type AlignValue, type BaseBlockAttrs, type BorderRadiusToken, type ColumnAttrs, type ImageBlockAttrs, type ImageBlockCrop, type ImageBlockSize, type JustifyValue, type SizeKey, type SlideAttrs, type SpacingToken, index$2 as bundlesV1, index$3 as contextsV1, index$1 as schemasV1, index as templatesV1 };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Transaction, EditorState, Plugin, PluginKey } from 'prosemirror-state';
2
- import { Slice, Node as Node$1, Mark as Mark$1, Schema, NodeType as NodeType$1, NodeSpec, DOMOutputSpec, MarkType as MarkType$1, MarkSpec, ParseOptions, ResolvedPos, Fragment } from 'prosemirror-model';
3
- import { NodeViewConstructor, NodeView, MarkViewConstructor, MarkView, EditorProps, EditorView } from 'prosemirror-view';
1
+ import { MarkType as MarkType$1, MarkSpec, Mark as Mark$1, DOMOutputSpec, NodeType as NodeType$1, NodeSpec, Node as Node$1, Slice, ParseOptions, Schema, ResolvedPos, Fragment } from 'prosemirror-model';
2
+ import { EditorState, Plugin, Transaction, PluginKey } from 'prosemirror-state';
4
3
  import { Transform } from 'prosemirror-transform';
4
+ import { NodeViewConstructor, NodeView, MarkViewConstructor, MarkView, EditorProps, EditorView } from 'prosemirror-view';
5
5
 
6
6
  declare const core: string;
7
7
 
@@ -1448,7 +1448,7 @@ interface MarkConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
1448
1448
  storage: Storage;
1449
1449
  parent: ParentConfig<MarkConfig<Options, Storage>>["addAttributes"];
1450
1450
  editor?: SlideEditor;
1451
- }) => Attributes$1 | {};
1451
+ }) => Attributes | {};
1452
1452
  }
1453
1453
  declare class Mark<Options = any, Storage = any> extends Extendable<Options, Storage, MarkConfig<Options, Storage>> {
1454
1454
  type: string;
@@ -1741,7 +1741,7 @@ interface NodeConfig<Options = any, Storage = any> extends ExtendableConfig<Opti
1741
1741
  storage: Storage;
1742
1742
  parent: ParentConfig<NodeConfig<Options, Storage>>["addAttributes"];
1743
1743
  editor?: SlideEditor;
1744
- }) => Attributes$1 | {};
1744
+ }) => Attributes | {};
1745
1745
  }
1746
1746
  declare class Node<Options = any, Storage = any> extends Extendable<Options, Storage, NodeConfig<Options, Storage>> {
1747
1747
  type: string;
@@ -2031,6 +2031,7 @@ declare class Extendable<Options = any, Storage = any, Config = ExtensionConfig<
2031
2031
  configure(options?: Partial<Options>): Extendable<Options, Storage, ExtensionConfig<Options, Storage> | NodeConfig<Options, Storage> | MarkConfig<Options, Storage>>;
2032
2032
  extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = ExtensionConfig<ExtendedOptions, ExtendedStorage> | NodeConfig<ExtendedOptions, ExtendedStorage> | MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: Partial<ExtendedConfig>): Extendable<ExtendedOptions, ExtendedStorage>;
2033
2033
  }
2034
+
2034
2035
  type AnyExtension = Extendable;
2035
2036
  type Extensions = AnyExtension[];
2036
2037
  type ParentConfig<T> = Partial<{
@@ -2507,7 +2508,7 @@ type Attribute = {
2507
2508
  keepOnSplit?: boolean;
2508
2509
  isRequired?: boolean;
2509
2510
  };
2510
- type Attributes$1 = {
2511
+ type Attributes = {
2511
2512
  [key: string]: Attribute;
2512
2513
  };
2513
2514
  type ExtensionAttribute = {
@@ -2658,7 +2659,6 @@ type MarkdownParseHelpers = {
2658
2659
  attrs?: any;
2659
2660
  };
2660
2661
  };
2661
-
2662
2662
  /**
2663
2663
  * Return shape for parser-level `parse` handlers.
2664
2664
  * - a single JSON-like node
@@ -2838,85 +2838,6 @@ declare class NodePos {
2838
2838
  }): void;
2839
2839
  }
2840
2840
 
2841
- declare module "@blockslides/core" {
2842
- interface Commands<ReturnType> {
2843
- focus: {
2844
- /**
2845
- * Focus the editor at the given position.
2846
- * @param position The position to focus at.
2847
- * @param options.scrollIntoView Scroll the focused position into view after focusing
2848
- * @example editor.commands.focus()
2849
- * @example editor.commands.focus(32, { scrollIntoView: false })
2850
- */
2851
- focus: (
2852
- /**
2853
- * The position to focus at.
2854
- */
2855
- position?: FocusPosition,
2856
- /**
2857
- * Optional options
2858
- * @default { scrollIntoView: true }
2859
- */
2860
- options?: {
2861
- scrollIntoView?: boolean;
2862
- }) => ReturnType;
2863
- };
2864
- }
2865
- }
2866
-
2867
- interface InsertContentOptions {
2868
- /**
2869
- * Options for parsing the content.
2870
- */
2871
- parseOptions?: ParseOptions;
2872
- /**
2873
- * Whether to update the selection after inserting the content.
2874
- */
2875
- updateSelection?: boolean;
2876
- applyInputRules?: boolean;
2877
- applyPasteRules?: boolean;
2878
- }
2879
-
2880
- interface InsertContentAtOptions {
2881
- /**
2882
- * Options for parsing the content.
2883
- */
2884
- parseOptions?: ParseOptions;
2885
- /**
2886
- * Whether to update the selection after inserting the content.
2887
- */
2888
- updateSelection?: boolean;
2889
- /**
2890
- * Whether to apply input rules after inserting the content.
2891
- */
2892
- applyInputRules?: boolean;
2893
- /**
2894
- * Whether to apply paste rules after inserting the content.
2895
- */
2896
- applyPasteRules?: boolean;
2897
- /**
2898
- * Whether to throw an error if the content is invalid.
2899
- */
2900
- errorOnInvalidContent?: boolean;
2901
- }
2902
-
2903
- interface SetContentOptions {
2904
- /**
2905
- * Options for parsing the content.
2906
- * @default {}
2907
- */
2908
- parseOptions?: ParseOptions;
2909
- /**
2910
- * Whether to throw an error if the content is invalid.
2911
- */
2912
- errorOnInvalidContent?: boolean;
2913
- /**
2914
- * Whether to emit an update event.
2915
- * @default true
2916
- */
2917
- emitUpdate?: boolean;
2918
- }
2919
-
2920
2841
  declare module '@blockslides/core' {
2921
2842
  interface Commands<ReturnType> {
2922
2843
  blur: {
@@ -3116,6 +3037,32 @@ declare module '@blockslides/core' {
3116
3037
  }
3117
3038
  }
3118
3039
 
3040
+ declare module "@blockslides/core" {
3041
+ interface Commands<ReturnType> {
3042
+ focus: {
3043
+ /**
3044
+ * Focus the editor at the given position.
3045
+ * @param position The position to focus at.
3046
+ * @param options.scrollIntoView Scroll the focused position into view after focusing
3047
+ * @example editor.commands.focus()
3048
+ * @example editor.commands.focus(32, { scrollIntoView: false })
3049
+ */
3050
+ focus: (
3051
+ /**
3052
+ * The position to focus at.
3053
+ */
3054
+ position?: FocusPosition,
3055
+ /**
3056
+ * Optional options
3057
+ * @default { scrollIntoView: true }
3058
+ */
3059
+ options?: {
3060
+ scrollIntoView?: boolean;
3061
+ }) => ReturnType;
3062
+ };
3063
+ }
3064
+ }
3065
+
3119
3066
  declare module '@blockslides/core' {
3120
3067
  interface Commands<ReturnType> {
3121
3068
  forEach: {
@@ -3128,6 +3075,19 @@ declare module '@blockslides/core' {
3128
3075
  };
3129
3076
  }
3130
3077
  }
3078
+
3079
+ interface InsertContentOptions {
3080
+ /**
3081
+ * Options for parsing the content.
3082
+ */
3083
+ parseOptions?: ParseOptions;
3084
+ /**
3085
+ * Whether to update the selection after inserting the content.
3086
+ */
3087
+ updateSelection?: boolean;
3088
+ applyInputRules?: boolean;
3089
+ applyPasteRules?: boolean;
3090
+ }
3131
3091
  declare module '@blockslides/core' {
3132
3092
  interface Commands<ReturnType> {
3133
3093
  insertContent: {
@@ -3148,6 +3108,29 @@ declare module '@blockslides/core' {
3148
3108
  };
3149
3109
  }
3150
3110
  }
3111
+
3112
+ interface InsertContentAtOptions {
3113
+ /**
3114
+ * Options for parsing the content.
3115
+ */
3116
+ parseOptions?: ParseOptions;
3117
+ /**
3118
+ * Whether to update the selection after inserting the content.
3119
+ */
3120
+ updateSelection?: boolean;
3121
+ /**
3122
+ * Whether to apply input rules after inserting the content.
3123
+ */
3124
+ applyInputRules?: boolean;
3125
+ /**
3126
+ * Whether to apply paste rules after inserting the content.
3127
+ */
3128
+ applyPasteRules?: boolean;
3129
+ /**
3130
+ * Whether to throw an error if the content is invalid.
3131
+ */
3132
+ errorOnInvalidContent?: boolean;
3133
+ }
3151
3134
  declare module '@blockslides/core' {
3152
3135
  interface Commands<ReturnType> {
3153
3136
  insertContentAt: {
@@ -3417,6 +3400,23 @@ declare module '@blockslides/core' {
3417
3400
  };
3418
3401
  }
3419
3402
  }
3403
+
3404
+ interface SetContentOptions {
3405
+ /**
3406
+ * Options for parsing the content.
3407
+ * @default {}
3408
+ */
3409
+ parseOptions?: ParseOptions;
3410
+ /**
3411
+ * Whether to throw an error if the content is invalid.
3412
+ */
3413
+ errorOnInvalidContent?: boolean;
3414
+ /**
3415
+ * Whether to emit an update event.
3416
+ * @default true
3417
+ */
3418
+ emitUpdate?: boolean;
3419
+ }
3420
3420
  declare module '@blockslides/core' {
3421
3421
  interface Commands<ReturnType> {
3422
3422
  setContent: {
@@ -3719,6 +3719,7 @@ declare module '@blockslides/core' {
3719
3719
  };
3720
3720
  }
3721
3721
  }
3722
+
3722
3723
  declare class SlideEditor extends EventEmitter<EditorEvents> {
3723
3724
  private commandManager;
3724
3725
  extensionManager: ExtensionManager;
@@ -4131,7 +4132,6 @@ type PresetTemplate = {
4131
4132
  icon?: string;
4132
4133
  build: () => SlideNode;
4133
4134
  };
4134
- declare const a: PresetTemplate;
4135
4135
  declare const listPresetTemplates: () => PresetTemplate[];
4136
4136
  declare const buildPresetTemplate: (key: PresetKey) => SlideNode;
4137
4137
 
@@ -4141,7 +4141,6 @@ type index_PresetKey = PresetKey;
4141
4141
  type index_PresetTemplate = PresetTemplate;
4142
4142
  type index_SlideNode = SlideNode;
4143
4143
  type index_TemplatePreset = TemplatePreset;
4144
- declare const index_a: typeof a;
4145
4144
  declare const index_blocks: typeof blocks;
4146
4145
  declare const index_buildPresetTemplate: typeof buildPresetTemplate;
4147
4146
  declare const index_createTemplate: typeof createTemplate;
@@ -4150,7 +4149,7 @@ declare const index_listTemplates: typeof listTemplates;
4150
4149
  declare const index_slide: typeof slide;
4151
4150
  declare const index_templatesV1Context: typeof templatesV1Context;
4152
4151
  declare namespace index {
4153
- export { type index_Block as Block, type index_CreateTemplateInput as CreateTemplateInput, type index_PresetKey as PresetKey, type index_PresetTemplate as PresetTemplate, type index_SlideNode as SlideNode, type index_TemplatePreset as TemplatePreset, index_a as a, index_blocks as blocks, index_buildPresetTemplate as buildPresetTemplate, index_createTemplate as createTemplate, index_listPresetTemplates as listPresetTemplates, index_listTemplates as listTemplates, index_slide as slide, index_templatesV1Context as templatesV1Context };
4152
+ export { type index_Block as Block, type index_CreateTemplateInput as CreateTemplateInput, type index_PresetKey as PresetKey, type index_PresetTemplate as PresetTemplate, type index_SlideNode as SlideNode, type index_TemplatePreset as TemplatePreset, index_blocks as blocks, index_buildPresetTemplate as buildPresetTemplate, index_createTemplate as createTemplate, index_listPresetTemplates as listPresetTemplates, index_listTemplates as listTemplates, index_slide as slide, index_templatesV1Context as templatesV1Context };
4154
4153
  }
4155
4154
 
4156
4155
  export { type AlignValue, type BaseBlockAttrs, type BorderRadiusToken, type ColumnAttrs, type ImageBlockAttrs, type ImageBlockCrop, type ImageBlockSize, type JustifyValue, type SizeKey, type SlideAttrs, type SpacingToken, index$2 as bundlesV1, index$3 as contextsV1, index$1 as schemasV1, index as templatesV1 };
package/dist/index.js CHANGED
@@ -999,7 +999,6 @@ ${[
999
999
  // src/templates/v1/index.ts
1000
1000
  var v1_exports4 = {};
1001
1001
  __export(v1_exports4, {
1002
- a: () => a,
1003
1002
  blocks: () => blocks,
1004
1003
  buildPresetTemplate: () => buildPresetTemplate,
1005
1004
  createTemplate: () => createTemplate,
@@ -1484,7 +1483,6 @@ var titleAndSubheader = {
1484
1483
  ]
1485
1484
  })
1486
1485
  };
1487
- var a = titleAndSubheader;
1488
1486
  var imageTextIcon = '<svg width="96" height="72" viewBox="0 0 96 72" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="6" width="84" height="60" rx="4" stroke="#D4D4D8" stroke-width="2" fill="#F9FAFB"/><rect x="16" y="26" width="24" height="16" rx="2" fill="#E5E7EB"/><rect x="21" y="31" width="14" height="6" rx="1" fill="#D4D4D8"/><rect x="46" y="24" width="34" height="6" rx="1.5" fill="#D4D4D8"/><rect x="46" y="33" width="34" height="5" rx="1.5" fill="#E5E7EB"/><rect x="46" y="41" width="28" height="5" rx="1.5" fill="#E5E7EB"/></svg>';
1489
1487
  var textImageIcon = '<svg width="96" height="72" viewBox="0 0 96 72" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="6" width="84" height="60" rx="4" stroke="#D4D4D8" stroke-width="2" fill="#F9FAFB"/><rect x="18" y="24" width="34" height="6" rx="1.5" fill="#D4D4D8"/><rect x="18" y="33" width="34" height="5" rx="1.5" fill="#E5E7EB"/><rect x="18" y="41" width="28" height="5" rx="1.5" fill="#E5E7EB"/><rect x="56" y="26" width="24" height="16" rx="2" fill="#E5E7EB"/><rect x="61" y="31" width="14" height="6" rx="1" fill="#D4D4D8"/></svg>';
1490
1488
  var twoColumnsIcon = '<svg width="96" height="72" viewBox="0 0 96 72" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="6" width="84" height="60" rx="4" stroke="#D4D4D8" stroke-width="2" fill="#F9FAFB"/><rect x="18" y="22" width="26" height="6" rx="1.5" fill="#D4D4D8"/><rect x="18" y="31" width="26" height="5" rx="1.5" fill="#E5E7EB"/><rect x="18" y="39" width="22" height="5" rx="1.5" fill="#E5E7EB"/><rect x="52" y="22" width="26" height="6" rx="1.5" fill="#D4D4D8"/><rect x="52" y="31" width="26" height="5" rx="1.5" fill="#E5E7EB"/><rect x="52" y="39" width="22" height="5" rx="1.5" fill="#E5E7EB"/></svg>';