gradio/js/chatbot
pngwn efdc3231a7
Initial SSR refactor (#9102)
* changes

* asd

* fix tests

* fix lint

* fix ts

* fix ts

* cleanup

* cleanup

* fix

* Apply suggestions from code review

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>

* fix

* add changeset

* fix gitignore

* fix changeset

* fix lockfile

* format

* fix

* add changeset

* githunore

* kit bopilerplate

* add changeset

* fix website

* add changeset

---------

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-14 15:17:36 +01:00
..
shared Initial SSR refactor (#9102) 2024-08-14 15:17:36 +01:00
CHANGELOG.md chore: update versions (#8960) 2024-08-08 11:20:08 +01:00
Chatbot.stories.svelte Restore Markdown formatting for Chatbots, MarkdownCode (#7936) 2024-04-04 15:04:46 -07:00
Chatbot.test.ts Add copy all messages button to chatbot (#9013) 2024-08-12 14:08:12 +00:00
Index.svelte Add copy all messages button to chatbot (#9013) 2024-08-12 14:08:12 +00:00
package.json chore: update versions (#8960) 2024-08-08 11:20:08 +01:00
README.md
types.ts Revert chatbot styling (#8758) 2024-07-12 18:35:08 +01:00

@gradio/button

<script>
	import { BaseChatBot } from "@gradio/chatbot";
</script>

BaseChatBot

	export let value:
		| [
				string | { file: FileData; alt_text: string | null } | null,
				string | { file: FileData; alt_text: string | null } | null
		  ][]
		| null;
	let old_value:
		| [
				string | { file: FileData; alt_text: string | null } | null,
				string | { file: FileData; alt_text: string | null } | null
		  ][]
		| null = null;
	export let latex_delimiters: {
		left: string;
		right: string;
		display: boolean;
	}[];
	export let pending_message = false;
	export let selectable = false;
	export let likeable = false;
	export let show_share_button = false;
	export let rtl = false;
	export let show_copy_button = false;
	export let avatar_images: [string | null, string | null] = [null, null];
	export let sanitize_html = true;
	export let bubble_full_width = true;
	export let render_markdown = true;
	export let line_breaks = true;
	export let root: string;
	export let root_url: null | string;
	export let i18n: I18nFormatter;
	export let layout: "bubble" | "panel" = "bubble";