From 0505e92b83d6fcdc3fc37d5f77a31cba4e6b6bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Mon, 1 May 2023 18:21:28 +0200 Subject: [PATCH] Move `types` condition to the front (#2469) * move `types` condition to the front * Update changelog --------- Co-authored-by: Jordan Pittman --- packages/@headlessui-react/CHANGELOG.md | 4 ++++ packages/@headlessui-react/package.json | 4 ++-- packages/@headlessui-vue/CHANGELOG.md | 4 ++++ packages/@headlessui-vue/package.json | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/@headlessui-react/CHANGELOG.md b/packages/@headlessui-react/CHANGELOG.md index c43fe32..c3f674b 100644 --- a/packages/@headlessui-react/CHANGELOG.md +++ b/packages/@headlessui-react/CHANGELOG.md @@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Ensure `FocusTrap` is only active when the given `enabled` value is `true` ([#2456](https://github.com/tailwindlabs/headlessui/pull/2456)) - Stop `` from overwriting classes on re-render ([#2457](https://github.com/tailwindlabs/headlessui/pull/2457)) +### Changed + +- Move `types` condition to the front ([#2469](https://github.com/tailwindlabs/headlessui/pull/2469)) + ## [1.7.14] - 2023-04-12 ### Fixed diff --git a/packages/@headlessui-react/package.json b/packages/@headlessui-react/package.json index 197ba70..99749e1 100644 --- a/packages/@headlessui-react/package.json +++ b/packages/@headlessui-react/package.json @@ -11,9 +11,9 @@ "dist" ], "exports": { + "types": "./dist/index.d.ts", "import": "./dist/headlessui.esm.js", - "require": "./dist/index.cjs", - "types": "./dist/index.d.ts" + "require": "./dist/index.cjs" }, "type": "module", "sideEffects": false, diff --git a/packages/@headlessui-vue/CHANGELOG.md b/packages/@headlessui-vue/CHANGELOG.md index acd57d3..54a23bc 100644 --- a/packages/@headlessui-vue/CHANGELOG.md +++ b/packages/@headlessui-vue/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Ensure `FocusTrap` is only active when the given `enabled` value is `true` ([#2456](https://github.com/tailwindlabs/headlessui/pull/2456)) - Ensure the exposed `activeIndex` is up to date for the `Combobox` component ([#2463](https://github.com/tailwindlabs/headlessui/pull/2463)) +### Changed + +- Move `types` condition to the front ([#2469](https://github.com/tailwindlabs/headlessui/pull/2469)) + ## [1.7.13] - 2023-04-12 ### Fixed diff --git a/packages/@headlessui-vue/package.json b/packages/@headlessui-vue/package.json index d3e861b..87f67eb 100644 --- a/packages/@headlessui-vue/package.json +++ b/packages/@headlessui-vue/package.json @@ -11,9 +11,9 @@ "dist" ], "exports": { + "types": "./dist/index.d.ts", "import": "./dist/headlessui.esm.js", - "require": "./dist/index.cjs", - "types": "./dist/index.d.ts" + "require": "./dist/index.cjs" }, "type": "module", "sideEffects": false,