@storybook/preact 0.0.0-pr-25474-sha-c0c8ae28 → 0.0.0-pr-25379-sha-d343aef0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -11
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -21,19 +21,9 @@ type StoryFn<TArgs = Args> = AnnotatedStoryFn<PreactRenderer, TArgs>;
21
21
  * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
22
22
  */
23
23
  type StoryObj<TArgs = Args> = StoryAnnotations<PreactRenderer, TArgs>;
24
- /**
25
- * @deprecated Use `StoryFn` instead.
26
- * Use `StoryObj` if you want to migrate to CSF3, which uses objects instead of functions to represent stories.
27
- * You can read more about the CSF3 format here: https://storybook.js.org/blog/component-story-format-3-0/
28
- *
29
- * Story function that represents a CSFv2 component example.
30
- *
31
- * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
32
- */
33
- type Story<TArgs = Args> = StoryFn<TArgs>;
34
24
  type Decorator<TArgs = StrictArgs> = DecoratorFunction<PreactRenderer, TArgs>;
35
25
  type Loader<TArgs = StrictArgs> = LoaderFunction<PreactRenderer, TArgs>;
36
26
  type StoryContext<TArgs = StrictArgs> = StoryContext$1<PreactRenderer, TArgs>;
37
27
  type Preview = ProjectAnnotations<PreactRenderer>;
38
28
 
39
- export { Decorator, Loader, Meta, PreactRenderer, Preview, Story, StoryContext, StoryFn, StoryObj };
29
+ export { Decorator, Loader, Meta, PreactRenderer, Preview, StoryContext, StoryFn, StoryObj };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact",
3
- "version": "0.0.0-pr-25474-sha-c0c8ae28",
3
+ "version": "0.0.0-pr-25379-sha-d343aef0",
4
4
  "description": "Storybook Preact renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@storybook/global": "^5.0.0",
51
- "@storybook/preview-api": "0.0.0-pr-25474-sha-c0c8ae28",
52
- "@storybook/types": "0.0.0-pr-25474-sha-c0c8ae28",
51
+ "@storybook/preview-api": "0.0.0-pr-25379-sha-d343aef0",
52
+ "@storybook/types": "0.0.0-pr-25379-sha-d343aef0",
53
53
  "ts-dedent": "^2.0.0"
54
54
  },
55
55
  "devDependencies": {