@vanstack/solid-ark 0.0.18 → 0.0.19

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.
@@ -208,7 +208,7 @@ function H(c) {
208
208
  children: (e) => a(t, {
209
209
  size: "default",
210
210
  get variant() {
211
- return e.variant;
211
+ return e.variant ?? "default";
212
212
  },
213
213
  get children() {
214
214
  return e.value;
@@ -27,8 +27,8 @@ export interface DataTableAction<TData> {
27
27
  }
28
28
  /** type="badge" 列的徽标配置:变种 + 展示值 */
29
29
  export interface DataTableBadgeConfig {
30
- /** 徽标变种(Badge 组件 variant */
31
- variant: BadgeVariant;
30
+ /** 徽标变种(Badge 组件 variant),缺省 "default" */
31
+ variant?: BadgeVariant;
32
32
  /** 展示文本 */
33
33
  value: string;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanstack/solid-ark",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -72,9 +72,9 @@
72
72
  "vitest": "^4.1.10",
73
73
  "zod": "^4.4.0",
74
74
  "@vanstack/prettier-config": "0.0.1",
75
- "@vanstack/vite-config": "0.0.2",
75
+ "@vanstack/eslint-config": "0.0.1",
76
76
  "@vanstack/tsconfig": "0.0.1",
77
- "@vanstack/eslint-config": "0.0.1"
77
+ "@vanstack/vite-config": "0.0.2"
78
78
  },
79
79
  "scripts": {
80
80
  "build": "tsc --noEmit && vite build",