@easy-ui-react/easy-ui-react 1.4.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/README.md +51 -0
- package/package.json +67 -0
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# EasyUI
|
|
2
|
+
|
|
3
|
+
An Open-source React component library. Typed, compatible with React 17+. Documented and testable with storybook.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
EasyUI requires **React 17 or later** as a peer dependency. Make sure it is already installed in your project.
|
|
8
|
+
|
|
9
|
+
- **Minimal API surface** : components do one thing well and are easy to compose
|
|
10
|
+
- **Fully typed** : every prop, every variant, every callback is typed
|
|
11
|
+
- **No runtime dependencies** : beyond React itself
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Requirements
|
|
16
|
+
|
|
17
|
+
| Requirement | Version |
|
|
18
|
+
|-------------|------------|
|
|
19
|
+
| React | ≥ 17.0.0 |
|
|
20
|
+
| react-dom | ≥ 17.0.0 |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Storybook
|
|
25
|
+
|
|
26
|
+
Every component has an interactive story where you can explore props and variants in live. [Open Storybook →](https://easyui.macrez.cloud/storybool)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
See the [documentation](https://easyui.macrez.cloud)
|
|
33
|
+
|
|
34
|
+
## Tech stack
|
|
35
|
+
|
|
36
|
+
| Layer | Technology |
|
|
37
|
+
|------------|-------------------------|
|
|
38
|
+
| Language | TypeScript |
|
|
39
|
+
| Framework | React |
|
|
40
|
+
| Styling | Tailwind CSS |
|
|
41
|
+
| Bundler | Vite (ES + CJS outputs) |
|
|
42
|
+
| Testing | Vitest + Playwright |
|
|
43
|
+
| Docs | Storybook, Docusaurus |
|
|
44
|
+
|
|
45
|
+
## Contributing
|
|
46
|
+
|
|
47
|
+
Found a bug or want to propose a component? Open an issue or a pull request on [GitHub](https://github.com/Spartixx/EasyUI).
|
|
48
|
+
|
|
49
|
+
## License
|
|
50
|
+
|
|
51
|
+
MIT
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@easy-ui-react/easy-ui-react",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.4.0",
|
|
5
|
+
"description": "A React UI component library",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"main": "./dist/index.cjs",
|
|
12
|
+
"module": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"react": ">=17.0.0",
|
|
20
|
+
"react-dom": ">=17.0.0"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"build": "tsc -b && vite build",
|
|
25
|
+
"lint": "eslint .",
|
|
26
|
+
"preview": "vite preview",
|
|
27
|
+
"storybook": "storybook dev -p 6006",
|
|
28
|
+
"build-storybook": "storybook build",
|
|
29
|
+
"test": "vitest run --project=storybook --coverage"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
33
|
+
"@eslint/js": "^10.0.1",
|
|
34
|
+
"@storybook/addon-a11y": "^10.4.1",
|
|
35
|
+
"@storybook/addon-docs": "^10.4.1",
|
|
36
|
+
"@storybook/addon-vitest": "^10.4.1",
|
|
37
|
+
"@storybook/react-vite": "^10.4.1",
|
|
38
|
+
"@tailwindcss/vite": "^4.3.0",
|
|
39
|
+
"@testing-library/react": "^16.3.2",
|
|
40
|
+
"@types/node": "^24.12.3",
|
|
41
|
+
"@types/react": "^19.2.14",
|
|
42
|
+
"@types/react-dom": "^19.2.3",
|
|
43
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
44
|
+
"@vitest/browser-playwright": "^4.1.7",
|
|
45
|
+
"@vitest/coverage-v8": "^4.1.7",
|
|
46
|
+
"eslint": "^10.3.0",
|
|
47
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
48
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
49
|
+
"eslint-plugin-storybook": "^10.4.1",
|
|
50
|
+
"globals": "^17.6.0",
|
|
51
|
+
"lucide-react": "^1.3.0",
|
|
52
|
+
"playwright": "^1.60.0",
|
|
53
|
+
"react": "^19.2.6",
|
|
54
|
+
"react-dom": "^19.2.6",
|
|
55
|
+
"storybook": "^10.4.1",
|
|
56
|
+
"tailwindcss": "^4.3.0",
|
|
57
|
+
"typescript": "~6.0.2",
|
|
58
|
+
"typescript-eslint": "^8.59.2",
|
|
59
|
+
"vite": "^8.0.12",
|
|
60
|
+
"vite-plugin-dts": "^5.0.1",
|
|
61
|
+
"vitest": "^4.1.7"
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"clsx": "^2.1.1",
|
|
65
|
+
"tailwind-merge": "^3.6.0"
|
|
66
|
+
}
|
|
67
|
+
}
|