@wix/ditto-codegen-public 1.0.185 → 1.0.187

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.
Files changed (2) hide show
  1. package/dist/out.js +22 -3
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -36910,7 +36910,17 @@ var require_CustomElementAgent = __commonJS({
36910
36910
  - Custom calculators or tools
36911
36911
  - Counter components
36912
36912
  - Countdown components
36913
+ - **Built-in Settings Panel**: Site Widgets have a built-in settings panel in the Wix Editor that allows site owners to configure the widget directly without needing a separate Dashboard Page. The panel can include:
36914
+ - Text inputs (titles, labels, messages)
36915
+ - Date/time pickers
36916
+ - Color pickers and style options
36917
+ - Toggle switches and checkboxes
36918
+ - Dropdown selectors
36919
+ - Number inputs
36920
+ - **When Panel is Sufficient**: For widgets where configuration is per-instance and managed by the site owner in the Editor (e.g., countdown target date, display text, colors, styles). NO Dashboard Page is needed.
36921
+ - **When Dashboard Page is Needed**: Only when the app requires storing shared configurations in a database, managing multiple configurations across widgets, or providing admin-level analytics/reporting.
36913
36922
  - **When to Choose**: When you need to provide reusable, configurable components for site builders and you need to add functionality to Wix sites for Wix site visitors. This is the DEFAULT choice for all site functionality.
36923
+ - **IMPORTANT**: Do NOT pair Site Widgets with a Dashboard Page unless the user explicitly requests shared/centralized configuration management. The widget panel handles per-instance configuration.
36914
36924
  </site_widget>`;
36915
36925
  };
36916
36926
  exports2.getCustomElementAgentDocumentation = getCustomElementAgentDocumentation;
@@ -36922,7 +36932,11 @@ var require_CustomElementAgent = __commonJS({
36922
36932
  - \u2705 Need configurable widgets for site builders
36923
36933
  - \u2705 Want to provide drag-and-drop functionality
36924
36934
  - \u2705 Need to add functionality to Wix sites for site visitors
36925
- - \u2705 **DEFAULT choice for all site functionality**`;
36935
+ - \u2705 **DEFAULT choice for all site functionality**
36936
+
36937
+ ### Site Widget Panel vs Dashboard Page:
36938
+ - \u2705 Use the **built-in widget panel** for per-instance configuration (text, dates, styles, toggles) - NO Dashboard Page needed
36939
+ - \u274C Only add a Dashboard Page if the user explicitly needs shared/centralized configuration stored in a database`;
36926
36940
  };
36927
36941
  exports2.getSiteWidgetDecisionGuide = getSiteWidgetDecisionGuide;
36928
36942
  }
@@ -36999,6 +37013,8 @@ var require_EmbeddedScriptAgent = __commonJS({
36999
37013
  - Cookie consent banners
37000
37014
  - Custom tracking pixels
37001
37015
  - Dynamic content injection
37016
+ - Mouse/cursor effects (trails, custom cursors, sparkles, confetti following cursor)
37017
+ - Visual effects that follow user interactions site-wide (scroll effects, parallax, particle systems)
37002
37018
  - **Dynamic Parameters**: Can be configured with dynamic parameters that are managed through a Dashboard Page, allowing site owners to customize the script's behavior (e.g., headlines, messages, images, timing, activation modes)
37003
37019
  - **When to Choose**:
37004
37020
  - When you need to add third-party scripts or custom code to websites
@@ -37023,7 +37039,10 @@ var require_EmbeddedScriptAgent = __commonJS({
37023
37039
  - \u2705 Implementing cookie consent or GDPR compliance features
37024
37040
  - \u2705 Adding live chat or customer support widgets
37025
37041
  - \u2705 When HTML/JavaScript injection is more suitable than a widget component
37026
- - \u2705 Pair with DASHBOARD_PAGE when configuration/management is needed`;
37042
+ - \u2705 Pair with DASHBOARD_PAGE when configuration/management is needed
37043
+ - \u2705 **Creating mouse/cursor effects (trails, sparkles, confetti, custom cursors)**
37044
+ - \u2705 **Visual effects that follow user interactions site-wide (not contained to a specific area)**
37045
+ - \u2705 **Any effect that needs to work globally across the entire page/site**`;
37027
37046
  };
37028
37047
  exports2.getEmbeddedScriptDecisionGuide = getEmbeddedScriptDecisionGuide;
37029
37048
  }
@@ -67159,7 +67178,7 @@ var require_IterationAgent = __commonJS({
67159
67178
  var contextBuilders_1 = require_contextBuilders();
67160
67179
  var CurrentExtensionSchema = zod_1.z.object({
67161
67180
  extensionType: zod_1.z.enum(codegen_common_logic_1.codeGenerationExtensionTypes).describe("The extension kind to trigger"),
67162
- name: zod_1.z.string().describe("A descriptive name for this extension"),
67181
+ name: zod_1.z.string().min(2).max(30).describe("Short, human-readable name for the extension. Less than 30 chars."),
67163
67182
  relatedSpis: zod_1.z.array(zod_1.z.string()).optional().describe("Optional value, only for SPI extensions - specify the SPI types"),
67164
67183
  paths: zod_1.z.array(zod_1.z.string()).describe("Paths relevant for this extension"),
67165
67184
  relevantUserRequest: zod_1.z.string().describe("What part of the user request this extension should do, do not reference other extensions.")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.185",
3
+ "version": "1.0.187",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.25.9"
26
26
  },
27
- "falconPackageHash": "571f6fecc627d7b58344272abb91c82558b004dbf79f4fc0d668c231"
27
+ "falconPackageHash": "11b68efd1da163104a0d193237bb9578ca78f7b7a0088cc314e8c6b4"
28
28
  }