@storybook/html-vite 10.0.0-beta.1 → 10.0.0-beta.10
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_158w8z9szcsh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_158w8z9szcsh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_158w8z9szcsh from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_158w8z9szcsh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_158w8z9szcsh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_158w8z9szcsh.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_158w8z9szcsh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_158w8z9szcsh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_158w8z9szcsh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_158w8z9szcsh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_158w8z9szcsh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_158w8z9szcsh.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-T5SZYO6N.js";
|
|
15
15
|
|
|
16
16
|
// src/node/index.ts
|
|
17
17
|
function defineMain(config) {
|
package/dist/preset.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_158w8z9szcsh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_158w8z9szcsh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_158w8z9szcsh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_158w8z9szcsh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_158w8z9szcsh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_158w8z9szcsh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./_node-chunks/chunk-
|
|
12
|
+
import "./_node-chunks/chunk-T5SZYO6N.js";
|
|
13
13
|
|
|
14
14
|
// src/preset.ts
|
|
15
15
|
var core = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/html-vite",
|
|
3
|
-
"version": "10.0.0-beta.
|
|
3
|
+
"version": "10.0.0-beta.10",
|
|
4
4
|
"description": "Storybook for HTML and Vite: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@storybook/builder-vite": "10.0.0-beta.
|
|
54
|
-
"@storybook/html": "10.0.0-beta.
|
|
53
|
+
"@storybook/builder-vite": "10.0.0-beta.10",
|
|
54
|
+
"@storybook/html": "10.0.0-beta.10"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/node": "^22.0.0",
|
|
58
58
|
"typescript": "^5.8.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"storybook": "^10.0.0-beta.
|
|
61
|
+
"storybook": "^10.0.0-beta.10"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
@@ -21,7 +21,7 @@ export default {
|
|
|
21
21
|
options: ['small', 'medium', 'large'],
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
|
-
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#
|
|
24
|
+
// 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
|
|
25
25
|
args: { onClick: fn() },
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -24,7 +24,7 @@ const meta = {
|
|
|
24
24
|
options: ['small', 'medium', 'large'],
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
|
-
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#
|
|
27
|
+
// 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
|
|
28
28
|
args: { onClick: fn() },
|
|
29
29
|
} satisfies Meta<ButtonProps>;
|
|
30
30
|
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_qdth2zw56o from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_qdth2zw56o from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_qdth2zw56o from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_qdth2zw56o.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_qdth2zw56o.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_qdth2zw56o.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
|
-
};
|