@preference-sl/pref-viewer 2.3.0 → 2.3.2

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.
@@ -1,8 +1,8 @@
1
- # @preference-sl/pref-viewer
2
-
3
- A Web Component for visualizing GLTF models using Babylon.js.
4
-
5
- ## Installation
6
-
7
- ```bash
1
+ # @preference-sl/pref-viewer
2
+
3
+ A Web Component for visualizing GLTF models using Babylon.js.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
8
  npm install @preference-sl/pref-viewer
package/index.d.ts CHANGED
@@ -1,24 +1,24 @@
1
- import type React from "react";
2
-
3
- export declare class PrefViewer extends HTMLElement {
4
- /**
5
- * The URL or blob string of the GLTF model
6
- */
7
- set model(v: string | null);
8
- }
9
-
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- /**
14
- * <pref-viewer model="…" />
15
- */
16
- "pref-viewer": React.DetailedHTMLProps<
17
- React.HTMLAttributes<HTMLElement> & { model?: string },
18
- HTMLElement
19
- >;
20
- }
21
- }
22
- }
23
-
1
+ import type React from "react";
2
+
3
+ export declare class PrefViewer extends HTMLElement {
4
+ /**
5
+ * The URL or blob string of the GLTF model
6
+ */
7
+ set model(v: string | null);
8
+ }
9
+
10
+ declare global {
11
+ namespace JSX {
12
+ interface IntrinsicElements {
13
+ /**
14
+ * <pref-viewer model="…" />
15
+ */
16
+ "pref-viewer": React.DetailedHTMLProps<
17
+ React.HTMLAttributes<HTMLElement> & { model?: string },
18
+ HTMLElement
19
+ >;
20
+ }
21
+ }
22
+ }
23
+
24
24
  export {};
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "@preference-sl/pref-viewer",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Web Component to preview GLTF models with Babylon.js",
5
5
  "author": "Alex Moreno Palacio <amoreno@preference.es>",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://bitbucket.org/preferencesl/pref-viewer.git"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
6
13
  "license": "MIT",
7
14
  "type": "module",
8
15
  "main": "src/index.js",