@wix/ditto-codegen-public 1.0.186 → 1.0.188

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 +26 -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
  }
@@ -36954,7 +36968,11 @@ var require_DashboardPageAgent = __commonJS({
36954
36968
  - \u2705 You need a dedicated administrative interface
36955
36969
  - \u2705 Creating business management tools
36956
36970
  - \u2705 Building custom reporting dashboards
36957
- - \u2705 Need full control over page layout and functionality`;
36971
+ - \u2705 Need full control over page layout and functionality
36972
+
36973
+ ### Do NOT add Dashboard Pages for:
36974
+
36975
+ - \u274C Site Widget configuration - use the widget's **built-in settings panel** instead`;
36958
36976
  };
36959
36977
  exports2.getDashboardPageDecisionGuide = getDashboardPageDecisionGuide;
36960
36978
  }
@@ -36999,6 +37017,8 @@ var require_EmbeddedScriptAgent = __commonJS({
36999
37017
  - Cookie consent banners
37000
37018
  - Custom tracking pixels
37001
37019
  - Dynamic content injection
37020
+ - Mouse/cursor effects (trails, custom cursors, sparkles, confetti following cursor)
37021
+ - Visual effects that follow user interactions site-wide (scroll effects, parallax, particle systems)
37002
37022
  - **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
37023
  - **When to Choose**:
37004
37024
  - When you need to add third-party scripts or custom code to websites
@@ -37023,7 +37043,10 @@ var require_EmbeddedScriptAgent = __commonJS({
37023
37043
  - \u2705 Implementing cookie consent or GDPR compliance features
37024
37044
  - \u2705 Adding live chat or customer support widgets
37025
37045
  - \u2705 When HTML/JavaScript injection is more suitable than a widget component
37026
- - \u2705 Pair with DASHBOARD_PAGE when configuration/management is needed`;
37046
+ - \u2705 Pair with DASHBOARD_PAGE when configuration/management is needed
37047
+ - \u2705 **Creating mouse/cursor effects (trails, sparkles, confetti, custom cursors)**
37048
+ - \u2705 **Visual effects that follow user interactions site-wide (not contained to a specific area)**
37049
+ - \u2705 **Any effect that needs to work globally across the entire page/site**`;
37027
37050
  };
37028
37051
  exports2.getEmbeddedScriptDecisionGuide = getEmbeddedScriptDecisionGuide;
37029
37052
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.186",
3
+ "version": "1.0.188",
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": "b1628cd6dfc189b04102b158e38183b1a94b6c78fe322d6a351a2e03"
27
+ "falconPackageHash": "b3e1d6f35c4c8cf997f4f0b20238bd32d113dbbd82c389819b9321bd"
28
28
  }