@soybeanjs/ui 0.29.0-beta.2 → 0.29.0-beta.4

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.
@@ -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
  variant: ButtonVariant;
20
20
  shape: ButtonShape;
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;
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
@@ -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
@@ -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>;
@@ -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>;
@@ -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
  variant?: "link" | "pure" | "outline" | "soft" | "ghost" | "solid" | "dashed" | "plain" | undefined;
53
53
  shape?: "auto" | "rounded" | "square" | "circle" | undefined;
54
54
  shadow?: "sm" | "md" | "lg" | "none" | undefined;
@@ -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" | "indicator" | "control" | "groupRoot" | "indicator-icon", NoInfer<{
4
+ declare const checkboxVariants: import("@soybeanjs/cva").SCVResult<"label" | "root" | "control" | "indicator" | "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";
@@ -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
  }>;
@@ -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" | "indicator" | "control", NoInfer<{
4
+ declare const radioGroupVariants: import("@soybeanjs/cva").SCVResult<"label" | "root" | "item" | "control" | "indicator", NoInfer<{
5
5
  color: {
6
6
  primary: {
7
7
  control: "border-primary focus-visible:ring-primary/30";
@@ -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
  }>;
@@ -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>;
@@ -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" | "selection" | "sortTrigger" | "filterInput" | "treeCell" | "treeToggle" | "treeTogglePlaceholder" | "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" | "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";
@@ -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
  variant?: "pure" | "outline" | "soft" | "ghost" | "solid" | "raw" | undefined;
39
39
  shape?: "auto" | "rounded" | 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
  }>;
@@ -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
  variant?: "outline" | "soft" | "ghost" | undefined;
38
38
  shape?: "auto" | "rounded" | "square" | "circle" | undefined;
39
39
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soybeanjs/ui",
3
- "version": "0.29.0-beta.2",
3
+ "version": "0.29.0-beta.4",
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.2"
52
+ "@soybeanjs/headless": "^0.29.0-beta.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@nuxt/kit": "^4.4.8",