@una-ui/nuxt 0.51.1 → 0.51.2

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@una-ui/nuxt",
3
3
  "configKey": "una",
4
- "version": "0.51.1",
4
+ "version": "0.51.2",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.0.0"
7
7
  },
package/dist/module.mjs CHANGED
@@ -8,7 +8,7 @@ import 'unocss';
8
8
  import 'unocss-preset-animations';
9
9
 
10
10
  const name = "@una-ui/nuxt";
11
- const version = "0.51.1";
11
+ const version = "0.51.2";
12
12
 
13
13
  const module = defineNuxtModule({
14
14
  meta: {
@@ -6,6 +6,10 @@ import { cn } from '../../../utils'
6
6
  import Button from '../Button.vue'
7
7
  import DropdownMenuShortcut from './DropdownMenuShortcut.vue'
8
8
 
9
+ defineOptions({
10
+ inheritAttrs: false,
11
+ })
12
+
9
13
  const props = withDefaults(defineProps<NDropdownMenuItemProps>(), {
10
14
  size: 'sm',
11
15
  dropdownMenuItem: '~',
@@ -29,7 +33,7 @@ const forwardedProps = useForwardProps(delegatedProps)
29
33
  as-child
30
34
  >
31
35
  <Button
32
- v-bind="forwardedProps"
36
+ v-bind="{ ...forwardedProps, ...$attrs }"
33
37
  :dropdown-menu-item
34
38
  :class="cn(
35
39
  'dropdown-menu-item-base w-full justify-start font-normal px-0.5714285714285714em py-0.42857142857142855em h-auto',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@una-ui/nuxt",
3
3
  "type": "module",
4
- "version": "0.51.1",
4
+ "version": "0.51.2",
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.1",
63
- "@una-ui/preset": "^0.51.1"
62
+ "@una-ui/preset": "^0.51.2",
63
+ "@una-ui/extractor-vue-script": "^0.51.2"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@iconify-json/lucide": "^1.2.34",