@soybeanjs/ui 0.0.19 → 0.0.20
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.vue.d.ts +3 -3
- package/dist/components/alert/alert.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +5 -5
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- 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/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/collapsible/collapsible.vue.d.ts +5 -5
- package/dist/components/command/command.vue.d.ts +7 -7
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +9 -5
- package/dist/components/config-provider/context.d.ts +2 -0
- package/dist/components/config-provider/context.js +1 -1
- package/dist/components/config-provider/types.d.ts +2 -2
- package/dist/components/context-menu/context-menu-checkbox.js +1 -1
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-radio.js +1 -1
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-wrapper.js +1 -1
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +11 -11
- package/dist/components/context-menu/context-menu.vue.d.ts +8 -8
- package/dist/components/context-menu/types.d.ts +2 -1
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +13 -13
- package/dist/components/dialog/dialog.vue.d.ts +13 -13
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +13 -13
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-radio.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/types.d.ts +2 -1
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/icon.vue.d.ts +3 -7
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.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 +8 -8
- package/dist/components/menu/menu-options.vue.d.ts +8 -8
- package/dist/components/menu/menu-radio-options.js +1 -1
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/menu/types.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
- package/dist/components/number-input/number-input.vue.d.ts +4 -4
- package/dist/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/components/password/password.vue.d.ts +4 -4
- package/dist/components/popover/popover.vue.d.ts +12 -12
- 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/segment/segment.vue.d.ts +3 -3
- package/dist/components/select/select.vue.d.ts +7 -7
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +22 -22
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/toast/context.js +1 -1
- package/dist/components/toast/toast-provider.js +1 -1
- package/dist/components/toast/types.d.ts +0 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +8 -8
- 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/index.js +1 -1
- package/dist/styles.css +7 -1
- package/dist/variants/alert.d.ts +3 -3
- package/dist/variants/badge.d.ts +3 -3
- package/dist/variants/button.d.ts +3 -3
- package/dist/variants/checkbox.d.ts +3 -3
- package/dist/variants/kbd.d.ts +3 -3
- package/dist/variants/menu.js +1 -1
- package/dist/variants/pagination.d.ts +3 -3
- package/dist/variants/radio-group.d.ts +3 -3
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tabs.d.ts +3 -3
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/toast.d.ts +3 -3
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopoverProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue288 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless179 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/popover.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_36: {}, __VLS_49: {};
|
|
@@ -11,27 +11,27 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
close?: (props: typeof __VLS_49) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base:
|
|
14
|
+
declare const __VLS_base: vue288.DefineComponent<PopoverProps, {}, {}, {}, {}, vue288.ComponentOptionsMixin, vue288.ComponentOptionsMixin, {
|
|
15
15
|
"update:open": (value: boolean) => any;
|
|
16
16
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
17
|
-
pointerDownOutside: (event:
|
|
18
|
-
focusOutside: (event:
|
|
19
|
-
interactOutside: (event:
|
|
17
|
+
pointerDownOutside: (event: _soybeanjs_headless179.PointerDownOutsideEvent) => any;
|
|
18
|
+
focusOutside: (event: _soybeanjs_headless179.FocusOutsideEvent) => any;
|
|
19
|
+
interactOutside: (event: _soybeanjs_headless179.PointerDownOutsideEvent | _soybeanjs_headless179.FocusOutsideEvent) => any;
|
|
20
20
|
openAutoFocus: (event: Event) => any;
|
|
21
21
|
closeAutoFocus: (event: Event) => any;
|
|
22
|
-
}, string,
|
|
22
|
+
}, string, vue288.PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
23
23
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
24
24
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
|
-
onPointerDownOutside?: ((event:
|
|
26
|
-
onFocusOutside?: ((event:
|
|
27
|
-
onInteractOutside?: ((event:
|
|
25
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless179.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _soybeanjs_headless179.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _soybeanjs_headless179.PointerDownOutsideEvent | _soybeanjs_headless179.FocusOutsideEvent) => any) | undefined;
|
|
28
28
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
open: boolean;
|
|
32
31
|
defaultOpen: boolean;
|
|
32
|
+
open: boolean;
|
|
33
33
|
showArrow: boolean;
|
|
34
|
-
}, {}, {}, {}, string,
|
|
34
|
+
}, {}, {}, {}, string, vue288.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
37
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioCardGroupOptionData, RadioCardGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue286 from "vue";
|
|
3
3
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-card-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioCardGroupOptionData<T> = RadioCardGroupOptionData<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:
|
|
7
|
+
props: vue286.PublicProps & __VLS_PrettifyLocal<RadioCardGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<AcceptableBooleanValue>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", payload: NonNullable<AcceptableBooleanValue>) => void;
|
|
16
|
-
}>) =>
|
|
16
|
+
}>) => vue286.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioCardProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue281 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio-card.vue.d.ts
|
|
5
5
|
declare var __VLS_19: {
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
description?: (props: typeof __VLS_27) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base:
|
|
13
|
+
declare const __VLS_base: vue281.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue281.ComponentOptionsMixin, vue281.ComponentOptionsMixin, {}, string, vue281.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, vue281.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioGroupOptionData, RadioGroupProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue274 from "vue";
|
|
3
3
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioGroupOptionData<T> = RadioGroupOptionData<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:
|
|
7
|
+
props: vue274.PublicProps & __VLS_PrettifyLocal<RadioGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
16
|
-
}>) =>
|
|
16
|
+
}>) => vue274.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RadioProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue276 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio.vue.d.ts
|
|
5
5
|
declare var __VLS_31: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_31) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue276.DefineComponent<RadioProps, {}, {}, {}, {}, vue276.ComponentOptionsMixin, vue276.ComponentOptionsMixin, {}, string, vue276.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue276.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,10 +1,10 @@
|
|
|
1
1
|
import { SegmentOptionData, SegmentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue307 from "vue";
|
|
3
3
|
import { AcceptableValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segment/segment.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S extends SegmentOptionData<NonNullable<T>> = SegmentOptionData<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:
|
|
7
|
+
props: vue307.PublicProps & __VLS_PrettifyLocal<SegmentProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
|
|
|
17
17
|
}) => any;
|
|
18
18
|
};
|
|
19
19
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
20
|
-
}>) =>
|
|
20
|
+
}>) => vue307.VNode & {
|
|
21
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
22
|
};
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SelectGroupOptionData, SelectProps, SelectSingleOptionData } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue305 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless188 from "@soybeanjs/headless";
|
|
4
4
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(__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<{
|
|
8
|
-
props:
|
|
9
|
-
onSelect?: ((event:
|
|
8
|
+
props: vue305.PublicProps & __VLS_PrettifyLocal<SelectProps<T, M> & {
|
|
9
|
+
onSelect?: ((event: _soybeanjs_headless188.SelectItemEvent<T>) => any) | undefined;
|
|
10
10
|
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
11
11
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
-
onPointerDownOutside?: ((event:
|
|
13
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless188.PointerDownOutsideEvent) => any) | undefined;
|
|
14
14
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
15
15
|
}> & (typeof globalThis extends {
|
|
16
16
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -44,8 +44,8 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(
|
|
|
44
44
|
item: SelectSingleOptionData<T>;
|
|
45
45
|
}) => any;
|
|
46
46
|
};
|
|
47
|
-
emit: ((evt: "select", event:
|
|
48
|
-
}>) =>
|
|
47
|
+
emit: ((evt: "select", event: _soybeanjs_headless188.SelectItemEvent<T>) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless188.PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
48
|
+
}>) => vue305.VNode & {
|
|
49
49
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
50
50
|
};
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SeparatorProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue293 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless187 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/separator/separator.vue.d.ts
|
|
6
|
-
declare const __VLS_export:
|
|
7
|
-
orientation:
|
|
8
|
-
}, {}, {}, {}, string,
|
|
6
|
+
declare const __VLS_export: vue293.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue293.ComponentOptionsMixin, vue293.ComponentOptionsMixin, {}, string, vue293.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
7
|
+
orientation: _soybeanjs_headless187.DataOrientation;
|
|
8
|
+
}, {}, {}, {}, string, vue293.ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { _default };
|
|
@@ -2,13 +2,13 @@ import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
|
2
2
|
import "../../theme/index.js";
|
|
3
3
|
import { SwitchShape } from "../../variants/switch.js";
|
|
4
4
|
import { SwitchProps } from "./types.js";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as vue180 from "vue";
|
|
6
|
+
import * as _soybeanjs_headless96 from "@soybeanjs/headless";
|
|
7
7
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
8
8
|
|
|
9
9
|
//#region src/components/switch/switch.vue.d.ts
|
|
10
10
|
declare const __VLS_export: <T extends AcceptableBooleanValue = 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<{
|
|
11
|
-
props:
|
|
11
|
+
props: vue180.PublicProps & __VLS_PrettifyLocal<SwitchProps<T> & {
|
|
12
12
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -18,13 +18,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
18
18
|
slots: {
|
|
19
19
|
leading?: (props: {
|
|
20
20
|
modelValue: (Readonly<{
|
|
21
|
-
class:
|
|
22
|
-
ui: Partial<
|
|
21
|
+
class: _soybeanjs_headless96.ClassValue;
|
|
22
|
+
ui: Partial<_soybeanjs_headless96.SwitchUi>;
|
|
23
23
|
color: ThemeColor;
|
|
24
24
|
size: ThemeSize;
|
|
25
25
|
shape: SwitchShape;
|
|
26
|
-
controlProps:
|
|
27
|
-
thumbProps:
|
|
26
|
+
controlProps: _soybeanjs_headless96.SwitchControlProps;
|
|
27
|
+
thumbProps: _soybeanjs_headless96.SwitchThumbProps;
|
|
28
28
|
defaultValue: NonNullable<T> | undefined;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
value: string;
|
|
@@ -32,14 +32,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
32
32
|
required: boolean;
|
|
33
33
|
manifest: string | undefined;
|
|
34
34
|
innerHTML: string | undefined;
|
|
35
|
-
style:
|
|
35
|
+
style: vue180.StyleValue | undefined;
|
|
36
36
|
accesskey: string | undefined;
|
|
37
37
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
38
38
|
contextmenu: string | undefined;
|
|
39
39
|
dir: string | undefined;
|
|
40
40
|
draggable: (boolean | "true" | "false") | undefined;
|
|
41
41
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
42
|
-
enterKeyHint:
|
|
42
|
+
enterKeyHint: vue180.HTMLAttributes["enterkeyhint"];
|
|
43
43
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -229,13 +229,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
229
229
|
} & {
|
|
230
230
|
default?: (props: {
|
|
231
231
|
modelValue: (Readonly<{
|
|
232
|
-
class:
|
|
233
|
-
ui: Partial<
|
|
232
|
+
class: _soybeanjs_headless96.ClassValue;
|
|
233
|
+
ui: Partial<_soybeanjs_headless96.SwitchUi>;
|
|
234
234
|
color: ThemeColor;
|
|
235
235
|
size: ThemeSize;
|
|
236
236
|
shape: SwitchShape;
|
|
237
|
-
controlProps:
|
|
238
|
-
thumbProps:
|
|
237
|
+
controlProps: _soybeanjs_headless96.SwitchControlProps;
|
|
238
|
+
thumbProps: _soybeanjs_headless96.SwitchThumbProps;
|
|
239
239
|
defaultValue: NonNullable<T> | undefined;
|
|
240
240
|
disabled: boolean;
|
|
241
241
|
value: string;
|
|
@@ -243,14 +243,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
243
243
|
required: boolean;
|
|
244
244
|
manifest: string | undefined;
|
|
245
245
|
innerHTML: string | undefined;
|
|
246
|
-
style:
|
|
246
|
+
style: vue180.StyleValue | undefined;
|
|
247
247
|
accesskey: string | undefined;
|
|
248
248
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
249
249
|
contextmenu: string | undefined;
|
|
250
250
|
dir: string | undefined;
|
|
251
251
|
draggable: (boolean | "true" | "false") | undefined;
|
|
252
252
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
253
|
-
enterKeyHint:
|
|
253
|
+
enterKeyHint: vue180.HTMLAttributes["enterkeyhint"];
|
|
254
254
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
255
255
|
id: string | undefined;
|
|
256
256
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -440,13 +440,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
440
440
|
} & {
|
|
441
441
|
trailing?: (props: {
|
|
442
442
|
modelValue: (Readonly<{
|
|
443
|
-
class:
|
|
444
|
-
ui: Partial<
|
|
443
|
+
class: _soybeanjs_headless96.ClassValue;
|
|
444
|
+
ui: Partial<_soybeanjs_headless96.SwitchUi>;
|
|
445
445
|
color: ThemeColor;
|
|
446
446
|
size: ThemeSize;
|
|
447
447
|
shape: SwitchShape;
|
|
448
|
-
controlProps:
|
|
449
|
-
thumbProps:
|
|
448
|
+
controlProps: _soybeanjs_headless96.SwitchControlProps;
|
|
449
|
+
thumbProps: _soybeanjs_headless96.SwitchThumbProps;
|
|
450
450
|
defaultValue: NonNullable<T> | undefined;
|
|
451
451
|
disabled: boolean;
|
|
452
452
|
value: string;
|
|
@@ -454,14 +454,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
454
454
|
required: boolean;
|
|
455
455
|
manifest: string | undefined;
|
|
456
456
|
innerHTML: string | undefined;
|
|
457
|
-
style:
|
|
457
|
+
style: vue180.StyleValue | undefined;
|
|
458
458
|
accesskey: string | undefined;
|
|
459
459
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
460
460
|
contextmenu: string | undefined;
|
|
461
461
|
dir: string | undefined;
|
|
462
462
|
draggable: (boolean | "true" | "false") | undefined;
|
|
463
463
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
464
|
-
enterKeyHint:
|
|
464
|
+
enterKeyHint: vue180.HTMLAttributes["enterkeyhint"];
|
|
465
465
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
466
466
|
id: string | undefined;
|
|
467
467
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -650,7 +650,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
650
650
|
}) => any;
|
|
651
651
|
};
|
|
652
652
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
653
|
-
}>) =>
|
|
653
|
+
}>) => vue180.VNode & {
|
|
654
654
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
655
655
|
};
|
|
656
656
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TabsOptionData, TabsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue303 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:
|
|
7
|
+
props: vue303.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
|
-
}>) =>
|
|
24
|
+
}>) => vue303.VNode & {
|
|
25
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
26
|
};
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue298 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:
|
|
17
|
+
declare const __VLS_base: vue298.DefineComponent<TagProps, {}, {}, {}, {}, vue298.ComponentOptionsMixin, vue298.ComponentOptionsMixin, {
|
|
18
18
|
"update:open": (open: boolean) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue298.PublicProps, Readonly<TagProps> & Readonly<{
|
|
20
20
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
open: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue298.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,5 +1,5 @@
|
|
|
1
1
|
import { TextareaProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue309 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:
|
|
14
|
+
declare const __VLS_base: vue309.DefineComponent<TextareaProps, {}, {}, {}, {}, vue309.ComponentOptionsMixin, vue309.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue309.PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string,
|
|
18
|
+
}>, {}, {}, {}, {}, string, vue309.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 +1 @@
|
|
|
1
|
-
import{mergeUi as e}from"../../theme/shared.js";import{
|
|
1
|
+
import{mergeUi as e}from"../../theme/shared.js";import{useThemeSize as t}from"../config-provider/context.js";import{toastTypes as n}from"./shared.js";import{computed as r,nextTick as i,shallowRef as a,watch as o}from"vue";import{useContext as s}from"@soybeanjs/headless/composables";import{useDebounceFn as c}from"@vueuse/core";const[l,u]=s(`UiToastProvider`,s=>{let{ui:l,limits:u,removeDelay:d}=s,f=a(s.position.value),p=t(),m=a([]),h=r(()=>m.value.map(e=>e.id)),g=a([]),_=c(()=>{g.value=m.value},d.value);o(m,(e,t)=>{e.length>=t.length?g.value=m.value:_()});let v=e=>{m.value=[e,...m.value].slice(0,u.value)},y=e=>{m.value=m.value.filter(t=>t.id!==e)},b=()=>{m.value=[]},x=0,S=t=>{let{showIcon:n=!0,size:r=p.value,ui:i,...a}=t,o=x;return x++,{id:o,size:r,showIcon:n,ui:e(l.value,i),...a}},C=e=>{let t=S(e),n=e.position??s.position.value;f.value!==n&&(f.value=n,b()),i(()=>{v(t)})},w=C;w.clear=b;for(let e of n)w[e]=t=>C({type:e,...t});return{useToast:w,clear:b,ids:h,states:r(()=>g.value),remove:y,position:f}}),d=()=>{let{useToast:e}=u(`UiToastConsumer`);return e};export{l as provideToastProviderContext,d as useToast};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cn as e}from"../../theme/merge.js";import{toastViewportVariants as t}from"../../variants/toast.js";import{
|
|
1
|
+
import{cn as e}from"../../theme/merge.js";import{toastViewportVariants as t}from"../../variants/toast.js";import{useThemeSize as n}from"../config-provider/context.js";import{provideToastProviderContext as r}from"./context.js";import i from"./toast.js";import{Fragment as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createSlots as u,createTextVNode as d,createVNode as f,defineComponent as p,guardReactiveProps as m,mergeProps as h,normalizeProps as g,onBeforeUnmount as _,openBlock as v,renderList as y,renderSlot as b,resolveDynamicComponent as x,toDisplayString as S,unref as C,withCtx as w}from"vue";import{useOmitProps as T}from"@soybeanjs/headless/composables";import{ToastProvider as E,ToastViewport as D,provideToastViewportUi as O}from"@soybeanjs/headless";import{transformPropsToContext as k}from"@soybeanjs/headless/shared";var A=p({name:`SToast`,__name:`toast-provider`,props:{ui:{default:()=>({})},limits:{default:3},removeDelay:{default:5e3},position:{default:`top-right`},viewportProps:{},label:{},duration:{},swipeDirection:{},swipeThreshold:{}},setup(p){let A=p,j=T(A,[`ui`,`limits`,`removeDelay`,`position`,`viewportProps`]),{states:M,ids:N,clear:P,remove:F,position:I}=r(k(A,[`ui`,`limits`,`removeDelay`,`position`])),L=n();return O(o(()=>e(t({size:L.value,position:I.value}),A.ui?.viewport))),_(()=>{P()}),(e,t)=>(v(),s(C(E),g(m(C(j))),{default:w(()=>[f(C(D),g(m(p.viewportProps)),null,16),(v(!0),l(a,null,y(C(M),({id:e,title:t,description:n,content:r,...o})=>(v(),s(i,h({key:e},{ref_for:!0},o,{open:C(N).includes(e),"onUpdate:open":t=>C(F)(e)}),u({default:w(()=>[r?(v(),s(x(r),{key:0})):c(`v-if`,!0)]),_:2},[t?{name:`title`,fn:w(()=>[typeof t==`string`?(v(),l(a,{key:0},[d(S(t),1)],64)):(v(),s(x(t),{key:1}))]),key:`0`}:void 0,n?{name:`description`,fn:w(()=>[typeof n==`string`?(v(),l(a,{key:0},[d(S(n),1)],64)):(v(),s(x(n),{key:1}))]),key:`1`}:void 0]),1040,[`open`,`onUpdate:open`]))),128)),b(e.$slots,`default`)]),_:3},16))}});export{A as default};
|
|
@@ -8,7 +8,6 @@ import { ClassValue, EmitsToHookProps, PropsToContext, ToastDescriptionProps, To
|
|
|
8
8
|
type ToastExtraSlot = 'viewport';
|
|
9
9
|
type ToastExtendedTheme = ToastUi & Record<ToastExtraSlot, ClassValue>;
|
|
10
10
|
interface ToastProviderProps$1 extends ToastProviderProps {
|
|
11
|
-
size?: ThemeSize;
|
|
12
11
|
ui?: Partial<ToastExtendedTheme>;
|
|
13
12
|
/**
|
|
14
13
|
* The maximum number of toasts that can be displayed at the same time.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TooltipProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue200 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless108 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:
|
|
12
|
+
declare const __VLS_base: vue200.DefineComponent<TooltipProps, {}, {}, {}, {}, vue200.ComponentOptionsMixin, vue200.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
|
-
pointerDownOutside: (event:
|
|
16
|
-
}, string,
|
|
15
|
+
pointerDownOutside: (event: _soybeanjs_headless108.PointerDownOutsideEvent) => any;
|
|
16
|
+
}, string, vue200.PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
17
17
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
18
18
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
|
-
onPointerDownOutside?: ((event:
|
|
19
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless108.PointerDownOutsideEvent) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
open: boolean;
|
|
22
21
|
defaultOpen: boolean;
|
|
22
|
+
open: boolean;
|
|
23
23
|
showArrow: boolean;
|
|
24
|
-
}, {}, {}, {}, string,
|
|
24
|
+
}, {}, {}, {}, string, vue200.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,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue207 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/components/tree-menu/tree-menu-styled-item.vue.d.ts
|
|
4
4
|
declare var __VLS_1: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_1) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_base:
|
|
8
|
+
declare const __VLS_base: vue207.DefineComponent<{}, {}, {}, {}, {}, vue207.ComponentOptionsMixin, vue207.ComponentOptionsMixin, {}, string, vue207.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue207.ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TreeMenuOptionData, TreeMenuProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue205 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tree-menu/tree-menu.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T extends TreeMenuOptionData = TreeMenuOptionData>(__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:
|
|
6
|
+
props: vue205.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;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_export: <T extends TreeMenuOptionData = TreeMenuOptionData>(
|
|
|
27
27
|
}) => any;
|
|
28
28
|
};
|
|
29
29
|
emit: ((evt: "update:modelValue", value: string) => void) & ((evt: "update:expanded", value: string[]) => void) & ((evt: "update:collapsed", value: boolean) => void) & ((evt: "selectDropdown", value: string) => void);
|
|
30
|
-
}>) =>
|
|
30
|
+
}>) => vue205.VNode & {
|
|
31
31
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
32
32
|
};
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./components/alert-dialog/alert-dialog.js";import t from"./components/button/button.js";import n from"./components/alert-dialog/alert-dialog-cancel.js";import r from"./components/alert-dialog/alert-dialog-action.js";import{useDialog as i}from"./components/dialog/context.js";import{
|
|
1
|
+
import e from"./components/alert-dialog/alert-dialog.js";import t from"./components/button/button.js";import n from"./components/alert-dialog/alert-dialog-cancel.js";import r from"./components/alert-dialog/alert-dialog-action.js";import{useDialog as i}from"./components/dialog/context.js";import{useConfigProvider as a}from"./components/config-provider/context.js";import{useToast as o}from"./components/toast/context.js";import s from"./components/button/button-icon.js";import c from"./components/toast/toast.js";import l from"./components/config-provider/config-provider.js";import u from"./components/icon/icon.js";import d from"./components/accordion/accordion.js";import f from"./components/alert/alert.js";import{SArrow as p}from"./components/arrow/index.js";import{SAspectRatio as m}from"./components/aspect-ratio/index.js";import h from"./components/avatar/avatar.js";import g from"./components/badge/badge.js";import _ from"./components/breadcrumb/breadcrumb.js";import{SBreadcrumbEllipsis as v,SBreadcrumbPage as y}from"./components/breadcrumb/index.js";import b from"./components/button/button-loading.js";import x from"./components/link/link.js";import S from"./components/button/button-link.js";import C from"./components/button/button-group.js";import w from"./components/card/card.js";import T from"./components/checkbox/checkbox.js";import E from"./components/checkbox/checkbox-group.js";import D from"./components/checkbox/checkbox-card.js";import O from"./components/checkbox/checkbox-card-group.js";import k from"./components/collapsible/collapsible.js";import{SCollapsibleContent as A,SCollapsibleTrigger as j}from"./components/collapsible/index.js";import M from"./components/kbd/kbd.js";import N from"./components/command/command.js";import P from"./components/menu/menu-option.js";import F from"./components/menu/menu-options.js";import I from"./components/context-menu/context-menu-wrapper.js";import L from"./components/context-menu/context-menu.js";import R from"./components/menu/menu-checkbox-options.js";import z from"./components/context-menu/context-menu-checkbox.js";import B from"./components/menu/menu-radio-options.js";import V from"./components/context-menu/context-menu-radio.js";import H from"./components/dialog/dialog.js";import U from"./components/dialog/dialog-close.js";import W from"./components/dialog/dialog-pure.js";import G from"./components/drawer/drawer.js";import K from"./components/drawer/drawer-close.js";import q from"./components/dropdown-menu/dropdown-menu-wrapper.js";import J from"./components/dropdown-menu/dropdown-menu.js";import Y from"./components/dropdown-menu/dropdown-menu-checkbox.js";import X from"./components/dropdown-menu/dropdown-menu-radio.js";import Z from"./components/form/form.js";import{useForm as Q}from"./components/form/use-form.js";import $ from"./components/input/input.js";import ee from"./components/label/label.js";import te from"./components/layout/layout.js";import ne from"./components/layout/layout-trigger.js";import re from"./components/list/list.js";import ie from"./components/list/list-item.js";import ae from"./components/navigation-menu/navigation-menu.js";import oe from"./components/number-input/number-input.js";import se from"./components/pagination/pagination.js";import ce from"./components/password/password.js";import le from"./components/popover/popover.js";import ue from"./components/radio-group/radio.js";import de from"./components/radio-group/radio-group.js";import fe from"./components/radio-group/radio-card.js";import pe from"./components/radio-group/radio-card-group.js";import me from"./components/segment/segment.js";import he from"./components/select/select.js";import ge from"./components/separator/separator.js";import _e from"./components/switch/switch.js";import ve from"./components/tabs/tabs.js";import ye from"./components/tag/tag.js";import be from"./components/textarea/textarea.js";import{SToastAction as xe,SToastClose as Se}from"./components/toast/index.js";import Ce from"./components/tooltip/tooltip.js";import we from"./components/tree/tree.js";import Te from"./components/tree/tree-virtualizer.js";import{STreeItem as Ee,STreeVirtualizerItem as De}from"./components/tree/index.js";import Oe from"./components/tree-menu/tree-menu.js";import ke from"./components/tree-menu/tree-menu-styled-item.js";import Ae from"./components/virtualizer/virtualizer.js";import{SVirtualizerItem as je}from"./components/virtualizer/index.js";export{d as SAccordion,f as SAlert,e as SAlertDialog,r as SAlertDialogAction,n as SAlertDialogCancel,p as SArrow,m as SAspectRatio,h as SAvatar,g as SBadge,_ as SBreadcrumb,v as SBreadcrumbEllipsis,y as SBreadcrumbPage,t as SButton,C as SButtonGroup,s as SButtonIcon,S as SButtonLink,b as SButtonLoading,w as SCard,T as SCheckbox,D as SCheckboxCard,O as SCheckboxCardGroup,E as SCheckboxGroup,k as SCollapsible,A as SCollapsibleContent,j as SCollapsibleTrigger,N as SCommand,l as SConfigProvider,L as SContextMenu,z as SContextMenuCheckbox,V as SContextMenuRadio,I as SContextMenuWrapper,H as SDialog,U as SDialogClose,W as SDialogPure,G as SDrawer,K as SDrawerClose,J as SDropdownMenu,Y as SDropdownMenuCheckbox,X as SDropdownMenuRadio,q as SDropdownMenuWrapper,Z as SForm,u as SIcon,$ as SInput,M as SKbd,ee as SLabel,te as SLayout,ne as SLayoutTrigger,x as SLink,re as SList,ie as SListItem,R as SMenuCheckboxOptions,P as SMenuOption,F as SMenuOptions,B as SMenuRadioOptions,ae as SNavigationMenu,oe as SNumberInput,se as SPagination,ce as SPassword,le as SPopover,ue as SRadio,fe as SRadioCard,pe as SRadioCardGroup,de as SRadioGroup,me as SSegment,he as SSelect,ge as SSeparator,_e as SSwitch,ve as STabs,ye as STag,be as STextarea,c as SToast,xe as SToastAction,Se as SToastClose,Ce as STooltip,we as STree,Ee as STreeItem,Oe as STreeMenu,ke as STreeMenuStyledItem,Te as STreeVirtualizer,De as STreeVirtualizerItem,Ae as SVirtualizer,je as SVirtualizerItem,a as useConfigProvider,i as useDialog,Q as useForm,o as useToast};
|
package/dist/styles.css
CHANGED
|
@@ -818,7 +818,6 @@
|
|
|
818
818
|
.data-\[selected\]\:active\:bg-primary-600:active[data-selected]{--un-bg-opacity:1;background-color:hsl(var(--primary-600) / var(--un-bg-opacity)) /* hsl(var(--primary-600)) */;}
|
|
819
819
|
.data-\[selected\]\:active\:bg-primary\/20:active[data-selected]{background-color:hsl(var(--primary) / 0.2) /* hsl(var(--primary)) */;}
|
|
820
820
|
.file\:bg-transparent::file-selector-button{background-color:transparent /* transparent */;}
|
|
821
|
-
.fill-current{fill:currentColor /* currentColor */;}
|
|
822
821
|
.fill-popover{--un-fill-opacity:1;fill:hsl(var(--popover) / var(--un-fill-opacity)) /* hsl(var(--popover)) */;}
|
|
823
822
|
.stroke-border{--un-stroke-opacity:var(--border-alpha, 1);stroke:hsl(var(--border) / var(--un-stroke-opacity)) /* hsl(var(--border) / var(--border-alpha, 1)) */;}
|
|
824
823
|
.object-cover{object-fit:cover;}
|
|
@@ -895,6 +894,7 @@
|
|
|
895
894
|
.pb-4\.5{padding-bottom:1.125rem;}
|
|
896
895
|
.pb-5{padding-bottom:1.25rem;}
|
|
897
896
|
.pb-6{padding-bottom:1.5rem;}
|
|
897
|
+
.pl-1{padding-left:0.25rem;}
|
|
898
898
|
.pl-1\.5{padding-left:0.375rem;}
|
|
899
899
|
.pl-10{padding-left:2.5rem;}
|
|
900
900
|
.pl-12{padding-left:3rem;}
|
|
@@ -911,10 +911,16 @@
|
|
|
911
911
|
.pl-9{padding-left:2.25rem;}
|
|
912
912
|
.pr-1{padding-right:0.25rem;}
|
|
913
913
|
.pr-1\.5{padding-right:0.375rem;}
|
|
914
|
+
.pr-10{padding-right:2.5rem;}
|
|
915
|
+
.pr-12{padding-right:3rem;}
|
|
914
916
|
.pr-2{padding-right:0.5rem;}
|
|
915
917
|
.pr-2\.5{padding-right:0.625rem;}
|
|
916
918
|
.pr-3{padding-right:0.75rem;}
|
|
917
919
|
.pr-3\.5{padding-right:0.875rem;}
|
|
920
|
+
.pr-6{padding-right:1.5rem;}
|
|
921
|
+
.pr-7{padding-right:1.75rem;}
|
|
922
|
+
.pr-8{padding-right:2rem;}
|
|
923
|
+
.pr-9{padding-right:2.25rem;}
|
|
918
924
|
.pt-0\.75{padding-top:0.1875rem;}
|
|
919
925
|
.pt-0\.875{padding-top:0.21875rem;}
|
|
920
926
|
.pt-1{padding-top:0.25rem;}
|
package/dist/variants/alert.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants17 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/alert.d.ts
|
|
5
|
-
declare const alertVariants:
|
|
5
|
+
declare const alertVariants: tailwind_variants17.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
root: string;
|
|
@@ -196,7 +196,7 @@ declare const alertVariants: tailwind_variants0.TVReturnType<{
|
|
|
196
196
|
title: string;
|
|
197
197
|
description: string;
|
|
198
198
|
close: string;
|
|
199
|
-
},
|
|
199
|
+
}, tailwind_variants17.TVReturnType<{
|
|
200
200
|
color: {
|
|
201
201
|
primary: {
|
|
202
202
|
root: string;
|