@wix/ditto-codegen-public 1.0.286 → 1.0.287
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 +5 -5
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -11587,7 +11587,7 @@ var require_constants5 = __commonJS({
|
|
|
11587
11587
|
event: "backend event",
|
|
11588
11588
|
genericExtension: "extension",
|
|
11589
11589
|
customElement: "custom element",
|
|
11590
|
-
siteComponent: "
|
|
11590
|
+
siteComponent: "editor react component",
|
|
11591
11591
|
sitePlugin: "site plugin",
|
|
11592
11592
|
ecomShippingRates: "service plugin",
|
|
11593
11593
|
ecomAdditionalFees: "service plugin",
|
|
@@ -17674,20 +17674,20 @@ var require_pre_run_decision = __commonJS({
|
|
|
17674
17674
|
const selectedType = await (0, job_decision_manager_1.askJobChoice)(jobId, `What type of site UI element would you like to create for "${extensionName}"?`, [
|
|
17675
17675
|
{
|
|
17676
17676
|
id: types_1.ExtensionType.SITE_WIDGET,
|
|
17677
|
-
label: "
|
|
17677
|
+
label: "Custom Element Widget",
|
|
17678
17678
|
description: "A self-contained widget built as a Custom Element, embedded on the site. Best for standalone, reusable components."
|
|
17679
17679
|
},
|
|
17680
17680
|
{
|
|
17681
17681
|
id: types_1.ExtensionType.SITE_COMPONENT,
|
|
17682
|
-
label: "
|
|
17682
|
+
label: "Editor React Component",
|
|
17683
17683
|
description: "A React component that integrates with the site builder. Best for components that need to work with Wix editor features."
|
|
17684
17684
|
}
|
|
17685
|
-
], "
|
|
17685
|
+
], "Custom Element Widgets are standalone embeddable units with their own styling, while Editor React Components integrate more deeply with the Wix editor and builder.");
|
|
17686
17686
|
const isTypeChanged = selectedType !== currentType;
|
|
17687
17687
|
logger_12.logger.info(`[PreDecision] User selected ${selectedType} for "${extensionName}"${isTypeChanged ? ` (changed from ${currentType})` : " (unchanged)"}`);
|
|
17688
17688
|
const appliedDecision = {
|
|
17689
17689
|
type: "SITE_UI_TYPE",
|
|
17690
|
-
question: "
|
|
17690
|
+
question: "Custom Element Widget vs Editor React Component",
|
|
17691
17691
|
selectedOptionId: selectedType
|
|
17692
17692
|
};
|
|
17693
17693
|
return {
|
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.287",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"@wix/ditto-codegen": "1.0.0",
|
|
28
28
|
"esbuild": "^0.27.2"
|
|
29
29
|
},
|
|
30
|
-
"falconPackageHash": "
|
|
30
|
+
"falconPackageHash": "cfca0a7d26f668b5e6db9393a69bea9ac4300d1ae7d0b2084d0543a1"
|
|
31
31
|
}
|