@gradio/imageslider 0.3.0 → 0.3.1-dev.0
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 +20 -0
- package/Index.svelte +3 -4
- package/dist/Index.svelte +3 -4
- package/dist/Index.svelte.d.ts +3 -7
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @gradio/imageslider
|
|
2
2
|
|
|
3
|
+
## 0.3.1-dev.0
|
|
4
|
+
|
|
5
|
+
### Dependency updates
|
|
6
|
+
|
|
7
|
+
- @gradio/upload@0.17.2-dev.0
|
|
8
|
+
- @gradio/client@2.0.0-dev.0
|
|
9
|
+
|
|
10
|
+
## 0.3.0
|
|
11
|
+
|
|
12
|
+
### Dependency updates
|
|
13
|
+
|
|
14
|
+
- @gradio/client@1.19.1
|
|
15
|
+
|
|
16
|
+
## 0.3.0
|
|
17
|
+
|
|
18
|
+
### Dependency updates
|
|
19
|
+
|
|
20
|
+
- @gradio/upload@0.17.1
|
|
21
|
+
- @gradio/atoms@0.18.1
|
|
22
|
+
|
|
3
23
|
## 0.3.0
|
|
4
24
|
|
|
5
25
|
### Features
|
package/Index.svelte
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
let old_value: [FileData | null, FileData | null] = [null, null];
|
|
23
23
|
export let label: string;
|
|
24
24
|
export let show_label: boolean;
|
|
25
|
-
export let
|
|
25
|
+
export let buttons: string[] | null = null;
|
|
26
26
|
export let root: string;
|
|
27
27
|
export let height: number | undefined;
|
|
28
28
|
export let width: number | undefined;
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
export let loading_status: LoadingStatus;
|
|
33
33
|
export let interactive: boolean;
|
|
34
34
|
export let placeholder: string | undefined = undefined;
|
|
35
|
-
export let show_fullscreen_button: boolean;
|
|
36
35
|
let fullscreen = false;
|
|
37
36
|
export let input_ready: boolean;
|
|
38
37
|
export let slider_position: number;
|
|
@@ -138,9 +137,9 @@
|
|
|
138
137
|
bind:value
|
|
139
138
|
{label}
|
|
140
139
|
{show_label}
|
|
141
|
-
{
|
|
140
|
+
show_download_button={buttons?.includes("download") ?? true}
|
|
142
141
|
i18n={gradio.i18n}
|
|
143
|
-
{
|
|
142
|
+
show_fullscreen_button={buttons?.includes("fullscreen") ?? true}
|
|
144
143
|
position={normalised_slider_position}
|
|
145
144
|
{slider_color}
|
|
146
145
|
{max_height}
|
package/dist/Index.svelte
CHANGED
|
@@ -15,7 +15,7 @@ export let value = [null, null];
|
|
|
15
15
|
let old_value = [null, null];
|
|
16
16
|
export let label;
|
|
17
17
|
export let show_label;
|
|
18
|
-
export let
|
|
18
|
+
export let buttons = null;
|
|
19
19
|
export let root;
|
|
20
20
|
export let height;
|
|
21
21
|
export let width;
|
|
@@ -25,7 +25,6 @@ export let min_width = void 0;
|
|
|
25
25
|
export let loading_status;
|
|
26
26
|
export let interactive;
|
|
27
27
|
export let placeholder = void 0;
|
|
28
|
-
export let show_fullscreen_button;
|
|
29
28
|
let fullscreen = false;
|
|
30
29
|
export let input_ready;
|
|
31
30
|
export let slider_position;
|
|
@@ -108,9 +107,9 @@ const handle_drop = (event) => {
|
|
|
108
107
|
bind:value
|
|
109
108
|
{label}
|
|
110
109
|
{show_label}
|
|
111
|
-
{
|
|
110
|
+
show_download_button={buttons?.includes("download") ?? true}
|
|
112
111
|
i18n={gradio.i18n}
|
|
113
|
-
{
|
|
112
|
+
show_fullscreen_button={buttons?.includes("fullscreen") ?? true}
|
|
114
113
|
position={normalised_slider_position}
|
|
115
114
|
{slider_color}
|
|
116
115
|
{max_height}
|
package/dist/Index.svelte.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const __propDef: {
|
|
|
11
11
|
value?: [FileData | null, FileData | null];
|
|
12
12
|
label: string;
|
|
13
13
|
show_label: boolean;
|
|
14
|
-
|
|
14
|
+
buttons?: string[] | null;
|
|
15
15
|
root: string;
|
|
16
16
|
height: number | undefined;
|
|
17
17
|
width: number | undefined;
|
|
@@ -21,7 +21,6 @@ declare const __propDef: {
|
|
|
21
21
|
loading_status: LoadingStatus;
|
|
22
22
|
interactive: boolean;
|
|
23
23
|
placeholder?: string | undefined;
|
|
24
|
-
show_fullscreen_button: boolean;
|
|
25
24
|
input_ready: boolean;
|
|
26
25
|
slider_position: number;
|
|
27
26
|
upload_count?: number;
|
|
@@ -74,9 +73,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
|
|
|
74
73
|
get show_label(): boolean;
|
|
75
74
|
/**accessor*/
|
|
76
75
|
set show_label(_: boolean);
|
|
77
|
-
get
|
|
76
|
+
get buttons(): string[] | null | undefined;
|
|
78
77
|
/**accessor*/
|
|
79
|
-
set
|
|
78
|
+
set buttons(_: string[] | null | undefined);
|
|
80
79
|
get root(): string;
|
|
81
80
|
/**accessor*/
|
|
82
81
|
set root(_: string);
|
|
@@ -104,9 +103,6 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
|
|
|
104
103
|
get placeholder(): string | undefined;
|
|
105
104
|
/**accessor*/
|
|
106
105
|
set placeholder(_: string | undefined);
|
|
107
|
-
get show_fullscreen_button(): boolean;
|
|
108
|
-
/**accessor*/
|
|
109
|
-
set show_fullscreen_button(_: boolean);
|
|
110
106
|
get input_ready(): boolean;
|
|
111
107
|
/**accessor*/
|
|
112
108
|
set input_ready(_: boolean);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/imageslider",
|
|
3
|
-
"version": "0.3.0",
|
|
3
|
+
"version": "0.3.1-dev.0",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"@types/d3-selection": "^3.0.11",
|
|
12
12
|
"d3-drag": "^3.0.0",
|
|
13
13
|
"d3-selection": "^3.0.0",
|
|
14
|
-
"@gradio/atoms": "^0.18.
|
|
15
|
-
"@gradio/client": "^
|
|
16
|
-
"@gradio/statustracker": "^0.11.1",
|
|
14
|
+
"@gradio/atoms": "^0.18.1",
|
|
15
|
+
"@gradio/client": "^2.0.0-dev.0",
|
|
17
16
|
"@gradio/icons": "^0.14.0",
|
|
18
|
-
"@gradio/
|
|
17
|
+
"@gradio/statustracker": "^0.11.1",
|
|
18
|
+
"@gradio/upload": "^0.17.2-dev.0",
|
|
19
19
|
"@gradio/utils": "^0.10.2"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|