@wix/zero-config-implementation 1.43.0 → 1.44.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.d.ts +1 -1
- package/package.json +3 -3
- package/src/converters/data-item-builder.ts +2 -2
- package/src/converters/to-editor-component.ts +2 -2
- package/src/index.ts +2 -2
- package/src/information-extractors/css/parse.ts +1 -1
- package/src/information-extractors/react/extractors/css-properties.ts +1 -1
- package/src/wix-type-to-data-type.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType } from 'react';
|
|
2
2
|
import { default as default_2 } from 'typescript';
|
|
3
|
-
import { EditorReactComponent } from '@wix/
|
|
3
|
+
import { EditorReactComponent } from '@wix/react-component-schema';
|
|
4
4
|
import { Program } from 'typescript';
|
|
5
5
|
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"registry": "https://registry.npmjs.org/",
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.44.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",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@wix/
|
|
47
|
+
"@wix/react-component-schema": "1.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@faker-js/faker": "^10.2.0",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
]
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
"falconPackageHash": "
|
|
87
|
+
"falconPackageHash": "be064bb9bc4aa2a2233e8629c2c96248e0790ffb26472dc800d873ff"
|
|
88
88
|
}
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* resolved type metadata is inconsistent (kind === 'array' but no elementType).
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import type { DataItem } from '@wix/
|
|
16
|
-
import { DATA, MEDIA } from '@wix/
|
|
15
|
+
import type { DataItem } from '@wix/react-component-schema'
|
|
16
|
+
import { DATA, MEDIA } from '@wix/react-component-schema'
|
|
17
17
|
import type { Result } from 'neverthrow'
|
|
18
18
|
import { err, ok } from 'neverthrow'
|
|
19
19
|
import { ParseError } from '../errors'
|
|
@@ -5,8 +5,8 @@ import type {
|
|
|
5
5
|
EditorElement,
|
|
6
6
|
EditorReactComponent,
|
|
7
7
|
ElementItem,
|
|
8
|
-
} from '@wix/
|
|
9
|
-
import { ELEMENTS } from '@wix/
|
|
8
|
+
} from '@wix/react-component-schema'
|
|
9
|
+
import { ELEMENTS } from '@wix/react-component-schema'
|
|
10
10
|
import type { ComponentInfoWithCss } from '../index'
|
|
11
11
|
import type { MatchedCssData } from '../information-extractors/css/types'
|
|
12
12
|
import type {
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EditorReactComponent } from '@wix/
|
|
1
|
+
import type { EditorReactComponent } from '@wix/react-component-schema'
|
|
2
2
|
import { Result, type ResultAsync, errAsync, okAsync } from 'neverthrow'
|
|
3
3
|
import type { ComponentType } from 'react'
|
|
4
4
|
|
|
@@ -172,7 +172,7 @@ export async function extractComponentManifest(
|
|
|
172
172
|
// ── Tier 1: High-Level API ──────────────────────────────────────────────────
|
|
173
173
|
// extractComponentManifest() is exported above as a named function declaration.
|
|
174
174
|
export type { ExtractionError } from './extraction-types'
|
|
175
|
-
export type { EditorReactComponent } from '@wix/
|
|
175
|
+
export type { EditorReactComponent } from '@wix/react-component-schema'
|
|
176
176
|
export type { ComponentInfoWithCss, ExtractedCssInfo, ProcessComponentResult } from './manifest-pipeline'
|
|
177
177
|
|
|
178
178
|
// ── Tier 2: Pipeline Building Blocks ────────────────────────────────────────
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSS_PROPERTIES } from '@wix/
|
|
1
|
+
import { CSS_PROPERTIES } from '@wix/react-component-schema'
|
|
2
2
|
import { camelCase } from 'case-anything'
|
|
3
3
|
import { generate, lexer, parse, walk } from 'css-tree'
|
|
4
4
|
import type { Atrule, CssNode, Declaration, FunctionNode, Rule, Selector } from 'css-tree'
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* based on its tag, role, and whether it has text content.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { CSS_PROPERTIES } from '@wix/
|
|
8
|
+
import { CSS_PROPERTIES } from '@wix/react-component-schema'
|
|
9
9
|
import type { CssSelectorMatch, MatchedCssData } from '../../css/types'
|
|
10
10
|
import type { ExtractedElement } from './core/tree-builder'
|
|
11
11
|
import type { CreateElementEvent, ReactExtractor } from './core/types'
|