@soybeanjs/ui 0.13.8 → 0.14.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/components/accordion/accordion.js +1 -1
- package/dist/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/components/alert/alert.vue.d.ts +4 -4
- package/dist/components/alert/variants.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-confirm.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +6 -6
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/badge/variants.d.ts +3 -3
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
- package/dist/components/button/button-group.vue.d.ts +6 -6
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.vue.d.ts +3 -3
- package/dist/components/button/button-loading.vue.d.ts +3 -3
- package/dist/components/button/button.vue.d.ts +4 -4
- package/dist/components/button/variants.d.ts +3 -3
- package/dist/components/card/card-collapsible-trigger.vue.d.ts +3 -3
- package/dist/components/card/card.js +1 -1
- package/dist/components/card/card.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
- package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
- package/dist/components/checkbox/variants.d.ts +3 -3
- package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
- package/dist/components/command/command.vue.d.ts +8 -8
- package/dist/components/config-provider/config-provider.vue.d.ts +7 -7
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +9 -9
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +9 -9
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/context-menu/context-menu.vue.d.ts +9 -9
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +11 -11
- package/dist/components/dialog/dialog.vue.d.ts +11 -11
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +9 -9
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +9 -9
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +9 -9
- package/dist/components/form/form-field-base.vue.d.ts +3 -3
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- package/dist/components/form/variants.js +1 -1
- package/dist/components/icon/icon.vue.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/input-number/input-number.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/kbd/variants.d.ts +3 -3
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/layout/layout.vue.d.ts +4 -4
- package/dist/components/link/link.vue.d.ts +3 -3
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
- package/dist/components/menu/menu-option.vue.d.ts +9 -9
- package/dist/components/menu/menu-options.vue.d.ts +9 -9
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
- package/dist/components/page-tabs/page-tabs.vue.d.ts +4 -4
- package/dist/components/page-tabs/variants.d.ts +3 -3
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/components/pagination/variants.d.ts +3 -3
- package/dist/components/password/password.vue.d.ts +4 -4
- package/dist/components/popconfirm/popconfirm-cancel.vue.d.ts +4 -4
- package/dist/components/popconfirm/popconfirm-confirm.vue.d.ts +4 -4
- package/dist/components/popconfirm/popconfirm.vue.d.ts +13 -13
- package/dist/components/popover/popover.vue.d.ts +11 -11
- package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio.vue.d.ts +2 -2
- package/dist/components/radio-group/variants.d.ts +3 -3
- package/dist/components/segment/segment.vue.d.ts +3 -3
- package/dist/components/select/select.vue.d.ts +8 -8
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/separator/variants.d.ts +3 -3
- package/dist/components/switch/switch.vue.d.ts +22 -22
- package/dist/components/switch/variants.d.ts +3 -3
- package/dist/components/table/hooks.d.ts +14 -14
- package/dist/components/table/table.vue.d.ts +3 -3
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tabs/variants.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/tag/variants.d.ts +3 -3
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/textarea/variants.d.ts +3 -3
- package/dist/components/toast/variants.d.ts +3 -3
- package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
- package/dist/components/tree/tree-virtualizer.vue.d.ts +7 -7
- package/dist/components/tree/tree.vue.d.ts +5 -5
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer.vue.d.ts +5 -5
- package/dist/nuxt/index.d.ts +2 -2
- package/dist/resolver/index.d.ts +2 -2
- package/dist/styles.css +5 -2
- package/package.json +11 -11
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TabsOptionData, TabsProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
import { AcceptableValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tabs/tabs.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S extends TabsOptionData<NonNullable<T>> = TabsOptionData<NonNullable<T>>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<TabsProps<T, S> & {
|
|
7
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<TabsProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
|
|
|
21
21
|
}) => any;
|
|
22
22
|
};
|
|
23
23
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
24
|
-
}>) => vue.VNode & {
|
|
24
|
+
}>) => _$vue.VNode & {
|
|
25
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tabs/variants.d.ts
|
|
5
|
-
declare const tabsVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const tabsVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
root: string;
|
|
@@ -148,7 +148,7 @@ declare const tabsVariants: tailwind_variants0.TVReturnType<{
|
|
|
148
148
|
indicator: string;
|
|
149
149
|
indicatorContent: string;
|
|
150
150
|
content: string;
|
|
151
|
-
}, tailwind_variants0.TVReturnType<{
|
|
151
|
+
}, _$tailwind_variants0.TVReturnType<{
|
|
152
152
|
size: {
|
|
153
153
|
xs: {
|
|
154
154
|
root: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tag/tag.vue.d.ts
|
|
5
5
|
declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {}, __VLS_16: {
|
|
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
} & {
|
|
15
15
|
close?: (props: typeof __VLS_16) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_base: vue.DefineComponent<TagProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
17
|
+
declare const __VLS_base: _$vue.DefineComponent<TagProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
18
18
|
"update:open": (open: boolean) => any;
|
|
19
|
-
}, string, vue.PublicProps, Readonly<TagProps> & Readonly<{
|
|
19
|
+
}, string, _$vue.PublicProps, Readonly<TagProps> & Readonly<{
|
|
20
20
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
open: boolean;
|
|
23
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
26
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tag/variants.d.ts
|
|
5
|
-
declare const tagVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const tagVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: string;
|
|
8
8
|
destructive: string;
|
|
@@ -64,7 +64,7 @@ declare const tagVariants: tailwind_variants0.TVReturnType<{
|
|
|
64
64
|
auto: string;
|
|
65
65
|
rounded: string;
|
|
66
66
|
};
|
|
67
|
-
}, undefined, tailwind_variants0.TVReturnType<{
|
|
67
|
+
}, undefined, _$tailwind_variants0.TVReturnType<{
|
|
68
68
|
color: {
|
|
69
69
|
primary: string;
|
|
70
70
|
destructive: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextareaProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/textarea.vue.d.ts
|
|
5
5
|
declare var __VLS_28: {
|
|
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
footer?: (props: typeof __VLS_30) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base: vue.DefineComponent<TextareaProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
14
|
+
declare const __VLS_base: _$vue.DefineComponent<TextareaProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
}, string, vue.PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
16
|
+
}, string, _$vue.PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/textarea/variants.d.ts
|
|
5
|
-
declare const textareaVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
root: string;
|
|
@@ -118,7 +118,7 @@ declare const textareaVariants: tailwind_variants0.TVReturnType<{
|
|
|
118
118
|
control: string[];
|
|
119
119
|
counter: string;
|
|
120
120
|
clearable: string;
|
|
121
|
-
}, tailwind_variants0.TVReturnType<{
|
|
121
|
+
}, _$tailwind_variants0.TVReturnType<{
|
|
122
122
|
size: {
|
|
123
123
|
xs: {
|
|
124
124
|
root: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/toast/variants.d.ts
|
|
5
|
-
declare const toastViewportVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const toastViewportVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: string;
|
|
8
8
|
sm: string;
|
|
@@ -36,7 +36,7 @@ declare const toastViewportVariants: tailwind_variants0.TVReturnType<{
|
|
|
36
36
|
'bottom-left': string;
|
|
37
37
|
'bottom-right': string;
|
|
38
38
|
};
|
|
39
|
-
}, undefined, tailwind_variants0.TVReturnType<{
|
|
39
|
+
}, undefined, _$tailwind_variants0.TVReturnType<{
|
|
40
40
|
size: {
|
|
41
41
|
xs: string;
|
|
42
42
|
sm: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TooltipProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/tooltip.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_36: {};
|
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
} & {
|
|
10
10
|
default?: (props: typeof __VLS_36) => any;
|
|
11
11
|
};
|
|
12
|
-
declare const __VLS_base: vue.DefineComponent<TooltipProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
12
|
+
declare const __VLS_base: _$vue.DefineComponent<TooltipProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
|
-
pointerDownOutside: (event: _soybeanjs_headless0.PointerDownOutsideEvent) => any;
|
|
16
|
-
}, string, vue.PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
15
|
+
pointerDownOutside: (event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => any;
|
|
16
|
+
}, string, _$vue.PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
17
17
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
18
18
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
|
-
onPointerDownOutside?: ((event: _soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
19
|
+
onPointerDownOutside?: ((event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
open: boolean;
|
|
22
22
|
defaultOpen: boolean;
|
|
23
23
|
showArrow: boolean;
|
|
24
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
27
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TreeVirtualizerProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
import { MaybeArray, TreeItemData } from "@soybeanjs/headless";
|
|
5
|
-
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
5
|
+
import * as _$_tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tree/tree-virtualizer.vue.d.ts
|
|
8
8
|
declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<TreeVirtualizerProps<T, U, M> & {
|
|
9
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<TreeVirtualizerProps<T, U, M> & {
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
11
11
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
12
12
|
}> & (typeof globalThis extends {
|
|
@@ -17,14 +17,14 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
17
17
|
slots: {
|
|
18
18
|
item?: (props: {
|
|
19
19
|
key: number;
|
|
20
|
-
virtualItem: _tanstack_vue_virtual0.VirtualItem;
|
|
21
|
-
item: _soybeanjs_headless0.FlattenedItem<T>;
|
|
20
|
+
virtualItem: _$_tanstack_vue_virtual0.VirtualItem;
|
|
21
|
+
item: _$_soybeanjs_headless0.FlattenedItem<T>;
|
|
22
22
|
modelValue: U;
|
|
23
23
|
expanded: string[];
|
|
24
24
|
}) => any;
|
|
25
25
|
};
|
|
26
26
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
27
|
-
}>) => vue.VNode & {
|
|
27
|
+
}>) => _$vue.VNode & {
|
|
28
28
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
29
|
};
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as vue from "vue";
|
|
2
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
1
|
+
import * as _$vue from "vue";
|
|
2
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
3
3
|
import { MaybeArray, TreeItemData, TreeRootProps } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree/tree.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
|
|
7
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<TreeRootProps<T, U, M> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
|
|
9
9
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
17
17
|
} & {
|
|
18
18
|
item?: (props: {
|
|
19
19
|
key: string;
|
|
20
|
-
item: _soybeanjs_headless0.FlattenedItem<T>;
|
|
20
|
+
item: _$_soybeanjs_headless0.FlattenedItem<T>;
|
|
21
21
|
modelValue: U | undefined;
|
|
22
22
|
expanded: string[];
|
|
23
23
|
}) => any;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
|
|
|
25
25
|
bottom?: (props: {}) => any;
|
|
26
26
|
};
|
|
27
27
|
emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
|
|
28
|
-
}>) => vue.VNode & {
|
|
28
|
+
}>) => _$vue.VNode & {
|
|
29
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
30
|
};
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TreeMenuStyledItemProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tree-menu/tree-menu-styled-item.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base: vue.DefineComponent<TreeMenuStyledItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TreeMenuStyledItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_base: _$vue.DefineComponent<TreeMenuStyledItemProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TreeMenuStyledItemProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TreeMenuBaseOptionData, TreeMenuProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tree-menu/tree-menu.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T extends TreeMenuBaseOptionData = TreeMenuBaseOptionData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<TreeMenuProps<T> & {
|
|
6
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<TreeMenuProps<T> & {
|
|
7
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
8
|
"onUpdate:expanded"?: ((value: string[]) => any) | undefined;
|
|
9
9
|
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
@@ -30,7 +30,7 @@ declare const __VLS_export: <T extends TreeMenuBaseOptionData = TreeMenuBaseOpti
|
|
|
30
30
|
}) => any;
|
|
31
31
|
};
|
|
32
32
|
emit: ((evt: "update:modelValue", value: string) => void) & ((evt: "update:expanded", value: string[]) => void) & ((evt: "update:collapsed", value: boolean) => void) & ((evt: "selectDropdown", value: string) => void);
|
|
33
|
-
}>) => vue.VNode & {
|
|
33
|
+
}>) => _$vue.VNode & {
|
|
34
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
35
|
};
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { VirtualizerProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
4
4
|
|
|
5
5
|
//#region src/components/virtualizer/virtualizer.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<VirtualizerProps<T>> & (typeof globalThis extends {
|
|
7
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<VirtualizerProps<T>> & (typeof globalThis extends {
|
|
8
8
|
__VLS_PROPS_FALLBACK: infer P;
|
|
9
9
|
} ? P : {});
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
11
11
|
attrs: any;
|
|
12
12
|
slots: {
|
|
13
13
|
item?: (props: {
|
|
14
|
-
virtualItem: _tanstack_vue_virtual0.VirtualItem;
|
|
14
|
+
virtualItem: _$_tanstack_vue_virtual0.VirtualItem;
|
|
15
15
|
index: number;
|
|
16
16
|
item: T;
|
|
17
17
|
}) => any;
|
|
18
18
|
};
|
|
19
19
|
emit: {};
|
|
20
|
-
}>) => vue.VNode & {
|
|
20
|
+
}>) => _$vue.VNode & {
|
|
21
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
22
|
};
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
package/dist/nuxt/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { components } from "../constants/components.js";
|
|
2
|
-
import * as _nuxt_schema0 from "@nuxt/schema";
|
|
2
|
+
import * as _$_nuxt_schema0 from "@nuxt/schema";
|
|
3
3
|
|
|
4
4
|
//#region src/nuxt/index.d.ts
|
|
5
5
|
interface ModuleOptions {
|
|
6
6
|
components: Partial<Record<keyof typeof components, boolean>> | boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: _nuxt_schema0.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
8
|
+
declare const _default: _$_nuxt_schema0.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ModuleOptions, _default as default };
|
package/dist/resolver/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as unplugin_vue_components0 from "unplugin-vue-components";
|
|
1
|
+
import * as _$unplugin_vue_components0 from "unplugin-vue-components";
|
|
2
2
|
|
|
3
3
|
//#region src/resolver/index.d.ts
|
|
4
|
-
declare function createResolver(): unplugin_vue_components0.ComponentResolverObject;
|
|
4
|
+
declare function createResolver(): _$unplugin_vue_components0.ComponentResolverObject;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { createResolver as default };
|
package/dist/styles.css
CHANGED
|
@@ -314,6 +314,7 @@
|
|
|
314
314
|
.min-h-8{min-height:2rem;}
|
|
315
315
|
.min-h-9{min-height:2.25rem;}
|
|
316
316
|
.min-w-\[--soybean-select-trigger-width\]{min-width:var(--soybean-select-trigger-width);}
|
|
317
|
+
.min-w-0{min-width:0;}
|
|
317
318
|
.min-w-2xl{min-width:42rem;}
|
|
318
319
|
.min-w-32{min-width:8rem;}
|
|
319
320
|
.min-w-4{min-width:1rem;}
|
|
@@ -353,11 +354,13 @@
|
|
|
353
354
|
.flex{display:flex;}
|
|
354
355
|
.inline-flex{display:inline-flex;}
|
|
355
356
|
.flex-1{flex:1 1 0%;}
|
|
356
|
-
.flex-shrink
|
|
357
|
+
.flex-shrink,
|
|
358
|
+
.shrink-1{flex-shrink:1;}
|
|
357
359
|
.flex-shrink-0,
|
|
358
360
|
.shrink-0{flex-shrink:0;}
|
|
359
361
|
.flex-grow,
|
|
360
|
-
.grow
|
|
362
|
+
.grow,
|
|
363
|
+
.grow-1{flex-grow:1;}
|
|
361
364
|
.data-\[side\=right\]\:flex-row-reverse[data-side=right],
|
|
362
365
|
[dir="rtl"] .rtl\:flex-row-reverse{flex-direction:row-reverse;}
|
|
363
366
|
.flex-col,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "SoybeanUI is built on top of SoybeanHeadless, providing a collection of styled components for Vue 3.",
|
|
5
5
|
"homepage": "https://github.com/soybeanjs/soybean-ui",
|
|
6
6
|
"bugs": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"tailwind-variants": "^3.2.2",
|
|
56
56
|
"valibot": "^1.3.1",
|
|
57
57
|
"zod": "^4.3.6",
|
|
58
|
-
"@soybeanjs/headless": "^0.
|
|
58
|
+
"@soybeanjs/headless": "^0.14.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@soybeanjs/cli": "^1.7.1",
|
|
@@ -64,28 +64,28 @@
|
|
|
64
64
|
"@soybeanjs/unocss-shadcn": "^0.3.4",
|
|
65
65
|
"@types/node": "^25.5.0",
|
|
66
66
|
"@unocss/cli": "^66.6.7",
|
|
67
|
-
"@vitest/coverage-v8": "^4.1.
|
|
67
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
68
68
|
"@vue/test-utils": "^2.4.6",
|
|
69
69
|
"eslint": "^10.1.0",
|
|
70
|
-
"happy-dom": "^20.8.
|
|
70
|
+
"happy-dom": "^20.8.9",
|
|
71
71
|
"lint-staged": "^16.4.0",
|
|
72
|
-
"oxfmt": "^0.
|
|
73
|
-
"oxlint": "^1.
|
|
72
|
+
"oxfmt": "^0.43.0",
|
|
73
|
+
"oxlint": "^1.58.0",
|
|
74
74
|
"simple-git-hooks": "^2.13.1",
|
|
75
|
-
"tsdown": "0.21.
|
|
75
|
+
"tsdown": "0.21.7",
|
|
76
76
|
"tsx": "^4.21.0",
|
|
77
|
-
"typescript": "^
|
|
77
|
+
"typescript": "^6.0.2",
|
|
78
78
|
"unocss": "^66.6.7",
|
|
79
79
|
"unocss-preset-animations": "^1.3.0",
|
|
80
80
|
"unplugin-auto-import": "^21.0.0",
|
|
81
81
|
"unplugin-vue": "^7.1.1",
|
|
82
82
|
"unplugin-vue-components": "^32.0.0",
|
|
83
83
|
"unplugin-vue-jsx": "^0.8.1",
|
|
84
|
-
"vite": "^8.0.
|
|
84
|
+
"vite": "^8.0.3",
|
|
85
85
|
"vite-plugin-vue-devtools": "^8.1.1",
|
|
86
86
|
"vite-plugin-vue-meta-layouts": "^0.6.1",
|
|
87
|
-
"vitest": "^4.1.
|
|
88
|
-
"vue": "^3.5.
|
|
87
|
+
"vitest": "^4.1.2",
|
|
88
|
+
"vue": "^3.5.31",
|
|
89
89
|
"vue-router": "^5.0.4",
|
|
90
90
|
"vue-tsc": "^3.2.6"
|
|
91
91
|
},
|