@una-ui/nuxt 0.47.0 → 0.47.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/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import Button from '../Button.vue'
|
|
|
7
7
|
import DropdownMenuShortcut from './DropdownMenuShortcut.vue'
|
|
8
8
|
|
|
9
9
|
const props = withDefaults(defineProps<NDropdownMenuItemProps>(), {
|
|
10
|
+
size: 'sm',
|
|
10
11
|
dropdownMenuItem: '~',
|
|
11
12
|
rounded: 'sm',
|
|
12
13
|
})
|
|
@@ -31,7 +32,7 @@ const forwardedProps = useForwardProps(delegatedProps)
|
|
|
31
32
|
v-bind="forwardedProps"
|
|
32
33
|
:dropdown-menu-item
|
|
33
34
|
:class="cn(
|
|
34
|
-
'dropdown-menu-item-base w-full justify-start font-normal px-
|
|
35
|
+
'dropdown-menu-item-base w-full justify-start font-normal px-0.5714285714285714em py-0.42857142857142855em h-auto',
|
|
35
36
|
forwardedProps.inset && !(forwardedProps.leading || slots.leading) && 'pl-8',
|
|
36
37
|
props.class,
|
|
37
38
|
)"
|
|
@@ -70,28 +70,30 @@ function isItemSelected(item: unknown, modelValue: unknown) {
|
|
|
70
70
|
v-bind="forwarded"
|
|
71
71
|
>
|
|
72
72
|
<slot name="root" :model-value :open>
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
73
|
+
<slot name="trigger-wrapper">
|
|
74
|
+
<SelectTrigger
|
|
75
|
+
:id
|
|
76
|
+
:size
|
|
77
|
+
:status
|
|
78
|
+
:select
|
|
79
|
+
v-bind="props._selectTrigger"
|
|
80
|
+
:una
|
|
81
|
+
>
|
|
82
|
+
<slot name="trigger" :model-value :open="open">
|
|
83
|
+
<SelectValue
|
|
84
|
+
:placeholder="props.placeholder"
|
|
85
|
+
v-bind="props._selectValue"
|
|
86
|
+
:aria-label="formatSelectedValue(modelValue)"
|
|
87
|
+
:data-status="status"
|
|
88
|
+
:una
|
|
89
|
+
>
|
|
90
|
+
<slot name="value" :model-value :open>
|
|
91
|
+
{{ formatSelectedValue(modelValue) || props.placeholder }}
|
|
92
|
+
</slot>
|
|
93
|
+
</SelectValue>
|
|
94
|
+
</slot>
|
|
95
|
+
</SelectTrigger>
|
|
96
|
+
</slot>
|
|
95
97
|
|
|
96
98
|
<SelectContent
|
|
97
99
|
:size
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@una-ui/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
4
|
+
"version": "0.47.1",
|
|
5
5
|
"description": "Nuxt module for @una-ui",
|
|
6
6
|
"author": "Phojie Rengel <phojrengel@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"typescript": "5.6.3",
|
|
60
60
|
"unocss": "^66.0.0",
|
|
61
61
|
"unocss-preset-animations": "^1.1.1",
|
|
62
|
-
"@una-ui/extractor-vue-script": "^0.47.
|
|
63
|
-
"@una-ui/preset": "^0.47.
|
|
62
|
+
"@una-ui/extractor-vue-script": "^0.47.1",
|
|
63
|
+
"@una-ui/preset": "^0.47.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@iconify-json/lucide": "^1.2.32",
|