maz-ui 3.9.0 → 3.10.0

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 (150) hide show
  1. package/components/MazAvatar.mjs +22 -185
  2. package/components/MazAvatar.umd.js +2 -2
  3. package/components/MazBackdrop.mjs +1 -1
  4. package/components/MazBackdrop.umd.js +1 -1
  5. package/components/MazBadge.mjs +3 -3
  6. package/components/MazBadge.umd.js +2 -2
  7. package/components/MazBottomSheet.mjs +60 -33
  8. package/components/MazBottomSheet.umd.js +2 -2
  9. package/components/MazBtn.mjs +25 -20
  10. package/components/MazBtn.umd.js +2 -2
  11. package/components/MazCard.mjs +255 -231
  12. package/components/MazCard.umd.js +2 -2
  13. package/components/MazCarousel.mjs +93 -38
  14. package/components/MazCarousel.umd.js +2 -2
  15. package/components/MazChart.mjs +43 -25
  16. package/components/MazChart.umd.js +1 -2
  17. package/components/MazCheckbox.mjs +3 -3
  18. package/components/MazCheckbox.umd.js +2 -2
  19. package/components/MazDialog.mjs +61 -34
  20. package/components/MazDialog.umd.js +2 -2
  21. package/components/MazDialogPromise.mjs +75 -58
  22. package/components/MazDialogPromise.umd.js +2 -2
  23. package/components/MazDrawer.mjs +57 -30
  24. package/components/MazDrawer.umd.js +2 -2
  25. package/components/MazDropzone.mjs +4 -4
  26. package/components/MazDropzone.umd.js +2 -2
  27. package/components/MazGallery.mjs +16 -181
  28. package/components/MazGallery.umd.js +2 -2
  29. package/components/MazIcon.mjs +7 -2
  30. package/components/MazIcon.umd.js +2 -2
  31. package/components/MazInput.mjs +46 -40
  32. package/components/MazInput.umd.js +2 -2
  33. package/components/MazInputNumber.mjs +175 -125
  34. package/components/MazInputNumber.umd.js +2 -2
  35. package/components/MazInputPrice.mjs +97 -91
  36. package/components/MazInputPrice.umd.js +2 -2
  37. package/components/MazInputTags.mjs +135 -107
  38. package/components/MazInputTags.umd.js +2 -2
  39. package/components/MazLazyImg.mjs +9 -9
  40. package/components/MazLazyImg.umd.js +2 -2
  41. package/components/MazPhoneNumberInput.mjs +165 -90
  42. package/components/MazPhoneNumberInput.umd.js +2 -2
  43. package/components/MazPicker.mjs +349 -261
  44. package/components/MazPicker.umd.js +2 -2
  45. package/components/MazRadioButtons.mjs +3 -3
  46. package/components/MazRadioButtons.umd.js +2 -2
  47. package/components/MazSelect.mjs +155 -80
  48. package/components/MazSelect.umd.js +2 -2
  49. package/components/MazSlider.mjs +6 -6
  50. package/components/MazSlider.umd.js +2 -2
  51. package/components/MazSpinner.mjs +4 -4
  52. package/components/MazSpinner.umd.js +2 -2
  53. package/components/MazStepper.mjs +16 -11
  54. package/components/MazStepper.umd.js +2 -2
  55. package/components/MazSwitch.mjs +6 -6
  56. package/components/MazSwitch.umd.js +2 -2
  57. package/components/MazTabsBar.mjs +29 -24
  58. package/components/MazTabsBar.umd.js +2 -2
  59. package/components/MazTabsContent.mjs +7 -2
  60. package/components/MazTabsContent.umd.js +2 -2
  61. package/components/MazTabsContentItem.mjs +5 -5
  62. package/components/MazTabsContentItem.umd.js +2 -2
  63. package/components/MazTextarea.mjs +26 -17
  64. package/components/MazTextarea.umd.js +2 -2
  65. package/components/MazTransitionExpand.mjs +3 -3
  66. package/components/MazTransitionExpand.umd.js +2 -2
  67. package/components/assets/check-ac2fdfbb.mjs +31 -0
  68. package/components/assets/eye-ac35bb54.mjs +44 -0
  69. package/components/assets/eye-off-4a5fd13d.mjs +31 -0
  70. package/components/assets/no-photography-7a1e4d68.mjs +36 -0
  71. package/components/assets/pencil-c1aa23f9.mjs +31 -0
  72. package/modules/assets/no-photography-7a1e4d68.mjs +36 -0
  73. package/modules/{maz-ui.mjs → index.mjs} +130 -191
  74. package/modules/index.umd.js +2 -0
  75. package/nuxt/index.ts +130 -0
  76. package/nuxt/runtime/composables/use-toast.ts +8 -0
  77. package/nuxt/runtime/plugins/toaster.ts +26 -0
  78. package/package.json +91 -62
  79. package/tailwindcss/{tailwind.config.js → tailwind.config.ts} +13 -9
  80. package/tailwindcss/tailwind.css +4 -0
  81. package/tailwindcss/utils/colors.ts +20 -0
  82. package/tailwindcss/variables/{breakpoints.js → breakpoints.ts} +1 -1
  83. package/tailwindcss/variables/colors.ts +44 -0
  84. package/tailwindcss/variables/{utilities.js → utilities.ts} +1 -1
  85. package/tailwindcss/variables/{z-indexes.js → z-indexes.ts} +1 -1
  86. package/components/MazAvatar.d.ts +0 -161
  87. package/components/MazBackdrop.d.ts +0 -92
  88. package/components/MazBadge.d.ts +0 -78
  89. package/components/MazBottomSheet.d.ts +0 -41
  90. package/components/MazBtn.d.ts +0 -183
  91. package/components/MazCard.d.ts +0 -199
  92. package/components/MazCarousel.d.ts +0 -29
  93. package/components/MazChart.d.ts +0 -22
  94. package/components/MazCheckbox.d.ts +0 -59
  95. package/components/MazDialog.d.ts +0 -96
  96. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +0 -30
  97. package/components/MazDialogPromise.d.ts +0 -77
  98. package/components/MazDrawer.d.ts +0 -74
  99. package/components/MazDropzone.d.ts +0 -129
  100. package/components/MazGallery.d.ts +0 -126
  101. package/components/MazIcon.d.ts +0 -65
  102. package/components/MazInput.d.ts +0 -277
  103. package/components/MazInputNumber.d.ts +0 -66
  104. package/components/MazInputPrice.d.ts +0 -74
  105. package/components/MazInputTags.d.ts +0 -95
  106. package/components/MazLazyImg.d.ts +0 -82
  107. package/components/MazPhoneNumberInput/constantes/locales.d.ts +0 -12
  108. package/components/MazPhoneNumberInput/types.d.ts +0 -21
  109. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +0 -2
  110. package/components/MazPhoneNumberInput/utils/index.d.ts +0 -12
  111. package/components/MazPhoneNumberInput.d.ts +0 -254
  112. package/components/MazPicker/MazPickerCalendar.vue.d.ts +0 -136
  113. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +0 -21
  114. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +0 -113
  115. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +0 -123
  116. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +0 -37
  117. package/components/MazPicker/MazPickerContainer.vue.d.ts +0 -211
  118. package/components/MazPicker/MazPickerFooter.vue.d.ts +0 -17
  119. package/components/MazPicker/MazPickerHeader.vue.d.ts +0 -83
  120. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +0 -42
  121. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +0 -61
  122. package/components/MazPicker/MazPickerTime.vue.d.ts +0 -128
  123. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +0 -34
  124. package/components/MazPicker/types.d.ts +0 -15
  125. package/components/MazPicker/utils.d.ts +0 -54
  126. package/components/MazPicker.d.ts +0 -312
  127. package/components/MazRadioButtons.d.ts +0 -82
  128. package/components/MazSelect.d.ts +0 -191
  129. package/components/MazSlider/utils.d.ts +0 -15
  130. package/components/MazSlider.d.ts +0 -95
  131. package/components/MazSpinner.d.ts +0 -29
  132. package/components/MazStepper.d.ts +0 -119
  133. package/components/MazSwitch.d.ts +0 -55
  134. package/components/MazTabsBar.d.ts +0 -48
  135. package/components/MazTabsContent.d.ts +0 -26
  136. package/components/MazTabsContentItem.d.ts +0 -24
  137. package/components/MazTextarea/textarea-autogrow.d.ts +0 -9
  138. package/components/MazTextarea.d.ts +0 -124
  139. package/components/MazTransitionExpand.d.ts +0 -14
  140. package/components/assets/no-photography-584c6185.mjs +0 -4
  141. package/components/index.d.ts +0 -33
  142. package/components/index.mjs +0 -35
  143. package/components/types.d.ts +0 -17
  144. package/css/aos.css +0 -1
  145. package/css/main.css +0 -1
  146. package/maz-ui.d.ts +0 -318
  147. package/modules/assets/no-photography-584c6185.mjs +0 -4
  148. package/modules/maz-ui.umd.js +0 -2
  149. package/tailwindcss/utils/colors.js +0 -26
  150. package/tailwindcss/variables/colors.js +0 -44
