Skip to content

Commit

Permalink
Merge pull request #2767 from gluestack/release/@react-native-aria/in…
Browse files Browse the repository at this point in the history
  • Loading branch information
gluestackadmin authored Mar 3, 2025
2 parents 29487a2 + 2e203e0 commit baa7682
Show file tree
Hide file tree
Showing 82 changed files with 471 additions and 191 deletions.
4 changes: 2 additions & 2 deletions example/storybook-nativewind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@gluestack-style/animation-resolver": "^1.0.4",
"@gluestack-style/react": "^1.0.57",
"@gluestack-ui/config": "^1.1.19",
"@gluestack-ui/themed": "^1.1.69",
"@gluestack-ui/themed": "^1.1.70",
"@gluestack/design-system": "^0.5.36",
"@gorhom/bottom-sheet": "^5.0.0-alpha.10",
"@legendapp/motion": "^2.2.0",
Expand All @@ -43,7 +43,7 @@
"@react-aria/overlays": "^3.13.0",
"@react-aria/separator": "^3.3.0",
"@react-aria/utils": "^3.15.0",
"@react-native-aria/button": "^0.2.8",
"@react-native-aria/button": "^0.2.9",
"@react-native-aria/checkbox": "^0.2.9",
"@react-native-aria/overlays": "^0.3.14",
"@react-native-aria/separator": "^0.2.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ It inherits all the properties of React Native's [View](https://reactnative.dev/
</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>boolean</Table.TText>
<Table.TText>string</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>false</Table.TText>
<Table.TText>-</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`Sets the currently selected option value, allowing the component to render with the corresponding option pre-selected.`}</Table.TText>
Expand Down Expand Up @@ -384,10 +384,10 @@ It inherits all the properties of React Native's [View](https://reactnative.dev/
</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>boolean</Table.TText>
<Table.TText>string</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>false</Table.TText>
<Table.TText>-</Table.TText>
</Table.TD>
<Table.TD>
<Table.TText>{`Sets the initial selected option value for a select component.`}</Table.TText>
Expand Down
2 changes: 1 addition & 1 deletion example/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@react-aria/overlays": "^3.13.0",
"@react-aria/separator": "^3.3.0",
"@react-aria/utils": "^3.15.0",
"@react-native-aria/button": "^0.2.8",
"@react-native-aria/button": "^0.2.9",
"@react-native-aria/overlays": "0.3.14",
"@react-native-aria/separator": "^0.2.6",
"@react-native-async-storage/async-storage": "~1.17.3",
Expand Down
16 changes: 2 additions & 14 deletions example/storybook/src/react-native-aria/Combobox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@ import { useButton } from '@react-native-aria/button';
import { useComboBoxState } from '@react-stately/combobox';
import { useComboBox } from '@react-native-aria/combobox';
import { useListBox, useOption } from '@react-native-aria/listbox';
import {
View,
Text,
Pressable,
TextInput,
ScrollView,
findNodeHandle,
Platform,
} from 'react-native';
import { View, Text, Pressable, TextInput, ScrollView } from 'react-native';

