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

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.d.ts CHANGED
@@ -41,7 +41,7 @@ type Params = {
41
41
  theme: ThemePartial;
42
42
  storage?: Storage;
43
43
  CustomUIComponent?: (props: {
44
- story: StoryContext<ReactRenderer, Args>;
44
+ story?: StoryContext<ReactRenderer, Args>;
45
45
  storyHash: API_IndexHash;
46
46
  setStory: (storyId: string) => void;
47
47
  storage: Storage;
@@ -328,7 +328,8 @@ function withStorybook(config, options = {
328
328
  const isStorybookModule = moduleName.startsWith("storybook") || moduleName.startsWith("@storybook");
329
329
  const theContext = isStorybookModule ? {
330
330
  ...context,
331
- unstable_enablePackageExports: true
331
+ unstable_enablePackageExports: true,
332
+ unstable_conditionNames: ["import"]
332
333
  } : context;
333
334
  const resolveResult = resolveFunction(theContext, moduleName, platform);
334
335
  if (resolveResult?.filePath?.includes?.("@storybook/react/template/cli")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native",
3
- "version": "9.0.0-beta.12",
3
+ "version": "9.0.0-beta.13",
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.12",
53
- "@storybook/react-native-ui": "^9.0.0-beta.12",
52
+ "@storybook/react-native-theming": "^9.0.0-beta.13",
53
+ "@storybook/react-native-ui": "^9.0.0-beta.13",
54
54
  "commander": "^8.2.0",
55
55
  "dedent": "^1.5.1",
56
56
  "deepmerge": "^4.3.0",
@@ -89,5 +89,5 @@
89
89
  "publishConfig": {
90
90
  "access": "public"
91
91
  },
92
- "gitHead": "17adc32f6748dc2db35bfaa0b7662ba784c78a95"
92
+ "gitHead": "092ffff0237dd5a9ccbb66d470db29108d2607c1"
93
93
  }