@keycloakify/angular-email 0.0.1 → 0.0.3
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/README.md +7 -3
- package/bin/build.mjs +4 -3
- package/fesm2022/keycloakify-angular-email-tailwindcss-preset-email.mjs +1229 -0
- package/fesm2022/keycloakify-angular-email-tailwindcss-preset-email.mjs.map +1 -0
- package/fesm2022/keycloakify-angular-email.mjs +58 -59
- package/fesm2022/keycloakify-angular-email.mjs.map +1 -1
- package/lib/components/button/button.component.d.ts +2 -2
- package/lib/render.d.ts +1 -1
- package/node/index.cjs +1 -1
- package/node/index.js +1 -1
- package/package.json +6 -2
- package/tailwindcss-preset-email/filters.d.ts +95 -0
- package/tailwindcss-preset-email/index.d.ts +1 -0
- package/tailwindcss-preset-email/msoColors.d.ts +209 -0
- package/tailwindcss-preset-email/tailwindcss-email-variants.d.ts +5 -0
- package/tailwindcss-preset-email/tailwindcss-mso.d.ts +8 -0
- package/tailwindcss-preset-email/tailwindcss-preset-email.d.ts +187 -0
package/README.md
CHANGED
|
@@ -109,9 +109,9 @@ export default defineConfig(({ mode }) => ({
|
|
|
109
109
|
cwd: import.meta.dirname,
|
|
110
110
|
esbuild: {
|
|
111
111
|
packages: 'bundle',
|
|
112
|
-
external: ['juice', 'postcss'],
|
|
113
|
-
format: '
|
|
114
|
-
outExtension: { '.js': '.
|
|
112
|
+
external: ['juice', 'postcss', 'tailwindcss-v3'],
|
|
113
|
+
format: 'esm',
|
|
114
|
+
outExtension: { '.js': '.mjs' },
|
|
115
115
|
plugins: [angularEsbuildPlugin(import.meta.dirname)],
|
|
116
116
|
},
|
|
117
117
|
});
|
|
@@ -219,6 +219,10 @@ toHTML<Input extends Record<string, any>>(options: {
|
|
|
219
219
|
}) => Promise<string>
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
+
### @keycloakify/angular-email/tailwindcss-preset-email
|
|
223
|
+
|
|
224
|
+
Just a tailwind v3 preset, inspired by [@maizzle/tailwindcss-preset-email](https://github.com/maizzle/tailwindcss-preset-email)
|
|
225
|
+
|
|
222
226
|
## Contributing
|
|
223
227
|
|
|
224
228
|
Contributions are welcome! Feel free to open an issue or submit a pull request on [GitHub](https://github.com/keycloakify/angular-email).
|
package/bin/build.mjs
CHANGED
|
@@ -15,14 +15,15 @@ async function bundle(entryPoints, cwd, outdir) {
|
|
|
15
15
|
const result = await esbuild.build({
|
|
16
16
|
entryPoints: entryPoints,
|
|
17
17
|
bundle: true,
|
|
18
|
+
splitting: true,
|
|
18
19
|
outdir,
|
|
19
20
|
absWorkingDir: cwd,
|
|
20
21
|
platform: 'node',
|
|
21
22
|
sourcemap: true,
|
|
22
23
|
packages: 'bundle',
|
|
23
|
-
external: ['juice', 'postcss'],
|
|
24
|
-
format: '
|
|
25
|
-
outExtension: { '.js': '.
|
|
24
|
+
external: ['juice', 'postcss', 'tailwindcss-v3'],
|
|
25
|
+
format: 'esm',
|
|
26
|
+
outExtension: { '.js': '.mjs' },
|
|
26
27
|
target: 'node20',
|
|
27
28
|
plugins: [angularEsbuildPlugin(cwd)],
|
|
28
29
|
metafile: true,
|