quilt-react 0.2.1 → 0.2.2

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 +10 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -5,10 +5,18 @@ React components and hooks over the shared Quilt engine and DOM renderer. React
5
5
  ## Install
6
6
 
7
7
  ```sh
8
- npm install quilt-react react react-dom
8
+ npm install quilt-react
9
9
  ```
10
10
 
11
- Core and DOM are installed automatically. TypeScript apps also need matching `@types/react` and `@types/react-dom`. Use an ESM-capable bundler with CSS imports. For local archives, see [packaging instructions](https://github.com/niko-dellic/quilt/blob/main/docs/packaging.md).
11
+ `quilt-core` and `quilt-vanilla` are installed automatically.
12
+
13
+ Requires React and React DOM 18.3 or 19. They are peer dependencies so Quilt shares
14
+ your application’s React instance. In an existing React application, no additional
15
+ install command is needed. When creating a new application, configure React and
16
+ React DOM as application dependencies; npm 7 and newer also resolve missing peers
17
+ automatically unless peer installation is disabled.
18
+
19
+ TypeScript apps also need matching `@types/react` and `@types/react-dom`. Use an ESM-capable bundler with CSS imports. For local archives, see [packaging instructions](https://github.com/niko-dellic/quilt/blob/main/docs/packaging.md).
12
20
 
13
21
  ## Use
14
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quilt-react",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "React split panes and tabs with shared DOM chrome and browser window popouts",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,8 +30,8 @@
30
30
  "prepack": "node ../../scripts/build-package.mjs react --dependencies"
31
31
  },
32
32
  "dependencies": {
33
- "quilt-core": "0.2.1",
34
- "quilt-vanilla": "0.2.1"
33
+ "quilt-core": "0.2.2",
34
+ "quilt-vanilla": "0.2.2"
35
35
  },
36
36
  "sideEffects": [
37
37
  "**/*.css"