@storybook/react-native 8.3.0-alpha.3 → 8.3.1-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 +9 -5
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -1047,13 +1047,17 @@ var View3 = class {
|
|
|
1047
1047
|
|
|
1048
1048
|
// src/Start.tsx
|
|
1049
1049
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
1050
|
-
if (
|
|
1051
|
-
|
|
1052
|
-
|
|
1050
|
+
if (import_react_native4.Platform.OS !== "web") {
|
|
1051
|
+
try {
|
|
1052
|
+
let params = new URLSearchParams({ test: "1" });
|
|
1053
|
+
params.get("test");
|
|
1054
|
+
} catch {
|
|
1055
|
+
const { setupURLPolyfill } = require("react-native-url-polyfill");
|
|
1056
|
+
setupURLPolyfill();
|
|
1057
|
+
}
|
|
1053
1058
|
}
|
|
1054
1059
|
if (import_react_native4.Platform.OS === "web" && typeof globalThis.setImmediate === "undefined") {
|
|
1055
|
-
|
|
1056
|
-
};
|
|
1060
|
+
require("setimmediate");
|
|
1057
1061
|
}
|
|
1058
1062
|
function prepareStories({
|
|
1059
1063
|
storyEntries,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.1-alpha.0",
|
|
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.
|
|
47
|
-
"@storybook/react-native-ui": "^8.3.
|
|
46
|
+
"@storybook/react-native-theming": "^8.3.1-alpha.0",
|
|
47
|
+
"@storybook/react-native-ui": "^8.3.1-alpha.0",
|
|
48
48
|
"chokidar": "^3.5.1",
|
|
49
49
|
"commander": "^8.2.0",
|
|
50
50
|
"dedent": "^1.5.1",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"prettier": "^2.4.1",
|
|
54
54
|
"react-native-swipe-gestures": "^1.0.5",
|
|
55
55
|
"react-native-url-polyfill": "^2.0.0",
|
|
56
|
+
"setimmediate": "^1.0.5",
|
|
56
57
|
"type-fest": "~2.19",
|
|
57
58
|
"util": "^0.12.4",
|
|
58
59
|
"ws": "^8.18.0"
|
|
@@ -80,5 +81,5 @@
|
|
|
80
81
|
"publishConfig": {
|
|
81
82
|
"access": "public"
|
|
82
83
|
},
|
|
83
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "bddc79632c24901e83c61b063a46f05e528918a5"
|
|
84
85
|
}
|