@appkit/dek-ui 0.37.0 → 0.46.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.
Files changed (2) hide show
  1. package/README.md +39 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,3 +1,40 @@
1
- # Dek UI
1
+ # @appkit/dek-ui
2
2
 
3
- Component library for Dek
3
+ React component library for DEK. Provides styled, composable UI primitives for building plugin components and board layouts.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @appkit/dek-ui styled-components
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import { Card, TitleBar, Grid, Cell } from '@appkit/dek-ui';
15
+
16
+ function MyWidget({ title }: { title: string }) {
17
+ return (
18
+ <Card>
19
+ <TitleBar title={title} />
20
+ <Grid columns={2}>
21
+ <Cell>Left content</Cell>
22
+ <Cell>Right content</Cell>
23
+ </Grid>
24
+ </Card>
25
+ );
26
+ }
27
+ ```
28
+
29
+ ## Storybook
30
+
31
+ Browse all components interactively:
32
+
33
+ ```bash
34
+ # From dek-packages root
35
+ npm run storybook # http://localhost:6006
36
+ ```
37
+
38
+ ## Documentation
39
+
40
+ - [Component Catalog](docs/components.md) — All components with usage examples and props
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appkit/dek-ui",
3
3
  "private": false,
4
- "version": "0.37.0",
4
+ "version": "0.46.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsc && vite build",