@gradio/model3d 0.3.0-beta.8 → 0.3.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/CHANGELOG.md +28 -9
- package/Index.svelte +2 -2
- package/package.json +7 -7
- package/shared/Model3D.svelte +1 -1
- package/shared/Model3DUpload.svelte +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,46 @@
|
|
1
1
|
# @gradio/model3d
|
2
2
|
|
3
|
+
## 0.3.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb)]:
|
8
|
+
- @gradio/client@0.7.1
|
9
|
+
- @gradio/upload@0.3.1
|
10
|
+
|
11
|
+
## 0.3.0
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
16
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Clean root url. Thanks [@pngwn](https://github.com/pngwn)!
|
17
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Image v4. Thanks [@pngwn](https://github.com/pngwn)!
|
18
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm. Thanks [@pngwn](https://github.com/pngwn)!
|
19
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components. Thanks [@pngwn](https://github.com/pngwn)!
|
20
|
+
- [#6171](https://github.com/gradio-app/gradio/pull/6171) [`28322422c`](https://github.com/gradio-app/gradio/commit/28322422cb9d8d3e471e439ad602959662e79312) - strip dangling svelte imports. Thanks [@pngwn](https://github.com/pngwn)!
|
21
|
+
|
3
22
|
## 0.3.0-beta.8
|
4
23
|
|
5
24
|
### Features
|
6
25
|
|
7
|
-
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload.
|
8
|
-
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation.
|
9
|
-
- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4.
|
10
|
-
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend.
|
26
|
+
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
27
|
+
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
28
|
+
- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4. Thanks [@pngwn](https://github.com/pngwn)!
|
29
|
+
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend. Thanks [@pngwn](https://github.com/pngwn)!
|
11
30
|
|
12
31
|
## 0.3.0-beta.7
|
13
32
|
|
14
33
|
### Features
|
15
34
|
|
16
|
-
- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch.
|
17
|
-
- [#5955](https://github.com/gradio-app/gradio/pull/5955) [`825c9cddc`](https://github.com/gradio-app/gradio/commit/825c9cddc83a09457d8c85ebeecb4bc705572d82) - Fix dev mode model3D.
|
35
|
+
- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
36
|
+
- [#5955](https://github.com/gradio-app/gradio/pull/5955) [`825c9cddc`](https://github.com/gradio-app/gradio/commit/825c9cddc83a09457d8c85ebeecb4bc705572d82) - Fix dev mode model3D. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
18
37
|
|
19
38
|
## 0.3.0-beta.6
|
20
39
|
|
21
40
|
### Features
|
22
41
|
|
23
|
-
- [#5960](https://github.com/gradio-app/gradio/pull/5960) [`319c30f3f`](https://github.com/gradio-app/gradio/commit/319c30f3fccf23bfe1da6c9b132a6a99d59652f7) - rererefactor frontend files.
|
24
|
-
- [#5938](https://github.com/gradio-app/gradio/pull/5938) [`13ed8a485`](https://github.com/gradio-app/gradio/commit/13ed8a485d5e31d7d75af87fe8654b661edcca93) - V4: Use beta release versions for '@gradio' packages.
|
42
|
+
- [#5960](https://github.com/gradio-app/gradio/pull/5960) [`319c30f3f`](https://github.com/gradio-app/gradio/commit/319c30f3fccf23bfe1da6c9b132a6a99d59652f7) - rererefactor frontend files. Thanks [@pngwn](https://github.com/pngwn)!
|
43
|
+
- [#5938](https://github.com/gradio-app/gradio/pull/5938) [`13ed8a485`](https://github.com/gradio-app/gradio/commit/13ed8a485d5e31d7d75af87fe8654b661edcca93) - V4: Use beta release versions for '@gradio' packages. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
25
44
|
|
26
45
|
## 0.2.5
|
27
46
|
|
@@ -117,4 +136,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
|
|
117
136
|
|
118
137
|
- Updated dependencies []:
|
119
138
|
- @gradio/atoms@0.0.2
|
120
|
-
- @gradio/upload@0.0.2
|
139
|
+
- @gradio/upload@0.0.2
|
package/Index.svelte
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
export let visible = true;
|
21
21
|
export let value: null | FileData = null;
|
22
22
|
export let root: string;
|
23
|
-
export let
|
23
|
+
export let proxy_url: null | string;
|
24
24
|
export let clear_color: [number, number, number, number];
|
25
25
|
export let loading_status: LoadingStatus;
|
26
26
|
export let label: string;
|
@@ -41,7 +41,7 @@
|
|
41
41
|
export let interactive: boolean;
|
42
42
|
|
43
43
|
let _value: null | FileData;
|
44
|
-
$: _value = normalise_file(value, root,
|
44
|
+
$: _value = normalise_file(value, root, proxy_url);
|
45
45
|
|
46
46
|
let dragging = false;
|
47
47
|
</script>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/model3d",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.1",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -10,12 +10,12 @@
|
|
10
10
|
"@types/babylon": "^6.16.6",
|
11
11
|
"babylonjs": "^4.2.1",
|
12
12
|
"babylonjs-loaders": "^4.2.1",
|
13
|
-
"@gradio/atoms": "^0.2.0
|
14
|
-
"@gradio/client": "^0.7.
|
15
|
-
"@gradio/icons": "^0.2.0
|
16
|
-
"@gradio/statustracker": "^0.3.0
|
17
|
-
"@gradio/upload": "^0.3.
|
18
|
-
"@gradio/utils": "^0.2.0
|
13
|
+
"@gradio/atoms": "^0.2.0",
|
14
|
+
"@gradio/client": "^0.7.1",
|
15
|
+
"@gradio/icons": "^0.2.0",
|
16
|
+
"@gradio/statustracker": "^0.3.0",
|
17
|
+
"@gradio/upload": "^0.3.1",
|
18
|
+
"@gradio/utils": "^0.2.0"
|
19
19
|
},
|
20
20
|
"main_changeset": true,
|
21
21
|
"main": "./Index.svelte",
|
package/shared/Model3D.svelte
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
import { onMount } from "svelte";
|
7
7
|
import * as BABYLON from "babylonjs";
|
8
8
|
import * as BABYLON_LOADERS from "babylonjs-loaders";
|
9
|
-
import type { I18nFormatter } from "
|
9
|
+
import type { I18nFormatter } from "@gradio/utils";
|
10
10
|
|
11
11
|
export let value: FileData | null;
|
12
12
|
export let clear_color: [number, number, number, number] = [0, 0, 0, 0];
|