@larose-ui/react 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.
- package/README.md +58 -0
- package/package.json +10 -5
package/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# @larose-ui/react
|
|
2
|
+
|
|
3
|
+
> Production-ready React components with built-in UI states.
|
|
4
|
+
|
|
5
|
+
Part of **[laRose UI](https://github.com/hamdymohamedak/larose-ui)** — the UI Operating System for modern SaaS applications.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @larose-ui/react
|
|
11
|
+
# or
|
|
12
|
+
pnpm add @larose-ui/react
|
|
13
|
+
# or
|
|
14
|
+
yarn add @larose-ui/react
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
**Peer dependency:** `react >=18`
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## Quick start
|
|
22
|
+
|
|
23
|
+
```tsx
|
|
24
|
+
import { Button, Card, Input, Dialog } from '@larose-ui/react';
|
|
25
|
+
import '@larose-ui/tokens/styles.css';
|
|
26
|
+
|
|
27
|
+
<Card title="Profile">
|
|
28
|
+
<Input label="Email" />
|
|
29
|
+
<Button variant="primary">Save</Button>
|
|
30
|
+
</Card>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Features
|
|
34
|
+
|
|
35
|
+
- Form controls, overlays, navigation, data display
|
|
36
|
+
- Loading, error, empty, and disabled states
|
|
37
|
+
- Token-driven styling via CSS variables
|
|
38
|
+
- AsyncButton, DataTable, CommandPalette, and more
|
|
39
|
+
|
|
40
|
+
## Related packages
|
|
41
|
+
|
|
42
|
+
| Layer | Packages |
|
|
43
|
+
|-------|----------|
|
|
44
|
+
| Foundation | `@larose-ui/core`, `@larose-ui/tokens`, `@larose-ui/react` |
|
|
45
|
+
| Runtime | `@larose-ui/runtime`, `@larose-ui/network`, `@larose-ui/offline` |
|
|
46
|
+
| Intelligence | `@larose-ui/data`, `@larose-ui/forms`, `@larose-ui/permissions` |
|
|
47
|
+
| Platform | `@larose-ui/observability`, `@larose-ui/enterprise`, `@larose-ui/ai` |
|
|
48
|
+
|
|
49
|
+
## Documentation
|
|
50
|
+
|
|
51
|
+
- [Monorepo README](https://github.com/hamdymohamedak/larose-ui#readme)
|
|
52
|
+
- [Architecture](https://github.com/hamdymohamedak/larose-ui/blob/main/docs/architecture/ARCHITECTURE.md)
|
|
53
|
+
- [Roadmap](https://github.com/hamdymohamedak/larose-ui/blob/main/docs/ROADMAP.md)
|
|
54
|
+
- [Report an issue](https://github.com/hamdymohamedak/larose-ui/issues)
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
MIT © [laRose UI](https://github.com/hamdymohamedak/larose-ui)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larose-ui/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "React components for laRose UI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md"
|
|
17
18
|
],
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@larose-ui/core": "0.1.
|
|
20
|
-
"@larose-ui/tokens": "0.1.
|
|
20
|
+
"@larose-ui/core": "0.1.1",
|
|
21
|
+
"@larose-ui/tokens": "0.1.1"
|
|
21
22
|
},
|
|
22
23
|
"peerDependencies": {
|
|
23
24
|
"react": ">=18",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
},
|
|
42
43
|
"repository": {
|
|
43
44
|
"type": "git",
|
|
44
|
-
"url": "https://github.com/larose-ui
|
|
45
|
+
"url": "git+https://github.com/hamdymohamedak/larose-ui.git",
|
|
45
46
|
"directory": "packages/react"
|
|
46
47
|
},
|
|
47
48
|
"keywords": [
|
|
@@ -51,6 +52,10 @@
|
|
|
51
52
|
"design-system",
|
|
52
53
|
"saas"
|
|
53
54
|
],
|
|
55
|
+
"homepage": "https://github.com/hamdymohamedak/larose-ui/blob/main/packages/react#readme",
|
|
56
|
+
"bugs": {
|
|
57
|
+
"url": "https://github.com/hamdymohamedak/larose-ui/issues"
|
|
58
|
+
},
|
|
54
59
|
"scripts": {
|
|
55
60
|
"build": "tsup",
|
|
56
61
|
"dev": "tsup --watch",
|