diff --git a/.changeset/spotty-lies-beg.md b/.changeset/spotty-lies-beg.md deleted file mode 100644 index a845151cc84..00000000000 --- a/.changeset/spotty-lies-beg.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 274f3e70d8e..af8a706a20a 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 1.70.15 + +### Patch Changes + +- [#5492](https://github.com/cultureamp/kaizen-design-system/pull/5492) [`907da4c`](https://github.com/cultureamp/kaizen-design-system/commit/907da4c38413f4d6c7239da1a147684c4b651450) - Set fields in export so that Vitest can resolve to ESM modules instead of CJS. + ## 1.70.14 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index 62fbc844950..2c8b7215f93 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@kaizen/components", - "version": "1.70.14", + "version": "1.70.15", "description": "Kaizen component library", "author": "Geoffrey Chong ", "homepage": "https://cultureamp.design", @@ -30,6 +30,58 @@ "sideEffects": [ "styles.css" ], + "exports": { + ".": { + "import": "./dist/esm/index.mjs", + "require": "./dist/cjs/index.cjs", + "types": "./dist/types/index.d.ts" + }, + "./future": { + "import": "./dist/esm/future.mjs", + "require": "./dist/cjs/future.cjs", + "types": "./dist/types/__rc__/index.d.ts" + }, + "./v1/actions": { + "import": "./dist/esm/actionsV1.mjs", + "require": "./dist/cjs/actionsV1.cjs", + "types": "./dist/types/v1-actions.d.ts" + }, + "./v1/overlays": { + "import": "./dist/esm/overlaysV1.mjs", + "main": "./dist/cjs/overlaysV1.cjs", + "types": "./dist/types/v1-overlays.d.ts" + }, + "./v2/actions": { + "import": "./dist/esm/actionsV2.mjs", + "require": "./dist/cjs/actionsV2.cjs", + "types": "./dist/types/v2-actions.d.ts" + }, + "./v2/overlays": { + "import": "./dist/esm/overlaysV2.mjs", + "require": "./dist/cjs/overlaysV2.cjs", + "types": "./dist/types/v2-overlays.d.ts" + }, + "./v3/actions": { + "import": "./dist/esm/actionsV3.mjs", + "require": "./dist/cjs/actionsV3.cjs", + "types": "./dist/types/v3-actions.d.ts" + }, + "./v3/overlays": { + "import": "./dist/esm/overlaysV3.mjs", + "require": "./dist/cjs/overlaysV3.cjs", + "types": "./dist/types/v3-overlays.d.ts" + }, + "./v3/react-aria": { + "import": "./dist/esm/reactAriaV3.mjs", + "require": "./dist/cjs/reactAriaV3.cjs", + "types": "./dist/types/__react-aria__/index.d.ts" + }, + "./v3/react-aria-components": { + "import": "./dist/esm/reactAriaComponentsV3.mjs", + "require": "./dist/cjs/reactAriaComponentsV3.cjs", + "types": "./dist/types/__react-aria-components__/index.d.ts" + } + }, "bin": { "kaizen-codemod": "./bin/codemod.sh" },