@covalent/email-templates 10.4.0-beta.3 → 11.0.0-beta.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/index.js +1071 -1060
- package/index.mjs +22633 -22620
- package/package.json +1 -1
- package/email-templates.d.ts +0 -9
- package/index.d.ts +0 -1
- package/utils/mjml-utils.d.ts +0 -7
- package/utils/style-utils.d.ts +0 -16
package/package.json
CHANGED
package/email-templates.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface EmailTemplate {
|
|
2
|
-
category: 'marketing' | 'customer';
|
|
3
|
-
content: string;
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const getCssStyles: () => string;
|
|
7
|
-
export declare const getEmailTemplates: () => EmailTemplate[];
|
|
8
|
-
export declare const getMjmlStyles: () => string;
|
|
9
|
-
export declare const getHtmlTemplate: (mjml: string) => string;
|
package/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './email-templates';
|
package/utils/mjml-utils.d.ts
DELETED
package/utils/style-utils.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Strips the first :root { ... } block from a given CSS string.
|
|
3
|
-
*
|
|
4
|
-
* @param css - The CSS file content as a string.
|
|
5
|
-
* @returns The CSS content without the first :root { ... } block.
|
|
6
|
-
*/
|
|
7
|
-
export declare const stripFirstRootSection: (css: string) => string;
|
|
8
|
-
/**
|
|
9
|
-
* Inject predefined MJML and CSS styles into the provided MJML template.
|
|
10
|
-
*
|
|
11
|
-
* @param {string} mjml - The MJML template string.
|
|
12
|
-
* @param {string} cssStyles - The CSS styles to be injected into the MJML template.
|
|
13
|
-
* @param {string} mjmlStyles - The MJML attributes or styles to be injected into the MJML template.
|
|
14
|
-
* @returns {string} - The MJML template with injected styles.
|
|
15
|
-
*/
|
|
16
|
-
export declare const injectPredefinedStyles: (mjml: string, cssStyles: string, mjmlStyles: string) => string;
|