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/dist/vue.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { n as criticCss, r as preset, t as commentsCss } from "./src-MvpWiv9v.mjs";
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-kUEiRbtp.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({
@@ -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.9.1",
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.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-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.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"