comark-ui 0.9.1 → 0.10.0
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.
- package/README.md +9 -1
- package/dist/{client-kUEiRbtp.mjs → client-zWY8yhUx.mjs} +1 -14
- package/dist/client.mjs +1 -1
- package/dist/{editor-9IcfELjG.mjs → editor-CW05gHp7.mjs} +46 -6
- package/dist/{editor-yoVL7Ajq.d.mts → editor-Dk8TRweM.d.mts} +13 -2
- package/dist/editor-vue.d.mts +1 -1
- package/dist/editor-vue.mjs +1 -1
- package/dist/editor.d.mts +2 -2
- package/dist/editor.mjs +1 -1
- package/dist/html.d.mts +1 -1
- package/dist/html.mjs +4 -2
- package/dist/{index-Cq3zytGw.d.mts → index-CNYr62nX.d.mts} +4 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +1 -1
- package/dist/react.mjs +4 -2
- package/dist/skills/before-after-evidence/SKILL.md +1 -1
- package/dist/skills/comark-ui/SKILL.md +3 -0
- package/dist/skills/comark-ui/references/annotate.md +1 -1
- package/dist/skills/comark-ui/references/time.md +28 -0
- package/dist/skills.mjs +8 -4
- package/dist/{src-MvpWiv9v.mjs → src-C3nMECXA.mjs} +2 -0
- package/dist/styles-vZMqDkIY.mjs +15 -0
- package/dist/svelte/index.js +2 -0
- package/dist/vue.d.mts +610 -1
- package/dist/vue.mjs +42 -3
- 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-
|
|
1
|
+
import { n as criticCss, r as preset, t as commentsCss } from "./src-C3nMECXA.mjs";
|
|
2
2
|
import { t as typesetCss } from "./typeset-css-BOtdXbMg.mjs";
|
|
3
|
-
import { i as startMermaid, n as mermaidBar, t as addMermaidStyles } from "./client-
|
|
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({
|
|
@@ -73,6 +74,43 @@ const typeset = defineComponent({
|
|
|
73
74
|
innerHTML: typesetCss
|
|
74
75
|
})
|
|
75
76
|
});
|
|
77
|
+
/** Render documents parsed elsewhere without constructing or bundling the parser preset. */
|
|
78
|
+
const components = {
|
|
79
|
+
...carousel.components,
|
|
80
|
+
...cast.components,
|
|
81
|
+
...charts.components,
|
|
82
|
+
...chips.components,
|
|
83
|
+
...colors.components,
|
|
84
|
+
...diagrams.components,
|
|
85
|
+
pele: Mermaid,
|
|
86
|
+
...embed.components,
|
|
87
|
+
...github.components,
|
|
88
|
+
...icon.components,
|
|
89
|
+
...mark.components,
|
|
90
|
+
...math.components,
|
|
91
|
+
...details.components,
|
|
92
|
+
...links.components,
|
|
93
|
+
...fileTree.components,
|
|
94
|
+
...fields.components,
|
|
95
|
+
...properties.components,
|
|
96
|
+
...badge.components,
|
|
97
|
+
...media.components,
|
|
98
|
+
...metrics.components,
|
|
99
|
+
...table.components,
|
|
100
|
+
...cards.components,
|
|
101
|
+
...qr.components,
|
|
102
|
+
...sources.components,
|
|
103
|
+
...steps.components,
|
|
104
|
+
...tabs.components,
|
|
105
|
+
...outline.components,
|
|
106
|
+
...tests.components,
|
|
107
|
+
...time.components,
|
|
108
|
+
...zoom.components,
|
|
109
|
+
...magicMove.components,
|
|
110
|
+
...code.components,
|
|
111
|
+
...codeNotes.components,
|
|
112
|
+
"typeset-styles": typeset
|
|
113
|
+
};
|
|
76
114
|
/** Every plugin with components for `@comark/vue`, which leaves out annotate, comments, diff, and quiz. */
|
|
77
115
|
var vue_default = (options) => preset({
|
|
78
116
|
badge,
|
|
@@ -106,8 +144,9 @@ var vue_default = (options) => preset({
|
|
|
106
144
|
table,
|
|
107
145
|
tabs,
|
|
108
146
|
tests,
|
|
147
|
+
time,
|
|
109
148
|
typeset,
|
|
110
149
|
zoom
|
|
111
150
|
}, options);
|
|
112
151
|
//#endregion
|
|
113
|
-
export { commentsCss, criticCss, vue_default as default };
|
|
152
|
+
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.
|
|
3
|
+
"version": "0.10.0",
|
|
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.
|
|
55
|
-
"comark-
|
|
56
|
-
"comark-
|
|
57
|
-
"comark-
|
|
58
|
-
"comark-
|
|
59
|
-
"comark-
|
|
60
|
-
"comark-chips": "^0.
|
|
61
|
-
"comark-
|
|
62
|
-
"comark-
|
|
63
|
-
"comark-code-notes": "^0.
|
|
64
|
-
"comark-comments": "^0.
|
|
65
|
-
"comark-critic": "^0.
|
|
66
|
-
"comark-
|
|
67
|
-
"comark-deflist": "^0.
|
|
68
|
-
"comark-
|
|
69
|
-
"comark-
|
|
70
|
-
"comark-
|
|
71
|
-
"comark-fields": "^0.
|
|
72
|
-
"comark-
|
|
73
|
-
"comark-figure": "^0.
|
|
74
|
-
"comark-
|
|
75
|
-
"comark-
|
|
76
|
-
"comark-
|
|
77
|
-
"comark-
|
|
78
|
-
"comark-
|
|
79
|
-
"comark-
|
|
80
|
-
"comark-
|
|
81
|
-
"comark-
|
|
82
|
-
"comark-mathml": "^0.
|
|
83
|
-
"comark-
|
|
84
|
-
"comark-
|
|
85
|
-
"comark-
|
|
86
|
-
"comark-
|
|
87
|
-
"comark-
|
|
88
|
-
"comark-
|
|
89
|
-
"comark-
|
|
90
|
-
"comark-
|
|
91
|
-
"comark-table": "^0.
|
|
92
|
-
"comark-tabs": "^0.
|
|
93
|
-
"comark-
|
|
94
|
-
"comark-
|
|
95
|
-
"comark-
|
|
96
|
-
"comark-
|
|
97
|
-
"comark-zoom": "^0.
|
|
54
|
+
"comark-annotate": "^0.10.0",
|
|
55
|
+
"comark-badge": "^0.10.0",
|
|
56
|
+
"comark-cards": "^0.10.0",
|
|
57
|
+
"comark-carousel": "^0.10.0",
|
|
58
|
+
"comark-cast": "^0.10.0",
|
|
59
|
+
"comark-charts": "^0.10.0",
|
|
60
|
+
"comark-chips": "^0.10.0",
|
|
61
|
+
"comark-code": "^0.10.0",
|
|
62
|
+
"comark-colors": "^0.10.0",
|
|
63
|
+
"comark-code-notes": "^0.10.0",
|
|
64
|
+
"comark-comments": "^0.10.0",
|
|
65
|
+
"comark-critic": "^0.10.0",
|
|
66
|
+
"comark-cjk": "^0.10.0",
|
|
67
|
+
"comark-deflist": "^0.10.0",
|
|
68
|
+
"comark-details": "^0.10.0",
|
|
69
|
+
"comark-diagrams": "^0.10.0",
|
|
70
|
+
"comark-embed": "^0.10.0",
|
|
71
|
+
"comark-fields": "^0.10.0",
|
|
72
|
+
"comark-file-tree": "^0.10.0",
|
|
73
|
+
"comark-figure": "^0.10.0",
|
|
74
|
+
"comark-footnotes": "^0.10.0",
|
|
75
|
+
"comark-github": "^0.10.0",
|
|
76
|
+
"comark-icon": "^0.10.0",
|
|
77
|
+
"comark-links": "^0.10.0",
|
|
78
|
+
"comark-diff": "^0.10.0",
|
|
79
|
+
"comark-mark": "^0.10.0",
|
|
80
|
+
"comark-magic-move": "^0.10.0",
|
|
81
|
+
"comark-media": "^0.10.0",
|
|
82
|
+
"comark-mathml": "^0.10.0",
|
|
83
|
+
"comark-keys": "^0.10.0",
|
|
84
|
+
"comark-outline": "^0.10.0",
|
|
85
|
+
"comark-metrics": "^0.10.0",
|
|
86
|
+
"comark-properties": "^0.10.0",
|
|
87
|
+
"comark-include": "^0.10.0",
|
|
88
|
+
"comark-quiz": "^0.10.0",
|
|
89
|
+
"comark-qr": "^0.10.0",
|
|
90
|
+
"comark-reading-time": "^0.10.0",
|
|
91
|
+
"comark-table": "^0.10.0",
|
|
92
|
+
"comark-tabs": "^0.10.0",
|
|
93
|
+
"comark-tests": "^0.10.0",
|
|
94
|
+
"comark-time": "^0.10.0",
|
|
95
|
+
"comark-sources": "^0.10.0",
|
|
96
|
+
"comark-steps": "^0.10.0",
|
|
97
|
+
"comark-zoom": "^0.10.0",
|
|
98
|
+
"comark-xref": "^0.10.0"
|
|
98
99
|
},
|
|
99
100
|
"devDependencies": {
|
|
100
|
-
"@comark/html": "^0.
|
|
101
|
-
"@comark/react": "^0.
|
|
102
|
-
"@comark/vue": "^0.
|
|
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.
|
|
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.
|
|
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.
|
|
130
|
+
"comark": "^0.9.0",
|
|
130
131
|
"react": ">=18",
|
|
131
132
|
"svelte": ">=5.20",
|
|
132
133
|
"vue": ">=3.5"
|