@wix/ditto-codegen-public 1.0.497 → 1.0.499
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/out.js +3 -3
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -12774,7 +12774,7 @@ Use the matching site service instead, read with \`useService\` from \`@wix/serv
|
|
|
12774
12774
|
|
|
12775
12775
|
| Instead of | Use |
|
|
12776
12776
|
|---|---|
|
|
12777
|
-
| \`@wix/site-window\` \`openLightbox\` / \`lightbox.getContext\` / \`lightbox.close\` | \`@wix/site-service-lightbox\` |
|
|
12777
|
+
| \`@wix/site-window\` \`openLightbox\` / \`lightbox.getContext\` / \`lightbox.close\` | \`@wix/site-service-lightbox\` (read wix-app's \`references/LIGHTBOX.md\`) |
|
|
12778
12778
|
| \`@wix/site-window\` \`formFactor\` | \`@wix/site-service-device-info\`. Its device types are named differently from \`formFactor\`: use the values in its types |
|
|
12779
12779
|
| \`@wix/site-window\` \`viewMode\` | \`@wix/site-service-editor-context\`. It only says whether the site is being previewed; it can't tell the editor from the live site |
|
|
12780
12780
|
| \`@wix/site-window\` \`rendering.env\` | \`@wix/site-service-rendering-context\` |
|
|
@@ -13010,7 +13010,7 @@ var require_studio_2 = __commonJS({
|
|
|
13010
13010
|
message: `BLOCKED: Custom Element widgets are not available in this environment. All site UI must be an Editor React Component (extensionType: EDITOR_REACT_COMPONENT). Read wix-app's references/EDITOR_REACT_COMPONENT.md instead. Do not retry this read.`
|
|
13011
13011
|
};
|
|
13012
13012
|
exports2.SITE_PLUGIN_UNSUPPORTED_PAGES = `Product Page (New Version), Product Page (Old Version), Service Page (Wix Bookings), Event Details Page (Wix Events)`;
|
|
13013
|
-
exports2.SITE_PLUGIN_REDIRECT = `For UI on those pages build an Editor React Component; for shared data or state without UI
|
|
13013
|
+
exports2.SITE_PLUGIN_REDIRECT = `For UI on those pages build an Editor React Component; for shared data or state without UI read wix-app's references/CONTEXT_PROVIDER.md. Site plugins remain supported on all other listed pages.`;
|
|
13014
13014
|
var STUDIO_2_SITE_UI_ROUTING = `- All site UI MUST be an Editor React Component (\`extensionType: EDITOR_REACT_COMPONENT\`); Custom Elements (\`CUSTOM_ELEMENT\`, \`CUSTOM_ELEMENT_WIDGET\`) are unavailable in this environment, even if the prompt says "custom element" or "widget".
|
|
13015
13015
|
- Site plugins are not supported on these pages: ${exports2.SITE_PLUGIN_UNSUPPORTED_PAGES}. ${exports2.SITE_PLUGIN_REDIRECT}`;
|
|
13016
13016
|
exports2.SITE_PLUGIN_PAGES_POLICY = {
|
|
@@ -16237,7 +16237,7 @@ var require_validation_state = __commonJS({
|
|
|
16237
16237
|
exports2.VALIDATION_STATE_EVENT_TYPE = "validation_state";
|
|
16238
16238
|
exports2.VALIDATION_LOADED_EVENT_TYPE = "validation_loaded";
|
|
16239
16239
|
exports2.VALIDATION_STATE_PLUGIN_FILENAME = "validation-state.ts";
|
|
16240
|
-
exports2.VALIDATION_NUDGE = "Project files need validation. Follow your validation workflow (delegate to codegen-validator if your instructions require it), run validate({ runBuild: true }), and fix any errors before finishing. Your last message is shown to the user: once validation passes, end with a short plain-language summary
|
|
16240
|
+
exports2.VALIDATION_NUDGE = "Project files need validation. Follow your validation workflow (delegate to codegen-validator if your instructions require it), run validate({ runBuild: true }), and fix any errors before finishing. Your last message is shown to the user: once validation passes, end with a short plain-language summary for them: what changed, and if there is something you could not do, why and what they need to do next. Do not mention validation.";
|
|
16241
16241
|
function buildValidationStateSource() {
|
|
16242
16242
|
return String.raw`// Generated by @wix/ditto-codegen (validation-state). Do not edit.
|
|
16243
16243
|
const EVENT_TYPE = ${JSON.stringify(exports2.VALIDATION_STATE_EVENT_TYPE)};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.499",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"esbuild": "^0.27.2",
|
|
30
30
|
"vitest": "^4.0.16"
|
|
31
31
|
},
|
|
32
|
-
"falconPackageHash": "
|
|
32
|
+
"falconPackageHash": "bddff6830410f1114d962458277922efd02195d3364ff5a152ee09c4"
|
|
33
33
|
}
|