@storybook/react-native 9.0.4 → 9.0.5

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 +14 -13
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1110,19 +1110,20 @@ var View3 = class {
1110
1110
  }
1111
1111
  );
1112
1112
  }
1113
- if (CustomUIComponent) {
1114
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1115
- CustomUIComponent,
1116
- {
1117
- story,
1118
- storyHash,
1119
- setStory: (newStoryId) => self._channel.emit(import_core_events.SET_CURRENT_STORY, { storyId: newStoryId }),
1120
- storage,
1121
- theme: appliedTheme,
1122
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(StoryView_default, {})
1123
- }
1124
- );
1125
- } else if (onDeviceUI) {
1113
+ if (onDeviceUI) {
1114
+ if (CustomUIComponent) {
1115
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1116
+ CustomUIComponent,
1117
+ {
1118
+ story,
1119
+ storyHash,
1120
+ setStory: (newStoryId) => self._channel.emit(import_core_events.SET_CURRENT_STORY, { storyId: newStoryId }),
1121
+ storage,
1122
+ theme: appliedTheme,
1123
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(StoryView_default, {})
1124
+ }
1125
+ );
1126
+ }
1126
1127
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1127
1128
  FullUI,
1128
1129
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native",
3
- "version": "9.0.4",
3
+ "version": "9.0.5",
4
4
  "description": "A better way to develop React Native Components for your app",
5
5
  "keywords": [
6
6
  "react",
@@ -49,9 +49,9 @@
49
49
  "@storybook/csf": "^0.1.13",
50
50
  "@storybook/global": "^5.0.0",
51
51
  "@storybook/react": "^9",
52
- "@storybook/react-native-theming": "^9.0.4",
53
- "@storybook/react-native-ui": "^9.0.4",
54
- "@storybook/react-native-ui-common": "^9.0.4",
52
+ "@storybook/react-native-theming": "^9.0.5",
53
+ "@storybook/react-native-ui": "^9.0.5",
54
+ "@storybook/react-native-ui-common": "^9.0.5",
55
55
  "commander": "^8.2.0",
56
56
  "dedent": "^1.5.1",
57
57
  "deepmerge": "^4.3.0",
@@ -105,5 +105,5 @@
105
105
  "publishConfig": {
106
106
  "access": "public"
107
107
  },
108
- "gitHead": "b161683ab01d83beb55ed05bef670b6a9af42da4"
108
+ "gitHead": "aec45d5fc129ca52f2a05c26cf25f25ced73d9e5"
109
109
  }