@soybeanjs/ui 0.29.0-beta.5 → 0.29.0-beta.6
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/color-picker/color-picker.vue.d.ts +1 -1
- package/dist/components/color-slider/color-slider.vue.d.ts +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/page-tabs/page-tabs.vue.d.ts +1 -1
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +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/radio-group.d.ts +1 -1
- package/dist/styles/switch.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
|
-
size: ThemeSize;
|
|
18
17
|
color: ThemeColor;
|
|
18
|
+
size: ThemeSize;
|
|
19
19
|
shape: ButtonShape;
|
|
20
20
|
variant: ButtonVariant;
|
|
21
21
|
shadow: ButtonShadow;
|
|
@@ -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
|
-
size: ThemeSize;
|
|
16
15
|
color: ThemeColor;
|
|
16
|
+
size: ThemeSize;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../calendar/calendar.js";import{datePickerVariants as t}from"../../styles/date-picker.js";import{computed as n,createBlock as r,createVNode as i,defineComponent as a,mergeProps as o,openBlock as s,toHandlers as c,unref as l,withCtx as u}from"vue";import{useForwardListeners as d,useOmitProps as f}from"@soybeanjs/headless/composables";import{DatePickerCompact as p,provideDatePickerUi as m}from"@soybeanjs/headless/date-picker";const h=a({name:`SDatePicker`,__name:`date-picker`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},calendarUi:{},dateFieldProps:{},placement:{},showArrow:{type:Boolean},triggerProps:{},portalProps:{},positionerProps:{},popupProps:{},arrowProps:{},closeProps:{},disabled:{type:Boolean},dir:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean},headerProps:{},headingProps:{},prevProps:{},nextProps:{},gridProps:{},gridHeadProps:{},gridBodyProps:{},gridRowProps:{},headCellProps:{},cellProps:{},cellTriggerProps:{},locale:{},modelValue:{},defaultValue:{},multiple:{},placeholder:{},defaultPlaceholder:{},readonly:{type:Boolean},pagedNavigation:{type:Boolean},preventDeselect:{type:Boolean},weekStartsOn:{},weekdayFormat:{},calendarLabel:{},fixedWeeks:{type:Boolean},maxValue:{},minValue:{},numberOfMonths:{},initialFocus:{type:Boolean},isDateDisabled:{},isDateUnavailable:{},nextPage:{},prevPage:{},disableDaysOutsideCurrentView:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`update:modelValue`,`update:placeholder`],setup(a,{emit:h}){let g=a,_=h,v=f(g,[`class`,`size`,`ui`]),y=d(_);return m(n(()=>t({size:g.size},g.ui,{root:g.class}))),(t,n)=>(s(),r(l(p),o(l(v),c(l(y))),{default:u(({calendarProps:t,close:n,onUpdateModelValue:r,onUpdatePlaceholder:s})=>[i(e,o(t,{size:a.size,ui:a.calendarUi,"onUpdate:modelValue":e=>{r(e),n()},"onUpdate:placeholder":s}),null,16,[`size`,`ui`,`onUpdate:modelValue`,`onUpdate:placeholder`])]),_:1},16))}});export{h as default};
|
|
1
|
+
import e from"../calendar/calendar.js";import{datePickerVariants as t}from"../../styles/date-picker.js";import{computed as n,createBlock as r,createVNode as i,defineComponent as a,mergeProps as o,openBlock as s,toHandlers as c,unref as l,withCtx as u}from"vue";import{useForwardListeners as d,useOmitProps as f}from"@soybeanjs/headless/composables";import{DatePickerCompact as p,provideDatePickerUi as m}from"@soybeanjs/headless/date-picker";const h=a({name:`SDatePicker`,__name:`date-picker`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},calendarUi:{},dateFieldProps:{},placement:{},showArrow:{type:Boolean},triggerProps:{},portalProps:{},positionerProps:{},popupProps:{},arrowProps:{},closeProps:{},disabled:{type:Boolean},dir:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean},headerProps:{},headingProps:{},prevProps:{},nextProps:{},gridProps:{},gridHeadProps:{},gridBodyProps:{},gridRowProps:{},headCellProps:{},cellProps:{},cellTriggerProps:{},locale:{},modelValue:{},defaultValue:{},multiple:{type:Boolean},placeholder:{},defaultPlaceholder:{},readonly:{type:Boolean},pagedNavigation:{type:Boolean},preventDeselect:{type:Boolean},weekStartsOn:{},weekdayFormat:{},calendarLabel:{},fixedWeeks:{type:Boolean},maxValue:{},minValue:{},numberOfMonths:{},initialFocus:{type:Boolean},isDateDisabled:{},isDateUnavailable:{},nextPage:{},prevPage:{},disableDaysOutsideCurrentView:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`update:modelValue`,`update:placeholder`],setup(a,{emit:h}){let g=a,_=h,v=f(g,[`class`,`size`,`ui`]),y=d(_);return m(n(()=>t({size:g.size},g.ui,{root:g.class}))),(t,n)=>(s(),r(l(p),o(l(v),c(l(y))),{default:u(({calendarProps:t,close:n,onUpdateModelValue:r,onUpdatePlaceholder:s})=>[i(e,o(t,{size:a.size,ui:a.calendarUi,"onUpdate:modelValue":e=>{r(e),n()},"onUpdate:placeholder":s}),null,16,[`size`,`ui`,`onUpdate:modelValue`,`onUpdate:placeholder`])]),_:1},16))}});export{h as default};
|
|
@@ -4,8 +4,8 @@ import { PageTabsOptionData } from "@soybeanjs/headless/page-tabs";
|
|
|
4
4
|
//#region src/components/page-tabs/page-tabs.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T extends PageTabsOptionData = PageTabsOptionData>(__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
6
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<PageTabsProps<T> & {
|
|
7
|
-
onClose?: ((tab: T) => any) | undefined;
|
|
8
7
|
onContextmenu?: ((tab: T) => any) | undefined;
|
|
8
|
+
onClose?: ((tab: T) => any) | undefined;
|
|
9
9
|
onClick?: ((tab: T) => any) | undefined;
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
11
|
"onUpdate:items"?: ((items: T[]) => any) | undefined;
|
|
@@ -402,9 +402,9 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
402
402
|
onDragging?: ((_value: boolean) => any) | undefined;
|
|
403
403
|
}>, {
|
|
404
404
|
class: import("@soybeanjs/headless").ClassValue;
|
|
405
|
+
tabindex: number;
|
|
405
406
|
asChild: boolean;
|
|
406
407
|
as: string | Function | Record<string, any>;
|
|
407
|
-
tabindex: number;
|
|
408
408
|
disabled: boolean;
|
|
409
409
|
withHandle: boolean;
|
|
410
410
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
96
95
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
96
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
97
97
|
variant?: "pure" | "outline" | "soft" | "ghost" | "solid" | 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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
67
66
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
67
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | 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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
51
50
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
51
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
52
52
|
shape?: "auto" | "rounded" | "square" | "circle" | undefined;
|
|
53
53
|
variant?: "link" | "pure" | "outline" | "soft" | "ghost" | "solid" | "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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
81
80
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
81
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
82
82
|
shape?: "rounded" | "square" | undefined;
|
|
83
83
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
84
84
|
}>;
|
|
@@ -85,8 +85,8 @@ declare const radioGroupVariants: import("@soybeanjs/cva").SCVResult<"label" | "
|
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
}>, {
|
|
88
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
89
88
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
89
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | 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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
69
68
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
69
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
70
70
|
shape?: "rounded" | "square" | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
type SwitchVariants = VariantProps<typeof switchVariants>;
|
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" | "trigger" | "indicator" | "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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
72
71
|
fill?: "auto" | "full" | undefined;
|
|
72
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | 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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
37
36
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
37
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
38
38
|
shape?: "auto" | "rounded" | undefined;
|
|
39
39
|
variant?: "pure" | "outline" | "soft" | "ghost" | "solid" | "raw" | undefined;
|
|
40
40
|
}>;
|
|
@@ -68,8 +68,8 @@ declare const toggleGroupVariants: import("@soybeanjs/cva").SCVResult<"root" | "
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
}>, {
|
|
71
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
72
71
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
72
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | 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
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
36
35
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
36
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | 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.29.0-beta.
|
|
3
|
+
"version": "0.29.0-beta.6",
|
|
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": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@soybeanjs/hooks": "^0.3.0",
|
|
50
50
|
"@soybeanjs/shadcn-theme": "^0.3.4",
|
|
51
51
|
"@soybeanjs/utils": "^0.1.1",
|
|
52
|
-
"@soybeanjs/headless": "^0.29.0-beta.
|
|
52
|
+
"@soybeanjs/headless": "^0.29.0-beta.6"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@nuxt/kit": "^4.4.8",
|