@trinitydesign/design-system 1.2.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/dist/tokens.js ADDED
@@ -0,0 +1,25 @@
1
+ import { p as e, a as r, b as t, a3 as n, c as o, v as i, a2 as c, _ as h, Z as y, o as d, m as g, a4 as p, a0 as k, q as H, a1 as l, $ as T, u as m, r as b, s as v, n as S, Z as f, t as u } from "./ai.js";
2
+ export {
3
+ e as attentionHierarchy,
4
+ r as baseTokens,
5
+ t as brandColors,
6
+ n as brandVariants,
7
+ o as componentTokens,
8
+ i as contrastHierarchy,
9
+ c as darkModeShadows,
10
+ h as darkModeTokens,
11
+ y as default,
12
+ d as elevationHierarchy,
13
+ g as getAttentionColor,
14
+ p as getBrandSemanticTokens,
15
+ k as getElevation,
16
+ H as getHierarchySpacing,
17
+ l as getTypography,
18
+ T as hierarchy,
19
+ m as interactiveHierarchy,
20
+ b as scaleHierarchy,
21
+ v as semanticTokens,
22
+ S as spacingHierarchy,
23
+ f as tokens,
24
+ u as typographicHierarchy
25
+ };
package/package.json ADDED
@@ -0,0 +1,129 @@
1
+ {
2
+ "name": "@trinitydesign/design-system",
3
+ "private": false,
4
+ "version": "1.2.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
+ "./theme": {
20
+ "import": "./dist/theme.js",
21
+ "types": "./dist/theme.d.ts"
22
+ },
23
+ "./tokens": {
24
+ "import": "./dist/tokens.js",
25
+ "types": "./dist/tokens.d.ts"
26
+ }
27
+ },
28
+ "files": [
29
+ "dist",
30
+ "README.md",
31
+ "MIGRATION.md",
32
+ "CHANGELOG.md",
33
+ "CONTRIBUTING.md"
34
+ ],
35
+ "scripts": {
36
+ "build": "tsc --project tsconfig.lib.json && vite build",
37
+ "build:lib": "tsc --project tsconfig.lib.json",
38
+ "lint": "eslint .",
39
+ "lint:tokens": "eslint --config eslint.tokens.config.js 'src/components/**/*.tsx' 'src/stories/**/*.tsx'",
40
+ "lint:tokens:fix": "eslint --config eslint.tokens.config.js 'src/components/**/*.tsx' 'src/stories/**/*.tsx' --fix",
41
+ "lint:ci": "npm run lint && npm run lint:tokens",
42
+ "test": "vitest run --config vitest.config.ts",
43
+ "test:watch": "vitest --config vitest.config.ts",
44
+ "test:coverage": "vitest run --config vitest.config.ts --coverage",
45
+ "test:a11y": "vitest run --config vitest.config.ts --testNamePattern='Accessibility'",
46
+ "test:storybook": "vitest run --workspace vitest.workspace.ts",
47
+ "storybook": "storybook dev -p 6006",
48
+ "build-storybook": "storybook build",
49
+ "chromatic": "npx chromatic --project-token=chpt_08f8baa5788465c"
50
+ },
51
+ "peerDependencies": {
52
+ "@emotion/react": "^11.0.0",
53
+ "@emotion/styled": "^11.0.0",
54
+ "@mui/icons-material": "^6.0.0 || ^7.0.0",
55
+ "@mui/material": "^6.0.0 || ^7.0.0",
56
+ "@mui/x-data-grid": "^7.0.0 || ^8.0.0",
57
+ "@mui/x-date-pickers": "^7.0.0 || ^8.0.0",
58
+ "dayjs": "^1.11.0",
59
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
60
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
61
+ "recharts": "^2.0.0 || ^3.0.0"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "@mui/x-data-grid": {
65
+ "optional": true
66
+ },
67
+ "@mui/x-date-pickers": {
68
+ "optional": true
69
+ },
70
+ "dayjs": {
71
+ "optional": true
72
+ },
73
+ "recharts": {
74
+ "optional": true
75
+ }
76
+ },
77
+ "dependencies": {
78
+ "@fontsource/montserrat": "^5.2.8",
79
+ "react-feather": "^2.0.10"
80
+ },
81
+ "devDependencies": {
82
+ "@eslint/js": "^9.0.0",
83
+ "@mui/icons-material": "^7.3.7",
84
+ "@mui/x-data-grid": "^8.23.0",
85
+ "@mui/x-date-pickers": "^8.22.0",
86
+ "@storybook/addon-a11y": "^10.1.10",
87
+ "@storybook/addon-docs": "^10.1.10",
88
+ "@storybook/addon-vitest": "^10.1.10",
89
+ "@storybook/react": "^10.1.10",
90
+ "@storybook/react-vite": "^10.1.10",
91
+ "@tailwindcss/vite": "latest",
92
+ "@testing-library/jest-dom": "^6.9.1",
93
+ "@testing-library/react": "^16.3.1",
94
+ "@types/node": "^25.0.3",
95
+ "@types/react": "latest",
96
+ "@types/react-dom": "latest",
97
+ "@vitejs/plugin-react": "latest",
98
+ "@vitest/browser-playwright": "^4.0.16",
99
+ "@vitest/coverage-v8": "^4.0.16",
100
+ "chromatic": "^13.3.5",
101
+ "conventional-changelog-cli": "^5.0.0",
102
+ "dayjs": "^1.11.19",
103
+ "eslint-plugin-jsx-a11y": "^6.10.0",
104
+ "eslint-plugin-react-hooks": "^7.0.1",
105
+ "eslint-plugin-react-refresh": "^0.4.26",
106
+ "globals": "^16.0.0",
107
+ "jsdom": "^27.3.0",
108
+ "jszip": "^3.10.1",
109
+ "playwright": "^1.57.0",
110
+ "recharts": "^3.6.0",
111
+ "storybook": "^10.1.10",
112
+ "tailwindcss": "latest",
113
+ "typescript": "latest",
114
+ "typescript-eslint": "^8.0.0",
115
+ "vite": "latest",
116
+ "vitest": "^4.0.16",
117
+ "vitest-axe": "^0.1.0"
118
+ },
119
+ "keywords": [
120
+ "design-system",
121
+ "mui",
122
+ "material-ui",
123
+ "react",
124
+ "theme",
125
+ "components"
126
+ ],
127
+ "author": "Trinity Design",
128
+ "license": "MIT"
129
+ }