@storybook/react-native-ui-common 9.0.0-rc.4 → 9.0.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 +1 -0
- package/package.json +5 -5
- package/src/hooks/useLastViewed.ts +1 -0
- package/src/util/useStyle.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -601,6 +601,7 @@ var isStoryHoistable = (storyName, componentName) => removeNoiseFromName(storyNa
|
|
|
601
601
|
// src/util/useStyle.ts
|
|
602
602
|
var import_react5 = require("react");
|
|
603
603
|
var useStyle = (styleFactory, deps) => (
|
|
604
|
+
// eslint-disable-next-line react-compiler/react-compiler
|
|
604
605
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
605
606
|
(0, import_react5.useMemo)(styleFactory, deps)
|
|
606
607
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native-ui-common",
|
|
3
|
-
"version": "9.0.0
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "common ui components for react native storybook",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@storybook/csf": "^0.1.13",
|
|
61
|
-
"@storybook/react": "9
|
|
62
|
-
"@storybook/react-native-theming": "^9.0.0
|
|
61
|
+
"@storybook/react": "^9",
|
|
62
|
+
"@storybook/react-native-theming": "^9.0.0",
|
|
63
63
|
"es-toolkit": "^1.38.0",
|
|
64
64
|
"fuse.js": "^7.0.0",
|
|
65
65
|
"memoizerific": "^1.11.3",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "*",
|
|
72
72
|
"react-native": ">=0.57.0",
|
|
73
|
-
"storybook": "9
|
|
73
|
+
"storybook": "^9"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=18.0.0"
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "042b39289131a9a80a74859439679947a4b81ac1"
|
|
82
82
|
}
|
|
@@ -23,6 +23,7 @@ export const useLastViewed = (selection: Selection) => {
|
|
|
23
23
|
|
|
24
24
|
useEffect(() => {
|
|
25
25
|
if (selection) updateLastViewed(selection);
|
|
26
|
+
// eslint-disable-next-line react-compiler/react-compiler
|
|
26
27
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
27
28
|
}, [selection]);
|
|
28
29
|
|
package/src/util/useStyle.ts
CHANGED