funda-ui 4.5.767 → 4.5.777
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/Chatbox/index.css +13 -1
- package/Chatbox/index.js +3 -0
- package/lib/cjs/Chatbox/index.js +3 -0
- package/lib/css/Chatbox/index.css +13 -1
- package/lib/esm/Chatbox/index.scss +18 -2
- package/lib/esm/Chatbox/index.tsx +3 -0
- package/package.json +1 -1
package/Chatbox/index.css
CHANGED
|
@@ -169,6 +169,9 @@
|
|
|
169
169
|
font-size: 13px;
|
|
170
170
|
margin-right: 0;
|
|
171
171
|
}
|
|
172
|
+
.custom-chatbox-container .messages img, .custom-chatbox-container .messages svg, .custom-chatbox-container .messages video, .custom-chatbox-container .messages canvas, .custom-chatbox-container .messages audio, .custom-chatbox-container .messages iframe, .custom-chatbox-container .messages embed, .custom-chatbox-container .messages object {
|
|
173
|
+
display: inline;
|
|
174
|
+
}
|
|
172
175
|
.custom-chatbox-container .messages::-webkit-scrollbar {
|
|
173
176
|
width: 3px;
|
|
174
177
|
}
|
|
@@ -286,6 +289,9 @@
|
|
|
286
289
|
z-index: 1;
|
|
287
290
|
width: calc(100% - 40px);
|
|
288
291
|
}
|
|
292
|
+
.custom-chatbox-container .msgcontrol img, .custom-chatbox-container .msgcontrol svg, .custom-chatbox-container .msgcontrol video, .custom-chatbox-container .msgcontrol canvas, .custom-chatbox-container .msgcontrol audio, .custom-chatbox-container .msgcontrol iframe, .custom-chatbox-container .msgcontrol embed, .custom-chatbox-container .msgcontrol object {
|
|
293
|
+
display: inline;
|
|
294
|
+
}
|
|
289
295
|
.custom-chatbox-container .msgcontrol .messageInput {
|
|
290
296
|
width: 100%;
|
|
291
297
|
border: 1px solid var(--custom-chatbox-msg-border);
|
|
@@ -305,7 +311,7 @@
|
|
|
305
311
|
color: var(--custom-chatbox-default-txt-color);
|
|
306
312
|
resize: none;
|
|
307
313
|
max-height: 50vh;
|
|
308
|
-
border
|
|
314
|
+
border: 1px solid var(--custom-chatbox-gray-color);
|
|
309
315
|
}
|
|
310
316
|
.custom-chatbox-container .msgcontrol .messageInput .messageInput-control::-webkit-scrollbar {
|
|
311
317
|
width: 3px;
|
|
@@ -370,6 +376,9 @@
|
|
|
370
376
|
font-size: 0.8125rem;
|
|
371
377
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
372
378
|
}
|
|
379
|
+
.custom-chatbox-container .newchat-btn > button img, .custom-chatbox-container .newchat-btn > button svg, .custom-chatbox-container .newchat-btn > button video, .custom-chatbox-container .newchat-btn > button canvas, .custom-chatbox-container .newchat-btn > button audio, .custom-chatbox-container .newchat-btn > button iframe, .custom-chatbox-container .newchat-btn > button embed, .custom-chatbox-container .newchat-btn > button object {
|
|
380
|
+
display: inline;
|
|
381
|
+
}
|
|
373
382
|
.custom-chatbox-container .newchat-btn > button:hover {
|
|
374
383
|
transform: translateY(-2px);
|
|
375
384
|
}
|
|
@@ -392,6 +401,9 @@
|
|
|
392
401
|
transition: all 0.3s ease;
|
|
393
402
|
font-size: 0.75rem;
|
|
394
403
|
}
|
|
404
|
+
.custom-chatbox-container .toolkit-btns > button img, .custom-chatbox-container .toolkit-btns > button svg, .custom-chatbox-container .toolkit-btns > button video, .custom-chatbox-container .toolkit-btns > button canvas, .custom-chatbox-container .toolkit-btns > button audio, .custom-chatbox-container .toolkit-btns > button iframe, .custom-chatbox-container .toolkit-btns > button embed, .custom-chatbox-container .toolkit-btns > button object {
|
|
405
|
+
display: inline;
|
|
406
|
+
}
|
|
395
407
|
.custom-chatbox-container .toolkit-btns > button:hover {
|
|
396
408
|
background-color: var(--custom-chatbox-toolkit-btn-border-color);
|
|
397
409
|
transform: translateY(-2px);
|
package/Chatbox/index.js
CHANGED
|
@@ -3846,6 +3846,9 @@ var Chatbox = function Chatbox(props) {
|
|
|
3846
3846
|
setVal: function setVal(v) {
|
|
3847
3847
|
if (inputContentRef.current) inputContentRef.current.set(v);
|
|
3848
3848
|
},
|
|
3849
|
+
getContextData: function getContextData() {
|
|
3850
|
+
return contextDataRef.current;
|
|
3851
|
+
},
|
|
3849
3852
|
setContextData: function setContextData(v) {
|
|
3850
3853
|
contextDataRef.current = v;
|
|
3851
3854
|
}
|
package/lib/cjs/Chatbox/index.js
CHANGED
|
@@ -3846,6 +3846,9 @@ var Chatbox = function Chatbox(props) {
|
|
|
3846
3846
|
setVal: function setVal(v) {
|
|
3847
3847
|
if (inputContentRef.current) inputContentRef.current.set(v);
|
|
3848
3848
|
},
|
|
3849
|
+
getContextData: function getContextData() {
|
|
3850
|
+
return contextDataRef.current;
|
|
3851
|
+
},
|
|
3849
3852
|
setContextData: function setContextData(v) {
|
|
3850
3853
|
contextDataRef.current = v;
|
|
3851
3854
|
}
|
|
@@ -169,6 +169,9 @@
|
|
|
169
169
|
font-size: 13px;
|
|
170
170
|
margin-right: 0;
|
|
171
171
|
}
|
|
172
|
+
.custom-chatbox-container .messages img, .custom-chatbox-container .messages svg, .custom-chatbox-container .messages video, .custom-chatbox-container .messages canvas, .custom-chatbox-container .messages audio, .custom-chatbox-container .messages iframe, .custom-chatbox-container .messages embed, .custom-chatbox-container .messages object {
|
|
173
|
+
display: inline;
|
|
174
|
+
}
|
|
172
175
|
.custom-chatbox-container .messages::-webkit-scrollbar {
|
|
173
176
|
width: 3px;
|
|
174
177
|
}
|
|
@@ -286,6 +289,9 @@
|
|
|
286
289
|
z-index: 1;
|
|
287
290
|
width: calc(100% - 40px);
|
|
288
291
|
}
|
|
292
|
+
.custom-chatbox-container .msgcontrol img, .custom-chatbox-container .msgcontrol svg, .custom-chatbox-container .msgcontrol video, .custom-chatbox-container .msgcontrol canvas, .custom-chatbox-container .msgcontrol audio, .custom-chatbox-container .msgcontrol iframe, .custom-chatbox-container .msgcontrol embed, .custom-chatbox-container .msgcontrol object {
|
|
293
|
+
display: inline;
|
|
294
|
+
}
|
|
289
295
|
.custom-chatbox-container .msgcontrol .messageInput {
|
|
290
296
|
width: 100%;
|
|
291
297
|
border: 1px solid var(--custom-chatbox-msg-border);
|
|
@@ -305,7 +311,7 @@
|
|
|
305
311
|
color: var(--custom-chatbox-default-txt-color);
|
|
306
312
|
resize: none;
|
|
307
313
|
max-height: 50vh;
|
|
308
|
-
border
|
|
314
|
+
border: 1px solid var(--custom-chatbox-gray-color);
|
|
309
315
|
}
|
|
310
316
|
.custom-chatbox-container .msgcontrol .messageInput .messageInput-control::-webkit-scrollbar {
|
|
311
317
|
width: 3px;
|
|
@@ -370,6 +376,9 @@
|
|
|
370
376
|
font-size: 0.8125rem;
|
|
371
377
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
372
378
|
}
|
|
379
|
+
.custom-chatbox-container .newchat-btn > button img, .custom-chatbox-container .newchat-btn > button svg, .custom-chatbox-container .newchat-btn > button video, .custom-chatbox-container .newchat-btn > button canvas, .custom-chatbox-container .newchat-btn > button audio, .custom-chatbox-container .newchat-btn > button iframe, .custom-chatbox-container .newchat-btn > button embed, .custom-chatbox-container .newchat-btn > button object {
|
|
380
|
+
display: inline;
|
|
381
|
+
}
|
|
373
382
|
.custom-chatbox-container .newchat-btn > button:hover {
|
|
374
383
|
transform: translateY(-2px);
|
|
375
384
|
}
|
|
@@ -392,6 +401,9 @@
|
|
|
392
401
|
transition: all 0.3s ease;
|
|
393
402
|
font-size: 0.75rem;
|
|
394
403
|
}
|
|
404
|
+
.custom-chatbox-container .toolkit-btns > button img, .custom-chatbox-container .toolkit-btns > button svg, .custom-chatbox-container .toolkit-btns > button video, .custom-chatbox-container .toolkit-btns > button canvas, .custom-chatbox-container .toolkit-btns > button audio, .custom-chatbox-container .toolkit-btns > button iframe, .custom-chatbox-container .toolkit-btns > button embed, .custom-chatbox-container .toolkit-btns > button object {
|
|
405
|
+
display: inline;
|
|
406
|
+
}
|
|
395
407
|
.custom-chatbox-container .toolkit-btns > button:hover {
|
|
396
408
|
background-color: var(--custom-chatbox-toolkit-btn-border-color);
|
|
397
409
|
transform: translateY(-2px);
|
|
@@ -201,7 +201,10 @@
|
|
|
201
201
|
font-size: 13px;
|
|
202
202
|
margin-right: 0;
|
|
203
203
|
|
|
204
|
-
|
|
204
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
205
|
+
display: inline;
|
|
206
|
+
}
|
|
207
|
+
|
|
205
208
|
&::-webkit-scrollbar {
|
|
206
209
|
width: 3px;
|
|
207
210
|
}
|
|
@@ -344,6 +347,10 @@
|
|
|
344
347
|
z-index: 1;
|
|
345
348
|
width: calc(100% - 40px);
|
|
346
349
|
|
|
350
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
351
|
+
display: inline;
|
|
352
|
+
}
|
|
353
|
+
|
|
347
354
|
.messageInput {
|
|
348
355
|
width: 100%;
|
|
349
356
|
border: 1px solid var(--custom-chatbox-msg-border);
|
|
@@ -366,7 +373,7 @@
|
|
|
366
373
|
color: var(--custom-chatbox-default-txt-color);
|
|
367
374
|
resize: none;
|
|
368
375
|
max-height: 50vh;
|
|
369
|
-
border
|
|
376
|
+
border: 1px solid var(--custom-chatbox-gray-color);
|
|
370
377
|
|
|
371
378
|
&::-webkit-scrollbar {
|
|
372
379
|
width: 3px;
|
|
@@ -453,6 +460,10 @@
|
|
|
453
460
|
font-size: 0.8125rem;
|
|
454
461
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
455
462
|
|
|
463
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
464
|
+
display: inline;
|
|
465
|
+
}
|
|
466
|
+
|
|
456
467
|
&:hover {
|
|
457
468
|
transform: translateY(-2px);
|
|
458
469
|
}
|
|
@@ -483,6 +494,11 @@
|
|
|
483
494
|
transition: all 0.3s ease;
|
|
484
495
|
font-size: 0.75rem;
|
|
485
496
|
|
|
497
|
+
|
|
498
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
499
|
+
display: inline;
|
|
500
|
+
}
|
|
501
|
+
|
|
486
502
|
&:hover {
|
|
487
503
|
background-color: var(--custom-chatbox-toolkit-btn-border-color);
|
|
488
504
|
transform: translateY(-2px);
|
|
@@ -154,6 +154,9 @@ const Chatbox = (props: ChatboxProps) => {
|
|
|
154
154
|
setVal: (v: string) => {
|
|
155
155
|
if (inputContentRef.current) inputContentRef.current.set(v);
|
|
156
156
|
},
|
|
157
|
+
getContextData: () => {
|
|
158
|
+
return contextDataRef.current;
|
|
159
|
+
},
|
|
157
160
|
setContextData: (v: Record<string, any>) => {
|
|
158
161
|
contextDataRef.current = v;
|
|
159
162
|
},
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "UIUX Lab",
|
|
3
3
|
"email": "uiuxlab@gmail.com",
|
|
4
4
|
"name": "funda-ui",
|
|
5
|
-
"version": "4.5.
|
|
5
|
+
"version": "4.5.777",
|
|
6
6
|
"description": "React components using pure Bootstrap 5+ which does not contain any external style and script libraries.",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|