@tangle-network/sandbox-ui 0.3.11 → 0.3.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.
Files changed (37) hide show
  1. package/README.md +7 -1
  2. package/dist/auth.js +2 -3
  3. package/dist/{chunk-CREVWUCA.js → chunk-DJEZKF5A.js} +3 -2
  4. package/dist/chunk-DLCFZDGX.js +182 -0
  5. package/dist/{chunk-FOQTE67I.js → chunk-FJLS7PNT.js} +9 -4
  6. package/dist/chunk-HXEA7L2T.js +1401 -0
  7. package/dist/{chunk-6NYG2R7V.js → chunk-HYLTXGOI.js} +1 -1
  8. package/dist/{chunk-MCGKDCOR.js → chunk-IW2JZCOC.js} +55 -14
  9. package/dist/{chunk-PCTEG6HR.js → chunk-OHMO7NUX.js} +2 -4
  10. package/dist/{chunk-DMYYQXPN.js → chunk-SMBF6HB5.js} +646 -465
  11. package/dist/dashboard.d.ts +1 -1
  12. package/dist/dashboard.js +40 -6
  13. package/dist/{document-editor-pane-AFBP2KFT.js → document-editor-pane-5TN2VWGZ.js} +1 -1
  14. package/dist/{document-editor-pane-Xnl8SmA7.d.ts → document-editor-pane-A70-EhdQ.d.ts} +1 -1
  15. package/dist/editor.d.ts +2 -2
  16. package/dist/editor.js +1 -1
  17. package/dist/files.d.ts +1 -1
  18. package/dist/files.js +1 -1
  19. package/dist/hooks.d.ts +1 -1
  20. package/dist/hooks.js +2 -2
  21. package/dist/index-D7_ZDkwB.d.ts +375 -0
  22. package/dist/index.d.ts +5 -3
  23. package/dist/index.js +74 -16
  24. package/dist/pages.d.ts +12 -2
  25. package/dist/pages.js +60 -5
  26. package/dist/primitives.js +4 -6
  27. package/dist/sdk-hooks.js +1 -1
  28. package/dist/terminal.d.ts +2 -2
  29. package/dist/terminal.js +9 -39
  30. package/dist/{use-pty-session-DeZSxOCN.d.ts → use-pty-session-COzVkhtc.d.ts} +1 -1
  31. package/dist/workspace.d.ts +3 -1
  32. package/dist/workspace.js +2 -2
  33. package/package.json +1 -1
  34. package/dist/chunk-B26TQ7SA.js +0 -47
  35. package/dist/chunk-BOBXH6CH.js +0 -10981
  36. package/dist/chunk-GRYHFH5O.js +0 -110
  37. package/dist/index-BJIPTCKk.d.ts +0 -264
@@ -484,7 +484,7 @@ import { lazy, Suspense } from "react";
484
484
  import { Download as Download2, X as X3 } from "lucide-react";
485
485
  import { Fragment, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
486
486
  var LazyDocumentEditorPane = lazy(async () => {
487
- const module = await import("./document-editor-pane-AFBP2KFT.js");
487
+ const module = await import("./document-editor-pane-5TN2VWGZ.js");
488
488
  return { default: module.DocumentEditorPane };
489
489
  });
490
490
  function FileArtifactPane({
@@ -2,18 +2,56 @@ import {
2
2
  cn
3
3
  } from "./chunk-RQHJBTEU.js";
4
4
 
5
+ // src/primitives/avatar.tsx
6
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
7
+ import * as React from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ var Avatar = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
10
+ AvatarPrimitive.Root,
11
+ {
12
+ ref,
13
+ className: cn(
14
+ "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
15
+ className
16
+ ),
17
+ ...props
18
+ }
19
+ ));
20
+ Avatar.displayName = AvatarPrimitive.Root.displayName;
21
+ var AvatarImage = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
22
+ AvatarPrimitive.Image,
23
+ {
24
+ ref,
25
+ className: cn("aspect-square h-full w-full", className),
26
+ ...props
27
+ }
28
+ ));
29
+ AvatarImage.displayName = AvatarPrimitive.Image.displayName;
30
+ var AvatarFallback = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
31
+ AvatarPrimitive.Fallback,
32
+ {
33
+ ref,
34
+ className: cn(
35
+ "flex h-full w-full items-center justify-center rounded-full bg-muted font-medium text-sm",
36
+ className
37
+ ),
38
+ ...props
39
+ }
40
+ ));
41
+ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
42
+
5
43
  // src/primitives/dropdown-menu.tsx
6
44
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
7
45
  import { Check, ChevronRight, Circle } from "lucide-react";
