gradio/js/file
pngwn 2b6cbf2590
Fix published package exports (#9163)
* rename

* save patch

* fix everything

* format

* rm file

* fix stuff

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* fix

* Fix scripts/run_lite.sh and scripts/build_lite.sh (#9170)

* fixes

* fixes

* asd

* asd

* asd

* review comments

* fiux types

* fiux types

* make fileexpolorer public

* format

* lint

* lint

---------

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-08-22 16:38:45 +00:00
..
shared Bugfix: Allow multiple files to be uploaded via multimodal textbox (#8608) 2024-06-26 12:14:25 -04:00
CHANGELOG.md chore: update versions (#9072) 2024-08-21 11:35:46 -07:00
Example.svelte Handle the case where examples is null for all components (#7192) 2024-01-29 16:51:22 -08:00
File.stories.svelte Improve CSS token documentation in Storybook (#6399) 2023-12-08 16:23:14 +01:00
FileUpload.stories.svelte Fix single file upload display (#7221) 2024-01-30 15:05:33 -05:00
Index.svelte Ensure all upload components have consistent upload regions. (#8803) 2024-07-17 17:37:25 +01:00
package.json Fix published package exports (#9163) 2024-08-22 16:38:45 +00:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@gradio/file

<script>
	import { BaseFile, BaseFileUpload, FilePreview, BaseExample } from "@gradio/file";
</script>

BaseFile

	export let value: FileData | FileData[] | null = null;
	export let label: string;
	export let show_label = true;
	export let selectable = false;
	export let height: number | undefined = undefined;
	export let i18n: I18nFormatter;

BaseFileUpload

	export let value: null | FileData | FileData[];
	export let label: string;
	export let show_label = true;
	export let file_count = "single";
	export let file_types: string[] | null = null;
	export let selectable = false;
	export let root: string;
	export let height: number | undefined = undefined;
	export let i18n: I18nFormatter;

FilePreview

	export let value: FileData | FileData[];
	export let selectable = false;
	export let height: number | undefined = undefined;
	export let i18n: I18nFormatter;

BaseExample

	export let value: FileData;
	export let type: "gallery" | "table";
	export let selected = false;