@keycloakify/angular-email 0.0.1-rc.2 → 0.0.1-rc.4
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/fesm2022/keycloakify-angular-email.mjs +261 -84
- package/fesm2022/keycloakify-angular-email.mjs.map +1 -1
- package/lib/components/background/background.component.d.ts +4 -3
- package/lib/components/body/body.component.d.ts +3 -1
- package/lib/components/button/button.component.d.ts +5 -4
- package/lib/components/column/column.component.d.ts +3 -2
- package/lib/components/container/container.component.d.ts +4 -3
- package/lib/components/heading/heading.component.d.ts +4 -3
- package/lib/components/hr/hr.component.d.ts +4 -3
- package/lib/components/html/html.component.d.ts +3 -1
- package/lib/components/img/img.component.d.ts +4 -3
- package/lib/components/link/link.component.d.ts +4 -3
- package/lib/components/preview/preview.component.d.ts +2 -1
- package/lib/components/section/section.component.d.ts +4 -3
- package/lib/components/text/text.component.d.ts +4 -3
- package/lib/render.d.ts +15 -1
- package/package.json +4 -3
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TextComponent {
|
|
3
|
-
$
|
|
3
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
4
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
4
5
|
$disableDefaultStyle: import("@angular/core").InputSignal<boolean>;
|
|
5
|
-
$
|
|
6
|
+
$textStyle: import("@angular/core").Signal<{
|
|
6
7
|
fontSize?: string | undefined;
|
|
7
8
|
lineHeight?: string | undefined;
|
|
8
9
|
margin?: string | undefined;
|
|
9
10
|
}>;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "ng-email-text", never, { "$
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "ng-email-text", never, { "$style": { "alias": "style"; "required": false; "isSignal": true; }; "$styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "$disableDefaultStyle": { "alias": "disableDefaultStyle"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
13
|
}
|
package/lib/render.d.ts
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
+
import { Config } from 'tailwindcss';
|
|
2
3
|
type Render = {
|
|
3
4
|
component: Type<unknown>;
|
|
4
5
|
/** Component selector */
|
|
5
6
|
selector: string;
|
|
7
|
+
props?: Record<string, any>;
|
|
6
8
|
options?: {
|
|
7
9
|
plainText?: boolean;
|
|
8
10
|
pretty?: boolean;
|
|
11
|
+
cssFilePaths?: string[];
|
|
12
|
+
/** path or configuration object */
|
|
13
|
+
tailwindConfig?: string | Partial<Config>;
|
|
9
14
|
};
|
|
10
15
|
};
|
|
11
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Renders an Angular component to HTML and applies transformations.
|
|
18
|
+
*
|
|
19
|
+
* @param component - The Angular component to render.
|
|
20
|
+
* @param selector - The Component selector.
|
|
21
|
+
* @param options - Optional rendering options.
|
|
22
|
+
*
|
|
23
|
+
* @returns {Promise<string>} The rendered HTML or plain text.
|
|
24
|
+
*/
|
|
25
|
+
export declare const render: ({ component, selector, props, options }: Render) => Promise<string>;
|
|
12
26
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keycloakify/angular-email",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Angular Email Builder",
|
|
@@ -26,10 +26,11 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"tslib": "^2.3.0",
|
|
28
28
|
"html-to-text": "^9.0.5",
|
|
29
|
-
"pretty": "^2.0.0",
|
|
30
29
|
"cheerio": "^1.0.0",
|
|
31
30
|
"@angular/build": "^19.1.0",
|
|
32
|
-
"@angular/platform-server": "^19.1.0"
|
|
31
|
+
"@angular/platform-server": "^19.1.0",
|
|
32
|
+
"@maizzle/framework": "^5.0.0",
|
|
33
|
+
"tailwindcss-preset-email": "^1.4.0"
|
|
33
34
|
},
|
|
34
35
|
"sideEffects": false,
|
|
35
36
|
"publishConfig": {
|