@arvea/components 0.0.1 → 0.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arvea/components",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Arvea UI Kit — Lit Web Components",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -15,6 +15,11 @@
15
15
  "./tailwind-preset": {
16
16
  "import": "./dist/tokens/tailwind-preset.js",
17
17
  "require": "./dist/tokens/tailwind-preset.cjs"
18
+ },
19
+ "./react": {
20
+ "types": "./dist/react/index.d.ts",
21
+ "import": "./dist/react/index.js",
22
+ "require": "./dist/react/index.cjs"
18
23
  }
19
24
  },
20
25
  "files": [
@@ -24,7 +29,7 @@
24
29
  "tokens": "bun scripts/generate-tokens.mjs && bun scripts/generate-tailwind.mjs",
25
30
  "tailwind": "node scripts/generate-tailwind.mjs",
26
31
  "icon": "node scripts/generate-icon.mjs",
27
- "build": "bun run tokens && tsup",
32
+ "build": "bun run tokens && bun run cem && bun run react && tsup",
28
33
  "prepublishOnly": "bun run build",
29
34
  "build:watch": "tsup --watch",
30
35
  "dev": "tsup --watch",
@@ -37,7 +42,8 @@
37
42
  "typecheck": "tsc --noEmit",
38
43
  "lint": "eslint src",
39
44
  "lint:fix": "eslint src --fix",
40
- "size": "size-limit"
45
+ "size": "size-limit",
46
+ "react": "node scripts/generate-react.mjs"
41
47
  },
42
48
  "size-limit": [
43
49
  {
@@ -58,7 +64,8 @@
58
64
  "author": "Arvea",
59
65
  "license": "ISC",
60
66
  "peerDependencies": {
61
- "lit": "^3.0.0"
67
+ "lit": "^3.3.0",
68
+ "react": ">=18"
62
69
  },
63
70
  "overrides": {
64
71
  "ws": "^8.21.0",
@@ -66,27 +73,36 @@
66
73
  "qs": "6.15.2"
67
74
  },
68
75
  "devDependencies": {
69
- "@chromatic-com/storybook": "^5.2.1",
76
+ "@chromatic-com/storybook": "^5.4.0",
70
77
  "@eslint/js": "^10.0.1",
71
- "@evilmartians/lefthook": "^2.1.9",
72
- "@open-wc/testing": "^4.0.0",
78
+ "@evilmartians/lefthook": "^2.1.17",
73
79
  "@size-limit/file": "^12.1.0",
74
- "@storybook/addon-a11y": "^10.4.1",
80
+ "@storybook/addon-a11y": "^10.6.1",
75
81
  "@storybook/addon-actions": "^9.0.8",
76
- "@storybook/addon-docs": "^10.4.1",
77
- "@storybook/addon-vitest": "^10.4.1",
78
- "@storybook/web-components-vite": "^10.4.1",
79
- "@vitest/browser-playwright": "^4.1.8",
80
- "@vitest/coverage-v8": "^4.1.8",
81
- "chromatic": "^17.2.0",
82
- "eslint": "^10.4.1",
82
+ "@storybook/addon-docs": "^10.6.1",
83
+ "@storybook/addon-vitest": "^10.6.1",
84
+ "@storybook/web-components-vite": "^10.6.1",
85
+ "@types/react": "^19.3.0",
86
+ "@vitest/browser-playwright": "^4.1.11",
87
+ "@vitest/coverage-v8": "^4.1.11",
88
+ "chromatic": "^17.8.0",
89
+ "eslint": "^10.12.0",
83
90
  "lit": "^3.3.3",
84
- "playwright": "^1.60.0",
91
+ "playwright": "^1.63.0",
92
+ "react": "^19.3.0",
85
93
  "size-limit": "^12.1.0",
86
- "storybook": "^10.4.1",
94
+ "storybook": "^10.6.1",
87
95
  "tsup": "^8.5.1",
88
96
  "typescript": "^6.0.3",
89
- "typescript-eslint": "^8.60.1",
90
- "vitest": "^4.1.8"
97
+ "typescript-eslint": "^8.71.1",
98
+ "vitest": "^4.1.11"
99
+ },
100
+ "dependencies": {
101
+ "@lit/react": "^1.0.8"
102
+ },
103
+ "peerDependenciesMeta": {
104
+ "react": {
105
+ "optional": true
106
+ }
91
107
  }
92
108
  }