@apteva/apteva-kit 0.1.46 → 0.1.48
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.js
CHANGED
|
@@ -1751,7 +1751,7 @@ function Composer({ onSendMessage, placeholder = "Type a message...", disabled =
|
|
|
1751
1751
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1752
1752
|
"div",
|
|
1753
1753
|
{
|
|
1754
|
-
className: "fixed bg-neutral-800 dark:bg-neutral-800 rounded-xl shadow-lg overflow-hidden z-[9999] min-w-[200px]",
|
|
1754
|
+
className: "apteva-composer-menu fixed bg-neutral-800 dark:bg-neutral-800 rounded-xl shadow-lg overflow-hidden z-[9999] min-w-[200px]",
|
|
1755
1755
|
style: {
|
|
1756
1756
|
left: _nullishCoalesce(_optionalChain([menuButtonRef, 'access', _24 => _24.current, 'optionalAccess', _25 => _25.getBoundingClientRect, 'call', _26 => _26(), 'access', _27 => _27.left]), () => ( 0)),
|
|
1757
1757
|
top: (_nullishCoalesce(_optionalChain([menuButtonRef, 'access', _28 => _28.current, 'optionalAccess', _29 => _29.getBoundingClientRect, 'call', _30 => _30(), 'access', _31 => _31.bottom]), () => ( 0))) + 8
|
|
@@ -1817,7 +1817,7 @@ function Composer({ onSendMessage, placeholder = "Type a message...", disabled =
|
|
|
1817
1817
|
{
|
|
1818
1818
|
onClick: handleSend,
|
|
1819
1819
|
disabled: !text.trim() && pendingFiles.length === 0 || disabled,
|
|
1820
|
-
className: "w-8 h-8 rounded-lg flex items-center justify-center font-bold transition-all flex-shrink-0 border border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-800 !text-neutral-700 dark:!text-neutral-300 hover:bg-neutral-50 dark:hover:bg-neutral-700 disabled:opacity-30 disabled:cursor-not-allowed !text-lg",
|
|
1820
|
+
className: "apteva-composer-send-btn w-8 h-8 rounded-lg flex items-center justify-center font-bold transition-all flex-shrink-0 border border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-800 !text-neutral-700 dark:!text-neutral-300 hover:bg-neutral-50 dark:hover:bg-neutral-700 disabled:opacity-30 disabled:cursor-not-allowed !text-lg",
|
|
1821
1821
|
title: "Send message",
|
|
1822
1822
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M8 3L8 13M8 3L4 7M8 3L12 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })
|
|
1823
1823
|
}
|
|
@@ -1993,7 +1993,7 @@ function CommandComposer({
|
|
|
1993
1993
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1994
1994
|
"div",
|
|
1995
1995
|
{
|
|
1996
|
-
className: "fixed bg-neutral-800 dark:bg-neutral-800 rounded-xl shadow-lg overflow-hidden z-[9999] min-w-[200px]",
|
|
1996
|
+
className: "apteva-composer-menu fixed bg-neutral-800 dark:bg-neutral-800 rounded-xl shadow-lg overflow-hidden z-[9999] min-w-[200px]",
|
|
1997
1997
|
style: {
|
|
1998
1998
|
left: _nullishCoalesce(_optionalChain([menuButtonRef, 'access', _39 => _39.current, 'optionalAccess', _40 => _40.getBoundingClientRect, 'call', _41 => _41(), 'access', _42 => _42.left]), () => ( 0)),
|
|
1999
1999
|
top: (_nullishCoalesce(_optionalChain([menuButtonRef, 'access', _43 => _43.current, 'optionalAccess', _44 => _44.getBoundingClientRect, 'call', _45 => _45(), 'access', _46 => _46.bottom]), () => ( 0))) + 8
|
|
@@ -2132,7 +2132,7 @@ function CommandComposer({
|
|
|
2132
2132
|
onClick: handleSubmit,
|
|
2133
2133
|
disabled: !input.trim() && pendingFiles.length === 0 || disabled,
|
|
2134
2134
|
className: cn(
|
|
2135
|
-
"w-8 h-8 rounded-lg flex items-center justify-center transition-all",
|
|
2135
|
+
"apteva-composer-send-btn w-8 h-8 rounded-lg flex items-center justify-center transition-all",
|
|
2136
2136
|
"border border-neutral-200 dark:border-neutral-700",
|
|
2137
2137
|
"disabled:opacity-30 disabled:cursor-not-allowed",
|
|
2138
2138
|
input.trim() || pendingFiles.length > 0 ? "bg-neutral-900 dark:bg-white !text-white dark:!text-neutral-900 border-neutral-900 dark:border-white" : "bg-white dark:bg-neutral-800 !text-neutral-400"
|