@storybook/react-native 10.4.2 → 10.4.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ type Params = {
|
|
|
37
37
|
hasStoryWrapper?: boolean;
|
|
38
38
|
/**
|
|
39
39
|
* Enable websockets for the storybook server to remotely control the storybook
|
|
40
|
-
* default: false
|
|
40
|
+
* default: automatically enabled when a websocket config is injected via storybook.requires (i.e. when STORYBOOK_WS_HOST is set), otherwise false
|
|
41
41
|
*/
|
|
42
42
|
enableWebsockets?: boolean;
|
|
43
43
|
query?: string; /** The host for the websocket server. default: localhost */
|
package/dist/index.js
CHANGED
|
@@ -1087,7 +1087,7 @@ var View$1 = class {
|
|
|
1087
1087
|
})));
|
|
1088
1088
|
};
|
|
1089
1089
|
getStorybookUI = (params = {}) => {
|
|
1090
|
-
const { enableWebsockets =
|
|
1090
|
+
const { enableWebsockets = !!globalThis.STORYBOOK_WEBSOCKET, CustomUIComponent, hasStoryWrapper: storyViewWrapper = true } = params;
|
|
1091
1091
|
const storage = params.storage ?? {
|
|
1092
1092
|
getItem: async (key) => null,
|
|
1093
1093
|
setItem: async (key, value) => {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.3",
|
|
4
4
|
"description": "A better way to develop React Native Components for your app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@storybook/mcp": "^0.6.1",
|
|
48
48
|
"@storybook/react": "^10.3.2",
|
|
49
|
-
"@storybook/react-native-theming": "^10.4.
|
|
50
|
-
"@storybook/react-native-ui": "^10.4.
|
|
51
|
-
"@storybook/react-native-ui-common": "^10.4.
|
|
49
|
+
"@storybook/react-native-theming": "^10.4.3",
|
|
50
|
+
"@storybook/react-native-ui": "^10.4.3",
|
|
51
|
+
"@storybook/react-native-ui-common": "^10.4.3",
|
|
52
52
|
"@tmcp/adapter-valibot": "^0.1.4",
|
|
53
53
|
"@tmcp/transport-http": "^0.8.5",
|
|
54
54
|
"commander": "^14.0.2",
|