@eka-care/medassist-widget-embed 0.2.12 → 0.2.13
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/iframe.js +1 -0
- package/dist/src/medassist-widget.css +0 -10
- package/dist/src/medassist-widget.js +6 -2
- package/dist/src/medassist-widget.js.map +1 -1
- package/iframe.ts +1 -0
- package/package.json +1 -1
- package/src/medassist-widget.css +0 -10
- package/src/medassist-widget.js +6 -2
- package/src/medassist-widget.js.map +1 -1
package/dist/iframe.js
CHANGED
|
@@ -1420,11 +1420,6 @@ body {
|
|
|
1420
1420
|
border-color: rgb(247 181 0 / var(--tw-border-opacity));
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
|
-
.border-\[\#FEE39B\] {
|
|
1424
|
-
--tw-border-opacity: 1;
|
|
1425
|
-
border-color: rgb(254 227 155 / var(--tw-border-opacity));
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
1423
|
.border-\[var\(--color-primary\)\] {
|
|
1429
1424
|
border-color: var(--color-primary);
|
|
1430
1425
|
}
|
|
@@ -1508,11 +1503,6 @@ body {
|
|
|
1508
1503
|
background-color: rgb(247 181 0 / var(--tw-bg-opacity));
|
|
1509
1504
|
}
|
|
1510
1505
|
|
|
1511
|
-
.bg-\[\#FFFBEB\] {
|
|
1512
|
-
--tw-bg-opacity: 1;
|
|
1513
|
-
background-color: rgb(255 251 235 / var(--tw-bg-opacity));
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
1506
|
.bg-\[opposite\] {
|
|
1517
1507
|
background-color: opposite;
|
|
1518
1508
|
}
|
|
@@ -29871,6 +29871,7 @@ var MedAssistWidget = (function(exports) {
|
|
|
29871
29871
|
);
|
|
29872
29872
|
function ProfileHeader({
|
|
29873
29873
|
onClose,
|
|
29874
|
+
showCloseButton = true,
|
|
29874
29875
|
title,
|
|
29875
29876
|
titleImg,
|
|
29876
29877
|
iconUrl,
|
|
@@ -29952,7 +29953,7 @@ var MedAssistWidget = (function(exports) {
|
|
|
29952
29953
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageSquarePlus, { className: "w-8 h-8" })
|
|
29953
29954
|
}
|
|
29954
29955
|
),
|
|
29955
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
29956
|
+
showCloseButton && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
29956
29957
|
Button,
|
|
29957
29958
|
{
|
|
29958
29959
|
onClick: onClose,
|
|
@@ -30383,6 +30384,7 @@ var MedAssistWidget = (function(exports) {
|
|
|
30383
30384
|
function WidgetContainer({
|
|
30384
30385
|
isOpen,
|
|
30385
30386
|
onClose,
|
|
30387
|
+
showCloseButton = true,
|
|
30386
30388
|
iconUrl,
|
|
30387
30389
|
onStartNewSession,
|
|
30388
30390
|
children,
|
|
@@ -30647,6 +30649,7 @@ var MedAssistWidget = (function(exports) {
|
|
|
30647
30649
|
ProfileHeader,
|
|
30648
30650
|
{
|
|
30649
30651
|
onClose,
|
|
30652
|
+
showCloseButton,
|
|
30650
30653
|
title,
|
|
30651
30654
|
titleImg,
|
|
30652
30655
|
iconUrl,
|
|
@@ -31733,6 +31736,7 @@ var MedAssistWidget = (function(exports) {
|
|
|
31733
31736
|
{
|
|
31734
31737
|
isOpen,
|
|
31735
31738
|
onClose: config.onClose,
|
|
31739
|
+
showCloseButton: config.showCloseButton,
|
|
31736
31740
|
title: config.title,
|
|
31737
31741
|
titleImg: config.theme?.titleImg,
|
|
31738
31742
|
iconUrl: config.iconUrl,
|
|
@@ -43544,7 +43548,7 @@ var MedAssistWidget = (function(exports) {
|
|
|
43544
43548
|
"div",
|
|
43545
43549
|
{
|
|
43546
43550
|
className: cn(
|
|
43547
|
-
"mx-4 mb-3 px-2 py-1
|
|
43551
|
+
"mx-4 mb-3 px-2 py-1 bg-surface border border-[#F7B500] rounded-lg",
|
|
43548
43552
|
className
|
|
43549
43553
|
),
|
|
43550
43554
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3", children: [
|