markdown-flow-ui 0.2.28 → 0.2.30

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 (42) hide show
  1. package/README.md +5 -0
  2. package/dist/_virtual/interaction-syntax.cjs +2 -0
  3. package/dist/_virtual/interaction-syntax.cjs.map +1 -0
  4. package/dist/_virtual/interaction-syntax.es.js +5 -0
  5. package/dist/_virtual/interaction-syntax.es.js.map +1 -0
  6. package/dist/components/ContentRender/ContentRender.cjs +2 -2
  7. package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
  8. package/dist/components/ContentRender/ContentRender.d.ts +2 -0
  9. package/dist/components/ContentRender/ContentRender.es.js +368 -358
  10. package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
  11. package/dist/components/ContentRender/utils/html-block-end.cjs +2 -0
  12. package/dist/components/ContentRender/utils/html-block-end.cjs.map +1 -0
  13. package/dist/components/ContentRender/utils/html-block-end.d.ts +6 -0
  14. package/dist/components/ContentRender/utils/html-block-end.es.js +104 -0
  15. package/dist/components/ContentRender/utils/html-block-end.es.js.map +1 -0
  16. package/dist/components/ContentRender/utils/html-block-end.test.d.ts +1 -0
  17. package/dist/components/ContentRender/utils/split-content.cjs +3 -3
  18. package/dist/components/ContentRender/utils/split-content.cjs.map +1 -1
  19. package/dist/components/ContentRender/utils/split-content.d.ts +1 -1
  20. package/dist/components/ContentRender/utils/split-content.es.js +220 -129
  21. package/dist/components/ContentRender/utils/split-content.es.js.map +1 -1
  22. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.cjs +1 -1
  23. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.cjs.map +1 -1
  24. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js +55 -29
  25. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js.map +1 -1
  26. package/dist/node_modules/remark-flow/dist/interaction-syntax.cjs +2 -0
  27. package/dist/node_modules/remark-flow/dist/interaction-syntax.cjs.map +1 -0
  28. package/dist/node_modules/remark-flow/dist/interaction-syntax.es.js +80 -0
  29. package/dist/node_modules/remark-flow/dist/interaction-syntax.es.js.map +1 -0
  30. package/dist/node_modules/remark-flow/dist/remark-custom-variable.cjs +1 -1
  31. package/dist/node_modules/remark-flow/dist/remark-custom-variable.cjs.map +1 -1
  32. package/dist/node_modules/remark-flow/dist/remark-custom-variable.es.js +8 -7
  33. package/dist/node_modules/remark-flow/dist/remark-custom-variable.es.js.map +1 -1
  34. package/dist/node_modules/remark-flow/dist/remark-flow.cjs +1 -1
  35. package/dist/node_modules/remark-flow/dist/remark-flow.cjs.map +1 -1
  36. package/dist/node_modules/remark-flow/dist/remark-flow.es.js +13 -16
  37. package/dist/node_modules/remark-flow/dist/remark-flow.es.js.map +1 -1
  38. package/dist/node_modules/remark-flow/dist/remark-interaction.cjs +1 -1
  39. package/dist/node_modules/remark-flow/dist/remark-interaction.cjs.map +1 -1
  40. package/dist/node_modules/remark-flow/dist/remark-interaction.es.js +9 -8
  41. package/dist/node_modules/remark-flow/dist/remark-interaction.es.js.map +1 -1
  42. package/package.json +2 -2
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/remark-interaction.cjs"),o=require("./interaction-plugin-core.cjs");var r;function u(){if(r)return e.__exports;r=1,Object.defineProperty(e.__exports,"__esModule",{value:!0}),e.__exports.default=n;const t=o.__require();function n(){return i=>{(0,t.transformInteractionsInTree)(i,"interaction")}}return e.__exports}exports.__require=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/remark-interaction.cjs"),a=require("./interaction-plugin-core.cjs"),c=require("./interaction-syntax.cjs");var r;function u(){if(r)return e.__exports;r=1,Object.defineProperty(e.__exports,"__esModule",{value:!0}),e.__exports.default=i;const t=a.__require(),n=c.__require();function i(){return(0,n.registerInteractionSyntax)(this),o=>{(0,t.transformInteractionsInTree)(o,"interaction")}}return e.__exports}exports.__require=u;
2
2
  //# sourceMappingURL=remark-interaction.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"remark-interaction.cjs","sources":["../../../../node_modules/remark-flow/dist/remark-interaction.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = remarkInteraction;\nconst interaction_plugin_core_1 = require(\"./interaction-plugin-core\");\nfunction remarkInteraction() {\n return (tree) => {\n (0, interaction_plugin_core_1.transformInteractionsInTree)(tree, 'interaction');\n };\n}\n//# sourceMappingURL=remark-interaction.js.map"],"names":["remarkInteraction_1","remarkInteraction","interaction_plugin_core_1","require$$0","tree"],"mappings":"sOACA,OAAO,eAAeA,EAAAA,UAAS,aAAc,CAAE,MAAO,GAAM,EAC5DA,EAAAA,UAAA,QAAkBC,EAClB,MAAMC,EAA4BC,EAAAA,UAAA,EAClC,SAASF,GAAoB,CACzB,OAAQG,GAAS,IACTF,EAA0B,6BAA6BE,EAAM,aAAa,CACtF,CACA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"remark-interaction.cjs","sources":["../../../../node_modules/remark-flow/dist/remark-interaction.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = remarkInteraction;\nconst interaction_plugin_core_1 = require(\"./interaction-plugin-core\");\nconst interaction_syntax_1 = require(\"./interaction-syntax\");\nfunction remarkInteraction() {\n (0, interaction_syntax_1.registerInteractionSyntax)(this);\n return (tree) => {\n (0, interaction_plugin_core_1.transformInteractionsInTree)(tree, 'interaction');\n };\n}\n//# sourceMappingURL=remark-interaction.js.map"],"names":["remarkInteraction_1","remarkInteraction","interaction_plugin_core_1","require$$0","interaction_syntax_1","require$$1","tree"],"mappings":"4QACA,OAAO,eAAeA,EAAAA,UAAS,aAAc,CAAE,MAAO,GAAM,EAC5DA,EAAAA,UAAA,QAAkBC,EAClB,MAAMC,EAA4BC,EAAAA,UAAA,EAC5BC,EAAuBC,EAAAA,UAAA,EAC7B,SAASJ,GAAoB,CACzB,SAAIG,EAAqB,2BAA2B,IAAI,EAChDE,GAAS,IACTJ,EAA0B,6BAA6BI,EAAM,aAAa,CACtF,CACA","x_google_ignoreList":[0]}
