maz-ui 3.46.1-beta.1 → 3.46.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.
Files changed (125) hide show
  1. package/components/MazAccordion.mjs +52 -54
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +2 -3
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCarousel.mjs +1 -1
  7. package/components/MazCheckbox.mjs +3 -5
  8. package/components/MazCircularProgressBar.mjs +3 -5
  9. package/components/MazDialog.mjs +1 -1
  10. package/components/MazDialogPromise.mjs +1 -1
  11. package/components/MazDrawer.mjs +1 -1
  12. package/components/MazDropdown.d.ts +10 -5
  13. package/components/MazDropdown.mjs +158 -135
  14. package/components/MazInput.d.ts +2 -3
  15. package/components/MazInput.mjs +1 -1
  16. package/components/MazInputNumber.mjs +1 -1
  17. package/components/MazInputPrice.mjs +1 -1
  18. package/components/MazInputTags.mjs +1 -1
  19. package/components/MazLink.d.ts +3 -6
  20. package/components/MazLink.mjs +1 -1
  21. package/components/MazPagination.mjs +1 -1
  22. package/components/MazPhoneNumberInput.mjs +1 -1
  23. package/components/MazPicker.mjs +1 -1
  24. package/components/MazRadio.mjs +22 -24
  25. package/components/MazSelect.mjs +1 -1
  26. package/components/MazStepper.d.ts +1 -3
  27. package/components/MazStepper.mjs +1 -1
  28. package/components/MazSwitch.mjs +48 -53
  29. package/components/MazTable.mjs +1 -1
  30. package/components/MazTextarea.mjs +15 -17
  31. package/components/assets/MazAccordion.css +1 -1
  32. package/components/assets/MazBtn.css +1 -1
  33. package/components/assets/MazDropdown.css +1 -1
  34. package/components/assets/MazInput.css +1 -1
  35. package/components/assets/MazInputNumber.css +1 -1
  36. package/components/assets/MazInputPrice.css +1 -1
  37. package/components/assets/MazInputTags.css +1 -1
  38. package/components/assets/MazLink.css +1 -1
  39. package/components/assets/MazPagination.css +1 -1
  40. package/components/assets/MazPhoneNumberInput.css +1 -1
  41. package/components/assets/MazPicker.css +1 -1
  42. package/components/assets/MazSelect.css +1 -1
  43. package/components/assets/MazStepper.css +1 -1
  44. package/components/assets/MazSwitch.css +1 -1
  45. package/components/assets/MazTable.css +1 -1
  46. package/components/chunks/{MazBottomSheet-CLqmon2R.mjs → MazBottomSheet-DQTlEDlz.mjs} +1 -1
  47. package/components/chunks/{MazBtn-Bv2ZJa_R.mjs → MazBtn-6D9MhUfI.mjs} +3 -3
  48. package/components/chunks/{MazBtn-BFG89vCa.mjs → MazBtn-B2A4nNWi.mjs} +3 -3
  49. package/components/chunks/MazBtn-B9mpn5c4.mjs +150 -0
  50. package/components/chunks/{MazBtn-C-RDq3T0.mjs → MazBtn-BTxqbijR.mjs} +2 -2
  51. package/components/chunks/{MazBtn-BnmcF3pl.mjs → MazBtn-BYAmxCNV.mjs} +3 -3
  52. package/components/chunks/{MazBtn-CenD2SP9.mjs → MazBtn-BkBaNYfi.mjs} +3 -3
  53. package/components/chunks/{MazBtn-Vul7kGiM.mjs → MazBtn-BkT-9nbu.mjs} +3 -3
  54. package/components/chunks/{MazBtn-BGoomw9I.mjs → MazBtn-C6b9OPzf.mjs} +3 -3
  55. package/components/chunks/{MazBtn-DDo4jEGz.mjs → MazBtn-CTDhJ_fQ.mjs} +2 -2
  56. package/components/chunks/{MazBtn-qFUqOv5D.mjs → MazBtn-CofOhh-q.mjs} +1 -1
  57. package/components/chunks/{MazBtn-K-VSnuAG.mjs → MazBtn-CwkvhgML.mjs} +3 -3
  58. package/components/chunks/{MazBtn-Eo1kCPXG.mjs → MazBtn-DgmsRNq_.mjs} +3 -3
  59. package/components/chunks/{MazCard-dFVJALiZ.mjs → MazCard-BapktHxt.mjs} +1 -1
  60. package/components/chunks/{MazCarousel-DRN9I_V8.mjs → MazCarousel-DYdWCLk7.mjs} +1 -1
  61. package/components/chunks/{MazCheckbox-Dia9JuH9.mjs → MazCheckbox-SCDhMssn.mjs} +1 -1
  62. package/components/chunks/{MazCheckbox-BOQ3rCJA.mjs → MazCheckbox-q5o-NFLo.mjs} +1 -1
  63. package/components/chunks/{MazDialog-C3DzTTKe.mjs → MazDialog-DbEp5ZrT.mjs} +1 -1
  64. package/components/chunks/{MazDialogPromise-BjfZazCh.mjs → MazDialogPromise-B2WdAwbv.mjs} +2 -2
  65. package/components/chunks/{MazExpandAnimation-B759bjn3.mjs → MazExpandAnimation-BFyvL-vh.mjs} +1 -1
  66. package/components/chunks/{MazGallery-PjwNt897.mjs → MazGallery-HtChfMa_.mjs} +2 -2
  67. package/components/chunks/{MazIcon-DtpY3t9J.mjs → MazIcon-BW5X0uLg.mjs} +1 -1
  68. package/components/chunks/{MazIcon-BJbOf-7v.mjs → MazIcon-DiRrHbn4.mjs} +1 -1
  69. package/components/chunks/{MazInput-5LcE-t8D.mjs → MazInput-fbdOvhry.mjs} +22 -24
  70. package/components/chunks/{MazInputNumber-pU7fZlIW.mjs → MazInputNumber-mu9wEfTT.mjs} +6 -8
  71. package/components/chunks/{MazInputPrice-UT6cliwj.mjs → MazInputPrice-Y6lalrWq.mjs} +48 -50
  72. package/components/chunks/{MazInputTags-BzsHx6uY.mjs → MazInputTags-DVYW4SbE.mjs} +50 -52
  73. package/components/chunks/{MazLink-CJ1canOj.mjs → MazLink-HJI1YmdA.mjs} +1 -1
  74. package/components/chunks/{MazPagination-DUKI8uvV.mjs → MazPagination-BOUDMaJO.mjs} +2 -2
  75. package/components/chunks/{MazPhoneNumberInput-ahQrhENR.mjs → MazPhoneNumberInput-DjWHMKpM.mjs} +6 -8
  76. package/components/chunks/{MazPicker-Cn2DxXy1.mjs → MazPicker-BPH4sy2Q.mjs} +122 -124
  77. package/components/chunks/{MazPickerMonthSwitcher-CdIzIOjf.mjs → MazPickerMonthSwitcher-Ca4BqrF-.mjs} +1 -1
  78. package/components/chunks/{MazPickerShortcuts-AaUGOwAI.mjs → MazPickerShortcuts-Bs2RMdC_.mjs} +1 -1
  79. package/components/chunks/{MazPickerYearSwitcher-DACv6BSw.mjs → MazPickerYearSwitcher-Bg_0ecwk.mjs} +1 -1
  80. package/components/chunks/{MazSelect-DZ86urPA.mjs → MazSelect-BTrnZLF5.mjs} +25 -27
  81. package/components/chunks/{MazSpinner-CdU57yPz.mjs → MazSpinner-2KA4ECS_.mjs} +1 -1
  82. package/components/chunks/{MazSpinner-CeYCrySe.mjs → MazSpinner-38KAnd2e.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-BMvssNh7.mjs → MazSpinner-AyzqowuD.mjs} +1 -1
  84. package/components/chunks/{MazSpinner-C6h_11fE.mjs → MazSpinner-BAHWcgal.mjs} +1 -1
  85. package/components/chunks/{MazSpinner-BeSrV4iQ.mjs → MazSpinner-BLp7sE5i.mjs} +1 -1
  86. package/components/chunks/{MazSpinner-CcJPx_Iu.mjs → MazSpinner-BhFMGOGc.mjs} +1 -1
  87. package/components/chunks/MazSpinner-C91Lm_Xp.mjs +37 -0
  88. package/components/chunks/{MazSpinner-3ooF5FSo.mjs → MazSpinner-CCIMQLA1.mjs} +1 -1
  89. package/components/chunks/MazSpinner-CLQy7iCO.mjs +37 -0
  90. package/components/chunks/{MazSpinner-DWSwrXt3.mjs → MazSpinner-CLfp6QHS.mjs} +1 -1
  91. package/components/chunks/{MazSpinner-2uMOZ47T.mjs → MazSpinner-CShEq13p.mjs} +1 -1
  92. package/components/chunks/MazSpinner-D7CMPaDb.mjs +37 -0
  93. package/components/chunks/MazSpinner-D8uk4SQh.mjs +37 -0
  94. package/components/chunks/{MazSpinner-Dr_lfVQQ.mjs → MazSpinner-D9K-TsT7.mjs} +1 -1
  95. package/components/chunks/{MazSpinner-Bxtc-bgP.mjs → MazSpinner-JgB1pud8.mjs} +1 -1
  96. package/components/chunks/MazSpinner-hPbKGN5o.mjs +37 -0
  97. package/components/chunks/{MazStepper-Bnl68Adw.mjs → MazStepper-BmCk5RfP.mjs} +4 -4
  98. package/components/chunks/{MazTable-CverwWXf.mjs → MazTable-DsZV0t--.mjs} +7 -9
  99. package/components/chunks/{MazTransitionExpand-C1PC0VLx.mjs → MazTransitionExpand-D9pcEmUk.mjs} +1 -1
  100. package/components/types.d.ts +2 -0
  101. package/modules/assets/MazBtn.css +1 -1
  102. package/modules/chunks/{MazBtn-O5zWLH6k.cjs → MazBtn-B5URGSZl.cjs} +2 -2
  103. package/modules/chunks/{MazBtn-VbPzVjkw.mjs → MazBtn-DRuL8cjg.mjs} +3 -3
  104. package/modules/chunks/{MazIcon-5tUs5Esl.cjs → MazIcon-BskR2yy9.cjs} +1 -1
  105. package/modules/chunks/{MazIcon-B-f-2ZQG.mjs → MazIcon-CKc-vAA8.mjs} +1 -1
  106. package/modules/chunks/{MazSpinner-fEByRc1j.mjs → MazSpinner-g6fliUmS.mjs} +1 -1
  107. package/modules/chunks/{MazSpinner-BUSCYYJR.cjs → MazSpinner-zX9CPyJB.cjs} +1 -1
  108. package/modules/chunks/{index-Bos4zUyQ.cjs → index-BLdtEKD5.cjs} +4 -4
  109. package/modules/chunks/{index-B26Eo5t8.mjs → index-Bpj_Jr6I.mjs} +341 -343
  110. package/modules/index.cjs +1 -1
  111. package/modules/index.mjs +1 -1
  112. package/nuxt/index.json +1 -1
  113. package/package.json +1 -1
  114. package/types/components/MazBtn.vue.d.ts +2 -3
  115. package/types/components/MazDropdown.vue.d.ts +10 -5
  116. package/types/components/MazInput.vue.d.ts +2 -3
  117. package/types/components/MazLink.vue.d.ts +3 -6
  118. package/types/components/MazStepper.vue.d.ts +1 -3
  119. package/types/components/types.d.ts +2 -0
  120. package/components/chunks/MazBtn-Da2iB5Ca.mjs +0 -150
  121. package/components/chunks/MazSpinner-CrqkORnB.mjs +0 -37
  122. package/components/chunks/MazSpinner-DCpFSO05.mjs +0 -37
  123. package/components/chunks/MazSpinner-XWBim6LV.mjs +0 -37
  124. package/components/chunks/MazSpinner-ciJGzV8j.mjs +0 -37
  125. package/components/chunks/MazSpinner-dU5ZzoYV.mjs +0 -37
