@campo-design/react 0.1.0 → 0.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 +5 -0
  2. package/package.json +9 -4
package/README.md CHANGED
@@ -112,6 +112,11 @@ client component).
112
112
 
113
113
  ## What's checked
114
114
 
115
+ - In your product, the types catch a gap in TypeScript. For plain
116
+ JavaScript, or a line whose type error is silenced, add
117
+ [`@campo-design/lint`](../lint/README.md)'s ESLint plugin: its
118
+ `campo/contract-gaps` and `campo/phosphor-icons` read `<WaButton>` and
119
+ `<WaIcon>` from this package against the same contracts.
115
120
  - `pnpm --filter @campo-design/react check` writes the modules, then compiles
116
121
  every combination Web Awesome allows for each contracted component. A gap
117
122
  must fail to compile, and a supported combination must compile. It fails
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@campo-design/react",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Campo's components for React 19: Web Awesome's React wrappers, typed from Campo's contracts so unsupported combinations and non-Phosphor icon names fail to compile, plus Campo's setup in one call.",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/jlitchfield/campo.git",
9
+ "directory": "packages/react"
10
+ },
6
11
  "type": "module",
7
12
  "files": [
8
13
  "src",
@@ -23,7 +28,7 @@
23
28
  "./dist/*.js"
24
29
  ],
25
30
  "dependencies": {
26
- "@campo-design/icons": "^0.1.0"
31
+ "@campo-design/icons": "^0.1.1"
27
32
  },
28
33
  "peerDependencies": {
29
34
  "@awesome.me/webawesome": "^3.14.0",
@@ -37,8 +42,8 @@
37
42
  "react": "^19.1.1",
38
43
  "react-dom": "^19.3.1",
39
44
  "typescript": "^5.9.0",
40
- "@campo-design/tokens": "^0.3.1",
41
- "@campo-design/webawesome": "^0.4.0"
45
+ "@campo-design/tokens": "^0.3.2",
46
+ "@campo-design/webawesome": "^0.4.2"
42
47
  },
43
48
  "scripts": {
44
49
  "build": "node scripts/build.js",