@sit-onyx/mdc 0.1.0-dev-20260422105150 → 0.2.0-dev-20260422151010

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.
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ src?: string;
3
+ alt?: string;
4
+ width?: string | number;
5
+ height?: string | number;
6
+ };
7
+ declare const _default: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ src: string;
9
+ alt: string;
10
+ }, {}, {}, {}, string, import('vue', { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export { default as ProseH4 } from './components/prose/ProseH4.vue';
11
11
  export { default as ProseH5 } from './components/prose/ProseH5.vue';
12
12
  export { default as ProseH6 } from './components/prose/ProseH6.vue';
13
13
  export { default as ProseHr } from './components/prose/ProseHr.vue';
14
+ export { default as ProseImg } from './components/prose/ProseImg.vue';
14
15
  export { default as ProseOl } from './components/prose/ProseOl.vue';
15
16
  export { default as ProseP } from './components/prose/ProseP.vue';
16
17
  export { default as ProsePre } from './components/prose/ProsePre.vue';
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { Suspense as e, Teleport as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineAsyncComponent as ee, defineComponent as c, inject as l, mergeProps as u, nextTick as te, normalizeClass as d, openBlock as f, provide as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useAttrs as ne, useId as v, useTemplateRef as y, watch as re, withCtx as b } from "vue";
2
- import { OnyxAccordion as x, OnyxAccordionItem as ie, OnyxCodeTab as ae, OnyxCodeTabs as oe, OnyxHeadline as S, OnyxLink as C, OnyxSeparator as w, OnyxTable as T, injectI18n as E, isInternalLink as D, useDensity as se } from "sit-onyx";
1
+ import { Suspense as e, Teleport as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineAsyncComponent as c, defineComponent as l, inject as u, mergeProps as d, nextTick as ee, normalizeClass as f, openBlock as p, provide as m, ref as h, renderSlot as g, toDisplayString as _, unref as v, useAttrs as te, useId as y, useTemplateRef as b, watch as ne, withCtx as x } from "vue";
2
+ import { OnyxAccordion as S, OnyxAccordionItem as re, OnyxCodeTab as ie, OnyxCodeTabs as ae, OnyxHeadline as C, OnyxLink as w, OnyxSeparator as T, OnyxTable as E, injectI18n as D, isInternalLink as oe, useDensity as se } from "sit-onyx";
3
3
  //#endregion
4
4
  //#region src/components/prose/ProseA.vue
5
- var O = /* @__PURE__ */ c({
5
+ var O = /* @__PURE__ */ l({
6
6
  __name: "ProseA",
7
7
  props: {
8
8
  href: { default: "" },
@@ -10,8 +10,8 @@ var O = /* @__PURE__ */ c({
10
10
  },
11
11
  setup(e) {
12
12
  let t = e;
13
- return (e, n) => (f(), r(_(C), u(t, { target: _(D)(t.href) ? t.target : "_blank" }), {
14
- default: b(() => [h(e.$slots, "default")]),
13
+ return (e, n) => (p(), r(v(w), d(t, { target: v(oe)(t.href) ? t.target : "_blank" }), {
14
+ default: x(() => [g(e.$slots, "default")]),
15
15
  _: 3
16
16
  }, 16, ["target"]));
17
17
  }
@@ -20,127 +20,150 @@ var O = /* @__PURE__ */ c({
20
20
  for (let [e, r] of t) n[e] = r;
21
21
  return n;
22
22
  }, ce = {}, le = { "aria-hidden": "true" };
23
- function A(e, t) {
24
- return f(), a("br", le);
23
+ function ue(e, t) {
24
+ return p(), a("br", le);
25
25
  }
26
- var j = /* @__PURE__ */ k(ce, [["render", A], ["__scopeId", "data-v-d52859e7"]]), ue = { class: "onyx-text--small" }, M = /* @__PURE__ */ k(/* @__PURE__ */ c({
26
+ var A = /* @__PURE__ */ k(ce, [["render", ue], ["__scopeId", "data-v-d52859e7"]]), de = { class: "onyx-text--small" }, j = /* @__PURE__ */ k(/* @__PURE__ */ l({
27
27
  __name: "ProseCode",
28
28
  setup(e) {
29
- return (e, t) => (f(), a("code", ue, [h(e.$slots, "default", {}, void 0, !0)]));
29
+ return (e, t) => (p(), a("code", de, [g(e.$slots, "default", {}, void 0, !0)]));
30
30
  }
31
- }), [["__scopeId", "data-v-3d53c5e9"]]), N = Symbol(), P = Symbol(), de = { class: "header" }, F = { class: "header__placeholder" }, I = {
31
+ }), [["__scopeId", "data-v-3d53c5e9"]]), M = Symbol(), N = Symbol(), fe = { class: "header" }, P = { class: "header__placeholder" }, F = {
32
32
  ref: "header",
33
33
  class: "header__content"
34
- }, L = /* @__PURE__ */ k(/* @__PURE__ */ c({
34
+ }, I = /* @__PURE__ */ k(/* @__PURE__ */ l({
35
35
  __name: "ProseDetails",
36
36
  setup(e) {
37
- let { t } = E(), n = v();
38
- return p(P, { headerRef: y("header") }), (e, i) => (f(), r(_(x), {
37
+ let { t } = D(), n = y();
38
+ return m(N, { headerRef: b("header") }), (e, i) => (p(), r(v(S), {
39
39
  class: "accordion",
40
40
  type: "card"
41
41
  }, {
42
- default: b(() => [s(_(ie), { value: _(n) }, {
43
- header: b(() => [o("div", de, [o("span", F, g(_(t)("accordion.toggle")), 1), o("span", I, null, 512)])]),
44
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
42
+ default: x(() => [s(v(re), { value: v(n) }, {
43
+ header: x(() => [o("div", fe, [o("span", P, _(v(t)("accordion.toggle")), 1), o("span", F, null, 512)])]),
44
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
45
45
  _: 3
46
46
  }, 8, ["value"])]),
47
47
  _: 3
48
48
  }));
49
49
  }
50
- }), [["__scopeId", "data-v-4178c16e"]]), R = /* @__PURE__ */ k(/* @__PURE__ */ c({
50
+ }), [["__scopeId", "data-v-4178c16e"]]), L = /* @__PURE__ */ k(/* @__PURE__ */ l({
51
51
  __name: "ProseH1",
52
52
  props: { id: {} },
53
53
  setup(e) {
54
54
  let t = e;
55
- return (e, n) => (f(), r(_(S), {
55
+ return (e, n) => (p(), r(v(C), {
56
56
  is: "h1",
57
57
  hash: t.id
58
58
  }, {
59
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
59
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
60
60
  _: 3
61
61
  }, 8, ["hash"]));
62
62
  }
63
- }), [["__scopeId", "data-v-c5760f34"]]), z = /* @__PURE__ */ k(/* @__PURE__ */ c({
63
+ }), [["__scopeId", "data-v-c5760f34"]]), R = /* @__PURE__ */ k(/* @__PURE__ */ l({
64
64
  __name: "ProseH2",
65
65
  props: { id: {} },
66
66
  setup(e) {
67
67
  let t = e;
68
- return (e, n) => (f(), r(_(S), {
68
+ return (e, n) => (p(), r(v(C), {
69
69
  is: "h2",
70
70
  hash: t.id
71
71
  }, {
72
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
72
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
73
73
  _: 3
74
74
  }, 8, ["hash"]));
75
75
  }
76
- }), [["__scopeId", "data-v-ca207127"]]), B = /* @__PURE__ */ k(/* @__PURE__ */ c({
76
+ }), [["__scopeId", "data-v-ca207127"]]), z = /* @__PURE__ */ k(/* @__PURE__ */ l({
77
77
  __name: "ProseH3",
78
78
  props: { id: {} },
79
79
  setup(e) {
80
80
  let t = e;
81
- return (e, n) => (f(), r(_(S), {
81
+ return (e, n) => (p(), r(v(C), {
82
82
  is: "h3",
83
83
  hash: t.id
84
84
  }, {
85
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
85
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
86
86
  _: 3
87
87
  }, 8, ["hash"]));
88
88
  }
89
- }), [["__scopeId", "data-v-bd6aac0c"]]), V = /* @__PURE__ */ k(/* @__PURE__ */ c({
89
+ }), [["__scopeId", "data-v-bd6aac0c"]]), B = /* @__PURE__ */ k(/* @__PURE__ */ l({
90
90
  __name: "ProseH4",
91
91
  props: { id: {} },
92
92
  setup(e) {
93
93
  let t = e;
94
- return (e, n) => (f(), r(_(S), {
94
+ return (e, n) => (p(), r(v(C), {
95
95
  is: "h4",
96
96
  hash: t.id
97
97
  }, {
98
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
98
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
99
99
  _: 3
100
100
  }, 8, ["hash"]));
101
101
  }
102
- }), [["__scopeId", "data-v-2fae4049"]]), H = /* @__PURE__ */ k(/* @__PURE__ */ c({
102
+ }), [["__scopeId", "data-v-2fae4049"]]), V = /* @__PURE__ */ k(/* @__PURE__ */ l({
103
103
  __name: "ProseH5",
104
104
  props: { id: {} },
105
105
  setup(e) {
106
106
  let t = e;
107
- return (e, n) => (f(), r(_(S), {
107
+ return (e, n) => (p(), r(v(C), {
108
108
  is: "h5",
109
109
  hash: t.id
110
110
  }, {
111
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
111
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
112
112
  _: 3
113
113
  }, 8, ["hash"]));
114
114
  }
115
- }), [["__scopeId", "data-v-be90357a"]]), U = /* @__PURE__ */ k(/* @__PURE__ */ c({
115
+ }), [["__scopeId", "data-v-be90357a"]]), H = /* @__PURE__ */ k(/* @__PURE__ */ l({
116
116
  __name: "ProseH6",
117
117
  props: { id: {} },
118
118
  setup(e) {
119
119
  let t = e;
120
- return (e, n) => (f(), r(_(S), {
120
+ return (e, n) => (p(), r(v(C), {
121
121
  is: "h6",
122
122
  hash: t.id
123
123
  }, {
124
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
124
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
125
125
  _: 3
126
126
  }, 8, ["hash"]));
127
127
  }
128
- }), [["__scopeId", "data-v-e10c9588"]]), W = /* @__PURE__ */ k(/* @__PURE__ */ c({
128
+ }), [["__scopeId", "data-v-e10c9588"]]), U = /* @__PURE__ */ k(/* @__PURE__ */ l({
129
129
  __name: "ProseHr",
130
130
  setup(e) {
131
- return (e, t) => (f(), r(_(w), { class: "separator" }));
131
+ return (e, t) => (p(), r(v(T), { class: "separator" }));
132
132
  }
133
- }), [["__scopeId", "data-v-88aee9af"]]), G = /* @__PURE__ */ k(/* @__PURE__ */ c({
133
+ }), [["__scopeId", "data-v-88aee9af"]]), pe = [
134
+ "src",
135
+ "alt",
136
+ "width",
137
+ "height"
138
+ ], W = /* @__PURE__ */ k(/* @__PURE__ */ l({
139
+ __name: "ProseImg",
140
+ props: {
141
+ src: { default: "" },
142
+ alt: { default: "" },
143
+ width: {},
144
+ height: {}
145
+ },
146
+ setup(e) {
147
+ let t = e;
148
+ return (e, n) => (p(), a("img", {
149
+ src: t.src,
150
+ alt: t.alt,
151
+ width: t.width,
152
+ height: t.height,
153
+ loading: "lazy"
154
+ }, null, 8, pe));
155
+ }
156
+ }), [["__scopeId", "data-v-f39db070"]]), G = /* @__PURE__ */ k(/* @__PURE__ */ l({
134
157
  __name: "ProseOl",
135
158
  setup(e) {
136
- return (e, t) => (f(), a("ol", null, [h(e.$slots, "default", {}, void 0, !0)]));
159
+ return (e, t) => (p(), a("ol", null, [g(e.$slots, "default", {}, void 0, !0)]));
137
160
  }
138
- }), [["__scopeId", "data-v-5adc6f71"]]), K = /* @__PURE__ */ k(/* @__PURE__ */ c({
161
+ }), [["__scopeId", "data-v-5adc6f71"]]), K = /* @__PURE__ */ k(/* @__PURE__ */ l({
139
162
  __name: "ProseP",
140
163
  setup(e) {
141
- return (e, t) => (f(), a("p", null, [h(e.$slots, "default", {}, void 0, !0)]));
164
+ return (e, t) => (p(), a("p", null, [g(e.$slots, "default", {}, void 0, !0)]));
142
165
  }
143
- }), [["__scopeId", "data-v-8d5bfaf8"]]), q = "code", J = /* @__PURE__ */ k(/* @__PURE__ */ c({
166
+ }), [["__scopeId", "data-v-8d5bfaf8"]]), q = "code", J = /* @__PURE__ */ k(/* @__PURE__ */ l({
144
167
  __name: "ProsePre",
145
168
  props: {
146
169
  code: { default: "" },
@@ -152,17 +175,17 @@ var j = /* @__PURE__ */ k(ce, [["render", A], ["__scopeId", "data-v-d52859e7"]])
152
175
  },
153
176
  setup(e) {
154
177
  let t = e;
155
- return (e, n) => (f(), r(_(oe), {
178
+ return (e, n) => (p(), r(v(ae), {
156
179
  class: "code",
157
180
  "model-value": q
158
181
  }, {
159
- default: b(() => [s(_(ae), {
182
+ default: x(() => [s(v(ie), {
160
183
  value: q,
161
184
  code: t.code,
162
185
  language: t.language,
163
186
  label: t.filename
164
187
  }, {
165
- default: b(() => [o("pre", { class: d(t.class) }, [h(e.$slots, "default", {}, void 0, !0)], 2)]),
188
+ default: x(() => [o("pre", { class: f(t.class) }, [g(e.$slots, "default", {}, void 0, !0)], 2)]),
166
189
  _: 3
167
190
  }, 8, [
168
191
  "code",
@@ -172,55 +195,55 @@ var j = /* @__PURE__ */ k(ce, [["render", A], ["__scopeId", "data-v-d52859e7"]])
172
195
  _: 3
173
196
  }));
174
197
  }
175
- }), [["__scopeId", "data-v-2364b0e9"]]), Y = /* @__PURE__ */ c({
198
+ }), [["__scopeId", "data-v-2364b0e9"]]), Y = /* @__PURE__ */ l({
176
199
  __name: "ProseSummary",
177
200
  setup(e) {
178
- let i = l(P, void 0), a = n(() => i?.headerRef.value);
179
- return (e, n) => a.value ? (f(), r(t, {
201
+ let i = u(N, void 0), a = n(() => i?.headerRef.value);
202
+ return (e, n) => a.value ? (p(), r(t, {
180
203
  key: 0,
181
204
  to: a.value
182
- }, [h(e.$slots, "default")], 8, ["to"])) : h(e.$slots, "default", { key: 1 });
205
+ }, [g(e.$slots, "default")], 8, ["to"])) : g(e.$slots, "default", { key: 1 });
183
206
  }
184
- }), X = /* @__PURE__ */ k(/* @__PURE__ */ c({
207
+ }), X = /* @__PURE__ */ k(/* @__PURE__ */ l({
185
208
  __name: "ProseTable",
186
209
  setup(e) {
187
- return p(N, {
188
- headRef: y("head"),
189
- bodyRef: y("body")
190
- }), (e, t) => (f(), r(_(T), {
210
+ return m(M, {
211
+ headRef: b("head"),
212
+ bodyRef: b("body")
213
+ }), (e, t) => (p(), r(v(E), {
191
214
  class: "table",
192
215
  striped: "",
193
216
  "with-vertical-borders": ""
194
217
  }, {
195
- head: b(() => [...t[0] ||= []]),
196
- default: b(() => [h(e.$slots, "default", {}, void 0, !0)]),
218
+ head: x(() => [...t[0] ||= []]),
219
+ default: x(() => [g(e.$slots, "default", {}, void 0, !0)]),
197
220
  _: 3
198
221
  }));
199
222
  }
200
- }), [["__scopeId", "data-v-52d1d2c2"]]), Z = /* @__PURE__ */ c({
223
+ }), [["__scopeId", "data-v-52d1d2c2"]]), Z = /* @__PURE__ */ l({
201
224
  __name: "ProseTbody",
202
225
  setup(e) {
203
- let n = l(N, void 0);
204
- return (e, i) => _(n)?.bodyRef.value ? (f(), r(t, {
226
+ let n = u(M, void 0);
227
+ return (e, i) => v(n)?.bodyRef.value ? (p(), r(t, {
205
228
  key: 0,
206
- to: _(n).bodyRef.value
207
- }, [h(e.$slots, "default")], 8, ["to"])) : h(e.$slots, "default", { key: 1 });
229
+ to: v(n).bodyRef.value
230
+ }, [g(e.$slots, "default")], 8, ["to"])) : g(e.$slots, "default", { key: 1 });
208
231
  }
209
- }), Q = /* @__PURE__ */ c({
232
+ }), Q = /* @__PURE__ */ l({
210
233
  __name: "ProseThead",
211
234
  setup(e) {
212
- let n = l(N, void 0);
213
- return (e, i) => _(n)?.headRef.value ? (f(), r(t, {
235
+ let n = u(M, void 0);
236
+ return (e, i) => v(n)?.headRef.value ? (p(), r(t, {
214
237
  key: 0,
215
- to: _(n).headRef.value
216
- }, [h(e.$slots, "default")], 8, ["to"])) : h(e.$slots, "default", { key: 1 });
238
+ to: v(n).headRef.value
239
+ }, [g(e.$slots, "default")], 8, ["to"])) : g(e.$slots, "default", { key: 1 });
217
240
  }
218
- }), $ = /* @__PURE__ */ k(/* @__PURE__ */ c({
241
+ }), $ = /* @__PURE__ */ k(/* @__PURE__ */ l({
219
242
  __name: "ProseUl",
220
243
  setup(e) {
221
- return (e, t) => (f(), a("ul", null, [h(e.$slots, "default", {}, void 0, !0)]));
244
+ return (e, t) => (p(), a("ul", null, [g(e.$slots, "default", {}, void 0, !0)]));
222
245
  }
223
- }), [["__scopeId", "data-v-17a11577"]]), fe = /* @__PURE__ */ c({
246
+ }), [["__scopeId", "data-v-17a11577"]]), me = /* @__PURE__ */ l({
224
247
  __name: "OnyxMarkdownRenderer",
225
248
  props: {
226
249
  density: {},
@@ -229,30 +252,30 @@ var j = /* @__PURE__ */ k(ce, [["render", A], ["__scopeId", "data-v-d52859e7"]])
229
252
  },
230
253
  emits: ["resolve"],
231
254
  setup(t, { expose: n, emit: a }) {
232
- let o = t, s = a, { densityClass: c } = se(o), l = m(!1), d = m(), p = async () => {
255
+ let o = t, s = a, { densityClass: l } = se(o), u = h(!1), f = h(), m = async () => {
233
256
  let { parseMarkdown: e } = await import("./runtime-RTZ-DGVX.js");
234
257
  return e;
235
- }, g = ee(() => import("./MDCRenderer-DZNu39aU.js"));
236
- re(() => o.markdown, async () => {
237
- l.value = !0;
258
+ }, _ = c(() => import("./MDCRenderer-DZNu39aU.js"));
259
+ ne(() => o.markdown, async () => {
260
+ u.value = !0;
238
261
  try {
239
- d.value = await (await p())(o.markdown, o.options);
262
+ f.value = await (await m())(o.markdown, o.options);
240
263
  } finally {
241
- l.value = !1;
264
+ u.value = !1;
242
265
  }
243
266
  }, { immediate: !0 });
244
- let v = {
267
+ let y = {
245
268
  a: O,
246
- br: j,
247
- code: M,
248
- details: L,
249
- h1: R,
250
- h2: z,
251
- h3: B,
252
- h4: V,
253
- h5: H,
254
- h6: U,
255
- hr: W,
269
+ br: A,
270
+ code: j,
271
+ details: I,
272
+ h1: L,
273
+ h2: R,
274
+ h3: z,
275
+ h4: B,
276
+ h5: V,
277
+ h6: H,
278
+ hr: U,
256
279
  ol: G,
257
280
  p: K,
258
281
  pre: J,
@@ -260,21 +283,22 @@ var j = /* @__PURE__ */ k(ce, [["render", A], ["__scopeId", "data-v-d52859e7"]])
260
283
  table: X,
261
284
  thead: Q,
262
285
  tbody: Z,
263
- ul: $
264
- }, y = ne(), x = async () => {
265
- await te(), s("resolve");
286
+ ul: $,
287
+ img: W
288
+ }, b = te(), S = async () => {
289
+ await ee(), s("resolve");
266
290
  };
267
- return n({ parserResult: d }), (t, n) => (f(), r(e, { onResolve: x }, {
268
- fallback: b(() => [h(t.$slots, "loading")]),
269
- default: b(() => [l.value ? h(t.$slots, "loading", { key: 0 }) : d.value ? (f(), r(_(g), u({ key: 1 }, _(y), {
291
+ return n({ parserResult: f }), (t, n) => (p(), r(e, { onResolve: S }, {
292
+ fallback: x(() => [g(t.$slots, "loading")]),
293
+ default: x(() => [u.value ? g(t.$slots, "loading", { key: 0 }) : f.value ? (p(), r(v(_), d({ key: 1 }, v(b), {
270
294
  class: [
271
295
  "onyx-component",
272
296
  "onyx-markdown-renderer",
273
- _(c)
297
+ v(l)
274
298
  ],
275
- body: d.value.body,
276
- data: d.value.data,
277
- components: v
299
+ body: f.value.body,
300
+ data: f.value.data,
301
+ components: y
278
302
  }), null, 16, [
279
303
  "class",
280
304
  "body",
@@ -285,4 +309,4 @@ var j = /* @__PURE__ */ k(ce, [["render", A], ["__scopeId", "data-v-d52859e7"]])
285
309
  }
286
310
  });
287
311
  //#endregion
288
- export { fe as OnyxMarkdownRenderer, O as ProseA, j as ProseBr, M as ProseCode, L as ProseDetails, R as ProseH1, z as ProseH2, B as ProseH3, V as ProseH4, H as ProseH5, U as ProseH6, W as ProseHr, G as ProseOl, K as ProseP, J as ProsePre, Y as ProseSummary, X as ProseTable, Z as ProseTbody, Q as ProseThead, $ as ProseUl };
312
+ export { me as OnyxMarkdownRenderer, O as ProseA, A as ProseBr, j as ProseCode, I as ProseDetails, L as ProseH1, R as ProseH2, z as ProseH3, B as ProseH4, V as ProseH5, H as ProseH6, U as ProseHr, W as ProseImg, G as ProseOl, K as ProseP, J as ProsePre, Y as ProseSummary, X as ProseTable, Z as ProseTbody, Q as ProseThead, $ as ProseUl };
package/dist/style.css CHANGED
@@ -1,2 +1,2 @@
1
- :root{--onyx-markdown-renderer-margin-block:var(--onyx-density-md)}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)}ol[data-v-5adc6f71]{margin-block:var(--onyx-density-xs)}p[data-v-8d5bfaf8],.code[data-v-2364b0e9],.table[data-v-52d1d2c2]{margin-block:var(--onyx-markdown-renderer-margin-block)}ul[data-v-17a11577]{margin-block:var(--onyx-density-xs)}@layer onyx.component{.onyx-markdown-renderer{font-family:var(--onyx-font-family-paragraph)}}
1
+ :root{--onyx-markdown-renderer-margin-block:var(--onyx-density-md)}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-2364b0e9],.table[data-v-52d1d2c2]{margin-block:var(--onyx-markdown-renderer-margin-block)}ul[data-v-17a11577]{margin-block:var(--onyx-density-xs)}@layer onyx.component{.onyx-markdown-renderer{font-family:var(--onyx-font-family-paragraph)}}
2
2
  /*$vite$:1*/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sit-onyx/mdc",
3
3
  "description": "Wrapper for the @nuxtjs/mdc package using the onyx design system created by Schwarz IT",
4
- "version": "0.1.0-dev-20260422105150",
4
+ "version": "0.2.0-dev-20260422151010",
5
5
  "type": "module",
6
6
  "author": "Schwarz IT KG",
7
7
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "peerDependencies": {
33
33
  "@nuxtjs/mdc": ">= 0.20.2",
34
34
  "vue": ">= 3.5.0",
35
- "sit-onyx": "^1.12.0-dev-20260422105150"
35
+ "sit-onyx": "^1.12.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@axe-core/playwright": "^4.11.1",
@@ -40,9 +40,9 @@
40
40
  "@playwright/experimental-ct-vue": "1.59.1",
41
41
  "@playwright/test": "1.59.1",
42
42
  "@vue/compiler-dom": "3.5.32",
43
- "@sit-onyx/playwright-utils": "^1.2.2-dev-20260422105150",
43
+ "@sit-onyx/playwright-utils": "^1.2.2",
44
44
  "@sit-onyx/shared": "^0.1.0",
45
- "sit-onyx": "^1.12.0-dev-20260422105150"
45
+ "sit-onyx": "^1.12.0"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "vite build",