@storybook/react-native-web-vite 10.0.0-beta.2 → 10.0.0-beta.4
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/_node-chunks/chunk-5CAZEN55.js +17 -0
- package/dist/node/index.js +7 -7
- package/dist/preset.js +7 -7
- package/dist/vite-plugin.js +7 -7
- package/package.json +6 -6
- package/template/cli/js/Button.stories.jsx +1 -1
- package/template/cli/ts/Button.stories.tsx +1 -1
- package/dist/_node-chunks/chunk-TWELFC2E.js +0 -17
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_m6u4ybqibw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_m6u4ybqibw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_m6u4ybqibw from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_m6u4ybqibw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_m6u4ybqibw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_m6u4ybqibw.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
|
+
};
|
package/dist/node/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_m6u4ybqibw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_m6u4ybqibw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_m6u4ybqibw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_m6u4ybqibw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_m6u4ybqibw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_m6u4ybqibw.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-
|
|
14
|
+
} from "../_node-chunks/chunk-5CAZEN55.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_m6u4ybqibw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_m6u4ybqibw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_m6u4ybqibw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_m6u4ybqibw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_m6u4ybqibw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_m6u4ybqibw.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-
|
|
14
|
+
} from "./_node-chunks/chunk-5CAZEN55.js";
|
|
15
15
|
|
|
16
16
|
// src/preset.ts
|
|
17
17
|
import { viteFinal as reactViteFinal } from "@storybook/react-vite/preset";
|
package/dist/vite-plugin.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_m6u4ybqibw from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_m6u4ybqibw from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_m6u4ybqibw from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_m6u4ybqibw.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_m6u4ybqibw.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_m6u4ybqibw.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-
|
|
14
|
+
} from "./_node-chunks/chunk-5CAZEN55.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.
|
|
3
|
+
"version": "10.0.0-beta.4",
|
|
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.
|
|
57
|
-
"@storybook/react": "10.0.0-beta.
|
|
58
|
-
"@storybook/react-vite": "10.0.0-beta.
|
|
56
|
+
"@storybook/builder-vite": "10.0.0-beta.4",
|
|
57
|
+
"@storybook/react": "10.0.0-beta.4",
|
|
58
|
+
"@storybook/react-vite": "10.0.0-beta.4",
|
|
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.
|
|
70
|
+
"react-native-web": "^0.19.12 || ^0.20.0 || ^0.21.0",
|
|
71
|
+
"storybook": "^10.0.0-beta.4",
|
|
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#
|
|
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#
|
|
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_3tozbzi7hvz from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_3tozbzi7hvz from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_3tozbzi7hvz from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_3tozbzi7hvz.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_3tozbzi7hvz.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_3tozbzi7hvz.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
|
-
};
|