@storybook/preact 0.0.0-pr-28768-sha-81281ec6 → 0.0.0-pr-28768-sha-be894e9d

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.
@@ -2,6 +2,8 @@ import { ArgsStoryFn, RenderContext } from 'storybook/internal/types';
2
2
  import { P as PreactRenderer } from './types-57f4f889.js';
3
3
  import 'preact';
4
4
 
5
+ /** @jsx h */
6
+
5
7
  declare const render: ArgsStoryFn<PreactRenderer>;
6
8
  declare function renderToCanvas({ storyFn, title, name, showMain, showError, forceRemount }: RenderContext<PreactRenderer>, canvasElement: PreactRenderer['canvasElement']): void;
7
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact",
3
- "version": "0.0.0-pr-28768-sha-81281ec6",
3
+ "version": "0.0.0-pr-28768-sha-be894e9d",
4
4
  "description": "Storybook Preact renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,11 +47,11 @@
47
47
  "prep": "jiti ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/components": "^0.0.0-pr-28768-sha-81281ec6",
50
+ "@storybook/components": "^0.0.0-pr-28768-sha-be894e9d",
51
51
  "@storybook/global": "^5.0.0",
52
- "@storybook/manager-api": "^0.0.0-pr-28768-sha-81281ec6",
53
- "@storybook/preview-api": "^0.0.0-pr-28768-sha-81281ec6",
54
- "@storybook/theming": "^0.0.0-pr-28768-sha-81281ec6",
52
+ "@storybook/manager-api": "^0.0.0-pr-28768-sha-be894e9d",
53
+ "@storybook/preview-api": "^0.0.0-pr-28768-sha-be894e9d",
54
+ "@storybook/theming": "^0.0.0-pr-28768-sha-be894e9d",
55
55
  "ts-dedent": "^2.0.0"
56
56
  },
57
57
  "devDependencies": {
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "peerDependencies": {
62
62
  "preact": "^8.0.0||^10.0.0",
63
- "storybook": "^0.0.0-pr-28768-sha-81281ec6"
63
+ "storybook": "^0.0.0-pr-28768-sha-be894e9d"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=18.0.0"
@@ -1,4 +1,5 @@
1
1
  import { fn } from '@storybook/test';
2
+
2
3
  import { Button } from './Button';
3
4
 
4
5
  // More on how to set up stories at: https://storybook.js.org/docs/writing-stories
@@ -1,4 +1,5 @@
1
1
  import { fn } from '@storybook/test';
2
+
2
3
  import { Header } from './Header';
3
4
 
4
5
  export default {
@@ -1,4 +1,5 @@
1
1
  import { useState } from 'preact/hooks';
2
+
2
3
  import { Header } from './Header';
3
4
  import './page.css';
4
5
 
@@ -1,4 +1,4 @@
1
- import { within, userEvent } from '@storybook/test';
1
+ import { userEvent, within } from '@storybook/test';
2
2
 
3
3
  import { Page } from './Page';
4
4
 
@@ -1,9 +1,9 @@
1
1
  import { global as globalThis } from '@storybook/global';
2
2
 
3
3
  import { Button } from './Button.jsx';
4
- import { Pre } from './Pre.jsx';
5
4
  import { Form } from './Form.jsx';
6
5
  import { Html } from './Html.jsx';
6
+ import { Pre } from './Pre.jsx';
7
7
 
8
8
  globalThis.Components = { Button, Pre, Form, Html };
9
9
  globalThis.storybookRenderer = 'preact';