@yext/visual-editor 0.0.40 → 0.0.41
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 +87 -14
- package/dist/index.d.ts +87 -14
- package/dist/plugin/{debugger-BTQVKCwx-C6TadVhk.cjs → debugger-BTQVKCwx-CLM67V3g.cjs} +1 -1
- package/dist/plugin/{debugger-BTQVKCwx-Bea6QVwG.js → debugger-BTQVKCwx-GDe30he8.js} +1 -1
- package/dist/plugin/{index-C2zkTc1a.js → index-BZpbAcAA.js} +41935 -41938
- package/dist/plugin/index-DEZOlM5o.cjs +1344 -0
- 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 +112 -117
- package/dist/visual-editor.js +24456 -23924
- package/package.json +15 -4
- package/dist/plugin/index-BBlk-mUB.cjs +0 -1349
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.41",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "sumo@yext.com",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -43,7 +43,14 @@
|
|
|
43
43
|
"docs:build": "vitepress build .",
|
|
44
44
|
"docs:preview": "vitepress preview .",
|
|
45
45
|
"generate-registry": "tsx src/components/registry/build-registry.cts",
|
|
46
|
-
"build-registry-docs": "pnpm run docs:build && pnpm run generate-registry"
|
|
46
|
+
"build-registry-docs": "pnpm run docs:build && pnpm run generate-registry",
|
|
47
|
+
"i18n:insert": "pnpm exec tsx scripts/insertI18n.ts",
|
|
48
|
+
"i18n:insert:dry": "pnpm exec tsx scripts/insertI18n.ts --dry-run",
|
|
49
|
+
"i18n:scan": "i18next-scanner --config i18next-scanner.config.cjs",
|
|
50
|
+
"i18n:translate": "pnpm exec tsx scripts/generateTranslations.ts",
|
|
51
|
+
"i18n:translate:dry": "pnpm exec tsx scripts/generateTranslations.ts --dry-run",
|
|
52
|
+
"i18n:sort": "pnpm exec tsx scripts/sortTranslations.ts",
|
|
53
|
+
"i18n:update": "pnpm run i18n:scan && pnpm run i18n:translate && pnpm run i18n:sort"
|
|
47
54
|
},
|
|
48
55
|
"dependencies": {
|
|
49
56
|
"@measured/puck": "0.18.3",
|
|
@@ -65,15 +72,16 @@
|
|
|
65
72
|
"dompurify": "^3.2.3",
|
|
66
73
|
"eslint": "^9.8.0",
|
|
67
74
|
"eslint-plugin-react": "^7.35.0",
|
|
75
|
+
"i18next": "^25.2.1",
|
|
68
76
|
"lucide-react": "^0.414.0",
|
|
69
77
|
"lz-string": "1.5.0",
|
|
70
78
|
"next-themes": "^0.3.0",
|
|
71
79
|
"picocolors": "^1.0.1",
|
|
72
|
-
"prettier": "^3.3.3",
|
|
73
80
|
"prompts": "^2.4.2",
|
|
74
81
|
"pure-react-carousel": "^1.32.0",
|
|
75
82
|
"react-color": "^2.19.3",
|
|
76
83
|
"react-error-boundary": "^5.0.0",
|
|
84
|
+
"react-i18next": "^15.5.2",
|
|
77
85
|
"react-phone-number-input": "^3.4.12",
|
|
78
86
|
"sonner": "^1.5.0",
|
|
79
87
|
"tailwind-merge": "^2.4.0",
|
|
@@ -116,15 +124,18 @@
|
|
|
116
124
|
"generate-license-file": "^3.5.0",
|
|
117
125
|
"gray-matter": "^4.0.3",
|
|
118
126
|
"husky": "^9.1.4",
|
|
127
|
+
"i18next-scanner": "^4.6.0",
|
|
119
128
|
"jest-axe": "^10.0.0",
|
|
120
129
|
"jsdom": "^24.1.1",
|
|
121
130
|
"libphonenumber-js": "^1.11.19",
|
|
122
131
|
"lint-staged": "^15.2.7",
|
|
123
132
|
"minimist": "^1.2.8",
|
|
124
133
|
"playwright": "^1.51.1",
|
|
134
|
+
"prettier": "^3.3.3",
|
|
125
135
|
"react-icons": "^5.2.1",
|
|
126
136
|
"semver": "^7.6.3",
|
|
127
137
|
"tailwindcss": "^3.4.6",
|
|
138
|
+
"ts-morph": "^26.0.0",
|
|
128
139
|
"ts-node": "^10.9.2",
|
|
129
140
|
"tsup": "8.3.5",
|
|
130
141
|
"typescript": "^5.5.4",
|
|
@@ -137,7 +148,7 @@
|
|
|
137
148
|
"peerDependencies": {
|
|
138
149
|
"@yext/pages-components": "^1.1.4",
|
|
139
150
|
"@yext/search-headless-react": "^2.5.0",
|
|
140
|
-
"@yext/search-ui-react": "^1.8.
|
|
151
|
+
"@yext/search-ui-react": "^1.8.9",
|
|
141
152
|
"mapbox-gl": "^2.9.2",
|
|
142
153
|
"react": "^17.0.2 || ^18.2.0",
|
|
143
154
|
"react-dom": "^17.0.2 || ^18.2.0"
|