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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { TableRow, TableCell, Checkbox, Switch, Tooltip, TooltipTrigger, TooltipContent, Spinner, Button, Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, Input, Card, CardContent, Avatar, Dialog, DialogContent, DialogHeader, DialogTitle, ResizablePanelGroup, ResizablePanel, ResizableHandle, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, Command, CommandInput, DropdownMenuSeparator, ScrollArea, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuPortal, DropdownMenuSubContent, CommandItem, DropdownMenuItem, DropdownMenuShortcut, Popover, PopoverTrigger, PopoverContent, CommandList as CommandList$1, CommandEmpty as CommandEmpty$1, cn, Table, TableHeader, TableHead, TableBody } from './chunk-545ZTT4L.mjs';
1
+ import { TableRow, TableCell, Checkbox, Switch, Tooltip, TooltipTrigger, TooltipContent, Spinner, Button, Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent, Input, Card, CardContent, Avatar, Dialog, DialogContent, DialogHeader, DialogTitle, ResizablePanelGroup, ResizablePanel, ResizableHandle, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, Command, CommandInput, DropdownMenuSeparator, ScrollArea, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuPortal, DropdownMenuSubContent, CommandItem, DropdownMenuItem, DropdownMenuShortcut, Popover, PopoverTrigger, PopoverContent, CommandList as CommandList$1, CommandEmpty as CommandEmpty$1, cn, Table, TableHeader, TableHead, TableBody } from './chunk-545ZTT4L.mjs';
2
2
  import * as React from 'react';
3
3
  import React__default, { memo, useCallback, useState, useRef, createContext, useEffect, useLayoutEffect, Suspense, Fragment as Fragment$1, useMemo, useContext } from 'react';
4
4
  import clsx8 from 'clsx';
@@ -5295,7 +5295,7 @@ function Sidebar({
5295
5295
  ] }),
5296
5296
  /* @__PURE__ */ jsx("div", { style: {
5297
5297
  display: isCollapsedSidebar ? "none" : "block"
5298
- }, className: "mr-2 rounded-full bg-accent opacity-50 hover:opacity-100 w-6 h-6 flex items-center overflow-hidden relative", children: /* @__PURE__ */ jsx(GitBranch, { className: "p-[1px] cursor-pointer fill-[hsl(var(--card))] stroke-[hsl(var(--card))] relative top-[3px]" }) })
5298
+ }, className: "mr-2 opacity-50 hover:opacity-100 w-6 h-6 flex items-center justify-center overflow-hidden relative", children: /* @__PURE__ */ jsx(GitBranch, { className: "p-[1px] cursor-pointer relative" }) })
5299
5299
  ] }),
5300
5300
  /* @__PURE__ */ jsx(AnimatePresence, { children: showPopup && hoveredTabId && Object.keys(allTabs).includes(hoveredTabId) && /* @__PURE__ */ jsx(
5301
5301
  motion.div,
@@ -9051,6 +9051,7 @@ function SelectWorkspace({ workspaces, setWorkspace }) {
9051
9051
  /* @__PURE__ */ jsx(EmptyTitle, { className: clsx8(isSmallHeight && "text-base"), children: "No Workspaces Yet" }),
9052
9052
  !isSmallHeight && /* @__PURE__ */ jsx(EmptyDescription, { children: "You haven't created any workspaces yet. Get started by creating your first workspace." })
9053
9053
  ] }),
9054
+ /* @__PURE__ */ jsx(EmptyContent, { children: /* @__PURE__ */ jsx("div", { className: "flex gap-2", children: /* @__PURE__ */ jsx(Button, { onClick: () => setIsCreating(true), size: isSmallHeight ? "sm" : "default", children: "Create Workspace" }) }) }),
9054
9055
  /* @__PURE__ */ jsx(Button, { variant: "link", asChild: true, className: "text-muted-foreground", size: "sm", children: /* @__PURE__ */ jsxs("a", { onClick: (e) => {
9055
9056
  e.preventDefault();
9056
9057
  if (isTauri6) {