@storybook/react-native 9.0.0-beta.13 → 9.0.0-beta.15

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.
@@ -325,8 +325,8 @@ function withStorybook(config, options = {
325
325
  ...config.resolver,
326
326
  resolveRequest: (context, moduleName, platform) => {
327
327
  const resolveFunction = config?.resolver?.resolveRequest ? config.resolver.resolveRequest : context.resolveRequest;
328
- const isStorybookModule = moduleName.startsWith("storybook") || moduleName.startsWith("@storybook");
329
- const theContext = isStorybookModule ? {
328
+ const shouldUseCustomResolveConfig = moduleName.startsWith("storybook") || moduleName.startsWith("@storybook") || moduleName.startsWith("uuid");
329
+ const theContext = shouldUseCustomResolveConfig ? {
330
330
  ...context,
331
331
  unstable_enablePackageExports: true,
332
332
  unstable_conditionNames: ["import"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native",
3
- "version": "9.0.0-beta.13",
3
+ "version": "9.0.0-beta.15",
4
4
  "description": "A better way to develop React Native Components for your app",
5
5
  "keywords": [
6
6
  "react",
@@ -49,8 +49,8 @@
49
49
  "@storybook/csf": "^0.1.13",
50
50
  "@storybook/global": "^5.0.0",
51
51
  "@storybook/react": "9.0.0-beta.10",
52
- "@storybook/react-native-theming": "^9.0.0-beta.13",
53
- "@storybook/react-native-ui": "^9.0.0-beta.13",
52
+ "@storybook/react-native-theming": "^9.0.0-beta.15",
53
+ "@storybook/react-native-ui": "^9.0.0-beta.15",
54
54
  "commander": "^8.2.0",
55
55
  "dedent": "^1.5.1",
56
56
  "deepmerge": "^4.3.0",
@@ -80,14 +80,29 @@
80
80
  "react": "*",
81
81
  "react-native": ">=0.72.0",
82
82
  "react-native-gesture-handler": ">=2",
83
+ "react-native-reanimated": ">=2",
83
84
  "react-native-safe-area-context": "*",
84
85
  "storybook": "9.0.0-beta.10"
85
86
  },
87
+ "peerDependenciesMeta": {
88
+ "@gorhom/bottom-sheet": {
89
+ "optional": true
90
+ },
91
+ "react-native-gesture-handler": {
92
+ "optional": true
93
+ },
94
+ "react-native-reanimated": {
95
+ "optional": true
96
+ },
97
+ "react-native-safe-area-context": {
98
+ "optional": true
99
+ }
100
+ },
86
101
  "engines": {
87
102
  "node": ">=8.0.0"
88
103
  },
89
104
  "publishConfig": {
90
105
  "access": "public"
91
106
  },
92
- "gitHead": "092ffff0237dd5a9ccbb66d470db29108d2607c1"
107
+ "gitHead": "905adcca4ea272933c7f0fa16f10dda201da9a5f"
93
108
  }