@siteping/widget 0.9.5 → 0.9.6

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/types.d.ts CHANGED
@@ -16,8 +16,8 @@ export interface SitepingConfig {
16
16
  debug?: boolean;
17
17
  /** Color theme — defaults to 'light' */
18
18
  theme?: "light" | "dark" | "auto";
19
- /** UI locale — defaults to 'en' */
20
- locale?: "fr" | "en" | (string & {}) | undefined;
19
+ /** UI locale — defaults to 'en'. Built-in: en, fr, de, es, it, pt (Brazilian), ru. Any other string falls back to English. */
20
+ locale?: "en" | "fr" | "de" | "es" | "it" | "pt" | "ru" | (string & {}) | undefined;
21
21
  /** Called when the widget is skipped (production mode, mobile viewport) */
22
22
  onSkip?: (reason: "production" | "mobile") => void;
23
23
  /** Called when the feedback panel is opened. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siteping/widget",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Feedback widget for client review during development — annotations, bugs, questions directly on the site",
5
5
  "type": "module",
6
6
  "sideEffects": false,