@yext/visual-editor 0.0.31 → 0.0.32
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 +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/plugin/plugin.cjs +174 -0
- package/dist/plugin/plugin.js +218 -0
- package/dist/style.css +1 -1
- package/dist/visual-editor.cjs +111 -77
- package/dist/visual-editor.js +12714 -11327
- package/package.json +15 -7
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.32",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "sumo@yext.com",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -22,13 +22,18 @@
|
|
|
22
22
|
"default": "./dist/visual-editor.cjs"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
+
"./plugin": {
|
|
26
|
+
"default": "./dist/plugin/plugin.js"
|
|
27
|
+
},
|
|
25
28
|
"./style.css": "./dist/style.css"
|
|
26
29
|
},
|
|
27
30
|
"scripts": {
|
|
28
|
-
"build": "tsc && vite build",
|
|
31
|
+
"build:components": "tsc && vite build",
|
|
32
|
+
"build:plugin": "vite build --config vite.config.plugin.ts",
|
|
33
|
+
"build": "pnpm run build:components && pnpm run build:plugin",
|
|
29
34
|
"test": "vitest run",
|
|
30
35
|
"prettier": "prettier --write --cache .",
|
|
31
|
-
"lint": "eslint --cache --fix src/",
|
|
36
|
+
"lint": "eslint --cache --fix src/ --ignore-pattern 'src/vite-plugin/templates/*'",
|
|
32
37
|
"autofix": "pnpm run lint && pnpm run prettier",
|
|
33
38
|
"prepare": "pnpm build",
|
|
34
39
|
"generate-notices": "generate-license-file --input package.json --output ./THIRD-PARTY-NOTICES --overwrite"
|
|
@@ -37,6 +42,7 @@
|
|
|
37
42
|
"@measured/puck": "0.18.2",
|
|
38
43
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
|
39
44
|
"@radix-ui/react-label": "^2.1.0",
|
|
45
|
+
"@radix-ui/react-popover": "^1.1.6",
|
|
40
46
|
"@radix-ui/react-progress": "^1.1.0",
|
|
41
47
|
"@radix-ui/react-radio-group": "^1.2.1",
|
|
42
48
|
"@radix-ui/react-slot": "^1.1.0",
|
|
@@ -44,11 +50,12 @@
|
|
|
44
50
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
45
51
|
"class-variance-authority": "^0.7.0",
|
|
46
52
|
"clsx": "^2.1.1",
|
|
47
|
-
"
|
|
53
|
+
"cmdk": "^1.0.4",
|
|
48
54
|
"dompurify": "^3.2.3",
|
|
49
55
|
"eslint": "^9.8.0",
|
|
50
56
|
"eslint-plugin-react": "^7.35.0",
|
|
51
57
|
"lucide-react": "^0.414.0",
|
|
58
|
+
"lz-string": "1.5.0",
|
|
52
59
|
"next-themes": "^0.3.0",
|
|
53
60
|
"picocolors": "^1.0.1",
|
|
54
61
|
"prettier": "^3.3.3",
|
|
@@ -73,6 +80,7 @@
|
|
|
73
80
|
"@eslint/js": "^9.8.0",
|
|
74
81
|
"@testing-library/dom": "^10.4.0",
|
|
75
82
|
"@testing-library/react": "^16.0.1",
|
|
83
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
76
84
|
"@types/fs-extra": "^11.0.4",
|
|
77
85
|
"@types/minimist": "^1.2.5",
|
|
78
86
|
"@types/node": "^20.14.11",
|
|
@@ -95,6 +103,7 @@
|
|
|
95
103
|
"libphonenumber-js": "^1.11.19",
|
|
96
104
|
"lint-staged": "^15.2.7",
|
|
97
105
|
"minimist": "^1.2.8",
|
|
106
|
+
"react-icons": "^5.2.1",
|
|
98
107
|
"semver": "^7.6.3",
|
|
99
108
|
"tailwindcss": "^3.4.6",
|
|
100
109
|
"tsup": "8.3.5",
|
|
@@ -102,11 +111,10 @@
|
|
|
102
111
|
"uuid": "11.0.3",
|
|
103
112
|
"vite": "^5.3.5",
|
|
104
113
|
"vitest": "^3.0.5",
|
|
105
|
-
"zod": "^3.23.8"
|
|
106
|
-
"react-icons": "^5.2.1"
|
|
114
|
+
"zod": "^3.23.8"
|
|
107
115
|
},
|
|
108
116
|
"peerDependencies": {
|
|
109
|
-
"@yext/pages-components": "^1.1.
|
|
117
|
+
"@yext/pages-components": "^1.1.4",
|
|
110
118
|
"react": "^17.0.2 || ^18.2.0",
|
|
111
119
|
"react-dom": "^17.0.2 || ^18.2.0"
|
|
112
120
|
}
|