maz-ui 3.31.0 → 3.31.2

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 (37) hide show
  1. package/README.md +6 -6
  2. package/components/MazAccordion.d.ts +2 -2
  3. package/components/MazAccordion.mjs +1 -1
  4. package/components/MazDropdown.d.ts +2 -2
  5. package/components/MazDropdown.mjs +16 -16
  6. package/components/MazPhoneNumberInput.mjs +1 -1
  7. package/components/MazSelect.d.ts +2 -2
  8. package/components/MazSelect.mjs +1 -1
  9. package/components/MazTable.d.ts +8 -0
  10. package/components/MazTable.mjs +1 -1
  11. package/components/assets/MazAccordion.css +1 -1
  12. package/components/assets/MazPhoneNumberInput.css +1 -1
  13. package/components/assets/MazSelect.css +1 -1
  14. package/components/assets/MazTable.css +1 -1
  15. package/components/chunks/{MazAccordion-wRHTLK7X.mjs → MazAccordion-3KSb_aBw.mjs} +37 -37
  16. package/components/chunks/{MazBtn-bL_VYiL1.mjs → MazBtn-M7Pnxit5.mjs} +2 -2
  17. package/components/chunks/{MazBtn-A_B9pbiE.mjs → MazBtn-WsXG0JB8.mjs} +2 -2
  18. package/components/chunks/{MazCheckbox-eI5DclIt.mjs → MazCheckbox-4gr5TnSK.mjs} +1 -1
  19. package/components/chunks/{MazCheckbox-GE-RvDQj.mjs → MazCheckbox-EadIf3L9.mjs} +1 -1
  20. package/components/chunks/{MazIcon-icjrWrvA.mjs → MazIcon-002AxbwZ.mjs} +1 -1
  21. package/components/chunks/{MazPhoneNumberInput-BiFGrTa7.mjs → MazPhoneNumberInput-TdklZIjq.mjs} +155 -159
  22. package/components/chunks/{MazSelect-nwyPkcJ-.mjs → MazSelect-ABbMoI-M.mjs} +173 -177
  23. package/components/chunks/{MazSpinner-Q96BIyG0.mjs → MazSpinner-1Sy8XBOO.mjs} +1 -1
  24. package/components/chunks/{MazSpinner-OKizZUdU.mjs → MazSpinner-B2tSR6e8.mjs} +1 -1
  25. package/components/chunks/{MazSpinner-LpsGR4tG.mjs → MazSpinner-eGQPU8Yp.mjs} +1 -1
  26. package/components/chunks/{MazSpinner-kv0RbQpi.mjs → MazSpinner-liomP-Gb.mjs} +1 -1
  27. package/components/chunks/{MazTable-rnu9lv5r.mjs → MazTable-4_j2qksi.mjs} +611 -610
  28. package/nuxt/index.json +1 -1
  29. package/nuxt/index.mjs +2 -2
  30. package/nuxt/types.d.mts +2 -2
  31. package/package.json +4 -4
  32. package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  33. package/types/components/MazAccordion.vue.d.ts +2 -2
  34. package/types/components/MazDropdown.vue.d.ts +2 -2
  35. package/types/components/MazSelect.vue.d.ts +2 -2
  36. package/types/components/MazTable.vue.d.ts +8 -0
  37. package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
package/nuxt/index.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "3.31.0"
7
+ "version": "3.31.2"
8
8
  }
package/nuxt/index.mjs CHANGED
@@ -208,11 +208,11 @@ const module = defineNuxtModule({
208
208
  // title to display in the tab
209
209
  title: "maz-ui",
210
210
  // any icon from Iconify, or a URL to an image
211
- icon: "https://louismazel.github.io/maz-ui-3/img/icons/android-chrome-512x512.png",
211
+ icon: "https://maz-ui.com/img/icons/android-chrome-512x512.png",
212
212
  // iframe view
213
213
  view: {
214
214
  type: "iframe",
215
- src: "https://louismazel.github.io/maz-ui-3"
215
+ src: "https://maz-ui.com"
216
216
  }
217
217
  });
218
218
  });
package/nuxt/types.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
- import type { } from './index'
2
+ import type { } from './index.js'
3
3
 
4
4
 
5
5
 
6
6
 
7
7
 
8
- export type { MazUiNuxtOptions, default } from './index'
8
+ export type { MazUiNuxtOptions, default } from './index.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maz-ui",
3
- "version": "3.31.0",
3
+ "version": "3.31.2",
4
4
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
5
5
  "author": "Louis Mazel <me@loicmazuel.com>",
6
6
  "main": "./modules/index.cjs",
@@ -127,7 +127,7 @@
127
127
  "fs": "0.0.2",
128
128
  "jsdom": "^23.0.1",
129
129
  "json-templater": "^1.2.0",
130
- "libphonenumber-js": "^1.10.52",
130
+ "libphonenumber-js": "^1.10.53",
131
131
  "minimist": "^1.2.8",
132
132
  "nuxt": "^3.9.0",
