@soybeanjs/ui 0.0.17 → 0.0.19
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 +4 -4
- 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 +4 -4
- package/dist/components/command/command.vue.d.ts +7 -7
- package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +8 -8
- 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/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +12 -12
- package/dist/components/dialog/dialog.vue.d.ts +12 -12
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +12 -12
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +8 -8
- 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/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- package/dist/components/icon/icon.vue.d.ts +3 -3
- 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.vue.d.ts +3 -3
- 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 +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/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/tooltip/tooltip.vue.d.ts +7 -7
- package/dist/components/tree/tree-virtualizer.vue.d.ts +3 -3
- package/dist/components/tree/tree.vue.d.ts +3 -3
- 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 +3 -3
- package/dist/styles.css +13 -22
- package/dist/variants/accordion.js +1 -1
- package/dist/variants/breadcrumb.js +1 -1
- package/dist/variants/button.d.ts +3 -3
- package/dist/variants/button.js +1 -1
- package/dist/variants/checkbox.js +1 -1
- package/dist/variants/input.js +1 -1
- package/dist/variants/kbd.d.ts +3 -3
- package/dist/variants/number-input.js +1 -1
- package/dist/variants/pagination.js +1 -1
- package/dist/variants/radio-group.d.ts +3 -3
- package/dist/variants/radio-group.js +1 -1
- package/dist/variants/select.js +1 -1
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/switch.js +1 -1
- package/dist/variants/tabs.d.ts +3 -3
- package/dist/variants/tabs.js +1 -1
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/textarea.js +1 -1
- package/package.json +2 -2
|
@@ -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 vue236 from "vue";
|
|
6
|
+
import * as _soybeanjs_headless154 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: vue236.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_headless154.ClassValue;
|
|
22
|
+
ui: Partial<_soybeanjs_headless154.SwitchUi>;
|
|
23
23
|
color: ThemeColor;
|
|
24
24
|
size: ThemeSize;
|
|
25
25
|
shape: SwitchShape;
|
|
26
|
-
controlProps:
|
|
27
|
-
thumbProps:
|
|
26
|
+
controlProps: _soybeanjs_headless154.SwitchControlProps;
|
|
27
|
+
thumbProps: _soybeanjs_headless154.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: vue236.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: vue236.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_headless154.ClassValue;
|
|
233
|
+
ui: Partial<_soybeanjs_headless154.SwitchUi>;
|
|
234
234
|
color: ThemeColor;
|
|
235
235
|
size: ThemeSize;
|
|
236
236
|
shape: SwitchShape;
|
|
237
|
-
controlProps:
|
|
238
|
-
thumbProps:
|
|
237
|
+
controlProps: _soybeanjs_headless154.SwitchControlProps;
|
|
238
|
+
thumbProps: _soybeanjs_headless154.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: vue236.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: vue236.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_headless154.ClassValue;
|
|
444
|
+
ui: Partial<_soybeanjs_headless154.SwitchUi>;
|
|
445
445
|
color: ThemeColor;
|
|
446
446
|
size: ThemeSize;
|
|
447
447
|
shape: SwitchShape;
|
|
448
|
-
controlProps:
|
|
449
|
-
thumbProps:
|
|
448
|
+
controlProps: _soybeanjs_headless154.SwitchControlProps;
|
|
449
|
+
thumbProps: _soybeanjs_headless154.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: vue236.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: vue236.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
|
+
}>) => vue236.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 vue234 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: vue234.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
|
+
}>) => vue234.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 vue205 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: vue205.DefineComponent<TagProps, {}, {}, {}, {}, vue205.ComponentOptionsMixin, vue205.ComponentOptionsMixin, {
|
|
18
18
|
"update:open": (open: boolean) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue205.PublicProps, Readonly<TagProps> & Readonly<{
|
|
20
20
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
open: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue205.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 vue271 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: vue271.DefineComponent<TextareaProps, {}, {}, {}, {}, vue271.ComponentOptionsMixin, vue271.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: string) => any;
|
|
16
|
-
}, string,
|
|
16
|
+
}, string, vue271.PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string,
|
|
18
|
+
}>, {}, {}, {}, {}, string, vue271.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,6 +1,6 @@
|
|
|
1
1
|
import { TooltipProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue244 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless166 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: vue244.DefineComponent<TooltipProps, {}, {}, {}, {}, vue244.ComponentOptionsMixin, vue244.ComponentOptionsMixin, {
|
|
13
13
|
"update:open": (value: boolean) => any;
|
|
14
14
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
15
|
-
pointerDownOutside: (event:
|
|
16
|
-
}, string,
|
|
15
|
+
pointerDownOutside: (event: _soybeanjs_headless166.PointerDownOutsideEvent) => any;
|
|
16
|
+
}, string, vue244.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_headless166.PointerDownOutsideEvent) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
open: boolean;
|
|
22
22
|
defaultOpen: boolean;
|
|
23
23
|
showArrow: boolean;
|
|
24
|
-
}, {}, {}, {}, string,
|
|
24
|
+
}, {}, {}, {}, string, vue244.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
|
|
2
|
+
import * as vue1 from "vue";
|
|
3
3
|
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
import { MaybeArray, TreeItemData } from "@soybeanjs/headless";
|
|
5
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:
|
|
9
|
+
props: vue1.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 {
|
|
@@ -24,7 +24,7 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<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
|
-
}>) =>
|
|
27
|
+
}>) => vue1.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
|
|
1
|
+
import * as vue0 from "vue";
|
|
2
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:
|
|
7
|
+
props: vue0.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 {
|
|
@@ -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
|
-
}>) =>
|
|
28
|
+
}>) => vue0.VNode & {
|
|
29
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
30
|
};
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue298 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: vue298.DefineComponent<{}, {}, {}, {}, {}, vue298.ComponentOptionsMixin, vue298.ComponentOptionsMixin, {}, string, vue298.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue298.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 vue296 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: vue296.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
|
+
}>) => vue296.VNode & {
|
|
31
31
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
32
32
|
};
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { VirtualizerProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue3 from "vue";
|
|
3
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:
|
|
7
|
+
props: vue3.PublicProps & __VLS_PrettifyLocal<VirtualizerProps<T>> & (typeof globalThis extends {
|
|
8
8
|
__VLS_PROPS_FALLBACK: infer P;
|
|
9
9
|
} ? P : {});
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNull
|
|
|
17
17
|
}) => any;
|
|
18
18
|
};
|
|
19
19
|
emit: {};
|
|
20
|
-
}>) =>
|
|
20
|
+
}>) => vue3.VNode & {
|
|
21
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
22
|
};
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
package/dist/styles.css
CHANGED
|
@@ -42,9 +42,6 @@
|
|
|
42
42
|
@keyframes shadcn-up { from{ height: var(--soybean-accordion-content-height)} to { height: 0 } }
|
|
43
43
|
@keyframes shadcn-collapsible-down { from{ height: 0 } to { height: var(--soybean-collapsible-content-height)} }
|
|
44
44
|
@keyframes shadcn-collapsible-up { from{ height: var(--soybean-collapsible-content-height)} to { height: 0 } }
|
|
45
|
-
/* layer: typography */
|
|
46
|
-
:is(.prose-slate){color:var(--un-prose-body);max-width:65ch;:where(p):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;margin-bottom:1.25em;}:where([class~="lead"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em;}:where(a):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-links);text-decoration:underline;font-weight:500;}:where(strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-bold);font-weight:600;}:where(a strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(blockquote strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(thead th strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(ol):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;}:where(ol[type="A"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-alpha;}:where(ol[type="a"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-alpha;}:where(ol[type="A" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-alpha;}:where(ol[type="a" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-alpha;}:where(ol[type="I"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-roman;}:where(ol[type="i"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-roman;}:where(ol[type="I" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:upper-roman;}:where(ol[type="i" s]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:lower-roman;}:where(ol[type="1"]):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:decimal;}:where(ul):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;}:where(ol > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::marker {font-weight:400;color:var(--un-prose-counters);}:where(ul > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::marker {color:var(--un-prose-bullets);}:where(dt):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;margin-top:1.25em;}:where(hr):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-color:var(--un-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em;}:where(blockquote):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:500;font-style:italic;color:var(--un-prose-quotes);border-inline-start-width:0.25rem;border-inline-start-color:var(--un-prose-quote-borders);quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;}:where(blockquote p:first-of-type):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::before {content:open-quote;}:where(blockquote p:last-of-type):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::after {content:close-quote;}:where(h1):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:0.8888889em;line-height:1.1111111;}:where(h1 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:900;color:inherit;}:where(h2):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333;}:where(h2 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:800;color:inherit;}:where(h3):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:0.6em;line-height:1.6;}:where(h3 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:700;color:inherit;}:where(h4):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:0.5em;line-height:1.5;}:where(h4 strong):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:700;color:inherit;}:where(img):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:2em;margin-bottom:2em;}:where(picture):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {display:block;margin-top:2em;margin-bottom:2em;}:where(video):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:2em;margin-bottom:2em;}:where(kbd):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {font-weight:500;font-family:inherit;color:var(--un-prose-kbd);box-shadow:0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%);font-size:0.875em;border-radius:0.3125rem;padding-top:0.1875em;padding-inline-end:0.375em;padding-bottom:0.1875em;padding-inline-start:0.375em;}:where(code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-code);font-weight:600;font-size:0.875em;}:where(code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::before {content:"`";}:where(code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::after {content:"`";}:where(a code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(h1 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(h2 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;font-size:0.875em;}:where(h3 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;font-size:0.9em;}:where(h4 code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(blockquote code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(thead th code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:inherit;}:where(pre):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-pre-code);background-color:var(--un-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:0.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:0.375rem;padding-top:0.8571429em;padding-inline-end:1.1428571em;padding-bottom:0.8571429em;padding-inline-start:1.1428571em;}:where(pre code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;}:where(pre code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::before {content:none;}:where(pre code):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *))::after {content:none;}:where(table):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:0.875em;line-height:1.7142857;}:where(thead):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-bottom-width:1px;border-bottom-color:var(--un-prose-th-borders);}:where(thead th):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:0.5714286em;padding-bottom:0.5714286em;padding-inline-start:0.5714286em;}:where(tbody tr):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-bottom-width:1px;border-bottom-color:var(--un-prose-td-borders);}:where(tbody tr:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-bottom-width:0;}:where(tbody td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {vertical-align:baseline;}:where(tfoot):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {border-top-width:1px;border-top-color:var(--un-prose-th-borders);}:where(tfoot td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {vertical-align:top;}:where(th, td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {text-align:start;}:where(figure > *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;margin-bottom:0;}:where(figcaption):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {color:var(--un-prose-captions);font-size:0.875em;line-height:1.4285714;margin-top:0.8571429em;}font-size:1rem;line-height:1.75;:where(picture > img):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;margin-bottom:0;}:where(li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.5em;margin-bottom:0.5em;}:where(ol > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0.375em;}:where(ul > li):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0.375em;}:where(> ul > li p):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.75em;margin-bottom:0.75em;}:where(> ul > li > p:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;}:where(> ul > li > p:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-bottom:1.25em;}:where(> ol > li > p:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;}:where(> ol > li > p:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-bottom:1.25em;}:where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.75em;margin-bottom:0.75em;}:where(dl):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:1.25em;margin-bottom:1.25em;}:where(dd):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0.5em;padding-inline-start:1.625em;}:where(hr + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(h2 + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(h3 + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(h4 + *):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(thead th:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0;}:where(thead th:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-end:0;}:where(tbody td, tfoot td):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-top:0.5714286em;padding-inline-end:0.5714286em;padding-bottom:0.5714286em;padding-inline-start:0.5714286em;}:where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-start:0;}:where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {padding-inline-end:0;}:where(figure):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:2em;margin-bottom:2em;}:where(> :first-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-top:0;}:where(> :last-child):not(:where([class~="not-prose-slate"],[class~="not-prose-slate"] *)) {margin-bottom:0;}--un-prose-body:#374151;--un-prose-invert-body:#d1d5db;--un-prose-headings:#111827;--un-prose-invert-headings:white;--un-prose-lead:#4b5563;--un-prose-invert-lead:#9ca3af;--un-prose-links:#111827;--un-prose-invert-links:white;--un-prose-bold:#111827;--un-prose-invert-bold:white;--un-prose-counters:#6b7280;--un-prose-invert-counters:#9ca3af;--un-prose-bullets:#d1d5db;--un-prose-invert-bullets:#4b5563;--un-prose-hr:#e5e7eb;--un-prose-invert-hr:#374151;--un-prose-quotes:#111827;--un-prose-invert-quotes:#f3f4f6;--un-prose-quote-borders:#e5e7eb;--un-prose-invert-quote-borders:#374151;--un-prose-captions:#6b7280;--un-prose-invert-captions:#9ca3af;--un-prose-kbd:#111827;--un-prose-invert-kbd:white;--un-prose-kbd-shadows:#111827;--un-prose-invert-kbd-shadows:white;--un-prose-code:#111827;--un-prose-invert-code:white;--un-prose-pre-code:#e5e7eb;--un-prose-invert-pre-code:#d1d5db;--un-prose-pre-bg:#1f2937;--un-prose-invert-pre-bg:rgb(0 0 0 / 50%);--un-prose-th-borders:#d1d5db;--un-prose-invert-th-borders:#4b5563;--un-prose-td-borders:#e5e7eb;--un-prose-invert-td-borders:#374151;}
|
|
47
|
-
.dark :is(.dark\:prose-slate-invert){--un-prose-body:var(--un-prose-invert-body);--un-prose-headings:var(--un-prose-invert-headings);--un-prose-lead:var(--un-prose-invert-lead);--un-prose-links:var(--un-prose-invert-links);--un-prose-bold:var(--un-prose-invert-bold);--un-prose-counters:var(--un-prose-invert-counters);--un-prose-bullets:var(--un-prose-invert-bullets);--un-prose-hr:var(--un-prose-invert-hr);--un-prose-quotes:var(--un-prose-invert-quotes);--un-prose-quote-borders:var(--un-prose-invert-quote-borders);--un-prose-captions:var(--un-prose-invert-captions);--un-prose-kbd:var(--un-prose-invert-kbd);--un-prose-kbd-shadows:var(--un-prose-invert-kbd-shadows);--un-prose-code:var(--un-prose-invert-code);--un-prose-pre-code:var(--un-prose-invert-pre-code);--un-prose-pre-bg:var(--un-prose-invert-pre-bg);--un-prose-th-borders:var(--un-prose-invert-th-borders);--un-prose-td-borders:var(--un-prose-invert-td-borders);}
|
|
48
45
|
/* layer: default */
|
|
49
46
|
.\[--soybean-layout-spacing\:0\.75rem\]{--soybean-layout-spacing:0.75rem;}
|
|
50
47
|
.\[--soybean-layout-spacing\:0\.875rem\]{--soybean-layout-spacing:0.875rem;}
|
|
@@ -196,7 +193,6 @@
|
|
|
196
193
|
.grid{display:grid;}
|
|
197
194
|
.grid-cols-\[auto_auto\]{grid-template-columns:auto auto;}
|
|
198
195
|
.m-0{margin:0;}
|
|
199
|
-
.m-auto{margin:auto;}
|
|
200
196
|
.-mx-0\.75{margin-left:-0.1875rem;margin-right:-0.1875rem;}
|
|
201
197
|
.-mx-0\.875{margin-left:-0.21875rem;margin-right:-0.21875rem;}
|
|
202
198
|
.-mx-1{margin-left:-0.25rem;margin-right:-0.25rem;}
|
|
@@ -1073,28 +1069,24 @@
|
|
|
1073
1069
|
.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px;}
|
|
1074
1070
|
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px;}
|
|
1075
1071
|
.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px;}
|
|
1076
|
-
.data-\[state\=active\]\:ring-
|
|
1077
|
-
.focus-within\:ring-
|
|
1078
|
-
.focus\:ring-
|
|
1079
|
-
.focus-visible\:ring-
|
|
1080
|
-
.data-\[state\=active\]\:ring-offset-2[data-state=active]{--un-ring-offset-width:2px;}
|
|
1081
|
-
.focus-within\:ring-offset-2:focus-within{--un-ring-offset-width:2px;}
|
|
1082
|
-
.focus\:ring-offset-2:focus{--un-ring-offset-width:2px;}
|
|
1083
|
-
.focus-visible\:ring-offset-2:focus-visible{--un-ring-offset-width:2px;}
|
|
1072
|
+
.data-\[state\=active\]\:ring-3[data-state=active]{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1073
|
+
.focus-within\:ring-3:focus-within{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1074
|
+
.focus\:ring-3:focus{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1075
|
+
.focus-visible\:ring-3:focus-visible{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1084
1076
|
.data-\[state\=active\]\:ring-accent-foreground\/20[data-state=active]{--un-ring-color:hsl(var(--accent-foreground) / 0.2) /* hsl(var(--accent-foreground)) */;}
|
|
1085
|
-
.data-\[state\=active\]\:ring-primary[data-state=active]{--un-ring-
|
|
1086
|
-
.focus-within\:ring-primary:focus-within{--un-ring-
|
|
1087
|
-
.focus\:ring-primary:focus{--un-ring-
|
|
1077
|
+
.data-\[state\=active\]\:ring-primary\/30[data-state=active]{--un-ring-color:hsl(var(--primary) / 0.3) /* hsl(var(--primary)) */;}
|
|
1078
|
+
.focus-within\:ring-primary\/30:focus-within{--un-ring-color:hsl(var(--primary) / 0.3) /* hsl(var(--primary)) */;}
|
|
1079
|
+
.focus\:ring-primary\/30:focus{--un-ring-color:hsl(var(--primary) / 0.3) /* hsl(var(--primary)) */;}
|
|
1088
1080
|
.focus-visible\:ring-accent-foreground:focus-visible{--un-ring-opacity:1;--un-ring-color:hsl(var(--accent-foreground) / var(--un-ring-opacity)) /* hsl(var(--accent-foreground)) */;}
|
|
1089
1081
|
.focus-visible\:ring-accent-foreground\/20:focus-visible{--un-ring-color:hsl(var(--accent-foreground) / 0.2) /* hsl(var(--accent-foreground)) */;}
|
|
1090
|
-
.focus-visible\:ring-carbon:focus-visible{--un-ring-
|
|
1091
|
-
.focus-visible\:ring-destructive:focus-visible{--un-ring-
|
|
1092
|
-
.focus-visible\:ring-info:focus-visible{--un-ring-
|
|
1093
|
-
.focus-visible\:ring-primary:focus-visible{--un-ring-
|
|
1082
|
+
.focus-visible\:ring-carbon\/30:focus-visible{--un-ring-color:hsl(var(--carbon) / 0.3) /* hsl(var(--carbon)) */;}
|
|
1083
|
+
.focus-visible\:ring-destructive\/30:focus-visible{--un-ring-color:hsl(var(--destructive) / 0.3) /* hsl(var(--destructive)) */;}
|
|
1084
|
+
.focus-visible\:ring-info\/30:focus-visible{--un-ring-color:hsl(var(--info) / 0.3) /* hsl(var(--info)) */;}
|
|
1085
|
+
.focus-visible\:ring-primary\/30:focus-visible{--un-ring-color:hsl(var(--primary) / 0.3) /* hsl(var(--primary)) */;}
|
|
1094
1086
|
.focus-visible\:ring-secondary-foreground:focus-visible{--un-ring-opacity:1;--un-ring-color:hsl(var(--secondary-foreground) / var(--un-ring-opacity)) /* hsl(var(--secondary-foreground)) */;}
|
|
1095
1087
|
.focus-visible\:ring-secondary-foreground\/20:focus-visible{--un-ring-color:hsl(var(--secondary-foreground) / 0.2) /* hsl(var(--secondary-foreground)) */;}
|
|
1096
|
-
.focus-visible\:ring-success:focus-visible{--un-ring-
|
|
1097
|
-
.focus-visible\:ring-warning:focus-visible{--un-ring-
|
|
1088
|
+
.focus-visible\:ring-success\/30:focus-visible{--un-ring-color:hsl(var(--success) / 0.3) /* hsl(var(--success)) */;}
|
|
1089
|
+
.focus-visible\:ring-warning\/30:focus-visible{--un-ring-color:hsl(var(--warning) / 0.3) /* hsl(var(--warning)) */;}
|
|
1098
1090
|
.data-\[state\=active\]\:ring-offset-background[data-state=active],
|
|
1099
1091
|
.ring-offset-background{--un-ring-offset-opacity:1;--un-ring-offset-color:hsl(var(--background) / var(--un-ring-offset-opacity)) /* hsl(var(--background)) */;}
|
|
1100
1092
|
.focus-within\:ring-offset-background:focus-within{--un-ring-offset-opacity:1;--un-ring-offset-color:hsl(var(--background) / var(--un-ring-offset-opacity)) /* hsl(var(--background)) */;}
|
|
@@ -1186,7 +1178,6 @@
|
|
|
1186
1178
|
.md\:ml-0{margin-left:0;}
|
|
1187
1179
|
.md\:block{display:block;}
|
|
1188
1180
|
.md\:max-w-105{max-width:26.25rem;}
|
|
1189
|
-
.md\:max-w-270\!{max-width:67.5rem !important;}
|
|
1190
1181
|
.md\:w-auto{width:auto;}
|
|
1191
1182
|
.md\:w-full{width:100%;}
|
|
1192
1183
|
.md\:flex{display:flex;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:``,item:`border-b`,header:`flex`,content:[`overflow-hidden transition will-change-auto`,`data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up`],description:`m-0`,trigger:[`flex-1 flex items-center justify-start font-medium transition-all-200 bg-transparent`,`focus-visible:outline-none focus-visible:ring-
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:``,item:`border-b`,header:`flex`,content:[`overflow-hidden transition will-change-auto`,`data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up`],description:`m-0`,trigger:[`flex-1 flex items-center justify-start font-medium transition-all-200 bg-transparent`,`focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`,`hover:underline [&[data-state=open]>.trigger-icon]:rotate-180`],triggerLeadingIcon:`shrink-0`,triggerIcon:`trigger-icon ml-auto shrink-0 text-muted-foreground transition-transform-200`},variants:{size:{xs:{root:`text-2xs`,description:`pb-3`,trigger:`py-3 gap-2.5`},sm:{root:`text-xs`,description:`pb-3.5`,trigger:`py-3.5 gap-3`},md:{root:`text-sm`,description:`pb-4`,trigger:`py-4 gap-3.5`},lg:{root:`text-base`,description:`pb-4.5`,trigger:`py-4.5 gap-4`},xl:{root:`text-lg`,description:`pb-5`,trigger:`py-5 gap-4.5`},"2xl":{root:`text-2xl`,description:`pb-6`,trigger:`py-6 gap-5`}}},defaultVariants:{size:`md`}});export{t as accordionVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:``,list:`flex flex-wrap items-center my-0 px-0 break-words text-muted-foreground`,item:`inline-flex items-center list-none`,page:`font-normal text-foreground`,separator:`text-muted-foreground flex-shrink-0 list-none`,ellipsis:`flex items-center justify-center`,link:`decoration-none hover:text-foreground transition-colors-200 rounded-sm focus-visible:outline-none focus-visible:ring-
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:``,list:`flex flex-wrap items-center my-0 px-0 break-words text-muted-foreground`,item:`inline-flex items-center list-none`,page:`font-normal text-foreground`,separator:`text-muted-foreground flex-shrink-0 list-none`,ellipsis:`flex items-center justify-center`,link:`decoration-none hover:text-foreground transition-colors-200 rounded-sm focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`},variants:{size:{xs:{root:`text-2xs`,list:`gap-2`,item:`gap-1.5`},sm:{root:`text-xs`,list:`gap-2.5`,item:`gap-1.75`},md:{root:`text-sm`,list:`gap-3`,item:`gap-2`},lg:{root:`text-base`,list:`gap-3.5`,item:`gap-2.5`},xl:{root:`text-lg`,list:`gap-4`,item:`gap-3`},"2xl":{root:`text-xl`,list:`gap-4.5`,item:`gap-3.5`}}},defaultVariants:{size:`md`}});export{t as breadcrumbVariants};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants7 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/button.d.ts
|
|
5
|
-
declare const buttonVariants:
|
|
5
|
+
declare const buttonVariants: tailwind_variants7.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: string;
|
|
8
8
|
destructive: string;
|
|
@@ -92,7 +92,7 @@ declare const buttonVariants: tailwind_variants21.TVReturnType<{
|
|
|
92
92
|
true: string;
|
|
93
93
|
false: string;
|
|
94
94
|
};
|
|
95
|
-
}, undefined,
|
|
95
|
+
}, undefined, tailwind_variants7.TVReturnType<{
|
|
96
96
|
color: {
|
|
97
97
|
primary: string;
|
|
98
98
|
destructive: string;
|
package/dist/variants/button.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({base:[`inline-flex items-center justify-center font-medium`,`focus-visible:outline-none focus-visible:ring-
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({base:[`inline-flex items-center justify-center font-medium`,`focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],variants:{color:{primary:`focus-visible:ring-primary/30`,destructive:`focus-visible:ring-destructive/30`,success:`focus-visible:ring-success/30`,warning:`focus-visible:ring-warning/30`,info:`focus-visible:ring-info/30`,carbon:`focus-visible:ring-carbon/30`,secondary:`focus-visible:ring-secondary-foreground/20`,accent:`focus-visible:ring-accent-foreground/20`},variant:{solid:`bg-primary text-primary-foreground hover:bg-primary/80 active:bg-primary-600`,pure:`border border-border bg-background text-accent-foreground hover:bg-accent/60 active:bg-accent`,plain:`border border-border bg-background text-foreground`,outline:`border bg-background`,dashed:`border border-dashed bg-background`,soft:`bg-primary/10 hover:bg-primary/10 active:bg-primary/20`,ghost:`bg-transparent`,link:`bg-transparent underline-offset-4 hover:underline`},size:{xs:`gap-1 text-2xs`,sm:`gap-2 text-xs`,md:`gap-3 text-sm`,lg:`gap-4 text-base`,xl:`gap-5 text-lg`,"2xl":`gap-6 text-xl`},shape:{auto:`rounded-md`,rounded:`rounded-full`,square:`h-8 w-8 p-0 gap-0 rounded-md`,circle:`h-8 w-8 p-0 gap-0 rounded-full`},shadow:{none:`shadow-none`,sm:`shadow-sm`,md:`shadow-md`,lg:`shadow-lg`},fitContent:{true:`w-fit h-fit`,false:``}},compoundVariants:[{color:`destructive`,variant:`solid`,class:`bg-destructive text-destructive-foreground hover:bg-destructive/80 active:bg-destructive-600`},{color:`success`,variant:`solid`,class:`bg-success text-success-foreground hover:bg-success/80 active:bg-success-600`},{color:`warning`,variant:`solid`,class:`bg-warning text-warning-foreground hover:bg-warning/80 active:bg-warning-600`},{color:`info`,variant:`solid`,class:`bg-info text-info-foreground hover:bg-info/80 active:bg-info-600`},{color:`carbon`,variant:`solid`,class:`bg-carbon text-carbon-foreground hover:bg-carbon/80 active:bg-carbon-600`},{color:`secondary`,variant:`solid`,class:`bg-secondary text-secondary-foreground hover:bg-secondary/80 active:bg-secondary-foreground/20`},{color:`accent`,variant:`solid`,class:`bg-accent text-accent-foreground hover:bg-accent/80 active:bg-accent-foreground/20`},{color:`primary`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-primary`},{color:`destructive`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-destructive`},{color:`success`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-success`},{color:`warning`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-warning`},{color:`info`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-info`},{color:`carbon`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-carbon`},{color:`secondary`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-secondary-foreground`},{color:`accent`,variant:[`outline`,`dashed`,`soft`,`ghost`,`link`],class:`text-accent-foreground`},{color:`primary`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-primary/10 active:bg-primary/20`},{color:`destructive`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-destructive/10 active:bg-destructive/20`},{color:`success`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-success/10 active:bg-success/20`},{color:`warning`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-warning/10 active:bg-warning/20`},{color:`info`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-info/10 active:bg-info/20`},{color:`carbon`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-carbon/10 active:bg-carbon/20`},{color:`secondary`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-secondary-foreground/10 active:bg-secondary-foreground/20`},{color:`accent`,variant:[`outline`,`dashed`,`ghost`],class:`hover:bg-accent-foreground/10 active:bg-accent-foreground/20`},{color:`primary`,variant:`plain`,class:`hover:border-primary hover:text-primary`},{color:`destructive`,variant:`plain`,class:`hover:border-destructive hover:text-destructive`},{color:`success`,variant:`plain`,class:`hover:border-success hover:text-success`},{color:`warning`,variant:`plain`,class:`hover:border-warning hover:text-warning`},{color:`info`,variant:`plain`,class:`hover:border-info hover:text-info`},{color:`carbon`,variant:`plain`,class:`hover:border-carbon hover:text-carbon`},{color:`secondary`,variant:`plain`,class:`hover:border-secondary-foreground hover:text-secondary-foreground`},{color:`accent`,variant:`plain`,class:`hover:border-accent-foreground hover:text-accent-foreground`},{color:`primary`,variant:[`outline`,`dashed`],class:`border-primary`},{color:`destructive`,variant:[`outline`,`dashed`],class:`border-destructive`},{color:`success`,variant:[`outline`,`dashed`],class:`border-success`},{color:`warning`,variant:[`outline`,`dashed`],class:`border-warning`},{color:`info`,variant:[`outline`,`dashed`],class:`border-info`},{color:`carbon`,variant:[`outline`,`dashed`],class:`border-carbon`},{color:`secondary`,variant:[`outline`,`dashed`],class:`border-secondary-foreground`},{color:`accent`,variant:[`outline`,`dashed`],class:`border-accent-foreground`},{color:`destructive`,variant:`soft`,class:`bg-destructive/10 hover:bg-destructive/10 active:bg-destructive/20`},{color:`success`,variant:`soft`,class:`bg-success/10 hover:bg-success/10 active:bg-success/20`},{color:`warning`,variant:`soft`,class:`bg-warning/10 hover:bg-warning/10 active:bg-warning/20`},{color:`info`,variant:`soft`,class:`bg-info/10 hover:bg-info/10 active:bg-info/20`},{color:`carbon`,variant:`soft`,class:`bg-carbon/10 hover:bg-carbon/10 active:bg-carbon/20`},{color:`secondary`,variant:`soft`,class:`bg-secondary-foreground/10 hover:bg-secondary-foreground/10 active:bg-secondary-foreground/20`},{color:`accent`,variant:`soft`,class:`bg-accent-foreground/10 hover:bg-accent-foreground/10 active:bg-accent-foreground/20`},{size:`xs`,fitContent:!0,class:`p-0.75`},{size:`sm`,fitContent:!0,class:`p-0.875`},{size:`md`,fitContent:!0,class:`p-1`},{size:`lg`,fitContent:!0,class:`p-1.25`},{size:`xl`,fitContent:!0,class:`p-1.5`},{size:`2xl`,fitContent:!0,class:`p-1.75`},{size:`xs`,fitContent:!1,class:`h-6 px-1.5`},{size:`sm`,fitContent:!1,class:`h-7 px-2`},{size:`md`,fitContent:!1,class:`h-8 px-4`},{size:`lg`,fitContent:!1,class:`h-9 px-6`},{size:`xl`,fitContent:!1,class:`h-10 px-8`},{size:`2xl`,fitContent:!1,class:`h-12 px-10`},{size:`xs`,fitContent:!1,shape:[`square`,`circle`],class:`w-6`},{size:`sm`,fitContent:!1,shape:[`square`,`circle`],class:`w-7`},{size:`lg`,fitContent:!1,shape:[`square`,`circle`],class:`w-9`},{size:`xl`,fitContent:!1,shape:[`square`,`circle`],class:`w-10`},{size:`2xl`,fitContent:!1,shape:[`square`,`circle`],class:`w-12`},{variant:[`ghost`,`link`],shadow:[`sm`,`md`,`lg`],class:`shadow-none`},{variant:`plain`,shadow:`sm`,class:`active:shadow-md`},{variant:`plain`,shadow:`md`,class:`active:shadow-lg`},{variant:`plain`,shadow:`lg`,class:`active:shadow-xl`},{variant:`pure`,shadow:`sm`,class:`active:shadow-sm`},{variant:`pure`,shadow:`md`,class:`active:shadow-md`},{variant:`pure`,shadow:`lg`,class:`active:shadow-lg`}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`,shape:`auto`,shadow:`sm`,fitContent:!1}}),n=e({base:`[&>*]:relative focus-visible:[&>*]:z-2 not-first:not-last:[&>*]:rd-0`,variants:{orientation:{horizontal:`inline-flex not-last:[&>*]:border-r-0 focus-visible:[&>*]:border-r first:[&>*]:rd-r-0 last:[&>*]:rd-l-0 rtl:flex-row-reverse`,vertical:`flex flex-col not-last:[&>*]:border-b-0 focus-visible:[&>*]:border-b first:[&>*]:rd-b-0 last:[&>*]:rd-t-0`}},defaultVariants:{orientation:`horizontal`}});export{n as buttonGroupVariants,t as buttonVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{groupRoot:`flex`,root:`inline-flex items-center`,control:[`peer shrink-0 border shadow`,`focus-visible:outline-none focus-visible:ring-
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{groupRoot:`flex`,root:`inline-flex items-center`,control:[`peer shrink-0 border shadow`,`focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`],indicator:`w-full h-full flex items-center justify-center text-current`,label:``},variants:{color:{primary:{control:`border-primary focus-visible:ring-primary/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground`},destructive:{control:`border-destructive focus-visible:ring-destructive/30 data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]:text-destructive-foreground`},success:{control:`border-success focus-visible:ring-success/30 data-[state=checked]:bg-success data-[state=checked]:text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]:text-success-foreground`},warning:{control:`border-warning focus-visible:ring-warning/30 data-[state=checked]:bg-warning data-[state=checked]:text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]:text-warning-foreground`},info:{control:`border-info focus-visible:ring-info/30 data-[state=checked]:bg-info data-[state=checked]:text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]:text-info-foreground`},carbon:{control:`border-carbon focus-visible:ring-carbon/30 data-[state=checked]:bg-carbon data-[state=checked]:text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]:text-carbon-foreground`},secondary:{control:`border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]:text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]:text-secondary-foreground`},accent:{control:`border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]:text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]:text-accent-foreground`}},size:{xs:{groupRoot:`gap-x-2 gap-y-1.5`,root:`gap-1.5`,control:`size-3`},sm:{groupRoot:`gap-x-2.5 gap-y-1.75`,root:`gap-1.75`,control:`size-3.5`},md:{groupRoot:`gap-x-3 gap-y-2`,root:`gap-2`,control:`size-4`},lg:{groupRoot:`gap-x-3.5 gap-y-2.5`,root:`gap-2.5`,control:`size-4.5`},xl:{groupRoot:`gap-x-4 gap-y-3`,root:`gap-3`,control:`size-5`},"2xl":{groupRoot:`gap-x-4.5 gap-y-3.5`,root:`gap-3.5`,control:`size-6`}},orientation:{horizontal:{groupRoot:`items-center`},vertical:{groupRoot:`flex-col`}},shape:{square:{control:`rounded-sm`},rounded:{control:`rounded-full`}}},defaultVariants:{color:`primary`,size:`md`,orientation:`horizontal`,shape:`square`}}),n=e({slots:{groupRoot:`flex`,root:`relative inline-flex border border-solid border-border rounded-md`,content:`flex items-center grow`,textContent:`flex flex-col`,icon:`shrink-0`,label:`font-medium`,description:`text-muted-foreground`,control:[`peer shrink-0 border shadow`,`focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`,`order-1 after:absolute after:inset-0 after:content-empty`],indicator:`w-full h-full flex items-center justify-center text-current`},variants:{color:{primary:{root:`data-[state=checked]:border-primary`,control:`border-primary focus-visible:ring-primary/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground`},destructive:{root:`data-[state=checked]:border-destructive`,control:`border-destructive focus-visible:ring-destructive/30 data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]:text-destructive-foreground`},success:{root:`data-[state=checked]:border-success`,control:`border-success focus-visible:ring-success/30 data-[state=checked]:bg-success data-[state=checked]:text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]:text-success-foreground`},warning:{root:`data-[state=checked]:border-warning`,control:`border-warning focus-visible:ring-warning/30 data-[state=checked]:bg-warning data-[state=checked]:text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]:text-warning-foreground`},info:{root:`data-[state=checked]:border-info`,control:`border-info focus-visible:ring-info/30 data-[state=checked]:bg-info data-[state=checked]:text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]:text-info-foreground`},carbon:{root:`data-[state=checked]:border-carbon`,control:`border-carbon focus-visible:ring-carbon/30 data-[state=checked]:bg-carbon data-[state=checked]:text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]:text-carbon-foreground`},secondary:{root:`data-[state=checked]:border-secondary-foreground/50`,control:`border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]:text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]:text-secondary-foreground`},accent:{root:`data-[state=checked]:border-accent-foreground/50`,control:`border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]:text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]:text-accent-foreground`}},size:{xs:{groupRoot:`gap-x-2 gap-y-1.5`,root:`gap-2 text-2xs p-2`,content:`gap-2`,textContent:`gap-0.5`,icon:`text-3`,description:`text-3xs`,control:`size-3`},sm:{groupRoot:`gap-x-2.5 gap-y-1.75`,root:`gap-2.5 text-xs p-2.5`,content:`gap-2.5`,textContent:`gap-0.75`,icon:`text-4`,description:`text-2xs`,control:`size-3.5`},md:{groupRoot:`gap-x-3 gap-y-2`,root:`gap-3 text-sm p-3`,content:`gap-3`,textContent:`gap-1`,icon:`text-5`,description:`text-xs`,control:`size-4`},lg:{groupRoot:`gap-x-3.5 gap-y-2.5`,root:`gap-4 text-base p-4`,content:`gap-4`,textContent:`gap-1.5`,icon:`text-6`,description:`text-sm`,control:`size-4.5`},xl:{groupRoot:`gap-x-4 gap-y-3`,root:`gap-5 text-lg p-5`,content:`gap-5`,textContent:`gap-2`,icon:`text-7`,description:`text-base`,control:`size-5`},"2xl":{groupRoot:`gap-x-4.5 gap-y-3.5`,root:`gap-6 text-xl p-6`,content:`gap-6`,textContent:`gap-2.5`,icon:`text-8`,description:`text-lg`,control:`size-6`}},shape:{square:{control:`rounded-sm`},rounded:{control:`rounded-full`}}},defaultVariants:{color:`primary`,size:`md`,shape:`square`}});export{n as checkboxCardVariants,t as checkboxVariants};
|
package/dist/variants/input.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group flex items-center w-full rounded-md border border-solid border-input bg-background`,`focus-within:outline-none focus-within:ring-
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group flex items-center w-full rounded-md border border-solid border-input bg-background`,`focus-within:outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`grow bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`,`file:border-0 file:bg-transparent file:font-medium`],clearable:`hidden group-hover:block size-1em cursor-pointer opacity-50 hover:opacity-100`,visible:`cursor-pointer`},variants:{size:{xs:{root:`h-6 px-1.5 text-2xs gap-1`,control:`file:py-1.25`},sm:{root:`h-7 px-2 text-xs gap-1.5`,control:`file:py-1.25`},md:{root:`h-8 px-2.5 text-sm gap-2`,control:`file:py-1.25`},lg:{root:`h-9 px-3 text-base gap-2.5`,control:`file:py-1.25`},xl:{root:`h-10 px-3.5 text-lg gap-3`,control:`file:py-1.25`},"2xl":{root:`h-12 px-4 text-xl gap-3.5`,control:`file:py-2`}}},defaultVariants:{size:`md`}});export{t as inputVariants};
|
package/dist/variants/kbd.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants11 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/kbd.d.ts
|
|
5
|
-
declare const kbdVariants:
|
|
5
|
+
declare const kbdVariants: tailwind_variants11.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
solid: string;
|
|
8
8
|
outline: string;
|
|
@@ -30,7 +30,7 @@ declare const kbdVariants: tailwind_variants7.TVReturnType<{
|
|
|
30
30
|
xl: string;
|
|
31
31
|
'2xl': string;
|
|
32
32
|
};
|
|
33
|
-
}, undefined,
|
|
33
|
+
}, undefined, tailwind_variants11.TVReturnType<{
|
|
34
34
|
variant: {
|
|
35
35
|
solid: string;
|
|
36
36
|
outline: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:`group flex items-center w-full rounded-md border border-input bg-background focus-within:border-input focus-within:ring-
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:`group flex items-center w-full rounded-md border border-input bg-background focus-within:border-input focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30 disabled:cursor-not-allowed disabled:opacity-50`,decrement:`flex h-full shrink-0 items-center justify-center text-muted-foreground bg-transparent outline-none cursor-pointer disabled:cursor-not-allowed disabled:opacity-20`,increment:`flex h-full shrink-0 items-center justify-center text-muted-foreground bg-transparent outline-none cursor-pointer disabled:cursor-not-allowed disabled:opacity-20`,control:[`h-full w-full grow bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],clearable:`hidden group-hover:block size-1em cursor-pointer opacity-50 hover:opacity-100`},variants:{size:{xs:{root:`h-6 px-1.5 text-2xs gap-1`,decrement:`p-0.75`,increment:`p-0.75`},sm:{root:`h-7 px-2 text-xs gap-1.5`,decrement:`p-1`,increment:`p-1`},md:{root:`h-8 px-2.5 text-sm gap-2`,decrement:`p-1.25`,increment:`p-1.25`},lg:{root:`h-9 px-3 text-base gap-2.5`,decrement:`p-1.5`,increment:`p-1.5`},xl:{root:`h-10 px-3.5 text-lg gap-3`,decrement:`p-1.75`,increment:`p-1.75`},"2xl":{root:`h-12 px-4 text-xl gap-3.5`,decrement:`p-2`,increment:`p-2`}},center:{true:{decrement:`-order-1`,control:`text-center`}}},defaultVariants:{size:`md`,center:!1}});export{t as numberInputVariants};
|