@tscircuit/runframe 0.0.1202 → 0.0.1203

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.
@@ -377,6 +377,11 @@ var AutoroutingLogOptions = ({
377
377
 
378
378
  // lib/components/ErrorTabContent/ErrorTabContent.tsx
379
379
  import { useState, useMemo, useEffect } from "react";
380
+
381
+ // lib/utils/toast.ts
382
+ import { toast } from "react-hot-toast";
383
+
384
+ // lib/components/ErrorTabContent/ErrorTabContent.tsx
380
385
  import { Fragment as Fragment2, jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
381
386
  var ErrorTabContent = ({
382
387
  code,
@@ -624,7 +629,7 @@ ${softwareUsedString}`;
624
629
  if (currentError.stack) errorText += `
625
630
  ${currentError.stack}`;
626
631
  navigator.clipboard.writeText(errorText);
627
- alert("Error copied to clipboard!");
632
+ toast.success("Error copied to clipboard!");
628
633
  },
629
634
  children: [
630
635
  /* @__PURE__ */ jsx6(ClipboardIcon, { className: "rf-w-4 rf-h-4" }),
@@ -1454,7 +1459,7 @@ var useErrorTelemetry = ({
1454
1459
  };
1455
1460
 
1456
1461
  // package.json
1457
- var version = "0.0.1201";
1462
+ var version = "0.0.1202";
1458
1463
  var package_default = {
1459
1464
  name: "@tscircuit/runframe",
1460
1465
  main: "dist/preview.js",
@@ -3112,11 +3117,6 @@ var ImportComponentDialog2 = ({
3112
3117
 
3113
3118
  // lib/components/ImportComponentDialog2/ImportComponentDialogForCli.tsx
3114
3119
  import "react";
3115
-
3116
- // lib/utils/toast.ts
3117
- import { toast } from "react-hot-toast";
3118
-
3119
- // lib/components/ImportComponentDialog2/ImportComponentDialogForCli.tsx
3120
3120
  import { jsx as jsx25 } from "react/jsx-runtime";
3121
3121
  var extractComponentName = (tsx) => {
3122
3122
  const match = tsx.match(/export const (\w+) =/);
@@ -5163,6 +5163,7 @@ export {
5163
5163
  TabsTrigger,
5164
5164
  TabsContent,
5165
5165
  Button,
5166
+ toast,
5166
5167
  linkify,
5167
5168
  BomTable,
5168
5169
  Input,
@@ -5180,7 +5181,6 @@ export {
5180
5181
  DialogTitle,
5181
5182
  DialogDescription,
5182
5183
  ImportComponentDialog2,
5183
- toast,
5184
5184
  ImportComponentDialogForCli,
5185
5185
  registryKy,
5186
5186
  useOrderDialogCli,
package/dist/preview.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  linkify,
9
9
  useOrderDialog,
10
10
  useOrderDialogCli
11
- } from "./chunk-LVKRQRH4.js";
11
+ } from "./chunk-UGTZUZWA.js";
12
12
  export {
13
13
  BomTable,
14
14
  CadViewer,
package/dist/runner.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  useRunFrameStore,
33
33
  useRunnerStore,
34
34
  useStyles
35
- } from "./chunk-LVKRQRH4.js";
35
+ } from "./chunk-UGTZUZWA.js";
36
36
 
37
37
  // lib/components/RunFrame/RunFrame.tsx
38
38
  import { createCircuitWebWorker } from "@tscircuit/eval/worker";