@storybook/preact 10.1.0-alpha.7 → 10.1.0-alpha.9

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_1tfl40zvl3a from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_1tfl40zvl3a from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_1tfl40zvl3a from "node:module";
1
+ import CJS_COMPAT_NODE_URL_6m5shdyd8b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_6m5shdyd8b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_6m5shdyd8b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_1tfl40zvl3a.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_1tfl40zvl3a.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_1tfl40zvl3a.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_6m5shdyd8b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_6m5shdyd8b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_6m5shdyd8b.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.7",
3
+ "version": "10.1.0-alpha.9",
4
4
  "description": "Storybook Preact renderer: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "peerDependencies": {
58
58
  "preact": "^8.0.0||^10.0.0",
59
- "storybook": "^10.1.0-alpha.7"
59
+ "storybook": "^10.1.0-alpha.9"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"