gradio-pr-bot commited on
Commit
6bae629
·
verified ·
1 Parent(s): af0498a

Upload folder using huggingface_hub

Browse files
6.19.0/markdown/Index.svelte CHANGED
@@ -46,9 +46,9 @@
46
  container={gradio.shared.container}
47
  allow_overflow={true}
48
  overflow_behavior="auto"
49
- height={gradio.props.height}
50
- min_height={gradio.props.min_height}
51
- max_height={gradio.props.max_height}
52
  rtl={gradio.props.rtl}
53
  >
54
  <StatusTracker
@@ -72,7 +72,7 @@
72
  visible={gradio.shared.visible}
73
  rtl={gradio.props.rtl}
74
  onchange={() => gradio.dispatch("change")}
75
- oncopy={(e) => gradio.dispatch("copy", e.detail)}
76
  latex_delimiters={gradio.props.latex_delimiters}
77
  sanitize_html={gradio.props.sanitize_html}
78
  line_breaks={gradio.props.line_breaks}
 
46
  container={gradio.shared.container}
47
  allow_overflow={true}
48
  overflow_behavior="auto"
49
+ height={gradio.props.height ?? undefined}
50
+ min_height={gradio.props.min_height ?? undefined}
51
+ max_height={gradio.props.max_height ?? undefined}
52
  rtl={gradio.props.rtl}
53
  >
54
  <StatusTracker
 
72
  visible={gradio.shared.visible}
73
  rtl={gradio.props.rtl}
74
  onchange={() => gradio.dispatch("change")}
75
+ oncopy={(e) => gradio.dispatch("copy", e)}
76
  latex_delimiters={gradio.props.latex_delimiters}
77
  sanitize_html={gradio.props.sanitize_html}
78
  line_breaks={gradio.props.line_breaks}
6.19.0/markdown/package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "@gradio/markdown",
3
- "version": "0.13.36",
4
  "description": "Gradio UI packages",
5
  "type": "module",
6
  "author": "",
 
1
  {
2
  "name": "@gradio/markdown",
3
+ "version": "0.14.0",
4
  "description": "Gradio UI packages",
5
  "type": "module",
6
  "author": "",
6.19.0/markdown/shared/Markdown.svelte CHANGED
@@ -1,7 +1,7 @@
1
  <script lang="ts">
2
  import { copy, css_units } from "@gradio/utils";
3
  import { Copy, Check } from "@gradio/icons";
4
- import type { LoadingStatus } from "@gradio/statustracker";
5
  import { IconButton, IconButtonWrapper } from "@gradio/atoms";
6
  import type { ThemeMode } from "@gradio/core";
7
 
@@ -24,25 +24,25 @@
24
  onchange = () => {},
25
  oncopy = (val) => {}
26
  }: {
27
- elem_classes: string[];
28
- visible: boolean | "hidden";
29
  value: string;
30
- min_height: number | string | undefined;
31
- rtl: boolean;
32
- sanitize_html: boolean;
33
- line_breaks: boolean;
34
- latex_delimiters: {
35
  left: string;
36
  right: string;
37
  display: boolean;
38
  }[];
39
- header_links: boolean;
40
- height: number | string | undefined;
41
- show_copy_button: boolean | undefined;
42
- loading_status: LoadingStatus | undefined;
43
- theme_mode: ThemeMode;
44
- onchange: () => void;
45
- oncopy: (val: any) => void;
46
  } = $props();
47
 
48
  let copied = $state(false);
 
1
  <script lang="ts">
2
  import { copy, css_units } from "@gradio/utils";
3
  import { Copy, Check } from "@gradio/icons";
4
+ import type { ILoadingStatus as LoadingStatus } from "@gradio/statustracker";
5
  import { IconButton, IconButtonWrapper } from "@gradio/atoms";
6
  import type { ThemeMode } from "@gradio/core";
7
 
 
24
  onchange = () => {},
25
  oncopy = (val) => {}
26
  }: {
27
+ elem_classes?: string[];
28
+ visible?: boolean | "hidden";
29
  value: string;
30
+ min_height?: number | string | undefined;
31
+ rtl?: boolean;
32
+ sanitize_html?: boolean;
33
+ line_breaks?: boolean;
34
+ latex_delimiters?: {
35
  left: string;
36
  right: string;
37
  display: boolean;
38
  }[];
39
+ header_links?: boolean;
40
+ height?: number | string | undefined;
41
+ show_copy_button?: boolean | undefined;
42
+ loading_status?: LoadingStatus | undefined;
43
+ theme_mode?: ThemeMode;
44
+ onchange?: () => void;
45
+ oncopy?: (val: any) => void;
46
  } = $props();
47
 
48
  let copied = $state(false);
6.19.0/markdown/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { LoadingStatus } from "js/statustracker";
2
 
3
  export interface MarkdownProps {
4
  value: string;
 
1
+ import type { ILoadingStatus as LoadingStatus } from "js/statustracker";
2
 
3
  export interface MarkdownProps {
4
  value: string;