@una-ui/nuxt 0.45.0 → 0.46.0
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 +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/table/Table.vue +2 -1
- package/dist/runtime/components/elements/Toggle.vue +3 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +3 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +3 -1
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue +3 -1
- package/dist/runtime/components/overlays/Toaster.vue +3 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue +3 -1
- package/package.json +7 -7
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import type {
|
|
|
7
7
|
GroupingState,
|
|
8
8
|
Header,
|
|
9
9
|
PaginationState,
|
|
10
|
+
RowSelectionState,
|
|
10
11
|
SortingState,
|
|
11
12
|
VisibilityState,
|
|
12
13
|
} from '@tanstack/vue-table'
|
|
@@ -47,7 +48,7 @@ const emit = defineEmits(['select', 'selectAll', 'expand'])
|
|
|
47
48
|
|
|
48
49
|
const slots = defineSlots()
|
|
49
50
|
|
|
50
|
-
const rowSelection = defineModel<
|
|
51
|
+
const rowSelection = defineModel<RowSelectionState>('rowSelection')
|
|
51
52
|
const sorting = defineModel<SortingState>('sorting')
|
|
52
53
|
const columnVisibility = defineModel<VisibilityState>('columnVisibility')
|
|
53
54
|
const columnFilters = defineModel<ColumnFiltersState>('columnFilters')
|
|
@@ -35,6 +35,8 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
|
35
35
|
:toggle-on
|
|
36
36
|
:as="Button"
|
|
37
37
|
>
|
|
38
|
-
<
|
|
38
|
+
<template v-for="(_, name) in $slots" #[name]="slotData">
|
|
39
|
+
<slot :name="name" v-bind="slotData" />
|
|
40
|
+
</template>
|
|
39
41
|
</Toggle>
|
|
40
42
|
</template>
|
|
@@ -43,7 +43,9 @@ const forwardedProps = useForwardProps(delegatedProps)
|
|
|
43
43
|
...forwardedProps.una,
|
|
44
44
|
}"
|
|
45
45
|
>
|
|
46
|
-
<
|
|
46
|
+
<template v-for="(_, name) in $slots" #[name]="slotData">
|
|
47
|
+
<slot :name="name" v-bind="slotData" />
|
|
48
|
+
</template>
|
|
47
49
|
|
|
48
50
|
<template
|
|
49
51
|
v-if="forwardedProps.shortcut"
|
|
@@ -41,7 +41,9 @@ const forwardedProps = useForwardProps(delegatedProps)
|
|
|
41
41
|
}"
|
|
42
42
|
trailing="dropdown-menu-sub-trigger-trailing-icon"
|
|
43
43
|
>
|
|
44
|
-
<
|
|
44
|
+
<template v-for="(_, name) in $slots" #[name]="slotData">
|
|
45
|
+
<slot :name="name" v-bind="slotData" />
|
|
46
|
+
</template>
|
|
45
47
|
</Button>
|
|
46
48
|
</dropdownmenusubtrigger>
|
|
47
49
|
</template>
|
|
@@ -38,7 +38,9 @@ const forwardedProps = useForwardProps(delegatedProps)
|
|
|
38
38
|
props.class,
|
|
39
39
|
)"
|
|
40
40
|
>
|
|
41
|
-
<
|
|
41
|
+
<template v-for="(_, name) in $slots" #[name]="slotData">
|
|
42
|
+
<slot :name="name" v-bind="slotData" />
|
|
43
|
+
</template>
|
|
42
44
|
</Button>
|
|
43
45
|
</PaginationListItem>
|
|
44
46
|
</template>
|
|
@@ -26,7 +26,9 @@ const { toasts } = useToast()
|
|
|
26
26
|
:key="t.id"
|
|
27
27
|
v-bind="{ ..._toast, ...$attrs, ...t }"
|
|
28
28
|
>
|
|
29
|
-
<
|
|
29
|
+
<template v-for="(_, name) in $slots" #[name]="slotData">
|
|
30
|
+
<slot :name="name" v-bind="slotData" />
|
|
31
|
+
</template>
|
|
30
32
|
</Toast>
|
|
31
33
|
|
|
32
34
|
<ToastViewport v-bind="_toastViewport" />
|
|
@@ -31,7 +31,9 @@ const delegatedProps = computed(() => {
|
|
|
31
31
|
:id="randomId('toast-action')"
|
|
32
32
|
:class="cn('toast-action', props.class)"
|
|
33
33
|
>
|
|
34
|
-
<
|
|
34
|
+
<template v-for="(_, name) in $slots" #[name]="slotData">
|
|
35
|
+
<slot :name="name" v-bind="slotData" />
|
|
36
|
+
</template>
|
|
35
37
|
</Button>
|
|
36
38
|
</ToastAction>
|
|
37
39
|
</template>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@una-ui/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.46.0",
|
|
5
5
|
"description": "Nuxt module for @una-ui",
|
|
6
6
|
"author": "Phojie Rengel <phojrengel@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@headlessui/vue": "^1.7.23",
|
|
41
41
|
"@iconify/utils": "^2.3.0",
|
|
42
|
-
"@nuxt/kit": "^3.16.
|
|
42
|
+
"@nuxt/kit": "^3.16.1",
|
|
43
43
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
44
44
|
"@tanstack/vue-table": "^8.21.2",
|
|
45
45
|
"@unocss/core": "^66.0.0",
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
"class-variance-authority": "^0.7.1",
|
|
55
55
|
"clsx": "^2.1.1",
|
|
56
56
|
"ohash": "^1.1.6",
|
|
57
|
-
"reka-ui": "^2.1.
|
|
57
|
+
"reka-ui": "^2.1.1",
|
|
58
58
|
"tailwind-merge": "^3.0.2",
|
|
59
59
|
"typescript": "5.6.3",
|
|
60
60
|
"unocss": "^66.0.0",
|
|
61
61
|
"unocss-preset-animations": "^1.1.1",
|
|
62
|
-
"@una-ui/
|
|
63
|
-
"@una-ui/
|
|
62
|
+
"@una-ui/extractor-vue-script": "^0.46.0",
|
|
63
|
+
"@una-ui/preset": "^0.46.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@iconify-json/lucide": "^1.2.32",
|
|
67
67
|
"@iconify-json/radix-icons": "^1.2.2",
|
|
68
68
|
"@iconify-json/tabler": "^1.2.17",
|
|
69
69
|
"@nuxt/module-builder": "^0.8.4",
|
|
70
|
-
"@nuxt/schema": "^3.16.
|
|
71
|
-
"nuxt": "^3.16.
|
|
70
|
+
"@nuxt/schema": "^3.16.1",
|
|
71
|
+
"nuxt": "^3.16.1",
|
|
72
72
|
"zod": "^3.24.2"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|