Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set node version
uses: actions/setup-node@v4
with:
node-version: 24
node-version: 26
cache: 'pnpm'

- name: Install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 24
node-version: 26
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set node version
uses: actions/setup-node@v4
with:
node-version: 24
node-version: 26
cache: 'pnpm'
- name: install and compile
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.11.1
26
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
"@mdx-js/react": "^3.1.1",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.4.1",
"react": "19.2.0",
"react-dom": "19.2.0"
"react": "19.2.3",
"react-dom": "19.2.3"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.10.0",
"@docusaurus/tsconfig": "^3.10.0",
"@docusaurus/types": "^3.10.0",
"typescript": "~5.9.3"
"typescript": "~6.0.3"
},
"engines": {
"node": ">=22.18.0"
"node": ">=26.0.0"
}
}
3 changes: 0 additions & 3 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"baseUrl": "."
},
"exclude": [".docusaurus", "build"]
}
8 changes: 7 additions & 1 deletion examples/expo-example/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ module.exports = function (api) {
return {
presets: [['babel-preset-expo']],
plugins: [
['babel-plugin-react-docgen-typescript', { exclude: 'node_modules' }],
[
'babel-plugin-react-docgen-typescript',
{
include: 'examples/expo-example/.*\\.tsx$',
exclude: 'node_modules',
},
],
'react-native-worklets/plugin',
],
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,15 @@ export const Basic: Story = {
selection: radio_stations[0],
},
};

export const Inline: Story = {
argTypes: {
selection: {
options: radio_stations,
control: { type: 'inline-radio' },
},
},
args: {
selection: radio_stations[1],
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ import { render, screen } from '@testing-library/react-native';
import { composeStories } from '@storybook/react';
import * as RadioStories from './Radio.stories';

const { Basic } = composeStories(RadioStories);
const { Basic, Inline } = composeStories(RadioStories);

test('radio story renders', async () => {
await render(<Basic />);

screen.getByText('104.8MHz');
});

test('inline radio story renders', async () => {
await render(<Inline />);

screen.getByText('909 kHz');
});
32 changes: 17 additions & 15 deletions examples/expo-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
"web": "EXPO_PUBLIC_STORYBOOK_ENABLED=true expo start --web"
},
"dependencies": {
"@expo/metro-runtime": "~55.0.11",
"@expo/dom-webview": "^56.0.4",
"@expo/metro-runtime": "~56.0.5",
"@gorhom/bottom-sheet": "^5.2.8",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/datetimepicker": "8.6.0",
"@react-native-community/slider": "5.1.2",
"@react-native-community/datetimepicker": "9.1.0",
"@react-native-community/slider": "5.2.0",
"@storybook/addon-ondevice-actions": "^10.4.0",
"@storybook/addon-ondevice-backgrounds": "^10.4.0",
"@storybook/addon-ondevice-controls": "^10.4.0",
Expand All @@ -46,18 +47,18 @@
"@storybook/react-native-ui-lite": "^10.4.0",
"@storybook/react-native-web-vite": "^10.3.2",
"babel-plugin-react-compiler": "^1.0.0",
"expo": "^55.0.23",
"expo-updates": "~55.0.21",
"react": "19.2.0",
"expo": "56.0.0-preview.7",
"expo-updates": "~56.0.6",
"react": "19.2.3",
"react-compiler-runtime": "^1.0.0",
"react-dom": "19.2.0",
"react-native": "0.83.6",
"react-native-gesture-handler": "~2.30.0",
"react-native-reanimated": "~4.2.1",
"react-native-safe-area-context": "^5.6.2",
"react-native-svg": "15.15.3",
"react-dom": "19.2.3",
"react-native": "0.85.3",
"react-native-gesture-handler": "~2.31.2",
"react-native-reanimated": "~4.3.0",
"react-native-safe-area-context": "^5.7.0",
"react-native-svg": "15.15.4",
"react-native-web": "^0.21.2",
"react-native-worklets": "0.7.4",
"react-native-worklets": "0.8.3",
"storybook": "^10.3.2",
"storybook-addon-deep-controls": "^0.10.0",
"ws": "^8.20.0"
Expand All @@ -67,14 +68,15 @@
"@dannyhw/rozenite-storybook": "0.0.2",
"@rozenite/metro": "^1.6.0",
"@testing-library/react-native": "14.0.0-beta.0",
"@types/jest": "^29.5.13",
"@types/react": "~19.2.14",
"@types/ws": "^8.18.1",
"babel-plugin-react-docgen-typescript": "^1.5.1",
"expo-atlas": "^0.4.3",
"jest": "^29.7.0",
"jest-expo": "~55.0.17",
"jest-expo": "~56.0.0",
"test-renderer": "^0.15.0",
"typescript": "~5.9.3",
"typescript": "~6.0.3",
"vite": "^8.0.5"
}
}
4 changes: 2 additions & 2 deletions examples/expo-example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"skipLibCheck": true,
"baseUrl": "./",
"strict": true,
"esModuleInterop": true
"esModuleInterop": true,
"types": ["jest"]
},
"extends": "expo/tsconfig.base",
"include": [".rnstorybook/**/*", ".storybook/**/*", "./*"]
Expand Down
3 changes: 2 additions & 1 deletion examples/expo-new-wrapper-example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
},
"experiments": {
"tsconfigPaths": true
}
},
"plugins": ["@react-native-community/datetimepicker"]
}
30 changes: 15 additions & 15 deletions examples/expo-new-wrapper-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"check:types": "tsc --noEmit"
},
"dependencies": {
"@expo/metro-runtime": "~55.0.11",
"@expo/metro-runtime": "~56.0.5",
"@gorhom/bottom-sheet": "^5.2.8",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/datetimepicker": "8.6.0",
"@react-native-community/slider": "5.1.2",
"@react-native-community/datetimepicker": "9.1.0",
"@react-native-community/slider": "5.2.0",
"@storybook/addon-ondevice-actions": "^10.4.0",
"@storybook/addon-ondevice-backgrounds": "^10.4.0",
"@storybook/addon-ondevice-controls": "^10.4.0",
Expand All @@ -28,18 +28,18 @@
"@storybook/react-native-ui-lite": "^10.4.0",
"@storybook/react-native-web-vite": "^10.3.2",
"babel-plugin-react-compiler": "^1.0.0",
"expo": "^55.0.23",
"expo-updates": "~55.0.21",
"react": "19.2.0",
"expo": "56.0.0-preview.7",
"expo-updates": "~56.0.6",
"react": "19.2.3",
"react-compiler-runtime": "^1.0.0",
"react-dom": "19.2.0",
"react-native": "0.83.6",
"react-native-gesture-handler": "~2.30.0",
"react-native-reanimated": "~4.2.1",
"react-native-safe-area-context": "^5.6.2",
"react-native-svg": "15.15.3",
"react-dom": "19.2.3",
"react-native": "0.85.3",
"react-native-gesture-handler": "~2.31.2",
"react-native-reanimated": "~4.3.0",
"react-native-safe-area-context": "^5.7.0",
"react-native-svg": "15.15.4",
"react-native-web": "^0.21.2",
"react-native-worklets": "0.7.4",
"react-native-worklets": "0.8.3",
"storybook": "^10.3.2",
"storybook-addon-deep-controls": "^0.10.0",
"ws": "^8.20.0"
Expand All @@ -54,9 +54,9 @@
"babel-plugin-react-docgen-typescript": "^1.5.1",
"expo-atlas": "^0.4.3",
"jest": "^29.7.0",
"jest-expo": "~55.0.17",
"jest-expo": "~56.0.0",
"test-renderer": "^0.15.0",
"typescript": "~5.9.3",
"typescript": "~6.0.3",
"vite": "^8.0.5"
}
}
1 change: 0 additions & 1 deletion examples/expo-new-wrapper-example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"skipLibCheck": true,
"baseUrl": "./",
"strict": true,
"esModuleInterop": true
},
Expand Down
3 changes: 2 additions & 1 deletion examples/expo-router-example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
}
],
"expo-image",
"expo-web-browser"
"expo-web-browser",
"expo-font"
],
"experiments": {
"typedRoutes": true,
Expand Down
44 changes: 22 additions & 22 deletions examples/expo-router-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@
"@storybook/react-native": "^10.4.0",
"@storybook/react-native-ui-lite": "^10.4.0",
"@storybook/react-native-web-vite": "^10.3.2",
"expo": "^55.0.23",
"expo-constants": "~55.0.16",
"expo-font": "~55.0.7",
"expo-haptics": "~55.0.14",
"expo-image": "~55.0.10",
"expo-linking": "~55.0.15",
"expo-router": "~55.0.14",
"expo-splash-screen": "~55.0.20",
"expo-status-bar": "~55.0.6",
"expo-symbols": "~55.0.8",
"expo-system-ui": "~55.0.17",
"expo-web-browser": "~55.0.15",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "0.83.6",
"react-native-gesture-handler": "~2.30.0",
"react-native-reanimated": "~4.2.1",
"react-native-safe-area-context": "^5.6.2",
"react-native-screens": "~4.23.0",
"expo": "56.0.0-preview.7",
"expo-constants": "~56.0.6",
"expo-font": "~56.0.3",
"expo-haptics": "~56.0.3",
"expo-image": "~56.0.4",
"expo-linking": "~56.0.4",
"expo-router": "~56.1.1",
"expo-splash-screen": "~56.0.4",
"expo-status-bar": "~56.0.4",
"expo-symbols": "~56.0.5",
"expo-system-ui": "~56.0.4",
"expo-web-browser": "~56.0.4",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-native": "0.85.3",
"react-native-gesture-handler": "~2.31.2",
"react-native-reanimated": "~4.3.0",
"react-native-safe-area-context": "^5.7.0",
"react-native-screens": "4.25.0-beta.3",
"react-native-web": "^0.21.2",
"react-native-worklets": "0.7.4",
"react-native-worklets": "0.8.3",
"storybook": "^10.3.2",
"ws": "^8.20.0"
},
"devDependencies": {
"@types/react": "~19.2.14",
"eslint": "^9.39.4",
"eslint-config-expo": "^55.0.0",
"typescript": "~5.9.3"
"eslint-config-expo": "^56.0.2",
"typescript": "~6.0.3"
},
"private": true
}
12 changes: 6 additions & 6 deletions examples/repack-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"dependencies": {
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/datetimepicker": "8.6.0",
"@react-native-community/slider": "5.1.2",
"@react-native-community/datetimepicker": "9.1.0",
"@react-native-community/slider": "5.2.0",
"@react-native/new-app-screen": "0.83.4",
"@storybook/addon-ondevice-actions": "^10.4.0",
"@storybook/addon-ondevice-backgrounds": "^10.4.0",
Expand All @@ -25,9 +25,9 @@
"@storybook/react": "^10.3.2",
"@storybook/react-native": "^10.4.0",
"@storybook/react-native-ui-lite": "^10.4.0",
"react": "19.2.0",
"react-native": "0.83.6",
"react-native-safe-area-context": "^5.6.2",
"react": "19.2.3",
"react-native": "0.85.3",
"react-native-safe-area-context": "^5.7.0",
"storybook": "^10.3.2"
},
"devDependencies": {
Expand All @@ -53,7 +53,7 @@
"prettier": "^3.8.1",
"react-native-test-app": "^5.1.4",
"react-test-renderer": "19.2.0",
"typescript": "~5.9.3"
"typescript": "~6.0.3"
},
"engines": {
"node": ">=20"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
"@prettier/plugin-oxc": "^0.1.3",
"cross-env": "^10.1.0",
"eslint": "^9.39.4",
"eslint-config-expo": "^55.0.0",
"eslint-config-expo": "^56.0.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "7.0.1",
"prettier": "^3.8.1",
"sherif": "^1.11.0",
"typescript": "~5.9.3"
"typescript": "~6.0.3"
},
"packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017",
"packageManager": "pnpm@11.0.9+sha512.34ce82e6780233cf9cad8685029a8f81d2e06196c5a9bad98879f7424940c6817c4e4524fb7d38b8553ceed48b9758b8ebaf1abd3600c232c4c8cf7366086f38",
"engines": {
"node": ">=22.18.0"
"node": ">=26.0.0"
},
"pnpm": {
"overrides": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ondevice-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"storybook": "^10.3.2",
"typescript": "~5.9.3"
"typescript": "~6.0.3"
},
"peerDependencies": {
"react": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ActionDisplay, EVENT_ID } from 'storybook/actions';
import { ActionLogger as ActionLoggerComponent } from '../../components/ActionLogger';

interface ActionLoggerProps {
active: boolean;
active?: boolean;
}

const safeDeepEqual = (a: any, b: any): boolean => {
Expand Down
Loading
Loading