@tscircuit/runframe 0.0.616 → 0.0.618
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/{chunk-AQUW7HQG.js → chunk-DXDVRD3G.js} +1 -1
- package/dist/preview.js +1 -1
- package/dist/runner.js +12 -12
- package/dist/standalone-preview.min.js +733 -733
- package/dist/standalone.min.js +669 -669
- package/package.json +3 -3
package/dist/preview.js
CHANGED
package/dist/runner.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
useOrderDialogCli,
|
|
38
38
|
useRunFrameStore,
|
|
39
39
|
useRunnerStore
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DXDVRD3G.js";
|
|
41
41
|
|
|
42
42
|
// lib/components/RunFrame/RunFrame.tsx
|
|
43
43
|
import { createCircuitWebWorker } from "@tscircuit/eval/worker";
|
|
@@ -1139,11 +1139,11 @@ var ImportComponentDialog = ({
|
|
|
1139
1139
|
fetchPackageDetails(component.owner, packageName);
|
|
1140
1140
|
}
|
|
1141
1141
|
};
|
|
1142
|
-
return /* @__PURE__ */ jsxs4(
|
|
1143
|
-
/* @__PURE__ */ jsxs4(
|
|
1144
|
-
/* @__PURE__ */ jsxs4(
|
|
1145
|
-
/* @__PURE__ */ jsx7(
|
|
1146
|
-
/* @__PURE__ */ jsx7(
|
|
1142
|
+
return /* @__PURE__ */ jsxs4(Dialog, { open: isOpen, onOpenChange: () => onClose(), children: [
|
|
1143
|
+
/* @__PURE__ */ jsxs4(DialogContent, { className: "rf-max-w-3xl rf-w-full rf-max-h-[90vh] rf-overflow-y-auto rf-flex rf-flex-col", children: [
|
|
1144
|
+
/* @__PURE__ */ jsxs4(DialogHeader, { children: [
|
|
1145
|
+
/* @__PURE__ */ jsx7(DialogTitle, { children: "Import Component" }),
|
|
1146
|
+
/* @__PURE__ */ jsx7(DialogDescription, { children: "Search for components from tscircuit.com or JLCPCB parts library." })
|
|
1147
1147
|
] }),
|
|
1148
1148
|
/* @__PURE__ */ jsxs4(
|
|
1149
1149
|
Tabs,
|
|
@@ -1215,8 +1215,8 @@ var ImportComponentDialog = ({
|
|
|
1215
1215
|
]
|
|
1216
1216
|
}
|
|
1217
1217
|
),
|
|
1218
|
-
/* @__PURE__ */ jsxs4(
|
|
1219
|
-
/* @__PURE__ */ jsx7(
|
|
1218
|
+
/* @__PURE__ */ jsxs4(DialogFooter, { children: [
|
|
1219
|
+
/* @__PURE__ */ jsx7(Button, { variant: "outline", onClick: onClose, children: "Cancel" }),
|
|
1220
1220
|
/* @__PURE__ */ jsx7(
|
|
1221
1221
|
Button,
|
|
1222
1222
|
{
|
|
@@ -1232,8 +1232,8 @@ var ImportComponentDialog = ({
|
|
|
1232
1232
|
)
|
|
1233
1233
|
] })
|
|
1234
1234
|
] }),
|
|
1235
|
-
/* @__PURE__ */ jsx7(
|
|
1236
|
-
/* @__PURE__ */ jsx7(
|
|
1235
|
+
/* @__PURE__ */ jsx7(Dialog, { open: detailsOpen, onOpenChange: setDetailsOpen, children: /* @__PURE__ */ jsxs4(DialogContent, { className: "rf-max-w-5xl rf-max-h-[90vh] rf-overflow-hidden rf-flex rf-flex-col rf-overflow-y-auto", children: [
|
|
1236
|
+
/* @__PURE__ */ jsx7(DialogHeader, { className: "rf-pb-4 rf-border-b", children: /* @__PURE__ */ jsx7("div", { className: "rf-flex rf-items-start rf-justify-between rf-gap-4", children: /* @__PURE__ */ jsx7("div", { className: "rf-flex-1 rf-min-w-0", children: /* @__PURE__ */ jsx7(DialogTitle, { className: "rf-text-xl rf-font-semibold rf-truncate", children: /* @__PURE__ */ jsx7(
|
|
1237
1237
|
"a",
|
|
1238
1238
|
{
|
|
1239
1239
|
href: `https://tscircuit.com/${detailsComponent?.owner}/${detailsComponent?.name}`,
|
|
@@ -1354,7 +1354,7 @@ var ImportComponentDialog = ({
|
|
|
1354
1354
|
/* @__PURE__ */ jsx7("span", { className: "rf-text-sm", children: "Loading package details..." })
|
|
1355
1355
|
] })
|
|
1356
1356
|
] }),
|
|
1357
|
-
/* @__PURE__ */ jsxs4(
|
|
1357
|
+
/* @__PURE__ */ jsxs4(DialogFooter, { className: "rf-pt-4 rf-border-t rf-flex rf-justify-between rf-items-center", children: [
|
|
1358
1358
|
/* @__PURE__ */ jsx7("div", { className: "rf-flex-1", children: /* @__PURE__ */ jsxs4(
|
|
1359
1359
|
Button,
|
|
1360
1360
|
{
|
|
@@ -1372,7 +1372,7 @@ var ImportComponentDialog = ({
|
|
|
1372
1372
|
}
|
|
1373
1373
|
) }),
|
|
1374
1374
|
/* @__PURE__ */ jsxs4("div", { className: "rf-flex rf-gap-2", children: [
|
|
1375
|
-
/* @__PURE__ */ jsx7(
|
|
1375
|
+
/* @__PURE__ */ jsx7(Button, { variant: "outline", onClick: () => setDetailsOpen(false), children: "Close" }),
|
|
1376
1376
|
/* @__PURE__ */ jsx7(
|
|
1377
1377
|
Button,
|
|
1378
1378
|
{
|