@muenchen/muc-patternlab-vue 1.12.1-beta.2 → 1.12.1-beta.3

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.
@@ -4,7 +4,7 @@ import { default as MucErrorList } from './MucErrorList.vue';
4
4
  import { default as MucForm } from './MucInput.vue';
5
5
  import { default as MucRadioButton } from './MucRadioButton.vue';
6
6
  import { default as MucRadioButtonGroup } from './MucRadioButtonGroup.vue';
7
- import { default as MucSingleSelect } from './MucSelect.vue';
7
+ import { default as MucSelect } from './MucSelect.vue';
8
8
  import { default as MucTextArea } from './MucTextArea.vue';
9
9
 
10
- export { MucForm, MucCheckbox, MucCheckboxGroup, MucRadioButtonGroup, MucInput, MucRadioButton, MucTextArea, MucSingleSelect, MucErrorList, MucSelect, };
10
+ export { MucForm, MucCheckbox, MucCheckboxGroup, MucRadioButtonGroup, MucInput, MucRadioButton, MucTextArea, MucErrorList, MucSelect, };
@@ -3,8 +3,8 @@ import { MucButton } from './Button';
3
3
  import { MucCallout } from './Callout';
4
4
  import { MucCard, MucCardContainer } from './Card';
5
5
  import { MucComment, MucCommentText } from './Comment/';
6
- import { MucForm } from './Form';
6
+ import { MucCheckbox, MucCheckboxGroup, MucErrorList, MucInput, MucRadioButton, MucRadioButtonGroup, MucSelect, MucTextArea } from './Form';
7
7
  import { MucIcon } from './Icon';
8
8
  import { MucIntro } from './Intro';
9
9
 
