@storybook/react-native-web-vite 10.0.0-beta.1 → 10.0.0-beta.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.
@@ -0,0 +1,17 @@
1
+ import CJS_COMPAT_NODE_URL_7tdfb924msn from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_7tdfb924msn from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_7tdfb924msn from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_7tdfb924msn.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_7tdfb924msn.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_7tdfb924msn.createRequire(import.meta.url);
8
+
9
+ // ------------------------------------------------------------
10
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
+ // ------------------------------------------------------------
12
+ var __defProp = Object.defineProperty;
13
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
14
+
15
+ export {
16
+ __name
17
+ };
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_t0ohssugfc from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_t0ohssugfc from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_t0ohssugfc from "node:module";
1
+ import CJS_COMPAT_NODE_URL_7tdfb924msn from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_7tdfb924msn from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_7tdfb924msn from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_t0ohssugfc.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_t0ohssugfc.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_t0ohssugfc.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_7tdfb924msn.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_7tdfb924msn.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_7tdfb924msn.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __name
14
- } from "../_node-chunks/chunk-LNZRDY2H.js";
14
+ } from "../_node-chunks/chunk-BXD6XSYK.js";
15
15
 
16
16
  // src/node/index.ts
17
17
  function defineMain(config) {
package/dist/preset.js CHANGED
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_t0ohssugfc from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_t0ohssugfc from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_t0ohssugfc from "node:module";
1
+ import CJS_COMPAT_NODE_URL_7tdfb924msn from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_7tdfb924msn from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_7tdfb924msn from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_t0ohssugfc.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_t0ohssugfc.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_t0ohssugfc.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_7tdfb924msn.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_7tdfb924msn.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_7tdfb924msn.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __name
14
- } from "./_node-chunks/chunk-LNZRDY2H.js";
14
+ } from "./_node-chunks/chunk-BXD6XSYK.js";
15
15
 
16
16
  // src/preset.ts
17
17
  import { viteFinal as reactViteFinal } from "@storybook/react-vite/preset";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_t0ohssugfc from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_t0ohssugfc from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_t0ohssugfc from "node:module";
1
+ import CJS_COMPAT_NODE_URL_7tdfb924msn from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_7tdfb924msn from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_7tdfb924msn from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_t0ohssugfc.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_t0ohssugfc.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_t0ohssugfc.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_7tdfb924msn.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_7tdfb924msn.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_7tdfb924msn.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __name
14
- } from "./_node-chunks/chunk-LNZRDY2H.js";
14
+ } from "./_node-chunks/chunk-BXD6XSYK.js";
15
15
 
16
16
  // src/vite-plugin.ts
17
17
  import { rnw } from "vite-plugin-rnw";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native-web-vite",
3
- "version": "10.0.0-beta.1",
3
+ "version": "10.0.0-beta.3",
4
4
  "description": "Storybook for React Native Web and Vite: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -53,9 +53,9 @@
53
53
  "prep": "jiti ../../../scripts/build/build-package.ts"
54
54
  },
55
55
  "dependencies": {
56
- "@storybook/builder-vite": "10.0.0-beta.1",
57
- "@storybook/react": "10.0.0-beta.1",
58
- "@storybook/react-vite": "10.0.0-beta.1",
56
+ "@storybook/builder-vite": "10.0.0-beta.3",
57
+ "@storybook/react": "10.0.0-beta.3",
58
+ "@storybook/react-vite": "10.0.0-beta.3",
59
59
  "vite-plugin-rnw": "^0.0.6",
60
60
  "vite-tsconfig-paths": "^5.1.4"
61
61
  },
@@ -67,8 +67,8 @@
67
67
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
68
68
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
69
69
  "react-native": ">=0.74.5",
70
- "react-native-web": "^0.19.12 || ^0.20.0",
71
- "storybook": "^10.0.0-beta.1",
70
+ "react-native-web": "^0.19.12 || ^0.20.0 || ^0.21.0",
71
+ "storybook": "^10.0.0-beta.3",
72
72
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
73
73
  },
74
74
  "publishConfig": {
@@ -15,7 +15,7 @@ const meta = {
15
15
  ],
16
16
  // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
17
17
  tags: ['autodocs'],
18
- // Use `fn` to spy on the onPress arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
18
+ // Use `fn` to spy on the onPress arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
19
19
  args: { onPress: fn() },
20
20
  };
21
21
 
@@ -17,7 +17,7 @@ const meta = {
17
17
  ],
18
18
  // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
19
19
  tags: ['autodocs'],
20
- // Use `fn` to spy on the onPress arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
20
+ // Use `fn` to spy on the onPress arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
21
21
  args: { onPress: fn() },
22
22
  } satisfies Meta<typeof Button>;
23
23
 
@@ -1,17 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_t0ohssugfc from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_t0ohssugfc from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_t0ohssugfc from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_t0ohssugfc.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_t0ohssugfc.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_t0ohssugfc.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- var __defProp = Object.defineProperty;
13
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
14
-
15
- export {
16
- __name
17
- };