formica-ui-lib 1.0.310 → 1.0.312

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.
@@ -0,0 +1,2 @@
1
+ import type { SketchfabConnectionOptions } from "../../componentProps/integrations/SketchfabViewerProps";
2
+ export declare const connectSketchfabViewer: ({ iframe, embedUrl, onReady, onError, }: SketchfabConnectionOptions) => (() => void);
@@ -0,0 +1,6 @@
1
+ import type { SketchfabConstructor, ViewerApi, ViewerMaterial, ViewerAppearanceSettings } from "../../componentProps/integrations/SketchfabViewerProps";
2
+ /** Applies app-owned appearance settings without loading the texture again. */
3
+ export declare const setSketchfabAppearance: (api: ViewerApi, material: ViewerMaterial, { brightness, glossiness }: ViewerAppearanceSettings) => Promise<void>;
4
+ export declare const loadSketchfab: () => Promise<SketchfabConstructor>;
5
+ export declare const applySketchfabTexture: (api: ViewerApi, material: ViewerMaterial, url: string, brightness?: number, glossiness?: number) => Promise<ViewerMaterial>;
6
+ export declare const getSketchfabMaterialAppearance: (material: ViewerMaterial, brightness: number, glossiness?: number) => ViewerMaterial;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "formica-ui-lib",
3
3
  "private": false,
4
- "version": "1.0.310",
4
+ "version": "1.0.312",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "style": "dist/tailwind.css",