@mechane-ai/elements 0.5.0 → 0.5.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.
- package/README.md +2 -1
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -7,7 +7,8 @@ receive values and callbacks; applications own routing, data, identity, and pers
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
Install [Elements from npm](https://www.npmjs.com/package/@mechane-ai/elements). React and React DOM are peer
|
|
10
|
-
dependencies.
|
|
10
|
+
dependencies. TypeScript consumers also supply the optional `@types/react` peer so declarations resolve in isolated
|
|
11
|
+
builds without relying on hoisted development dependencies.
|
|
11
12
|
|
|
12
13
|
```sh
|
|
13
14
|
pnpm add @mechane-ai/elements react react-dom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mechane-ai/elements",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Elements by Mechane — React components for applications, AI interfaces, and analytical graphics",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -149,7 +149,13 @@
|
|
|
149
149
|
"strip-ansi": "7.2.0"
|
|
150
150
|
},
|
|
151
151
|
"peerDependencies": {
|
|
152
|
+
"@types/react": "^19.3.0",
|
|
152
153
|
"react": "^19.3.1",
|
|
153
154
|
"react-dom": "^19.3.1"
|
|
155
|
+
},
|
|
156
|
+
"peerDependenciesMeta": {
|
|
157
|
+
"@types/react": {
|
|
158
|
+
"optional": true
|
|
159
|
+
}
|
|
154
160
|
}
|
|
155
161
|
}
|