From f3353728bdae88cd352e6fb15c4c2992f3a65ed9 Mon Sep 17 00:00:00 2001 From: Todd Austin Date: Tue, 16 Jul 2024 11:48:21 -0500 Subject: [PATCH] updating various typos (#3387) --- packages/@headlessui-react/src/components/popover/popover.tsx | 2 +- .../@headlessui-react/src/components/transition/transition.tsx | 2 +- packages/@headlessui-vue/src/components/popover/popover.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/@headlessui-react/src/components/popover/popover.tsx b/packages/@headlessui-react/src/components/popover/popover.tsx index 3f0642f4c5..034e22c87a 100644 --- a/packages/@headlessui-react/src/components/popover/popover.tsx +++ b/packages/@headlessui-react/src/components/popover/popover.tsx @@ -297,7 +297,7 @@ function PopoverFn( } } - // Use another heuristic to try and calculate wether or not the focusable + // Use another heuristic to try and calculate whether or not the focusable // elements are near each other (aka, following the default focus/tab order // from the browser). If they are then it doesn't really matter if they are // portalled or not because we can follow the default tab order. But if they diff --git a/packages/@headlessui-react/src/components/transition/transition.tsx b/packages/@headlessui-react/src/components/transition/transition.tsx index 1167e6ef7b..a61a7a0617 100644 --- a/packages/@headlessui-react/src/components/transition/transition.tsx +++ b/packages/@headlessui-react/src/components/transition/transition.tsx @@ -297,7 +297,7 @@ function TransitionChildFn ) { let { - // Wether or not to enable transitions on the current element (by exposing + // Whether or not to enable transitions on the current element (by exposing // transition data). When set to false, the `Transition` component still // acts as a transition boundary for `TransitionChild` components. transition = true, diff --git a/packages/@headlessui-vue/src/components/popover/popover.ts b/packages/@headlessui-vue/src/components/popover/popover.ts index 5eb7d8ad1c..564c228fbc 100644 --- a/packages/@headlessui-vue/src/components/popover/popover.ts +++ b/packages/@headlessui-vue/src/components/popover/popover.ts @@ -130,7 +130,7 @@ export let Popover = defineComponent({ } } - // Use another heuristic to try and calculate wether or not the focusable + // Use another heuristic to try and calculate whether or not the focusable // elements are near each other (aka, following the default focus/tab // order from the browser). If they are then it doesn't really matter if // they are portalled or not because we can follow the default tab order.