@blockslides/ai-context 0.3.0 → 0.3.2
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.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/templates/v1/presetTemplateBuilder.ts +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -4131,7 +4131,6 @@ type PresetTemplate = {
|
|
|
4131
4131
|
icon?: string;
|
|
4132
4132
|
build: () => SlideNode;
|
|
4133
4133
|
};
|
|
4134
|
-
declare const a: PresetTemplate;
|
|
4135
4134
|
declare const listPresetTemplates: () => PresetTemplate[];
|
|
4136
4135
|
declare const buildPresetTemplate: (key: PresetKey) => SlideNode;
|
|
4137
4136
|
|
|
@@ -4141,7 +4140,6 @@ type index_PresetKey = PresetKey;
|
|
|
4141
4140
|
type index_PresetTemplate = PresetTemplate;
|
|
4142
4141
|
type index_SlideNode = SlideNode;
|
|
4143
4142
|
type index_TemplatePreset = TemplatePreset;
|
|
4144
|
-
declare const index_a: typeof a;
|
|
4145
4143
|
declare const index_blocks: typeof blocks;
|
|
4146
4144
|
declare const index_buildPresetTemplate: typeof buildPresetTemplate;
|
|
4147
4145
|
declare const index_createTemplate: typeof createTemplate;
|
|
@@ -4150,7 +4148,7 @@ declare const index_listTemplates: typeof listTemplates;
|
|
|
4150
4148
|
declare const index_slide: typeof slide;
|
|
4151
4149
|
declare const index_templatesV1Context: typeof templatesV1Context;
|
|
4152
4150
|
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,
|
|
4151
|
+
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
4152
|
}
|
|
4155
4153
|
|
|
4156
4154
|
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
|
@@ -4131,7 +4131,6 @@ type PresetTemplate = {
|
|
|
4131
4131
|
icon?: string;
|
|
4132
4132
|
build: () => SlideNode;
|
|
4133
4133
|
};
|
|
4134
|
-
declare const a: PresetTemplate;
|
|
4135
4134
|
declare const listPresetTemplates: () => PresetTemplate[];
|
|
4136
4135
|
declare const buildPresetTemplate: (key: PresetKey) => SlideNode;
|
|
4137
4136
|
|
|
@@ -4141,7 +4140,6 @@ type index_PresetKey = PresetKey;
|
|
|
4141
4140
|
type index_PresetTemplate = PresetTemplate;
|
|
4142
4141
|
type index_SlideNode = SlideNode;
|
|
4143
4142
|
type index_TemplatePreset = TemplatePreset;
|
|
4144
|
-
declare const index_a: typeof a;
|
|
4145
4143
|
declare const index_blocks: typeof blocks;
|
|
4146
4144
|
declare const index_buildPresetTemplate: typeof buildPresetTemplate;
|
|
4147
4145
|
declare const index_createTemplate: typeof createTemplate;
|
|
@@ -4150,7 +4148,7 @@ declare const index_listTemplates: typeof listTemplates;
|
|
|
4150
4148
|
declare const index_slide: typeof slide;
|
|
4151
4149
|
declare const index_templatesV1Context: typeof templatesV1Context;
|
|
4152
4150
|
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,
|
|
4151
|
+
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
4152
|
}
|
|
4155
4153
|
|
|
4156
4154
|
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>';
|