@copilotz/chat-ui 0.7.2 → 0.7.4

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 CHANGED
@@ -2441,11 +2441,17 @@ var Sidebar2 = ({
2441
2441
  ),
2442
2442
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "px-2 py-1 mt-4", children: [
2443
2443
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "relative group-data-[collapsible=icon]:hidden", children: [
2444
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react8.Search, { className: "pointer-events-none absolute left-2 top-1/2 size-4 -translate-y-1/2 select-none opacity-50" }),
2444
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2445
+ import_lucide_react8.Search,
2446
+ {
2447
+ "aria-hidden": "true",
2448
+ className: "pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 select-none opacity-50"
2449
+ }
2450
+ ),
2445
2451
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2446
2452
  Input,
2447
2453
  {
2448
- className: "pl-8 h-8 bg-sidebar-accent/50 border-sidebar-border focus-visible:ring-1 focus-visible:ring-sidebar-ring",
2454
+ className: "h-8 pl-10 pr-3 bg-sidebar-accent/50 border-sidebar-border focus-visible:ring-1 focus-visible:ring-sidebar-ring",
2449
2455
  placeholder: config.labels?.search || "Search...",
2450
2456
  value: searchQuery,
2451
2457
  onChange: (e) => setSearchQuery(e.target.value)
@@ -5661,7 +5667,7 @@ var ChatUI = ({
5661
5667
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarProvider, { defaultOpen: true, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
5662
5668
  "div",
5663
5669
  {
5664
- className: `flex h-[100svh] md:h-screen bg-background w-full overflow-hidden ${className}`,
5670
+ className: `flex h-[100dvh] bg-background w-full overflow-hidden ${className}`,
5665
5671
  children: [
5666
5672
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5667
5673
  Sidebar2,