@una-ui/nuxt 0.51.3 → 0.51.4
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
|
@@ -9,6 +9,7 @@ import NLink from '../elements/Link.vue'
|
|
|
9
9
|
const props = withDefaults(defineProps<NButtonProps>(), {
|
|
10
10
|
type: 'button',
|
|
11
11
|
size: 'sm',
|
|
12
|
+
rounded: 'md',
|
|
12
13
|
loadingPlacement: 'leading',
|
|
13
14
|
una: () => ({
|
|
14
15
|
btnDefaultVariant: 'btn-default-variant',
|
|
@@ -59,7 +60,6 @@ const [DefineTemplate, ReuseTemplate] = createReusableTemplate()
|
|
|
59
60
|
:class="cn(
|
|
60
61
|
(square === '' || square) && 'btn-square',
|
|
61
62
|
block && 'btn-block',
|
|
62
|
-
!rounded && 'btn-default-radius',
|
|
63
63
|
!hasVariant && !isBaseVariant ? una?.btnDefaultVariant : null,
|
|
64
64
|
reverse && 'btn-reverse',
|
|
65
65
|
'btn',
|
|
@@ -10,6 +10,7 @@ import Button from '../Button.vue'
|
|
|
10
10
|
|
|
11
11
|
const props = withDefaults(defineProps<NDropdownMenuSubTriggerProps>(), {
|
|
12
12
|
dropdownMenuItem: '~',
|
|
13
|
+
rounded: 'sm',
|
|
13
14
|
})
|
|
14
15
|
|
|
15
16
|
const delegatedProps = computed(() => {
|
|
@@ -29,7 +30,7 @@ const forwardedProps = useForwardProps(delegatedProps)
|
|
|
29
30
|
v-bind="{ ...forwardedProps, ...$attrs }"
|
|
30
31
|
:dropdown-menu-item
|
|
31
32
|
:class="cn(
|
|
32
|
-
'dropdown-menu-sub-trigger w-full justify-start font-normal
|
|
33
|
+
'dropdown-menu-sub-trigger w-full justify-start font-normal px-0.5714285714285714em py-0.42857142857142855em h-auto',
|
|
33
34
|
inset && !(forwardedProps.leading || $slots.leading) && 'pl-8',
|
|
34
35
|
props.class,
|
|
35
36
|
)"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@una-ui/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.51.
|
|
4
|
+
"version": "0.51.4",
|
|
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.51.
|
|
63
|
-
"@una-ui/preset": "^0.51.
|
|
62
|
+
"@una-ui/extractor-vue-script": "^0.51.4",
|
|
63
|
+
"@una-ui/preset": "^0.51.4"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@iconify-json/lucide": "^1.2.35",
|