@asgard-js/react 0.0.16 → 0.0.17

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.
@@ -1 +1 @@
1
- {"version":3,"file":"use-markdown-renderer.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/text-template/use-markdown-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAMV,MAAM,OAAO,CAAC;AAmBf,UAAU,oBAAoB;IAC5B,UAAU,EAAE,SAAS,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACxB;AAqBD,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,EACpB,KAAK,SAAM,GACV,oBAAoB,CA6EtB"}
1
+ {"version":3,"file":"use-markdown-renderer.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/text-template/use-markdown-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAMV,MAAM,OAAO,CAAC;AAmBf,UAAU,oBAAoB;IAC5B,UAAU,EAAE,SAAS,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACxB;AAuBD,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,EACpB,KAAK,SAAM,GACV,oBAAoB,CA6EtB"}
package/dist/index.js CHANGED
@@ -51801,7 +51801,8 @@ const AZ = "_text_1k3xu_1", IZ = "_md_container_1k3xu_11", xZ = "_content_1k3xu_
51801
51801
  function LZ(e) {
51802
51802
  return e.trim().endsWith(`
51803
51803
 
51804
- `) || e.trim().endsWith(".") || e.trim().endsWith("。");
51804
+ `) || e.trim().endsWith(`
51805
+ `) || e.trim().endsWith(".") || e.trim().endsWith("。") || e.trim().endsWith("!");
51805
51806
  }
51806
51807
  function SG(e, t = 100) {
51807
51808
  const [n, r] = Gn([]), [i, a] = Gn(""), o = is(/* @__PURE__ */ new Map()), s = Dt((c) => (c == null ? void 0 : c.raw) || c.text || "", []);
@@ -51844,7 +51845,8 @@ function SG(e, t = 100) {
51844
51845
  "div",
51845
51846
  {
51846
51847
  className: _i.md_container,
51847
- dangerouslySetInnerHTML: { __html: n.join("") }
51848
+ dangerouslySetInnerHTML: { __html: n.join(`
51849
+ `) }
51848
51850
  }
51849
51851
  ), [n]),
51850
51852
  lastTypingText: i
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },