@stencil/storybook-plugin 0.0.15 → 0.0.16

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.
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { ArgTypes, Args, Decorator, Loader, Meta, Parameters, Preview, StencilRenderer, StoryContext, StoryFn, StoryObj, StorybookConfig, StrictArgs } from "./types-ttzorXzB.cjs";
1
+ import { ArgTypes, Args, Decorator, Loader, Meta, Parameters, Preview, StencilRenderer, StoryContext, StoryFn, StoryObj, StorybookConfig, StrictArgs } from "./types-BC4h6q-i.cjs";
2
2
  import { NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations } from "@storybook/types";
3
3
 
4
4
  //#region @types/rollup-parseAst.d.ts
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./rollup-parseAst-t-4tfMPG.js";
2
- import { ArgTypes, Args, Decorator, Loader, Meta, Parameters, Preview, StencilRenderer, StoryContext, StoryFn, StoryObj, StorybookConfig, StrictArgs } from "./types-B4NSOnDQ.js";
2
+ import { ArgTypes, Args, Decorator, Loader, Meta, Parameters, Preview, StencilRenderer, StoryContext, StoryFn, StoryObj, StorybookConfig, StrictArgs } from "./types-CrBVXXLO.js";
3
3
  import { NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations } from "@storybook/types";
4
4
 
5
5
  //#region src/portable-stories.d.ts
@@ -1,4 +1,4 @@
1
- import { StorybookConfig } from "../types-ttzorXzB.cjs";
1
+ import { StorybookConfig } from "../types-BC4h6q-i.cjs";
2
2
 
3
3
  //#region src/node/index.d.ts
4
4
  declare function defineMain(config: StorybookConfig): StorybookConfig;
@@ -1,4 +1,4 @@
1
- import { StorybookConfig } from "../types-B4NSOnDQ.js";
1
+ import { StorybookConfig } from "../types-CrBVXXLO.js";
2
2
 
3
3
  //#region src/node/index.d.ts
4
4
  declare function defineMain(config: StorybookConfig): StorybookConfig;
package/dist/preset.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { StorybookConfig } from "./types-ttzorXzB.cjs";
1
+ import { StorybookConfig } from "./types-BC4h6q-i.cjs";
2
2
 
3
3
  //#region src/preset.d.ts
4
4
  declare const core: StorybookConfig['core'];
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { StorybookConfig } from "./types-B4NSOnDQ.js";
1
+ import { StorybookConfig } from "./types-CrBVXXLO.js";
2
2
 
3
3
  //#region src/preset.d.ts
4
4
  declare const core: StorybookConfig['core'];
@@ -1,4 +1,4 @@
1
- import { StencilRenderer } from "./types-ttzorXzB.cjs";
1
+ import { StencilRenderer } from "./types-BC4h6q-i.cjs";
2
2
  import { ArgsStoryFn, RenderContext } from "@storybook/types";
3
3
 
4
4
  //#region src/render.d.ts
package/dist/preview.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { StencilRenderer } from "./types-B4NSOnDQ.js";
1
+ import { StencilRenderer } from "./types-CrBVXXLO.js";
2
2
  import { ArgsStoryFn, RenderContext } from "@storybook/types";
3
3
 
4
4
  //#region src/render.d.ts
@@ -57,13 +57,15 @@ type StorybookConfig$1 = Omit<StorybookConfig, 'framework'> & {
57
57
  * This is necessary to allow the use of Stencil components in Storybook.
58
58
  * Without we get are getting type errors.
59
59
  */
60
+ type StencilIntrinsic = JSX.IntrinsicElements;
61
+ type StencilElement = JSX.Element;
60
62
  declare global {
61
63
  namespace JSX {
62
- interface IntrinsicElements extends JSX.IntrinsicElements {}
63
- interface Element extends JSX.Element {}
64
+ interface IntrinsicElements extends StencilIntrinsic {}
65
+ interface Element extends StencilElement {}
64
66
  interface ElementClass {}
65
67
  }
66
68
  }
67
69
  //#endregion
68
70
  export { ArgTypes, Args$1 as Args, Decorator, Loader, Meta, Parameters, Preview, StencilRenderer, StoryContext$1 as StoryContext, StoryFn, StoryObj, StorybookConfig$1 as StorybookConfig, StrictArgs$1 as StrictArgs };
69
- //# sourceMappingURL=types-ttzorXzB.d.cts.map
71
+ //# sourceMappingURL=types-BC4h6q-i.d.cts.map
@@ -57,13 +57,15 @@ type StorybookConfig$1 = Omit<StorybookConfig, 'framework'> & {
57
57
  * This is necessary to allow the use of Stencil components in Storybook.
58
58
  * Without we get are getting type errors.
59
59
  */
60
+ type StencilIntrinsic = JSX.IntrinsicElements;
61
+ type StencilElement = JSX.Element;
60
62
  declare global {
61
63
  namespace JSX {
62
- interface IntrinsicElements extends JSX.IntrinsicElements {}
63
- interface Element extends JSX.Element {}
64
+ interface IntrinsicElements extends StencilIntrinsic {}
65
+ interface Element extends StencilElement {}
64
66
  interface ElementClass {}
65
67
  }
66
68
  }
67
69
  //#endregion
68
70
  export { ArgTypes, Args$1 as Args, Decorator, Loader, Meta, Parameters, Preview, StencilRenderer, StoryContext$1 as StoryContext, StoryFn, StoryObj, StorybookConfig$1 as StorybookConfig, StrictArgs$1 as StrictArgs };
69
- //# sourceMappingURL=types-B4NSOnDQ.d.ts.map
71
+ //# sourceMappingURL=types-CrBVXXLO.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/storybook-plugin",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Storybook plugin for Stencil",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/stenciljs/storybook",