openchad-react 1.0.12 → 1.0.13

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';
@@ -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) {