sander-ui 0.1.0 โ†’ 0.1.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.
Files changed (2) hide show
  1. package/README.md +36 -55
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,14 +1,40 @@
1
1
  # ๐Ÿงฉ sander-ui
2
2
 
3
- A modern React component library built with TypeScript and CSS Modules. Designed for consistency, accessibility, and simplicity.
3
+ A modern React component library built with TypeScript and CSS Modules.
4
4
 
5
- ## โœจ Features
5
+ **[๐Ÿ“– Live Storybook Docs](https://n8n-sander-ui.igjw7r.easypanel.host)**
6
6
 
7
- - ๐Ÿงฑ **24 production-ready components** โ€” from buttons and inputs to modals, drawers, and toasts
8
- - ๐Ÿ”ท **TypeScript first** โ€” fully typed props with JSDoc descriptions
9
- - ๐ŸŽจ **CSS Modules** โ€” scoped styles with no runtime overhead
10
- - โ™ฟ **Accessible** โ€” semantic HTML, ARIA attributes, and keyboard support
11
- - ๐Ÿ“– **Storybook docs** โ€” interactive documentation with auto-generated prop tables
7
+ ## ๐Ÿ“ฆ Installation
8
+
9
+ ```bash
10
+ npm install sander-ui
11
+ ```
12
+
13
+ **Peer dependencies:** React 18 or 19
14
+
15
+ ## ๐Ÿš€ Usage
16
+
17
+ Import components and the stylesheet:
18
+
19
+ ```tsx
20
+ import { Button, Input, Modal } from "sander-ui";
21
+ import "sander-ui/styles.css";
22
+ ```
23
+
24
+ Use them in your app:
25
+
26
+ ```tsx
27
+ function App() {
28
+ return (
29
+ <div>
30
+ <Button variant="primary" size="md" onClick={() => alert("Clicked!")}>
31
+ Click me
32
+ </Button>
33
+ <Input label="Email" placeholder="you@example.com" />
34
+ </div>
35
+ );
36
+ }
37
+ ```
12
38
 
13
39
  ## ๐Ÿ—‚๏ธ Components
14
40
 
@@ -27,56 +53,11 @@ A modern React component library built with TypeScript and CSS Modules. Designed
27
53
  ### ๐Ÿ“ Layout
28
54
  `Card` ยท `Modal` ยท `Drawer`
29
55
 
30
- ## ๐Ÿš€ Getting Started
31
-
32
- ```bash
33
- npm install
34
- ```
35
-
36
- ### ๐Ÿ› ๏ธ Development
37
-
38
- ```bash
39
- npm run storybook
40
- ```
41
-
42
- Opens Storybook at [http://localhost:6006](http://localhost:6006) with live-reloading, interactive examples, and full prop documentation for every component.
43
-
44
- ### ๐Ÿ“ฆ Build
45
-
46
- ```bash
47
- npm run build-storybook
48
- ```
49
-
50
- Outputs a static documentation site to `storybook-static/`.
51
-
52
- ## ๐Ÿณ Deployment
53
-
54
- A multi-stage `Dockerfile` is included for deploying the Storybook docs site:
55
-
56
- ```bash
57
- docker build -t sander-ui .
58
- docker run -p 80:80 sander-ui
59
- ```
60
-
61
- Compatible with EasyPanel, Railway, Fly.io, or any Docker-based hosting.
62
-
63
- ## ๐ŸŽ›๏ธ Design Tokens
64
-
65
- All visual decisions are centralized in CSS custom properties (`src/styles/_tokens.css`):
66
-
67
- - **Colors** โ€” primary, semantic (success, error, warning, info), and a full gray scale
68
- - **Typography** โ€” [Outfit](https://fonts.google.com/specimen/Outfit) font family with consistent size and weight scales
69
- - **Spacing** โ€” a harmonious spacing scale from `0.125rem` to `3rem`
70
- - **Radii, shadows, transitions** โ€” shared across all components
56
+ Browse all components with interactive examples and full prop documentation at the **[๐Ÿ“– Storybook](https://n8n-sander-ui.igjw7r.easypanel.host)**.
71
57
 
72
- ## โš™๏ธ Tech Stack
58
+ ## ๐ŸŽจ Design Tokens
73
59
 
74
- - [React](https://react.dev) + [TypeScript](https://www.typescriptlang.org)
75
- - [Vite](https://vite.dev)
76
- - [CSS Modules](https://github.com/css-modules/css-modules)
77
- - [Storybook](https://storybook.js.org)
78
- - [Lucide](https://lucide.dev) icons
79
- - [classnames](https://github.com/JedWatson/classnames)
60
+ All visual decisions are centralized in CSS custom properties (`src/styles/_tokens.css`) covering colors, typography ([Outfit](https://fonts.google.com/specimen/Outfit)), spacing, radii, shadows, and transitions.
80
61
 
81
62
  ## ๐Ÿ“„ License
82
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sander-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "A modern React component library built with TypeScript and CSS Modules",
6
6
  "main": "./dist/index.js",