@storybook/react-native 8.6.0-alpha.0 → 8.6.0-alpha.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -1030,17 +1030,15 @@ var View3 = class {
1030
1030
  );
1031
1031
  }
1032
1032
  if (storyExists) {
1033
- return { initialStoryIdFromUrl: storyId, initialUrl: urlObj };
1033
+ return storyId;
1034
1034
  } else {
1035
1035
  return null;
1036
1036
  }
1037
1037
  }
1038
- }).then(({ initialStoryIdFromUrl, initialUrl }) => {
1038
+ }).then((initialStoryIdFromUrl) => {
1039
1039
  return initialStory.then((st) => {
1040
1040
  self._preview.selectionStore.selectionSpecifier = st;
1041
1041
  if (initialStoryIdFromUrl) {
1042
- initialUrl.searchParams.delete("STORYBOOK_STORY_ID");
1043
- import_react_native3.Linking.openURL(initialUrl.toString());
1044
1042
  console.log(
1045
1043
  `STORYBOOK: Setting initial story from Linking event, storyId: ${initialStoryIdFromUrl}`
1046
1044
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native",
3
- "version": "8.6.0-alpha.0",
3
+ "version": "8.6.0-alpha.1",
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": "^8.5.1",
48
+ "@storybook/core": "^8.5.8",
49
49
  "@storybook/csf": "^0.1.13",
50
50
  "@storybook/global": "^5.0.0",
51
- "@storybook/react": "^8.5.1",
52
- "@storybook/react-native-theming": "^8.6.0-alpha.0",
53
- "@storybook/react-native-ui": "^8.6.0-alpha.0",
51
+ "@storybook/react": "^8.5.8",
52
+ "@storybook/react-native-theming": "^8.6.0-alpha.1",
53
+ "@storybook/react-native-ui": "^8.6.0-alpha.1",
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": "^8.5.1",
60
+ "storybook": "^8.5.8",
61
61
  "type-fest": "~2.19",
62
62
  "util": "^0.12.4",
63
63
  "ws": "^8.18.0"
@@ -88,5 +88,5 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "gitHead": "6a87785e97473df94a385971acf26c7893d0a7dd"
91
+ "gitHead": "e3cb59f7869bbd1519c107895e2ae9b7e2ea6544"
92
92
  }