@yext/visual-editor 0.0.39 → 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/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.39",
4
+ "version": "0.0.41",
5
5
  "type": "module",
6
6
  "author": "sumo@yext.com",
7
7
  "types": "dist/index.d.ts",
@@ -43,16 +43,25 @@
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
- "@measured/puck": "0.18.2",
56
+ "@measured/puck": "0.18.3",
50
57
  "@radix-ui/react-accordion": "^1.2.3",
51
58
  "@radix-ui/react-alert-dialog": "^1.1.1",
59
+ "@radix-ui/react-dialog": "^1.1.13",
52
60
  "@radix-ui/react-label": "^2.1.0",
53
61
  "@radix-ui/react-popover": "^1.1.6",
54
62
  "@radix-ui/react-progress": "^1.1.0",
55
63
  "@radix-ui/react-radio-group": "^1.2.1",
64
+ "@radix-ui/react-separator": "^1.1.7",
56
65
  "@radix-ui/react-slot": "^1.1.0",
57
66
  "@radix-ui/react-switch": "^1.1.0",
58
67
  "@radix-ui/react-tooltip": "^1.1.2",
@@ -63,15 +72,17 @@
63
72
  "dompurify": "^3.2.3",
64
73
  "eslint": "^9.8.0",
65
74
  "eslint-plugin-react": "^7.35.0",
75
+ "i18next": "^25.2.1",
66
76
  "lucide-react": "^0.414.0",
67
77
  "lz-string": "1.5.0",
68
78
  "next-themes": "^0.3.0",
69
79
  "picocolors": "^1.0.1",
70
- "prettier": "^3.3.3",
71
80
  "prompts": "^2.4.2",
72
81
  "pure-react-carousel": "^1.32.0",
73
82
  "react-color": "^2.19.3",
74
83
  "react-error-boundary": "^5.0.0",
84
+ "react-i18next": "^15.5.2",
85
+ "react-phone-number-input": "^3.4.12",
75
86
  "sonner": "^1.5.0",
76
87
  "tailwind-merge": "^2.4.0",
77
88
  "tsx": "^4.16.3"
@@ -92,6 +103,7 @@
92
103
  "@testing-library/react": "^16.3.0",
93
104
  "@types/fs-extra": "^11.0.4",
94
105
  "@types/jest-axe": "^3.5.9",
106
+ "@types/mapbox-gl": "^2.7.5",
95
107
  "@types/minimist": "^1.2.5",
96
108
  "@types/node": "^20.14.11",
97
109
  "@types/prompts": "^2.4.9",
@@ -112,15 +124,18 @@
112
124
  "generate-license-file": "^3.5.0",
113
125
  "gray-matter": "^4.0.3",
114
126
  "husky": "^9.1.4",
127
+ "i18next-scanner": "^4.6.0",
115
128
  "jest-axe": "^10.0.0",
116
129
  "jsdom": "^24.1.1",
117
130
  "libphonenumber-js": "^1.11.19",
118
131
  "lint-staged": "^15.2.7",
119
132
  "minimist": "^1.2.8",
120
133
  "playwright": "^1.51.1",
134
+ "prettier": "^3.3.3",
121
135
  "react-icons": "^5.2.1",
122
136
  "semver": "^7.6.3",
123
137
  "tailwindcss": "^3.4.6",
138
+ "ts-morph": "^26.0.0",
124
139
  "ts-node": "^10.9.2",
125
140
  "tsup": "8.3.5",
126
141
  "typescript": "^5.5.4",
@@ -132,6 +147,9 @@
132
147
  },
133
148
  "peerDependencies": {
134
149
  "@yext/pages-components": "^1.1.4",
150
+ "@yext/search-headless-react": "^2.5.0",
151
+ "@yext/search-ui-react": "^1.8.9",
152
+ "mapbox-gl": "^2.9.2",
135
153
  "react": "^17.0.2 || ^18.2.0",
136
154
  "react-dom": "^17.0.2 || ^18.2.0"
137
155
  }