@storybook/react-native 10.5.1 → 10.5.2
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 +3 -0
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -580,14 +580,17 @@ const BUILDING_BLOCK_storeSet = (buildingBlocks, store, atom, ...args) => {
|
|
|
580
580
|
};
|
|
581
581
|
const BUILDING_BLOCK_storeSub = (buildingBlocks, store, atom, listener) => {
|
|
582
582
|
const flushCallbacks = buildingBlocks[12];
|
|
583
|
+
const recomputeInvalidatedAtoms = buildingBlocks[13];
|
|
583
584
|
const mountAtom = buildingBlocks[18];
|
|
584
585
|
const unmountAtom = buildingBlocks[19];
|
|
585
586
|
const listeners = mountAtom(buildingBlocks, store, atom).l;
|
|
586
587
|
listeners.add(listener);
|
|
588
|
+
recomputeInvalidatedAtoms(buildingBlocks, store);
|
|
587
589
|
flushCallbacks(buildingBlocks, store);
|
|
588
590
|
return () => {
|
|
589
591
|
listeners.delete(listener);
|
|
590
592
|
unmountAtom(buildingBlocks, store, atom);
|
|
593
|
+
recomputeInvalidatedAtoms(buildingBlocks, store);
|
|
591
594
|
flushCallbacks(buildingBlocks, store);
|
|
592
595
|
};
|
|
593
596
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.2",
|
|
4
4
|
"description": "A better way to develop React Native Components for your app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@storybook/mcp": "^0.8.0",
|
|
48
|
-
"@storybook/react": "^10.5.
|
|
49
|
-
"@storybook/react-native-theming": "^10.5.
|
|
50
|
-
"@storybook/react-native-ui": "^10.5.
|
|
51
|
-
"@storybook/react-native-ui-common": "^10.5.
|
|
48
|
+
"@storybook/react": "^10.5.2",
|
|
49
|
+
"@storybook/react-native-theming": "^10.5.2",
|
|
50
|
+
"@storybook/react-native-ui": "^10.5.2",
|
|
51
|
+
"@storybook/react-native-ui-common": "^10.5.2",
|
|
52
52
|
"@tmcp/adapter-valibot": "^0.1.6",
|
|
53
53
|
"@tmcp/transport-http": "^0.8.6",
|
|
54
54
|
"commander": "^14.0.2",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"setimmediate": "^1.0.5",
|
|
61
61
|
"tmcp": "^1.19.4",
|
|
62
62
|
"valibot": "^1.4.2",
|
|
63
|
-
"ws": "^8.21.
|
|
63
|
+
"ws": "^8.21.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@babel/core": "^7.29.7",
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"@types/jest": "^29.5.13",
|
|
69
69
|
"@types/react": "~19.2.14",
|
|
70
70
|
"babel-jest": "^29.7.0",
|
|
71
|
-
"babel-preset-expo": "^57.0.
|
|
71
|
+
"babel-preset-expo": "^57.0.3",
|
|
72
72
|
"jest": "^29.7.0",
|
|
73
|
-
"jest-expo": "~57.0.
|
|
74
|
-
"jotai": "^2.20.
|
|
73
|
+
"jest-expo": "~57.0.2",
|
|
74
|
+
"jotai": "^2.20.2",
|
|
75
75
|
"react": "19.2.3",
|
|
76
76
|
"react-native": "0.86.0",
|
|
77
|
-
"storybook": "^10.5.
|
|
77
|
+
"storybook": "^10.5.2",
|
|
78
78
|
"sucrase": "^3.35.1",
|
|
79
79
|
"test-renderer": "^0.15.0",
|
|
80
|
-
"tsdown": "^0.22.
|
|
80
|
+
"tsdown": "^0.22.12",
|
|
81
81
|
"typescript": "~6.0.3"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"react": "*",
|
|
86
86
|
"react-native": ">=0.72.0",
|
|
87
87
|
"react-native-gesture-handler": ">=2",
|
|
88
|
-
"react-native-reanimated": "
|
|
89
|
-
"react-native-safe-area-context": "
|
|
88
|
+
"react-native-reanimated": "4.5.1",
|
|
89
|
+
"react-native-safe-area-context": "5.8.0",
|
|
90
90
|
"storybook": ">=10 || ^10"
|
|
91
91
|
},
|
|
92
92
|
"peerDependenciesMeta": {
|