Skip to content

Commit 9da2626

Browse files
committed
fix: anatomy entrypoint
1 parent a3d7a02 commit 9da2626

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

packages/react/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ title: Changelog
44
description: All notable changes will be documented in this file.
55
---
66

7-
87
## [Unreleased]
98

9+
### Fixed
10+
11+
- **Utility**: Incorrect entrypoint in `package.json` for `/anatomy`.
12+
1013
## [4.4.0] - 2024-11-11
1114

1215
### Added
1316

14-
- **Utility**: Exported `createAnatomy` for defining custom component anatomy, now accessible via `import { createAnatomy } from '@ark-ui/react/anatomy'`.
17+
- **Utility**: Exported `createAnatomy` for defining custom component anatomy, now accessible via
18+
`import { createAnatomy } from '@ark-ui/react/anatomy'`.
1519

1620
### Fixed
1721

packages/react/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,12 @@
7373
"./anatomy": {
7474
"source": "./src/components/anatomy.ts",
7575
"import": {
76-
"types": "./dist/components/anatomy.d.ts"
76+
"types": "./dist/components/anatomy.d.ts",
77+
"default": "./dist/components/collection.js"
7778
},
7879
"require": {
79-
"types": "./dist/components/anatomy.d.cts"
80+
"types": "./dist/components/anatomy.d.cts",
81+
"default": "./dist/components/anatomy.cjs"
8082
}
8183
},
8284
"./collection": {

packages/vue/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ description: All notable changes will be documented in this file.
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- **Utility**: Incorrect entrypoint in `package.json` for `/anatomy`.
12+
913
## [4.4.0] - 2024-11-11
1014

1115
### Added
1216

13-
- **Utility**: Exported `createAnatomy` for defining custom component anatomy, now accessible via `import { createAnatomy } from '@ark-ui/vue/anatomy'`.
17+
- **Utility**: Exported `createAnatomy` for defining custom component anatomy, now accessible via
18+
`import { createAnatomy } from '@ark-ui/vue/anatomy'`.
1419

1520
### Fixed
1621

packages/vue/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@
7171
"./anatomy": {
7272
"source": "./src/components/anatomy.ts",
7373
"import": {
74-
"types": "./dist/components/anatomy.d.ts"
74+
"types": "./dist/components/anatomy.d.ts",
75+
"default": "./dist/components/anatomy.js"
7576
},
7677
"require": {
77-
"types": "./dist/components/anatomy.d.cts"
78+
"types": "./dist/components/anatomy.d.cts",
79+
"default": "./dist/components/anatomy.cjs"
7880
}
7981
},
8082
"./collection": {

0 commit comments

Comments
 (0)