From 41b11b4db1906a2501f4293d39f9e9095840e1cc Mon Sep 17 00:00:00 2001 From: Andrew Huth Date: Wed, 4 Jan 2023 16:43:07 -0500 Subject: [PATCH] fix: pin @headlessui/react to 1.7.5 Resolves e2e test failures in Traject (see https://github.com/FB-PLP/traject/pull/13040). Issue starts in 1.7.6, possibly from https://github.com/tailwindlabs/headlessui/pull/2093. --- package.json | 2 +- .../__snapshots__/Dropdown.test.tsx.snap | 20 +++++++++---------- .../Menu/__snapshots__/Menu.test.tsx.snap | 6 +++--- .../Select/__snapshots__/Select.test.tsx.snap | 20 +++++++++---------- yarn.lock | 10 +++++----- 5 files changed, 29 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index b3a08d45b..118394c68 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "react": ">= 16.8.0" }, "dependencies": { - "@headlessui/react": "^1.7.7", + "@headlessui/react": "1.7.5", "@popperjs/core": "^2.11.6", "@tippyjs/react": "^4.2.6", "clsx": "^1.2.1", diff --git a/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap b/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap index 95da292ed..99ad703b6 100644 --- a/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap +++ b/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap @@ -16,7 +16,7 @@ exports[` Compact story renders snapshot 1`] = `