@headwai/chat-bubble 6.6.1 → 6.7.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.
@@ -6,6 +6,9 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Chat Bubble Widget</title>
8
8
  <style>
9
+ /* html {
10
+ font-size: 24px;
11
+ } */
9
12
  body {
10
13
  font-family: Arial, sans-serif;
11
14
  margin: 20px;
@@ -102,6 +105,26 @@
102
105
  closed.
103
106
  </p>
104
107
 
108
+ <!-- Info Panel -->
109
+ <div
110
+ style="
111
+ background: #f0f8ff;
112
+ padding: 15px;
113
+ border-radius: 8px;
114
+ margin-bottom: 20px;
115
+ border: 2px solid #4a90e2;
116
+ "
117
+ >
118
+ <h3 style="margin-top: 0; color: #2c5aa0">� Font Size Detection</h3>
119
+ <p style="font-size: 14px; color: #666; margin: 0">
120
+ 💡 The chat bubble now automatically detects and inherits the font
121
+ size from its container element at initialization.<br />
122
+ 🔧 All buttons use em-based sizing for consistent relative scaling.<br />
123
+ ✅ This ensures the widget adapts to different website font sizes
124
+ automatically.
125
+ </p>
126
+ </div>
127
+
105
128
  <h3>Test Buttons:</h3>
106
129
  <button class="test-button" onclick="showAlert('Button 1 clicked!')">
107
130
  Test Button 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@headwai/chat-bubble",
3
- "version": "6.6.1",
3
+ "version": "6.7.1",
4
4
  "description": "A chat bubble component for LocalChat by headwAI",
5
5
  "type": "module",
6
6
  "files": [