@valbuild/react 0.60.7 → 0.60.9

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.
@@ -73,7 +73,8 @@ function ValRichText(_ref) {
73
73
  return /*#__PURE__*/React.createElement(tag, {
74
74
  key: key === null || key === void 0 ? void 0 : key.toString(),
75
75
  className: className,
76
- children: children
76
+ children: children,
77
+ href: tag === "a" ? child.href : undefined
77
78
  });
78
79
  }
79
80
  return /*#__PURE__*/jsx("div", {
@@ -81,7 +81,8 @@ function ValRichText(_ref) {
81
81
  return /*#__PURE__*/React__default["default"].createElement(tag, {
82
82
  key: key === null || key === void 0 ? void 0 : key.toString(),
83
83
  className: className,
84
- children: children
84
+ children: children,
85
+ href: tag === "a" ? child.href : undefined
85
86
  });
86
87
  }
87
88
  return /*#__PURE__*/ReactJSXRuntime.jsx("div", {
@@ -81,7 +81,8 @@ function ValRichText(_ref) {
81
81
  return /*#__PURE__*/React__default["default"].createElement(tag, {
82
82
  key: key === null || key === void 0 ? void 0 : key.toString(),
83
83
  className: className,
84
- children: children
84
+ children: children,
85
+ href: tag === "a" ? child.href : undefined
85
86
  });
86
87
  }
87
88
  return /*#__PURE__*/ReactJSXRuntime.jsx("div", {
@@ -73,7 +73,8 @@ function ValRichText(_ref) {
73
73
  return /*#__PURE__*/React.createElement(tag, {
74
74
  key: key === null || key === void 0 ? void 0 : key.toString(),
75
75
  className: className,
76
- children: children
76
+ children: children,
77
+ href: tag === "a" ? child.href : undefined
77
78
  });
78
79
  }
79
80
  return /*#__PURE__*/jsx("div", {
@@ -73,7 +73,8 @@ function ValRichText(_ref) {
73
73
  return /*#__PURE__*/React.createElement(tag, {
74
74
  key: key === null || key === void 0 ? void 0 : key.toString(),
75
75
  className: className,
76
- children: children
76
+ children: children,
77
+ href: tag === "a" ? child.href : undefined
77
78
  });
78
79
  }
79
80
  return /*#__PURE__*/jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/react",
3
- "version": "0.60.7",
3
+ "version": "0.60.9",
4
4
  "private": false,
5
5
  "description": "Val - React internal helpers",
6
6
  "sideEffects": false,
@@ -9,9 +9,9 @@
9
9
  "test": "jest"
10
10
  },
11
11
  "dependencies": {
12
- "@valbuild/core": "~0.60.7",
13
- "@valbuild/shared": "~0.60.7",
14
- "@valbuild/ui": "~0.60.7",
12
+ "@valbuild/core": "~0.60.9",
13
+ "@valbuild/shared": "~0.60.9",
14
+ "@valbuild/ui": "~0.60.9",
15
15
  "@vercel/stega": "^0.1.0",
16
16
  "base64-arraybuffer": "^1.0.2"
17
17
  },