@godxjp/ui 0.1.1 → 2.1.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/package.json CHANGED
@@ -1,122 +1,104 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "0.1.1",
4
- "description": "TempoFast Design System React UI components with i18n, translatable fields, and metadata-driven forms/tables.",
3
+ "version": "2.1.0",
4
+ "description": "GoDX Forge unified design system tokens, primitives, i18n, hooks shared across every service frontend (admin-platform, forge-service, console-service, me-service, agent-service, knowledge-service, …). Source of truth for design language per Plan #19/#22.",
5
5
  "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "sideEffects": [
10
+ "**/*.css"
11
+ ],
6
12
  "publishConfig": {
7
13
  "registry": "https://registry.npmjs.org/",
8
14
  "access": "public"
9
15
  },
10
16
  "repository": {
11
17
  "type": "git",
12
- "url": "https://github.com/godx-jp/godx-tempo-ui.git"
18
+ "url": "git+https://github.com/godx-jp/godxjp-ui.git"
13
19
  },
14
- "main": "./dist/index.js",
15
- "module": "./dist/index.js",
16
- "types": "./dist/index.d.ts",
17
- "sideEffects": [
18
- "*.css"
20
+ "homepage": "https://github.com/godx-jp/godxjp-ui#readme",
21
+ "license": "Apache-2.0",
22
+ "files": [
23
+ "dist",
24
+ "src/tokens",
25
+ "BRAND.md",
26
+ "CHANGELOG.md"
19
27
  ],
28
+ "scripts": {
29
+ "build": "tsup",
30
+ "dev": "tsup --watch",
31
+ "type-check": "tsc --noEmit",
32
+ "prepublishOnly": "npm run build"
33
+ },
20
34
  "exports": {
21
35
  ".": {
22
36
  "types": "./dist/index.d.ts",
23
37
  "import": "./dist/index.js"
24
38
  },
25
- "./components/*": {
26
- "types": "./dist/components/*.d.ts",
27
- "import": "./dist/components/*.js"
39
+ "./tokens": "./src/tokens/tokens.css",
40
+ "./tokens.css": "./src/tokens/tokens.css",
41
+ "./i18n": {
42
+ "types": "./dist/i18n.d.ts",
43
+ "import": "./dist/i18n.js"
28
44
  },
29
- "./providers/*": {
30
- "types": "./dist/providers/*.d.ts",
31
- "import": "./dist/providers/*.js"
45
+ "./hooks": {
46
+ "types": "./dist/hooks.d.ts",
47
+ "import": "./dist/hooks.js"
32
48
  },
33
- "./lib/*": {
34
- "types": "./dist/lib/*.d.ts",
35
- "import": "./dist/lib/*.js"
49
+ "./data": {
50
+ "types": "./dist/data.d.ts",
51
+ "import": "./dist/data.js"
36
52
  },
37
- "./styles": "./src/styles/theme.css"
38
- },
39
- "files": [
40
- "dist",
41
- "src/styles"
42
- ],
43
- "scripts": {
44
- "build": "tsup",
45
- "dev": "tsup --watch",
46
- "type-check": "tsc --noEmit",
47
- "test": "vitest run",
48
- "test:watch": "vitest"
49
- },
50
- "peerDependencies": {
51
- "@tanstack/react-table": ">=8",
52
- "date-fns": ">=3",
53
- "react": ">=19",
54
- "react-dom": ">=19"
55
- },
56
- "peerDependenciesMeta": {
57
- "@tanstack/react-table": {
58
- "optional": true
53
+ "./primitives": {
54
+ "types": "./dist/components/primitives.d.ts",
55
+ "import": "./dist/components/primitives.js"
56
+ },
57
+ "./components/primitives": {
58
+ "types": "./dist/components/primitives.d.ts",
59
+ "import": "./dist/components/primitives.js"
59
60
  },
60
- "date-fns": {
61
- "optional": true
61
+ "./components/shell": {
62
+ "types": "./dist/components/shell.d.ts",
63
+ "import": "./dist/components/shell.js"
62
64
  },
63
- "react-hook-form": {
64
- "optional": true
65
+ "./components/screens": {
66
+ "types": "./dist/components/screens.d.ts",
67
+ "import": "./dist/components/screens.js"
65
68
  }
66
69
  },
67
70
  "dependencies": {
68
- "@radix-ui/react-accordion": "1.2.3",
69
- "@radix-ui/react-alert-dialog": "1.1.6",
70
- "@radix-ui/react-aspect-ratio": "1.1.2",
71
- "@radix-ui/react-avatar": "1.1.3",
72
- "@radix-ui/react-checkbox": "1.1.4",
73
- "@radix-ui/react-collapsible": "1.1.3",
74
- "@radix-ui/react-context-menu": "2.2.6",
75
- "@radix-ui/react-dialog": "1.1.6",
76
- "@radix-ui/react-dropdown-menu": "2.1.6",
77
- "@radix-ui/react-hover-card": "1.1.6",
78
- "@radix-ui/react-label": "2.1.2",
79
- "@radix-ui/react-menubar": "1.1.6",
80
- "@radix-ui/react-navigation-menu": "1.2.5",
81
- "@radix-ui/react-popover": "1.1.6",
82
- "@radix-ui/react-progress": "1.1.2",
83
- "@radix-ui/react-radio-group": "1.2.3",
84
- "@radix-ui/react-scroll-area": "1.2.3",
85
- "@radix-ui/react-select": "2.1.6",
86
- "@radix-ui/react-separator": "1.1.2",
87
- "@radix-ui/react-slider": "1.2.3",
88
- "@radix-ui/react-slot": "1.1.2",
89
- "@radix-ui/react-switch": "1.1.3",
90
- "@radix-ui/react-tabs": "1.1.3",
91
- "@radix-ui/react-toggle": "1.1.2",
92
- "@radix-ui/react-toggle-group": "1.1.2",
93
- "@radix-ui/react-tooltip": "1.1.8",
94
- "class-variance-authority": "0.7.1",
95
- "clsx": "2.1.1",
96
- "cmdk": "1.1.1",
97
- "embla-carousel-react": "8.6.0",
98
- "input-otp": "1.4.2",
99
- "lucide-react": "0.487.0",
100
- "react-day-picker": "9.6.4",
101
- "react-resizable-panels": "2.1.7",
102
- "sonner": "2.0.3",
103
- "tailwind-merge": "3.2.0",
104
- "vaul": "1.1.2"
71
+ "@radix-ui/react-dialog": "^1.1.7",
72
+ "@radix-ui/react-dropdown-menu": "^2.1.7",
73
+ "@radix-ui/react-label": "^2.1.3",
74
+ "@radix-ui/react-popover": "^1.1.7",
75
+ "@radix-ui/react-radio-group": "^1.2.4",
76
+ "@radix-ui/react-select": "^2.1.7",
77
+ "@radix-ui/react-separator": "^1.1.3",
78
+ "@radix-ui/react-slot": "^1.1.3",
79
+ "@radix-ui/react-switch": "^1.1.4",
80
+ "@radix-ui/react-tabs": "^1.1.4",
81
+ "@radix-ui/react-tooltip": "^1.1.8",
82
+ "@radix-ui/react-visually-hidden": "^1.1.3",
83
+ "class-variance-authority": "^0.7.1",
84
+ "clsx": "^2.1.1",
85
+ "cmdk": "^1.1.1",
86
+ "i18next": "^23.16.0",
87
+ "i18next-browser-languagedetector": "^8.0.0",
88
+ "lucide-react": "^0.479.0",
89
+ "react-day-picker": "^9.0.0",
90
+ "react-i18next": "^15.1.0",
91
+ "tailwind-merge": "^3.0.0"
105
92
  },
106
- "devDependencies": {
107
- "@tanstack/react-table": "^8.21.3",
108
- "@testing-library/jest-dom": "^6.9.1",
109
- "@testing-library/react": "^16.3.2",
110
- "@testing-library/user-event": "^14.6.1",
111
- "@types/node": "^25.6.0",
112
- "@types/react": "^19.2.13",
113
- "@types/react-dom": "^19.2.3",
114
- "jsdom": "^28.1.0",
115
- "tsup": "^8.0.0",
116
- "typescript": "^5.9.3",
117
- "vitest": "^4.0.18"
93
+ "peerDependencies": {
94
+ "react": "^18 || ^19",
95
+ "react-dom": "^18 || ^19",
96
+ "tailwindcss": "^4"
118
97
  },
119
- "optionalDependencies": {
120
- "react-hook-form": "^7.72.1"
98
+ "devDependencies": {
99
+ "@types/react": "^19.0.0",
100
+ "@types/react-dom": "^19.0.0",
101
+ "tsup": "^8.3.0",
102
+ "typescript": "^5.6.3"
121
103
  }
122
104
  }