@soybeanjs/ui 0.27.0 → 0.27.1
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/backtop/backtop.vue.d.ts +1 -1
- package/dist/components/calendar/calendar.js +1 -1
- package/dist/components/color-picker/color-picker.vue.d.ts +1 -1
- package/dist/components/color-slider/color-slider.vue.d.ts +1 -1
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/styles/alert.d.ts +1 -1
- package/dist/styles/badge.d.ts +1 -1
- package/dist/styles/button.d.ts +1 -1
- package/dist/styles/checkbox.d.ts +1 -1
- package/dist/styles/page-tabs.d.ts +1 -1
- package/dist/styles/radio-group.d.ts +1 -1
- package/dist/styles/switch.d.ts +1 -1
- package/dist/styles/table.d.ts +1 -1
- package/dist/styles/tabs.d.ts +2 -2
- package/dist/styles/tag.d.ts +1 -1
- package/dist/styles/toggle-group.d.ts +1 -1
- package/dist/styles/toggle.d.ts +1 -1
- package/package.json +2 -2
|
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<BacktopProps, {}, {}, {}
|
|
|
14
14
|
onChange?: ((visible: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
icon: string;
|
|
17
|
-
color: ThemeColor;
|
|
18
17
|
size: ThemeSize;
|
|
18
|
+
color: ThemeColor;
|
|
19
19
|
shape: ButtonShape;
|
|
20
20
|
variant: ButtonVariant;
|
|
21
21
|
shadow: ButtonShadow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{miniSizeMap as e}from"../../theme/config.js";import"../../theme/index.js";import t from"../icon/icon.js";import{calendarVariants as n}from"../../styles/calendar.js";import r from"../select/select.js";import{computed as i,createBlock as a,createSlots as o,createTextVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,toDisplayString as h,toHandlers as g,unref as _,withCtx as v}from"vue";import{useForwardListeners as y,useOmitProps as b}from"@soybeanjs/headless/composables";import{useLocaleMessages as x}from"@soybeanjs/headless";import{CalendarCompact as S,provideCalendarUi as C}from"@soybeanjs/headless/calendar";const w=l({name:`SCalendar`,__name:`calendar`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},headerProps:{},headingProps:{},prevProps:{},nextProps:{},gridProps:{},gridHeadProps:{},gridBodyProps:{},gridRowProps:{},headCellProps:{},cellProps:{},cellTriggerProps:{},dir:{},locale:{},modelValue:{},defaultValue:{},multiple:{},placeholder:{},defaultPlaceholder:{},disabled:{type:Boolean},readonly:{type:Boolean},pagedNavigation:{type:Boolean},preventDeselect:{type:Boolean},weekStartsOn:{},weekdayFormat:{},calendarLabel:{},fixedWeeks:{type:Boolean},maxValue:{},minValue:{},numberOfMonths:{},initialFocus:{type:Boolean},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},nextPage:{type:Function},prevPage:{type:Function},disableDaysOutsideCurrentView:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`],setup(l,{emit:w}){let T=l,E=w,D=b(T,[`class`,`size`,`ui`]),O=y(E),k=x(),A=i(()=>({"aria-label":k.value.calendar.selectMonth})),j=i(()=>({"aria-label":k.value.calendar.selectYear})),M=i(()=>n({size:T.size},T.ui,{root:T.class})),N=i(()=>e[T.size||`md`]);return C(M),(e,n)=>(p(),a(_(S),d(_(D),g(_(O))),o({prev:v(n=>[m(e.$slots,`prev`,f(u(n)),()=>[c(t,{icon:`lucide:chevron-left`})])]),next:v(n=>[m(e.$slots,`next`,f(u(n)),()=>[c(t,{icon:`lucide:chevron-right`})])]),"head-cell":v(t=>[m(e.$slots,`head-cell`,f(u(t)),()=>[s(h(t.label),1)])]),day:v(t=>[m(e.$slots,`day`,f(u(t)),()=>[s(h(t.dayValue),1)])]),default:v(t=>[m(e.$slots,`default`,f(u(t)))]),_:2},[e.$slots.heading?{name:`heading`,fn:v(t=>[m(e.$slots,`heading`,f(u(t)))]),key:`0`}:{name:`heading`,fn:v(({monthOptions:e,yearOptions:t,selectedMonth:n,selectedYear:i,onMonthChange:a,onYearChange:o})=>[c(r,{size:N.value,disabled:l.disabled,clearable:!1,items:e,"model-value":n,"trigger-props":A.value,ui:{trigger:`w-fit`},"onUpdate:modelValue":a},null,8,[`size`,`disabled`,`items`,`model-value`,`trigger-props`,`onUpdate:modelValue`]),c(r,{size:N.value,disabled:l.disabled,clearable:!1,items:t,"model-value":i,"trigger-props":j.value,ui:{popup:`max-h-72`,trigger:`w-fit`},"onUpdate:modelValue":o},null,8,[`size`,`disabled`,`items`,`model-value`,`trigger-props`,`onUpdate:modelValue`])]),key:`1`}]),1040))}});export{w as default};
|
|
1
|
+
import{miniSizeMap as e}from"../../theme/config.js";import"../../theme/index.js";import t from"../icon/icon.js";import{calendarVariants as n}from"../../styles/calendar.js";import r from"../select/select.js";import{computed as i,createBlock as a,createSlots as o,createTextVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,toDisplayString as h,toHandlers as g,unref as _,withCtx as v}from"vue";import{useForwardListeners as y,useOmitProps as b}from"@soybeanjs/headless/composables";import{useLocaleMessages as x}from"@soybeanjs/headless";import{CalendarCompact as S,provideCalendarUi as C}from"@soybeanjs/headless/calendar";const w=l({name:`SCalendar`,__name:`calendar`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},headerProps:{},headingProps:{},prevProps:{},nextProps:{},gridProps:{},gridHeadProps:{},gridBodyProps:{},gridRowProps:{},headCellProps:{},cellProps:{},cellTriggerProps:{},dir:{},locale:{},modelValue:{},defaultValue:{},multiple:{type:Boolean},placeholder:{},defaultPlaceholder:{},disabled:{type:Boolean},readonly:{type:Boolean},pagedNavigation:{type:Boolean},preventDeselect:{type:Boolean},weekStartsOn:{},weekdayFormat:{},calendarLabel:{},fixedWeeks:{type:Boolean},maxValue:{},minValue:{},numberOfMonths:{},initialFocus:{type:Boolean},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},nextPage:{type:Function},prevPage:{type:Function},disableDaysOutsideCurrentView:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`],setup(l,{emit:w}){let T=l,E=w,D=b(T,[`class`,`size`,`ui`]),O=y(E),k=x(),A=i(()=>({"aria-label":k.value.calendar.selectMonth})),j=i(()=>({"aria-label":k.value.calendar.selectYear})),M=i(()=>n({size:T.size},T.ui,{root:T.class})),N=i(()=>e[T.size||`md`]);return C(M),(e,n)=>(p(),a(_(S),d(_(D),g(_(O))),o({prev:v(n=>[m(e.$slots,`prev`,f(u(n)),()=>[c(t,{icon:`lucide:chevron-left`})])]),next:v(n=>[m(e.$slots,`next`,f(u(n)),()=>[c(t,{icon:`lucide:chevron-right`})])]),"head-cell":v(t=>[m(e.$slots,`head-cell`,f(u(t)),()=>[s(h(t.label),1)])]),day:v(t=>[m(e.$slots,`day`,f(u(t)),()=>[s(h(t.dayValue),1)])]),default:v(t=>[m(e.$slots,`default`,f(u(t)))]),_:2},[e.$slots.heading?{name:`heading`,fn:v(t=>[m(e.$slots,`heading`,f(u(t)))]),key:`0`}:{name:`heading`,fn:v(({monthOptions:e,yearOptions:t,selectedMonth:n,selectedYear:i,onMonthChange:a,onYearChange:o})=>[c(r,{size:N.value,disabled:l.disabled,clearable:!1,items:e,"model-value":n,"trigger-props":A.value,ui:{trigger:`w-fit`},"onUpdate:modelValue":a},null,8,[`size`,`disabled`,`items`,`model-value`,`trigger-props`,`onUpdate:modelValue`]),c(r,{size:N.value,disabled:l.disabled,clearable:!1,items:t,"model-value":i,"trigger-props":j.value,ui:{popup:`max-h-72`,trigger:`w-fit`},"onUpdate:modelValue":o},null,8,[`size`,`disabled`,`items`,`model-value`,`trigger-props`,`onUpdate:modelValue`])]),key:`1`}]),1040))}});export{w as default};
|
|
@@ -27,10 +27,10 @@ declare const __VLS_export: import("vue").DefineComponent<ColorPickerProps, {},
|
|
|
27
27
|
"onUpdate:format"?: ((value: import("@soybeanjs/headless/types").ColorFormat) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
open: boolean;
|
|
30
|
+
showArrow: boolean;
|
|
30
31
|
showAlpha: boolean;
|
|
31
32
|
showFields: boolean;
|
|
32
33
|
showSwatches: boolean;
|
|
33
|
-
showArrow: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
|
@@ -12,8 +12,8 @@ declare const __VLS_export: import("vue").DefineComponent<ColorSliderProps, {},
|
|
|
12
12
|
"onUpdate:color"?: ((value: import("@soybeanjs/headless/types").NormalizedColor) => any) | undefined;
|
|
13
13
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
color: ThemeColor;
|
|
16
15
|
size: ThemeSize;
|
|
16
|
+
color: ThemeColor;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{themeSizeMap as e}from"../../theme/config.js";import"../../theme/index.js";import t from"../dialog/dialog-provider.js";import n from"../progress/progress-provider.js";import r from"../toast/toast-provider.js";import{provideConfigProviderContext as i}from"./context.js";import a from"../icon/icon.js";import{createBlock as o,createCommentVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,h as d,mergeProps as f,normalizeProps as p,openBlock as m,renderSlot as h,shallowRef as g,unref as _,watch as v,watchEffect as y,withCtx as b}from"vue";import{useOmitProps as x}from"@soybeanjs/headless/composables";import{isClient as S,isNuxt as C,transformPropsToContext as w}from"@soybeanjs/headless/shared";import{useStyleTag as T}from"@vueuse/core";import{ConfigProvider as E}from"@soybeanjs/headless/config-provider";import{createShadcnTheme as D}from"@soybeanjs/shadcn-theme";const O=l({name:`SConfigProvider`,__name:`config-provider`,props:{theme:{default:()=>({})},size:{default:`md`},iconify:{default:()=>({width:`1.25em`,height:`1.25em`})},progress:{},toast:{},customToast:{type:Boolean},dir:{},locale:{},nonce:{},tooltip:{},iconRender:{},messages:{}},setup(l){let O=l,k=x(O,[`iconRender`,`theme`,`size`,`iconify`,`progress`,`toast`,`customToast`]),A=O.iconRender??(e=>d(a,{icon:e,ssr:C}));i({...w(O),iconRender:A});let j=g(``),M=()=>{let{getCss:e}=D(O.theme);j.value=e(O.theme,O.theme.radius)};return T(j,{id:`__SoybeanUI_theme`}),y(()=>{if(!S)return;let t=e[O.size??`md`];document.documentElement.style.fontSize=`${t}px`},{flush:`post`}),v(()=>O.theme,(
|
|
1
|
+
import{themeSizeMap as e}from"../../theme/config.js";import"../../theme/index.js";import t from"../dialog/dialog-provider.js";import n from"../progress/progress-provider.js";import r from"../toast/toast-provider.js";import{provideConfigProviderContext as i}from"./context.js";import a from"../icon/icon.js";import{createBlock as o,createCommentVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,h as d,mergeProps as f,normalizeProps as p,openBlock as m,renderSlot as h,shallowRef as g,unref as _,watch as v,watchEffect as y,withCtx as b}from"vue";import{useOmitProps as x}from"@soybeanjs/headless/composables";import{isClient as S,isNuxt as C,transformPropsToContext as w}from"@soybeanjs/headless/shared";import{useStyleTag as T}from"@vueuse/core";import{ConfigProvider as E}from"@soybeanjs/headless/config-provider";import{createShadcnTheme as D}from"@soybeanjs/shadcn-theme";const O=l({name:`SConfigProvider`,__name:`config-provider`,props:{theme:{default:()=>({})},size:{default:`md`},iconify:{default:()=>({width:`1.25em`,height:`1.25em`})},progress:{},toast:{},customToast:{type:Boolean},dir:{},locale:{},nonce:{},tooltip:{},iconRender:{},messages:{}},setup(l){let O=l,k=x(O,[`iconRender`,`theme`,`size`,`iconify`,`progress`,`toast`,`customToast`]),A=O.iconRender??(e=>d(a,{icon:e,ssr:C}));i({...w(O),iconRender:A});let j=g(``),M=()=>{let{getCss:e}=D(O.theme);j.value=e(O.theme,O.theme.radius)};return T(j,{id:`__SoybeanUI_theme`}),y(()=>{if(!S)return;let t=e[O.size??`md`];document.documentElement.style.fontSize=`${t}px`},{flush:`post`}),v(()=>O.theme,()=>{S&&M()},{deep:!0,flush:`post`,immediate:!0}),(e,i)=>(m(),o(_(E),f(_(k),{"icon-render":_(A)}),{default:b(()=>[h(e.$slots,`default`),O.customToast?s(`v-if`,!0):(m(),o(r,p(f({key:0},O.toast)),null,16)),c(t),c(n,p(u(O.progress)),null,16)]),_:3},16,[`icon-render`]))}});export{O as default};
|
package/dist/styles/alert.d.ts
CHANGED
|
@@ -92,8 +92,8 @@ 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;
|
|
96
|
+
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
97
97
|
variant?: "pure" | "solid" | "outline" | "soft" | "ghost" | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
type AlertVariants = VariantProps<typeof alertVariants>;
|
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?: "info" | "success" | "warning" | "primary" | "destructive" | "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,8 +47,8 @@ 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;
|
|
51
|
+
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
52
52
|
shape?: "auto" | "rounded" | "square" | "circle" | undefined;
|
|
53
53
|
variant?: "link" | "pure" | "solid" | "outline" | "soft" | "ghost" | "dashed" | "plain" | undefined;
|
|
54
54
|
shadow?: "sm" | "md" | "lg" | "none" | undefined;
|
|
@@ -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?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
82
82
|
shape?: "rounded" | "square" | undefined;
|
|
83
83
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
84
84
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "@soybeanjs/cva";
|
|
2
2
|
|
|
3
3
|
//#region src/styles/page-tabs.d.ts
|
|
4
|
-
declare const pageTabsVariants: import("@soybeanjs/cva").SCVResult<"close" | "root" | "item" | "
|
|
4
|
+
declare const pageTabsVariants: import("@soybeanjs/cva").SCVResult<"close" | "root" | "item" | "itemText" | "pin" | "sliderIndicator" | "chromeBgLeft" | "chromeBgRight", NoInfer<{
|
|
5
5
|
size: {
|
|
6
6
|
xs: {
|
|
7
7
|
root: "text-2xs";
|
|
@@ -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?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
90
90
|
variant?: "outline" | "dot" | undefined;
|
|
91
91
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
92
92
|
}>;
|
package/dist/styles/switch.d.ts
CHANGED
|
@@ -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?: "info" | "success" | "warning" | "primary" | "destructive" | "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<"header" | "content" | "footer" | "fixed" | "root" | "resizeHandle" | "body" | "head" | "scroll" | "cell" | "row" | "sortTrigger" | "filterInput" | "treeCell" | "treeToggle" | "treeTogglePlaceholder" | "
|
|
4
|
+
declare const tableVariants: import("@soybeanjs/cva").SCVResult<"header" | "content" | "footer" | "fixed" | "root" | "resizeHandle" | "body" | "head" | "scroll" | "cell" | "row" | "selection" | "sortTrigger" | "filterInput" | "treeCell" | "treeToggle" | "treeTogglePlaceholder" | "filterTrigger" | "filterPopup" | "filterSearch" | "filterOptions" | "filterOption" | "filterOptionLabel" | "filterFooter" | "filterCount" | "filterAction" | "filterEmpty" | "radioIndicator" | "radioRoot", NoInfer<{
|
|
5
5
|
size: {
|
|
6
6
|
xs: {
|
|
7
7
|
root: "text-2xs";
|
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";
|
|
@@ -68,8 +68,8 @@ declare const tabsVariants: import("@soybeanjs/cva").SCVResult<"list" | "content
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
}>, {
|
|
71
|
-
fill?: "auto" | "full" | undefined;
|
|
72
71
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
72
|
+
fill?: "auto" | "full" | undefined;
|
|
73
73
|
shape?: "rounded" | "square" | undefined;
|
|
74
74
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
75
75
|
enableIndicator?: boolean | undefined;
|
package/dist/styles/tag.d.ts
CHANGED
|
@@ -33,8 +33,8 @@ 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;
|
|
37
|
+
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
38
38
|
shape?: "auto" | "rounded" | undefined;
|
|
39
39
|
variant?: "pure" | "solid" | "outline" | "soft" | "ghost" | "raw" | undefined;
|
|
40
40
|
}>;
|
|
@@ -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?: "info" | "success" | "warning" | "primary" | "destructive" | "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,8 +32,8 @@ 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;
|
|
36
|
+
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
37
37
|
shape?: "auto" | "rounded" | "square" | "circle" | undefined;
|
|
38
38
|
variant?: "outline" | "soft" | "ghost" | undefined;
|
|
39
39
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/ui",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "SoybeanUI is built on top of SoybeanHeadless, providing a collection of styled components for Vue 3.",
|
|
5
5
|
"homepage": "https://github.com/soybeanjs/soybean-ui",
|
|
6
6
|
"bugs": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@soybeanjs/utils": "^0.1.1",
|
|
52
52
|
"valibot": "^1.4.1",
|
|
53
53
|
"zod": "^4.4.3",
|
|
54
|
-
"@soybeanjs/headless": "^0.27.
|
|
54
|
+
"@soybeanjs/headless": "^0.27.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@nuxt/kit": "^4.4.6",
|