@gradio/multimodaltextbox 0.10.11 → 0.10.13
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
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @gradio/multimodaltextbox
|
|
2
2
|
|
|
3
|
+
## 0.10.13
|
|
4
|
+
|
|
5
|
+
### Dependency updates
|
|
6
|
+
|
|
7
|
+
- @gradio/video@0.14.21
|
|
8
|
+
- @gradio/client@1.15.6
|
|
9
|
+
- @gradio/statustracker@0.10.15
|
|
10
|
+
- @gradio/upload@0.16.11
|
|
11
|
+
- @gradio/image@0.22.13
|
|
12
|
+
|
|
13
|
+
## 0.10.12
|
|
14
|
+
|
|
15
|
+
### Fixes
|
|
16
|
+
|
|
17
|
+
- [#11537](https://github.com/gradio-app/gradio/pull/11537) [`8eb253b`](https://github.com/gradio-app/gradio/commit/8eb253be32a01c0c67911d7a7a3762c52a76a87b) - fix html attribute spreading bug and pin `httpx`. Thanks @abidlabs!
|
|
18
|
+
|
|
19
|
+
### Dependency updates
|
|
20
|
+
|
|
21
|
+
- @gradio/atoms@0.16.3
|
|
22
|
+
- @gradio/statustracker@0.10.14
|
|
23
|
+
- @gradio/upload@0.16.10
|
|
24
|
+
- @gradio/video@0.14.20
|
|
25
|
+
- @gradio/client@1.15.5
|
|
26
|
+
- @gradio/image@0.22.12
|
|
27
|
+
|
|
3
28
|
## 0.10.11
|
|
4
29
|
|
|
5
30
|
### Dependency updates
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
Microphone
|
|
21
21
|
} from "@gradio/icons";
|
|
22
22
|
import InteractiveAudio from "../../audio/interactive/InteractiveAudio.svelte";
|
|
23
|
-
import { convert_html_attributes } from "./utils";
|
|
24
23
|
export let value = {
|
|
25
24
|
text: "",
|
|
26
25
|
files: []
|
|
@@ -54,8 +53,6 @@ export let waveform_options = {
|
|
|
54
53
|
export let sources = ["upload"];
|
|
55
54
|
export let active_source = null;
|
|
56
55
|
export let html_attributes = null;
|
|
57
|
-
$:
|
|
58
|
-
html_attrs = convert_html_attributes(html_attributes);
|
|
59
56
|
let upload_component;
|
|
60
57
|
let el;
|
|
61
58
|
let can_scroll;
|
|
@@ -398,7 +395,13 @@ function handle_drop(event) {
|
|
|
398
395
|
on:scroll={handle_scroll}
|
|
399
396
|
on:paste={handle_paste}
|
|
400
397
|
style={text_align ? "text-align: " + text_align : ""}
|
|
401
|
-
{
|
|
398
|
+
autocapitalize={html_attributes?.autocapitalize}
|
|
399
|
+
autocorrect={html_attributes?.autocorrect}
|
|
400
|
+
spellcheck={html_attributes?.spellcheck}
|
|
401
|
+
autocomplete={html_attributes?.autocomplete}
|
|
402
|
+
tabindex={html_attributes?.tabindex}
|
|
403
|
+
enterkeyhint={html_attributes?.enterkeyhint}
|
|
404
|
+
lang={html_attributes?.lang}
|
|
402
405
|
/>
|
|
403
406
|
{#if submit_btn}
|
|
404
407
|
<button
|
package/dist/shared/utils.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ interface Value {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function resize(target: HTMLTextAreaElement | HTMLInputElement, lines: number, max_lines: number): Promise<void>;
|
|
7
7
|
export declare function text_area_resize(_el: HTMLTextAreaElement, _value: Value): any | undefined;
|
|
8
|
-
export {
|
|
8
|
+
export {};
|
package/dist/shared/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/multimodaltextbox",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.13",
|
|
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/atoms": "^0.16.
|
|
25
|
+
"@gradio/atoms": "^0.16.3",
|
|
26
26
|
"@gradio/icons": "^0.12.0",
|
|
27
|
-
"@gradio/statustracker": "^0.10.13",
|
|
28
|
-
"@gradio/upload": "^0.16.9",
|
|
29
27
|
"@gradio/utils": "^0.10.2",
|
|
30
|
-
"@gradio/
|
|
31
|
-
"@gradio/
|
|
32
|
-
"@gradio/
|
|
28
|
+
"@gradio/upload": "^0.16.11",
|
|
29
|
+
"@gradio/image": "^0.22.13",
|
|
30
|
+
"@gradio/video": "^0.14.21",
|
|
31
|
+
"@gradio/statustracker": "^0.10.15",
|
|
32
|
+
"@gradio/client": "^1.15.6"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@gradio/preview": "^0.
|
|
35
|
+
"@gradio/preview": "^0.14.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"svelte": "^4.0.0"
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
import type { SelectData } from "@gradio/utils";
|
|
27
27
|
import InteractiveAudio from "../../audio/interactive/InteractiveAudio.svelte";
|
|
28
28
|
import type { InputHTMLAttributes } from "./types";
|
|
29
|
-
import { convert_html_attributes } from "./utils";
|
|
30
29
|
|
|
31
30
|
export let value: { text: string; files: FileData[] } = {
|
|
32
31
|
text: "",
|
|
@@ -63,9 +62,6 @@
|
|
|
63
62
|
export let active_source: "microphone" | null = null;
|
|
64
63
|
export let html_attributes: InputHTMLAttributes | null = null;
|
|
65
64
|
|
|
66
|
-
// Convert InputHTMLAttributes to HTML attributes
|
|
67
|
-
$: html_attrs = convert_html_attributes(html_attributes);
|
|
68
|
-
|
|
69
65
|
let upload_component: Upload;
|
|
70
66
|
let el: HTMLTextAreaElement | HTMLInputElement;
|
|
71
67
|
let can_scroll: boolean;
|
|
@@ -456,7 +452,13 @@
|
|
|
456
452
|
on:scroll={handle_scroll}
|
|
457
453
|
on:paste={handle_paste}
|
|
458
454
|
style={text_align ? "text-align: " + text_align : ""}
|
|
459
|
-
{
|
|
455
|
+
autocapitalize={html_attributes?.autocapitalize}
|
|
456
|
+
autocorrect={html_attributes?.autocorrect}
|
|
457
|
+
spellcheck={html_attributes?.spellcheck}
|
|
458
|
+
autocomplete={html_attributes?.autocomplete}
|
|
459
|
+
tabindex={html_attributes?.tabindex}
|
|
460
|
+
enterkeyhint={html_attributes?.enterkeyhint}
|
|
461
|
+
lang={html_attributes?.lang}
|
|
460
462
|
/>
|
|
461
463
|
{#if submit_btn}
|
|
462
464
|
<button
|