comark-ui 0.9.1 → 0.10.1

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 (36) hide show
  1. package/README.md +9 -1
  2. package/dist/{client-kUEiRbtp.mjs → client-zWY8yhUx.mjs} +1 -14
  3. package/dist/client.mjs +2 -2
  4. package/dist/{editor-9IcfELjG.mjs → editor-CW05gHp7.mjs} +46 -6
  5. package/dist/{editor-yoVL7Ajq.d.mts → editor-Dk8TRweM.d.mts} +13 -2
  6. package/dist/editor-vue.d.mts +1 -1
  7. package/dist/editor-vue.mjs +1 -1
  8. package/dist/editor.d.mts +2 -2
  9. package/dist/editor.mjs +1 -1
  10. package/dist/html.d.mts +1 -1
  11. package/dist/html.mjs +6 -4
  12. package/dist/{index-Cq3zytGw.d.mts → index-7SBL13EQ.d.mts} +5 -1
  13. package/dist/index.d.mts +1 -1
  14. package/dist/index.mjs +2 -2
  15. package/dist/react.d.mts +1 -1
  16. package/dist/react.mjs +6 -3
  17. package/dist/skills/before-after-evidence/SKILL.md +1 -1
  18. package/dist/skills/comark-ui/SKILL.md +4 -1
  19. package/dist/skills/comark-ui/references/annotate.md +1 -1
  20. package/dist/skills/comark-ui/references/time.md +28 -0
  21. package/dist/skills/report/SKILL.md +81 -0
  22. package/dist/skills/report/agents/openai.yaml +3 -0
  23. package/dist/skills/report/references/blocks.md +199 -0
  24. package/dist/skills/report/references/example.md +305 -0
  25. package/dist/skills/report/scripts/render.mjs +74 -0
  26. package/dist/skills/review-document/SKILL.md +1 -1
  27. package/dist/skills.mjs +42 -7
  28. package/dist/{src-MvpWiv9v.mjs → src-C3nMECXA.mjs} +2 -0
  29. package/dist/styles-vZMqDkIY.mjs +15 -0
  30. package/dist/svelte/Mermaid.svelte +1 -1
  31. package/dist/svelte/index.js +2 -0
  32. package/dist/{typeset-css-BOtdXbMg.mjs → typeset-css-BqBoCTMG.mjs} +5 -16
  33. package/dist/typeset.css +1 -1
  34. package/dist/vue.d.mts +610 -1
  35. package/dist/vue.mjs +44 -4
  36. package/package.json +52 -51
package/dist/vue.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { n as criticCss, r as preset, t as commentsCss } from "./src-MvpWiv9v.mjs";
2
- import { t as typesetCss } from "./typeset-css-BOtdXbMg.mjs";
3
- import { i as startMermaid, n as mermaidBar, t as addMermaidStyles } from "./client-kUEiRbtp.mjs";
1
+ import { n as criticCss, r as preset, t as commentsCss } from "./src-C3nMECXA.mjs";
2
+ import { t as typesetCss } from "./typeset-css-BqBoCTMG.mjs";
3
+ import { i as startMermaid, n as mermaidBar, t as addMermaidStyles } from "./client-zWY8yhUx.mjs";
4
4
  import * as properties from "comark-properties/vue";
5
5
  import { defineAsyncComponent, defineComponent, h, onBeforeUnmount, onMounted } from "vue";
6
6
  import * as badge from "comark-badge/vue";
@@ -33,6 +33,7 @@ import * as steps from "comark-steps/vue";
33
33
  import * as table from "comark-table/vue";
34
34
  import * as tabs from "comark-tabs/vue";
35
35
  import * as tests from "comark-tests/vue";
36
+ import * as time from "comark-time/vue";
36
37
  import * as zoom from "comark-zoom/vue";
37
38
  //#region src/vue.ts
