@belonguniverseai/react-sdk 0.3.1 → 0.3.5

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 (53) hide show
  1. package/dist/api/client.d.ts +700 -239
  2. package/dist/component/{arc-B7qwdj5Y.js → arc-6I9bTNTk.js} +2 -2
  3. package/dist/component/{architectureDiagram-3BPJPVTR-DHEfxvGE.js → architectureDiagram-3BPJPVTR-DecTtp8M.js} +3 -3
  4. package/dist/component/{blockDiagram-GPEHLZMM-DO4_lzz8.js → blockDiagram-GPEHLZMM-D0ShJEdc.js} +4 -4
  5. package/dist/component/{c4Diagram-AAUBKEIU-BFvKjeX3.js → c4Diagram-AAUBKEIU-D-N4NLkS.js} +3 -3
  6. package/dist/component/{channel-Be_mlBXd.js → channel-BTRAV_iV.js} +2 -2
  7. package/dist/component/{chunk-2J33WTMH-CJ_JyxkR.js → chunk-2J33WTMH-Chgh4n6n.js} +2 -2
  8. package/dist/component/{chunk-4BX2VUAB-BRkYFXFB.js → chunk-4BX2VUAB-BR7BZW6m.js} +2 -2
  9. package/dist/component/{chunk-55IACEB6-D42tDKAF.js → chunk-55IACEB6-D0_e3QRv.js} +2 -2
  10. package/dist/component/{chunk-727SXJPM-BYOAmsWs.js → chunk-727SXJPM-Cooz66Ae.js} +6 -6
  11. package/dist/component/{chunk-AQP2D5EJ-CUNDVk4Z.js → chunk-AQP2D5EJ-CAz4YEpg.js} +4 -4
  12. package/dist/component/{chunk-FMBD7UC4-BQy-2qFB.js → chunk-FMBD7UC4-C8n0NV45.js} +2 -2
  13. package/dist/component/{chunk-ND2GUHAM-ktW5vI-y.js → chunk-ND2GUHAM-Di6RJblt.js} +2 -2
  14. package/dist/component/{chunk-QZHKN3VN-CpSIn4cF.js → chunk-QZHKN3VN-Cii0zOyK.js} +2 -2
  15. package/dist/component/{classDiagram-4FO5ZUOK-Cm-1lpI4.js → classDiagram-4FO5ZUOK-BIqkynKR.js} +3 -3
  16. package/dist/component/{classDiagram-v2-Q7XG4LA2-Cm-1lpI4.js → classDiagram-v2-Q7XG4LA2-BIqkynKR.js} +3 -3
  17. package/dist/component/{cose-bilkent-S5V4N54A-DqixgjwQ.js → cose-bilkent-S5V4N54A-Dq3K4Kak.js} +2 -2
  18. package/dist/component/{dagre-BM42HDAG-Dv-P7Krm.js → dagre-BM42HDAG-KdRn-NQ2.js} +2 -2
  19. package/dist/component/{diagram-2AECGRRQ-kQGiD7lD.js → diagram-2AECGRRQ-CeJVj827.js} +3 -3
  20. package/dist/component/{diagram-5GNKFQAL-DoQlkZPU.js → diagram-5GNKFQAL-ceCtRhc4.js} +4 -4
  21. package/dist/component/{diagram-KO2AKTUF-CHX5UoXH.js → diagram-KO2AKTUF-CU9xKIPR.js} +3 -3
  22. package/dist/component/{diagram-LMA3HP47-D5zUvZVG.js → diagram-LMA3HP47-CRZuMr0r.js} +3 -3
  23. package/dist/component/{diagram-OG6HWLK6-B4npobs8.js → diagram-OG6HWLK6-DdO8bLrY.js} +4 -4
  24. package/dist/component/{erDiagram-TEJ5UH35-6z0JmU6m.js → erDiagram-TEJ5UH35-BnPlE6-i.js} +5 -5
  25. package/dist/component/{flowDiagram-I6XJVG4X-8Z4MRGGY.js → flowDiagram-I6XJVG4X-Bi70muwl.js} +7 -7
  26. package/dist/component/{ganttDiagram-6RSMTGT7-Dx9QEDPc.js → ganttDiagram-6RSMTGT7-FjDKlQ-F.js} +3 -3
  27. package/dist/component/{gitGraphDiagram-PVQCEYII-BUHDP_7X.js → gitGraphDiagram-PVQCEYII-B9GAxjPJ.js} +4 -4
  28. package/dist/component/{highlighted-body-OFNGDK62-DBPWZwq8.js → highlighted-body-OFNGDK62-DEhmLiFe.js} +2 -2
  29. package/dist/component/index.js +1 -1
  30. package/dist/component/{infoDiagram-5YYISTIA-aiJg6_Qm.js → infoDiagram-5YYISTIA-D_z8khpb.js} +2 -2
  31. package/dist/component/{ishikawaDiagram-YF4QCWOH-DL-CzUme.js → ishikawaDiagram-YF4QCWOH-DHUQHc7h.js} +2 -2
  32. package/dist/component/{journeyDiagram-JHISSGLW-CYDK3R_C.js → journeyDiagram-JHISSGLW-BdPxTkII.js} +5 -5
  33. package/dist/component/{kanban-definition-UN3LZRKU-9ZNt06Tr.js → kanban-definition-UN3LZRKU-CXo8cG6_.js} +3 -3
  34. package/dist/component/{linear-CtEJWK1N.js → linear-azN-TF0f.js} +2 -2
  35. package/dist/component/{mermaid-GHXKKRXX-B00yz-X8.js → mermaid-GHXKKRXX-P_Te0BTc.js} +14146 -14080
  36. package/dist/component/{mindmap-definition-RKZ34NQL-CHx9Cg9G.js → mindmap-definition-RKZ34NQL-CVTlgpwY.js} +4 -4
  37. package/dist/component/{pieDiagram-4H26LBE5-B_dLoXY_.js → pieDiagram-4H26LBE5-BBqlJN3M.js} +4 -4
  38. package/dist/component/{quadrantDiagram-W4KKPZXB-DUL3njPs.js → quadrantDiagram-W4KKPZXB-Cq8G5gg8.js} +3 -3
  39. package/dist/component/{requirementDiagram-4Y6WPE33-DJodprsF.js → requirementDiagram-4Y6WPE33-DE8meVq8.js} +4 -4
  40. package/dist/component/{sankeyDiagram-5OEKKPKP-2Nn_RQ9h.js → sankeyDiagram-5OEKKPKP-rGv9060J.js} +2 -2
  41. package/dist/component/{sequenceDiagram-3UESZ5HK-xJk0kY4S.js → sequenceDiagram-3UESZ5HK-CYZCqSg5.js} +4 -4
  42. package/dist/component/{stateDiagram-AJRCARHV-D4QH9oBV.js → stateDiagram-AJRCARHV-7PfYQio8.js} +3 -3
  43. package/dist/component/{stateDiagram-v2-BHNVJYJU-C6SRcIR1.js → stateDiagram-v2-BHNVJYJU-Bc8Y618M.js} +3 -3
  44. package/dist/component/{timeline-definition-PNZ67QCA-SaEQyBaf.js → timeline-definition-PNZ67QCA-DDLIgmb4.js} +3 -3
  45. package/dist/component/{vennDiagram-CIIHVFJN-Bf8QpQpr.js → vennDiagram-CIIHVFJN-BPKi69Hn.js} +2 -2
  46. package/dist/component/{wardleyDiagram-YWT4CUSO-B0wVwumO.js → wardleyDiagram-YWT4CUSO-Dumz_-ib.js} +3 -3
  47. package/dist/component/{xychartDiagram-2RQKCTM6-Dl5itjjz.js → xychartDiagram-2RQKCTM6-DQGacrwk.js} +3 -3
  48. package/dist/components/embed/BrandMark.d.ts +13 -4
  49. package/dist/components/embed/HeavyPreview.d.ts +6 -0
  50. package/dist/components/embed/preview-content-kind.d.ts +5 -5
  51. package/dist/embed/locale.d.ts +3 -1
  52. package/dist/embed/logo.d.ts +7 -1
  53. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as oe } from "./chunk-55IACEB6-D42tDKAF.js";
