@copilotz/chat-ui 0.9.16 → 0.9.17
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +6 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5195,7 +5195,7 @@ var ChatInput = (0, import_react8.memo)(function ChatInput2({
|
|
|
5195
5195
|
) }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("form", { onSubmit: handleSubmit, className: "mb-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
5196
5196
|
"div",
|
|
5197
5197
|
{
|
|
5198
|
-
className: `group/composer relative flex w-full flex-col gap-2 overflow-
|
|
5198
|
+
className: `group/composer relative flex w-full flex-col gap-2 overflow-visible rounded-3xl border border-border/80 bg-card/95 p-2.5 shadow-sm transition-[border-color,box-shadow,background-color] focus-within:border-ring/60 focus-within:bg-card focus-within:shadow-md focus-within:ring-2 focus-within:ring-ring/15 ${isDraggingFiles ? "border-primary/60 bg-primary/5 shadow-md ring-2 ring-primary/15" : ""}`,
|
|
5199
5199
|
onDrop: handleDrop,
|
|
5200
5200
|
onDragEnter: handleDragEnter,
|
|
5201
5201
|
onDragOver: handleDragOver,
|
|
@@ -5236,7 +5236,7 @@ var ChatInput = (0, import_react8.memo)(function ChatInput2({
|
|
|
5236
5236
|
rows: 1
|
|
5237
5237
|
}
|
|
5238
5238
|
),
|
|
5239
|
-
isMentionMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute bottom-full left-0 right-0 mb-2 overflow-hidden rounded-md border bg-popover shadow-md", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "p-1", children: filteredMentionAgents.map((agent, index) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
5239
|
+
isMentionMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute bottom-full left-0 right-0 z-30 mb-2 overflow-hidden rounded-md border bg-popover shadow-md", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "p-1", children: filteredMentionAgents.map((agent, index) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
5240
5240
|
"button",
|
|
5241
5241
|
{
|
|
5242
5242
|
type: "button",
|