@storybook/react-native 8.3.0-alpha.2 → 8.3.0-alpha.3

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/babel.config.js CHANGED
@@ -1,3 +1,4 @@
1
+ // note this file is used by jest to make it not shit itself
1
2
  module.exports = {
2
3
  presets: ['module:metro-react-native-babel-preset'],
3
4
  };
package/dist/index.js CHANGED
@@ -40,11 +40,11 @@ module.exports = __toCommonJS(src_exports);
40
40
  var import_react_native_theming3 = require("@storybook/react-native-theming");
41
41
 
42
42
  // src/Start.tsx
43
+ var import_react_native4 = require("react-native");
43
44
  var import_manager_api2 = require("@storybook/core/manager-api");
44
45
  var import_preview_api2 = require("@storybook/core/preview-api");
45
46
  var import_csf2 = require("@storybook/csf");
46
47
  var import_channels2 = require("@storybook/core/channels");
47
- var import_react_native4 = require("react-native");
48
48
 
49
49
  // src/View.tsx
50
50
  var import_bottom_sheet = require("@gorhom/bottom-sheet");
@@ -1047,7 +1047,7 @@ var View3 = class {
1047
1047
 
1048
1048
  // src/Start.tsx
1049
1049
  var import_jsx_runtime4 = require("react/jsx-runtime");
1050
- if (!URLSearchParams.get) {
1050
+ if (!URLSearchParams.get && import_react_native4.Platform.OS !== "web") {
1051
1051
  const { setupURLPolyfill } = require("react-native-url-polyfill");
1052
1052
  setupURLPolyfill();
1053
1053
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native",
3
- "version": "8.3.0-alpha.2",
3
+ "version": "8.3.0-alpha.3",
4
4
  "description": "A better way to develop React Native Components for your app",
5
5
  "keywords": [
6
6
  "react",
@@ -43,8 +43,8 @@
43
43
  "@storybook/csf": "^0.1.1",
44
44
  "@storybook/global": "^5.0.0",
45
45
  "@storybook/react": "^8.3.1",
46
- "@storybook/react-native-theming": "^8.3.0-alpha.2",
47
- "@storybook/react-native-ui": "^8.3.0-alpha.2",
46
+ "@storybook/react-native-theming": "^8.3.0-alpha.3",
47
+ "@storybook/react-native-ui": "^8.3.0-alpha.3",
48
48
  "chokidar": "^3.5.1",
49
49
  "commander": "^8.2.0",
50
50
  "dedent": "^1.5.1",
@@ -80,5 +80,5 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "gitHead": "afcce3fd6cfd6625afaddb06527c377449300d6d"
83
+ "gitHead": "bd184b21070f3f6e33394f1f2ce4cc701b145cf7"
84
84
  }