cec-nuxt-lib 0.10.11 → 0.10.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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.10.11",
4
+ "version": "0.10.12",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -306,6 +306,10 @@ const htmlComponent = (props2) => {
306
306
  let item = props2.block?.value;
307
307
  return item.html;
308
308
  };
309
+ const linkComponent = (props2) => {
310
+ let item = props2.block?.value;
311
+ return `<a href="${item.target}" >${item.label}</a>`;
312
+ };
309
313
  const imageWithCSS = (props2) => {
310
314
  let data = props2.block?.value;
311
315
  let classes = data.alignment || "";
@@ -656,6 +660,7 @@ const renderer = createRenderer({
656
660
  horizontalTable,
657
661
  htmlComponent,
658
662
  imageWithCSS,
663
+ linkComponent,
659
664
  promotionalBannerWithText,
660
665
  promotionalContrastRegion
661
666
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.11",
2
+ "version": "0.10.12",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",