@anyemp/ui-kit 1.3.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/README.md +50 -0
- package/dist/avatar.png +0 -0
- package/dist/index.d.ts +2435 -0
- package/dist/logo.png +0 -0
- package/dist/ui-kit.css +1 -0
- package/dist/ui-kit.es.js +8888 -0
- package/dist/ui-kit.es.js.map +1 -0
- package/dist/ui-kit.umd.js +7 -0
- package/dist/ui-kit.umd.js.map +1 -0
- package/package.json +94 -0
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# @anyemp/ui-kit
|
|
2
|
+
|
|
3
|
+
A modern React UI component library built with Vite and TypeScript. Tokens-driven theming, full dark mode support, and tree-shakeable exports.
|
|
4
|
+
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
- **[Design System Overview](./DESIGN.md)** — Principles, tokens, decision guide
|
|
8
|
+
- **[Full Documentation Index](./docs/README.md)** — All components, hooks, contributing
|
|
9
|
+
- **[Installation](./docs/installation.md)** — Setup and framework integration
|
|
10
|
+
- **[Theming & Customization](./docs/theming-and-customization.md)** — Colors, gradients, dark mode
|
|
11
|
+
- **[Design Tokens](./TOKENS.md)** — CSS variables cheat-sheet
|
|
12
|
+
|
|
13
|
+
## Quick Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install @anyemp/ui-kit
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```tsx
|
|
22
|
+
import { Button } from '@anyemp/ui-kit';
|
|
23
|
+
import '@anyemp/ui-kit/styles';
|
|
24
|
+
|
|
25
|
+
function App() {
|
|
26
|
+
return (
|
|
27
|
+
<Button variant="filled" color="primary" onClick={() => alert('Clicked!')}>
|
|
28
|
+
Click Me
|
|
29
|
+
</Button>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
For the full component API see [docs/components/Button.md](./docs/components/Button.md) and the rest of [docs/README.md](./docs/README.md).
|
|
35
|
+
|
|
36
|
+
## Development
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm install # install dependencies
|
|
40
|
+
npm run dev # Vite dev server
|
|
41
|
+
npm run storybook # Storybook on port 6006
|
|
42
|
+
npm run build # Build library to dist/
|
|
43
|
+
npm run lint # ESLint
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Contributors: see [docs/contributing/README.md](./docs/contributing/README.md).
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
MIT
|
package/dist/avatar.png
ADDED
|
Binary file
|