maz-ui 3.46.1-beta.4 → 3.46.1-beta.5

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 (138) hide show
  1. package/components/MazAccordion.d.ts +1 -1
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +0 -4
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCardSpotlight.d.ts +1 -1
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazCheckbox.mjs +61 -61
  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 +4 -0
  13. package/components/MazDropdown.mjs +98 -93
  14. package/components/MazIcon.mjs +55 -67
  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.mjs +1 -1
  20. package/components/MazPagination.mjs +1 -1
  21. package/components/MazPhoneNumberInput.mjs +1 -1
  22. package/components/MazPicker.mjs +1 -1
  23. package/components/MazSelect.mjs +1 -1
  24. package/components/MazStepper.mjs +1 -1
  25. package/components/MazSwitch.mjs +33 -33
  26. package/components/MazTable.d.ts +32 -3
  27. package/components/MazTable.mjs +1 -1
  28. package/components/assets/MazBtn.css +1 -1
  29. package/components/assets/MazCheckbox.css +1 -1
  30. package/components/assets/MazDropdown.css +1 -1
  31. package/components/assets/MazInputNumber.css +1 -1
  32. package/components/assets/MazInputTags.css +1 -1
  33. package/components/assets/MazPagination.css +1 -1
  34. package/components/assets/MazPicker.css +1 -1
  35. package/components/assets/MazSwitch.css +1 -1
  36. package/components/assets/MazTable.css +1 -1
  37. package/components/chunks/{MazBottomSheet-DQTlEDlz.mjs → MazBottomSheet-s9lLaK1M.mjs} +1 -1
  38. package/components/chunks/MazBtn-BMmuCciQ.mjs +116 -0
  39. package/components/chunks/MazBtn-BXdap6JU.mjs +116 -0
  40. package/components/chunks/MazBtn-CHABo63Y.mjs +116 -0
  41. package/components/chunks/MazBtn-CVB5qDjV.mjs +121 -0
  42. package/components/chunks/MazBtn-CXxOU7fp.mjs +116 -0
  43. package/components/chunks/MazBtn-CZSXnr3w.mjs +116 -0
  44. package/components/chunks/MazBtn-CwYBz6QO.mjs +116 -0
  45. package/components/chunks/MazBtn-DIE2eM-g.mjs +116 -0
  46. package/components/chunks/MazBtn-DKD-ZMaF.mjs +116 -0
  47. package/components/chunks/MazBtn-DarjZUV4.mjs +124 -0
  48. package/components/chunks/MazBtn-OKT5-Y4s.mjs +116 -0
  49. package/components/chunks/MazBtn-e3abHT2L.mjs +116 -0
  50. package/components/chunks/{MazCard-BapktHxt.mjs → MazCard-BaJ5Ee3I.mjs} +1 -1
  51. package/components/chunks/{MazCarousel-DYdWCLk7.mjs → MazCarousel-Bb4fpVqN.mjs} +1 -1
  52. package/components/chunks/{MazCheckbox-DOYkVPMK.mjs → MazCheckbox-8n6NtRBb.mjs} +32 -32
  53. package/components/chunks/{MazCheckbox-m1322Y67.mjs → MazCheckbox-C4diNXJq.mjs} +32 -32
  54. package/components/chunks/{MazDialog-DbEp5ZrT.mjs → MazDialog-Bv2PzQBz.mjs} +1 -1
  55. package/components/chunks/{MazDialogPromise-B2WdAwbv.mjs → MazDialogPromise-BZLP9sXZ.mjs} +2 -2
  56. package/components/chunks/{MazExpandAnimation-BFyvL-vh.mjs → MazExpandAnimation-Bkw_wFTi.mjs} +1 -1
  57. package/components/chunks/{MazGallery-HtChfMa_.mjs → MazGallery-C9secrXc.mjs} +2 -2
  58. package/components/chunks/MazIcon-BaJm2s8_.mjs +101 -0
  59. package/components/chunks/MazIcon-BbvBov5G.mjs +106 -0
  60. package/components/chunks/MazIcon-CudB1a0D.mjs +101 -0
  61. package/components/chunks/{MazInput-fbdOvhry.mjs → MazInput-B3RzuuNv.mjs} +1 -1
  62. package/components/chunks/{MazInputNumber-mu9wEfTT.mjs → MazInputNumber-mLgq5obR.mjs} +198 -232
  63. package/components/chunks/{MazInputPrice-Y6lalrWq.mjs → MazInputPrice-DhYRBqTS.mjs} +1 -1
  64. package/components/chunks/{MazInputTags-DVYW4SbE.mjs → MazInputTags-DinwbXaD.mjs} +201 -238
  65. package/components/chunks/{MazLink-HJI1YmdA.mjs → MazLink-Dl9ePCGm.mjs} +1 -1
  66. package/components/chunks/MazPagination-Cqnr19iI.mjs +360 -0
  67. package/components/chunks/{MazPhoneNumberInput-BbeofPj5.mjs → MazPhoneNumberInput-C3GdtqN2.mjs} +3 -3
  68. package/components/chunks/{MazPicker-BPH4sy2Q.mjs → MazPicker-DA92HhwS.mjs} +541 -575
  69. package/components/chunks/{MazPickerMonthSwitcher-Ca4BqrF-.mjs → MazPickerMonthSwitcher-CPWkw0Hq.mjs} +1 -1
  70. package/components/chunks/{MazPickerShortcuts-Bs2RMdC_.mjs → MazPickerShortcuts-Fwcoqg5M.mjs} +1 -1
  71. package/components/chunks/{MazPickerYearSwitcher-Bg_0ecwk.mjs → MazPickerYearSwitcher-DfSXPGfT.mjs} +1 -1
  72. package/components/chunks/{MazSelect-CUo_OXDp.mjs → MazSelect-DPTuyc26.mjs} +2 -2
  73. package/components/chunks/MazSpinner-B-mc1FWS.mjs +37 -0
  74. package/components/chunks/{MazSpinner-Cl4Yy1dv.mjs → MazSpinner-BCHAzmqS.mjs} +1 -1
  75. package/components/chunks/{MazSpinner-BAHWcgal.mjs → MazSpinner-BCQzF6j-.mjs} +1 -1
  76. package/components/chunks/{MazSpinner-BLp7sE5i.mjs → MazSpinner-BEqvmPiV.mjs} +1 -1
  77. package/components/chunks/MazSpinner-BoG1T_ZX.mjs +37 -0
  78. package/components/chunks/MazSpinner-BpjK60ul.mjs +37 -0
  79. package/components/chunks/{MazSpinner-CShEq13p.mjs → MazSpinner-C2ok6AlJ.mjs} +1 -1
  80. package/components/chunks/{MazSpinner-CLfp6QHS.mjs → MazSpinner-CFJmcsGl.mjs} +1 -1
  81. package/components/chunks/{MazSpinner-D9K-TsT7.mjs → MazSpinner-CVBz5HIx.mjs} +1 -1
  82. package/components/chunks/{MazSpinner-BhFMGOGc.mjs → MazSpinner-DEdQlQr1.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-AyzqowuD.mjs → MazSpinner-DhHVVBJE.mjs} +1 -1
  84. package/components/chunks/MazSpinner-DuGaC-cw.mjs +37 -0
  85. package/components/chunks/MazSpinner-Iwon82He.mjs +37 -0
  86. package/components/chunks/MazSpinner-JbfjMNFL.mjs +37 -0
  87. package/components/chunks/{MazSpinner-2KA4ECS_.mjs → MazSpinner-QgcgF5j5.mjs} +1 -1
  88. package/components/chunks/MazSpinner-yQGVxaFm.mjs +37 -0
  89. package/components/chunks/{MazStepper-BmCk5RfP.mjs → MazStepper-DRWtYHZR.mjs} +1 -1
  90. package/components/chunks/MazTable-CrtVI-dp.mjs +2015 -0
  91. package/components/chunks/{MazTransitionExpand-D9pcEmUk.mjs → MazTransitionExpand-BoTQeNNf.mjs} +1 -1
  92. package/css/main.css +1 -1
  93. package/modules/assets/MazBtn.css +1 -1
  94. package/modules/chunks/MazBtn-BG2dUdHV.cjs +9 -0
  95. package/modules/chunks/MazBtn-BeqYSSYI.mjs +116 -0
  96. package/modules/chunks/MazIcon-BqfELHOt.mjs +101 -0
  97. package/modules/chunks/MazIcon-RkWxQ8JM.cjs +1 -0
  98. package/modules/chunks/{MazSpinner-g6fliUmS.mjs → MazSpinner-DgSRxVEo.mjs} +1 -1
  99. package/modules/chunks/{MazSpinner-zX9CPyJB.cjs → MazSpinner-GfL807jq.cjs} +1 -1
  100. package/modules/chunks/{index-BLdtEKD5.cjs → index-CE2CsQsx.cjs} +4 -4
  101. package/modules/chunks/{index-Bpj_Jr6I.mjs → index-aKGx1nxl.mjs} +4 -4
  102. package/modules/index.cjs +1 -1
  103. package/modules/index.mjs +1 -1
  104. package/nuxt/index.json +1 -1
  105. package/package.json +1 -1
  106. package/types/components/MazAccordion.vue.d.ts +1 -1
  107. package/types/components/MazBtn.vue.d.ts +0 -4
  108. package/types/components/MazCardSpotlight.vue.d.ts +1 -1
  109. package/types/components/MazDropdown.vue.d.ts +4 -0
  110. package/types/components/MazTable.vue.d.ts +32 -3
  111. package/components/chunks/MazBtn-B2A4nNWi.mjs +0 -150
  112. package/components/chunks/MazBtn-BTxqbijR.mjs +0 -158
  113. package/components/chunks/MazBtn-BYAmxCNV.mjs +0 -150
  114. package/components/chunks/MazBtn-BkBaNYfi.mjs +0 -150
  115. package/components/chunks/MazBtn-BkT-9nbu.mjs +0 -150
  116. package/components/chunks/MazBtn-C6b9OPzf.mjs +0 -150
  117. package/components/chunks/MazBtn-CAioWjHE.mjs +0 -150
  118. package/components/chunks/MazBtn-CTDhJ_fQ.mjs +0 -155
  119. package/components/chunks/MazBtn-CofOhh-q.mjs +0 -150
  120. package/components/chunks/MazBtn-CwkvhgML.mjs +0 -150
  121. package/components/chunks/MazBtn-DHFCbHI5.mjs +0 -150
  122. package/components/chunks/MazBtn-DgmsRNq_.mjs +0 -150
  123. package/components/chunks/MazIcon-BDGxCy9M.mjs +0 -118
  124. package/components/chunks/MazIcon-YNJa-F5Z.mjs +0 -113
  125. package/components/chunks/MazIcon-wDqK0Xre.mjs +0 -113
  126. package/components/chunks/MazPagination-BOUDMaJO.mjs +0 -394
  127. package/components/chunks/MazSpinner-C91Lm_Xp.mjs +0 -37
  128. package/components/chunks/MazSpinner-CCIMQLA1.mjs +0 -37
  129. package/components/chunks/MazSpinner-Ch7Qhq1M.mjs +0 -37
  130. package/components/chunks/MazSpinner-D7CMPaDb.mjs +0 -37
  131. package/components/chunks/MazSpinner-D8uk4SQh.mjs +0 -37
  132. package/components/chunks/MazSpinner-JgB1pud8.mjs +0 -37
  133. package/components/chunks/MazSpinner-mCkWhiVE.mjs +0 -37
  134. package/components/chunks/MazTable-CPfwUOOM.mjs +0 -2003
  135. package/modules/chunks/MazBtn-B5URGSZl.cjs +0 -9
  136. package/modules/chunks/MazBtn-DRuL8cjg.mjs +0 -150
  137. package/modules/chunks/MazIcon-BskR2yy9.cjs +0 -1
  138. package/modules/chunks/MazIcon-CKc-vAA8.mjs +0 -113
