@wix/zero-config-implementation 1.50.0 → 1.51.0

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.js CHANGED
@@ -11252,7 +11252,7 @@ function K8({
11252
11252
  i === "ReactNode" || i === "ReactElement" ? t.dataType = Rt.container : (t.dataType = Rt.text, t.text = {});
11253
11253
  return;
11254
11254
  }
11255
- if (s === "@wix/public-schemas") {
11255
+ if (s === "@wix/public-schemas" || s === "@wix/editor-react-types") {
11256
11256
  const a = L2[i];
11257
11257
  a ? (t.dataType = Rt[a], j8({ dataItem: t, builderType: a, propUsages: r, propPath: n })) : (t.dataType = Rt.text, t.text = {});
11258
11258
  return;
@@ -12272,7 +12272,7 @@ function f5(t, e) {
12272
12272
  const n = r.getName(), i = G1(r, e);
12273
12273
  if (i === "@types/react" || i === "react")
12274
12274
  return U2.has(n) ? { kind: "semantic", value: n, source: i } : void 0;
12275
- if (i === "@wix/public-schemas")
12275
+ if (i === "@wix/public-schemas" || i === "@wix/editor-react-types")
12276
12276
  return W2(n) ? { kind: "semantic", value: n, source: i } : void 0;
12277
12277
  }
12278
12278
  function m5(t, e) {
@@ -12334,7 +12334,7 @@ function g5({
12334
12334
  value: n,
12335
12335
  source: u
12336
12336
  };
12337
- if (u === "@wix/public-schemas" && W2(n))
12337
+ if ((u === "@wix/public-schemas" || u === "@wix/editor-react-types") && W2(n))
12338
12338
  return {
12339
12339
  kind: "semantic",
12340
12340
  value: n,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "registry": "https://registry.npmjs.org/",
5
5
  "access": "public"
6
6
  },
7
- "version": "1.50.0",
7
+ "version": "1.51.0",
8
8
  "description": "Core library for extracting component manifests from JS and CSS files",
9
9
  "type": "module",
10
10
  "main": "dist/index.js",
@@ -85,5 +85,5 @@
85
85
  ]
86
86
  }
87
87
  },
88
- "falconPackageHash": "15350286a134883c84b7fb2738d2553d8eedbec024f0d1cb444a40ca"
88
+ "falconPackageHash": "6edc92f94dbf49a5e330f797ead6810967079bb8cb877c73d59d3ad6"
89
89
  }
@@ -370,7 +370,7 @@ function handleSemanticType({
370
370
  }
371
371
 
372
372
  // Wix public-schemas (Builder) types - map directly to DATA_TYPE via explicit lookup
373
- if (source === '@wix/public-schemas') {
373
+ if (source === '@wix/public-schemas' || source === '@wix/editor-react-types') {
374
374
  const dataTypeKey = WIX_TYPE_TO_DATA_TYPE[semanticValue]
375
375
  if (dataTypeKey) {
376
376
  dataItem.dataType = DATA_TYPE[dataTypeKey]
@@ -74,7 +74,7 @@ function checkForSemanticType(
74
74
  }
75
75
 
76
76
  // Check Wix types - only ones that map to DATA_TYPE keys
77
- if (packageName === '@wix/public-schemas') {
77
+ if (packageName === '@wix/public-schemas' || packageName === '@wix/editor-react-types') {
78
78
  if (isValidWixSemanticType(symbolName)) {
79
79
  return { kind: 'semantic', value: symbolName, source: packageName }
80
80
  }
@@ -196,7 +196,7 @@ function resolveTypeBody({
196
196
  }
197
197
 
198
198
  // Check Wix types - only ones that map to DATA_TYPE keys
199
- if (packageName === '@wix/public-schemas') {
199
+ if (packageName === '@wix/public-schemas' || packageName === '@wix/editor-react-types') {
200
200
  if (isValidWixSemanticType(typeString)) {
201
201
  return {
202
202
  kind: 'semantic',