10
- export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, MucForm, MucIcon, };
10
+ export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, MucRadioButton, MucRadioButtonGroup, MucInput, MucTextArea, MucCheckboxGroup, MucCheckbox, MucSelect, MucErrorList, MucIcon, };
@@ -1,29 +1,29 @@
1
- import { defineComponent as v, useAttrs as P, computed as c, openBlock as n, createElementBlock as r, normalizeClass as M, normalizeStyle as H, createElementVNode as e, createVNode as E, unref as $, renderSlot as d, createBlock as V, createCommentVNode as f, toDisplayString as _, pushScopeId as q, popScopeId as F, useSlots as T, createTextVNode as h, Fragment as B, renderList as L, createSlots as N, withCtx as C, mergeModels as O, useModel as W, withDirectives as j, vModelDynamic as z } from "vue";
2
- const U = ["href"], b = /* @__PURE__ */ v({
1
+ import { defineComponent as v, useAttrs as Z, computed as r, openBlock as n, createElementBlock as c, normalizeClass as y, normalizeStyle as ee, createElementVNode as e, createVNode as R, unref as k, renderSlot as _, createBlock as j, createCommentVNode as $, toDisplayString as u, pushScopeId as H, popScopeId as N, useSlots as W, createTextVNode as g, Fragment as E, renderList as L, createSlots as te, withCtx as I, mergeModels as M, useModel as T, withModifiers as U, ref as O, withDirectives as z, vModelDynamic as se, inject as oe, provide as ae, readonly as ne, toRef as le, vModelText as ce } from "vue";
2
+ const ie = ["href"], B = /* @__PURE__ */ v({
3
3
  __name: "MucIcon",
4
4
  props: {
5
5
  icon: {},
6
6
  color: {}
7
7
  },
8
- setup(o) {
9
- const t = P(), a = c(() => t.class ?? "icon");
10
- return (s, u) => (n(), r("svg", {
8
+ setup(a) {
9
+ const t = Z(), s = r(() => t.class ?? "icon");
10
+ return (o, i) => (n(), c("svg", {
11
11
  "aria-hidden": "true",
12
- class: M(a.value),
13
- style: H({ color: s.color })
12
+ class: y(s.value),
13
+ style: ee({ color: o.color })
14
14
  }, [
15
15
  e("use", {
16
- href: "#icon-" + s.icon
17
- }, null, 8, U)
16
+ href: "#icon-" + o.icon
17
+ }, null, 8, ie)
18
18
  ], 6));
19
19
  }
20
- }), X = ["role", "aria-label"], x = { class: "container-fluid" }, G = /* @__PURE__ */ v({
20
+ }), re = ["role", "aria-label"], ue = { class: "container-fluid" }, de = /* @__PURE__ */ v({
21
21
  __name: "MucBanner",
22
22
  props: {
23
23
  type: { default: "info" }
24
24
  },
25
- setup(o) {
26
- const t = o, a = c(() => {
25
+ setup(a) {
26
+ const t = a, s = r(() => {
27
27
  switch (t.type) {
28
28
  case "info":
29
29
  return "m-banner--info";
@@ -36,7 +36,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
36
36
  default:
37
37
  return "m-banner--info";
38
38
  }
39
- }), s = c(() => {
39
+ }), o = r(() => {
40
40
  switch (t.type) {
41
41
  case "info":
42
42
  return "dialog";
@@ -49,7 +49,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
49
49
  default:
50
50
  return "dialog";
51
51
  }
52
- }), u = c(() => {
52
+ }), i = r(() => {
53
53
  switch (t.type) {
54
54
  case "info":
55
55
  return "Information";
@@ -62,7 +62,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
62
62
  default:
63
63
  return "Information";
64
64
  }
65
- }), l = c(() => {
65
+ }), l = r(() => {
66
66
  switch (t.type) {
67
67
  case "success":
68
68
  return "check";
@@ -74,27 +74,27 @@ const U = ["href"], b = /* @__PURE__ */ v({
74
74
  return "information";
75
75
  }
76
76
  });
77
- return (g, p) => (n(), r("div", null, [
77
+ return (m, f) => (n(), c("div", null, [
78
78
  e("div", null, [
79
79
  e("div", {
80
- class: M(["m-banner", a.value]),
81
- role: s.value,
82
- "aria-label": u.value
80
+ class: y(["m-banner", s.value]),
81
+ role: o.value,
82
+ "aria-label": i.value
83
83
  }, [
84
- e("div", x, [
85
- E($(b), { icon: l.value }, null, 8, ["icon"]),
86
- d(g.$slots, "default", {}, void 0, !0)
84
+ e("div", ue, [
85
+ R(k(B), { icon: l.value }, null, 8, ["icon"]),
86
+ _(m.$slots, "default", {}, void 0, !0)
87
87
  ])
88
- ], 10, X)
88
+ ], 10, re)
89
89
  ])
90
90
  ]));
91
91
  }
92
- }), A = (o, t) => {
93
- const a = o.__vccOpts || o;
94
- for (const [s, u] of t)
95
- a[s] = u;
96
- return a;
97
- }, J = /* @__PURE__ */ A(G, [["__scopeId", "data-v-53bc7eca"]]), K = ["disabled"], Q = /* @__PURE__ */ v({
92
+ }), x = (a, t) => {
93
+ const s = a.__vccOpts || a;
94
+ for (const [o, i] of t)
95
+ s[o] = i;
96
+ return s;
97
+ }, _e = /* @__PURE__ */ x(de, [["__scopeId", "data-v-53bc7eca"]]), me = ["disabled"], D = /* @__PURE__ */ v({
98
98
  __name: "MucButton",
99
99
  props: {
100
100
  variant: { default: "primary" },
@@ -103,9 +103,9 @@ const U = ["href"], b = /* @__PURE__ */ v({
103
103
  iconAnimated: { type: Boolean, default: !1 }
104
104
  },
105
105
  emits: ["click"],
106
- setup(o, { emit: t }) {
107
- const a = o, s = t, u = c(() => {
108
- switch (a.variant) {
106
+ setup(a, { emit: t }) {
107
+ const s = a, o = t, i = r(() => {
108
+ switch (s.variant) {
109
109
  case "secondary":
110
110
  return "m-button--secondary";
111
111
  case "ghost":
@@ -113,33 +113,33 @@ const U = ["href"], b = /* @__PURE__ */ v({
113
113
  default:
114
114
  return "m-button--primary";
115
115
  }
116
- }), l = c(
117
- () => a.iconAnimated ? "m-button--animated-right" : ""
118
- ), g = () => {
119
- s("click");
116
+ }), l = r(
117
+ () => s.iconAnimated ? "m-button--animated-right" : ""
118
+ ), m = () => {
119
+ o("click");
120
120
  };
121
- return (p, m) => (n(), r("button", {
122
- onClick: g,
123
- disabled: p.disabled,
124
- class: M(["m-button", [u.value, l.value]])
121
+ return (f, h) => (n(), c("button", {
122
+ onClick: m,
123
+ disabled: f.disabled,
124
+ class: y(["m-button", [i.value, l.value]])
125
125
  }, [
126
126
  e("span", null, [
127
- d(p.$slots, "default"),
128
- p.icon ? (n(), V($(b), {
127
+ _(f.$slots, "default"),
128
+ f.icon ? (n(), j(k(B), {
129
129
  key: 0,
130
- icon: p.icon,
130
+ icon: f.icon,
131
131
  class: "m-button__icon"
132
- }, null, 8, ["icon"])) : f("", !0)
132
+ }, null, 8, ["icon"])) : $("", !0)
133
133
  ])
134
- ], 10, K));
134
+ ], 10, me));
135
135
  }
136
- }), Y = ["aria-label"], Z = { class: "m-callout__inner" }, ee = { class: "m-callout__icon" }, te = { class: "m-callout__body" }, se = { class: "m-callout__body__inner" }, ne = { class: "m-callout__headline" }, ae = { class: "m-callout__content" }, oe = /* @__PURE__ */ v({
136
+ }), pe = ["aria-label"], he = { class: "m-callout__inner" }, ve = { class: "m-callout__icon" }, fe = { class: "m-callout__body" }, $e = { class: "m-callout__body__inner" }, ge = { class: "m-callout__headline" }, be = { class: "m-callout__content" }, ye = /* @__PURE__ */ v({
137
137
  __name: "MucCallout",
138
138
  props: {
139
139
  type: { default: "info" }
140
140
  },
141
- setup(o) {
142
- const t = o, a = c(() => {
141
+ setup(a) {
142
+ const t = a, s = r(() => {
143
143
  switch (t.type) {
144
144
  case "error":
145
145
  return "warning";
@@ -148,7 +148,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
148
148
  default:
149
149
  return "information";
150
150
  }
151
- }), s = c(() => {
151
+ }), o = r(() => {
152
152
  switch (t.type) {
153
153
  case "error":
154
154
  return "m-callout--error";
@@ -159,7 +159,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
159
159
  default:
160
160
  return "m-callout--default";
161
161
  }
162
- }), u = c(() => {
162
+ }), i = r(() => {
163
163
  switch (t.type) {
164
164
  case "success":
165
165
  return "Erfolgreich";
@@ -171,148 +171,148 @@ const U = ["href"], b = /* @__PURE__ */ v({
171
171
  return "Information";
172
172
  }
173
173
  });
174
- return (l, g) => (n(), r("div", {
175
- class: M(["m-callout", s.value]),
176
- "aria-label": u.value
174
+ return (l, m) => (n(), c("div", {
175
+ class: y(["m-callout", o.value]),
176
+ "aria-label": i.value
177
177
  }, [
178
- e("div", Z, [
179
- e("div", ee, [
180
- d(l.$slots, "icon", {}, () => [
181
- E($(b), { icon: a.value }, null, 8, ["icon"])
178
+ e("div", he, [
179
+ e("div", ve, [
180
+ _(l.$slots, "icon", {}, () => [
181
+ R(k(B), { icon: s.value }, null, 8, ["icon"])
182
182
  ], !0)
183
183
  ]),
184
- e("div", te, [
185
- e("div", se, [
186
- e("div", ne, [
187
- d(l.$slots, "header", {}, void 0, !0)
184
+ e("div", fe, [
185
+ e("div", $e, [
186
+ e("div", ge, [
187
+ _(l.$slots, "header", {}, void 0, !0)
188
188
  ]),
189
- e("div", ae, [
189
+ e("div", be, [
190
190
  e("p", null, [
191
- d(l.$slots, "content", { class: "m-callout__content" }, void 0, !0)
191
+ _(l.$slots, "content", { class: "m-callout__content" }, void 0, !0)
192
192
  ])
193
193
  ])
194
194
  ])
195
195
  ])
196
196
  ])
197
- ], 10, Y));
197
+ ], 10, pe));
198
198
  }
199
- }), re = /* @__PURE__ */ A(oe, [["__scopeId", "data-v-e6cf4104"]]), ie = (o) => (q("data-v-acf0a1dd"), o = o(), F(), o), ce = { class: "card-content" }, le = { class: "card-header" }, ue = {
199
+ }), ke = /* @__PURE__ */ x(ye, [["__scopeId", "data-v-e6cf4104"]]), Me = (a) => (H("data-v-acf0a1dd"), a = a(), N(), a), Ce = { class: "card-content" }, we = { class: "card-header" }, Se = {
200
200
  key: 0,
201
201
  class: "card-tagline"
202
- }, de = /* @__PURE__ */ ie(() => /* @__PURE__ */ e("div", { class: "muc-divider" }, null, -1)), me = /* @__PURE__ */ v({
202
+ }, Ie = /* @__PURE__ */ Me(() => /* @__PURE__ */ e("div", { class: "muc-divider" }, null, -1)), Be = /* @__PURE__ */ v({
203
203
  __name: "MucCard",
204
204
  props: {
205
205
  title: {},
206
206
  tagline: {}
207
207
  },
208
208
  emits: ["click"],
209
- setup(o, { emit: t }) {
210
- const a = t;
211
- return (s, u) => (n(), r("div", {
209
+ setup(a, { emit: t }) {
210
+ const s = t;
211
+ return (o, i) => (n(), c("div", {
212
212
  class: "card",
213
- onClick: u[0] || (u[0] = (l) => a("click", l))
213
+ onClick: i[0] || (i[0] = (l) => s("click", l))
214
214
  }, [
215
- e("div", ce, [
216
- e("div", le, [
217
- d(s.$slots, "headerPrefix", {}, void 0, !0),
215
+ e("div", Ce, [
216
+ e("div", we, [
217
+ _(o.$slots, "headerPrefix", {}, void 0, !0),
218
218
  e("div", null, [
219
- s.tagline ? (n(), r("div", ue, _(s.tagline), 1)) : f("", !0),
219
+ o.tagline ? (n(), c("div", Se, u(o.tagline), 1)) : $("", !0),
220
220
  e("div", null, [
221
- e("h3", null, _(s.title), 1)
221
+ e("h3", null, u(o.title), 1)
222
222
  ])
223
223
  ])
224
224
  ]),
225
- de,
226
- d(s.$slots, "content", {}, void 0, !0)
225
+ Ie,
226
+ _(o.$slots, "content", {}, void 0, !0)
227
227
  ])
228
228
  ]));
229
229
  }
230
- }), _e = /* @__PURE__ */ A(me, [["__scopeId", "data-v-acf0a1dd"]]), pe = { class: "container card-container" }, he = /* @__PURE__ */ v({
230
+ }), xe = /* @__PURE__ */ x(Be, [["__scopeId", "data-v-acf0a1dd"]]), Ve = { class: "container card-container" }, Ae = /* @__PURE__ */ v({
231
231
  __name: "MucCardContainer",
232
- setup(o) {
233
- return (t, a) => (n(), r("div", pe, [
234
- d(t.$slots, "default", {}, void 0, !0)
232
+ setup(a) {
233
+ return (t, s) => (n(), c("div", Ve, [
234
+ _(t.$slots, "default", {}, void 0, !0)
235
235
  ]));
236
236
  }
237
- }), fe = /* @__PURE__ */ A(he, [["__scopeId", "data-v-6740df8f"]]), ve = { class: "m-comment__head" }, ge = { class: "m-comment__initials" }, ye = { class: "m-comment__info" }, $e = { class: "m-comment__author" }, be = { key: 0 }, Ce = { class: "m-comment__author" }, Me = { class: "m-comment__date" }, ke = ["aria-label"], we = {
237
+ }), Re = /* @__PURE__ */ x(Ae, [["__scopeId", "data-v-6740df8f"]]), Ee = { class: "m-comment__head" }, Le = { class: "m-comment__initials" }, Te = { class: "m-comment__info" }, Oe = { class: "m-comment__author" }, je = { key: 0 }, Ge = { class: "m-comment__author" }, Pe = { class: "m-comment__date" }, qe = ["aria-label"], He = {
238
238
  key: 0,
239
239
  class: "m-star-rating__item m-star-rating__item--half"
240
- }, Se = { class: "m-star-rating__numeric" }, Ie = { class: "m-comment__body" }, Ee = { class: "m-comment__headline" }, Ae = { class: "m-comment__text" }, Be = "de-DE", Le = 0.2, Oe = 0.8, I = 5, D = /* @__PURE__ */ v({
240
+ }, Ne = { class: "m-star-rating__numeric" }, We = { class: "m-comment__body" }, Ue = { class: "m-comment__headline" }, ze = { class: "m-comment__text" }, De = "de-DE", Fe = 0.2, Ke = 0.8, A = 5, F = /* @__PURE__ */ v({
241
241
  __name: "MucComment",
242
242
  props: {
243
243
  rating: {},
244
244
  variant: { default: "listing" }
245
245
  },
246
- setup(o) {
247
- const t = T(), a = o, s = c(() => !!t.date), u = c(() => a.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), l = c(
248
- () => Math.min(Math.max(a.rating, 0), I)
249
- ), g = c(() => l.value.toLocaleString(Be.valueOf(), {
246
+ setup(a) {
247
+ const t = W(), s = a, o = r(() => !!t.date), i = r(() => s.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), l = r(
248
+ () => Math.min(Math.max(s.rating, 0), A)
249
+ ), m = r(() => l.value.toLocaleString(De.valueOf(), {
250
250
  minimumFractionDigits: 1
251
- })), p = c(() => {
252
- const m = +(l.value % 1).toFixed(1);
253
- let k = Math.min(Math.floor(l.value), I), y = Math.floor(I - l.value), i = !1;
254
- return l.value !== 0 && l.value !== I && (m <= Le ? y++ : m >= Oe ? k++ : i = !0), {
255
- fullStars: k,
256
- emptyStars: y,
257
- isHalfStar: i
251
+ })), f = r(() => {
252
+ const h = +(l.value % 1).toFixed(1);
253
+ let C = Math.min(Math.floor(l.value), A), b = Math.floor(A - l.value), d = !1;
254
+ return l.value !== 0 && l.value !== A && (h <= Fe ? b++ : h >= Ke ? C++ : d = !0), {
255
+ fullStars: C,
256
+ emptyStars: b,
257
+ isHalfStar: d
258
258
  };
259
259
  });
260
- return (m, k) => (n(), r("div", {
261
- class: M(["m-comment", u.value])
260
+ return (h, C) => (n(), c("div", {
261
+ class: y(["m-comment", i.value])
262
262
  }, [
263
- e("div", ve, [
264
- e("div", ge, [
265
- d(m.$slots, "initials")
263
+ e("div", Ee, [
264
+ e("div", Le, [
265
+ _(h.$slots, "initials")
266
266
  ]),
267
- e("div", ye, [
268
- e("span", $e, [
269
- d(m.$slots, "author")
267
+ e("div", Te, [
268
+ e("span", Oe, [
269
+ _(h.$slots, "author")
270
270
  ]),
271
- s.value ? (n(), r("span", be, [
272
- e("span", Ce, [
273
- h("  "),
274
- d(m.$slots, "datePrefix")
271
+ o.value ? (n(), c("span", je, [
272
+ e("span", Ge, [
273
+ g("  "),
274
+ _(h.$slots, "datePrefix")
275
275
  ]),
276
- e("span", Me, [
277
- h(" "),
278
- d(m.$slots, "date")
276
+ e("span", Pe, [
277
+ g(" "),
278
+ _(h.$slots, "date")
279
279
  ])
280
- ])) : f("", !0),
280
+ ])) : $("", !0),
281
281
  e("div", {
282
282
  class: "m-star-rating",
283
283
  role: "img",
284
- "aria-label": `Bewertung: ${m.rating} von ${I} Sternen`
284
+ "aria-label": `Bewertung: ${h.rating} von ${A} Sternen`
285
285
  }, [
286
- (n(!0), r(B, null, L(p.value.fullStars, (y) => (n(), r("div", {
287
- key: y,
286
+ (n(!0), c(E, null, L(f.value.fullStars, (b) => (n(), c("div", {
287
+ key: b,
288
288
  class: "m-star-rating__item m-star-rating__item--full"
289
289
  }, [
290
- E($(b), { icon: "solid-star" })
290
+ R(k(B), { icon: "solid-star" })
291
291
  ]))), 128)),
292
- p.value.isHalfStar ? (n(), r("div", we, [
293
- E($(b), { icon: "half-star" })
294
- ])) : f("", !0),
295
- (n(!0), r(B, null, L(p.value.emptyStars, (y) => (n(), r("div", {
296
- key: y,
292
+ f.value.isHalfStar ? (n(), c("div", He, [
293
+ R(k(B), { icon: "half-star" })
294
+ ])) : $("", !0),
295
+ (n(!0), c(E, null, L(f.value.emptyStars, (b) => (n(), c("div", {
296
+ key: b,
297
297
  class: "m-star-rating__item"
298
298
  }, [
299
- E($(b), { icon: "solid-star" })
299
+ R(k(B), { icon: "solid-star" })
300
300
  ]))), 128)),
301
- e("div", Se, _(g.value), 1)
302
- ], 8, ke)
301
+ e("div", Ne, u(m.value), 1)
302
+ ], 8, qe)
303
303
  ])
304
304
  ]),
305
- e("div", Ie, [
306
- e("div", Ee, [
307
- d(m.$slots, "headline")
305
+ e("div", We, [
306
+ e("div", Ue, [
307
+ _(h.$slots, "headline")
308
308
  ]),
309
- e("div", Ae, [
310
- d(m.$slots, "text")
309
+ e("div", ze, [
310
+ _(h.$slots, "text")
311
311
  ])
312
312
  ])
313
313
  ], 2));
314
314
  }
315
- }), Re = " ", Ve = /* @__PURE__ */ v({
315
+ }), Xe = " ", Je = /* @__PURE__ */ v({
316
316
  __name: "MucCommentText",
317
317
  props: {
318
318
  datePrefix: { default: "am" },
@@ -324,63 +324,158 @@ const U = ["href"], b = /* @__PURE__ */ v({
324
324
  rating: {},
325
325
  variant: { default: "listing" }
326
326
  },
327
- setup(o) {
328
- const t = o, a = c(() => ((t.initials ?? t.author.split(Re).map((s) => s.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
329
- return (s, u) => (n(), V($(D), {
330
- rating: s.rating,
331
- variant: s.variant
332
- }, N({
333
- initials: C(() => [
334
- h(_(a.value), 1)
327
+ setup(a) {
328
+ const t = a, s = r(() => ((t.initials ?? t.author.split(Xe).map((o) => o.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
329
+ return (o, i) => (n(), j(k(F), {
330
+ rating: o.rating,
331
+ variant: o.variant
332
+ }, te({
333
+ initials: I(() => [
334
+ g(u(s.value), 1)
335
335
  ]),
336
- datePrefix: C(() => [
337
- h("am")
336
+ datePrefix: I(() => [
337
+ g("am")
338
338
  ]),
339
- author: C(() => [
340
- h(_(s.author), 1)
339
+ author: I(() => [
340
+ g(u(o.author), 1)
341
341
  ]),
342
- headline: C(() => [
343
- h(_(s.headline), 1)
342
+ headline: I(() => [
343
+ g(u(o.headline), 1)
344
344
  ]),
345
- text: C(() => [
346
- h(_(s.text), 1)
345
+ text: I(() => [
346
+ g(u(o.text), 1)
347
347
  ]),
348
348
  _: 2
349
349
  }, [
350
- s.date ? {
350
+ o.date ? {
351
351
  name: "date",
352
- fn: C(() => [
353
- h(_(s.date), 1)
352
+ fn: I(() => [
353
+ g(u(o.date), 1)
354
354
  ]),
355
355
  key: "0"
356
356
  } : void 0
357
357
  ]), 1032, ["rating", "variant"]));
358
358
  }
359
- }), Te = {
359
+ }), Qe = ["checked"], Ye = { class: "m-label m-checkboxes__label" }, Ze = /* @__PURE__ */ v({
360
+ __name: "MucCheckbox",
361
+ props: /* @__PURE__ */ M({
362
+ label: {}
363
+ }, {
364
+ modelValue: { type: Boolean, default: !1 },
365
+ modelModifiers: {}
366
+ }),
367
+ emits: /* @__PURE__ */ M(["click"], ["update:modelValue"]),
368
+ setup(a, { emit: t }) {
369
+ const s = T(a, "modelValue"), o = t, i = () => {
370
+ s.value = !s.value, o("click");
371
+ };
372
+ return (l, m) => (n(), c("div", {
373
+ class: "m-checkboxes__item",
374
+ onClick: i
375
+ }, [
376
+ e("input", {
377
+ class: "m-checkboxes__input",
378
+ name: "checkbox",
379
+ type: "checkbox",
380
+ checked: s.value,
381
+ onClick: U(i, ["stop"])
382
+ }, null, 8, Qe),
383
+ e("label", Ye, u(l.label), 1)
384
+ ]));
385
+ }
386
+ }), et = { class: "m-form-group" }, tt = { class: "m-checkbox-group" }, st = { class: "m-checkbox-group__legend" }, ot = { class: "m-checkbox-group__heading" }, at = { class: "m-checkboxes m-checkboxes--collapse" }, nt = /* @__PURE__ */ e("span", null, "Mehr ", -1), lt = {
387
+ "aria-hidden": "true",
388
+ class: "icon icon--after"
389
+ }, ct = ["href"], it = /* @__PURE__ */ v({
390
+ __name: "MucCheckboxGroup",
391
+ props: {
392
+ heading: {}
393
+ },
394
+ setup(a) {
395
+ const t = O(!0), s = r(() => t.value ? "collapse" : ""), o = r(() => t.value ? "down" : "up"), i = () => t.value = !t.value;
396
+ return (l, m) => (n(), c("div", et, [
397
+ e("fieldset", tt, [
398
+ e("legend", st, [
399
+ e("h3", ot, u(l.heading), 1)
400
+ ]),
401
+ e("div", at, [
402
+ _(l.$slots, "checkboxes"),
403
+ l.$slots.collapsableCheckboxes ? (n(), c("div", {
404
+ key: 0,
405
+ class: y(["m-checkboxes__collapse__container", s.value])
406
+ }, [
407
+ _(l.$slots, "collapsableCheckboxes")
408
+ ], 2)) : $("", !0),
409
+ l.$slots.collapsableCheckboxes ? (n(), j(k(D), {
410
+ key: 1,
411
+ variant: "ghost",
412
+ onClick: i,
413
+ "aria-expanded": !t.value
414
+ }, {
415
+ default: I(() => [
416
+ nt,
417
+ (n(), c("svg", lt, [
418
+ e("use", {
419
+ href: "#icon-chevron-" + o.value
420
+ }, null, 8, ct)
421
+ ]))
422
+ ]),
423
+ _: 1
424
+ }, 8, ["aria-expanded"])) : $("", !0)
425
+ ])
426
+ ])
427
+ ]));
428
+ }
429
+ }), rt = {
430
+ class: "m-error-list",
431
+ role: "alert",
432
+ tabindex: "-1"
433
+ }, ut = { class: "m-error-list__title" }, dt = { class: "m-error-list__body" }, _t = { class: "m-list m-error-list__list" }, mt = /* @__PURE__ */ v({
434
+ __name: "MucErrorList",
435
+ props: {
436
+ title: {},
437
+ errors: {}
438
+ },
439
+ setup(a) {
440
+ const t = a, s = r(
441
+ () => typeof t.errors == "string" ? [t.errors] : t.errors
442
+ );
443
+ return (o, i) => (n(), c("div", rt, [
444
+ e("h2", ut, u(o.title), 1),
445
+ e("div", dt, [
446
+ e("ul", _t, [
447
+ (n(!0), c(E, null, L(s.value, (l, m) => (n(), c("li", { key: m }, [
448
+ e("a", null, u(l), 1)
449
+ ]))), 128))
450
+ ])
451
+ ])
452
+ ]));
453
+ }
454
+ }), pt = {
360
455
  for: "search-input",
361
456
  class: "m-label"
362
- }, De = {
457
+ }, ht = {
363
458
  key: 0,
364
459
  "aria-hidden": "true",
365
460
  class: "mandatory"
366
- }, Pe = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "(erforderlich)", -1), He = {
461
+ }, vt = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "(erforderlich)", -1), ft = {
367
462
  id: "text-input-error",
368
463
  class: "m-error-message"
369
- }, qe = { class: "m-input-wrapper m-autocomplete" }, Fe = {
464
+ }, $t = { class: "m-input-wrapper m-autocomplete" }, gt = {
370
465
  key: 0,
371
466
  class: "m-input__prefix"
372
- }, Ne = ["type", "aria-describedby", "placeholder", "required"], We = {
467
+ }, bt = ["type", "aria-describedby", "placeholder", "required"], yt = {
373
468
  key: 1,
374
469
  class: "autocomplete-result-list autocomplete-result-list--location"
375
- }, je = ["onClick"], ze = {
470
+ }, kt = ["onClick"], Mt = {
376
471
  "aria-hidden": "true",
377
472
  class: "icon"
378
- }, Ue = ["xlink:href"], Xe = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "Suchen", -1), xe = {
473
+ }, Ct = ["xlink:href"], wt = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "Suchen", -1), St = {
379
474
  class: "m-hint",
380
475
  id: "text-input-hint"
381
- }, Ge = /* @__PURE__ */ v({
476
+ }, It = /* @__PURE__ */ v({
382
477
  __name: "MucInput",
383
- props: /* @__PURE__ */ O({
478
+ props: /* @__PURE__ */ M({
384
479
  errorMsg: {},
385
480
  placeholder: {},
386
481
  required: { type: Boolean, default: !1 },
@@ -393,127 +488,316 @@ const U = ["href"], b = /* @__PURE__ */ v({
393
488
  modelValue: { default: "" },
394
489
  modelModifiers: {}
395
490
  }),
396
- emits: /* @__PURE__ */ O(["suffixClick"], ["update:modelValue"]),
397
- setup(o, { emit: t }) {
398
- const a = W(o, "modelValue"), s = o, u = T(), l = t, g = c(() => s.errorMsg ? "has-error" : ""), p = c(() => s.type === "search"), m = c(() => {
399
- if (a.value === "") return [];
400
- const i = a.value.toLowerCase();
401
- return s.datalist.filter(
402
- (w) => w.toLowerCase().startsWith(i) && w.toLowerCase() !== i
491
+ emits: /* @__PURE__ */ M(["suffixClick"], ["update:modelValue"]),
492
+ setup(a, { emit: t }) {
493
+ const s = T(a, "modelValue"), o = a, i = W(), l = t, m = r(() => o.errorMsg ? "has-error" : ""), f = r(() => o.type === "search"), h = r(() => {
494
+ if (s.value === "") return [];
495
+ const d = s.value.toLowerCase();
496
+ return o.datalist.filter(
497
+ (w) => w.toLowerCase().startsWith(d) && w.toLowerCase() !== d
403
498
  );
404
- }), k = (i) => a.value = i, y = () => l("suffixClick");
405
- return (i, w) => (n(), r("div", {
406
- class: M(["m-form-group", g.value])
499
+ }), C = (d) => s.value = d, b = () => l("suffixClick");
500
+ return (d, w) => (n(), c("div", {
501
+ class: y(["m-form-group", m.value])
407
502
  }, [
408
- e("label", Te, [
409
- h(_(i.label) + " ", 1),
410
- i.required ? (n(), r("span", De, [
411
- h(" * "),
412
- Pe
413
- ])) : f("", !0)
503
+ e("label", pt, [
504
+ g(u(d.label) + " ", 1),
505
+ d.required ? (n(), c("span", ht, [
506
+ g(" * "),
507
+ vt
508
+ ])) : $("", !0)
414
509
  ]),
415
- e("p", He, _(i.errorMsg), 1),
416
- e("div", qe, [
417
- u.prefix ? (n(), r("div", Fe, [
510
+ e("p", ft, u(d.errorMsg), 1),
511
+ e("div", $t, [
512
+ i.prefix ? (n(), c("div", gt, [
418
513
  e("span", null, [
419
- d(i.$slots, "prefix")
514
+ _(d.$slots, "prefix")
420
515
  ])
421
- ])) : f("", !0),
422
- j(e("input", {
516
+ ])) : $("", !0),
517
+ z(e("input", {
423
518
  class: "m-input autocomplete-input",
424
- type: i.type,
425
- "onUpdate:modelValue": w[0] || (w[0] = (S) => a.value = S),
426
- "aria-describedby": i.type + "-input",
427
- placeholder: i.placeholder,
428
- required: i.required
429
- }, null, 8, Ne), [
430
- [z, a.value]
519
+ type: d.type,
520
+ "onUpdate:modelValue": w[0] || (w[0] = (S) => s.value = S),
521
+ "aria-describedby": d.type + "-input",
522
+ placeholder: d.placeholder,
523
+ required: d.required
524
+ }, null, 8, bt), [
525
+ [se, s.value]
431
526
  ]),
432
- p.value && m.value.length !== 0 ? (n(), r("ul", We, [
433
- (n(!0), r(B, null, L(m.value, (S) => (n(), r("li", {
527
+ f.value && h.value.length !== 0 ? (n(), c("ul", yt, [
528
+ (n(!0), c(E, null, L(h.value, (S) => (n(), c("li", {
434
529
  class: "autocomplete-result",
435
530
  key: S,
436
- onClick: (rt) => k(S)
437
- }, _(S), 9, je))), 128))
438
- ])) : f("", !0),
439
- i.suffixIcon ? (n(), r("button", {
531
+ onClick: (G) => C(S)
532
+ }, u(S), 9, kt))), 128))
533
+ ])) : $("", !0),
534
+ d.suffixIcon ? (n(), c("button", {
440
535
  key: 2,
441
536
  class: "m-input__suffix",
442
- onClick: y
537
+ onClick: b
443
538
  }, [
444
- (n(), r("svg", ze, [
539
+ (n(), c("svg", Mt, [
445
540
  e("use", {
446
- "xlink:href": "#icon-" + i.suffixIcon
447
- }, null, 8, Ue)
541
+ "xlink:href": "#icon-" + d.suffixIcon
542
+ }, null, 8, Ct)
448
543
  ])),
449
- Xe
450
- ])) : f("", !0)
544
+ wt
545
+ ])) : $("", !0)
451
546
  ]),
452
- e("p", xe, _(i.hint), 1)
547
+ e("p", St, u(d.hint), 1)
453
548
  ], 2));
454
549
  }
455
- }), Je = {
550
+ }), K = Symbol("mucRadioGroup"), Bt = {
551
+ key: 0,
552
+ class: "m-radios__item"
553
+ }, xt = ["checked", "disabled"], Vt = { class: "m-hint" }, At = /* @__PURE__ */ v({
554
+ __name: "MucRadioButton",
555
+ props: {
556
+ value: {},
557
+ label: {},
558
+ hint: {},
559
+ disabled: { type: Boolean, default: !1 }
560
+ },
561
+ setup(a) {
562
+ const t = a, s = oe(K), o = () => s == null ? void 0 : s.set(t.value), i = r(() => (s == null ? void 0 : s.modelValue.value) === t.value), l = r(() => t.disabled || (s == null ? void 0 : s.disabled.value)), m = r(() => !!(s != null && s.disabled));
563
+ return (f, h) => m.value ? (n(), c("div", Bt, [
564
+ e("input", {
565
+ class: "m-radios__input",
566
+ type: "radio",
567
+ checked: i.value,
568
+ disabled: l.value,
569
+ onClick: U(o, ["stop"])
570
+ }, null, 8, xt),
571
+ e("label", {
572
+ class: "m-label m-radios__label",
573
+ onClick: o
574
+ }, [
575
+ g(u(f.label) + " ", 1),
576
+ e("span", Vt, u(f.hint), 1)
577
+ ])
578
+ ])) : $("", !0);
579
+ }
580
+ }), Rt = { class: "m-form-group" }, Et = { class: "m-radio-group" }, Lt = { class: "m-radio-group__legend" }, Tt = { class: "m-radio-group__heading" }, Ot = { class: "m-radios" }, jt = /* @__PURE__ */ v({
581
+ __name: "MucRadioButtonGroup",
582
+ props: /* @__PURE__ */ M({
583
+ heading: {},
584
+ disabled: { type: Boolean, default: !1 }
585
+ }, {
586
+ modelValue: { type: [Boolean, String, Array, Object, Number, null] },
587
+ modelModifiers: {}
588
+ }),
589
+ emits: /* @__PURE__ */ M(["change"], ["update:modelValue"]),
590
+ setup(a, { emit: t }) {
591
+ const s = T(a, "modelValue"), o = a, i = t;
592
+ return ae(K, {
593
+ set: (l) => {
594
+ i("change", l), s.value = l;
595
+ },
596
+ modelValue: s,
597
+ disabled: ne(le(o.disabled))
598
+ }), (l, m) => (n(), c("div", Rt, [
599
+ e("fieldset", Et, [
600
+ e("legend", Lt, [
601
+ e("h3", Tt, u(l.heading), 1)
602
+ ]),
603
+ e("div", Ot, [
604
+ _(l.$slots, "default")
605
+ ])
606
+ ])
607
+ ]));
608
+ }
609
+ }), X = (a) => (H("data-v-d28d341e"), a = a(), N(), a), Gt = { class: "m-form-group" }, Pt = { class: "m-label" }, qt = ["value"], Ht = /* @__PURE__ */ X(() => /* @__PURE__ */ e("svg", {
610
+ "aria-hidden": "true",
611
+ class: "icon"
612
+ }, [
613
+ /* @__PURE__ */ e("use", { "xlink:href": "#icon-chevron-down" })
614
+ ], -1)), Nt = /* @__PURE__ */ X(() => /* @__PURE__ */ e("span", { class: "visually-hidden" }, "Auswahlliste öffnen", -1)), Wt = [
615
+ Ht,
616
+ Nt
617
+ ], Ut = ["onMouseenter", "onClick"], zt = {
618
+ key: 0,
619
+ class: "m-hint"
620
+ }, Dt = /* @__PURE__ */ v({
621
+ __name: "MucSelect",
622
+ props: /* @__PURE__ */ M({
623
+ items: {},
624
+ label: {},
625
+ hint: {},
626
+ multiple: { type: Boolean, default: !1 }
627
+ }, {
628
+ modelValue: {
629
+ default: []
630
+ },
631
+ modelModifiers: {}
632
+ }),
633
+ emits: ["update:modelValue"],
634
+ setup(a) {
635
+ const t = T(a, "modelValue"), s = O(!1), o = O(), i = O(), l = a, m = () => {
636
+ s.value = !s.value, i.value = o.value;
637
+ }, f = (p) => {
638
+ o.value = p, l.multiple ? C(p) : h(p), l.multiple || (s.value = !1);
639
+ }, h = (p) => {
640
+ typeof t.value == "object" && (t.value = t.value.join(" ")), t.value = t.value === p ? "" : p;
641
+ }, C = (p) => {
642
+ typeof t.value == "string" && (t.value = [t.value]), t.value = t.value.includes(p) ? t.value.filter((P) => P !== p) : [...t.value, p];
643
+ }, b = r(() => typeof t.value == "string" ? t.value : t.value.join(l.multiple ? ", " : " ")), d = (p) => p === i.value ? "active" : "", w = (p) => t.value.includes(p) ? "selected" : "", S = () => i.value = "", G = r(
644
+ () => s.value ? "display-listbox" : ""
645
+ ), J = r(
646
+ () => l.multiple ? "m-input-wrapper--multiselect multiselect" : "m-input-wrapper--select"
647
+ );
648
+ return (p, P) => (n(), c("div", Gt, [
649
+ e("label", Pt, u(p.label), 1),
650
+ e("div", {
651
+ class: y(["m-input-wrapper", J.value])
652
+ }, [
653
+ e("input", {
654
+ type: "text",
655
+ class: "m-input m-combobox m-combobox--single",
656
+ value: b.value,
657
+ onClick: m,
658
+ readonly: ""
659
+ }, null, 8, qt),
660
+ e("span", {
661
+ class: "m-input__trigger",
662
+ onClick: m
663
+ }, Wt),
664
+ e("ul", {
665
+ class: y(["listbox", G.value]),
666
+ onMouseleave: S
667
+ }, [
668
+ (n(!0), c(E, null, L(l.items, (V, Q) => (n(), c("li", {
669
+ key: Q,
670
+ class: y(["option", [d(V), w(V)]]),
671
+ onMouseenter: (Y) => i.value = V,
672
+ onClick: (Y) => f(V)
673
+ }, u(V), 43, Ut))), 128))
674
+ ], 34)
675
+ ], 2),
676
+ p.hint ? (n(), c("p", zt, u(p.hint), 1)) : $("", !0)
677
+ ]));
678
+ }
679
+ }), Ft = /* @__PURE__ */ x(Dt, [["__scopeId", "data-v-d28d341e"]]), Kt = { class: "m-form-group has-error" }, Xt = {
680
+ for: "textarea",
681
+ class: "m-label"
682
+ }, Jt = {
683
+ key: 0,
684
+ "aria-hidden": "true",
685
+ class: "mandatory"
686
+ }, Qt = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "(erforderlich)", -1), Yt = { class: "m-error-message" }, Zt = { class: "m-input-wrapper" }, es = ["rows", "placeholder"], ts = { class: "m-hint" }, ss = /* @__PURE__ */ v({
687
+ __name: "MucTextArea",
688
+ props: /* @__PURE__ */ M({
689
+ errorMsg: {},
690
+ rows: { default: 3 },
691
+ placeholder: {},
692
+ label: {},
693
+ hint: {},
694
+ required: { type: Boolean, default: !1 }
695
+ }, {
696
+ modelValue: { default: "" },
697
+ modelModifiers: {}
698
+ }),
699
+ emits: ["update:modelValue"],
700
+ setup(a) {
701
+ const t = T(a, "modelValue");
702
+ return (s, o) => (n(), c("div", Kt, [
703
+ e("label", Xt, [
704
+ g(u(s.label) + " ", 1),
705
+ s.required ? (n(), c("span", Jt, [
706
+ g(" * "),
707
+ Qt
708
+ ])) : $("", !0)
709
+ ]),
710
+ e("p", Yt, u(s.errorMsg), 1),
711
+ e("div", Zt, [
712
+ z(e("textarea", {
713
+ class: "m-textarea",
714
+ rows: s.rows,
715
+ "aria-describedby": "textarea input",
716
+ placeholder: s.placeholder,
717
+ "onUpdate:modelValue": o[0] || (o[0] = (i) => t.value = i)
718
+ }, null, 8, es), [
719
+ [ce, t.value]
720
+ ])
721
+ ]),
722
+ e("p", ts, u(s.hint), 1)
723
+ ]));
724
+ }
725
+ }), os = {
456
726
  class: "m-intro m-intro-static-image",
457
727
  style: { "background-color": "var(--color-neutrals-blue-xlight)" }
458
- }, Ke = { class: "container" }, Qe = { style: { width: "66.6%" } }, Ye = {
728
+ }, as = { class: "container" }, ns = { style: { width: "66.6%" } }, ls = {
459
729
  key: 0,
460
730
  class: "m-intro-vertical__tagline"
461
- }, Ze = { class: "m-intro-vertical__title" }, et = {
731
+ }, cs = { class: "m-intro-vertical__title" }, is = {
462
732
  key: 0,
463
733
  class: "muc-divider"
464
- }, tt = { class: "m-intro-vertical__content" }, st = { style: { "padding-bottom": "32px" } }, nt = /* @__PURE__ */ v({
734
+ }, rs = { class: "m-intro-vertical__content" }, us = { style: { "padding-bottom": "32px" } }, ds = /* @__PURE__ */ v({
465
735
  __name: "MucIntro",
466
736
  props: {
467
737
  title: {},
468
738
  tagline: {},
469
739
  divider: { type: Boolean }
470
740
  },
471
- setup(o) {
472
- return (t, a) => (n(), r("div", Je, [
473
- e("div", Ke, [
474
- e("div", Qe, [
741
+ setup(a) {
742
+ return (t, s) => (n(), c("div", os, [
743
+ e("div", as, [
744
+ e("div", ns, [
475
745
  e("div", null, [
476
- t.tagline ? (n(), r("p", Ye, _(t.tagline), 1)) : f("", !0),
477
- e("h1", Ze, _(t.title), 1)
746
+ t.tagline ? (n(), c("p", ls, u(t.tagline), 1)) : $("", !0),
747
+ e("h1", cs, u(t.title), 1)
478
748
  ]),
479
- t.divider ? (n(), r("div", et)) : f("", !0),
480
- e("div", tt, [
481
- e("p", st, [
482
- d(t.$slots, "default", {}, void 0, !0)
749
+ t.divider ? (n(), c("div", is)) : $("", !0),
750
+ e("div", rs, [
751
+ e("p", us, [
752
+ _(t.$slots, "default", {}, void 0, !0)
483
753
  ])
484
754
  ])
485
755
  ])
486
756
  ])
487
757
  ]));
488
758
  }
489
- }), at = /* @__PURE__ */ A(nt, [["__scopeId", "data-v-9ad3adc7"]]), R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
759
+ }), _s = /* @__PURE__ */ x(ds, [["__scopeId", "data-v-9ad3adc7"]]), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
490
760
  __proto__: null,
491
- MucBanner: J,
492
- MucButton: Q,
493
- MucCallout: re,
494
- MucCard: _e,
495
- MucCardContainer: fe,
496
- MucComment: D,
497
- MucCommentText: Ve,
498
- MucForm: Ge,
499
- MucIcon: b,
500
- MucIntro: at
761
+ MucBanner: _e,
762
+ MucButton: D,
763
+ MucCallout: ke,
764
+ MucCard: xe,
765
+ MucCardContainer: Re,
766
+ MucCheckbox: Ze,
767
+ MucCheckboxGroup: it,
768
+ MucComment: F,
769
+ MucCommentText: Je,
770
+ MucErrorList: mt,
771
+ MucIcon: B,
772
+ MucInput: It,
773
+ MucIntro: _s,
774
+ MucRadioButton: At,
775
+ MucRadioButtonGroup: jt,
776
+ MucSelect: Ft,
777
+ MucTextArea: ss
501
778
  }, Symbol.toStringTag, { value: "Module" }));
502
- function ot(o) {
503
- for (const t in R)
504
- o.component(t, R[t]);
779
+ function ms(a) {
780
+ for (const t in q)
781
+ a.component(t, q[t]);
505
782
  }
506
- const ct = { install: ot };
783
+ const hs = { install: ms };
507
784
  export {
508
- J as MucBanner,
509
- Q as MucButton,
510
- re as MucCallout,
511
- _e as MucCard,
512
- fe as MucCardContainer,
513
- D as MucComment,
514
- Ve as MucCommentText,
515
- Ge as MucForm,
516
- b as MucIcon,
517
- at as MucIntro,
518
- ct as default
785
+ _e as MucBanner,
786
+ D as MucButton,
787
+ ke as MucCallout,
788
+ xe as MucCard,
789
+ Re as MucCardContainer,
790
+ Ze as MucCheckbox,
791
+ it as MucCheckboxGroup,
792
+ F as MucComment,
793
+ Je as MucCommentText,
794
+ mt as MucErrorList,
795
+ B as MucIcon,
796
+ It as MucInput,
797
+ _s as MucIntro,
798
+ At as MucRadioButton,
799
+ jt as MucRadioButtonGroup,
800
+ Ft as MucSelect,
801
+ ss as MucTextArea,
802
+ hs as default
519
803
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "FabianWilms",
4
4
  "description": "A vue component library of some of the components available from https://patternlab.muenchen.space",
5
5
  "license": "MIT",
6
- "version": "1.12.1-beta.2",
6
+ "version": "1.12.1-beta.3",
7
7
  "private": false,
8
8
  "module": "./dist/muc-patternlab-vue.es.js",
9
9
  "types": "./dist/types/index.d.ts",
@@ -5,7 +5,6 @@ import MucForm from "./MucInput.vue";
5
5
  import MucInput from "./MucInput.vue";
6
6
  import MucRadioButton from "./MucRadioButton.vue";
7
7
  import MucRadioButtonGroup from "./MucRadioButtonGroup.vue";
8
- import MucSingleSelect from "./MucSelect.vue";
9
8
  import MucSelect from "./MucSelect.vue";
10
9
  import MucTextArea from "./MucTextArea.vue";
11
10
 
@@ -17,7 +16,6 @@ export {
17
16
  MucInput,
18
17
  MucRadioButton,
19
18
  MucTextArea,
20
- MucSingleSelect,
21
19
  MucErrorList,
22
20
  MucSelect,
23
21
  };
@@ -3,7 +3,16 @@ import { MucButton } from "./Button";
3
3
  import { MucCallout } from "./Callout";
4
4
  import { MucCard, MucCardContainer } from "./Card";
5
5
  import { MucComment, MucCommentText } from "./Comment/";
6
- import { MucForm } from "./Form";
6
+ import {
7
+ MucCheckbox,
8
+ MucCheckboxGroup,
9
+ MucErrorList,
10
+ MucInput,
11
+ MucRadioButton,
12
+ MucRadioButtonGroup,
13
+ MucSelect,
14
+ MucTextArea,
15
+ } from "./Form";
7
16
  import { MucIcon } from "./Icon";
8
17
  import { MucIntro } from "./Intro";
9
18
 
@@ -16,6 +25,13 @@ export {
16
25
  MucCardContainer,
17
26
  MucComment,
18
27
  MucCommentText,
19
- MucForm,
28
+ MucRadioButton,
29
+ MucRadioButtonGroup,
30
+ MucInput,
31
+ MucTextArea,
32
+ MucCheckboxGroup,
33
+ MucCheckbox,
34
+ MucSelect,
35
+ MucErrorList,
20
36
  MucIcon,
21
37
  };