38
39
  const Pele = defineAsyncComponent(() => import("comark-pele/vue").then(({ createPeleComponent }) => createPeleComponent({
@@ -52,6 +53,7 @@ const Mermaid = defineComponent({
52
53
  onBeforeUnmount(() => stop());
53
54
  return () => h("div", {
54
55
  class: "cmm",
56
+ "data-comark-frame": "",
55
57
  "data-source": props.content
56
58
  }, [h(Pele, {
57
59
  ...attrs,
@@ -73,6 +75,43 @@ const typeset = defineComponent({
73
75
  innerHTML: typesetCss
74
76
  })
75
77
  });
78
+ /** Render documents parsed elsewhere without constructing or bundling the parser preset. */
79
+ const components = {
80
+ ...carousel.components,
81
+ ...cast.components,
82
+ ...charts.components,
83
+ ...chips.components,
84
+ ...colors.components,
85
+ ...diagrams.components,
86
+ pele: Mermaid,
87
+ ...embed.components,
88
+ ...github.components,
89
+ ...icon.components,
90
+ ...mark.components,
91
+ ...math.components,
92
+ ...details.components,
93
+ ...links.components,
94
+ ...fileTree.components,
95
+ ...fields.components,
96
+ ...properties.components,
97
+ ...badge.components,
98
+ ...media.components,
99
+ ...metrics.components,
100
+ ...table.components,
101
+ ...cards.components,
102
+ ...qr.components,
103
+ ...sources.components,
104
+ ...steps.components,
105
+ ...tabs.components,
106
+ ...outline.components,
107
+ ...tests.components,
108
+ ...time.components,
109
+ ...zoom.components,
110
+ ...magicMove.components,
111
+ ...code.components,
112
+ ...codeNotes.components,
113
+ "typeset-styles": typeset
114
+ };
76
115
  /** Every plugin with components for `@comark/vue`, which leaves out annotate, comments, diff, and quiz. */
77
116
  var vue_default = (options) => preset({
78
117
  badge,
@@ -106,8 +145,9 @@ var vue_default = (options) => preset({
106
145
  table,
107
146
  tabs,
108
147
  tests,
148
+ time,
109
149
  typeset,
110
150
  zoom
111
151
  }, options);
112
152
  //#endregion
113
- export { commentsCss, criticCss, vue_default as default };
153
+ export { commentsCss, components, criticCss, vue_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comark-ui",
3
- "version": "0.9.1",
3
+ "version": "0.10.1",
4
4
  "description": "Every comark-ui block in one install: annotated screenshots, charts, diffs, tabs, zoom, and more, registered in the order they need with shared icons. Turn any of them off or pass its options.",
5
5
  "keywords": [
6
6
  "comark",
@@ -51,55 +51,56 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "comark-pele": "^1.1.0",
54
- "comark-annotate": "^0.9.1",
55
- "comark-cards": "^0.9.1",
56
- "comark-carousel": "^0.9.1",
57
- "comark-badge": "^0.9.1",
58
- "comark-charts": "^0.9.1",
59
- "comark-cast": "^0.9.1",
60
- "comark-chips": "^0.9.1",
61
- "comark-cjk": "^0.9.1",
62
- "comark-code": "^0.9.1",
63
- "comark-code-notes": "^0.9.1",
64
- "comark-comments": "^0.9.1",
65
- "comark-critic": "^0.9.1",
66
- "comark-colors": "^0.9.1",
67
- "comark-deflist": "^0.9.1",
68
- "comark-diagrams": "^0.9.1",
69
- "comark-embed": "^0.9.1",
70
- "comark-diff": "^0.9.1",
71
- "comark-fields": "^0.9.1",
72
- "comark-details": "^0.9.1",
73
- "comark-figure": "^0.9.1",
74
- "comark-file-tree": "^0.9.1",
75
- "comark-footnotes": "^0.9.1",
76
- "comark-github": "^0.9.1",
77
- "comark-include": "^0.9.1",
78
- "comark-keys": "^0.9.1",
79
- "comark-icon": "^0.9.1",
80
- "comark-links": "^0.9.1",
81
- "comark-magic-move": "^0.9.1",
82
- "comark-mathml": "^0.9.1",
83
- "comark-media": "^0.9.1",
84
- "comark-mark": "^0.9.1",
85
- "comark-outline": "^0.9.1",
86
- "comark-qr": "^0.9.1",
87
- "comark-metrics": "^0.9.1",
88
- "comark-properties": "^0.9.1",
89
- "comark-quiz": "^0.9.1",
90
- "comark-sources": "^0.9.1",
91
- "comark-table": "^0.9.1",
92
- "comark-tabs": "^0.9.1",
93
- "comark-reading-time": "^0.9.1",
94
- "comark-tests": "^0.9.1",
95
- "comark-steps": "^0.9.1",
96
- "comark-xref": "^0.9.1",
97
- "comark-zoom": "^0.9.1"
54
+ "comark-badge": "^0.10.1",
55
+ "comark-carousel": "^0.10.1",
56
+ "comark-cards": "^0.10.1",
57
+ "comark-cast": "^0.10.1",
58
+ "comark-charts": "^0.10.1",
59
+ "comark-annotate": "^0.10.1",
60
+ "comark-chips": "^0.10.1",
61
+ "comark-code": "^0.10.1",
62
+ "comark-code-notes": "^0.10.1",
63
+ "comark-colors": "^0.10.1",
64
+ "comark-comments": "^0.10.1",
65
+ "comark-critic": "^0.10.1",
66
+ "comark-deflist": "^0.10.1",
67
+ "comark-cjk": "^0.10.1",
68
+ "comark-diagrams": "^0.10.1",
69
+ "comark-diff": "^0.10.1",
70
+ "comark-figure": "^0.10.1",
71
+ "comark-embed": "^0.10.1",
72
+ "comark-file-tree": "^0.10.1",
73
+ "comark-details": "^0.10.1",
74
+ "comark-footnotes": "^0.10.1",
75
+ "comark-icon": "^0.10.1",
76
+ "comark-keys": "^0.10.1",
77
+ "comark-include": "^0.10.1",
78
+ "comark-links": "^0.10.1",
79
+ "comark-fields": "^0.10.1",
80
+ "comark-github": "^0.10.1",
81
+ "comark-mark": "^0.10.1",
82
+ "comark-mathml": "^0.10.1",
83
+ "comark-media": "^0.10.1",
84
+ "comark-metrics": "^0.10.1",
85
+ "comark-outline": "^0.10.1",
86
+ "comark-properties": "^0.10.1",
87
+ "comark-magic-move": "^0.10.1",
88
+ "comark-quiz": "^0.10.1",
89
+ "comark-qr": "^0.10.1",
90
+ "comark-reading-time": "^0.10.1",
91
+ "comark-sources": "^0.10.1",
92
+ "comark-steps": "^0.10.1",
93
+ "comark-table": "^0.10.1",
94
+ "comark-tests": "^0.10.1",
95
+ "comark-time": "^0.10.1",
96
+ "comark-tabs": "^0.10.1",
97
+ "comark-xref": "^0.10.1",
98
+ "comark-zoom": "^0.10.1"
98
99
  },
99
100
  "devDependencies": {
100
- "@comark/html": "^0.8.1",
101
- "@comark/react": "^0.8.1",
102
- "@comark/vue": "^0.8.1",
101
+ "@comark/html": "^0.9.0",
102
+ "@comark/react": "^0.9.0",
103
+ "@comark/vue": "^0.9.0",
103
104
  "@tiptap/core": "^3.31.4",
104
105
  "@tiptap/extension-image": "^3.31.4",
105
106
  "@tiptap/extension-list": "^3.31.4",
@@ -110,7 +111,7 @@
110
111
  "@tiptap/y-tiptap": "^3.0.9",
111
112
  "@types/react": "^19.3.0",
112
113
  "@types/react-dom": "^19.3.0",
113
- "comark": "^0.8.1",
114
+ "comark": "^0.9.0",
114
115
  "react": "^19.3.1",
115
116
  "react-dom": "^19.3.1",
116
117
  "svelte": "^5.57.2",
@@ -118,7 +119,7 @@
118
119
  "yjs": "^13.6.33"
119
120
  },
120
121
  "peerDependencies": {
121
- "@comark/html": "^0.8.0",
122
+ "@comark/html": "^0.9.0",
122
123
  "@tiptap/core": "^3.31.0",
123
124
  "@tiptap/extension-image": "^3.31.0",
124
125
  "@tiptap/extension-list": "^3.31.0",
@@ -126,7 +127,7 @@
126
127
  "@tiptap/pm": "^3.31.0",
127
128
  "@tiptap/starter-kit": "^3.31.0",
128
129
  "@tiptap/vue-3": "^3.31.0",
129
- "comark": "^0.8.0",
130
+ "comark": "^0.9.0",
130
131
  "react": ">=18",
131
132
  "svelte": ">=5.20",
132
133
  "vue": ">=3.5"