@tollerud/ui 1.0.8 → 1.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 +4 -5
- package/dist/index.cjs +1181 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +251 -1
- package/dist/index.d.ts +251 -1
- package/dist/index.js +1162 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ A complete, browsable UI library built around **monochrome + yellow accent**. No
|
|
|
6
6
|
|
|
7
7
|
**Requirements:** React ≥ 18 · TypeScript supported (types included) · Tailwind CSS v3 or v4
|
|
8
8
|
|
|
9
|
-
→ **[Component reference →](COMPONENTS.md)** · **[Setup guide →](GETTING_STARTED.md)** · **[Brand guidelines →](BRAND.md)** · **[Changelog →](CHANGELOG.md)**
|
|
9
|
+
→ **[Component reference →](COMPONENTS.md)** · **[Setup guide →](GETTING_STARTED.md)** · **[Brand guidelines →](BRAND.md)** · **[Changelog →](CHANGELOG.md)** · **[AI agent skill →](SKILL.md)**
|
|
10
10
|
|
|
11
11
|
## Packages
|
|
12
12
|
|
|
@@ -90,7 +90,7 @@ import { Button, Card, Badge, StatusDot, CodeBlock, Kbd, CommandMenu, NoirGlowBa
|
|
|
90
90
|
|
|
91
91
|
TypeScript types are included — no `@types/*` package needed. See **[COMPONENTS.md](COMPONENTS.md)** for the full prop reference for every component.
|
|
92
92
|
|
|
93
|
-
Publish a new version by
|
|
93
|
+
Publish a new version by bumping `version` in `package.json` and pushing to `main` — the `publish-npm` GitHub Action detects the version change, runs `npm publish` (using the `NPM_TOKEN` secret), and then creates a matching GitHub Release automatically.
|
|
94
94
|
|
|
95
95
|
### Copy from repo (alternative)
|
|
96
96
|
|
|
@@ -140,8 +140,7 @@ The design system includes `tollerud-avatar.svg` — a full cel-shaded monochrom
|
|
|
140
140
|
|
|
141
141
|
| Token | Hex | Usage |
|
|
142
142
|
|-------|-----|-------|
|
|
143
|
-
| `--tollerud-yellow` | `#
|
|
144
|
-
| `--tollerud-acid` / `--tollerud-yellow` | `#FFFF00` | Primary yellow, CTAs, focus, key data |
|
|
143
|
+
| `--tollerud-yellow` / `--tollerud-acid` | `#FFFF00` | Primary actions, highlights, links, focus, key data |
|
|
145
144
|
| `--tollerud-yellow-warm` | `#E8D500` | Secondary yellow, gradients, warm states |
|
|
146
145
|
| `--tollerud-amber` | `#FFB800` | Warmth accents, secondary highlights |
|
|
147
146
|
| `--tollerud-black` | `#0A0A0A` | Default background |
|
|
@@ -225,7 +224,7 @@ design-system/
|
|
|
225
224
|
├── KEYBOARD.md # Keyboard contract and shortcut reference
|
|
226
225
|
├── VOICE.md # Copy guidelines and tone
|
|
227
226
|
├── COMPLETENESS_ROADMAP.md # Research and future plans
|
|
228
|
-
├──
|
|
227
|
+
├── SKILL.md # Verified component catalog & gotchas for AI agents
|
|
229
228
|
├── tollerud-preset.js # 🏆 Drop-in Tailwind preset
|
|
230
229
|
├── tailwind.config.js # (backward compat standalone config)
|
|
231
230
|
├── globals.css # 🏆 Semantic tokens + all component classes
|