@soybeanjs/ui 0.29.0-beta.4 → 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.
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<BacktopProps, {}, {}, {}
16
16
  icon: string;
17
17
  color: ThemeColor;
18
18
  size: ThemeSize;
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;
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
@@ -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;
@@ -12,13 +12,13 @@ type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_8) => any;
13
13
  };
14
14
  declare const __VLS_base: import("vue").DefineComponent<SplitterPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ resize: (size: number, prevSize: number | undefined) => any;
15
16
  collapse: () => any;
16
17
  expand: () => any;
17
- resize: (size: number, prevSize: number | undefined) => any;
18
18
  }, string, import("vue").PublicProps, Readonly<SplitterPanelProps> & Readonly<{
19
+ onResize?: ((size: number, prevSize: number | undefined) => any) | undefined;
19
20
  onCollapse?: (() => any) | undefined;
20
21
  onExpand?: (() => any) | undefined;
21
- onResize?: ((size: number, prevSize: number | undefined) => any) | undefined;
22
22
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
@@ -49,8 +49,8 @@ declare const buttonVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
49
49
  }>, {
50
50
  color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
51
51
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
52
- variant?: "link" | "pure" | "outline" | "soft" | "ghost" | "solid" | "dashed" | "plain" | undefined;
53
52
  shape?: "auto" | "rounded" | "square" | "circle" | undefined;
53
+ variant?: "link" | "pure" | "outline" | "soft" | "ghost" | "solid" | "dashed" | "plain" | undefined;
54
54
  shadow?: "sm" | "md" | "lg" | "none" | undefined;
55
55
  fitContent?: boolean | undefined;
56
56
  }>;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from "@soybeanjs/cva";
2
2
 
3
3
  //#region src/styles/checkbox.d.ts
4
- declare const checkboxVariants: import("@soybeanjs/cva").SCVResult<"label" | "root" | "control" | "indicator" | "groupRoot" | "indicator-icon", NoInfer<{
4
+ declare const checkboxVariants: import("@soybeanjs/cva").SCVResult<"label" | "root" | "indicator" | "control" | "groupRoot" | "indicator-icon", NoInfer<{
5
5
  color: {
6
6
  primary: {
7
7
  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";
@@ -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" | "root" | "first" | "last" | "ellipsis" | "prev" | "listItem", NoInfer<{
4
+ declare const paginationVariants: import("@soybeanjs/cva").SCVResult<"list" | "next" | "first" | "last" | "ellipsis" | "root" | "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" | "outline" | "soft" | "solid" | undefined;
66
65
  shape?: "rounded" | "square" | undefined;
66
+ variant?: "pure" | "outline" | "soft" | "solid" | undefined;
67
67
  actionAsSelected?: boolean | undefined;
68
68
  }>;
69
69
  type PaginationVariants = VariantProps<typeof paginationVariants>;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from "@soybeanjs/cva";
2
2
 
3
3
  //#region src/styles/radio-group.d.ts
4
- declare const radioGroupVariants: import("@soybeanjs/cva").SCVResult<"label" | "root" | "item" | "control" | "indicator", NoInfer<{
4
+ declare const radioGroupVariants: import("@soybeanjs/cva").SCVResult<"label" | "root" | "item" | "indicator" | "control", NoInfer<{
5
5
  color: {
6
6
  primary: {
7
7
  control: "border-primary focus-visible:ring-primary/30";
@@ -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']>;
@@ -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" | "selection" | "filterTrigger" | "filterPopup" | "filterSearch" | "filterOptions" | "filterOption" | "filterOptionLabel" | "filterFooter" | "filterCount" | "filterAction" | "filterEmpty" | "radioIndicator" | "radioRoot", NoInfer<{
4
+ declare const tableVariants: import("@soybeanjs/cva").SCVResult<"header" | "content" | "footer" | "fixed" | "scroll" | "body" | "head" | "cell" | "row" | "root" | "resizeHandle" | "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
  }>;
@@ -35,8 +35,8 @@ declare const tagVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
35
35
  }>, {
36
36
  color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
37
37
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
38
- variant?: "pure" | "outline" | "soft" | "ghost" | "solid" | "raw" | undefined;
39
38
  shape?: "auto" | "rounded" | undefined;
39
+ variant?: "pure" | "outline" | "soft" | "ghost" | "solid" | "raw" | undefined;
40
40
  }>;
41
41
  type TagVariants = VariantProps<typeof tagVariants>;
42
42
  type TagVariant = NonNullable<TagVariants['variant']>;
@@ -34,8 +34,8 @@ declare const toggleVariants: import("@soybeanjs/cva").CVResult<NoInfer<{
34
34
  }>, {
35
35
  color?: "info" | "success" | "warning" | "primary" | "destructive" | "carbon" | "secondary" | "accent" | undefined;
36
36
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | 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.4",
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.4"
52
+ "@soybeanjs/headless": "^0.29.0-beta.6"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@nuxt/kit": "^4.4.8",