8
- import * as React from "react";
9
- import { jsx, jsxs } from "react/jsx-runtime";
46
+ import * as React2 from "react";
47
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
10
48
  var DropdownMenu = DropdownMenuPrimitive.Root;
11
49
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
12
50
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
13
51
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
14
52
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
15
53
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
16
- var DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
54
+ var DropdownMenuSubTrigger = React2.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
17
55
  DropdownMenuPrimitive.SubTrigger,
18
56
  {
19
57
  ref,
@@ -26,12 +64,12 @@ var DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...
26
64
  ...props,
27
65
  children: [
28
66
  children,
29
- /* @__PURE__ */ jsx(ChevronRight, { className: "ml-auto h-4 w-4" })
67
+ /* @__PURE__ */ jsx2(ChevronRight, { className: "ml-auto h-4 w-4" })
30
68
  ]
31
69
  }
32
70
  ));
33
71
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
34
- var DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
72
+ var DropdownMenuSubContent = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
35
73
  DropdownMenuPrimitive.SubContent,
36
74
  {
37
75
  ref,
@@ -48,7 +86,7 @@ var DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) =>
48
86
  }
49
87
  ));
50
88
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
51
- var DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
89
+ var DropdownMenuContent = React2.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx2(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx2(
52
90
  DropdownMenuPrimitive.Content,
53
91
  {
54
92
  ref,
@@ -66,7 +104,7 @@ var DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...prop
66
104
  }
67
105
  ) }));
68
106
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
69
- var DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
107
+ var DropdownMenuItem = React2.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx2(
70
108
  DropdownMenuPrimitive.Item,
71
109
  {
72
110
  ref,
@@ -81,7 +119,7 @@ var DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref) =>
81
119
  }
82
120
  ));
83
121
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
84
- var DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
122
+ var DropdownMenuCheckboxItem = React2.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
85
123
  DropdownMenuPrimitive.CheckboxItem,
86
124
  {
87
125
  ref,
@@ -94,13 +132,13 @@ var DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked,
94
132
  checked,
95
133
  ...props,
96
134
  children: [
97
- /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) }) }),
135
+ /* @__PURE__ */ jsx2("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx2(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx2(Check, { className: "h-4 w-4" }) }) }),
98
136
  children
99
137
  ]
100
138
  }
101
139
  ));
102
140
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
103
- var DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
141
+ var DropdownMenuRadioItem = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
104
142
  DropdownMenuPrimitive.RadioItem,
105
143
  {
106
144
  ref,
@@ -112,13 +150,13 @@ var DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props },
112
150
  ),
113
151
  ...props,
114
152
  children: [
115
- /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "h-2 w-2 fill-current" }) }) }),
153
+ /* @__PURE__ */ jsx2("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx2(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx2(Circle, { className: "h-2 w-2 fill-current" }) }) }),
116
154
  children
117
155
  ]
118
156
  }
119
157
  ));
120
158
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
121
- var DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
159
+ var DropdownMenuLabel = React2.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx2(
122
160
  DropdownMenuPrimitive.Label,
123
161
  {
124
162
  ref,
@@ -131,7 +169,7 @@ var DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) =
131
169
  }
132
170
  ));
133
171
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
134
- var DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
172
+ var DropdownMenuSeparator = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
135
173
  DropdownMenuPrimitive.Separator,
136
174
  {
137
175
  ref,
@@ -144,7 +182,7 @@ var DropdownMenuShortcut = ({
144
182
  className,
145
183
  ...props
146
184
  }) => {
147
- return /* @__PURE__ */ jsx(
185
+ return /* @__PURE__ */ jsx2(
148
186
  "span",
149
187
  {
150
188
  className: cn("ml-auto text-xs tracking-widest opacity-60", className),
@@ -155,6 +193,9 @@ var DropdownMenuShortcut = ({
155
193
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
156
194
 
157
195
  export {
196
+ Avatar,
197
+ AvatarImage,
198
+ AvatarFallback,
158
199
  DropdownMenu,
159
200
  DropdownMenuTrigger,
160
201
  DropdownMenuGroup,
@@ -1,16 +1,14 @@
1
1
  import {
2
2
  Avatar,
3
3
  AvatarFallback,
4
- AvatarImage
5
- } from "./chunk-B26TQ7SA.js";
6
- import {
4
+ AvatarImage,
7
5
  DropdownMenu,
8
6
  DropdownMenuContent,
9
7
  DropdownMenuItem,
10
8
  DropdownMenuLabel,
11
9
  DropdownMenuSeparator,
12
10
  DropdownMenuTrigger
13
- } from "./chunk-MCGKDCOR.js";
11
+ } from "./chunk-IW2JZCOC.js";
14
12
  import {
15
13
  Button
16
14
  } from "./chunk-HWLX5NME.js";