@gradio/core 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @gradio/core
2
2
 
3
+ ## 0.19.2
4
+
5
+ ### Fixes
6
+
7
+ - [#11364](https://github.com/gradio-app/gradio/pull/11364) [`467de5d`](https://github.com/gradio-app/gradio/commit/467de5d865f8b841cb0d065031d5458f52ee2d29) - Call load events on @gr.render. Thanks @freddyaboulton!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/gallery@0.15.23
12
+ - @gradio/code@0.14.7
13
+ - @gradio/textbox@0.10.14
14
+
3
15
  ## 0.19.1
4
16
 
5
17
  ### Fixes
@@ -389,6 +389,11 @@ async function trigger_api_call(dep_index, trigger_id = null, event_data = null)
389
389
  dependencies,
390
390
  render_id
391
391
  });
392
+ _dependencies.forEach((dep2) => {
393
+ if (dep2.targets.some((dep3) => dep3[1] === "load")) {
394
+ wait_then_trigger_api_call(dep2.id);
395
+ }
396
+ });
392
397
  }
393
398
  function handle_log(msg) {
394
399
  const { title: title2, log, fn_index, level, duration, visible } = msg;
package/package.json CHANGED
@@ -1,66 +1,66 @@
1
1
  {
2
2
  "name": "@gradio/core",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "type": "module",
5
5
  "devDependencies": {
6
6
  "@gradio/accordion": "^0.5.16",
7
7
  "@gradio/annotatedimage": "^0.9.21",
8
8
  "@gradio/atoms": "^0.16.1",
9
9
  "@gradio/audio": "^0.17.17",
10
- "@gradio/box": "^0.2.19",
11
10
  "@gradio/button": "^0.5.3",
11
+ "@gradio/chatbot": "^0.26.13",
12
+ "@gradio/box": "^0.2.19",
12
13
  "@gradio/checkbox": "^0.4.23",
13
- "@gradio/chatbot": "^0.26.12",
14
14
  "@gradio/checkboxgroup": "^0.6.22",
15
15
  "@gradio/client": "^1.15.2",
16
- "@gradio/code": "^0.14.6",
16
+ "@gradio/code": "^0.14.7",
17
17
  "@gradio/colorpicker": "^0.4.22",
18
- "@gradio/dataset": "^0.4.22",
19
18
  "@gradio/column": "^0.2.0",
20
- "@gradio/datetime": "^0.3.14",
21
- "@gradio/downloadbutton": "^0.4.3",
22
19
  "@gradio/dataframe": "^0.17.15",
20
+ "@gradio/datetime": "^0.3.15",
21
+ "@gradio/downloadbutton": "^0.4.3",
23
22
  "@gradio/dropdown": "^0.9.22",
24
23
  "@gradio/fallback": "^0.4.22",
24
+ "@gradio/dataset": "^0.4.23",
25
25
  "@gradio/fileexplorer": "^0.5.31",
26
26
  "@gradio/form": "^0.2.19",
27
27
  "@gradio/file": "^0.12.20",
28
- "@gradio/gallery": "^0.15.22",
29
- "@gradio/highlightedtext": "^0.9.5",
28
+ "@gradio/gallery": "^0.15.23",
30
29
  "@gradio/group": "^0.2.0",
30
+ "@gradio/highlightedtext": "^0.9.5",
31
31
  "@gradio/icons": "^0.12.0",
32
32
  "@gradio/html": "^0.6.14",
33
+ "@gradio/imageeditor": "^0.15.3",
33
34
  "@gradio/image": "^0.22.9",
34
- "@gradio/imageslider": "^0.2.4",
35
35
  "@gradio/json": "^0.5.24",
36
36
  "@gradio/label": "^0.5.14",
37
+ "@gradio/imageslider": "^0.2.4",
38
+ "@gradio/markdown": "^0.13.15",
39
+ "@gradio/model3d": "^0.14.16",
37
40
  "@gradio/browserstate": "^0.3.2",
38
- "@gradio/imageeditor": "^0.15.3",
39
- "@gradio/markdown": "^0.13.14",
40
41
  "@gradio/multimodaltextbox": "^0.10.9",
41
- "@gradio/model3d": "^0.14.16",
42
- "@gradio/nativeplot": "^0.6.0",
42
+ "@gradio/nativeplot": "^0.6.1",
43
+ "@gradio/paramviewer": "^0.7.10",
43
44
  "@gradio/number": "^0.5.22",
44
45
  "@gradio/plot": "^0.9.17",
45
46
  "@gradio/radio": "^0.7.5",
46
- "@gradio/paramviewer": "^0.7.10",
47
- "@gradio/row": "^0.2.1",
48
47
  "@gradio/sidebar": "^0.1.14",
48
+ "@gradio/row": "^0.2.1",
49
49
  "@gradio/simpledropdown": "^0.3.22",
50
- "@gradio/simpletextbox": "^0.3.22",
51
50
  "@gradio/simpleimage": "^0.8.31",
51
+ "@gradio/simpletextbox": "^0.3.23",
52
52
  "@gradio/sketchbox": "^0.6.9",
53
53
  "@gradio/slider": "^0.6.11",
54
54
  "@gradio/state": "^0.1.2",
55
- "@gradio/statustracker": "^0.10.12",
56
55
  "@gradio/tabitem": "^0.4.5",
57
56
  "@gradio/tabs": "^0.4.5",
57
+ "@gradio/textbox": "^0.10.14",
58
+ "@gradio/statustracker": "^0.10.12",
58
59
  "@gradio/theme": "^0.4.0",
59
60
  "@gradio/upload": "^0.16.7",
60
61
  "@gradio/uploadbutton": "^0.9.3",
61
- "@gradio/textbox": "^0.10.13",
62
- "@gradio/video": "^0.14.17",
63
62
  "@gradio/utils": "^0.10.2",
63
+ "@gradio/video": "^0.14.17",
64
64
  "@gradio/timer": "^0.4.5",
65
65
  "@gradio/wasm": "^0.18.1"
66
66
  },
package/src/Blocks.svelte CHANGED
@@ -497,6 +497,11 @@
497
497
  dependencies: dependencies,
498
498
  render_id: render_id
499
499
  });
500
+ _dependencies.forEach((dep) => {
501
+ if (dep.targets.some((dep) => dep[1] === "load")) {
502
+ wait_then_trigger_api_call(dep.id);
503
+ }
504
+ });
500
505
  }
501
506
 
502
507
  function handle_log(msg: LogMessage): void {