openchad-react 1.0.12 → 1.0.14
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 +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1106,6 +1106,19 @@ function EmptyDescription({ className, ...props }) {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
);
|
|
1108
1108
|
}
|
|
1109
|
+
function EmptyContent({ className, ...props }) {
|
|
1110
|
+
return /* @__PURE__ */ runtime.jsx(
|
|
1111
|
+
"div",
|
|
1112
|
+
{
|
|
1113
|
+
"data-slot": "empty-content",
|
|
1114
|
+
className: cn(
|
|
1115
|
+
"flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm",
|
|
1116
|
+
className
|
|
1117
|
+
),
|
|
1118
|
+
...props
|
|
1119
|
+
}
|
|
1120
|
+
);
|
|
1121
|
+
}
|
|
1109
1122
|
var HoverCardContent = React21__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ runtime.jsx(
|
|
1110
1123
|
HoverCardPrimitive__namespace.Content,
|
|
1111
1124
|
{
|
|
@@ -6736,7 +6749,7 @@ function Sidebar({
|
|
|
6736
6749
|
] }),
|
|
6737
6750
|
/* @__PURE__ */ runtime.jsx("div", { style: {
|
|
6738
6751
|
display: isCollapsedSidebar ? "none" : "block"
|
|
6739
|
-
}, className: "mr-2
|
|
6752
|
+
}, className: "mr-2 opacity-50 hover:opacity-100 w-6 h-6 flex items-center justify-center overflow-hidden relative", children: /* @__PURE__ */ runtime.jsx(Icons.GitBranch, { className: "p-[1px] cursor-pointer relative" }) })
|
|
6740
6753
|
] }),
|
|
6741
6754
|
/* @__PURE__ */ runtime.jsx(react.AnimatePresence, { children: showPopup && hoveredTabId && Object.keys(allTabs).includes(hoveredTabId) && /* @__PURE__ */ runtime.jsx(
|
|
6742
6755
|
react.motion.div,
|
|
@@ -10492,6 +10505,7 @@ function SelectWorkspace({ workspaces, setWorkspace }) {
|
|
|
10492
10505
|
/* @__PURE__ */ runtime.jsx(EmptyTitle, { className: clsx9__default.default(isSmallHeight && "text-base"), children: "No Workspaces Yet" }),
|
|
10493
10506
|
!isSmallHeight && /* @__PURE__ */ runtime.jsx(EmptyDescription, { children: "You haven't created any workspaces yet. Get started by creating your first workspace." })
|
|
10494
10507
|
] }),
|
|
10508
|
+
/* @__PURE__ */ runtime.jsx(EmptyContent, { children: /* @__PURE__ */ runtime.jsx("div", { className: "flex gap-2", children: /* @__PURE__ */ runtime.jsx(Button, { onClick: () => setIsCreating(true), size: isSmallHeight ? "sm" : "default", children: "Create Workspace" }) }) }),
|
|
10495
10509
|
/* @__PURE__ */ runtime.jsx(Button, { variant: "link", asChild: true, className: "text-muted-foreground", size: "sm", children: /* @__PURE__ */ runtime.jsxs("a", { onClick: (e) => {
|
|
10496
10510
|
e.preventDefault();
|
|
10497
10511
|
if (isTauri6) {
|