@sit-onyx/comark 0.1.0 → 0.2.0-dev-20260810055140
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/components/comark.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -8
- package/dist/style.css +1 -1
- package/package.json +9 -9
|
@@ -374,5 +374,5 @@ export declare const components: {
|
|
|
374
374
|
alt: string;
|
|
375
375
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
376
376
|
};
|
|
377
|
-
export declare const
|
|
378
|
-
export declare const
|
|
377
|
+
export declare const OnyxMarkdown: import('vue').DefineComponent<import('@comark/vue').MarkdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@comark/vue').MarkdownProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
378
|
+
export declare const OnyxMarkdownDocument: import('vue').DefineComponent<import('@comark/vue').MarkdownDocumentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@comark/vue').MarkdownDocumentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export { default as ProseTable } from './components/prose/ProseTable.vue';
|
|
|
18
18
|
export { default as ProseTbody } from './components/prose/ProseTbody.vue';
|
|
19
19
|
export { default as ProseThead } from './components/prose/ProseThead.vue';
|
|
20
20
|
export { default as ProseUl } from './components/prose/ProseUl.vue';
|
|
21
|
-
export {
|
|
21
|
+
export { OnyxMarkdown, OnyxMarkdownDocument } from './components/comark.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Teleport as e, computed as t, createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, guardReactiveProps as s, inject as c, normalizeClass as l, normalizeProps as ee, openBlock as u, provide as d, renderSlot as f, toDisplayString as p, unref as m, useId as te, useTemplateRef as h, withCtx as g } from "vue";
|
|
2
2
|
import { OnyxAccordion as _, OnyxAccordionItem as ne, OnyxCodeTab as re, OnyxCodeTabs as ie, OnyxHeadline as v, OnyxLink as y, OnyxSeparator as b, OnyxTable as x, injectI18n as S } from "sit-onyx";
|
|
3
|
-
import {
|
|
3
|
+
import { defineMarkdownComponent as C, defineMarkdownDocumentComponent as w } from "@comark/vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/prose/ProseA.vue
|
|
6
6
|
var T = /* @__PURE__ */ o({
|
|
@@ -35,8 +35,8 @@ var O = /*#__PURE__*/ E(D, [["render", oe], ["__scopeId", "data-v-d52859e7"]]),
|
|
|
35
35
|
}, P = /*#__PURE__*/ E(/* @__PURE__ */ o({
|
|
36
36
|
__name: "ProseDetails",
|
|
37
37
|
setup(e) {
|
|
38
|
-
let { t } = S(), r = te();
|
|
39
|
-
return d(j, { headerRef:
|
|
38
|
+
let { t } = S(), r = te(), o = h("header");
|
|
39
|
+
return d(j, { headerRef: o }), (e, o) => (u(), n(m(_), {
|
|
40
40
|
class: "accordion",
|
|
41
41
|
type: "card"
|
|
42
42
|
}, {
|
|
@@ -203,9 +203,10 @@ var O = /*#__PURE__*/ E(D, [["render", oe], ["__scopeId", "data-v-d52859e7"]]),
|
|
|
203
203
|
}), Y = /*#__PURE__*/ E(/* @__PURE__ */ o({
|
|
204
204
|
__name: "ProseTable",
|
|
205
205
|
setup(e) {
|
|
206
|
+
let t = h("head"), r = h("body");
|
|
206
207
|
return d(A, {
|
|
207
|
-
headRef:
|
|
208
|
-
bodyRef:
|
|
208
|
+
headRef: t,
|
|
209
|
+
bodyRef: r
|
|
209
210
|
}), (e, t) => (u(), n(m(x), {
|
|
210
211
|
class: "table",
|
|
211
212
|
striped: "",
|
|
@@ -262,10 +263,10 @@ var O = /*#__PURE__*/ E(D, [["render", oe], ["__scopeId", "data-v-d52859e7"]]),
|
|
|
262
263
|
img: U
|
|
263
264
|
}, le = C({
|
|
264
265
|
components: $,
|
|
265
|
-
class: "onyx-component onyx-
|
|
266
|
+
class: "onyx-component onyx-markdown"
|
|
266
267
|
}), ue = w({
|
|
267
268
|
components: $,
|
|
268
|
-
class: "onyx-component onyx-
|
|
269
|
+
class: "onyx-component onyx-markdown-document"
|
|
269
270
|
});
|
|
270
271
|
//#endregion
|
|
271
|
-
export { le as
|
|
272
|
+
export { le as OnyxMarkdown, ue as OnyxMarkdownDocument, T as ProseA, O as ProseBr, k as ProseCode, P as ProseDetails, F as ProseH1, I as ProseH2, L as ProseH3, R as ProseH4, z as ProseH5, B as ProseH6, V as ProseHr, U as ProseImg, W as ProseOl, G as ProseP, q as ProsePre, J as ProseSummary, Y as ProseTable, X as ProseTbody, Z as ProseThead, Q as ProseUl };
|
package/dist/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer onyx.component{:root{--onyx-markdown-renderer-margin-block:var(--onyx-density-md)}.onyx-
|
|
1
|
+
@layer onyx.component{:root{--onyx-markdown-renderer-margin-block:var(--onyx-density-md)}.onyx-markdown,.onyx-markdown-document{font-family:var(--onyx-font-family-paragraph)}}br[data-v-d52859e7]{height:1lh;display:block}code[data-v-3d53c5e9]{background-color:var(--onyx-color-base-background-blank);border:var(--onyx-1px-in-rem) solid var(--onyx-color-component-border-neutral);border-radius:var(--onyx-radius-sm);padding:var(--onyx-density-3xs) var(--onyx-density-2xs)}.accordion[data-v-4178c16e]{margin-block:var(--onyx-markdown-renderer-margin-block)}.header:has(.header__content:not(:empty)) .header__placeholder[data-v-4178c16e]{display:none}.onyx-headline[data-v-c5760f34]{margin-bottom:var(--onyx-density-lg)}.onyx-headline[data-v-ca207127]{margin-top:var(--onyx-density-2xl);margin-bottom:var(--onyx-density-xs)}.onyx-headline[data-v-bd6aac0c]{margin-top:var(--onyx-density-xl);margin-bottom:var(--onyx-density-2xs)}.onyx-headline[data-v-2fae4049],.onyx-headline[data-v-be90357a],.onyx-headline[data-v-e10c9588]{margin-top:var(--onyx-density-lg);margin-bottom:var(--onyx-density-3xs)}.separator[data-v-88aee9af]{margin-block:var(--onyx-markdown-renderer-margin-block)}img[data-v-f39db070]{max-width:100%;display:inline-block}ol[data-v-5adc6f71]{margin-block:var(--onyx-density-xs)}p[data-v-8d5bfaf8],.code[data-v-ddb4756f],.table[data-v-52d1d2c2]{margin-block:var(--onyx-markdown-renderer-margin-block)}ul[data-v-17a11577]{margin-block:var(--onyx-density-xs)}
|
|
2
2
|
/*$vite$:1*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/comark",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-dev-20260810055140",
|
|
4
4
|
"description": "Wrapper for the comark package using the onyx design system created by Schwarz Digits",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/SchwarzIT/onyx/issues"
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"./style.css": "./dist/style.css"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@comark/vue": "^0.
|
|
31
|
-
"@playwright/experimental-ct-vue": "1.
|
|
32
|
-
"@playwright/test": "1.
|
|
30
|
+
"@comark/vue": "^0.6.0",
|
|
31
|
+
"@playwright/experimental-ct-vue": "1.62.1",
|
|
32
|
+
"@playwright/test": "1.62.1",
|
|
33
33
|
"@vue/compiler-dom": "3.5.40",
|
|
34
34
|
"unplugin-dts": "1.0.3",
|
|
35
|
-
"vite": "8.
|
|
35
|
+
"vite": "8.2.0",
|
|
36
36
|
"vue": "3.5.40",
|
|
37
|
-
"@sit-onyx/shared": "^0.1.0",
|
|
38
37
|
"@sit-onyx/playwright-utils": "^1.3.0",
|
|
39
|
-
"sit-onyx": "^1.
|
|
38
|
+
"@sit-onyx/shared": "^0.1.0",
|
|
39
|
+
"sit-onyx": "^1.19.0-dev-20260810055140"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@comark/vue": ">=0.
|
|
42
|
+
"@comark/vue": ">= 0.6.0",
|
|
43
43
|
"vue": ">= 3.5.0",
|
|
44
|
-
"sit-onyx": "^1.
|
|
44
|
+
"sit-onyx": "^1.19.0-dev-20260810055140"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=20"
|