@soybeanjs/ui 0.28.0 → 0.28.2
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/affix/affix.js +1 -1
- package/dist/components/alert/alert.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/dist/components/backtop/backtop.vue.d.ts +2 -2
- package/dist/components/button/button-icon.vue.d.ts +1 -1
- package/dist/components/button/button-link.vue.d.ts +1 -1
- package/dist/components/button/button-loading.vue.d.ts +2 -2
- package/dist/components/color-picker/color-picker.vue.d.ts +2 -2
- package/dist/components/color-slider/color-slider.vue.d.ts +1 -1
- package/dist/components/combobox/combobox.vue.d.ts +2 -2
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +2 -2
- package/dist/components/date-picker/date-picker.vue.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
- package/dist/components/dialog/dialog.vue.d.ts +3 -3
- package/dist/components/drawer/drawer.vue.d.ts +3 -3
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +2 -2
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/menubar/menubar.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +2 -2
- package/dist/components/page-tabs/page-tabs.vue.d.ts +2 -2
- package/dist/components/popconfirm/popconfirm.vue.d.ts +3 -3
- package/dist/components/select/select.vue.d.ts +2 -2
- package/dist/components/splitter/splitter-panel.vue.d.ts +2 -2
- package/dist/components/time-range-field/time-range-field.vue.d.ts +12 -2
- package/dist/styles/alert.d.ts +3 -3
- package/dist/styles/badge.d.ts +1 -1
- package/dist/styles/button.d.ts +2 -2
- package/dist/styles/checkbox.d.ts +1 -1
- package/dist/styles/dialog.js +1 -1
- package/dist/styles/drawer.js +1 -1
- package/dist/styles/kbd.d.ts +1 -1
- package/dist/styles/pagination.d.ts +2 -2
- package/dist/styles/popconfirm.js +1 -1
- package/dist/styles/radio-group.d.ts +1 -1
- package/dist/styles/skeleton.d.ts +1 -1
- package/dist/styles/switch.d.ts +2 -2
- package/dist/styles/table.d.ts +2 -2
- package/dist/styles/tabs.d.ts +1 -1
- package/dist/styles/tag.d.ts +2 -2
- package/dist/styles/toggle-group.d.ts +1 -1
- package/dist/styles/toggle.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/package.json +5 -5
package/dist/styles/alert.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "@soybeanjs/cva";
|
|
2
2
|
|
|
3
3
|
//#region src/styles/alert.d.ts
|
|
4
|
-
declare const alertVariants: import("@soybeanjs/cva").SCVResult<"icon" | "title" | "content" | "
|
|
4
|
+
declare const alertVariants: import("@soybeanjs/cva").SCVResult<"icon" | "title" | "content" | "close" | "description" | "root", NoInfer<{
|
|
5
5
|
color: {
|
|
6
6
|
primary: {
|
|
7
7
|
root: "border-primary text-primary";
|
|
@@ -92,9 +92,9 @@ declare const alertVariants: import("@soybeanjs/cva").SCVResult<"icon" | "title"
|
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
96
95
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
97
|
-
|
|
96
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
97
|
+
variant?: "outline" | "soft" | "ghost" | "solid" | "pure" | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
type AlertVariants = VariantProps<typeof alertVariants>;
|
|
100
100
|
type AlertVariant = NonNullable<AlertVariants['variant']>;
|
package/dist/styles/badge.d.ts
CHANGED
|
@@ -63,8 +63,8 @@ declare const badgeVariants: import("@soybeanjs/cva").SCVResult<"content" | "roo
|
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
}>, {
|
|
66
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
67
66
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
67
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
68
68
|
position?: "top-right" | "bottom-right" | "top-left" | "bottom-left" | undefined;
|
|
69
69
|
}>;
|
|
70
70
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
package/dist/styles/button.d.ts
CHANGED
|
@@ -47,10 +47,10 @@ declare const buttonVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
47
47
|
false: string;
|
|
48
48
|
};
|
|
49
49
|
}>, {
|
|
50
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
51
50
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
52
|
-
|
|
51
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
53
52
|
shape?: "auto" | "rounded" | "square" | "circle" | undefined;
|
|
53
|
+
variant?: "link" | "outline" | "soft" | "ghost" | "solid" | "pure" | "dashed" | "plain" | undefined;
|
|
54
54
|
shadow?: "sm" | "md" | "lg" | "none" | undefined;
|
|
55
55
|
fitContent?: boolean | undefined;
|
|
56
56
|
}>;
|
|
@@ -77,8 +77,8 @@ declare const checkboxVariants: import("@soybeanjs/cva").SCVResult<"label" | "ro
|
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
}>, {
|
|
80
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
81
80
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
81
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
82
82
|
shape?: "rounded" | "square" | undefined;
|
|
83
83
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
84
84
|
}>;
|
package/dist/styles/dialog.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{miniButtonIconVariants as e,miniButtonVariants as t}from"./button.js";import{scv as n}from"@soybeanjs/cva";const r=n({extendBase:n=>({close:e({size:n.size}),cancel:t({size:n.size,variant:`pure`}),confirm:t({size:n.size})}),slots:{overlay:[`fixed inset-0 z-50 bg-black/80`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`],popup:[`group fixed start-1/2 top-1/2 z-50 flex flex-col w-max lt-sm:min-w-full lt-sm:max-w-full border bg-background shadow-lg outline-none duration-200 rounded-lg`,`-translate-x-1/2 -translate-y-1/2 [&[dir=rtl]]:translate-x-1/2`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2`],header:`flex flex-col
|
|
1
|
+
import{miniButtonIconVariants as e,miniButtonVariants as t}from"./button.js";import{scv as n}from"@soybeanjs/cva";const r=n({extendBase:n=>({close:e({size:n.size}),cancel:t({size:n.size,variant:`pure`}),confirm:t({size:n.size})}),slots:{overlay:[`fixed inset-0 z-50 bg-black/80`,`data-[state=open]:animate-in data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0`],popup:[`group fixed start-1/2 top-1/2 z-50 flex flex-col w-max lt-sm:min-w-full lt-sm:max-w-full border bg-background shadow-lg outline-none duration-200 rounded-lg`,`-translate-x-1/2 -translate-y-1/2 [&[dir=rtl]]:translate-x-1/2`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2`],header:`flex flex-col lt-sm:text-center`,title:`flex items-center font-semibold leading-none tracking-tight m-0`,icon:`group-data-[type=info]:text-info group-data-[type=success]:text-success group-data-[type=warning]:text-warning group-data-[type=error]:text-destructive`,description:`text-muted-foreground m-0`,close:`absolute`,content:`grow overflow-auto`,footer:`flex justify-end lt-sm:flex-col-reverse`,cancel:``,confirm:``},variants:{size:{xs:{popup:`gap-y-1.5 min-w-xs max-w-3xl px-2 py-1.5 text-2xs`,header:`gap-y-1.5`,title:`gap-x-1.5 text-xs`,description:`text-2xs`,close:`end-1.5 top-1.5`,footer:`gap-1.5`},sm:{popup:`gap-y-2 min-w-sm max-w-4xl px-3 py-2 text-xs`,header:`gap-y-2`,title:`gap-x-1.75 text-sm`,description:`text-xs`,close:`end-1.75 top-1.75`,footer:`gap-2`},md:{popup:`gap-y-3 min-w-md max-w-5xl px-4 py-3 text-sm`,header:`gap-y-3`,title:`gap-x-2 text-base`,description:`text-sm`,close:`end-2 top-2`,footer:`gap-3`},lg:{popup:`gap-y-4 min-w-lg max-w-6xl px-5 py-4 text-base`,header:`gap-y-4`,title:`gap-x-2.5 text-lg`,description:`text-base`,close:`end-2.5 top-2.5`,footer:`gap-4`},xl:{popup:`gap-y-5 min-w-xl max-w-7xl px-6 py-5 text-lg`,header:`gap-y-5`,title:`gap-x-3 text-xl`,description:`text-lg`,close:`end-3 top-3`,footer:`gap-5`},"2xl":{popup:`gap-y-6 min-w-2xl max-w-7xl px-7 py-6 text-xl`,header:`gap-y-6`,title:`gap-x-3.5 text-2xl`,description:`text-xl`,close:`end-4 top-4`,footer:`gap-6`}},pure:{true:{popup:`p-0 gap-0 border-none`}}},defaultVariants:{size:`md`}});export{r as dialogVariants};
|
package/dist/styles/drawer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{dialogVariants as e}from"./dialog.js";import{scv as t}from"@soybeanjs/cva";const n=t({extend:[e],extendIgnore:[`popup`],slots:{popup:[`fixed z-50 flex flex-col justify-between items-stretch border bg-background outline-none transition ease-in-out`,`data-[state=open]:animate-in data-[state=open]:duration-500`,`data-[state=closed]:animate-out data-[state=closed]:duration-300`]},variants:{size:{xs:{popup:`gap-y-1.5 px-2 py-1.5 text-2xs`},sm:{popup:`gap-y-2 px-3 py-2 text-xs`},md:{popup:`gap-y-3 px-4 py-3 text-sm`},lg:{popup:`gap-y-4 px-5 py-4 text-base`},xl:{popup:`gap-y-5 px-6 py-5 text-lg`},"2xl":{popup:`gap-y-6 px-7 py-6 text-xl`}},side:{top:{popup:`inset-x-0 top-0 border-b rounded-b-md data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top`},bottom:{popup:`inset-x-0 bottom-0 border-t rounded-t-md data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom`},left:{popup:[`inset-y-0 start-0 h-full w-3/4 border-e rounded-e-md
|
|
1
|
+
import{dialogVariants as e}from"./dialog.js";import{scv as t}from"@soybeanjs/cva";const n=t({extend:[e],extendIgnore:[`popup`],slots:{popup:[`fixed z-50 flex flex-col justify-between items-stretch border bg-background outline-none transition ease-in-out`,`data-[state=open]:animate-in data-[state=open]:duration-500`,`data-[state=closed]:animate-out data-[state=closed]:duration-300`]},variants:{size:{xs:{popup:`gap-y-1.5 px-2 py-1.5 text-2xs`},sm:{popup:`gap-y-2 px-3 py-2 text-xs`},md:{popup:`gap-y-3 px-4 py-3 text-sm`},lg:{popup:`gap-y-4 px-5 py-4 text-base`},xl:{popup:`gap-y-5 px-6 py-5 text-lg`},"2xl":{popup:`gap-y-6 px-7 py-6 text-xl`}},side:{top:{popup:`inset-x-0 top-0 border-b rounded-b-md data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top`},bottom:{popup:`inset-x-0 bottom-0 border-t rounded-t-md data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom`},left:{popup:[`inset-y-0 start-0 h-full max-w-sm lt-sm:w-3/4 border-e rounded-e-md`,`data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left`,`[&[dir=rtl]]:data-[state=open]:slide-in-from-right [&[dir=rtl]]:data-[state=closed]:slide-out-to-right`]},right:{popup:[`inset-y-0 end-0 h-full max-w-sm lt-sm:w-3/4 border-s rounded-s-md`,`data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right`,`[&[dir=rtl]]:data-[state=open]:slide-in-from-left [&[dir=rtl]]:data-[state=closed]:slide-out-to-left`]}}},defaultVariants:{size:`md`,side:`right`}});export{n as drawerVariants};
|
package/dist/styles/kbd.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare const kbdVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
20
20
|
};
|
|
21
21
|
}>, {
|
|
22
22
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
23
|
-
variant?: "
|
|
23
|
+
variant?: "outline" | "ghost" | "solid" | undefined;
|
|
24
24
|
raised?: boolean | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type KbdVariants = VariantProps<typeof kbdVariants>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "@soybeanjs/cva";
|
|
2
2
|
|
|
3
3
|
//#region src/styles/pagination.d.ts
|
|
4
|
-
declare const paginationVariants: import("@soybeanjs/cva").SCVResult<"list" | "next" | "
|
|
4
|
+
declare const paginationVariants: import("@soybeanjs/cva").SCVResult<"list" | "next" | "root" | "first" | "last" | "ellipsis" | "prev" | "listItem", NoInfer<{
|
|
5
5
|
size: {
|
|
6
6
|
xs: {
|
|
7
7
|
list: "gap-0.75 text-2xs";
|
|
@@ -62,8 +62,8 @@ declare const paginationVariants: import("@soybeanjs/cva").SCVResult<"list" | "n
|
|
|
62
62
|
};
|
|
63
63
|
}>, {
|
|
64
64
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
65
|
-
variant?: "pure" | "solid" | "outline" | "soft" | undefined;
|
|
66
65
|
shape?: "rounded" | "square" | undefined;
|
|
66
|
+
variant?: "outline" | "soft" | "solid" | "pure" | undefined;
|
|
67
67
|
actionAsSelected?: boolean | undefined;
|
|
68
68
|
}>;
|
|
69
69
|
type PaginationVariants = VariantProps<typeof paginationVariants>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{miniButtonIconVariants as e,miniButtonVariants as t}from"./button.js";import{scv as n}from"@soybeanjs/cva";const r=n({extendBase:n=>({close:e({size:n.size}),cancel:t({size:n.size,variant:`pure`}),confirm:t({size:n.size})}),slots:{positioner:`w-max`,popup:[`flex flex-col w-auto rounded-md border bg-popover text-popover-foreground shadow-md outline-none z-50 will-change-transform`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95`,`data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`],arrow:`w-1em h-0.5em fill-popover stroke-border`,header:`flex flex-col
|
|
1
|
+
import{miniButtonIconVariants as e,miniButtonVariants as t}from"./button.js";import{scv as n}from"@soybeanjs/cva";const r=n({extendBase:n=>({close:e({size:n.size}),cancel:t({size:n.size,variant:`pure`}),confirm:t({size:n.size})}),slots:{positioner:`w-max`,popup:[`flex flex-col w-auto rounded-md border bg-popover text-popover-foreground shadow-md outline-none z-50 will-change-transform`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95`,`data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`],arrow:`w-1em h-0.5em fill-popover stroke-border`,header:`flex flex-col lt-sm:text-center`,icon:`shrink-0`,title:`flex items-center font-semibold leading-none tracking-tight m-0`,description:`text-muted-foreground m-0`,content:``,footer:`flex justify-end lt-sm:flex-col-reverse`,cancel:``,confirm:``,close:`absolute`},variants:{size:{xs:{popup:`gap-y-2 p-2 text-2xs`,arrow:`text-3xs`,close:`top-1 end-1`,header:`gap-y-1.5`,icon:`text-3xs`,title:`gap-x-1.5`,footer:`gap-1.5`},sm:{popup:`gap-y-2.5 p-2.5 text-xs`,arrow:`text-2xs`,close:`top-1.25 end-1.25`,header:`gap-y-1.75`,icon:`text-2xs`,title:`gap-x-1.75`,footer:`gap-1.75`},md:{popup:`gap-y-3 p-3 text-sm`,arrow:`text-xs`,close:`top-1.5 end-1.5`,header:`gap-y-2`,icon:`text-sm`,title:`gap-x-2`,footer:`gap-2`},lg:{popup:`gap-y-3.5 p-3.5 text-base`,arrow:`text-sm`,close:`top-1.75 end-1.75`,header:`gap-y-2.5`,icon:`text-base`,title:`gap-x-2.5`,footer:`gap-2.5`},xl:{popup:`gap-y-4 p-4 text-lg`,arrow:`text-base`,close:`top-2 end-2`,header:`gap-y-3`,icon:`text-lg`,title:`gap-x-3`,footer:`gap-3`},"2xl":{popup:`gap-y-4.5 p-4.5 text-xl`,arrow:`text-lg`,close:`top-2.5 end-2.5`,header:`gap-y-3.5`,icon:`text-xl`,title:`gap-x-3.5`,footer:`gap-3.5`}},type:{error:{icon:`text-destructive`},success:{icon:`text-success`},warning:{icon:`text-warning`},info:{icon:`text-info`}}},defaultVariants:{size:`md`}});export{r as popconfirmVariants};
|
|
@@ -85,8 +85,8 @@ declare const radioGroupVariants: import("@soybeanjs/cva").SCVResult<"label" | "
|
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
}>, {
|
|
88
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
89
88
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
89
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
90
90
|
variant?: "outline" | "dot" | undefined;
|
|
91
91
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
92
92
|
}>;
|
|
@@ -20,8 +20,8 @@ declare const skeletonVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
20
20
|
};
|
|
21
21
|
}>, {
|
|
22
22
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
23
|
-
shape?: "auto" | "rounded" | undefined;
|
|
24
23
|
animated?: boolean | undefined;
|
|
24
|
+
shape?: "auto" | "rounded" | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type SkeletonVariants = VariantProps<typeof skeletonVariants>;
|
|
27
27
|
type SkeletonShape = NonNullable<SkeletonVariants['shape']>;
|
package/dist/styles/switch.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "@soybeanjs/cva";
|
|
2
2
|
|
|
3
3
|
//#region src/styles/switch.d.ts
|
|
4
|
-
declare const switchVariants: import("@soybeanjs/cva").SCVResult<"root" | "
|
|
4
|
+
declare const switchVariants: import("@soybeanjs/cva").SCVResult<"root" | "thumb" | "control", NoInfer<{
|
|
5
5
|
color: {
|
|
6
6
|
primary: {
|
|
7
7
|
control: "data-[state=checked]:bg-primary focus-visible:ring-primary/30";
|
|
@@ -65,8 +65,8 @@ declare const switchVariants: import("@soybeanjs/cva").SCVResult<"root" | "contr
|
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
67
|
}>, {
|
|
68
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
69
68
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
69
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
70
70
|
shape?: "rounded" | "square" | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
type SwitchVariants = VariantProps<typeof switchVariants>;
|
package/dist/styles/table.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "@soybeanjs/cva";
|
|
2
2
|
|
|
3
3
|
//#region src/styles/table.d.ts
|
|
4
|
-
declare const tableVariants: import("@soybeanjs/cva").SCVResult<"
|
|
4
|
+
declare const tableVariants: import("@soybeanjs/cva").SCVResult<"fixed" | "content" | "header" | "footer" | "root" | "resizeHandle" | "body" | "head" | "scroll" | "cell" | "row" | "sortTrigger" | "filterInput" | "treeCell" | "treeToggle" | "treeTogglePlaceholder" | "selection" | "filterTrigger" | "filterPopup" | "filterSearch" | "filterOptions" | "filterOption" | "filterOptionLabel" | "filterFooter" | "filterCount" | "filterAction" | "filterEmpty" | "radioIndicator" | "radioRoot", NoInfer<{
|
|
5
5
|
size: {
|
|
6
6
|
xs: {
|
|
7
7
|
root: "text-2xs";
|
|
@@ -113,8 +113,8 @@ declare const tableVariants: import("@soybeanjs/cva").SCVResult<"header" | "cont
|
|
|
113
113
|
};
|
|
114
114
|
}>, {
|
|
115
115
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
116
|
-
variant?: "default" | "simple" | undefined;
|
|
117
116
|
rounded?: boolean | undefined;
|
|
117
|
+
variant?: "default" | "simple" | undefined;
|
|
118
118
|
bordered?: boolean | undefined;
|
|
119
119
|
striped?: boolean | undefined;
|
|
120
120
|
}>;
|
package/dist/styles/tabs.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "@soybeanjs/cva";
|
|
2
2
|
|
|
3
3
|
//#region src/styles/tabs.d.ts
|
|
4
|
-
declare const tabsVariants: import("@soybeanjs/cva").SCVResult<"list" | "content" | "root" | "
|
|
4
|
+
declare const tabsVariants: import("@soybeanjs/cva").SCVResult<"list" | "content" | "root" | "indicator" | "trigger" | "indicatorContent", NoInfer<{
|
|
5
5
|
size: {
|
|
6
6
|
xs: {
|
|
7
7
|
root: "text-2xs";
|
package/dist/styles/tag.d.ts
CHANGED
|
@@ -33,10 +33,10 @@ declare const tagVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
33
33
|
rounded: string;
|
|
34
34
|
};
|
|
35
35
|
}>, {
|
|
36
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
37
36
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
38
|
-
|
|
37
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
39
38
|
shape?: "auto" | "rounded" | undefined;
|
|
39
|
+
variant?: "outline" | "soft" | "ghost" | "solid" | "pure" | "raw" | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
type TagVariants = VariantProps<typeof tagVariants>;
|
|
42
42
|
type TagVariant = NonNullable<TagVariants['variant']>;
|
|
@@ -68,8 +68,8 @@ declare const toggleGroupVariants: import("@soybeanjs/cva").SCVResult<"root" | "
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
}>, {
|
|
71
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
72
71
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
72
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
73
73
|
variant?: "outline" | "soft" | "ghost" | undefined;
|
|
74
74
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
75
75
|
}>;
|
package/dist/styles/toggle.d.ts
CHANGED
|
@@ -32,10 +32,10 @@ declare const toggleVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
32
32
|
circle: string;
|
|
33
33
|
};
|
|
34
34
|
}>, {
|
|
35
|
-
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
36
35
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
37
|
-
|
|
36
|
+
color?: "primary" | "destructive" | "success" | "warning" | "info" | "carbon" | "secondary" | "accent" | undefined;
|
|
38
37
|
shape?: "auto" | "rounded" | "square" | "circle" | undefined;
|
|
38
|
+
variant?: "outline" | "soft" | "ghost" | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
type ToggleVariants = VariantProps<typeof toggleVariants>;
|
|
41
41
|
type ToggleVariant = NonNullable<ToggleVariants['variant']>;
|