@helpway/react 0.5.0 → 0.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helpway/react",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Official React SDK for Helpway — drop-in AI chat support widget with headless hooks for custom UIs.",
5
5
  "keywords": [
6
6
  "helpway",
@@ -41,8 +41,13 @@
41
41
  padding: 0;
42
42
  }
43
43
 
44
- /* ── Tokens ────────────────────────────────────── */
45
- .hw-widget {
44
+ /* ── Tokens ──────────────────────────────────────
45
+ Wrapped in :where() so the default token block has zero specificity.
46
+ That way `applyTheme()` (which writes inline styles onto the host
47
+ element and onto documentElement as a fallback) always wins, and
48
+ anyone setting --hw-* via their own stylesheet doesn't need
49
+ `!important` to override us. */
50
+ :where(.hw-widget) {
46
51
  --hw-primary: #171717;
47
52
  --hw-primary-hover: #2a2a2a;
48
53
  /* Brand surface used by team-avatar fallbacks and primary CTAs.