@@ -1,18 +1,19 @@
1
1
  import { __exports as r } from "../../../_virtual/remark-interaction.es.js";
2
- import { __require as o } from "./interaction-plugin-core.es.js";
2
+ import { __require as a } from "./interaction-plugin-core.es.js";
3
+ import { __require as u } from "./interaction-syntax.es.js";
3
4
  var e;
4
- function c() {
5
+ function m() {
5
6
  if (e) return r;
6
- e = 1, Object.defineProperty(r, "__esModule", { value: !0 }), r.default = n;
7
- const t = o();
8
- function n() {
9
- return (i) => {
10
- (0, t.transformInteractionsInTree)(i, "interaction");
7
+ e = 1, Object.defineProperty(r, "__esModule", { value: !0 }), r.default = i;
8
+ const t = a(), n = u();
9
+ function i() {
10
+ return (0, n.registerInteractionSyntax)(this), (o) => {
11
+ (0, t.transformInteractionsInTree)(o, "interaction");
11
12
  };
12
13
  }
13
14
  return r;
14
15
  }
15
16
  export {
16
- c as __require
17
+ m as __require
17
18
  };
18
19
  //# sourceMappingURL=remark-interaction.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remark-interaction.es.js","sources":["../../../../node_modules/remark-flow/dist/remark-interaction.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = remarkInteraction;\nconst interaction_plugin_core_1 = require(\"./interaction-plugin-core\");\nfunction remarkInteraction() {\n return (tree) => {\n (0, interaction_plugin_core_1.transformInteractionsInTree)(tree, 'interaction');\n };\n}\n//# sourceMappingURL=remark-interaction.js.map"],"names":["remarkInteraction_1","remarkInteraction","interaction_plugin_core_1","require$$0","tree"],"mappings":";;;;;SACA,OAAO,eAAeA,GAAS,cAAc,EAAE,OAAO,IAAM,GAC5DA,EAAA,UAAkBC;AAClB,QAAMC,IAA4BC,EAAA;AAClC,WAASF,IAAoB;AACzB,WAAO,CAACG,MAAS;AACb,UAAIF,EAA0B,6BAA6BE,GAAM,aAAa;AAAA,IACtF;AAAA,EACA;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"remark-interaction.es.js","sources":["../../../../node_modules/remark-flow/dist/remark-interaction.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = remarkInteraction;\nconst interaction_plugin_core_1 = require(\"./interaction-plugin-core\");\nconst interaction_syntax_1 = require(\"./interaction-syntax\");\nfunction remarkInteraction() {\n (0, interaction_syntax_1.registerInteractionSyntax)(this);\n return (tree) => {\n (0, interaction_plugin_core_1.transformInteractionsInTree)(tree, 'interaction');\n };\n}\n//# sourceMappingURL=remark-interaction.js.map"],"names":["remarkInteraction_1","remarkInteraction","interaction_plugin_core_1","require$$0","interaction_syntax_1","require$$1","tree"],"mappings":";;;;;;SACA,OAAO,eAAeA,GAAS,cAAc,EAAE,OAAO,IAAM,GAC5DA,EAAA,UAAkBC;AAClB,QAAMC,IAA4BC,EAAA,GAC5BC,IAAuBC,EAAA;AAC7B,WAASJ,IAAoB;AACzB,eAAIG,EAAqB,2BAA2B,IAAI,GACjD,CAACE,MAAS;AACb,UAAIJ,EAA0B,6BAA6BI,GAAM,aAAa;AAAA,IACtF;AAAA,EACA;;;","x_google_ignoreList":[0]}
package/package.json CHANGED
@@ -38,7 +38,7 @@
38
38
  "rehype-katex": "^7.0.1",
39
39
  "rehype-raw": "^7.0.0",
40
40
  "remark-breaks": "^4.0.0",
41
- "remark-flow": "^1.3.2",
41
+ "remark-flow": "^1.3.4",
42
42
  "remark-gfm": "^4.0.1",
43
43
  "remark-math": "^6.0.0",
44
44
  "tailwind-merge": "^3.3.1",
@@ -182,7 +182,7 @@
182
182
  ]
183
183
  }
184
184
  },
185
- "version": "0.2.28",
185
+ "version": "0.2.30",
186
186
  "type": "module",
187
187
  "exports": {
188
188
  ".": {