@storybook/react-webpack5 10.0.0-beta.1 → 10.0.0-beta.11

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_2csz3cecf52 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2csz3cecf52 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2csz3cecf52 from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_2csz3cecf52.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2csz3cecf52.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2csz3cecf52.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_xu3lt2ezyi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xu3lt2ezyi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xu3lt2ezyi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2csz3cecf52 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2csz3cecf52 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2csz3cecf52 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xu3lt2ezyi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xu3lt2ezyi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xu3lt2ezyi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2csz3cecf52.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2csz3cecf52.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2csz3cecf52.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-6AYWYCJV.js";
14
+ } from "../_node-chunks/chunk-LULSF76Y.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_xu3lt2ezyi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xu3lt2ezyi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xu3lt2ezyi from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2csz3cecf52 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2csz3cecf52 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2csz3cecf52 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_xu3lt2ezyi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xu3lt2ezyi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xu3lt2ezyi.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2csz3cecf52.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2csz3cecf52.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2csz3cecf52.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-6AYWYCJV.js";
14
+ } from "./_node-chunks/chunk-LULSF76Y.js";
15
15
 
16
16
  // src/preset.ts
17
17
  import { fileURLToPath } from "node:url";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-webpack5",
3
- "version": "10.0.0-beta.1",
3
+ "version": "10.0.0-beta.11",
4
4
  "description": "Storybook for React and Webpack: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -50,9 +50,9 @@
50
50
  "prep": "jiti ../../../scripts/build/build-package.ts"
51
51
  },
52
52
  "dependencies": {
53
- "@storybook/builder-webpack5": "10.0.0-beta.1",
54
- "@storybook/preset-react-webpack": "10.0.0-beta.1",
55
- "@storybook/react": "10.0.0-beta.1"
53
+ "@storybook/builder-webpack5": "10.0.0-beta.11",
54
+ "@storybook/preset-react-webpack": "10.0.0-beta.11",
55
+ "@storybook/react": "10.0.0-beta.11"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/node": "^22.0.0"
@@ -60,7 +60,7 @@
60
60
  "peerDependencies": {
61
61
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
62
62
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
63
- "storybook": "^10.0.0-beta.1",
63
+ "storybook": "^10.0.0-beta.11",
64
64
  "typescript": ">= 4.9.x"
65
65
  },
66
66
  "peerDependenciesMeta": {
@@ -16,7 +16,7 @@ export default {
16
16
  argTypes: {
17
17
  backgroundColor: { control: 'color' },
18
18
  },
19
- // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
19
+ // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
20
20
  args: { onClick: fn() },
21
21
  };
22
22
 
@@ -18,7 +18,7 @@ const meta = {
18
18
  argTypes: {
19
19
  backgroundColor: { control: 'color' },
20
20
  },
21
- // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
21
+ // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#story-args
22
22
  args: { onClick: fn() },
23
23
  } satisfies Meta<typeof Button>;
24
24
 
@@ -1,17 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_xu3lt2ezyi from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_xu3lt2ezyi from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_xu3lt2ezyi from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_xu3lt2ezyi.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_xu3lt2ezyi.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_xu3lt2ezyi.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
- };