@sensiblestats/widget-embed 0.110.1 → 0.112.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sensiblestats/widget-embed
2
2
 
3
+ ## 0.112.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Brand colours now come in a light and a dark group. `colors: { light, dark }` replaces the flat `accent`, `cta`, `surface` and `ink` config keys (breaking). Each group takes `accent`, `cta`, `surface` and `ink`. The dark theme reads only `colors.dark`; a dark colour left out shows the built-in dark colour, never the light one. On the script tag, `data-accent`, `data-cta`, `data-surface` and `data-ink` fill the light group and `data-accent-dark`, `data-cta-dark`, `data-surface-dark` and `data-ink-dark` fill the dark group; the mobile fragment uses `accentDark`, `ctaDark`, `surfaceDark` and `inkDark`. Blank values are ignored. Brand colours no longer lock the theme: the visitor's theme choice always wins and Settings always shows the theme row.
8
+
9
+ ## 0.111.0
10
+
11
+ ### Minor Changes
12
+
13
+ - The mobile `/m` fragment now reads `timeZone`, `placeholder`, `radius`, `pinIcon` and `starters`. The script tag gains `data-starters` (a `|`-separated list, at most six). `init()` and the data-\* path now share one base URL rule: `baseUrl` (or `data-base-url`) wins, otherwise the gateway the script loads from (`{gateway}/embed.js`), otherwise the widget logs `baseUrl is required` and does not start. A script tag that loads from elsewhere and has no `data-base-url` no longer falls back to the SDK default host.
14
+
3
15
  ## 0.110.1
4
16
 
5
17
  ### Patch Changes