@uniformdev/canvas-vue 20.72.1 → 20.72.2

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/index.esm.js CHANGED
@@ -605,17 +605,11 @@ var HeadingRichTextNode = (props, context) => {
605
605
  };
606
606
 
607
607
  // src/components/UniformRichText/nodes/LinkRichTextNode.ts
608
- import { linkParamValueToHref } from "@uniformdev/richtext";
608
+ import { linkParamValueToHtmlAttributes } from "@uniformdev/richtext";
609
609
  import { h as h8 } from "vue";
610
610
  var LinkRichTextNode = (props, context) => {
611
611
  const { link } = props.node;
612
- return h8(
613
- "a",
614
- {
615
- href: linkParamValueToHref(link)
616
- },
617
- context.slots
618
- );
612
+ return h8("a", linkParamValueToHtmlAttributes(link), context.slots);
619
613
  };
620
614
 
621
615
  // src/components/UniformRichText/nodes/ListItemRichTextNode.ts
package/dist/index.js CHANGED
@@ -629,13 +629,7 @@ var import_richtext = require("@uniformdev/richtext");
629
629
  var import_vue9 = require("vue");
630
630
  var LinkRichTextNode = (props, context) => {
631
631
  const { link } = props.node;
632
- return (0, import_vue9.h)(
633
- "a",
634
- {
635
- href: (0, import_richtext.linkParamValueToHref)(link)
636
- },
637
- context.slots
638
- );
632
+ return (0, import_vue9.h)("a", (0, import_richtext.linkParamValueToHtmlAttributes)(link), context.slots);
639
633
  };
640
634
 
641
635
  // src/components/UniformRichText/nodes/ListItemRichTextNode.ts
package/dist/index.mjs CHANGED
@@ -605,17 +605,11 @@ var HeadingRichTextNode = (props, context) => {
605
605
  };
606
606
 
607
607
  // src/components/UniformRichText/nodes/LinkRichTextNode.ts
608
- import { linkParamValueToHref } from "@uniformdev/richtext";
608
+ import { linkParamValueToHtmlAttributes } from "@uniformdev/richtext";
609
609
  import { h as h8 } from "vue";
610
610
  var LinkRichTextNode = (props, context) => {
611
611
  const { link } = props.node;
612
- return h8(
613
- "a",
614
- {
615
- href: linkParamValueToHref(link)
616
- },
617
- context.slots
618
- );
612
+ return h8("a", linkParamValueToHtmlAttributes(link), context.slots);
619
613
  };
620
614
 
621
615
  // src/components/UniformRichText/nodes/ListItemRichTextNode.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-vue",
3
- "version": "20.72.1",
3
+ "version": "20.72.2",
4
4
  "description": "Vue SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -29,9 +29,9 @@
29
29
  "apidocs-extract": "api-extractor run --local"
30
30
  },
31
31
  "dependencies": {
32
- "@uniformdev/canvas": "20.72.1",
33
- "@uniformdev/context-vue": "20.72.1",
34
- "@uniformdev/richtext": "20.72.1"
32
+ "@uniformdev/canvas": "20.72.2",
33
+ "@uniformdev/context-vue": "20.72.2",
34
+ "@uniformdev/richtext": "20.72.2"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "vue": ">=3.0.0"
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "bff8f45027258b16690597b05c88e148f2ffde96"
61
+ "gitHead": "8b65535fb3ec81e23f9eb8e0ed0b0be478f6e0e8"
62
62
  }