@uniformdev/richtext 19.185.1-alpha.8 → 19.186.2-alpha.14

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.d.mts CHANGED
@@ -31,6 +31,7 @@ type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorder
31
31
 
32
32
  interface AssetNode extends RichTextNode {
33
33
  __asset?: NonNullable<AssetParamValueItem>;
34
+ __error?: string;
34
35
  }
35
36
  declare const assetHtmlRenderer: NodeStringRenderer;
36
37
 
package/dist/index.d.ts CHANGED
@@ -31,6 +31,7 @@ type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorder
31
31
 
32
32
  interface AssetNode extends RichTextNode {
33
33
  __asset?: NonNullable<AssetParamValueItem>;
34
+ __error?: string;
34
35
  }
35
36
  declare const assetHtmlRenderer: NodeStringRenderer;
36
37
 
package/dist/index.esm.js CHANGED
@@ -67,14 +67,13 @@ function hasChildren(node) {
67
67
  }
68
68
 
69
69
  // src/nodes/asset.ts
70
- var ASSETS_SOURCE_UNIFORM = "uniform-assets";
71
70
  var assetHtmlRenderer = ({ context }) => {
72
71
  var _a, _b;
73
72
  const node = context.currentNode;
74
73
  if (node.__asset === void 0) {
75
74
  return "";
76
75
  }
77
- if (node.__asset.type !== "image" || node.__asset._source !== ASSETS_SOURCE_UNIFORM) {
76
+ if (node.__asset.type !== "image") {
78
77
  return "";
79
78
  }
80
79
  const imgAttributes = /* @__PURE__ */ new Map();
package/dist/index.js CHANGED
@@ -128,14 +128,13 @@ function hasChildren(node) {
128
128
  }
129
129
 
130
130
  // src/nodes/asset.ts
131
- var ASSETS_SOURCE_UNIFORM = "uniform-assets";
132
131
  var assetHtmlRenderer = ({ context }) => {
133
132
  var _a, _b;
134
133
  const node = context.currentNode;
135
134
  if (node.__asset === void 0) {
136
135
  return "";
137
136
  }
138
- if (node.__asset.type !== "image" || node.__asset._source !== ASSETS_SOURCE_UNIFORM) {
137
+ if (node.__asset.type !== "image") {
139
138
  return "";
140
139
  }
141
140
  const imgAttributes = /* @__PURE__ */ new Map();
package/dist/index.mjs CHANGED
@@ -67,14 +67,13 @@ function hasChildren(node) {
67
67
  }
68
68
 
69
69
  // src/nodes/asset.ts
70
- var ASSETS_SOURCE_UNIFORM = "uniform-assets";
71
70
  var assetHtmlRenderer = ({ context }) => {
72
71
  var _a, _b;
73
72
  const node = context.currentNode;
74
73
  if (node.__asset === void 0) {
75
74
  return "";
76
75
  }
77
- if (node.__asset.type !== "image" || node.__asset._source !== ASSETS_SOURCE_UNIFORM) {
76
+ if (node.__asset.type !== "image") {
78
77
  return "";
79
78
  }
80
79
  const imgAttributes = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/richtext",
3
- "version": "19.185.1-alpha.8+53f7f96124",
3
+ "version": "19.186.2-alpha.14+2868049c36",
4
4
  "description": "Common functionality and types for Uniform Rich Text parameters",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "@lexical/link": "0.17.1",
46
46
  "@lexical/list": "0.17.1",
47
47
  "@lexical/rich-text": "0.17.1",
48
- "@uniformdev/assets": "19.185.1-alpha.8+53f7f96124",
48
+ "@uniformdev/assets": "19.186.2-alpha.14+2868049c36",
49
49
  "lexical": "0.17.1"
50
50
  },
51
51
  "files": [
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "53f7f961242f3518b103e55337ada7ad91c18dd7"
57
+ "gitHead": "2868049c365d370abc91762e89dc845c61c02b78"
58
58
  }