@tp3/chat-widget 0.1.2 → 0.1.4
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/dist/ChatWidget.js +5 -0
- package/dist/ChatWidget.mjs +5 -0
- package/package.json +2 -2
- package/src/ChatWidget.tsx +5 -0
package/dist/ChatWidget.js
CHANGED
|
@@ -248,6 +248,7 @@ function ChatWidget({
|
|
|
248
248
|
display: "flex",
|
|
249
249
|
alignItems: "center",
|
|
250
250
|
justifyContent: "center",
|
|
251
|
+
flexShrink: 0,
|
|
251
252
|
boxShadow: "var(--chat-shadow)"
|
|
252
253
|
},
|
|
253
254
|
"aria-label": "Abrir chat",
|
|
@@ -449,6 +450,10 @@ function ChatWidget({
|
|
|
449
450
|
color: "var(--chat-primary-fg)",
|
|
450
451
|
border: "none",
|
|
451
452
|
cursor: "pointer",
|
|
453
|
+
display: "flex",
|
|
454
|
+
alignItems: "center",
|
|
455
|
+
justifyContent: "center",
|
|
456
|
+
flexShrink: 0,
|
|
452
457
|
opacity: loading || !input.trim() ? 0.4 : 1
|
|
453
458
|
},
|
|
454
459
|
title: "Enviar",
|
package/dist/ChatWidget.mjs
CHANGED
|
@@ -224,6 +224,7 @@ function ChatWidget({
|
|
|
224
224
|
display: "flex",
|
|
225
225
|
alignItems: "center",
|
|
226
226
|
justifyContent: "center",
|
|
227
|
+
flexShrink: 0,
|
|
227
228
|
boxShadow: "var(--chat-shadow)"
|
|
228
229
|
},
|
|
229
230
|
"aria-label": "Abrir chat",
|
|
@@ -425,6 +426,10 @@ function ChatWidget({
|
|
|
425
426
|
color: "var(--chat-primary-fg)",
|
|
426
427
|
border: "none",
|
|
427
428
|
cursor: "pointer",
|
|
429
|
+
display: "flex",
|
|
430
|
+
alignItems: "center",
|
|
431
|
+
justifyContent: "center",
|
|
432
|
+
flexShrink: 0,
|
|
428
433
|
opacity: loading || !input.trim() ? 0.4 : 1
|
|
429
434
|
},
|
|
430
435
|
title: "Enviar",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tp3/chat-widget",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"main": "dist/ChatWidget.js",
|
|
5
5
|
"module": "dist/ChatWidget.mjs",
|
|
6
6
|
"types": "dist/ChatWidget.d.ts",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"typescript": "^5.0.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"react": "
|
|
23
|
+
"react": ">=18.0.0"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/src/ChatWidget.tsx
CHANGED
|
@@ -268,6 +268,7 @@ export default function ChatWidget({
|
|
|
268
268
|
display: "flex",
|
|
269
269
|
alignItems: "center",
|
|
270
270
|
justifyContent: "center",
|
|
271
|
+
flexShrink: 0,
|
|
271
272
|
boxShadow: "var(--chat-shadow)",
|
|
272
273
|
}}
|
|
273
274
|
aria-label="Abrir chat"
|
|
@@ -461,6 +462,10 @@ export default function ChatWidget({
|
|
|
461
462
|
color: "var(--chat-primary-fg)",
|
|
462
463
|
border: "none",
|
|
463
464
|
cursor: "pointer",
|
|
465
|
+
display: "flex",
|
|
466
|
+
alignItems: "center",
|
|
467
|
+
justifyContent: "center",
|
|
468
|
+
flexShrink: 0,
|
|
464
469
|
opacity: loading || !input.trim() ? 0.4 : 1,
|
|
465
470
|
}}
|
|
466
471
|
title="Enviar"
|