Skip to content

Commit cf2d3e3

Browse files
authored
Merge branch 'next-v10' into shilman/add-dev-telemetry
2 parents be0b0d7 + 3a4819c commit cf2d3e3

File tree

16 files changed

+1766
-608
lines changed

16 files changed

+1766
-608
lines changed

.yarn/releases/yarn-4.9.4.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ enableGlobalCache: false
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.9.2.cjs
7+
yarnPath: .yarn/releases/yarn-4.9.4.cjs

docs/docs/intro/configuration/index.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,28 +160,23 @@ export default StorybookUIRoot;
160160
#### Available Options
161161

162162
- **UI Options**
163-
164163
- `onDeviceUI`: Enable/disable on-device UI (default: true)
165164
- `shouldPersistSelection`: Persist last viewed story (default: true)
166165

167166
- **Theme Options**
168-
169167
- `theme`: Customize UI theme and branding
170168

171169
- **Story Selection**
172-
173170
- `initialSelection`: Set initial story to display
174171
- String format: `'kind--story'`
175172
- Object format: `{ kind: string, name: string }`
176173

177174
- **Storage Options**
178-
179175
- `storage`: Implementation for story persistence
180176
- `getItem`: Function to retrieve stored values
181177
- `setItem`: Function to store values
182178

183179
- **Websocket Options**
184-
185180
- `enableWebsockets`: Enable remote control (default: false)
186181
- `host`: Websocket host (default: 'localhost')
187182
- `port`: Websocket port (default: 7007)

docs/docs/intro/configuration/metro-configuration.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,11 @@ export default AppEntryPoint;
144144
### Common Issues
145145

146146
1. **Stories not found**
147-
148147
- Verify `configPath` points to correct directory
149148
- Check story patterns in `main.ts`
150149
- Ensure Metro cache is cleared: `npx react-native start --reset-cache`
151150

152151
2. **WebSocket connection failed**
153-
154152
- Check if port is already in use
155153
- Verify `host` matches your development setup
156154
- verify that host and port match in both the `withStorybook` configuration and the `getStorybookUI` call in your app code

docs/docs/intro/configuration/websocket-configuration.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,12 @@ ws.onopen = () => {
170170
### Common Issues
171171

172172
1. **Connection Refused**
173-
174173
- Check if port is already in use: `lsof -i :7007`
175174
- Ensure Metro is running with WebSocket enabled
176175
- Verify firewall settings
177176
- make sure the host and port match in both the `withStorybook` configuration and the `getStorybookUI` call in your app code
178177

179178
2. **Cannot Connect from Device**
180-
181179
- Use machine's IP instead of localhost
182180
- Ensure device is on same network
183181
- Check device's network permissions

examples/expo-example/app.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"experiments": {
99
"reactCompiler": true
1010
},
11+
"icon": "./assets/icon.png",
1112
"userInterfaceStyle": "automatic",
1213
"newArchEnabled": true
1314
}

