@godxjp/ui 0.2.0 → 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,147 +1,104 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "0.2.0",
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"
13
- },
14
- "main": "./dist/index.js",
15
- "module": "./dist/index.js",
16
- "types": "./dist/index.d.ts",
17
- "sideEffects": [
18
- "*.css"
19
- ],
20
- "exports": {
21
- ".": {
22
- "types": "./dist/index.d.ts",
23
- "import": "./dist/index.js"
24
- },
25
- "./components/*": {
26
- "types": "./dist/components/*.d.ts",
27
- "import": "./dist/components/*.js"
28
- },
29
- "./providers/*": {
30
- "types": "./dist/providers/*.d.ts",
31
- "import": "./dist/providers/*.js"
32
- },
33
- "./lib/*": {
34
- "types": "./dist/lib/*.d.ts",
35
- "import": "./dist/lib/*.js"
36
- },
37
- "./styles": "./src/styles/theme.css"
18
+ "url": "git+https://github.com/godx-jp/godxjp-ui.git"
38
19
  },
20
+ "homepage": "https://github.com/godx-jp/godxjp-ui#readme",
21
+ "license": "Apache-2.0",
39
22
  "files": [
40
23
  "dist",
41
- "src/styles"
24
+ "src/tokens",
25
+ "BRAND.md",
26
+ "CHANGELOG.md"
42
27
  ],
43
28
  "scripts": {
44
29
  "build": "tsup",
45
30
  "dev": "tsup --watch",
46
31
  "type-check": "tsc --noEmit",
47
- "test": "vitest run",
48
- "test:watch": "vitest",
49
- "storybook": "storybook dev -p 6006",
50
- "build-storybook": "storybook build"
32
+ "prepublishOnly": "npm run build"
51
33
  },
52
- "peerDependencies": {
53
- "@tanstack/react-table": ">=8",
54
- "@tiptap/pm": ">=3",
55
- "@tiptap/react": ">=3",
56
- "@tiptap/starter-kit": ">=3",
57
- "date-fns": ">=3",
58
- "react": ">=19",
59
- "react-dom": ">=19"
60
- },
61
- "peerDependenciesMeta": {
62
- "@tanstack/react-table": {
63
- "optional": true
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/index.d.ts",
37
+ "import": "./dist/index.js"
38
+ },
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"
44
+ },
45
+ "./hooks": {
46
+ "types": "./dist/hooks.d.ts",
47
+ "import": "./dist/hooks.js"
64
48
  },
65
- "@tiptap/pm": {
66
- "optional": true
49
+ "./data": {
50
+ "types": "./dist/data.d.ts",
51
+ "import": "./dist/data.js"
67
52
  },
68
- "@tiptap/react": {
69
- "optional": true
53
+ "./primitives": {
54
+ "types": "./dist/components/primitives.d.ts",
55
+ "import": "./dist/components/primitives.js"
70
56
  },
71
- "@tiptap/starter-kit": {
72
- "optional": true
57
+ "./components/primitives": {
58
+ "types": "./dist/components/primitives.d.ts",
59
+ "import": "./dist/components/primitives.js"
73
60
  },
74
- "date-fns": {
75
- "optional": true
61
+ "./components/shell": {
62
+ "types": "./dist/components/shell.d.ts",
63
+ "import": "./dist/components/shell.js"
76
64
  },
77
- "react-hook-form": {
78
- "optional": true
65
+ "./components/screens": {
66
+ "types": "./dist/components/screens.d.ts",
67
+ "import": "./dist/components/screens.js"
79
68
  }
80
69
  },
81
70
  "dependencies": {
82
- "@radix-ui/react-accordion": "1.2.3",
83
- "@radix-ui/react-alert-dialog": "1.1.6",
84
- "@radix-ui/react-aspect-ratio": "1.1.2",
85
- "@radix-ui/react-avatar": "1.1.3",
86
- "@radix-ui/react-checkbox": "1.1.4",
87
- "@radix-ui/react-collapsible": "1.1.3",
88
- "@radix-ui/react-context-menu": "2.2.6",
89
- "@radix-ui/react-dialog": "1.1.6",
90
- "@radix-ui/react-dropdown-menu": "2.1.6",
91
- "@radix-ui/react-hover-card": "1.1.6",
92
- "@radix-ui/react-label": "2.1.2",
93
- "@radix-ui/react-menubar": "1.1.6",
94
- "@radix-ui/react-navigation-menu": "1.2.5",
95
- "@radix-ui/react-popover": "1.1.6",
96
- "@radix-ui/react-progress": "1.1.2",
97
- "@radix-ui/react-radio-group": "1.2.3",
98
- "@radix-ui/react-scroll-area": "1.2.3",
99
- "@radix-ui/react-select": "2.1.6",
100
- "@radix-ui/react-separator": "1.1.2",
101
- "@radix-ui/react-slider": "1.2.3",
102
- "@radix-ui/react-slot": "1.1.2",
103
- "@radix-ui/react-switch": "1.1.3",
104
- "@radix-ui/react-tabs": "1.1.3",
105
- "@radix-ui/react-toggle": "1.1.2",
106
- "@radix-ui/react-toggle-group": "1.1.2",
107
- "@radix-ui/react-tooltip": "1.1.8",
108
- "class-variance-authority": "0.7.1",
109
- "clsx": "2.1.1",
110
- "cmdk": "1.1.1",
111
- "embla-carousel-react": "8.6.0",
112
- "input-otp": "1.4.2",
113
- "lucide-react": "0.487.0",
114
- "react-day-picker": "9.6.4",
115
- "react-resizable-panels": "2.1.7",
116
- "sonner": "2.0.3",
117
- "tailwind-merge": "3.2.0",
118
- "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"
119
92
  },
120
- "devDependencies": {
121
- "@storybook/addon-a11y": "^10.3.5",
122
- "@storybook/addon-docs": "^10.3.5",
123
- "@storybook/react-vite": "^10.3.5",
124
- "@tailwindcss/vite": "^4.2.2",
125
- "@tanstack/react-table": "^8.21.3",
126
- "@testing-library/jest-dom": "^6.9.1",
127
- "@testing-library/react": "^16.3.2",
128
- "@testing-library/user-event": "^14.6.1",
129
- "@tiptap/pm": "^3.22.3",
130
- "@tiptap/react": "^3.22.3",
131
- "@tiptap/starter-kit": "^3.22.3",
132
- "@types/node": "^25.6.0",
133
- "@types/react": "^19.2.13",
134
- "@types/react-dom": "^19.2.3",
135
- "@vitejs/plugin-react": "^6.0.1",
136
- "jsdom": "^28.1.0",
137
- "storybook": "^10.3.5",
138
- "tailwindcss": "^4.2.2",
139
- "tsup": "^8.0.0",
140
- "typescript": "^5.9.3",
141
- "vite": "^8.0.8",
142
- "vitest": "^4.0.18"
93
+ "peerDependencies": {
94
+ "react": "^18 || ^19",
95
+ "react-dom": "^18 || ^19",
96
+ "tailwindcss": "^4"
143
97
  },
144
- "optionalDependencies": {
145
- "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"
146
103
  }
147
104
  }