133
133
  "onchange": "^7.1.0",
@@ -139,7 +139,7 @@
139
139
  "postcss-simple-vars": "^7.0.1",
140
140
  "postcss-url": "^10.1.3",
141
141
  "prettier-plugin-tailwindcss": "^0.5.9",
142
- "replace-in-file": "^7.0.2",
142
+ "replace-in-file": "^7.1.0",
143
143
  "rimraf": "^5.0.5",
144
144
  "sass": "^1.69.5",
145
145
  "semver": "^7.5.4",
@@ -171,7 +171,7 @@
171
171
  "bugs": {
172
172
  "url": "https://github.com/LouisMazel/maz-ui/issues"
173
173
  },
174
- "homepage": "https://louismazel.github.io/maz-ui-3/",
174
+ "homepage": "https://maz-ui.com/",
175
175
  "keywords": [
176
176
  "vue",
177
177
  "nuxt",
@@ -3,6 +3,6 @@ import { type ComponentResolver } from 'unplugin-vue-components';
3
3
  * Resolver for Maz-UI
4
4
  *
5
5
  * @author @louismazel
6
- * @link https://louismazel.github.io/maz-ui-3
6
+ * @link https://maz-ui.com
7
7
  */
8
8
  export declare function UnpluginVueComponentsResolver(): ComponentResolver;
@@ -2,7 +2,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
2
2
  id?: string | undefined;
3
3
  modelValue?: number | undefined;
4
4
  }>, {
5
- id: string;
5
+ id: undefined;
6
6
  modelValue: number;
7
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:model-value": (...args: any[]) => void;
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  id?: string | undefined;
11
11
  modelValue?: number | undefined;
12
12
  }>, {
13
- id: string;
13
+ id: undefined;
14
14
  modelValue: number;
15
15
  }>>> & {
16
16
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
36
  }>, {
37
37
  class: undefined;
38
38
  style: undefined;
39
- id: string;
39
+ id: undefined;
40
40
  trigger: string;
41
41
  color: string;
42
42
  position: string;
@@ -70,7 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
70
70
  }>, {
71
71
  class: undefined;
72
72
  style: undefined;
73
- id: string;
73
+ id: undefined;
74
74
  trigger: string;
75
75
  color: string;
76
76
  position: string;
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
53
  optionLabelKey: string;
54
54
  optionInputValueKey: string;
55
55
  listPosition: string;
56
- itemHeight: number;
56
+ itemHeight: undefined;
57
57
  maxListHeight: number;
58
58
  maxListWidth: undefined;
59
59
  size: string;
@@ -118,7 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
118
118
  optionLabelKey: string;
119
119
  optionInputValueKey: string;
120
120
  listPosition: string;
121
- itemHeight: number;
121
+ itemHeight: undefined;
122
122
  maxListHeight: number;
123
123
  maxListWidth: undefined;
124
124
  size: string;
@@ -39,6 +39,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
39
  * @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
40
40
  */
41
41
  size?: Size | undefined;
42
+ /** title of the table */
43
+ title?: string | undefined;
42
44
  /** headers of the table */
43
45
  headers?: Header[] | undefined;
44
46
  /** allow sort feature to all columns */
@@ -107,6 +109,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
107
109
  tableClass: undefined;
108
110
  tableStyle: undefined;
109
111
  modelValue: undefined;
112
+ title: undefined;
110
113
  size: string;
111
114
  rows: undefined;
112
115
  searchQuery: undefined;
@@ -141,6 +144,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
141
144
  * @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
142
145
  */
143
146
  size?: Size | undefined;
147
+ /** title of the table */
148
+ title?: string | undefined;
144
149
  /** headers of the table */
145
150
  headers?: Header[] | undefined;
146
151
  /** allow sort feature to all columns */
@@ -209,6 +214,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
209
214
  tableClass: undefined;
210
215
  tableStyle: undefined;
211
216
  modelValue: undefined;
217
+ title: undefined;
212
218
  size: string;
213
219
  rows: undefined;
214
220
  searchQuery: undefined;
@@ -236,6 +242,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
236
242
  size: Size;
237
243
  color: Color;
238
244
  caption: string;
245
+ title: string;
239
246
  modelValue: (string | number | boolean)[];
240
247
  searchPlaceholder: string;
241
248
  searchQuery: string;
@@ -277,6 +284,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
277
284
  row: Row;
278
285
  value: any;
279
286
  }) => any>> & {
287
+ title?(_: {}): any;
280
288
  caption?(_: {}): any;
281
289
  thead?(_: {}): any;
282
290
  header?(_: {
@@ -3,6 +3,6 @@ import { type ComponentResolver } from 'unplugin-vue-components';
3
3
  * Resolver for Maz-UI
4
4
  *
5
5
  * @author @louismazel
6
- * @link https://louismazel.github.io/maz-ui-3
6
+ * @link https://maz-ui.com
7
7
  */
8
8
  export declare function UnpluginVueComponentsResolver(): ComponentResolver;