@@ -1,4 +1,4 @@
1
- import { openBlock as p, createElementBlock as b, createElementVNode as u, computed as g, getCurrentInstance as A, defineComponent as C, useCssVars as V, ref as f, onMounted as O, onUnmounted as B, normalizeClass as $, normalizeStyle as w, renderSlot as h, withDirectives as E, vShow as z, mergeModels as x, useModel as I, mergeProps as L, createCommentVNode as N, useSlots as j, Fragment as D, renderList as F, createBlock as R, withCtx as M, unref as y, createVNode as S } from "vue";
1
+ import { openBlock as p, createElementBlock as b, createElementVNode as u, useId as A, computed as g, defineComponent as k, useCssVars as V, ref as f, onMounted as O, onUnmounted as B, normalizeClass as $, normalizeStyle as w, renderSlot as h, withDirectives as E, vShow as z, mergeModels as x, useModel as I, mergeProps as L, createCommentVNode as N, useSlots as j, Fragment as D, renderList as F, createBlock as R, withCtx as M, unref as y, createVNode as S } from "vue";
2
2
  import './assets/MazAccordion.css';const P = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -28,12 +28,10 @@ function q({
28
28
  componentName: r,
29
29
  providedId: t
30
30
  }) {
31
- return g(() => {
32
- var n;
33
- return t ?? `${r}-${(n = A()) == null ? void 0 : n.uid}`;
34
- });
31
+ const a = A();
32
+ return g(() => t ?? `${r}-${a}`);
35
33
  }
