@una-ui/nuxt 0.56.3 → 0.56.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 +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +4 -4
- package/dist/runtime/components/drawer/Drawer.vue.d.ts +2 -2
- package/dist/runtime/components/forms/select/Select.vue.d.ts +3 -3
- package/dist/runtime/components/misc/ThemeSwitcher.vue +8 -8
- package/dist/runtime/constants.d.ts +1 -1
- package/dist/runtime/constants.js +1 -1
- package/package.json +3 -3
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import type { AcceptableValue } from 'reka-ui';
|
|
|
2
2
|
import type { ExtractItemType, NComboboxGroupProps, NComboboxProps } from '../../types/index.js';
|
|
3
3
|
declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
6
5
|
readonly "onUpdate:modelValue"?: ((value: ExtractItemType<T>) => any) | undefined;
|
|
7
6
|
readonly onHighlight?: ((payload: {
|
|
8
7
|
ref: HTMLElement;
|
|
9
8
|
value: ExtractItemType<T>;
|
|
10
9
|
} | undefined) => any) | undefined;
|
|
11
|
-
|
|
10
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onHighlight" | "onUpdate:open"> & NComboboxProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
12
12
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {
|
|
@@ -76,10 +76,10 @@ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awa
|
|
|
76
76
|
} & {
|
|
77
77
|
footer?: (props: {}) => any;
|
|
78
78
|
};
|
|
79
|
-
emit: ((evt: "update:
|
|
79
|
+
emit: ((evt: "update:modelValue", value: ExtractItemType<T>) => void) & ((evt: "highlight", payload: {
|
|
80
80
|
ref: HTMLElement;
|
|
81
81
|
value: ExtractItemType<T>;
|
|
82
|
-
} | undefined) => void);
|
|
82
|
+
} | undefined) => void) & ((evt: "update:open", value: boolean) => void);
|
|
83
83
|
}>) => import("vue").VNode & {
|
|
84
84
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
85
85
|
};
|
|
@@ -24,16 +24,16 @@ type __VLS_Slots = {} & {
|
|
|
24
24
|
declare const __VLS_component: import("vue").DefineComponent<NDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
25
|
close: () => any;
|
|
26
26
|
drag: (percentageDragged: number) => any;
|
|
27
|
+
"update:open": (open: boolean) => any;
|
|
27
28
|
animationEnd: (open: boolean) => any;
|
|
28
29
|
release: (open: boolean) => any;
|
|
29
|
-
"update:open": (open: boolean) => any;
|
|
30
30
|
"update:activeSnapPoint": (val: string | number) => any;
|
|
31
31
|
}, string, import("vue").PublicProps, Readonly<NDrawerProps> & Readonly<{
|
|
32
32
|
onClose?: (() => any) | undefined;
|
|
33
33
|
onDrag?: ((percentageDragged: number) => any) | undefined;
|
|
34
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
34
35
|
onAnimationEnd?: ((open: boolean) => any) | undefined;
|
|
35
36
|
onRelease?: ((open: boolean) => any) | undefined;
|
|
36
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
37
37
|
"onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
39
|
shouldScaleBackground: boolean;
|
|
@@ -2,9 +2,9 @@ import type { AcceptableValue } from 'reka-ui';
|
|
|
2
2
|
import type { NSelectProps, SelectGroup as SelectGroupType } from '../../../types/index.js';
|
|
3
3
|
declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
6
5
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
7
|
-
|
|
6
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
7
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:open"> & NSelectProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
8
8
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: {
|
|
@@ -62,7 +62,7 @@ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awa
|
|
|
62
62
|
} & {
|
|
63
63
|
default?: (props: {}) => any;
|
|
64
64
|
};
|
|
65
|
-
emit: ((evt: "update:
|
|
65
|
+
emit: ((evt: "update:modelValue", value: T) => void) & ((evt: "update:open", value: boolean) => void);
|
|
66
66
|
}>) => import("vue").VNode & {
|
|
67
67
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
68
68
|
};
|
|
@@ -56,7 +56,7 @@ function shuffleTheme() {
|
|
|
56
56
|
|
|
57
57
|
<template>
|
|
58
58
|
<Popover
|
|
59
|
-
:_popover-content="{ align: 'end', class: 'w-73
|
|
59
|
+
:_popover-content="{ align: 'end', class: 'w-73' }"
|
|
60
60
|
>
|
|
61
61
|
<template #trigger="{ open }">
|
|
62
62
|
<slot name="trigger" :open="open">
|
|
@@ -126,7 +126,7 @@ function shuffleTheme() {
|
|
|
126
126
|
|
|
127
127
|
<div class="space-y-1">
|
|
128
128
|
<Label for="radius" class="text-xs"> Radius </Label>
|
|
129
|
-
<div class="grid grid-cols-
|
|
129
|
+
<div class="grid grid-cols-3 gap-2 py-1.5">
|
|
130
130
|
<Button
|
|
131
131
|
v-for="r in RADIUS"
|
|
132
132
|
:key="r"
|
|
@@ -149,7 +149,7 @@ function shuffleTheme() {
|
|
|
149
149
|
|
|
150
150
|
<div class="flex justify-around py-1.5 space-x-2">
|
|
151
151
|
<Button
|
|
152
|
-
btn="solid-gray
|
|
152
|
+
btn="solid-gray"
|
|
153
153
|
:class="{ 'ring-2 ring-primary': colorMode.preference === 'system' }"
|
|
154
154
|
leading="i-radix-icons-desktop"
|
|
155
155
|
class="px-3"
|
|
@@ -159,7 +159,7 @@ function shuffleTheme() {
|
|
|
159
159
|
/>
|
|
160
160
|
|
|
161
161
|
<Button
|
|
162
|
-
btn="solid-gray
|
|
162
|
+
btn="solid-gray"
|
|
163
163
|
:class="{ 'ring-2 ring-primary': colorMode.preference === 'light' }"
|
|
164
164
|
leading="i-radix-icons-sun"
|
|
165
165
|
class="px-3"
|
|
@@ -169,7 +169,7 @@ function shuffleTheme() {
|
|
|
169
169
|
/>
|
|
170
170
|
|
|
171
171
|
<Button
|
|
172
|
-
btn="solid-gray
|
|
172
|
+
btn="solid-gray"
|
|
173
173
|
:class="{ 'ring-2 ring-primary': colorMode.preference === 'dark' }"
|
|
174
174
|
leading="i-radix-icons-moon"
|
|
175
175
|
class="px-3"
|
|
@@ -182,17 +182,17 @@ function shuffleTheme() {
|
|
|
182
182
|
|
|
183
183
|
<Separator />
|
|
184
184
|
|
|
185
|
-
<div class="
|
|
185
|
+
<div class="grid grid-cols-2 gap-2">
|
|
186
186
|
<Button
|
|
187
187
|
size="xs"
|
|
188
|
-
btn="solid-gray
|
|
188
|
+
btn="solid-gray"
|
|
189
189
|
label="Reset"
|
|
190
190
|
leading="i-radix-icons-reload"
|
|
191
191
|
@click="reset"
|
|
192
192
|
/>
|
|
193
193
|
<Button
|
|
194
194
|
size="xs"
|
|
195
|
-
btn="solid
|
|
195
|
+
btn="solid"
|
|
196
196
|
class="transition"
|
|
197
197
|
label="Shuffle"
|
|
198
198
|
leading="i-lucide-paintbrush"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RADIUS: readonly [0, 0.25, 0.5, 0.75, 1];
|
|
1
|
+
export declare const RADIUS: readonly [0, 0.25, 0.375, 0.5, 0.625, 0.75, 1];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const RADIUS = [0, 0.25, 0.5, 0.75, 1];
|
|
1
|
+
export const RADIUS = [0, 0.25, 0.375, 0.5, 0.625, 0.75, 1];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@una-ui/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.56.
|
|
4
|
+
"version": "0.56.4",
|
|
5
5
|
"description": "Nuxt module for @una-ui",
|
|
6
6
|
"author": "Phojie Rengel <phojrengel@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"unocss": "^66.0.0",
|
|
59
59
|
"unocss-preset-animations": "^1.2.1",
|
|
60
60
|
"vaul-vue": "^0.4.1",
|
|
61
|
-
"@una-ui/extractor-vue-script": "^0.56.
|
|
62
|
-
"@una-ui/preset": "^0.56.
|
|
61
|
+
"@una-ui/extractor-vue-script": "^0.56.4",
|
|
62
|
+
"@una-ui/preset": "^0.56.4"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@iconify-json/lucide": "^1.2.44",
|