@soybeanjs/ui 0.29.0-beta.2 → 0.29.0-beta.3
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/button/button-icon.vue.d.ts +1 -1
- package/dist/components/button/button-link.vue.d.ts +1 -1
- package/dist/components/color-picker/color-picker.vue.d.ts +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/link/link.vue.d.ts +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/button.d.ts +1 -1
- package/dist/styles/kbd.d.ts +1 -1
- package/dist/styles/page-tabs.d.ts +1 -1
- package/dist/styles/pagination.d.ts +1 -1
- package/dist/styles/skeleton.d.ts +1 -1
- package/dist/styles/table.d.ts +2 -2
- package/dist/styles/tabs.d.ts +1 -1
- package/dist/styles/tag.d.ts +1 -1
- package/dist/styles/toggle.d.ts +1 -1
- package/package.json +2 -2
|
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<BacktopProps, {}, {}, {}
|
|
|
16
16
|
icon: string;
|
|
17
17
|
size: ThemeSize;
|
|
18
18
|
color: ThemeColor;
|
|
19
|
-
variant: ButtonVariant;
|
|
20
19
|
shape: ButtonShape;
|
|
20
|
+
variant: ButtonVariant;
|
|
21
21
|
shadow: ButtonShadow;
|
|
22
22
|
fitContent: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -4,8 +4,8 @@ import { ButtonIconProps } from "./types.js";
|
|
|
4
4
|
//#region src/components/button/button-icon.vue.d.ts
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<ButtonIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
|
|
6
6
|
color: ThemeColor;
|
|
7
|
-
variant: ButtonVariant;
|
|
8
7
|
shape: ButtonShape;
|
|
8
|
+
variant: ButtonVariant;
|
|
9
9
|
fitContent: boolean;
|
|
10
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,9 +11,9 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
default?: (props: typeof __VLS_14) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import("vue").DefineComponent<ButtonLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
|
|
14
|
+
replace: boolean;
|
|
14
15
|
variant: ButtonVariant;
|
|
15
16
|
disabled: boolean;
|
|
16
|
-
replace: boolean;
|
|
17
17
|
external: boolean;
|
|
18
18
|
viewTransition: boolean;
|
|
19
19
|
noRel: boolean;
|
|
@@ -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;
|
|
31
30
|
showAlpha: boolean;
|
|
32
31
|
showFields: boolean;
|
|
33
32
|
showSwatches: boolean;
|
|
33
|
+
showArrow: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#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:{
|
|
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};
|
|
@@ -10,8 +10,8 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
default?: (props: typeof __VLS_8) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
13
|
-
disabled: boolean;
|
|
14
13
|
replace: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
external: boolean;
|
|
16
16
|
viewTransition: boolean;
|
|
17
17
|
noRel: boolean;
|
|
@@ -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
|
-
onContextmenu?: ((tab: T) => any) | undefined;
|
|
8
7
|
onClose?: ((tab: T) => any) | undefined;
|
|
8
|
+
onContextmenu?: ((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;
|
|
406
405
|
asChild: boolean;
|
|
407
406
|
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
|
@@ -94,7 +94,7 @@ declare const alertVariants: import("@soybeanjs/cva").SCVResult<"icon" | "title"
|
|
|
94
94
|
}>, {
|
|
95
95
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
96
96
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
97
|
-
variant?: "pure" | "
|
|
97
|
+
variant?: "pure" | "solid" | "outline" | "soft" | "ghost" | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
type AlertVariants = VariantProps<typeof alertVariants>;
|
|
100
100
|
type AlertVariant = NonNullable<AlertVariants['variant']>;
|
package/dist/styles/button.d.ts
CHANGED
|
@@ -49,8 +49,8 @@ declare const buttonVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
49
49
|
}>, {
|
|
50
50
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
51
51
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
52
|
-
variant?: "link" | "pure" | "outline" | "soft" | "ghost" | "solid" | "dashed" | "plain" | undefined;
|
|
53
52
|
shape?: "auto" | "rounded" | "square" | "circle" | undefined;
|
|
53
|
+
variant?: "link" | "pure" | "solid" | "outline" | "soft" | "ghost" | "dashed" | "plain" | undefined;
|
|
54
54
|
shadow?: "sm" | "md" | "lg" | "none" | undefined;
|
|
55
55
|
fitContent?: boolean | undefined;
|
|
56
56
|
}>;
|
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?: "solid" | "outline" | "ghost" | 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/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";
|
|
@@ -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" | "outline" | "soft" | "solid" | undefined;
|
|
66
65
|
shape?: "rounded" | "square" | undefined;
|
|
66
|
+
variant?: "pure" | "solid" | "outline" | "soft" | undefined;
|
|
67
67
|
actionAsSelected?: boolean | undefined;
|
|
68
68
|
}>;
|
|
69
69
|
type PaginationVariants = VariantProps<typeof paginationVariants>;
|
|
@@ -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/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" | "
|
|
4
|
+
declare const tableVariants: import("@soybeanjs/cva").SCVResult<"header" | "content" | "footer" | "fixed" | "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
|
@@ -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
|
@@ -35,8 +35,8 @@ declare const tagVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
35
35
|
}>, {
|
|
36
36
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
37
37
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
38
|
-
variant?: "pure" | "outline" | "soft" | "ghost" | "solid" | "raw" | undefined;
|
|
39
38
|
shape?: "auto" | "rounded" | undefined;
|
|
39
|
+
variant?: "pure" | "solid" | "outline" | "soft" | "ghost" | "raw" | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
type TagVariants = VariantProps<typeof tagVariants>;
|
|
42
42
|
type TagVariant = NonNullable<TagVariants['variant']>;
|
package/dist/styles/toggle.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ declare const toggleVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
|
|
|
34
34
|
}>, {
|
|
35
35
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
36
36
|
color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
|
|
37
|
-
variant?: "outline" | "soft" | "ghost" | 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']>;
|
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.3",
|
|
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.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@nuxt/kit": "^4.4.8",
|