@fanvue/ui 0.1.0-alpha.1
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/LICENSE +190 -0
- package/README.md +151 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +604 -0
- package/dist/index.mjs +10446 -0
- package/dist/index.mjs.map +1 -0
- package/dist/styles/theme.css +583 -0
- package/package.json +157 -0
package/package.json
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fanvue/ui",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "React component library built with Tailwind CSS for Fanvue ecosystem",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org",
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"main": "./dist/index.cjs",
|
|
11
|
+
"module": "./dist/index.mjs",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.mjs"
|
|
18
|
+
},
|
|
19
|
+
"require": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/index.cjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"./styles/*": "./dist/styles/*"
|
|
25
|
+
},
|
|
26
|
+
"sideEffects": [
|
|
27
|
+
"**/*.css"
|
|
28
|
+
],
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"dev": "vite",
|
|
34
|
+
"build": "vite build && mkdir -p dist/styles && cp src/styles/theme.css dist/styles/theme.css",
|
|
35
|
+
"build:showcase": "vite build --config vite.showcase.config.ts",
|
|
36
|
+
"preview": "vite preview",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:watch": "vitest",
|
|
39
|
+
"test:coverage": "vitest run --coverage",
|
|
40
|
+
"test:storybook": "vitest --project=storybook",
|
|
41
|
+
"test:e2e": "playwright test",
|
|
42
|
+
"typecheck": "tsc --noEmit",
|
|
43
|
+
"lint": "biome check .",
|
|
44
|
+
"lint:fix": "biome check --write .",
|
|
45
|
+
"format": "biome format --write .",
|
|
46
|
+
"storybook": "storybook dev -p 6006",
|
|
47
|
+
"size-limit": "size-limit",
|
|
48
|
+
"build-storybook": "storybook build --stats-json",
|
|
49
|
+
"build:dictionary": "node src/styles/buildStyles.js",
|
|
50
|
+
"prepare": "husky",
|
|
51
|
+
"prepublishOnly": "pnpm run build",
|
|
52
|
+
"publish:dry-run": "pnpm run build && pnpm publish --dry-run"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
56
|
+
"react-day-picker": "^9.0.0",
|
|
57
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
58
|
+
"tailwindcss": "^4.0.0"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@radix-ui/react-avatar": "1.1.11",
|
|
62
|
+
"@radix-ui/react-checkbox": "1.3.3",
|
|
63
|
+
"@radix-ui/react-radio-group": "1.3.8",
|
|
64
|
+
"@radix-ui/react-separator": "1.1.8",
|
|
65
|
+
"@radix-ui/react-slider": "1.3.6",
|
|
66
|
+
"@radix-ui/react-slot": "1.2.4",
|
|
67
|
+
"@radix-ui/react-toast": "1.2.15",
|
|
68
|
+
"@radix-ui/react-switch": "1.2.6",
|
|
69
|
+
"@radix-ui/react-tabs": "1.1.13",
|
|
70
|
+
"clsx": "2.1.1",
|
|
71
|
+
"tailwind-merge": "3.4.0"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@biomejs/biome": "2.3.13",
|
|
75
|
+
"@chromatic-com/storybook": "5.0.0",
|
|
76
|
+
"@commitlint/cli": "20.3.1",
|
|
77
|
+
"@commitlint/config-conventional": "20.3.1",
|
|
78
|
+
"@commitlint/types": "20.3.1",
|
|
79
|
+
"@playwright/test": "1.58.1",
|
|
80
|
+
"@size-limit/preset-small-lib": "12.0.0",
|
|
81
|
+
"@storybook/addon-a11y": "10.2.1",
|
|
82
|
+
"@storybook/addon-designs": "11.1.1",
|
|
83
|
+
"@storybook/addon-docs": "10.2.0",
|
|
84
|
+
"@storybook/addon-vitest": "10.2.3",
|
|
85
|
+
"@storybook/react": "10.2.1",
|
|
86
|
+
"@storybook/react-vite": "10.2.1",
|
|
87
|
+
"@tailwindcss/postcss": "4.1.18",
|
|
88
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
89
|
+
"@testing-library/react": "16.3.2",
|
|
90
|
+
"@testing-library/user-event": "14.6.1",
|
|
91
|
+
"@types/node": "25.0.10",
|
|
92
|
+
"@types/react": "19.2.9",
|
|
93
|
+
"@types/react-dom": "19.2.3",
|
|
94
|
+
"@vitejs/plugin-react": "5.1.2",
|
|
95
|
+
"@vitest/browser-playwright": "4.0.18",
|
|
96
|
+
"@vitest/coverage-v8": "4.0.18",
|
|
97
|
+
"autoprefixer": "10.4.23",
|
|
98
|
+
"axe-core": "4.11.1",
|
|
99
|
+
"chromatic": "13.3.5",
|
|
100
|
+
"husky": "9.1.7",
|
|
101
|
+
"jsdom": "27.4.0",
|
|
102
|
+
"lint-staged": "16.2.7",
|
|
103
|
+
"playwright": "^1.58.1",
|
|
104
|
+
"postcss": "8.5.6",
|
|
105
|
+
"react": "19.2.3",
|
|
106
|
+
"react-day-picker": "9.13.1",
|
|
107
|
+
"react-dom": "19.2.3",
|
|
108
|
+
"size-limit": "12.0.0",
|
|
109
|
+
"storybook": "10.2.3",
|
|
110
|
+
"style-dictionary": "4.2.0",
|
|
111
|
+
"tailwindcss": "4.1.18",
|
|
112
|
+
"typescript": "5.9.3",
|
|
113
|
+
"vite": "7.3.1",
|
|
114
|
+
"vite-plugin-dts": "4.5.4",
|
|
115
|
+
"vitest": "4.0.18",
|
|
116
|
+
"vitest-axe": "1.0.0-pre.3"
|
|
117
|
+
},
|
|
118
|
+
"pnpm": {
|
|
119
|
+
"overrides": {
|
|
120
|
+
"@isaacs/brace-expansion": ">=5.0.1"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"size-limit": [
|
|
124
|
+
{
|
|
125
|
+
"path": "dist/index.mjs",
|
|
126
|
+
"limit": "60 KB"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"lint-staged": {
|
|
130
|
+
"*.{js,ts,tsx,json,css,md}": [
|
|
131
|
+
"biome check --write --no-errors-on-unmatched"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
"repository": {
|
|
135
|
+
"type": "git",
|
|
136
|
+
"url": "git+https://github.com/fanvue/fanv-ui.git"
|
|
137
|
+
},
|
|
138
|
+
"keywords": [
|
|
139
|
+
"react",
|
|
140
|
+
"components",
|
|
141
|
+
"ui",
|
|
142
|
+
"design-system",
|
|
143
|
+
"tailwind",
|
|
144
|
+
"fanvue"
|
|
145
|
+
],
|
|
146
|
+
"author": "Fanvue",
|
|
147
|
+
"license": "Apache-2.0",
|
|
148
|
+
"bugs": {
|
|
149
|
+
"url": "https://github.com/fanvue/fanv-ui/issues"
|
|
150
|
+
},
|
|
151
|
+
"homepage": "https://github.com/fanvue/fanv-ui#readme",
|
|
152
|
+
"engines": {
|
|
153
|
+
"node": ">=20.0.0",
|
|
154
|
+
"pnpm": ">=9.0.0"
|
|
155
|
+
},
|
|
156
|
+
"packageManager": "pnpm@9.15.4"
|
|
157
|
+
}
|