2
- import { s as ae } from "./chunk-2J33WTMH-CJ_JyxkR.js";
3
- import { _ as l, l as C, p as ce, r as le, G as he, K as G, c as B, i as F, b6 as de, af as ge, ag as ue, ah as pe } from "./mermaid-GHXKKRXX-B00yz-X8.js";
1
+ import { g as oe } from "./chunk-55IACEB6-D0_e3QRv.js";
2
+ import { s as ae } from "./chunk-2J33WTMH-Chgh4n6n.js";
3
+ import { _ as l, l as C, p as ce, r as le, G as he, K as G, c as B, i as F, b6 as de, af as ge, ag as ue, ah as pe } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
6
6
  const b = [];
@@ -830,4 +830,4 @@ var _e = Y, ke = 12, N = {
830
830
  export {
831
831
  we as diagram
832
832
  };
833
- //# sourceMappingURL=mindmap-definition-RKZ34NQL-CHx9Cg9G.js.map
833
+ //# sourceMappingURL=mindmap-definition-RKZ34NQL-CVTlgpwY.js.map
@@ -1,7 +1,7 @@
1
- import { a0 as S, S as R, b5 as J, g as Q, s as Y, a as tt, b as et, t as at, q as nt, _ as g, l as W, c as rt, I as it, N as st, a7 as lt, e as ot, B as ct, K as ut } from "./mermaid-GHXKKRXX-B00yz-X8.js";
2
- import { p as gt } from "./chunk-4BX2VUAB-BRkYFXFB.js";
1
+ import { a0 as S, S as R, b5 as J, g as Q, s as Y, a as tt, b as et, t as at, q as nt, _ as g, l as W, c as rt, I as it, N as st, a7 as lt, e as ot, B as ct, K as ut } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { p as gt } from "./chunk-4BX2VUAB-BR7BZW6m.js";
3
3
  import { p as dt } from "./wardley-L42UT6IY-HA1eSIS_.js";
4
- import { d as P } from "./arc-B7qwdj5Y.js";
4
+ import { d as P } from "./arc-6I9bTNTk.js";
5
5
  import { o as pt } from "./ordinal-D0x7izaa.js";
6
6
  globalThis.process = globalThis.process || { env: {} };
7
7
  globalThis.global = globalThis.global || globalThis;
@@ -163,4 +163,4 @@ var vt = ut.pie, z = {
163
163
  export {
164
164
  Lt as diagram
165
165
  };
166
- //# sourceMappingURL=pieDiagram-4H26LBE5-B_dLoXY_.js.map
166
+ //# sourceMappingURL=pieDiagram-4H26LBE5-BBqlJN3M.js.map
@@ -1,5 +1,5 @@
1
- import { s as Se, g as _e, t as ee, q as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, B as ve, K as z, i as Ce, a4 as Le } from "./mermaid-GHXKKRXX-B00yz-X8.js";
2
- import { l as te } from "./linear-CtEJWK1N.js";
1
+ import { s as Se, g as _e, t as ee, q as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, B as ve, K as z, i as Ce, a4 as Le } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { l as te } from "./linear-azN-TF0f.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var Ct = (function() {
@@ -1030,4 +1030,4 @@ var Ve = /* @__PURE__ */ r(function() {
1030
1030
  export {
1031
1031
  We as diagram
1032
1032
  };
1033
- //# sourceMappingURL=quadrantDiagram-W4KKPZXB-DUL3njPs.js.map
1033
+ //# sourceMappingURL=quadrantDiagram-W4KKPZXB-Cq8G5gg8.js.map
@@ -1,6 +1,6 @@
1
- import { g as Ge } from "./chunk-55IACEB6-D42tDKAF.js";
2
- import { s as ze } from "./chunk-2J33WTMH-CJ_JyxkR.js";
3
- import { _ as h, G as Ye, b as Xe, a as Je, s as Ze, g as et, q as tt, t as st, c as ke, l as Ne, B as it, F as rt, p as nt, r as at, u as lt } from "./mermaid-GHXKKRXX-B00yz-X8.js";
1
+ import { g as Ge } from "./chunk-55IACEB6-D0_e3QRv.js";
2
+ import { s as ze } from "./chunk-2J33WTMH-Chgh4n6n.js";
3
+ import { _ as h, G as Ye, b as Xe, a as Je, s as Ze, g as et, q as tt, t as st, c as ke, l as Ne, B as it, F as rt, p as nt, r as at, u as lt } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
6
6
  var qe = (function() {
@@ -885,4 +885,4 @@ var mt = /* @__PURE__ */ h(async function(e, u, o, n) {
885
885
  export {
886
886
  Rt as diagram
887
887
  };
888
- //# sourceMappingURL=requirementDiagram-4Y6WPE33-DJodprsF.js.map
888
+ //# sourceMappingURL=requirementDiagram-4Y6WPE33-DE8meVq8.js.map
@@ -1,4 +1,4 @@
1
- import { q as kt, t as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, C as St, d as G, ai as wt, B as Lt, k as Et } from "./mermaid-GHXKKRXX-B00yz-X8.js";
1
+ import { q as kt, t as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, C as St, d as G, ai as wt, B as Lt, k as Et } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
2
  import { o as Tt } from "./ordinal-D0x7izaa.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
@@ -859,4 +859,4 @@ var ge = {
859
859
  export {
860
860
  ge as diagram
861
861
  };
862
- //# sourceMappingURL=sankeyDiagram-5OEKKPKP-2Nn_RQ9h.js.map
862
+ //# sourceMappingURL=sankeyDiagram-5OEKKPKP-rGv9060J.js.map
@@ -1,6 +1,6 @@
1
- import { _ as g, o as tr, c as $, d as Mt, l as at, j as Ce, e as er, f as rr, k as P, b as ke, s as ar, q as sr, a as ir, g as nr, t as or, v as cr, J as lr, B as hr, i as Bt, u as Z, a5 as Q, a6 as wt, a7 as Me, a8 as dr, G as Yt, a9 as Tr, aa as Be } from "./mermaid-GHXKKRXX-B00yz-X8.js";
2
- import { a as pr, b as ee, g as dt, d as Er, e as re, f as ae } from "./chunk-ND2GUHAM-ktW5vI-y.js";
3
- import { I as ur } from "./chunk-QZHKN3VN-CpSIn4cF.js";
1
+ import { _ as g, o as tr, c as $, d as Mt, l as at, j as Ce, e as er, f as rr, k as P, b as ke, s as ar, q as sr, a as ir, g as nr, t as or, v as cr, J as lr, B as hr, i as Bt, u as Z, a5 as Q, a6 as wt, a7 as Me, a8 as dr, G as Yt, a9 as Tr, aa as Be } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { a as pr, b as ee, g as dt, d as Er, e as re, f as ae } from "./chunk-ND2GUHAM-Di6RJblt.js";
3
+ import { I as ur } from "./chunk-QZHKN3VN-Cii0zOyK.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
6
6
  var $t = (function() {
@@ -2894,4 +2894,4 @@ var ra = /* @__PURE__ */ g(async function(e, t, a) {
2894
2894
  export {
2895
2895
  Ta as diagram
2896
2896
  };
2897
- //# sourceMappingURL=sequenceDiagram-3UESZ5HK-xJk0kY4S.js.map
2897
+ //# sourceMappingURL=sequenceDiagram-3UESZ5HK-CYZCqSg5.js.map
@@ -1,5 +1,5 @@
1
- import { s as R, a as W, S as N } from "./chunk-AQP2D5EJ-CUNDVk4Z.js";
2
- import { _ as f, c as t, d as M, l as S, e as P, k as z, ac as _, ad as U, a9 as C, u as F } from "./mermaid-GHXKKRXX-B00yz-X8.js";
1
+ import { s as R, a as W, S as N } from "./chunk-AQP2D5EJ-CAz4YEpg.js";
2
+ import { _ as f, c as t, d as M, l as S, e as P, k as z, ac as _, ad as U, a9 as C, u as F } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
3
3
  import { G as O } from "./graph-BZLHvygk.js";
4
4
  import { l as J } from "./layout-Bu6nRdWm.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
@@ -263,4 +263,4 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
263
263
  export {
264
264
  ot as diagram
265
265
  };
266
- //# sourceMappingURL=stateDiagram-AJRCARHV-D4QH9oBV.js.map
266
+ //# sourceMappingURL=stateDiagram-AJRCARHV-7PfYQio8.js.map
@@ -1,5 +1,5 @@
1
- import { s as e, b as r, a as s, S as t } from "./chunk-AQP2D5EJ-CUNDVk4Z.js";
2
- import { _ as l } from "./mermaid-GHXKKRXX-B00yz-X8.js";
1
+ import { s as e, b as r, a as s, S as t } from "./chunk-AQP2D5EJ-CAz4YEpg.js";
2
+ import { _ as l } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var b = {
@@ -16,4 +16,4 @@ var b = {
16
16
  export {
17
17
  b as diagram
18
18
  };
19
- //# sourceMappingURL=stateDiagram-v2-BHNVJYJU-C6SRcIR1.js.map
19
+ //# sourceMappingURL=stateDiagram-v2-BHNVJYJU-Bc8Y618M.js.map
@@ -1,5 +1,5 @@
1
- import { _ as o, G as gt, af as Rt, ag as Ct, ah as Wt, c as pt, l as E, N as Pt, a7 as Bt, ai as ft, d as U, F as Vt, aj as Ft, B as zt } from "./mermaid-GHXKKRXX-B00yz-X8.js";
2
- import { d as ot } from "./arc-B7qwdj5Y.js";
1
+ import { _ as o, G as gt, af as Rt, ag as Ct, ah as Wt, c as pt, l as E, N as Pt, a7 as Bt, ai as ft, d as U, F as Vt, aj as Ft, B as zt } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { d as ot } from "./arc-6I9bTNTk.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var tt = (function() {
@@ -1055,4 +1055,4 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
1055
1055
  export {
1056
1056
  me as diagram
1057
1057
  };
1058
- //# sourceMappingURL=timeline-definition-PNZ67QCA-SaEQyBaf.js.map
1058
+ //# sourceMappingURL=timeline-definition-PNZ67QCA-DDLIgmb4.js.map
@@ -1,4 +1,4 @@
1
- import { aX as Gt, s as Wt, g as Kt, t as Ht, q as Xt, a as Yt, b as Zt, _ as w, G as wt, N as Jt, d as ot, ao as Qt, af as $t, ag as te, ah as ee, e as ne, B as se, I as ie, K as oe } from "./mermaid-GHXKKRXX-B00yz-X8.js";
1
+ import { aX as Gt, s as Wt, g as Kt, t as Ht, q as Xt, a as Yt, b as Zt, _ as w, G as wt, N as Jt, d as ot, ao as Qt, af as $t, ag as te, ah as ee, e as ne, B as se, I as ie, K as oe } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  const kt = (t, n) => Gt(t, "a", -n), _t = 1e-10;
@@ -1557,4 +1557,4 @@ var qe = { draw: Ve }, Ge = {
1557
1557
  export {
1558
1558
  Ge as diagram
1559
1559
  };
1560
- //# sourceMappingURL=vennDiagram-CIIHVFJN-Bf8QpQpr.js.map
1560
+ //# sourceMappingURL=vennDiagram-CIIHVFJN-BPKi69Hn.js.map
@@ -1,5 +1,5 @@
1
- import { s as St, g as Mt, t as Nt, q as Tt, a as zt, b as Lt, _ as u, a4 as At, G as Xt, I as U, l as K, N as Et, e as Yt, B as It, c as j } from "./mermaid-GHXKKRXX-B00yz-X8.js";
2
- import { p as Bt } from "./chunk-4BX2VUAB-BRkYFXFB.js";
1
+ import { s as St, g as Mt, t as Nt, q as Tt, a as zt, b as Lt, _ as u, a4 as At, G as Xt, I as U, l as K, N as Et, e as Yt, B as It, c as j } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { p as Bt } from "./chunk-4BX2VUAB-BR7BZW6m.js";
3
3
  import { p as Ft } from "./wardley-L42UT6IY-HA1eSIS_.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
@@ -678,4 +678,4 @@ var Dt = {
678
678
  export {
679
679
  Qt as diagram
680
680
  };
681
- //# sourceMappingURL=wardleyDiagram-YWT4CUSO-B0wVwumO.js.map
681
+ //# sourceMappingURL=wardleyDiagram-YWT4CUSO-Dumz_-ib.js.map
@@ -1,7 +1,7 @@
1
- import { s as ei, g as si, t as Lt, q as ni, a as ai, b as oi, _ as a, l as Et, N as ri, e as hi, B as li, G as dt, i as ci, I as It, K as ui, a4 as gi, ap as xi, ac as Rt } from "./mermaid-GHXKKRXX-B00yz-X8.js";
1
+ import { s as ei, g as si, t as Lt, q as ni, a as ai, b as oi, _ as a, l as Et, N as ri, e as hi, B as li, G as dt, i as ci, I as It, K as ui, a4 as gi, ap as xi, ac as Rt } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
2
  import { i as di } from "./init-BOu0eQYQ.js";
3
3
  import { o as fi } from "./ordinal-D0x7izaa.js";
4
- import { l as Dt } from "./linear-CtEJWK1N.js";
4
+ import { l as Dt } from "./linear-azN-TF0f.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  function pi(t, i, e) {
@@ -1372,4 +1372,4 @@ var Ti = /* @__PURE__ */ a(function() {
1372
1372
  export {
1373
1373
  Mi as diagram
1374
1374
  };
1375
- //# sourceMappingURL=xychartDiagram-2RQKCTM6-Dl5itjjz.js.map
1375
+ //# sourceMappingURL=xychartDiagram-2RQKCTM6-DQGacrwk.js.map
@@ -1,10 +1,19 @@
1
1
  /**
2
- * Renders the active brand mark. When the theme supplies a `logo` data-URL we
3
- * render it in an `<img>` (SVG-in-img can't execute script — safe). With no
4
- * logo (or an empty string) we fall back to the built-in Belong mark.
2
+ * Renders the active brand mark, in precedence order:
3
+ *
4
+ * 1. `logo` — a safe `data:` URL, rendered in an `<img>` (SVG-in-img
5
+ * can't execute script — safe; the value is perimeter-guarded
6
+ * upstream by `isSafeLogoDataUrl`).
7
+ * 2. `initials` — a 1–3 letter chip on the brand primary colour, when the
8
+ * tenant supplied initials but no logo.
9
+ * 3. baked BelongMark — the built-in fallback when neither is present.
10
+ *
11
+ * The initials chip reads `--color-primary` / `--color-primary-foreground` from
12
+ * the dock's projected theme vars, so it re-tints per tenant automatically.
5
13
  */
6
- export declare function BrandMark({ logo, size, alt, className, }: {
14
+ export declare function BrandMark({ logo, initials, size, alt, className, }: {
7
15
  logo?: string;
16
+ initials?: string;
8
17
  size?: number;
9
18
  alt?: string;
10
19
  className?: string;
@@ -0,0 +1,6 @@
1
+ export declare const HeavyPreview: ({ resourcePath, filename, }: {
2
+ /** Bearer-authed API path prefix owning the preview endpoints, e.g.
3
+ * `/v1/files/<fileId>` or `/v1/artifacts/<artifactId>`. */
4
+ readonly resourcePath: string;
5
+ readonly filename: string;
6
+ }) => import("react").JSX.Element;
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * Pure media-type → preview-render decision for the artifact preview panel.
3
3
  *
4
- * Delegates to `filePreviewKind` and maps `heavy` (office formats requiring
5
- * the LibreOffice converter the panel lacks) to `download`. The panel renders
6
- * html/pdf/markdown/code/images inline; sql renders as inline code;
7
- * everything else is download-only.
4
+ * Delegates to `filePreviewKind` and maps `heavy` (office formats) to `office`.
5
+ * The panel renders html/pdf/markdown/code/images inline; sql renders as inline
6
+ * code; office files are rendered via the artifact preview endpoints (server-side
7
+ * LibreOffice conversion); everything else is download-only.
8
8
  * Exported + unit tested because it's the part most likely to regress.
9
9
  */
10
- export type PreviewContentKind = "html" | "pdf" | "markdown" | "image" | "json" | "csv" | "sql" | "text" | "download";
10
+ export type PreviewContentKind = "html" | "pdf" | "markdown" | "image" | "json" | "csv" | "sql" | "text" | "office" | "download";
11
11
  export declare const previewContentKind: (mimeType: string) => PreviewContentKind;
12
12
  /** Whether the panel can show an inline preview (vs. download-only). Pure. */
13
13
  export declare const isPreviewable: (mimeType: string) => boolean;
@@ -3,7 +3,9 @@ export type Locale = BelongLocale;
3
3
  export declare const DEFAULT_LOCALE: Locale;
4
4
  /** Every locale the dock ships, in toggle/picker order. The one place to
5
5
  * register a new language — the Zod perimeter check and every locale
6
- * picker (rail cycle button, avatar menu, welcome card) read from here. */
6
+ * picker (rail cycle button, avatar menu, welcome card) read from here.
7
+ * Tied to the codec's `DOCK_LOCALES`: the `satisfies` below pins SDK ⊆
8
+ * codec at compile time and locale.test.ts asserts full set equality. */
7
9
  export declare const SUPPORTED_LOCALES: readonly ["en", "es", "pt"];
8
10
  /** Narrow an untrusted value (attribute, storage, navigator) to a Locale. */
9
11
  export declare const parseLocale: (value: unknown) => Locale | null;
@@ -1 +1,7 @@
1
- export declare const isSafeLogoDataUrl: (value: string) => boolean;
1
+ /**
2
+ * Brand-logo perimeter guard (§4). The definitions moved to the shared
3
+ * `@belong/codec/theme` contract so the server (publish-time + `loadTheme`) and
4
+ * the SDK enforce the SAME safe-logo rule. This module re-exports them so
5
+ * existing SDK imports (`embed/theme.ts`, `logo.test.ts`) stay stable.
6
+ */
7
+ export { SAFE_LOGO_PREFIXES, isSafeLogoDataUrl } from '@belong/codec/theme';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@belonguniverseai/react-sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.5",
4
4
  "description": "Belong — embeddable React AI assistant dock. Mount <BelongWidget> in your app tree with getToken dependency-injection auth.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",