From dff62c80138fdecdb350137e30cb4bba72c2bb1e Mon Sep 17 00:00:00 2001 From: viraj-10 Date: Tue, 9 Jul 2024 14:39:34 +0530 Subject: [PATCH 1/5] fix: added isflipped flag --- .../overlays/src/useOverlayPosition.ts | 10 ++ .../src/web/overlays/src/calculatePosition.ts | 92 +++++++++---------- .../web/overlays/src/useOverlayPosition.ts | 5 + .../styled/react/src/core/styled-system.ts | 1 + .../react/src/resolver/getWeightBaseOnPath.ts | 2 +- .../unstyled/popover/src/PopoverArrow.tsx | 5 + .../unstyled/popover/src/PopoverContent.tsx | 9 +- 7 files changed, 75 insertions(+), 49 deletions(-) diff --git a/packages/react-native-aria/overlays/src/useOverlayPosition.ts b/packages/react-native-aria/overlays/src/useOverlayPosition.ts index 49e70cb123..684cfd3df3 100644 --- a/packages/react-native-aria/overlays/src/useOverlayPosition.ts +++ b/packages/react-native-aria/overlays/src/useOverlayPosition.ts @@ -194,7 +194,9 @@ export function useOverlayPosition(props: AriaPositionProps) { placement: position.placement, arrowProps: arrowPropsWithStatusBarHeight, updatePosition, + isFlipped: position.isFlipped, }; + console.log('🚀 ~ useOverlayPosition ~ returnProps:', returnProps); if (position.maxHeight !== undefined) { //@ts-ignore @@ -239,6 +241,7 @@ export interface PositionResult { arrowOffsetTop?: number; maxHeight?: number; placement: PlacementAxis | undefined; + isFlipped?: boolean; } const calculatePosition = (opts: any): PositionResult => { @@ -309,6 +312,7 @@ function calculatePositionInternal( isContainerPositioned ); let normalizedOffset = offset; + let isFlipped = false; let space = getAvailableSpace( boundaryDimensions, containerOffsetWithBoundary, @@ -343,10 +347,15 @@ function calculatePositionInternal( // If the available space for the flipped position is greater than the original available space, flip. if (flippedSpace > space) { + isFlipped = true; placementInfo = flippedPlacementInfo; position = flippedPosition; normalizedOffset = offset; + } else { + isFlipped = false; } + } else { + isFlipped = false; } let delta = getDelta( @@ -404,6 +413,7 @@ function calculatePositionInternal( arrowOffsetLeft: arrowPosition.left, arrowOffsetTop: arrowPosition.top, placement: placementInfo.placement, + isFlipped, }; } diff --git a/packages/react-native-aria/overlays/src/web/overlays/src/calculatePosition.ts b/packages/react-native-aria/overlays/src/web/overlays/src/calculatePosition.ts index f15127012c..9f03b60f1d 100644 --- a/packages/react-native-aria/overlays/src/web/overlays/src/calculatePosition.ts +++ b/packages/react-native-aria/overlays/src/web/overlays/src/calculatePosition.ts @@ -1,4 +1,6 @@ // @ts-nocheck +/* eslint @typescript-eslint/no-unused-vars: 2 */ + /* * Copyright 2020 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); @@ -209,14 +211,8 @@ function computePosition( containerOffsetWithBoundary: Offset, isContainerPositioned: boolean ) { - let { - placement, - crossPlacement, - axis, - crossAxis, - size, - crossSize, - } = placementInfo; + let { placement, crossPlacement, axis, crossAxis, size, crossSize } = + placementInfo; let position: Position = {}; // button position @@ -280,22 +276,22 @@ function getMaxHeight( ) { return position.top != null ? // We want the distance between the top of the overlay to the bottom of the boundary - Math.max( - 0, - boundaryDimensions.height + - boundaryDimensions.top + - boundaryDimensions.scroll.top - // this is the bottom of the boundary - (containerOffsetWithBoundary.top + position.top) - // this is the top of the overlay - (margins.top + margins.bottom + padding) // save additional space for margin and padding - ) + Math.max( + 0, + boundaryDimensions.height + + boundaryDimensions.top + + boundaryDimensions.scroll.top - // this is the bottom of the boundary + (containerOffsetWithBoundary.top + position.top) - // this is the top of the overlay + (margins.top + margins.bottom + padding) // save additional space for margin and padding + ) : // We want the distance between the top of the trigger to the top of the boundary - Math.max( - 0, - childOffset.top + - containerOffsetWithBoundary.top - // this is the top of the trigger - (boundaryDimensions.top + boundaryDimensions.scroll.top) - // this is the top of the boundary - (margins.top + margins.bottom + padding) // save additional space for margin and padding - ); + Math.max( + 0, + childOffset.top + + containerOffsetWithBoundary.top - // this is the top of the trigger + (boundaryDimensions.top + boundaryDimensions.scroll.top) - // this is the top of the boundary + (margins.top + margins.bottom + padding) // save additional space for margin and padding + ); } function getAvailableSpace( @@ -311,26 +307,26 @@ function getAvailableSpace( return Math.max( 0, childOffset[axis] - - boundaryDimensions[axis] - - boundaryDimensions.scroll[axis] + - containerOffsetWithBoundary[axis] - - margins[axis] - - margins[FLIPPED_DIRECTION[axis]] - - padding + boundaryDimensions[axis] - + boundaryDimensions.scroll[axis] + + containerOffsetWithBoundary[axis] - + margins[axis] - + margins[FLIPPED_DIRECTION[axis]] - + padding ); } return Math.max( 0, boundaryDimensions[size] + - boundaryDimensions[axis] + - boundaryDimensions.scroll[axis] - - containerOffsetWithBoundary[axis] - - childOffset[axis] - - childOffset[size] - - margins[axis] - - margins[FLIPPED_DIRECTION[axis]] - - padding + boundaryDimensions[axis] + + boundaryDimensions.scroll[axis] - + containerOffsetWithBoundary[axis] - + childOffset[axis] - + childOffset[size] - + margins[axis] - + margins[FLIPPED_DIRECTION[axis]] - + padding ); } @@ -350,14 +346,9 @@ export function calculatePositionInternal( shouldOverlapWithTrigger: boolean ): PositionResult { let placementInfo = parsePlacement(placementInput); - let { - size, - crossAxis, - crossSize, - placement, - crossPlacement, - axis, - } = placementInfo; + // eslint-disable-next-line @typescript-eslint/no-unused-vars + let { size, crossAxis, crossSize, placement, crossPlacement, axis } = + placementInfo; let position = computePosition( childOffset, boundaryDimensions, @@ -368,7 +359,7 @@ export function calculatePositionInternal( containerOffsetWithBoundary, isContainerPositioned ); - + let isFlipped = false; let normalizedOffset = offset; let space = getAvailableSpace( boundaryDimensions, @@ -405,10 +396,15 @@ export function calculatePositionInternal( // If the available space for the flipped position is greater than the original available space, flip. if (flippedSpace > space) { + isFlipped = true; placementInfo = flippedPlacementInfo; position = flippedPosition; normalizedOffset = offset; + } else { + isFlipped = false; } + } else { + isFlipped = false; } let delta = getDelta( @@ -465,6 +461,7 @@ export function calculatePositionInternal( arrowOffsetLeft: arrowPosition.left, arrowOffsetTop: arrowPosition.top, placement: placementInfo.placement, + isFlipped, }; } @@ -502,7 +499,8 @@ export function calculatePosition(opts: PositionOpts): PositionResult { let overlaySize: Offset = getOffset(overlayNode); const matrix = getComputedStyle(overlayNode).getPropertyValue('transform'); const transform = matrix; - const regex = /matrix\((-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+)\)/; + const regex = + /matrix\((-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+),\s*(-?\d*\.?\d+)\)/; const matches = transform.match(regex); let scaleX = 1; let scaleY = 1; diff --git a/packages/react-native-aria/overlays/src/web/overlays/src/useOverlayPosition.ts b/packages/react-native-aria/overlays/src/web/overlays/src/useOverlayPosition.ts index f777877f07..048b6569e7 100644 --- a/packages/react-native-aria/overlays/src/web/overlays/src/useOverlayPosition.ts +++ b/packages/react-native-aria/overlays/src/web/overlays/src/useOverlayPosition.ts @@ -62,6 +62,8 @@ interface PositionAria { placement: PlacementAxis; /** Updates the position of the overlay. */ updatePosition(): void; + /** Whether the overlay is flipped. */ + isFlipped: boolean; } // @ts-ignore @@ -139,9 +141,11 @@ export function useOverlayPosition(props: AriaPositionProps): PositionAria { shouldOverlapWithTrigger, }) ); + // eslint-disable-next-line react-hooks/exhaustive-deps }, deps); // Update position when anything changes + // eslint-disable-next-line react-hooks/exhaustive-deps useLayoutEffect(updatePosition, deps); // Update position on window resize @@ -224,6 +228,7 @@ export function useOverlayPosition(props: AriaPositionProps): PositionAria { top: position.arrowOffsetTop, }, }, + isFlipped: position.isFlipped, updatePosition, }; } diff --git a/packages/styled/react/src/core/styled-system.ts b/packages/styled/react/src/core/styled-system.ts index 997e09f39a..fdda6888be 100644 --- a/packages/styled/react/src/core/styled-system.ts +++ b/packages/styled/react/src/core/styled-system.ts @@ -126,6 +126,7 @@ export const reservedKeys: Record = { indeterminate: { key: ':indeterminate', isState: true }, checked: { key: ':checked', isState: true }, readOnly: { key: ':readOnly', isState: true }, + flip: { key: ':flip', isState: true }, required: { key: ':required', isState: true }, invalid: { key: ':invalid', isState: true }, diff --git a/packages/styled/react/src/resolver/getWeightBaseOnPath.ts b/packages/styled/react/src/resolver/getWeightBaseOnPath.ts index ad909e1e5c..5a06f64739 100644 --- a/packages/styled/react/src/resolver/getWeightBaseOnPath.ts +++ b/packages/styled/react/src/resolver/getWeightBaseOnPath.ts @@ -29,10 +29,10 @@ export function getWeightBaseOnPath(path: Path) { indeterminate: 1, checked: 1, readOnly: 1, + flip: 1, required: 2, invalid: 2, - focus: 3, focusVisible: 4, hover: 5, diff --git a/packages/unstyled/popover/src/PopoverArrow.tsx b/packages/unstyled/popover/src/PopoverArrow.tsx index 98765fe287..61bdc945c8 100644 --- a/packages/unstyled/popover/src/PopoverArrow.tsx +++ b/packages/unstyled/popover/src/PopoverArrow.tsx @@ -15,6 +15,7 @@ const PopoverArrow = (StyledPopoverArrow: any) => arrowWidth, arrowProps, updateArrowElement, + isFlipped, }, } = usePopoverContent('PopoverContext'); @@ -76,6 +77,10 @@ const PopoverArrow = (StyledPopoverArrow: any) => }, additionalStyles, ]} + dataSet={{ flip: isFlipped }} + states={{ + flip: isFlipped, + }} /> ); diff --git a/packages/unstyled/popover/src/PopoverContent.tsx b/packages/unstyled/popover/src/PopoverContent.tsx index 2e364d4b81..8385cac507 100644 --- a/packages/unstyled/popover/src/PopoverContent.tsx +++ b/packages/unstyled/popover/src/PopoverContent.tsx @@ -108,6 +108,7 @@ const PopoverContent = (StyledPopoverContent: any, AnimatePresence?: any) => overlayProps, arrowProps, placement: calculatedPlacement, + isFlipped, } = useOverlayPosition({ placement: placement, targetRef, @@ -192,7 +193,9 @@ const PopoverContent = (StyledPopoverContent: any, AnimatePresence?: any) => }; return ( - + exit={exitAnimatedStyles} style={popoverContentStyle} ref={mergedRef} + dataSet={{ flip: isFlipped }} + states={{ + flip: isFlipped, + }} > {children} From 18ce045afe1545b8506bb56246ad99162e395947 Mon Sep 17 00:00:00 2001 From: viraj-10 Date: Tue, 9 Jul 2024 14:42:34 +0530 Subject: [PATCH 2/5] chore: patch bump overlay, style, popover --- example/storybook-nativewind/package.json | 6 +++--- example/storybook/package.json | 2 +- packages/config/package.json | 10 +++++----- packages/react-native-aria/overlays/CHANGELOG.md | 6 ++++++ packages/react-native-aria/overlays/package.json | 2 +- packages/styled/react/CHANGELOG.md | 6 ++++++ packages/styled/react/package.json | 2 +- packages/themed/CHANGELOG.md | 8 ++++++++ packages/themed/package.json | 8 ++++---- packages/unstyled/popover/CHANGELOG.md | 8 ++++++++ packages/unstyled/popover/package.json | 4 ++-- 11 files changed, 45 insertions(+), 17 deletions(-) diff --git a/example/storybook-nativewind/package.json b/example/storybook-nativewind/package.json index d966401010..3d6fffc703 100644 --- a/example/storybook-nativewind/package.json +++ b/example/storybook-nativewind/package.json @@ -30,9 +30,9 @@ "@expo/webpack-config": "^0.17.2", "@geometricpanda/storybook-addon-iframe": "^0.2.2", "@gluestack-style/animation-resolver": "^1.0.4", - "@gluestack-style/react": "^1.0.56", + "@gluestack-style/react": "^1.0.57", "@gluestack-ui/config": "^1.1.19", - "@gluestack-ui/themed": "^1.1.33", + "@gluestack-ui/themed": "^1.1.34", "@gluestack/design-system": "^0.5.36", "@legendapp/motion": "^2.2.0", "@react-aria/button": "^3.7.0", @@ -43,7 +43,7 @@ "@react-aria/separator": "^3.3.0", "@react-aria/utils": "^3.15.0", "@react-native-aria/button": "^0.2.7", - "@react-native-aria/overlays": "^0.3.12", + "@react-native-aria/overlays": "^0.3.13", "@react-native-aria/separator": "^0.2.6", "@react-native-async-storage/async-storage": "~1.17.3", "@react-native-community/datetimepicker": "6.5.2", diff --git a/example/storybook/package.json b/example/storybook/package.json index c5c8adbc42..4c6384df9e 100644 --- a/example/storybook/package.json +++ b/example/storybook/package.json @@ -35,7 +35,7 @@ "@react-aria/separator": "^3.3.0", "@react-aria/utils": "^3.15.0", "@react-native-aria/button": "^0.2.7", - "@react-native-aria/overlays": "0.3.12", + "@react-native-aria/overlays": "0.3.13", "@react-native-aria/separator": "^0.2.6", "@react-native-async-storage/async-storage": "~1.17.3", "@react-native-community/datetimepicker": "6.5.2", diff --git a/packages/config/package.json b/packages/config/package.json index 37b0fd0e3b..e38e70a406 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -37,7 +37,7 @@ "@expo/html-elements": "latest", "@gluestack-style/animation-resolver": "1.0.4", "@gluestack-style/legend-motion-animation-driver": "1.0.3", - "@gluestack-style/react": "1.0.56", + "@gluestack-style/react": "1.0.57", "@gluestack-ui/accordion": "1.0.5", "@gluestack-ui/actionsheet": "0.2.43", "@gluestack-ui/alert": "0.1.15", @@ -55,7 +55,7 @@ "@gluestack-ui/menu": "0.2.34", "@gluestack-ui/modal": "0.1.34", "@gluestack-ui/overlay": "0.1.14", - "@gluestack-ui/popover": "0.1.35", + "@gluestack-ui/popover": "0.1.36", "@gluestack-ui/pressable": "0.1.16", "@gluestack-ui/progress": "0.1.15", "@gluestack-ui/provider": "0.1.12", @@ -66,14 +66,14 @@ "@gluestack-ui/switch": "0.1.22", "@gluestack-ui/tabs": "0.1.16", "@gluestack-ui/textarea": "0.1.23", - "@gluestack-ui/themed": "1.1.33", + "@gluestack-ui/themed": "1.1.34", "@gluestack-ui/toast": "1.0.5", "@gluestack-ui/tooltip": "0.1.31", "@legendapp/motion": "latest" }, "peerDependencies": { - "@gluestack-style/react": ">=1.0.56", - "@gluestack-ui/themed": ">=1.1.33" + "@gluestack-style/react": ">=1.0.57", + "@gluestack-ui/themed": ">=1.1.34" }, "release-it": { "git": { diff --git a/packages/react-native-aria/overlays/CHANGELOG.md b/packages/react-native-aria/overlays/CHANGELOG.md index 71c8a20c07..6d35accb20 100644 --- a/packages/react-native-aria/overlays/CHANGELOG.md +++ b/packages/react-native-aria/overlays/CHANGELOG.md @@ -1,5 +1,11 @@ # @react-native-aria/overlays +## 0.3.13 + +### Patch Changes + +- feat: added flip state to popover + ## 0.3.12 ### Patch Changes diff --git a/packages/react-native-aria/overlays/package.json b/packages/react-native-aria/overlays/package.json index 3099d9f5d1..40fbcaa5f9 100644 --- a/packages/react-native-aria/overlays/package.json +++ b/packages/react-native-aria/overlays/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-aria/overlays", - "version": "0.3.12", + "version": "0.3.13", "description": "Overlay utilities. Part of react-native-aria", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/packages/styled/react/CHANGELOG.md b/packages/styled/react/CHANGELOG.md index 5249e69f7e..e45431fcb9 100644 --- a/packages/styled/react/CHANGELOG.md +++ b/packages/styled/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @gluestack-style/react +## 1.0.57 + +### Patch Changes + +- feat: added flip state to popover + ## 1.0.56 ### Patch Changes diff --git a/packages/styled/react/package.json b/packages/styled/react/package.json index ba8fcde5c7..6adfa8491b 100644 --- a/packages/styled/react/package.json +++ b/packages/styled/react/package.json @@ -1,7 +1,7 @@ { "name": "@gluestack-style/react", "description": "A universal & performant styling library for React Native, Next.js & React", - "version": "1.0.56", + "version": "1.0.57", "keywords": [ "React Native", "Next.js", diff --git a/packages/themed/CHANGELOG.md b/packages/themed/CHANGELOG.md index e80ebfd36d..da9efb4f59 100644 --- a/packages/themed/CHANGELOG.md +++ b/packages/themed/CHANGELOG.md @@ -1,5 +1,13 @@ # @gluestack-ui/themed +## 1.1.34 + +### Patch Changes + +- Updated dependencies + - @gluestack-ui/popover@0.1.36 + - @gluestack-style/react@1.0.57 + ## 1.1.33 ### Patch Changes diff --git a/packages/themed/package.json b/packages/themed/package.json index 196b7b74d5..f859f084df 100644 --- a/packages/themed/package.json +++ b/packages/themed/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/themed", - "version": "1.1.33", + "version": "1.1.34", "main": "build/index.js", "types": "build/index.d.ts", "module": "build/index", @@ -54,7 +54,7 @@ "@gluestack-ui/menu": "0.2.34", "@gluestack-ui/modal": "0.1.34", "@gluestack-ui/overlay": "0.1.14", - "@gluestack-ui/popover": "0.1.35", + "@gluestack-ui/popover": "0.1.36", "@gluestack-ui/pressable": "0.1.16", "@gluestack-ui/progress": "0.1.15", "@gluestack-ui/provider": "0.1.12", @@ -73,7 +73,7 @@ "@babel/preset-env": "^7.22.9", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", - "@gluestack-style/react": "^1.0.55", + "@gluestack-style/react": "^1.0.57", "@types/react-native": "^0.72.3", "file-loader": "^6.2.0", "react": "^18.2.0", @@ -86,7 +86,7 @@ "webpack-cli": "^5.1.4" }, "peerDependencies": { - "@gluestack-style/react": ">=1.0.55", + "@gluestack-style/react": ">=1.0.57", "@types/react-native": ">=0.72", "react": ">=16", "react-dom": ">=16", diff --git a/packages/unstyled/popover/CHANGELOG.md b/packages/unstyled/popover/CHANGELOG.md index f7660be596..b9ae8627ab 100644 --- a/packages/unstyled/popover/CHANGELOG.md +++ b/packages/unstyled/popover/CHANGELOG.md @@ -1,5 +1,13 @@ # @gluestack-ui/popover +## 0.1.36 + +### Patch Changes + +- feat: added flip state to popover +- Updated dependencies + - @react-native-aria/overlays@0.3.13 + ## 0.1.35 ### Patch Changes diff --git a/packages/unstyled/popover/package.json b/packages/unstyled/popover/package.json index bc76357062..d72af57a37 100644 --- a/packages/unstyled/popover/package.json +++ b/packages/unstyled/popover/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/popover", - "version": "0.1.35", + "version": "0.1.36", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", @@ -49,7 +49,7 @@ "@react-native-aria/dialog": "^0.0.4", "@react-native-aria/focus": "^0.2.9", "@react-native-aria/interactions": "0.2.13", - "@react-native-aria/overlays": "^0.3.12" + "@react-native-aria/overlays": "^0.3.13" }, "peerDependencies": { "react": ">=16", From 3e451402c2f90152bc2a525c332ca4f15d37c464 Mon Sep 17 00:00:00 2001 From: viraj-10 Date: Tue, 9 Jul 2024 14:48:41 +0530 Subject: [PATCH 3/5] fix: removed console log --- packages/react-native-aria/overlays/src/useOverlayPosition.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-native-aria/overlays/src/useOverlayPosition.ts b/packages/react-native-aria/overlays/src/useOverlayPosition.ts index 684cfd3df3..c867c8fcf5 100644 --- a/packages/react-native-aria/overlays/src/useOverlayPosition.ts +++ b/packages/react-native-aria/overlays/src/useOverlayPosition.ts @@ -196,7 +196,6 @@ export function useOverlayPosition(props: AriaPositionProps) { updatePosition, isFlipped: position.isFlipped, }; - console.log('🚀 ~ useOverlayPosition ~ returnProps:', returnProps); if (position.maxHeight !== undefined) { //@ts-ignore From 97eff9f3b90b9fcc46c1e76752e8c3b1c4508cc1 Mon Sep 17 00:00:00 2001 From: viraj-10 Date: Tue, 9 Jul 2024 14:51:16 +0530 Subject: [PATCH 4/5] fix: overlay console --- example/storybook-nativewind/package.json | 2 +- example/storybook/package.json | 2 +- packages/react-native-aria/overlays/CHANGELOG.md | 6 ++++++ packages/react-native-aria/overlays/package.json | 2 +- packages/unstyled/popover/package.json | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/example/storybook-nativewind/package.json b/example/storybook-nativewind/package.json index 3d6fffc703..30ff6cdbd7 100644 --- a/example/storybook-nativewind/package.json +++ b/example/storybook-nativewind/package.json @@ -43,7 +43,7 @@ "@react-aria/separator": "^3.3.0", "@react-aria/utils": "^3.15.0", "@react-native-aria/button": "^0.2.7", - "@react-native-aria/overlays": "^0.3.13", + "@react-native-aria/overlays": "^0.3.14", "@react-native-aria/separator": "^0.2.6", "@react-native-async-storage/async-storage": "~1.17.3", "@react-native-community/datetimepicker": "6.5.2", diff --git a/example/storybook/package.json b/example/storybook/package.json index 4c6384df9e..66dc27274d 100644 --- a/example/storybook/package.json +++ b/example/storybook/package.json @@ -35,7 +35,7 @@ "@react-aria/separator": "^3.3.0", "@react-aria/utils": "^3.15.0", "@react-native-aria/button": "^0.2.7", - "@react-native-aria/overlays": "0.3.13", + "@react-native-aria/overlays": "0.3.14", "@react-native-aria/separator": "^0.2.6", "@react-native-async-storage/async-storage": "~1.17.3", "@react-native-community/datetimepicker": "6.5.2", diff --git a/packages/react-native-aria/overlays/CHANGELOG.md b/packages/react-native-aria/overlays/CHANGELOG.md index 6d35accb20..09dd380416 100644 --- a/packages/react-native-aria/overlays/CHANGELOG.md +++ b/packages/react-native-aria/overlays/CHANGELOG.md @@ -1,5 +1,11 @@ # @react-native-aria/overlays +## 0.3.14 + +### Patch Changes + +- feat: overlay release + ## 0.3.13 ### Patch Changes diff --git a/packages/react-native-aria/overlays/package.json b/packages/react-native-aria/overlays/package.json index 40fbcaa5f9..1b4c7a64be 100644 --- a/packages/react-native-aria/overlays/package.json +++ b/packages/react-native-aria/overlays/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-aria/overlays", - "version": "0.3.13", + "version": "0.3.14", "description": "Overlay utilities. Part of react-native-aria", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/packages/unstyled/popover/package.json b/packages/unstyled/popover/package.json index d72af57a37..f9bd031276 100644 --- a/packages/unstyled/popover/package.json +++ b/packages/unstyled/popover/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "@gluestack-ui/hooks": "0.1.11", - "@gluestack-ui/overlay": "^0.1.14", + "@gluestack-ui/overlay": "0.1.14", "@gluestack-ui/utils": "^0.1.12", "@react-native-aria/dialog": "^0.0.4", "@react-native-aria/focus": "^0.2.9", From af0adce2235b622162875c1fe87fd2280a56e08f Mon Sep 17 00:00:00 2001 From: viraj-10 Date: Tue, 9 Jul 2024 14:55:09 +0530 Subject: [PATCH 5/5] fix: version upgrade --- packages/unstyled/popover/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unstyled/popover/package.json b/packages/unstyled/popover/package.json index f9bd031276..cc487be2b2 100644 --- a/packages/unstyled/popover/package.json +++ b/packages/unstyled/popover/package.json @@ -49,7 +49,7 @@ "@react-native-aria/dialog": "^0.0.4", "@react-native-aria/focus": "^0.2.9", "@react-native-aria/interactions": "0.2.13", - "@react-native-aria/overlays": "^0.3.13" + "@react-native-aria/overlays": "0.3.14" }, "peerDependencies": { "react": ">=16",