@apteva/apteva-kit 0.1.123 → 0.1.124
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/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3686,7 +3686,7 @@ function Composer({ onSendMessage, placeholder = "Type a message...", disabled =
|
|
|
3686
3686
|
{
|
|
3687
3687
|
ref: menuButtonRef,
|
|
3688
3688
|
onClick: () => setShowMenu(!showMenu),
|
|
3689
|
-
className: "apteva-composer-menu-btn w-8 h-8 rounded-lg flex items-center justify-center transition-all
|
|
3689
|
+
className: "apteva-composer-menu-btn w-8 h-8 rounded-lg flex items-center justify-center transition-all",
|
|
3690
3690
|
title: "More options",
|
|
3691
3691
|
children: /* @__PURE__ */ jsx23("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx23("path", { d: "M10 5v10M5 10h10", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })
|
|
3692
3692
|
}
|
|
@@ -3696,7 +3696,7 @@ function Composer({ onSendMessage, placeholder = "Type a message...", disabled =
|
|
|
3696
3696
|
/* @__PURE__ */ jsxs17(
|
|
3697
3697
|
"div",
|
|
3698
3698
|
{
|
|
3699
|
-
className: "apteva-composer-menu fixed
|
|
3699
|
+
className: "apteva-composer-menu fixed rounded-xl shadow-lg overflow-hidden z-[9999] min-w-[200px]",
|
|
3700
3700
|
style: {
|
|
3701
3701
|
left: menuButtonRef.current?.getBoundingClientRect().left ?? 0,
|
|
3702
3702
|
bottom: window.innerHeight - (menuButtonRef.current?.getBoundingClientRect().top ?? 0) + 8
|
|
@@ -3709,7 +3709,7 @@ function Composer({ onSendMessage, placeholder = "Type a message...", disabled =
|
|
|
3709
3709
|
fileInputRef.current?.click();
|
|
3710
3710
|
setShowMenu(false);
|
|
3711
3711
|
},
|
|
3712
|
-
className: "w-full flex items-center gap-3 px-4 py-3
|
|
3712
|
+
className: "apteva-composer-menu-item w-full flex items-center gap-3 px-4 py-3 transition-colors text-left",
|
|
3713
3713
|
children: [
|
|
3714
3714
|
/* @__PURE__ */ jsx23("svg", { width: "18", height: "18", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx23("path", { d: "M10.5 3.5L5.5 8.5C4.67157 9.32843 4.67157 10.6716 5.5 11.5C6.32843 12.3284 7.67157 12.3284 8.5 11.5L14.5 5.5C15.8807 4.11929 15.8807 1.88071 14.5 0.5C13.1193 -0.880711 10.8807 -0.880711 9.5 0.5L3.5 6.5C1.56846 8.43154 1.56846 11.5685 3.5 13.5C5.43154 15.4315 8.56846 15.4315 10.5 13.5L15.5 8.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", transform: "translate(2, 3)" }) }),
|
|
3715
3715
|
/* @__PURE__ */ jsx23("span", { className: "!text-sm font-medium", children: "Add photos & files" })
|
|
@@ -3723,7 +3723,7 @@ function Composer({ onSendMessage, placeholder = "Type a message...", disabled =
|
|
|
3723
3723
|
onSwitchMode();
|
|
3724
3724
|
setShowMenu(false);
|
|
3725
3725
|
},
|
|
3726
|
-
className: "w-full flex items-center gap-3 px-4 py-3
|
|
3726
|
+
className: "apteva-composer-menu-item w-full flex items-center gap-3 px-4 py-3 transition-colors text-left apteva-composer-menu-item-border",
|
|
3727
3727
|
children: [
|
|
3728
3728
|
/* @__PURE__ */ jsx23("svg", { className: "w-4.5 h-4.5", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx23("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M13 10V3L4 14h7v7l9-11h-7z" }) }),
|
|
3729
3729
|
/* @__PURE__ */ jsx23("span", { className: "!text-sm font-medium", children: "Switch to command mode" })
|