@selvajs/ui 4.7.0 → 4.7.1
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/public.d.ts +1 -0
- package/dist/public.js +4 -0
- package/package.json +1 -1
- package/src/lib/public.ts +5 -0
package/dist/public.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as AppLayout } from './components/compute/AppLayout.svelte';
|
|
2
2
|
export { default as ComputeApp } from './components/compute/ComputeApp.svelte';
|
|
3
|
+
export { default as Viewer, type ViewerConfig } from './components/viewer/Viewer.svelte';
|
|
3
4
|
export { default as ErrorScreen } from './components/ErrorScreen.svelte';
|
|
4
5
|
export { createSolveSession, createRequestResponseDriver, type SolveSession, type SolveSessionArgs, type SolveDriver, type SolveReporter } from './compute/createSolveSession.svelte';
|
|
5
6
|
export type { ClientSlotArgs, ClientSlot } from './contexts/clientSlotContext.svelte';
|
package/dist/public.js
CHANGED
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
// Compute app (schema + viewer + solve controls composed into a runnable app)
|
|
21
21
|
export { default as AppLayout } from './components/compute/AppLayout.svelte';
|
|
22
22
|
export { default as ComputeApp } from './components/compute/ComputeApp.svelte';
|
|
23
|
+
// Standalone 3D viewer. Render Grasshopper meshes on their own, outside a
|
|
24
|
+
// ComputeApp host — external apps drive it directly with a `meshes` array and
|
|
25
|
+
// an optional `viewerConfig`.
|
|
26
|
+
export { default as Viewer } from './components/viewer/Viewer.svelte';
|
|
23
27
|
// Full-screen states a host app renders
|
|
24
28
|
export { default as ErrorScreen } from './components/ErrorScreen.svelte';
|
|
25
29
|
// Solve Session seam (transport-agnostic value/lifecycle state machine + its
|
package/package.json
CHANGED
package/src/lib/public.ts
CHANGED
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
export { default as AppLayout } from './components/compute/AppLayout.svelte';
|
|
23
23
|
export { default as ComputeApp } from './components/compute/ComputeApp.svelte';
|
|
24
24
|
|
|
25
|
+
// Standalone 3D viewer. Render Grasshopper meshes on their own, outside a
|
|
26
|
+
// ComputeApp host — external apps drive it directly with a `meshes` array and
|
|
27
|
+
// an optional `viewerConfig`.
|
|
28
|
+
export { default as Viewer, type ViewerConfig } from './components/viewer/Viewer.svelte';
|
|
29
|
+
|
|
25
30
|
// Full-screen states a host app renders
|
|
26
31
|
export { default as ErrorScreen } from './components/ErrorScreen.svelte';
|
|
27
32
|
|