@headwai/chat-bubble 7.5.0 → 8.0.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/CHANGELOG.md +7 -2
- package/LICENSE +21 -0
- package/README.dev.md +10 -10
- package/README.md +73 -31
- package/dist-widget/LICENSE +21 -0
- package/dist-widget/THIRD_PARTY_LICENSES.md +44 -0
- package/dist-widget/chat-bubble.js +81 -81
- package/dist-widget/index.html +9 -12
- package/package.json +2 -2
package/dist-widget/index.html
CHANGED
|
@@ -4,11 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>Chat Bubble
|
|
7
|
+
<title>HeadwAI Chat Bubble</title>
|
|
8
8
|
<style>
|
|
9
|
-
/* html {
|
|
10
|
-
font-size: 24px;
|
|
11
|
-
} */
|
|
12
9
|
body {
|
|
13
10
|
font-family: Arial, sans-serif;
|
|
14
11
|
margin: 20px;
|
|
@@ -99,10 +96,10 @@
|
|
|
99
96
|
</head>
|
|
100
97
|
<body>
|
|
101
98
|
<div class="test-container">
|
|
102
|
-
<h1>Chat Bubble Click Test Page</h1>
|
|
99
|
+
<h1>HeadwAI Chat Bubble Click Test Page</h1>
|
|
103
100
|
<p>
|
|
104
|
-
This page tests whether elements are clickable when the
|
|
105
|
-
closed.
|
|
101
|
+
This page tests whether elements are clickable when the HeadwAI Chat
|
|
102
|
+
Bubble is closed.
|
|
106
103
|
</p>
|
|
107
104
|
|
|
108
105
|
<!-- Info Panel -->
|
|
@@ -117,8 +114,8 @@
|
|
|
117
114
|
>
|
|
118
115
|
<h3 style="margin-top: 0; color: #2c5aa0">� Font Size Detection</h3>
|
|
119
116
|
<p style="font-size: 14px; color: #666; margin: 0">
|
|
120
|
-
💡 The
|
|
121
|
-
size from its container element at initialization.<br />
|
|
117
|
+
💡 The HeadwAI Chat Bubble now automatically detects and inherits the
|
|
118
|
+
font size from its container element at initialization.<br />
|
|
122
119
|
🔧 All buttons use em-based sizing for consistent relative scaling.<br />
|
|
123
120
|
✅ This ensures the widget adapts to different website font sizes
|
|
124
121
|
automatically.
|
|
@@ -170,8 +167,8 @@
|
|
|
170
167
|
should all work
|
|
171
168
|
</li>
|
|
172
169
|
<li>
|
|
173
|
-
<strong>Open Chat:</strong> Click the
|
|
174
|
-
in bottom-right)
|
|
170
|
+
<strong>Open Chat:</strong> Click the HeadwAI Chat Bubble icon (small
|
|
171
|
+
circle in bottom-right)
|
|
175
172
|
</li>
|
|
176
173
|
<li>
|
|
177
174
|
<strong>Chat Open:</strong> Yellow area should be partially visible
|
|
@@ -226,7 +223,7 @@
|
|
|
226
223
|
}
|
|
227
224
|
|
|
228
225
|
// Log when page is ready
|
|
229
|
-
console.log('Test page loaded. Chat
|
|
226
|
+
console.log('Test page loaded. HeadwAI Chat Bubble should load next.');
|
|
230
227
|
</script>
|
|
231
228
|
|
|
232
229
|
</body>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headwai/chat-bubble",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "A chat bubble
|
|
3
|
+
"version": "8.0.1",
|
|
4
|
+
"description": "A chat bubble to interact with a HeadwAI ONE or an Open WebUI instance",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist-widget",
|