@particle-network/ui-shared 0.0.7 → 0.1.1-beta.0

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/README.md CHANGED
@@ -168,10 +168,10 @@ export function cn(...classes: (string | undefined | null | false)[]): string;
168
168
 
169
169
  ```bash
170
170
  # 构建包
171
- yarn build
171
+ pnpm build
172
172
 
173
173
  # 开发模式(监听文件变化)
174
- yarn dev
174
+ pnpm dev
175
175
  ```
176
176
 
177
177
  ### 项目结构
@@ -223,13 +223,13 @@ const customTheme = createTheme({
223
223
 
224
224
  ```bash
225
225
  # 创建变更记录
226
- yarn changeset
226
+ pnpm changeset
227
227
 
228
228
  # 更新版本
229
- yarn changeset:version
229
+ pnpm changeset:version
230
230
 
231
231
  # 发布(通过 CI/CD)
232
- yarn changeset:release
232
+ pnpm changeset:release
233
233
  ```
234
234
 
235
235
  ## 🤝 贡献
package/dist/radius.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- export type UXRadius = 'none' | 'sm' | 'md' | 'lg' | 'full';
1
+ export type UXRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'full';
2
2
  export type RadiusType = UXRadius | number;
3
3
  export declare const radiusMap: Record<UXRadius, number>;
4
4
  export interface RadiusScale {
5
5
  none: number;
6
+ xs: number;
6
7
  sm: number;
7
8
  md: number;
8
9
  lg: number;
package/dist/radius.js CHANGED
@@ -1,5 +1,6 @@
1
1
  const radiusMap = {
2
2
  none: 0,
3
+ xs: 4,
3
4
  sm: 6,
4
5
  md: 10,
5
6
  lg: 14,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-shared",
3
- "version": "0.0.7",
3
+ "version": "0.1.1-beta.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "react-native": "./dist/index.js",
@@ -16,9 +16,35 @@
16
16
  "default": "./dist/index.js"
17
17
  }
18
18
  },
19
+ "license": "MIT",
20
+ "description": "Shared utilities for Particle Network design system",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://gitlab.minijoy.work/frontend/ux-design",
24
+ "directory": "packages/shared"
25
+ },
26
+ "keywords": [
27
+ "design-system",
28
+ "particle-network",
29
+ "shared-utilities"
30
+ ],
31
+ "author": "UniversalX",
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "registry": "https://registry.npmjs.org/"
35
+ },
19
36
  "files": [
20
37
  "dist"
21
38
  ],
39
+ "devDependencies": {
40
+ "@rsbuild/plugin-react": "^1.3.5",
41
+ "@rslib/core": "^0.12.3",
42
+ "@types/react": "^19.1.10",
43
+ "react": "^19.1.0",
44
+ "typescript": "^5.8.3",
45
+ "@particle-network/eslint-config": "0.2.0",
46
+ "@particle-network/lintstaged-config": "0.0.0"
47
+ },
22
48
  "scripts": {
23
49
  "build": "rslib build",
24
50
  "dev": "rslib build --watch",
@@ -26,12 +52,5 @@
26
52
  "lint": "eslint . --no-error-on-unmatched-pattern --quiet",
27
53
  "lint:fix": "eslint . --fix --no-error-on-unmatched-pattern --quiet",
28
54
  "clean": "rm -rf .turbo node_modules dist"
29
- },
30
- "devDependencies": {
31
- "@rsbuild/plugin-react": "^1.3.5",
32
- "@rslib/core": "^0.12.3",
33
- "@types/react": "^19.0.0",
34
- "react": "^19.0.0",
35
- "typescript": "^5.8.3"
36
55
  }
37
- }
56
+ }