@@ -22,9 +22,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
22
22
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
23
23
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
24
24
  }>, {
25
- contentClass: undefined;
26
25
  id: string;
27
26
  modelValue: number;
27
+ contentClass: undefined;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
30
  export default _default;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBottomSheet-DQTlEDlz.mjs";
1
+ import { M as f } from "./chunks/MazBottomSheet-s9lLaK1M.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,4 @@
1
1
  import type { Color, Icon, Size } from './types';
2
- import { type HTMLAttributes } from 'vue';
3
2
  export type { Color, Size };
4
3
  export interface Props {
5
4
  /**
@@ -99,8 +98,6 @@ export interface Props {
99
98
  * @default false
100
99
  */
101
100
  noElevation?: boolean;
102
- /** The class applied to the content wrapper (<span />) of the button */
103
- contentClass?: HTMLAttributes['class'];
104
101
  }
105
102
  declare function __VLS_template(): {
106
103
  slots: {
@@ -122,7 +119,6 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
122
119
  icon: string | Icon;
123
120
  leftIcon: string | Icon;
124
121
  rightIcon: string | Icon;
125
- contentClass: HTMLAttributes["class"];
126
122
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
127
123
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
128
124
  export default _default;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBtn-CTDhJ_fQ.mjs";
1
+ import { M as f } from "./chunks/MazBtn-CVB5qDjV.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCard-BapktHxt.mjs";
1
+ import { M as f } from "./chunks/MazCard-BaJ5Ee3I.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -47,8 +47,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
47
47
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
48
48
  color: Color;
49
49
  noElevation: boolean;
50
- contentClass: HTMLAttributes["class"];
51
50
  padding: boolean;
51
+ contentClass: HTMLAttributes["class"];
52
52
  contentStyle: string | false | import("vue").CSSProperties | StyleValue[] | null;
53
53
  innerOpacity: number;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-DYdWCLk7.mjs";
1
+ import { M as f } from "./chunks/MazCarousel-Bb4fpVqN.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
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";
1
+ import { useId as S, computed as n, openBlock as f, createElementBlock as h, 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
- componentName: n,
3
+ componentName: t,
4
4
  providedId: a
5
5
  }) {
6
- const o = S();
7
- return l(() => a ?? `${n}-${o}`);
6
+ const e = S();
7
+ return n(() => a ?? `${t}-${e}`);
8
8
  }
9
9
  const F = {
10
10
  xmlns: "http://www.w3.org/2000/svg",
@@ -13,8 +13,8 @@ const F = {
13
13
  fill: "none",
14
14
  viewBox: "0 0 24 24"
15
15
  };
16
- function H(n, a) {
17
- return f(), p("svg", F, a[0] || (a[0] = [
16
+ function H(t, a) {
17
+ return f(), h("svg", F, a[0] || (a[0] = [
18
18
  c(
19
19
  "path",
20
20
  {
@@ -50,35 +50,35 @@ const K = { render: H }, O = ["for", "aria-checked"], P = ["id", "checked", "dis
50
50
  hint: {}
51
51
  },
52
52
  emits: ["update:model-value", "change", "blur", "focus"],
53
- setup(n, { emit: a }) {
54
- _((e) => ({
55
- "1807a958": z.value,
56
- "7dffd3f6": y.value,
57
- "6b75359a": w.value,
58
- "2fd35bf6": V.value
53
+ setup(t, { emit: a }) {
54
+ _((o) => ({
55
+ b7df6194: z.value,
56
+ "89a0ef50": g.value,
57
+ "199d7f11": w.value,
58
+ b0e1d658: V.value
59
59
  }));
60
- const o = n, t = a, s = q({
60
+ const e = t, l = a, s = q({
61
61
  componentName: "MazCheckbox",
62
- providedId: o.id
63
- }), h = l(
64
- () => typeof o.value != "boolean" && Array.isArray(o.modelValue) ? o.modelValue.includes(o.value) : typeof o.modelValue == "boolean" ? o.modelValue : !1
65
- ), y = l(() => {
66
- switch (o.size) {
62
+ providedId: e.id
63
+ }), p = n(
64
+ () => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
65
+ ), g = n(() => {
66
+ switch (e.size) {
67
67
  case "xl":
68
- return "2.25rem";
69
- case "lg":
70
68
  return "2rem";
69
+ case "lg":
70
+ return "1.75rem";
71
71
  case "sm":
72
- return "1.425rem";
72
+ return "1.25rem";
73
73
  case "xs":
74
- return "1.325rem";
74
+ return "1rem";
75
75
  case "mini":
76
- return "1.2rem";
76
+ return "0.75rem";
77
77
  default:
78
- return "1.625rem";
78
+ return "1.5rem";
79
79
  }
80
- }), g = l(() => {
81
- switch (o.size) {
80
+ }), y = n(() => {
81
+ switch (e.size) {
82
82
  case "xl":
83
83
  return "maz-text-2xl";
84
84
  case "lg":
@@ -92,33 +92,33 @@ const K = { render: H }, O = ["for", "aria-checked"], P = ["id", "checked", "dis
92
92
  default:
93
93
  return "maz-text-lg";
94
94
  }
95
- }), z = l(() => `var(--maz-color-${o.color}-contrast)`), w = l(() => `var(--maz-color-${o.color})`), V = l(() => o.error ? "var(--maz-color-danger)" : o.warning ? "var(--maz-color-warning)" : o.success ? "var(--maz-color-success)" : ["black", "transparent"].includes(o.color) ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-alpha)`);
96
- function x(e) {
97
- ["Space"].includes(e.code) && (e.preventDefault(), b(o.value ?? !o.modelValue));
95
+ }), z = n(() => e.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${e.color}-contrast)`), w = n(() => e.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${e.color})`), V = n(() => e.error ? "var(--maz-color-danger)" : e.warning ? "var(--maz-color-warning)" : e.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`);
96
+ function x(o) {
97
+ ["Space"].includes(o.code) && (o.preventDefault(), b(e.value ?? !e.modelValue));
98
98
  }
99
- function C(e) {
100
- return typeof e == "boolean" && (typeof o.modelValue == "boolean" || o.modelValue === void 0 || o.modelValue === null) ? !o.modelValue : Array.isArray(o.modelValue) && typeof e != "boolean" ? o.modelValue.includes(e) ? o.modelValue.filter((r) => r !== e) : [...o.modelValue, e] : [e];
99
+ function C(o) {
100
+ return typeof o == "boolean" && (typeof e.modelValue == "boolean" || e.modelValue === void 0 || e.modelValue === null) ? !e.modelValue : Array.isArray(e.modelValue) && typeof o != "boolean" ? e.modelValue.includes(o) ? e.modelValue.filter((r) => r !== o) : [...e.modelValue, o] : [o];
101
101
  }
102
- function b(e) {
103
- const r = C(e);
104
- t("update:model-value", r), t("change", r);
102
+ function b(o) {
103
+ const r = C(o);
104
+ l("update:model-value", r), l("change", r);
105
105
  }
106
106
  const u = E();
107
- function B(e) {
107
+ function B(o) {
108
108
  var r;
109
- (r = u.value) == null || r.dispatchEvent(new Event("blur")), t("blur", e);
109
+ (r = u.value) == null || r.dispatchEvent(new Event("blur")), l("blur", o);
110
110
  }
111
- function I(e) {
111
+ function I(o) {
112
112
  var r;
113
- (r = u.value) == null || r.dispatchEvent(new Event("focus")), t("focus", e);
113
+ (r = u.value) == null || r.dispatchEvent(new Event("focus")), l("focus", o);
114
114
  }
115
- return (e, r) => (f(), p("label", {
115
+ return (o, r) => (f(), h("label", {
116
116
  for: i(s),
117
- class: m(["m-checkbox", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, o.class]]),
117
+ class: m(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
118
118
  tabindex: "0",
119
- style: A(e.style),
119
+ style: A(o.style),
120
120
  role: "checkbox",
121
- "aria-checked": h.value,
121
+ "aria-checked": p.value,
122
122
  onKeydown: x,
123
123
  onBlur: B,
124
124
  onFocus: I
@@ -127,53 +127,53 @@ const K = { render: H }, O = ["for", "aria-checked"], P = ["id", "checked", "dis
127
127
  id: i(s),
128
128
  ref_key: "inputRef",
129
129
  ref: u,
130
- checked: h.value
131
- }, e.$attrs, {
130
+ checked: p.value
131
+ }, o.$attrs, {
132
132
  tabindex: "-1",
133
- disabled: e.disabled,
134
- name: e.name,
133
+ disabled: o.disabled,
134
+ name: o.name,
135
135
  type: "checkbox",
136
136
  onChange: r[0] || (r[0] = (d) => {
137
137
  var v;
138
- return b(e.value ?? ((v = d == null ? void 0 : d.target) == null ? void 0 : v.checked));
138
+ return b(o.value ?? ((v = d == null ? void 0 : d.target) == null ? void 0 : v.checked));
139
139
  })
140
140
  }), null, 16, P),
141
141
  c("span", null, [
142
142
  M(i(K), {
143
- class: m(["check-icon", g.value])
143
+ class: m(["check-icon", y.value])
144
144
  }, null, 8, ["class"])
145
145
  ]),
146
146
  c("div", T, [
147
- D(e.$slots, "default", { value: e.value }, () => [
147
+ D(o.$slots, "default", { value: o.value }, () => [
148
148
  R(
149
- k(e.label),
149
+ k(o.label),
150
150
  1
151
151
  /* TEXT */
152
152
  )
153
153
  ], !0),
154
- e.hint ? (f(), p(
154
+ o.hint ? (f(), h(
155
155
  "span",
156
156
  {
157
157
  key: 0,
158
158
  class: m(["m-checkbox__hint", {
159
- "--error": e.error,
160
- "--success": e.success,
161
- "--warning": e.warning
159
+ "--error": o.error,
160
+ "--success": o.success,
161
+ "--warning": o.warning
162
162
  }])
163
163
  },
164
- k(e.hint),
164
+ k(o.hint),
165
165
  3
166
166
  /* TEXT, CLASS */
167
167
  )) : j("v-if", !0)
168
168
  ])
169
169
  ], 46, O));
170
170
  }
171
- }), G = (n, a) => {
172
- const o = n.__vccOpts || n;
173
- for (const [t, s] of a)
174
- o[t] = s;
175
- return o;
176
- }, L = /* @__PURE__ */ G(U, [["__scopeId", "data-v-779dd731"]]);
171
+ }), G = (t, a) => {
172
+ const e = t.__vccOpts || t;
173
+ for (const [l, s] of a)
174
+ e[l] = s;
175
+ return e;
176
+ }, L = /* @__PURE__ */ G(U, [["__scopeId", "data-v-178c6a46"]]);
177
177
  export {
178
178
  L as default
179
179
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-DbEp5ZrT.mjs";
1
+ import { M as f } from "./chunks/MazDialog-Bv2PzQBz.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-B2WdAwbv.mjs";
1
+ import { a as o, u as s } from "./chunks/MazDialogPromise-BZLP9sXZ.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-BTxqbijR.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-CnZwVvA7.mjs"));
131
+ const i = B(() => import("./chunks/MazBtn-DarjZUV4.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({
@@ -73,6 +73,10 @@ export interface MazDropdownProps {
73
73
  * You may use `!important` to override the default style
74
74
  */
75
75
  menuPanelStyle?: HTMLAttributes['style'];
76
+ /**
77
+ * If true, the button will have a full width
78
+ */
79
+ block?: boolean;
76
80
  }
77
81
  declare function __VLS_template(): {
78
82
  slots: {