@@ -85,6 +90,7 @@
{lines}
{max_lines}
{dark_mode}
+ {wrap_lines}
readonly={!interactive}
on:blur={() => gradio.dispatch("blur")}
on:focus={() => gradio.dispatch("focus")}
diff --git a/js/code/package.json b/js/code/package.json
index 3d5c4383a506a..864086324676a 100644
--- a/js/code/package.json
+++ b/js/code/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/code",
- "version": "0.10.0-beta.4",
+ "version": "0.10.0-beta.5",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/code/shared/Code.svelte b/js/code/shared/Code.svelte
index 1266d0f5945b9..9f0c27efacbf9 100644
--- a/js/code/shared/Code.svelte
+++ b/js/code/shared/Code.svelte
@@ -20,11 +20,12 @@
export let basic = true;
export let language: string;
export let lines = 5;
- export let max_lines = 20;
+ export let max_lines: number | null = null;
export let extensions: Extension[] = [];
export let use_tab = true;
export let readonly = false;
export let placeholder: string | HTMLElement | null | undefined = undefined;
+ export let wrap_lines = false;
const dispatch = createEventDispatcher<{
change: string;
@@ -109,7 +110,8 @@
const minLines = lines == 1 ? 1 : lines + 1;
scroller.style.minHeight = `calc(${lineHeight} * ${minLines})`;
- scroller.style.maxHeight = `calc(${lineHeight} * ${max_lines + 1})`;
+ if (max_lines)
+ scroller.style.maxHeight = `calc(${lineHeight} * ${max_lines + 1})`;
}
function handle_change(vu: ViewUpdate): void {
@@ -150,6 +152,9 @@
fontFamily: "var(--font-mono)",
minHeight: "100%"
},
+ ".cm-gutterElement": {
+ marginRight: "var(--spacing-xs)"
+ },
".cm-gutters": {
marginRight: "1px",
borderRight: "1px solid var(--border-color-primary)",
@@ -201,6 +206,9 @@
}
extensions.push(EditorView.updateListener.of(handle_change));
+ if (wrap_lines) {
+ extensions.push(EditorView.lineWrapping);
+ }
return extensions;
}
@@ -235,13 +243,13 @@
.wrap {
display: flex;
flex-direction: column;
- flex-flow: column;
+ flex-grow: 1;
margin: 0;
padding: 0;
height: 100%;
}
.codemirror-wrapper {
- height: 100%;
+ flex-grow: 1;
overflow: auto;
}
diff --git a/js/code/shared/Copy.svelte b/js/code/shared/Copy.svelte
index e8909fc1c55f9..c1979aa266216 100644
--- a/js/code/shared/Copy.svelte
+++ b/js/code/shared/Copy.svelte
@@ -1,7 +1,7 @@
-
-
-
+
diff --git a/js/code/shared/Download.svelte b/js/code/shared/Download.svelte
index aefdd499e57bb..f103f271ecad7 100644
--- a/js/code/shared/Download.svelte
+++ b/js/code/shared/Download.svelte
@@ -1,8 +1,8 @@
-
-
-
- {#if copied}
-
- {/if}
-
-
-
-
+
+
+
diff --git a/js/code/shared/Widgets.svelte b/js/code/shared/Widgets.svelte
index 584c1944077ad..014676455e75e 100644
--- a/js/code/shared/Widgets.svelte
+++ b/js/code/shared/Widgets.svelte
@@ -1,35 +1,13 @@
-
+
-
-
-
+
diff --git a/js/code/shared/language.ts b/js/code/shared/language.ts
index a4492bfd815c7..499bc2456e198 100644
--- a/js/code/shared/language.ts
+++ b/js/code/shared/language.ts
@@ -12,6 +12,7 @@ const possible_langs = [
"html",
"css",
"javascript",
+ "jinja2",
"typescript",
"yaml",
"dockerfile",
@@ -58,6 +59,10 @@ const lang_map: Record Promise) | undefined> = {
css: () => import("@codemirror/lang-css").then((m) => m.css()),
javascript: () =>
import("@codemirror/lang-javascript").then((m) => m.javascript()),
+ jinja2: () =>
+ import("@codemirror/legacy-modes/mode/jinja2").then((m) =>
+ StreamLanguage.define(m.jinja2)
+ ),
typescript: () =>
import("@codemirror/lang-javascript").then((m) =>
m.javascript({ typescript: true })
diff --git a/js/colorpicker/CHANGELOG.md b/js/colorpicker/CHANGELOG.md
index be0ddd6629e66..03dc384d7cbed 100644
--- a/js/colorpicker/CHANGELOG.md
+++ b/js/colorpicker/CHANGELOG.md
@@ -1,5 +1,12 @@
# @gradio/colorpicker
+## 0.3.13-beta.3
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.3.13-beta.2
### Dependency updates
diff --git a/js/colorpicker/package.json b/js/colorpicker/package.json
index d671b103af526..33ea3265e1dfd 100644
--- a/js/colorpicker/package.json
+++ b/js/colorpicker/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/colorpicker",
- "version": "0.3.13-beta.2",
+ "version": "0.3.13-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/column/CHANGELOG.md b/js/column/CHANGELOG.md
index 8e1340771693c..532374a520455 100644
--- a/js/column/CHANGELOG.md
+++ b/js/column/CHANGELOG.md
@@ -1,5 +1,15 @@
# @gradio/column
+## 0.2.0-beta.1
+
+### Features
+
+- [#9496](https://github.com/gradio-app/gradio/pull/9496) [`1647ebd`](https://github.com/gradio-app/gradio/commit/1647ebddc3e2ed6fc143a62629409e32afcc5801) - UI theme fixes. Thanks @aliabid94!
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+
## 0.2.0-beta.0
### Dependency updates
diff --git a/js/column/package.json b/js/column/package.json
index 3c17927e0c96f..17474dea5d51b 100644
--- a/js/column/package.json
+++ b/js/column/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/column",
- "version": "0.2.0-beta.0",
+ "version": "0.2.0-beta.1",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/component-test/CHANGELOG.md b/js/component-test/CHANGELOG.md
index 166aa17232faf..9c3701b6fb87c 100644
--- a/js/component-test/CHANGELOG.md
+++ b/js/component-test/CHANGELOG.md
@@ -1,5 +1,11 @@
# @self/component-test
+## 0.2.0-beta.5
+
+### Dependency updates
+
+- @gradio/video@0.11.0-beta.5
+
## 0.2.0-beta.4
### Dependency updates
diff --git a/js/component-test/package.json b/js/component-test/package.json
index 9923561c7bc3a..6af21147ef698 100644
--- a/js/component-test/package.json
+++ b/js/component-test/package.json
@@ -1,6 +1,6 @@
{
"name": "@self/component-test",
- "version": "0.2.0-beta.4",
+ "version": "0.2.0-beta.5",
"scripts": {
"dev": "vite dev",
"build": "vite build",
diff --git a/js/core/CHANGELOG.md b/js/core/CHANGELOG.md
index 67a5fb695caf2..a136c1b0203ad 100644
--- a/js/core/CHANGELOG.md
+++ b/js/core/CHANGELOG.md
@@ -2,6 +2,29 @@
## 0.1.0-beta.4
+### Dependency updates
+
+- @gradio/upload@0.13.0-beta.5
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/video@0.11.0-beta.5
+- @gradio/tabs@0.3.0-beta.3
+- @gradio/column@0.2.0-beta.1
+- @gradio/tabitem@0.3.0-beta.3
+- @gradio/code@0.10.0-beta.5
+- @gradio/paramviewer@0.4.22-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+- @gradio/button@0.3.0-beta.5
+- @gradio/markdown@0.10.0-beta.3
+- @gradio/gallery@0.13.0-beta.5
+- @gradio/plot@0.7.0-beta.4
+- @gradio/file@0.10.0-beta.5
+- @gradio/checkbox@0.4.0-beta.3
+- @gradio/image@0.16.0-beta.5
+- @gradio/textbox@0.7.0-beta.3
+
+## 0.1.0-beta.4
+
### Features
- [#9464](https://github.com/gradio-app/gradio/pull/9464) [`3ac5d9c`](https://github.com/gradio-app/gradio/commit/3ac5d9c972576d82bc365a6532e6e12f55441a30) - Fix plots. Thanks @pngwn!
@@ -118,6 +141,13 @@
## 0.0.4
+### Dependency updates
+
+- @gradio/code@0.9.1
+- @gradio/paramviewer@0.4.22
+
+## 0.0.4
+
### Fixes
- [#9188](https://github.com/gradio-app/gradio/pull/9188) [`8f8e1c6`](https://github.com/gradio-app/gradio/commit/8f8e1c6a0b09b0d1985b8377d94d693cb00f8a18) - Fix multiple trigger bug when function has js. Thanks @freddyaboulton!
diff --git a/js/dataframe/CHANGELOG.md b/js/dataframe/CHANGELOG.md
index 77b68db8afad6..e0815b1051546 100644
--- a/js/dataframe/CHANGELOG.md
+++ b/js/dataframe/CHANGELOG.md
@@ -1,5 +1,19 @@
# @gradio/dataframe
+## 0.11.0-beta.6
+
+### Features
+
+- [#9496](https://github.com/gradio-app/gradio/pull/9496) [`1647ebd`](https://github.com/gradio-app/gradio/commit/1647ebddc3e2ed6fc143a62629409e32afcc5801) - UI theme fixes. Thanks @aliabid94!
+
+### Dependency updates
+
+- @gradio/upload@0.13.0-beta.5
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+- @gradio/button@0.3.0-beta.5
+- @gradio/markdown@0.10.0-beta.3
+
## 0.11.0-beta.5
### Dependency updates
diff --git a/js/dataframe/package.json b/js/dataframe/package.json
index ab5b64fcfc8c7..0256e05b3c31d 100644
--- a/js/dataframe/package.json
+++ b/js/dataframe/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/dataframe",
- "version": "0.11.0-beta.5",
+ "version": "0.11.0-beta.6",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/dataset/CHANGELOG.md b/js/dataset/CHANGELOG.md
index 0013b51ea5a5f..8077c161a03ba 100644
--- a/js/dataset/CHANGELOG.md
+++ b/js/dataset/CHANGELOG.md
@@ -1,5 +1,13 @@
# @gradio/dataset
+## 0.2.5-beta.5
+
+### Dependency updates
+
+- @gradio/upload@0.13.0-beta.5
+- @gradio/atoms@0.9.0-beta.3
+- @gradio/textbox@0.7.0-beta.3
+
## 0.2.5-beta.4
### Dependency updates
diff --git a/js/dataset/package.json b/js/dataset/package.json
index 2fea9c2985df2..7491c59b84708 100644
--- a/js/dataset/package.json
+++ b/js/dataset/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/dataset",
- "version": "0.2.5-beta.4",
+ "version": "0.2.5-beta.5",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/datetime/CHANGELOG.md b/js/datetime/CHANGELOG.md
index d0680e0b4983f..9862cabc25881 100644
--- a/js/datetime/CHANGELOG.md
+++ b/js/datetime/CHANGELOG.md
@@ -1,5 +1,13 @@
# @gradio/datetime
+## 0.1.4-beta.3
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.1.4-beta.2
### Dependency updates
diff --git a/js/datetime/package.json b/js/datetime/package.json
index 52100d41aed1d..c119d25704630 100644
--- a/js/datetime/package.json
+++ b/js/datetime/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/datetime",
- "version": "0.1.4-beta.2",
+ "version": "0.1.4-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/downloadbutton/CHANGELOG.md b/js/downloadbutton/CHANGELOG.md
index c6bd17534245b..39a207d2c5cd3 100644
--- a/js/downloadbutton/CHANGELOG.md
+++ b/js/downloadbutton/CHANGELOG.md
@@ -1,5 +1,11 @@
# @gradio/downloadbutton
+## 0.1.28-beta.5
+
+### Dependency updates
+
+- @gradio/button@0.3.0-beta.5
+
## 0.1.28-beta.4
### Dependency updates
diff --git a/js/downloadbutton/package.json b/js/downloadbutton/package.json
index a1de819763c57..6e8d621d0f6f5 100644
--- a/js/downloadbutton/package.json
+++ b/js/downloadbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/downloadbutton",
- "version": "0.1.28-beta.4",
+ "version": "0.1.28-beta.5",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/dropdown/CHANGELOG.md b/js/dropdown/CHANGELOG.md
index abf6c6ab13dea..fe1eccab4c7e4 100644
--- a/js/dropdown/CHANGELOG.md
+++ b/js/dropdown/CHANGELOG.md
@@ -1,5 +1,17 @@
# @gradio/dropdown
+## 0.8.0-beta.3
+
+### Features
+
+- [#9519](https://github.com/gradio-app/gradio/pull/9519) [`0ab6ac5`](https://github.com/gradio-app/gradio/commit/0ab6ac5dc01b69e4f2462d00c4910f3354441227) - Fix change triggers for dropdown and radio. Thanks @dawoodkhan82!
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.7.13-beta.2
### Dependency updates
diff --git a/js/dropdown/Index.svelte b/js/dropdown/Index.svelte
index 88fdf66708c4d..604cbbd9e3aab 100644
--- a/js/dropdown/Index.svelte
+++ b/js/dropdown/Index.svelte
@@ -12,16 +12,18 @@
import { StatusTracker } from "@gradio/statustracker";
import type { LoadingStatus } from "@gradio/statustracker";
+ type Item = string | number;
+
export let label = "Dropdown";
export let info: string | undefined = undefined;
export let elem_id = "";
export let elem_classes: string[] = [];
export let visible = true;
- export let value: string | string[] | undefined = undefined;
- export let value_is_output = false;
export let multiselect = false;
+ export let value: Item | Item[] | undefined = multiselect ? [] : undefined;
+ export let value_is_output = false;
export let max_choices: number | null = null;
- export let choices: [string, string | number][];
+ export let choices: [string, Item][];
export let show_label: boolean;
export let filterable: boolean;
export let container = true;
diff --git a/js/dropdown/dropdown.test.ts b/js/dropdown/dropdown.test.ts
index 5f68733a326ca..afd308016a95b 100644
--- a/js/dropdown/dropdown.test.ts
+++ b/js/dropdown/dropdown.test.ts
@@ -472,7 +472,7 @@ describe("Dropdown", () => {
await expect(item.value).toBe("apple_choice");
});
- test("ensure dropdown can have an empty value", async () => {
+ test("ensure dropdown can have the first item of the choices as a default value", async () => {
const { getByLabelText } = await render(Dropdown, {
show_label: true,
loading_status,
@@ -488,7 +488,7 @@ describe("Dropdown", () => {
const item: HTMLInputElement = getByLabelText(
"Dropdown"
) as HTMLInputElement;
- await expect(item.value).toBe("");
+ await expect(item.value).toBe("apple_choice");
});
test("ensure dropdown works when initial value is undefined and allow custom value is set", async () => {
@@ -508,6 +508,6 @@ describe("Dropdown", () => {
const item: HTMLInputElement = getByLabelText(
"Dropdown"
) as HTMLInputElement;
- await expect(item.value).toBe("");
+ await expect(item.value).toBe("apple_choice");
});
});
diff --git a/js/dropdown/package.json b/js/dropdown/package.json
index d8f426e4fbf3c..95b480bb41e23 100644
--- a/js/dropdown/package.json
+++ b/js/dropdown/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/dropdown",
- "version": "0.7.13-beta.2",
+ "version": "0.8.0-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/dropdown/shared/Dropdown.svelte b/js/dropdown/shared/Dropdown.svelte
index 5acb8948a853c..9c3817a1cc0aa 100644
--- a/js/dropdown/shared/Dropdown.svelte
+++ b/js/dropdown/shared/Dropdown.svelte
@@ -6,13 +6,15 @@
import type { SelectData, KeyUpData } from "@gradio/utils";
import { handle_filter, handle_change, handle_shared_keys } from "./utils";
+ type Item = string | number;
+
export let label: string;
export let info: string | undefined = undefined;
- export let value: string | number | (string | number)[] | undefined = [];
- let old_value: string | number | (string | number)[] | undefined = [];
+ export let value: Item | Item[] | undefined = undefined;
+ let old_value: typeof value = undefined;
export let value_is_output = false;
- export let choices: [string, string | number][];
- let old_choices: [string, string | number][];
+ export let choices: [string, Item][];
+ let old_choices: typeof choices;
export let disabled = false;
export let show_label: boolean;
export let container = true;
@@ -80,12 +82,10 @@
}
}
- $: {
- if (value != old_value) {
- set_input_text();
- handle_change(dispatch, value, value_is_output);
- old_value = value;
- }
+ $: if (JSON.stringify(old_value) !== JSON.stringify(value)) {
+ set_input_text();
+ handle_change(dispatch, value, value_is_output);
+ old_value = value;
}
function set_choice_names_values(): void {
diff --git a/js/dropdown/shared/Multiselect.svelte b/js/dropdown/shared/Multiselect.svelte
index 7c3213ac43ffe..e4fbb3c69e5ee 100644
--- a/js/dropdown/shared/Multiselect.svelte
+++ b/js/dropdown/shared/Multiselect.svelte
@@ -1,20 +1,22 @@
diff --git a/js/radio/package.json b/js/radio/package.json
index 8571a9546552c..4296dab0b5dc0 100644
--- a/js/radio/package.json
+++ b/js/radio/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/radio",
- "version": "0.6.0-beta.2",
+ "version": "0.6.0-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/row/CHANGELOG.md b/js/row/CHANGELOG.md
index 318f60a51b399..db3be0262907d 100644
--- a/js/row/CHANGELOG.md
+++ b/js/row/CHANGELOG.md
@@ -1,5 +1,15 @@
# @gradio/row
+## 0.2.0-beta.2
+
+### Features
+
+- [#9496](https://github.com/gradio-app/gradio/pull/9496) [`1647ebd`](https://github.com/gradio-app/gradio/commit/1647ebddc3e2ed6fc143a62629409e32afcc5801) - UI theme fixes. Thanks @aliabid94!
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+
## 0.2.0-beta.1
### Dependency updates
diff --git a/js/row/package.json b/js/row/package.json
index f781bf9544cb6..2b7c1ead76ece 100644
--- a/js/row/package.json
+++ b/js/row/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/row",
- "version": "0.2.0-beta.1",
+ "version": "0.2.0-beta.2",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/simpledropdown/CHANGELOG.md b/js/simpledropdown/CHANGELOG.md
index 9b22b7d99699d..52d4bdbc3cf87 100644
--- a/js/simpledropdown/CHANGELOG.md
+++ b/js/simpledropdown/CHANGELOG.md
@@ -1,5 +1,13 @@
# @gradio/simpledropdown
+## 0.2.13-beta.3
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.2.13-beta.2
### Dependency updates
diff --git a/js/simpledropdown/package.json b/js/simpledropdown/package.json
index 5538ca63b5e9d..30a097f911650 100644
--- a/js/simpledropdown/package.json
+++ b/js/simpledropdown/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/simpledropdown",
- "version": "0.2.13-beta.2",
+ "version": "0.2.13-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/simpleimage/CHANGELOG.md b/js/simpleimage/CHANGELOG.md
index 8395b2a5f1078..5aba82f62ea3e 100644
--- a/js/simpleimage/CHANGELOG.md
+++ b/js/simpleimage/CHANGELOG.md
@@ -1,5 +1,14 @@
# @gradio/simpleimage
+## 0.8.0-beta.5
+
+### Dependency updates
+
+- @gradio/upload@0.13.0-beta.5
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.8.0-beta.4
### Dependency updates
diff --git a/js/simpleimage/package.json b/js/simpleimage/package.json
index 37106d66f290d..2073ce8761a87 100644
--- a/js/simpleimage/package.json
+++ b/js/simpleimage/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/simpleimage",
- "version": "0.8.0-beta.4",
+ "version": "0.8.0-beta.5",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/simpletextbox/CHANGELOG.md b/js/simpletextbox/CHANGELOG.md
index 16b93a8b44dc5..653758d259adc 100644
--- a/js/simpletextbox/CHANGELOG.md
+++ b/js/simpletextbox/CHANGELOG.md
@@ -1,5 +1,13 @@
# @gradio/simpletextbox
+## 0.2.13-beta.3
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.2.13-beta.2
### Dependency updates
diff --git a/js/simpletextbox/package.json b/js/simpletextbox/package.json
index 78b3f1cca3639..419eea78adffa 100644
--- a/js/simpletextbox/package.json
+++ b/js/simpletextbox/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/simpletextbox",
- "version": "0.2.13-beta.2",
+ "version": "0.2.13-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/slider/CHANGELOG.md b/js/slider/CHANGELOG.md
index 568ed18984c1f..c39ed8d2ad4d4 100644
--- a/js/slider/CHANGELOG.md
+++ b/js/slider/CHANGELOG.md
@@ -1,5 +1,16 @@
# @gradio/slider
+## 0.5.0-beta.3
+
+### Features
+
+- [#9481](https://github.com/gradio-app/gradio/pull/9481) [`2510a6e`](https://github.com/gradio-app/gradio/commit/2510a6e978a49432d7820e9518f164a70cf8acc8) - Fix `slider-color` var. Thanks @hannahblair!
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.5.0-beta.2
### Dependency updates
diff --git a/js/slider/package.json b/js/slider/package.json
index d6792a6c566b2..d7e0e993dd026 100644
--- a/js/slider/package.json
+++ b/js/slider/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/slider",
- "version": "0.5.0-beta.2",
+ "version": "0.5.0-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/spa/CHANGELOG.md b/js/spa/CHANGELOG.md
index 271a551b135f5..a5805b7e48008 100644
--- a/js/spa/CHANGELOG.md
+++ b/js/spa/CHANGELOG.md
@@ -2,6 +2,12 @@
## 0.1.0-beta.2
+### Dependency updates
+
+- @gradio/core@0.1.0-beta.4
+
+## 0.1.0-beta.2
+
### Features
- [#9464](https://github.com/gradio-app/gradio/pull/9464) [`3ac5d9c`](https://github.com/gradio-app/gradio/commit/3ac5d9c972576d82bc365a6532e6e12f55441a30) - Fix plots. Thanks @pngwn!
diff --git a/js/spa/test/outbreak_forecast.spec.ts b/js/spa/test/outbreak_forecast.spec.ts
index d3b3b24faeba6..b0e638904b027 100644
--- a/js/spa/test/outbreak_forecast.spec.ts
+++ b/js/spa/test/outbreak_forecast.spec.ts
@@ -52,7 +52,25 @@ test("selecting altair should show altair plot and pressing clear should clear o
await expect(altair).toHaveCount(0);
});
-test("switching between all 3 plot types and pressing submit should update output component to corresponding plot type", async ({
+test("selecting bokeh should show bokeh plot and pressing clear should clear output", async ({
+ page
+}) => {
+ await page.getByLabel("Plot Type").click();
+ await page.getByRole("option", { name: "bokeh" }).click();
+ await page.getByLabel("Month").click();
+ await page.getByRole("option", { name: "January" }).click();
+ await page.getByLabel("Social Distancing?").check();
+
+ await page.click("text=Submit");
+
+ const altair = await page.getByTestId("bokeh");
+ await expect(altair).toHaveCount(1);
+
+ await page.getByRole("button", { name: "Clear" }).click();
+ await expect(altair).toHaveCount(0);
+});
+
+test("switching between all 4 plot types and pressing submit should update output component to corresponding plot type", async ({
page
}) => {
//Matplotlib
@@ -82,4 +100,12 @@ test("switching between all 3 plot types and pressing submit should update outpu
await page.click("text=Submit");
const altair = await page.getByTestId("altair");
await expect(altair).toHaveCount(1);
+
+ //Bokeh
+ await page.getByLabel("Plot Type").click();
+ await page.getByRole("option", { name: "Bokeh" }).click();
+
+ await page.click("text=Submit");
+ const bokeh = await page.getByTestId("bokeh");
+ await expect(bokeh).toHaveCount(1);
});
diff --git a/js/statustracker/CHANGELOG.md b/js/statustracker/CHANGELOG.md
index eb62fa9300c3e..7c03b86005b1e 100644
--- a/js/statustracker/CHANGELOG.md
+++ b/js/statustracker/CHANGELOG.md
@@ -1,5 +1,12 @@
# @gradio/statustracker
+## 0.8.0-beta.3
+
+### Dependency updates
+
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.8.0-beta.2
### Features
diff --git a/js/statustracker/package.json b/js/statustracker/package.json
index 7555a42f8d094..db2632f5adef8 100644
--- a/js/statustracker/package.json
+++ b/js/statustracker/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/statustracker",
- "version": "0.8.0-beta.2",
+ "version": "0.8.0-beta.3",
"description": "Gradio UI packages",
"type": "module",
"main": "./index.ts",
diff --git a/js/tabitem/CHANGELOG.md b/js/tabitem/CHANGELOG.md
index d5da00267bd51..1f77e829aa93b 100644
--- a/js/tabitem/CHANGELOG.md
+++ b/js/tabitem/CHANGELOG.md
@@ -1,5 +1,16 @@
# @gradio/tabitem
+## 0.3.0-beta.3
+
+### Features
+
+- [#9460](https://github.com/gradio-app/gradio/pull/9460) [`7352a89`](https://github.com/gradio-app/gradio/commit/7352a89722da91461c32fd33588531f3edce9c48) - Playground requirements tab. Thanks @whitphx!
+
+### Dependency updates
+
+- @gradio/tabs@0.3.0-beta.3
+- @gradio/column@0.2.0-beta.1
+
## 0.3.0-beta.2
### Dependency updates
diff --git a/js/tabitem/package.json b/js/tabitem/package.json
index 3090e2ba996ae..ba4a94d34620d 100644
--- a/js/tabitem/package.json
+++ b/js/tabitem/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/tabitem",
- "version": "0.3.0-beta.2",
+ "version": "0.3.0-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/tabs/CHANGELOG.md b/js/tabs/CHANGELOG.md
index aab4e7eb05834..3760f6e2c03df 100644
--- a/js/tabs/CHANGELOG.md
+++ b/js/tabs/CHANGELOG.md
@@ -1,5 +1,12 @@
# @gradio/tabs
+## 0.3.0-beta.3
+
+### Features
+
+- [#9460](https://github.com/gradio-app/gradio/pull/9460) [`7352a89`](https://github.com/gradio-app/gradio/commit/7352a89722da91461c32fd33588531f3edce9c48) - Playground requirements tab. Thanks @whitphx!
+- [#9496](https://github.com/gradio-app/gradio/pull/9496) [`1647ebd`](https://github.com/gradio-app/gradio/commit/1647ebddc3e2ed6fc143a62629409e32afcc5801) - UI theme fixes. Thanks @aliabid94!
+
## 0.3.0-beta.2
### Features
diff --git a/js/tabs/package.json b/js/tabs/package.json
index bb3146a61e6b1..57a245a9b697a 100644
--- a/js/tabs/package.json
+++ b/js/tabs/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/tabs",
- "version": "0.3.0-beta.2",
+ "version": "0.3.0-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/textbox/CHANGELOG.md b/js/textbox/CHANGELOG.md
index 0fb138a8df940..ec65456c3dbc3 100644
--- a/js/textbox/CHANGELOG.md
+++ b/js/textbox/CHANGELOG.md
@@ -1,5 +1,13 @@
# @gradio/textbox
+## 0.7.0-beta.3
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.7.0-beta.2
### Dependency updates
diff --git a/js/textbox/package.json b/js/textbox/package.json
index 4a1f970de88d1..f0629a9dcc935 100644
--- a/js/textbox/package.json
+++ b/js/textbox/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/textbox",
- "version": "0.7.0-beta.2",
+ "version": "0.7.0-beta.3",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/tootils/CHANGELOG.md b/js/tootils/CHANGELOG.md
index ab050cfa41243..c52ef7eb4e33e 100644
--- a/js/tootils/CHANGELOG.md
+++ b/js/tootils/CHANGELOG.md
@@ -1,5 +1,11 @@
# @self/tootils
+## 0.6.5-beta.3
+
+### Dependency updates
+
+- @gradio/statustracker@0.8.0-beta.3
+
## 0.6.5-beta.2
### Dependency updates
diff --git a/js/tootils/package.json b/js/tootils/package.json
index e6d1c4ecdaaf1..ac1d1a65eca9e 100644
--- a/js/tootils/package.json
+++ b/js/tootils/package.json
@@ -1,6 +1,6 @@
{
"name": "@self/tootils",
- "version": "0.6.5-beta.2",
+ "version": "0.6.5-beta.3",
"description": "Internal test utilities",
"type": "module",
"main": "src/index.ts",
diff --git a/js/upload/CHANGELOG.md b/js/upload/CHANGELOG.md
index 5dda85e1670a5..c599af3a7eb2d 100644
--- a/js/upload/CHANGELOG.md
+++ b/js/upload/CHANGELOG.md
@@ -1,5 +1,12 @@
# @gradio/upload
+## 0.13.0-beta.5
+
+### Dependency updates
+
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+
## 0.13.0-beta.4
### Dependency updates
diff --git a/js/upload/package.json b/js/upload/package.json
index 62da836f33e0d..599465148bac2 100644
--- a/js/upload/package.json
+++ b/js/upload/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/upload",
- "version": "0.13.0-beta.4",
+ "version": "0.13.0-beta.5",
"description": "Gradio UI packages",
"type": "module",
"main": "src/index.ts",
diff --git a/js/uploadbutton/CHANGELOG.md b/js/uploadbutton/CHANGELOG.md
index 9a3c8105accc3..03de37d262d52 100644
--- a/js/uploadbutton/CHANGELOG.md
+++ b/js/uploadbutton/CHANGELOG.md
@@ -1,5 +1,12 @@
# @gradio/uploadbutton
+## 0.7.0-beta.5
+
+### Dependency updates
+
+- @gradio/upload@0.13.0-beta.5
+- @gradio/button@0.3.0-beta.5
+
## 0.7.0-beta.4
### Dependency updates
diff --git a/js/uploadbutton/package.json b/js/uploadbutton/package.json
index ab812fafe2cf4..1f4e6d37ab78f 100644
--- a/js/uploadbutton/package.json
+++ b/js/uploadbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/uploadbutton",
- "version": "0.7.0-beta.4",
+ "version": "0.7.0-beta.5",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/js/video/CHANGELOG.md b/js/video/CHANGELOG.md
index d4834b271f092..58b7f911bca39 100644
--- a/js/video/CHANGELOG.md
+++ b/js/video/CHANGELOG.md
@@ -1,5 +1,15 @@
# @gradio/video
+## 0.11.0-beta.5
+
+### Dependency updates
+
+- @gradio/upload@0.13.0-beta.5
+- @gradio/statustracker@0.8.0-beta.3
+- @gradio/icons@0.8.0-beta.3
+- @gradio/atoms@0.9.0-beta.3
+- @gradio/image@0.16.0-beta.5
+
## 0.11.0-beta.4
### Dependency updates
diff --git a/js/video/package.json b/js/video/package.json
index 1bd6051d44185..209af6f3d2455 100644
--- a/js/video/package.json
+++ b/js/video/package.json
@@ -1,6 +1,6 @@
{
"name": "@gradio/video",
- "version": "0.11.0-beta.4",
+ "version": "0.11.0-beta.5",
"description": "Gradio UI packages",
"type": "module",
"author": "",
diff --git a/requirements.txt b/requirements.txt
index beefd9af1cd6b..b8b976efd2911 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,7 @@ aiofiles>=22.0,<24.0
anyio>=3.0,<5.0
fastapi<1.0
ffmpy
-gradio_client==1.4.0-beta.2
+gradio_client==1.4.0-beta.3
httpx>=0.24.1
huggingface_hub>=0.22.0
Jinja2<4.0
diff --git a/test/components/test_code.py b/test/components/test_code.py
index 072e46d34c815..1d4169c73c1fb 100644
--- a/test/components/test_code.py
+++ b/test/components/test_code.py
@@ -32,7 +32,7 @@ def fn(a):
"value": None,
"language": None,
"lines": 5,
- "max_lines": 20,
+ "max_lines": None,
"name": "code",
"show_label": True,
"label": None,
@@ -45,6 +45,7 @@ def fn(a):
"interactive": None,
"proxy_url": None,
"_selectable": False,
+ "wrap_lines": False,
"key": None,
}