Skip to content

Commit

Permalink
fix(deps): update react-aria (#5321)
Browse files Browse the repository at this point in the history
* fix(deps): update react-aria

* fix: fix errors from update

---------

Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com>
Co-authored-by: Cassandra Tam <[email protected]>
  • Loading branch information
cultureamp-renovate[bot] and HeartSquared authored Dec 5, 2024
1 parent b4af064 commit d67d3b2
Show file tree
Hide file tree
Showing 5 changed files with 1,084 additions and 1,105 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-turkeys-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@kaizen/components': patch
---

Update react-aria deps.
36 changes: 18 additions & 18 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,24 @@
"dependencies": {
"@floating-ui/react-dom": "^2.1.2",
"@headlessui/react": "<=1.5.0",
"@internationalized/date": "^3.5.6",
"@internationalized/date": "^3.6.0",
"@popperjs/core": "^2.11.8",
"@reach/tabs": "^0.18.0",
"@react-aria/button": "^3.10.1",
"@react-aria/datepicker": "^3.11.4",
"@react-aria/focus": "^3.18.4",
"@react-aria/i18n": "^3.12.3",
"@react-aria/listbox": "^3.13.5",
"@react-aria/menu": "^3.15.5",
"@react-aria/overlays": "^3.23.4",
"@react-aria/select": "^3.14.11",
"@react-aria/utils": "^3.25.3",
"@react-stately/collections": "^3.11.0",
"@react-stately/datepicker": "^3.10.3",
"@react-stately/list": "^3.11.0",
"@react-stately/menu": "^3.8.3",
"@react-stately/select": "^3.6.8",
"@react-types/shared": "^3.25.0",
"@react-aria/button": "^3.11.0",
"@react-aria/datepicker": "^3.12.0",
"@react-aria/focus": "^3.19.0",
"@react-aria/i18n": "^3.12.4",
"@react-aria/listbox": "^3.13.6",
"@react-aria/menu": "^3.16.0",
"@react-aria/overlays": "^3.24.0",
"@react-aria/select": "^3.15.0",
"@react-aria/utils": "^3.26.0",
"@react-stately/collections": "^3.12.0",
"@react-stately/datepicker": "^3.11.0",
"@react-stately/list": "^3.11.1",
"@react-stately/menu": "^3.9.0",
"@react-stately/select": "^3.6.9",
"@react-types/shared": "^3.26.0",
"classnames": "^2.5.1",
"date-fns": "^4.1.0",
"lodash.debounce": "^4.0.8",
Expand All @@ -82,8 +82,8 @@
"prosemirror-utils": "^1.2.2",
"prosemirror-view": "^1.37.0",
"react-animate-height": "^3.2.3",
"react-aria": "^3.35.1",
"react-aria-components": "^1.4.1",
"react-aria": "^3.36.0",
"react-aria-components": "^1.5.0",
"react-day-picker": "8.10.1",
"react-focus-lock": "^2.13.2",
"react-focus-on": "^3.9.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ vi.mock('../../context', () => ({
}))

const itemMock: MultiSelectOptionProps['item'] & { value: ItemType } = {
index: 0,
type: 'type-mock',
key: 'key-mock',
value: { label: 'label-mock', value: 'value-mock' },
Expand Down
5 changes: 3 additions & 2 deletions packages/components/src/__overlays__/Tooltip/v3/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { forwardRef, useContext, useLayoutEffect, useState } from 'react'
import {
Tooltip as RACTooltip,
TooltipContext,
TooltipProps as RACTooltipProps,
type TooltipProps as RACTooltipProps,
TooltipTriggerStateContext,
useContextProps,
} from 'react-aria-components'
Expand Down Expand Up @@ -74,7 +74,8 @@ export const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
{shouldInlineHiddenContent ? (
<VisuallyHidden>
{typeof children === 'function'
? children({
? contextState &&
children({
placement: 'center',
isEntering: false,
isExiting: false,
Expand Down
Loading

0 comments on commit d67d3b2

Please sign in to comment.