@trinityui/design-system 1.0.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 ADDED
@@ -0,0 +1,180 @@
1
+ {
2
+ "name": "@trinityui/design-system",
3
+ "private": false,
4
+ "version": "1.0.0",
5
+ "type": "module",
6
+ "description": "Trinity Design System - A customizable MUI-based component library",
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
+ "sideEffects": [
11
+ "**/*.css",
12
+ "*.css"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.js",
17
+ "types": "./dist/index.d.ts"
18
+ },
19
+ "./essentials": {
20
+ "import": "./dist/essentials.js",
21
+ "types": "./dist/essentials.d.ts"
22
+ },
23
+ "./theme": {
24
+ "import": "./dist/theme.js",
25
+ "types": "./dist/theme.d.ts"
26
+ },
27
+ "./tokens": {
28
+ "import": "./dist/tokens.js",
29
+ "types": "./dist/tokens.d.ts"
30
+ },
31
+ "./css": "./dist/trinity.css"
32
+ },
33
+ "files": [
34
+ "dist",
35
+ "README.md",
36
+ "MIGRATION.md",
37
+ "CHANGELOG.md",
38
+ "CONTRIBUTING.md"
39
+ ],
40
+ "scripts": {
41
+ "build": "tsc --project tsconfig.lib.json && vite build && cp src/styles/trinity.css dist/trinity.css",
42
+ "build:lib": "tsc --project tsconfig.lib.json",
43
+ "build:css": "npx tsx scripts/generate-css.ts",
44
+ "build:css:sync": "npx tsx scripts/generate-css-from-tokens.ts",
45
+ "lint": "eslint .",
46
+ "lint:tokens": "eslint --config eslint.tokens.config.js 'src/components/**/*.tsx' 'src/stories/**/*.tsx'",
47
+ "lint:tokens:fix": "eslint --config eslint.tokens.config.js 'src/components/**/*.tsx' 'src/stories/**/*.tsx' --fix",
48
+ "lint:ci": "npm run lint && npm run lint:tokens",
49
+ "test": "vitest run --config vitest.config.ts",
50
+ "test:watch": "vitest --config vitest.config.ts",
51
+ "test:coverage": "vitest run --config vitest.config.ts --coverage",
52
+ "test:a11y": "vitest run --config vitest.config.ts --testNamePattern='Accessibility'",
53
+ "test:storybook": "vitest run --workspace vitest.workspace.ts",
54
+ "size": "size-limit",
55
+ "size:check": "size-limit --json",
56
+ "start": "storybook dev -p 6006",
57
+ "build-storybook": "storybook build",
58
+ "chromatic": "npx chromatic --project-token=chpt_0fa285bd8f3ea44",
59
+ "prepublishOnly": "npm run build"
60
+ },
61
+ "size-limit": [
62
+ {
63
+ "name": "Core (theme + tokens)",
64
+ "path": [
65
+ "dist/theme.js",
66
+ "dist/tokens.js"
67
+ ],
68
+ "limit": "50 KB"
69
+ },
70
+ {
71
+ "name": "Main bundle",
72
+ "path": "dist/index.js",
73
+ "limit": "200 KB"
74
+ },
75
+ {
76
+ "name": "AI components",
77
+ "path": "dist/ai.js",
78
+ "limit": "200 KB"
79
+ },
80
+ {
81
+ "name": "Charts",
82
+ "path": "dist/charts.js",
83
+ "limit": "80 KB"
84
+ },
85
+ {
86
+ "name": "Navigation",
87
+ "path": "dist/navigation.js",
88
+ "limit": "120 KB"
89
+ },
90
+ {
91
+ "name": "Data components",
92
+ "path": "dist/data.js",
93
+ "limit": "60 KB"
94
+ },
95
+ {
96
+ "name": "Form components",
97
+ "path": "dist/forms.js",
98
+ "limit": "40 KB"
99
+ }
100
+ ],
101
+ "peerDependencies": {
102
+ "@emotion/react": "^11.14.0",
103
+ "@emotion/styled": "^11.14.1",
104
+ "@mui/icons-material": "^7.0.0",
105
+ "@mui/material": "^7.3.7",
106
+ "@mui/x-data-grid": "^8.0.0",
107
+ "react": "^19.2.4",
108
+ "react-dom": "^19.2.4",
109
+ "recharts": "^3.0.0"
110
+ },
111
+ "peerDependenciesMeta": {
112
+ "@mui/x-data-grid": {
113
+ "optional": true
114
+ },
115
+ "recharts": {
116
+ "optional": true
117
+ }
118
+ },
119
+ "dependencies": {
120
+ "@fontsource/montserrat": "^5.2.8",
121
+ "@mui/utils": "^7.3.8",
122
+ "@storybook/manager-api": "^8.6.14",
123
+ "@storybook/theming": "^8.6.14",
124
+ "react-feather": "^2.0.10"
125
+ },
126
+ "devDependencies": {
127
+ "@emotion/react": "^11.14.0",
128
+ "@emotion/styled": "^11.14.1",
129
+ "@eslint/js": "^10.0.1",
130
+ "@mui/icons-material": "^7.3.8",
131
+ "@mui/material": "^7.3.8",
132
+ "@mui/x-data-grid": "^8.27.1",
133
+ "@mui/x-date-pickers": "^8.27.2",
134
+ "@size-limit/preset-small-lib": "^12.0.0",
135
+ "@storybook/addon-a11y": "^10.2.11",
136
+ "@storybook/addon-docs": "^10.2.11",
137
+ "@storybook/addon-vitest": "^10.2.11",
138
+ "@storybook/react": "^10.2.11",
139
+ "@storybook/react-vite": "^10.2.11",
140
+ "@tailwindcss/vite": "latest",
141
+ "@testing-library/jest-dom": "^6.9.1",
142
+ "@testing-library/react": "^16.3.2",
143
+ "@types/node": "^25.3.0",
144
+ "@types/react": "latest",
145
+ "@types/react-dom": "latest",
146
+ "@vitejs/plugin-react": "latest",
147
+ "@vitest/browser-playwright": "^4.0.18",
148
+ "@vitest/coverage-v8": "^4.0.18",
149
+ "chromatic": "^15.2.0",
150
+ "conventional-changelog-cli": "^5.0.0",
151
+ "dayjs": "^1.11.19",
152
+ "eslint-plugin-jsx-a11y": "^6.10.2",
153
+ "eslint-plugin-react-hooks": "^7.0.1",
154
+ "eslint-plugin-react-refresh": "^0.5.2",
155
+ "globals": "^17.3.0",
156
+ "jsdom": "^28.1.0",
157
+ "jszip": "^3.10.1",
158
+ "playwright": "^1.58.2",
159
+ "recharts": "^3.7.0",
160
+ "size-limit": "^12.0.0",
161
+ "storybook": "^10.2.11",
162
+ "tailwindcss": "latest",
163
+ "tsx": "^4.21.0",
164
+ "typescript": "latest",
165
+ "typescript-eslint": "^8.56.1",
166
+ "vite": "latest",
167
+ "vitest": "^4.0.18",
168
+ "vitest-axe": "^0.1.0"
169
+ },
170
+ "keywords": [
171
+ "design-system",
172
+ "mui",
173
+ "material-ui",
174
+ "react",
175
+ "theme",
176
+ "components"
177
+ ],
178
+ "author": "Trinity Design",
179
+ "license": "MIT"
180
+ }