@yext/visual-editor 0.0.23 → 0.0.24
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.cts +23 -24
- package/dist/index.d.ts +23 -24
- package/dist/style.css +1 -1
- package/dist/visual-editor.cjs +61 -60
- package/dist/visual-editor.js +7538 -6975
- package/package.json +6 -7
- package/README.md +0 -25
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yext/visual-editor",
|
|
3
3
|
"description": "Component library for Yext Pages Visual Editor",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.24",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "sumo@yext.com",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -28,16 +28,14 @@
|
|
|
28
28
|
"build": "tsc && vite build",
|
|
29
29
|
"test": "vitest run",
|
|
30
30
|
"prettier": "prettier --write --cache .",
|
|
31
|
-
"lint": "eslint --cache --fix src/
|
|
31
|
+
"lint": "eslint --cache --fix src/",
|
|
32
32
|
"autofix": "pnpm run lint && pnpm run prettier",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"prepare": "husky && pnpm build",
|
|
36
|
-
"generate-notices": "generate-license-file",
|
|
33
|
+
"prepare": "pnpm build",
|
|
34
|
+
"generate-notices": "generate-license-file --input package.json --output ./THIRD-PARTY-NOTICES --overwrite",
|
|
37
35
|
"generate-registry": "tsx src/components/puck/registry/build-registry.ts"
|
|
38
36
|
},
|
|
39
37
|
"dependencies": {
|
|
40
|
-
"@measured/puck": "0.
|
|
38
|
+
"@measured/puck": "0.18.0",
|
|
41
39
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
|
42
40
|
"@radix-ui/react-label": "^2.1.0",
|
|
43
41
|
"@radix-ui/react-progress": "^1.1.0",
|
|
@@ -47,6 +45,7 @@
|
|
|
47
45
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
48
46
|
"class-variance-authority": "^0.7.0",
|
|
49
47
|
"clsx": "^2.1.1",
|
|
48
|
+
"dompurify": "^3.2.3",
|
|
50
49
|
"eslint": "^9.8.0",
|
|
51
50
|
"eslint-plugin-react": "^7.35.0",
|
|
52
51
|
"lucide-react": "^0.414.0",
|
package/README.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# visual-editor
|
|
4
|
-
This library provides components necessary to set up a Pages repository that can interact with Visual Editor in the Yext platform.
|
|
5
|
-
|
|
6
|
-
## Hooks
|
|
7
|
-
|
|
8
|
-
| Hook |
|
|
9
|
-
|------------------------------------------------------------------|
|
|
10
|
-
| [usePlatformBridgeDocument](./src/hooks/README.md#usePlatformBridgeDocument) |
|
|
11
|
-
| [usePlatformBridgeEntityFields](./src/hooks/README.md#usePlatformBridgeEntityFields) |
|
|
12
|
-
|
|
13
|
-
## Components
|
|
14
|
-
|
|
15
|
-
| Component |
|
|
16
|
-
|-------------------------------------------------------|
|
|
17
|
-
| [Editor](src/editor/README.md#editor) |
|
|
18
|
-
| [EntityField](src/editor/README.md#entityfield) |
|
|
19
|
-
| [YextEntityFieldSelector](src/editor/README.md#YextEntityFieldSelector) |
|
|
20
|
-
|
|
21
|
-
## Utils
|
|
22
|
-
|
|
23
|
-
| Function |
|
|
24
|
-
|--------------------------------------------------------------------------|
|
|
25
|
-
| [resolveYextEntityField](./src/utils/README.md#resolveYextEntityField) |
|