@onderwijsin/nuxt-loops-renderer 0.2.5 → 0.2.6
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 +6 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/types.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -88,8 +88,9 @@ The renderer supports the LMX presentation nodes used by Loops, including:
|
|
|
88
88
|
- sections, columns, reusable components, and conditional sections;
|
|
89
89
|
- safe URL handling, merge-tag resolution, and constrained inline styles.
|
|
90
90
|
|
|
91
|
-
Set `debug: true` during development to
|
|
92
|
-
|
|
91
|
+
Set `debug: true` during development to render unsupported nodes as an inline developer-only `<pre>`
|
|
92
|
+
block. This is not a Nuxt development overlay or production error surface. Unsupported content is
|
|
93
|
+
not rendered as raw HTML.
|
|
93
94
|
|
|
94
95
|
```vue
|
|
95
96
|
<LoopsRenderer :data="parsedAst" :variables="variables" :config="{ debug: import.meta.dev }" />
|
|
@@ -153,6 +154,9 @@ needed by the current presentation to the client renderer.
|
|
|
153
154
|
- Nuxt 4
|
|
154
155
|
- Node.js 22 or newer
|
|
155
156
|
|
|
157
|
+
Developed and tested against Node.js 24 and Nuxt 4.5.x. Versions outside the current CI matrix are
|
|
158
|
+
not continuously tested. Nuxt 3 is not guaranteed.
|
|
159
|
+
|
|
156
160
|
## License
|
|
157
161
|
|
|
158
162
|
MIT
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineNuxtModule, useLogger, createResolver, addComponentsDir } from '@nuxt/kit';
|
|
2
2
|
import { resolveModuleName, resolveLoggerScope, moduleSetup, transpileRuntime, moduleDependenciesWhenEnabled } from '@onderwijsin/nuxt-module-utils/shared';
|
|
3
3
|
|
|
4
|
-
const version = "0.2.
|
|
4
|
+
const version = "0.2.6";
|
|
5
5
|
|
|
6
6
|
const MODULE_KEY = "loopsRenderer";
|
|
7
7
|
const MODULE_NAME = resolveModuleName(MODULE_KEY);
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EvaluateLoopsLmxOptions } from "@onderwijsin/loops-core";
|
|
2
2
|
/** Options shared by the root renderer and every recursive LMX node renderer. */
|
|
3
3
|
export interface LoopsRendererConfig {
|
|
4
|
-
/** Render unsupported nodes in
|
|
4
|
+
/** Render unsupported nodes in an inline developer-only block. */
|
|
5
5
|
debug?: boolean;
|
|
6
6
|
/** Overrides the module default for applying LMX node styles inline. */
|
|
7
7
|
applyInlineStyles?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onderwijsin/nuxt-loops-renderer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Nuxt module for rendering Loops LMX email content.",
|
|
5
5
|
"homepage": "https://github.com/onderwijsin/nuxt-modules#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"simple-icons": "16.28.0",
|
|
44
44
|
"tailwindcss": "4.3.3",
|
|
45
45
|
"zod": "4.4.3",
|
|
46
|
-
"@onderwijsin/nuxt-module-utils": "^0.2.
|
|
46
|
+
"@onderwijsin/nuxt-module-utils": "^0.2.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@nuxt/module-builder": "1.0.3",
|