@amstfn/td-design-system 0.3.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/CHANGELOG.md +45 -0
- package/README.md +219 -0
- package/dist/data-grid.cjs +2 -0
- package/dist/data-grid.cjs.map +1 -0
- package/dist/data-grid.d.ts +218 -0
- package/dist/data-grid.es.js +356 -0
- package/dist/data-grid.es.js.map +1 -0
- package/dist/design-system.css +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/icons.svg +24 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2463 -0
- package/dist/index.es.js +3765 -0
- package/dist/index.es.js.map +1 -0
- package/dist/spacing-BkZfHpT0.cjs +2 -0
- package/dist/spacing-BkZfHpT0.cjs.map +1 -0
- package/dist/spacing-C8pTXcGE.js +15 -0
- package/dist/spacing-C8pTXcGE.js.map +1 -0
- package/package.json +129 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing-BkZfHpT0.cjs","sources":["../src/tokens/spacing.ts"],"sourcesContent":["export const TdSpacing = {\n none: 0,\n xxs: 2,\n xs: 4,\n sm: 8,\n md: 16,\n lg: 24,\n xl: 32,\n xxl: 48,\n xxxl: 64,\n} as const;\n\nexport type TdSpacingToken = typeof TdSpacing;\nexport type TdSpacingKey = keyof TdSpacingToken;\n"],"names":["TdSpacing"],"mappings":"aAAO,MAAMA,EAAY,CACvB,KAAM,EACN,IAAK,EACL,GAAI,EACJ,GAAI,EACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,IAAK,GACL,KAAM,EACR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing-C8pTXcGE.js","sources":["../src/tokens/spacing.ts"],"sourcesContent":["export const TdSpacing = {\n none: 0,\n xxs: 2,\n xs: 4,\n sm: 8,\n md: 16,\n lg: 24,\n xl: 32,\n xxl: 48,\n xxxl: 64,\n} as const;\n\nexport type TdSpacingToken = typeof TdSpacing;\nexport type TdSpacingKey = keyof TdSpacingToken;\n"],"names":["TdSpacing"],"mappings":"AAAO,MAAMA,IAAY;AAAA,EACvB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,KAAK;AAAA,EACL,MAAM;AACR;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@amstfn/td-design-system",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Enterprise React Design System built on Ant Design with design tokens and accessible components",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.es.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./data-grid": {
|
|
16
|
+
"types": "./dist/data-grid.d.ts",
|
|
17
|
+
"import": "./dist/data-grid.es.js",
|
|
18
|
+
"require": "./dist/data-grid.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./styles.css": "./dist/design-system.css"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"README.md",
|
|
25
|
+
"CHANGELOG.md"
|
|
26
|
+
],
|
|
27
|
+
"sideEffects": [
|
|
28
|
+
"**/*.css"
|
|
29
|
+
],
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=22.0.0",
|
|
32
|
+
"npm": ">=10.0.0"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"dev": "vite build --watch",
|
|
36
|
+
"build": "tsc -p tsconfig.build.json --noEmit && vite build",
|
|
37
|
+
"typecheck": "tsc -p tsconfig.build.json --noEmit",
|
|
38
|
+
"lint": "eslint .",
|
|
39
|
+
"lint:fix": "eslint . --fix",
|
|
40
|
+
"format": "prettier --write .",
|
|
41
|
+
"format:check": "prettier --check .",
|
|
42
|
+
"test": "vitest run",
|
|
43
|
+
"test:watch": "vitest",
|
|
44
|
+
"test:coverage": "vitest run --coverage",
|
|
45
|
+
"storybook": "storybook dev -p 6006",
|
|
46
|
+
"storybook:clean": "node ./scripts/clean-storybook-cache.mjs",
|
|
47
|
+
"build-storybook": "storybook build",
|
|
48
|
+
"prepare": "husky"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"ag-grid-community": "^35.0.0",
|
|
52
|
+
"ag-grid-react": "^35.0.0",
|
|
53
|
+
"antd": "^6.6.4",
|
|
54
|
+
"antd-jalali-v5": "^1.1.0",
|
|
55
|
+
"dayjs": "^1.11.0",
|
|
56
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
57
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"ag-grid-community": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"ag-grid-react": {
|
|
64
|
+
"optional": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@eslint/js": "^10.0.1",
|
|
69
|
+
"@storybook/addon-a11y": "^9.0.12",
|
|
70
|
+
"@storybook/addon-docs": "^9.0.12",
|
|
71
|
+
"@storybook/react-vite": "^9.0.12",
|
|
72
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
73
|
+
"@testing-library/react": "^16.3.0",
|
|
74
|
+
"@testing-library/user-event": "^14.6.1",
|
|
75
|
+
"@types/node": "^24.12.3",
|
|
76
|
+
"@types/react": "^19.2.14",
|
|
77
|
+
"@types/react-dom": "^19.2.3",
|
|
78
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
79
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
80
|
+
"ag-grid-community": "^35.3.1",
|
|
81
|
+
"ag-grid-react": "^35.3.1",
|
|
82
|
+
"dayjs": "^1.11.21",
|
|
83
|
+
"eslint": "^10.3.0",
|
|
84
|
+
"eslint-config-prettier": "^10.1.5",
|
|
85
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
86
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
87
|
+
"eslint-plugin-storybook": "^9.0.12",
|
|
88
|
+
"globals": "^17.6.0",
|
|
89
|
+
"husky": "^9.1.7",
|
|
90
|
+
"jsdom": "^26.1.0",
|
|
91
|
+
"lint-staged": "^16.1.0",
|
|
92
|
+
"prettier": "^3.5.3",
|
|
93
|
+
"react": "^19.2.6",
|
|
94
|
+
"react-dom": "^19.2.6",
|
|
95
|
+
"storybook": "^9.0.12",
|
|
96
|
+
"typescript": "~5.8.3",
|
|
97
|
+
"typescript-eslint": "^8.59.2",
|
|
98
|
+
"vite": "^7.0.0",
|
|
99
|
+
"vite-plugin-dts": "^4.5.4",
|
|
100
|
+
"vitest": "^3.2.4"
|
|
101
|
+
},
|
|
102
|
+
"lint-staged": {
|
|
103
|
+
"*.{ts,tsx}": [
|
|
104
|
+
"eslint --fix",
|
|
105
|
+
"prettier --write"
|
|
106
|
+
],
|
|
107
|
+
"*.{json,md,yml,yaml}": [
|
|
108
|
+
"prettier --write"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"publishConfig": {
|
|
112
|
+
"registry": "https://repo.mohaymen.ir/repository/npm-hosted-tax/"
|
|
113
|
+
},
|
|
114
|
+
"repository": {
|
|
115
|
+
"type": "git",
|
|
116
|
+
"url": "https://gitax.mohaymen.ir/a.sefidgar/design-system.git"
|
|
117
|
+
},
|
|
118
|
+
"keywords": [
|
|
119
|
+
"react",
|
|
120
|
+
"design-system",
|
|
121
|
+
"ant-design",
|
|
122
|
+
"typescript",
|
|
123
|
+
"components"
|
|
124
|
+
],
|
|
125
|
+
"license": "MIT",
|
|
126
|
+
"dependencies": {
|
|
127
|
+
"react-hook-form": "^7.78.0"
|
|
128
|
+
}
|
|
129
|
+
}
|