function contains(string, substring) {
if (substring.length === 0) {
Expand Down Expand Up @@ -129,11 +121,7 @@ function ListBoxPopup(props) {
<ScrollView
{...mergeProps(listBoxProps, otherProps)}
ref={(node) => {
if (Platform.OS === 'web') {
listBoxRef.current = findNodeHandle(node);
} else {
listBoxRef.current = node;
}
listBoxRef.current = node;
}}
style={{
position: 'absolute',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ import {
Pressable,
TouchableWithoutFeedback,
StyleSheet,
findNodeHandle,
ScrollView,
Platform,
} from 'react-native';
import { useToggleState } from '@react-stately/toggle';

Expand Down Expand Up @@ -56,7 +54,7 @@ export function TriggerWrapper() {
}

const OverlayView = ({ targetRef }) => {
let overlayRef = React.useRef();
let overlayRef = React.useRef<ScrollView | null>();

const { overlayProps } = useOverlayPosition({
placement: 'top',
Expand All @@ -75,11 +73,7 @@ const OverlayView = ({ targetRef }) => {
...overlayProps.style,
}}
ref={(node) => {
if (Platform.OS === 'web') {
overlayRef.current = findNodeHandle(node);
} else {
overlayRef.current = node;
}
overlayRef.current = node;
}}
>
<View
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"test": "bash ./scripts/test.sh",
"dev": "turbo run dev",
"watch": "turbo run watch --filter=./packages/**/* --parallel",
"build:unstyled": "turbo run build --filter=./packages/unstyled/*",
"build": "turbo run build --filter=@gluestack-style/react --filter=@react-native-aria/* --no-cache && yarn build:rest",
"build:rest": "turbo run build --filter=@gluestack-ui/* --filter=@gluestack-style/* --filter=!@gluestack-ui/nativewind-utils --no-cache",
Expand Down
44 changes: 22 additions & 22 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,42 +38,42 @@
"@gluestack-style/animation-resolver": "1.0.4",
"@gluestack-style/legend-motion-animation-driver": "1.0.3",
"@gluestack-style/react": "1.0.57",
"@gluestack-ui/accordion": "1.0.12",
"@gluestack-ui/actionsheet": "0.2.50",
"@gluestack-ui/accordion": "1.0.13",
"@gluestack-ui/actionsheet": "0.2.51",
"@gluestack-ui/alert": "0.1.16",
"@gluestack-ui/alert-dialog": "0.1.36",
"@gluestack-ui/alert-dialog": "0.1.37",
"@gluestack-ui/avatar": "0.1.18",
"@gluestack-ui/button": "1.0.12",
"@gluestack-ui/checkbox": "0.1.37",
"@gluestack-ui/button": "1.0.13",
"@gluestack-ui/checkbox": "0.1.38",
"@gluestack-ui/divider": "0.1.10",
"@gluestack-ui/fab": "0.1.26",
"@gluestack-ui/fab": "0.1.27",
"@gluestack-ui/form-control": "0.1.19",
"@gluestack-ui/icon": "0.1.25",
"@gluestack-ui/image": "0.1.15",
"@gluestack-ui/input": "0.1.36",
"@gluestack-ui/link": "0.1.27",
"@gluestack-ui/menu": "0.2.41",
"@gluestack-ui/modal": "0.1.39",
"@gluestack-ui/overlay": "0.1.20",
"@gluestack-ui/popover": "0.1.47",
"@gluestack-ui/pressable": "0.1.21",
"@gluestack-ui/image": "0.1.16",
"@gluestack-ui/input": "0.1.37",
"@gluestack-ui/link": "0.1.28",
"@gluestack-ui/menu": "0.2.42",
"@gluestack-ui/modal": "0.1.40",
"@gluestack-ui/overlay": "0.1.21",
"@gluestack-ui/popover": "0.1.48",
"@gluestack-ui/pressable": "0.1.22",
"@gluestack-ui/progress": "0.1.18",
"@gluestack-ui/provider": "0.1.17",
"@gluestack-ui/radio": "0.1.38",
"@gluestack-ui/provider": "0.1.18",
"@gluestack-ui/radio": "0.1.39",
"@gluestack-ui/select": "0.1.31",
"@gluestack-ui/slider": "0.1.30",
"@gluestack-ui/slider": "0.1.31",
"@gluestack-ui/spinner": "0.1.15",
"@gluestack-ui/switch": "0.1.27",
"@gluestack-ui/tabs": "0.1.22",
"@gluestack-ui/switch": "0.1.28",
"@gluestack-ui/tabs": "0.1.23",
"@gluestack-ui/textarea": "0.1.24",
"@gluestack-ui/themed": "1.1.69",
"@gluestack-ui/themed": "1.1.70",
"@gluestack-ui/toast": "1.0.9",
"@gluestack-ui/tooltip": "0.1.42",
"@gluestack-ui/tooltip": "0.1.43",
"@legendapp/motion": "latest"
},
"peerDependencies": {
"@gluestack-style/react": ">=1.0.57",
"@gluestack-ui/themed": ">=1.1.69"
"@gluestack-ui/themed": ">=1.1.70"
},
"release-it": {
"git": {
Expand Down
7 changes: 7 additions & 0 deletions packages/react-native-aria/button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @react-native-aria/button

## 0.2.9

### Patch Changes

- Updated dependencies
- @react-native-aria/interactions@0.2.15

## 0.2.8

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-aria/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-aria/button",
"version": "0.2.8",
"version": "0.2.9",
"description": "mono repo setup with bob",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@react-aria/utils": "^3.6.0",
"@react-native-aria/interactions": "0.2.14",
"@react-native-aria/interactions": "0.2.15",
"@react-stately/toggle": "^3.2.1",
"@react-types/checkbox": "^3.2.1"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/react-native-aria/interactions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @react-native-aria/interactions

## 0.2.15

### Patch Changes

- Feat : React-19 support

## 0.2.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-aria/interactions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-aria/interactions",
"version": "0.2.14",
"version": "0.2.15",
"description": "mono repo setup with bob",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-aria/interactions/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { useHover } from './useHover';
export {
usePress,
export { usePress } from './usePress';
export type {
PressEvents,
PressHookProps,
PressProps,
Expand Down
7 changes: 7 additions & 0 deletions packages/react-native-aria/listbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @react-native-aria/listbox

## 0.2.8

### Patch Changes

- Updated dependencies
- @react-native-aria/interactions@0.2.15

## 0.2.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-aria/listbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-aria/listbox",
"version": "0.2.7",
"version": "0.2.8",
"description": "mono repo setup with bob",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -61,7 +61,7 @@
"@react-aria/listbox": "^3.2.4",
"@react-aria/selection": "^3.3.2",
"@react-aria/utils": "^3.6.0",
"@react-native-aria/interactions": "0.2.14",
"@react-native-aria/interactions": "0.2.15",
"@react-native-aria/utils": "0.2.11",
"@react-types/listbox": "^3.1.1",
"@react-types/shared": "^3.4.0"
Expand Down
7 changes: 7 additions & 0 deletions packages/react-native-aria/menu/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @react-native-aria/menu

## 0.2.14

### Patch Changes

- Updated dependencies
- @react-native-aria/interactions@0.2.15

## 0.2.13

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-aria/menu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-aria/menu",
"version": "0.2.13",
"version": "0.2.14",
"description": "mono repo setup with bob",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -55,7 +55,7 @@
"@react-aria/menu": "^3.1.3",
"@react-aria/selection": "^3.3.1",
"@react-aria/utils": "^3.6.0",
"@react-native-aria/interactions": "0.2.14",
"@react-native-aria/interactions": "0.2.15",
"@react-native-aria/overlays": "^0.3.12",
"@react-native-aria/utils": "0.2.11",
"@react-stately/collections": "^3.3.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/react-native-aria/radio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @react-native-aria/radio

## 0.2.12

### Patch Changes

- Updated dependencies
- @react-native-aria/interactions@0.2.15

## 0.2.11

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-aria/radio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-aria/radio",
"version": "0.2.11",
"version": "0.2.12",
"description": "mono repo setup with bob",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand All @@ -24,7 +24,7 @@
"dependencies": {
"@react-aria/radio": "^3.1.2",
"@react-aria/utils": "^3.6.0",
"@react-native-aria/interactions": "0.2.14",
"@react-native-aria/interactions": "0.2.15",
"@react-native-aria/utils": "0.2.11",
"@react-stately/radio": "^3.2.1",
"@react-types/radio": "^3.1.1"
Expand Down
7 changes: 7 additions & 0 deletions packages/react-native-aria/tabs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @react-native-aria/tabs

## 0.2.12

### Patch Changes

- Updated dependencies
- @react-native-aria/interactions@0.2.15

## 0.2.11

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-aria/tabs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-aria/tabs",
"version": "0.2.11",
"version": "0.2.12",
"description": "This library is a part of react-native-aria.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -58,7 +58,7 @@
"dependencies": {
"@react-aria/selection": "^3.3.1",
"@react-aria/tabs": "3.0.0-alpha.2",
"@react-native-aria/interactions": "0.2.14",
"@react-native-aria/interactions": "0.2.15",
"@react-native-aria/utils": "0.2.11",
"@react-stately/tabs": "3.0.0-alpha.1",
"@react-types/tabs": "3.0.0-alpha.2"
Expand Down
7 changes: 7 additions & 0 deletions packages/react-native-aria/toggle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @react-native-aria/toggle

## 0.2.10

### Patch Changes

- Updated dependencies
- @react-native-aria/interactions@0.2.15

## 0.2.9

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-aria/toggle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-aria/toggle",
"version": "0.2.9",
"version": "0.2.10",
"description": "mono repo setup with bob",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand All @@ -24,7 +24,7 @@
"dependencies": {
"@react-aria/focus": "^3.2.3",
"@react-aria/utils": "^3.6.0",
"@react-native-aria/interactions": "0.2.14",
"@react-native-aria/interactions": "0.2.15",
"@react-native-aria/utils": "0.2.11",
"@react-stately/toggle": "^3.2.1",
"@react-types/checkbox": "^3.2.1"
Expand Down
Loading

0 comments on commit baa7682

Please sign in to comment.