36
- const H = { class: "inner" }, W = /* @__PURE__ */ C({
34
+ const H = { class: "inner" }, W = /* @__PURE__ */ k({
37
35
  __name: "MazCardSpotlight",
38
36
  props: {
39
37
  color: { default: "primary" },
@@ -46,14 +44,14 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
46
44
  setup(r) {
47
45
  V((d) => ({
48
46
  "829b4eb4": d.innerOpacity,
49
- "57453cb6": o.value
47
+ "57453cb6": n.value
50
48
  }));
51
- const t = r, n = f(), l = f(), i = f(!1);
49
+ const t = r, a = f(), l = f(), i = f(!1);
52
50
  function m({ clientX: d, clientY: c }) {
53
- var e, _, a;
51
+ var e, _, o;
54
52
  i.value = !0;
55
53
  const v = (e = l.value) == null ? void 0 : e.getBoundingClientRect();
56
- v && ((a = (_ = n.value) == null ? void 0 : _.animate) == null || a.call(
54
+ v && ((o = (_ = a.value) == null ? void 0 : _.animate) == null || o.call(
57
55
  _,
58
56
  [
59
57
  {
@@ -66,7 +64,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
66
64
  }
67
65
  ));
68
66
  }
69
- const o = g(() => `var(--maz-color-${t.color}-alpha)`), s = g(() => `var(--maz-color-${t.color}-alpha-20)`);
67
+ const n = g(() => `var(--maz-color-${t.color}-alpha)`), s = g(() => `var(--maz-color-${t.color}-alpha-20)`);
70
68
  return O(() => {
71
69
  window.addEventListener("mousemove", m);
72
70
  }), B(() => {
@@ -95,9 +93,9 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
95
93
  "div",
96
94
  {
97
95
  ref_key: "blobElement",
98
- ref: n,
96
+ ref: a,
99
97
  class: "blob",
100
- style: w({ backgroundColor: o.value })
98
+ style: w({ backgroundColor: n.value })
101
99
  },
102
100
  null,
103
101
  4
@@ -123,12 +121,12 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
123
121
  /* CLASS, STYLE */
124
122
  ));
125
123
  }
126
- }), k = (r, t) => {
127
- const n = r.__vccOpts || r;
124
+ }), C = (r, t) => {
125
+ const a = r.__vccOpts || r;
128
126
  for (const [l, i] of t)
129
- n[l] = i;
130
- return n;
131
- }, G = /* @__PURE__ */ k(W, [["__scopeId", "data-v-a4cc15ae"]]), J = ["aria-hidden"], K = /* @__PURE__ */ C({
127
+ a[l] = i;
128
+ return a;
129
+ }, G = /* @__PURE__ */ C(W, [["__scopeId", "data-v-a4cc15ae"]]), J = ["aria-hidden"], K = /* @__PURE__ */ k({
132
130
  inheritAttrs: !1,
133
131
  __name: "MazExpandAnimation",
134
132
  props: /* @__PURE__ */ x({
@@ -140,24 +138,24 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
140
138
  }),
141
139
  emits: ["update:modelValue"],
142
140
  setup(r) {
143
- V((o) => ({
144
- "3628b947": o.duration,
145
- "239277b5": o.timingFunction
141
+ V((n) => ({
142
+ "3628b947": n.duration,
143
+ "239277b5": n.timingFunction
146
144
  }));
147
- const t = I(r, "modelValue"), n = f(!t.value), l = f();
145
+ const t = I(r, "modelValue"), a = f(!t.value), l = f();
148
146
  function i() {
149
- t.value || (n.value = !0);
147
+ t.value || (a.value = !0);
150
148
  }
151
149
  function m() {
152
- t.value && (n.value = !1);
150
+ t.value && (a.value = !1);
153
151
  }
154
152
  return O(() => {
155
- var o, s;
156
- (o = l.value) == null || o.addEventListener("transitionstart", i, !1), (s = l.value) == null || s.addEventListener("transitionend", m, !1);
153
+ var n, s;
154
+ (n = l.value) == null || n.addEventListener("transitionstart", i, !1), (s = l.value) == null || s.addEventListener("transitionend", m, !1);
157
155
  }), B(() => {
158
- var o, s;
159
- (o = l.value) == null || o.removeEventListener("transitionstart", i, !1), (s = l.value) == null || s.removeEventListener("transitionend", m, !1);
160
- }), (o, s) => (p(), b("div", {
156
+ var n, s;
157
+ (n = l.value) == null || n.removeEventListener("transitionstart", i, !1), (s = l.value) == null || s.removeEventListener("transitionend", m, !1);
158
+ }), (n, s) => (p(), b("div", {
161
159
  ref_key: "expandAnimationRef",
162
160
  ref: l,
163
161
  class: $(["m-expand-animation", { "m-expand-animation--expanded": t.value }]),
@@ -166,24 +164,24 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
166
164
  }, [
167
165
  u(
168
166
  "div",
169
- L({ class: "m-expand-animation__inner" }, o.$attrs, {
167
+ L({ class: "m-expand-animation__inner" }, n.$attrs, {
170
168
  class: {
171
- "--overflow-hidden": n.value
169
+ "--overflow-hidden": a.value
172
170
  }
173
171
  }),
174
172
  [
175
173
  N(" @slot Default Slot - Display content "),
176
- h(o.$slots, "default", {}, void 0, !0)
174
+ h(n.$slots, "default", {}, void 0, !0)
177
175
  ],
178
176
  16
179
177
  /* FULL_PROPS */
180
178
  )
181
179
  ], 10, J));
182
180
  }
183
- }), Q = /* @__PURE__ */ k(K, [["__scopeId", "data-v-b7ca6b97"]]), X = {
181
+ }), Q = /* @__PURE__ */ C(K, [["__scopeId", "data-v-b7ca6b97"]]), X = {
184
182
  class: "m-accordion",
185
183
  role: "presentation"
186
- }, Y = ["id", "aria-controls", "aria-expanded", "onClick"], Z = /* @__PURE__ */ C({
184
+ }, Y = ["id", "aria-controls", "aria-expanded", "onClick"], Z = /* @__PURE__ */ k({
187
185
  __name: "MazAccordion",
188
186
  props: {
189
187
  id: { default: void 0 },
@@ -192,13 +190,13 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
192
190
  },
193
191
  emits: ["update:model-value"],
194
192
  setup(r, { emit: t }) {
195
- const n = r, l = t, i = q({
193
+ const a = r, l = t, i = q({
196
194
  componentName: "MazAccordion",
197
- providedId: n.id
198
- }), m = j(), o = g(
195
+ providedId: a.id
196
+ }), m = j(), n = g(
199
197
  () => Object.keys(m).filter((e) => e.startsWith("title-")).length
200
- ), s = f(n.modelValue), d = g({
201
- get: () => n.modelValue || s.value,
198
+ ), s = f(a.modelValue), d = g({
199
+ get: () => a.modelValue || s.value,
202
200
  set: (e) => {
203
201
  s.value = e, l("update:model-value", e);
204
202
  }
@@ -213,33 +211,33 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
213
211
  (p(!0), b(
214
212
  D,
215
213
  null,
216
- F(o.value, (a) => (p(), R(
214
+ F(n.value, (o) => (p(), R(
217
215
  G,
218
216
  {
219
- key: a,
217
+ key: o,
220
218
  class: "m-accordion__spotlight",
221
219
  padding: !1
222
220
  },
223
221
  {
224
222
  default: M(() => [
225
223
  u("button", {
226
- id: `step-${a}-${y(i)}`,
224
+ id: `step-${o}-${y(i)}`,
227
225
  class: "m-accordion__header",
228
- "aria-controls": `step-${a}-${y(i)}`,
229
- "aria-expanded": c(a),
230
- onClick: (ee) => v(a)
226
+ "aria-controls": `step-${o}-${y(i)}`,
227
+ "aria-expanded": c(o),
228
+ onClick: (ee) => v(o)
231
229
  }, [
232
- h(e.$slots, `title-${a}`, {
233
- isOpen: c(a)
230
+ h(e.$slots, `title-${o}`, {
231
+ isOpen: c(o)
234
232
  }, void 0, !0),
235
233
  S(y(U), {
236
- class: $(["header-icon", { "--rotate": c(a) }])
234
+ class: $(["header-icon", { "--rotate": c(o) }])
237
235
  }, null, 8, ["class"])
238
236
  ], 8, Y),
239
237
  S(Q, {
240
238
  "animation-duration": "300ms",
241
- "model-value": c(a),
242
- "aria-labelledby": `step-${a}-${y(i)}`
239
+ "model-value": c(o),
240
+ "aria-labelledby": `step-${o}-${y(i)}`
243
241
  }, {
244
242
  default: M(() => [
245
243
  u(
@@ -249,10 +247,10 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
249
247
  },
250
248
  [
251
249
  h(e.$slots, "content", {
252
- isOpen: c(a)
250
+ isOpen: c(o)
253
251
  }, void 0, !0),
254
- h(e.$slots, `content-${a}`, {
255
- isOpen: c(a)
252
+ h(e.$slots, `content-${o}`, {
253
+ isOpen: c(o)
256
254
  }, void 0, !0)
257
255
  ],
258
256
  2
@@ -274,7 +272,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ C({
274
272
  ))
275
273
  ]));
276
274
  }
277
- }), ne = /* @__PURE__ */ k(Z, [["__scopeId", "data-v-6bc141bc"]]);
275
+ }), ne = /* @__PURE__ */ C(Z, [["__scopeId", "data-v-052b6500"]]);
278
276
  export {
279
277
  ne as default
280
278
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBottomSheet-CLqmon2R.mjs";
1
+ import { M as f } from "./chunks/MazBottomSheet-DQTlEDlz.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,6 @@
1
- import type { Color, Size } from './types';
2
- import { type Component, type ComponentPublicInstance, type FunctionalComponent, type HTMLAttributes, type SVGAttributes } from 'vue';
1
+ import type { Color, Icon, Size } from './types';
2
+ import { type HTMLAttributes } from 'vue';
3
3
  export type { Color, Size };
4
- export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
5
4
  export interface Props {
6
5
  /**
7
6
  * The variant of the button - Change UI of component (link or button style)
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBtn-DDo4jEGz.mjs";
1
+ import { M as f } from "./chunks/MazBtn-CTDhJ_fQ.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCard-dFVJALiZ.mjs";
1
+ import { M as f } from "./chunks/MazCard-BapktHxt.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-DRN9I_V8.mjs";
1
+ import { M as f } from "./chunks/MazCarousel-DYdWCLk7.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,10 @@
1
- import { computed as l, getCurrentInstance as S, openBlock as f, createElementBlock as p, createElementVNode as c, defineComponent as N, useCssVars as _, ref as E, unref as i, normalizeClass as m, normalizeStyle as A, mergeProps as $, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as k, createCommentVNode as j } from "vue";
1
+ import { useId as S, computed as l, openBlock as f, createElementBlock as p, createElementVNode as c, defineComponent as N, useCssVars as _, ref as E, unref as i, normalizeClass as m, normalizeStyle as A, mergeProps as $, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as k, createCommentVNode as j } from "vue";
2
2
  import './assets/MazCheckbox.css';function q({
3
3
  componentName: n,
4
4
  providedId: a
5
5
  }) {
6
- return l(() => {
7
- var o;
8
- return a ?? `${n}-${(o = S()) == null ? void 0 : o.uid}`;
9
- });
6
+ const o = S();
7
+ return l(() => a ?? `${n}-${o}`);
10
8
  }
11
9
  const F = {
12
10
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,12 +1,10 @@
1
- import { computed as r, getCurrentInstance as w, defineComponent as _, useCssVars as $, useSlots as y, ref as S, watch as B, openBlock as p, createElementBlock as v, normalizeClass as P, createElementVNode as n, renderSlot as l, createTextVNode as i, toDisplayString as u, createCommentVNode as m, normalizeStyle as A, unref as g, createBlock as M, createSlots as I, withCtx as k } from "vue";
1
+ import { useId as w, computed as r, defineComponent as _, useCssVars as $, useSlots as y, ref as S, watch as B, openBlock as p, createElementBlock as v, normalizeClass as P, createElementVNode as n, renderSlot as l, createTextVNode as i, toDisplayString as u, createCommentVNode as m, normalizeStyle as A, unref as g, createBlock as M, createSlots as I, withCtx as k } from "vue";
2
2
  import './assets/MazCircularProgressBar.css';function N({
3
3
  componentName: a,
4
4
  providedId: e
5
5
  }) {
6
- return r(() => {
7
- var s;
8
- return e ?? `${a}-${(s = w()) == null ? void 0 : s.uid}`;
9
- });
6
+ const s = w();
7
+ return r(() => e ?? `${a}-${s}`);
10
8
  }
11
9
  const V = { class: "maz-sr-only" }, D = {
12
10
  key: 0,
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-C3DzTTKe.mjs";
1
+ import { M as f } from "./chunks/MazDialog-DbEp5ZrT.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as o, u as s } from "./chunks/MazDialogPromise-BjfZazCh.mjs";
1
+ import { a as o, u as s } from "./chunks/MazDialogPromise-B2WdAwbv.mjs";
2
2
  export {
3
3
  o as default,
4
4
  s as useMazDialogPromise
@@ -128,7 +128,7 @@ import './assets/MazDrawer.css';const A = "--backdrop-present", U = /* @__PURE__
128
128
  },
129
129
  emits: ["before-close", "open", "close", "update:model-value"],
130
130
  setup(b) {
131
- const i = B(() => import("./chunks/MazBtn-C-RDq3T0.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-CnZwVvA7.mjs"));
131
+ const i = B(() => import("./chunks/MazBtn-BTxqbijR.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-CnZwVvA7.mjs"));
132
132
  return (e, t) => (r(), h(U, {
133
133
  "backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
134
134
  style: F({
@@ -1,6 +1,6 @@
1
1
  import type { RouteLocationRaw } from 'vue-router';
2
2
  import type { Color } from './MazBtn.vue';
3
- import type { Props as MazLinkProps } from './MazLink.vue';
3
+ import type { MazLinkProps } from './MazLink.vue';
4
4
  import type { Position } from './types';
5
5
  import { type HTMLAttributes } from 'vue';
6
6
  export type { Color, Position };
@@ -24,10 +24,15 @@ export type MenuItem = (LinkItem & {
24
24
  to?: never;
25
25
  target?: never;
26
26
  });
27
- export interface Props {
27
+ export interface MazDropdownProps {
28
+ /** Style object */
28
29
  style?: HTMLAttributes['style'];
30
+ /** Class name */
29
31
  class?: HTMLAttributes['class'];
30
- /** Menu items */
32
+ /**
33
+ * Menu items
34
+ * @default '[]'
35
+ */
31
36
  items?: MenuItem[];
32
37
  /** Menu should be open? */
33
38
  open?: boolean;
@@ -104,10 +109,10 @@ declare function __VLS_template(): {
104
109
  attrs: Partial<{}>;
105
110
  };
106
111
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
107
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
112
+ declare const __VLS_component: import("vue").DefineComponent<MazDropdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
108
113
  "menuitem-clicked": (event: Event) => any;
109
114
  "update:open": (value: boolean) => any;
110
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
115
+ }, string, import("vue").PublicProps, Readonly<MazDropdownProps> & Readonly<{
111
116
  "onMenuitem-clicked"?: ((event: Event) => any) | undefined;
112
117
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
113
118
  }>, {