@storybook/react-native-ui-common 10.3.0-next.0 → 10.3.0-next.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 CHANGED
@@ -580,7 +580,6 @@ var isStoryHoistable = (storyName, componentName) => removeNoiseFromName(storyNa
580
580
  // src/util/useStyle.ts
581
581
  var import_react5 = require("react");
582
582
  var useStyle = (styleFactory, deps) => (
583
- // eslint-disable-next-line react-compiler/react-compiler
584
583
  // eslint-disable-next-line react-hooks/exhaustive-deps
585
584
  (0, import_react5.useMemo)(styleFactory, deps)
586
585
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native-ui-common",
3
- "version": "10.3.0-next.0",
3
+ "version": "10.3.0-next.2",
4
4
  "description": "common ui components for react native storybook",
5
5
  "keywords": [
6
6
  "react",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@nozbe/microfuzz": "^1.0.0",
37
- "@storybook/react": "^10.2.3",
38
- "@storybook/react-native-theming": "^10.3.0-next.0",
37
+ "@storybook/react": "10.3.0-alpha.9",
38
+ "@storybook/react-native-theming": "^10.3.0-next.2",
39
39
  "es-toolkit": "^1.41.0",
40
40
  "memoizerific": "^1.11.3",
41
41
  "ts-dedent": "^2.2.0"
@@ -52,6 +52,7 @@
52
52
  "access": "public"
53
53
  },
54
54
  "scripts": {
55
- "dev": "tsup --watch"
55
+ "dev": "tsup --watch",
56
+ "check:types": "tsc --noEmit"
56
57
  }
57
58
  }
Binary file
@@ -23,7 +23,6 @@ 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
27
26
  // eslint-disable-next-line react-hooks/exhaustive-deps
28
27
  }, [selection]);
29
28
 
@@ -24,6 +24,5 @@ export const useStyle = <
24
24
  styleFactory: () => TOutput,
25
25
  deps?: DependencyList
26
26
  ): TOutput =>
27
- // eslint-disable-next-line react-compiler/react-compiler
28
27
  // eslint-disable-next-line react-hooks/exhaustive-deps
29
28
  useMemo(styleFactory, deps);