@storybook/preact-vite 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_yl3a1otyt8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_yl3a1otyt8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_yl3a1otyt8 from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_yl3a1otyt8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_yl3a1otyt8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_yl3a1otyt8.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_6fqg7c6m72v from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_6fqg7c6m72v from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_6fqg7c6m72v from "node:module";
1
+ import CJS_COMPAT_NODE_URL_yl3a1otyt8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_yl3a1otyt8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_yl3a1otyt8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_6fqg7c6m72v.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_6fqg7c6m72v.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_6fqg7c6m72v.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_yl3a1otyt8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_yl3a1otyt8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_yl3a1otyt8.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-RUDVKPD3.js";
14
+ } from "../_node-chunks/chunk-YOZEZIPK.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_6fqg7c6m72v from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_6fqg7c6m72v from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_6fqg7c6m72v from "node:module";
1
+ import CJS_COMPAT_NODE_URL_yl3a1otyt8 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_yl3a1otyt8 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_yl3a1otyt8 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_6fqg7c6m72v.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_6fqg7c6m72v.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_6fqg7c6m72v.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_yl3a1otyt8.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_yl3a1otyt8.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_yl3a1otyt8.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-RUDVKPD3.js";
14
+ } from "./_node-chunks/chunk-YOZEZIPK.js";
15
15
 
16
16
  // src/preset.ts
17
17
  var core = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact-vite",
3
- "version": "10.0.0-beta.1",
3
+ "version": "10.0.0-beta.11",
4
4
  "description": "Storybook for Preact and Vite: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -51,8 +51,8 @@
51
51
  "prep": "jiti ../../../scripts/build/build-package.ts"
52
52
  },
53
53
  "dependencies": {
54
- "@storybook/builder-vite": "10.0.0-beta.1",
55
- "@storybook/preact": "10.0.0-beta.1"
54
+ "@storybook/builder-vite": "10.0.0-beta.11",
55
+ "@storybook/preact": "10.0.0-beta.11"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/node": "^22.0.0",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "peerDependencies": {
63
63
  "preact": ">=10",
64
- "storybook": "^10.0.0-beta.1"
64
+ "storybook": "^10.0.0-beta.11"
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public"
@@ -11,7 +11,7 @@ export default {
11
11
  backgroundColor: { control: 'color' },
12
12
  onClick: { action: 'onClick' },
13
13
  },
14
- // 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
14
+ // 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
15
15
  args: { onClick: fn() },
16
16
  };
17
17
 
@@ -1,17 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_6fqg7c6m72v from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_6fqg7c6m72v from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_6fqg7c6m72v from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_6fqg7c6m72v.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_6fqg7c6m72v.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_6fqg7c6m72v.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
- };