wave-ui 4.2.0 → 4.2.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "A UI framework for Vue.js 3 (and 2) with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "homepage": "https://antoniandre.github.io/wave-ui",
@@ -48,6 +48,18 @@
48
48
  "vue framework",
49
49
  "ui"
50
50
  ],
51
+ "scripts": {
52
+ "dev": "vite",
53
+ "build": "vite build --base /wave-ui/",
54
+ "build-types": "tsc -p ./tsconfig.json",
55
+ "build-bundle": "BUNDLE=true vite build && npm run build-types",
56
+ "preview": "vite preview --base /wave-ui/",
57
+ "lint": "biome check .",
58
+ "lint:fix": "biome check --apply .",
59
+ "format": "biome format .",
60
+ "format:fix": "biome format --write .",
61
+ "publish-doc": "npm run build && npm run build-bundle && git add . && git commit -m 'Publish documentation on Github.' && git push && git push --tag"
62
+ },
51
63
  "devDependencies": {
52
64
  "@babel/core": "^7.29.0",
53
65
  "@biomejs/biome": "^2.4.13",
@@ -83,16 +95,7 @@
83
95
  "node": ">=16.0.0",
84
96
  "pnpm": ">=8.0.0"
85
97
  },
86
- "scripts": {
87
- "dev": "vite",
88
- "build": "vite build --base /wave-ui/",
89
- "build-types": "tsc -p ./tsconfig.json",
90
- "build-bundle": "BUNDLE=true vite build && npm run build-types",
91
- "preview": "vite preview --base /wave-ui/",
92
- "lint": "biome check .",
93
- "lint:fix": "biome check --apply .",
94
- "format": "biome format .",
95
- "format:fix": "biome format --write .",
96
- "publish-doc": "npm run build && npm run build-bundle && git add . && git commit -m 'Publish documentation on Github.' && git push && git push --tag"
98
+ "pnpm": {
99
+ "strictPeerDependencies": false
97
100
  }
98
- }
101
+ }
@@ -52,7 +52,7 @@ import { focusElement } from '../utils/focus'
52
52
 
53
53
  export default {
54
54
  name: 'w-menu',
55
- expose: ['focus'],
55
+ expose: ['focus', 'computeDetachableCoords'],
56
56
  mixins: [DetachableMixin],
57
57
  inheritAttrs: false, // The attrs are only bound to the button-partial, not the root.
58
58