@gradio/multimodaltextbox 0.7.2 → 0.7.4
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 +26 -0
- package/Example.svelte +3 -4
- package/dist/Example.svelte +3 -5
- package/dist/Index.svelte.d.ts +2 -2
- package/dist/shared/MultimodalTextbox.svelte.d.ts +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @gradio/multimodaltextbox
|
|
2
2
|
|
|
3
|
+
## 0.7.4
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- [#9831](https://github.com/gradio-app/gradio/pull/9831) [`767643f`](https://github.com/gradio-app/gradio/commit/767643fdeccb1ae1481e1d79034317082144b371) - Fix a bug in example textbox rendering when it is initially invisible. Thanks @cornzz!
|
|
8
|
+
|
|
9
|
+
### Dependency updates
|
|
10
|
+
|
|
11
|
+
- @gradio/video@0.11.6
|
|
12
|
+
- @gradio/statustracker@0.9.3
|
|
13
|
+
- @gradio/atoms@0.10.1
|
|
14
|
+
- @gradio/client@1.7.1
|
|
15
|
+
- @gradio/image@0.16.6
|
|
16
|
+
- @gradio/upload@0.13.5
|
|
17
|
+
|
|
18
|
+
## 0.7.3
|
|
19
|
+
|
|
20
|
+
### Dependency updates
|
|
21
|
+
|
|
22
|
+
- @gradio/video@0.11.5
|
|
23
|
+
- @gradio/statustracker@0.9.2
|
|
24
|
+
- @gradio/atoms@0.10.0
|
|
25
|
+
- @gradio/icons@0.8.1
|
|
26
|
+
- @gradio/upload@0.13.4
|
|
27
|
+
- @gradio/image@0.16.5
|
|
28
|
+
|
|
3
29
|
## 0.7.2
|
|
4
30
|
|
|
5
31
|
### Dependency updates
|
package/Example.svelte
CHANGED
|
@@ -15,12 +15,11 @@
|
|
|
15
15
|
let el: HTMLDivElement;
|
|
16
16
|
|
|
17
17
|
function set_styles(element: HTMLElement, el_width: number): void {
|
|
18
|
-
|
|
19
|
-
el.style.setProperty(
|
|
18
|
+
element.style.setProperty(
|
|
20
19
|
"--local-text-width",
|
|
21
|
-
`${el_width < 150 ? el_width : 200}px`
|
|
20
|
+
`${el_width && el_width < 150 ? el_width : 200}px`
|
|
22
21
|
);
|
|
23
|
-
|
|
22
|
+
element.style.whiteSpace = "unset";
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
onMount(() => {
|
package/dist/Example.svelte
CHANGED
|
@@ -10,13 +10,11 @@ export let selected = false;
|
|
|
10
10
|
let size;
|
|
11
11
|
let el;
|
|
12
12
|
function set_styles(element, el_width) {
|
|
13
|
-
|
|
14
|
-
return;
|
|
15
|
-
el.style.setProperty(
|
|
13
|
+
element.style.setProperty(
|
|
16
14
|
"--local-text-width",
|
|
17
|
-
`${el_width < 150 ? el_width : 200}px`
|
|
15
|
+
`${el_width && el_width < 150 ? el_width : 200}px`
|
|
18
16
|
);
|
|
19
|
-
|
|
17
|
+
element.style.whiteSpace = "unset";
|
|
20
18
|
}
|
|
21
19
|
onMount(() => {
|
|
22
20
|
set_styles(el, size);
|
package/dist/Index.svelte.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
|
|
|
165
165
|
get root(): string;
|
|
166
166
|
/**accessor*/
|
|
167
167
|
set root(_: string);
|
|
168
|
-
get file_count(): "
|
|
168
|
+
get file_count(): "single" | "multiple" | "directory";
|
|
169
169
|
/**accessor*/
|
|
170
|
-
set file_count(_: "
|
|
170
|
+
set file_count(_: "single" | "multiple" | "directory");
|
|
171
171
|
}
|
|
@@ -44,9 +44,9 @@ declare const __propDef: {
|
|
|
44
44
|
select: CustomEvent<SelectData>;
|
|
45
45
|
input: CustomEvent<undefined>;
|
|
46
46
|
drag: CustomEvent<boolean>;
|
|
47
|
-
upload: CustomEvent<
|
|
47
|
+
upload: CustomEvent<any>;
|
|
48
48
|
clear: CustomEvent<undefined>;
|
|
49
|
-
load: CustomEvent<
|
|
49
|
+
load: CustomEvent<any>;
|
|
50
50
|
} & {
|
|
51
51
|
[evt: string]: CustomEvent<any>;
|
|
52
52
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/multimodaltextbox",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"./package.json": "./package.json"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@gradio/
|
|
26
|
-
"@gradio/
|
|
27
|
-
"@gradio/
|
|
25
|
+
"@gradio/atoms": "^0.10.1",
|
|
26
|
+
"@gradio/icons": "^0.8.1",
|
|
27
|
+
"@gradio/statustracker": "^0.9.3",
|
|
28
28
|
"@gradio/utils": "^0.7.0",
|
|
29
|
-
"@gradio/upload": "^0.13.
|
|
30
|
-
"@gradio/
|
|
31
|
-
"@gradio/
|
|
32
|
-
"@gradio/
|
|
29
|
+
"@gradio/upload": "^0.13.5",
|
|
30
|
+
"@gradio/image": "^0.16.6",
|
|
31
|
+
"@gradio/client": "^1.7.1",
|
|
32
|
+
"@gradio/video": "^0.11.6"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@gradio/preview": "^0.
|
|
35
|
+
"@gradio/preview": "^0.13.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"svelte": "^4.0.0"
|