@headless-tree/react 0.0.0-20250611124731 → 0.0.0-20250611223358

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/CHANGELOG.md +7 -2
  2. package/package.json +8 -2
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # @headless-tree/react
2
2
 
3
- ## 0.0.0-20250611124731
3
+ ## 0.0.0-20250611223358
4
4
 
5
5
  ### Minor Changes
6
6
 
7
+ - 647a072: Fixed incorrect package.json exports configurations to proper ESM and CJS exports (#104)
8
+ - 349d36e: change package.json["module"] to commonjs to fix inconsistent package definitiuons (#104)
7
9
  - e2faf37: Fixed an issue async data loaders that resolve data before the tree is mounted can cause the tree to not render at all
8
10
 
9
11
  Note: When using the `createTree()` API directly instead of going through the React `useTree` API, an additional call
@@ -13,9 +15,12 @@
13
15
  ### Patch Changes
14
16
 
15
17
  - Updated dependencies [727c982]
18
+ - Updated dependencies [c041a3f]
16
19
  - Updated dependencies [2887b0c]
20
+ - Updated dependencies [647a072]
21
+ - Updated dependencies [349d36e]
17
22
  - Updated dependencies [e2faf37]
18
- - @headless-tree/core@0.0.0-20250611124731
23
+ - @headless-tree/core@0.0.0-20250611223358
19
24
 
20
25
  ## 1.1.0
21
26
 
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@headless-tree/react",
3
- "version": "0.0.0-20250611124731",
3
+ "version": "0.0.0-20250611223358",
4
4
  "main": "lib/cjs/index.js",
5
5
  "module": "lib/esm/index.js",
6
6
  "types": "lib/esm/index.d.ts",
7
+ "exports": {
8
+ "types": "./lib/esm/index.d.ts",
9
+ "import": "./lib/esm/index.js",
10
+ "default": "./lib/cjs/index.js"
11
+ },
7
12
  "sideEffects": false,
8
13
  "scripts": {
9
14
  "build:cjs": "tsc -m commonjs --outDir lib/cjs",
@@ -16,6 +21,7 @@
16
21
  "directory": "packages/react"
17
22
  },
18
23
  "author": "Lukas Bach <npm@lukasbach.com>",
24
+ "funding": "https://github.com/sponsors/lukasbach",
19
25
  "license": "MIT",
20
26
  "devDependencies": {
21
27
  "@babel/preset-env": "^7.24.0",
@@ -28,7 +34,7 @@
28
34
  "typescript": "^5.7.2"
29
35
  },
30
36
  "peerDependencies": {
31
- "@headless-tree/core": "0.0.0-20250611124731",
37
+ "@headless-tree/core": "0.0.0-20250611223358",
32
38
  "react": "*",
33
39
  "react-dom": "*"
34
40
  }