@santi020k/lumen-react 0.1.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.
@@ -0,0 +1,4 @@
1
+ export * from './components.js';
2
+ export * from './hooks.js';
3
+ export { type LumenComponentName, lumenComponentNames } from '@santi020k/lumen-core';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,OAAO,EACL,KAAK,kBAAkB,EACvB,mBAAmB,EACpB,MAAM,uBAAuB,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from './components.js';
2
+ export * from './hooks.js';
3
+ export { lumenComponentNames } from '@santi020k/lumen-core';
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "@santi020k/lumen-react",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "React primitive components for Lumen UI.",
8
+ "type": "module",
9
+ "sideEffects": [
10
+ "./styles.css"
11
+ ],
12
+ "main": "./dist/index.js",
13
+ "module": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ },
20
+ "./styles.css": "./styles.css",
21
+ "./package.json": "./package.json"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "styles.css",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "dependencies": {
30
+ "uqr": "^0.1.3",
31
+ "@santi020k/lumen": "^0.1.0",
32
+ "@santi020k/lumen-core": "^0.1.0"
33
+ },
34
+ "devDependencies": {
35
+ "@types/react": "^19.2.17",
36
+ "@vitest/coverage-v8": "^4.1.10",
37
+ "react": "^19.2.8",
38
+ "typescript": "^6.0.3",
39
+ "vitest": "^4.1.10"
40
+ },
41
+ "peerDependencies": {
42
+ "react": ">=18"
43
+ },
44
+ "engines": {
45
+ "node": ">=22.18.0"
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://github.com/santi020k/lumen.git",
50
+ "directory": "packages/react"
51
+ },
52
+ "homepage": "https://lumen.santi020k.com",
53
+ "bugs": {
54
+ "url": "https://github.com/santi020k/lumen/issues"
55
+ },
56
+ "author": {
57
+ "name": "Santiago Molina",
58
+ "url": "https://santi020k.com"
59
+ },
60
+ "license": "MIT",
61
+ "scripts": {
62
+ "build": "tsc -p tsconfig.build.json",
63
+ "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
64
+ "typecheck": "tsc -p tsconfig.json --noEmit",
65
+ "test": "vitest run --config ../../vitest.config.ts --project react",
66
+ "test:coverage": "vitest run --config ../../vitest.config.ts --project react --coverage",
67
+ "lint": "eslint . --no-warn-ignored",
68
+ "lint:fix": "eslint . --fix --no-warn-ignored",
69
+ "clean": "rm -rf dist coverage"
70
+ }
71
+ }
package/styles.css ADDED
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Standalone stylesheet entry for React consumers.
3
+ * Import once with: import "@santi020k/lumen-react/styles.css"
4
+ */
5
+ @import "@santi020k/lumen/styles.css";