@gradio/utils
Advanced tools
Comparing version 0.2.0-beta.4 to 0.2.0-beta.5
# @gradio/utils | ||
## 0.2.0-beta.5 | ||
### Features | ||
- [#5966](https://github.com/gradio-app/gradio/pull/5966) [`9cad2127b`](https://github.com/gradio-app/gradio/commit/9cad2127b965023687470b3abfe620e188a9da6e) - Improve Audio Component. Thanks [@hannahblair](https://github.com/hannahblair)! | ||
### Fixes | ||
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests. Thanks [@pngwn](https://github.com/pngwn)! | ||
## 0.2.0-beta.4 | ||
@@ -4,0 +14,0 @@ |
{ | ||
"name": "@gradio/utils", | ||
"version": "0.2.0-beta.4", | ||
"version": "0.2.0-beta.5", | ||
"description": "Gradio UI packages", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -1,2 +0,2 @@ | ||
import { type ActionReturn } from "svelte/action"; | ||
import type { ActionReturn } from "svelte/action"; | ||
export interface SelectData { | ||
@@ -154,8 +154,8 @@ index: number | [number, number]; | ||
import { format } from "svelte-i18n"; | ||
// import { format } from "svelte-i18n"; | ||
import { get } from "svelte/store"; | ||
const x = get(format); | ||
// const x = get(format); | ||
export type I18nFormatter = typeof x; | ||
export type I18nFormatter = any; | ||
export class Gradio<T extends Record<string, any> = Record<string, any>> { | ||
@@ -165,3 +165,3 @@ #id: number; | ||
version: string; | ||
i18n: typeof x; | ||
i18n: I18nFormatter; | ||
#el: HTMLElement; | ||
@@ -183,3 +183,4 @@ root: string; | ||
this.#el = el; | ||
this.i18n = get(format); | ||
this.i18n = (x: string): string => x; | ||
this.root = root; | ||
@@ -186,0 +187,0 @@ this.autoscroll = autoscroll; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19190