@@ -0,0 +1,31 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ stroke: "currentColor",
6
+ "aria-hidden": "true",
7
+ viewBox: "0 0 24 24"
8
+ };
9
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
+ "path",
11
+ {
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-width": "2",
15
+ d: "m5 13 4 4L19 7"
16
+ },
17
+ null,
18
+ -1
19
+ /* HOISTED */
20
+ );
21
+ const _hoisted_3 = [
22
+ _hoisted_2
23
+ ];
24
+ function render(_ctx, _cache) {
25
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
26
+ }
27
+ const check = { render };
28
+ export {
29
+ check as default,
30
+ render
31
+ };
@@ -0,0 +1,44 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ stroke: "currentColor",
6
+ "aria-hidden": "true",
7
+ viewBox: "0 0 24 24"
8
+ };
9
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
+ "path",
11
+ {
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-width": "2",
15
+ d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"
16
+ },
17
+ null,
18
+ -1
19
+ /* HOISTED */
20
+ );
21
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode(
22
+ "path",
23
+ {
24
+ "stroke-linecap": "round",
25
+ "stroke-linejoin": "round",
26
+ "stroke-width": "2",
27
+ d: "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
28
+ },
29
+ null,
30
+ -1
31
+ /* HOISTED */
32
+ );
33
+ const _hoisted_4 = [
34
+ _hoisted_2,
35
+ _hoisted_3
36
+ ];
37
+ function render(_ctx, _cache) {
38
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4);
39
+ }
40
+ const eye = { render };
41
+ export {
42
+ eye as default,
43
+ render
44
+ };
@@ -0,0 +1,31 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ stroke: "currentColor",
6
+ "aria-hidden": "true",
7
+ viewBox: "0 0 24 24"
8
+ };
9
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
+ "path",
11
+ {
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-width": "2",
15
+ d: "M13.875 18.825A10.05 10.05 0 0 1 12 19c-4.478 0-8.268-2.943-9.543-7A9.97 9.97 0 0 1 4.02 8.971m5.858.908a3 3 0 1 1 4.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88 6.59 6.59m7.532 7.532 3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0 1 12 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 0 1-4.132 5.411m0 0L21 21"
16
+ },
17
+ null,
18
+ -1
19
+ /* HOISTED */
20
+ );
21
+ const _hoisted_3 = [
22
+ _hoisted_2
23
+ ];
24
+ function render(_ctx, _cache) {
25
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
26
+ }
27
+ const eyeOff = { render };
28
+ export {
29
+ eyeOff as default,
30
+ render
31
+ };
@@ -0,0 +1,36 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "currentColor",
5
+ "aria-hidden": "true",
6
+ viewBox: "0 0 24 24"
7
+ };
8
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode(
9
+ "path",
10
+ {
11
+ fill: "none",
12
+ d: "M0 0h24v24H0z"
13
+ },
14
+ null,
15
+ -1
16
+ /* HOISTED */
17
+ );
18
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode(
19
+ "path",
20
+ { d: "M8.9 6.07 7.48 4.66 9 3h6l1.83 2H20c1.1 0 2 .9 2 2v12c0 .05-.01.1-.02.16L20 17.17V7h-4.05l-1.83-2H9.88L8.9 6.07zm11.59 17.24L18.17 21H4c-1.1 0-2-.9-2-2V7c0-.59.27-1.12.68-1.49l-2-2L2.1 2.1l19.8 19.8-1.41 1.41zM9.19 12.02c-.11.31-.19.63-.19.98 0 1.66 1.34 3 3 3 .35 0 .67-.08.98-.19l-3.79-3.79zM16.17 19l-1.68-1.68c-.73.43-1.58.68-2.49.68-2.76 0-5-2.24-5-5 0-.91.25-1.76.68-2.49L4.17 7H4v12h12.17zm-1.36-7.02 2.07 2.07c.08-.34.12-.69.12-1.05 0-2.76-2.24-5-5-5-.36 0-.71.04-1.06.12l2.07 2.07c.84.3 1.5.96 1.8 1.79z" },
21
+ null,
22
+ -1
23
+ /* HOISTED */
24
+ );
25
+ const _hoisted_4 = [
26
+ _hoisted_2,
27
+ _hoisted_3
28
+ ];
29
+ function render(_ctx, _cache) {
30
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4);
31
+ }
32
+ const noPhotography = { render };
33
+ export {
34
+ noPhotography as default,
35
+ render
36
+ };
@@ -0,0 +1,31 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ stroke: "currentColor",
6
+ "aria-hidden": "true",
7
+ viewBox: "0 0 24 24"
8
+ };
9
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode(
10
+ "path",
11
+ {
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-width": "2",
15
+ d: "m15.232 5.232 3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
16
+ },
17
+ null,
18
+ -1
19
+ /* HOISTED */
20
+ );
21
+ const _hoisted_3 = [
22
+ _hoisted_2
23
+ ];
24
+ function render(_ctx, _cache) {
25
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
26
+ }
27
+ const pencil = { render };
28
+ export {
29
+ pencil as default,
30
+ render
31
+ };
@@ -0,0 +1,36 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "currentColor",
5
+ "aria-hidden": "true",
6
+ viewBox: "0 0 24 24"
7
+ };
8
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode(
9
+ "path",
10
+ {
11
+ fill: "none",
12
+ d: "M0 0h24v24H0z"
13
+ },
14
+ null,
15
+ -1
16
+ /* HOISTED */
17
+ );
18
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode(
19
+ "path",
20
+ { d: "M8.9 6.07 7.48 4.66 9 3h6l1.83 2H20c1.1 0 2 .9 2 2v12c0 .05-.01.1-.02.16L20 17.17V7h-4.05l-1.83-2H9.88L8.9 6.07zm11.59 17.24L18.17 21H4c-1.1 0-2-.9-2-2V7c0-.59.27-1.12.68-1.49l-2-2L2.1 2.1l19.8 19.8-1.41 1.41zM9.19 12.02c-.11.31-.19.63-.19.98 0 1.66 1.34 3 3 3 .35 0 .67-.08.98-.19l-3.79-3.79zM16.17 19l-1.68-1.68c-.73.43-1.58.68-2.49.68-2.76 0-5-2.24-5-5 0-.91.25-1.76.68-2.49L4.17 7H4v12h12.17zm-1.36-7.02 2.07 2.07c.08-.34.12-.69.12-1.05 0-2.76-2.24-5-5-5-.36 0-.71.04-1.06.12l2.07 2.07c.84.3 1.5.96 1.8 1.79z" },
21
+ null,
22
+ -1
23
+ /* HOISTED */
24
+ );
25
+ const _hoisted_4 = [
26
+ _hoisted_2,
27
+ _hoisted_3
28
+ ];
29
+ function render(_ctx, _cache) {
30
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4);
31
+ }
32
+ const noPhotography = { render };
33
+ export {
34
+ noPhotography as default,
35
+ render
36
+ };