@helpway/react 0.15.0 → 0.15.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.15.0",
3
+ "version": "0.15.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",
@@ -2886,31 +2886,15 @@
2886
2886
  color: var(--hw-text-1);
2887
2887
  }
2888
2888
 
2889
+ /* Layout only. The buttons themselves are .hw-quick-reply-btn — the same control
2890
+ the message list renders — so this class contributes the card's padding and
2891
+ nothing else. It used to carry a full second copy of the button styling, which
2892
+ is how the two versions ended up disagreeing about ground, ink and hover. */
2889
2893
  .hw-preview-quick-replies {
2890
- display: flex;
2891
- flex-wrap: wrap;
2892
- gap: 6px;
2893
2894
  padding: 0 14px 14px;
2894
- }
2895
-
2896
- .hw-preview-qr-btn {
2897
- display: inline-flex;
2898
- align-items: center;
2899
- padding: 6px 14px;
2900
- font-size: 13px;
2901
- font-weight: 500;
2902
- line-height: 1.3;
2903
- color: var(--hw-brand, #000);
2904
- background: transparent;
2905
- border: 1px solid var(--hw-border, rgba(0, 0, 0, 0.1));
2906
- border-radius: 18px;
2907
- cursor: pointer;
2908
- transition: background 0.15s, border-color 0.15s;
2909
- }
2910
-
2911
- .hw-preview-qr-btn:hover {
2912
- background: var(--hw-hover, rgba(0, 0, 0, 0.04));
2913
- border-color: var(--hw-brand, #000);
2895
+ /* .hw-quick-replies brings display/flex-wrap/gap and a top margin meant for
2896
+ sitting under a bubble; inside the card the padding above is the spacing. */
2897
+ margin-top: 0;
2914
2898
  }
2915
2899
 
2916
2900
  /* ── Preview closing animation ──────────────────────────── */