@zentrades-ui/components 0.1.0 → 0.1.4

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 +39 -0
  2. package/package.json +3 -7
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @zentrades-ui/components
2
+
3
+ React component library for the Zen UI kit.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pnpm add @zentrades-ui/components @zentrades-ui/theme @zentrades-ui/tokens
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```tsx
14
+ import { ThemeProvider } from "@zentrades-ui/theme";
15
+ import { Button, Input, Stack } from "@zentrades-ui/components";
16
+
17
+ export function Example() {
18
+ return (
19
+ <ThemeProvider>
20
+ <Stack gap="md">
21
+ <Input placeholder="Email" />
22
+ <Button>Submit</Button>
23
+ </Stack>
24
+ </ThemeProvider>
25
+ );
26
+ }
27
+ ```
28
+
29
+ ## Exports
30
+
31
+ ```ts
32
+ import * as Components from "@zentrades-ui/components";
33
+ import * as ThemeEntries from "@zentrades-ui/components/theme";
34
+ import * as IconEntries from "@zentrades-ui/components/icons";
35
+ ```
36
+
37
+ ## Notes
38
+ - This package ships compiled output in `dist/`.
39
+ - CSS side effects are included for component styles.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zentrades-ui/components",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,10 +18,6 @@
18
18
  "types": "./dist/index.d.ts",
19
19
  "import": "./dist/index.js"
20
20
  },
21
- "./components": {
22
- "types": "./dist/components.d.ts",
23
- "import": "./dist/components.js"
24
- },
25
21
  "./theme": {
26
22
  "types": "./dist/theme.d.ts",
27
23
  "import": "./dist/theme.js"
@@ -58,8 +54,8 @@
58
54
  "@types/react": "^18.3.12",
59
55
  "tsup": "^8.5.0",
60
56
  "typescript": "^5.9.3",
61
- "@zentrades-ui/theme": "0.1.0",
62
- "@zentrades-ui/tokens": "0.1.0"
57
+ "@zentrades-ui/theme": "0.1.4",
58
+ "@zentrades-ui/tokens": "0.1.4"
63
59
  },
64
60
  "scripts": {
65
61
  "build": "tsup"