@yext/visual-editor 0.0.40 → 0.0.42

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/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.40",
4
+ "version": "0.0.42",
5
5
  "type": "module",
6
6
  "author": "sumo@yext.com",
7
7
  "types": "dist/index.d.ts",
@@ -43,13 +43,22 @@
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",
54
+ "i18n:check-empty": "pnpm exec tsx scripts/checkEmptyTranslations.ts"
47
55
  },
48
56
  "dependencies": {
49
57
  "@measured/puck": "0.18.3",
50
58
  "@radix-ui/react-accordion": "^1.2.3",
51
59
  "@radix-ui/react-alert-dialog": "^1.1.1",
52
60
  "@radix-ui/react-dialog": "^1.1.13",
61
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
53
62
  "@radix-ui/react-label": "^2.1.0",
54
63
  "@radix-ui/react-popover": "^1.1.6",
55
64
  "@radix-ui/react-progress": "^1.1.0",
@@ -65,15 +74,16 @@
65
74
  "dompurify": "^3.2.3",
66
75
  "eslint": "^9.8.0",
67
76
  "eslint-plugin-react": "^7.35.0",
77
+ "i18next": "^25.2.1",
68
78
  "lucide-react": "^0.414.0",
69
79
  "lz-string": "1.5.0",
70
80
  "next-themes": "^0.3.0",
71
81
  "picocolors": "^1.0.1",
72
- "prettier": "^3.3.3",
73
82
  "prompts": "^2.4.2",
74
83
  "pure-react-carousel": "^1.32.0",
75
84
  "react-color": "^2.19.3",
76
85
  "react-error-boundary": "^5.0.0",
86
+ "react-i18next": "^15.5.2",
77
87
  "react-phone-number-input": "^3.4.12",
78
88
  "sonner": "^1.5.0",
79
89
  "tailwind-merge": "^2.4.0",
@@ -116,15 +126,18 @@
116
126
  "generate-license-file": "^3.5.0",
117
127
  "gray-matter": "^4.0.3",
118
128
  "husky": "^9.1.4",
129
+ "i18next-scanner": "^4.6.0",
119
130
  "jest-axe": "^10.0.0",
120
131
  "jsdom": "^24.1.1",
121
132
  "libphonenumber-js": "^1.11.19",
122
133
  "lint-staged": "^15.2.7",
123
134
  "minimist": "^1.2.8",
124
135
  "playwright": "^1.51.1",
136
+ "prettier": "^3.3.3",
125
137
  "react-icons": "^5.2.1",
126
138
  "semver": "^7.6.3",
127
139
  "tailwindcss": "^3.4.6",
140
+ "ts-morph": "^26.0.0",
128
141
  "ts-node": "^10.9.2",
129
142
  "tsup": "8.3.5",
130
143
  "typescript": "^5.5.4",
@@ -136,8 +149,8 @@
136
149
  },
137
150
  "peerDependencies": {
138
151
  "@yext/pages-components": "^1.1.4",
139
- "@yext/search-headless-react": "^2.5.0",
140
- "@yext/search-ui-react": "^1.8.2",
152
+ "@yext/search-headless-react": "^2.5.2",
153
+ "@yext/search-ui-react": "^1.8.13",
141
154
  "mapbox-gl": "^2.9.2",
142
155
  "react": "^17.0.2 || ^18.2.0",
143
156
  "react-dom": "^17.0.2 || ^18.2.0"