@dapplelight/signet-ui 0.2.0 → 0.2.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 +50 -0
  2. package/package.json +17 -1
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ <p align="center"><img src="https://raw.githubusercontent.com/dapplelight/signet/main/docs/brand/mark-color.svg" width="72" height="72" alt="Signet"></p>
2
+
3
+ # @dapplelight/signet-ui
4
+
5
+ 41 React components on Tailwind v4, in the shadcn style, styled only through
6
+ [Signet theme tokens](https://www.npmjs.com/package/@dapplelight/signet-tokens).
7
+ Swap the theme file and every component changes; no component is edited.
8
+
9
+ Part of [Signet](https://github.com/dapplelight/signet). Docs:
10
+ https://dapplelight.github.io/signet/
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ bun add @dapplelight/signet-ui @dapplelight/signet-tokens
16
+ ```
17
+
18
+ ```css
19
+ /* app.css */
20
+ @import "tailwindcss";
21
+ @import "@dapplelight/signet-tokens/editorial.css";
22
+ @import "@dapplelight/signet-tokens/base.css";
23
+ /* Tailwind does not scan node_modules; the kit's class names must be seen. */
24
+ @source "../node_modules/@dapplelight/signet-ui/dist";
25
+ ```
26
+
27
+ ```tsx
28
+ import { Button, DataTable, EmptyState } from "@dapplelight/signet-ui"
29
+ // or one component at a time, to keep the module graph small:
30
+ import { Button } from "@dapplelight/signet-ui/components/button"
31
+ ```
32
+
33
+ Peer dependencies: React 19, Base UI, Radix primitives, TanStack Table and a
34
+ few more. recharts, TanStack Hotkeys and the Markdown stack are optional.
35
+
36
+ ## What is in it
37
+
38
+ - The shadcn set: button, input, dialog, sheet, popover, select, tabs, table,
39
+ toast and the rest.
40
+ - Extras: a virtualised `data-table`, `combobox`, `stat-strip`,
41
+ `responsive-sheet`, `markdown` (safe by default), `emoji-picker`.
42
+ - `domain/` components that carry product vocabulary, such as `trend-chip`,
43
+ kept out of the main barrel.
44
+
45
+ The full export list is in
46
+ [API.md](https://github.com/dapplelight/signet/blob/main/API.md).
47
+
48
+ ## License
49
+
50
+ MIT
package/package.json CHANGED
@@ -1,8 +1,24 @@
1
1
  {
2
2
  "name": "@dapplelight/signet-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "description": "Signet component kit — token-driven React primitives.",
6
+ "keywords": [
7
+ "signet",
8
+ "react",
9
+ "components",
10
+ "shadcn",
11
+ "tailwind"
12
+ ],
13
+ "homepage": "https://dapplelight.github.io/signet/",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/dapplelight/signet.git",
17
+ "directory": "packages/ui"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/dapplelight/signet/issues"
21
+ },
6
22
  "type": "module",
7
23
  "sideEffects": false,
8
24
  "exports": {