@copilotz/chat-ui 0.9.8 → 0.9.9

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
@@ -2895,24 +2895,24 @@ var Sidebar2 = ({
2895
2895
  ]
2896
2896
  }
2897
2897
  ) }),
2898
- tagsEnabled && threadTagsConfig?.groupingEnabled !== false && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "px-2 py-2 group-data-[collapsible=icon]:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "grid grid-cols-2 gap-1 rounded-md bg-sidebar-accent/50 p-1", children: [
2898
+ tagsEnabled && threadTagsConfig?.groupingEnabled !== false && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "px-2 py-2 group-data-[collapsible=icon]:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "grid grid-cols-2 gap-1 rounded-lg border border-sidebar-border/70 bg-sidebar-accent/70 p-1", children: [
2899
2899
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2900
2900
  Button,
2901
2901
  {
2902
- variant: groupBy === "date" ? "secondary" : "ghost",
2902
+ variant: "ghost",
2903
2903
  size: "sm",
2904
2904
  onClick: () => setGroupBy("date"),
2905
- className: "h-7 px-2 text-xs",
2905
+ className: `h-7 rounded-md px-2 text-xs font-semibold transition-colors ${groupBy === "date" ? "border border-sidebar-border bg-sidebar text-sidebar-foreground shadow-sm hover:bg-sidebar" : "text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground"}`,
2906
2906
  children: config.labels?.groupByDate || "Date"
2907
2907
  }
2908
2908
  ),
2909
2909
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
2910
2910
  Button,
2911
2911
  {
2912
- variant: groupBy === "tag" ? "secondary" : "ghost",
2912
+ variant: "ghost",
2913
2913
  size: "sm",
2914
2914
  onClick: () => setGroupBy("tag"),
2915
- className: "h-7 px-2 text-xs",
2915
+ className: `h-7 rounded-md px-2 text-xs font-semibold transition-colors ${groupBy === "tag" ? "border border-sidebar-border bg-sidebar text-sidebar-foreground shadow-sm hover:bg-sidebar" : "text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground"}`,
2916
2916
  children: config.labels?.groupByTag || "Tag"
2917
2917
  }
2918
2918
  )
@@ -3096,7 +3096,7 @@ var Sidebar2 = ({
3096
3096
  );
3097
3097
  })
3098
3098
  ] }),
3099
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SidebarFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3099
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SidebarFooter, { className: "border-t border-sidebar-border/70 px-3 pb-[calc(env(safe-area-inset-bottom)+1rem)] pt-3", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3100
3100
  UserMenu,
3101
3101
  {
3102
3102
  user,