daisy-ui-kit 3.0.11 → 3.0.12
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/components/MenuExpand.vue +4 -3
- package/package.json +15 -14
|
@@ -4,11 +4,13 @@ import { onClickOutside, syncRefs, useElementHover } from '@vueuse/core'
|
|
|
4
4
|
import { randomString } from '../utils/random-string'
|
|
5
5
|
|
|
6
6
|
const props = withDefaults(defineProps<{
|
|
7
|
+
randomId?: string
|
|
7
8
|
hover?: boolean
|
|
8
9
|
delayEnter?: number
|
|
9
10
|
delayLeave?: number
|
|
10
11
|
closeOnClickOutside?: boolean
|
|
11
12
|
}>(), {
|
|
13
|
+
randomId: randomString(12),
|
|
12
14
|
position: 'bottom',
|
|
13
15
|
end: false,
|
|
14
16
|
hover: false,
|
|
@@ -21,9 +23,8 @@ const isOpen = defineModel('open', { local: true, default: false, type: Boolean
|
|
|
21
23
|
provide('isExpandOpen', isOpen)
|
|
22
24
|
|
|
23
25
|
// ids for accessibility
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const id = `expand-${randomValue}`
|
|
26
|
+
const wrapperId = `expand-wrapper-${props.randomId}`
|
|
27
|
+
const id = `expand-${props.randomId}`
|
|
27
28
|
provide('expandId', id)
|
|
28
29
|
|
|
29
30
|
// Visibility Utils
|
package/package.json
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "daisy-ui-kit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"description": "Start with DaisyUI CSS and Sprinkle in TypeScript and A11y.",
|
|
5
5
|
"author": "Marshall Thompson",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"homepage": "https://daisyuikit.com",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "https://github.com/marshallswain/daisy-ui-kit"
|
|
10
11
|
},
|
|
11
|
-
"
|
|
12
|
+
"main": "index.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"components/*.vue",
|
|
15
|
+
"components/Mask.config.ts",
|
|
16
|
+
"utils/*",
|
|
17
|
+
"nuxt.js"
|
|
18
|
+
],
|
|
12
19
|
"scripts": {
|
|
13
20
|
"generate": "nuxi generate",
|
|
14
21
|
"build": "nuxi build",
|
|
@@ -21,23 +28,16 @@
|
|
|
21
28
|
"release:minor": "npm version minor && npm publish",
|
|
22
29
|
"release:major": "npm version major && npm publish"
|
|
23
30
|
},
|
|
24
|
-
"main": "index.ts",
|
|
25
|
-
"files": [
|
|
26
|
-
"components/*.vue",
|
|
27
|
-
"components/Mask.config.ts",
|
|
28
|
-
"utils/*",
|
|
29
|
-
"nuxt.js"
|
|
30
|
-
],
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@floating-ui/vue": "^1.0.2",
|
|
33
|
-
"@vueuse/integrations": "^10.4.0",
|
|
34
|
-
"focus-trap": "^7.5.2"
|
|
35
|
-
},
|
|
36
31
|
"peerDependencies": {
|
|
37
32
|
"@vueuse/core": "^10.2.1",
|
|
38
33
|
"daisyui": "^3",
|
|
39
34
|
"prismjs": "^1.29.0"
|
|
40
35
|
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@floating-ui/vue": "^1.0.2",
|
|
38
|
+
"@vueuse/integrations": "^10.4.0",
|
|
39
|
+
"focus-trap": "^7.5.2"
|
|
40
|
+
},
|
|
41
41
|
"optionalPeerDependencies": {
|
|
42
42
|
"prismjs": "^1.29.0"
|
|
43
43
|
},
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@heroicons/vue": "^2.0.18",
|
|
48
48
|
"@iconify/json": "^2.2.106",
|
|
49
49
|
"@nuxt/content": "^2.7.2",
|
|
50
|
+
"@nuxt/devtools": "^2.0.0",
|
|
50
51
|
"@nuxt/kit": "link:@nuxt/kit",
|
|
51
52
|
"@nuxtjs/color-mode": "^3.3.0",
|
|
52
53
|
"@nuxtjs/tailwindcss": "^6.8.0",
|