@asgard-js/react 0.1.18-canary.3 → 0.1.19

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1186,7 +1186,7 @@ function $k(e) {
1186
1186
  };
1187
1187
  }
1188
1188
  }, [t, i, r]);
1189
- return t.type === "error" || t.type === "tool-call" ? null : t.type === "user" ? /* @__PURE__ */ te(
1189
+ return t.type === "error" ? null : t.type === "user" ? /* @__PURE__ */ te(
1190
1190
  Si,
1191
1191
  {
1192
1192
  className: "asgard-text-template asgard-text-template--user",
@@ -1305,7 +1305,7 @@ function Mk(e) {
1305
1305
  const { message: t } = e, { template: n } = Rt(), { onErrorClick: i, errorMessageRenderer: r } = $5(), o = Ce(() => {
1306
1306
  i == null || i(t);
1307
1307
  }, [t, i]);
1308
- if (t.type === "user" || t.type === "tool-call") return null;
1308
+ if (t.type === "user") return null;
1309
1309
  if (t.type === "error")
1310
1310
  return /* @__PURE__ */ k("div", { className: ze("asgard-hint-template asgard-hint-template--error", Gs.hint_root), children: (r == null ? void 0 : r(t)) ?? /* @__PURE__ */ te(Nu, { children: [
1311
1311
  /* @__PURE__ */ te("div", { className: Gs.error_hint_title, children: [
@@ -41551,7 +41551,7 @@ function II(e) {
41551
41551
  o.isValid ? t.push(r) : n.push(`${r.name}: ${o.error}`);
41552
41552
  }), { validFiles: t, errors: n };
41553
41553
  }
41554
- const op = 5;
41554
+ const op = 10;
41555
41555
  function Fbe(e) {
41556
41556
  const { currentCount: t, onDocumentsChange: n, className: i, style: r } = e, o = Jt(null), s = Ce(() => {
41557
41557
  var l;
@@ -41591,7 +41591,7 @@ function Fbe(e) {
41591
41591
  /* @__PURE__ */ k("button", { className: i, style: r, onClick: s, title: "上傳文件", children: /* @__PURE__ */ k(OI, {}) })
41592
41592
  ] });
41593
41593
  }
41594
- const sp = 5, y5 = 5;
41594
+ const sp = 10, y5 = 10;
41595
41595
  function Nbe() {
41596
41596
  var sc, ac, lc, uc, cc, fc, dc, hc, pc, gc, mc, yc, bc, _c, vc, xc, wc, Ec, Cc, Sc, kc, $c, Ac, Mc, Tc, Fc;
41597
41597
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.1.18-canary.3",
3
+ "version": "0.1.19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -48,7 +48,7 @@
48
48
  "vitest": "^1.6.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@asgard-js/core": "^0.1.18-canary.3",
51
+ "@asgard-js/core": "^0.1.19",
52
52
  "react": "^18.0.0",
53
53
  "react-dom": "^18.0.0"
54
54
  },