maz-ui 4.0.0-beta.35 → 4.0.0-beta.37

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.
@@ -14,7 +14,7 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
14
14
  items: { default: () => [] },
15
15
  id: {},
16
16
  trigger: { default: "adaptive" },
17
- color: { default: "background" },
17
+ color: { default: "transparent" },
18
18
  position: { default: "auto" },
19
19
  preferPosition: { default: "bottom-start" },
20
20
  closeOnClick: { type: Boolean, default: !1 },
@@ -27,6 +27,7 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
27
27
  dropdownIcon: { type: [String, Function, Object] },
28
28
  dropdownIconAnimation: { type: Boolean, default: !0 },
29
29
  size: { default: "md" },
30
+ transition: { default: "scale-pop" },
30
31
  fallbackPosition: {},
31
32
  role: {},
32
33
  ariaLabel: {},
@@ -34,7 +35,6 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
34
35
  offset: {},
35
36
  delay: {},
36
37
  hoverDelay: {},
37
- transition: {},
38
38
  teleportTo: {},
39
39
  overlayClass: {},
40
40
  panelClass: {},
@@ -99,6 +99,7 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
99
99
  "prefer-position": _ctx.preferPosition,
100
100
  color: "background",
101
101
  position: _ctx.position,
102
+ transition: _ctx.transition,
102
103
  disabled: _ctx.disabled,
103
104
  "keep-open-on-hover": _ctx.trigger === "hover" || _ctx.trigger === "adaptive",
104
105
  block: _ctx.block,
@@ -242,7 +243,7 @@ import '../assets/MazDropdown.D90GEKDB.css';const _hoisted_1 = ["id", "aria-expa
242
243
  ], 14, _hoisted_3)
243
244
  ]),
244
245
  _: 3
245
- }, 8, ["trigger", "model-value", "style", "prefer-position", "position", "disabled", "keep-open-on-hover", "class", "block"]));
246
+ }, 8, ["trigger", "model-value", "style", "prefer-position", "position", "transition", "disabled", "keep-open-on-hover", "class", "block"]));
246
247
  }
247
248
  });
248
249
  export {
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.DfR-QxYQ.js";
1
+ import { _ as _sfc_main } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.DULnKQ2W.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -150,6 +150,13 @@ export interface MazDropdownProps extends Omit<MazPopoverProps, 'modelValue'> {
150
150
  * @default 'md'
151
151
  */
152
152
  size?: MazSize;
153
+ /**
154
+ * Transition to use when the dropdown is opened or closed
155
+ * @type {MazPopoverProps['transition']}
156
+ * @values 'scale-pop' | 'scale-fade' | string
157
+ * @default 'scale-pop'
158
+ */
159
+ transition?: MazPopoverProps['transition'];
153
160
  }
154
161
  type __VLS_PublicProps = {
155
162
  modelValue?: boolean;
@@ -18,7 +18,7 @@ import { M } from "../chunks/MazDatePicker.B1B6gUrC.js";
18
18
  import { default as default17 } from "./MazDialog.js";
19
19
  import { _ as _2, u } from "../chunks/MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js";
20
20
  import { default as default18 } from "./MazDrawer.js";
21
- import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.DfR-QxYQ.js";
21
+ import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.DULnKQ2W.js";
22
22
  import { default as default19 } from "./MazDropzone.js";
23
23
  import { default as default20 } from "./MazExpandAnimation.js";
24
24
  import { default as default21 } from "./MazFullscreenLoader.js";
@@ -150,6 +150,13 @@ export interface MazDropdownProps extends Omit<MazPopoverProps, 'modelValue'> {
150
150
  * @default 'md'
151
151
  */
152
152
  size?: MazSize;
153
+ /**
154
+ * Transition to use when the dropdown is opened or closed
155
+ * @type {MazPopoverProps['transition']}
156
+ * @values 'scale-pop' | 'scale-fade' | string
157
+ * @default 'scale-pop'
158
+ */
159
+ transition?: MazPopoverProps['transition'];
153
160
  }
154
161
  type __VLS_PublicProps = {
155
162
  modelValue?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "maz-ui",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.35",
4
+ "version": "4.0.0-beta.37",
5
5
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -196,7 +196,7 @@
196
196
  },
197
197
  "dependencies": {
198
198
  "@floating-ui/vue": "^1.1.8",
199
- "@maz-ui/cli": "4.0.0-beta.35",
199
+ "@maz-ui/cli": "4.0.0-beta.37",
200
200
  "@maz-ui/icons": "4.0.0-beta.35",
201
201
  "@maz-ui/themes": "4.0.0-beta.35",
202
202
  "@maz-ui/translations": "4.0.0-beta.35",
@@ -208,7 +208,7 @@
208
208
  "vue-chartjs": "^5.3.2"
209
209
  },
210
210
  "devDependencies": {
211
- "@maz-ui/eslint-config": "4.0.0-beta.35",
211
+ "@maz-ui/eslint-config": "4.0.0-beta.37",
212
212
  "@maz-ui/node": "4.0.0-beta.35",
213
213
  "@vitejs/plugin-vue": "^6.0.1",
214
214
  "@vitest/coverage-v8": "^3.2.4",
@@ -250,5 +250,5 @@
250
250
  "*.{js,ts,vue,mjs,mts,cjs,md,yml,json}": "cross-env NODE_ENV=production eslint --fix",
251
251
  "*.{vue,css,scss,postcss,pcss}": "stylelint --fix --allow-empty-input"
252
252
  },
253
- "gitHead": "c27390faa3370a981efb0bd908d712871e654f1e"
253
+ "gitHead": "4ba58cdf19ea8b450292a3c9a8136e51d3a15857"
254
254
  }