@regardio/tailwind 1.0.2 → 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.
Files changed (2) hide show
  1. package/README.md +37 -20
  2. package/package.json +9 -4
package/README.md CHANGED
@@ -1,16 +1,25 @@
1
- # @regardio/tailwind
1
+ ---
2
+
3
+ title: "@regardio/tailwind"
4
+ description: "Tailwind CSS utilities and tooling for Regardio projects — no design decisions included."
5
+ publishedAt: 2026-04-17
6
+ language: "en"
7
+ status: "published"
8
+ kind: "guide"
9
+ area: "tailwind"
10
+ ---
2
11
 
3
- > Tailwind CSS utilities and tools for Regardio projects
12
+ # @regardio/tailwind
4
13
 
5
- Reusable utilities and tools for Tailwind CSS projects. **Does NOT include design decisions** (colors, fonts, breakpoints) - import those from `@regardio/brand` instead.
14
+ Reusable utilities and tooling for Tailwind CSS projects. Design decisions colors, fonts, breakpoints live in `@regardio/brand`. This package deliberately takes none of its own.
6
15
 
7
- ## What This Package Provides
16
+ ## What this package provides
8
17
 
9
- - **JavaScript utilities** - Type-safe component variants (`tv`), class merging (`cn`, `twMerge`)
10
- - **CSS utilities** - Reset, custom animations
11
- - **Plugin re-exports** - `fluid-tailwindcss`, `tw-animate-css` (integrated via `plugins.css`)
18
+ - **JavaScript utilities** type-safe component variants (`tv`), class merging (`cn`, `twMerge`)
19
+ - **CSS utilities** reset, custom animations
20
+ - **Plugin re-exports** `fluid-tailwindcss`, `tw-animate-css` (integrated via `plugins.css`)
12
21
 
13
- > **📖 See [@regardio/brand styling architecture](../brand/docs/styling-architecture.md)** for the complete architecture.
22
+ See [@regardio/brand styling architecture](../brand/docs/styling-architecture.md) for how the pieces fit together.
14
23
 
15
24
  ## Installation
16
25
 
@@ -18,9 +27,9 @@ Reusable utilities and tools for Tailwind CSS projects. **Does NOT include desig
18
27
  pnpm add @regardio/tailwind
19
28
  ```
20
29
 
21
- **Peer Dependencies**: `tailwindcss` >= 4.0.0
30
+ Peer dependency: `tailwindcss` >= 4.0.0
22
31
 
23
- ## Quick Start
32
+ ## Quick start
24
33
 
25
34
  ### JavaScript
26
35
 
@@ -46,18 +55,26 @@ const button = tv({
46
55
 
47
56
  ## Documentation
48
57
 
49
- - **[Setup Guide](./docs/setup-guide.md)** - Integration and configuration
50
- - **[JavaScript Utilities](./docs/javascript-utilities.md)** - `tv()`, `cn()`, `twMerge()` usage
51
- - **[CSS Utilities](./docs/css-utilities.md)** - Reset, animations, plugins
58
+ - [Setup guide](./docs/setup-guide.md) integration and configuration
59
+ - [JavaScript utilities](./docs/javascript-utilities.md) `tv()`, `cn()`, `twMerge()`
60
+ - [CSS utilities](./docs/css-utilities.md) reset, animations, plugins
61
+
62
+ ## Why this package
63
+
64
+ - Tailwind utilities gathered in one place
65
+ - Fluid typography and spacing included
66
+ - Full TypeScript support with `VariantProps`
67
+ - Tree-shakeable — imports only what is used
68
+ - Shared reset, base, and utilities across every Regardio project
52
69
 
53
- ## Why This Package?
70
+ ## Related
54
71
 
55
- - **Unified toolchain** - All Tailwind utilities in one place
56
- - **Fluid design** - Built-in support for fluid typography and spacing
57
- - **Type safety** - Full TypeScript support with VariantProps
58
- - **Tree-shakeable** - Import only what you need
59
- - **Consistent styles** - Shared reset, base, and utilities across projects
72
+ - [CLAUDE.md](./CLAUDE.md) package context for coding assistants
73
+ - [Setup guide](./docs/setup-guide.md)
74
+ - [CSS utilities](./docs/css-utilities.md)
75
+ - [JavaScript utilities](./docs/javascript-utilities.md)
76
+ - [@regardio/brand styling architecture](../brand/docs/styling-architecture.md)
60
77
 
61
78
  ## License
62
79
 
63
- **MIT License** Free to use in commercial and open source projects.
80
+ MIT — free for commercial and open-source use.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package.json",
3
3
  "name": "@regardio/tailwind",
4
- "version": "1.0.2",
4
+ "version": "1.1.1",
5
5
  "private": false,
6
6
  "description": "Regardio Tailwind CSS utilities and configuration",
7
7
  "keywords": [
@@ -31,7 +31,8 @@
31
31
  }
32
32
  },
33
33
  "files": [
34
- "dist"
34
+ "dist",
35
+ "pnpm-lock.yaml"
35
36
  ],
36
37
  "dependencies": {
37
38
  "@tailwindcss/typography": "0.5.19",
@@ -47,9 +48,9 @@
47
48
  "@vitest/coverage-v8": "4.1.5",
48
49
  "@vitest/ui": "4.1.5",
49
50
  "tailwindcss": "4.2.4",
50
- "tsdown": "0.21.9",
51
+ "tsdown": "0.21.10",
51
52
  "vitest": "4.1.5",
52
- "@regardio/dev": "2.0.2"
53
+ "@regardio/dev": "2.3.0"
53
54
  },
54
55
  "engines": {
55
56
  "node": ">=24"
@@ -58,6 +59,10 @@
58
59
  "build": "tsdown",
59
60
  "dev": "tsdown --watch",
60
61
  "fix": "run-s fix:pkg fix:md fix:biome",
62
+ "release": "commit-and-tag-version",
63
+ "release:major": "commit-and-tag-version --release-as major",
64
+ "release:minor": "commit-and-tag-version --release-as minor",
65
+ "release:patch": "commit-and-tag-version --release-as patch",
61
66
  "fix:biome": "biome check --write --unsafe .",
62
67
  "fix:md": "markdownlint-cli2 --config ../../.markdownlint-cli2.jsonc --fix",
63
68
  "fix:pkg": "sort-package-json",