@empreint/ui 1.2.0 → 1.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 +57 -0
  2. package/package.json +4 -7
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ <p align="center">
2
+ <img src="https://empreint.dev/logo.svg" alt="Empreint" width="180" />
3
+ </p>
4
+
5
+ <h1 align="center">Empreint</h1>
6
+
7
+ <p align="center">
8
+ A modern React component library built with TypeScript, CSS Modules and CSS-variable theming.
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/@empreint/ui"><img src="https://img.shields.io/npm/v/@empreint/ui?color=19c37d" alt="npm version" /></a>
13
+ <img src="https://img.shields.io/npm/l/@empreint/ui?color=19c37d" alt="license" />
14
+ </p>
15
+
16
+ ---
17
+
18
+ ## Installation
19
+
20
+ ```bash
21
+ bun add @empreint/ui
22
+ ```
23
+
24
+ Import the stylesheet once, at your app entry:
25
+
26
+ ```tsx
27
+ import "@empreint/ui/styles.css";
28
+ ```
29
+
30
+ ## Usage
31
+
32
+ ```tsx
33
+ import { Button } from "@empreint/ui";
34
+
35
+ export default function App() {
36
+ return <Button>Click me</Button>;
37
+ }
38
+ ```
39
+
40
+ ## Theming
41
+
42
+ Each component exposes CSS variables you can override to match your brand.
43
+
44
+ ```css
45
+ :root {
46
+ --empreint-primary: #19c37d;
47
+ --empreint-button-border-radius: 0.5rem;
48
+ }
49
+ ```
50
+
51
+ ## Documentation
52
+
53
+ Full component reference and live examples at **[empreint.dev](https://empreint.dev)**.
54
+
55
+ ## License
56
+
57
+ [MIT](https://github.com/vincentgraul/empreint/blob/master/LICENSE.md) © [Vincent Graul](https://vincentgraul.com)
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@empreint/ui",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
- "license": "GPL-3.0-only",
5
+ "license": "MIT",
6
6
  "homepage": "https://empreint.dev",
7
7
  "description": "A modern React component library built with TypeScript, CSS Modules, and accessibility-first principles.",
8
8
  "repository": {
@@ -38,7 +38,8 @@
38
38
  "build-storybook": "storybook build",
39
39
  "dev": "storybook dev",
40
40
  "test": "vitest run",
41
- "lint": "biome lint"
41
+ "lint": "biome lint",
42
+ "typecheck": "tsc --noEmit"
42
43
  },
43
44
  "peerDependencies": {
44
45
  "react": "^19.2.5",
@@ -57,12 +58,8 @@
57
58
  "@storybook/addon-vitest": "^10.3.6",
58
59
  "@storybook/react": "^10.3.6",
59
60
  "@storybook/react-vite": "^10.3.6",
60
- "@types/node": "^25.6.0",
61
- "@types/react": "^19.2.14",
62
- "@types/react-dom": "^19.2.3",
63
61
  "@vitejs/plugin-react": "^6.0.1",
64
62
  "@vitest/browser-playwright": "^4.1.5",
65
- "@vitest/coverage-v8": "^4.1.5",
66
63
  "playwright": "^1.59.1",
67
64
  "react": "^19.2.5",
68
65
  "react-dom": "^19.2.5",