@storybook/preact 10.1.0-alpha.0 → 10.1.0-alpha.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.
@@ -22,7 +22,7 @@ var render2 = /* @__PURE__ */ __name((args, context) => {
22
22
  `Unable to render story ${id} as the component annotation is missing from the default export`
23
23
  );
24
24
  }
25
- return h2(Component, { ...args });
25
+ return h2(Component, args);
26
26
  }, "render");
27
27
  var renderedStory;
28
28
  function preactRender(story, canvasElement) {
@@ -2,7 +2,7 @@ import {
2
2
  parameters,
3
3
  render,
4
4
  renderToCanvas
5
- } from "./_browser-chunks/chunk-T4MBQD64.js";
5
+ } from "./_browser-chunks/chunk-XE6JW6JY.js";
6
6
  import "./_browser-chunks/chunk-JFJ5UJ7Q.js";
7
7
  export {
8
8
  parameters,
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  entry_preview_exports
3
- } from "./_browser-chunks/chunk-T4MBQD64.js";
3
+ } from "./_browser-chunks/chunk-XE6JW6JY.js";
4
4
  import {
5
5
  __name
6
6
  } from "./_browser-chunks/chunk-JFJ5UJ7Q.js";
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_5mj0ibao7ya from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_5mj0ibao7ya from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_5mj0ibao7ya from "node:module";
1
+ import CJS_COMPAT_NODE_URL_w6j9cadwr2b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_w6j9cadwr2b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_w6j9cadwr2b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_5mj0ibao7ya.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_5mj0ibao7ya.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_5mj0ibao7ya.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_w6j9cadwr2b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_w6j9cadwr2b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_w6j9cadwr2b.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact",
3
- "version": "10.1.0-alpha.0",
3
+ "version": "10.1.0-alpha.10",
4
4
  "description": "Storybook Preact renderer: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -56,10 +56,10 @@
56
56
  },
57
57
  "peerDependencies": {
58
58
  "preact": "^8.0.0||^10.0.0",
59
- "storybook": "^10.1.0-alpha.0"
59
+ "storybook": "^10.1.0-alpha.10"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae16"
64
+ "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae17"
65
65
  }