@tscircuit/cli 0.0.42 → 0.0.44

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.
@@ -52,26 +52,6 @@ export const ExampleContentView = () => {
52
52
  viewMode === "split" && splitMode === "vertical" && "grid grid-rows-2"
53
53
  )}
54
54
  >
55
- {notFound && (
56
- <div className="absolute top-0 w-full flex justify-center">
57
- <div className="bg-yellow-50 shadow-lg p-4 m-16 border-yellow-200 border rounded-lg whitespace-pre max-w-[400px]">
58
- Select an example from the menu above
59
- </div>
60
- </div>
61
- )}
62
- {isLoading && !isError && (
63
- <div className="absolute top-0 w-full flex justify-center">
64
- <div className="bg-gray-50 shadow-lg p-4 m-16 border-gray-200 border rounded-lg whitespace-pre">
65
- Loading...
66
- </div>
67
- </div>
68
- )}
69
- {pkg && pkg.is_loading && (
70
- <div className="absolute top-0 right-0 bg-white p-4 py-2 m-4 rounded-md flex items-center z-10 shadow-lg border border-gray-200">
71
- <div className="border-2 border-blue-400 border-t-transparent rounded-full w-4 h-4 animate-spin mr-2"></div>
72
- Rebuilding...
73
- </div>
74
- )}
75
55
  {pkg && (viewMode === "schematic" || viewMode === "split") && (
76
56
  <Schematic
77
57
  key={`sch-${pkg?.last_updated_at}`}
@@ -94,6 +74,26 @@ export const ExampleContentView = () => {
94
74
  </div>
95
75
  </div>
96
76
  )}
77
+ {notFound && (
78
+ <div className="absolute top-0 w-full flex justify-center">
79
+ <div className="bg-yellow-50 shadow-lg p-4 m-16 border-yellow-200 border rounded-lg whitespace-pre max-w-[400px]">
80
+ Select an example from the menu above
81
+ </div>
82
+ </div>
83
+ )}
84
+ {isLoading && !isError && (
85
+ <div className="absolute top-0 w-full flex justify-center">
86
+ <div className="bg-gray-50 shadow-lg p-4 m-16 border-gray-200 border rounded-lg whitespace-pre">
87
+ Loading...
88
+ </div>
89
+ </div>
90
+ )}
91
+ {pkg && pkg.is_loading && (
92
+ <div className="absolute top-0 right-0 bg-white p-4 py-2 m-4 rounded-md flex items-center z-10 shadow-lg border border-gray-200">
93
+ <div className="border-2 border-blue-400 border-t-transparent rounded-full w-4 h-4 animate-spin mr-2"></div>
94
+ Rebuilding...
95
+ </div>
96
+ )}
97
97
  </div>
98
98
  )
99
99
  }