@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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +32 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2889,24 +2889,24 @@ var Sidebar2 = ({
|
|
|
2889
2889
|
]
|
|
2890
2890
|
}
|
|
2891
2891
|
) }),
|
|
2892
|
-
tagsEnabled && threadTagsConfig?.groupingEnabled !== false && /* @__PURE__ */ jsx18("div", { className: "px-2 py-2 group-data-[collapsible=icon]:hidden", children: /* @__PURE__ */ jsxs11("div", { className: "grid grid-cols-2 gap-1 rounded-
|
|
2892
|
+
tagsEnabled && threadTagsConfig?.groupingEnabled !== false && /* @__PURE__ */ jsx18("div", { className: "px-2 py-2 group-data-[collapsible=icon]:hidden", children: /* @__PURE__ */ jsxs11("div", { className: "grid grid-cols-2 gap-1 rounded-lg border border-sidebar-border/70 bg-sidebar-accent/70 p-1", children: [
|
|
2893
2893
|
/* @__PURE__ */ jsx18(
|
|
2894
2894
|
Button,
|
|
2895
2895
|
{
|
|
2896
|
-
variant:
|
|
2896
|
+
variant: "ghost",
|
|
2897
2897
|
size: "sm",
|
|
2898
2898
|
onClick: () => setGroupBy("date"),
|
|
2899
|
-
className:
|
|
2899
|
+
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"}`,
|
|
2900
2900
|
children: config.labels?.groupByDate || "Date"
|
|
2901
2901
|
}
|
|
2902
2902
|
),
|
|
2903
2903
|
/* @__PURE__ */ jsx18(
|
|
2904
2904
|
Button,
|
|
2905
2905
|
{
|
|
2906
|
-
variant:
|
|
2906
|
+
variant: "ghost",
|
|
2907
2907
|
size: "sm",
|
|
2908
2908
|
onClick: () => setGroupBy("tag"),
|
|
2909
|
-
className:
|
|
2909
|
+
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"}`,
|
|
2910
2910
|
children: config.labels?.groupByTag || "Tag"
|
|
2911
2911
|
}
|
|
2912
2912
|
)
|
|
@@ -3090,7 +3090,7 @@ var Sidebar2 = ({
|
|
|
3090
3090
|
);
|
|
3091
3091
|
})
|
|
3092
3092
|
] }),
|
|
3093
|
-
/* @__PURE__ */ jsx18(SidebarFooter, { children: /* @__PURE__ */ jsx18(
|
|
3093
|
+
/* @__PURE__ */ jsx18(SidebarFooter, { className: "border-t border-sidebar-border/70 px-3 pb-[calc(env(safe-area-inset-bottom)+1rem)] pt-3", children: /* @__PURE__ */ jsx18(
|
|
3094
3094
|
UserMenu,
|
|
3095
3095
|
{
|
|
3096
3096
|
user,
|