@storybook/react-native 9.0.5 → 9.0.7-alpha.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 CHANGED
@@ -811,6 +811,7 @@ var StoryView = () => {
811
811
  style: containerStyle,
812
812
  testID: id,
813
813
  accessibilityLabel: id,
814
+ importantForAccessibility: "no",
814
815
  onStartShouldSetResponder: dismissOnStartResponder,
815
816
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ErrorBoundary, { onError, children: StoryComponent && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(StoryComponent, { ...context }) })
816
817
  },
@@ -966,7 +967,7 @@ var View3 = class {
966
967
  const PlaceholderUI = ({ children }) => children;
967
968
  return PlaceholderUI;
968
969
  };
969
- const FullUI = getFullUI(onDeviceUI);
970
+ const FullUI = getFullUI(onDeviceUI && !CustomUIComponent);
970
971
  this._storage = storage;
971
972
  const initialStory = this._getInitialStory(params);
972
973
  if (enableWebsockets) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native",
3
- "version": "9.0.5",
3
+ "version": "9.0.7-alpha.0",
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.5",
53
- "@storybook/react-native-ui": "^9.0.5",
54
- "@storybook/react-native-ui-common": "^9.0.5",
52
+ "@storybook/react-native-theming": "^9.0.7-alpha.0",
53
+ "@storybook/react-native-ui": "^9.0.7-alpha.0",
54
+ "@storybook/react-native-ui-common": "^9.0.7-alpha.0",
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": "aec45d5fc129ca52f2a05c26cf25f25ced73d9e5"
108
+ "gitHead": "d65a0e1dfdc78d0e2fef500c124483d93bad3b0c"
109
109
  }
package/readme.md CHANGED
@@ -48,7 +48,7 @@ npx react-native init MyApp --template react-native-template-storybook
48
48
  Run init to setup your project with all the dependencies and configuration files:
49
49
 
50
50
  ```sh
51
- npx storybook@latest init
51
+ npm create storybook@latest
52
52
  ```
53
53
 
54
54
  The only thing left to do is return Storybook's UI in your app entry point (such as `App.tsx`) like this: