@yext/visual-editor 0.0.57 → 0.0.59
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/editor.css +1 -0
- package/dist/index.d.cts +2433 -2785
- package/dist/index.d.ts +2433 -2785
- package/dist/plugin/{debugger-DoQ3QjB9-DPoH4h6C.cjs → debugger-DIK3Bqjc-BMfvlCAT.cjs} +1 -1
- package/dist/plugin/{debugger-DoQ3QjB9-CGYFdePM.js → debugger-DIK3Bqjc-D2mCQkWe.js} +1 -1
- package/dist/plugin/index-e2mjLldQ.cjs +2841 -0
- package/dist/plugin/{index-A1ZMwJiZ.js → index-rTObTg5w.js} +127966 -96892
- package/dist/plugin/plugin.cjs +1 -1
- package/dist/plugin/plugin.js +1 -1
- package/dist/style.css +1 -1
- package/dist/visual-editor.cjs +122 -62
- package/dist/visual-editor.js +31636 -27566
- package/package.json +38 -34
- package/dist/plugin/index-CaMbLcC8.cjs +0 -2673
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
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.59",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "sumo@yext.com",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/yext/visual-editor.git"
|
|
10
|
+
},
|
|
7
11
|
"types": "dist/index.d.ts",
|
|
8
12
|
"main": "dist/visual-editor.cjs",
|
|
9
13
|
"module": "dist/visual-editor.js",
|
|
@@ -25,35 +29,8 @@
|
|
|
25
29
|
"./plugin": {
|
|
26
30
|
"default": "./dist/plugin/plugin.js"
|
|
27
31
|
},
|
|
28
|
-
"./style.css": "./dist/style.css"
|
|
29
|
-
|
|
30
|
-
"scripts": {
|
|
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",
|
|
34
|
-
"test": "pnpm run test:editor && pnpm run test:components",
|
|
35
|
-
"test:editor": "vitest run --exclude './src/components/**/*.test.tsx' --browser.enabled false",
|
|
36
|
-
"test:components": "vitest run ./src/components/**",
|
|
37
|
-
"test:components:local": "./scripts/localScreenshots.sh",
|
|
38
|
-
"prettier": "prettier --write --cache .",
|
|
39
|
-
"lint": "oxlint --fix --ignore-pattern 'src/vite-plugin/templates/*'",
|
|
40
|
-
"autofix": "pnpm run lint && pnpm run prettier",
|
|
41
|
-
"prepare": "pnpm build",
|
|
42
|
-
"generate-notices": "generate-license-file --input package.json --output ./THIRD-PARTY-NOTICES --overwrite",
|
|
43
|
-
"generate-component-docs": "api-extractor run --local ; node generate-docs.mjs",
|
|
44
|
-
"docs:dev": "vitepress dev .",
|
|
45
|
-
"docs:build": "vitepress build .",
|
|
46
|
-
"docs:preview": "vitepress preview .",
|
|
47
|
-
"generate-registry": "tsx src/components/registry/build-registry.cts",
|
|
48
|
-
"build-registry-docs": "pnpm run docs:build && pnpm run generate-registry",
|
|
49
|
-
"i18n:insert": "pnpm exec tsx scripts/insertI18n.ts",
|
|
50
|
-
"i18n:insert:dry": "pnpm exec tsx scripts/insertI18n.ts --dry-run",
|
|
51
|
-
"i18n:scan": "i18next-scanner --config i18next-scanner.config.cjs",
|
|
52
|
-
"i18n:translate": "pnpm exec tsx scripts/generateTranslations.ts",
|
|
53
|
-
"i18n:translate:dry": "pnpm exec tsx scripts/generateTranslations.ts --dry-run",
|
|
54
|
-
"i18n:sort": "pnpm exec tsx scripts/sortTranslations.ts",
|
|
55
|
-
"i18n:update": "pnpm run i18n:scan && pnpm run i18n:translate && pnpm run i18n:sort",
|
|
56
|
-
"i18n:check-empty": "pnpm exec tsx scripts/checkEmptyTranslations.ts"
|
|
32
|
+
"./style.css": "./dist/style.css",
|
|
33
|
+
"./editor.css": "./dist/editor.css"
|
|
57
34
|
},
|
|
58
35
|
"dependencies": {
|
|
59
36
|
"@measured/puck": "0.20.1",
|
|
@@ -78,6 +55,7 @@
|
|
|
78
55
|
"clsx": "^2.1.1",
|
|
79
56
|
"cmdk": "^1.1.1",
|
|
80
57
|
"dompurify": "^3.2.3",
|
|
58
|
+
"handlebars": "^4.7.8",
|
|
81
59
|
"i18next": "^25.2.1",
|
|
82
60
|
"lucide-react": "^0.414.0",
|
|
83
61
|
"lz-string": "1.5.0",
|
|
@@ -97,7 +75,6 @@
|
|
|
97
75
|
"engines": {
|
|
98
76
|
"node": "^18 || ^20.2.0 || ^22"
|
|
99
77
|
},
|
|
100
|
-
"packageManager": "pnpm@9.12.3",
|
|
101
78
|
"lint-staged": {
|
|
102
79
|
"*": "prettier --write --cache --ignore-unknown",
|
|
103
80
|
"*.{ts,js,tsx,jsx}": "oxlint --fix --ignore-pattern 'src/vite-plugin/templates/*'"
|
|
@@ -134,7 +111,7 @@
|
|
|
134
111
|
"lint-staged": "^15.2.7",
|
|
135
112
|
"minimist": "^1.2.8",
|
|
136
113
|
"pixelmatch": "^7.1.0",
|
|
137
|
-
"playwright": "
|
|
114
|
+
"playwright": "1.55.0",
|
|
138
115
|
"pngjs": "^7.0.0",
|
|
139
116
|
"prettier": "^3.3.3",
|
|
140
117
|
"react-icons": "^5.2.1",
|
|
@@ -151,11 +128,38 @@
|
|
|
151
128
|
"zod": "^3.23.8"
|
|
152
129
|
},
|
|
153
130
|
"peerDependencies": {
|
|
154
|
-
"@yext/pages-components": "^1.1.
|
|
131
|
+
"@yext/pages-components": "^1.1.13",
|
|
155
132
|
"@yext/search-headless-react": "^2.5.4",
|
|
156
133
|
"@yext/search-ui-react": "^1.9.3",
|
|
157
134
|
"mapbox-gl": "^2.9.2",
|
|
158
135
|
"react": "^17.0.2 || ^18.2.0",
|
|
159
136
|
"react-dom": "^17.0.2 || ^18.2.0"
|
|
137
|
+
},
|
|
138
|
+
"scripts": {
|
|
139
|
+
"build:components": "tsc && vite build",
|
|
140
|
+
"build:plugin": "vite build --config vite.config.plugin.ts",
|
|
141
|
+
"build": "pnpm run build:components && pnpm run build:plugin",
|
|
142
|
+
"test": "pnpm run test:editor && pnpm run test:components",
|
|
143
|
+
"test:editor": "vitest run --exclude './src/components/**/*.test.tsx' --browser.enabled false",
|
|
144
|
+
"test:components": "vitest run ./src/components/**",
|
|
145
|
+
"test:components:local": "./scripts/localScreenshots.sh",
|
|
146
|
+
"prettier": "prettier --write --cache .",
|
|
147
|
+
"lint": "oxlint --fix --ignore-pattern 'src/vite-plugin/templates/*'",
|
|
148
|
+
"autofix": "pnpm run lint && pnpm run prettier",
|
|
149
|
+
"generate-notices": "generate-license-file --input package.json --output ./THIRD-PARTY-NOTICES --overwrite",
|
|
150
|
+
"generate-component-docs": "api-extractor run --local ; node generate-docs.mjs ; tsx scripts/generateComponentTypeDefinitions.ts",
|
|
151
|
+
"docs:dev": "vitepress dev .",
|
|
152
|
+
"docs:build": "vitepress build .",
|
|
153
|
+
"docs:preview": "vitepress preview .",
|
|
154
|
+
"generate-registry": "tsx src/components/registry/build-registry.cts",
|
|
155
|
+
"build-registry-docs": "pnpm run docs:build && pnpm run generate-registry",
|
|
156
|
+
"i18n:insert": "pnpm exec tsx scripts/insertI18n.ts",
|
|
157
|
+
"i18n:insert:dry": "pnpm exec tsx scripts/insertI18n.ts --dry-run",
|
|
158
|
+
"i18n:scan": "i18next-scanner --config i18next-scanner.config.cjs",
|
|
159
|
+
"i18n:translate": "pnpm exec tsx scripts/generateTranslations.ts",
|
|
160
|
+
"i18n:translate:dry": "pnpm exec tsx scripts/generateTranslations.ts --dry-run",
|
|
161
|
+
"i18n:sort": "pnpm exec tsx scripts/sortTranslations.ts",
|
|
162
|
+
"i18n:update": "pnpm run i18n:scan && pnpm run i18n:translate && pnpm run i18n:sort",
|
|
163
|
+
"i18n:check-empty": "pnpm exec tsx scripts/checkEmptyTranslations.ts"
|
|
160
164
|
}
|
|
161
|
-
}
|
|
165
|
+
}
|