@funhub/platform 0.1.151 → 0.1.152

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.
@@ -8,7 +8,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
8
8
  //#region components/ui/button-group.d.ts
9
9
  /** buttonGroupVariants 工具定义。 */
10
10
  declare const buttonGroupVariants: (props?: ({
11
- orientation?: "horizontal" | "vertical" | null | undefined;
11
+ orientation?: "vertical" | "horizontal" | null | undefined;
12
12
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
13
13
  /** ButtonGroupText 组件属性。 */
14
14
  type ButtonGroupTextProps = useRender.ComponentProps<'div'>;
@@ -8,7 +8,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
8
8
  /** buttonVariants 工具定义。 */
9
9
  declare const buttonVariants: (props?: ({
10
10
  variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
11
- size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
11
+ size?: "default" | "icon" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
12
12
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
13
13
  /** Button 组件属性。 */
14
14
  type ButtonProps = Button.Props & VariantProps<typeof buttonVariants> & {
@@ -51,7 +51,7 @@ declare function FieldGroup({
51
51
  }: FieldGroupProps): react_jsx_runtime0.JSX.Element;
52
52
  /** fieldVariants 工具定义。 */
53
53
  declare const fieldVariants: (props?: ({
54
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
54
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
55
55
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
56
56
  /** Field 组件。 */
57
57
  declare function Field({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funhub/platform",
3
3
  "type": "module",
4
- "version": "0.1.151",
4
+ "version": "0.1.152",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -70,30 +70,6 @@
70
70
  "dist",
71
71
  "theme.css"
72
72
  ],
73
- "scripts": {
74
- "dev:web": "next dev",
75
- "build:web": "next build",
76
- "prebuild": "pnpm i18n:build",
77
- "build": "cross-env TSDOWN_ENV=production tsdown",
78
- "predev": "pnpm i18n:build",
79
- "dev": "node scripts/dev-with-i18n-watch.mjs",
80
- "dev:core": "cross-env TSDOWN_ENV=development tsdown --watch",
81
- "publish:platform": "node scripts/publish-platform.mjs",
82
- "gen:api": "node ./scripts/generate-from-swagger.cjs",
83
- "pp": "pnpm publish:platform",
84
- "start": "next start",
85
- "prelint": "pnpm i18n:build",
86
- "lint": "eslint . --fix",
87
- "pretypecheck": "pnpm i18n:build",
88
- "typecheck": "tsc --noEmit",
89
- "i18n:find": "node scripts/i18n-locale-tool.mjs find",
90
- "i18n:set": "node scripts/i18n-locale-tool.mjs set",
91
- "i18n:flatten": "node scripts/i18n-flat-sync.mjs flatten",
92
- "i18n:build": "node scripts/i18n-flat-sync.mjs build",
93
- "i18n:watch": "node scripts/i18n-flat-sync.mjs watch",
94
- "i18n:check": "node scripts/i18n-flat-sync.mjs check",
95
- "pretest": "pnpm i18n:build"
96
- },
97
73
  "peerDependencies": {
98
74
  "@tanstack/query-core": ">=5",
99
75
  "@tanstack/react-query": ">=5",
@@ -142,7 +118,6 @@
142
118
  "zustand": "^5.0.9"
143
119
  },
144
120
  "devDependencies": {
145
- "@funhub/eslint-config": "workspace:*",
146
121
  "@svgr/webpack": "^8.1.0",
147
122
  "@types/crypto-js": "^4.2.2",
148
123
  "@types/lodash-es": "^4.17.12",
@@ -151,6 +126,31 @@
151
126
  "rollup-plugin-postcss": "^4.0.2",
152
127
  "rollup-preserve-directives": "^1.1.3",
153
128
  "tsdown": "0.20.3",
154
- "vite-plugin-svgr": "^4.3.0"
129
+ "vite-plugin-svgr": "^4.3.0",
130
+ "@funhub/eslint-config": "0.0.1"
131
+ },
132
+ "scripts": {
133
+ "dev:web": "next dev",
134
+ "build:web": "next build",
135
+ "prebuild": "pnpm i18n:build",
136
+ "build": "cross-env TSDOWN_ENV=production tsdown",
137
+ "predev": "pnpm i18n:build",
138
+ "dev": "node scripts/dev-with-i18n-watch.mjs",
139
+ "dev:core": "cross-env TSDOWN_ENV=development tsdown --watch",
140
+ "publish:platform": "node scripts/publish-platform.mjs",
141
+ "gen:api": "node ./scripts/generate-from-swagger.cjs",
142
+ "pp": "pnpm publish:platform",
143
+ "start": "next start",
144
+ "prelint": "pnpm i18n:build",
145
+ "lint": "eslint . --fix",
146
+ "pretypecheck": "pnpm i18n:build",
147
+ "typecheck": "tsc --noEmit",
148
+ "i18n:find": "node scripts/i18n-locale-tool.mjs find",
149
+ "i18n:set": "node scripts/i18n-locale-tool.mjs set",
150
+ "i18n:flatten": "node scripts/i18n-flat-sync.mjs flatten",
151
+ "i18n:build": "node scripts/i18n-flat-sync.mjs build",
152
+ "i18n:watch": "node scripts/i18n-flat-sync.mjs watch",
153
+ "i18n:check": "node scripts/i18n-flat-sync.mjs check",
154
+ "pretest": "pnpm i18n:build"
155
155
  }
156
- }
156
+ }