examples/expo-example/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
},
2424
"dependencies": {
2525
"@babel/plugin-transform-class-static-block": "^7.27.1",
26-
"@expo/metro-runtime": "~6.1.0",
27-
"@gorhom/bottom-sheet": "^5.2.3",
26+
"@expo/metro-runtime": "~6.1.2",
27+
"@gorhom/bottom-sheet": "^5.2.6",
2828
"@react-native-async-storage/async-storage": "2.2.0",
2929
"@react-native-community/datetimepicker": "8.4.4",
30-
"@react-native-community/slider": "5.0.0",
30+
"@react-native-community/slider": "5.0.1",
3131
"@storybook/addon-ondevice-actions": "^10.0.0-beta.0",
3232
"@storybook/addon-ondevice-backgrounds": "^10.0.0-beta.0",
3333
"@storybook/addon-ondevice-controls": "^10.0.0-beta.0",
@@ -40,17 +40,17 @@
4040
"@storybook/react-native-ui-lite": "^10.0.0-beta.0",
4141
"@storybook/react-native-web-vite": "10.0.0-beta.0",
4242
"babel-plugin-react-compiler": "^19.1.0-rc.2",
43-
"expo": "next",
43+
"expo": "^54.0.10",
4444
"react": "19.1.0",
4545
"react-compiler-runtime": "^19.1.0-rc.2",
4646
"react-dom": "19.1.0",
47-
"react-native": "0.81.0",
47+
"react-native": "0.81.4",
4848
"react-native-gesture-handler": "~2.28.0",
49-
"react-native-reanimated": "~4.0.2",
49+
"react-native-reanimated": "~4.1.1",
5050
"react-native-safe-area-context": "~5.6.0",
5151
"react-native-svg": "15.12.1",
5252
"react-native-web": "^0.21.0",
53-
"react-native-worklets": "^0.4.1",
53+
"react-native-worklets": "^0.5.1",
5454
"storybook": "10.0.0-beta.0",
5555
"storybook-addon-deep-controls": "^0.9.3",
5656
"ws": "^8.18.0"
@@ -62,10 +62,10 @@
6262
"@types/ws": "^8.5.10",
6363
"babel-plugin-react-docgen-typescript": "^1.5.1",
6464
"jest": "^29.7.0",
65-
"jest-expo": "~54.0.1",
65+
"jest-expo": "~54.0.12",
6666
"rn-storybook-test": "^0.0.1",
6767
"typescript": "~5.9.2",
6868
"universal-test-renderer": "^0.6.0",
69-
"vite": "^6.1.1"
69+
"vite": "^7.1.5"
7070
}
7171
}

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,24 @@
4848
"format:fix": "prettier --write ."
4949
},
5050
"devDependencies": {
51-
"@docusaurus/eslint-plugin": "^3.8.0",
52-
"cross-env": "^7.0.3",
53-
"eslint": "^9.25.1",
54-
"eslint-config-expo": "^9.2.0",
55-
"eslint-config-prettier": "^10.1.2",
51+
"@docusaurus/eslint-plugin": "^3.8.1",
52+
"cross-env": "^10.0.0",
53+
"eslint": "^9.35.0",
54+
"eslint-config-expo": "^10.0.0",
55+
"eslint-config-prettier": "^10.1.8",
5656
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
5757
"lerna": "^8.2.3",
58-
"prettier": "^3.5.3",
59-
"sherif": "^1.4.0",
58+
"prettier": "^3.6.2",
59+
"sherif": "^1.6.1",
6060
"typescript": "~5.9.2"
6161
},
6262
"resolutions": {
6363
"react-docgen-typescript": "2.2.2",
6464
"jotai@^2.6.2": "patch:jotai@npm%3A2.6.2#./.yarn/patches/jotai-npm-2.6.2-d482bf2d42.patch",
6565
"webpack-dev-server": "^5.2.2",
6666
"markdown-it": "^14.0.0",
67-
"@types/markdown-it": "^14.0.1"
67+
"@types/markdown-it": "^14.0.1",
68+
"react-native-web": "^0.21.0"
6869
},
6970
"engines": {
7071
"node": ">=22.18.0"
@@ -73,5 +74,5 @@
7374
"type": "opencollective",
7475
"url": "https://opencollective.com/storybook"
7576
},
76-
"packageManager": "[email protected].2"
77+
"packageManager": "[email protected].4"
7778
}

packages/ondevice-controls/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"tinycolor2": "^1.4.1"
3939
},
4040
"devDependencies": {
41-
"cross-env": "^7.0.3",
41+
"cross-env": "^10.0.0",
4242
"typescript": "~5.9.2"
4343
},
4444
"peerDependencies": {

packages/ondevice-controls/src/components/RadioSelect.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface RadioProps {
77
isInline: boolean;
88
}
99

10-
const RadioContainer = styled.View(({ isInline }: any) => ({
10+
const RadioContainer = styled.View<{ isInline: boolean }>(({ isInline }) => ({
1111
flexDirection: isInline ? 'row' : 'column',
1212
alignItems: isInline ? 'center' : 'flex-start',
1313
flexWrap: 'wrap',
@@ -24,17 +24,17 @@ const RadioCircle = styled.View(({ theme }) => ({
2424
height: 16,
2525
borderWidth: 1,
2626
borderColor: theme.appBorderColor,
27-
borderRadius: '100%',
27+
borderRadius: 8,
2828
backgroundColor: theme.background.content,
2929
alignItems: 'center',
3030
justifyContent: 'center',
3131
}));
3232

33-
const RadioInnerCircle = styled.View(({ theme, selected }: any) => ({
33+
const RadioInnerCircle = styled.View<{ selected: boolean }>(({ theme, selected }) => ({
3434
width: 8,
3535
height: 8,
36-
borderRadius: '100%',
37-
backgroundColor: selected ? theme.color.positive : 'transparent',
36+
borderRadius: 4,
37+
backgroundColor: selected ? theme.color.positive : theme.background.content,
3838
}));
3939

4040
const RadioLabel = styled.Text(({ theme }) => ({

0 commit comments

Comments
 (0)