@daisychainapp/maily-to-core 0.4.4 → 0.4.5
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/blocks/index.cjs +12 -0
- package/dist/blocks/index.cjs.map +1 -1
- package/dist/blocks/index.mjs +12 -0
- package/dist/blocks/index.mjs.map +1 -1
- package/dist/extensions/index.cjs +2945 -2950
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +6 -3
- package/dist/extensions/index.d.ts +6 -3
- package/dist/extensions/index.mjs +3023 -3029
- package/dist/extensions/index.mjs.map +1 -1
- package/dist/index.cjs +1205 -1145
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +161 -3
- package/dist/index.css.map +1 -1
- package/dist/index.mjs +879 -819
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -140,8 +140,8 @@ declare const LogoExtension: _tiptap_react.Node<_tiptap_extension_image.ImageOpt
|
|
|
140
140
|
declare const DEFAULT_BUTTON_ALIGNMENT: AllowedLogoAlignment;
|
|
141
141
|
declare const DEFAULT_BUTTON_VARIANT: AllowedButtonVariant;
|
|
142
142
|
declare const DEFAULT_BUTTON_BORDER_RADIUS: AllowedButtonBorderRadius;
|
|
143
|
-
declare const DEFAULT_BUTTON_BACKGROUND_COLOR
|
|
144
|
-
declare const DEFAULT_BUTTON_TEXT_COLOR
|
|
143
|
+
declare const DEFAULT_BUTTON_BACKGROUND_COLOR = "#000000";
|
|
144
|
+
declare const DEFAULT_BUTTON_TEXT_COLOR = "#ffffff";
|
|
145
145
|
declare const DEFAULT_BUTTON_PADDING_TOP: null;
|
|
146
146
|
declare const DEFAULT_BUTTON_PADDING_RIGHT: null;
|
|
147
147
|
declare const DEFAULT_BUTTON_PADDING_BOTTOM: null;
|
|
@@ -150,6 +150,8 @@ declare const allowedButtonVariant: readonly ["filled", "outline"];
|
|
|
150
150
|
type AllowedButtonVariant = (typeof allowedButtonVariant)[number];
|
|
151
151
|
declare const allowedButtonBorderRadius: readonly ["sharp", "smooth", "round"];
|
|
152
152
|
type AllowedButtonBorderRadius = (typeof allowedButtonBorderRadius)[number];
|
|
153
|
+
declare const allowedButtonSize: readonly ["small", "medium", "large"];
|
|
154
|
+
type AllowedButtonSize = (typeof allowedButtonSize)[number];
|
|
153
155
|
type ButtonAttributes = {
|
|
154
156
|
text: string;
|
|
155
157
|
isTextVariable: boolean;
|
|
@@ -158,6 +160,7 @@ type ButtonAttributes = {
|
|
|
158
160
|
alignment: AllowedLogoAlignment;
|
|
159
161
|
variant: AllowedButtonVariant;
|
|
160
162
|
borderRadius: AllowedButtonBorderRadius;
|
|
163
|
+
size: AllowedButtonSize;
|
|
161
164
|
buttonColor: string;
|
|
162
165
|
textColor: string;
|
|
163
166
|
showIfKey: string;
|
|
@@ -434,4 +437,4 @@ declare module '@tiptap/core' {
|
|
|
434
437
|
}
|
|
435
438
|
declare const HTMLCodeBlockExtension: _tiptap_react.Node<_tiptap_extension_code_block_lowlight.CodeBlockLowlightOptions, any>;
|
|
436
439
|
|
|
437
|
-
export { type AllowedButtonBorderRadius, type AllowedButtonVariant, type AllowedColumnVerticalAlign, type AllowedLogoAlignment, type AllowedLogoSize, type ButtonAttributes, ButtonExtension, Color, ColumnExtension, ColumnsExtension, DEFAULT_BUTTON_ALIGNMENT, DEFAULT_BUTTON_BACKGROUND_COLOR, DEFAULT_BUTTON_BORDER_RADIUS, DEFAULT_BUTTON_PADDING_BOTTOM, DEFAULT_BUTTON_PADDING_LEFT, DEFAULT_BUTTON_PADDING_RIGHT, DEFAULT_BUTTON_PADDING_TOP, DEFAULT_BUTTON_TEXT_COLOR, DEFAULT_BUTTON_VARIANT, DEFAULT_COLUMNS_GAP, DEFAULT_COLUMN_VERTICAL_ALIGN, DEFAULT_COLUMN_WIDTH, DEFAULT_LOGO_SIZE, DEFAULT_RENDER_VARIABLE_FUNCTION, DEFAULT_SECTION_ALIGN, DEFAULT_SECTION_BACKGROUND_COLOR, DEFAULT_SECTION_BORDER_COLOR, DEFAULT_SECTION_BORDER_RADIUS, DEFAULT_SECTION_BORDER_WIDTH, DEFAULT_SECTION_MARGIN_BOTTOM, DEFAULT_SECTION_MARGIN_LEFT, DEFAULT_SECTION_MARGIN_RIGHT, DEFAULT_SECTION_MARGIN_TOP, DEFAULT_SECTION_PADDING_BOTTOM, DEFAULT_SECTION_PADDING_LEFT, DEFAULT_SECTION_PADDING_RIGHT, DEFAULT_SECTION_PADDING_TOP, DEFAULT_SECTION_SHOW_IF_KEY, DEFAULT_SPACER_HEIGHT, DEFAULT_VARIABLES, DEFAULT_VARIABLE_SUGGESTION_POPOVER, DEFAULT_VARIABLE_TRIGGER_CHAR, Footer, type FooterOptions, HTMLCodeBlockExtension, HorizontalRule, type HtmlCodeBlockAttributes, ImageExtension, ImageUploadExtension, type ImageUploadOptions, ImageUploadPlugin, type ImageUploadPluginOptions, type ImageUploadStorage, LinkExtension, type LogoAttributes, LogoExtension, MailyKit, type MailyKitOptions, PlaceholderExtension, type RenderVariableFunction, type RenderVariableOptions, RepeatExtension, SectionExtension, SlashCommandExtension, type SlashCommandOptions, Spacer, type SpacerOptions, type Variable, VariableExtension, type VariableFunctionOptions, VariableList, type VariableListProps, type VariableOptions, VariablePluginKey, type VariableStorage, type Variables, type VariablesFunction, allowedButtonBorderRadius, allowedButtonVariant, allowedLogoAlignment, allowedLogoSize, getSlashCommandSuggestions, getVariableSuggestions, logoSizes, useImageUploadOptions };
|
|
440
|
+
export { type AllowedButtonBorderRadius, type AllowedButtonSize, type AllowedButtonVariant, type AllowedColumnVerticalAlign, type AllowedLogoAlignment, type AllowedLogoSize, type ButtonAttributes, ButtonExtension, Color, ColumnExtension, ColumnsExtension, DEFAULT_BUTTON_ALIGNMENT, DEFAULT_BUTTON_BACKGROUND_COLOR, DEFAULT_BUTTON_BORDER_RADIUS, DEFAULT_BUTTON_PADDING_BOTTOM, DEFAULT_BUTTON_PADDING_LEFT, DEFAULT_BUTTON_PADDING_RIGHT, DEFAULT_BUTTON_PADDING_TOP, DEFAULT_BUTTON_TEXT_COLOR, DEFAULT_BUTTON_VARIANT, DEFAULT_COLUMNS_GAP, DEFAULT_COLUMN_VERTICAL_ALIGN, DEFAULT_COLUMN_WIDTH, DEFAULT_LOGO_SIZE, DEFAULT_RENDER_VARIABLE_FUNCTION, DEFAULT_SECTION_ALIGN, DEFAULT_SECTION_BACKGROUND_COLOR, DEFAULT_SECTION_BORDER_COLOR, DEFAULT_SECTION_BORDER_RADIUS, DEFAULT_SECTION_BORDER_WIDTH, DEFAULT_SECTION_MARGIN_BOTTOM, DEFAULT_SECTION_MARGIN_LEFT, DEFAULT_SECTION_MARGIN_RIGHT, DEFAULT_SECTION_MARGIN_TOP, DEFAULT_SECTION_PADDING_BOTTOM, DEFAULT_SECTION_PADDING_LEFT, DEFAULT_SECTION_PADDING_RIGHT, DEFAULT_SECTION_PADDING_TOP, DEFAULT_SECTION_SHOW_IF_KEY, DEFAULT_SPACER_HEIGHT, DEFAULT_VARIABLES, DEFAULT_VARIABLE_SUGGESTION_POPOVER, DEFAULT_VARIABLE_TRIGGER_CHAR, Footer, type FooterOptions, HTMLCodeBlockExtension, HorizontalRule, type HtmlCodeBlockAttributes, ImageExtension, ImageUploadExtension, type ImageUploadOptions, ImageUploadPlugin, type ImageUploadPluginOptions, type ImageUploadStorage, LinkExtension, type LogoAttributes, LogoExtension, MailyKit, type MailyKitOptions, PlaceholderExtension, type RenderVariableFunction, type RenderVariableOptions, RepeatExtension, SectionExtension, SlashCommandExtension, type SlashCommandOptions, Spacer, type SpacerOptions, type Variable, VariableExtension, type VariableFunctionOptions, VariableList, type VariableListProps, type VariableOptions, VariablePluginKey, type VariableStorage, type Variables, type VariablesFunction, allowedButtonBorderRadius, allowedButtonSize, allowedButtonVariant, allowedLogoAlignment, allowedLogoSize, getSlashCommandSuggestions, getVariableSuggestions, logoSizes, useImageUploadOptions };
|
|
@@ -140,8 +140,8 @@ declare const LogoExtension: _tiptap_react.Node<_tiptap_extension_image.ImageOpt
|
|
|
140
140
|
declare const DEFAULT_BUTTON_ALIGNMENT: AllowedLogoAlignment;
|
|
141
141
|
declare const DEFAULT_BUTTON_VARIANT: AllowedButtonVariant;
|
|
142
142
|
declare const DEFAULT_BUTTON_BORDER_RADIUS: AllowedButtonBorderRadius;
|
|
143
|
-
declare const DEFAULT_BUTTON_BACKGROUND_COLOR
|
|
144
|
-
declare const DEFAULT_BUTTON_TEXT_COLOR
|
|
143
|
+
declare const DEFAULT_BUTTON_BACKGROUND_COLOR = "#000000";
|
|
144
|
+
declare const DEFAULT_BUTTON_TEXT_COLOR = "#ffffff";
|
|
145
145
|
declare const DEFAULT_BUTTON_PADDING_TOP: null;
|
|
146
146
|
declare const DEFAULT_BUTTON_PADDING_RIGHT: null;
|
|
147
147
|
declare const DEFAULT_BUTTON_PADDING_BOTTOM: null;
|
|
@@ -150,6 +150,8 @@ declare const allowedButtonVariant: readonly ["filled", "outline"];
|
|
|
150
150
|
type AllowedButtonVariant = (typeof allowedButtonVariant)[number];
|
|
151
151
|
declare const allowedButtonBorderRadius: readonly ["sharp", "smooth", "round"];
|
|
152
152
|
type AllowedButtonBorderRadius = (typeof allowedButtonBorderRadius)[number];
|
|
153
|
+
declare const allowedButtonSize: readonly ["small", "medium", "large"];
|
|
154
|
+
type AllowedButtonSize = (typeof allowedButtonSize)[number];
|
|
153
155
|
type ButtonAttributes = {
|
|
154
156
|
text: string;
|
|
155
157
|
isTextVariable: boolean;
|
|
@@ -158,6 +160,7 @@ type ButtonAttributes = {
|
|
|
158
160
|
alignment: AllowedLogoAlignment;
|
|
159
161
|
variant: AllowedButtonVariant;
|
|
160
162
|
borderRadius: AllowedButtonBorderRadius;
|
|
163
|
+
size: AllowedButtonSize;
|
|
161
164
|
buttonColor: string;
|
|
162
165
|
textColor: string;
|
|
163
166
|
showIfKey: string;
|
|
@@ -434,4 +437,4 @@ declare module '@tiptap/core' {
|
|
|
434
437
|
}
|
|
435
438
|
declare const HTMLCodeBlockExtension: _tiptap_react.Node<_tiptap_extension_code_block_lowlight.CodeBlockLowlightOptions, any>;
|
|
436
439
|
|
|
437
|
-
export { type AllowedButtonBorderRadius, type AllowedButtonVariant, type AllowedColumnVerticalAlign, type AllowedLogoAlignment, type AllowedLogoSize, type ButtonAttributes, ButtonExtension, Color, ColumnExtension, ColumnsExtension, DEFAULT_BUTTON_ALIGNMENT, DEFAULT_BUTTON_BACKGROUND_COLOR, DEFAULT_BUTTON_BORDER_RADIUS, DEFAULT_BUTTON_PADDING_BOTTOM, DEFAULT_BUTTON_PADDING_LEFT, DEFAULT_BUTTON_PADDING_RIGHT, DEFAULT_BUTTON_PADDING_TOP, DEFAULT_BUTTON_TEXT_COLOR, DEFAULT_BUTTON_VARIANT, DEFAULT_COLUMNS_GAP, DEFAULT_COLUMN_VERTICAL_ALIGN, DEFAULT_COLUMN_WIDTH, DEFAULT_LOGO_SIZE, DEFAULT_RENDER_VARIABLE_FUNCTION, DEFAULT_SECTION_ALIGN, DEFAULT_SECTION_BACKGROUND_COLOR, DEFAULT_SECTION_BORDER_COLOR, DEFAULT_SECTION_BORDER_RADIUS, DEFAULT_SECTION_BORDER_WIDTH, DEFAULT_SECTION_MARGIN_BOTTOM, DEFAULT_SECTION_MARGIN_LEFT, DEFAULT_SECTION_MARGIN_RIGHT, DEFAULT_SECTION_MARGIN_TOP, DEFAULT_SECTION_PADDING_BOTTOM, DEFAULT_SECTION_PADDING_LEFT, DEFAULT_SECTION_PADDING_RIGHT, DEFAULT_SECTION_PADDING_TOP, DEFAULT_SECTION_SHOW_IF_KEY, DEFAULT_SPACER_HEIGHT, DEFAULT_VARIABLES, DEFAULT_VARIABLE_SUGGESTION_POPOVER, DEFAULT_VARIABLE_TRIGGER_CHAR, Footer, type FooterOptions, HTMLCodeBlockExtension, HorizontalRule, type HtmlCodeBlockAttributes, ImageExtension, ImageUploadExtension, type ImageUploadOptions, ImageUploadPlugin, type ImageUploadPluginOptions, type ImageUploadStorage, LinkExtension, type LogoAttributes, LogoExtension, MailyKit, type MailyKitOptions, PlaceholderExtension, type RenderVariableFunction, type RenderVariableOptions, RepeatExtension, SectionExtension, SlashCommandExtension, type SlashCommandOptions, Spacer, type SpacerOptions, type Variable, VariableExtension, type VariableFunctionOptions, VariableList, type VariableListProps, type VariableOptions, VariablePluginKey, type VariableStorage, type Variables, type VariablesFunction, allowedButtonBorderRadius, allowedButtonVariant, allowedLogoAlignment, allowedLogoSize, getSlashCommandSuggestions, getVariableSuggestions, logoSizes, useImageUploadOptions };
|
|
440
|
+
export { type AllowedButtonBorderRadius, type AllowedButtonSize, type AllowedButtonVariant, type AllowedColumnVerticalAlign, type AllowedLogoAlignment, type AllowedLogoSize, type ButtonAttributes, ButtonExtension, Color, ColumnExtension, ColumnsExtension, DEFAULT_BUTTON_ALIGNMENT, DEFAULT_BUTTON_BACKGROUND_COLOR, DEFAULT_BUTTON_BORDER_RADIUS, DEFAULT_BUTTON_PADDING_BOTTOM, DEFAULT_BUTTON_PADDING_LEFT, DEFAULT_BUTTON_PADDING_RIGHT, DEFAULT_BUTTON_PADDING_TOP, DEFAULT_BUTTON_TEXT_COLOR, DEFAULT_BUTTON_VARIANT, DEFAULT_COLUMNS_GAP, DEFAULT_COLUMN_VERTICAL_ALIGN, DEFAULT_COLUMN_WIDTH, DEFAULT_LOGO_SIZE, DEFAULT_RENDER_VARIABLE_FUNCTION, DEFAULT_SECTION_ALIGN, DEFAULT_SECTION_BACKGROUND_COLOR, DEFAULT_SECTION_BORDER_COLOR, DEFAULT_SECTION_BORDER_RADIUS, DEFAULT_SECTION_BORDER_WIDTH, DEFAULT_SECTION_MARGIN_BOTTOM, DEFAULT_SECTION_MARGIN_LEFT, DEFAULT_SECTION_MARGIN_RIGHT, DEFAULT_SECTION_MARGIN_TOP, DEFAULT_SECTION_PADDING_BOTTOM, DEFAULT_SECTION_PADDING_LEFT, DEFAULT_SECTION_PADDING_RIGHT, DEFAULT_SECTION_PADDING_TOP, DEFAULT_SECTION_SHOW_IF_KEY, DEFAULT_SPACER_HEIGHT, DEFAULT_VARIABLES, DEFAULT_VARIABLE_SUGGESTION_POPOVER, DEFAULT_VARIABLE_TRIGGER_CHAR, Footer, type FooterOptions, HTMLCodeBlockExtension, HorizontalRule, type HtmlCodeBlockAttributes, ImageExtension, ImageUploadExtension, type ImageUploadOptions, ImageUploadPlugin, type ImageUploadPluginOptions, type ImageUploadStorage, LinkExtension, type LogoAttributes, LogoExtension, MailyKit, type MailyKitOptions, PlaceholderExtension, type RenderVariableFunction, type RenderVariableOptions, RepeatExtension, SectionExtension, SlashCommandExtension, type SlashCommandOptions, Spacer, type SpacerOptions, type Variable, VariableExtension, type VariableFunctionOptions, VariableList, type VariableListProps, type VariableOptions, VariablePluginKey, type VariableStorage, type Variables, type VariablesFunction, allowedButtonBorderRadius, allowedButtonSize, allowedButtonVariant, allowedLogoAlignment, allowedLogoSize, getSlashCommandSuggestions, getVariableSuggestions, logoSizes, useImageUploadOptions };
|