nuxt-strapi-blocks-renderer 1.0.10 → 1.0.12

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 CHANGED
@@ -116,9 +116,10 @@ paragraph node component would be named `MyCustomBlocksPrefixParagraphNode`.
116
116
 
117
117
  #### Other Custom Tags
118
118
 
119
- You can apply similar customizations to all other HTML tags used by the renderer.
119
+ You can apply similar customizations to all other HTML tags used by the renderer:
120
120
 
121
- ##### Headings
121
+ <details>
122
+ <summary>Headings</summary>
122
123
 
123
124
  Custom heading tags (`<h1>`, `<h2>`, `<h3>`, etc.):
124
125
 
@@ -139,8 +140,10 @@ Custom heading tags (`<h1>`, `<h2>`, `<h3>`, etc.):
139
140
  ```
140
141
 
141
142
  This pattern also extends to the `h3`, `h4`, `h5` and `h6` tags.
143
+ </details>
142
144
 
143
- ##### Lists
145
+ <details>
146
+ <summary>Lists</summary>
144
147
 
145
148
  Custom list tags (`<ol>`, `<ul>` and `<li>`):
146
149
 
@@ -166,8 +169,10 @@ Custom list tags (`<ol>`, `<ul>` and `<li>`):
166
169
  </li>
167
170
  </template>
168
171
  ```
172
+ </details>
169
173
 
170
- ##### Blockquotes and Codes
174
+ <details>
175
+ <summary>Blockquotes and Codes</summary>
171
176
 
172
177
  Custom blockquote and code tags (`<blockquote>`, `<pre>`):
173
178
 
@@ -184,8 +189,10 @@ Custom blockquote and code tags (`<blockquote>`, `<pre>`):
184
189
  <pre class="my-custom-class-for-pre"><slot /></pre>
185
190
  </template>
186
191
  ```
192
+ </details>
187
193
 
188
- ##### Inline text nodes
194
+ <details>
195
+ <summary>Inline text nodes</summary>
189
196
 
190
197
  Custom inline text nodes (`<strong>`, `<em>`, `<u>`, `<del>`, `<code>`):
191
198
 
@@ -225,8 +232,10 @@ Custom inline text nodes (`<strong>`, `<em>`, `<u>`, `<del>`, `<code>`):
225
232
  </code>
226
233
  </template>
227
234
  ```
235
+ </details>
228
236
 
229
- ##### Links
237
+ <details>
238
+ <summary>Links</summary>
230
239
 
231
240
  Custom link tag (`<a>`):
232
241
 
@@ -246,8 +255,10 @@ Custom link tag (`<a>`):
246
255
  ```
247
256
 
248
257
  When rendering a link tag, the url gets passed as the `url` component property.
258
+ </details>
249
259
 
250
- ##### Images
260
+ <details>
261
+ <summary>Images</summary>
251
262
 
252
263
  Custom image tag (`<img>`):
253
264
 
@@ -272,6 +283,7 @@ Custom image tag (`<img>`):
272
283
 
273
284
  When rendering an image tag, the image object gets passed as the `image` component property.
274
285
  You can also use different image components here, i.e. `NuxtImg` or others.
286
+ </details>
275
287
 
276
288
  ## Development
277
289
 
package/dist/module.d.mts CHANGED
@@ -4,6 +4,6 @@ interface ModuleOptions {
4
4
  prefix: string;
5
5
  blocksPrefix: string;
6
6
  }
7
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
7
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
8
8
 
9
9
  export { type ModuleOptions, _default as default };
package/dist/module.d.ts CHANGED
@@ -4,6 +4,6 @@ interface ModuleOptions {
4
4
  prefix: string;
5
5
  blocksPrefix: string;
6
6
  }
7
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
7
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
8
8
 
9
9
  export { type ModuleOptions, _default as default };
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
3
  "configKey": "strapiBlocksRenderer",
4
- "version": "1.0.10",
4
+ "version": "1.0.12",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-strapi-blocks-renderer",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Renderer for the strapi CMS blocks text content element.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,19 +39,18 @@
39
39
  "renovate:config:validate": "renovate-config-validator"
40
40
  },
41
41
  "dependencies": {
42
- "@nuxt/kit": "^3.12.3",
42
+ "@nuxt/kit": "^3.13.0",
43
43
  "defu": "^6.1.4"
44
44
  },
45
45
  "devDependencies": {
46
- "@antfu/eslint-config": "^2.25.1",
47
- "@nuxt/devtools": "^1.3.9",
46
+ "@antfu/eslint-config": "^2.27.1",
47
+ "@nuxt/devtools": "^1.3.14",
48
48
  "@nuxt/module-builder": "^0.8.3",
49
- "@nuxt/schema": "^3.12.4",
49
+ "@nuxt/schema": "^3.13.0",
50
50
  "@nuxt/test-utils": "^3.14.1",
51
- "@types/node": "^22.3.0",
52
51
  "eslint": "^8.57.0",
53
- "nuxt": "^3.12.4",
54
- "renovate": "^38.37.1",
52
+ "nuxt": "^3.13.0",
53
+ "renovate": "^38.51.1",
55
54
  "vitest": "^2.0.5",
56
55
  "vue-tsc": "^2.0.29"
57
56
  },