@storybook/react-native 8.6.0-alpha.0 → 8.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -5
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1003,7 +1003,8 @@ var View3 = class {
|
|
|
1003
1003
|
if (storyExists && this._ready) {
|
|
1004
1004
|
console.log(`STORYBOOK: Linking event received, navigating to story: ${storyId}`);
|
|
1005
1005
|
this._channel.emit(import_core_events.default.SET_CURRENT_STORY, { storyId });
|
|
1006
|
-
}
|
|
1006
|
+
}
|
|
1007
|
+
if (hasStoryId && !storyExists) {
|
|
1007
1008
|
console.log(
|
|
1008
1009
|
`STORYBOOK: Linking event received, but story does not exist: ${storyId}`
|
|
1009
1010
|
);
|
|
@@ -1030,17 +1031,15 @@ var View3 = class {
|
|
|
1030
1031
|
);
|
|
1031
1032
|
}
|
|
1032
1033
|
if (storyExists) {
|
|
1033
|
-
return
|
|
1034
|
+
return storyId;
|
|
1034
1035
|
} else {
|
|
1035
1036
|
return null;
|
|
1036
1037
|
}
|
|
1037
1038
|
}
|
|
1038
|
-
}).then((
|
|
1039
|
+
}).then((initialStoryIdFromUrl) => {
|
|
1039
1040
|
return initialStory.then((st) => {
|
|
1040
1041
|
self._preview.selectionStore.selectionSpecifier = st;
|
|
1041
1042
|
if (initialStoryIdFromUrl) {
|
|
1042
|
-
initialUrl.searchParams.delete("STORYBOOK_STORY_ID");
|
|
1043
|
-
import_react_native3.Linking.openURL(initialUrl.toString());
|
|
1044
1043
|
console.log(
|
|
1045
1044
|
`STORYBOOK: Setting initial story from Linking event, storyId: ${initialStoryIdFromUrl}`
|
|
1046
1045
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native",
|
|
3
|
-
"version": "8.6.0
|
|
3
|
+
"version": "8.6.0",
|
|
4
4
|
"description": "A better way to develop React Native Components for your app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
"test:update": "jest --updateSnapshot"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@storybook/core": "
|
|
48
|
+
"@storybook/core": "8.6.4",
|
|
49
49
|
"@storybook/csf": "^0.1.13",
|
|
50
50
|
"@storybook/global": "^5.0.0",
|
|
51
|
-
"@storybook/react": "
|
|
52
|
-
"@storybook/react-native-theming": "^8.6.0
|
|
53
|
-
"@storybook/react-native-ui": "^8.6.0
|
|
51
|
+
"@storybook/react": "8.6.4",
|
|
52
|
+
"@storybook/react-native-theming": "^8.6.0",
|
|
53
|
+
"@storybook/react-native-ui": "^8.6.0",
|
|
54
54
|
"commander": "^8.2.0",
|
|
55
55
|
"dedent": "^1.5.1",
|
|
56
56
|
"deepmerge": "^4.3.0",
|
|
57
57
|
"prettier": "^2.4.1",
|
|
58
58
|
"react-native-url-polyfill": "^2.0.0",
|
|
59
59
|
"setimmediate": "^1.0.5",
|
|
60
|
-
"storybook": "
|
|
60
|
+
"storybook": "8.6.4",
|
|
61
61
|
"type-fest": "~2.19",
|
|
62
62
|
"util": "^0.12.4",
|
|
63
63
|
"ws": "^8.18.0"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"jest": "^29.7.0",
|
|
71
71
|
"jotai": "^2.6.2",
|
|
72
72
|
"react": "18.3.1",
|
|
73
|
-
"react-native": "0.76.
|
|
73
|
+
"react-native": "0.76.7",
|
|
74
74
|
"react-test-renderer": "^18.3.1",
|
|
75
75
|
"tsup": "^7.2.0",
|
|
76
76
|
"typescript": "^5.3.3"
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "23004d69048668038ea30357de2e4e4af99091b6"
|
|
92
92
|
}
|